@lansweeper/discovery-sensor-proto 2.40.0 → 2.41.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.
@@ -1482,6 +1482,20 @@ export class Software extends jspb.Message {
1482
1482
  getHas64BitIntelCode(): google_protobuf_wrappers_pb.StringValue | undefined;
1483
1483
  setHas64BitIntelCode(value?: google_protobuf_wrappers_pb.StringValue): Software;
1484
1484
 
1485
+ hasArchKind(): boolean;
1486
+ clearArchKind(): void;
1487
+ getArchKind(): google_protobuf_wrappers_pb.StringValue | undefined;
1488
+ setArchKind(value?: google_protobuf_wrappers_pb.StringValue): Software;
1489
+
1490
+ hasObtainedFrom(): boolean;
1491
+ clearObtainedFrom(): void;
1492
+ getObtainedFrom(): google_protobuf_wrappers_pb.StringValue | undefined;
1493
+ setObtainedFrom(value?: google_protobuf_wrappers_pb.StringValue): Software;
1494
+ clearSignedByList(): void;
1495
+ getSignedByList(): Array<string>;
1496
+ setSignedByList(value: Array<string>): Software;
1497
+ addSignedBy(value: string, index?: number): string;
1498
+
1485
1499
  serializeBinary(): Uint8Array;
1486
1500
  toObject(includeInstance?: boolean): Software.AsObject;
1487
1501
  static toObject(includeInstance: boolean, msg: Software): Software.AsObject;
@@ -1501,6 +1515,9 @@ export namespace Software {
1501
1515
  path?: google_protobuf_wrappers_pb.StringValue.AsObject,
1502
1516
  runtimeEnvironment?: google_protobuf_wrappers_pb.StringValue.AsObject,
1503
1517
  has64BitIntelCode?: google_protobuf_wrappers_pb.StringValue.AsObject,
1518
+ archKind?: google_protobuf_wrappers_pb.StringValue.AsObject,
1519
+ obtainedFrom?: google_protobuf_wrappers_pb.StringValue.AsObject,
1520
+ signedByList: Array<string>,
1504
1521
  }
1505
1522
  }
1506
1523
 
@@ -668,7 +668,7 @@ if (goog.DEBUG && !COMPILED) {
668
668
  * @constructor
669
669
  */
670
670
  proto.com.lansweeper.discovery.sensor.mac.v1.Software = function(opt_data) {
671
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
671
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.Software.repeatedFields_, null);
672
672
  };
673
673
  goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.Software, jspb.Message);
674
674
  if (goog.DEBUG && !COMPILED) {
@@ -12231,6 +12231,13 @@ proto.com.lansweeper.discovery.sensor.mac.v1.MacSoftware.prototype.clearEntriesL
12231
12231
 
12232
12232
 
12233
12233
 
12234
+ /**
12235
+ * List of repeated fields within this message type.
12236
+ * @private {!Array<number>}
12237
+ * @const
12238
+ */
12239
+ proto.com.lansweeper.discovery.sensor.mac.v1.Software.repeatedFields_ = [10];
12240
+
12234
12241
 
12235
12242
 
12236
12243
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -12268,7 +12275,10 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Software.toObject = function(includ
12268
12275
  description: (f = msg.getDescription()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12269
12276
  path: (f = msg.getPath()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12270
12277
  runtimeEnvironment: (f = msg.getRuntimeEnvironment()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12271
- has64BitIntelCode: (f = msg.getHas64BitIntelCode()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
12278
+ has64BitIntelCode: (f = msg.getHas64BitIntelCode()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12279
+ archKind: (f = msg.getArchKind()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12280
+ obtainedFrom: (f = msg.getObtainedFrom()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
12281
+ signedByList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f
12272
12282
  };
12273
12283
 
12274
12284
  if (includeInstance) {
@@ -12340,6 +12350,20 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Software.deserializeBinaryFromReade
12340
12350
  reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12341
12351
  msg.setHas64BitIntelCode(value);
12342
12352
  break;
12353
+ case 8:
12354
+ var value = new google_protobuf_wrappers_pb.StringValue;
12355
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12356
+ msg.setArchKind(value);
12357
+ break;
12358
+ case 9:
12359
+ var value = new google_protobuf_wrappers_pb.StringValue;
12360
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
12361
+ msg.setObtainedFrom(value);
12362
+ break;
12363
+ case 10:
12364
+ var value = /** @type {string} */ (reader.readString());
12365
+ msg.addSignedBy(value);
12366
+ break;
12343
12367
  default:
12344
12368
  reader.skipField();
12345
12369
  break;
@@ -12425,6 +12449,29 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Software.serializeBinaryToWriter =
12425
12449
  google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12426
12450
  );
12427
12451
  }
12452
+ f = message.getArchKind();
12453
+ if (f != null) {
12454
+ writer.writeMessage(
12455
+ 8,
12456
+ f,
12457
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12458
+ );
12459
+ }
12460
+ f = message.getObtainedFrom();
12461
+ if (f != null) {
12462
+ writer.writeMessage(
12463
+ 9,
12464
+ f,
12465
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
12466
+ );
12467
+ }
12468
+ f = message.getSignedByList();
12469
+ if (f.length > 0) {
12470
+ writer.writeRepeatedString(
12471
+ 10,
12472
+ f
12473
+ );
12474
+ }
12428
12475
  };
12429
12476
 
12430
12477
 
@@ -12687,6 +12734,117 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Software.prototype.hasHas64BitIntel
12687
12734
  };
12688
12735
 
12689
12736
 
12737
+ /**
12738
+ * optional google.protobuf.StringValue arch_kind = 8;
12739
+ * @return {?proto.google.protobuf.StringValue}
12740
+ */
12741
+ proto.com.lansweeper.discovery.sensor.mac.v1.Software.prototype.getArchKind = function() {
12742
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12743
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
12744
+ };
12745
+
12746
+
12747
+ /**
12748
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12749
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Software} returns this
12750
+ */
12751
+ proto.com.lansweeper.discovery.sensor.mac.v1.Software.prototype.setArchKind = function(value) {
12752
+ return jspb.Message.setWrapperField(this, 8, value);
12753
+ };
12754
+
12755
+
12756
+ /**
12757
+ * Clears the message field making it undefined.
12758
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Software} returns this
12759
+ */
12760
+ proto.com.lansweeper.discovery.sensor.mac.v1.Software.prototype.clearArchKind = function() {
12761
+ return this.setArchKind(undefined);
12762
+ };
12763
+
12764
+
12765
+ /**
12766
+ * Returns whether this field is set.
12767
+ * @return {boolean}
12768
+ */
12769
+ proto.com.lansweeper.discovery.sensor.mac.v1.Software.prototype.hasArchKind = function() {
12770
+ return jspb.Message.getField(this, 8) != null;
12771
+ };
12772
+
12773
+
12774
+ /**
12775
+ * optional google.protobuf.StringValue obtained_from = 9;
12776
+ * @return {?proto.google.protobuf.StringValue}
12777
+ */
12778
+ proto.com.lansweeper.discovery.sensor.mac.v1.Software.prototype.getObtainedFrom = function() {
12779
+ return /** @type{?proto.google.protobuf.StringValue} */ (
12780
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 9));
12781
+ };
12782
+
12783
+
12784
+ /**
12785
+ * @param {?proto.google.protobuf.StringValue|undefined} value
12786
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Software} returns this
12787
+ */
12788
+ proto.com.lansweeper.discovery.sensor.mac.v1.Software.prototype.setObtainedFrom = function(value) {
12789
+ return jspb.Message.setWrapperField(this, 9, value);
12790
+ };
12791
+
12792
+
12793
+ /**
12794
+ * Clears the message field making it undefined.
12795
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Software} returns this
12796
+ */
12797
+ proto.com.lansweeper.discovery.sensor.mac.v1.Software.prototype.clearObtainedFrom = function() {
12798
+ return this.setObtainedFrom(undefined);
12799
+ };
12800
+
12801
+
12802
+ /**
12803
+ * Returns whether this field is set.
12804
+ * @return {boolean}
12805
+ */
12806
+ proto.com.lansweeper.discovery.sensor.mac.v1.Software.prototype.hasObtainedFrom = function() {
12807
+ return jspb.Message.getField(this, 9) != null;
12808
+ };
12809
+
12810
+
12811
+ /**
12812
+ * repeated string signed_by = 10;
12813
+ * @return {!Array<string>}
12814
+ */
12815
+ proto.com.lansweeper.discovery.sensor.mac.v1.Software.prototype.getSignedByList = function() {
12816
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
12817
+ };
12818
+
12819
+
12820
+ /**
12821
+ * @param {!Array<string>} value
12822
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Software} returns this
12823
+ */
12824
+ proto.com.lansweeper.discovery.sensor.mac.v1.Software.prototype.setSignedByList = function(value) {
12825
+ return jspb.Message.setField(this, 10, value || []);
12826
+ };
12827
+
12828
+
12829
+ /**
12830
+ * @param {string} value
12831
+ * @param {number=} opt_index
12832
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Software} returns this
12833
+ */
12834
+ proto.com.lansweeper.discovery.sensor.mac.v1.Software.prototype.addSignedBy = function(value, opt_index) {
12835
+ return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
12836
+ };
12837
+
12838
+
12839
+ /**
12840
+ * Clears the list making it empty but non-null.
12841
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Software} returns this
12842
+ */
12843
+ proto.com.lansweeper.discovery.sensor.mac.v1.Software.prototype.clearSignedByList = function() {
12844
+ return this.setSignedByList([]);
12845
+ };
12846
+
12847
+
12690
12848
 
12691
12849
 
12692
12850