@lansweeper/discovery-cloud-proto 0.0.32 → 0.0.34

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.
@@ -619,6 +619,8 @@ goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.GCPVMInstance', n
619
619
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.GcpExternalIpAddress', null, global);
620
620
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.GcpIamBindingMember', null, global);
621
621
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.GcpLoadBalancingTargetPool', null, global);
622
+ goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest', null, global);
623
+ goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse', null, global);
622
624
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.KafkaBrokerNodeInfo', null, global);
623
625
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.KubernetesContainer', null, global);
624
626
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.KubernetesEndpointSubset', null, global);
@@ -632,6 +634,8 @@ goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.PublicCloudLink',
632
634
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.ResourceBilling', null, global);
633
635
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.Route53RecordSet', null, global);
634
636
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.ScanError', null, global);
637
+ goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.ScanInput', null, global);
638
+ goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.ScanType', null, global);
635
639
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.ServiceAccount', null, global);
636
640
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.SessionHostHealthCheck', null, global);
637
641
  goog.exportSymbol('proto.com.lansweeper.discovery.cloud.api.v1.SessionHostHealthStatus', null, global);
@@ -699,6 +703,69 @@ if (goog.DEBUG && !COMPILED) {
699
703
  */
700
704
  proto.com.lansweeper.discovery.cloud.api.v1.ScanError.displayName = 'proto.com.lansweeper.discovery.cloud.api.v1.ScanError';
701
705
  }
706
+ /**
707
+ * Generated by JsPbCodeGenerator.
708
+ * @param {Array=} opt_data Optional initial data array, typically from a
709
+ * server response, or constructed directly in Javascript. The array is used
710
+ * in place and becomes part of the constructed object. It is not cloned.
711
+ * If no data is provided, the constructed object will be empty, but still
712
+ * valid.
713
+ * @extends {jspb.Message}
714
+ * @constructor
715
+ */
716
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput = function(opt_data) {
717
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
718
+ };
719
+ goog.inherits(proto.com.lansweeper.discovery.cloud.api.v1.ScanInput, jspb.Message);
720
+ if (goog.DEBUG && !COMPILED) {
721
+ /**
722
+ * @public
723
+ * @override
724
+ */
725
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.displayName = 'proto.com.lansweeper.discovery.cloud.api.v1.ScanInput';
726
+ }
727
+ /**
728
+ * Generated by JsPbCodeGenerator.
729
+ * @param {Array=} opt_data Optional initial data array, typically from a
730
+ * server response, or constructed directly in Javascript. The array is used
731
+ * in place and becomes part of the constructed object. It is not cloned.
732
+ * If no data is provided, the constructed object will be empty, but still
733
+ * valid.
734
+ * @extends {jspb.Message}
735
+ * @constructor
736
+ */
737
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest = function(opt_data) {
738
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
739
+ };
740
+ goog.inherits(proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest, jspb.Message);
741
+ if (goog.DEBUG && !COMPILED) {
742
+ /**
743
+ * @public
744
+ * @override
745
+ */
746
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest.displayName = 'proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest';
747
+ }
748
+ /**
749
+ * Generated by JsPbCodeGenerator.
750
+ * @param {Array=} opt_data Optional initial data array, typically from a
751
+ * server response, or constructed directly in Javascript. The array is used
752
+ * in place and becomes part of the constructed object. It is not cloned.
753
+ * If no data is provided, the constructed object will be empty, but still
754
+ * valid.
755
+ * @extends {jspb.Message}
756
+ * @constructor
757
+ */
758
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse = function(opt_data) {
759
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
760
+ };
761
+ goog.inherits(proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse, jspb.Message);
762
+ if (goog.DEBUG && !COMPILED) {
763
+ /**
764
+ * @public
765
+ * @override
766
+ */
767
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.displayName = 'proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse';
768
+ }
702
769
  /**
703
770
  * Generated by JsPbCodeGenerator.
704
771
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -15017,6 +15084,688 @@ proto.com.lansweeper.discovery.cloud.api.v1.ScanError.prototype.hasDuration = fu
15017
15084
 
15018
15085
 
15019
15086
 
15087
+
15088
+
15089
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15090
+ /**
15091
+ * Creates an object representation of this proto.
15092
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15093
+ * Optional fields that are not set will be set to undefined.
15094
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15095
+ * For the list of reserved names please see:
15096
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15097
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15098
+ * JSPB instance for transitional soy proto support:
15099
+ * http://goto/soy-param-migration
15100
+ * @return {!Object}
15101
+ */
15102
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.toObject = function(opt_includeInstance) {
15103
+ return proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.toObject(opt_includeInstance, this);
15104
+ };
15105
+
15106
+
15107
+ /**
15108
+ * Static version of the {@see toObject} method.
15109
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15110
+ * the JSPB instance for transitional soy proto support:
15111
+ * http://goto/soy-param-migration
15112
+ * @param {!proto.com.lansweeper.discovery.cloud.api.v1.ScanInput} msg The msg instance to transform.
15113
+ * @return {!Object}
15114
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15115
+ */
15116
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.toObject = function(includeInstance, msg) {
15117
+ var f, obj = {
15118
+ clientKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
15119
+ installKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
15120
+ scanType: jspb.Message.getFieldWithDefault(msg, 3, 0),
15121
+ settings: jspb.Message.getFieldWithDefault(msg, 4, ""),
15122
+ scanningTargetId: jspb.Message.getFieldWithDefault(msg, 5, ""),
15123
+ scanAttemptsNb: jspb.Message.getFieldWithDefault(msg, 6, 0),
15124
+ executionId: jspb.Message.getFieldWithDefault(msg, 7, ""),
15125
+ traceId: jspb.Message.getFieldWithDefault(msg, 8, ""),
15126
+ spanId: jspb.Message.getFieldWithDefault(msg, 9, ""),
15127
+ queuedTime: jspb.Message.getFieldWithDefault(msg, 10, 0)
15128
+ };
15129
+
15130
+ if (includeInstance) {
15131
+ obj.$jspbMessageInstance = msg;
15132
+ }
15133
+ return obj;
15134
+ };
15135
+ }
15136
+
15137
+
15138
+ /**
15139
+ * Deserializes binary data (in protobuf wire format).
15140
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15141
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.ScanInput}
15142
+ */
15143
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.deserializeBinary = function(bytes) {
15144
+ var reader = new jspb.BinaryReader(bytes);
15145
+ var msg = new proto.com.lansweeper.discovery.cloud.api.v1.ScanInput;
15146
+ return proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.deserializeBinaryFromReader(msg, reader);
15147
+ };
15148
+
15149
+
15150
+ /**
15151
+ * Deserializes binary data (in protobuf wire format) from the
15152
+ * given reader into the given message object.
15153
+ * @param {!proto.com.lansweeper.discovery.cloud.api.v1.ScanInput} msg The message object to deserialize into.
15154
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15155
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.ScanInput}
15156
+ */
15157
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.deserializeBinaryFromReader = function(msg, reader) {
15158
+ while (reader.nextField()) {
15159
+ if (reader.isEndGroup()) {
15160
+ break;
15161
+ }
15162
+ var field = reader.getFieldNumber();
15163
+ switch (field) {
15164
+ case 1:
15165
+ var value = /** @type {string} */ (reader.readString());
15166
+ msg.setClientKey(value);
15167
+ break;
15168
+ case 2:
15169
+ var value = /** @type {string} */ (reader.readString());
15170
+ msg.setInstallKey(value);
15171
+ break;
15172
+ case 3:
15173
+ var value = /** @type {!proto.com.lansweeper.discovery.cloud.api.v1.ScanType} */ (reader.readEnum());
15174
+ msg.setScanType(value);
15175
+ break;
15176
+ case 4:
15177
+ var value = /** @type {string} */ (reader.readString());
15178
+ msg.setSettings(value);
15179
+ break;
15180
+ case 5:
15181
+ var value = /** @type {string} */ (reader.readString());
15182
+ msg.setScanningTargetId(value);
15183
+ break;
15184
+ case 6:
15185
+ var value = /** @type {number} */ (reader.readInt32());
15186
+ msg.setScanAttemptsNb(value);
15187
+ break;
15188
+ case 7:
15189
+ var value = /** @type {string} */ (reader.readString());
15190
+ msg.setExecutionId(value);
15191
+ break;
15192
+ case 8:
15193
+ var value = /** @type {string} */ (reader.readString());
15194
+ msg.setTraceId(value);
15195
+ break;
15196
+ case 9:
15197
+ var value = /** @type {string} */ (reader.readString());
15198
+ msg.setSpanId(value);
15199
+ break;
15200
+ case 10:
15201
+ var value = /** @type {number} */ (reader.readInt64());
15202
+ msg.setQueuedTime(value);
15203
+ break;
15204
+ default:
15205
+ reader.skipField();
15206
+ break;
15207
+ }
15208
+ }
15209
+ return msg;
15210
+ };
15211
+
15212
+
15213
+ /**
15214
+ * Serializes the message to binary data (in protobuf wire format).
15215
+ * @return {!Uint8Array}
15216
+ */
15217
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.serializeBinary = function() {
15218
+ var writer = new jspb.BinaryWriter();
15219
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.serializeBinaryToWriter(this, writer);
15220
+ return writer.getResultBuffer();
15221
+ };
15222
+
15223
+
15224
+ /**
15225
+ * Serializes the given message to binary data (in protobuf wire
15226
+ * format), writing to the given BinaryWriter.
15227
+ * @param {!proto.com.lansweeper.discovery.cloud.api.v1.ScanInput} message
15228
+ * @param {!jspb.BinaryWriter} writer
15229
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15230
+ */
15231
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.serializeBinaryToWriter = function(message, writer) {
15232
+ var f = undefined;
15233
+ f = message.getClientKey();
15234
+ if (f.length > 0) {
15235
+ writer.writeString(
15236
+ 1,
15237
+ f
15238
+ );
15239
+ }
15240
+ f = message.getInstallKey();
15241
+ if (f.length > 0) {
15242
+ writer.writeString(
15243
+ 2,
15244
+ f
15245
+ );
15246
+ }
15247
+ f = message.getScanType();
15248
+ if (f !== 0.0) {
15249
+ writer.writeEnum(
15250
+ 3,
15251
+ f
15252
+ );
15253
+ }
15254
+ f = message.getSettings();
15255
+ if (f.length > 0) {
15256
+ writer.writeString(
15257
+ 4,
15258
+ f
15259
+ );
15260
+ }
15261
+ f = message.getScanningTargetId();
15262
+ if (f.length > 0) {
15263
+ writer.writeString(
15264
+ 5,
15265
+ f
15266
+ );
15267
+ }
15268
+ f = message.getScanAttemptsNb();
15269
+ if (f !== 0) {
15270
+ writer.writeInt32(
15271
+ 6,
15272
+ f
15273
+ );
15274
+ }
15275
+ f = message.getExecutionId();
15276
+ if (f.length > 0) {
15277
+ writer.writeString(
15278
+ 7,
15279
+ f
15280
+ );
15281
+ }
15282
+ f = message.getTraceId();
15283
+ if (f.length > 0) {
15284
+ writer.writeString(
15285
+ 8,
15286
+ f
15287
+ );
15288
+ }
15289
+ f = message.getSpanId();
15290
+ if (f.length > 0) {
15291
+ writer.writeString(
15292
+ 9,
15293
+ f
15294
+ );
15295
+ }
15296
+ f = message.getQueuedTime();
15297
+ if (f !== 0) {
15298
+ writer.writeInt64(
15299
+ 10,
15300
+ f
15301
+ );
15302
+ }
15303
+ };
15304
+
15305
+
15306
+ /**
15307
+ * optional string client_key = 1;
15308
+ * @return {string}
15309
+ */
15310
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.getClientKey = function() {
15311
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
15312
+ };
15313
+
15314
+
15315
+ /**
15316
+ * @param {string} value
15317
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.ScanInput} returns this
15318
+ */
15319
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.setClientKey = function(value) {
15320
+ return jspb.Message.setProto3StringField(this, 1, value);
15321
+ };
15322
+
15323
+
15324
+ /**
15325
+ * optional string install_key = 2;
15326
+ * @return {string}
15327
+ */
15328
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.getInstallKey = function() {
15329
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
15330
+ };
15331
+
15332
+
15333
+ /**
15334
+ * @param {string} value
15335
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.ScanInput} returns this
15336
+ */
15337
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.setInstallKey = function(value) {
15338
+ return jspb.Message.setProto3StringField(this, 2, value);
15339
+ };
15340
+
15341
+
15342
+ /**
15343
+ * optional ScanType scan_type = 3;
15344
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.ScanType}
15345
+ */
15346
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.getScanType = function() {
15347
+ return /** @type {!proto.com.lansweeper.discovery.cloud.api.v1.ScanType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
15348
+ };
15349
+
15350
+
15351
+ /**
15352
+ * @param {!proto.com.lansweeper.discovery.cloud.api.v1.ScanType} value
15353
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.ScanInput} returns this
15354
+ */
15355
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.setScanType = function(value) {
15356
+ return jspb.Message.setProto3EnumField(this, 3, value);
15357
+ };
15358
+
15359
+
15360
+ /**
15361
+ * optional string settings = 4;
15362
+ * @return {string}
15363
+ */
15364
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.getSettings = function() {
15365
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
15366
+ };
15367
+
15368
+
15369
+ /**
15370
+ * @param {string} value
15371
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.ScanInput} returns this
15372
+ */
15373
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.setSettings = function(value) {
15374
+ return jspb.Message.setProto3StringField(this, 4, value);
15375
+ };
15376
+
15377
+
15378
+ /**
15379
+ * optional string scanning_target_id = 5;
15380
+ * @return {string}
15381
+ */
15382
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.getScanningTargetId = function() {
15383
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
15384
+ };
15385
+
15386
+
15387
+ /**
15388
+ * @param {string} value
15389
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.ScanInput} returns this
15390
+ */
15391
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.setScanningTargetId = function(value) {
15392
+ return jspb.Message.setProto3StringField(this, 5, value);
15393
+ };
15394
+
15395
+
15396
+ /**
15397
+ * optional int32 scan_attempts_nb = 6;
15398
+ * @return {number}
15399
+ */
15400
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.getScanAttemptsNb = function() {
15401
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
15402
+ };
15403
+
15404
+
15405
+ /**
15406
+ * @param {number} value
15407
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.ScanInput} returns this
15408
+ */
15409
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.setScanAttemptsNb = function(value) {
15410
+ return jspb.Message.setProto3IntField(this, 6, value);
15411
+ };
15412
+
15413
+
15414
+ /**
15415
+ * optional string execution_id = 7;
15416
+ * @return {string}
15417
+ */
15418
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.getExecutionId = function() {
15419
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
15420
+ };
15421
+
15422
+
15423
+ /**
15424
+ * @param {string} value
15425
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.ScanInput} returns this
15426
+ */
15427
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.setExecutionId = function(value) {
15428
+ return jspb.Message.setProto3StringField(this, 7, value);
15429
+ };
15430
+
15431
+
15432
+ /**
15433
+ * optional string trace_id = 8;
15434
+ * @return {string}
15435
+ */
15436
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.getTraceId = function() {
15437
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
15438
+ };
15439
+
15440
+
15441
+ /**
15442
+ * @param {string} value
15443
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.ScanInput} returns this
15444
+ */
15445
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.setTraceId = function(value) {
15446
+ return jspb.Message.setProto3StringField(this, 8, value);
15447
+ };
15448
+
15449
+
15450
+ /**
15451
+ * optional string span_id = 9;
15452
+ * @return {string}
15453
+ */
15454
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.getSpanId = function() {
15455
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
15456
+ };
15457
+
15458
+
15459
+ /**
15460
+ * @param {string} value
15461
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.ScanInput} returns this
15462
+ */
15463
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.setSpanId = function(value) {
15464
+ return jspb.Message.setProto3StringField(this, 9, value);
15465
+ };
15466
+
15467
+
15468
+ /**
15469
+ * optional int64 queued_time = 10;
15470
+ * @return {number}
15471
+ */
15472
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.getQueuedTime = function() {
15473
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
15474
+ };
15475
+
15476
+
15477
+ /**
15478
+ * @param {number} value
15479
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.ScanInput} returns this
15480
+ */
15481
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.prototype.setQueuedTime = function(value) {
15482
+ return jspb.Message.setProto3IntField(this, 10, value);
15483
+ };
15484
+
15485
+
15486
+
15487
+
15488
+
15489
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15490
+ /**
15491
+ * Creates an object representation of this proto.
15492
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15493
+ * Optional fields that are not set will be set to undefined.
15494
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15495
+ * For the list of reserved names please see:
15496
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15497
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15498
+ * JSPB instance for transitional soy proto support:
15499
+ * http://goto/soy-param-migration
15500
+ * @return {!Object}
15501
+ */
15502
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest.prototype.toObject = function(opt_includeInstance) {
15503
+ return proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest.toObject(opt_includeInstance, this);
15504
+ };
15505
+
15506
+
15507
+ /**
15508
+ * Static version of the {@see toObject} method.
15509
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15510
+ * the JSPB instance for transitional soy proto support:
15511
+ * http://goto/soy-param-migration
15512
+ * @param {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest} msg The msg instance to transform.
15513
+ * @return {!Object}
15514
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15515
+ */
15516
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest.toObject = function(includeInstance, msg) {
15517
+ var f, obj = {
15518
+
15519
+ };
15520
+
15521
+ if (includeInstance) {
15522
+ obj.$jspbMessageInstance = msg;
15523
+ }
15524
+ return obj;
15525
+ };
15526
+ }
15527
+
15528
+
15529
+ /**
15530
+ * Deserializes binary data (in protobuf wire format).
15531
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15532
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest}
15533
+ */
15534
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest.deserializeBinary = function(bytes) {
15535
+ var reader = new jspb.BinaryReader(bytes);
15536
+ var msg = new proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest;
15537
+ return proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest.deserializeBinaryFromReader(msg, reader);
15538
+ };
15539
+
15540
+
15541
+ /**
15542
+ * Deserializes binary data (in protobuf wire format) from the
15543
+ * given reader into the given message object.
15544
+ * @param {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest} msg The message object to deserialize into.
15545
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15546
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest}
15547
+ */
15548
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest.deserializeBinaryFromReader = function(msg, reader) {
15549
+ while (reader.nextField()) {
15550
+ if (reader.isEndGroup()) {
15551
+ break;
15552
+ }
15553
+ var field = reader.getFieldNumber();
15554
+ switch (field) {
15555
+ default:
15556
+ reader.skipField();
15557
+ break;
15558
+ }
15559
+ }
15560
+ return msg;
15561
+ };
15562
+
15563
+
15564
+ /**
15565
+ * Serializes the message to binary data (in protobuf wire format).
15566
+ * @return {!Uint8Array}
15567
+ */
15568
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest.prototype.serializeBinary = function() {
15569
+ var writer = new jspb.BinaryWriter();
15570
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest.serializeBinaryToWriter(this, writer);
15571
+ return writer.getResultBuffer();
15572
+ };
15573
+
15574
+
15575
+ /**
15576
+ * Serializes the given message to binary data (in protobuf wire
15577
+ * format), writing to the given BinaryWriter.
15578
+ * @param {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest} message
15579
+ * @param {!jspb.BinaryWriter} writer
15580
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15581
+ */
15582
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanRequest.serializeBinaryToWriter = function(message, writer) {
15583
+ var f = undefined;
15584
+ };
15585
+
15586
+
15587
+
15588
+
15589
+
15590
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15591
+ /**
15592
+ * Creates an object representation of this proto.
15593
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15594
+ * Optional fields that are not set will be set to undefined.
15595
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15596
+ * For the list of reserved names please see:
15597
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15598
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15599
+ * JSPB instance for transitional soy proto support:
15600
+ * http://goto/soy-param-migration
15601
+ * @return {!Object}
15602
+ */
15603
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.prototype.toObject = function(opt_includeInstance) {
15604
+ return proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.toObject(opt_includeInstance, this);
15605
+ };
15606
+
15607
+
15608
+ /**
15609
+ * Static version of the {@see toObject} method.
15610
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15611
+ * the JSPB instance for transitional soy proto support:
15612
+ * http://goto/soy-param-migration
15613
+ * @param {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse} msg The msg instance to transform.
15614
+ * @return {!Object}
15615
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15616
+ */
15617
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.toObject = function(includeInstance, msg) {
15618
+ var f, obj = {
15619
+ hasScan: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
15620
+ scanInput: (f = msg.getScanInput()) && proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.toObject(includeInstance, f)
15621
+ };
15622
+
15623
+ if (includeInstance) {
15624
+ obj.$jspbMessageInstance = msg;
15625
+ }
15626
+ return obj;
15627
+ };
15628
+ }
15629
+
15630
+
15631
+ /**
15632
+ * Deserializes binary data (in protobuf wire format).
15633
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15634
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse}
15635
+ */
15636
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.deserializeBinary = function(bytes) {
15637
+ var reader = new jspb.BinaryReader(bytes);
15638
+ var msg = new proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse;
15639
+ return proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.deserializeBinaryFromReader(msg, reader);
15640
+ };
15641
+
15642
+
15643
+ /**
15644
+ * Deserializes binary data (in protobuf wire format) from the
15645
+ * given reader into the given message object.
15646
+ * @param {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse} msg The message object to deserialize into.
15647
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15648
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse}
15649
+ */
15650
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.deserializeBinaryFromReader = function(msg, reader) {
15651
+ while (reader.nextField()) {
15652
+ if (reader.isEndGroup()) {
15653
+ break;
15654
+ }
15655
+ var field = reader.getFieldNumber();
15656
+ switch (field) {
15657
+ case 1:
15658
+ var value = /** @type {boolean} */ (reader.readBool());
15659
+ msg.setHasScan(value);
15660
+ break;
15661
+ case 2:
15662
+ var value = new proto.com.lansweeper.discovery.cloud.api.v1.ScanInput;
15663
+ reader.readMessage(value,proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.deserializeBinaryFromReader);
15664
+ msg.setScanInput(value);
15665
+ break;
15666
+ default:
15667
+ reader.skipField();
15668
+ break;
15669
+ }
15670
+ }
15671
+ return msg;
15672
+ };
15673
+
15674
+
15675
+ /**
15676
+ * Serializes the message to binary data (in protobuf wire format).
15677
+ * @return {!Uint8Array}
15678
+ */
15679
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.prototype.serializeBinary = function() {
15680
+ var writer = new jspb.BinaryWriter();
15681
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.serializeBinaryToWriter(this, writer);
15682
+ return writer.getResultBuffer();
15683
+ };
15684
+
15685
+
15686
+ /**
15687
+ * Serializes the given message to binary data (in protobuf wire
15688
+ * format), writing to the given BinaryWriter.
15689
+ * @param {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse} message
15690
+ * @param {!jspb.BinaryWriter} writer
15691
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15692
+ */
15693
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.serializeBinaryToWriter = function(message, writer) {
15694
+ var f = undefined;
15695
+ f = message.getHasScan();
15696
+ if (f) {
15697
+ writer.writeBool(
15698
+ 1,
15699
+ f
15700
+ );
15701
+ }
15702
+ f = message.getScanInput();
15703
+ if (f != null) {
15704
+ writer.writeMessage(
15705
+ 2,
15706
+ f,
15707
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanInput.serializeBinaryToWriter
15708
+ );
15709
+ }
15710
+ };
15711
+
15712
+
15713
+ /**
15714
+ * optional bool has_scan = 1;
15715
+ * @return {boolean}
15716
+ */
15717
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.prototype.getHasScan = function() {
15718
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
15719
+ };
15720
+
15721
+
15722
+ /**
15723
+ * @param {boolean} value
15724
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse} returns this
15725
+ */
15726
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.prototype.setHasScan = function(value) {
15727
+ return jspb.Message.setProto3BooleanField(this, 1, value);
15728
+ };
15729
+
15730
+
15731
+ /**
15732
+ * optional ScanInput scan_input = 2;
15733
+ * @return {?proto.com.lansweeper.discovery.cloud.api.v1.ScanInput}
15734
+ */
15735
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.prototype.getScanInput = function() {
15736
+ return /** @type{?proto.com.lansweeper.discovery.cloud.api.v1.ScanInput} */ (
15737
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.discovery.cloud.api.v1.ScanInput, 2));
15738
+ };
15739
+
15740
+
15741
+ /**
15742
+ * @param {?proto.com.lansweeper.discovery.cloud.api.v1.ScanInput|undefined} value
15743
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse} returns this
15744
+ */
15745
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.prototype.setScanInput = function(value) {
15746
+ return jspb.Message.setWrapperField(this, 2, value);
15747
+ };
15748
+
15749
+
15750
+ /**
15751
+ * Clears the message field making it undefined.
15752
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse} returns this
15753
+ */
15754
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.prototype.clearScanInput = function() {
15755
+ return this.setScanInput(undefined);
15756
+ };
15757
+
15758
+
15759
+ /**
15760
+ * Returns whether this field is set.
15761
+ * @return {boolean}
15762
+ */
15763
+ proto.com.lansweeper.discovery.cloud.api.v1.GetNextEnvironmentToScanResponse.prototype.hasScanInput = function() {
15764
+ return jspb.Message.getField(this, 2) != null;
15765
+ };
15766
+
15767
+
15768
+
15020
15769
  /**
15021
15770
  * List of repeated fields within this message type.
15022
15771
  * @private {!Array<number>}
@@ -283362,7 +284111,8 @@ proto.com.lansweeper.discovery.cloud.api.v1.AmazonVolume.toObject = function(inc
283362
284111
  differencesList: jspb.Message.toObjectList(msg.getDifferencesList(),
283363
284112
  proto.com.lansweeper.discovery.cloud.api.v1.StandardObjectDifference.toObject, includeInstance),
283364
284113
  warningsList: jspb.Message.toObjectList(msg.getWarningsList(),
283365
- proto.com.lansweeper.discovery.cloud.api.v1.CDKRule.toObject, includeInstance)
284114
+ proto.com.lansweeper.discovery.cloud.api.v1.CDKRule.toObject, includeInstance),
284115
+ throughput: (f = msg.getThroughput()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
283366
284116
  };
283367
284117
 
283368
284118
  if (includeInstance) {
@@ -283489,6 +284239,11 @@ proto.com.lansweeper.discovery.cloud.api.v1.AmazonVolume.deserializeBinaryFromRe
283489
284239
  reader.readMessage(value,proto.com.lansweeper.discovery.cloud.api.v1.CDKRule.deserializeBinaryFromReader);
283490
284240
  msg.addWarnings(value);
283491
284241
  break;
284242
+ case 19:
284243
+ var value = new google_protobuf_wrappers_pb.StringValue;
284244
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
284245
+ msg.setThroughput(value);
284246
+ break;
283492
284247
  default:
283493
284248
  reader.skipField();
283494
284249
  break;
@@ -283662,6 +284417,14 @@ proto.com.lansweeper.discovery.cloud.api.v1.AmazonVolume.serializeBinaryToWriter
283662
284417
  proto.com.lansweeper.discovery.cloud.api.v1.CDKRule.serializeBinaryToWriter
283663
284418
  );
283664
284419
  }
284420
+ f = message.getThroughput();
284421
+ if (f != null) {
284422
+ writer.writeMessage(
284423
+ 19,
284424
+ f,
284425
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
284426
+ );
284427
+ }
283665
284428
  };
283666
284429
 
283667
284430
 
@@ -284334,6 +285097,43 @@ proto.com.lansweeper.discovery.cloud.api.v1.AmazonVolume.prototype.clearWarnings
284334
285097
  };
284335
285098
 
284336
285099
 
285100
+ /**
285101
+ * optional google.protobuf.StringValue _throughput = 19;
285102
+ * @return {?proto.google.protobuf.StringValue}
285103
+ */
285104
+ proto.com.lansweeper.discovery.cloud.api.v1.AmazonVolume.prototype.getThroughput = function() {
285105
+ return /** @type{?proto.google.protobuf.StringValue} */ (
285106
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 19));
285107
+ };
285108
+
285109
+
285110
+ /**
285111
+ * @param {?proto.google.protobuf.StringValue|undefined} value
285112
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.AmazonVolume} returns this
285113
+ */
285114
+ proto.com.lansweeper.discovery.cloud.api.v1.AmazonVolume.prototype.setThroughput = function(value) {
285115
+ return jspb.Message.setWrapperField(this, 19, value);
285116
+ };
285117
+
285118
+
285119
+ /**
285120
+ * Clears the message field making it undefined.
285121
+ * @return {!proto.com.lansweeper.discovery.cloud.api.v1.AmazonVolume} returns this
285122
+ */
285123
+ proto.com.lansweeper.discovery.cloud.api.v1.AmazonVolume.prototype.clearThroughput = function() {
285124
+ return this.setThroughput(undefined);
285125
+ };
285126
+
285127
+
285128
+ /**
285129
+ * Returns whether this field is set.
285130
+ * @return {boolean}
285131
+ */
285132
+ proto.com.lansweeper.discovery.cloud.api.v1.AmazonVolume.prototype.hasThroughput = function() {
285133
+ return jspb.Message.getField(this, 19) != null;
285134
+ };
285135
+
285136
+
284337
285137
 
284338
285138
  /**
284339
285139
  * List of repeated fields within this message type.
@@ -413019,4 +413819,15 @@ proto.com.lansweeper.discovery.cloud.api.v1.AmazonResource.prototype.hasADKName
413019
413819
  };
413020
413820
 
413021
413821
 
413822
+ /**
413823
+ * @enum {number}
413824
+ */
413825
+ proto.com.lansweeper.discovery.cloud.api.v1.ScanType = {
413826
+ SCAN_TYPE_AWS: 0,
413827
+ SCAN_TYPE_AZURE: 1,
413828
+ SCAN_TYPE_GCP: 2,
413829
+ SCAN_TYPE_INTUNE: 3,
413830
+ SCAN_TYPE_ENTRA_ID: 4
413831
+ };
413832
+
413022
413833
  goog.object.extend(exports, proto.com.lansweeper.discovery.cloud.api.v1);