@lansweeper/discovery-cloud-proto 0.0.14 → 0.0.15
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.
|
@@ -48,6 +48,10 @@ export class CloudEntity extends jspb.Message {
|
|
|
48
48
|
getScanErrorList(): Array<ScanError>;
|
|
49
49
|
setScanErrorList(value: Array<ScanError>): CloudEntity;
|
|
50
50
|
addScanError(value?: ScanError, index?: number): ScanError;
|
|
51
|
+
getCategory(): string;
|
|
52
|
+
setCategory(value: string): CloudEntity;
|
|
53
|
+
getEnvironmentName(): string;
|
|
54
|
+
setEnvironmentName(value: string): CloudEntity;
|
|
51
55
|
|
|
52
56
|
serializeBinary(): Uint8Array;
|
|
53
57
|
toObject(includeInstance?: boolean): CloudEntity.AsObject;
|
|
@@ -73,6 +77,8 @@ export namespace CloudEntity {
|
|
|
73
77
|
cloudProvider: string,
|
|
74
78
|
regionId?: string,
|
|
75
79
|
scanErrorList: Array<ScanError.AsObject>,
|
|
80
|
+
category: string,
|
|
81
|
+
environmentName: string,
|
|
76
82
|
}
|
|
77
83
|
}
|
|
78
84
|
|
|
@@ -11122,7 +11122,9 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.toObject = function(incl
|
|
|
11122
11122
|
cloudProvider: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
11123
11123
|
regionId: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
11124
11124
|
scanErrorList: jspb.Message.toObjectList(msg.getScanErrorList(),
|
|
11125
|
-
proto.com.lansweeper.discovery.cloud.api.v1.ScanError.toObject, includeInstance)
|
|
11125
|
+
proto.com.lansweeper.discovery.cloud.api.v1.ScanError.toObject, includeInstance),
|
|
11126
|
+
category: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
11127
|
+
environmentName: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
11126
11128
|
};
|
|
11127
11129
|
|
|
11128
11130
|
if (includeInstance) {
|
|
@@ -11209,6 +11211,14 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.deserializeBinaryFromRea
|
|
|
11209
11211
|
reader.readMessage(value,proto.com.lansweeper.discovery.cloud.api.v1.ScanError.deserializeBinaryFromReader);
|
|
11210
11212
|
msg.addScanError(value);
|
|
11211
11213
|
break;
|
|
11214
|
+
case 13:
|
|
11215
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11216
|
+
msg.setCategory(value);
|
|
11217
|
+
break;
|
|
11218
|
+
case 14:
|
|
11219
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11220
|
+
msg.setEnvironmentName(value);
|
|
11221
|
+
break;
|
|
11212
11222
|
default:
|
|
11213
11223
|
reader.skipField();
|
|
11214
11224
|
break;
|
|
@@ -11324,6 +11334,20 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.serializeBinaryToWriter
|
|
|
11324
11334
|
proto.com.lansweeper.discovery.cloud.api.v1.ScanError.serializeBinaryToWriter
|
|
11325
11335
|
);
|
|
11326
11336
|
}
|
|
11337
|
+
f = message.getCategory();
|
|
11338
|
+
if (f.length > 0) {
|
|
11339
|
+
writer.writeString(
|
|
11340
|
+
13,
|
|
11341
|
+
f
|
|
11342
|
+
);
|
|
11343
|
+
}
|
|
11344
|
+
f = message.getEnvironmentName();
|
|
11345
|
+
if (f.length > 0) {
|
|
11346
|
+
writer.writeString(
|
|
11347
|
+
14,
|
|
11348
|
+
f
|
|
11349
|
+
);
|
|
11350
|
+
}
|
|
11327
11351
|
};
|
|
11328
11352
|
|
|
11329
11353
|
|
|
@@ -11636,6 +11660,42 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearScanError
|
|
|
11636
11660
|
};
|
|
11637
11661
|
|
|
11638
11662
|
|
|
11663
|
+
/**
|
|
11664
|
+
* optional string category = 13;
|
|
11665
|
+
* @return {string}
|
|
11666
|
+
*/
|
|
11667
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getCategory = function() {
|
|
11668
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
11669
|
+
};
|
|
11670
|
+
|
|
11671
|
+
|
|
11672
|
+
/**
|
|
11673
|
+
* @param {string} value
|
|
11674
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11675
|
+
*/
|
|
11676
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setCategory = function(value) {
|
|
11677
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
11678
|
+
};
|
|
11679
|
+
|
|
11680
|
+
|
|
11681
|
+
/**
|
|
11682
|
+
* optional string environment_name = 14;
|
|
11683
|
+
* @return {string}
|
|
11684
|
+
*/
|
|
11685
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getEnvironmentName = function() {
|
|
11686
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
11687
|
+
};
|
|
11688
|
+
|
|
11689
|
+
|
|
11690
|
+
/**
|
|
11691
|
+
* @param {string} value
|
|
11692
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11693
|
+
*/
|
|
11694
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setEnvironmentName = function(value) {
|
|
11695
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
11696
|
+
};
|
|
11697
|
+
|
|
11698
|
+
|
|
11639
11699
|
|
|
11640
11700
|
|
|
11641
11701
|
|