@lansweeper/discovery-sensor-proto 2.22.2 → 2.23.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.
@@ -24,17 +24,21 @@ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.BatteryModelInfo
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
26
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Display', null, global);
27
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Firewire', null, global);
27
28
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.HardDisk', null, global);
28
29
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBasicInfo', null, global);
29
30
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacBluetooth', null, global);
30
31
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacDisplay', null, global);
32
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire', null, global);
31
33
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacHardDisk', null, global);
32
34
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacMemory', null, global);
35
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacModem', null, global);
33
36
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacNetwork', null, global);
34
37
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacNetworkVolume', null, global);
35
38
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacOsInfo', null, global);
36
39
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.MacSoftware', null, global);
37
40
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Memory', null, global);
41
+ goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Modem', null, global);
38
42
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Monitor', null, global);
39
43
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.Network', null, global);
40
44
  goog.exportSymbol('proto.com.lansweeper.discovery.sensor.mac.v1.NetworkAppleTalk', null, global);
@@ -721,6 +725,90 @@ if (goog.DEBUG && !COMPILED) {
721
725
  */
722
726
  proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.Monitor';
723
727
  }
728
+ /**
729
+ * Generated by JsPbCodeGenerator.
730
+ * @param {Array=} opt_data Optional initial data array, typically from a
731
+ * server response, or constructed directly in Javascript. The array is used
732
+ * in place and becomes part of the constructed object. It is not cloned.
733
+ * If no data is provided, the constructed object will be empty, but still
734
+ * valid.
735
+ * @extends {jspb.Message}
736
+ * @constructor
737
+ */
738
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire = function(opt_data) {
739
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.repeatedFields_, null);
740
+ };
741
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire, jspb.Message);
742
+ if (goog.DEBUG && !COMPILED) {
743
+ /**
744
+ * @public
745
+ * @override
746
+ */
747
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire';
748
+ }
749
+ /**
750
+ * Generated by JsPbCodeGenerator.
751
+ * @param {Array=} opt_data Optional initial data array, typically from a
752
+ * server response, or constructed directly in Javascript. The array is used
753
+ * in place and becomes part of the constructed object. It is not cloned.
754
+ * If no data is provided, the constructed object will be empty, but still
755
+ * valid.
756
+ * @extends {jspb.Message}
757
+ * @constructor
758
+ */
759
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire = function(opt_data) {
760
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
761
+ };
762
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.Firewire, jspb.Message);
763
+ if (goog.DEBUG && !COMPILED) {
764
+ /**
765
+ * @public
766
+ * @override
767
+ */
768
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.Firewire';
769
+ }
770
+ /**
771
+ * Generated by JsPbCodeGenerator.
772
+ * @param {Array=} opt_data Optional initial data array, typically from a
773
+ * server response, or constructed directly in Javascript. The array is used
774
+ * in place and becomes part of the constructed object. It is not cloned.
775
+ * If no data is provided, the constructed object will be empty, but still
776
+ * valid.
777
+ * @extends {jspb.Message}
778
+ * @constructor
779
+ */
780
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem = function(opt_data) {
781
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.repeatedFields_, null);
782
+ };
783
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.MacModem, jspb.Message);
784
+ if (goog.DEBUG && !COMPILED) {
785
+ /**
786
+ * @public
787
+ * @override
788
+ */
789
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.MacModem';
790
+ }
791
+ /**
792
+ * Generated by JsPbCodeGenerator.
793
+ * @param {Array=} opt_data Optional initial data array, typically from a
794
+ * server response, or constructed directly in Javascript. The array is used
795
+ * in place and becomes part of the constructed object. It is not cloned.
796
+ * If no data is provided, the constructed object will be empty, but still
797
+ * valid.
798
+ * @extends {jspb.Message}
799
+ * @constructor
800
+ */
801
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem = function(opt_data) {
802
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
803
+ };
804
+ goog.inherits(proto.com.lansweeper.discovery.sensor.mac.v1.Modem, jspb.Message);
805
+ if (goog.DEBUG && !COMPILED) {
806
+ /**
807
+ * @public
808
+ * @override
809
+ */
810
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.displayName = 'proto.com.lansweeper.discovery.sensor.mac.v1.Modem';
811
+ }
724
812
 
725
813
  /**
726
814
  * List of repeated fields within this message type.
@@ -14103,4 +14191,983 @@ proto.com.lansweeper.discovery.sensor.mac.v1.Monitor.prototype.hasBuiltIn = func
14103
14191
  };
14104
14192
 
14105
14193
 
14194
+
14195
+ /**
14196
+ * List of repeated fields within this message type.
14197
+ * @private {!Array<number>}
14198
+ * @const
14199
+ */
14200
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.repeatedFields_ = [1];
14201
+
14202
+
14203
+
14204
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14205
+ /**
14206
+ * Creates an object representation of this proto.
14207
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14208
+ * Optional fields that are not set will be set to undefined.
14209
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14210
+ * For the list of reserved names please see:
14211
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14212
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14213
+ * JSPB instance for transitional soy proto support:
14214
+ * http://goto/soy-param-migration
14215
+ * @return {!Object}
14216
+ */
14217
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.prototype.toObject = function(opt_includeInstance) {
14218
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.toObject(opt_includeInstance, this);
14219
+ };
14220
+
14221
+
14222
+ /**
14223
+ * Static version of the {@see toObject} method.
14224
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14225
+ * the JSPB instance for transitional soy proto support:
14226
+ * http://goto/soy-param-migration
14227
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire} msg The msg instance to transform.
14228
+ * @return {!Object}
14229
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14230
+ */
14231
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.toObject = function(includeInstance, msg) {
14232
+ var f, obj = {
14233
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
14234
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.toObject, includeInstance)
14235
+ };
14236
+
14237
+ if (includeInstance) {
14238
+ obj.$jspbMessageInstance = msg;
14239
+ }
14240
+ return obj;
14241
+ };
14242
+ }
14243
+
14244
+
14245
+ /**
14246
+ * Deserializes binary data (in protobuf wire format).
14247
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14248
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire}
14249
+ */
14250
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.deserializeBinary = function(bytes) {
14251
+ var reader = new jspb.BinaryReader(bytes);
14252
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire;
14253
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.deserializeBinaryFromReader(msg, reader);
14254
+ };
14255
+
14256
+
14257
+ /**
14258
+ * Deserializes binary data (in protobuf wire format) from the
14259
+ * given reader into the given message object.
14260
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire} msg The message object to deserialize into.
14261
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14262
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire}
14263
+ */
14264
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.deserializeBinaryFromReader = function(msg, reader) {
14265
+ while (reader.nextField()) {
14266
+ if (reader.isEndGroup()) {
14267
+ break;
14268
+ }
14269
+ var field = reader.getFieldNumber();
14270
+ switch (field) {
14271
+ case 1:
14272
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.Firewire;
14273
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.deserializeBinaryFromReader);
14274
+ msg.addEntries(value);
14275
+ break;
14276
+ default:
14277
+ reader.skipField();
14278
+ break;
14279
+ }
14280
+ }
14281
+ return msg;
14282
+ };
14283
+
14284
+
14285
+ /**
14286
+ * Serializes the message to binary data (in protobuf wire format).
14287
+ * @return {!Uint8Array}
14288
+ */
14289
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.prototype.serializeBinary = function() {
14290
+ var writer = new jspb.BinaryWriter();
14291
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.serializeBinaryToWriter(this, writer);
14292
+ return writer.getResultBuffer();
14293
+ };
14294
+
14295
+
14296
+ /**
14297
+ * Serializes the given message to binary data (in protobuf wire
14298
+ * format), writing to the given BinaryWriter.
14299
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire} message
14300
+ * @param {!jspb.BinaryWriter} writer
14301
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14302
+ */
14303
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.serializeBinaryToWriter = function(message, writer) {
14304
+ var f = undefined;
14305
+ f = message.getEntriesList();
14306
+ if (f.length > 0) {
14307
+ writer.writeRepeatedMessage(
14308
+ 1,
14309
+ f,
14310
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.serializeBinaryToWriter
14311
+ );
14312
+ }
14313
+ };
14314
+
14315
+
14316
+ /**
14317
+ * repeated Firewire entries = 1;
14318
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire>}
14319
+ */
14320
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.prototype.getEntriesList = function() {
14321
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire>} */ (
14322
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.Firewire, 1));
14323
+ };
14324
+
14325
+
14326
+ /**
14327
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire>} value
14328
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire} returns this
14329
+ */
14330
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.prototype.setEntriesList = function(value) {
14331
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
14332
+ };
14333
+
14334
+
14335
+ /**
14336
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire=} opt_value
14337
+ * @param {number=} opt_index
14338
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire}
14339
+ */
14340
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.prototype.addEntries = function(opt_value, opt_index) {
14341
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.Firewire, opt_index);
14342
+ };
14343
+
14344
+
14345
+ /**
14346
+ * Clears the list making it empty but non-null.
14347
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire} returns this
14348
+ */
14349
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacFirewire.prototype.clearEntriesList = function() {
14350
+ return this.setEntriesList([]);
14351
+ };
14352
+
14353
+
14354
+
14355
+
14356
+
14357
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14358
+ /**
14359
+ * Creates an object representation of this proto.
14360
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14361
+ * Optional fields that are not set will be set to undefined.
14362
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14363
+ * For the list of reserved names please see:
14364
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14365
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14366
+ * JSPB instance for transitional soy proto support:
14367
+ * http://goto/soy-param-migration
14368
+ * @return {!Object}
14369
+ */
14370
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.toObject = function(opt_includeInstance) {
14371
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.toObject(opt_includeInstance, this);
14372
+ };
14373
+
14374
+
14375
+ /**
14376
+ * Static version of the {@see toObject} method.
14377
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14378
+ * the JSPB instance for transitional soy proto support:
14379
+ * http://goto/soy-param-migration
14380
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire} msg The msg instance to transform.
14381
+ * @return {!Object}
14382
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14383
+ */
14384
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.toObject = function(includeInstance, msg) {
14385
+ var f, obj = {
14386
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
14387
+ maxDeviceSpeed: (f = msg.getMaxDeviceSpeed()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
14388
+ };
14389
+
14390
+ if (includeInstance) {
14391
+ obj.$jspbMessageInstance = msg;
14392
+ }
14393
+ return obj;
14394
+ };
14395
+ }
14396
+
14397
+
14398
+ /**
14399
+ * Deserializes binary data (in protobuf wire format).
14400
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14401
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire}
14402
+ */
14403
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.deserializeBinary = function(bytes) {
14404
+ var reader = new jspb.BinaryReader(bytes);
14405
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.Firewire;
14406
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.deserializeBinaryFromReader(msg, reader);
14407
+ };
14408
+
14409
+
14410
+ /**
14411
+ * Deserializes binary data (in protobuf wire format) from the
14412
+ * given reader into the given message object.
14413
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire} msg The message object to deserialize into.
14414
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14415
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire}
14416
+ */
14417
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.deserializeBinaryFromReader = function(msg, reader) {
14418
+ while (reader.nextField()) {
14419
+ if (reader.isEndGroup()) {
14420
+ break;
14421
+ }
14422
+ var field = reader.getFieldNumber();
14423
+ switch (field) {
14424
+ case 1:
14425
+ var value = new google_protobuf_wrappers_pb.StringValue;
14426
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14427
+ msg.setName(value);
14428
+ break;
14429
+ case 2:
14430
+ var value = new google_protobuf_wrappers_pb.StringValue;
14431
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14432
+ msg.setMaxDeviceSpeed(value);
14433
+ break;
14434
+ default:
14435
+ reader.skipField();
14436
+ break;
14437
+ }
14438
+ }
14439
+ return msg;
14440
+ };
14441
+
14442
+
14443
+ /**
14444
+ * Serializes the message to binary data (in protobuf wire format).
14445
+ * @return {!Uint8Array}
14446
+ */
14447
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.serializeBinary = function() {
14448
+ var writer = new jspb.BinaryWriter();
14449
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.serializeBinaryToWriter(this, writer);
14450
+ return writer.getResultBuffer();
14451
+ };
14452
+
14453
+
14454
+ /**
14455
+ * Serializes the given message to binary data (in protobuf wire
14456
+ * format), writing to the given BinaryWriter.
14457
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire} message
14458
+ * @param {!jspb.BinaryWriter} writer
14459
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14460
+ */
14461
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.serializeBinaryToWriter = function(message, writer) {
14462
+ var f = undefined;
14463
+ f = message.getName();
14464
+ if (f != null) {
14465
+ writer.writeMessage(
14466
+ 1,
14467
+ f,
14468
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14469
+ );
14470
+ }
14471
+ f = message.getMaxDeviceSpeed();
14472
+ if (f != null) {
14473
+ writer.writeMessage(
14474
+ 2,
14475
+ f,
14476
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14477
+ );
14478
+ }
14479
+ };
14480
+
14481
+
14482
+ /**
14483
+ * optional google.protobuf.StringValue name = 1;
14484
+ * @return {?proto.google.protobuf.StringValue}
14485
+ */
14486
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.getName = function() {
14487
+ return /** @type{?proto.google.protobuf.StringValue} */ (
14488
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
14489
+ };
14490
+
14491
+
14492
+ /**
14493
+ * @param {?proto.google.protobuf.StringValue|undefined} value
14494
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire} returns this
14495
+ */
14496
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.setName = function(value) {
14497
+ return jspb.Message.setWrapperField(this, 1, value);
14498
+ };
14499
+
14500
+
14501
+ /**
14502
+ * Clears the message field making it undefined.
14503
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire} returns this
14504
+ */
14505
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.clearName = function() {
14506
+ return this.setName(undefined);
14507
+ };
14508
+
14509
+
14510
+ /**
14511
+ * Returns whether this field is set.
14512
+ * @return {boolean}
14513
+ */
14514
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.hasName = function() {
14515
+ return jspb.Message.getField(this, 1) != null;
14516
+ };
14517
+
14518
+
14519
+ /**
14520
+ * optional google.protobuf.StringValue max_device_speed = 2;
14521
+ * @return {?proto.google.protobuf.StringValue}
14522
+ */
14523
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.getMaxDeviceSpeed = function() {
14524
+ return /** @type{?proto.google.protobuf.StringValue} */ (
14525
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
14526
+ };
14527
+
14528
+
14529
+ /**
14530
+ * @param {?proto.google.protobuf.StringValue|undefined} value
14531
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire} returns this
14532
+ */
14533
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.setMaxDeviceSpeed = function(value) {
14534
+ return jspb.Message.setWrapperField(this, 2, value);
14535
+ };
14536
+
14537
+
14538
+ /**
14539
+ * Clears the message field making it undefined.
14540
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Firewire} returns this
14541
+ */
14542
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.clearMaxDeviceSpeed = function() {
14543
+ return this.setMaxDeviceSpeed(undefined);
14544
+ };
14545
+
14546
+
14547
+ /**
14548
+ * Returns whether this field is set.
14549
+ * @return {boolean}
14550
+ */
14551
+ proto.com.lansweeper.discovery.sensor.mac.v1.Firewire.prototype.hasMaxDeviceSpeed = function() {
14552
+ return jspb.Message.getField(this, 2) != null;
14553
+ };
14554
+
14555
+
14556
+
14557
+ /**
14558
+ * List of repeated fields within this message type.
14559
+ * @private {!Array<number>}
14560
+ * @const
14561
+ */
14562
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.repeatedFields_ = [1];
14563
+
14564
+
14565
+
14566
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14567
+ /**
14568
+ * Creates an object representation of this proto.
14569
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14570
+ * Optional fields that are not set will be set to undefined.
14571
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14572
+ * For the list of reserved names please see:
14573
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14574
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14575
+ * JSPB instance for transitional soy proto support:
14576
+ * http://goto/soy-param-migration
14577
+ * @return {!Object}
14578
+ */
14579
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.prototype.toObject = function(opt_includeInstance) {
14580
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.toObject(opt_includeInstance, this);
14581
+ };
14582
+
14583
+
14584
+ /**
14585
+ * Static version of the {@see toObject} method.
14586
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14587
+ * the JSPB instance for transitional soy proto support:
14588
+ * http://goto/soy-param-migration
14589
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacModem} msg The msg instance to transform.
14590
+ * @return {!Object}
14591
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14592
+ */
14593
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.toObject = function(includeInstance, msg) {
14594
+ var f, obj = {
14595
+ entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
14596
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.toObject, includeInstance)
14597
+ };
14598
+
14599
+ if (includeInstance) {
14600
+ obj.$jspbMessageInstance = msg;
14601
+ }
14602
+ return obj;
14603
+ };
14604
+ }
14605
+
14606
+
14607
+ /**
14608
+ * Deserializes binary data (in protobuf wire format).
14609
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14610
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacModem}
14611
+ */
14612
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.deserializeBinary = function(bytes) {
14613
+ var reader = new jspb.BinaryReader(bytes);
14614
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.MacModem;
14615
+ return proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.deserializeBinaryFromReader(msg, reader);
14616
+ };
14617
+
14618
+
14619
+ /**
14620
+ * Deserializes binary data (in protobuf wire format) from the
14621
+ * given reader into the given message object.
14622
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacModem} msg The message object to deserialize into.
14623
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14624
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacModem}
14625
+ */
14626
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.deserializeBinaryFromReader = function(msg, reader) {
14627
+ while (reader.nextField()) {
14628
+ if (reader.isEndGroup()) {
14629
+ break;
14630
+ }
14631
+ var field = reader.getFieldNumber();
14632
+ switch (field) {
14633
+ case 1:
14634
+ var value = new proto.com.lansweeper.discovery.sensor.mac.v1.Modem;
14635
+ reader.readMessage(value,proto.com.lansweeper.discovery.sensor.mac.v1.Modem.deserializeBinaryFromReader);
14636
+ msg.addEntries(value);
14637
+ break;
14638
+ default:
14639
+ reader.skipField();
14640
+ break;
14641
+ }
14642
+ }
14643
+ return msg;
14644
+ };
14645
+
14646
+
14647
+ /**
14648
+ * Serializes the message to binary data (in protobuf wire format).
14649
+ * @return {!Uint8Array}
14650
+ */
14651
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.prototype.serializeBinary = function() {
14652
+ var writer = new jspb.BinaryWriter();
14653
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.serializeBinaryToWriter(this, writer);
14654
+ return writer.getResultBuffer();
14655
+ };
14656
+
14657
+
14658
+ /**
14659
+ * Serializes the given message to binary data (in protobuf wire
14660
+ * format), writing to the given BinaryWriter.
14661
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.MacModem} message
14662
+ * @param {!jspb.BinaryWriter} writer
14663
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14664
+ */
14665
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.serializeBinaryToWriter = function(message, writer) {
14666
+ var f = undefined;
14667
+ f = message.getEntriesList();
14668
+ if (f.length > 0) {
14669
+ writer.writeRepeatedMessage(
14670
+ 1,
14671
+ f,
14672
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.serializeBinaryToWriter
14673
+ );
14674
+ }
14675
+ };
14676
+
14677
+
14678
+ /**
14679
+ * repeated Modem entries = 1;
14680
+ * @return {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Modem>}
14681
+ */
14682
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.prototype.getEntriesList = function() {
14683
+ return /** @type{!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Modem>} */ (
14684
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.discovery.sensor.mac.v1.Modem, 1));
14685
+ };
14686
+
14687
+
14688
+ /**
14689
+ * @param {!Array<!proto.com.lansweeper.discovery.sensor.mac.v1.Modem>} value
14690
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacModem} returns this
14691
+ */
14692
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.prototype.setEntriesList = function(value) {
14693
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
14694
+ };
14695
+
14696
+
14697
+ /**
14698
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem=} opt_value
14699
+ * @param {number=} opt_index
14700
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem}
14701
+ */
14702
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.prototype.addEntries = function(opt_value, opt_index) {
14703
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.com.lansweeper.discovery.sensor.mac.v1.Modem, opt_index);
14704
+ };
14705
+
14706
+
14707
+ /**
14708
+ * Clears the list making it empty but non-null.
14709
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.MacModem} returns this
14710
+ */
14711
+ proto.com.lansweeper.discovery.sensor.mac.v1.MacModem.prototype.clearEntriesList = function() {
14712
+ return this.setEntriesList([]);
14713
+ };
14714
+
14715
+
14716
+
14717
+
14718
+
14719
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14720
+ /**
14721
+ * Creates an object representation of this proto.
14722
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14723
+ * Optional fields that are not set will be set to undefined.
14724
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14725
+ * For the list of reserved names please see:
14726
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14727
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14728
+ * JSPB instance for transitional soy proto support:
14729
+ * http://goto/soy-param-migration
14730
+ * @return {!Object}
14731
+ */
14732
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.toObject = function(opt_includeInstance) {
14733
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Modem.toObject(opt_includeInstance, this);
14734
+ };
14735
+
14736
+
14737
+ /**
14738
+ * Static version of the {@see toObject} method.
14739
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14740
+ * the JSPB instance for transitional soy proto support:
14741
+ * http://goto/soy-param-migration
14742
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} msg The msg instance to transform.
14743
+ * @return {!Object}
14744
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14745
+ */
14746
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.toObject = function(includeInstance, msg) {
14747
+ var f, obj = {
14748
+ name: (f = msg.getName()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
14749
+ countryInfo: (f = msg.getCountryInfo()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
14750
+ driverInfo: (f = msg.getDriverInfo()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
14751
+ hwVersion: (f = msg.getHwVersion()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
14752
+ interfaceType: (f = msg.getInterfaceType()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
14753
+ model: (f = msg.getModel()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
14754
+ modulation: (f = msg.getModulation()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f)
14755
+ };
14756
+
14757
+ if (includeInstance) {
14758
+ obj.$jspbMessageInstance = msg;
14759
+ }
14760
+ return obj;
14761
+ };
14762
+ }
14763
+
14764
+
14765
+ /**
14766
+ * Deserializes binary data (in protobuf wire format).
14767
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14768
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem}
14769
+ */
14770
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.deserializeBinary = function(bytes) {
14771
+ var reader = new jspb.BinaryReader(bytes);
14772
+ var msg = new proto.com.lansweeper.discovery.sensor.mac.v1.Modem;
14773
+ return proto.com.lansweeper.discovery.sensor.mac.v1.Modem.deserializeBinaryFromReader(msg, reader);
14774
+ };
14775
+
14776
+
14777
+ /**
14778
+ * Deserializes binary data (in protobuf wire format) from the
14779
+ * given reader into the given message object.
14780
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} msg The message object to deserialize into.
14781
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14782
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem}
14783
+ */
14784
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.deserializeBinaryFromReader = function(msg, reader) {
14785
+ while (reader.nextField()) {
14786
+ if (reader.isEndGroup()) {
14787
+ break;
14788
+ }
14789
+ var field = reader.getFieldNumber();
14790
+ switch (field) {
14791
+ case 1:
14792
+ var value = new google_protobuf_wrappers_pb.StringValue;
14793
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14794
+ msg.setName(value);
14795
+ break;
14796
+ case 2:
14797
+ var value = new google_protobuf_wrappers_pb.StringValue;
14798
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14799
+ msg.setCountryInfo(value);
14800
+ break;
14801
+ case 3:
14802
+ var value = new google_protobuf_wrappers_pb.StringValue;
14803
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14804
+ msg.setDriverInfo(value);
14805
+ break;
14806
+ case 4:
14807
+ var value = new google_protobuf_wrappers_pb.StringValue;
14808
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14809
+ msg.setHwVersion(value);
14810
+ break;
14811
+ case 5:
14812
+ var value = new google_protobuf_wrappers_pb.StringValue;
14813
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14814
+ msg.setInterfaceType(value);
14815
+ break;
14816
+ case 6:
14817
+ var value = new google_protobuf_wrappers_pb.StringValue;
14818
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14819
+ msg.setModel(value);
14820
+ break;
14821
+ case 7:
14822
+ var value = new google_protobuf_wrappers_pb.StringValue;
14823
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
14824
+ msg.setModulation(value);
14825
+ break;
14826
+ default:
14827
+ reader.skipField();
14828
+ break;
14829
+ }
14830
+ }
14831
+ return msg;
14832
+ };
14833
+
14834
+
14835
+ /**
14836
+ * Serializes the message to binary data (in protobuf wire format).
14837
+ * @return {!Uint8Array}
14838
+ */
14839
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.serializeBinary = function() {
14840
+ var writer = new jspb.BinaryWriter();
14841
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.serializeBinaryToWriter(this, writer);
14842
+ return writer.getResultBuffer();
14843
+ };
14844
+
14845
+
14846
+ /**
14847
+ * Serializes the given message to binary data (in protobuf wire
14848
+ * format), writing to the given BinaryWriter.
14849
+ * @param {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} message
14850
+ * @param {!jspb.BinaryWriter} writer
14851
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14852
+ */
14853
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.serializeBinaryToWriter = function(message, writer) {
14854
+ var f = undefined;
14855
+ f = message.getName();
14856
+ if (f != null) {
14857
+ writer.writeMessage(
14858
+ 1,
14859
+ f,
14860
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14861
+ );
14862
+ }
14863
+ f = message.getCountryInfo();
14864
+ if (f != null) {
14865
+ writer.writeMessage(
14866
+ 2,
14867
+ f,
14868
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14869
+ );
14870
+ }
14871
+ f = message.getDriverInfo();
14872
+ if (f != null) {
14873
+ writer.writeMessage(
14874
+ 3,
14875
+ f,
14876
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14877
+ );
14878
+ }
14879
+ f = message.getHwVersion();
14880
+ if (f != null) {
14881
+ writer.writeMessage(
14882
+ 4,
14883
+ f,
14884
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14885
+ );
14886
+ }
14887
+ f = message.getInterfaceType();
14888
+ if (f != null) {
14889
+ writer.writeMessage(
14890
+ 5,
14891
+ f,
14892
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14893
+ );
14894
+ }
14895
+ f = message.getModel();
14896
+ if (f != null) {
14897
+ writer.writeMessage(
14898
+ 6,
14899
+ f,
14900
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14901
+ );
14902
+ }
14903
+ f = message.getModulation();
14904
+ if (f != null) {
14905
+ writer.writeMessage(
14906
+ 7,
14907
+ f,
14908
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
14909
+ );
14910
+ }
14911
+ };
14912
+
14913
+
14914
+ /**
14915
+ * optional google.protobuf.StringValue name = 1;
14916
+ * @return {?proto.google.protobuf.StringValue}
14917
+ */
14918
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.getName = function() {
14919
+ return /** @type{?proto.google.protobuf.StringValue} */ (
14920
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
14921
+ };
14922
+
14923
+
14924
+ /**
14925
+ * @param {?proto.google.protobuf.StringValue|undefined} value
14926
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
14927
+ */
14928
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.setName = function(value) {
14929
+ return jspb.Message.setWrapperField(this, 1, value);
14930
+ };
14931
+
14932
+
14933
+ /**
14934
+ * Clears the message field making it undefined.
14935
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
14936
+ */
14937
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.clearName = function() {
14938
+ return this.setName(undefined);
14939
+ };
14940
+
14941
+
14942
+ /**
14943
+ * Returns whether this field is set.
14944
+ * @return {boolean}
14945
+ */
14946
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.hasName = function() {
14947
+ return jspb.Message.getField(this, 1) != null;
14948
+ };
14949
+
14950
+
14951
+ /**
14952
+ * optional google.protobuf.StringValue country_info = 2;
14953
+ * @return {?proto.google.protobuf.StringValue}
14954
+ */
14955
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.getCountryInfo = function() {
14956
+ return /** @type{?proto.google.protobuf.StringValue} */ (
14957
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 2));
14958
+ };
14959
+
14960
+
14961
+ /**
14962
+ * @param {?proto.google.protobuf.StringValue|undefined} value
14963
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
14964
+ */
14965
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.setCountryInfo = function(value) {
14966
+ return jspb.Message.setWrapperField(this, 2, value);
14967
+ };
14968
+
14969
+
14970
+ /**
14971
+ * Clears the message field making it undefined.
14972
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
14973
+ */
14974
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.clearCountryInfo = function() {
14975
+ return this.setCountryInfo(undefined);
14976
+ };
14977
+
14978
+
14979
+ /**
14980
+ * Returns whether this field is set.
14981
+ * @return {boolean}
14982
+ */
14983
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.hasCountryInfo = function() {
14984
+ return jspb.Message.getField(this, 2) != null;
14985
+ };
14986
+
14987
+
14988
+ /**
14989
+ * optional google.protobuf.StringValue driver_info = 3;
14990
+ * @return {?proto.google.protobuf.StringValue}
14991
+ */
14992
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.getDriverInfo = function() {
14993
+ return /** @type{?proto.google.protobuf.StringValue} */ (
14994
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 3));
14995
+ };
14996
+
14997
+
14998
+ /**
14999
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15000
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15001
+ */
15002
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.setDriverInfo = function(value) {
15003
+ return jspb.Message.setWrapperField(this, 3, value);
15004
+ };
15005
+
15006
+
15007
+ /**
15008
+ * Clears the message field making it undefined.
15009
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15010
+ */
15011
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.clearDriverInfo = function() {
15012
+ return this.setDriverInfo(undefined);
15013
+ };
15014
+
15015
+
15016
+ /**
15017
+ * Returns whether this field is set.
15018
+ * @return {boolean}
15019
+ */
15020
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.hasDriverInfo = function() {
15021
+ return jspb.Message.getField(this, 3) != null;
15022
+ };
15023
+
15024
+
15025
+ /**
15026
+ * optional google.protobuf.StringValue hw_version = 4;
15027
+ * @return {?proto.google.protobuf.StringValue}
15028
+ */
15029
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.getHwVersion = function() {
15030
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15031
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 4));
15032
+ };
15033
+
15034
+
15035
+ /**
15036
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15037
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15038
+ */
15039
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.setHwVersion = function(value) {
15040
+ return jspb.Message.setWrapperField(this, 4, value);
15041
+ };
15042
+
15043
+
15044
+ /**
15045
+ * Clears the message field making it undefined.
15046
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15047
+ */
15048
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.clearHwVersion = function() {
15049
+ return this.setHwVersion(undefined);
15050
+ };
15051
+
15052
+
15053
+ /**
15054
+ * Returns whether this field is set.
15055
+ * @return {boolean}
15056
+ */
15057
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.hasHwVersion = function() {
15058
+ return jspb.Message.getField(this, 4) != null;
15059
+ };
15060
+
15061
+
15062
+ /**
15063
+ * optional google.protobuf.StringValue interface_type = 5;
15064
+ * @return {?proto.google.protobuf.StringValue}
15065
+ */
15066
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.getInterfaceType = function() {
15067
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15068
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 5));
15069
+ };
15070
+
15071
+
15072
+ /**
15073
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15074
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15075
+ */
15076
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.setInterfaceType = function(value) {
15077
+ return jspb.Message.setWrapperField(this, 5, value);
15078
+ };
15079
+
15080
+
15081
+ /**
15082
+ * Clears the message field making it undefined.
15083
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15084
+ */
15085
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.clearInterfaceType = function() {
15086
+ return this.setInterfaceType(undefined);
15087
+ };
15088
+
15089
+
15090
+ /**
15091
+ * Returns whether this field is set.
15092
+ * @return {boolean}
15093
+ */
15094
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.hasInterfaceType = function() {
15095
+ return jspb.Message.getField(this, 5) != null;
15096
+ };
15097
+
15098
+
15099
+ /**
15100
+ * optional google.protobuf.StringValue model = 6;
15101
+ * @return {?proto.google.protobuf.StringValue}
15102
+ */
15103
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.getModel = function() {
15104
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15105
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 6));
15106
+ };
15107
+
15108
+
15109
+ /**
15110
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15111
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15112
+ */
15113
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.setModel = function(value) {
15114
+ return jspb.Message.setWrapperField(this, 6, value);
15115
+ };
15116
+
15117
+
15118
+ /**
15119
+ * Clears the message field making it undefined.
15120
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15121
+ */
15122
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.clearModel = function() {
15123
+ return this.setModel(undefined);
15124
+ };
15125
+
15126
+
15127
+ /**
15128
+ * Returns whether this field is set.
15129
+ * @return {boolean}
15130
+ */
15131
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.hasModel = function() {
15132
+ return jspb.Message.getField(this, 6) != null;
15133
+ };
15134
+
15135
+
15136
+ /**
15137
+ * optional google.protobuf.StringValue modulation = 7;
15138
+ * @return {?proto.google.protobuf.StringValue}
15139
+ */
15140
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.getModulation = function() {
15141
+ return /** @type{?proto.google.protobuf.StringValue} */ (
15142
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 7));
15143
+ };
15144
+
15145
+
15146
+ /**
15147
+ * @param {?proto.google.protobuf.StringValue|undefined} value
15148
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15149
+ */
15150
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.setModulation = function(value) {
15151
+ return jspb.Message.setWrapperField(this, 7, value);
15152
+ };
15153
+
15154
+
15155
+ /**
15156
+ * Clears the message field making it undefined.
15157
+ * @return {!proto.com.lansweeper.discovery.sensor.mac.v1.Modem} returns this
15158
+ */
15159
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.clearModulation = function() {
15160
+ return this.setModulation(undefined);
15161
+ };
15162
+
15163
+
15164
+ /**
15165
+ * Returns whether this field is set.
15166
+ * @return {boolean}
15167
+ */
15168
+ proto.com.lansweeper.discovery.sensor.mac.v1.Modem.prototype.hasModulation = function() {
15169
+ return jspb.Message.getField(this, 7) != null;
15170
+ };
15171
+
15172
+
14106
15173
  goog.object.extend(exports, proto.com.lansweeper.discovery.sensor.mac.v1);