@lansweeper/discovery-cloud-proto 0.0.22 → 0.0.24
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.
|
@@ -67,6 +67,12 @@ export class CloudEntity extends jspb.Message {
|
|
|
67
67
|
getTagsList(): Array<CloudockitTag>;
|
|
68
68
|
setTagsList(value: Array<CloudockitTag>): CloudEntity;
|
|
69
69
|
addTags(value?: CloudockitTag, index?: number): CloudockitTag;
|
|
70
|
+
getLocation(): string;
|
|
71
|
+
setLocation(value: string): CloudEntity;
|
|
72
|
+
getTenantId(): string;
|
|
73
|
+
setTenantId(value: string): CloudEntity;
|
|
74
|
+
getTenantName(): string;
|
|
75
|
+
setTenantName(value: string): CloudEntity;
|
|
70
76
|
|
|
71
77
|
serializeBinary(): Uint8Array;
|
|
72
78
|
toObject(includeInstance?: boolean): CloudEntity.AsObject;
|
|
@@ -98,6 +104,9 @@ export namespace CloudEntity {
|
|
|
98
104
|
cloudAssetId: string,
|
|
99
105
|
firstSeen?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
100
106
|
tagsList: Array<CloudockitTag.AsObject>,
|
|
107
|
+
location: string,
|
|
108
|
+
tenantId: string,
|
|
109
|
+
tenantName: string,
|
|
101
110
|
}
|
|
102
111
|
}
|
|
103
112
|
|
|
@@ -11108,7 +11108,10 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.toObject = function(incl
|
|
|
11108
11108
|
cloudAssetId: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
11109
11109
|
firstSeen: (f = msg.getFirstSeen()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
11110
11110
|
tagsList: jspb.Message.toObjectList(msg.getTagsList(),
|
|
11111
|
-
proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag.toObject, includeInstance)
|
|
11111
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag.toObject, includeInstance),
|
|
11112
|
+
location: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
11113
|
+
tenantId: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
11114
|
+
tenantName: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
11112
11115
|
};
|
|
11113
11116
|
|
|
11114
11117
|
if (includeInstance) {
|
|
@@ -11222,6 +11225,18 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.deserializeBinaryFromRea
|
|
|
11222
11225
|
reader.readMessage(value,proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag.deserializeBinaryFromReader);
|
|
11223
11226
|
msg.addTags(value);
|
|
11224
11227
|
break;
|
|
11228
|
+
case 19:
|
|
11229
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11230
|
+
msg.setLocation(value);
|
|
11231
|
+
break;
|
|
11232
|
+
case 20:
|
|
11233
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11234
|
+
msg.setTenantId(value);
|
|
11235
|
+
break;
|
|
11236
|
+
case 21:
|
|
11237
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11238
|
+
msg.setTenantName(value);
|
|
11239
|
+
break;
|
|
11225
11240
|
default:
|
|
11226
11241
|
reader.skipField();
|
|
11227
11242
|
break;
|
|
@@ -11382,6 +11397,27 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.serializeBinaryToWriter
|
|
|
11382
11397
|
proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag.serializeBinaryToWriter
|
|
11383
11398
|
);
|
|
11384
11399
|
}
|
|
11400
|
+
f = message.getLocation();
|
|
11401
|
+
if (f.length > 0) {
|
|
11402
|
+
writer.writeString(
|
|
11403
|
+
19,
|
|
11404
|
+
f
|
|
11405
|
+
);
|
|
11406
|
+
}
|
|
11407
|
+
f = message.getTenantId();
|
|
11408
|
+
if (f.length > 0) {
|
|
11409
|
+
writer.writeString(
|
|
11410
|
+
20,
|
|
11411
|
+
f
|
|
11412
|
+
);
|
|
11413
|
+
}
|
|
11414
|
+
f = message.getTenantName();
|
|
11415
|
+
if (f.length > 0) {
|
|
11416
|
+
writer.writeString(
|
|
11417
|
+
21,
|
|
11418
|
+
f
|
|
11419
|
+
);
|
|
11420
|
+
}
|
|
11385
11421
|
};
|
|
11386
11422
|
|
|
11387
11423
|
|
|
@@ -11861,6 +11897,60 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearTagsList
|
|
|
11861
11897
|
};
|
|
11862
11898
|
|
|
11863
11899
|
|
|
11900
|
+
/**
|
|
11901
|
+
* optional string location = 19;
|
|
11902
|
+
* @return {string}
|
|
11903
|
+
*/
|
|
11904
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getLocation = function() {
|
|
11905
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
11906
|
+
};
|
|
11907
|
+
|
|
11908
|
+
|
|
11909
|
+
/**
|
|
11910
|
+
* @param {string} value
|
|
11911
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11912
|
+
*/
|
|
11913
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setLocation = function(value) {
|
|
11914
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
11915
|
+
};
|
|
11916
|
+
|
|
11917
|
+
|
|
11918
|
+
/**
|
|
11919
|
+
* optional string tenant_id = 20;
|
|
11920
|
+
* @return {string}
|
|
11921
|
+
*/
|
|
11922
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getTenantId = function() {
|
|
11923
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
11924
|
+
};
|
|
11925
|
+
|
|
11926
|
+
|
|
11927
|
+
/**
|
|
11928
|
+
* @param {string} value
|
|
11929
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11930
|
+
*/
|
|
11931
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setTenantId = function(value) {
|
|
11932
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
11933
|
+
};
|
|
11934
|
+
|
|
11935
|
+
|
|
11936
|
+
/**
|
|
11937
|
+
* optional string tenant_name = 21;
|
|
11938
|
+
* @return {string}
|
|
11939
|
+
*/
|
|
11940
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getTenantName = function() {
|
|
11941
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
11942
|
+
};
|
|
11943
|
+
|
|
11944
|
+
|
|
11945
|
+
/**
|
|
11946
|
+
* @param {string} value
|
|
11947
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11948
|
+
*/
|
|
11949
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setTenantName = function(value) {
|
|
11950
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
11951
|
+
};
|
|
11952
|
+
|
|
11953
|
+
|
|
11864
11954
|
|
|
11865
11955
|
|
|
11866
11956
|
|