@lansweeper/discovery-sensor-proto 2.22.2 → 2.24.0

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.
@@ -23,18 +23,24 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryHealthInf
23
23
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryModelInfo', null, global);
24
24
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryPower', null, global);
25
25
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Bluetooth', null, global);
26
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning', null, global);
26
27
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Display', null, global);
28
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Firewire', null, global);
27
29
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.HardDisk', null, global);
28
30
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo', null, global);
29
31
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBluetooth', null, global);
32
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning', null, global);
30
33
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacDisplay', null, global);
34
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire', null, global);
31
35
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacHardDisk', null, global);
32
36
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory', null, global);
37
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacModem', null, global);
33
38
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacNetwork', null, global);
34
39
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacNetworkVolume', null, global);
35
40
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo', null, global);
36
41
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacSoftware', null, global);
37
42
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Memory', null, global);
43
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Modem', null, global);
38
44
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Monitor', null, global);
39
45
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Network', null, global);
40
46
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkAppleTalk', null, global);
@@ -721,6 +727,132 @@ if (goog.DEBUG && !COMPILED) {
721
727
  */
722
728
  proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.Monitor';
723
729
  }
730
+ /**
731
+ * Generated by JsPbCodeGenerator.
732
+ * @param {Array=} opt_data Optional initial data array, typically from a
733
+ * server response, or constructed directly in Javascript. The array is used
734
+ * in place and becomes part of the constructed object. It is not cloned.
735
+ * If no data is provided, the constructed object will be empty, but still
736
+ * valid.
737
+ * @extends {jspb.Message}
738
+ * @constructor
739
+ */
740
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire = function(opt_data) {
741
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.repeatedFields_, null);
742
+ };
743
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire, jspb.Message);
744
+ if (goog.DEBUG && !COMPILED) {
745
+ /**
746
+ * @public
747
+ * @override
748
+ */
749
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire';
750
+ }
751
+ /**
752
+ * Generated by JsPbCodeGenerator.
753
+ * @param {Array=} opt_data Optional initial data array, typically from a
754
+ * server response, or constructed directly in Javascript. The array is used
755
+ * in place and becomes part of the constructed object. It is not cloned.
756
+ * If no data is provided, the constructed object will be empty, but still
757
+ * valid.
758
+ * @extends {jspb.Message}
759
+ * @constructor
760
+ */
761
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire = function(opt_data) {
762
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
763
+ };
764
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.Firewire, jspb.Message);
765
+ if (goog.DEBUG && !COMPILED) {
766
+ /**
767
+ * @public
768
+ * @override
769
+ */
770
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.Firewire';
771
+ }
772
+ /**
773
+ * Generated by JsPbCodeGenerator.
774
+ * @param {Array=} opt_data Optional initial data array, typically from a
775
+ * server response, or constructed directly in Javascript. The array is used
776
+ * in place and becomes part of the constructed object. It is not cloned.
777
+ * If no data is provided, the constructed object will be empty, but still
778
+ * valid.
779
+ * @extends {jspb.Message}
780
+ * @constructor
781
+ */
782
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem = function(opt_data) {
783
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.repeatedFields_, null);
784
+ };
785
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacModem, jspb.Message);
786
+ if (goog.DEBUG && !COMPILED) {
787
+ /**
788
+ * @public
789
+ * @override
790
+ */
791
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacModem';
792
+ }
793
+ /**
794
+ * Generated by JsPbCodeGenerator.
795
+ * @param {Array=} opt_data Optional initial data array, typically from a
796
+ * server response, or constructed directly in Javascript. The array is used
797
+ * in place and becomes part of the constructed object. It is not cloned.
798
+ * If no data is provided, the constructed object will be empty, but still
799
+ * valid.
800
+ * @extends {jspb.Message}
801
+ * @constructor
802
+ */
803
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem = function(opt_data) {
804
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
805
+ };
806
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.Modem, jspb.Message);
807
+ if (goog.DEBUG && !COMPILED) {
808
+ /**
809
+ * @public
810
+ * @override
811
+ */
812
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.Modem';
813
+ }
814
+ /**
815
+ * Generated by JsPbCodeGenerator.
816
+ * @param {Array=} opt_data Optional initial data array, typically from a
817
+ * server response, or constructed directly in Javascript. The array is used
818
+ * in place and becomes part of the constructed object. It is not cloned.
819
+ * If no data is provided, the constructed object will be empty, but still
820
+ * valid.
821
+ * @extends {jspb.Message}
822
+ * @constructor
823
+ */
824
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning = function(opt_data) {
825
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning.repeatedFields_, null);
826
+ };
827
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning, jspb.Message);
828
+ if (goog.DEBUG && !COMPILED) {
829
+ /**
830
+ * @public
831
+ * @override
832
+ */
833
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning';
834
+ }
835
+ /**
836
+ * Generated by JsPbCodeGenerator.
837
+ * @param {Array=} opt_data Optional initial data array, typically from a
838
+ * server response, or constructed directly in Javascript. The array is used
839
+ * in place and becomes part of the constructed object. It is not cloned.
840
+ * If no data is provided, the constructed object will be empty, but still
841
+ * valid.
842
+ * @extends {jspb.Message}
843
+ * @constructor
844
+ */
845
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning = function(opt_data) {
846
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
847
+ };
848
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning, jspb.Message);
849
+ if (goog.DEBUG && !COMPILED) {
850
+ /**
851
+ * @public
852
+ * @override
853
+ */
854
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning';
855
+ }
724
856
 
725
857
  /**
726
858
  * List of repeated fields within this message type.
@@ -14103,4 +14235,1804 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasBuiltIn = func
14103
14235
  };
14104
14236
 
14105
14237
 
14238
+
14239
+ /**
14240
+ * List of repeated fields within this message type.
14241
+ * @private {!Array<number>}
14242
+ * @const
14243
+ */
14244
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.repeatedFields_ = [1];
14245
+
14246
+
14247
+
14248
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14249
+ /**
14250
+ * Creates an object representation of this proto.
14251
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14252
+ * Optional fields that are not set will be set to undefined.
14253
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14254
+ * For the list of reserved names please see:
14255
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14256
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14257
+ * JSPB instance for transitional soy proto support:
14258
+ * http://goto/soy-param-migration
14259
+ * @return {!Object}
14260
+ */
14261
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.prototype.toObject = function(opt_includeInstance) {
14262
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.toObject(opt_includeInstance, this);
14263
+ };
14264
+
14265
+
14266
+ /**
14267
+ * Static version of the {@see toObject} method.
14268
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14269
+ * the JSPB instance for transitional soy proto support:
14270
+ * http://goto/soy-param-migration
14271
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire} msg The msg instance to transform.
14272
+ * @return {!Object}
14273
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14274
+ */
14275
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.toObject = function(includeInstance, msg) {
14276
+ var f, obj = {
14277
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
14278
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.toObject, includeInstance)
14279
+ };
14280
+
14281
+ if (includeInstance) {
14282
+ obj.$jspbMessageInstance = msg;
14283
+ }
14284
+ return obj;
14285
+ };
14286
+ }
14287
+
14288
+
14289
+ /**
14290
+ * Deserializes binary data (in protobuf wire format).
14291
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14292
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire}
14293
+ */
14294
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.deserializeBinary = function(bytes) {
14295
+ var reader = new jspb.BinaryReader(bytes);
14296
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire;
14297
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.deserializeBinaryFromReader(msg, reader);
14298
+ };
14299
+
14300
+
14301
+ /**
14302
+ * Deserializes binary data (in protobuf wire format) from the
14303
+ * given reader into the given message object.
14304
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire} msg The message object to deserialize into.
14305
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14306
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire}
14307
+ */
14308
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.deserializeBinaryFromReader = function(msg, reader) {
14309
+ while (reader.nextField()) {
14310
+ if (reader.isEndGroup()) {
14311
+ break;
14312
+ }
14313
+ var field = reader.getFieldNumber();
14314
+ switch (field) {
14315
+ case 1:
14316
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.Firewire;
14317
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.deserializeBinaryFromReader);
14318
+ msg.addEntries(value);
14319
+ break;
14320
+ default:
14321
+ reader.skipField();
14322
+ break;
14323
+ }
14324
+ }
14325
+ return msg;
14326
+ };
14327
+
14328
+
14329
+ /**
14330
+ * Serializes the message to binary data (in protobuf wire format).
14331
+ * @return {!Uint8Array}
14332
+ */
14333
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.prototype.serializeBinary = function() {
14334
+ var writer = new jspb.BinaryWriter();
14335
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.serializeBinaryToWriter(this, writer);
14336
+ return writer.getResultBuffer();
14337
+ };
14338
+
14339
+
14340
+ /**
14341
+ * Serializes the given message to binary data (in protobuf wire
14342
+ * format), writing to the given BinaryWriter.
14343
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire} message
14344
+ * @param {!jspb.BinaryWriter} writer
14345
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14346
+ */
14347
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.serializeBinaryToWriter = function(message, writer) {
14348
+ var f = undefined;
14349
+ f = message.getEntriesList();
14350
+ if (f.length > 0) {
14351
+ writer.writeRepeatedMessage(
14352
+ 1,
14353
+ f,
14354
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.serializeBinaryToWriter
14355
+ );
14356
+ }
14357
+ };
14358
+
14359
+
14360
+ /**
14361
+ * repeated Firewire entries = 1;
14362
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire>}
14363
+ */
14364
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.prototype.getEntriesList = function() {
14365
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire>} */ (
14366
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.Firewire, 1));
14367
+ };
14368
+
14369
+
14370
+ /**
14371
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire>} value
14372
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire} returns this
14373
+ */
14374
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.prototype.setEntriesList = function(value) {
14375
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
14376
+ };
14377
+
14378
+
14379
+ /**
14380
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire=} opt_value
14381
+ * @param {number=} opt_index
14382
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire}
14383
+ */
14384
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.prototype.addEntries = function(opt_value, opt_index) {
14385
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.Firewire, opt_index);
14386
+ };
14387
+
14388
+
14389
+ /**
14390
+ * Clears the list making it empty but non-null.
14391
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire} returns this
14392
+ */
14393
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.prototype.clearEntriesList = function() {
14394
+ return this.setEntriesList([]);
14395
+ };
14396
+
14397
+
14398
+
14399
+
14400
+
14401
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14402
+ /**
14403
+ * Creates an object representation of this proto.
14404
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14405
+ * Optional fields that are not set will be set to undefined.
14406
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14407
+ * For the list of reserved names please see:
14408
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14409
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14410
+ * JSPB instance for transitional soy proto support:
14411
+ * http://goto/soy-param-migration
14412
+ * @return {!Object}
14413
+ */
14414
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.toObject = function(opt_includeInstance) {
14415
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.toObject(opt_includeInstance, this);
14416
+ };
14417
+
14418
+
14419
+ /**
14420
+ * Static version of the {@see toObject} method.
14421
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14422
+ * the JSPB instance for transitional soy proto support:
14423
+ * http://goto/soy-param-migration
14424
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire} msg The msg instance to transform.
14425
+ * @return {!Object}
14426
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14427
+ */
14428
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.toObject = function(includeInstance, msg) {
14429
+ var f, obj = {
14430
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
14431
+ maxDeviceSpeed: (f = msg.getMaxDeviceSpeed()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
14432
+ };
14433
+
14434
+ if (includeInstance) {
14435
+ obj.$jspbMessageInstance = msg;
14436
+ }
14437
+ return obj;
14438
+ };
14439
+ }
14440
+
14441
+
14442
+ /**
14443
+ * Deserializes binary data (in protobuf wire format).
14444
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14445
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire}
14446
+ */
14447
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.deserializeBinary = function(bytes) {
14448
+ var reader = new jspb.BinaryReader(bytes);
14449
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.Firewire;
14450
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.deserializeBinaryFromReader(msg, reader);
14451
+ };
14452
+
14453
+
14454
+ /**
14455
+ * Deserializes binary data (in protobuf wire format) from the
14456
+ * given reader into the given message object.
14457
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire} msg The message object to deserialize into.
14458
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14459
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire}
14460
+ */
14461
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.deserializeBinaryFromReader = function(msg, reader) {
14462
+ while (reader.nextField()) {
14463
+ if (reader.isEndGroup()) {
14464
+ break;
14465
+ }
14466
+ var field = reader.getFieldNumber();
14467
+ switch (field) {
14468
+ case 1:
14469
+ var value = new google_protobuf_wrappers_pb.StringValue;
14470
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14471
+ msg.setName(value);
14472
+ break;
14473
+ case 2:
14474
+ var value = new google_protobuf_wrappers_pb.StringValue;
14475
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14476
+ msg.setMaxDeviceSpeed(value);
14477
+ break;
14478
+ default:
14479
+ reader.skipField();
14480
+ break;
14481
+ }
14482
+ }
14483
+ return msg;
14484
+ };
14485
+
14486
+
14487
+ /**
14488
+ * Serializes the message to binary data (in protobuf wire format).
14489
+ * @return {!Uint8Array}
14490
+ */
14491
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.serializeBinary = function() {
14492
+ var writer = new jspb.BinaryWriter();
14493
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.serializeBinaryToWriter(this, writer);
14494
+ return writer.getResultBuffer();
14495
+ };
14496
+
14497
+
14498
+ /**
14499
+ * Serializes the given message to binary data (in protobuf wire
14500
+ * format), writing to the given BinaryWriter.
14501
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire} message
14502
+ * @param {!jspb.BinaryWriter} writer
14503
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14504
+ */
14505
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.serializeBinaryToWriter = function(message, writer) {
14506
+ var f = undefined;
14507
+ f = message.getName();
14508
+ if (f != null) {
14509
+ writer.writeMessage(
14510
+ 1,
14511
+ f,
14512
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14513
+ );
14514
+ }
14515
+ f = message.getMaxDeviceSpeed();
14516
+ if (f != null) {
14517
+ writer.writeMessage(
14518
+ 2,
14519
+ f,
14520
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14521
+ );
14522
+ }
14523
+ };
14524
+
14525
+
14526
+ /**
14527
+ * optional google.protobuf.StringValue name = 1;
14528
+ * @return {?proto.google.protobuf.StringValue}
14529
+ */
14530
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.getName = function() {
14531
+ return /** @type{?proto.google.protobuf.StringValue} */ (
14532
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
14533
+ };
14534
+
14535
+
14536
+ /**
14537
+ * @param {?proto.google.protobuf.StringValue|undefined} value
14538
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire} returns this
14539
+ */
14540
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.setName = function(value) {
14541
+ return jspb.Message.setWrapperField(this, 1, value);
14542
+ };
14543
+
14544
+
14545
+ /**
14546
+ * Clears the message field making it undefined.
14547
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire} returns this
14548
+ */
14549
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.clearName = function() {
14550
+ return this.setName(undefined);
14551
+ };
14552
+
14553
+
14554
+ /**
14555
+ * Returns whether this field is set.
14556
+ * @return {boolean}
14557
+ */
14558
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.hasName = function() {
14559
+ return jspb.Message.getField(this, 1) != null;
14560
+ };
14561
+
14562
+
14563
+ /**
14564
+ * optional google.protobuf.StringValue max_device_speed = 2;
14565
+ * @return {?proto.google.protobuf.StringValue}
14566
+ */
14567
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.getMaxDeviceSpeed = function() {
14568
+ return /** @type{?proto.google.protobuf.StringValue} */ (
14569
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
14570
+ };
14571
+
14572
+
14573
+ /**
14574
+ * @param {?proto.google.protobuf.StringValue|undefined} value
14575
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire} returns this
14576
+ */
14577
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.setMaxDeviceSpeed = function(value) {
14578
+ return jspb.Message.setWrapperField(this, 2, value);
14579
+ };
14580
+
14581
+
14582
+ /**
14583
+ * Clears the message field making it undefined.
14584
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire} returns this
14585
+ */
14586
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.clearMaxDeviceSpeed = function() {
14587
+ return this.setMaxDeviceSpeed(undefined);
14588
+ };
14589
+
14590
+
14591
+ /**
14592
+ * Returns whether this field is set.
14593
+ * @return {boolean}
14594
+ */
14595
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.hasMaxDeviceSpeed = function() {
14596
+ return jspb.Message.getField(this, 2) != null;
14597
+ };
14598
+
14599
+
14600
+
14601
+ /**
14602
+ * List of repeated fields within this message type.
14603
+ * @private {!Array<number>}
14604
+ * @const
14605
+ */
14606
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.repeatedFields_ = [1];
14607
+
14608
+
14609
+
14610
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14611
+ /**
14612
+ * Creates an object representation of this proto.
14613
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14614
+ * Optional fields that are not set will be set to undefined.
14615
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14616
+ * For the list of reserved names please see:
14617
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14618
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14619
+ * JSPB instance for transitional soy proto support:
14620
+ * http://goto/soy-param-migration
14621
+ * @return {!Object}
14622
+ */
14623
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.prototype.toObject = function(opt_includeInstance) {
14624
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.toObject(opt_includeInstance, this);
14625
+ };
14626
+
14627
+
14628
+ /**
14629
+ * Static version of the {@see toObject} method.
14630
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14631
+ * the JSPB instance for transitional soy proto support:
14632
+ * http://goto/soy-param-migration
14633
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacModem} msg The msg instance to transform.
14634
+ * @return {!Object}
14635
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14636
+ */
14637
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.toObject = function(includeInstance, msg) {
14638
+ var f, obj = {
14639
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
14640
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.toObject, includeInstance)
14641
+ };
14642
+
14643
+ if (includeInstance) {
14644
+ obj.$jspbMessageInstance = msg;
14645
+ }
14646
+ return obj;
14647
+ };
14648
+ }
14649
+
14650
+
14651
+ /**
14652
+ * Deserializes binary data (in protobuf wire format).
14653
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14654
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacModem}
14655
+ */
14656
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.deserializeBinary = function(bytes) {
14657
+ var reader = new jspb.BinaryReader(bytes);
14658
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacModem;
14659
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.deserializeBinaryFromReader(msg, reader);
14660
+ };
14661
+
14662
+
14663
+ /**
14664
+ * Deserializes binary data (in protobuf wire format) from the
14665
+ * given reader into the given message object.
14666
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacModem} msg The message object to deserialize into.
14667
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14668
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacModem}
14669
+ */
14670
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.deserializeBinaryFromReader = function(msg, reader) {
14671
+ while (reader.nextField()) {
14672
+ if (reader.isEndGroup()) {
14673
+ break;
14674
+ }
14675
+ var field = reader.getFieldNumber();
14676
+ switch (field) {
14677
+ case 1:
14678
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.Modem;
14679
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.Modem.deserializeBinaryFromReader);
14680
+ msg.addEntries(value);
14681
+ break;
14682
+ default:
14683
+ reader.skipField();
14684
+ break;
14685
+ }
14686
+ }
14687
+ return msg;
14688
+ };
14689
+
14690
+
14691
+ /**
14692
+ * Serializes the message to binary data (in protobuf wire format).
14693
+ * @return {!Uint8Array}
14694
+ */
14695
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.prototype.serializeBinary = function() {
14696
+ var writer = new jspb.BinaryWriter();
14697
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.serializeBinaryToWriter(this, writer);
14698
+ return writer.getResultBuffer();
14699
+ };
14700
+
14701
+
14702
+ /**
14703
+ * Serializes the given message to binary data (in protobuf wire
14704
+ * format), writing to the given BinaryWriter.
14705
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacModem} message
14706
+ * @param {!jspb.BinaryWriter} writer
14707
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14708
+ */
14709
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.serializeBinaryToWriter = function(message, writer) {
14710
+ var f = undefined;
14711
+ f = message.getEntriesList();
14712
+ if (f.length > 0) {
14713
+ writer.writeRepeatedMessage(
14714
+ 1,
14715
+ f,
14716
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.serializeBinaryToWriter
14717
+ );
14718
+ }
14719
+ };
14720
+
14721
+
14722
+ /**
14723
+ * repeated Modem entries = 1;
14724
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Modem>}
14725
+ */
14726
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.prototype.getEntriesList = function() {
14727
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Modem>} */ (
14728
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.Modem, 1));
14729
+ };
14730
+
14731
+
14732
+ /**
14733
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Modem>} value
14734
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacModem} returns this
14735
+ */
14736
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.prototype.setEntriesList = function(value) {
14737
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
14738
+ };
14739
+
14740
+
14741
+ /**
14742
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem=} opt_value
14743
+ * @param {number=} opt_index
14744
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem}
14745
+ */
14746
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.prototype.addEntries = function(opt_value, opt_index) {
14747
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.Modem, opt_index);
14748
+ };
14749
+
14750
+
14751
+ /**
14752
+ * Clears the list making it empty but non-null.
14753
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacModem} returns this
14754
+ */
14755
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.prototype.clearEntriesList = function() {
14756
+ return this.setEntriesList([]);
14757
+ };
14758
+
14759
+
14760
+
14761
+
14762
+
14763
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14764
+ /**
14765
+ * Creates an object representation of this proto.
14766
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14767
+ * Optional fields that are not set will be set to undefined.
14768
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14769
+ * For the list of reserved names please see:
14770
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14771
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14772
+ * JSPB instance for transitional soy proto support:
14773
+ * http://goto/soy-param-migration
14774
+ * @return {!Object}
14775
+ */
14776
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.toObject = function(opt_includeInstance) {
14777
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Modem.toObject(opt_includeInstance, this);
14778
+ };
14779
+
14780
+
14781
+ /**
14782
+ * Static version of the {@see toObject} method.
14783
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14784
+ * the JSPB instance for transitional soy proto support:
14785
+ * http://goto/soy-param-migration
14786
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} msg The msg instance to transform.
14787
+ * @return {!Object}
14788
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14789
+ */
14790
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.toObject = function(includeInstance, msg) {
14791
+ var f, obj = {
14792
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
14793
+ countryInfo: (f = msg.getCountryInfo()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
14794
+ driverInfo: (f = msg.getDriverInfo()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
14795
+ hwVersion: (f = msg.getHwVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
14796
+ interfaceType: (f = msg.getInterfaceType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
14797
+ model: (f = msg.getModel()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
14798
+ modulation: (f = msg.getModulation()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
14799
+ };
14800
+
14801
+ if (includeInstance) {
14802
+ obj.$jspbMessageInstance = msg;
14803
+ }
14804
+ return obj;
14805
+ };
14806
+ }
14807
+
14808
+
14809
+ /**
14810
+ * Deserializes binary data (in protobuf wire format).
14811
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14812
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem}
14813
+ */
14814
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.deserializeBinary = function(bytes) {
14815
+ var reader = new jspb.BinaryReader(bytes);
14816
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.Modem;
14817
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Modem.deserializeBinaryFromReader(msg, reader);
14818
+ };
14819
+
14820
+
14821
+ /**
14822
+ * Deserializes binary data (in protobuf wire format) from the
14823
+ * given reader into the given message object.
14824
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} msg The message object to deserialize into.
14825
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14826
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem}
14827
+ */
14828
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.deserializeBinaryFromReader = function(msg, reader) {
14829
+ while (reader.nextField()) {
14830
+ if (reader.isEndGroup()) {
14831
+ break;
14832
+ }
14833
+ var field = reader.getFieldNumber();
14834
+ switch (field) {
14835
+ case 1:
14836
+ var value = new google_protobuf_wrappers_pb.StringValue;
14837
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14838
+ msg.setName(value);
14839
+ break;
14840
+ case 2:
14841
+ var value = new google_protobuf_wrappers_pb.StringValue;
14842
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14843
+ msg.setCountryInfo(value);
14844
+ break;
14845
+ case 3:
14846
+ var value = new google_protobuf_wrappers_pb.StringValue;
14847
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14848
+ msg.setDriverInfo(value);
14849
+ break;
14850
+ case 4:
14851
+ var value = new google_protobuf_wrappers_pb.StringValue;
14852
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14853
+ msg.setHwVersion(value);
14854
+ break;
14855
+ case 5:
14856
+ var value = new google_protobuf_wrappers_pb.StringValue;
14857
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14858
+ msg.setInterfaceType(value);
14859
+ break;
14860
+ case 6:
14861
+ var value = new google_protobuf_wrappers_pb.StringValue;
14862
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14863
+ msg.setModel(value);
14864
+ break;
14865
+ case 7:
14866
+ var value = new google_protobuf_wrappers_pb.StringValue;
14867
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14868
+ msg.setModulation(value);
14869
+ break;
14870
+ default:
14871
+ reader.skipField();
14872
+ break;
14873
+ }
14874
+ }
14875
+ return msg;
14876
+ };
14877
+
14878
+
14879
+ /**
14880
+ * Serializes the message to binary data (in protobuf wire format).
14881
+ * @return {!Uint8Array}
14882
+ */
14883
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.serializeBinary = function() {
14884
+ var writer = new jspb.BinaryWriter();
14885
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.serializeBinaryToWriter(this, writer);
14886
+ return writer.getResultBuffer();
14887
+ };
14888
+
14889
+
14890
+ /**
14891
+ * Serializes the given message to binary data (in protobuf wire
14892
+ * format), writing to the given BinaryWriter.
14893
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} message
14894
+ * @param {!jspb.BinaryWriter} writer
14895
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14896
+ */
14897
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.serializeBinaryToWriter = function(message, writer) {
14898
+ var f = undefined;
14899
+ f = message.getName();
14900
+ if (f != null) {
14901
+ writer.writeMessage(
14902
+ 1,
14903
+ f,
14904
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14905
+ );
14906
+ }
14907
+ f = message.getCountryInfo();
14908
+ if (f != null) {
14909
+ writer.writeMessage(
14910
+ 2,
14911
+ f,
14912
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14913
+ );
14914
+ }
14915
+ f = message.getDriverInfo();
14916
+ if (f != null) {
14917
+ writer.writeMessage(
14918
+ 3,
14919
+ f,
14920
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14921
+ );
14922
+ }
14923
+ f = message.getHwVersion();
14924
+ if (f != null) {
14925
+ writer.writeMessage(
14926
+ 4,
14927
+ f,
14928
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14929
+ );
14930
+ }
14931
+ f = message.getInterfaceType();
14932
+ if (f != null) {
14933
+ writer.writeMessage(
14934
+ 5,
14935
+ f,
14936
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14937
+ );
14938
+ }
14939
+ f = message.getModel();
14940
+ if (f != null) {
14941
+ writer.writeMessage(
14942
+ 6,
14943
+ f,
14944
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14945
+ );
14946
+ }
14947
+ f = message.getModulation();
14948
+ if (f != null) {
14949
+ writer.writeMessage(
14950
+ 7,
14951
+ f,
14952
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14953
+ );
14954
+ }
14955
+ };
14956
+
14957
+
14958
+ /**
14959
+ * optional google.protobuf.StringValue name = 1;
14960
+ * @return {?proto.google.protobuf.StringValue}
14961
+ */
14962
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.getName = function() {
14963
+ return /** @type{?proto.google.protobuf.StringValue} */ (
14964
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
14965
+ };
14966
+
14967
+
14968
+ /**
14969
+ * @param {?proto.google.protobuf.StringValue|undefined} value
14970
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
14971
+ */
14972
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.setName = function(value) {
14973
+ return jspb.Message.setWrapperField(this, 1, value);
14974
+ };
14975
+
14976
+
14977
+ /**
14978
+ * Clears the message field making it undefined.
14979
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
14980
+ */
14981
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.clearName = function() {
14982
+ return this.setName(undefined);
14983
+ };
14984
+
14985
+
14986
+ /**
14987
+ * Returns whether this field is set.
14988
+ * @return {boolean}
14989
+ */
14990
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.hasName = function() {
14991
+ return jspb.Message.getField(this, 1) != null;
14992
+ };
14993
+
14994
+
14995
+ /**
14996
+ * optional google.protobuf.StringValue country_info = 2;
14997
+ * @return {?proto.google.protobuf.StringValue}
14998
+ */
14999
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.getCountryInfo = function() {
15000
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15001
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
15002
+ };
15003
+
15004
+
15005
+ /**
15006
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15007
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15008
+ */
15009
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.setCountryInfo = function(value) {
15010
+ return jspb.Message.setWrapperField(this, 2, value);
15011
+ };
15012
+
15013
+
15014
+ /**
15015
+ * Clears the message field making it undefined.
15016
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15017
+ */
15018
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.clearCountryInfo = function() {
15019
+ return this.setCountryInfo(undefined);
15020
+ };
15021
+
15022
+
15023
+ /**
15024
+ * Returns whether this field is set.
15025
+ * @return {boolean}
15026
+ */
15027
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.hasCountryInfo = function() {
15028
+ return jspb.Message.getField(this, 2) != null;
15029
+ };
15030
+
15031
+
15032
+ /**
15033
+ * optional google.protobuf.StringValue driver_info = 3;
15034
+ * @return {?proto.google.protobuf.StringValue}
15035
+ */
15036
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.getDriverInfo = function() {
15037
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15038
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
15039
+ };
15040
+
15041
+
15042
+ /**
15043
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15044
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15045
+ */
15046
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.setDriverInfo = function(value) {
15047
+ return jspb.Message.setWrapperField(this, 3, value);
15048
+ };
15049
+
15050
+
15051
+ /**
15052
+ * Clears the message field making it undefined.
15053
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15054
+ */
15055
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.clearDriverInfo = function() {
15056
+ return this.setDriverInfo(undefined);
15057
+ };
15058
+
15059
+
15060
+ /**
15061
+ * Returns whether this field is set.
15062
+ * @return {boolean}
15063
+ */
15064
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.hasDriverInfo = function() {
15065
+ return jspb.Message.getField(this, 3) != null;
15066
+ };
15067
+
15068
+
15069
+ /**
15070
+ * optional google.protobuf.StringValue hw_version = 4;
15071
+ * @return {?proto.google.protobuf.StringValue}
15072
+ */
15073
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.getHwVersion = function() {
15074
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15075
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
15076
+ };
15077
+
15078
+
15079
+ /**
15080
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15081
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15082
+ */
15083
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.setHwVersion = function(value) {
15084
+ return jspb.Message.setWrapperField(this, 4, value);
15085
+ };
15086
+
15087
+
15088
+ /**
15089
+ * Clears the message field making it undefined.
15090
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15091
+ */
15092
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.clearHwVersion = function() {
15093
+ return this.setHwVersion(undefined);
15094
+ };
15095
+
15096
+
15097
+ /**
15098
+ * Returns whether this field is set.
15099
+ * @return {boolean}
15100
+ */
15101
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.hasHwVersion = function() {
15102
+ return jspb.Message.getField(this, 4) != null;
15103
+ };
15104
+
15105
+
15106
+ /**
15107
+ * optional google.protobuf.StringValue interface_type = 5;
15108
+ * @return {?proto.google.protobuf.StringValue}
15109
+ */
15110
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.getInterfaceType = function() {
15111
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15112
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
15113
+ };
15114
+
15115
+
15116
+ /**
15117
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15118
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15119
+ */
15120
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.setInterfaceType = function(value) {
15121
+ return jspb.Message.setWrapperField(this, 5, value);
15122
+ };
15123
+
15124
+
15125
+ /**
15126
+ * Clears the message field making it undefined.
15127
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15128
+ */
15129
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.clearInterfaceType = function() {
15130
+ return this.setInterfaceType(undefined);
15131
+ };
15132
+
15133
+
15134
+ /**
15135
+ * Returns whether this field is set.
15136
+ * @return {boolean}
15137
+ */
15138
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.hasInterfaceType = function() {
15139
+ return jspb.Message.getField(this, 5) != null;
15140
+ };
15141
+
15142
+
15143
+ /**
15144
+ * optional google.protobuf.StringValue model = 6;
15145
+ * @return {?proto.google.protobuf.StringValue}
15146
+ */
15147
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.getModel = function() {
15148
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15149
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
15150
+ };
15151
+
15152
+
15153
+ /**
15154
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15155
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15156
+ */
15157
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.setModel = function(value) {
15158
+ return jspb.Message.setWrapperField(this, 6, value);
15159
+ };
15160
+
15161
+
15162
+ /**
15163
+ * Clears the message field making it undefined.
15164
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15165
+ */
15166
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.clearModel = function() {
15167
+ return this.setModel(undefined);
15168
+ };
15169
+
15170
+
15171
+ /**
15172
+ * Returns whether this field is set.
15173
+ * @return {boolean}
15174
+ */
15175
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.hasModel = function() {
15176
+ return jspb.Message.getField(this, 6) != null;
15177
+ };
15178
+
15179
+
15180
+ /**
15181
+ * optional google.protobuf.StringValue modulation = 7;
15182
+ * @return {?proto.google.protobuf.StringValue}
15183
+ */
15184
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.getModulation = function() {
15185
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15186
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
15187
+ };
15188
+
15189
+
15190
+ /**
15191
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15192
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15193
+ */
15194
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.setModulation = function(value) {
15195
+ return jspb.Message.setWrapperField(this, 7, value);
15196
+ };
15197
+
15198
+
15199
+ /**
15200
+ * Clears the message field making it undefined.
15201
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15202
+ */
15203
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.clearModulation = function() {
15204
+ return this.setModulation(undefined);
15205
+ };
15206
+
15207
+
15208
+ /**
15209
+ * Returns whether this field is set.
15210
+ * @return {boolean}
15211
+ */
15212
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.hasModulation = function() {
15213
+ return jspb.Message.getField(this, 7) != null;
15214
+ };
15215
+
15216
+
15217
+
15218
+ /**
15219
+ * List of repeated fields within this message type.
15220
+ * @private {!Array<number>}
15221
+ * @const
15222
+ */
15223
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning.repeatedFields_ = [1];
15224
+
15225
+
15226
+
15227
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15228
+ /**
15229
+ * Creates an object representation of this proto.
15230
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15231
+ * Optional fields that are not set will be set to undefined.
15232
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15233
+ * For the list of reserved names please see:
15234
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15235
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15236
+ * JSPB instance for transitional soy proto support:
15237
+ * http://goto/soy-param-migration
15238
+ * @return {!Object}
15239
+ */
15240
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning.prototype.toObject = function(opt_includeInstance) {
15241
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning.toObject(opt_includeInstance, this);
15242
+ };
15243
+
15244
+
15245
+ /**
15246
+ * Static version of the {@see toObject} method.
15247
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15248
+ * the JSPB instance for transitional soy proto support:
15249
+ * http://goto/soy-param-migration
15250
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning} msg The msg instance to transform.
15251
+ * @return {!Object}
15252
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15253
+ */
15254
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning.toObject = function(includeInstance, msg) {
15255
+ var f, obj = {
15256
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
15257
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.toObject, includeInstance)
15258
+ };
15259
+
15260
+ if (includeInstance) {
15261
+ obj.$jspbMessageInstance = msg;
15262
+ }
15263
+ return obj;
15264
+ };
15265
+ }
15266
+
15267
+
15268
+ /**
15269
+ * Deserializes binary data (in protobuf wire format).
15270
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15271
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning}
15272
+ */
15273
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning.deserializeBinary = function(bytes) {
15274
+ var reader = new jspb.BinaryReader(bytes);
15275
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning;
15276
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning.deserializeBinaryFromReader(msg, reader);
15277
+ };
15278
+
15279
+
15280
+ /**
15281
+ * Deserializes binary data (in protobuf wire format) from the
15282
+ * given reader into the given message object.
15283
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning} msg The message object to deserialize into.
15284
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15285
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning}
15286
+ */
15287
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning.deserializeBinaryFromReader = function(msg, reader) {
15288
+ while (reader.nextField()) {
15289
+ if (reader.isEndGroup()) {
15290
+ break;
15291
+ }
15292
+ var field = reader.getFieldNumber();
15293
+ switch (field) {
15294
+ case 1:
15295
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning;
15296
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.deserializeBinaryFromReader);
15297
+ msg.addEntries(value);
15298
+ break;
15299
+ default:
15300
+ reader.skipField();
15301
+ break;
15302
+ }
15303
+ }
15304
+ return msg;
15305
+ };
15306
+
15307
+
15308
+ /**
15309
+ * Serializes the message to binary data (in protobuf wire format).
15310
+ * @return {!Uint8Array}
15311
+ */
15312
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning.prototype.serializeBinary = function() {
15313
+ var writer = new jspb.BinaryWriter();
15314
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning.serializeBinaryToWriter(this, writer);
15315
+ return writer.getResultBuffer();
15316
+ };
15317
+
15318
+
15319
+ /**
15320
+ * Serializes the given message to binary data (in protobuf wire
15321
+ * format), writing to the given BinaryWriter.
15322
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning} message
15323
+ * @param {!jspb.BinaryWriter} writer
15324
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15325
+ */
15326
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning.serializeBinaryToWriter = function(message, writer) {
15327
+ var f = undefined;
15328
+ f = message.getEntriesList();
15329
+ if (f.length > 0) {
15330
+ writer.writeRepeatedMessage(
15331
+ 1,
15332
+ f,
15333
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.serializeBinaryToWriter
15334
+ );
15335
+ }
15336
+ };
15337
+
15338
+
15339
+ /**
15340
+ * repeated DiscBurning entries = 1;
15341
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning>}
15342
+ */
15343
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning.prototype.getEntriesList = function() {
15344
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning>} */ (
15345
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning, 1));
15346
+ };
15347
+
15348
+
15349
+ /**
15350
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning>} value
15351
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning} returns this
15352
+ */
15353
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning.prototype.setEntriesList = function(value) {
15354
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
15355
+ };
15356
+
15357
+
15358
+ /**
15359
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning=} opt_value
15360
+ * @param {number=} opt_index
15361
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning}
15362
+ */
15363
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning.prototype.addEntries = function(opt_value, opt_index) {
15364
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning, opt_index);
15365
+ };
15366
+
15367
+
15368
+ /**
15369
+ * Clears the list making it empty but non-null.
15370
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning} returns this
15371
+ */
15372
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacDiscBurning.prototype.clearEntriesList = function() {
15373
+ return this.setEntriesList([]);
15374
+ };
15375
+
15376
+
15377
+
15378
+
15379
+
15380
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15381
+ /**
15382
+ * Creates an object representation of this proto.
15383
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15384
+ * Optional fields that are not set will be set to undefined.
15385
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15386
+ * For the list of reserved names please see:
15387
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15388
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15389
+ * JSPB instance for transitional soy proto support:
15390
+ * http://goto/soy-param-migration
15391
+ * @return {!Object}
15392
+ */
15393
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.toObject = function(opt_includeInstance) {
15394
+ return proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.toObject(opt_includeInstance, this);
15395
+ };
15396
+
15397
+
15398
+ /**
15399
+ * Static version of the {@see toObject} method.
15400
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15401
+ * the JSPB instance for transitional soy proto support:
15402
+ * http://goto/soy-param-migration
15403
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} msg The msg instance to transform.
15404
+ * @return {!Object}
15405
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15406
+ */
15407
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.toObject = function(includeInstance, msg) {
15408
+ var f, obj = {
15409
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
15410
+ burnSupport: (f = msg.getBurnSupport()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
15411
+ deviceBufecd: (f = msg.getDeviceBufecd()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
15412
+ deviceCache: (f = msg.getDeviceCache()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
15413
+ deviceCdWrite: (f = msg.getDeviceCdWrite()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
15414
+ deviceDvdWrite: (f = msg.getDeviceDvdWrite()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
15415
+ deviceMedia: (f = msg.getDeviceMedia()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
15416
+ deviceReadDvd: (f = msg.getDeviceReadDvd()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
15417
+ deviceStrategies: (f = msg.getDeviceStrategies()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
15418
+ firmware: (f = msg.getFirmware()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
15419
+ interconnect: (f = msg.getInterconnect()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
15420
+ };
15421
+
15422
+ if (includeInstance) {
15423
+ obj.$jspbMessageInstance = msg;
15424
+ }
15425
+ return obj;
15426
+ };
15427
+ }
15428
+
15429
+
15430
+ /**
15431
+ * Deserializes binary data (in protobuf wire format).
15432
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15433
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning}
15434
+ */
15435
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.deserializeBinary = function(bytes) {
15436
+ var reader = new jspb.BinaryReader(bytes);
15437
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning;
15438
+ return proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.deserializeBinaryFromReader(msg, reader);
15439
+ };
15440
+
15441
+
15442
+ /**
15443
+ * Deserializes binary data (in protobuf wire format) from the
15444
+ * given reader into the given message object.
15445
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} msg The message object to deserialize into.
15446
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15447
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning}
15448
+ */
15449
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.deserializeBinaryFromReader = function(msg, reader) {
15450
+ while (reader.nextField()) {
15451
+ if (reader.isEndGroup()) {
15452
+ break;
15453
+ }
15454
+ var field = reader.getFieldNumber();
15455
+ switch (field) {
15456
+ case 1:
15457
+ var value = new google_protobuf_wrappers_pb.StringValue;
15458
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
15459
+ msg.setName(value);
15460
+ break;
15461
+ case 2:
15462
+ var value = new google_protobuf_wrappers_pb.StringValue;
15463
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
15464
+ msg.setBurnSupport(value);
15465
+ break;
15466
+ case 3:
15467
+ var value = new google_protobuf_wrappers_pb.StringValue;
15468
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
15469
+ msg.setDeviceBufecd(value);
15470
+ break;
15471
+ case 4:
15472
+ var value = new google_protobuf_wrappers_pb.StringValue;
15473
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
15474
+ msg.setDeviceCache(value);
15475
+ break;
15476
+ case 5:
15477
+ var value = new google_protobuf_wrappers_pb.StringValue;
15478
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
15479
+ msg.setDeviceCdWrite(value);
15480
+ break;
15481
+ case 6:
15482
+ var value = new google_protobuf_wrappers_pb.StringValue;
15483
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
15484
+ msg.setDeviceDvdWrite(value);
15485
+ break;
15486
+ case 7:
15487
+ var value = new google_protobuf_wrappers_pb.StringValue;
15488
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
15489
+ msg.setDeviceMedia(value);
15490
+ break;
15491
+ case 8:
15492
+ var value = new google_protobuf_wrappers_pb.StringValue;
15493
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
15494
+ msg.setDeviceReadDvd(value);
15495
+ break;
15496
+ case 9:
15497
+ var value = new google_protobuf_wrappers_pb.StringValue;
15498
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
15499
+ msg.setDeviceStrategies(value);
15500
+ break;
15501
+ case 10:
15502
+ var value = new google_protobuf_wrappers_pb.StringValue;
15503
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
15504
+ msg.setFirmware(value);
15505
+ break;
15506
+ case 11:
15507
+ var value = new google_protobuf_wrappers_pb.StringValue;
15508
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
15509
+ msg.setInterconnect(value);
15510
+ break;
15511
+ default:
15512
+ reader.skipField();
15513
+ break;
15514
+ }
15515
+ }
15516
+ return msg;
15517
+ };
15518
+
15519
+
15520
+ /**
15521
+ * Serializes the message to binary data (in protobuf wire format).
15522
+ * @return {!Uint8Array}
15523
+ */
15524
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.serializeBinary = function() {
15525
+ var writer = new jspb.BinaryWriter();
15526
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.serializeBinaryToWriter(this, writer);
15527
+ return writer.getResultBuffer();
15528
+ };
15529
+
15530
+
15531
+ /**
15532
+ * Serializes the given message to binary data (in protobuf wire
15533
+ * format), writing to the given BinaryWriter.
15534
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} message
15535
+ * @param {!jspb.BinaryWriter} writer
15536
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15537
+ */
15538
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.serializeBinaryToWriter = function(message, writer) {
15539
+ var f = undefined;
15540
+ f = message.getName();
15541
+ if (f != null) {
15542
+ writer.writeMessage(
15543
+ 1,
15544
+ f,
15545
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
15546
+ );
15547
+ }
15548
+ f = message.getBurnSupport();
15549
+ if (f != null) {
15550
+ writer.writeMessage(
15551
+ 2,
15552
+ f,
15553
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
15554
+ );
15555
+ }
15556
+ f = message.getDeviceBufecd();
15557
+ if (f != null) {
15558
+ writer.writeMessage(
15559
+ 3,
15560
+ f,
15561
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
15562
+ );
15563
+ }
15564
+ f = message.getDeviceCache();
15565
+ if (f != null) {
15566
+ writer.writeMessage(
15567
+ 4,
15568
+ f,
15569
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
15570
+ );
15571
+ }
15572
+ f = message.getDeviceCdWrite();
15573
+ if (f != null) {
15574
+ writer.writeMessage(
15575
+ 5,
15576
+ f,
15577
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
15578
+ );
15579
+ }
15580
+ f = message.getDeviceDvdWrite();
15581
+ if (f != null) {
15582
+ writer.writeMessage(
15583
+ 6,
15584
+ f,
15585
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
15586
+ );
15587
+ }
15588
+ f = message.getDeviceMedia();
15589
+ if (f != null) {
15590
+ writer.writeMessage(
15591
+ 7,
15592
+ f,
15593
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
15594
+ );
15595
+ }
15596
+ f = message.getDeviceReadDvd();
15597
+ if (f != null) {
15598
+ writer.writeMessage(
15599
+ 8,
15600
+ f,
15601
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
15602
+ );
15603
+ }
15604
+ f = message.getDeviceStrategies();
15605
+ if (f != null) {
15606
+ writer.writeMessage(
15607
+ 9,
15608
+ f,
15609
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
15610
+ );
15611
+ }
15612
+ f = message.getFirmware();
15613
+ if (f != null) {
15614
+ writer.writeMessage(
15615
+ 10,
15616
+ f,
15617
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
15618
+ );
15619
+ }
15620
+ f = message.getInterconnect();
15621
+ if (f != null) {
15622
+ writer.writeMessage(
15623
+ 11,
15624
+ f,
15625
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
15626
+ );
15627
+ }
15628
+ };
15629
+
15630
+
15631
+ /**
15632
+ * optional google.protobuf.StringValue name = 1;
15633
+ * @return {?proto.google.protobuf.StringValue}
15634
+ */
15635
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.getName = function() {
15636
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15637
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
15638
+ };
15639
+
15640
+
15641
+ /**
15642
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15643
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15644
+ */
15645
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.setName = function(value) {
15646
+ return jspb.Message.setWrapperField(this, 1, value);
15647
+ };
15648
+
15649
+
15650
+ /**
15651
+ * Clears the message field making it undefined.
15652
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15653
+ */
15654
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.clearName = function() {
15655
+ return this.setName(undefined);
15656
+ };
15657
+
15658
+
15659
+ /**
15660
+ * Returns whether this field is set.
15661
+ * @return {boolean}
15662
+ */
15663
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.hasName = function() {
15664
+ return jspb.Message.getField(this, 1) != null;
15665
+ };
15666
+
15667
+
15668
+ /**
15669
+ * optional google.protobuf.StringValue burn_support = 2;
15670
+ * @return {?proto.google.protobuf.StringValue}
15671
+ */
15672
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.getBurnSupport = function() {
15673
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15674
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
15675
+ };
15676
+
15677
+
15678
+ /**
15679
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15680
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15681
+ */
15682
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.setBurnSupport = function(value) {
15683
+ return jspb.Message.setWrapperField(this, 2, value);
15684
+ };
15685
+
15686
+
15687
+ /**
15688
+ * Clears the message field making it undefined.
15689
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15690
+ */
15691
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.clearBurnSupport = function() {
15692
+ return this.setBurnSupport(undefined);
15693
+ };
15694
+
15695
+
15696
+ /**
15697
+ * Returns whether this field is set.
15698
+ * @return {boolean}
15699
+ */
15700
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.hasBurnSupport = function() {
15701
+ return jspb.Message.getField(this, 2) != null;
15702
+ };
15703
+
15704
+
15705
+ /**
15706
+ * optional google.protobuf.StringValue device_bufecd = 3;
15707
+ * @return {?proto.google.protobuf.StringValue}
15708
+ */
15709
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.getDeviceBufecd = function() {
15710
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15711
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
15712
+ };
15713
+
15714
+
15715
+ /**
15716
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15717
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15718
+ */
15719
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.setDeviceBufecd = function(value) {
15720
+ return jspb.Message.setWrapperField(this, 3, value);
15721
+ };
15722
+
15723
+
15724
+ /**
15725
+ * Clears the message field making it undefined.
15726
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15727
+ */
15728
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.clearDeviceBufecd = function() {
15729
+ return this.setDeviceBufecd(undefined);
15730
+ };
15731
+
15732
+
15733
+ /**
15734
+ * Returns whether this field is set.
15735
+ * @return {boolean}
15736
+ */
15737
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.hasDeviceBufecd = function() {
15738
+ return jspb.Message.getField(this, 3) != null;
15739
+ };
15740
+
15741
+
15742
+ /**
15743
+ * optional google.protobuf.StringValue device_cache = 4;
15744
+ * @return {?proto.google.protobuf.StringValue}
15745
+ */
15746
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.getDeviceCache = function() {
15747
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15748
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
15749
+ };
15750
+
15751
+
15752
+ /**
15753
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15754
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15755
+ */
15756
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.setDeviceCache = function(value) {
15757
+ return jspb.Message.setWrapperField(this, 4, value);
15758
+ };
15759
+
15760
+
15761
+ /**
15762
+ * Clears the message field making it undefined.
15763
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15764
+ */
15765
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.clearDeviceCache = function() {
15766
+ return this.setDeviceCache(undefined);
15767
+ };
15768
+
15769
+
15770
+ /**
15771
+ * Returns whether this field is set.
15772
+ * @return {boolean}
15773
+ */
15774
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.hasDeviceCache = function() {
15775
+ return jspb.Message.getField(this, 4) != null;
15776
+ };
15777
+
15778
+
15779
+ /**
15780
+ * optional google.protobuf.StringValue device_cd_write = 5;
15781
+ * @return {?proto.google.protobuf.StringValue}
15782
+ */
15783
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.getDeviceCdWrite = function() {
15784
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15785
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
15786
+ };
15787
+
15788
+
15789
+ /**
15790
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15791
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15792
+ */
15793
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.setDeviceCdWrite = function(value) {
15794
+ return jspb.Message.setWrapperField(this, 5, value);
15795
+ };
15796
+
15797
+
15798
+ /**
15799
+ * Clears the message field making it undefined.
15800
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15801
+ */
15802
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.clearDeviceCdWrite = function() {
15803
+ return this.setDeviceCdWrite(undefined);
15804
+ };
15805
+
15806
+
15807
+ /**
15808
+ * Returns whether this field is set.
15809
+ * @return {boolean}
15810
+ */
15811
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.hasDeviceCdWrite = function() {
15812
+ return jspb.Message.getField(this, 5) != null;
15813
+ };
15814
+
15815
+
15816
+ /**
15817
+ * optional google.protobuf.StringValue device_dvd_write = 6;
15818
+ * @return {?proto.google.protobuf.StringValue}
15819
+ */
15820
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.getDeviceDvdWrite = function() {
15821
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15822
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
15823
+ };
15824
+
15825
+
15826
+ /**
15827
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15828
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15829
+ */
15830
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.setDeviceDvdWrite = function(value) {
15831
+ return jspb.Message.setWrapperField(this, 6, value);
15832
+ };
15833
+
15834
+
15835
+ /**
15836
+ * Clears the message field making it undefined.
15837
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15838
+ */
15839
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.clearDeviceDvdWrite = function() {
15840
+ return this.setDeviceDvdWrite(undefined);
15841
+ };
15842
+
15843
+
15844
+ /**
15845
+ * Returns whether this field is set.
15846
+ * @return {boolean}
15847
+ */
15848
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.hasDeviceDvdWrite = function() {
15849
+ return jspb.Message.getField(this, 6) != null;
15850
+ };
15851
+
15852
+
15853
+ /**
15854
+ * optional google.protobuf.StringValue device_media = 7;
15855
+ * @return {?proto.google.protobuf.StringValue}
15856
+ */
15857
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.getDeviceMedia = function() {
15858
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15859
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
15860
+ };
15861
+
15862
+
15863
+ /**
15864
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15865
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15866
+ */
15867
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.setDeviceMedia = function(value) {
15868
+ return jspb.Message.setWrapperField(this, 7, value);
15869
+ };
15870
+
15871
+
15872
+ /**
15873
+ * Clears the message field making it undefined.
15874
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15875
+ */
15876
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.clearDeviceMedia = function() {
15877
+ return this.setDeviceMedia(undefined);
15878
+ };
15879
+
15880
+
15881
+ /**
15882
+ * Returns whether this field is set.
15883
+ * @return {boolean}
15884
+ */
15885
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.hasDeviceMedia = function() {
15886
+ return jspb.Message.getField(this, 7) != null;
15887
+ };
15888
+
15889
+
15890
+ /**
15891
+ * optional google.protobuf.StringValue device_read_dvd = 8;
15892
+ * @return {?proto.google.protobuf.StringValue}
15893
+ */
15894
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.getDeviceReadDvd = function() {
15895
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15896
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 8));
15897
+ };
15898
+
15899
+
15900
+ /**
15901
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15902
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15903
+ */
15904
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.setDeviceReadDvd = function(value) {
15905
+ return jspb.Message.setWrapperField(this, 8, value);
15906
+ };
15907
+
15908
+
15909
+ /**
15910
+ * Clears the message field making it undefined.
15911
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15912
+ */
15913
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.clearDeviceReadDvd = function() {
15914
+ return this.setDeviceReadDvd(undefined);
15915
+ };
15916
+
15917
+
15918
+ /**
15919
+ * Returns whether this field is set.
15920
+ * @return {boolean}
15921
+ */
15922
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.hasDeviceReadDvd = function() {
15923
+ return jspb.Message.getField(this, 8) != null;
15924
+ };
15925
+
15926
+
15927
+ /**
15928
+ * optional google.protobuf.StringValue device_strategies = 9;
15929
+ * @return {?proto.google.protobuf.StringValue}
15930
+ */
15931
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.getDeviceStrategies = function() {
15932
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15933
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 9));
15934
+ };
15935
+
15936
+
15937
+ /**
15938
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15939
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15940
+ */
15941
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.setDeviceStrategies = function(value) {
15942
+ return jspb.Message.setWrapperField(this, 9, value);
15943
+ };
15944
+
15945
+
15946
+ /**
15947
+ * Clears the message field making it undefined.
15948
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15949
+ */
15950
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.clearDeviceStrategies = function() {
15951
+ return this.setDeviceStrategies(undefined);
15952
+ };
15953
+
15954
+
15955
+ /**
15956
+ * Returns whether this field is set.
15957
+ * @return {boolean}
15958
+ */
15959
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.hasDeviceStrategies = function() {
15960
+ return jspb.Message.getField(this, 9) != null;
15961
+ };
15962
+
15963
+
15964
+ /**
15965
+ * optional google.protobuf.StringValue firmware = 10;
15966
+ * @return {?proto.google.protobuf.StringValue}
15967
+ */
15968
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.getFirmware = function() {
15969
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15970
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 10));
15971
+ };
15972
+
15973
+
15974
+ /**
15975
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15976
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15977
+ */
15978
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.setFirmware = function(value) {
15979
+ return jspb.Message.setWrapperField(this, 10, value);
15980
+ };
15981
+
15982
+
15983
+ /**
15984
+ * Clears the message field making it undefined.
15985
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
15986
+ */
15987
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.clearFirmware = function() {
15988
+ return this.setFirmware(undefined);
15989
+ };
15990
+
15991
+
15992
+ /**
15993
+ * Returns whether this field is set.
15994
+ * @return {boolean}
15995
+ */
15996
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.hasFirmware = function() {
15997
+ return jspb.Message.getField(this, 10) != null;
15998
+ };
15999
+
16000
+
16001
+ /**
16002
+ * optional google.protobuf.StringValue interconnect = 11;
16003
+ * @return {?proto.google.protobuf.StringValue}
16004
+ */
16005
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.getInterconnect = function() {
16006
+ return /** @type{?proto.google.protobuf.StringValue} */ (
16007
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 11));
16008
+ };
16009
+
16010
+
16011
+ /**
16012
+ * @param {?proto.google.protobuf.StringValue|undefined} value
16013
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
16014
+ */
16015
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.setInterconnect = function(value) {
16016
+ return jspb.Message.setWrapperField(this, 11, value);
16017
+ };
16018
+
16019
+
16020
+ /**
16021
+ * Clears the message field making it undefined.
16022
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning} returns this
16023
+ */
16024
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.clearInterconnect = function() {
16025
+ return this.setInterconnect(undefined);
16026
+ };
16027
+
16028
+
16029
+ /**
16030
+ * Returns whether this field is set.
16031
+ * @return {boolean}
16032
+ */
16033
+ proto.com.lansweeper.discovery.sensor.mac.v1.DiscBurning.prototype.hasInterconnect = function() {
16034
+ return jspb.Message.getField(this, 11) != null;
16035
+ };
16036
+
16037
+
14106
16038
  goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.mac.v1);