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

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.
@@ -1729,6 +1729,16 @@ export class CloudEntity extends jspb.Message {
1729
1729
  getLocation(): string | undefined;
1730
1730
  setLocation(value: string): CloudEntity;
1731
1731
 
1732
+ hasTenantId(): boolean;
1733
+ clearTenantId(): void;
1734
+ getTenantId(): string | undefined;
1735
+ setTenantId(value: string): CloudEntity;
1736
+
1737
+ hasTenantName(): boolean;
1738
+ clearTenantName(): void;
1739
+ getTenantName(): string | undefined;
1740
+ setTenantName(value: string): CloudEntity;
1741
+
1732
1742
  serializeBinary(): Uint8Array;
1733
1743
  toObject(includeInstance?: boolean): CloudEntity.AsObject;
1734
1744
  static toObject(includeInstance: boolean, msg: CloudEntity): CloudEntity.AsObject;
@@ -1749,6 +1759,8 @@ export namespace CloudEntity {
1749
1759
  category: string,
1750
1760
  cdkTagsList: Array<Tag.AsObject>,
1751
1761
  location?: string,
1762
+ tenantId?: string,
1763
+ tenantName?: string,
1752
1764
  }
1753
1765
  }
1754
1766
 
@@ -18642,7 +18642,9 @@ proto.com.lansweeper.dp.outbound.v1.CloudEntity.toObject = function(includeInsta
18642
18642
  category: jspb.Message.getFieldWithDefault(msg, 6, ""),
18643
18643
  cdkTagsList: jspb.Message.toObjectList(msg.getCdkTagsList(),
18644
18644
  proto.com.lansweeper.dp.outbound.v1.Tag.toObject, includeInstance),
18645
- location: jspb.Message.getFieldWithDefault(msg, 8, "")
18645
+ location: jspb.Message.getFieldWithDefault(msg, 8, ""),
18646
+ tenantId: jspb.Message.getFieldWithDefault(msg, 9, ""),
18647
+ tenantName: jspb.Message.getFieldWithDefault(msg, 10, "")
18646
18648
  };
18647
18649
 
18648
18650
  if (includeInstance) {
@@ -18713,6 +18715,14 @@ proto.com.lansweeper.dp.outbound.v1.CloudEntity.deserializeBinaryFromReader = fu
18713
18715
  var value = /** @type {string} */ (reader.readString());
18714
18716
  msg.setLocation(value);
18715
18717
  break;
18718
+ case 9:
18719
+ var value = /** @type {string} */ (reader.readString());
18720
+ msg.setTenantId(value);
18721
+ break;
18722
+ case 10:
18723
+ var value = /** @type {string} */ (reader.readString());
18724
+ msg.setTenantName(value);
18725
+ break;
18716
18726
  default:
18717
18727
  reader.skipField();
18718
18728
  break;
@@ -18800,6 +18810,20 @@ proto.com.lansweeper.dp.outbound.v1.CloudEntity.serializeBinaryToWriter = functi
18800
18810
  f
18801
18811
  );
18802
18812
  }
18813
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
18814
+ if (f != null) {
18815
+ writer.writeString(
18816
+ 9,
18817
+ f
18818
+ );
18819
+ }
18820
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
18821
+ if (f != null) {
18822
+ writer.writeString(
18823
+ 10,
18824
+ f
18825
+ );
18826
+ }
18803
18827
  };
18804
18828
 
18805
18829
 
@@ -19022,6 +19046,78 @@ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.hasLocation = function
19022
19046
  };
19023
19047
 
19024
19048
 
19049
+ /**
19050
+ * optional string tenant_id = 9;
19051
+ * @return {string}
19052
+ */
19053
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.getTenantId = function() {
19054
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
19055
+ };
19056
+
19057
+
19058
+ /**
19059
+ * @param {string} value
19060
+ * @return {!proto.com.lansweeper.dp.outbound.v1.CloudEntity} returns this
19061
+ */
19062
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.setTenantId = function(value) {
19063
+ return jspb.Message.setField(this, 9, value);
19064
+ };
19065
+
19066
+
19067
+ /**
19068
+ * Clears the field making it undefined.
19069
+ * @return {!proto.com.lansweeper.dp.outbound.v1.CloudEntity} returns this
19070
+ */
19071
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.clearTenantId = function() {
19072
+ return jspb.Message.setField(this, 9, undefined);
19073
+ };
19074
+
19075
+
19076
+ /**
19077
+ * Returns whether this field is set.
19078
+ * @return {boolean}
19079
+ */
19080
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.hasTenantId = function() {
19081
+ return jspb.Message.getField(this, 9) != null;
19082
+ };
19083
+
19084
+
19085
+ /**
19086
+ * optional string tenant_name = 10;
19087
+ * @return {string}
19088
+ */
19089
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.getTenantName = function() {
19090
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
19091
+ };
19092
+
19093
+
19094
+ /**
19095
+ * @param {string} value
19096
+ * @return {!proto.com.lansweeper.dp.outbound.v1.CloudEntity} returns this
19097
+ */
19098
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.setTenantName = function(value) {
19099
+ return jspb.Message.setField(this, 10, value);
19100
+ };
19101
+
19102
+
19103
+ /**
19104
+ * Clears the field making it undefined.
19105
+ * @return {!proto.com.lansweeper.dp.outbound.v1.CloudEntity} returns this
19106
+ */
19107
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.clearTenantName = function() {
19108
+ return jspb.Message.setField(this, 10, undefined);
19109
+ };
19110
+
19111
+
19112
+ /**
19113
+ * Returns whether this field is set.
19114
+ * @return {boolean}
19115
+ */
19116
+ proto.com.lansweeper.dp.outbound.v1.CloudEntity.prototype.hasTenantName = function() {
19117
+ return jspb.Message.getField(this, 10) != null;
19118
+ };
19119
+
19120
+
19025
19121
 
19026
19122
  /**
19027
19123
  * List of repeated fields within this message type.