@lansweeper/discovery-sensor-proto 2.13.16 → 2.13.17

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.
@@ -2805,8 +2805,11 @@ export namespace Process {
2805
2805
  }
2806
2806
 
2807
2807
  export class ProcessV1 extends jspb.Message {
2808
- getCaption(): string;
2809
- setCaption(value: string): ProcessV1;
2808
+
2809
+ hasCaption(): boolean;
2810
+ clearCaption(): void;
2811
+ getCaption(): google_protobuf_wrappers_pb.StringValue | undefined;
2812
+ setCaption(value?: google_protobuf_wrappers_pb.StringValue): ProcessV1;
2810
2813
 
2811
2814
  hasExecutablePath(): boolean;
2812
2815
  clearExecutablePath(): void;
@@ -2815,13 +2818,13 @@ export class ProcessV1 extends jspb.Message {
2815
2818
 
2816
2819
  hasThreadCount(): boolean;
2817
2820
  clearThreadCount(): void;
2818
- getThreadCount(): google_protobuf_wrappers_pb.Int32Value | undefined;
2819
- setThreadCount(value?: google_protobuf_wrappers_pb.Int32Value): ProcessV1;
2821
+ getThreadCount(): google_protobuf_wrappers_pb.UInt32Value | undefined;
2822
+ setThreadCount(value?: google_protobuf_wrappers_pb.UInt32Value): ProcessV1;
2820
2823
 
2821
2824
  hasPriority(): boolean;
2822
2825
  clearPriority(): void;
2823
- getPriority(): google_protobuf_wrappers_pb.Int32Value | undefined;
2824
- setPriority(value?: google_protobuf_wrappers_pb.Int32Value): ProcessV1;
2826
+ getPriority(): google_protobuf_wrappers_pb.UInt32Value | undefined;
2827
+ setPriority(value?: google_protobuf_wrappers_pb.UInt32Value): ProcessV1;
2825
2828
 
2826
2829
  serializeBinary(): Uint8Array;
2827
2830
  toObject(includeInstance?: boolean): ProcessV1.AsObject;
@@ -2835,16 +2838,19 @@ export class ProcessV1 extends jspb.Message {
2835
2838
 
2836
2839
  export namespace ProcessV1 {
2837
2840
  export type AsObject = {
2838
- caption: string,
2841
+ caption?: google_protobuf_wrappers_pb.StringValue.AsObject,
2839
2842
  executablePath?: google_protobuf_wrappers_pb.StringValue.AsObject,
2840
- threadCount?: google_protobuf_wrappers_pb.Int32Value.AsObject,
2841
- priority?: google_protobuf_wrappers_pb.Int32Value.AsObject,
2843
+ threadCount?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
2844
+ priority?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
2842
2845
  }
2843
2846
  }
2844
2847
 
2845
2848
  export class ProcessV2 extends jspb.Message {
2846
- getCaption(): string;
2847
- setCaption(value: string): ProcessV2;
2849
+
2850
+ hasCaption(): boolean;
2851
+ clearCaption(): void;
2852
+ getCaption(): google_protobuf_wrappers_pb.StringValue | undefined;
2853
+ setCaption(value?: google_protobuf_wrappers_pb.StringValue): ProcessV2;
2848
2854
 
2849
2855
  hasExecutablePath(): boolean;
2850
2856
  clearExecutablePath(): void;
@@ -2878,7 +2884,7 @@ export class ProcessV2 extends jspb.Message {
2878
2884
 
2879
2885
  export namespace ProcessV2 {
2880
2886
  export type AsObject = {
2881
- caption: string,
2887
+ caption?: google_protobuf_wrappers_pb.StringValue.AsObject,
2882
2888
  executablePath?: google_protobuf_wrappers_pb.StringValue.AsObject,
2883
2889
  threadCount?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
2884
2890
  priority?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
@@ -26368,10 +26368,10 @@ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.prototype.toObject =
26368
26368
  */
26369
26369
  proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.toObject = function(includeInstance, msg) {
26370
26370
  var f, obj = {
26371
- caption: jspb.Message.getFieldWithDefault(msg, 1, ""),
26371
+ caption: (f = msg.getCaption()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26372
26372
  executablePath: (f = msg.getExecutablePath()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26373
- threadCount: (f = msg.getThreadCount()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f),
26374
- priority: (f = msg.getPriority()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f)
26373
+ threadCount: (f = msg.getThreadCount()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
26374
+ priority: (f = msg.getPriority()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f)
26375
26375
  };
26376
26376
 
26377
26377
  if (includeInstance) {
@@ -26409,7 +26409,8 @@ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.deserializeBinaryFrom
26409
26409
  var field = reader.getFieldNumber();
26410
26410
  switch (field) {
26411
26411
  case 1:
26412
- var value = /** @type {string} */ (reader.readString());
26412
+ var value = new google_protobuf_wrappers_pb.StringValue;
26413
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26413
26414
  msg.setCaption(value);
26414
26415
  break;
26415
26416
  case 2:
@@ -26418,13 +26419,13 @@ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.deserializeBinaryFrom
26418
26419
  msg.setExecutablePath(value);
26419
26420
  break;
26420
26421
  case 3:
26421
- var value = new google_protobuf_wrappers_pb.Int32Value;
26422
- reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
26422
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
26423
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
26423
26424
  msg.setThreadCount(value);
26424
26425
  break;
26425
26426
  case 4:
26426
- var value = new google_protobuf_wrappers_pb.Int32Value;
26427
- reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
26427
+ var value = new google_protobuf_wrappers_pb.UInt32Value;
26428
+ reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
26428
26429
  msg.setPriority(value);
26429
26430
  break;
26430
26431
  default:
@@ -26457,10 +26458,11 @@ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.prototype.serializeBi
26457
26458
  proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.serializeBinaryToWriter = function(message, writer) {
26458
26459
  var f = undefined;
26459
26460
  f = message.getCaption();
26460
- if (f.length > 0) {
26461
- writer.writeString(
26461
+ if (f != null) {
26462
+ writer.writeMessage(
26462
26463
  1,
26463
- f
26464
+ f,
26465
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26464
26466
  );
26465
26467
  }
26466
26468
  f = message.getExecutablePath();
@@ -26476,7 +26478,7 @@ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.serializeBinaryToWrit
26476
26478
  writer.writeMessage(
26477
26479
  3,
26478
26480
  f,
26479
- google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter
26481
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
26480
26482
  );
26481
26483
  }
26482
26484
  f = message.getPriority();
@@ -26484,27 +26486,46 @@ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.serializeBinaryToWrit
26484
26486
  writer.writeMessage(
26485
26487
  4,
26486
26488
  f,
26487
- google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter
26489
+ google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
26488
26490
  );
26489
26491
  }
26490
26492
  };
26491
26493
 
26492
26494
 
26493
26495
  /**
26494
- * optional string caption = 1;
26495
- * @return {string}
26496
+ * optional google.protobuf.StringValue caption = 1;
26497
+ * @return {?proto.google.protobuf.StringValue}
26496
26498
  */
26497
26499
  proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.prototype.getCaption = function() {
26498
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
26500
+ return /** @type{?proto.google.protobuf.StringValue} */ (
26501
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
26499
26502
  };
26500
26503
 
26501
26504
 
26502
26505
  /**
26503
- * @param {string} value
26506
+ * @param {?proto.google.protobuf.StringValue|undefined} value
26504
26507
  * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1} returns this
26505
- */
26508
+ */
26506
26509
  proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.prototype.setCaption = function(value) {
26507
- return jspb.Message.setProto3StringField(this, 1, value);
26510
+ return jspb.Message.setWrapperField(this, 1, value);
26511
+ };
26512
+
26513
+
26514
+ /**
26515
+ * Clears the message field making it undefined.
26516
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1} returns this
26517
+ */
26518
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.prototype.clearCaption = function() {
26519
+ return this.setCaption(undefined);
26520
+ };
26521
+
26522
+
26523
+ /**
26524
+ * Returns whether this field is set.
26525
+ * @return {boolean}
26526
+ */
26527
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.prototype.hasCaption = function() {
26528
+ return jspb.Message.getField(this, 1) != null;
26508
26529
  };
26509
26530
 
26510
26531
 
@@ -26546,17 +26567,17 @@ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.prototype.hasExecutab
26546
26567
 
26547
26568
 
26548
26569
  /**
26549
- * optional google.protobuf.Int32Value thread_count = 3;
26550
- * @return {?proto.google.protobuf.Int32Value}
26570
+ * optional google.protobuf.UInt32Value thread_count = 3;
26571
+ * @return {?proto.google.protobuf.UInt32Value}
26551
26572
  */
26552
26573
  proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.prototype.getThreadCount = function() {
26553
- return /** @type{?proto.google.protobuf.Int32Value} */ (
26554
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 3));
26574
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
26575
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 3));
26555
26576
  };
26556
26577
 
26557
26578
 
26558
26579
  /**
26559
- * @param {?proto.google.protobuf.Int32Value|undefined} value
26580
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
26560
26581
  * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1} returns this
26561
26582
  */
26562
26583
  proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.prototype.setThreadCount = function(value) {
@@ -26583,17 +26604,17 @@ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.prototype.hasThreadCo
26583
26604
 
26584
26605
 
26585
26606
  /**
26586
- * optional google.protobuf.Int32Value priority = 4;
26587
- * @return {?proto.google.protobuf.Int32Value}
26607
+ * optional google.protobuf.UInt32Value priority = 4;
26608
+ * @return {?proto.google.protobuf.UInt32Value}
26588
26609
  */
26589
26610
  proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.prototype.getPriority = function() {
26590
- return /** @type{?proto.google.protobuf.Int32Value} */ (
26591
- jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 4));
26611
+ return /** @type{?proto.google.protobuf.UInt32Value} */ (
26612
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 4));
26592
26613
  };
26593
26614
 
26594
26615
 
26595
26616
  /**
26596
- * @param {?proto.google.protobuf.Int32Value|undefined} value
26617
+ * @param {?proto.google.protobuf.UInt32Value|undefined} value
26597
26618
  * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1} returns this
26598
26619
  */
26599
26620
  proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV1.prototype.setPriority = function(value) {
@@ -26651,7 +26672,7 @@ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.prototype.toObject =
26651
26672
  */
26652
26673
  proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.toObject = function(includeInstance, msg) {
26653
26674
  var f, obj = {
26654
- caption: jspb.Message.getFieldWithDefault(msg, 1, ""),
26675
+ caption: (f = msg.getCaption()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26655
26676
  executablePath: (f = msg.getExecutablePath()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
26656
26677
  threadCount: (f = msg.getThreadCount()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
26657
26678
  priority: (f = msg.getPriority()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
@@ -26693,7 +26714,8 @@ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.deserializeBinaryFrom
26693
26714
  var field = reader.getFieldNumber();
26694
26715
  switch (field) {
26695
26716
  case 1:
26696
- var value = /** @type {string} */ (reader.readString());
26717
+ var value = new google_protobuf_wrappers_pb.StringValue;
26718
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
26697
26719
  msg.setCaption(value);
26698
26720
  break;
26699
26721
  case 2:
@@ -26746,10 +26768,11 @@ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.prototype.serializeBi
26746
26768
  proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.serializeBinaryToWriter = function(message, writer) {
26747
26769
  var f = undefined;
26748
26770
  f = message.getCaption();
26749
- if (f.length > 0) {
26750
- writer.writeString(
26771
+ if (f != null) {
26772
+ writer.writeMessage(
26751
26773
  1,
26752
- f
26774
+ f,
26775
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
26753
26776
  );
26754
26777
  }
26755
26778
  f = message.getExecutablePath();
@@ -26788,20 +26811,39 @@ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.serializeBinaryToWrit
26788
26811
 
26789
26812
 
26790
26813
  /**
26791
- * optional string caption = 1;
26792
- * @return {string}
26814
+ * optional google.protobuf.StringValue caption = 1;
26815
+ * @return {?proto.google.protobuf.StringValue}
26793
26816
  */
26794
26817
  proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.prototype.getCaption = function() {
26795
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
26818
+ return /** @type{?proto.google.protobuf.StringValue} */ (
26819
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
26796
26820
  };
26797
26821
 
26798
26822
 
26799
26823
  /**
26800
- * @param {string} value
26824
+ * @param {?proto.google.protobuf.StringValue|undefined} value
26801
26825
  * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2} returns this
26802
- */
26826
+ */
26803
26827
  proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.prototype.setCaption = function(value) {
26804
- return jspb.Message.setProto3StringField(this, 1, value);
26828
+ return jspb.Message.setWrapperField(this, 1, value);
26829
+ };
26830
+
26831
+
26832
+ /**
26833
+ * Clears the message field making it undefined.
26834
+ * @return {!proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2} returns this
26835
+ */
26836
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.prototype.clearCaption = function() {
26837
+ return this.setCaption(undefined);
26838
+ };
26839
+
26840
+
26841
+ /**
26842
+ * Returns whether this field is set.
26843
+ * @return {boolean}
26844
+ */
26845
+ proto.com.lansweeper.discovery.sensor.windows.v1.ProcessV2.prototype.hasCaption = function() {
26846
+ return jspb.Message.getField(this, 1) != null;
26805
26847
  };
26806
26848
 
26807
26849