@lansweeper/data-platform-outbound-grpc 0.2.0 → 0.3.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.
@@ -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
 
@@ -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.