@lansweeper/data-platform-outbound-grpc 0.2.1 → 0.3.1

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.
@@ -1724,6 +1724,11 @@ export class CloudEntity extends jspb.Message {
1724
1724
  setCdkTagsList(value: Array<Tag>): CloudEntity;
1725
1725
  addCdkTags(value?: Tag, index?: number): Tag;
1726
1726
 
1727
+ hasLocation(): boolean;
1728
+ clearLocation(): void;
1729
+ getLocation(): string | undefined;
1730
+ setLocation(value: string): CloudEntity;
1731
+
1727
1732
  serializeBinary(): Uint8Array;
1728
1733
  toObject(includeInstance?: boolean): CloudEntity.AsObject;
1729
1734
  static toObject(includeInstance: boolean, msg: CloudEntity): CloudEntity.AsObject;
@@ -1743,6 +1748,7 @@ export namespace CloudEntity {
1743
1748
  environmentName: string,
1744
1749
  category: string,
1745
1750
  cdkTagsList: Array<Tag.AsObject>,
1751
+ location?: string,
1746
1752
  }
1747
1753
  }
1748
1754
 
@@ -2061,6 +2067,11 @@ export class SourceInfo extends jspb.Message {
2061
2067
  clearSourceName(): void;
2062
2068
  getSourceName(): string | undefined;
2063
2069
  setSourceName(value: string): SourceInfo;
2070
+
2071
+ hasSourceTag(): boolean;
2072
+ clearSourceTag(): void;
2073
+ getSourceTag(): string | undefined;
2074
+ setSourceTag(value: string): SourceInfo;
2064
2075
  getRawId(): string;
2065
2076
  setRawId(value: string): SourceInfo;
2066
2077
 
@@ -2090,6 +2101,7 @@ export namespace SourceInfo {
2090
2101
  sourceType: string,
2091
2102
  sourceAgent?: string,
2092
2103
  sourceName?: string,
2104
+ sourceTag?: string,
2093
2105
  rawId: string,
2094
2106
  entityId?: string,
2095
2107
  lastSynced?: google_protobuf_timestamp_pb.Timestamp.AsObject,
@@ -18641,7 +18641,8 @@ proto.com.lansweeper.dp.outbound.v1.CloudEntity.toObject = function(includeInsta
18641
18641
  environmentName: jspb.Message.getFieldWithDefault(msg, 5, ""),
18642
18642
  category: jspb.Message.getFieldWithDefault(msg, 6, ""),
18643
18643
  cdkTagsList: jspb.Message.toObjectList(msg.getCdkTagsList(),
18644
- proto.com.lansweeper.dp.outbound.v1.Tag.toObject, includeInstance)
18644
+ proto.com.lansweeper.dp.outbound.v1.Tag.toObject, includeInstance),
18645
+ location: jspb.Message.getFieldWithDefault(msg, 8, "")
18645
18646
  };
18646
18647
 
18647
18648
  if (includeInstance) {
@@ -18708,6 +18709,10 @@ proto.com.lansweeper.dp.outbound.v1.CloudEntity.deserializeBinaryFromReader = fu
18708
18709
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Tag.deserializeBinaryFromReader);
18709
18710
  msg.addCdkTags(value);
18710
18711
  break;
18712
+ case 8:
18713
+ var value = /** @type {string} */ (reader.readString());
18714
+ msg.setLocation(value);
18715
+ break;
18711
18716
  default:
18712
18717
  reader.skipField();
18713
18718
  break;
@@ -18788,6 +18793,13 @@ proto.com.lansweeper.dp.outbound.v1.CloudEntity.serializeBinaryToWriter = functi
18788
18793
  proto.com.lansweeper.dp.outbound.v1.Tag.serializeBinaryToWriter
18789
18794
  );
18790
18795
  }
18796
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
18797
+ if (f != null) {
18798
+ writer.writeString(
18799
+ 8,
18800
+ f
18801
+ );
18802
+ }
18791
18803
  };
18792
18804
 
18793
18805
 
@@ -18974,6 +18986,42 @@ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.clearCdkTagsList = fun
18974
18986
  };
18975
18987
 
18976
18988
 
18989
+ /**
18990
+ * optional string location = 8;
18991
+ * @return {string}
18992
+ */
18993
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.getLocation = function() {
18994
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
18995
+ };
18996
+
18997
+
18998
+ /**
18999
+ * @param {string} value
19000
+ * @return {!proto.com.lansweeper.dp.outbound.v1.CloudEntity} returns this
19001
+ */
19002
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.setLocation = function(value) {
19003
+ return jspb.Message.setField(this, 8, value);
19004
+ };
19005
+
19006
+
19007
+ /**
19008
+ * Clears the field making it undefined.
19009
+ * @return {!proto.com.lansweeper.dp.outbound.v1.CloudEntity} returns this
19010
+ */
19011
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.clearLocation = function() {
19012
+ return jspb.Message.setField(this, 8, undefined);
19013
+ };
19014
+
19015
+
19016
+ /**
19017
+ * Returns whether this field is set.
19018
+ * @return {boolean}
19019
+ */
19020
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.hasLocation = function() {
19021
+ return jspb.Message.getField(this, 8) != null;
19022
+ };
19023
+
19024
+
18977
19025
 
18978
19026
  /**
18979
19027
  * List of repeated fields within this message type.
@@ -21333,6 +21381,7 @@ proto.com.lansweeper.dp.outbound.v1.SourceInfo.toObject = function(includeInstan
21333
21381
  sourceType: jspb.Message.getFieldWithDefault(msg, 2, ""),
21334
21382
  sourceAgent: jspb.Message.getFieldWithDefault(msg, 3, ""),
21335
21383
  sourceName: jspb.Message.getFieldWithDefault(msg, 4, ""),
21384
+ sourceTag: jspb.Message.getFieldWithDefault(msg, 8, ""),
21336
21385
  rawId: jspb.Message.getFieldWithDefault(msg, 5, ""),
21337
21386
  entityId: jspb.Message.getFieldWithDefault(msg, 7, ""),
21338
21387
  lastSynced: (f = msg.getLastSynced()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
@@ -21388,6 +21437,10 @@ proto.com.lansweeper.dp.outbound.v1.SourceInfo.deserializeBinaryFromReader = fun
21388
21437
  var value = /** @type {string} */ (reader.readString());
21389
21438
  msg.setSourceName(value);
21390
21439
  break;
21440
+ case 8:
21441
+ var value = /** @type {string} */ (reader.readString());
21442
+ msg.setSourceTag(value);
21443
+ break;
21391
21444
  case 5:
21392
21445
  var value = /** @type {string} */ (reader.readString());
21393
21446
  msg.setRawId(value);
@@ -21458,6 +21511,13 @@ proto.com.lansweeper.dp.outbound.v1.SourceInfo.serializeBinaryToWriter = functio
21458
21511
  f
21459
21512
  );
21460
21513
  }
21514
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
21515
+ if (f != null) {
21516
+ writer.writeString(
21517
+ 8,
21518
+ f
21519
+ );
21520
+ }
21461
21521
  f = message.getRawId();
21462
21522
  if (f.length > 0) {
21463
21523
  writer.writeString(
@@ -21591,6 +21651,42 @@ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.hasSourceName = functio
21591
21651
  };
21592
21652
 
21593
21653
 
21654
+ /**
21655
+ * optional string source_tag = 8;
21656
+ * @return {string}
21657
+ */
21658
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.getSourceTag = function() {
21659
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
21660
+ };
21661
+
21662
+
21663
+ /**
21664
+ * @param {string} value
21665
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SourceInfo} returns this
21666
+ */
21667
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.setSourceTag = function(value) {
21668
+ return jspb.Message.setField(this, 8, value);
21669
+ };
21670
+
21671
+
21672
+ /**
21673
+ * Clears the field making it undefined.
21674
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SourceInfo} returns this
21675
+ */
21676
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.clearSourceTag = function() {
21677
+ return jspb.Message.setField(this, 8, undefined);
21678
+ };
21679
+
21680
+
21681
+ /**
21682
+ * Returns whether this field is set.
21683
+ * @return {boolean}
21684
+ */
21685
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.hasSourceTag = function() {
21686
+ return jspb.Message.getField(this, 8) != null;
21687
+ };
21688
+
21689
+
21594
21690
  /**
21595
21691
  * optional string raw_id = 5;
21596
21692
  * @return {string}