@lansweeper/discovery-cloud-proto 0.0.18 → 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.
@@ -59,6 +59,15 @@ export class CloudEntity extends jspb.Message {
59
59
  getCloudAssetId(): string;
60
60
  setCloudAssetId(value: string): CloudEntity;
61
61
 
62
+ hasFirstSeen(): boolean;
63
+ clearFirstSeen(): void;
64
+ getFirstSeen(): google_protobuf_timestamp_pb.Timestamp | undefined;
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;
70
+
62
71
  serializeBinary(): Uint8Array;
63
72
  toObject(includeInstance?: boolean): CloudEntity.AsObject;
64
73
  static toObject(includeInstance: boolean, msg: CloudEntity): CloudEntity.AsObject;
@@ -87,6 +96,8 @@ export namespace CloudEntity {
87
96
  environmentName: string,
88
97
  publicCloudLinksList: Array<PublicCloudLink.AsObject>,
89
98
  cloudAssetId: string,
99
+ firstSeen?: google_protobuf_timestamp_pb.Timestamp.AsObject,
100
+ tagsList: Array<CloudockitTag.AsObject>,
90
101
  }
91
102
  }
92
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
 
@@ -11105,7 +11105,10 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.toObject = function(incl
11105
11105
  environmentName: jspb.Message.getFieldWithDefault(msg, 14, ""),
11106
11106
  publicCloudLinksList: jspb.Message.toObjectList(msg.getPublicCloudLinksList(),
11107
11107
  proto.com.lansweeper.discovery.cloud.api.v1.PublicCloudLink.toObject, includeInstance),
11108
- cloudAssetId: jspb.Message.getFieldWithDefault(msg, 16, "")
11108
+ cloudAssetId: jspb.Message.getFieldWithDefault(msg, 16, ""),
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)
11109
11112
  };
11110
11113
 
11111
11114
  if (includeInstance) {
@@ -11209,6 +11212,16 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.deserializeBinaryFromRea
11209
11212
  var value = /** @type {string} */ (reader.readString());
11210
11213
  msg.setCloudAssetId(value);
11211
11214
  break;
11215
+ case 17:
11216
+ var value = new google_protobuf_timestamp_pb.Timestamp;
11217
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
11218
+ msg.setFirstSeen(value);
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;
11212
11225
  default:
11213
11226
  reader.skipField();
11214
11227
  break;
@@ -11353,6 +11366,22 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.serializeBinaryToWriter
11353
11366
  f
11354
11367
  );
11355
11368
  }
11369
+ f = message.getFirstSeen();
11370
+ if (f != null) {
11371
+ writer.writeMessage(
11372
+ 17,
11373
+ f,
11374
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
11375
+ );
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
+ }
11356
11385
  };
11357
11386
 
11358
11387
 
@@ -11757,6 +11786,81 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setCloudAssetI
11757
11786
  };
11758
11787
 
11759
11788
 
11789
+ /**
11790
+ * optional google.protobuf.Timestamp first_seen = 17;
11791
+ * @return {?proto.google.protobuf.Timestamp}
11792
+ */
11793
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getFirstSeen = function() {
11794
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
11795
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 17));
11796
+ };
11797
+
11798
+
11799
+ /**
11800
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
11801
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
11802
+ */
11803
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setFirstSeen = function(value) {
11804
+ return jspb.Message.setWrapperField(this, 17, value);
11805
+ };
11806
+
11807
+
11808
+ /**
11809
+ * Clears the message field making it undefined.
11810
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
11811
+ */
11812
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearFirstSeen = function() {
11813
+ return this.setFirstSeen(undefined);
11814
+ };
11815
+
11816
+
11817
+ /**
11818
+ * Returns whether this field is set.
11819
+ * @return {boolean}
11820
+ */
11821
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.hasFirstSeen = function() {
11822
+ return jspb.Message.getField(this, 17) != null;
11823
+ };
11824
+
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
+
11760
11864
 
11761
11865
 
11762
11866