@lansweeper/discovery-cloud-proto 0.0.18 → 0.0.19

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,11 @@ 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
+
62
67
  serializeBinary(): Uint8Array;
63
68
  toObject(includeInstance?: boolean): CloudEntity.AsObject;
64
69
  static toObject(includeInstance: boolean, msg: CloudEntity): CloudEntity.AsObject;
@@ -87,6 +92,7 @@ export namespace CloudEntity {
87
92
  environmentName: string,
88
93
  publicCloudLinksList: Array<PublicCloudLink.AsObject>,
89
94
  cloudAssetId: string,
95
+ firstSeen?: google_protobuf_timestamp_pb.Timestamp.AsObject,
90
96
  }
91
97
  }
92
98
 
@@ -11105,7 +11105,8 @@ 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)
11109
11110
  };
11110
11111
 
11111
11112
  if (includeInstance) {
@@ -11209,6 +11210,11 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.deserializeBinaryFromRea
11209
11210
  var value = /** @type {string} */ (reader.readString());
11210
11211
  msg.setCloudAssetId(value);
11211
11212
  break;
11213
+ case 17:
11214
+ var value = new google_protobuf_timestamp_pb.Timestamp;
11215
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
11216
+ msg.setFirstSeen(value);
11217
+ break;
11212
11218
  default:
11213
11219
  reader.skipField();
11214
11220
  break;
@@ -11353,6 +11359,14 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.serializeBinaryToWriter
11353
11359
  f
11354
11360
  );
11355
11361
  }
11362
+ f = message.getFirstSeen();
11363
+ if (f != null) {
11364
+ writer.writeMessage(
11365
+ 17,
11366
+ f,
11367
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
11368
+ );
11369
+ }
11356
11370
  };
11357
11371
 
11358
11372
 
@@ -11757,6 +11771,43 @@ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setCloudAssetI
11757
11771
  };
11758
11772
 
11759
11773
 
11774
+ /**
11775
+ * optional google.protobuf.Timestamp first_seen = 17;
11776
+ * @return {?proto.google.protobuf.Timestamp}
11777
+ */
11778
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.getFirstSeen = function() {
11779
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
11780
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 17));
11781
+ };
11782
+
11783
+
11784
+ /**
11785
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
11786
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
11787
+ */
11788
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.setFirstSeen = function(value) {
11789
+ return jspb.Message.setWrapperField(this, 17, value);
11790
+ };
11791
+
11792
+
11793
+ /**
11794
+ * Clears the message field making it undefined.
11795
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity} returns this
11796
+ */
11797
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.clearFirstSeen = function() {
11798
+ return this.setFirstSeen(undefined);
11799
+ };
11800
+
11801
+
11802
+ /**
11803
+ * Returns whether this field is set.
11804
+ * @return {boolean}
11805
+ */
11806
+ proto.com.lansweeper.discovery.cloud.api.v1.CloudEntity.prototype.hasFirstSeen = function() {
11807
+ return jspb.Message.getField(this, 17) != null;
11808
+ };
11809
+
11810
+
11760
11811
 
11761
11812
 
11762
11813