@lansweeper/discovery-cloud-proto 0.0.39 → 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
|
|
|
@@ -274,6 +286,11 @@ export class GetNextEnvironmentToScanResponse extends jspb.Message {
|
|
|
274
286
|
getScanInput(): ScanInput | undefined;
|
|
275
287
|
setScanInput(value?: ScanInput): GetNextEnvironmentToScanResponse;
|
|
276
288
|
|
|
289
|
+
hasFirstScan(): boolean;
|
|
290
|
+
clearFirstScan(): void;
|
|
291
|
+
getFirstScan(): boolean | undefined;
|
|
292
|
+
setFirstScan(value: boolean): GetNextEnvironmentToScanResponse;
|
|
293
|
+
|
|
277
294
|
serializeBinary(): Uint8Array;
|
|
278
295
|
toObject(includeInstance?: boolean): GetNextEnvironmentToScanResponse.AsObject;
|
|
279
296
|
static toObject(includeInstance: boolean, msg: GetNextEnvironmentToScanResponse): GetNextEnvironmentToScanResponse.AsObject;
|
|
@@ -288,6 +305,7 @@ export namespace GetNextEnvironmentToScanResponse {
|
|
|
288
305
|
export type AsObject = {
|
|
289
306
|
hasScan: boolean,
|
|
290
307
|
scanInput?: ScanInput.AsObject,
|
|
308
|
+
firstScan?: boolean,
|
|
291
309
|
}
|
|
292
310
|
}
|
|
293
311
|
|
|
@@ -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
|
|
|
@@ -15727,7 +15823,8 @@ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.pro
|
|
|
15727
15823
|
proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.toObject = function(includeInstance, msg) {
|
|
15728
15824
|
var f, obj = {
|
|
15729
15825
|
hasScan: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
15730
|
-
scanInput: (f = msg.getScanInput()) && proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.toObject(includeInstance, f)
|
|
15826
|
+
scanInput: (f = msg.getScanInput()) && proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.toObject(includeInstance, f),
|
|
15827
|
+
firstScan: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
15731
15828
|
};
|
|
15732
15829
|
|
|
15733
15830
|
if (includeInstance) {
|
|
@@ -15773,6 +15870,10 @@ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.des
|
|
|
15773
15870
|
reader.readMessage(value,proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.deserializeBinaryFromReader);
|
|
15774
15871
|
msg.setScanInput(value);
|
|
15775
15872
|
break;
|
|
15873
|
+
case 3:
|
|
15874
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
15875
|
+
msg.setFirstScan(value);
|
|
15876
|
+
break;
|
|
15776
15877
|
default:
|
|
15777
15878
|
reader.skipField();
|
|
15778
15879
|
break;
|
|
@@ -15817,6 +15918,13 @@ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.ser
|
|
|
15817
15918
|
proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.serializeBinaryToWriter
|
|
15818
15919
|
);
|
|
15819
15920
|
}
|
|
15921
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
|
|
15922
|
+
if (f != null) {
|
|
15923
|
+
writer.writeBool(
|
|
15924
|
+
3,
|
|
15925
|
+
f
|
|
15926
|
+
);
|
|
15927
|
+
}
|
|
15820
15928
|
};
|
|
15821
15929
|
|
|
15822
15930
|
|
|
@@ -15875,6 +15983,42 @@ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.pro
|
|
|
15875
15983
|
};
|
|
15876
15984
|
|
|
15877
15985
|
|
|
15986
|
+
/**
|
|
15987
|
+
* optional bool first_scan = 3;
|
|
15988
|
+
* @return {boolean}
|
|
15989
|
+
*/
|
|
15990
|
+
proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.prototype.getFirstScan = function() {
|
|
15991
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
15992
|
+
};
|
|
15993
|
+
|
|
15994
|
+
|
|
15995
|
+
/**
|
|
15996
|
+
* @param {boolean} value
|
|
15997
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse} returns this
|
|
15998
|
+
*/
|
|
15999
|
+
proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.prototype.setFirstScan = function(value) {
|
|
16000
|
+
return jspb.Message.setField(this, 3, value);
|
|
16001
|
+
};
|
|
16002
|
+
|
|
16003
|
+
|
|
16004
|
+
/**
|
|
16005
|
+
* Clears the field making it undefined.
|
|
16006
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse} returns this
|
|
16007
|
+
*/
|
|
16008
|
+
proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.prototype.clearFirstScan = function() {
|
|
16009
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
16010
|
+
};
|
|
16011
|
+
|
|
16012
|
+
|
|
16013
|
+
/**
|
|
16014
|
+
* Returns whether this field is set.
|
|
16015
|
+
* @return {boolean}
|
|
16016
|
+
*/
|
|
16017
|
+
proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.prototype.hasFirstScan = function() {
|
|
16018
|
+
return jspb.Message.getField(this, 3) != null;
|
|
16019
|
+
};
|
|
16020
|
+
|
|
16021
|
+
|
|
15878
16022
|
|
|
15879
16023
|
/**
|
|
15880
16024
|
* List of repeated fields within this message type.
|