@lansweeper/discovery-sensor-proto 2.69.0 → 2.71.0
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.
- package/gen-proto/discovery_sections_esxi_pb.d.ts +6 -0
- package/gen-proto/discovery_sections_esxi_pb.js +52 -1
- package/gen-proto/discovery_sections_vcenter_pb.d.ts +9 -0
- package/gen-proto/discovery_sections_vcenter_pb.js +92 -2
- package/gen-proto/image.json +1 -1
- package/package.json +2 -2
- package/proto/discovery_sections_esxi.proto +1 -0
- package/proto/discovery_sections_vcenter.proto +4 -1
|
@@ -232,6 +232,11 @@ export class Esxi extends jspb.Message {
|
|
|
232
232
|
getEsxiClusterGuid(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
233
233
|
setEsxiClusterGuid(value?: google_protobuf_wrappers_pb.StringValue): Esxi;
|
|
234
234
|
|
|
235
|
+
hasDatacenterGuid(): boolean;
|
|
236
|
+
clearDatacenterGuid(): void;
|
|
237
|
+
getDatacenterGuid(): google_protobuf_wrappers_pb.StringValue | undefined;
|
|
238
|
+
setDatacenterGuid(value?: google_protobuf_wrappers_pb.StringValue): Esxi;
|
|
239
|
+
|
|
235
240
|
serializeBinary(): Uint8Array;
|
|
236
241
|
toObject(includeInstance?: boolean): Esxi.AsObject;
|
|
237
242
|
static toObject(includeInstance: boolean, msg: Esxi): Esxi.AsObject;
|
|
@@ -290,6 +295,7 @@ export namespace Esxi {
|
|
|
290
295
|
macAddress?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
291
296
|
fullHostName?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
292
297
|
esxiClusterGuid?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
298
|
+
datacenterGuid?: google_protobuf_wrappers_pb.StringValue.AsObject,
|
|
293
299
|
}
|
|
294
300
|
}
|
|
295
301
|
|
|
@@ -247,7 +247,8 @@ proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi.toObject = function(includeIn
|
|
|
247
247
|
numCoresPerSocket: (f = msg.getNumCoresPerSocket()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f),
|
|
248
248
|
macAddress: (f = msg.getMacAddress()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
249
249
|
fullHostName: (f = msg.getFullHostName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
250
|
-
esxiClusterGuid: (f = msg.getEsxiClusterGuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
250
|
+
esxiClusterGuid: (f = msg.getEsxiClusterGuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
|
|
251
|
+
datacenterGuid: (f = msg.getDatacenterGuid()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
|
|
251
252
|
};
|
|
252
253
|
|
|
253
254
|
if (includeInstance) {
|
|
@@ -512,6 +513,11 @@ proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi.deserializeBinaryFromReader =
|
|
|
512
513
|
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
513
514
|
msg.setEsxiClusterGuid(value);
|
|
514
515
|
break;
|
|
516
|
+
case 47:
|
|
517
|
+
var value = new google_protobuf_wrappers_pb.StringValue;
|
|
518
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
|
|
519
|
+
msg.setDatacenterGuid(value);
|
|
520
|
+
break;
|
|
515
521
|
default:
|
|
516
522
|
reader.skipField();
|
|
517
523
|
break;
|
|
@@ -907,6 +913,14 @@ proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi.serializeBinaryToWriter = fun
|
|
|
907
913
|
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
908
914
|
);
|
|
909
915
|
}
|
|
916
|
+
f = message.getDatacenterGuid();
|
|
917
|
+
if (f != null) {
|
|
918
|
+
writer.writeMessage(
|
|
919
|
+
47,
|
|
920
|
+
f,
|
|
921
|
+
google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
|
|
922
|
+
);
|
|
923
|
+
}
|
|
910
924
|
};
|
|
911
925
|
|
|
912
926
|
|
|
@@ -2577,6 +2591,43 @@ proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi.prototype.hasEsxiClusterGuid
|
|
|
2577
2591
|
};
|
|
2578
2592
|
|
|
2579
2593
|
|
|
2594
|
+
/**
|
|
2595
|
+
* optional google.protobuf.StringValue datacenter_guid = 47;
|
|
2596
|
+
* @return {?proto.google.protobuf.StringValue}
|
|
2597
|
+
*/
|
|
2598
|
+
proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi.prototype.getDatacenterGuid = function() {
|
|
2599
|
+
return /** @type{?proto.google.protobuf.StringValue} */ (
|
|
2600
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 47));
|
|
2601
|
+
};
|
|
2602
|
+
|
|
2603
|
+
|
|
2604
|
+
/**
|
|
2605
|
+
* @param {?proto.google.protobuf.StringValue|undefined} value
|
|
2606
|
+
* @return {!proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi} returns this
|
|
2607
|
+
*/
|
|
2608
|
+
proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi.prototype.setDatacenterGuid = function(value) {
|
|
2609
|
+
return jspb.Message.setWrapperField(this, 47, value);
|
|
2610
|
+
};
|
|
2611
|
+
|
|
2612
|
+
|
|
2613
|
+
/**
|
|
2614
|
+
* Clears the message field making it undefined.
|
|
2615
|
+
* @return {!proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi} returns this
|
|
2616
|
+
*/
|
|
2617
|
+
proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi.prototype.clearDatacenterGuid = function() {
|
|
2618
|
+
return this.setDatacenterGuid(undefined);
|
|
2619
|
+
};
|
|
2620
|
+
|
|
2621
|
+
|
|
2622
|
+
/**
|
|
2623
|
+
* Returns whether this field is set.
|
|
2624
|
+
* @return {boolean}
|
|
2625
|
+
*/
|
|
2626
|
+
proto.com.lansweeper.discovery.sensor.esxi.v1.Esxi.prototype.hasDatacenterGuid = function() {
|
|
2627
|
+
return jspb.Message.getField(this, 47) != null;
|
|
2628
|
+
};
|
|
2629
|
+
|
|
2630
|
+
|
|
2580
2631
|
|
|
2581
2632
|
/**
|
|
2582
2633
|
* List of repeated fields within this message type.
|
|
@@ -19,6 +19,8 @@ export class VCenter extends jspb.Message {
|
|
|
19
19
|
getDatacentersList(): Array<DataCenter>;
|
|
20
20
|
setDatacentersList(value: Array<DataCenter>): VCenter;
|
|
21
21
|
addDatacenters(value?: DataCenter, index?: number): DataCenter;
|
|
22
|
+
getVcenterGuid(): string;
|
|
23
|
+
setVcenterGuid(value: string): VCenter;
|
|
22
24
|
|
|
23
25
|
serializeBinary(): Uint8Array;
|
|
24
26
|
toObject(includeInstance?: boolean): VCenter.AsObject;
|
|
@@ -34,6 +36,7 @@ export namespace VCenter {
|
|
|
34
36
|
export type AsObject = {
|
|
35
37
|
productInfo?: import_discovery_common_vmware_pb.VmwareProductInfo.AsObject,
|
|
36
38
|
datacentersList: Array<DataCenter.AsObject>,
|
|
39
|
+
vcenterGuid: string,
|
|
37
40
|
}
|
|
38
41
|
}
|
|
39
42
|
|
|
@@ -364,6 +367,10 @@ export class DataCenter extends jspb.Message {
|
|
|
364
367
|
getHostClustersList(): Array<EsxiCluster>;
|
|
365
368
|
setHostClustersList(value: Array<EsxiCluster>): DataCenter;
|
|
366
369
|
addHostClusters(value?: EsxiCluster, index?: number): EsxiCluster;
|
|
370
|
+
getDatacenterGuid(): string;
|
|
371
|
+
setDatacenterGuid(value: string): DataCenter;
|
|
372
|
+
getVcenterGuid(): string;
|
|
373
|
+
setVcenterGuid(value: string): DataCenter;
|
|
367
374
|
|
|
368
375
|
serializeBinary(): Uint8Array;
|
|
369
376
|
toObject(includeInstance?: boolean): DataCenter.AsObject;
|
|
@@ -383,5 +390,7 @@ export namespace DataCenter {
|
|
|
383
390
|
datastoreClustersList: Array<DatastoreCluster.AsObject>,
|
|
384
391
|
hostsList: Array<discovery_sections_esxi_pb.Esxi.AsObject>,
|
|
385
392
|
hostClustersList: Array<EsxiCluster.AsObject>,
|
|
393
|
+
datacenterGuid: string,
|
|
394
|
+
vcenterGuid: string,
|
|
386
395
|
}
|
|
387
396
|
}
|
|
@@ -222,7 +222,8 @@ proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.toObject = function(inc
|
|
|
222
222
|
var f, obj = {
|
|
223
223
|
productInfo: (f = msg.getProductInfo()) && import_discovery_common_vmware_pb.VmwareProductInfo.toObject(includeInstance, f),
|
|
224
224
|
datacentersList: jspb.Message.toObjectList(msg.getDatacentersList(),
|
|
225
|
-
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.toObject, includeInstance)
|
|
225
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.toObject, includeInstance),
|
|
226
|
+
vcenterGuid: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
226
227
|
};
|
|
227
228
|
|
|
228
229
|
if (includeInstance) {
|
|
@@ -269,6 +270,10 @@ proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.deserializeBinaryFromRe
|
|
|
269
270
|
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.deserializeBinaryFromReader);
|
|
270
271
|
msg.addDatacenters(value);
|
|
271
272
|
break;
|
|
273
|
+
case 3:
|
|
274
|
+
var value = /** @type {string} */ (reader.readString());
|
|
275
|
+
msg.setVcenterGuid(value);
|
|
276
|
+
break;
|
|
272
277
|
default:
|
|
273
278
|
reader.skipField();
|
|
274
279
|
break;
|
|
@@ -314,6 +319,13 @@ proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.serializeBinaryToWriter
|
|
|
314
319
|
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.serializeBinaryToWriter
|
|
315
320
|
);
|
|
316
321
|
}
|
|
322
|
+
f = message.getVcenterGuid();
|
|
323
|
+
if (f.length > 0) {
|
|
324
|
+
writer.writeString(
|
|
325
|
+
3,
|
|
326
|
+
f
|
|
327
|
+
);
|
|
328
|
+
}
|
|
317
329
|
};
|
|
318
330
|
|
|
319
331
|
|
|
@@ -392,6 +404,24 @@ proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.prototype.clearDatacent
|
|
|
392
404
|
};
|
|
393
405
|
|
|
394
406
|
|
|
407
|
+
/**
|
|
408
|
+
* optional string vcenter_guid = 3;
|
|
409
|
+
* @return {string}
|
|
410
|
+
*/
|
|
411
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.prototype.getVcenterGuid = function() {
|
|
412
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
413
|
+
};
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* @param {string} value
|
|
418
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter} returns this
|
|
419
|
+
*/
|
|
420
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.VCenter.prototype.setVcenterGuid = function(value) {
|
|
421
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
|
|
395
425
|
|
|
396
426
|
|
|
397
427
|
|
|
@@ -2912,7 +2942,9 @@ proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.toObject = function(
|
|
|
2912
2942
|
hostsList: jspb.Message.toObjectList(msg.getHostsList(),
|
|
2913
2943
|
discovery_sections_esxi_pb.Esxi.toObject, includeInstance),
|
|
2914
2944
|
hostClustersList: jspb.Message.toObjectList(msg.getHostClustersList(),
|
|
2915
|
-
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.toObject, includeInstance)
|
|
2945
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.toObject, includeInstance),
|
|
2946
|
+
datacenterGuid: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2947
|
+
vcenterGuid: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
2916
2948
|
};
|
|
2917
2949
|
|
|
2918
2950
|
if (includeInstance) {
|
|
@@ -2978,6 +3010,14 @@ proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.deserializeBinaryFro
|
|
|
2978
3010
|
reader.readMessage(value,proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.deserializeBinaryFromReader);
|
|
2979
3011
|
msg.addHostClusters(value);
|
|
2980
3012
|
break;
|
|
3013
|
+
case 7:
|
|
3014
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3015
|
+
msg.setDatacenterGuid(value);
|
|
3016
|
+
break;
|
|
3017
|
+
case 8:
|
|
3018
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3019
|
+
msg.setVcenterGuid(value);
|
|
3020
|
+
break;
|
|
2981
3021
|
default:
|
|
2982
3022
|
reader.skipField();
|
|
2983
3023
|
break;
|
|
@@ -3054,6 +3094,20 @@ proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.serializeBinaryToWri
|
|
|
3054
3094
|
proto.com.lansweeper.discovery.sensor.vcenter.v1.EsxiCluster.serializeBinaryToWriter
|
|
3055
3095
|
);
|
|
3056
3096
|
}
|
|
3097
|
+
f = message.getDatacenterGuid();
|
|
3098
|
+
if (f.length > 0) {
|
|
3099
|
+
writer.writeString(
|
|
3100
|
+
7,
|
|
3101
|
+
f
|
|
3102
|
+
);
|
|
3103
|
+
}
|
|
3104
|
+
f = message.getVcenterGuid();
|
|
3105
|
+
if (f.length > 0) {
|
|
3106
|
+
writer.writeString(
|
|
3107
|
+
8,
|
|
3108
|
+
f
|
|
3109
|
+
);
|
|
3110
|
+
}
|
|
3057
3111
|
};
|
|
3058
3112
|
|
|
3059
3113
|
|
|
@@ -3264,4 +3318,40 @@ proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.clearHostC
|
|
|
3264
3318
|
};
|
|
3265
3319
|
|
|
3266
3320
|
|
|
3321
|
+
/**
|
|
3322
|
+
* optional string datacenter_guid = 7;
|
|
3323
|
+
* @return {string}
|
|
3324
|
+
*/
|
|
3325
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.getDatacenterGuid = function() {
|
|
3326
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
3327
|
+
};
|
|
3328
|
+
|
|
3329
|
+
|
|
3330
|
+
/**
|
|
3331
|
+
* @param {string} value
|
|
3332
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter} returns this
|
|
3333
|
+
*/
|
|
3334
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.setDatacenterGuid = function(value) {
|
|
3335
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
3336
|
+
};
|
|
3337
|
+
|
|
3338
|
+
|
|
3339
|
+
/**
|
|
3340
|
+
* optional string vcenter_guid = 8;
|
|
3341
|
+
* @return {string}
|
|
3342
|
+
*/
|
|
3343
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.getVcenterGuid = function() {
|
|
3344
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
3345
|
+
};
|
|
3346
|
+
|
|
3347
|
+
|
|
3348
|
+
/**
|
|
3349
|
+
* @param {string} value
|
|
3350
|
+
* @return {!proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter} returns this
|
|
3351
|
+
*/
|
|
3352
|
+
proto.com.lansweeper.discovery.sensor.vcenter.v1.DataCenter.prototype.setVcenterGuid = function(value) {
|
|
3353
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
3354
|
+
};
|
|
3355
|
+
|
|
3356
|
+
|
|
3267
3357
|
goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.vcenter.v1);
|