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

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,6 +63,7 @@ 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);
@@ -680,6 +682,48 @@ if (goog.DEBUG && !COMPILED) {
680
682
  */
681
683
  proto.com.lansweeper.dp.outbound.v1.HardDrive.displayName = 'proto.com.lansweeper.dp.outbound.v1.HardDrive';
682
684
  }
685
+ /**
686
+ * Generated by JsPbCodeGenerator.
687
+ * @param {Array=} opt_data Optional initial data array, typically from a
688
+ * server response, or constructed directly in Javascript. The array is used
689
+ * in place and becomes part of the constructed object. It is not cloned.
690
+ * If no data is provided, the constructed object will be empty, but still
691
+ * valid.
692
+ * @extends {jspb.Message}
693
+ * @constructor
694
+ */
695
+ proto.com.lansweeper.dp.outbound.v1.Keyboard = function(opt_data) {
696
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
697
+ };
698
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.Keyboard, jspb.Message);
699
+ if (goog.DEBUG && !COMPILED) {
700
+ /**
701
+ * @public
702
+ * @override
703
+ */
704
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.displayName = 'proto.com.lansweeper.dp.outbound.v1.Keyboard';
705
+ }
706
+ /**
707
+ * Generated by JsPbCodeGenerator.
708
+ * @param {Array=} opt_data Optional initial data array, typically from a
709
+ * server response, or constructed directly in Javascript. The array is used
710
+ * in place and becomes part of the constructed object. It is not cloned.
711
+ * If no data is provided, the constructed object will be empty, but still
712
+ * valid.
713
+ * @extends {jspb.Message}
714
+ * @constructor
715
+ */
716
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice = function(opt_data) {
717
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
718
+ };
719
+ goog.inherits(proto.com.lansweeper.dp.outbound.v1.PointingDevice, jspb.Message);
720
+ if (goog.DEBUG && !COMPILED) {
721
+ /**
722
+ * @public
723
+ * @override
724
+ */
725
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.displayName = 'proto.com.lansweeper.dp.outbound.v1.PointingDevice';
726
+ }
683
727
  /**
684
728
  * Generated by JsPbCodeGenerator.
685
729
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3188,7 +3232,7 @@ proto.com.lansweeper.dp.outbound.v1.Entity.prototype.hasAsset = function() {
3188
3232
  * @private {!Array<number>}
3189
3233
  * @const
3190
3234
  */
3191
- proto.com.lansweeper.dp.outbound.v1.Asset.repeatedFields_ = [14,20,26,13,15,24,25,27];
3235
+ proto.com.lansweeper.dp.outbound.v1.Asset.repeatedFields_ = [14,20,26,13,15,24,25,27,28,29];
3192
3236
 
3193
3237
 
3194
3238
 
@@ -3252,6 +3296,10 @@ proto.com.lansweeper.dp.outbound.v1.Asset.toObject = function(includeInstance, m
3252
3296
  proto.com.lansweeper.dp.outbound.v1.HardDrive.toObject, includeInstance),
3253
3297
  graphicsCardList: jspb.Message.toObjectList(msg.getGraphicsCardList(),
3254
3298
  proto.com.lansweeper.dp.outbound.v1.GraphicsCard.toObject, includeInstance),
3299
+ keyboardList: jspb.Message.toObjectList(msg.getKeyboardList(),
3300
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.toObject, includeInstance),
3301
+ pointingDeviceList: jspb.Message.toObjectList(msg.getPointingDeviceList(),
3302
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.toObject, includeInstance),
3255
3303
  otModule: (f = msg.getOtModule()) && proto.com.lansweeper.dp.outbound.v1.OtModule.toObject(includeInstance, f),
3256
3304
  cloud: (f = msg.getCloud()) && proto.com.lansweeper.dp.outbound.v1.CloudEntity.toObject(includeInstance, f)
3257
3305
  };
@@ -3404,6 +3452,16 @@ proto.com.lansweeper.dp.outbound.v1.Asset.deserializeBinaryFromReader = function
3404
3452
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.GraphicsCard.deserializeBinaryFromReader);
3405
3453
  msg.addGraphicsCard(value);
3406
3454
  break;
3455
+ case 28:
3456
+ var value = new proto.com.lansweeper.dp.outbound.v1.Keyboard;
3457
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.Keyboard.deserializeBinaryFromReader);
3458
+ msg.addKeyboard(value);
3459
+ break;
3460
+ case 29:
3461
+ var value = new proto.com.lansweeper.dp.outbound.v1.PointingDevice;
3462
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.PointingDevice.deserializeBinaryFromReader);
3463
+ msg.addPointingDevice(value);
3464
+ break;
3407
3465
  case 16:
3408
3466
  var value = new proto.com.lansweeper.dp.outbound.v1.OtModule;
3409
3467
  reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.OtModule.deserializeBinaryFromReader);
@@ -3626,6 +3684,22 @@ proto.com.lansweeper.dp.outbound.v1.Asset.serializeBinaryToWriter = function(mes
3626
3684
  proto.com.lansweeper.dp.outbound.v1.GraphicsCard.serializeBinaryToWriter
3627
3685
  );
3628
3686
  }
3687
+ f = message.getKeyboardList();
3688
+ if (f.length > 0) {
3689
+ writer.writeRepeatedMessage(
3690
+ 28,
3691
+ f,
3692
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.serializeBinaryToWriter
3693
+ );
3694
+ }
3695
+ f = message.getPointingDeviceList();
3696
+ if (f.length > 0) {
3697
+ writer.writeRepeatedMessage(
3698
+ 29,
3699
+ f,
3700
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.serializeBinaryToWriter
3701
+ );
3702
+ }
3629
3703
  f = message.getOtModule();
3630
3704
  if (f != null) {
3631
3705
  writer.writeMessage(
@@ -4503,6 +4577,82 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearGraphicsCardList = func
4503
4577
  };
4504
4578
 
4505
4579
 
4580
+ /**
4581
+ * repeated Keyboard keyboard = 28;
4582
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.Keyboard>}
4583
+ */
4584
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getKeyboardList = function() {
4585
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.Keyboard>} */ (
4586
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.Keyboard, 28));
4587
+ };
4588
+
4589
+
4590
+ /**
4591
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.Keyboard>} value
4592
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
4593
+ */
4594
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setKeyboardList = function(value) {
4595
+ return jspb.Message.setRepeatedWrapperField(this, 28, value);
4596
+ };
4597
+
4598
+
4599
+ /**
4600
+ * @param {!proto.com.lansweeper.dp.outbound.v1.Keyboard=} opt_value
4601
+ * @param {number=} opt_index
4602
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard}
4603
+ */
4604
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.addKeyboard = function(opt_value, opt_index) {
4605
+ return jspb.Message.addToRepeatedWrapperField(this, 28, opt_value, proto.com.lansweeper.dp.outbound.v1.Keyboard, opt_index);
4606
+ };
4607
+
4608
+
4609
+ /**
4610
+ * Clears the list making it empty but non-null.
4611
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
4612
+ */
4613
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearKeyboardList = function() {
4614
+ return this.setKeyboardList([]);
4615
+ };
4616
+
4617
+
4618
+ /**
4619
+ * repeated PointingDevice pointing_device = 29;
4620
+ * @return {!Array<!proto.com.lansweeper.dp.outbound.v1.PointingDevice>}
4621
+ */
4622
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.getPointingDeviceList = function() {
4623
+ return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.PointingDevice>} */ (
4624
+ jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.PointingDevice, 29));
4625
+ };
4626
+
4627
+
4628
+ /**
4629
+ * @param {!Array<!proto.com.lansweeper.dp.outbound.v1.PointingDevice>} value
4630
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
4631
+ */
4632
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.setPointingDeviceList = function(value) {
4633
+ return jspb.Message.setRepeatedWrapperField(this, 29, value);
4634
+ };
4635
+
4636
+
4637
+ /**
4638
+ * @param {!proto.com.lansweeper.dp.outbound.v1.PointingDevice=} opt_value
4639
+ * @param {number=} opt_index
4640
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice}
4641
+ */
4642
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.addPointingDevice = function(opt_value, opt_index) {
4643
+ return jspb.Message.addToRepeatedWrapperField(this, 29, opt_value, proto.com.lansweeper.dp.outbound.v1.PointingDevice, opt_index);
4644
+ };
4645
+
4646
+
4647
+ /**
4648
+ * Clears the list making it empty but non-null.
4649
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Asset} returns this
4650
+ */
4651
+ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.clearPointingDeviceList = function() {
4652
+ return this.setPointingDeviceList([]);
4653
+ };
4654
+
4655
+
4506
4656
  /**
4507
4657
  * optional OtModule ot_module = 16;
4508
4658
  * @return {?proto.com.lansweeper.dp.outbound.v1.OtModule}
@@ -16178,6 +16328,1034 @@ proto.com.lansweeper.dp.outbound.v1.HardDrive.prototype.hasMountedOn = function(
16178
16328
 
16179
16329
 
16180
16330
 
16331
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16332
+ /**
16333
+ * Creates an object representation of this proto.
16334
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16335
+ * Optional fields that are not set will be set to undefined.
16336
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16337
+ * For the list of reserved names please see:
16338
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16339
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16340
+ * JSPB instance for transitional soy proto support:
16341
+ * http://goto/soy-param-migration
16342
+ * @return {!Object}
16343
+ */
16344
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.toObject = function(opt_includeInstance) {
16345
+ return proto.com.lansweeper.dp.outbound.v1.Keyboard.toObject(opt_includeInstance, this);
16346
+ };
16347
+
16348
+
16349
+ /**
16350
+ * Static version of the {@see toObject} method.
16351
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16352
+ * the JSPB instance for transitional soy proto support:
16353
+ * http://goto/soy-param-migration
16354
+ * @param {!proto.com.lansweeper.dp.outbound.v1.Keyboard} msg The msg instance to transform.
16355
+ * @return {!Object}
16356
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16357
+ */
16358
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.toObject = function(includeInstance, msg) {
16359
+ var f, obj = {
16360
+ configManagerErrorCode: (f = msg.getConfigManagerErrorCode()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
16361
+ configManagerUserConfig: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
16362
+ description: jspb.Message.getFieldWithDefault(msg, 3, ""),
16363
+ deviceId: jspb.Message.getFieldWithDefault(msg, 4, ""),
16364
+ layout: jspb.Message.getFieldWithDefault(msg, 5, ""),
16365
+ numberOfFunctionKeys: jspb.Message.getFieldWithDefault(msg, 6, 0)
16366
+ };
16367
+
16368
+ if (includeInstance) {
16369
+ obj.$jspbMessageInstance = msg;
16370
+ }
16371
+ return obj;
16372
+ };
16373
+ }
16374
+
16375
+
16376
+ /**
16377
+ * Deserializes binary data (in protobuf wire format).
16378
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16379
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard}
16380
+ */
16381
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.deserializeBinary = function(bytes) {
16382
+ var reader = new jspb.BinaryReader(bytes);
16383
+ var msg = new proto.com.lansweeper.dp.outbound.v1.Keyboard;
16384
+ return proto.com.lansweeper.dp.outbound.v1.Keyboard.deserializeBinaryFromReader(msg, reader);
16385
+ };
16386
+
16387
+
16388
+ /**
16389
+ * Deserializes binary data (in protobuf wire format) from the
16390
+ * given reader into the given message object.
16391
+ * @param {!proto.com.lansweeper.dp.outbound.v1.Keyboard} msg The message object to deserialize into.
16392
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16393
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard}
16394
+ */
16395
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.deserializeBinaryFromReader = function(msg, reader) {
16396
+ while (reader.nextField()) {
16397
+ if (reader.isEndGroup()) {
16398
+ break;
16399
+ }
16400
+ var field = reader.getFieldNumber();
16401
+ switch (field) {
16402
+ case 1:
16403
+ var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
16404
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
16405
+ msg.setConfigManagerErrorCode(value);
16406
+ break;
16407
+ case 2:
16408
+ var value = /** @type {boolean} */ (reader.readBool());
16409
+ msg.setConfigManagerUserConfig(value);
16410
+ break;
16411
+ case 3:
16412
+ var value = /** @type {string} */ (reader.readString());
16413
+ msg.setDescription(value);
16414
+ break;
16415
+ case 4:
16416
+ var value = /** @type {string} */ (reader.readString());
16417
+ msg.setDeviceId(value);
16418
+ break;
16419
+ case 5:
16420
+ var value = /** @type {string} */ (reader.readString());
16421
+ msg.setLayout(value);
16422
+ break;
16423
+ case 6:
16424
+ var value = /** @type {number} */ (reader.readInt32());
16425
+ msg.setNumberOfFunctionKeys(value);
16426
+ break;
16427
+ default:
16428
+ reader.skipField();
16429
+ break;
16430
+ }
16431
+ }
16432
+ return msg;
16433
+ };
16434
+
16435
+
16436
+ /**
16437
+ * Serializes the message to binary data (in protobuf wire format).
16438
+ * @return {!Uint8Array}
16439
+ */
16440
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.serializeBinary = function() {
16441
+ var writer = new jspb.BinaryWriter();
16442
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.serializeBinaryToWriter(this, writer);
16443
+ return writer.getResultBuffer();
16444
+ };
16445
+
16446
+
16447
+ /**
16448
+ * Serializes the given message to binary data (in protobuf wire
16449
+ * format), writing to the given BinaryWriter.
16450
+ * @param {!proto.com.lansweeper.dp.outbound.v1.Keyboard} message
16451
+ * @param {!jspb.BinaryWriter} writer
16452
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16453
+ */
16454
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.serializeBinaryToWriter = function(message, writer) {
16455
+ var f = undefined;
16456
+ f = message.getConfigManagerErrorCode();
16457
+ if (f != null) {
16458
+ writer.writeMessage(
16459
+ 1,
16460
+ f,
16461
+ proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
16462
+ );
16463
+ }
16464
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
16465
+ if (f != null) {
16466
+ writer.writeBool(
16467
+ 2,
16468
+ f
16469
+ );
16470
+ }
16471
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
16472
+ if (f != null) {
16473
+ writer.writeString(
16474
+ 3,
16475
+ f
16476
+ );
16477
+ }
16478
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
16479
+ if (f != null) {
16480
+ writer.writeString(
16481
+ 4,
16482
+ f
16483
+ );
16484
+ }
16485
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
16486
+ if (f != null) {
16487
+ writer.writeString(
16488
+ 5,
16489
+ f
16490
+ );
16491
+ }
16492
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
16493
+ if (f != null) {
16494
+ writer.writeInt32(
16495
+ 6,
16496
+ f
16497
+ );
16498
+ }
16499
+ };
16500
+
16501
+
16502
+ /**
16503
+ * optional MappedValue config_manager_error_code = 1;
16504
+ * @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
16505
+ */
16506
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.getConfigManagerErrorCode = function() {
16507
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
16508
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 1));
16509
+ };
16510
+
16511
+
16512
+ /**
16513
+ * @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
16514
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16515
+ */
16516
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.setConfigManagerErrorCode = function(value) {
16517
+ return jspb.Message.setWrapperField(this, 1, value);
16518
+ };
16519
+
16520
+
16521
+ /**
16522
+ * Clears the message field making it undefined.
16523
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16524
+ */
16525
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.clearConfigManagerErrorCode = function() {
16526
+ return this.setConfigManagerErrorCode(undefined);
16527
+ };
16528
+
16529
+
16530
+ /**
16531
+ * Returns whether this field is set.
16532
+ * @return {boolean}
16533
+ */
16534
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.hasConfigManagerErrorCode = function() {
16535
+ return jspb.Message.getField(this, 1) != null;
16536
+ };
16537
+
16538
+
16539
+ /**
16540
+ * optional bool config_manager_user_config = 2;
16541
+ * @return {boolean}
16542
+ */
16543
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.getConfigManagerUserConfig = function() {
16544
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
16545
+ };
16546
+
16547
+
16548
+ /**
16549
+ * @param {boolean} value
16550
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16551
+ */
16552
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.setConfigManagerUserConfig = function(value) {
16553
+ return jspb.Message.setField(this, 2, value);
16554
+ };
16555
+
16556
+
16557
+ /**
16558
+ * Clears the field making it undefined.
16559
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16560
+ */
16561
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.clearConfigManagerUserConfig = function() {
16562
+ return jspb.Message.setField(this, 2, undefined);
16563
+ };
16564
+
16565
+
16566
+ /**
16567
+ * Returns whether this field is set.
16568
+ * @return {boolean}
16569
+ */
16570
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.hasConfigManagerUserConfig = function() {
16571
+ return jspb.Message.getField(this, 2) != null;
16572
+ };
16573
+
16574
+
16575
+ /**
16576
+ * optional string description = 3;
16577
+ * @return {string}
16578
+ */
16579
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.getDescription = function() {
16580
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
16581
+ };
16582
+
16583
+
16584
+ /**
16585
+ * @param {string} value
16586
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16587
+ */
16588
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.setDescription = function(value) {
16589
+ return jspb.Message.setField(this, 3, value);
16590
+ };
16591
+
16592
+
16593
+ /**
16594
+ * Clears the field making it undefined.
16595
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16596
+ */
16597
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.clearDescription = function() {
16598
+ return jspb.Message.setField(this, 3, undefined);
16599
+ };
16600
+
16601
+
16602
+ /**
16603
+ * Returns whether this field is set.
16604
+ * @return {boolean}
16605
+ */
16606
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.hasDescription = function() {
16607
+ return jspb.Message.getField(this, 3) != null;
16608
+ };
16609
+
16610
+
16611
+ /**
16612
+ * optional string device_id = 4;
16613
+ * @return {string}
16614
+ */
16615
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.getDeviceId = function() {
16616
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
16617
+ };
16618
+
16619
+
16620
+ /**
16621
+ * @param {string} value
16622
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16623
+ */
16624
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.setDeviceId = function(value) {
16625
+ return jspb.Message.setField(this, 4, value);
16626
+ };
16627
+
16628
+
16629
+ /**
16630
+ * Clears the field making it undefined.
16631
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16632
+ */
16633
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.clearDeviceId = function() {
16634
+ return jspb.Message.setField(this, 4, undefined);
16635
+ };
16636
+
16637
+
16638
+ /**
16639
+ * Returns whether this field is set.
16640
+ * @return {boolean}
16641
+ */
16642
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.hasDeviceId = function() {
16643
+ return jspb.Message.getField(this, 4) != null;
16644
+ };
16645
+
16646
+
16647
+ /**
16648
+ * optional string layout = 5;
16649
+ * @return {string}
16650
+ */
16651
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.getLayout = function() {
16652
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
16653
+ };
16654
+
16655
+
16656
+ /**
16657
+ * @param {string} value
16658
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16659
+ */
16660
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.setLayout = function(value) {
16661
+ return jspb.Message.setField(this, 5, value);
16662
+ };
16663
+
16664
+
16665
+ /**
16666
+ * Clears the field making it undefined.
16667
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16668
+ */
16669
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.clearLayout = function() {
16670
+ return jspb.Message.setField(this, 5, undefined);
16671
+ };
16672
+
16673
+
16674
+ /**
16675
+ * Returns whether this field is set.
16676
+ * @return {boolean}
16677
+ */
16678
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.hasLayout = function() {
16679
+ return jspb.Message.getField(this, 5) != null;
16680
+ };
16681
+
16682
+
16683
+ /**
16684
+ * optional int32 number_of_function_keys = 6;
16685
+ * @return {number}
16686
+ */
16687
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.getNumberOfFunctionKeys = function() {
16688
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
16689
+ };
16690
+
16691
+
16692
+ /**
16693
+ * @param {number} value
16694
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16695
+ */
16696
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.setNumberOfFunctionKeys = function(value) {
16697
+ return jspb.Message.setField(this, 6, value);
16698
+ };
16699
+
16700
+
16701
+ /**
16702
+ * Clears the field making it undefined.
16703
+ * @return {!proto.com.lansweeper.dp.outbound.v1.Keyboard} returns this
16704
+ */
16705
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.clearNumberOfFunctionKeys = function() {
16706
+ return jspb.Message.setField(this, 6, undefined);
16707
+ };
16708
+
16709
+
16710
+ /**
16711
+ * Returns whether this field is set.
16712
+ * @return {boolean}
16713
+ */
16714
+ proto.com.lansweeper.dp.outbound.v1.Keyboard.prototype.hasNumberOfFunctionKeys = function() {
16715
+ return jspb.Message.getField(this, 6) != null;
16716
+ };
16717
+
16718
+
16719
+
16720
+
16721
+
16722
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16723
+ /**
16724
+ * Creates an object representation of this proto.
16725
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16726
+ * Optional fields that are not set will be set to undefined.
16727
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16728
+ * For the list of reserved names please see:
16729
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16730
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16731
+ * JSPB instance for transitional soy proto support:
16732
+ * http://goto/soy-param-migration
16733
+ * @return {!Object}
16734
+ */
16735
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.toObject = function(opt_includeInstance) {
16736
+ return proto.com.lansweeper.dp.outbound.v1.PointingDevice.toObject(opt_includeInstance, this);
16737
+ };
16738
+
16739
+
16740
+ /**
16741
+ * Static version of the {@see toObject} method.
16742
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16743
+ * the JSPB instance for transitional soy proto support:
16744
+ * http://goto/soy-param-migration
16745
+ * @param {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} msg The msg instance to transform.
16746
+ * @return {!Object}
16747
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16748
+ */
16749
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.toObject = function(includeInstance, msg) {
16750
+ var f, obj = {
16751
+ caption: jspb.Message.getFieldWithDefault(msg, 1, ""),
16752
+ deviceId: jspb.Message.getFieldWithDefault(msg, 2, ""),
16753
+ deviceInterface: (f = msg.getDeviceInterface()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
16754
+ doubleSpeedThreshold: jspb.Message.getFieldWithDefault(msg, 4, 0),
16755
+ handedness: (f = msg.getHandedness()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
16756
+ infFileName: jspb.Message.getFieldWithDefault(msg, 6, ""),
16757
+ infSection: jspb.Message.getFieldWithDefault(msg, 7, ""),
16758
+ manufacturer: jspb.Message.getFieldWithDefault(msg, 8, ""),
16759
+ numberOfButtons: jspb.Message.getFieldWithDefault(msg, 9, 0),
16760
+ pointingType: (f = msg.getPointingType()) && proto.com.lansweeper.dp.outbound.v1.MappedValue.toObject(includeInstance, f),
16761
+ quadSpeedThreshold: jspb.Message.getFieldWithDefault(msg, 11, 0)
16762
+ };
16763
+
16764
+ if (includeInstance) {
16765
+ obj.$jspbMessageInstance = msg;
16766
+ }
16767
+ return obj;
16768
+ };
16769
+ }
16770
+
16771
+
16772
+ /**
16773
+ * Deserializes binary data (in protobuf wire format).
16774
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16775
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice}
16776
+ */
16777
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.deserializeBinary = function(bytes) {
16778
+ var reader = new jspb.BinaryReader(bytes);
16779
+ var msg = new proto.com.lansweeper.dp.outbound.v1.PointingDevice;
16780
+ return proto.com.lansweeper.dp.outbound.v1.PointingDevice.deserializeBinaryFromReader(msg, reader);
16781
+ };
16782
+
16783
+
16784
+ /**
16785
+ * Deserializes binary data (in protobuf wire format) from the
16786
+ * given reader into the given message object.
16787
+ * @param {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} msg The message object to deserialize into.
16788
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16789
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice}
16790
+ */
16791
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.deserializeBinaryFromReader = function(msg, reader) {
16792
+ while (reader.nextField()) {
16793
+ if (reader.isEndGroup()) {
16794
+ break;
16795
+ }
16796
+ var field = reader.getFieldNumber();
16797
+ switch (field) {
16798
+ case 1:
16799
+ var value = /** @type {string} */ (reader.readString());
16800
+ msg.setCaption(value);
16801
+ break;
16802
+ case 2:
16803
+ var value = /** @type {string} */ (reader.readString());
16804
+ msg.setDeviceId(value);
16805
+ break;
16806
+ case 3:
16807
+ var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
16808
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
16809
+ msg.setDeviceInterface(value);
16810
+ break;
16811
+ case 4:
16812
+ var value = /** @type {number} */ (reader.readInt32());
16813
+ msg.setDoubleSpeedThreshold(value);
16814
+ break;
16815
+ case 5:
16816
+ var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
16817
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
16818
+ msg.setHandedness(value);
16819
+ break;
16820
+ case 6:
16821
+ var value = /** @type {string} */ (reader.readString());
16822
+ msg.setInfFileName(value);
16823
+ break;
16824
+ case 7:
16825
+ var value = /** @type {string} */ (reader.readString());
16826
+ msg.setInfSection(value);
16827
+ break;
16828
+ case 8:
16829
+ var value = /** @type {string} */ (reader.readString());
16830
+ msg.setManufacturer(value);
16831
+ break;
16832
+ case 9:
16833
+ var value = /** @type {number} */ (reader.readInt32());
16834
+ msg.setNumberOfButtons(value);
16835
+ break;
16836
+ case 10:
16837
+ var value = new proto.com.lansweeper.dp.outbound.v1.MappedValue;
16838
+ reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.MappedValue.deserializeBinaryFromReader);
16839
+ msg.setPointingType(value);
16840
+ break;
16841
+ case 11:
16842
+ var value = /** @type {number} */ (reader.readInt32());
16843
+ msg.setQuadSpeedThreshold(value);
16844
+ break;
16845
+ default:
16846
+ reader.skipField();
16847
+ break;
16848
+ }
16849
+ }
16850
+ return msg;
16851
+ };
16852
+
16853
+
16854
+ /**
16855
+ * Serializes the message to binary data (in protobuf wire format).
16856
+ * @return {!Uint8Array}
16857
+ */
16858
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.serializeBinary = function() {
16859
+ var writer = new jspb.BinaryWriter();
16860
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.serializeBinaryToWriter(this, writer);
16861
+ return writer.getResultBuffer();
16862
+ };
16863
+
16864
+
16865
+ /**
16866
+ * Serializes the given message to binary data (in protobuf wire
16867
+ * format), writing to the given BinaryWriter.
16868
+ * @param {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} message
16869
+ * @param {!jspb.BinaryWriter} writer
16870
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16871
+ */
16872
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.serializeBinaryToWriter = function(message, writer) {
16873
+ var f = undefined;
16874
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
16875
+ if (f != null) {
16876
+ writer.writeString(
16877
+ 1,
16878
+ f
16879
+ );
16880
+ }
16881
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
16882
+ if (f != null) {
16883
+ writer.writeString(
16884
+ 2,
16885
+ f
16886
+ );
16887
+ }
16888
+ f = message.getDeviceInterface();
16889
+ if (f != null) {
16890
+ writer.writeMessage(
16891
+ 3,
16892
+ f,
16893
+ proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
16894
+ );
16895
+ }
16896
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
16897
+ if (f != null) {
16898
+ writer.writeInt32(
16899
+ 4,
16900
+ f
16901
+ );
16902
+ }
16903
+ f = message.getHandedness();
16904
+ if (f != null) {
16905
+ writer.writeMessage(
16906
+ 5,
16907
+ f,
16908
+ proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
16909
+ );
16910
+ }
16911
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
16912
+ if (f != null) {
16913
+ writer.writeString(
16914
+ 6,
16915
+ f
16916
+ );
16917
+ }
16918
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
16919
+ if (f != null) {
16920
+ writer.writeString(
16921
+ 7,
16922
+ f
16923
+ );
16924
+ }
16925
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
16926
+ if (f != null) {
16927
+ writer.writeString(
16928
+ 8,
16929
+ f
16930
+ );
16931
+ }
16932
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
16933
+ if (f != null) {
16934
+ writer.writeInt32(
16935
+ 9,
16936
+ f
16937
+ );
16938
+ }
16939
+ f = message.getPointingType();
16940
+ if (f != null) {
16941
+ writer.writeMessage(
16942
+ 10,
16943
+ f,
16944
+ proto.com.lansweeper.dp.outbound.v1.MappedValue.serializeBinaryToWriter
16945
+ );
16946
+ }
16947
+ f = /** @type {number} */ (jspb.Message.getField(message, 11));
16948
+ if (f != null) {
16949
+ writer.writeInt32(
16950
+ 11,
16951
+ f
16952
+ );
16953
+ }
16954
+ };
16955
+
16956
+
16957
+ /**
16958
+ * optional string caption = 1;
16959
+ * @return {string}
16960
+ */
16961
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getCaption = function() {
16962
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
16963
+ };
16964
+
16965
+
16966
+ /**
16967
+ * @param {string} value
16968
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
16969
+ */
16970
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setCaption = function(value) {
16971
+ return jspb.Message.setField(this, 1, value);
16972
+ };
16973
+
16974
+
16975
+ /**
16976
+ * Clears the field making it undefined.
16977
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
16978
+ */
16979
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearCaption = function() {
16980
+ return jspb.Message.setField(this, 1, undefined);
16981
+ };
16982
+
16983
+
16984
+ /**
16985
+ * Returns whether this field is set.
16986
+ * @return {boolean}
16987
+ */
16988
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasCaption = function() {
16989
+ return jspb.Message.getField(this, 1) != null;
16990
+ };
16991
+
16992
+
16993
+ /**
16994
+ * optional string device_id = 2;
16995
+ * @return {string}
16996
+ */
16997
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getDeviceId = function() {
16998
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
16999
+ };
17000
+
17001
+
17002
+ /**
17003
+ * @param {string} value
17004
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17005
+ */
17006
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setDeviceId = function(value) {
17007
+ return jspb.Message.setField(this, 2, value);
17008
+ };
17009
+
17010
+
17011
+ /**
17012
+ * Clears the field making it undefined.
17013
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17014
+ */
17015
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearDeviceId = function() {
17016
+ return jspb.Message.setField(this, 2, undefined);
17017
+ };
17018
+
17019
+
17020
+ /**
17021
+ * Returns whether this field is set.
17022
+ * @return {boolean}
17023
+ */
17024
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasDeviceId = function() {
17025
+ return jspb.Message.getField(this, 2) != null;
17026
+ };
17027
+
17028
+
17029
+ /**
17030
+ * optional MappedValue device_interface = 3;
17031
+ * @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
17032
+ */
17033
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getDeviceInterface = function() {
17034
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
17035
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 3));
17036
+ };
17037
+
17038
+
17039
+ /**
17040
+ * @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
17041
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17042
+ */
17043
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setDeviceInterface = function(value) {
17044
+ return jspb.Message.setWrapperField(this, 3, value);
17045
+ };
17046
+
17047
+
17048
+ /**
17049
+ * Clears the message field making it undefined.
17050
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17051
+ */
17052
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearDeviceInterface = function() {
17053
+ return this.setDeviceInterface(undefined);
17054
+ };
17055
+
17056
+
17057
+ /**
17058
+ * Returns whether this field is set.
17059
+ * @return {boolean}
17060
+ */
17061
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasDeviceInterface = function() {
17062
+ return jspb.Message.getField(this, 3) != null;
17063
+ };
17064
+
17065
+
17066
+ /**
17067
+ * optional int32 double_speed_threshold = 4;
17068
+ * @return {number}
17069
+ */
17070
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getDoubleSpeedThreshold = function() {
17071
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
17072
+ };
17073
+
17074
+
17075
+ /**
17076
+ * @param {number} value
17077
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17078
+ */
17079
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setDoubleSpeedThreshold = function(value) {
17080
+ return jspb.Message.setField(this, 4, value);
17081
+ };
17082
+
17083
+
17084
+ /**
17085
+ * Clears the field making it undefined.
17086
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17087
+ */
17088
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearDoubleSpeedThreshold = function() {
17089
+ return jspb.Message.setField(this, 4, undefined);
17090
+ };
17091
+
17092
+
17093
+ /**
17094
+ * Returns whether this field is set.
17095
+ * @return {boolean}
17096
+ */
17097
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasDoubleSpeedThreshold = function() {
17098
+ return jspb.Message.getField(this, 4) != null;
17099
+ };
17100
+
17101
+
17102
+ /**
17103
+ * optional MappedValue handedness = 5;
17104
+ * @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
17105
+ */
17106
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getHandedness = function() {
17107
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
17108
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 5));
17109
+ };
17110
+
17111
+
17112
+ /**
17113
+ * @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
17114
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17115
+ */
17116
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setHandedness = function(value) {
17117
+ return jspb.Message.setWrapperField(this, 5, value);
17118
+ };
17119
+
17120
+
17121
+ /**
17122
+ * Clears the message field making it undefined.
17123
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17124
+ */
17125
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearHandedness = function() {
17126
+ return this.setHandedness(undefined);
17127
+ };
17128
+
17129
+
17130
+ /**
17131
+ * Returns whether this field is set.
17132
+ * @return {boolean}
17133
+ */
17134
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasHandedness = function() {
17135
+ return jspb.Message.getField(this, 5) != null;
17136
+ };
17137
+
17138
+
17139
+ /**
17140
+ * optional string inf_file_name = 6;
17141
+ * @return {string}
17142
+ */
17143
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getInfFileName = function() {
17144
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
17145
+ };
17146
+
17147
+
17148
+ /**
17149
+ * @param {string} value
17150
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17151
+ */
17152
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setInfFileName = function(value) {
17153
+ return jspb.Message.setField(this, 6, value);
17154
+ };
17155
+
17156
+
17157
+ /**
17158
+ * Clears the field making it undefined.
17159
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17160
+ */
17161
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearInfFileName = function() {
17162
+ return jspb.Message.setField(this, 6, undefined);
17163
+ };
17164
+
17165
+
17166
+ /**
17167
+ * Returns whether this field is set.
17168
+ * @return {boolean}
17169
+ */
17170
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasInfFileName = function() {
17171
+ return jspb.Message.getField(this, 6) != null;
17172
+ };
17173
+
17174
+
17175
+ /**
17176
+ * optional string inf_section = 7;
17177
+ * @return {string}
17178
+ */
17179
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getInfSection = function() {
17180
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
17181
+ };
17182
+
17183
+
17184
+ /**
17185
+ * @param {string} value
17186
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17187
+ */
17188
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setInfSection = function(value) {
17189
+ return jspb.Message.setField(this, 7, value);
17190
+ };
17191
+
17192
+
17193
+ /**
17194
+ * Clears the field making it undefined.
17195
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17196
+ */
17197
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearInfSection = function() {
17198
+ return jspb.Message.setField(this, 7, undefined);
17199
+ };
17200
+
17201
+
17202
+ /**
17203
+ * Returns whether this field is set.
17204
+ * @return {boolean}
17205
+ */
17206
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasInfSection = function() {
17207
+ return jspb.Message.getField(this, 7) != null;
17208
+ };
17209
+
17210
+
17211
+ /**
17212
+ * optional string manufacturer = 8;
17213
+ * @return {string}
17214
+ */
17215
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getManufacturer = function() {
17216
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
17217
+ };
17218
+
17219
+
17220
+ /**
17221
+ * @param {string} value
17222
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17223
+ */
17224
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setManufacturer = function(value) {
17225
+ return jspb.Message.setField(this, 8, value);
17226
+ };
17227
+
17228
+
17229
+ /**
17230
+ * Clears the field making it undefined.
17231
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17232
+ */
17233
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearManufacturer = function() {
17234
+ return jspb.Message.setField(this, 8, undefined);
17235
+ };
17236
+
17237
+
17238
+ /**
17239
+ * Returns whether this field is set.
17240
+ * @return {boolean}
17241
+ */
17242
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasManufacturer = function() {
17243
+ return jspb.Message.getField(this, 8) != null;
17244
+ };
17245
+
17246
+
17247
+ /**
17248
+ * optional int32 number_of_buttons = 9;
17249
+ * @return {number}
17250
+ */
17251
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getNumberOfButtons = function() {
17252
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
17253
+ };
17254
+
17255
+
17256
+ /**
17257
+ * @param {number} value
17258
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17259
+ */
17260
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setNumberOfButtons = function(value) {
17261
+ return jspb.Message.setField(this, 9, value);
17262
+ };
17263
+
17264
+
17265
+ /**
17266
+ * Clears the field making it undefined.
17267
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17268
+ */
17269
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearNumberOfButtons = function() {
17270
+ return jspb.Message.setField(this, 9, undefined);
17271
+ };
17272
+
17273
+
17274
+ /**
17275
+ * Returns whether this field is set.
17276
+ * @return {boolean}
17277
+ */
17278
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasNumberOfButtons = function() {
17279
+ return jspb.Message.getField(this, 9) != null;
17280
+ };
17281
+
17282
+
17283
+ /**
17284
+ * optional MappedValue pointing_type = 10;
17285
+ * @return {?proto.com.lansweeper.dp.outbound.v1.MappedValue}
17286
+ */
17287
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getPointingType = function() {
17288
+ return /** @type{?proto.com.lansweeper.dp.outbound.v1.MappedValue} */ (
17289
+ jspb.Message.getWrapperField(this, proto.com.lansweeper.dp.outbound.v1.MappedValue, 10));
17290
+ };
17291
+
17292
+
17293
+ /**
17294
+ * @param {?proto.com.lansweeper.dp.outbound.v1.MappedValue|undefined} value
17295
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17296
+ */
17297
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setPointingType = function(value) {
17298
+ return jspb.Message.setWrapperField(this, 10, value);
17299
+ };
17300
+
17301
+
17302
+ /**
17303
+ * Clears the message field making it undefined.
17304
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17305
+ */
17306
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearPointingType = function() {
17307
+ return this.setPointingType(undefined);
17308
+ };
17309
+
17310
+
17311
+ /**
17312
+ * Returns whether this field is set.
17313
+ * @return {boolean}
17314
+ */
17315
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasPointingType = function() {
17316
+ return jspb.Message.getField(this, 10) != null;
17317
+ };
17318
+
17319
+
17320
+ /**
17321
+ * optional int32 quad_speed_threshold = 11;
17322
+ * @return {number}
17323
+ */
17324
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.getQuadSpeedThreshold = function() {
17325
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
17326
+ };
17327
+
17328
+
17329
+ /**
17330
+ * @param {number} value
17331
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17332
+ */
17333
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.setQuadSpeedThreshold = function(value) {
17334
+ return jspb.Message.setField(this, 11, value);
17335
+ };
17336
+
17337
+
17338
+ /**
17339
+ * Clears the field making it undefined.
17340
+ * @return {!proto.com.lansweeper.dp.outbound.v1.PointingDevice} returns this
17341
+ */
17342
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.clearQuadSpeedThreshold = function() {
17343
+ return jspb.Message.setField(this, 11, undefined);
17344
+ };
17345
+
17346
+
17347
+ /**
17348
+ * Returns whether this field is set.
17349
+ * @return {boolean}
17350
+ */
17351
+ proto.com.lansweeper.dp.outbound.v1.PointingDevice.prototype.hasQuadSpeedThreshold = function() {
17352
+ return jspb.Message.getField(this, 11) != null;
17353
+ };
17354
+
17355
+
17356
+
17357
+
17358
+
16181
17359
  if (jspb.Message.GENERATE_TO_OBJECT) {
16182
17360
  /**
16183
17361
  * Creates an object representation of this proto.