@lansweeper/data-platform-outbound-grpc 0.1.6 → 0.1.8

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.
@@ -780,6 +780,16 @@ export class Software extends jspb.Message {
780
780
  getBuild(): string | undefined;
781
781
  setBuild(value: string): Software;
782
782
 
783
+ hasArch(): boolean;
784
+ clearArch(): void;
785
+ getArch(): string | undefined;
786
+ setArch(value: string): Software;
787
+
788
+ hasLang(): boolean;
789
+ clearLang(): void;
790
+ getLang(): string | undefined;
791
+ setLang(value: string): Software;
792
+
783
793
  hasCpe(): boolean;
784
794
  clearCpe(): void;
785
795
  getCpe(): string | undefined;
@@ -795,6 +805,16 @@ export class Software extends jspb.Message {
795
805
  getRaw(): RawSoftware | undefined;
796
806
  setRaw(value?: RawSoftware): Software;
797
807
 
808
+ hasRawHash(): boolean;
809
+ clearRawHash(): void;
810
+ getRawHash(): string | undefined;
811
+ setRawHash(value: string): Software;
812
+
813
+ hasNreHash(): boolean;
814
+ clearNreHash(): void;
815
+ getNreHash(): string | undefined;
816
+ setNreHash(value: string): Software;
817
+
798
818
  serializeBinary(): Uint8Array;
799
819
  toObject(includeInstance?: boolean): Software.AsObject;
800
820
  static toObject(includeInstance: boolean, msg: Software): Software.AsObject;
@@ -821,9 +841,13 @@ export namespace Software {
821
841
  marketVer?: string,
822
842
  edition?: string,
823
843
  build?: string,
844
+ arch?: string,
845
+ lang?: string,
824
846
  cpe?: string,
825
847
  catalogSoftware?: CatalogSoftware.AsObject,
826
848
  raw?: RawSoftware.AsObject,
849
+ rawHash?: string,
850
+ nreHash?: string,
827
851
  }
828
852
  }
829
853
 
@@ -871,6 +895,11 @@ export class RawSoftware extends jspb.Message {
871
895
  getSwId(): string | undefined;
872
896
  setSwId(value: string): RawSoftware;
873
897
 
898
+ hasIsCurrentUser(): boolean;
899
+ clearIsCurrentUser(): void;
900
+ getIsCurrentUser(): boolean | undefined;
901
+ setIsCurrentUser(value: boolean): RawSoftware;
902
+
874
903
  serializeBinary(): Uint8Array;
875
904
  toObject(includeInstance?: boolean): RawSoftware.AsObject;
876
905
  static toObject(includeInstance: boolean, msg: RawSoftware): RawSoftware.AsObject;
@@ -892,6 +921,7 @@ export namespace RawSoftware {
892
921
  installDate?: number,
893
922
  sourceType?: string,
894
923
  swId?: string,
924
+ isCurrentUser?: boolean,
895
925
  }
896
926
  }
897
927
 
@@ -5706,9 +5706,13 @@ proto.com.lansweeper.dp.outbound.v1.Software.toObject = function(includeInstance
5706
5706
  marketVer: jspb.Message.getFieldWithDefault(msg, 12, ""),
5707
5707
  edition: jspb.Message.getFieldWithDefault(msg, 13, ""),
5708
5708
  build: jspb.Message.getFieldWithDefault(msg, 14, ""),
5709
+ arch: jspb.Message.getFieldWithDefault(msg, 20, ""),
5710
+ lang: jspb.Message.getFieldWithDefault(msg, 21, ""),
5709
5711
  cpe: jspb.Message.getFieldWithDefault(msg, 15, ""),
5710
5712
  catalogSoftware: (f = msg.getCatalogSoftware()) && proto.com.lansweeper.dp.outbound.v1.CatalogSoftware.toObject(includeInstance, f),
5711
- raw: (f = msg.getRaw()) && proto.com.lansweeper.dp.outbound.v1.RawSoftware.toObject(includeInstance, f)
5713
+ raw: (f = msg.getRaw()) && proto.com.lansweeper.dp.outbound.v1.RawSoftware.toObject(includeInstance, f),
5714
+ rawHash: jspb.Message.getFieldWithDefault(msg, 18, ""),
5715
+ nreHash: jspb.Message.getFieldWithDefault(msg, 19, "")
5712
5716
  };
5713
5717
 
5714
5718
  if (includeInstance) {
@@ -5801,6 +5805,14 @@ proto.com.lansweeper.dp.outbound.v1.Software.deserializeBinaryFromReader = funct
5801
5805
  var value = /** @type {string} */ (reader.readString());
5802
5806
  msg.setBuild(value);
5803
5807
  break;
5808
+ case 20:
5809
+ var value = /** @type {string} */ (reader.readString());
5810
+ msg.setArch(value);
5811
+ break;
5812
+ case 21:
5813
+ var value = /** @type {string} */ (reader.readString());
5814
+ msg.setLang(value);
5815
+ break;
5804
5816
  case 15:
5805
5817
  var value = /** @type {string} */ (reader.readString());
5806
5818
  msg.setCpe(value);
@@ -5815,6 +5827,14 @@ proto.com.lansweeper.dp.outbound.v1.Software.deserializeBinaryFromReader = funct
5815
5827
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.RawSoftware.deserializeBinaryFromReader);
5816
5828
  msg.setRaw(value);
5817
5829
  break;
5830
+ case 18:
5831
+ var value = /** @type {string} */ (reader.readString());
5832
+ msg.setRawHash(value);
5833
+ break;
5834
+ case 19:
5835
+ var value = /** @type {string} */ (reader.readString());
5836
+ msg.setNreHash(value);
5837
+ break;
5818
5838
  default:
5819
5839
  reader.skipField();
5820
5840
  break;
@@ -5942,6 +5962,20 @@ proto.com.lansweeper.dp.outbound.v1.Software.serializeBinaryToWriter = function(
5942
5962
  f
5943
5963
  );
5944
5964
  }
5965
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
5966
+ if (f != null) {
5967
+ writer.writeString(
5968
+ 20,
5969
+ f
5970
+ );
5971
+ }
5972
+ f = /** @type {string} */ (jspb.Message.getField(message, 21));
5973
+ if (f != null) {
5974
+ writer.writeString(
5975
+ 21,
5976
+ f
5977
+ );
5978
+ }
5945
5979
  f = /** @type {string} */ (jspb.Message.getField(message, 15));
5946
5980
  if (f != null) {
5947
5981
  writer.writeString(
@@ -5965,6 +5999,20 @@ proto.com.lansweeper.dp.outbound.v1.Software.serializeBinaryToWriter = function(
5965
5999
  proto.com.lansweeper.dp.outbound.v1.RawSoftware.serializeBinaryToWriter
5966
6000
  );
5967
6001
  }
6002
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
6003
+ if (f != null) {
6004
+ writer.writeString(
6005
+ 18,
6006
+ f
6007
+ );
6008
+ }
6009
+ f = /** @type {string} */ (jspb.Message.getField(message, 19));
6010
+ if (f != null) {
6011
+ writer.writeString(
6012
+ 19,
6013
+ f
6014
+ );
6015
+ }
5968
6016
  };
5969
6017
 
5970
6018
 
@@ -6472,6 +6520,78 @@ proto.com.lansweeper.dp.outbound.v1.Software.prototype.hasBuild = function() {
6472
6520
  };
6473
6521
 
6474
6522
 
6523
+ /**
6524
+ * optional string arch = 20;
6525
+ * @return {string}
6526
+ */
6527
+ proto.com.lansweeper.dp.outbound.v1.Software.prototype.getArch = function() {
6528
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
6529
+ };
6530
+
6531
+
6532
+ /**
6533
+ * @param {string} value
6534
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Software} returns this
6535
+ */
6536
+ proto.com.lansweeper.dp.outbound.v1.Software.prototype.setArch = function(value) {
6537
+ return jspb.Message.setField(this, 20, value);
6538
+ };
6539
+
6540
+
6541
+ /**
6542
+ * Clears the field making it undefined.
6543
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Software} returns this
6544
+ */
6545
+ proto.com.lansweeper.dp.outbound.v1.Software.prototype.clearArch = function() {
6546
+ return jspb.Message.setField(this, 20, undefined);
6547
+ };
6548
+
6549
+
6550
+ /**
6551
+ * Returns whether this field is set.
6552
+ * @return {boolean}
6553
+ */
6554
+ proto.com.lansweeper.dp.outbound.v1.Software.prototype.hasArch = function() {
6555
+ return jspb.Message.getField(this, 20) != null;
6556
+ };
6557
+
6558
+
6559
+ /**
6560
+ * optional string lang = 21;
6561
+ * @return {string}
6562
+ */
6563
+ proto.com.lansweeper.dp.outbound.v1.Software.prototype.getLang = function() {
6564
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
6565
+ };
6566
+
6567
+
6568
+ /**
6569
+ * @param {string} value
6570
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Software} returns this
6571
+ */
6572
+ proto.com.lansweeper.dp.outbound.v1.Software.prototype.setLang = function(value) {
6573
+ return jspb.Message.setField(this, 21, value);
6574
+ };
6575
+
6576
+
6577
+ /**
6578
+ * Clears the field making it undefined.
6579
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Software} returns this
6580
+ */
6581
+ proto.com.lansweeper.dp.outbound.v1.Software.prototype.clearLang = function() {
6582
+ return jspb.Message.setField(this, 21, undefined);
6583
+ };
6584
+
6585
+
6586
+ /**
6587
+ * Returns whether this field is set.
6588
+ * @return {boolean}
6589
+ */
6590
+ proto.com.lansweeper.dp.outbound.v1.Software.prototype.hasLang = function() {
6591
+ return jspb.Message.getField(this, 21) != null;
6592
+ };
6593
+
6594
+
6475
6595
  /**
6476
6596
  * optional string cpe = 15;
6477
6597
  * @return {string}
@@ -6582,6 +6702,78 @@ proto.com.lansweeper.dp.outbound.v1.Software.prototype.hasRaw = function() {
6582
6702
  };
6583
6703
 
6584
6704
 
6705
+ /**
6706
+ * optional string raw_hash = 18;
6707
+ * @return {string}
6708
+ */
6709
+ proto.com.lansweeper.dp.outbound.v1.Software.prototype.getRawHash = function() {
6710
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
6711
+ };
6712
+
6713
+
6714
+ /**
6715
+ * @param {string} value
6716
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Software} returns this
6717
+ */
6718
+ proto.com.lansweeper.dp.outbound.v1.Software.prototype.setRawHash = function(value) {
6719
+ return jspb.Message.setField(this, 18, value);
6720
+ };
6721
+
6722
+
6723
+ /**
6724
+ * Clears the field making it undefined.
6725
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Software} returns this
6726
+ */
6727
+ proto.com.lansweeper.dp.outbound.v1.Software.prototype.clearRawHash = function() {
6728
+ return jspb.Message.setField(this, 18, undefined);
6729
+ };
6730
+
6731
+
6732
+ /**
6733
+ * Returns whether this field is set.
6734
+ * @return {boolean}
6735
+ */
6736
+ proto.com.lansweeper.dp.outbound.v1.Software.prototype.hasRawHash = function() {
6737
+ return jspb.Message.getField(this, 18) != null;
6738
+ };
6739
+
6740
+
6741
+ /**
6742
+ * optional string nre_hash = 19;
6743
+ * @return {string}
6744
+ */
6745
+ proto.com.lansweeper.dp.outbound.v1.Software.prototype.getNreHash = function() {
6746
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
6747
+ };
6748
+
6749
+
6750
+ /**
6751
+ * @param {string} value
6752
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Software} returns this
6753
+ */
6754
+ proto.com.lansweeper.dp.outbound.v1.Software.prototype.setNreHash = function(value) {
6755
+ return jspb.Message.setField(this, 19, value);
6756
+ };
6757
+
6758
+
6759
+ /**
6760
+ * Clears the field making it undefined.
6761
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Software} returns this
6762
+ */
6763
+ proto.com.lansweeper.dp.outbound.v1.Software.prototype.clearNreHash = function() {
6764
+ return jspb.Message.setField(this, 19, undefined);
6765
+ };
6766
+
6767
+
6768
+ /**
6769
+ * Returns whether this field is set.
6770
+ * @return {boolean}
6771
+ */
6772
+ proto.com.lansweeper.dp.outbound.v1.Software.prototype.hasNreHash = function() {
6773
+ return jspb.Message.getField(this, 19) != null;
6774
+ };
6775
+
6776
+
6585
6777
 
6586
6778
 
6587
6779
 
@@ -6622,7 +6814,8 @@ proto.com.lansweeper.dp.outbound.v1.RawSoftware.toObject = function(includeInsta
6622
6814
  arch: jspb.Message.getFieldWithDefault(msg, 6, ""),
6623
6815
  installDate: jspb.Message.getFieldWithDefault(msg, 7, 0),
6624
6816
  sourceType: jspb.Message.getFieldWithDefault(msg, 8, ""),
6625
- swId: jspb.Message.getFieldWithDefault(msg, 9, "")
6817
+ swId: jspb.Message.getFieldWithDefault(msg, 9, ""),
6818
+ isCurrentUser: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
6626
6819
  };
6627
6820
 
6628
6821
  if (includeInstance) {
@@ -6695,6 +6888,10 @@ proto.com.lansweeper.dp.outbound.v1.RawSoftware.deserializeBinaryFromReader = fu
6695
6888
  var value = /** @type {string} */ (reader.readString());
6696
6889
  msg.setSwId(value);
6697
6890
  break;
6891
+ case 10:
6892
+ var value = /** @type {boolean} */ (reader.readBool());
6893
+ msg.setIsCurrentUser(value);
6894
+ break;
6698
6895
  default:
6699
6896
  reader.skipField();
6700
6897
  break;
@@ -6787,6 +6984,13 @@ proto.com.lansweeper.dp.outbound.v1.RawSoftware.serializeBinaryToWriter = functi
6787
6984
  f
6788
6985
  );
6789
6986
  }
6987
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 10));
6988
+ if (f != null) {
6989
+ writer.writeBool(
6990
+ 10,
6991
+ f
6992
+ );
6993
+ }
6790
6994
  };
6791
6995
 
6792
6996
 
@@ -7096,6 +7300,42 @@ proto.com.lansweeper.dp.outbound.v1.RawSoftware.prototype.hasSwId = function() {
7096
7300
  };
7097
7301
 
7098
7302
 
7303
+ /**
7304
+ * optional bool is_current_user = 10;
7305
+ * @return {boolean}
7306
+ */
7307
+ proto.com.lansweeper.dp.outbound.v1.RawSoftware.prototype.getIsCurrentUser = function() {
7308
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
7309
+ };
7310
+
7311
+
7312
+ /**
7313
+ * @param {boolean} value
7314
+ * @return {!proto.com.lansweeper.dp.outbound.v1.RawSoftware} returns this
7315
+ */
7316
+ proto.com.lansweeper.dp.outbound.v1.RawSoftware.prototype.setIsCurrentUser = function(value) {
7317
+ return jspb.Message.setField(this, 10, value);
7318
+ };
7319
+
7320
+
7321
+ /**
7322
+ * Clears the field making it undefined.
7323
+ * @return {!proto.com.lansweeper.dp.outbound.v1.RawSoftware} returns this
7324
+ */
7325
+ proto.com.lansweeper.dp.outbound.v1.RawSoftware.prototype.clearIsCurrentUser = function() {
7326
+ return jspb.Message.setField(this, 10, undefined);
7327
+ };
7328
+
7329
+
7330
+ /**
7331
+ * Returns whether this field is set.
7332
+ * @return {boolean}
7333
+ */
7334
+ proto.com.lansweeper.dp.outbound.v1.RawSoftware.prototype.hasIsCurrentUser = function() {
7335
+ return jspb.Message.getField(this, 10) != null;
7336
+ };
7337
+
7338
+
7099
7339
 
7100
7340
 
7101
7341