@lansweeper/discovery-sensor-proto 2.13.15 → 2.13.16

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.
@@ -2860,8 +2860,11 @@ export class ProcessV2 extends jspb.Message {
2860
2860
  clearPriority(): void;
2861
2861
  getPriority(): google_protobuf_wrappers_pb.UInt32Value | undefined;
2862
2862
  setPriority(value?: google_protobuf_wrappers_pb.UInt32Value): ProcessV2;
2863
- getHandle(): number;
2864
- setHandle(value: number): ProcessV2;
2863
+
2864
+ hasHandle(): boolean;
2865
+ clearHandle(): void;
2866
+ getHandle(): google_protobuf_wrappers_pb.StringValue | undefined;
2867
+ setHandle(value?: google_protobuf_wrappers_pb.StringValue): ProcessV2;
2865
2868
 
2866
2869
  serializeBinary(): Uint8Array;
2867
2870
  toObject(includeInstance?: boolean): ProcessV2.AsObject;
@@ -2879,7 +2882,7 @@ export namespace ProcessV2 {
2879
2882
  executablePath?: google_protobuf_wrappers_pb.StringValue.AsObject,
2880
2883
  threadCount?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
2881
2884
  priority?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
2882
- handle: number,
2885
+ handle?: google_protobuf_wrappers_pb.StringValue.AsObject,
2883
2886
  }
2884
2887
  }
2885
2888
 
@@ -3587,10 +3590,10 @@ export class PortableBattery extends jspb.Message {
3587
3590
  getLocation(): google_protobuf_wrappers_pb.StringValue | undefined;
3588
3591
  setLocation(value?: google_protobuf_wrappers_pb.StringValue): PortableBattery;
3589
3592
 
3590
- hasManufacturerDate(): boolean;
3591
- clearManufacturerDate(): void;
3592
- getManufacturerDate(): google_protobuf_wrappers_pb.StringValue | undefined;
3593
- setManufacturerDate(value?: google_protobuf_wrappers_pb.StringValue): PortableBattery;
3593
+ hasManufactureDate(): boolean;
3594
+ clearManufactureDate(): void;
3595
+ getManufactureDate(): google_protobuf_wrappers_pb.StringValue | undefined;
3596
+ setManufactureDate(value?: google_protobuf_wrappers_pb.StringValue): PortableBattery;
3594
3597
 
3595
3598
  hasManufacturer(): boolean;
3596
3599
  clearManufacturer(): void;
@@ -3630,7 +3633,7 @@ export namespace PortableBattery {
3630
3633
  designVoltage?: google_protobuf_wrappers_pb.UInt64Value.AsObject,
3631
3634
  deviceId?: google_protobuf_wrappers_pb.StringValue.AsObject,
3632
3635
  location?: google_protobuf_wrappers_pb.StringValue.AsObject,
3633
- manufacturerDate?: google_protobuf_wrappers_pb.StringValue.AsObject,
3636
+ manufactureDate?: google_protobuf_wrappers_pb.StringValue.AsObject,
3634
3637
  manufacturer?: google_protobuf_wrappers_pb.StringValue.AsObject,
3635
3638
  maxBatteryError?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
3636
3639
  name?: google_protobuf_wrappers_pb.StringValue.AsObject,
@@ -26655,7 +26655,7 @@ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.toObject = function(i
26655
26655
  executablePath: (f = msg.getExecutablePath()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26656
26656
  threadCount: (f = msg.getThreadCount()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
26657
26657
  priority: (f = msg.getPriority()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
26658
- handle: jspb.Message.getFieldWithDefault(msg, 5, 0)
26658
+ handle: (f = msg.getHandle()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
26659
26659
  };
26660
26660
 
26661
26661
  if (includeInstance) {
@@ -26712,7 +26712,8 @@ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.deserializeBinaryFrom
26712
26712
  msg.setPriority(value);
26713
26713
  break;
26714
26714
  case 5:
26715
- var value = /** @type {number} */ (reader.readInt32());
26715
+ var value = new google_protobuf_wrappers_pb.StringValue;
26716
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26716
26717
  msg.setHandle(value);
26717
26718
  break;
26718
26719
  default:
@@ -26776,10 +26777,11 @@ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.serializeBinaryToWrit
26776
26777
  );
26777
26778
  }
26778
26779
  f = message.getHandle();
26779
- if (f !== 0) {
26780
- writer.writeInt32(
26780
+ if (f != null) {
26781
+ writer.writeMessage(
26781
26782
  5,
26782
- f
26783
+ f,
26784
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26783
26785
  );
26784
26786
  }
26785
26787
  };
@@ -26915,20 +26917,39 @@ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.prototype.hasPriority
26915
26917
 
26916
26918
 
26917
26919
  /**
26918
- * optional int32 handle = 5;
26919
- * @return {number}
26920
+ * optional google.protobuf.StringValue handle = 5;
26921
+ * @return {?proto.google.protobuf.StringValue}
26920
26922
  */
26921
26923
  proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.prototype.getHandle = function() {
26922
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
26924
+ return /** @type{?proto.google.protobuf.StringValue} */ (
26925
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
26923
26926
  };
26924
26927
 
26925
26928
 
26926
26929
  /**
26927
- * @param {number} value
26930
+ * @param {?proto.google.protobuf.StringValue|undefined} value
26928
26931
  * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2} returns this
26929
- */
26932
+ */
26930
26933
  proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.prototype.setHandle = function(value) {
26931
- return jspb.Message.setProto3IntField(this, 5, value);
26934
+ return jspb.Message.setWrapperField(this, 5, value);
26935
+ };
26936
+
26937
+
26938
+ /**
26939
+ * Clears the message field making it undefined.
26940
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2} returns this
26941
+ */
26942
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.prototype.clearHandle = function() {
26943
+ return this.setHandle(undefined);
26944
+ };
26945
+
26946
+
26947
+ /**
26948
+ * Returns whether this field is set.
26949
+ * @return {boolean}
26950
+ */
26951
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.prototype.hasHandle = function() {
26952
+ return jspb.Message.getField(this, 5) != null;
26932
26953
  };
26933
26954
 
26934
26955
 
@@ -32143,7 +32164,7 @@ proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery.toObject = func
32143
32164
  designVoltage: (f = msg.getDesignVoltage()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f),
32144
32165
  deviceId: (f = msg.getDeviceId()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
32145
32166
  location: (f = msg.getLocation()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
32146
- manufacturerDate: (f = msg.getManufacturerDate()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
32167
+ manufactureDate: (f = msg.getManufactureDate()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
32147
32168
  manufacturer: (f = msg.getManufacturer()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
32148
32169
  maxBatteryError: (f = msg.getMaxBatteryError()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
32149
32170
  name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
@@ -32217,7 +32238,7 @@ proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery.deserializeBina
32217
32238
  case 7:
32218
32239
  var value = new google_protobuf_wrappers_pb.StringValue;
32219
32240
  reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
32220
- msg.setManufacturerDate(value);
32241
+ msg.setManufactureDate(value);
32221
32242
  break;
32222
32243
  case 8:
32223
32244
  var value = new google_protobuf_wrappers_pb.StringValue;
@@ -32316,7 +32337,7 @@ proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery.serializeBinary
32316
32337
  google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
32317
32338
  );
32318
32339
  }
32319
- f = message.getManufacturerDate();
32340
+ f = message.getManufactureDate();
32320
32341
  if (f != null) {
32321
32342
  writer.writeMessage(
32322
32343
  7,
@@ -32582,10 +32603,10 @@ proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery.prototype.hasLo
32582
32603
 
32583
32604
 
32584
32605
  /**
32585
- * optional google.protobuf.StringValue manufacturer_date = 7;
32606
+ * optional google.protobuf.StringValue manufacture_date = 7;
32586
32607
  * @return {?proto.google.protobuf.StringValue}
32587
32608
  */
32588
- proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery.prototype.getManufacturerDate = function() {
32609
+ proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery.prototype.getManufactureDate = function() {
32589
32610
  return /** @type{?proto.google.protobuf.StringValue} */ (
32590
32611
  jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
32591
32612
  };
@@ -32595,7 +32616,7 @@ proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery.prototype.getMa
32595
32616
  * @param {?proto.google.protobuf.StringValue|undefined} value
32596
32617
  * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery} returns this
32597
32618
  */
32598
- proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery.prototype.setManufacturerDate = function(value) {
32619
+ proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery.prototype.setManufactureDate = function(value) {
32599
32620
  return jspb.Message.setWrapperField(this, 7, value);
32600
32621
  };
32601
32622
 
@@ -32604,8 +32625,8 @@ proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery.prototype.setMa
32604
32625
  * Clears the message field making it undefined.
32605
32626
  * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery} returns this
32606
32627
  */
32607
- proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery.prototype.clearManufacturerDate = function() {
32608
- return this.setManufacturerDate(undefined);
32628
+ proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery.prototype.clearManufactureDate = function() {
32629
+ return this.setManufactureDate(undefined);
32609
32630
  };
32610
32631
 
32611
32632
 
@@ -32613,7 +32634,7 @@ proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery.prototype.clear
32613
32634
  * Returns whether this field is set.
32614
32635
  * @return {boolean}
32615
32636
  */
32616
- proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery.prototype.hasManufacturerDate = function() {
32637
+ proto.com.lansweeper.discovery.sensor.windows.v1.PortableBattery.prototype.hasManufactureDate = function() {
32617
32638
  return jspb.Message.getField(this, 7) != null;
32618
32639
  };
32619
32640