@lansweeper/discovery-cloud-proto 0.0.22 → 0.0.23
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,8 @@ 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;
|
|
70
72
|
|
|
71
73
|
serializeBinary(): Uint8Array;
|
|
72
74
|
toObject(includeInstance?: boolean): CloudEntity.AsObject;
|
|
@@ -98,6 +100,7 @@ export namespace CloudEntity {
|
|
|
98
100
|
cloudAssetId: string,
|
|
99
101
|
firstSeen?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
100
102
|
tagsList: Array<CloudockitTag.AsObject>,
|
|
103
|
+
location: string,
|
|
101
104
|
}
|
|
102
105
|
}
|
|
103
106
|
|
|
@@ -11108,7 +11108,8 @@ 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, "")
|
|
11112
11113
|
};
|
|
11113
11114
|
|
|
11114
11115
|
if (includeInstance) {
|
|
@@ -11222,6 +11223,10 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.deserializeBinaryFromRea
|
|
|
11222
11223
|
reader.readMessage(value,proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag.deserializeBinaryFromReader);
|
|
11223
11224
|
msg.addTags(value);
|
|
11224
11225
|
break;
|
|
11226
|
+
case 19:
|
|
11227
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11228
|
+
msg.setLocation(value);
|
|
11229
|
+
break;
|
|
11225
11230
|
default:
|
|
11226
11231
|
reader.skipField();
|
|
11227
11232
|
break;
|
|
@@ -11382,6 +11387,13 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.serializeBinaryToWriter
|
|
|
11382
11387
|
proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag.serializeBinaryToWriter
|
|
11383
11388
|
);
|
|
11384
11389
|
}
|
|
11390
|
+
f = message.getLocation();
|
|
11391
|
+
if (f.length > 0) {
|
|
11392
|
+
writer.writeString(
|
|
11393
|
+
19,
|
|
11394
|
+
f
|
|
11395
|
+
);
|
|
11396
|
+
}
|
|
11385
11397
|
};
|
|
11386
11398
|
|
|
11387
11399
|
|
|
@@ -11861,6 +11873,24 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearTagsList
|
|
|
11861
11873
|
};
|
|
11862
11874
|
|
|
11863
11875
|
|
|
11876
|
+
/**
|
|
11877
|
+
* optional string location = 19;
|
|
11878
|
+
* @return {string}
|
|
11879
|
+
*/
|
|
11880
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getLocation = function() {
|
|
11881
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
11882
|
+
};
|
|
11883
|
+
|
|
11884
|
+
|
|
11885
|
+
/**
|
|
11886
|
+
* @param {string} value
|
|
11887
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11888
|
+
*/
|
|
11889
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setLocation = function(value) {
|
|
11890
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
11891
|
+
};
|
|
11892
|
+
|
|
11893
|
+
|
|
11864
11894
|
|
|
11865
11895
|
|
|
11866
11896
|
|