@lansweeper/discovery-sensor-proto 2.66.5 → 2.67.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.
@@ -5127,6 +5127,11 @@ export class HyperVMemory extends jspb.Message {
5127
5127
  getInstanceId(): string;
5128
5128
  setInstanceId(value: string): HyperVMemory;
5129
5129
 
5130
+ hasVirtualQuantity(): boolean;
5131
+ clearVirtualQuantity(): void;
5132
+ getVirtualQuantity(): google_protobuf_wrappers_pb.UInt64Value | undefined;
5133
+ setVirtualQuantity(value?: google_protobuf_wrappers_pb.UInt64Value): HyperVMemory;
5134
+
5130
5135
  serializeBinary(): Uint8Array;
5131
5136
  toObject(includeInstance?: boolean): HyperVMemory.AsObject;
5132
5137
  static toObject(includeInstance: boolean, msg: HyperVMemory): HyperVMemory.AsObject;
@@ -5141,6 +5146,7 @@ export namespace HyperVMemory {
5141
5146
  export type AsObject = {
5142
5147
  address: string,
5143
5148
  instanceId: string,
5149
+ virtualQuantity?: google_protobuf_wrappers_pb.UInt64Value.AsObject,
5144
5150
  }
5145
5151
  }
5146
5152
 
@@ -5178,6 +5184,11 @@ export class HyperVEthernet extends jspb.Message {
5178
5184
  getInstanceId(): google_protobuf_wrappers_pb.StringValue | undefined;
5179
5185
  setInstanceId(value?: google_protobuf_wrappers_pb.StringValue): HyperVEthernet;
5180
5186
 
5187
+ hasAddress(): boolean;
5188
+ clearAddress(): void;
5189
+ getAddress(): google_protobuf_wrappers_pb.StringValue | undefined;
5190
+ setAddress(value?: google_protobuf_wrappers_pb.StringValue): HyperVEthernet;
5191
+
5181
5192
  serializeBinary(): Uint8Array;
5182
5193
  toObject(includeInstance?: boolean): HyperVEthernet.AsObject;
5183
5194
  static toObject(includeInstance: boolean, msg: HyperVEthernet): HyperVEthernet.AsObject;
@@ -5192,6 +5203,7 @@ export namespace HyperVEthernet {
5192
5203
  export type AsObject = {
5193
5204
  virtualQuantity?: google_protobuf_wrappers_pb.UInt64Value.AsObject,
5194
5205
  instanceId?: google_protobuf_wrappers_pb.StringValue.AsObject,
5206
+ address?: google_protobuf_wrappers_pb.StringValue.AsObject,
5195
5207
  }
5196
5208
  }
5197
5209
 
@@ -44431,7 +44431,8 @@ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVMemory.prototype.toObject
44431
44431
  proto.com.lansweeper.discovery.sensor.windows.v1.HyperVMemory.toObject = function(includeInstance, msg) {
44432
44432
  var f, obj = {
44433
44433
  address: jspb.Message.getFieldWithDefault(msg, 1, ""),
44434
- instanceId: jspb.Message.getFieldWithDefault(msg, 2, "")
44434
+ instanceId: jspb.Message.getFieldWithDefault(msg, 2, ""),
44435
+ virtualQuantity: (f = msg.getVirtualQuantity()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f)
44435
44436
  };
44436
44437
 
44437
44438
  if (includeInstance) {
@@ -44476,6 +44477,11 @@ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVMemory.deserializeBinaryF
44476
44477
  var value = /** @type {string} */ (reader.readString());
44477
44478
  msg.setInstanceId(value);
44478
44479
  break;
44480
+ case 3:
44481
+ var value = new google_protobuf_wrappers_pb.UInt64Value;
44482
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
44483
+ msg.setVirtualQuantity(value);
44484
+ break;
44479
44485
  default:
44480
44486
  reader.skipField();
44481
44487
  break;
@@ -44519,6 +44525,14 @@ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVMemory.serializeBinaryToW
44519
44525
  f
44520
44526
  );
44521
44527
  }
44528
+ f = message.getVirtualQuantity();
44529
+ if (f != null) {
44530
+ writer.writeMessage(
44531
+ 3,
44532
+ f,
44533
+ google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
44534
+ );
44535
+ }
44522
44536
  };
44523
44537
 
44524
44538
 
@@ -44558,6 +44572,43 @@ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVMemory.prototype.setInsta
44558
44572
  };
44559
44573
 
44560
44574
 
44575
+ /**
44576
+ * optional google.protobuf.UInt64Value virtual_quantity = 3;
44577
+ * @return {?proto.google.protobuf.UInt64Value}
44578
+ */
44579
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVMemory.prototype.getVirtualQuantity = function() {
44580
+ return /** @type{?proto.google.protobuf.UInt64Value} */ (
44581
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 3));
44582
+ };
44583
+
44584
+
44585
+ /**
44586
+ * @param {?proto.google.protobuf.UInt64Value|undefined} value
44587
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVMemory} returns this
44588
+ */
44589
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVMemory.prototype.setVirtualQuantity = function(value) {
44590
+ return jspb.Message.setWrapperField(this, 3, value);
44591
+ };
44592
+
44593
+
44594
+ /**
44595
+ * Clears the message field making it undefined.
44596
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVMemory} returns this
44597
+ */
44598
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVMemory.prototype.clearVirtualQuantity = function() {
44599
+ return this.setVirtualQuantity(undefined);
44600
+ };
44601
+
44602
+
44603
+ /**
44604
+ * Returns whether this field is set.
44605
+ * @return {boolean}
44606
+ */
44607
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVMemory.prototype.hasVirtualQuantity = function() {
44608
+ return jspb.Message.getField(this, 3) != null;
44609
+ };
44610
+
44611
+
44561
44612
 
44562
44613
  /**
44563
44614
  * List of repeated fields within this message type.
@@ -44751,7 +44802,8 @@ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVEthernet.prototype.toObje
44751
44802
  proto.com.lansweeper.discovery.sensor.windows.v1.HyperVEthernet.toObject = function(includeInstance, msg) {
44752
44803
  var f, obj = {
44753
44804
  virtualQuantity: (f = msg.getVirtualQuantity()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f),
44754
- instanceId: (f = msg.getInstanceId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
44805
+ instanceId: (f = msg.getInstanceId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
44806
+ address: (f = msg.getAddress()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
44755
44807
  };
44756
44808
 
44757
44809
  if (includeInstance) {
@@ -44798,6 +44850,11 @@ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVEthernet.deserializeBinar
44798
44850
  reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
44799
44851
  msg.setInstanceId(value);
44800
44852
  break;
44853
+ case 3:
44854
+ var value = new google_protobuf_wrappers_pb.StringValue;
44855
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
44856
+ msg.setAddress(value);
44857
+ break;
44801
44858
  default:
44802
44859
  reader.skipField();
44803
44860
  break;
@@ -44843,6 +44900,14 @@ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVEthernet.serializeBinaryT
44843
44900
  google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
44844
44901
  );
44845
44902
  }
44903
+ f = message.getAddress();
44904
+ if (f != null) {
44905
+ writer.writeMessage(
44906
+ 3,
44907
+ f,
44908
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
44909
+ );
44910
+ }
44846
44911
  };
44847
44912
 
44848
44913
 
@@ -44920,6 +44985,43 @@ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVEthernet.prototype.hasIns
44920
44985
  };
44921
44986
 
44922
44987
 
44988
+ /**
44989
+ * optional google.protobuf.StringValue address = 3;
44990
+ * @return {?proto.google.protobuf.StringValue}
44991
+ */
44992
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVEthernet.prototype.getAddress = function() {
44993
+ return /** @type{?proto.google.protobuf.StringValue} */ (
44994
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
44995
+ };
44996
+
44997
+
44998
+ /**
44999
+ * @param {?proto.google.protobuf.StringValue|undefined} value
45000
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVEthernet} returns this
45001
+ */
45002
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVEthernet.prototype.setAddress = function(value) {
45003
+ return jspb.Message.setWrapperField(this, 3, value);
45004
+ };
45005
+
45006
+
45007
+ /**
45008
+ * Clears the message field making it undefined.
45009
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.HyperVEthernet} returns this
45010
+ */
45011
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVEthernet.prototype.clearAddress = function() {
45012
+ return this.setAddress(undefined);
45013
+ };
45014
+
45015
+
45016
+ /**
45017
+ * Returns whether this field is set.
45018
+ * @return {boolean}
45019
+ */
45020
+ proto.com.lansweeper.discovery.sensor.windows.v1.HyperVEthernet.prototype.hasAddress = function() {
45021
+ return jspb.Message.getField(this, 3) != null;
45022
+ };
45023
+
45024
+
44923
45025
 
44924
45026
  /**
44925
45027
  * List of repeated fields within this message type.