@lansweeper/data-platform-outbound-grpc 0.1.142 → 0.2.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.
@@ -1719,6 +1719,10 @@ export class CloudEntity extends jspb.Message {
1719
1719
  setEnvironmentName(value: string): CloudEntity;
1720
1720
  getCategory(): string;
1721
1721
  setCategory(value: string): CloudEntity;
1722
+ clearCdkTagsList(): void;
1723
+ getCdkTagsList(): Array<Tag>;
1724
+ setCdkTagsList(value: Array<Tag>): CloudEntity;
1725
+ addCdkTags(value?: Tag, index?: number): Tag;
1722
1726
 
1723
1727
  serializeBinary(): Uint8Array;
1724
1728
  toObject(includeInstance?: boolean): CloudEntity.AsObject;
@@ -1738,6 +1742,7 @@ export namespace CloudEntity {
1738
1742
  regionId?: string,
1739
1743
  environmentName: string,
1740
1744
  category: string,
1745
+ cdkTagsList: Array<Tag.AsObject>,
1741
1746
  }
1742
1747
  }
1743
1748
 
@@ -882,7 +882,7 @@ if (goog.DEBUG && !COMPILED) {
882
882
  * @constructor
883
883
  */
884
884
  proto.com.lansweeper.dp.outbound.v1.CloudEntity = function(opt_data) {
885
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
885
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.dp.outbound.v1.CloudEntity.repeatedFields_, null);
886
886
  };
887
887
  goog.inherits(proto.com.lansweeper.dp.outbound.v1.CloudEntity, jspb.Message);
888
888
  if (goog.DEBUG && !COMPILED) {
@@ -18596,6 +18596,13 @@ proto.com.lansweeper.dp.outbound.v1.CorrelationInfo.prototype.hasCorrelationFiel
18596
18596
 
18597
18597
 
18598
18598
 
18599
+ /**
18600
+ * List of repeated fields within this message type.
18601
+ * @private {!Array<number>}
18602
+ * @const
18603
+ */
18604
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.repeatedFields_ = [7];
18605
+
18599
18606
 
18600
18607
 
18601
18608
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -18632,7 +18639,9 @@ proto.com.lansweeper.dp.outbound.v1.CloudEntity.toObject = function(includeInsta
18632
18639
  cloudProvider: jspb.Message.getFieldWithDefault(msg, 3, ""),
18633
18640
  regionId: jspb.Message.getFieldWithDefault(msg, 4, ""),
18634
18641
  environmentName: jspb.Message.getFieldWithDefault(msg, 5, ""),
18635
- category: jspb.Message.getFieldWithDefault(msg, 6, "")
18642
+ category: jspb.Message.getFieldWithDefault(msg, 6, ""),
18643
+ cdkTagsList: jspb.Message.toObjectList(msg.getCdkTagsList(),
18644
+ proto.com.lansweeper.dp.outbound.v1.Tag.toObject, includeInstance)
18636
18645
  };
18637
18646
 
18638
18647
  if (includeInstance) {
@@ -18694,6 +18703,11 @@ proto.com.lansweeper.dp.outbound.v1.CloudEntity.deserializeBinaryFromReader = fu
18694
18703
  var value = /** @type {string} */ (reader.readString());
18695
18704
  msg.setCategory(value);
18696
18705
  break;
18706
+ case 7:
18707
+ var value = new proto.com.lansweeper.dp.outbound.v1.Tag;
18708
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Tag.deserializeBinaryFromReader);
18709
+ msg.addCdkTags(value);
18710
+ break;
18697
18711
  default:
18698
18712
  reader.skipField();
18699
18713
  break;
@@ -18766,6 +18780,14 @@ proto.com.lansweeper.dp.outbound.v1.CloudEntity.serializeBinaryToWriter = functi
18766
18780
  f
18767
18781
  );
18768
18782
  }
18783
+ f = message.getCdkTagsList();
18784
+ if (f.length > 0) {
18785
+ writer.writeRepeatedMessage(
18786
+ 7,
18787
+ f,
18788
+ proto.com.lansweeper.dp.outbound.v1.Tag.serializeBinaryToWriter
18789
+ );
18790
+ }
18769
18791
  };
18770
18792
 
18771
18793
 
@@ -18914,6 +18936,44 @@ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.setCategory = function
18914
18936
  };
18915
18937
 
18916
18938
 
18939
+ /**
18940
+ * repeated Tag cdk_tags = 7;
18941
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.Tag>}
18942
+ */
18943
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.getCdkTagsList = function() {
18944
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.Tag>} */ (
18945
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Tag, 7));
18946
+ };
18947
+
18948
+
18949
+ /**
18950
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.Tag>} value
18951
+ * @return {!proto.com.lansweeper.dp.outbound.v1.CloudEntity} returns this
18952
+ */
18953
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.setCdkTagsList = function(value) {
18954
+ return jspb.Message.setRepeatedWrapperField(this, 7, value);
18955
+ };
18956
+
18957
+
18958
+ /**
18959
+ * @param {!proto.com.lansweeper.dp.outbound.v1.Tag=} opt_value
18960
+ * @param {number=} opt_index
18961
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Tag}
18962
+ */
18963
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.addCdkTags = function(opt_value, opt_index) {
18964
+ return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.com.lansweeper.dp.outbound.v1.Tag, opt_index);
18965
+ };
18966
+
18967
+
18968
+ /**
18969
+ * Clears the list making it empty but non-null.
18970
+ * @return {!proto.com.lansweeper.dp.outbound.v1.CloudEntity} returns this
18971
+ */
18972
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.clearCdkTagsList = function() {
18973
+ return this.setCdkTagsList([]);
18974
+ };
18975
+
18976
+
18917
18977
 
18918
18978
  /**
18919
18979
  * List of repeated fields within this message type.