@lansweeper/discovery-cloud-proto 0.0.19 → 0.0.20
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.
|
@@ -63,6 +63,10 @@ export class CloudEntity extends jspb.Message {
|
|
|
63
63
|
clearFirstSeen(): void;
|
|
64
64
|
getFirstSeen(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
65
65
|
setFirstSeen(value?: google_protobuf_timestamp_pb.Timestamp): CloudEntity;
|
|
66
|
+
clearTagsList(): void;
|
|
67
|
+
getTagsList(): Array<CloudockitTag>;
|
|
68
|
+
setTagsList(value: Array<CloudockitTag>): CloudEntity;
|
|
69
|
+
addTags(value?: CloudockitTag, index?: number): CloudockitTag;
|
|
66
70
|
|
|
67
71
|
serializeBinary(): Uint8Array;
|
|
68
72
|
toObject(includeInstance?: boolean): CloudEntity.AsObject;
|
|
@@ -93,6 +97,7 @@ export namespace CloudEntity {
|
|
|
93
97
|
publicCloudLinksList: Array<PublicCloudLink.AsObject>,
|
|
94
98
|
cloudAssetId: string,
|
|
95
99
|
firstSeen?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
100
|
+
tagsList: Array<CloudockitTag.AsObject>,
|
|
96
101
|
}
|
|
97
102
|
}
|
|
98
103
|
|
|
@@ -11055,7 +11055,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
11055
11055
|
* @private {!Array<number>}
|
|
11056
11056
|
* @const
|
|
11057
11057
|
*/
|
|
11058
|
-
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.repeatedFields_ = [12,15];
|
|
11058
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.repeatedFields_ = [12,15,18];
|
|
11059
11059
|
|
|
11060
11060
|
|
|
11061
11061
|
|
|
@@ -11106,7 +11106,9 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.toObject = function(incl
|
|
|
11106
11106
|
publicCloudLinksList: jspb.Message.toObjectList(msg.getPublicCloudLinksList(),
|
|
11107
11107
|
proto.com.lansweeper.discovery.cloud.api.v1.PublicCloudLink.toObject, includeInstance),
|
|
11108
11108
|
cloudAssetId: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
11109
|
-
firstSeen: (f = msg.getFirstSeen()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
11109
|
+
firstSeen: (f = msg.getFirstSeen()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
11110
|
+
tagsList: jspb.Message.toObjectList(msg.getTagsList(),
|
|
11111
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag.toObject, includeInstance)
|
|
11110
11112
|
};
|
|
11111
11113
|
|
|
11112
11114
|
if (includeInstance) {
|
|
@@ -11215,6 +11217,11 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.deserializeBinaryFromRea
|
|
|
11215
11217
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
11216
11218
|
msg.setFirstSeen(value);
|
|
11217
11219
|
break;
|
|
11220
|
+
case 18:
|
|
11221
|
+
var value = new proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag;
|
|
11222
|
+
reader.readMessage(value,proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag.deserializeBinaryFromReader);
|
|
11223
|
+
msg.addTags(value);
|
|
11224
|
+
break;
|
|
11218
11225
|
default:
|
|
11219
11226
|
reader.skipField();
|
|
11220
11227
|
break;
|
|
@@ -11367,6 +11374,14 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.serializeBinaryToWriter
|
|
|
11367
11374
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
11368
11375
|
);
|
|
11369
11376
|
}
|
|
11377
|
+
f = message.getTagsList();
|
|
11378
|
+
if (f.length > 0) {
|
|
11379
|
+
writer.writeRepeatedMessage(
|
|
11380
|
+
18,
|
|
11381
|
+
f,
|
|
11382
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag.serializeBinaryToWriter
|
|
11383
|
+
);
|
|
11384
|
+
}
|
|
11370
11385
|
};
|
|
11371
11386
|
|
|
11372
11387
|
|
|
@@ -11808,6 +11823,44 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.hasFirstSeen =
|
|
|
11808
11823
|
};
|
|
11809
11824
|
|
|
11810
11825
|
|
|
11826
|
+
/**
|
|
11827
|
+
* repeated CloudockitTag tags = 18;
|
|
11828
|
+
* @return {!Array<!proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag>}
|
|
11829
|
+
*/
|
|
11830
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getTagsList = function() {
|
|
11831
|
+
return /** @type{!Array<!proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag>} */ (
|
|
11832
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag, 18));
|
|
11833
|
+
};
|
|
11834
|
+
|
|
11835
|
+
|
|
11836
|
+
/**
|
|
11837
|
+
* @param {!Array<!proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag>} value
|
|
11838
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11839
|
+
*/
|
|
11840
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setTagsList = function(value) {
|
|
11841
|
+
return jspb.Message.setRepeatedWrapperField(this, 18, value);
|
|
11842
|
+
};
|
|
11843
|
+
|
|
11844
|
+
|
|
11845
|
+
/**
|
|
11846
|
+
* @param {!proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag=} opt_value
|
|
11847
|
+
* @param {number=} opt_index
|
|
11848
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag}
|
|
11849
|
+
*/
|
|
11850
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.addTags = function(opt_value, opt_index) {
|
|
11851
|
+
return jspb.Message.addToRepeatedWrapperField(this, 18, opt_value, proto.com.lansweeper.discovery.cloud.api.v1.CloudockitTag, opt_index);
|
|
11852
|
+
};
|
|
11853
|
+
|
|
11854
|
+
|
|
11855
|
+
/**
|
|
11856
|
+
* Clears the list making it empty but non-null.
|
|
11857
|
+
* @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
|
|
11858
|
+
*/
|
|
11859
|
+
proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearTagsList = function() {
|
|
11860
|
+
return this.setTagsList([]);
|
|
11861
|
+
};
|
|
11862
|
+
|
|
11863
|
+
|
|
11811
11864
|
|
|
11812
11865
|
|
|
11813
11866
|
|