@lansweeper/discovery-sensor-proto 2.13.16 → 2.13.18

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.
@@ -7,6 +7,34 @@
7
7
  import * as jspb from "google-protobuf";
8
8
  import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
9
9
 
10
+ export class MacBasicInfo extends jspb.Message {
11
+
12
+ hasIsArmArchitecture(): boolean;
13
+ clearIsArmArchitecture(): void;
14
+ getIsArmArchitecture(): google_protobuf_wrappers_pb.BoolValue | undefined;
15
+ setIsArmArchitecture(value?: google_protobuf_wrappers_pb.BoolValue): MacBasicInfo;
16
+ clearDataTypesList(): void;
17
+ getDataTypesList(): Array<string>;
18
+ setDataTypesList(value: Array<string>): MacBasicInfo;
19
+ addDataTypes(value: string, index?: number): string;
20
+
21
+ serializeBinary(): Uint8Array;
22
+ toObject(includeInstance?: boolean): MacBasicInfo.AsObject;
23
+ static toObject(includeInstance: boolean, msg: MacBasicInfo): MacBasicInfo.AsObject;
24
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
25
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
26
+ static serializeBinaryToWriter(message: MacBasicInfo, writer: jspb.BinaryWriter): void;
27
+ static deserializeBinary(bytes: Uint8Array): MacBasicInfo;
28
+ static deserializeBinaryFromReader(message: MacBasicInfo, reader: jspb.BinaryReader): MacBasicInfo;
29
+ }
30
+
31
+ export namespace MacBasicInfo {
32
+ export type AsObject = {
33
+ isArmArchitecture?: google_protobuf_wrappers_pb.BoolValue.AsObject,
34
+ dataTypesList: Array<string>,
35
+ }
36
+ }
37
+
10
38
  export class MacMemory extends jspb.Message {
11
39
  clearEntriesList(): void;
12
40
  getEntriesList(): Array<Memory>;
@@ -24,6 +24,7 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryModelInfo
24
24
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryPower', null, global);
25
25
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth', null, global);
26
26
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.HardDisk', null, global);
27
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo', null, global);
27
28
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBluetooth', null, global);
28
29
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacHardDisk', null, global);
29
30
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory', null, global);
@@ -45,6 +46,27 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkVolume',
45
46
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Power', null, global);
46
47
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Software', null, global);
47
48
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware', null, global);
49
+ /**
50
+ * Generated by JsPbCodeGenerator.
51
+ * @param {Array=} opt_data Optional initial data array, typically from a
52
+ * server response, or constructed directly in Javascript. The array is used
53
+ * in place and becomes part of the constructed object. It is not cloned.
54
+ * If no data is provided, the constructed object will be empty, but still
55
+ * valid.
56
+ * @extends {jspb.Message}
57
+ * @constructor
58
+ */
59
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo = function(opt_data) {
60
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.repeatedFields_, null);
61
+ };
62
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo, jspb.Message);
63
+ if (goog.DEBUG && !COMPILED) {
64
+ /**
65
+ * @public
66
+ * @override
67
+ */
68
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo';
69
+ }
48
70
  /**
49
71
  * Generated by JsPbCodeGenerator.
50
72
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -634,6 +656,213 @@ if (goog.DEBUG && !COMPILED) {
634
656
  proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.SystemHardware';
635
657
  }
636
658
 
659
+ /**
660
+ * List of repeated fields within this message type.
661
+ * @private {!Array<number>}
662
+ * @const
663
+ */
664
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.repeatedFields_ = [2];
665
+
666
+
667
+
668
+ if (jspb.Message.GENERATE_TO_OBJECT) {
669
+ /**
670
+ * Creates an object representation of this proto.
671
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
672
+ * Optional fields that are not set will be set to undefined.
673
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
674
+ * For the list of reserved names please see:
675
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
676
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
677
+ * JSPB instance for transitional soy proto support:
678
+ * http://goto/soy-param-migration
679
+ * @return {!Object}
680
+ */
681
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.toObject = function(opt_includeInstance) {
682
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.toObject(opt_includeInstance, this);
683
+ };
684
+
685
+
686
+ /**
687
+ * Static version of the {@see toObject} method.
688
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
689
+ * the JSPB instance for transitional soy proto support:
690
+ * http://goto/soy-param-migration
691
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo} msg The msg instance to transform.
692
+ * @return {!Object}
693
+ * @suppress {unusedLocalVariables} f is only used for nested messages
694
+ */
695
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.toObject = function(includeInstance, msg) {
696
+ var f, obj = {
697
+ isArmArchitecture: (f = msg.getIsArmArchitecture()) && google_protobuf_wrappers_pb.BoolValue.toObject(includeInstance, f),
698
+ dataTypesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
699
+ };
700
+
701
+ if (includeInstance) {
702
+ obj.$jspbMessageInstance = msg;
703
+ }
704
+ return obj;
705
+ };
706
+ }
707
+
708
+
709
+ /**
710
+ * Deserializes binary data (in protobuf wire format).
711
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
712
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo}
713
+ */
714
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.deserializeBinary = function(bytes) {
715
+ var reader = new jspb.BinaryReader(bytes);
716
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo;
717
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.deserializeBinaryFromReader(msg, reader);
718
+ };
719
+
720
+
721
+ /**
722
+ * Deserializes binary data (in protobuf wire format) from the
723
+ * given reader into the given message object.
724
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo} msg The message object to deserialize into.
725
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
726
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo}
727
+ */
728
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.deserializeBinaryFromReader = function(msg, reader) {
729
+ while (reader.nextField()) {
730
+ if (reader.isEndGroup()) {
731
+ break;
732
+ }
733
+ var field = reader.getFieldNumber();
734
+ switch (field) {
735
+ case 1:
736
+ var value = new google_protobuf_wrappers_pb.BoolValue;
737
+ reader.readMessage(value,google_protobuf_wrappers_pb.BoolValue.deserializeBinaryFromReader);
738
+ msg.setIsArmArchitecture(value);
739
+ break;
740
+ case 2:
741
+ var value = /** @type {string} */ (reader.readString());
742
+ msg.addDataTypes(value);
743
+ break;
744
+ default:
745
+ reader.skipField();
746
+ break;
747
+ }
748
+ }
749
+ return msg;
750
+ };
751
+
752
+
753
+ /**
754
+ * Serializes the message to binary data (in protobuf wire format).
755
+ * @return {!Uint8Array}
756
+ */
757
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.serializeBinary = function() {
758
+ var writer = new jspb.BinaryWriter();
759
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.serializeBinaryToWriter(this, writer);
760
+ return writer.getResultBuffer();
761
+ };
762
+
763
+
764
+ /**
765
+ * Serializes the given message to binary data (in protobuf wire
766
+ * format), writing to the given BinaryWriter.
767
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo} message
768
+ * @param {!jspb.BinaryWriter} writer
769
+ * @suppress {unusedLocalVariables} f is only used for nested messages
770
+ */
771
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.serializeBinaryToWriter = function(message, writer) {
772
+ var f = undefined;
773
+ f = message.getIsArmArchitecture();
774
+ if (f != null) {
775
+ writer.writeMessage(
776
+ 1,
777
+ f,
778
+ google_protobuf_wrappers_pb.BoolValue.serializeBinaryToWriter
779
+ );
780
+ }
781
+ f = message.getDataTypesList();
782
+ if (f.length > 0) {
783
+ writer.writeRepeatedString(
784
+ 2,
785
+ f
786
+ );
787
+ }
788
+ };
789
+
790
+
791
+ /**
792
+ * optional google.protobuf.BoolValue is_arm_architecture = 1;
793
+ * @return {?proto.google.protobuf.BoolValue}
794
+ */
795
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.getIsArmArchitecture = function() {
796
+ return /** @type{?proto.google.protobuf.BoolValue} */ (
797
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BoolValue, 1));
798
+ };
799
+
800
+
801
+ /**
802
+ * @param {?proto.google.protobuf.BoolValue|undefined} value
803
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo} returns this
804
+ */
805
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.setIsArmArchitecture = function(value) {
806
+ return jspb.Message.setWrapperField(this, 1, value);
807
+ };
808
+
809
+
810
+ /**
811
+ * Clears the message field making it undefined.
812
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo} returns this
813
+ */
814
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.clearIsArmArchitecture = function() {
815
+ return this.setIsArmArchitecture(undefined);
816
+ };
817
+
818
+
819
+ /**
820
+ * Returns whether this field is set.
821
+ * @return {boolean}
822
+ */
823
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.hasIsArmArchitecture = function() {
824
+ return jspb.Message.getField(this, 1) != null;
825
+ };
826
+
827
+
828
+ /**
829
+ * repeated string data_types = 2;
830
+ * @return {!Array<string>}
831
+ */
832
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.getDataTypesList = function() {
833
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
834
+ };
835
+
836
+
837
+ /**
838
+ * @param {!Array<string>} value
839
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo} returns this
840
+ */
841
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.setDataTypesList = function(value) {
842
+ return jspb.Message.setField(this, 2, value || []);
843
+ };
844
+
845
+
846
+ /**
847
+ * @param {string} value
848
+ * @param {number=} opt_index
849
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo} returns this
850
+ */
851
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.addDataTypes = function(value, opt_index) {
852
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
853
+ };
854
+
855
+
856
+ /**
857
+ * Clears the list making it empty but non-null.
858
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo} returns this
859
+ */
860
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo.prototype.clearDataTypesList = function() {
861
+ return this.setDataTypesList([]);
862
+ };
863
+
864
+
865
+
637
866
  /**
638
867
  * List of repeated fields within this message type.
639
868
  * @private {!Array<number>}
@@ -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