@lansweeper/discovery-cloud-proto 0.0.38 → 0.0.40

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.
@@ -274,6 +274,11 @@ export class GetNextEnvironmentToScanResponse extends jspb.Message {
274
274
  getScanInput(): ScanInput | undefined;
275
275
  setScanInput(value?: ScanInput): GetNextEnvironmentToScanResponse;
276
276
 
277
+ hasFirstScan(): boolean;
278
+ clearFirstScan(): void;
279
+ getFirstScan(): boolean | undefined;
280
+ setFirstScan(value: boolean): GetNextEnvironmentToScanResponse;
281
+
277
282
  serializeBinary(): Uint8Array;
278
283
  toObject(includeInstance?: boolean): GetNextEnvironmentToScanResponse.AsObject;
279
284
  static toObject(includeInstance: boolean, msg: GetNextEnvironmentToScanResponse): GetNextEnvironmentToScanResponse.AsObject;
@@ -288,6 +293,7 @@ export namespace GetNextEnvironmentToScanResponse {
288
293
  export type AsObject = {
289
294
  hasScan: boolean,
290
295
  scanInput?: ScanInput.AsObject,
296
+ firstScan?: boolean,
291
297
  }
292
298
  }
293
299
 
@@ -15727,7 +15727,8 @@ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.pro
15727
15727
  proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.toObject = function(includeInstance, msg) {
15728
15728
  var f, obj = {
15729
15729
  hasScan: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
15730
- scanInput: (f = msg.getScanInput()) && proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.toObject(includeInstance, f)
15730
+ scanInput: (f = msg.getScanInput()) && proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.toObject(includeInstance, f),
15731
+ firstScan: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
15731
15732
  };
15732
15733
 
15733
15734
  if (includeInstance) {
@@ -15773,6 +15774,10 @@ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.des
15773
15774
  reader.readMessage(value,proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.deserializeBinaryFromReader);
15774
15775
  msg.setScanInput(value);
15775
15776
  break;
15777
+ case 3:
15778
+ var value = /** @type {boolean} */ (reader.readBool());
15779
+ msg.setFirstScan(value);
15780
+ break;
15776
15781
  default:
15777
15782
  reader.skipField();
15778
15783
  break;
@@ -15817,6 +15822,13 @@ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.ser
15817
15822
  proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.serializeBinaryToWriter
15818
15823
  );
15819
15824
  }
15825
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
15826
+ if (f != null) {
15827
+ writer.writeBool(
15828
+ 3,
15829
+ f
15830
+ );
15831
+ }
15820
15832
  };
15821
15833
 
15822
15834
 
@@ -15875,6 +15887,42 @@ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.pro
15875
15887
  };
15876
15888
 
15877
15889
 
15890
+ /**
15891
+ * optional bool first_scan = 3;
15892
+ * @return {boolean}
15893
+ */
15894
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.prototype.getFirstScan = function() {
15895
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
15896
+ };
15897
+
15898
+
15899
+ /**
15900
+ * @param {boolean} value
15901
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse} returns this
15902
+ */
15903
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.prototype.setFirstScan = function(value) {
15904
+ return jspb.Message.setField(this, 3, value);
15905
+ };
15906
+
15907
+
15908
+ /**
15909
+ * Clears the field making it undefined.
15910
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse} returns this
15911
+ */
15912
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.prototype.clearFirstScan = function() {
15913
+ return jspb.Message.setField(this, 3, undefined);
15914
+ };
15915
+
15916
+
15917
+ /**
15918
+ * Returns whether this field is set.
15919
+ * @return {boolean}
15920
+ */
15921
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.prototype.hasFirstScan = function() {
15922
+ return jspb.Message.getField(this, 3) != null;
15923
+ };
15924
+
15925
+
15878
15926
 
15879
15927
  /**
15880
15928
  * List of repeated fields within this message type.