@lansweeper/discovery-cloud-proto 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -20,6 +20,16 @@ export class CloudEntity extends jspb.Message {
|
|
|
20
20
|
getAssetTypeName(): string;
|
|
21
21
|
setAssetTypeName(value: string): CloudEntity;
|
|
22
22
|
|
|
23
|
+
hasIpAddress(): boolean;
|
|
24
|
+
clearIpAddress(): void;
|
|
25
|
+
getIpAddress(): string | undefined;
|
|
26
|
+
setIpAddress(value: string): CloudEntity;
|
|
27
|
+
|
|
28
|
+
hasMac(): boolean;
|
|
29
|
+
clearMac(): void;
|
|
30
|
+
getMac(): string | undefined;
|
|
31
|
+
setMac(value: string): CloudEntity;
|
|
32
|
+
|
|
23
33
|
hasPublicCloudProperties(): boolean;
|
|
24
34
|
clearPublicCloudProperties(): void;
|
|
25
35
|
getPublicCloudProperties(): google_protobuf_any_pb.Any | undefined;
|
|
@@ -42,6 +52,8 @@ export namespace CloudEntity {
|
|
|
42
52
|
assetTypeId: string,
|
|
43
53
|
assetName: string,
|
|
44
54
|
assetTypeName: string,
|
|
55
|
+
ipAddress?: string,
|
|
56
|
+
mac?: string,
|
|
45
57
|
publicCloudProperties?: google_protobuf_any_pb.Any.AsObject,
|
|
46
58
|
}
|
|
47
59
|
}
|
|
@@ -10902,6 +10902,8 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.toObject = function(incl
|
|
|
10902
10902
|
assetTypeId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10903
10903
|
assetName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
10904
10904
|
assetTypeName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
10905
|
+
ipAddress: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
10906
|
+
mac: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
10905
10907
|
publicCloudProperties: (f = msg.getPublicCloudProperties()) && google_protobuf_any_pb.Any.toObject(includeInstance, f)
|
|
10906
10908
|
};
|
|
10907
10909
|
|
|
@@ -10960,6 +10962,14 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.deserializeBinaryFromRea
|
|
|
10960
10962
|
msg.setAssetTypeName(value);
|
|
10961
10963
|
break;
|
|
10962
10964
|
case 6:
|
|
10965
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10966
|
+
msg.setIpAddress(value);
|
|
10967
|
+
break;
|
|
10968
|
+
case 7:
|
|
10969
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10970
|
+
msg.setMac(value);
|
|
10971
|
+
break;
|
|
10972
|
+
case 8:
|
|
10963
10973
|
var value = new google_protobuf_any_pb.Any;
|
|
10964
10974
|
reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader);
|
|
10965
10975
|
msg.setPublicCloudProperties(value);
|
|
@@ -11028,10 +11038,24 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.serializeBinaryToWriter
|
|
|
11028
11038
|
f
|
|
11029
11039
|
);
|
|
11030
11040
|
}
|
|
11041
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
11042
|
+
if (f != null) {
|
|
11043
|
+
writer.writeString(
|
|
11044
|
+
6,
|
|
11045
|
+
f
|
|
11046
|
+
);
|
|
11047
|
+
}
|
|
11048
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
11049
|
+
if (f != null) {
|
|
11050
|
+
writer.writeString(
|
|
11051
|
+
7,
|
|
11052
|
+
f
|
|
11053
|
+
);
|
|
11054
|
+
}
|
|
11031
11055
|
f = message.getPublicCloudProperties();
|
|
11032
11056
|
if (f != null) {
|
|
11033
11057
|
writer.writeMessage(
|
|
11034
|
-
|
|
11058
|
+
8,
|
|
11035
11059
|
f,
|
|
11036
11060
|
google_protobuf_any_pb.Any.serializeBinaryToWriter
|
|
11037
11061
|
);
|
|
@@ -11130,12 +11154,84 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setAssetTypeNa
|
|
|
11130
11154
|
|
|
11131
11155
|
|
|
11132
11156
|
/**
|
|
11133
|
-
* optional
|
|
11157
|
+
* optional string ip_address = 6;
|
|
11158
|
+
* @return {string}
|
|
11159
|
+
*/
|
|
11160
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getIpAddress = function() {
|
|
11161
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
11162
|
+
};
|
|
11163
|
+
|
|
11164
|
+
|
|
11165
|
+
/**
|
|
11166
|
+
* @param {string} value
|
|
11167
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11168
|
+
*/
|
|
11169
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setIpAddress = function(value) {
|
|
11170
|
+
return jspb.Message.setField(this, 6, value);
|
|
11171
|
+
};
|
|
11172
|
+
|
|
11173
|
+
|
|
11174
|
+
/**
|
|
11175
|
+
* Clears the field making it undefined.
|
|
11176
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11177
|
+
*/
|
|
11178
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearIpAddress = function() {
|
|
11179
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
11180
|
+
};
|
|
11181
|
+
|
|
11182
|
+
|
|
11183
|
+
/**
|
|
11184
|
+
* Returns whether this field is set.
|
|
11185
|
+
* @return {boolean}
|
|
11186
|
+
*/
|
|
11187
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.hasIpAddress = function() {
|
|
11188
|
+
return jspb.Message.getField(this, 6) != null;
|
|
11189
|
+
};
|
|
11190
|
+
|
|
11191
|
+
|
|
11192
|
+
/**
|
|
11193
|
+
* optional string mac = 7;
|
|
11194
|
+
* @return {string}
|
|
11195
|
+
*/
|
|
11196
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getMac = function() {
|
|
11197
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
11198
|
+
};
|
|
11199
|
+
|
|
11200
|
+
|
|
11201
|
+
/**
|
|
11202
|
+
* @param {string} value
|
|
11203
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11204
|
+
*/
|
|
11205
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setMac = function(value) {
|
|
11206
|
+
return jspb.Message.setField(this, 7, value);
|
|
11207
|
+
};
|
|
11208
|
+
|
|
11209
|
+
|
|
11210
|
+
/**
|
|
11211
|
+
* Clears the field making it undefined.
|
|
11212
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11213
|
+
*/
|
|
11214
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearMac = function() {
|
|
11215
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
11216
|
+
};
|
|
11217
|
+
|
|
11218
|
+
|
|
11219
|
+
/**
|
|
11220
|
+
* Returns whether this field is set.
|
|
11221
|
+
* @return {boolean}
|
|
11222
|
+
*/
|
|
11223
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.hasMac = function() {
|
|
11224
|
+
return jspb.Message.getField(this, 7) != null;
|
|
11225
|
+
};
|
|
11226
|
+
|
|
11227
|
+
|
|
11228
|
+
/**
|
|
11229
|
+
* optional google.protobuf.Any public_cloud_properties = 8;
|
|
11134
11230
|
* @return {?proto.google.protobuf.Any}
|
|
11135
11231
|
*/
|
|
11136
11232
|
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getPublicCloudProperties = function() {
|
|
11137
11233
|
return /** @type{?proto.google.protobuf.Any} */ (
|
|
11138
|
-
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any,
|
|
11234
|
+
jspb.Message.getWrapperField(this, google_protobuf_any_pb.Any, 8));
|
|
11139
11235
|
};
|
|
11140
11236
|
|
|
11141
11237
|
|
|
@@ -11144,7 +11240,7 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getPublicCloud
|
|
|
11144
11240
|
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11145
11241
|
*/
|
|
11146
11242
|
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setPublicCloudProperties = function(value) {
|
|
11147
|
-
return jspb.Message.setWrapperField(this,
|
|
11243
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
11148
11244
|
};
|
|
11149
11245
|
|
|
11150
11246
|
|
|
@@ -11162,7 +11258,7 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearPublicClo
|
|
|
11162
11258
|
* @return {boolean}
|
|
11163
11259
|
*/
|
|
11164
11260
|
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.hasPublicCloudProperties = function() {
|
|
11165
|
-
return jspb.Message.getField(this,
|
|
11261
|
+
return jspb.Message.getField(this, 8) != null;
|
|
11166
11262
|
};
|
|
11167
11263
|
|
|
11168
11264
|
|