@lansweeper/data-platform-outbound-grpc 0.1.38 → 0.1.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,6 +40,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.GetEntityResponse', null,
40
40
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.GraphicsCard', null, global);
41
41
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.HardDrive', null, global);
42
42
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.HardwareInfo', null, global);
43
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Keyboard', null, global);
43
44
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.LinuxOperatingSystemInfo', null, global);
44
45
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ListEntityRequest', null, global);
45
46
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ListEntityResponse', null, global);
@@ -62,11 +63,13 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OpticalDrive', null, glob
62
63
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtModule', null, global);
63
64
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.OtModuleExtInfo', null, global);
64
65
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.PhysicalMemory', null, global);
66
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.PointingDevice', null, global);
65
67
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Processor', null, global);
66
68
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.RawSoftware', null, global);
67
69
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Relation', null, global);
68
70
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Software', null, global);
69
71
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareInventory', null, global);
72
+ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoundCard', null, global);
70
73
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SpecHardwareInfo', null, global);
71
74
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Tag', null, global);
72
75
  goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.WindowsMonitorInfo', null, global);
@@ -680,6 +683,69 @@ if (goog.DEBUG && !COMPILED) {
680
683
  */
681
684
  proto.com.lansweeper.dp.outbound.v1.HardDrive.displayName = 'proto.com.lansweeper.dp.outbound.v1.HardDrive';
682
685
  }
686
+ /**
687
+ * Generated by JsPbCodeGenerator.
688
+ * @param {Array=} opt_data Optional initial data array, typically from a
689
+ * server response, or constructed directly in Javascript. The array is used
690
+ * in place and becomes part of the constructed object. It is not cloned.
691
+ * If no data is provided, the constructed object will be empty, but still
692
+ * valid.
693
+ * @extends {jspb.Message}
694
+ * @constructor
695
+ */
696
+ proto.com.lansweeper.dp.outbound.v1.Keyboard = function(opt_data) {
697
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
698
+ };
699
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.Keyboard, jspb.Message);
700
+ if (goog.DEBUG && !COMPILED) {
701
+ /**
702
+ * @public
703
+ * @override
704
+ */
705
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.displayName = 'proto.com.lansweeper.dp.outbound.v1.Keyboard';
706
+ }
707
+ /**
708
+ * Generated by JsPbCodeGenerator.
709
+ * @param {Array=} opt_data Optional initial data array, typically from a
710
+ * server response, or constructed directly in Javascript. The array is used
711
+ * in place and becomes part of the constructed object. It is not cloned.
712
+ * If no data is provided, the constructed object will be empty, but still
713
+ * valid.
714
+ * @extends {jspb.Message}
715
+ * @constructor
716
+ */
717
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice = function(opt_data) {
718
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
719
+ };
720
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.PointingDevice, jspb.Message);
721
+ if (goog.DEBUG && !COMPILED) {
722
+ /**
723
+ * @public
724
+ * @override
725
+ */
726
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.displayName = 'proto.com.lansweeper.dp.outbound.v1.PointingDevice';
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.dp.outbound.v1.SoundCard = function(opt_data) {
739
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
740
+ };
741
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.SoundCard, jspb.Message);
742
+ if (goog.DEBUG && !COMPILED) {
743
+ /**
744
+ * @public
745
+ * @override
746
+ */
747
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.displayName = 'proto.com.lansweeper.dp.outbound.v1.SoundCard';
748
+ }
683
749
  /**
684
750
  * Generated by JsPbCodeGenerator.
685
751
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3188,7 +3254,7 @@ proto.com.lansweeper.dp.outbound.v1.Entity.prototype.hasAsset = function() {
3188
3254
  * @private {!Array<number>}
3189
3255
  * @const
3190
3256
  */
3191
- proto.com.lansweeper.dp.outbound.v1.Asset.repeatedFields_ = [14,20,26,13,15,24,25,27];
3257
+ proto.com.lansweeper.dp.outbound.v1.Asset.repeatedFields_ = [14,20,26,13,15,24,25,27,30,28,29];
3192
3258
 
3193
3259
 
3194
3260
 
@@ -3252,6 +3318,12 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
3252
3318
  proto.com.lansweeper.dp.outbound.v1.HardDrive.toObject, includeInstance),
3253
3319
  graphicsCardList: jspb.Message.toObjectList(msg.getGraphicsCardList(),
3254
3320
  proto.com.lansweeper.dp.outbound.v1.GraphicsCard.toObject, includeInstance),
3321
+ soundCardList: jspb.Message.toObjectList(msg.getSoundCardList(),
3322
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.toObject, includeInstance),
3323
+ keyboardList: jspb.Message.toObjectList(msg.getKeyboardList(),
3324
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.toObject, includeInstance),
3325
+ pointingDeviceList: jspb.Message.toObjectList(msg.getPointingDeviceList(),
3326
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.toObject, includeInstance),
3255
3327
  otModule: (f = msg.getOtModule()) && proto.com.lansweeper.dp.outbound.v1.OtModule.toObject(includeInstance, f),
3256
3328
  cloud: (f = msg.getCloud()) && proto.com.lansweeper.dp.outbound.v1.CloudEntity.toObject(includeInstance, f)
3257
3329
  };
@@ -3404,6 +3476,21 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
3404
3476
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.GraphicsCard.deserializeBinaryFromReader);
3405
3477
  msg.addGraphicsCard(value);
3406
3478
  break;
3479
+ case 30:
3480
+ var value = new proto.com.lansweeper.dp.outbound.v1.SoundCard;
3481
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SoundCard.deserializeBinaryFromReader);
3482
+ msg.addSoundCard(value);
3483
+ break;
3484
+ case 28:
3485
+ var value = new proto.com.lansweeper.dp.outbound.v1.Keyboard;
3486
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Keyboard.deserializeBinaryFromReader);
3487
+ msg.addKeyboard(value);
3488
+ break;
3489
+ case 29:
3490
+ var value = new proto.com.lansweeper.dp.outbound.v1.PointingDevice;
3491
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.PointingDevice.deserializeBinaryFromReader);
3492
+ msg.addPointingDevice(value);
3493
+ break;
3407
3494
  case 16:
3408
3495
  var value = new proto.com.lansweeper.dp.outbound.v1.OtModule;
3409
3496
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinaryFromReader);
@@ -3626,6 +3713,30 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
3626
3713
  proto.com.lansweeper.dp.outbound.v1.GraphicsCard.serializeBinaryToWriter
3627
3714
  );
3628
3715
  }
3716
+ f = message.getSoundCardList();
3717
+ if (f.length > 0) {
3718
+ writer.writeRepeatedMessage(
3719
+ 30,
3720
+ f,
3721
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.serializeBinaryToWriter
3722
+ );
3723
+ }
3724
+ f = message.getKeyboardList();
3725
+ if (f.length > 0) {
3726
+ writer.writeRepeatedMessage(
3727
+ 28,
3728
+ f,
3729
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.serializeBinaryToWriter
3730
+ );
3731
+ }
3732
+ f = message.getPointingDeviceList();
3733
+ if (f.length > 0) {
3734
+ writer.writeRepeatedMessage(
3735
+ 29,
3736
+ f,
3737
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.serializeBinaryToWriter
3738
+ );
3739
+ }
3629
3740
  f = message.getOtModule();
3630
3741
  if (f != null) {
3631
3742
  writer.writeMessage(
@@ -4503,6 +4614,120 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearGraphicsCardList = func
4503
4614
  };
4504
4615
 
4505
4616
 
4617
+ /**
4618
+ * repeated SoundCard sound_card = 30;
4619
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.SoundCard>}
4620
+ */
4621
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getSoundCardList = function() {
4622
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.SoundCard>} */ (
4623
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SoundCard, 30));
4624
+ };
4625
+
4626
+
4627
+ /**
4628
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.SoundCard>} value
4629
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
4630
+ */
4631
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setSoundCardList = function(value) {
4632
+ return jspb.Message.setRepeatedWrapperField(this, 30, value);
4633
+ };
4634
+
4635
+
4636
+ /**
4637
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SoundCard=} opt_value
4638
+ * @param {number=} opt_index
4639
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard}
4640
+ */
4641
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.addSoundCard = function(opt_value, opt_index) {
4642
+ return jspb.Message.addToRepeatedWrapperField(this, 30, opt_value, proto.com.lansweeper.dp.outbound.v1.SoundCard, opt_index);
4643
+ };
4644
+
4645
+
4646
+ /**
4647
+ * Clears the list making it empty but non-null.
4648
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
4649
+ */
4650
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearSoundCardList = function() {
4651
+ return this.setSoundCardList([]);
4652
+ };
4653
+
4654
+
4655
+ /**
4656
+ * repeated Keyboard keyboard = 28;
4657
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.Keyboard>}
4658
+ */
4659
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getKeyboardList = function() {
4660
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.Keyboard>} */ (
4661
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Keyboard, 28));
4662
+ };
4663
+
4664
+
4665
+ /**
4666
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.Keyboard>} value
4667
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
4668
+ */
4669
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setKeyboardList = function(value) {
4670
+ return jspb.Message.setRepeatedWrapperField(this, 28, value);
4671
+ };
4672
+
4673
+
4674
+ /**
4675
+ * @param {!proto.com.lansweeper.dp.outbound.v1.Keyboard=} opt_value
4676
+ * @param {number=} opt_index
4677
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard}
4678
+ */
4679
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.addKeyboard = function(opt_value, opt_index) {
4680
+ return jspb.Message.addToRepeatedWrapperField(this, 28, opt_value, proto.com.lansweeper.dp.outbound.v1.Keyboard, opt_index);
4681
+ };
4682
+
4683
+
4684
+ /**
4685
+ * Clears the list making it empty but non-null.
4686
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
4687
+ */
4688
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearKeyboardList = function() {
4689
+ return this.setKeyboardList([]);
4690
+ };
4691
+
4692
+
4693
+ /**
4694
+ * repeated PointingDevice pointing_device = 29;
4695
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.PointingDevice>}
4696
+ */
4697
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getPointingDeviceList = function() {
4698
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.PointingDevice>} */ (
4699
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.PointingDevice, 29));
4700
+ };
4701
+
4702
+
4703
+ /**
4704
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.PointingDevice>} value
4705
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
4706
+ */
4707
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setPointingDeviceList = function(value) {
4708
+ return jspb.Message.setRepeatedWrapperField(this, 29, value);
4709
+ };
4710
+
4711
+
4712
+ /**
4713
+ * @param {!proto.com.lansweeper.dp.outbound.v1.PointingDevice=} opt_value
4714
+ * @param {number=} opt_index
4715
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice}
4716
+ */
4717
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.addPointingDevice = function(opt_value, opt_index) {
4718
+ return jspb.Message.addToRepeatedWrapperField(this, 29, opt_value, proto.com.lansweeper.dp.outbound.v1.PointingDevice, opt_index);
4719
+ };
4720
+
4721
+
4722
+ /**
4723
+ * Clears the list making it empty but non-null.
4724
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
4725
+ */
4726
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearPointingDeviceList = function() {
4727
+ return this.setPointingDeviceList([]);
4728
+ };
4729
+
4730
+
4506
4731
  /**
4507
4732
  * optional OtModule ot_module = 16;
4508
4733
  * @return {?proto.com.lansweeper.dp.outbound.v1.OtModule}
@@ -16178,6 +16403,1470 @@ proto.com.lansweeper.dp.outbound.v1.HardDrive.prototype.hasMountedOn = function(
16178
16403
 
16179
16404
 
16180
16405
 
16406
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16407
+ /**
16408
+ * Creates an object representation of this proto.
16409
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16410
+ * Optional fields that are not set will be set to undefined.
16411
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16412
+ * For the list of reserved names please see:
16413
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16414
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16415
+ * JSPB instance for transitional soy proto support:
16416
+ * http://goto/soy-param-migration
16417
+ * @return {!Object}
16418
+ */
16419
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.toObject = function(opt_includeInstance) {
16420
+ return proto.com.lansweeper.dp.outbound.v1.Keyboard.toObject(opt_includeInstance, this);
16421
+ };
16422
+
16423
+
16424
+ /**
16425
+ * Static version of the {@see toObject} method.
16426
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16427
+ * the JSPB instance for transitional soy proto support:
16428
+ * http://goto/soy-param-migration
16429
+ * @param {!proto.com.lansweeper.dp.outbound.v1.Keyboard} msg The msg instance to transform.
16430
+ * @return {!Object}
16431
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16432
+ */
16433
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.toObject = function(includeInstance, msg) {
16434
+ var f, obj = {
16435
+ configManagerErrorCode: (f = msg.getConfigManagerErrorCode()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
16436
+ configManagerUserConfig: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
16437
+ description: jspb.Message.getFieldWithDefault(msg, 3, ""),
16438
+ deviceId: jspb.Message.getFieldWithDefault(msg, 4, ""),
16439
+ layout: jspb.Message.getFieldWithDefault(msg, 5, ""),
16440
+ numberOfFunctionKeys: jspb.Message.getFieldWithDefault(msg, 6, 0)
16441
+ };
16442
+
16443
+ if (includeInstance) {
16444
+ obj.$jspbMessageInstance = msg;
16445
+ }
16446
+ return obj;
16447
+ };
16448
+ }
16449
+
16450
+
16451
+ /**
16452
+ * Deserializes binary data (in protobuf wire format).
16453
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16454
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard}
16455
+ */
16456
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.deserializeBinary = function(bytes) {
16457
+ var reader = new jspb.BinaryReader(bytes);
16458
+ var msg = new proto.com.lansweeper.dp.outbound.v1.Keyboard;
16459
+ return proto.com.lansweeper.dp.outbound.v1.Keyboard.deserializeBinaryFromReader(msg, reader);
16460
+ };
16461
+
16462
+
16463
+ /**
16464
+ * Deserializes binary data (in protobuf wire format) from the
16465
+ * given reader into the given message object.
16466
+ * @param {!proto.com.lansweeper.dp.outbound.v1.Keyboard} msg The message object to deserialize into.
16467
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16468
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard}
16469
+ */
16470
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.deserializeBinaryFromReader = function(msg, reader) {
16471
+ while (reader.nextField()) {
16472
+ if (reader.isEndGroup()) {
16473
+ break;
16474
+ }
16475
+ var field = reader.getFieldNumber();
16476
+ switch (field) {
16477
+ case 1:
16478
+ var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
16479
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
16480
+ msg.setConfigManagerErrorCode(value);
16481
+ break;
16482
+ case 2:
16483
+ var value = /** @type {boolean} */ (reader.readBool());
16484
+ msg.setConfigManagerUserConfig(value);
16485
+ break;
16486
+ case 3:
16487
+ var value = /** @type {string} */ (reader.readString());
16488
+ msg.setDescription(value);
16489
+ break;
16490
+ case 4:
16491
+ var value = /** @type {string} */ (reader.readString());
16492
+ msg.setDeviceId(value);
16493
+ break;
16494
+ case 5:
16495
+ var value = /** @type {string} */ (reader.readString());
16496
+ msg.setLayout(value);
16497
+ break;
16498
+ case 6:
16499
+ var value = /** @type {number} */ (reader.readInt32());
16500
+ msg.setNumberOfFunctionKeys(value);
16501
+ break;
16502
+ default:
16503
+ reader.skipField();
16504
+ break;
16505
+ }
16506
+ }
16507
+ return msg;
16508
+ };
16509
+
16510
+
16511
+ /**
16512
+ * Serializes the message to binary data (in protobuf wire format).
16513
+ * @return {!Uint8Array}
16514
+ */
16515
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.serializeBinary = function() {
16516
+ var writer = new jspb.BinaryWriter();
16517
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.serializeBinaryToWriter(this, writer);
16518
+ return writer.getResultBuffer();
16519
+ };
16520
+
16521
+
16522
+ /**
16523
+ * Serializes the given message to binary data (in protobuf wire
16524
+ * format), writing to the given BinaryWriter.
16525
+ * @param {!proto.com.lansweeper.dp.outbound.v1.Keyboard} message
16526
+ * @param {!jspb.BinaryWriter} writer
16527
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16528
+ */
16529
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.serializeBinaryToWriter = function(message, writer) {
16530
+ var f = undefined;
16531
+ f = message.getConfigManagerErrorCode();
16532
+ if (f != null) {
16533
+ writer.writeMessage(
16534
+ 1,
16535
+ f,
16536
+ proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
16537
+ );
16538
+ }
16539
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
16540
+ if (f != null) {
16541
+ writer.writeBool(
16542
+ 2,
16543
+ f
16544
+ );
16545
+ }
16546
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
16547
+ if (f != null) {
16548
+ writer.writeString(
16549
+ 3,
16550
+ f
16551
+ );
16552
+ }
16553
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
16554
+ if (f != null) {
16555
+ writer.writeString(
16556
+ 4,
16557
+ f
16558
+ );
16559
+ }
16560
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
16561
+ if (f != null) {
16562
+ writer.writeString(
16563
+ 5,
16564
+ f
16565
+ );
16566
+ }
16567
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
16568
+ if (f != null) {
16569
+ writer.writeInt32(
16570
+ 6,
16571
+ f
16572
+ );
16573
+ }
16574
+ };
16575
+
16576
+
16577
+ /**
16578
+ * optional MappedValue config_manager_error_code = 1;
16579
+ * @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
16580
+ */
16581
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.getConfigManagerErrorCode = function() {
16582
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
16583
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 1));
16584
+ };
16585
+
16586
+
16587
+ /**
16588
+ * @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
16589
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16590
+ */
16591
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.setConfigManagerErrorCode = function(value) {
16592
+ return jspb.Message.setWrapperField(this, 1, value);
16593
+ };
16594
+
16595
+
16596
+ /**
16597
+ * Clears the message field making it undefined.
16598
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16599
+ */
16600
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.clearConfigManagerErrorCode = function() {
16601
+ return this.setConfigManagerErrorCode(undefined);
16602
+ };
16603
+
16604
+
16605
+ /**
16606
+ * Returns whether this field is set.
16607
+ * @return {boolean}
16608
+ */
16609
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.hasConfigManagerErrorCode = function() {
16610
+ return jspb.Message.getField(this, 1) != null;
16611
+ };
16612
+
16613
+
16614
+ /**
16615
+ * optional bool config_manager_user_config = 2;
16616
+ * @return {boolean}
16617
+ */
16618
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.getConfigManagerUserConfig = function() {
16619
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
16620
+ };
16621
+
16622
+
16623
+ /**
16624
+ * @param {boolean} value
16625
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16626
+ */
16627
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.setConfigManagerUserConfig = function(value) {
16628
+ return jspb.Message.setField(this, 2, value);
16629
+ };
16630
+
16631
+
16632
+ /**
16633
+ * Clears the field making it undefined.
16634
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16635
+ */
16636
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.clearConfigManagerUserConfig = function() {
16637
+ return jspb.Message.setField(this, 2, undefined);
16638
+ };
16639
+
16640
+
16641
+ /**
16642
+ * Returns whether this field is set.
16643
+ * @return {boolean}
16644
+ */
16645
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.hasConfigManagerUserConfig = function() {
16646
+ return jspb.Message.getField(this, 2) != null;
16647
+ };
16648
+
16649
+
16650
+ /**
16651
+ * optional string description = 3;
16652
+ * @return {string}
16653
+ */
16654
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.getDescription = function() {
16655
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
16656
+ };
16657
+
16658
+
16659
+ /**
16660
+ * @param {string} value
16661
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16662
+ */
16663
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.setDescription = function(value) {
16664
+ return jspb.Message.setField(this, 3, value);
16665
+ };
16666
+
16667
+
16668
+ /**
16669
+ * Clears the field making it undefined.
16670
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16671
+ */
16672
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.clearDescription = function() {
16673
+ return jspb.Message.setField(this, 3, undefined);
16674
+ };
16675
+
16676
+
16677
+ /**
16678
+ * Returns whether this field is set.
16679
+ * @return {boolean}
16680
+ */
16681
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.hasDescription = function() {
16682
+ return jspb.Message.getField(this, 3) != null;
16683
+ };
16684
+
16685
+
16686
+ /**
16687
+ * optional string device_id = 4;
16688
+ * @return {string}
16689
+ */
16690
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.getDeviceId = function() {
16691
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
16692
+ };
16693
+
16694
+
16695
+ /**
16696
+ * @param {string} value
16697
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16698
+ */
16699
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.setDeviceId = function(value) {
16700
+ return jspb.Message.setField(this, 4, value);
16701
+ };
16702
+
16703
+
16704
+ /**
16705
+ * Clears the field making it undefined.
16706
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16707
+ */
16708
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.clearDeviceId = function() {
16709
+ return jspb.Message.setField(this, 4, undefined);
16710
+ };
16711
+
16712
+
16713
+ /**
16714
+ * Returns whether this field is set.
16715
+ * @return {boolean}
16716
+ */
16717
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.hasDeviceId = function() {
16718
+ return jspb.Message.getField(this, 4) != null;
16719
+ };
16720
+
16721
+
16722
+ /**
16723
+ * optional string layout = 5;
16724
+ * @return {string}
16725
+ */
16726
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.getLayout = function() {
16727
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
16728
+ };
16729
+
16730
+
16731
+ /**
16732
+ * @param {string} value
16733
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16734
+ */
16735
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.setLayout = function(value) {
16736
+ return jspb.Message.setField(this, 5, value);
16737
+ };
16738
+
16739
+
16740
+ /**
16741
+ * Clears the field making it undefined.
16742
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16743
+ */
16744
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.clearLayout = function() {
16745
+ return jspb.Message.setField(this, 5, undefined);
16746
+ };
16747
+
16748
+
16749
+ /**
16750
+ * Returns whether this field is set.
16751
+ * @return {boolean}
16752
+ */
16753
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.hasLayout = function() {
16754
+ return jspb.Message.getField(this, 5) != null;
16755
+ };
16756
+
16757
+
16758
+ /**
16759
+ * optional int32 number_of_function_keys = 6;
16760
+ * @return {number}
16761
+ */
16762
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.getNumberOfFunctionKeys = function() {
16763
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
16764
+ };
16765
+
16766
+
16767
+ /**
16768
+ * @param {number} value
16769
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16770
+ */
16771
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.setNumberOfFunctionKeys = function(value) {
16772
+ return jspb.Message.setField(this, 6, value);
16773
+ };
16774
+
16775
+
16776
+ /**
16777
+ * Clears the field making it undefined.
16778
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16779
+ */
16780
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.clearNumberOfFunctionKeys = function() {
16781
+ return jspb.Message.setField(this, 6, undefined);
16782
+ };
16783
+
16784
+
16785
+ /**
16786
+ * Returns whether this field is set.
16787
+ * @return {boolean}
16788
+ */
16789
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.hasNumberOfFunctionKeys = function() {
16790
+ return jspb.Message.getField(this, 6) != null;
16791
+ };
16792
+
16793
+
16794
+
16795
+
16796
+
16797
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16798
+ /**
16799
+ * Creates an object representation of this proto.
16800
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16801
+ * Optional fields that are not set will be set to undefined.
16802
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16803
+ * For the list of reserved names please see:
16804
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16805
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16806
+ * JSPB instance for transitional soy proto support:
16807
+ * http://goto/soy-param-migration
16808
+ * @return {!Object}
16809
+ */
16810
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.toObject = function(opt_includeInstance) {
16811
+ return proto.com.lansweeper.dp.outbound.v1.PointingDevice.toObject(opt_includeInstance, this);
16812
+ };
16813
+
16814
+
16815
+ /**
16816
+ * Static version of the {@see toObject} method.
16817
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16818
+ * the JSPB instance for transitional soy proto support:
16819
+ * http://goto/soy-param-migration
16820
+ * @param {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} msg The msg instance to transform.
16821
+ * @return {!Object}
16822
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16823
+ */
16824
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.toObject = function(includeInstance, msg) {
16825
+ var f, obj = {
16826
+ caption: jspb.Message.getFieldWithDefault(msg, 1, ""),
16827
+ deviceId: jspb.Message.getFieldWithDefault(msg, 2, ""),
16828
+ deviceInterface: (f = msg.getDeviceInterface()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
16829
+ doubleSpeedThreshold: jspb.Message.getFieldWithDefault(msg, 4, 0),
16830
+ handedness: (f = msg.getHandedness()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
16831
+ infFileName: jspb.Message.getFieldWithDefault(msg, 6, ""),
16832
+ infSection: jspb.Message.getFieldWithDefault(msg, 7, ""),
16833
+ manufacturer: jspb.Message.getFieldWithDefault(msg, 8, ""),
16834
+ numberOfButtons: jspb.Message.getFieldWithDefault(msg, 9, 0),
16835
+ pointingType: (f = msg.getPointingType()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
16836
+ quadSpeedThreshold: jspb.Message.getFieldWithDefault(msg, 11, 0)
16837
+ };
16838
+
16839
+ if (includeInstance) {
16840
+ obj.$jspbMessageInstance = msg;
16841
+ }
16842
+ return obj;
16843
+ };
16844
+ }
16845
+
16846
+
16847
+ /**
16848
+ * Deserializes binary data (in protobuf wire format).
16849
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16850
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice}
16851
+ */
16852
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.deserializeBinary = function(bytes) {
16853
+ var reader = new jspb.BinaryReader(bytes);
16854
+ var msg = new proto.com.lansweeper.dp.outbound.v1.PointingDevice;
16855
+ return proto.com.lansweeper.dp.outbound.v1.PointingDevice.deserializeBinaryFromReader(msg, reader);
16856
+ };
16857
+
16858
+
16859
+ /**
16860
+ * Deserializes binary data (in protobuf wire format) from the
16861
+ * given reader into the given message object.
16862
+ * @param {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} msg The message object to deserialize into.
16863
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16864
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice}
16865
+ */
16866
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.deserializeBinaryFromReader = function(msg, reader) {
16867
+ while (reader.nextField()) {
16868
+ if (reader.isEndGroup()) {
16869
+ break;
16870
+ }
16871
+ var field = reader.getFieldNumber();
16872
+ switch (field) {
16873
+ case 1:
16874
+ var value = /** @type {string} */ (reader.readString());
16875
+ msg.setCaption(value);
16876
+ break;
16877
+ case 2:
16878
+ var value = /** @type {string} */ (reader.readString());
16879
+ msg.setDeviceId(value);
16880
+ break;
16881
+ case 3:
16882
+ var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
16883
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
16884
+ msg.setDeviceInterface(value);
16885
+ break;
16886
+ case 4:
16887
+ var value = /** @type {number} */ (reader.readInt32());
16888
+ msg.setDoubleSpeedThreshold(value);
16889
+ break;
16890
+ case 5:
16891
+ var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
16892
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
16893
+ msg.setHandedness(value);
16894
+ break;
16895
+ case 6:
16896
+ var value = /** @type {string} */ (reader.readString());
16897
+ msg.setInfFileName(value);
16898
+ break;
16899
+ case 7:
16900
+ var value = /** @type {string} */ (reader.readString());
16901
+ msg.setInfSection(value);
16902
+ break;
16903
+ case 8:
16904
+ var value = /** @type {string} */ (reader.readString());
16905
+ msg.setManufacturer(value);
16906
+ break;
16907
+ case 9:
16908
+ var value = /** @type {number} */ (reader.readInt32());
16909
+ msg.setNumberOfButtons(value);
16910
+ break;
16911
+ case 10:
16912
+ var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
16913
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
16914
+ msg.setPointingType(value);
16915
+ break;
16916
+ case 11:
16917
+ var value = /** @type {number} */ (reader.readInt32());
16918
+ msg.setQuadSpeedThreshold(value);
16919
+ break;
16920
+ default:
16921
+ reader.skipField();
16922
+ break;
16923
+ }
16924
+ }
16925
+ return msg;
16926
+ };
16927
+
16928
+
16929
+ /**
16930
+ * Serializes the message to binary data (in protobuf wire format).
16931
+ * @return {!Uint8Array}
16932
+ */
16933
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.serializeBinary = function() {
16934
+ var writer = new jspb.BinaryWriter();
16935
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.serializeBinaryToWriter(this, writer);
16936
+ return writer.getResultBuffer();
16937
+ };
16938
+
16939
+
16940
+ /**
16941
+ * Serializes the given message to binary data (in protobuf wire
16942
+ * format), writing to the given BinaryWriter.
16943
+ * @param {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} message
16944
+ * @param {!jspb.BinaryWriter} writer
16945
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16946
+ */
16947
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.serializeBinaryToWriter = function(message, writer) {
16948
+ var f = undefined;
16949
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
16950
+ if (f != null) {
16951
+ writer.writeString(
16952
+ 1,
16953
+ f
16954
+ );
16955
+ }
16956
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
16957
+ if (f != null) {
16958
+ writer.writeString(
16959
+ 2,
16960
+ f
16961
+ );
16962
+ }
16963
+ f = message.getDeviceInterface();
16964
+ if (f != null) {
16965
+ writer.writeMessage(
16966
+ 3,
16967
+ f,
16968
+ proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
16969
+ );
16970
+ }
16971
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
16972
+ if (f != null) {
16973
+ writer.writeInt32(
16974
+ 4,
16975
+ f
16976
+ );
16977
+ }
16978
+ f = message.getHandedness();
16979
+ if (f != null) {
16980
+ writer.writeMessage(
16981
+ 5,
16982
+ f,
16983
+ proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
16984
+ );
16985
+ }
16986
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
16987
+ if (f != null) {
16988
+ writer.writeString(
16989
+ 6,
16990
+ f
16991
+ );
16992
+ }
16993
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
16994
+ if (f != null) {
16995
+ writer.writeString(
16996
+ 7,
16997
+ f
16998
+ );
16999
+ }
17000
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
17001
+ if (f != null) {
17002
+ writer.writeString(
17003
+ 8,
17004
+ f
17005
+ );
17006
+ }
17007
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
17008
+ if (f != null) {
17009
+ writer.writeInt32(
17010
+ 9,
17011
+ f
17012
+ );
17013
+ }
17014
+ f = message.getPointingType();
17015
+ if (f != null) {
17016
+ writer.writeMessage(
17017
+ 10,
17018
+ f,
17019
+ proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
17020
+ );
17021
+ }
17022
+ f = /** @type {number} */ (jspb.Message.getField(message, 11));
17023
+ if (f != null) {
17024
+ writer.writeInt32(
17025
+ 11,
17026
+ f
17027
+ );
17028
+ }
17029
+ };
17030
+
17031
+
17032
+ /**
17033
+ * optional string caption = 1;
17034
+ * @return {string}
17035
+ */
17036
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getCaption = function() {
17037
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
17038
+ };
17039
+
17040
+
17041
+ /**
17042
+ * @param {string} value
17043
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17044
+ */
17045
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setCaption = function(value) {
17046
+ return jspb.Message.setField(this, 1, value);
17047
+ };
17048
+
17049
+
17050
+ /**
17051
+ * Clears the field making it undefined.
17052
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17053
+ */
17054
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearCaption = function() {
17055
+ return jspb.Message.setField(this, 1, undefined);
17056
+ };
17057
+
17058
+
17059
+ /**
17060
+ * Returns whether this field is set.
17061
+ * @return {boolean}
17062
+ */
17063
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasCaption = function() {
17064
+ return jspb.Message.getField(this, 1) != null;
17065
+ };
17066
+
17067
+
17068
+ /**
17069
+ * optional string device_id = 2;
17070
+ * @return {string}
17071
+ */
17072
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getDeviceId = function() {
17073
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
17074
+ };
17075
+
17076
+
17077
+ /**
17078
+ * @param {string} value
17079
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17080
+ */
17081
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setDeviceId = function(value) {
17082
+ return jspb.Message.setField(this, 2, value);
17083
+ };
17084
+
17085
+
17086
+ /**
17087
+ * Clears the field making it undefined.
17088
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17089
+ */
17090
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearDeviceId = function() {
17091
+ return jspb.Message.setField(this, 2, undefined);
17092
+ };
17093
+
17094
+
17095
+ /**
17096
+ * Returns whether this field is set.
17097
+ * @return {boolean}
17098
+ */
17099
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasDeviceId = function() {
17100
+ return jspb.Message.getField(this, 2) != null;
17101
+ };
17102
+
17103
+
17104
+ /**
17105
+ * optional MappedValue device_interface = 3;
17106
+ * @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
17107
+ */
17108
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getDeviceInterface = function() {
17109
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
17110
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 3));
17111
+ };
17112
+
17113
+
17114
+ /**
17115
+ * @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
17116
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17117
+ */
17118
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setDeviceInterface = function(value) {
17119
+ return jspb.Message.setWrapperField(this, 3, value);
17120
+ };
17121
+
17122
+
17123
+ /**
17124
+ * Clears the message field making it undefined.
17125
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17126
+ */
17127
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearDeviceInterface = function() {
17128
+ return this.setDeviceInterface(undefined);
17129
+ };
17130
+
17131
+
17132
+ /**
17133
+ * Returns whether this field is set.
17134
+ * @return {boolean}
17135
+ */
17136
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasDeviceInterface = function() {
17137
+ return jspb.Message.getField(this, 3) != null;
17138
+ };
17139
+
17140
+
17141
+ /**
17142
+ * optional int32 double_speed_threshold = 4;
17143
+ * @return {number}
17144
+ */
17145
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getDoubleSpeedThreshold = function() {
17146
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
17147
+ };
17148
+
17149
+
17150
+ /**
17151
+ * @param {number} value
17152
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17153
+ */
17154
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setDoubleSpeedThreshold = function(value) {
17155
+ return jspb.Message.setField(this, 4, value);
17156
+ };
17157
+
17158
+
17159
+ /**
17160
+ * Clears the field making it undefined.
17161
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17162
+ */
17163
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearDoubleSpeedThreshold = function() {
17164
+ return jspb.Message.setField(this, 4, undefined);
17165
+ };
17166
+
17167
+
17168
+ /**
17169
+ * Returns whether this field is set.
17170
+ * @return {boolean}
17171
+ */
17172
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasDoubleSpeedThreshold = function() {
17173
+ return jspb.Message.getField(this, 4) != null;
17174
+ };
17175
+
17176
+
17177
+ /**
17178
+ * optional MappedValue handedness = 5;
17179
+ * @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
17180
+ */
17181
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getHandedness = function() {
17182
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
17183
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 5));
17184
+ };
17185
+
17186
+
17187
+ /**
17188
+ * @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
17189
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17190
+ */
17191
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setHandedness = function(value) {
17192
+ return jspb.Message.setWrapperField(this, 5, value);
17193
+ };
17194
+
17195
+
17196
+ /**
17197
+ * Clears the message field making it undefined.
17198
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17199
+ */
17200
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearHandedness = function() {
17201
+ return this.setHandedness(undefined);
17202
+ };
17203
+
17204
+
17205
+ /**
17206
+ * Returns whether this field is set.
17207
+ * @return {boolean}
17208
+ */
17209
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasHandedness = function() {
17210
+ return jspb.Message.getField(this, 5) != null;
17211
+ };
17212
+
17213
+
17214
+ /**
17215
+ * optional string inf_file_name = 6;
17216
+ * @return {string}
17217
+ */
17218
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getInfFileName = function() {
17219
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
17220
+ };
17221
+
17222
+
17223
+ /**
17224
+ * @param {string} value
17225
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17226
+ */
17227
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setInfFileName = function(value) {
17228
+ return jspb.Message.setField(this, 6, value);
17229
+ };
17230
+
17231
+
17232
+ /**
17233
+ * Clears the field making it undefined.
17234
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17235
+ */
17236
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearInfFileName = function() {
17237
+ return jspb.Message.setField(this, 6, undefined);
17238
+ };
17239
+
17240
+
17241
+ /**
17242
+ * Returns whether this field is set.
17243
+ * @return {boolean}
17244
+ */
17245
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasInfFileName = function() {
17246
+ return jspb.Message.getField(this, 6) != null;
17247
+ };
17248
+
17249
+
17250
+ /**
17251
+ * optional string inf_section = 7;
17252
+ * @return {string}
17253
+ */
17254
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getInfSection = function() {
17255
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
17256
+ };
17257
+
17258
+
17259
+ /**
17260
+ * @param {string} value
17261
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17262
+ */
17263
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setInfSection = function(value) {
17264
+ return jspb.Message.setField(this, 7, value);
17265
+ };
17266
+
17267
+
17268
+ /**
17269
+ * Clears the field making it undefined.
17270
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17271
+ */
17272
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearInfSection = function() {
17273
+ return jspb.Message.setField(this, 7, undefined);
17274
+ };
17275
+
17276
+
17277
+ /**
17278
+ * Returns whether this field is set.
17279
+ * @return {boolean}
17280
+ */
17281
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasInfSection = function() {
17282
+ return jspb.Message.getField(this, 7) != null;
17283
+ };
17284
+
17285
+
17286
+ /**
17287
+ * optional string manufacturer = 8;
17288
+ * @return {string}
17289
+ */
17290
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getManufacturer = function() {
17291
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
17292
+ };
17293
+
17294
+
17295
+ /**
17296
+ * @param {string} value
17297
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17298
+ */
17299
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setManufacturer = function(value) {
17300
+ return jspb.Message.setField(this, 8, value);
17301
+ };
17302
+
17303
+
17304
+ /**
17305
+ * Clears the field making it undefined.
17306
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17307
+ */
17308
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearManufacturer = function() {
17309
+ return jspb.Message.setField(this, 8, undefined);
17310
+ };
17311
+
17312
+
17313
+ /**
17314
+ * Returns whether this field is set.
17315
+ * @return {boolean}
17316
+ */
17317
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasManufacturer = function() {
17318
+ return jspb.Message.getField(this, 8) != null;
17319
+ };
17320
+
17321
+
17322
+ /**
17323
+ * optional int32 number_of_buttons = 9;
17324
+ * @return {number}
17325
+ */
17326
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getNumberOfButtons = function() {
17327
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
17328
+ };
17329
+
17330
+
17331
+ /**
17332
+ * @param {number} value
17333
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17334
+ */
17335
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setNumberOfButtons = function(value) {
17336
+ return jspb.Message.setField(this, 9, value);
17337
+ };
17338
+
17339
+
17340
+ /**
17341
+ * Clears the field making it undefined.
17342
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17343
+ */
17344
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearNumberOfButtons = function() {
17345
+ return jspb.Message.setField(this, 9, undefined);
17346
+ };
17347
+
17348
+
17349
+ /**
17350
+ * Returns whether this field is set.
17351
+ * @return {boolean}
17352
+ */
17353
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasNumberOfButtons = function() {
17354
+ return jspb.Message.getField(this, 9) != null;
17355
+ };
17356
+
17357
+
17358
+ /**
17359
+ * optional MappedValue pointing_type = 10;
17360
+ * @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
17361
+ */
17362
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getPointingType = function() {
17363
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
17364
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 10));
17365
+ };
17366
+
17367
+
17368
+ /**
17369
+ * @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
17370
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17371
+ */
17372
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setPointingType = function(value) {
17373
+ return jspb.Message.setWrapperField(this, 10, value);
17374
+ };
17375
+
17376
+
17377
+ /**
17378
+ * Clears the message field making it undefined.
17379
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17380
+ */
17381
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearPointingType = function() {
17382
+ return this.setPointingType(undefined);
17383
+ };
17384
+
17385
+
17386
+ /**
17387
+ * Returns whether this field is set.
17388
+ * @return {boolean}
17389
+ */
17390
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasPointingType = function() {
17391
+ return jspb.Message.getField(this, 10) != null;
17392
+ };
17393
+
17394
+
17395
+ /**
17396
+ * optional int32 quad_speed_threshold = 11;
17397
+ * @return {number}
17398
+ */
17399
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getQuadSpeedThreshold = function() {
17400
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
17401
+ };
17402
+
17403
+
17404
+ /**
17405
+ * @param {number} value
17406
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17407
+ */
17408
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setQuadSpeedThreshold = function(value) {
17409
+ return jspb.Message.setField(this, 11, value);
17410
+ };
17411
+
17412
+
17413
+ /**
17414
+ * Clears the field making it undefined.
17415
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17416
+ */
17417
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearQuadSpeedThreshold = function() {
17418
+ return jspb.Message.setField(this, 11, undefined);
17419
+ };
17420
+
17421
+
17422
+ /**
17423
+ * Returns whether this field is set.
17424
+ * @return {boolean}
17425
+ */
17426
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasQuadSpeedThreshold = function() {
17427
+ return jspb.Message.getField(this, 11) != null;
17428
+ };
17429
+
17430
+
17431
+
17432
+
17433
+
17434
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17435
+ /**
17436
+ * Creates an object representation of this proto.
17437
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17438
+ * Optional fields that are not set will be set to undefined.
17439
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17440
+ * For the list of reserved names please see:
17441
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17442
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17443
+ * JSPB instance for transitional soy proto support:
17444
+ * http://goto/soy-param-migration
17445
+ * @return {!Object}
17446
+ */
17447
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.toObject = function(opt_includeInstance) {
17448
+ return proto.com.lansweeper.dp.outbound.v1.SoundCard.toObject(opt_includeInstance, this);
17449
+ };
17450
+
17451
+
17452
+ /**
17453
+ * Static version of the {@see toObject} method.
17454
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17455
+ * the JSPB instance for transitional soy proto support:
17456
+ * http://goto/soy-param-migration
17457
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SoundCard} msg The msg instance to transform.
17458
+ * @return {!Object}
17459
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17460
+ */
17461
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.toObject = function(includeInstance, msg) {
17462
+ var f, obj = {
17463
+ caption: jspb.Message.getFieldWithDefault(msg, 1, ""),
17464
+ deviceId: jspb.Message.getFieldWithDefault(msg, 2, ""),
17465
+ manufacturer: jspb.Message.getFieldWithDefault(msg, 3, ""),
17466
+ type: jspb.Message.getFieldWithDefault(msg, 4, ""),
17467
+ subsystemName: jspb.Message.getFieldWithDefault(msg, 5, ""),
17468
+ subsystemManufacturer: jspb.Message.getFieldWithDefault(msg, 6, ""),
17469
+ parent: jspb.Message.getFieldWithDefault(msg, 7, "")
17470
+ };
17471
+
17472
+ if (includeInstance) {
17473
+ obj.$jspbMessageInstance = msg;
17474
+ }
17475
+ return obj;
17476
+ };
17477
+ }
17478
+
17479
+
17480
+ /**
17481
+ * Deserializes binary data (in protobuf wire format).
17482
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17483
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard}
17484
+ */
17485
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.deserializeBinary = function(bytes) {
17486
+ var reader = new jspb.BinaryReader(bytes);
17487
+ var msg = new proto.com.lansweeper.dp.outbound.v1.SoundCard;
17488
+ return proto.com.lansweeper.dp.outbound.v1.SoundCard.deserializeBinaryFromReader(msg, reader);
17489
+ };
17490
+
17491
+
17492
+ /**
17493
+ * Deserializes binary data (in protobuf wire format) from the
17494
+ * given reader into the given message object.
17495
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SoundCard} msg The message object to deserialize into.
17496
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17497
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard}
17498
+ */
17499
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.deserializeBinaryFromReader = function(msg, reader) {
17500
+ while (reader.nextField()) {
17501
+ if (reader.isEndGroup()) {
17502
+ break;
17503
+ }
17504
+ var field = reader.getFieldNumber();
17505
+ switch (field) {
17506
+ case 1:
17507
+ var value = /** @type {string} */ (reader.readString());
17508
+ msg.setCaption(value);
17509
+ break;
17510
+ case 2:
17511
+ var value = /** @type {string} */ (reader.readString());
17512
+ msg.setDeviceId(value);
17513
+ break;
17514
+ case 3:
17515
+ var value = /** @type {string} */ (reader.readString());
17516
+ msg.setManufacturer(value);
17517
+ break;
17518
+ case 4:
17519
+ var value = /** @type {string} */ (reader.readString());
17520
+ msg.setType(value);
17521
+ break;
17522
+ case 5:
17523
+ var value = /** @type {string} */ (reader.readString());
17524
+ msg.setSubsystemName(value);
17525
+ break;
17526
+ case 6:
17527
+ var value = /** @type {string} */ (reader.readString());
17528
+ msg.setSubsystemManufacturer(value);
17529
+ break;
17530
+ case 7:
17531
+ var value = /** @type {string} */ (reader.readString());
17532
+ msg.setParent(value);
17533
+ break;
17534
+ default:
17535
+ reader.skipField();
17536
+ break;
17537
+ }
17538
+ }
17539
+ return msg;
17540
+ };
17541
+
17542
+
17543
+ /**
17544
+ * Serializes the message to binary data (in protobuf wire format).
17545
+ * @return {!Uint8Array}
17546
+ */
17547
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.serializeBinary = function() {
17548
+ var writer = new jspb.BinaryWriter();
17549
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.serializeBinaryToWriter(this, writer);
17550
+ return writer.getResultBuffer();
17551
+ };
17552
+
17553
+
17554
+ /**
17555
+ * Serializes the given message to binary data (in protobuf wire
17556
+ * format), writing to the given BinaryWriter.
17557
+ * @param {!proto.com.lansweeper.dp.outbound.v1.SoundCard} message
17558
+ * @param {!jspb.BinaryWriter} writer
17559
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17560
+ */
17561
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.serializeBinaryToWriter = function(message, writer) {
17562
+ var f = undefined;
17563
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
17564
+ if (f != null) {
17565
+ writer.writeString(
17566
+ 1,
17567
+ f
17568
+ );
17569
+ }
17570
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
17571
+ if (f != null) {
17572
+ writer.writeString(
17573
+ 2,
17574
+ f
17575
+ );
17576
+ }
17577
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
17578
+ if (f != null) {
17579
+ writer.writeString(
17580
+ 3,
17581
+ f
17582
+ );
17583
+ }
17584
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
17585
+ if (f != null) {
17586
+ writer.writeString(
17587
+ 4,
17588
+ f
17589
+ );
17590
+ }
17591
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
17592
+ if (f != null) {
17593
+ writer.writeString(
17594
+ 5,
17595
+ f
17596
+ );
17597
+ }
17598
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
17599
+ if (f != null) {
17600
+ writer.writeString(
17601
+ 6,
17602
+ f
17603
+ );
17604
+ }
17605
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
17606
+ if (f != null) {
17607
+ writer.writeString(
17608
+ 7,
17609
+ f
17610
+ );
17611
+ }
17612
+ };
17613
+
17614
+
17615
+ /**
17616
+ * optional string caption = 1;
17617
+ * @return {string}
17618
+ */
17619
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.getCaption = function() {
17620
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
17621
+ };
17622
+
17623
+
17624
+ /**
17625
+ * @param {string} value
17626
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard} returns this
17627
+ */
17628
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.setCaption = function(value) {
17629
+ return jspb.Message.setField(this, 1, value);
17630
+ };
17631
+
17632
+
17633
+ /**
17634
+ * Clears the field making it undefined.
17635
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard} returns this
17636
+ */
17637
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.clearCaption = function() {
17638
+ return jspb.Message.setField(this, 1, undefined);
17639
+ };
17640
+
17641
+
17642
+ /**
17643
+ * Returns whether this field is set.
17644
+ * @return {boolean}
17645
+ */
17646
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.hasCaption = function() {
17647
+ return jspb.Message.getField(this, 1) != null;
17648
+ };
17649
+
17650
+
17651
+ /**
17652
+ * optional string device_id = 2;
17653
+ * @return {string}
17654
+ */
17655
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.getDeviceId = function() {
17656
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
17657
+ };
17658
+
17659
+
17660
+ /**
17661
+ * @param {string} value
17662
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard} returns this
17663
+ */
17664
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.setDeviceId = function(value) {
17665
+ return jspb.Message.setField(this, 2, value);
17666
+ };
17667
+
17668
+
17669
+ /**
17670
+ * Clears the field making it undefined.
17671
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard} returns this
17672
+ */
17673
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.clearDeviceId = function() {
17674
+ return jspb.Message.setField(this, 2, undefined);
17675
+ };
17676
+
17677
+
17678
+ /**
17679
+ * Returns whether this field is set.
17680
+ * @return {boolean}
17681
+ */
17682
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.hasDeviceId = function() {
17683
+ return jspb.Message.getField(this, 2) != null;
17684
+ };
17685
+
17686
+
17687
+ /**
17688
+ * optional string manufacturer = 3;
17689
+ * @return {string}
17690
+ */
17691
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.getManufacturer = function() {
17692
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
17693
+ };
17694
+
17695
+
17696
+ /**
17697
+ * @param {string} value
17698
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard} returns this
17699
+ */
17700
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.setManufacturer = function(value) {
17701
+ return jspb.Message.setField(this, 3, value);
17702
+ };
17703
+
17704
+
17705
+ /**
17706
+ * Clears the field making it undefined.
17707
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard} returns this
17708
+ */
17709
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.clearManufacturer = function() {
17710
+ return jspb.Message.setField(this, 3, undefined);
17711
+ };
17712
+
17713
+
17714
+ /**
17715
+ * Returns whether this field is set.
17716
+ * @return {boolean}
17717
+ */
17718
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.hasManufacturer = function() {
17719
+ return jspb.Message.getField(this, 3) != null;
17720
+ };
17721
+
17722
+
17723
+ /**
17724
+ * optional string type = 4;
17725
+ * @return {string}
17726
+ */
17727
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.getType = function() {
17728
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
17729
+ };
17730
+
17731
+
17732
+ /**
17733
+ * @param {string} value
17734
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard} returns this
17735
+ */
17736
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.setType = function(value) {
17737
+ return jspb.Message.setField(this, 4, value);
17738
+ };
17739
+
17740
+
17741
+ /**
17742
+ * Clears the field making it undefined.
17743
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard} returns this
17744
+ */
17745
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.clearType = function() {
17746
+ return jspb.Message.setField(this, 4, undefined);
17747
+ };
17748
+
17749
+
17750
+ /**
17751
+ * Returns whether this field is set.
17752
+ * @return {boolean}
17753
+ */
17754
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.hasType = function() {
17755
+ return jspb.Message.getField(this, 4) != null;
17756
+ };
17757
+
17758
+
17759
+ /**
17760
+ * optional string subsystem_name = 5;
17761
+ * @return {string}
17762
+ */
17763
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.getSubsystemName = function() {
17764
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
17765
+ };
17766
+
17767
+
17768
+ /**
17769
+ * @param {string} value
17770
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard} returns this
17771
+ */
17772
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.setSubsystemName = function(value) {
17773
+ return jspb.Message.setField(this, 5, value);
17774
+ };
17775
+
17776
+
17777
+ /**
17778
+ * Clears the field making it undefined.
17779
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard} returns this
17780
+ */
17781
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.clearSubsystemName = function() {
17782
+ return jspb.Message.setField(this, 5, undefined);
17783
+ };
17784
+
17785
+
17786
+ /**
17787
+ * Returns whether this field is set.
17788
+ * @return {boolean}
17789
+ */
17790
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.hasSubsystemName = function() {
17791
+ return jspb.Message.getField(this, 5) != null;
17792
+ };
17793
+
17794
+
17795
+ /**
17796
+ * optional string subsystem_manufacturer = 6;
17797
+ * @return {string}
17798
+ */
17799
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.getSubsystemManufacturer = function() {
17800
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
17801
+ };
17802
+
17803
+
17804
+ /**
17805
+ * @param {string} value
17806
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard} returns this
17807
+ */
17808
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.setSubsystemManufacturer = function(value) {
17809
+ return jspb.Message.setField(this, 6, value);
17810
+ };
17811
+
17812
+
17813
+ /**
17814
+ * Clears the field making it undefined.
17815
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard} returns this
17816
+ */
17817
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.clearSubsystemManufacturer = function() {
17818
+ return jspb.Message.setField(this, 6, undefined);
17819
+ };
17820
+
17821
+
17822
+ /**
17823
+ * Returns whether this field is set.
17824
+ * @return {boolean}
17825
+ */
17826
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.hasSubsystemManufacturer = function() {
17827
+ return jspb.Message.getField(this, 6) != null;
17828
+ };
17829
+
17830
+
17831
+ /**
17832
+ * optional string parent = 7;
17833
+ * @return {string}
17834
+ */
17835
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.getParent = function() {
17836
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
17837
+ };
17838
+
17839
+
17840
+ /**
17841
+ * @param {string} value
17842
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard} returns this
17843
+ */
17844
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.setParent = function(value) {
17845
+ return jspb.Message.setField(this, 7, value);
17846
+ };
17847
+
17848
+
17849
+ /**
17850
+ * Clears the field making it undefined.
17851
+ * @return {!proto.com.lansweeper.dp.outbound.v1.SoundCard} returns this
17852
+ */
17853
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.clearParent = function() {
17854
+ return jspb.Message.setField(this, 7, undefined);
17855
+ };
17856
+
17857
+
17858
+ /**
17859
+ * Returns whether this field is set.
17860
+ * @return {boolean}
17861
+ */
17862
+ proto.com.lansweeper.dp.outbound.v1.SoundCard.prototype.hasParent = function() {
17863
+ return jspb.Message.getField(this, 7) != null;
17864
+ };
17865
+
17866
+
17867
+
17868
+
17869
+
16181
17870
  if (jspb.Message.GENERATE_TO_OBJECT) {
16182
17871
  /**
16183
17872
  * Creates an object representation of this proto.