@lansweeper/discovery-cloud-proto 0.0.40 → 0.0.41

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.
@@ -81,6 +81,16 @@ export class CloudEntity extends jspb.Message {
81
81
  getResourceId(): string | undefined;
82
82
  setResourceId(value: string): CloudEntity;
83
83
 
84
+ hasScannerType(): boolean;
85
+ clearScannerType(): void;
86
+ getScannerType(): string | undefined;
87
+ setScannerType(value: string): CloudEntity;
88
+
89
+ hasDnsName(): boolean;
90
+ clearDnsName(): void;
91
+ getDnsName(): string | undefined;
92
+ setDnsName(value: string): CloudEntity;
93
+
84
94
  serializeBinary(): Uint8Array;
85
95
  toObject(includeInstance?: boolean): CloudEntity.AsObject;
86
96
  static toObject(includeInstance: boolean, msg: CloudEntity): CloudEntity.AsObject;
@@ -116,6 +126,8 @@ export namespace CloudEntity {
116
126
  tenantName: string,
117
127
  resourceGroup: string,
118
128
  resourceId?: string,
129
+ scannerType?: string,
130
+ dnsName?: string,
119
131
  }
120
132
  }
121
133
 
@@ -13666,7 +13666,9 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.toObject = function(incl
13666
13666
  tenantId: jspb.Message.getFieldWithDefault(msg, 20, ""),
13667
13667
  tenantName: jspb.Message.getFieldWithDefault(msg, 21, ""),
13668
13668
  resourceGroup: jspb.Message.getFieldWithDefault(msg, 22, ""),
13669
- resourceId: jspb.Message.getFieldWithDefault(msg, 23, "")
13669
+ resourceId: jspb.Message.getFieldWithDefault(msg, 23, ""),
13670
+ scannerType: jspb.Message.getFieldWithDefault(msg, 24, ""),
13671
+ dnsName: jspb.Message.getFieldWithDefault(msg, 25, "")
13670
13672
  };
13671
13673
 
13672
13674
  if (includeInstance) {
@@ -13800,6 +13802,14 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.deserializeBinaryFromRea
13800
13802
  var value = /** @type {string} */ (reader.readString());
13801
13803
  msg.setResourceId(value);
13802
13804
  break;
13805
+ case 24:
13806
+ var value = /** @type {string} */ (reader.readString());
13807
+ msg.setScannerType(value);
13808
+ break;
13809
+ case 25:
13810
+ var value = /** @type {string} */ (reader.readString());
13811
+ msg.setDnsName(value);
13812
+ break;
13803
13813
  default:
13804
13814
  reader.skipField();
13805
13815
  break;
@@ -13995,6 +14005,20 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.serializeBinaryToWriter
13995
14005
  f
13996
14006
  );
13997
14007
  }
14008
+ f = /** @type {string} */ (jspb.Message.getField(message, 24));
14009
+ if (f != null) {
14010
+ writer.writeString(
14011
+ 24,
14012
+ f
14013
+ );
14014
+ }
14015
+ f = /** @type {string} */ (jspb.Message.getField(message, 25));
14016
+ if (f != null) {
14017
+ writer.writeString(
14018
+ 25,
14019
+ f
14020
+ );
14021
+ }
13998
14022
  };
13999
14023
 
14000
14024
 
@@ -14582,6 +14606,78 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.hasResourceId
14582
14606
  };
14583
14607
 
14584
14608
 
14609
+ /**
14610
+ * optional string scanner_type = 24;
14611
+ * @return {string}
14612
+ */
14613
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getScannerType = function() {
14614
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
14615
+ };
14616
+
14617
+
14618
+ /**
14619
+ * @param {string} value
14620
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
14621
+ */
14622
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setScannerType = function(value) {
14623
+ return jspb.Message.setField(this, 24, value);
14624
+ };
14625
+
14626
+
14627
+ /**
14628
+ * Clears the field making it undefined.
14629
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
14630
+ */
14631
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearScannerType = function() {
14632
+ return jspb.Message.setField(this, 24, undefined);
14633
+ };
14634
+
14635
+
14636
+ /**
14637
+ * Returns whether this field is set.
14638
+ * @return {boolean}
14639
+ */
14640
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.hasScannerType = function() {
14641
+ return jspb.Message.getField(this, 24) != null;
14642
+ };
14643
+
14644
+
14645
+ /**
14646
+ * optional string dns_name = 25;
14647
+ * @return {string}
14648
+ */
14649
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getDnsName = function() {
14650
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
14651
+ };
14652
+
14653
+
14654
+ /**
14655
+ * @param {string} value
14656
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
14657
+ */
14658
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setDnsName = function(value) {
14659
+ return jspb.Message.setField(this, 25, value);
14660
+ };
14661
+
14662
+
14663
+ /**
14664
+ * Clears the field making it undefined.
14665
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
14666
+ */
14667
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearDnsName = function() {
14668
+ return jspb.Message.setField(this, 25, undefined);
14669
+ };
14670
+
14671
+
14672
+ /**
14673
+ * Returns whether this field is set.
14674
+ * @return {boolean}
14675
+ */
14676
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.hasDnsName = function() {
14677
+ return jspb.Message.getField(this, 25) != null;
14678
+ };
14679
+
14680
+
14585
14681
 
14586
14682
 
14587
14683