@lansweeper/data-platform-outbound-grpc 0.3.0 → 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
 
@@ -2067,6 +2079,11 @@ export class SourceInfo extends jspb.Message {
2067
2079
  clearSourceName(): void;
2068
2080
  getSourceName(): string | undefined;
2069
2081
  setSourceName(value: string): SourceInfo;
2082
+
2083
+ hasSourceTag(): boolean;
2084
+ clearSourceTag(): void;
2085
+ getSourceTag(): string | undefined;
2086
+ setSourceTag(value: string): SourceInfo;
2070
2087
  getRawId(): string;
2071
2088
  setRawId(value: string): SourceInfo;
2072
2089
 
@@ -2096,6 +2113,7 @@ export namespace SourceInfo {
2096
2113
  sourceType: string,
2097
2114
  sourceAgent?: string,
2098
2115
  sourceName?: string,
2116
+ sourceTag?: string,
2099
2117
  rawId: string,
2100
2118
  entityId?: string,
2101
2119
  lastSynced?: google_protobuf_timestamp_pb.Timestamp.AsObject,
@@ -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.
@@ -21381,6 +21477,7 @@ proto.com.lansweeper.dp.outbound.v1.SourceInfo.toObject = function(includeInstan
21381
21477
  sourceType: jspb.Message.getFieldWithDefault(msg, 2, ""),
21382
21478
  sourceAgent: jspb.Message.getFieldWithDefault(msg, 3, ""),
21383
21479
  sourceName: jspb.Message.getFieldWithDefault(msg, 4, ""),
21480
+ sourceTag: jspb.Message.getFieldWithDefault(msg, 8, ""),
21384
21481
  rawId: jspb.Message.getFieldWithDefault(msg, 5, ""),
21385
21482
  entityId: jspb.Message.getFieldWithDefault(msg, 7, ""),
21386
21483
  lastSynced: (f = msg.getLastSynced()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
@@ -21436,6 +21533,10 @@ proto.com.lansweeper.dp.outbound.v1.SourceInfo.deserializeBinaryFromReader = fun
21436
21533
  var value = /** @type {string} */ (reader.readString());
21437
21534
  msg.setSourceName(value);
21438
21535
  break;
21536
+ case 8:
21537
+ var value = /** @type {string} */ (reader.readString());
21538
+ msg.setSourceTag(value);
21539
+ break;
21439
21540
  case 5:
21440
21541
  var value = /** @type {string} */ (reader.readString());
21441
21542
  msg.setRawId(value);
@@ -21506,6 +21607,13 @@ proto.com.lansweeper.dp.outbound.v1.SourceInfo.serializeBinaryToWriter = functio
21506
21607
  f
21507
21608
  );
21508
21609
  }
21610
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
21611
+ if (f != null) {
21612
+ writer.writeString(
21613
+ 8,
21614
+ f
21615
+ );
21616
+ }
21509
21617
  f = message.getRawId();
21510
21618
  if (f.length > 0) {
21511
21619
  writer.writeString(
@@ -21639,6 +21747,42 @@ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.hasSourceName = functio
21639
21747
  };
21640
21748
 
21641
21749
 
21750
+ /**
21751
+ * optional string source_tag = 8;
21752
+ * @return {string}
21753
+ */
21754
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.getSourceTag = function() {
21755
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
21756
+ };
21757
+
21758
+
21759
+ /**
21760
+ * @param {string} value
21761
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SourceInfo} returns this
21762
+ */
21763
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.setSourceTag = function(value) {
21764
+ return jspb.Message.setField(this, 8, value);
21765
+ };
21766
+
21767
+
21768
+ /**
21769
+ * Clears the field making it undefined.
21770
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SourceInfo} returns this
21771
+ */
21772
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.clearSourceTag = function() {
21773
+ return jspb.Message.setField(this, 8, undefined);
21774
+ };
21775
+
21776
+
21777
+ /**
21778
+ * Returns whether this field is set.
21779
+ * @return {boolean}
21780
+ */
21781
+ proto.com.lansweeper.dp.outbound.v1.SourceInfo.prototype.hasSourceTag = function() {
21782
+ return jspb.Message.getField(this, 8) != null;
21783
+ };
21784
+
21785
+
21642
21786
  /**
21643
21787
  * optional string raw_id = 5;
21644
21788
  * @return {string}