@zaber/motion 2.11.1 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/LICENSE +1538 -3009
  2. package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
  3. package/dist/lib/ascii/axis.d.ts +39 -6
  4. package/dist/lib/ascii/axis.js +58 -5
  5. package/dist/lib/ascii/axis.js.map +1 -1
  6. package/dist/lib/ascii/connection.d.ts +2 -0
  7. package/dist/lib/ascii/connection.js +2 -0
  8. package/dist/lib/ascii/connection.js.map +1 -1
  9. package/dist/lib/ascii/device.d.ts +7 -0
  10. package/dist/lib/ascii/device.js +9 -0
  11. package/dist/lib/ascii/device.js.map +1 -1
  12. package/dist/lib/ascii/index.d.ts +1 -0
  13. package/dist/lib/ascii/index.js +4 -1
  14. package/dist/lib/ascii/index.js.map +1 -1
  15. package/dist/lib/ascii/lockstep.d.ts +33 -6
  16. package/dist/lib/ascii/lockstep.js +50 -5
  17. package/dist/lib/ascii/lockstep.js.map +1 -1
  18. package/dist/lib/ascii/servo_tuner.d.ts +11 -0
  19. package/dist/lib/ascii/servo_tuner.js +22 -0
  20. package/dist/lib/ascii/servo_tuner.js.map +1 -1
  21. package/dist/lib/ascii/setting_constants.d.ts +124 -0
  22. package/dist/lib/ascii/setting_constants.js +124 -0
  23. package/dist/lib/ascii/setting_constants.js.map +1 -1
  24. package/dist/lib/ascii/storage.d.ts +98 -0
  25. package/dist/lib/ascii/storage.js +220 -0
  26. package/dist/lib/ascii/storage.js.map +1 -0
  27. package/dist/lib/ascii/stream.d.ts +5 -5
  28. package/dist/lib/ascii/stream.js.map +1 -1
  29. package/dist/lib/ascii_ns.d.ts +4 -0
  30. package/dist/lib/ascii_ns.js +2 -0
  31. package/dist/lib/ascii_ns.js.map +1 -1
  32. package/dist/lib/exceptions/command_too_long_exception.d.ts +14 -0
  33. package/dist/lib/exceptions/command_too_long_exception.js +32 -0
  34. package/dist/lib/exceptions/command_too_long_exception.js.map +1 -0
  35. package/dist/lib/exceptions/command_too_long_exception_data.d.ts +24 -0
  36. package/dist/lib/exceptions/command_too_long_exception_data.js +20 -0
  37. package/dist/lib/exceptions/command_too_long_exception_data.js.map +1 -0
  38. package/dist/lib/exceptions/index.d.ts +3 -0
  39. package/dist/lib/exceptions/index.js +8 -2
  40. package/dist/lib/exceptions/index.js.map +1 -1
  41. package/dist/lib/exceptions/no_value_for_key_exception.d.ts +7 -0
  42. package/dist/lib/exceptions/no_value_for_key_exception.js +17 -0
  43. package/dist/lib/exceptions/no_value_for_key_exception.js.map +1 -0
  44. package/dist/lib/gateway/convert_exceptions.js +2 -0
  45. package/dist/lib/gateway/convert_exceptions.js.map +1 -1
  46. package/dist/lib/protobufs/main_pb.d.ts +358 -0
  47. package/dist/lib/protobufs/main_pb.js +2889 -195
  48. package/dist/lib/protobufs/main_pb.js.map +1 -1
  49. package/dist/lib/units.d.ts +63 -1
  50. package/dist/lib/units.js +70 -1
  51. package/dist/lib/units.js.map +1 -1
  52. package/package.json +3 -2
@@ -53,6 +53,7 @@ goog.exportSymbol('zaber.motion.protobufs.CanSetStateDeviceResponse', null, prot
53
53
  goog.exportSymbol('zaber.motion.protobufs.CanSetStateRequest', null, proto);
54
54
  goog.exportSymbol('zaber.motion.protobufs.CloseInterfaceRequest', null, proto);
55
55
  goog.exportSymbol('zaber.motion.protobufs.CommandFailedExceptionData', null, proto);
56
+ goog.exportSymbol('zaber.motion.protobufs.CommandTooLongExceptionData', null, proto);
56
57
  goog.exportSymbol('zaber.motion.protobufs.CustomInterfaceCloseRequest', null, proto);
57
58
  goog.exportSymbol('zaber.motion.protobufs.CustomInterfaceOpenResponse', null, proto);
58
59
  goog.exportSymbol('zaber.motion.protobufs.CustomInterfaceReadRequest', null, proto);
@@ -81,6 +82,12 @@ goog.exportSymbol('zaber.motion.protobufs.DeviceGetIsIdentifiedResponse', null,
81
82
  goog.exportSymbol('zaber.motion.protobufs.DeviceGetSettingRequest', null, proto);
82
83
  goog.exportSymbol('zaber.motion.protobufs.DeviceGetSettingResponse', null, proto);
83
84
  goog.exportSymbol('zaber.motion.protobufs.DeviceGetSettingStrResponse', null, proto);
85
+ goog.exportSymbol('zaber.motion.protobufs.DeviceGetStorageBoolRequest', null, proto);
86
+ goog.exportSymbol('zaber.motion.protobufs.DeviceGetStorageBoolResponse', null, proto);
87
+ goog.exportSymbol('zaber.motion.protobufs.DeviceGetStorageNumberRequest', null, proto);
88
+ goog.exportSymbol('zaber.motion.protobufs.DeviceGetStorageNumberResponse', null, proto);
89
+ goog.exportSymbol('zaber.motion.protobufs.DeviceGetStorageRequest', null, proto);
90
+ goog.exportSymbol('zaber.motion.protobufs.DeviceGetStorageResponse', null, proto);
84
91
  goog.exportSymbol('zaber.motion.protobufs.DeviceGetWarningsRequest', null, proto);
85
92
  goog.exportSymbol('zaber.motion.protobufs.DeviceGetWarningsResponse', null, proto);
86
93
  goog.exportSymbol('zaber.motion.protobufs.DeviceHomeRequest', null, proto);
@@ -103,6 +110,9 @@ goog.exportSymbol('zaber.motion.protobufs.DeviceSetAnalogOutputRequest', null, p
103
110
  goog.exportSymbol('zaber.motion.protobufs.DeviceSetDigitalOutputRequest', null, proto);
104
111
  goog.exportSymbol('zaber.motion.protobufs.DeviceSetSettingRequest', null, proto);
105
112
  goog.exportSymbol('zaber.motion.protobufs.DeviceSetSettingStrRequest', null, proto);
113
+ goog.exportSymbol('zaber.motion.protobufs.DeviceSetStorageBoolRequest', null, proto);
114
+ goog.exportSymbol('zaber.motion.protobufs.DeviceSetStorageNumberRequest', null, proto);
115
+ goog.exportSymbol('zaber.motion.protobufs.DeviceSetStorageRequest', null, proto);
106
116
  goog.exportSymbol('zaber.motion.protobufs.DeviceStopRequest', null, proto);
107
117
  goog.exportSymbol('zaber.motion.protobufs.DeviceWaitUntilIdleRequest', null, proto);
108
118
  goog.exportSymbol('zaber.motion.protobufs.DisconnectedEvent', null, proto);
@@ -189,6 +199,7 @@ goog.exportSymbol('zaber.motion.protobufs.SetServoTuningPIDRequest', null, proto
189
199
  goog.exportSymbol('zaber.motion.protobufs.SetServoTuningRequest', null, proto);
190
200
  goog.exportSymbol('zaber.motion.protobufs.SetSimpleTuning', null, proto);
191
201
  goog.exportSymbol('zaber.motion.protobufs.SetStateRequest', null, proto);
202
+ goog.exportSymbol('zaber.motion.protobufs.SimpleTuningIsInUse', null, proto);
192
203
  goog.exportSymbol('zaber.motion.protobufs.SimpleTuningParam', null, proto);
193
204
  goog.exportSymbol('zaber.motion.protobufs.SimpleTuningParamList', null, proto);
194
205
  goog.exportSymbol('zaber.motion.protobufs.StartupParamset', null, proto);
@@ -735,6 +746,27 @@ if (goog.DEBUG && !COMPILED) {
735
746
  */
736
747
  proto.zaber.motion.protobufs.SetDeviceStateExceptionData.displayName = 'proto.zaber.motion.protobufs.SetDeviceStateExceptionData';
737
748
  }
749
+ /**
750
+ * Generated by JsPbCodeGenerator.
751
+ * @param {Array=} opt_data Optional initial data array, typically from a
752
+ * server response, or constructed directly in Javascript. The array is used
753
+ * in place and becomes part of the constructed object. It is not cloned.
754
+ * If no data is provided, the constructed object will be empty, but still
755
+ * valid.
756
+ * @extends {jspb.Message}
757
+ * @constructor
758
+ */
759
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData = function(opt_data) {
760
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
761
+ };
762
+ goog.inherits(proto.zaber.motion.protobufs.CommandTooLongExceptionData, jspb.Message);
763
+ if (goog.DEBUG && !COMPILED) {
764
+ /**
765
+ * @public
766
+ * @override
767
+ */
768
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.displayName = 'proto.zaber.motion.protobufs.CommandTooLongExceptionData';
769
+ }
738
770
  /**
739
771
  * Generated by JsPbCodeGenerator.
740
772
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4956,6 +4988,27 @@ if (goog.DEBUG && !COMPILED) {
4956
4988
  */
4957
4989
  proto.zaber.motion.protobufs.SimpleTuningParamList.displayName = 'proto.zaber.motion.protobufs.SimpleTuningParamList';
4958
4990
  }
4991
+ /**
4992
+ * Generated by JsPbCodeGenerator.
4993
+ * @param {Array=} opt_data Optional initial data array, typically from a
4994
+ * server response, or constructed directly in Javascript. The array is used
4995
+ * in place and becomes part of the constructed object. It is not cloned.
4996
+ * If no data is provided, the constructed object will be empty, but still
4997
+ * valid.
4998
+ * @extends {jspb.Message}
4999
+ * @constructor
5000
+ */
5001
+ proto.zaber.motion.protobufs.SimpleTuningIsInUse = function(opt_data) {
5002
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5003
+ };
5004
+ goog.inherits(proto.zaber.motion.protobufs.SimpleTuningIsInUse, jspb.Message);
5005
+ if (goog.DEBUG && !COMPILED) {
5006
+ /**
5007
+ * @public
5008
+ * @override
5009
+ */
5010
+ proto.zaber.motion.protobufs.SimpleTuningIsInUse.displayName = 'proto.zaber.motion.protobufs.SimpleTuningIsInUse';
5011
+ }
4959
5012
  /**
4960
5013
  * Generated by JsPbCodeGenerator.
4961
5014
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5439,6 +5492,195 @@ if (goog.DEBUG && !COMPILED) {
5439
5492
  */
5440
5493
  proto.zaber.motion.protobufs.TranslatorSetFeedRateOverrideRequest.displayName = 'proto.zaber.motion.protobufs.TranslatorSetFeedRateOverrideRequest';
5441
5494
  }
5495
+ /**
5496
+ * Generated by JsPbCodeGenerator.
5497
+ * @param {Array=} opt_data Optional initial data array, typically from a
5498
+ * server response, or constructed directly in Javascript. The array is used
5499
+ * in place and becomes part of the constructed object. It is not cloned.
5500
+ * If no data is provided, the constructed object will be empty, but still
5501
+ * valid.
5502
+ * @extends {jspb.Message}
5503
+ * @constructor
5504
+ */
5505
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest = function(opt_data) {
5506
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5507
+ };
5508
+ goog.inherits(proto.zaber.motion.protobufs.DeviceSetStorageRequest, jspb.Message);
5509
+ if (goog.DEBUG && !COMPILED) {
5510
+ /**
5511
+ * @public
5512
+ * @override
5513
+ */
5514
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetStorageRequest';
5515
+ }
5516
+ /**
5517
+ * Generated by JsPbCodeGenerator.
5518
+ * @param {Array=} opt_data Optional initial data array, typically from a
5519
+ * server response, or constructed directly in Javascript. The array is used
5520
+ * in place and becomes part of the constructed object. It is not cloned.
5521
+ * If no data is provided, the constructed object will be empty, but still
5522
+ * valid.
5523
+ * @extends {jspb.Message}
5524
+ * @constructor
5525
+ */
5526
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest = function(opt_data) {
5527
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5528
+ };
5529
+ goog.inherits(proto.zaber.motion.protobufs.DeviceGetStorageRequest, jspb.Message);
5530
+ if (goog.DEBUG && !COMPILED) {
5531
+ /**
5532
+ * @public
5533
+ * @override
5534
+ */
5535
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.displayName = 'proto.zaber.motion.protobufs.DeviceGetStorageRequest';
5536
+ }
5537
+ /**
5538
+ * Generated by JsPbCodeGenerator.
5539
+ * @param {Array=} opt_data Optional initial data array, typically from a
5540
+ * server response, or constructed directly in Javascript. The array is used
5541
+ * in place and becomes part of the constructed object. It is not cloned.
5542
+ * If no data is provided, the constructed object will be empty, but still
5543
+ * valid.
5544
+ * @extends {jspb.Message}
5545
+ * @constructor
5546
+ */
5547
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse = function(opt_data) {
5548
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5549
+ };
5550
+ goog.inherits(proto.zaber.motion.protobufs.DeviceGetStorageResponse, jspb.Message);
5551
+ if (goog.DEBUG && !COMPILED) {
5552
+ /**
5553
+ * @public
5554
+ * @override
5555
+ */
5556
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.displayName = 'proto.zaber.motion.protobufs.DeviceGetStorageResponse';
5557
+ }
5558
+ /**
5559
+ * Generated by JsPbCodeGenerator.
5560
+ * @param {Array=} opt_data Optional initial data array, typically from a
5561
+ * server response, or constructed directly in Javascript. The array is used
5562
+ * in place and becomes part of the constructed object. It is not cloned.
5563
+ * If no data is provided, the constructed object will be empty, but still
5564
+ * valid.
5565
+ * @extends {jspb.Message}
5566
+ * @constructor
5567
+ */
5568
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest = function(opt_data) {
5569
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5570
+ };
5571
+ goog.inherits(proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest, jspb.Message);
5572
+ if (goog.DEBUG && !COMPILED) {
5573
+ /**
5574
+ * @public
5575
+ * @override
5576
+ */
5577
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest';
5578
+ }
5579
+ /**
5580
+ * Generated by JsPbCodeGenerator.
5581
+ * @param {Array=} opt_data Optional initial data array, typically from a
5582
+ * server response, or constructed directly in Javascript. The array is used
5583
+ * in place and becomes part of the constructed object. It is not cloned.
5584
+ * If no data is provided, the constructed object will be empty, but still
5585
+ * valid.
5586
+ * @extends {jspb.Message}
5587
+ * @constructor
5588
+ */
5589
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest = function(opt_data) {
5590
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5591
+ };
5592
+ goog.inherits(proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest, jspb.Message);
5593
+ if (goog.DEBUG && !COMPILED) {
5594
+ /**
5595
+ * @public
5596
+ * @override
5597
+ */
5598
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.displayName = 'proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest';
5599
+ }
5600
+ /**
5601
+ * Generated by JsPbCodeGenerator.
5602
+ * @param {Array=} opt_data Optional initial data array, typically from a
5603
+ * server response, or constructed directly in Javascript. The array is used
5604
+ * in place and becomes part of the constructed object. It is not cloned.
5605
+ * If no data is provided, the constructed object will be empty, but still
5606
+ * valid.
5607
+ * @extends {jspb.Message}
5608
+ * @constructor
5609
+ */
5610
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse = function(opt_data) {
5611
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5612
+ };
5613
+ goog.inherits(proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse, jspb.Message);
5614
+ if (goog.DEBUG && !COMPILED) {
5615
+ /**
5616
+ * @public
5617
+ * @override
5618
+ */
5619
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.displayName = 'proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse';
5620
+ }
5621
+ /**
5622
+ * Generated by JsPbCodeGenerator.
5623
+ * @param {Array=} opt_data Optional initial data array, typically from a
5624
+ * server response, or constructed directly in Javascript. The array is used
5625
+ * in place and becomes part of the constructed object. It is not cloned.
5626
+ * If no data is provided, the constructed object will be empty, but still
5627
+ * valid.
5628
+ * @extends {jspb.Message}
5629
+ * @constructor
5630
+ */
5631
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest = function(opt_data) {
5632
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5633
+ };
5634
+ goog.inherits(proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest, jspb.Message);
5635
+ if (goog.DEBUG && !COMPILED) {
5636
+ /**
5637
+ * @public
5638
+ * @override
5639
+ */
5640
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest';
5641
+ }
5642
+ /**
5643
+ * Generated by JsPbCodeGenerator.
5644
+ * @param {Array=} opt_data Optional initial data array, typically from a
5645
+ * server response, or constructed directly in Javascript. The array is used
5646
+ * in place and becomes part of the constructed object. It is not cloned.
5647
+ * If no data is provided, the constructed object will be empty, but still
5648
+ * valid.
5649
+ * @extends {jspb.Message}
5650
+ * @constructor
5651
+ */
5652
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest = function(opt_data) {
5653
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5654
+ };
5655
+ goog.inherits(proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest, jspb.Message);
5656
+ if (goog.DEBUG && !COMPILED) {
5657
+ /**
5658
+ * @public
5659
+ * @override
5660
+ */
5661
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.displayName = 'proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest';
5662
+ }
5663
+ /**
5664
+ * Generated by JsPbCodeGenerator.
5665
+ * @param {Array=} opt_data Optional initial data array, typically from a
5666
+ * server response, or constructed directly in Javascript. The array is used
5667
+ * in place and becomes part of the constructed object. It is not cloned.
5668
+ * If no data is provided, the constructed object will be empty, but still
5669
+ * valid.
5670
+ * @extends {jspb.Message}
5671
+ * @constructor
5672
+ */
5673
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse = function(opt_data) {
5674
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5675
+ };
5676
+ goog.inherits(proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse, jspb.Message);
5677
+ if (goog.DEBUG && !COMPILED) {
5678
+ /**
5679
+ * @public
5680
+ * @override
5681
+ */
5682
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.displayName = 'proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse';
5683
+ }
5442
5684
 
5443
5685
 
5444
5686
 
@@ -9704,6 +9946,226 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.clearStorageL
9704
9946
 
9705
9947
 
9706
9948
 
9949
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9950
+ /**
9951
+ * Creates an object representation of this proto.
9952
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9953
+ * Optional fields that are not set will be set to undefined.
9954
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9955
+ * For the list of reserved names please see:
9956
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9957
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9958
+ * JSPB instance for transitional soy proto support:
9959
+ * http://goto/soy-param-migration
9960
+ * @return {!Object}
9961
+ */
9962
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.toObject = function(opt_includeInstance) {
9963
+ return proto.zaber.motion.protobufs.CommandTooLongExceptionData.toObject(opt_includeInstance, this);
9964
+ };
9965
+
9966
+
9967
+ /**
9968
+ * Static version of the {@see toObject} method.
9969
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9970
+ * the JSPB instance for transitional soy proto support:
9971
+ * http://goto/soy-param-migration
9972
+ * @param {!proto.zaber.motion.protobufs.CommandTooLongExceptionData} msg The msg instance to transform.
9973
+ * @return {!Object}
9974
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9975
+ */
9976
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.toObject = function(includeInstance, msg) {
9977
+ var f, obj = {
9978
+ fit: jspb.Message.getFieldWithDefault(msg, 1, ""),
9979
+ remainder: jspb.Message.getFieldWithDefault(msg, 2, ""),
9980
+ packetSize: jspb.Message.getFieldWithDefault(msg, 3, 0),
9981
+ packetsMax: jspb.Message.getFieldWithDefault(msg, 4, 0)
9982
+ };
9983
+
9984
+ if (includeInstance) {
9985
+ obj.$jspbMessageInstance = msg;
9986
+ }
9987
+ return obj;
9988
+ };
9989
+ }
9990
+
9991
+
9992
+ /**
9993
+ * Deserializes binary data (in protobuf wire format).
9994
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9995
+ * @return {!proto.zaber.motion.protobufs.CommandTooLongExceptionData}
9996
+ */
9997
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.deserializeBinary = function(bytes) {
9998
+ var reader = new jspb.BinaryReader(bytes);
9999
+ var msg = new proto.zaber.motion.protobufs.CommandTooLongExceptionData;
10000
+ return proto.zaber.motion.protobufs.CommandTooLongExceptionData.deserializeBinaryFromReader(msg, reader);
10001
+ };
10002
+
10003
+
10004
+ /**
10005
+ * Deserializes binary data (in protobuf wire format) from the
10006
+ * given reader into the given message object.
10007
+ * @param {!proto.zaber.motion.protobufs.CommandTooLongExceptionData} msg The message object to deserialize into.
10008
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10009
+ * @return {!proto.zaber.motion.protobufs.CommandTooLongExceptionData}
10010
+ */
10011
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.deserializeBinaryFromReader = function(msg, reader) {
10012
+ while (reader.nextField()) {
10013
+ if (reader.isEndGroup()) {
10014
+ break;
10015
+ }
10016
+ var field = reader.getFieldNumber();
10017
+ switch (field) {
10018
+ case 1:
10019
+ var value = /** @type {string} */ (reader.readString());
10020
+ msg.setFit(value);
10021
+ break;
10022
+ case 2:
10023
+ var value = /** @type {string} */ (reader.readString());
10024
+ msg.setRemainder(value);
10025
+ break;
10026
+ case 3:
10027
+ var value = /** @type {number} */ (reader.readInt32());
10028
+ msg.setPacketSize(value);
10029
+ break;
10030
+ case 4:
10031
+ var value = /** @type {number} */ (reader.readInt32());
10032
+ msg.setPacketsMax(value);
10033
+ break;
10034
+ default:
10035
+ reader.skipField();
10036
+ break;
10037
+ }
10038
+ }
10039
+ return msg;
10040
+ };
10041
+
10042
+
10043
+ /**
10044
+ * Serializes the message to binary data (in protobuf wire format).
10045
+ * @return {!Uint8Array}
10046
+ */
10047
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.serializeBinary = function() {
10048
+ var writer = new jspb.BinaryWriter();
10049
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.serializeBinaryToWriter(this, writer);
10050
+ return writer.getResultBuffer();
10051
+ };
10052
+
10053
+
10054
+ /**
10055
+ * Serializes the given message to binary data (in protobuf wire
10056
+ * format), writing to the given BinaryWriter.
10057
+ * @param {!proto.zaber.motion.protobufs.CommandTooLongExceptionData} message
10058
+ * @param {!jspb.BinaryWriter} writer
10059
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10060
+ */
10061
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.serializeBinaryToWriter = function(message, writer) {
10062
+ var f = undefined;
10063
+ f = message.getFit();
10064
+ if (f.length > 0) {
10065
+ writer.writeString(
10066
+ 1,
10067
+ f
10068
+ );
10069
+ }
10070
+ f = message.getRemainder();
10071
+ if (f.length > 0) {
10072
+ writer.writeString(
10073
+ 2,
10074
+ f
10075
+ );
10076
+ }
10077
+ f = message.getPacketSize();
10078
+ if (f !== 0) {
10079
+ writer.writeInt32(
10080
+ 3,
10081
+ f
10082
+ );
10083
+ }
10084
+ f = message.getPacketsMax();
10085
+ if (f !== 0) {
10086
+ writer.writeInt32(
10087
+ 4,
10088
+ f
10089
+ );
10090
+ }
10091
+ };
10092
+
10093
+
10094
+ /**
10095
+ * optional string fit = 1;
10096
+ * @return {string}
10097
+ */
10098
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.getFit = function() {
10099
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
10100
+ };
10101
+
10102
+
10103
+ /**
10104
+ * @param {string} value
10105
+ * @return {!proto.zaber.motion.protobufs.CommandTooLongExceptionData} returns this
10106
+ */
10107
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.setFit = function(value) {
10108
+ return jspb.Message.setProto3StringField(this, 1, value);
10109
+ };
10110
+
10111
+
10112
+ /**
10113
+ * optional string remainder = 2;
10114
+ * @return {string}
10115
+ */
10116
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.getRemainder = function() {
10117
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
10118
+ };
10119
+
10120
+
10121
+ /**
10122
+ * @param {string} value
10123
+ * @return {!proto.zaber.motion.protobufs.CommandTooLongExceptionData} returns this
10124
+ */
10125
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.setRemainder = function(value) {
10126
+ return jspb.Message.setProto3StringField(this, 2, value);
10127
+ };
10128
+
10129
+
10130
+ /**
10131
+ * optional int32 packet_size = 3;
10132
+ * @return {number}
10133
+ */
10134
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.getPacketSize = function() {
10135
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
10136
+ };
10137
+
10138
+
10139
+ /**
10140
+ * @param {number} value
10141
+ * @return {!proto.zaber.motion.protobufs.CommandTooLongExceptionData} returns this
10142
+ */
10143
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.setPacketSize = function(value) {
10144
+ return jspb.Message.setProto3IntField(this, 3, value);
10145
+ };
10146
+
10147
+
10148
+ /**
10149
+ * optional int32 packets_max = 4;
10150
+ * @return {number}
10151
+ */
10152
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.getPacketsMax = function() {
10153
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
10154
+ };
10155
+
10156
+
10157
+ /**
10158
+ * @param {number} value
10159
+ * @return {!proto.zaber.motion.protobufs.CommandTooLongExceptionData} returns this
10160
+ */
10161
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.setPacketsMax = function(value) {
10162
+ return jspb.Message.setProto3IntField(this, 4, value);
10163
+ };
10164
+
10165
+
10166
+
10167
+
10168
+
9707
10169
  if (jspb.Message.GENERATE_TO_OBJECT) {
9708
10170
  /**
9709
10171
  * Creates an object representation of this proto.
@@ -15309,7 +15771,11 @@ proto.zaber.motion.protobufs.DeviceMoveRequest.toObject = function(includeInstan
15309
15771
  waitUntilIdle: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
15310
15772
  type: jspb.Message.getFieldWithDefault(msg, 5, 0),
15311
15773
  arg: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
15312
- unit: jspb.Message.getFieldWithDefault(msg, 7, "")
15774
+ unit: jspb.Message.getFieldWithDefault(msg, 7, ""),
15775
+ velocity: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
15776
+ velocityUnit: jspb.Message.getFieldWithDefault(msg, 9, ""),
15777
+ acceleration: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
15778
+ accelerationUnit: jspb.Message.getFieldWithDefault(msg, 11, "")
15313
15779
  };
15314
15780
 
15315
15781
  if (includeInstance) {
@@ -15374,6 +15840,22 @@ proto.zaber.motion.protobufs.DeviceMoveRequest.deserializeBinaryFromReader = fun
15374
15840
  var value = /** @type {string} */ (reader.readString());
15375
15841
  msg.setUnit(value);
15376
15842
  break;
15843
+ case 8:
15844
+ var value = /** @type {number} */ (reader.readDouble());
15845
+ msg.setVelocity(value);
15846
+ break;
15847
+ case 9:
15848
+ var value = /** @type {string} */ (reader.readString());
15849
+ msg.setVelocityUnit(value);
15850
+ break;
15851
+ case 10:
15852
+ var value = /** @type {number} */ (reader.readDouble());
15853
+ msg.setAcceleration(value);
15854
+ break;
15855
+ case 11:
15856
+ var value = /** @type {string} */ (reader.readString());
15857
+ msg.setAccelerationUnit(value);
15858
+ break;
15377
15859
  default:
15378
15860
  reader.skipField();
15379
15861
  break;
@@ -15452,6 +15934,34 @@ proto.zaber.motion.protobufs.DeviceMoveRequest.serializeBinaryToWriter = functio
15452
15934
  f
15453
15935
  );
15454
15936
  }
15937
+ f = message.getVelocity();
15938
+ if (f !== 0.0) {
15939
+ writer.writeDouble(
15940
+ 8,
15941
+ f
15942
+ );
15943
+ }
15944
+ f = message.getVelocityUnit();
15945
+ if (f.length > 0) {
15946
+ writer.writeString(
15947
+ 9,
15948
+ f
15949
+ );
15950
+ }
15951
+ f = message.getAcceleration();
15952
+ if (f !== 0.0) {
15953
+ writer.writeDouble(
15954
+ 10,
15955
+ f
15956
+ );
15957
+ }
15958
+ f = message.getAccelerationUnit();
15959
+ if (f.length > 0) {
15960
+ writer.writeString(
15961
+ 11,
15962
+ f
15963
+ );
15964
+ }
15455
15965
  };
15456
15966
 
15457
15967
 
@@ -15592,6 +16102,78 @@ proto.zaber.motion.protobufs.DeviceMoveRequest.prototype.setUnit = function(valu
15592
16102
  };
15593
16103
 
15594
16104
 
16105
+ /**
16106
+ * optional double velocity = 8;
16107
+ * @return {number}
16108
+ */
16109
+ proto.zaber.motion.protobufs.DeviceMoveRequest.prototype.getVelocity = function() {
16110
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
16111
+ };
16112
+
16113
+
16114
+ /**
16115
+ * @param {number} value
16116
+ * @return {!proto.zaber.motion.protobufs.DeviceMoveRequest} returns this
16117
+ */
16118
+ proto.zaber.motion.protobufs.DeviceMoveRequest.prototype.setVelocity = function(value) {
16119
+ return jspb.Message.setProto3FloatField(this, 8, value);
16120
+ };
16121
+
16122
+
16123
+ /**
16124
+ * optional string velocity_unit = 9;
16125
+ * @return {string}
16126
+ */
16127
+ proto.zaber.motion.protobufs.DeviceMoveRequest.prototype.getVelocityUnit = function() {
16128
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
16129
+ };
16130
+
16131
+
16132
+ /**
16133
+ * @param {string} value
16134
+ * @return {!proto.zaber.motion.protobufs.DeviceMoveRequest} returns this
16135
+ */
16136
+ proto.zaber.motion.protobufs.DeviceMoveRequest.prototype.setVelocityUnit = function(value) {
16137
+ return jspb.Message.setProto3StringField(this, 9, value);
16138
+ };
16139
+
16140
+
16141
+ /**
16142
+ * optional double acceleration = 10;
16143
+ * @return {number}
16144
+ */
16145
+ proto.zaber.motion.protobufs.DeviceMoveRequest.prototype.getAcceleration = function() {
16146
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 10, 0.0));
16147
+ };
16148
+
16149
+
16150
+ /**
16151
+ * @param {number} value
16152
+ * @return {!proto.zaber.motion.protobufs.DeviceMoveRequest} returns this
16153
+ */
16154
+ proto.zaber.motion.protobufs.DeviceMoveRequest.prototype.setAcceleration = function(value) {
16155
+ return jspb.Message.setProto3FloatField(this, 10, value);
16156
+ };
16157
+
16158
+
16159
+ /**
16160
+ * optional string acceleration_unit = 11;
16161
+ * @return {string}
16162
+ */
16163
+ proto.zaber.motion.protobufs.DeviceMoveRequest.prototype.getAccelerationUnit = function() {
16164
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
16165
+ };
16166
+
16167
+
16168
+ /**
16169
+ * @param {string} value
16170
+ * @return {!proto.zaber.motion.protobufs.DeviceMoveRequest} returns this
16171
+ */
16172
+ proto.zaber.motion.protobufs.DeviceMoveRequest.prototype.setAccelerationUnit = function(value) {
16173
+ return jspb.Message.setProto3StringField(this, 11, value);
16174
+ };
16175
+
16176
+
15595
16177
 
15596
16178
 
15597
16179
 
@@ -23676,7 +24258,11 @@ proto.zaber.motion.protobufs.LockstepMoveRequest.toObject = function(includeInst
23676
24258
  waitUntilIdle: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
23677
24259
  type: jspb.Message.getFieldWithDefault(msg, 5, 0),
23678
24260
  arg: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
23679
- unit: jspb.Message.getFieldWithDefault(msg, 8, "")
24261
+ unit: jspb.Message.getFieldWithDefault(msg, 8, ""),
24262
+ velocity: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
24263
+ velocityUnit: jspb.Message.getFieldWithDefault(msg, 10, ""),
24264
+ acceleration: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
24265
+ accelerationUnit: jspb.Message.getFieldWithDefault(msg, 12, "")
23680
24266
  };
23681
24267
 
23682
24268
  if (includeInstance) {
@@ -23741,6 +24327,22 @@ proto.zaber.motion.protobufs.LockstepMoveRequest.deserializeBinaryFromReader = f
23741
24327
  var value = /** @type {string} */ (reader.readString());
23742
24328
  msg.setUnit(value);
23743
24329
  break;
24330
+ case 9:
24331
+ var value = /** @type {number} */ (reader.readDouble());
24332
+ msg.setVelocity(value);
24333
+ break;
24334
+ case 10:
24335
+ var value = /** @type {string} */ (reader.readString());
24336
+ msg.setVelocityUnit(value);
24337
+ break;
24338
+ case 11:
24339
+ var value = /** @type {number} */ (reader.readDouble());
24340
+ msg.setAcceleration(value);
24341
+ break;
24342
+ case 12:
24343
+ var value = /** @type {string} */ (reader.readString());
24344
+ msg.setAccelerationUnit(value);
24345
+ break;
23744
24346
  default:
23745
24347
  reader.skipField();
23746
24348
  break;
@@ -23819,6 +24421,34 @@ proto.zaber.motion.protobufs.LockstepMoveRequest.serializeBinaryToWriter = funct
23819
24421
  f
23820
24422
  );
23821
24423
  }
24424
+ f = message.getVelocity();
24425
+ if (f !== 0.0) {
24426
+ writer.writeDouble(
24427
+ 9,
24428
+ f
24429
+ );
24430
+ }
24431
+ f = message.getVelocityUnit();
24432
+ if (f.length > 0) {
24433
+ writer.writeString(
24434
+ 10,
24435
+ f
24436
+ );
24437
+ }
24438
+ f = message.getAcceleration();
24439
+ if (f !== 0.0) {
24440
+ writer.writeDouble(
24441
+ 11,
24442
+ f
24443
+ );
24444
+ }
24445
+ f = message.getAccelerationUnit();
24446
+ if (f.length > 0) {
24447
+ writer.writeString(
24448
+ 12,
24449
+ f
24450
+ );
24451
+ }
23822
24452
  };
23823
24453
 
23824
24454
 
@@ -23959,223 +24589,75 @@ proto.zaber.motion.protobufs.LockstepMoveRequest.prototype.setUnit = function(va
23959
24589
  };
23960
24590
 
23961
24591
 
23962
-
23963
-
23964
-
23965
- if (jspb.Message.GENERATE_TO_OBJECT) {
23966
- /**
23967
- * Creates an object representation of this proto.
23968
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
23969
- * Optional fields that are not set will be set to undefined.
23970
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23971
- * For the list of reserved names please see:
23972
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23973
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23974
- * JSPB instance for transitional soy proto support:
23975
- * http://goto/soy-param-migration
23976
- * @return {!Object}
23977
- */
23978
- proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.toObject = function(opt_includeInstance) {
23979
- return proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.toObject(opt_includeInstance, this);
23980
- };
23981
-
23982
-
23983
- /**
23984
- * Static version of the {@see toObject} method.
23985
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23986
- * the JSPB instance for transitional soy proto support:
23987
- * http://goto/soy-param-migration
23988
- * @param {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest} msg The msg instance to transform.
23989
- * @return {!Object}
23990
- * @suppress {unusedLocalVariables} f is only used for nested messages
23991
- */
23992
- proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.toObject = function(includeInstance, msg) {
23993
- var f, obj = {
23994
- interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
23995
- device: jspb.Message.getFieldWithDefault(msg, 2, 0),
23996
- lockstepGroupId: jspb.Message.getFieldWithDefault(msg, 3, 0),
23997
- throwErrorOnFault: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
23998
- };
23999
-
24000
- if (includeInstance) {
24001
- obj.$jspbMessageInstance = msg;
24002
- }
24003
- return obj;
24004
- };
24005
- }
24006
-
24007
-
24008
- /**
24009
- * Deserializes binary data (in protobuf wire format).
24010
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
24011
- * @return {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest}
24012
- */
24013
- proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.deserializeBinary = function(bytes) {
24014
- var reader = new jspb.BinaryReader(bytes);
24015
- var msg = new proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest;
24016
- return proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.deserializeBinaryFromReader(msg, reader);
24017
- };
24018
-
24019
-
24020
- /**
24021
- * Deserializes binary data (in protobuf wire format) from the
24022
- * given reader into the given message object.
24023
- * @param {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest} msg The message object to deserialize into.
24024
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24025
- * @return {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest}
24026
- */
24027
- proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.deserializeBinaryFromReader = function(msg, reader) {
24028
- while (reader.nextField()) {
24029
- if (reader.isEndGroup()) {
24030
- break;
24031
- }
24032
- var field = reader.getFieldNumber();
24033
- switch (field) {
24034
- case 1:
24035
- var value = /** @type {number} */ (reader.readInt32());
24036
- msg.setInterfaceId(value);
24037
- break;
24038
- case 2:
24039
- var value = /** @type {number} */ (reader.readInt32());
24040
- msg.setDevice(value);
24041
- break;
24042
- case 3:
24043
- var value = /** @type {number} */ (reader.readInt32());
24044
- msg.setLockstepGroupId(value);
24045
- break;
24046
- case 4:
24047
- var value = /** @type {boolean} */ (reader.readBool());
24048
- msg.setThrowErrorOnFault(value);
24049
- break;
24050
- default:
24051
- reader.skipField();
24052
- break;
24053
- }
24054
- }
24055
- return msg;
24056
- };
24057
-
24058
-
24059
- /**
24060
- * Serializes the message to binary data (in protobuf wire format).
24061
- * @return {!Uint8Array}
24062
- */
24063
- proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.serializeBinary = function() {
24064
- var writer = new jspb.BinaryWriter();
24065
- proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.serializeBinaryToWriter(this, writer);
24066
- return writer.getResultBuffer();
24067
- };
24068
-
24069
-
24070
- /**
24071
- * Serializes the given message to binary data (in protobuf wire
24072
- * format), writing to the given BinaryWriter.
24073
- * @param {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest} message
24074
- * @param {!jspb.BinaryWriter} writer
24075
- * @suppress {unusedLocalVariables} f is only used for nested messages
24076
- */
24077
- proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.serializeBinaryToWriter = function(message, writer) {
24078
- var f = undefined;
24079
- f = message.getInterfaceId();
24080
- if (f !== 0) {
24081
- writer.writeInt32(
24082
- 1,
24083
- f
24084
- );
24085
- }
24086
- f = message.getDevice();
24087
- if (f !== 0) {
24088
- writer.writeInt32(
24089
- 2,
24090
- f
24091
- );
24092
- }
24093
- f = message.getLockstepGroupId();
24094
- if (f !== 0) {
24095
- writer.writeInt32(
24096
- 3,
24097
- f
24098
- );
24099
- }
24100
- f = message.getThrowErrorOnFault();
24101
- if (f) {
24102
- writer.writeBool(
24103
- 4,
24104
- f
24105
- );
24106
- }
24107
- };
24108
-
24109
-
24110
24592
  /**
24111
- * optional int32 interface_id = 1;
24593
+ * optional double velocity = 9;
24112
24594
  * @return {number}
24113
24595
  */
24114
- proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.getInterfaceId = function() {
24115
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
24596
+ proto.zaber.motion.protobufs.LockstepMoveRequest.prototype.getVelocity = function() {
24597
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
24116
24598
  };
24117
24599
 
24118
24600
 
24119
24601
  /**
24120
24602
  * @param {number} value
24121
- * @return {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest} returns this
24603
+ * @return {!proto.zaber.motion.protobufs.LockstepMoveRequest} returns this
24122
24604
  */
24123
- proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.setInterfaceId = function(value) {
24124
- return jspb.Message.setProto3IntField(this, 1, value);
24605
+ proto.zaber.motion.protobufs.LockstepMoveRequest.prototype.setVelocity = function(value) {
24606
+ return jspb.Message.setProto3FloatField(this, 9, value);
24125
24607
  };
24126
24608
 
24127
24609
 
24128
24610
  /**
24129
- * optional int32 device = 2;
24130
- * @return {number}
24611
+ * optional string velocity_unit = 10;
24612
+ * @return {string}
24131
24613
  */
24132
- proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.getDevice = function() {
24133
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
24614
+ proto.zaber.motion.protobufs.LockstepMoveRequest.prototype.getVelocityUnit = function() {
24615
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
24134
24616
  };
24135
24617
 
24136
24618
 
24137
24619
  /**
24138
- * @param {number} value
24139
- * @return {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest} returns this
24620
+ * @param {string} value
24621
+ * @return {!proto.zaber.motion.protobufs.LockstepMoveRequest} returns this
24140
24622
  */
24141
- proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.setDevice = function(value) {
24142
- return jspb.Message.setProto3IntField(this, 2, value);
24623
+ proto.zaber.motion.protobufs.LockstepMoveRequest.prototype.setVelocityUnit = function(value) {
24624
+ return jspb.Message.setProto3StringField(this, 10, value);
24143
24625
  };
24144
24626
 
24145
24627
 
24146
24628
  /**
24147
- * optional int32 lockstep_group_id = 3;
24629
+ * optional double acceleration = 11;
24148
24630
  * @return {number}
24149
24631
  */
24150
- proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.getLockstepGroupId = function() {
24151
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
24632
+ proto.zaber.motion.protobufs.LockstepMoveRequest.prototype.getAcceleration = function() {
24633
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
24152
24634
  };
24153
24635
 
24154
24636
 
24155
24637
  /**
24156
24638
  * @param {number} value
24157
- * @return {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest} returns this
24639
+ * @return {!proto.zaber.motion.protobufs.LockstepMoveRequest} returns this
24158
24640
  */
24159
- proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.setLockstepGroupId = function(value) {
24160
- return jspb.Message.setProto3IntField(this, 3, value);
24641
+ proto.zaber.motion.protobufs.LockstepMoveRequest.prototype.setAcceleration = function(value) {
24642
+ return jspb.Message.setProto3FloatField(this, 11, value);
24161
24643
  };
24162
24644
 
24163
24645
 
24164
24646
  /**
24165
- * optional bool throw_error_on_fault = 4;
24166
- * @return {boolean}
24647
+ * optional string acceleration_unit = 12;
24648
+ * @return {string}
24167
24649
  */
24168
- proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.getThrowErrorOnFault = function() {
24169
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
24650
+ proto.zaber.motion.protobufs.LockstepMoveRequest.prototype.getAccelerationUnit = function() {
24651
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
24170
24652
  };
24171
24653
 
24172
24654
 
24173
24655
  /**
24174
- * @param {boolean} value
24175
- * @return {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest} returns this
24656
+ * @param {string} value
24657
+ * @return {!proto.zaber.motion.protobufs.LockstepMoveRequest} returns this
24176
24658
  */
24177
- proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.setThrowErrorOnFault = function(value) {
24178
- return jspb.Message.setProto3BooleanField(this, 4, value);
24659
+ proto.zaber.motion.protobufs.LockstepMoveRequest.prototype.setAccelerationUnit = function(value) {
24660
+ return jspb.Message.setProto3StringField(this, 12, value);
24179
24661
  };
24180
24662
 
24181
24663
 
@@ -24195,8 +24677,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
24195
24677
  * http://goto/soy-param-migration
24196
24678
  * @return {!Object}
24197
24679
  */
24198
- proto.zaber.motion.protobufs.LockstepIsBusyRequest.prototype.toObject = function(opt_includeInstance) {
24199
- return proto.zaber.motion.protobufs.LockstepIsBusyRequest.toObject(opt_includeInstance, this);
24680
+ proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.toObject = function(opt_includeInstance) {
24681
+ return proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.toObject(opt_includeInstance, this);
24200
24682
  };
24201
24683
 
24202
24684
 
@@ -24205,15 +24687,16 @@ proto.zaber.motion.protobufs.LockstepIsBusyRequest.prototype.toObject = function
24205
24687
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24206
24688
  * the JSPB instance for transitional soy proto support:
24207
24689
  * http://goto/soy-param-migration
24208
- * @param {!proto.zaber.motion.protobufs.LockstepIsBusyRequest} msg The msg instance to transform.
24690
+ * @param {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest} msg The msg instance to transform.
24209
24691
  * @return {!Object}
24210
24692
  * @suppress {unusedLocalVariables} f is only used for nested messages
24211
24693
  */
24212
- proto.zaber.motion.protobufs.LockstepIsBusyRequest.toObject = function(includeInstance, msg) {
24694
+ proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.toObject = function(includeInstance, msg) {
24213
24695
  var f, obj = {
24214
24696
  interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
24215
24697
  device: jspb.Message.getFieldWithDefault(msg, 2, 0),
24216
- lockstepGroupId: jspb.Message.getFieldWithDefault(msg, 3, 0)
24698
+ lockstepGroupId: jspb.Message.getFieldWithDefault(msg, 3, 0),
24699
+ throwErrorOnFault: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
24217
24700
  };
24218
24701
 
24219
24702
  if (includeInstance) {
@@ -24227,23 +24710,23 @@ proto.zaber.motion.protobufs.LockstepIsBusyRequest.toObject = function(includeIn
24227
24710
  /**
24228
24711
  * Deserializes binary data (in protobuf wire format).
24229
24712
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
24230
- * @return {!proto.zaber.motion.protobufs.LockstepIsBusyRequest}
24713
+ * @return {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest}
24231
24714
  */
24232
- proto.zaber.motion.protobufs.LockstepIsBusyRequest.deserializeBinary = function(bytes) {
24715
+ proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.deserializeBinary = function(bytes) {
24233
24716
  var reader = new jspb.BinaryReader(bytes);
24234
- var msg = new proto.zaber.motion.protobufs.LockstepIsBusyRequest;
24235
- return proto.zaber.motion.protobufs.LockstepIsBusyRequest.deserializeBinaryFromReader(msg, reader);
24717
+ var msg = new proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest;
24718
+ return proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.deserializeBinaryFromReader(msg, reader);
24236
24719
  };
24237
24720
 
24238
24721
 
24239
24722
  /**
24240
24723
  * Deserializes binary data (in protobuf wire format) from the
24241
24724
  * given reader into the given message object.
24242
- * @param {!proto.zaber.motion.protobufs.LockstepIsBusyRequest} msg The message object to deserialize into.
24725
+ * @param {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest} msg The message object to deserialize into.
24243
24726
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24244
- * @return {!proto.zaber.motion.protobufs.LockstepIsBusyRequest}
24727
+ * @return {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest}
24245
24728
  */
24246
- proto.zaber.motion.protobufs.LockstepIsBusyRequest.deserializeBinaryFromReader = function(msg, reader) {
24729
+ proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.deserializeBinaryFromReader = function(msg, reader) {
24247
24730
  while (reader.nextField()) {
24248
24731
  if (reader.isEndGroup()) {
24249
24732
  break;
@@ -24262,6 +24745,10 @@ proto.zaber.motion.protobufs.LockstepIsBusyRequest.deserializeBinaryFromReader =
24262
24745
  var value = /** @type {number} */ (reader.readInt32());
24263
24746
  msg.setLockstepGroupId(value);
24264
24747
  break;
24748
+ case 4:
24749
+ var value = /** @type {boolean} */ (reader.readBool());
24750
+ msg.setThrowErrorOnFault(value);
24751
+ break;
24265
24752
  default:
24266
24753
  reader.skipField();
24267
24754
  break;
@@ -24275,9 +24762,9 @@ proto.zaber.motion.protobufs.LockstepIsBusyRequest.deserializeBinaryFromReader =
24275
24762
  * Serializes the message to binary data (in protobuf wire format).
24276
24763
  * @return {!Uint8Array}
24277
24764
  */
24278
- proto.zaber.motion.protobufs.LockstepIsBusyRequest.prototype.serializeBinary = function() {
24765
+ proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.serializeBinary = function() {
24279
24766
  var writer = new jspb.BinaryWriter();
24280
- proto.zaber.motion.protobufs.LockstepIsBusyRequest.serializeBinaryToWriter(this, writer);
24767
+ proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.serializeBinaryToWriter(this, writer);
24281
24768
  return writer.getResultBuffer();
24282
24769
  };
24283
24770
 
@@ -24285,11 +24772,226 @@ proto.zaber.motion.protobufs.LockstepIsBusyRequest.prototype.serializeBinary = f
24285
24772
  /**
24286
24773
  * Serializes the given message to binary data (in protobuf wire
24287
24774
  * format), writing to the given BinaryWriter.
24288
- * @param {!proto.zaber.motion.protobufs.LockstepIsBusyRequest} message
24775
+ * @param {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest} message
24289
24776
  * @param {!jspb.BinaryWriter} writer
24290
24777
  * @suppress {unusedLocalVariables} f is only used for nested messages
24291
24778
  */
24292
- proto.zaber.motion.protobufs.LockstepIsBusyRequest.serializeBinaryToWriter = function(message, writer) {
24779
+ proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.serializeBinaryToWriter = function(message, writer) {
24780
+ var f = undefined;
24781
+ f = message.getInterfaceId();
24782
+ if (f !== 0) {
24783
+ writer.writeInt32(
24784
+ 1,
24785
+ f
24786
+ );
24787
+ }
24788
+ f = message.getDevice();
24789
+ if (f !== 0) {
24790
+ writer.writeInt32(
24791
+ 2,
24792
+ f
24793
+ );
24794
+ }
24795
+ f = message.getLockstepGroupId();
24796
+ if (f !== 0) {
24797
+ writer.writeInt32(
24798
+ 3,
24799
+ f
24800
+ );
24801
+ }
24802
+ f = message.getThrowErrorOnFault();
24803
+ if (f) {
24804
+ writer.writeBool(
24805
+ 4,
24806
+ f
24807
+ );
24808
+ }
24809
+ };
24810
+
24811
+
24812
+ /**
24813
+ * optional int32 interface_id = 1;
24814
+ * @return {number}
24815
+ */
24816
+ proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.getInterfaceId = function() {
24817
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
24818
+ };
24819
+
24820
+
24821
+ /**
24822
+ * @param {number} value
24823
+ * @return {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest} returns this
24824
+ */
24825
+ proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.setInterfaceId = function(value) {
24826
+ return jspb.Message.setProto3IntField(this, 1, value);
24827
+ };
24828
+
24829
+
24830
+ /**
24831
+ * optional int32 device = 2;
24832
+ * @return {number}
24833
+ */
24834
+ proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.getDevice = function() {
24835
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
24836
+ };
24837
+
24838
+
24839
+ /**
24840
+ * @param {number} value
24841
+ * @return {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest} returns this
24842
+ */
24843
+ proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.setDevice = function(value) {
24844
+ return jspb.Message.setProto3IntField(this, 2, value);
24845
+ };
24846
+
24847
+
24848
+ /**
24849
+ * optional int32 lockstep_group_id = 3;
24850
+ * @return {number}
24851
+ */
24852
+ proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.getLockstepGroupId = function() {
24853
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
24854
+ };
24855
+
24856
+
24857
+ /**
24858
+ * @param {number} value
24859
+ * @return {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest} returns this
24860
+ */
24861
+ proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.setLockstepGroupId = function(value) {
24862
+ return jspb.Message.setProto3IntField(this, 3, value);
24863
+ };
24864
+
24865
+
24866
+ /**
24867
+ * optional bool throw_error_on_fault = 4;
24868
+ * @return {boolean}
24869
+ */
24870
+ proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.getThrowErrorOnFault = function() {
24871
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
24872
+ };
24873
+
24874
+
24875
+ /**
24876
+ * @param {boolean} value
24877
+ * @return {!proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest} returns this
24878
+ */
24879
+ proto.zaber.motion.protobufs.LockstepWaitUntilIdleRequest.prototype.setThrowErrorOnFault = function(value) {
24880
+ return jspb.Message.setProto3BooleanField(this, 4, value);
24881
+ };
24882
+
24883
+
24884
+
24885
+
24886
+
24887
+ if (jspb.Message.GENERATE_TO_OBJECT) {
24888
+ /**
24889
+ * Creates an object representation of this proto.
24890
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
24891
+ * Optional fields that are not set will be set to undefined.
24892
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
24893
+ * For the list of reserved names please see:
24894
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
24895
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
24896
+ * JSPB instance for transitional soy proto support:
24897
+ * http://goto/soy-param-migration
24898
+ * @return {!Object}
24899
+ */
24900
+ proto.zaber.motion.protobufs.LockstepIsBusyRequest.prototype.toObject = function(opt_includeInstance) {
24901
+ return proto.zaber.motion.protobufs.LockstepIsBusyRequest.toObject(opt_includeInstance, this);
24902
+ };
24903
+
24904
+
24905
+ /**
24906
+ * Static version of the {@see toObject} method.
24907
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24908
+ * the JSPB instance for transitional soy proto support:
24909
+ * http://goto/soy-param-migration
24910
+ * @param {!proto.zaber.motion.protobufs.LockstepIsBusyRequest} msg The msg instance to transform.
24911
+ * @return {!Object}
24912
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24913
+ */
24914
+ proto.zaber.motion.protobufs.LockstepIsBusyRequest.toObject = function(includeInstance, msg) {
24915
+ var f, obj = {
24916
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
24917
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
24918
+ lockstepGroupId: jspb.Message.getFieldWithDefault(msg, 3, 0)
24919
+ };
24920
+
24921
+ if (includeInstance) {
24922
+ obj.$jspbMessageInstance = msg;
24923
+ }
24924
+ return obj;
24925
+ };
24926
+ }
24927
+
24928
+
24929
+ /**
24930
+ * Deserializes binary data (in protobuf wire format).
24931
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
24932
+ * @return {!proto.zaber.motion.protobufs.LockstepIsBusyRequest}
24933
+ */
24934
+ proto.zaber.motion.protobufs.LockstepIsBusyRequest.deserializeBinary = function(bytes) {
24935
+ var reader = new jspb.BinaryReader(bytes);
24936
+ var msg = new proto.zaber.motion.protobufs.LockstepIsBusyRequest;
24937
+ return proto.zaber.motion.protobufs.LockstepIsBusyRequest.deserializeBinaryFromReader(msg, reader);
24938
+ };
24939
+
24940
+
24941
+ /**
24942
+ * Deserializes binary data (in protobuf wire format) from the
24943
+ * given reader into the given message object.
24944
+ * @param {!proto.zaber.motion.protobufs.LockstepIsBusyRequest} msg The message object to deserialize into.
24945
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24946
+ * @return {!proto.zaber.motion.protobufs.LockstepIsBusyRequest}
24947
+ */
24948
+ proto.zaber.motion.protobufs.LockstepIsBusyRequest.deserializeBinaryFromReader = function(msg, reader) {
24949
+ while (reader.nextField()) {
24950
+ if (reader.isEndGroup()) {
24951
+ break;
24952
+ }
24953
+ var field = reader.getFieldNumber();
24954
+ switch (field) {
24955
+ case 1:
24956
+ var value = /** @type {number} */ (reader.readInt32());
24957
+ msg.setInterfaceId(value);
24958
+ break;
24959
+ case 2:
24960
+ var value = /** @type {number} */ (reader.readInt32());
24961
+ msg.setDevice(value);
24962
+ break;
24963
+ case 3:
24964
+ var value = /** @type {number} */ (reader.readInt32());
24965
+ msg.setLockstepGroupId(value);
24966
+ break;
24967
+ default:
24968
+ reader.skipField();
24969
+ break;
24970
+ }
24971
+ }
24972
+ return msg;
24973
+ };
24974
+
24975
+
24976
+ /**
24977
+ * Serializes the message to binary data (in protobuf wire format).
24978
+ * @return {!Uint8Array}
24979
+ */
24980
+ proto.zaber.motion.protobufs.LockstepIsBusyRequest.prototype.serializeBinary = function() {
24981
+ var writer = new jspb.BinaryWriter();
24982
+ proto.zaber.motion.protobufs.LockstepIsBusyRequest.serializeBinaryToWriter(this, writer);
24983
+ return writer.getResultBuffer();
24984
+ };
24985
+
24986
+
24987
+ /**
24988
+ * Serializes the given message to binary data (in protobuf wire
24989
+ * format), writing to the given BinaryWriter.
24990
+ * @param {!proto.zaber.motion.protobufs.LockstepIsBusyRequest} message
24991
+ * @param {!jspb.BinaryWriter} writer
24992
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24993
+ */
24994
+ proto.zaber.motion.protobufs.LockstepIsBusyRequest.serializeBinaryToWriter = function(message, writer) {
24293
24995
  var f = undefined;
24294
24996
  f = message.getInterfaceId();
24295
24997
  if (f !== 0) {
@@ -49403,6 +50105,136 @@ proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.clearParamsList = f
49403
50105
 
49404
50106
 
49405
50107
 
50108
+ if (jspb.Message.GENERATE_TO_OBJECT) {
50109
+ /**
50110
+ * Creates an object representation of this proto.
50111
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
50112
+ * Optional fields that are not set will be set to undefined.
50113
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
50114
+ * For the list of reserved names please see:
50115
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
50116
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
50117
+ * JSPB instance for transitional soy proto support:
50118
+ * http://goto/soy-param-migration
50119
+ * @return {!Object}
50120
+ */
50121
+ proto.zaber.motion.protobufs.SimpleTuningIsInUse.prototype.toObject = function(opt_includeInstance) {
50122
+ return proto.zaber.motion.protobufs.SimpleTuningIsInUse.toObject(opt_includeInstance, this);
50123
+ };
50124
+
50125
+
50126
+ /**
50127
+ * Static version of the {@see toObject} method.
50128
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
50129
+ * the JSPB instance for transitional soy proto support:
50130
+ * http://goto/soy-param-migration
50131
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningIsInUse} msg The msg instance to transform.
50132
+ * @return {!Object}
50133
+ * @suppress {unusedLocalVariables} f is only used for nested messages
50134
+ */
50135
+ proto.zaber.motion.protobufs.SimpleTuningIsInUse.toObject = function(includeInstance, msg) {
50136
+ var f, obj = {
50137
+ value: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
50138
+ };
50139
+
50140
+ if (includeInstance) {
50141
+ obj.$jspbMessageInstance = msg;
50142
+ }
50143
+ return obj;
50144
+ };
50145
+ }
50146
+
50147
+
50148
+ /**
50149
+ * Deserializes binary data (in protobuf wire format).
50150
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
50151
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningIsInUse}
50152
+ */
50153
+ proto.zaber.motion.protobufs.SimpleTuningIsInUse.deserializeBinary = function(bytes) {
50154
+ var reader = new jspb.BinaryReader(bytes);
50155
+ var msg = new proto.zaber.motion.protobufs.SimpleTuningIsInUse;
50156
+ return proto.zaber.motion.protobufs.SimpleTuningIsInUse.deserializeBinaryFromReader(msg, reader);
50157
+ };
50158
+
50159
+
50160
+ /**
50161
+ * Deserializes binary data (in protobuf wire format) from the
50162
+ * given reader into the given message object.
50163
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningIsInUse} msg The message object to deserialize into.
50164
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
50165
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningIsInUse}
50166
+ */
50167
+ proto.zaber.motion.protobufs.SimpleTuningIsInUse.deserializeBinaryFromReader = function(msg, reader) {
50168
+ while (reader.nextField()) {
50169
+ if (reader.isEndGroup()) {
50170
+ break;
50171
+ }
50172
+ var field = reader.getFieldNumber();
50173
+ switch (field) {
50174
+ case 1:
50175
+ var value = /** @type {boolean} */ (reader.readBool());
50176
+ msg.setValue(value);
50177
+ break;
50178
+ default:
50179
+ reader.skipField();
50180
+ break;
50181
+ }
50182
+ }
50183
+ return msg;
50184
+ };
50185
+
50186
+
50187
+ /**
50188
+ * Serializes the message to binary data (in protobuf wire format).
50189
+ * @return {!Uint8Array}
50190
+ */
50191
+ proto.zaber.motion.protobufs.SimpleTuningIsInUse.prototype.serializeBinary = function() {
50192
+ var writer = new jspb.BinaryWriter();
50193
+ proto.zaber.motion.protobufs.SimpleTuningIsInUse.serializeBinaryToWriter(this, writer);
50194
+ return writer.getResultBuffer();
50195
+ };
50196
+
50197
+
50198
+ /**
50199
+ * Serializes the given message to binary data (in protobuf wire
50200
+ * format), writing to the given BinaryWriter.
50201
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningIsInUse} message
50202
+ * @param {!jspb.BinaryWriter} writer
50203
+ * @suppress {unusedLocalVariables} f is only used for nested messages
50204
+ */
50205
+ proto.zaber.motion.protobufs.SimpleTuningIsInUse.serializeBinaryToWriter = function(message, writer) {
50206
+ var f = undefined;
50207
+ f = message.getValue();
50208
+ if (f) {
50209
+ writer.writeBool(
50210
+ 1,
50211
+ f
50212
+ );
50213
+ }
50214
+ };
50215
+
50216
+
50217
+ /**
50218
+ * optional bool value = 1;
50219
+ * @return {boolean}
50220
+ */
50221
+ proto.zaber.motion.protobufs.SimpleTuningIsInUse.prototype.getValue = function() {
50222
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
50223
+ };
50224
+
50225
+
50226
+ /**
50227
+ * @param {boolean} value
50228
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningIsInUse} returns this
50229
+ */
50230
+ proto.zaber.motion.protobufs.SimpleTuningIsInUse.prototype.setValue = function(value) {
50231
+ return jspb.Message.setProto3BooleanField(this, 1, value);
50232
+ };
50233
+
50234
+
50235
+
50236
+
50237
+
49406
50238
  if (jspb.Message.GENERATE_TO_OBJECT) {
49407
50239
  /**
49408
50240
  * Creates an object representation of this proto.
@@ -53523,6 +54355,1866 @@ proto.zaber.motion.protobufs.TranslatorSetFeedRateOverrideRequest.prototype.setC
53523
54355
  };
53524
54356
 
53525
54357
 
54358
+
54359
+
54360
+
54361
+ if (jspb.Message.GENERATE_TO_OBJECT) {
54362
+ /**
54363
+ * Creates an object representation of this proto.
54364
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
54365
+ * Optional fields that are not set will be set to undefined.
54366
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
54367
+ * For the list of reserved names please see:
54368
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
54369
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
54370
+ * JSPB instance for transitional soy proto support:
54371
+ * http://goto/soy-param-migration
54372
+ * @return {!Object}
54373
+ */
54374
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.toObject = function(opt_includeInstance) {
54375
+ return proto.zaber.motion.protobufs.DeviceSetStorageRequest.toObject(opt_includeInstance, this);
54376
+ };
54377
+
54378
+
54379
+ /**
54380
+ * Static version of the {@see toObject} method.
54381
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
54382
+ * the JSPB instance for transitional soy proto support:
54383
+ * http://goto/soy-param-migration
54384
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} msg The msg instance to transform.
54385
+ * @return {!Object}
54386
+ * @suppress {unusedLocalVariables} f is only used for nested messages
54387
+ */
54388
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.toObject = function(includeInstance, msg) {
54389
+ var f, obj = {
54390
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
54391
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
54392
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
54393
+ key: jspb.Message.getFieldWithDefault(msg, 4, ""),
54394
+ value: jspb.Message.getFieldWithDefault(msg, 5, ""),
54395
+ encode: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
54396
+ };
54397
+
54398
+ if (includeInstance) {
54399
+ obj.$jspbMessageInstance = msg;
54400
+ }
54401
+ return obj;
54402
+ };
54403
+ }
54404
+
54405
+
54406
+ /**
54407
+ * Deserializes binary data (in protobuf wire format).
54408
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
54409
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageRequest}
54410
+ */
54411
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.deserializeBinary = function(bytes) {
54412
+ var reader = new jspb.BinaryReader(bytes);
54413
+ var msg = new proto.zaber.motion.protobufs.DeviceSetStorageRequest;
54414
+ return proto.zaber.motion.protobufs.DeviceSetStorageRequest.deserializeBinaryFromReader(msg, reader);
54415
+ };
54416
+
54417
+
54418
+ /**
54419
+ * Deserializes binary data (in protobuf wire format) from the
54420
+ * given reader into the given message object.
54421
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} msg The message object to deserialize into.
54422
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
54423
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageRequest}
54424
+ */
54425
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.deserializeBinaryFromReader = function(msg, reader) {
54426
+ while (reader.nextField()) {
54427
+ if (reader.isEndGroup()) {
54428
+ break;
54429
+ }
54430
+ var field = reader.getFieldNumber();
54431
+ switch (field) {
54432
+ case 1:
54433
+ var value = /** @type {number} */ (reader.readInt32());
54434
+ msg.setInterfaceId(value);
54435
+ break;
54436
+ case 2:
54437
+ var value = /** @type {number} */ (reader.readInt32());
54438
+ msg.setDevice(value);
54439
+ break;
54440
+ case 3:
54441
+ var value = /** @type {number} */ (reader.readInt32());
54442
+ msg.setAxis(value);
54443
+ break;
54444
+ case 4:
54445
+ var value = /** @type {string} */ (reader.readString());
54446
+ msg.setKey(value);
54447
+ break;
54448
+ case 5:
54449
+ var value = /** @type {string} */ (reader.readString());
54450
+ msg.setValue(value);
54451
+ break;
54452
+ case 6:
54453
+ var value = /** @type {boolean} */ (reader.readBool());
54454
+ msg.setEncode(value);
54455
+ break;
54456
+ default:
54457
+ reader.skipField();
54458
+ break;
54459
+ }
54460
+ }
54461
+ return msg;
54462
+ };
54463
+
54464
+
54465
+ /**
54466
+ * Serializes the message to binary data (in protobuf wire format).
54467
+ * @return {!Uint8Array}
54468
+ */
54469
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.serializeBinary = function() {
54470
+ var writer = new jspb.BinaryWriter();
54471
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.serializeBinaryToWriter(this, writer);
54472
+ return writer.getResultBuffer();
54473
+ };
54474
+
54475
+
54476
+ /**
54477
+ * Serializes the given message to binary data (in protobuf wire
54478
+ * format), writing to the given BinaryWriter.
54479
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} message
54480
+ * @param {!jspb.BinaryWriter} writer
54481
+ * @suppress {unusedLocalVariables} f is only used for nested messages
54482
+ */
54483
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.serializeBinaryToWriter = function(message, writer) {
54484
+ var f = undefined;
54485
+ f = message.getInterfaceId();
54486
+ if (f !== 0) {
54487
+ writer.writeInt32(
54488
+ 1,
54489
+ f
54490
+ );
54491
+ }
54492
+ f = message.getDevice();
54493
+ if (f !== 0) {
54494
+ writer.writeInt32(
54495
+ 2,
54496
+ f
54497
+ );
54498
+ }
54499
+ f = message.getAxis();
54500
+ if (f !== 0) {
54501
+ writer.writeInt32(
54502
+ 3,
54503
+ f
54504
+ );
54505
+ }
54506
+ f = message.getKey();
54507
+ if (f.length > 0) {
54508
+ writer.writeString(
54509
+ 4,
54510
+ f
54511
+ );
54512
+ }
54513
+ f = message.getValue();
54514
+ if (f.length > 0) {
54515
+ writer.writeString(
54516
+ 5,
54517
+ f
54518
+ );
54519
+ }
54520
+ f = message.getEncode();
54521
+ if (f) {
54522
+ writer.writeBool(
54523
+ 6,
54524
+ f
54525
+ );
54526
+ }
54527
+ };
54528
+
54529
+
54530
+ /**
54531
+ * optional int32 interface_id = 1;
54532
+ * @return {number}
54533
+ */
54534
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.getInterfaceId = function() {
54535
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
54536
+ };
54537
+
54538
+
54539
+ /**
54540
+ * @param {number} value
54541
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} returns this
54542
+ */
54543
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.setInterfaceId = function(value) {
54544
+ return jspb.Message.setProto3IntField(this, 1, value);
54545
+ };
54546
+
54547
+
54548
+ /**
54549
+ * optional int32 device = 2;
54550
+ * @return {number}
54551
+ */
54552
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.getDevice = function() {
54553
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
54554
+ };
54555
+
54556
+
54557
+ /**
54558
+ * @param {number} value
54559
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} returns this
54560
+ */
54561
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.setDevice = function(value) {
54562
+ return jspb.Message.setProto3IntField(this, 2, value);
54563
+ };
54564
+
54565
+
54566
+ /**
54567
+ * optional int32 axis = 3;
54568
+ * @return {number}
54569
+ */
54570
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.getAxis = function() {
54571
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
54572
+ };
54573
+
54574
+
54575
+ /**
54576
+ * @param {number} value
54577
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} returns this
54578
+ */
54579
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.setAxis = function(value) {
54580
+ return jspb.Message.setProto3IntField(this, 3, value);
54581
+ };
54582
+
54583
+
54584
+ /**
54585
+ * optional string key = 4;
54586
+ * @return {string}
54587
+ */
54588
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.getKey = function() {
54589
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
54590
+ };
54591
+
54592
+
54593
+ /**
54594
+ * @param {string} value
54595
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} returns this
54596
+ */
54597
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.setKey = function(value) {
54598
+ return jspb.Message.setProto3StringField(this, 4, value);
54599
+ };
54600
+
54601
+
54602
+ /**
54603
+ * optional string value = 5;
54604
+ * @return {string}
54605
+ */
54606
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.getValue = function() {
54607
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
54608
+ };
54609
+
54610
+
54611
+ /**
54612
+ * @param {string} value
54613
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} returns this
54614
+ */
54615
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.setValue = function(value) {
54616
+ return jspb.Message.setProto3StringField(this, 5, value);
54617
+ };
54618
+
54619
+
54620
+ /**
54621
+ * optional bool encode = 6;
54622
+ * @return {boolean}
54623
+ */
54624
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.getEncode = function() {
54625
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
54626
+ };
54627
+
54628
+
54629
+ /**
54630
+ * @param {boolean} value
54631
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} returns this
54632
+ */
54633
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.setEncode = function(value) {
54634
+ return jspb.Message.setProto3BooleanField(this, 6, value);
54635
+ };
54636
+
54637
+
54638
+
54639
+
54640
+
54641
+ if (jspb.Message.GENERATE_TO_OBJECT) {
54642
+ /**
54643
+ * Creates an object representation of this proto.
54644
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
54645
+ * Optional fields that are not set will be set to undefined.
54646
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
54647
+ * For the list of reserved names please see:
54648
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
54649
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
54650
+ * JSPB instance for transitional soy proto support:
54651
+ * http://goto/soy-param-migration
54652
+ * @return {!Object}
54653
+ */
54654
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.toObject = function(opt_includeInstance) {
54655
+ return proto.zaber.motion.protobufs.DeviceGetStorageRequest.toObject(opt_includeInstance, this);
54656
+ };
54657
+
54658
+
54659
+ /**
54660
+ * Static version of the {@see toObject} method.
54661
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
54662
+ * the JSPB instance for transitional soy proto support:
54663
+ * http://goto/soy-param-migration
54664
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} msg The msg instance to transform.
54665
+ * @return {!Object}
54666
+ * @suppress {unusedLocalVariables} f is only used for nested messages
54667
+ */
54668
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.toObject = function(includeInstance, msg) {
54669
+ var f, obj = {
54670
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
54671
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
54672
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
54673
+ key: jspb.Message.getFieldWithDefault(msg, 4, ""),
54674
+ decode: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
54675
+ };
54676
+
54677
+ if (includeInstance) {
54678
+ obj.$jspbMessageInstance = msg;
54679
+ }
54680
+ return obj;
54681
+ };
54682
+ }
54683
+
54684
+
54685
+ /**
54686
+ * Deserializes binary data (in protobuf wire format).
54687
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
54688
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest}
54689
+ */
54690
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.deserializeBinary = function(bytes) {
54691
+ var reader = new jspb.BinaryReader(bytes);
54692
+ var msg = new proto.zaber.motion.protobufs.DeviceGetStorageRequest;
54693
+ return proto.zaber.motion.protobufs.DeviceGetStorageRequest.deserializeBinaryFromReader(msg, reader);
54694
+ };
54695
+
54696
+
54697
+ /**
54698
+ * Deserializes binary data (in protobuf wire format) from the
54699
+ * given reader into the given message object.
54700
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} msg The message object to deserialize into.
54701
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
54702
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest}
54703
+ */
54704
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.deserializeBinaryFromReader = function(msg, reader) {
54705
+ while (reader.nextField()) {
54706
+ if (reader.isEndGroup()) {
54707
+ break;
54708
+ }
54709
+ var field = reader.getFieldNumber();
54710
+ switch (field) {
54711
+ case 1:
54712
+ var value = /** @type {number} */ (reader.readInt32());
54713
+ msg.setInterfaceId(value);
54714
+ break;
54715
+ case 2:
54716
+ var value = /** @type {number} */ (reader.readInt32());
54717
+ msg.setDevice(value);
54718
+ break;
54719
+ case 3:
54720
+ var value = /** @type {number} */ (reader.readInt32());
54721
+ msg.setAxis(value);
54722
+ break;
54723
+ case 4:
54724
+ var value = /** @type {string} */ (reader.readString());
54725
+ msg.setKey(value);
54726
+ break;
54727
+ case 5:
54728
+ var value = /** @type {boolean} */ (reader.readBool());
54729
+ msg.setDecode(value);
54730
+ break;
54731
+ default:
54732
+ reader.skipField();
54733
+ break;
54734
+ }
54735
+ }
54736
+ return msg;
54737
+ };
54738
+
54739
+
54740
+ /**
54741
+ * Serializes the message to binary data (in protobuf wire format).
54742
+ * @return {!Uint8Array}
54743
+ */
54744
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.serializeBinary = function() {
54745
+ var writer = new jspb.BinaryWriter();
54746
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.serializeBinaryToWriter(this, writer);
54747
+ return writer.getResultBuffer();
54748
+ };
54749
+
54750
+
54751
+ /**
54752
+ * Serializes the given message to binary data (in protobuf wire
54753
+ * format), writing to the given BinaryWriter.
54754
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} message
54755
+ * @param {!jspb.BinaryWriter} writer
54756
+ * @suppress {unusedLocalVariables} f is only used for nested messages
54757
+ */
54758
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.serializeBinaryToWriter = function(message, writer) {
54759
+ var f = undefined;
54760
+ f = message.getInterfaceId();
54761
+ if (f !== 0) {
54762
+ writer.writeInt32(
54763
+ 1,
54764
+ f
54765
+ );
54766
+ }
54767
+ f = message.getDevice();
54768
+ if (f !== 0) {
54769
+ writer.writeInt32(
54770
+ 2,
54771
+ f
54772
+ );
54773
+ }
54774
+ f = message.getAxis();
54775
+ if (f !== 0) {
54776
+ writer.writeInt32(
54777
+ 3,
54778
+ f
54779
+ );
54780
+ }
54781
+ f = message.getKey();
54782
+ if (f.length > 0) {
54783
+ writer.writeString(
54784
+ 4,
54785
+ f
54786
+ );
54787
+ }
54788
+ f = message.getDecode();
54789
+ if (f) {
54790
+ writer.writeBool(
54791
+ 5,
54792
+ f
54793
+ );
54794
+ }
54795
+ };
54796
+
54797
+
54798
+ /**
54799
+ * optional int32 interface_id = 1;
54800
+ * @return {number}
54801
+ */
54802
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getInterfaceId = function() {
54803
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
54804
+ };
54805
+
54806
+
54807
+ /**
54808
+ * @param {number} value
54809
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
54810
+ */
54811
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setInterfaceId = function(value) {
54812
+ return jspb.Message.setProto3IntField(this, 1, value);
54813
+ };
54814
+
54815
+
54816
+ /**
54817
+ * optional int32 device = 2;
54818
+ * @return {number}
54819
+ */
54820
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getDevice = function() {
54821
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
54822
+ };
54823
+
54824
+
54825
+ /**
54826
+ * @param {number} value
54827
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
54828
+ */
54829
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDevice = function(value) {
54830
+ return jspb.Message.setProto3IntField(this, 2, value);
54831
+ };
54832
+
54833
+
54834
+ /**
54835
+ * optional int32 axis = 3;
54836
+ * @return {number}
54837
+ */
54838
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getAxis = function() {
54839
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
54840
+ };
54841
+
54842
+
54843
+ /**
54844
+ * @param {number} value
54845
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
54846
+ */
54847
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setAxis = function(value) {
54848
+ return jspb.Message.setProto3IntField(this, 3, value);
54849
+ };
54850
+
54851
+
54852
+ /**
54853
+ * optional string key = 4;
54854
+ * @return {string}
54855
+ */
54856
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getKey = function() {
54857
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
54858
+ };
54859
+
54860
+
54861
+ /**
54862
+ * @param {string} value
54863
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
54864
+ */
54865
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setKey = function(value) {
54866
+ return jspb.Message.setProto3StringField(this, 4, value);
54867
+ };
54868
+
54869
+
54870
+ /**
54871
+ * optional bool decode = 5;
54872
+ * @return {boolean}
54873
+ */
54874
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getDecode = function() {
54875
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
54876
+ };
54877
+
54878
+
54879
+ /**
54880
+ * @param {boolean} value
54881
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
54882
+ */
54883
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDecode = function(value) {
54884
+ return jspb.Message.setProto3BooleanField(this, 5, value);
54885
+ };
54886
+
54887
+
54888
+
54889
+
54890
+
54891
+ if (jspb.Message.GENERATE_TO_OBJECT) {
54892
+ /**
54893
+ * Creates an object representation of this proto.
54894
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
54895
+ * Optional fields that are not set will be set to undefined.
54896
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
54897
+ * For the list of reserved names please see:
54898
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
54899
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
54900
+ * JSPB instance for transitional soy proto support:
54901
+ * http://goto/soy-param-migration
54902
+ * @return {!Object}
54903
+ */
54904
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.prototype.toObject = function(opt_includeInstance) {
54905
+ return proto.zaber.motion.protobufs.DeviceGetStorageResponse.toObject(opt_includeInstance, this);
54906
+ };
54907
+
54908
+
54909
+ /**
54910
+ * Static version of the {@see toObject} method.
54911
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
54912
+ * the JSPB instance for transitional soy proto support:
54913
+ * http://goto/soy-param-migration
54914
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageResponse} msg The msg instance to transform.
54915
+ * @return {!Object}
54916
+ * @suppress {unusedLocalVariables} f is only used for nested messages
54917
+ */
54918
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.toObject = function(includeInstance, msg) {
54919
+ var f, obj = {
54920
+ value: jspb.Message.getFieldWithDefault(msg, 1, "")
54921
+ };
54922
+
54923
+ if (includeInstance) {
54924
+ obj.$jspbMessageInstance = msg;
54925
+ }
54926
+ return obj;
54927
+ };
54928
+ }
54929
+
54930
+
54931
+ /**
54932
+ * Deserializes binary data (in protobuf wire format).
54933
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
54934
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageResponse}
54935
+ */
54936
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.deserializeBinary = function(bytes) {
54937
+ var reader = new jspb.BinaryReader(bytes);
54938
+ var msg = new proto.zaber.motion.protobufs.DeviceGetStorageResponse;
54939
+ return proto.zaber.motion.protobufs.DeviceGetStorageResponse.deserializeBinaryFromReader(msg, reader);
54940
+ };
54941
+
54942
+
54943
+ /**
54944
+ * Deserializes binary data (in protobuf wire format) from the
54945
+ * given reader into the given message object.
54946
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageResponse} msg The message object to deserialize into.
54947
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
54948
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageResponse}
54949
+ */
54950
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.deserializeBinaryFromReader = function(msg, reader) {
54951
+ while (reader.nextField()) {
54952
+ if (reader.isEndGroup()) {
54953
+ break;
54954
+ }
54955
+ var field = reader.getFieldNumber();
54956
+ switch (field) {
54957
+ case 1:
54958
+ var value = /** @type {string} */ (reader.readString());
54959
+ msg.setValue(value);
54960
+ break;
54961
+ default:
54962
+ reader.skipField();
54963
+ break;
54964
+ }
54965
+ }
54966
+ return msg;
54967
+ };
54968
+
54969
+
54970
+ /**
54971
+ * Serializes the message to binary data (in protobuf wire format).
54972
+ * @return {!Uint8Array}
54973
+ */
54974
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.prototype.serializeBinary = function() {
54975
+ var writer = new jspb.BinaryWriter();
54976
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.serializeBinaryToWriter(this, writer);
54977
+ return writer.getResultBuffer();
54978
+ };
54979
+
54980
+
54981
+ /**
54982
+ * Serializes the given message to binary data (in protobuf wire
54983
+ * format), writing to the given BinaryWriter.
54984
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageResponse} message
54985
+ * @param {!jspb.BinaryWriter} writer
54986
+ * @suppress {unusedLocalVariables} f is only used for nested messages
54987
+ */
54988
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.serializeBinaryToWriter = function(message, writer) {
54989
+ var f = undefined;
54990
+ f = message.getValue();
54991
+ if (f.length > 0) {
54992
+ writer.writeString(
54993
+ 1,
54994
+ f
54995
+ );
54996
+ }
54997
+ };
54998
+
54999
+
55000
+ /**
55001
+ * optional string value = 1;
55002
+ * @return {string}
55003
+ */
55004
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.prototype.getValue = function() {
55005
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
55006
+ };
55007
+
55008
+
55009
+ /**
55010
+ * @param {string} value
55011
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageResponse} returns this
55012
+ */
55013
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.prototype.setValue = function(value) {
55014
+ return jspb.Message.setProto3StringField(this, 1, value);
55015
+ };
55016
+
55017
+
55018
+
55019
+
55020
+
55021
+ if (jspb.Message.GENERATE_TO_OBJECT) {
55022
+ /**
55023
+ * Creates an object representation of this proto.
55024
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
55025
+ * Optional fields that are not set will be set to undefined.
55026
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55027
+ * For the list of reserved names please see:
55028
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
55029
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
55030
+ * JSPB instance for transitional soy proto support:
55031
+ * http://goto/soy-param-migration
55032
+ * @return {!Object}
55033
+ */
55034
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.toObject = function(opt_includeInstance) {
55035
+ return proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject(opt_includeInstance, this);
55036
+ };
55037
+
55038
+
55039
+ /**
55040
+ * Static version of the {@see toObject} method.
55041
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
55042
+ * the JSPB instance for transitional soy proto support:
55043
+ * http://goto/soy-param-migration
55044
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} msg The msg instance to transform.
55045
+ * @return {!Object}
55046
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55047
+ */
55048
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject = function(includeInstance, msg) {
55049
+ var f, obj = {
55050
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
55051
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
55052
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
55053
+ key: jspb.Message.getFieldWithDefault(msg, 4, ""),
55054
+ value: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
55055
+ };
55056
+
55057
+ if (includeInstance) {
55058
+ obj.$jspbMessageInstance = msg;
55059
+ }
55060
+ return obj;
55061
+ };
55062
+ }
55063
+
55064
+
55065
+ /**
55066
+ * Deserializes binary data (in protobuf wire format).
55067
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
55068
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest}
55069
+ */
55070
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinary = function(bytes) {
55071
+ var reader = new jspb.BinaryReader(bytes);
55072
+ var msg = new proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest;
55073
+ return proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFromReader(msg, reader);
55074
+ };
55075
+
55076
+
55077
+ /**
55078
+ * Deserializes binary data (in protobuf wire format) from the
55079
+ * given reader into the given message object.
55080
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} msg The message object to deserialize into.
55081
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
55082
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest}
55083
+ */
55084
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFromReader = function(msg, reader) {
55085
+ while (reader.nextField()) {
55086
+ if (reader.isEndGroup()) {
55087
+ break;
55088
+ }
55089
+ var field = reader.getFieldNumber();
55090
+ switch (field) {
55091
+ case 1:
55092
+ var value = /** @type {number} */ (reader.readInt32());
55093
+ msg.setInterfaceId(value);
55094
+ break;
55095
+ case 2:
55096
+ var value = /** @type {number} */ (reader.readInt32());
55097
+ msg.setDevice(value);
55098
+ break;
55099
+ case 3:
55100
+ var value = /** @type {number} */ (reader.readInt32());
55101
+ msg.setAxis(value);
55102
+ break;
55103
+ case 4:
55104
+ var value = /** @type {string} */ (reader.readString());
55105
+ msg.setKey(value);
55106
+ break;
55107
+ case 5:
55108
+ var value = /** @type {number} */ (reader.readDouble());
55109
+ msg.setValue(value);
55110
+ break;
55111
+ default:
55112
+ reader.skipField();
55113
+ break;
55114
+ }
55115
+ }
55116
+ return msg;
55117
+ };
55118
+
55119
+
55120
+ /**
55121
+ * Serializes the message to binary data (in protobuf wire format).
55122
+ * @return {!Uint8Array}
55123
+ */
55124
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.serializeBinary = function() {
55125
+ var writer = new jspb.BinaryWriter();
55126
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWriter(this, writer);
55127
+ return writer.getResultBuffer();
55128
+ };
55129
+
55130
+
55131
+ /**
55132
+ * Serializes the given message to binary data (in protobuf wire
55133
+ * format), writing to the given BinaryWriter.
55134
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} message
55135
+ * @param {!jspb.BinaryWriter} writer
55136
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55137
+ */
55138
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWriter = function(message, writer) {
55139
+ var f = undefined;
55140
+ f = message.getInterfaceId();
55141
+ if (f !== 0) {
55142
+ writer.writeInt32(
55143
+ 1,
55144
+ f
55145
+ );
55146
+ }
55147
+ f = message.getDevice();
55148
+ if (f !== 0) {
55149
+ writer.writeInt32(
55150
+ 2,
55151
+ f
55152
+ );
55153
+ }
55154
+ f = message.getAxis();
55155
+ if (f !== 0) {
55156
+ writer.writeInt32(
55157
+ 3,
55158
+ f
55159
+ );
55160
+ }
55161
+ f = message.getKey();
55162
+ if (f.length > 0) {
55163
+ writer.writeString(
55164
+ 4,
55165
+ f
55166
+ );
55167
+ }
55168
+ f = message.getValue();
55169
+ if (f !== 0.0) {
55170
+ writer.writeDouble(
55171
+ 5,
55172
+ f
55173
+ );
55174
+ }
55175
+ };
55176
+
55177
+
55178
+ /**
55179
+ * optional int32 interface_id = 1;
55180
+ * @return {number}
55181
+ */
55182
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getInterfaceId = function() {
55183
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
55184
+ };
55185
+
55186
+
55187
+ /**
55188
+ * @param {number} value
55189
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
55190
+ */
55191
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setInterfaceId = function(value) {
55192
+ return jspb.Message.setProto3IntField(this, 1, value);
55193
+ };
55194
+
55195
+
55196
+ /**
55197
+ * optional int32 device = 2;
55198
+ * @return {number}
55199
+ */
55200
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getDevice = function() {
55201
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
55202
+ };
55203
+
55204
+
55205
+ /**
55206
+ * @param {number} value
55207
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
55208
+ */
55209
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setDevice = function(value) {
55210
+ return jspb.Message.setProto3IntField(this, 2, value);
55211
+ };
55212
+
55213
+
55214
+ /**
55215
+ * optional int32 axis = 3;
55216
+ * @return {number}
55217
+ */
55218
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getAxis = function() {
55219
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
55220
+ };
55221
+
55222
+
55223
+ /**
55224
+ * @param {number} value
55225
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
55226
+ */
55227
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setAxis = function(value) {
55228
+ return jspb.Message.setProto3IntField(this, 3, value);
55229
+ };
55230
+
55231
+
55232
+ /**
55233
+ * optional string key = 4;
55234
+ * @return {string}
55235
+ */
55236
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getKey = function() {
55237
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
55238
+ };
55239
+
55240
+
55241
+ /**
55242
+ * @param {string} value
55243
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
55244
+ */
55245
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setKey = function(value) {
55246
+ return jspb.Message.setProto3StringField(this, 4, value);
55247
+ };
55248
+
55249
+
55250
+ /**
55251
+ * optional double value = 5;
55252
+ * @return {number}
55253
+ */
55254
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getValue = function() {
55255
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
55256
+ };
55257
+
55258
+
55259
+ /**
55260
+ * @param {number} value
55261
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
55262
+ */
55263
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setValue = function(value) {
55264
+ return jspb.Message.setProto3FloatField(this, 5, value);
55265
+ };
55266
+
55267
+
55268
+
55269
+
55270
+
55271
+ if (jspb.Message.GENERATE_TO_OBJECT) {
55272
+ /**
55273
+ * Creates an object representation of this proto.
55274
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
55275
+ * Optional fields that are not set will be set to undefined.
55276
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55277
+ * For the list of reserved names please see:
55278
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
55279
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
55280
+ * JSPB instance for transitional soy proto support:
55281
+ * http://goto/soy-param-migration
55282
+ * @return {!Object}
55283
+ */
55284
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.toObject = function(opt_includeInstance) {
55285
+ return proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.toObject(opt_includeInstance, this);
55286
+ };
55287
+
55288
+
55289
+ /**
55290
+ * Static version of the {@see toObject} method.
55291
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
55292
+ * the JSPB instance for transitional soy proto support:
55293
+ * http://goto/soy-param-migration
55294
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} msg The msg instance to transform.
55295
+ * @return {!Object}
55296
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55297
+ */
55298
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.toObject = function(includeInstance, msg) {
55299
+ var f, obj = {
55300
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
55301
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
55302
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
55303
+ key: jspb.Message.getFieldWithDefault(msg, 4, "")
55304
+ };
55305
+
55306
+ if (includeInstance) {
55307
+ obj.$jspbMessageInstance = msg;
55308
+ }
55309
+ return obj;
55310
+ };
55311
+ }
55312
+
55313
+
55314
+ /**
55315
+ * Deserializes binary data (in protobuf wire format).
55316
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
55317
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest}
55318
+ */
55319
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.deserializeBinary = function(bytes) {
55320
+ var reader = new jspb.BinaryReader(bytes);
55321
+ var msg = new proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest;
55322
+ return proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.deserializeBinaryFromReader(msg, reader);
55323
+ };
55324
+
55325
+
55326
+ /**
55327
+ * Deserializes binary data (in protobuf wire format) from the
55328
+ * given reader into the given message object.
55329
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} msg The message object to deserialize into.
55330
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
55331
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest}
55332
+ */
55333
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.deserializeBinaryFromReader = function(msg, reader) {
55334
+ while (reader.nextField()) {
55335
+ if (reader.isEndGroup()) {
55336
+ break;
55337
+ }
55338
+ var field = reader.getFieldNumber();
55339
+ switch (field) {
55340
+ case 1:
55341
+ var value = /** @type {number} */ (reader.readInt32());
55342
+ msg.setInterfaceId(value);
55343
+ break;
55344
+ case 2:
55345
+ var value = /** @type {number} */ (reader.readInt32());
55346
+ msg.setDevice(value);
55347
+ break;
55348
+ case 3:
55349
+ var value = /** @type {number} */ (reader.readInt32());
55350
+ msg.setAxis(value);
55351
+ break;
55352
+ case 4:
55353
+ var value = /** @type {string} */ (reader.readString());
55354
+ msg.setKey(value);
55355
+ break;
55356
+ default:
55357
+ reader.skipField();
55358
+ break;
55359
+ }
55360
+ }
55361
+ return msg;
55362
+ };
55363
+
55364
+
55365
+ /**
55366
+ * Serializes the message to binary data (in protobuf wire format).
55367
+ * @return {!Uint8Array}
55368
+ */
55369
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.serializeBinary = function() {
55370
+ var writer = new jspb.BinaryWriter();
55371
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.serializeBinaryToWriter(this, writer);
55372
+ return writer.getResultBuffer();
55373
+ };
55374
+
55375
+
55376
+ /**
55377
+ * Serializes the given message to binary data (in protobuf wire
55378
+ * format), writing to the given BinaryWriter.
55379
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} message
55380
+ * @param {!jspb.BinaryWriter} writer
55381
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55382
+ */
55383
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.serializeBinaryToWriter = function(message, writer) {
55384
+ var f = undefined;
55385
+ f = message.getInterfaceId();
55386
+ if (f !== 0) {
55387
+ writer.writeInt32(
55388
+ 1,
55389
+ f
55390
+ );
55391
+ }
55392
+ f = message.getDevice();
55393
+ if (f !== 0) {
55394
+ writer.writeInt32(
55395
+ 2,
55396
+ f
55397
+ );
55398
+ }
55399
+ f = message.getAxis();
55400
+ if (f !== 0) {
55401
+ writer.writeInt32(
55402
+ 3,
55403
+ f
55404
+ );
55405
+ }
55406
+ f = message.getKey();
55407
+ if (f.length > 0) {
55408
+ writer.writeString(
55409
+ 4,
55410
+ f
55411
+ );
55412
+ }
55413
+ };
55414
+
55415
+
55416
+ /**
55417
+ * optional int32 interface_id = 1;
55418
+ * @return {number}
55419
+ */
55420
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.getInterfaceId = function() {
55421
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
55422
+ };
55423
+
55424
+
55425
+ /**
55426
+ * @param {number} value
55427
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} returns this
55428
+ */
55429
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setInterfaceId = function(value) {
55430
+ return jspb.Message.setProto3IntField(this, 1, value);
55431
+ };
55432
+
55433
+
55434
+ /**
55435
+ * optional int32 device = 2;
55436
+ * @return {number}
55437
+ */
55438
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.getDevice = function() {
55439
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
55440
+ };
55441
+
55442
+
55443
+ /**
55444
+ * @param {number} value
55445
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} returns this
55446
+ */
55447
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setDevice = function(value) {
55448
+ return jspb.Message.setProto3IntField(this, 2, value);
55449
+ };
55450
+
55451
+
55452
+ /**
55453
+ * optional int32 axis = 3;
55454
+ * @return {number}
55455
+ */
55456
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.getAxis = function() {
55457
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
55458
+ };
55459
+
55460
+
55461
+ /**
55462
+ * @param {number} value
55463
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} returns this
55464
+ */
55465
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setAxis = function(value) {
55466
+ return jspb.Message.setProto3IntField(this, 3, value);
55467
+ };
55468
+
55469
+
55470
+ /**
55471
+ * optional string key = 4;
55472
+ * @return {string}
55473
+ */
55474
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.getKey = function() {
55475
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
55476
+ };
55477
+
55478
+
55479
+ /**
55480
+ * @param {string} value
55481
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} returns this
55482
+ */
55483
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setKey = function(value) {
55484
+ return jspb.Message.setProto3StringField(this, 4, value);
55485
+ };
55486
+
55487
+
55488
+
55489
+
55490
+
55491
+ if (jspb.Message.GENERATE_TO_OBJECT) {
55492
+ /**
55493
+ * Creates an object representation of this proto.
55494
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
55495
+ * Optional fields that are not set will be set to undefined.
55496
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55497
+ * For the list of reserved names please see:
55498
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
55499
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
55500
+ * JSPB instance for transitional soy proto support:
55501
+ * http://goto/soy-param-migration
55502
+ * @return {!Object}
55503
+ */
55504
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.prototype.toObject = function(opt_includeInstance) {
55505
+ return proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.toObject(opt_includeInstance, this);
55506
+ };
55507
+
55508
+
55509
+ /**
55510
+ * Static version of the {@see toObject} method.
55511
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
55512
+ * the JSPB instance for transitional soy proto support:
55513
+ * http://goto/soy-param-migration
55514
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse} msg The msg instance to transform.
55515
+ * @return {!Object}
55516
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55517
+ */
55518
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.toObject = function(includeInstance, msg) {
55519
+ var f, obj = {
55520
+ value: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0)
55521
+ };
55522
+
55523
+ if (includeInstance) {
55524
+ obj.$jspbMessageInstance = msg;
55525
+ }
55526
+ return obj;
55527
+ };
55528
+ }
55529
+
55530
+
55531
+ /**
55532
+ * Deserializes binary data (in protobuf wire format).
55533
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
55534
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse}
55535
+ */
55536
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.deserializeBinary = function(bytes) {
55537
+ var reader = new jspb.BinaryReader(bytes);
55538
+ var msg = new proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse;
55539
+ return proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.deserializeBinaryFromReader(msg, reader);
55540
+ };
55541
+
55542
+
55543
+ /**
55544
+ * Deserializes binary data (in protobuf wire format) from the
55545
+ * given reader into the given message object.
55546
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse} msg The message object to deserialize into.
55547
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
55548
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse}
55549
+ */
55550
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.deserializeBinaryFromReader = function(msg, reader) {
55551
+ while (reader.nextField()) {
55552
+ if (reader.isEndGroup()) {
55553
+ break;
55554
+ }
55555
+ var field = reader.getFieldNumber();
55556
+ switch (field) {
55557
+ case 1:
55558
+ var value = /** @type {number} */ (reader.readDouble());
55559
+ msg.setValue(value);
55560
+ break;
55561
+ default:
55562
+ reader.skipField();
55563
+ break;
55564
+ }
55565
+ }
55566
+ return msg;
55567
+ };
55568
+
55569
+
55570
+ /**
55571
+ * Serializes the message to binary data (in protobuf wire format).
55572
+ * @return {!Uint8Array}
55573
+ */
55574
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.prototype.serializeBinary = function() {
55575
+ var writer = new jspb.BinaryWriter();
55576
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.serializeBinaryToWriter(this, writer);
55577
+ return writer.getResultBuffer();
55578
+ };
55579
+
55580
+
55581
+ /**
55582
+ * Serializes the given message to binary data (in protobuf wire
55583
+ * format), writing to the given BinaryWriter.
55584
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse} message
55585
+ * @param {!jspb.BinaryWriter} writer
55586
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55587
+ */
55588
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.serializeBinaryToWriter = function(message, writer) {
55589
+ var f = undefined;
55590
+ f = message.getValue();
55591
+ if (f !== 0.0) {
55592
+ writer.writeDouble(
55593
+ 1,
55594
+ f
55595
+ );
55596
+ }
55597
+ };
55598
+
55599
+
55600
+ /**
55601
+ * optional double value = 1;
55602
+ * @return {number}
55603
+ */
55604
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.prototype.getValue = function() {
55605
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
55606
+ };
55607
+
55608
+
55609
+ /**
55610
+ * @param {number} value
55611
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse} returns this
55612
+ */
55613
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.prototype.setValue = function(value) {
55614
+ return jspb.Message.setProto3FloatField(this, 1, value);
55615
+ };
55616
+
55617
+
55618
+
55619
+
55620
+
55621
+ if (jspb.Message.GENERATE_TO_OBJECT) {
55622
+ /**
55623
+ * Creates an object representation of this proto.
55624
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
55625
+ * Optional fields that are not set will be set to undefined.
55626
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55627
+ * For the list of reserved names please see:
55628
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
55629
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
55630
+ * JSPB instance for transitional soy proto support:
55631
+ * http://goto/soy-param-migration
55632
+ * @return {!Object}
55633
+ */
55634
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.toObject = function(opt_includeInstance) {
55635
+ return proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject(opt_includeInstance, this);
55636
+ };
55637
+
55638
+
55639
+ /**
55640
+ * Static version of the {@see toObject} method.
55641
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
55642
+ * the JSPB instance for transitional soy proto support:
55643
+ * http://goto/soy-param-migration
55644
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} msg The msg instance to transform.
55645
+ * @return {!Object}
55646
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55647
+ */
55648
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject = function(includeInstance, msg) {
55649
+ var f, obj = {
55650
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
55651
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
55652
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
55653
+ key: jspb.Message.getFieldWithDefault(msg, 4, ""),
55654
+ value: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
55655
+ };
55656
+
55657
+ if (includeInstance) {
55658
+ obj.$jspbMessageInstance = msg;
55659
+ }
55660
+ return obj;
55661
+ };
55662
+ }
55663
+
55664
+
55665
+ /**
55666
+ * Deserializes binary data (in protobuf wire format).
55667
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
55668
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest}
55669
+ */
55670
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinary = function(bytes) {
55671
+ var reader = new jspb.BinaryReader(bytes);
55672
+ var msg = new proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest;
55673
+ return proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromReader(msg, reader);
55674
+ };
55675
+
55676
+
55677
+ /**
55678
+ * Deserializes binary data (in protobuf wire format) from the
55679
+ * given reader into the given message object.
55680
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} msg The message object to deserialize into.
55681
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
55682
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest}
55683
+ */
55684
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromReader = function(msg, reader) {
55685
+ while (reader.nextField()) {
55686
+ if (reader.isEndGroup()) {
55687
+ break;
55688
+ }
55689
+ var field = reader.getFieldNumber();
55690
+ switch (field) {
55691
+ case 1:
55692
+ var value = /** @type {number} */ (reader.readInt32());
55693
+ msg.setInterfaceId(value);
55694
+ break;
55695
+ case 2:
55696
+ var value = /** @type {number} */ (reader.readInt32());
55697
+ msg.setDevice(value);
55698
+ break;
55699
+ case 3:
55700
+ var value = /** @type {number} */ (reader.readInt32());
55701
+ msg.setAxis(value);
55702
+ break;
55703
+ case 4:
55704
+ var value = /** @type {string} */ (reader.readString());
55705
+ msg.setKey(value);
55706
+ break;
55707
+ case 5:
55708
+ var value = /** @type {boolean} */ (reader.readBool());
55709
+ msg.setValue(value);
55710
+ break;
55711
+ default:
55712
+ reader.skipField();
55713
+ break;
55714
+ }
55715
+ }
55716
+ return msg;
55717
+ };
55718
+
55719
+
55720
+ /**
55721
+ * Serializes the message to binary data (in protobuf wire format).
55722
+ * @return {!Uint8Array}
55723
+ */
55724
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.serializeBinary = function() {
55725
+ var writer = new jspb.BinaryWriter();
55726
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter(this, writer);
55727
+ return writer.getResultBuffer();
55728
+ };
55729
+
55730
+
55731
+ /**
55732
+ * Serializes the given message to binary data (in protobuf wire
55733
+ * format), writing to the given BinaryWriter.
55734
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} message
55735
+ * @param {!jspb.BinaryWriter} writer
55736
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55737
+ */
55738
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter = function(message, writer) {
55739
+ var f = undefined;
55740
+ f = message.getInterfaceId();
55741
+ if (f !== 0) {
55742
+ writer.writeInt32(
55743
+ 1,
55744
+ f
55745
+ );
55746
+ }
55747
+ f = message.getDevice();
55748
+ if (f !== 0) {
55749
+ writer.writeInt32(
55750
+ 2,
55751
+ f
55752
+ );
55753
+ }
55754
+ f = message.getAxis();
55755
+ if (f !== 0) {
55756
+ writer.writeInt32(
55757
+ 3,
55758
+ f
55759
+ );
55760
+ }
55761
+ f = message.getKey();
55762
+ if (f.length > 0) {
55763
+ writer.writeString(
55764
+ 4,
55765
+ f
55766
+ );
55767
+ }
55768
+ f = message.getValue();
55769
+ if (f) {
55770
+ writer.writeBool(
55771
+ 5,
55772
+ f
55773
+ );
55774
+ }
55775
+ };
55776
+
55777
+
55778
+ /**
55779
+ * optional int32 interface_id = 1;
55780
+ * @return {number}
55781
+ */
55782
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getInterfaceId = function() {
55783
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
55784
+ };
55785
+
55786
+
55787
+ /**
55788
+ * @param {number} value
55789
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
55790
+ */
55791
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setInterfaceId = function(value) {
55792
+ return jspb.Message.setProto3IntField(this, 1, value);
55793
+ };
55794
+
55795
+
55796
+ /**
55797
+ * optional int32 device = 2;
55798
+ * @return {number}
55799
+ */
55800
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getDevice = function() {
55801
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
55802
+ };
55803
+
55804
+
55805
+ /**
55806
+ * @param {number} value
55807
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
55808
+ */
55809
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setDevice = function(value) {
55810
+ return jspb.Message.setProto3IntField(this, 2, value);
55811
+ };
55812
+
55813
+
55814
+ /**
55815
+ * optional int32 axis = 3;
55816
+ * @return {number}
55817
+ */
55818
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getAxis = function() {
55819
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
55820
+ };
55821
+
55822
+
55823
+ /**
55824
+ * @param {number} value
55825
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
55826
+ */
55827
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setAxis = function(value) {
55828
+ return jspb.Message.setProto3IntField(this, 3, value);
55829
+ };
55830
+
55831
+
55832
+ /**
55833
+ * optional string key = 4;
55834
+ * @return {string}
55835
+ */
55836
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getKey = function() {
55837
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
55838
+ };
55839
+
55840
+
55841
+ /**
55842
+ * @param {string} value
55843
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
55844
+ */
55845
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setKey = function(value) {
55846
+ return jspb.Message.setProto3StringField(this, 4, value);
55847
+ };
55848
+
55849
+
55850
+ /**
55851
+ * optional bool value = 5;
55852
+ * @return {boolean}
55853
+ */
55854
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getValue = function() {
55855
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
55856
+ };
55857
+
55858
+
55859
+ /**
55860
+ * @param {boolean} value
55861
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
55862
+ */
55863
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setValue = function(value) {
55864
+ return jspb.Message.setProto3BooleanField(this, 5, value);
55865
+ };
55866
+
55867
+
55868
+
55869
+
55870
+
55871
+ if (jspb.Message.GENERATE_TO_OBJECT) {
55872
+ /**
55873
+ * Creates an object representation of this proto.
55874
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
55875
+ * Optional fields that are not set will be set to undefined.
55876
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55877
+ * For the list of reserved names please see:
55878
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
55879
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
55880
+ * JSPB instance for transitional soy proto support:
55881
+ * http://goto/soy-param-migration
55882
+ * @return {!Object}
55883
+ */
55884
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.toObject = function(opt_includeInstance) {
55885
+ return proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.toObject(opt_includeInstance, this);
55886
+ };
55887
+
55888
+
55889
+ /**
55890
+ * Static version of the {@see toObject} method.
55891
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
55892
+ * the JSPB instance for transitional soy proto support:
55893
+ * http://goto/soy-param-migration
55894
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} msg The msg instance to transform.
55895
+ * @return {!Object}
55896
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55897
+ */
55898
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.toObject = function(includeInstance, msg) {
55899
+ var f, obj = {
55900
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
55901
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
55902
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
55903
+ key: jspb.Message.getFieldWithDefault(msg, 4, "")
55904
+ };
55905
+
55906
+ if (includeInstance) {
55907
+ obj.$jspbMessageInstance = msg;
55908
+ }
55909
+ return obj;
55910
+ };
55911
+ }
55912
+
55913
+
55914
+ /**
55915
+ * Deserializes binary data (in protobuf wire format).
55916
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
55917
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest}
55918
+ */
55919
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinary = function(bytes) {
55920
+ var reader = new jspb.BinaryReader(bytes);
55921
+ var msg = new proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest;
55922
+ return proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinaryFromReader(msg, reader);
55923
+ };
55924
+
55925
+
55926
+ /**
55927
+ * Deserializes binary data (in protobuf wire format) from the
55928
+ * given reader into the given message object.
55929
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} msg The message object to deserialize into.
55930
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
55931
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest}
55932
+ */
55933
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinaryFromReader = function(msg, reader) {
55934
+ while (reader.nextField()) {
55935
+ if (reader.isEndGroup()) {
55936
+ break;
55937
+ }
55938
+ var field = reader.getFieldNumber();
55939
+ switch (field) {
55940
+ case 1:
55941
+ var value = /** @type {number} */ (reader.readInt32());
55942
+ msg.setInterfaceId(value);
55943
+ break;
55944
+ case 2:
55945
+ var value = /** @type {number} */ (reader.readInt32());
55946
+ msg.setDevice(value);
55947
+ break;
55948
+ case 3:
55949
+ var value = /** @type {number} */ (reader.readInt32());
55950
+ msg.setAxis(value);
55951
+ break;
55952
+ case 4:
55953
+ var value = /** @type {string} */ (reader.readString());
55954
+ msg.setKey(value);
55955
+ break;
55956
+ default:
55957
+ reader.skipField();
55958
+ break;
55959
+ }
55960
+ }
55961
+ return msg;
55962
+ };
55963
+
55964
+
55965
+ /**
55966
+ * Serializes the message to binary data (in protobuf wire format).
55967
+ * @return {!Uint8Array}
55968
+ */
55969
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.serializeBinary = function() {
55970
+ var writer = new jspb.BinaryWriter();
55971
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.serializeBinaryToWriter(this, writer);
55972
+ return writer.getResultBuffer();
55973
+ };
55974
+
55975
+
55976
+ /**
55977
+ * Serializes the given message to binary data (in protobuf wire
55978
+ * format), writing to the given BinaryWriter.
55979
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} message
55980
+ * @param {!jspb.BinaryWriter} writer
55981
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55982
+ */
55983
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.serializeBinaryToWriter = function(message, writer) {
55984
+ var f = undefined;
55985
+ f = message.getInterfaceId();
55986
+ if (f !== 0) {
55987
+ writer.writeInt32(
55988
+ 1,
55989
+ f
55990
+ );
55991
+ }
55992
+ f = message.getDevice();
55993
+ if (f !== 0) {
55994
+ writer.writeInt32(
55995
+ 2,
55996
+ f
55997
+ );
55998
+ }
55999
+ f = message.getAxis();
56000
+ if (f !== 0) {
56001
+ writer.writeInt32(
56002
+ 3,
56003
+ f
56004
+ );
56005
+ }
56006
+ f = message.getKey();
56007
+ if (f.length > 0) {
56008
+ writer.writeString(
56009
+ 4,
56010
+ f
56011
+ );
56012
+ }
56013
+ };
56014
+
56015
+
56016
+ /**
56017
+ * optional int32 interface_id = 1;
56018
+ * @return {number}
56019
+ */
56020
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.getInterfaceId = function() {
56021
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
56022
+ };
56023
+
56024
+
56025
+ /**
56026
+ * @param {number} value
56027
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} returns this
56028
+ */
56029
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.setInterfaceId = function(value) {
56030
+ return jspb.Message.setProto3IntField(this, 1, value);
56031
+ };
56032
+
56033
+
56034
+ /**
56035
+ * optional int32 device = 2;
56036
+ * @return {number}
56037
+ */
56038
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.getDevice = function() {
56039
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
56040
+ };
56041
+
56042
+
56043
+ /**
56044
+ * @param {number} value
56045
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} returns this
56046
+ */
56047
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.setDevice = function(value) {
56048
+ return jspb.Message.setProto3IntField(this, 2, value);
56049
+ };
56050
+
56051
+
56052
+ /**
56053
+ * optional int32 axis = 3;
56054
+ * @return {number}
56055
+ */
56056
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.getAxis = function() {
56057
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
56058
+ };
56059
+
56060
+
56061
+ /**
56062
+ * @param {number} value
56063
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} returns this
56064
+ */
56065
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.setAxis = function(value) {
56066
+ return jspb.Message.setProto3IntField(this, 3, value);
56067
+ };
56068
+
56069
+
56070
+ /**
56071
+ * optional string key = 4;
56072
+ * @return {string}
56073
+ */
56074
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.getKey = function() {
56075
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
56076
+ };
56077
+
56078
+
56079
+ /**
56080
+ * @param {string} value
56081
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} returns this
56082
+ */
56083
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.setKey = function(value) {
56084
+ return jspb.Message.setProto3StringField(this, 4, value);
56085
+ };
56086
+
56087
+
56088
+
56089
+
56090
+
56091
+ if (jspb.Message.GENERATE_TO_OBJECT) {
56092
+ /**
56093
+ * Creates an object representation of this proto.
56094
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
56095
+ * Optional fields that are not set will be set to undefined.
56096
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
56097
+ * For the list of reserved names please see:
56098
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
56099
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
56100
+ * JSPB instance for transitional soy proto support:
56101
+ * http://goto/soy-param-migration
56102
+ * @return {!Object}
56103
+ */
56104
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.prototype.toObject = function(opt_includeInstance) {
56105
+ return proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.toObject(opt_includeInstance, this);
56106
+ };
56107
+
56108
+
56109
+ /**
56110
+ * Static version of the {@see toObject} method.
56111
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
56112
+ * the JSPB instance for transitional soy proto support:
56113
+ * http://goto/soy-param-migration
56114
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse} msg The msg instance to transform.
56115
+ * @return {!Object}
56116
+ * @suppress {unusedLocalVariables} f is only used for nested messages
56117
+ */
56118
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.toObject = function(includeInstance, msg) {
56119
+ var f, obj = {
56120
+ value: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
56121
+ };
56122
+
56123
+ if (includeInstance) {
56124
+ obj.$jspbMessageInstance = msg;
56125
+ }
56126
+ return obj;
56127
+ };
56128
+ }
56129
+
56130
+
56131
+ /**
56132
+ * Deserializes binary data (in protobuf wire format).
56133
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
56134
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse}
56135
+ */
56136
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.deserializeBinary = function(bytes) {
56137
+ var reader = new jspb.BinaryReader(bytes);
56138
+ var msg = new proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse;
56139
+ return proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.deserializeBinaryFromReader(msg, reader);
56140
+ };
56141
+
56142
+
56143
+ /**
56144
+ * Deserializes binary data (in protobuf wire format) from the
56145
+ * given reader into the given message object.
56146
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse} msg The message object to deserialize into.
56147
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
56148
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse}
56149
+ */
56150
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.deserializeBinaryFromReader = function(msg, reader) {
56151
+ while (reader.nextField()) {
56152
+ if (reader.isEndGroup()) {
56153
+ break;
56154
+ }
56155
+ var field = reader.getFieldNumber();
56156
+ switch (field) {
56157
+ case 1:
56158
+ var value = /** @type {boolean} */ (reader.readBool());
56159
+ msg.setValue(value);
56160
+ break;
56161
+ default:
56162
+ reader.skipField();
56163
+ break;
56164
+ }
56165
+ }
56166
+ return msg;
56167
+ };
56168
+
56169
+
56170
+ /**
56171
+ * Serializes the message to binary data (in protobuf wire format).
56172
+ * @return {!Uint8Array}
56173
+ */
56174
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.prototype.serializeBinary = function() {
56175
+ var writer = new jspb.BinaryWriter();
56176
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.serializeBinaryToWriter(this, writer);
56177
+ return writer.getResultBuffer();
56178
+ };
56179
+
56180
+
56181
+ /**
56182
+ * Serializes the given message to binary data (in protobuf wire
56183
+ * format), writing to the given BinaryWriter.
56184
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse} message
56185
+ * @param {!jspb.BinaryWriter} writer
56186
+ * @suppress {unusedLocalVariables} f is only used for nested messages
56187
+ */
56188
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.serializeBinaryToWriter = function(message, writer) {
56189
+ var f = undefined;
56190
+ f = message.getValue();
56191
+ if (f) {
56192
+ writer.writeBool(
56193
+ 1,
56194
+ f
56195
+ );
56196
+ }
56197
+ };
56198
+
56199
+
56200
+ /**
56201
+ * optional bool value = 1;
56202
+ * @return {boolean}
56203
+ */
56204
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.prototype.getValue = function() {
56205
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
56206
+ };
56207
+
56208
+
56209
+ /**
56210
+ * @param {boolean} value
56211
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse} returns this
56212
+ */
56213
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.prototype.setValue = function(value) {
56214
+ return jspb.Message.setProto3BooleanField(this, 1, value);
56215
+ };
56216
+
56217
+
53526
56218
  /**
53527
56219
  * @enum {number}
53528
56220
  */
@@ -53577,7 +56269,9 @@ proto.zaber.motion.protobufs.Errors = {
53577
56269
  SET_DEVICE_STATE_FAILED: 40,
53578
56270
  G_CODE_SYNTAX: 41,
53579
56271
  G_CODE_EXECUTION: 42,
53580
- INVALID_OPERATION: 43
56272
+ INVALID_OPERATION: 43,
56273
+ COMMAND_TOO_LONG: 44,
56274
+ NO_VALUE_FOR_KEY: 45
53581
56275
  };
53582
56276
 
53583
56277
  /**