@zaber/motion 2.11.2 → 2.12.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 (38) 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 +6 -0
  4. package/dist/lib/ascii/axis.js +8 -0
  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/storage.d.ts +98 -0
  16. package/dist/lib/ascii/storage.js +220 -0
  17. package/dist/lib/ascii/storage.js.map +1 -0
  18. package/dist/lib/ascii_ns.d.ts +4 -0
  19. package/dist/lib/ascii_ns.js +2 -0
  20. package/dist/lib/ascii_ns.js.map +1 -1
  21. package/dist/lib/exceptions/command_too_long_exception.d.ts +14 -0
  22. package/dist/lib/exceptions/command_too_long_exception.js +32 -0
  23. package/dist/lib/exceptions/command_too_long_exception.js.map +1 -0
  24. package/dist/lib/exceptions/command_too_long_exception_data.d.ts +24 -0
  25. package/dist/lib/exceptions/command_too_long_exception_data.js +20 -0
  26. package/dist/lib/exceptions/command_too_long_exception_data.js.map +1 -0
  27. package/dist/lib/exceptions/index.d.ts +3 -0
  28. package/dist/lib/exceptions/index.js +8 -2
  29. package/dist/lib/exceptions/index.js.map +1 -1
  30. package/dist/lib/exceptions/no_value_for_key_exception.d.ts +7 -0
  31. package/dist/lib/exceptions/no_value_for_key_exception.js +17 -0
  32. package/dist/lib/exceptions/no_value_for_key_exception.js.map +1 -0
  33. package/dist/lib/gateway/convert_exceptions.js +2 -0
  34. package/dist/lib/gateway/convert_exceptions.js.map +1 -1
  35. package/dist/lib/protobufs/main_pb.d.ts +306 -0
  36. package/dist/lib/protobufs/main_pb.js +2303 -1
  37. package/dist/lib/protobufs/main_pb.js.map +1 -1
  38. 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);
@@ -735,6 +745,27 @@ if (goog.DEBUG && !COMPILED) {
735
745
  */
736
746
  proto.zaber.motion.protobufs.SetDeviceStateExceptionData.displayName = 'proto.zaber.motion.protobufs.SetDeviceStateExceptionData';
737
747
  }
748
+ /**
749
+ * Generated by JsPbCodeGenerator.
750
+ * @param {Array=} opt_data Optional initial data array, typically from a
751
+ * server response, or constructed directly in Javascript. The array is used
752
+ * in place and becomes part of the constructed object. It is not cloned.
753
+ * If no data is provided, the constructed object will be empty, but still
754
+ * valid.
755
+ * @extends {jspb.Message}
756
+ * @constructor
757
+ */
758
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData = function(opt_data) {
759
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
760
+ };
761
+ goog.inherits(proto.zaber.motion.protobufs.CommandTooLongExceptionData, jspb.Message);
762
+ if (goog.DEBUG && !COMPILED) {
763
+ /**
764
+ * @public
765
+ * @override
766
+ */
767
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.displayName = 'proto.zaber.motion.protobufs.CommandTooLongExceptionData';
768
+ }
738
769
  /**
739
770
  * Generated by JsPbCodeGenerator.
740
771
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5439,6 +5470,195 @@ if (goog.DEBUG && !COMPILED) {
5439
5470
  */
5440
5471
  proto.zaber.motion.protobufs.TranslatorSetFeedRateOverrideRequest.displayName = 'proto.zaber.motion.protobufs.TranslatorSetFeedRateOverrideRequest';
5441
5472
  }
5473
+ /**
5474
+ * Generated by JsPbCodeGenerator.
5475
+ * @param {Array=} opt_data Optional initial data array, typically from a
5476
+ * server response, or constructed directly in Javascript. The array is used
5477
+ * in place and becomes part of the constructed object. It is not cloned.
5478
+ * If no data is provided, the constructed object will be empty, but still
5479
+ * valid.
5480
+ * @extends {jspb.Message}
5481
+ * @constructor
5482
+ */
5483
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest = function(opt_data) {
5484
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5485
+ };
5486
+ goog.inherits(proto.zaber.motion.protobufs.DeviceSetStorageRequest, jspb.Message);
5487
+ if (goog.DEBUG && !COMPILED) {
5488
+ /**
5489
+ * @public
5490
+ * @override
5491
+ */
5492
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetStorageRequest';
5493
+ }
5494
+ /**
5495
+ * Generated by JsPbCodeGenerator.
5496
+ * @param {Array=} opt_data Optional initial data array, typically from a
5497
+ * server response, or constructed directly in Javascript. The array is used
5498
+ * in place and becomes part of the constructed object. It is not cloned.
5499
+ * If no data is provided, the constructed object will be empty, but still
5500
+ * valid.
5501
+ * @extends {jspb.Message}
5502
+ * @constructor
5503
+ */
5504
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest = function(opt_data) {
5505
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5506
+ };
5507
+ goog.inherits(proto.zaber.motion.protobufs.DeviceGetStorageRequest, jspb.Message);
5508
+ if (goog.DEBUG && !COMPILED) {
5509
+ /**
5510
+ * @public
5511
+ * @override
5512
+ */
5513
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.displayName = 'proto.zaber.motion.protobufs.DeviceGetStorageRequest';
5514
+ }
5515
+ /**
5516
+ * Generated by JsPbCodeGenerator.
5517
+ * @param {Array=} opt_data Optional initial data array, typically from a
5518
+ * server response, or constructed directly in Javascript. The array is used
5519
+ * in place and becomes part of the constructed object. It is not cloned.
5520
+ * If no data is provided, the constructed object will be empty, but still
5521
+ * valid.
5522
+ * @extends {jspb.Message}
5523
+ * @constructor
5524
+ */
5525
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse = function(opt_data) {
5526
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5527
+ };
5528
+ goog.inherits(proto.zaber.motion.protobufs.DeviceGetStorageResponse, jspb.Message);
5529
+ if (goog.DEBUG && !COMPILED) {
5530
+ /**
5531
+ * @public
5532
+ * @override
5533
+ */
5534
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.displayName = 'proto.zaber.motion.protobufs.DeviceGetStorageResponse';
5535
+ }
5536
+ /**
5537
+ * Generated by JsPbCodeGenerator.
5538
+ * @param {Array=} opt_data Optional initial data array, typically from a
5539
+ * server response, or constructed directly in Javascript. The array is used
5540
+ * in place and becomes part of the constructed object. It is not cloned.
5541
+ * If no data is provided, the constructed object will be empty, but still
5542
+ * valid.
5543
+ * @extends {jspb.Message}
5544
+ * @constructor
5545
+ */
5546
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest = function(opt_data) {
5547
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5548
+ };
5549
+ goog.inherits(proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest, jspb.Message);
5550
+ if (goog.DEBUG && !COMPILED) {
5551
+ /**
5552
+ * @public
5553
+ * @override
5554
+ */
5555
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest';
5556
+ }
5557
+ /**
5558
+ * Generated by JsPbCodeGenerator.
5559
+ * @param {Array=} opt_data Optional initial data array, typically from a
5560
+ * server response, or constructed directly in Javascript. The array is used
5561
+ * in place and becomes part of the constructed object. It is not cloned.
5562
+ * If no data is provided, the constructed object will be empty, but still
5563
+ * valid.
5564
+ * @extends {jspb.Message}
5565
+ * @constructor
5566
+ */
5567
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest = function(opt_data) {
5568
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5569
+ };
5570
+ goog.inherits(proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest, jspb.Message);
5571
+ if (goog.DEBUG && !COMPILED) {
5572
+ /**
5573
+ * @public
5574
+ * @override
5575
+ */
5576
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.displayName = 'proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest';
5577
+ }
5578
+ /**
5579
+ * Generated by JsPbCodeGenerator.
5580
+ * @param {Array=} opt_data Optional initial data array, typically from a
5581
+ * server response, or constructed directly in Javascript. The array is used
5582
+ * in place and becomes part of the constructed object. It is not cloned.
5583
+ * If no data is provided, the constructed object will be empty, but still
5584
+ * valid.
5585
+ * @extends {jspb.Message}
5586
+ * @constructor
5587
+ */
5588
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse = function(opt_data) {
5589
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5590
+ };
5591
+ goog.inherits(proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse, jspb.Message);
5592
+ if (goog.DEBUG && !COMPILED) {
5593
+ /**
5594
+ * @public
5595
+ * @override
5596
+ */
5597
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.displayName = 'proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse';
5598
+ }
5599
+ /**
5600
+ * Generated by JsPbCodeGenerator.
5601
+ * @param {Array=} opt_data Optional initial data array, typically from a
5602
+ * server response, or constructed directly in Javascript. The array is used
5603
+ * in place and becomes part of the constructed object. It is not cloned.
5604
+ * If no data is provided, the constructed object will be empty, but still
5605
+ * valid.
5606
+ * @extends {jspb.Message}
5607
+ * @constructor
5608
+ */
5609
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest = function(opt_data) {
5610
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5611
+ };
5612
+ goog.inherits(proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest, jspb.Message);
5613
+ if (goog.DEBUG && !COMPILED) {
5614
+ /**
5615
+ * @public
5616
+ * @override
5617
+ */
5618
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest';
5619
+ }
5620
+ /**
5621
+ * Generated by JsPbCodeGenerator.
5622
+ * @param {Array=} opt_data Optional initial data array, typically from a
5623
+ * server response, or constructed directly in Javascript. The array is used
5624
+ * in place and becomes part of the constructed object. It is not cloned.
5625
+ * If no data is provided, the constructed object will be empty, but still
5626
+ * valid.
5627
+ * @extends {jspb.Message}
5628
+ * @constructor
5629
+ */
5630
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest = function(opt_data) {
5631
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5632
+ };
5633
+ goog.inherits(proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest, jspb.Message);
5634
+ if (goog.DEBUG && !COMPILED) {
5635
+ /**
5636
+ * @public
5637
+ * @override
5638
+ */
5639
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.displayName = 'proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest';
5640
+ }
5641
+ /**
5642
+ * Generated by JsPbCodeGenerator.
5643
+ * @param {Array=} opt_data Optional initial data array, typically from a
5644
+ * server response, or constructed directly in Javascript. The array is used
5645
+ * in place and becomes part of the constructed object. It is not cloned.
5646
+ * If no data is provided, the constructed object will be empty, but still
5647
+ * valid.
5648
+ * @extends {jspb.Message}
5649
+ * @constructor
5650
+ */
5651
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse = function(opt_data) {
5652
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5653
+ };
5654
+ goog.inherits(proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse, jspb.Message);
5655
+ if (goog.DEBUG && !COMPILED) {
5656
+ /**
5657
+ * @public
5658
+ * @override
5659
+ */
5660
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.displayName = 'proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse';
5661
+ }
5442
5662
 
5443
5663
 
5444
5664
 
@@ -9704,6 +9924,226 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.clearStorageL
9704
9924
 
9705
9925
 
9706
9926
 
9927
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9928
+ /**
9929
+ * Creates an object representation of this proto.
9930
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9931
+ * Optional fields that are not set will be set to undefined.
9932
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9933
+ * For the list of reserved names please see:
9934
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9935
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9936
+ * JSPB instance for transitional soy proto support:
9937
+ * http://goto/soy-param-migration
9938
+ * @return {!Object}
9939
+ */
9940
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.toObject = function(opt_includeInstance) {
9941
+ return proto.zaber.motion.protobufs.CommandTooLongExceptionData.toObject(opt_includeInstance, this);
9942
+ };
9943
+
9944
+
9945
+ /**
9946
+ * Static version of the {@see toObject} method.
9947
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9948
+ * the JSPB instance for transitional soy proto support:
9949
+ * http://goto/soy-param-migration
9950
+ * @param {!proto.zaber.motion.protobufs.CommandTooLongExceptionData} msg The msg instance to transform.
9951
+ * @return {!Object}
9952
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9953
+ */
9954
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.toObject = function(includeInstance, msg) {
9955
+ var f, obj = {
9956
+ fit: jspb.Message.getFieldWithDefault(msg, 1, ""),
9957
+ remainder: jspb.Message.getFieldWithDefault(msg, 2, ""),
9958
+ packetSize: jspb.Message.getFieldWithDefault(msg, 3, 0),
9959
+ packetsMax: jspb.Message.getFieldWithDefault(msg, 4, 0)
9960
+ };
9961
+
9962
+ if (includeInstance) {
9963
+ obj.$jspbMessageInstance = msg;
9964
+ }
9965
+ return obj;
9966
+ };
9967
+ }
9968
+
9969
+
9970
+ /**
9971
+ * Deserializes binary data (in protobuf wire format).
9972
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
9973
+ * @return {!proto.zaber.motion.protobufs.CommandTooLongExceptionData}
9974
+ */
9975
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.deserializeBinary = function(bytes) {
9976
+ var reader = new jspb.BinaryReader(bytes);
9977
+ var msg = new proto.zaber.motion.protobufs.CommandTooLongExceptionData;
9978
+ return proto.zaber.motion.protobufs.CommandTooLongExceptionData.deserializeBinaryFromReader(msg, reader);
9979
+ };
9980
+
9981
+
9982
+ /**
9983
+ * Deserializes binary data (in protobuf wire format) from the
9984
+ * given reader into the given message object.
9985
+ * @param {!proto.zaber.motion.protobufs.CommandTooLongExceptionData} msg The message object to deserialize into.
9986
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9987
+ * @return {!proto.zaber.motion.protobufs.CommandTooLongExceptionData}
9988
+ */
9989
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.deserializeBinaryFromReader = function(msg, reader) {
9990
+ while (reader.nextField()) {
9991
+ if (reader.isEndGroup()) {
9992
+ break;
9993
+ }
9994
+ var field = reader.getFieldNumber();
9995
+ switch (field) {
9996
+ case 1:
9997
+ var value = /** @type {string} */ (reader.readString());
9998
+ msg.setFit(value);
9999
+ break;
10000
+ case 2:
10001
+ var value = /** @type {string} */ (reader.readString());
10002
+ msg.setRemainder(value);
10003
+ break;
10004
+ case 3:
10005
+ var value = /** @type {number} */ (reader.readInt32());
10006
+ msg.setPacketSize(value);
10007
+ break;
10008
+ case 4:
10009
+ var value = /** @type {number} */ (reader.readInt32());
10010
+ msg.setPacketsMax(value);
10011
+ break;
10012
+ default:
10013
+ reader.skipField();
10014
+ break;
10015
+ }
10016
+ }
10017
+ return msg;
10018
+ };
10019
+
10020
+
10021
+ /**
10022
+ * Serializes the message to binary data (in protobuf wire format).
10023
+ * @return {!Uint8Array}
10024
+ */
10025
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.serializeBinary = function() {
10026
+ var writer = new jspb.BinaryWriter();
10027
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.serializeBinaryToWriter(this, writer);
10028
+ return writer.getResultBuffer();
10029
+ };
10030
+
10031
+
10032
+ /**
10033
+ * Serializes the given message to binary data (in protobuf wire
10034
+ * format), writing to the given BinaryWriter.
10035
+ * @param {!proto.zaber.motion.protobufs.CommandTooLongExceptionData} message
10036
+ * @param {!jspb.BinaryWriter} writer
10037
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10038
+ */
10039
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.serializeBinaryToWriter = function(message, writer) {
10040
+ var f = undefined;
10041
+ f = message.getFit();
10042
+ if (f.length > 0) {
10043
+ writer.writeString(
10044
+ 1,
10045
+ f
10046
+ );
10047
+ }
10048
+ f = message.getRemainder();
10049
+ if (f.length > 0) {
10050
+ writer.writeString(
10051
+ 2,
10052
+ f
10053
+ );
10054
+ }
10055
+ f = message.getPacketSize();
10056
+ if (f !== 0) {
10057
+ writer.writeInt32(
10058
+ 3,
10059
+ f
10060
+ );
10061
+ }
10062
+ f = message.getPacketsMax();
10063
+ if (f !== 0) {
10064
+ writer.writeInt32(
10065
+ 4,
10066
+ f
10067
+ );
10068
+ }
10069
+ };
10070
+
10071
+
10072
+ /**
10073
+ * optional string fit = 1;
10074
+ * @return {string}
10075
+ */
10076
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.getFit = function() {
10077
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
10078
+ };
10079
+
10080
+
10081
+ /**
10082
+ * @param {string} value
10083
+ * @return {!proto.zaber.motion.protobufs.CommandTooLongExceptionData} returns this
10084
+ */
10085
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.setFit = function(value) {
10086
+ return jspb.Message.setProto3StringField(this, 1, value);
10087
+ };
10088
+
10089
+
10090
+ /**
10091
+ * optional string remainder = 2;
10092
+ * @return {string}
10093
+ */
10094
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.getRemainder = function() {
10095
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
10096
+ };
10097
+
10098
+
10099
+ /**
10100
+ * @param {string} value
10101
+ * @return {!proto.zaber.motion.protobufs.CommandTooLongExceptionData} returns this
10102
+ */
10103
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.setRemainder = function(value) {
10104
+ return jspb.Message.setProto3StringField(this, 2, value);
10105
+ };
10106
+
10107
+
10108
+ /**
10109
+ * optional int32 packet_size = 3;
10110
+ * @return {number}
10111
+ */
10112
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.getPacketSize = function() {
10113
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
10114
+ };
10115
+
10116
+
10117
+ /**
10118
+ * @param {number} value
10119
+ * @return {!proto.zaber.motion.protobufs.CommandTooLongExceptionData} returns this
10120
+ */
10121
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.setPacketSize = function(value) {
10122
+ return jspb.Message.setProto3IntField(this, 3, value);
10123
+ };
10124
+
10125
+
10126
+ /**
10127
+ * optional int32 packets_max = 4;
10128
+ * @return {number}
10129
+ */
10130
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.getPacketsMax = function() {
10131
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
10132
+ };
10133
+
10134
+
10135
+ /**
10136
+ * @param {number} value
10137
+ * @return {!proto.zaber.motion.protobufs.CommandTooLongExceptionData} returns this
10138
+ */
10139
+ proto.zaber.motion.protobufs.CommandTooLongExceptionData.prototype.setPacketsMax = function(value) {
10140
+ return jspb.Message.setProto3IntField(this, 4, value);
10141
+ };
10142
+
10143
+
10144
+
10145
+
10146
+
9707
10147
  if (jspb.Message.GENERATE_TO_OBJECT) {
9708
10148
  /**
9709
10149
  * Creates an object representation of this proto.
@@ -53523,6 +53963,1866 @@ proto.zaber.motion.protobufs.TranslatorSetFeedRateOverrideRequest.prototype.setC
53523
53963
  };
53524
53964
 
53525
53965
 
53966
+
53967
+
53968
+
53969
+ if (jspb.Message.GENERATE_TO_OBJECT) {
53970
+ /**
53971
+ * Creates an object representation of this proto.
53972
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
53973
+ * Optional fields that are not set will be set to undefined.
53974
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
53975
+ * For the list of reserved names please see:
53976
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
53977
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
53978
+ * JSPB instance for transitional soy proto support:
53979
+ * http://goto/soy-param-migration
53980
+ * @return {!Object}
53981
+ */
53982
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.toObject = function(opt_includeInstance) {
53983
+ return proto.zaber.motion.protobufs.DeviceSetStorageRequest.toObject(opt_includeInstance, this);
53984
+ };
53985
+
53986
+
53987
+ /**
53988
+ * Static version of the {@see toObject} method.
53989
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
53990
+ * the JSPB instance for transitional soy proto support:
53991
+ * http://goto/soy-param-migration
53992
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} msg The msg instance to transform.
53993
+ * @return {!Object}
53994
+ * @suppress {unusedLocalVariables} f is only used for nested messages
53995
+ */
53996
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.toObject = function(includeInstance, msg) {
53997
+ var f, obj = {
53998
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
53999
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
54000
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
54001
+ key: jspb.Message.getFieldWithDefault(msg, 4, ""),
54002
+ value: jspb.Message.getFieldWithDefault(msg, 5, ""),
54003
+ encode: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
54004
+ };
54005
+
54006
+ if (includeInstance) {
54007
+ obj.$jspbMessageInstance = msg;
54008
+ }
54009
+ return obj;
54010
+ };
54011
+ }
54012
+
54013
+
54014
+ /**
54015
+ * Deserializes binary data (in protobuf wire format).
54016
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
54017
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageRequest}
54018
+ */
54019
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.deserializeBinary = function(bytes) {
54020
+ var reader = new jspb.BinaryReader(bytes);
54021
+ var msg = new proto.zaber.motion.protobufs.DeviceSetStorageRequest;
54022
+ return proto.zaber.motion.protobufs.DeviceSetStorageRequest.deserializeBinaryFromReader(msg, reader);
54023
+ };
54024
+
54025
+
54026
+ /**
54027
+ * Deserializes binary data (in protobuf wire format) from the
54028
+ * given reader into the given message object.
54029
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} msg The message object to deserialize into.
54030
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
54031
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageRequest}
54032
+ */
54033
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.deserializeBinaryFromReader = function(msg, reader) {
54034
+ while (reader.nextField()) {
54035
+ if (reader.isEndGroup()) {
54036
+ break;
54037
+ }
54038
+ var field = reader.getFieldNumber();
54039
+ switch (field) {
54040
+ case 1:
54041
+ var value = /** @type {number} */ (reader.readInt32());
54042
+ msg.setInterfaceId(value);
54043
+ break;
54044
+ case 2:
54045
+ var value = /** @type {number} */ (reader.readInt32());
54046
+ msg.setDevice(value);
54047
+ break;
54048
+ case 3:
54049
+ var value = /** @type {number} */ (reader.readInt32());
54050
+ msg.setAxis(value);
54051
+ break;
54052
+ case 4:
54053
+ var value = /** @type {string} */ (reader.readString());
54054
+ msg.setKey(value);
54055
+ break;
54056
+ case 5:
54057
+ var value = /** @type {string} */ (reader.readString());
54058
+ msg.setValue(value);
54059
+ break;
54060
+ case 6:
54061
+ var value = /** @type {boolean} */ (reader.readBool());
54062
+ msg.setEncode(value);
54063
+ break;
54064
+ default:
54065
+ reader.skipField();
54066
+ break;
54067
+ }
54068
+ }
54069
+ return msg;
54070
+ };
54071
+
54072
+
54073
+ /**
54074
+ * Serializes the message to binary data (in protobuf wire format).
54075
+ * @return {!Uint8Array}
54076
+ */
54077
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.serializeBinary = function() {
54078
+ var writer = new jspb.BinaryWriter();
54079
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.serializeBinaryToWriter(this, writer);
54080
+ return writer.getResultBuffer();
54081
+ };
54082
+
54083
+
54084
+ /**
54085
+ * Serializes the given message to binary data (in protobuf wire
54086
+ * format), writing to the given BinaryWriter.
54087
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} message
54088
+ * @param {!jspb.BinaryWriter} writer
54089
+ * @suppress {unusedLocalVariables} f is only used for nested messages
54090
+ */
54091
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.serializeBinaryToWriter = function(message, writer) {
54092
+ var f = undefined;
54093
+ f = message.getInterfaceId();
54094
+ if (f !== 0) {
54095
+ writer.writeInt32(
54096
+ 1,
54097
+ f
54098
+ );
54099
+ }
54100
+ f = message.getDevice();
54101
+ if (f !== 0) {
54102
+ writer.writeInt32(
54103
+ 2,
54104
+ f
54105
+ );
54106
+ }
54107
+ f = message.getAxis();
54108
+ if (f !== 0) {
54109
+ writer.writeInt32(
54110
+ 3,
54111
+ f
54112
+ );
54113
+ }
54114
+ f = message.getKey();
54115
+ if (f.length > 0) {
54116
+ writer.writeString(
54117
+ 4,
54118
+ f
54119
+ );
54120
+ }
54121
+ f = message.getValue();
54122
+ if (f.length > 0) {
54123
+ writer.writeString(
54124
+ 5,
54125
+ f
54126
+ );
54127
+ }
54128
+ f = message.getEncode();
54129
+ if (f) {
54130
+ writer.writeBool(
54131
+ 6,
54132
+ f
54133
+ );
54134
+ }
54135
+ };
54136
+
54137
+
54138
+ /**
54139
+ * optional int32 interface_id = 1;
54140
+ * @return {number}
54141
+ */
54142
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.getInterfaceId = function() {
54143
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
54144
+ };
54145
+
54146
+
54147
+ /**
54148
+ * @param {number} value
54149
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} returns this
54150
+ */
54151
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.setInterfaceId = function(value) {
54152
+ return jspb.Message.setProto3IntField(this, 1, value);
54153
+ };
54154
+
54155
+
54156
+ /**
54157
+ * optional int32 device = 2;
54158
+ * @return {number}
54159
+ */
54160
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.getDevice = function() {
54161
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
54162
+ };
54163
+
54164
+
54165
+ /**
54166
+ * @param {number} value
54167
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} returns this
54168
+ */
54169
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.setDevice = function(value) {
54170
+ return jspb.Message.setProto3IntField(this, 2, value);
54171
+ };
54172
+
54173
+
54174
+ /**
54175
+ * optional int32 axis = 3;
54176
+ * @return {number}
54177
+ */
54178
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.getAxis = function() {
54179
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
54180
+ };
54181
+
54182
+
54183
+ /**
54184
+ * @param {number} value
54185
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} returns this
54186
+ */
54187
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.setAxis = function(value) {
54188
+ return jspb.Message.setProto3IntField(this, 3, value);
54189
+ };
54190
+
54191
+
54192
+ /**
54193
+ * optional string key = 4;
54194
+ * @return {string}
54195
+ */
54196
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.getKey = function() {
54197
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
54198
+ };
54199
+
54200
+
54201
+ /**
54202
+ * @param {string} value
54203
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} returns this
54204
+ */
54205
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.setKey = function(value) {
54206
+ return jspb.Message.setProto3StringField(this, 4, value);
54207
+ };
54208
+
54209
+
54210
+ /**
54211
+ * optional string value = 5;
54212
+ * @return {string}
54213
+ */
54214
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.getValue = function() {
54215
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
54216
+ };
54217
+
54218
+
54219
+ /**
54220
+ * @param {string} value
54221
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} returns this
54222
+ */
54223
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.setValue = function(value) {
54224
+ return jspb.Message.setProto3StringField(this, 5, value);
54225
+ };
54226
+
54227
+
54228
+ /**
54229
+ * optional bool encode = 6;
54230
+ * @return {boolean}
54231
+ */
54232
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.getEncode = function() {
54233
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
54234
+ };
54235
+
54236
+
54237
+ /**
54238
+ * @param {boolean} value
54239
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageRequest} returns this
54240
+ */
54241
+ proto.zaber.motion.protobufs.DeviceSetStorageRequest.prototype.setEncode = function(value) {
54242
+ return jspb.Message.setProto3BooleanField(this, 6, value);
54243
+ };
54244
+
54245
+
54246
+
54247
+
54248
+
54249
+ if (jspb.Message.GENERATE_TO_OBJECT) {
54250
+ /**
54251
+ * Creates an object representation of this proto.
54252
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
54253
+ * Optional fields that are not set will be set to undefined.
54254
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
54255
+ * For the list of reserved names please see:
54256
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
54257
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
54258
+ * JSPB instance for transitional soy proto support:
54259
+ * http://goto/soy-param-migration
54260
+ * @return {!Object}
54261
+ */
54262
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.toObject = function(opt_includeInstance) {
54263
+ return proto.zaber.motion.protobufs.DeviceGetStorageRequest.toObject(opt_includeInstance, this);
54264
+ };
54265
+
54266
+
54267
+ /**
54268
+ * Static version of the {@see toObject} method.
54269
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
54270
+ * the JSPB instance for transitional soy proto support:
54271
+ * http://goto/soy-param-migration
54272
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} msg The msg instance to transform.
54273
+ * @return {!Object}
54274
+ * @suppress {unusedLocalVariables} f is only used for nested messages
54275
+ */
54276
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.toObject = function(includeInstance, msg) {
54277
+ var f, obj = {
54278
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
54279
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
54280
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
54281
+ key: jspb.Message.getFieldWithDefault(msg, 4, ""),
54282
+ decode: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
54283
+ };
54284
+
54285
+ if (includeInstance) {
54286
+ obj.$jspbMessageInstance = msg;
54287
+ }
54288
+ return obj;
54289
+ };
54290
+ }
54291
+
54292
+
54293
+ /**
54294
+ * Deserializes binary data (in protobuf wire format).
54295
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
54296
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest}
54297
+ */
54298
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.deserializeBinary = function(bytes) {
54299
+ var reader = new jspb.BinaryReader(bytes);
54300
+ var msg = new proto.zaber.motion.protobufs.DeviceGetStorageRequest;
54301
+ return proto.zaber.motion.protobufs.DeviceGetStorageRequest.deserializeBinaryFromReader(msg, reader);
54302
+ };
54303
+
54304
+
54305
+ /**
54306
+ * Deserializes binary data (in protobuf wire format) from the
54307
+ * given reader into the given message object.
54308
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} msg The message object to deserialize into.
54309
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
54310
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest}
54311
+ */
54312
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.deserializeBinaryFromReader = function(msg, reader) {
54313
+ while (reader.nextField()) {
54314
+ if (reader.isEndGroup()) {
54315
+ break;
54316
+ }
54317
+ var field = reader.getFieldNumber();
54318
+ switch (field) {
54319
+ case 1:
54320
+ var value = /** @type {number} */ (reader.readInt32());
54321
+ msg.setInterfaceId(value);
54322
+ break;
54323
+ case 2:
54324
+ var value = /** @type {number} */ (reader.readInt32());
54325
+ msg.setDevice(value);
54326
+ break;
54327
+ case 3:
54328
+ var value = /** @type {number} */ (reader.readInt32());
54329
+ msg.setAxis(value);
54330
+ break;
54331
+ case 4:
54332
+ var value = /** @type {string} */ (reader.readString());
54333
+ msg.setKey(value);
54334
+ break;
54335
+ case 5:
54336
+ var value = /** @type {boolean} */ (reader.readBool());
54337
+ msg.setDecode(value);
54338
+ break;
54339
+ default:
54340
+ reader.skipField();
54341
+ break;
54342
+ }
54343
+ }
54344
+ return msg;
54345
+ };
54346
+
54347
+
54348
+ /**
54349
+ * Serializes the message to binary data (in protobuf wire format).
54350
+ * @return {!Uint8Array}
54351
+ */
54352
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.serializeBinary = function() {
54353
+ var writer = new jspb.BinaryWriter();
54354
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.serializeBinaryToWriter(this, writer);
54355
+ return writer.getResultBuffer();
54356
+ };
54357
+
54358
+
54359
+ /**
54360
+ * Serializes the given message to binary data (in protobuf wire
54361
+ * format), writing to the given BinaryWriter.
54362
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} message
54363
+ * @param {!jspb.BinaryWriter} writer
54364
+ * @suppress {unusedLocalVariables} f is only used for nested messages
54365
+ */
54366
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.serializeBinaryToWriter = function(message, writer) {
54367
+ var f = undefined;
54368
+ f = message.getInterfaceId();
54369
+ if (f !== 0) {
54370
+ writer.writeInt32(
54371
+ 1,
54372
+ f
54373
+ );
54374
+ }
54375
+ f = message.getDevice();
54376
+ if (f !== 0) {
54377
+ writer.writeInt32(
54378
+ 2,
54379
+ f
54380
+ );
54381
+ }
54382
+ f = message.getAxis();
54383
+ if (f !== 0) {
54384
+ writer.writeInt32(
54385
+ 3,
54386
+ f
54387
+ );
54388
+ }
54389
+ f = message.getKey();
54390
+ if (f.length > 0) {
54391
+ writer.writeString(
54392
+ 4,
54393
+ f
54394
+ );
54395
+ }
54396
+ f = message.getDecode();
54397
+ if (f) {
54398
+ writer.writeBool(
54399
+ 5,
54400
+ f
54401
+ );
54402
+ }
54403
+ };
54404
+
54405
+
54406
+ /**
54407
+ * optional int32 interface_id = 1;
54408
+ * @return {number}
54409
+ */
54410
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getInterfaceId = function() {
54411
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
54412
+ };
54413
+
54414
+
54415
+ /**
54416
+ * @param {number} value
54417
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
54418
+ */
54419
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setInterfaceId = function(value) {
54420
+ return jspb.Message.setProto3IntField(this, 1, value);
54421
+ };
54422
+
54423
+
54424
+ /**
54425
+ * optional int32 device = 2;
54426
+ * @return {number}
54427
+ */
54428
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getDevice = function() {
54429
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
54430
+ };
54431
+
54432
+
54433
+ /**
54434
+ * @param {number} value
54435
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
54436
+ */
54437
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDevice = function(value) {
54438
+ return jspb.Message.setProto3IntField(this, 2, value);
54439
+ };
54440
+
54441
+
54442
+ /**
54443
+ * optional int32 axis = 3;
54444
+ * @return {number}
54445
+ */
54446
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getAxis = function() {
54447
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
54448
+ };
54449
+
54450
+
54451
+ /**
54452
+ * @param {number} value
54453
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
54454
+ */
54455
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setAxis = function(value) {
54456
+ return jspb.Message.setProto3IntField(this, 3, value);
54457
+ };
54458
+
54459
+
54460
+ /**
54461
+ * optional string key = 4;
54462
+ * @return {string}
54463
+ */
54464
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getKey = function() {
54465
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
54466
+ };
54467
+
54468
+
54469
+ /**
54470
+ * @param {string} value
54471
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
54472
+ */
54473
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setKey = function(value) {
54474
+ return jspb.Message.setProto3StringField(this, 4, value);
54475
+ };
54476
+
54477
+
54478
+ /**
54479
+ * optional bool decode = 5;
54480
+ * @return {boolean}
54481
+ */
54482
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getDecode = function() {
54483
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
54484
+ };
54485
+
54486
+
54487
+ /**
54488
+ * @param {boolean} value
54489
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
54490
+ */
54491
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDecode = function(value) {
54492
+ return jspb.Message.setProto3BooleanField(this, 5, value);
54493
+ };
54494
+
54495
+
54496
+
54497
+
54498
+
54499
+ if (jspb.Message.GENERATE_TO_OBJECT) {
54500
+ /**
54501
+ * Creates an object representation of this proto.
54502
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
54503
+ * Optional fields that are not set will be set to undefined.
54504
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
54505
+ * For the list of reserved names please see:
54506
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
54507
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
54508
+ * JSPB instance for transitional soy proto support:
54509
+ * http://goto/soy-param-migration
54510
+ * @return {!Object}
54511
+ */
54512
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.prototype.toObject = function(opt_includeInstance) {
54513
+ return proto.zaber.motion.protobufs.DeviceGetStorageResponse.toObject(opt_includeInstance, this);
54514
+ };
54515
+
54516
+
54517
+ /**
54518
+ * Static version of the {@see toObject} method.
54519
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
54520
+ * the JSPB instance for transitional soy proto support:
54521
+ * http://goto/soy-param-migration
54522
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageResponse} msg The msg instance to transform.
54523
+ * @return {!Object}
54524
+ * @suppress {unusedLocalVariables} f is only used for nested messages
54525
+ */
54526
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.toObject = function(includeInstance, msg) {
54527
+ var f, obj = {
54528
+ value: jspb.Message.getFieldWithDefault(msg, 1, "")
54529
+ };
54530
+
54531
+ if (includeInstance) {
54532
+ obj.$jspbMessageInstance = msg;
54533
+ }
54534
+ return obj;
54535
+ };
54536
+ }
54537
+
54538
+
54539
+ /**
54540
+ * Deserializes binary data (in protobuf wire format).
54541
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
54542
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageResponse}
54543
+ */
54544
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.deserializeBinary = function(bytes) {
54545
+ var reader = new jspb.BinaryReader(bytes);
54546
+ var msg = new proto.zaber.motion.protobufs.DeviceGetStorageResponse;
54547
+ return proto.zaber.motion.protobufs.DeviceGetStorageResponse.deserializeBinaryFromReader(msg, reader);
54548
+ };
54549
+
54550
+
54551
+ /**
54552
+ * Deserializes binary data (in protobuf wire format) from the
54553
+ * given reader into the given message object.
54554
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageResponse} msg The message object to deserialize into.
54555
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
54556
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageResponse}
54557
+ */
54558
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.deserializeBinaryFromReader = function(msg, reader) {
54559
+ while (reader.nextField()) {
54560
+ if (reader.isEndGroup()) {
54561
+ break;
54562
+ }
54563
+ var field = reader.getFieldNumber();
54564
+ switch (field) {
54565
+ case 1:
54566
+ var value = /** @type {string} */ (reader.readString());
54567
+ msg.setValue(value);
54568
+ break;
54569
+ default:
54570
+ reader.skipField();
54571
+ break;
54572
+ }
54573
+ }
54574
+ return msg;
54575
+ };
54576
+
54577
+
54578
+ /**
54579
+ * Serializes the message to binary data (in protobuf wire format).
54580
+ * @return {!Uint8Array}
54581
+ */
54582
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.prototype.serializeBinary = function() {
54583
+ var writer = new jspb.BinaryWriter();
54584
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.serializeBinaryToWriter(this, writer);
54585
+ return writer.getResultBuffer();
54586
+ };
54587
+
54588
+
54589
+ /**
54590
+ * Serializes the given message to binary data (in protobuf wire
54591
+ * format), writing to the given BinaryWriter.
54592
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageResponse} message
54593
+ * @param {!jspb.BinaryWriter} writer
54594
+ * @suppress {unusedLocalVariables} f is only used for nested messages
54595
+ */
54596
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.serializeBinaryToWriter = function(message, writer) {
54597
+ var f = undefined;
54598
+ f = message.getValue();
54599
+ if (f.length > 0) {
54600
+ writer.writeString(
54601
+ 1,
54602
+ f
54603
+ );
54604
+ }
54605
+ };
54606
+
54607
+
54608
+ /**
54609
+ * optional string value = 1;
54610
+ * @return {string}
54611
+ */
54612
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.prototype.getValue = function() {
54613
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
54614
+ };
54615
+
54616
+
54617
+ /**
54618
+ * @param {string} value
54619
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageResponse} returns this
54620
+ */
54621
+ proto.zaber.motion.protobufs.DeviceGetStorageResponse.prototype.setValue = function(value) {
54622
+ return jspb.Message.setProto3StringField(this, 1, value);
54623
+ };
54624
+
54625
+
54626
+
54627
+
54628
+
54629
+ if (jspb.Message.GENERATE_TO_OBJECT) {
54630
+ /**
54631
+ * Creates an object representation of this proto.
54632
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
54633
+ * Optional fields that are not set will be set to undefined.
54634
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
54635
+ * For the list of reserved names please see:
54636
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
54637
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
54638
+ * JSPB instance for transitional soy proto support:
54639
+ * http://goto/soy-param-migration
54640
+ * @return {!Object}
54641
+ */
54642
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.toObject = function(opt_includeInstance) {
54643
+ return proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject(opt_includeInstance, this);
54644
+ };
54645
+
54646
+
54647
+ /**
54648
+ * Static version of the {@see toObject} method.
54649
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
54650
+ * the JSPB instance for transitional soy proto support:
54651
+ * http://goto/soy-param-migration
54652
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} msg The msg instance to transform.
54653
+ * @return {!Object}
54654
+ * @suppress {unusedLocalVariables} f is only used for nested messages
54655
+ */
54656
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject = function(includeInstance, msg) {
54657
+ var f, obj = {
54658
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
54659
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
54660
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
54661
+ key: jspb.Message.getFieldWithDefault(msg, 4, ""),
54662
+ value: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
54663
+ };
54664
+
54665
+ if (includeInstance) {
54666
+ obj.$jspbMessageInstance = msg;
54667
+ }
54668
+ return obj;
54669
+ };
54670
+ }
54671
+
54672
+
54673
+ /**
54674
+ * Deserializes binary data (in protobuf wire format).
54675
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
54676
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest}
54677
+ */
54678
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinary = function(bytes) {
54679
+ var reader = new jspb.BinaryReader(bytes);
54680
+ var msg = new proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest;
54681
+ return proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFromReader(msg, reader);
54682
+ };
54683
+
54684
+
54685
+ /**
54686
+ * Deserializes binary data (in protobuf wire format) from the
54687
+ * given reader into the given message object.
54688
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} msg The message object to deserialize into.
54689
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
54690
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest}
54691
+ */
54692
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFromReader = function(msg, reader) {
54693
+ while (reader.nextField()) {
54694
+ if (reader.isEndGroup()) {
54695
+ break;
54696
+ }
54697
+ var field = reader.getFieldNumber();
54698
+ switch (field) {
54699
+ case 1:
54700
+ var value = /** @type {number} */ (reader.readInt32());
54701
+ msg.setInterfaceId(value);
54702
+ break;
54703
+ case 2:
54704
+ var value = /** @type {number} */ (reader.readInt32());
54705
+ msg.setDevice(value);
54706
+ break;
54707
+ case 3:
54708
+ var value = /** @type {number} */ (reader.readInt32());
54709
+ msg.setAxis(value);
54710
+ break;
54711
+ case 4:
54712
+ var value = /** @type {string} */ (reader.readString());
54713
+ msg.setKey(value);
54714
+ break;
54715
+ case 5:
54716
+ var value = /** @type {number} */ (reader.readDouble());
54717
+ msg.setValue(value);
54718
+ break;
54719
+ default:
54720
+ reader.skipField();
54721
+ break;
54722
+ }
54723
+ }
54724
+ return msg;
54725
+ };
54726
+
54727
+
54728
+ /**
54729
+ * Serializes the message to binary data (in protobuf wire format).
54730
+ * @return {!Uint8Array}
54731
+ */
54732
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.serializeBinary = function() {
54733
+ var writer = new jspb.BinaryWriter();
54734
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWriter(this, writer);
54735
+ return writer.getResultBuffer();
54736
+ };
54737
+
54738
+
54739
+ /**
54740
+ * Serializes the given message to binary data (in protobuf wire
54741
+ * format), writing to the given BinaryWriter.
54742
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} message
54743
+ * @param {!jspb.BinaryWriter} writer
54744
+ * @suppress {unusedLocalVariables} f is only used for nested messages
54745
+ */
54746
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWriter = function(message, writer) {
54747
+ var f = undefined;
54748
+ f = message.getInterfaceId();
54749
+ if (f !== 0) {
54750
+ writer.writeInt32(
54751
+ 1,
54752
+ f
54753
+ );
54754
+ }
54755
+ f = message.getDevice();
54756
+ if (f !== 0) {
54757
+ writer.writeInt32(
54758
+ 2,
54759
+ f
54760
+ );
54761
+ }
54762
+ f = message.getAxis();
54763
+ if (f !== 0) {
54764
+ writer.writeInt32(
54765
+ 3,
54766
+ f
54767
+ );
54768
+ }
54769
+ f = message.getKey();
54770
+ if (f.length > 0) {
54771
+ writer.writeString(
54772
+ 4,
54773
+ f
54774
+ );
54775
+ }
54776
+ f = message.getValue();
54777
+ if (f !== 0.0) {
54778
+ writer.writeDouble(
54779
+ 5,
54780
+ f
54781
+ );
54782
+ }
54783
+ };
54784
+
54785
+
54786
+ /**
54787
+ * optional int32 interface_id = 1;
54788
+ * @return {number}
54789
+ */
54790
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getInterfaceId = function() {
54791
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
54792
+ };
54793
+
54794
+
54795
+ /**
54796
+ * @param {number} value
54797
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
54798
+ */
54799
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setInterfaceId = function(value) {
54800
+ return jspb.Message.setProto3IntField(this, 1, value);
54801
+ };
54802
+
54803
+
54804
+ /**
54805
+ * optional int32 device = 2;
54806
+ * @return {number}
54807
+ */
54808
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getDevice = function() {
54809
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
54810
+ };
54811
+
54812
+
54813
+ /**
54814
+ * @param {number} value
54815
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
54816
+ */
54817
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setDevice = function(value) {
54818
+ return jspb.Message.setProto3IntField(this, 2, value);
54819
+ };
54820
+
54821
+
54822
+ /**
54823
+ * optional int32 axis = 3;
54824
+ * @return {number}
54825
+ */
54826
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getAxis = function() {
54827
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
54828
+ };
54829
+
54830
+
54831
+ /**
54832
+ * @param {number} value
54833
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
54834
+ */
54835
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setAxis = function(value) {
54836
+ return jspb.Message.setProto3IntField(this, 3, value);
54837
+ };
54838
+
54839
+
54840
+ /**
54841
+ * optional string key = 4;
54842
+ * @return {string}
54843
+ */
54844
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getKey = function() {
54845
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
54846
+ };
54847
+
54848
+
54849
+ /**
54850
+ * @param {string} value
54851
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
54852
+ */
54853
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setKey = function(value) {
54854
+ return jspb.Message.setProto3StringField(this, 4, value);
54855
+ };
54856
+
54857
+
54858
+ /**
54859
+ * optional double value = 5;
54860
+ * @return {number}
54861
+ */
54862
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getValue = function() {
54863
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
54864
+ };
54865
+
54866
+
54867
+ /**
54868
+ * @param {number} value
54869
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
54870
+ */
54871
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setValue = function(value) {
54872
+ return jspb.Message.setProto3FloatField(this, 5, value);
54873
+ };
54874
+
54875
+
54876
+
54877
+
54878
+
54879
+ if (jspb.Message.GENERATE_TO_OBJECT) {
54880
+ /**
54881
+ * Creates an object representation of this proto.
54882
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
54883
+ * Optional fields that are not set will be set to undefined.
54884
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
54885
+ * For the list of reserved names please see:
54886
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
54887
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
54888
+ * JSPB instance for transitional soy proto support:
54889
+ * http://goto/soy-param-migration
54890
+ * @return {!Object}
54891
+ */
54892
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.toObject = function(opt_includeInstance) {
54893
+ return proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.toObject(opt_includeInstance, this);
54894
+ };
54895
+
54896
+
54897
+ /**
54898
+ * Static version of the {@see toObject} method.
54899
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
54900
+ * the JSPB instance for transitional soy proto support:
54901
+ * http://goto/soy-param-migration
54902
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} msg The msg instance to transform.
54903
+ * @return {!Object}
54904
+ * @suppress {unusedLocalVariables} f is only used for nested messages
54905
+ */
54906
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.toObject = function(includeInstance, msg) {
54907
+ var f, obj = {
54908
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
54909
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
54910
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
54911
+ key: jspb.Message.getFieldWithDefault(msg, 4, "")
54912
+ };
54913
+
54914
+ if (includeInstance) {
54915
+ obj.$jspbMessageInstance = msg;
54916
+ }
54917
+ return obj;
54918
+ };
54919
+ }
54920
+
54921
+
54922
+ /**
54923
+ * Deserializes binary data (in protobuf wire format).
54924
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
54925
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest}
54926
+ */
54927
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.deserializeBinary = function(bytes) {
54928
+ var reader = new jspb.BinaryReader(bytes);
54929
+ var msg = new proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest;
54930
+ return proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.deserializeBinaryFromReader(msg, reader);
54931
+ };
54932
+
54933
+
54934
+ /**
54935
+ * Deserializes binary data (in protobuf wire format) from the
54936
+ * given reader into the given message object.
54937
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} msg The message object to deserialize into.
54938
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
54939
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest}
54940
+ */
54941
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.deserializeBinaryFromReader = function(msg, reader) {
54942
+ while (reader.nextField()) {
54943
+ if (reader.isEndGroup()) {
54944
+ break;
54945
+ }
54946
+ var field = reader.getFieldNumber();
54947
+ switch (field) {
54948
+ case 1:
54949
+ var value = /** @type {number} */ (reader.readInt32());
54950
+ msg.setInterfaceId(value);
54951
+ break;
54952
+ case 2:
54953
+ var value = /** @type {number} */ (reader.readInt32());
54954
+ msg.setDevice(value);
54955
+ break;
54956
+ case 3:
54957
+ var value = /** @type {number} */ (reader.readInt32());
54958
+ msg.setAxis(value);
54959
+ break;
54960
+ case 4:
54961
+ var value = /** @type {string} */ (reader.readString());
54962
+ msg.setKey(value);
54963
+ break;
54964
+ default:
54965
+ reader.skipField();
54966
+ break;
54967
+ }
54968
+ }
54969
+ return msg;
54970
+ };
54971
+
54972
+
54973
+ /**
54974
+ * Serializes the message to binary data (in protobuf wire format).
54975
+ * @return {!Uint8Array}
54976
+ */
54977
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.serializeBinary = function() {
54978
+ var writer = new jspb.BinaryWriter();
54979
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.serializeBinaryToWriter(this, writer);
54980
+ return writer.getResultBuffer();
54981
+ };
54982
+
54983
+
54984
+ /**
54985
+ * Serializes the given message to binary data (in protobuf wire
54986
+ * format), writing to the given BinaryWriter.
54987
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} message
54988
+ * @param {!jspb.BinaryWriter} writer
54989
+ * @suppress {unusedLocalVariables} f is only used for nested messages
54990
+ */
54991
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.serializeBinaryToWriter = function(message, writer) {
54992
+ var f = undefined;
54993
+ f = message.getInterfaceId();
54994
+ if (f !== 0) {
54995
+ writer.writeInt32(
54996
+ 1,
54997
+ f
54998
+ );
54999
+ }
55000
+ f = message.getDevice();
55001
+ if (f !== 0) {
55002
+ writer.writeInt32(
55003
+ 2,
55004
+ f
55005
+ );
55006
+ }
55007
+ f = message.getAxis();
55008
+ if (f !== 0) {
55009
+ writer.writeInt32(
55010
+ 3,
55011
+ f
55012
+ );
55013
+ }
55014
+ f = message.getKey();
55015
+ if (f.length > 0) {
55016
+ writer.writeString(
55017
+ 4,
55018
+ f
55019
+ );
55020
+ }
55021
+ };
55022
+
55023
+
55024
+ /**
55025
+ * optional int32 interface_id = 1;
55026
+ * @return {number}
55027
+ */
55028
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.getInterfaceId = function() {
55029
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
55030
+ };
55031
+
55032
+
55033
+ /**
55034
+ * @param {number} value
55035
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} returns this
55036
+ */
55037
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setInterfaceId = function(value) {
55038
+ return jspb.Message.setProto3IntField(this, 1, value);
55039
+ };
55040
+
55041
+
55042
+ /**
55043
+ * optional int32 device = 2;
55044
+ * @return {number}
55045
+ */
55046
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.getDevice = function() {
55047
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
55048
+ };
55049
+
55050
+
55051
+ /**
55052
+ * @param {number} value
55053
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} returns this
55054
+ */
55055
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setDevice = function(value) {
55056
+ return jspb.Message.setProto3IntField(this, 2, value);
55057
+ };
55058
+
55059
+
55060
+ /**
55061
+ * optional int32 axis = 3;
55062
+ * @return {number}
55063
+ */
55064
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.getAxis = function() {
55065
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
55066
+ };
55067
+
55068
+
55069
+ /**
55070
+ * @param {number} value
55071
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} returns this
55072
+ */
55073
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setAxis = function(value) {
55074
+ return jspb.Message.setProto3IntField(this, 3, value);
55075
+ };
55076
+
55077
+
55078
+ /**
55079
+ * optional string key = 4;
55080
+ * @return {string}
55081
+ */
55082
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.getKey = function() {
55083
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
55084
+ };
55085
+
55086
+
55087
+ /**
55088
+ * @param {string} value
55089
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} returns this
55090
+ */
55091
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setKey = function(value) {
55092
+ return jspb.Message.setProto3StringField(this, 4, value);
55093
+ };
55094
+
55095
+
55096
+
55097
+
55098
+
55099
+ if (jspb.Message.GENERATE_TO_OBJECT) {
55100
+ /**
55101
+ * Creates an object representation of this proto.
55102
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
55103
+ * Optional fields that are not set will be set to undefined.
55104
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55105
+ * For the list of reserved names please see:
55106
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
55107
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
55108
+ * JSPB instance for transitional soy proto support:
55109
+ * http://goto/soy-param-migration
55110
+ * @return {!Object}
55111
+ */
55112
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.prototype.toObject = function(opt_includeInstance) {
55113
+ return proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.toObject(opt_includeInstance, this);
55114
+ };
55115
+
55116
+
55117
+ /**
55118
+ * Static version of the {@see toObject} method.
55119
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
55120
+ * the JSPB instance for transitional soy proto support:
55121
+ * http://goto/soy-param-migration
55122
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse} msg The msg instance to transform.
55123
+ * @return {!Object}
55124
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55125
+ */
55126
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.toObject = function(includeInstance, msg) {
55127
+ var f, obj = {
55128
+ value: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0)
55129
+ };
55130
+
55131
+ if (includeInstance) {
55132
+ obj.$jspbMessageInstance = msg;
55133
+ }
55134
+ return obj;
55135
+ };
55136
+ }
55137
+
55138
+
55139
+ /**
55140
+ * Deserializes binary data (in protobuf wire format).
55141
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
55142
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse}
55143
+ */
55144
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.deserializeBinary = function(bytes) {
55145
+ var reader = new jspb.BinaryReader(bytes);
55146
+ var msg = new proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse;
55147
+ return proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.deserializeBinaryFromReader(msg, reader);
55148
+ };
55149
+
55150
+
55151
+ /**
55152
+ * Deserializes binary data (in protobuf wire format) from the
55153
+ * given reader into the given message object.
55154
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse} msg The message object to deserialize into.
55155
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
55156
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse}
55157
+ */
55158
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.deserializeBinaryFromReader = function(msg, reader) {
55159
+ while (reader.nextField()) {
55160
+ if (reader.isEndGroup()) {
55161
+ break;
55162
+ }
55163
+ var field = reader.getFieldNumber();
55164
+ switch (field) {
55165
+ case 1:
55166
+ var value = /** @type {number} */ (reader.readDouble());
55167
+ msg.setValue(value);
55168
+ break;
55169
+ default:
55170
+ reader.skipField();
55171
+ break;
55172
+ }
55173
+ }
55174
+ return msg;
55175
+ };
55176
+
55177
+
55178
+ /**
55179
+ * Serializes the message to binary data (in protobuf wire format).
55180
+ * @return {!Uint8Array}
55181
+ */
55182
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.prototype.serializeBinary = function() {
55183
+ var writer = new jspb.BinaryWriter();
55184
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.serializeBinaryToWriter(this, writer);
55185
+ return writer.getResultBuffer();
55186
+ };
55187
+
55188
+
55189
+ /**
55190
+ * Serializes the given message to binary data (in protobuf wire
55191
+ * format), writing to the given BinaryWriter.
55192
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse} message
55193
+ * @param {!jspb.BinaryWriter} writer
55194
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55195
+ */
55196
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.serializeBinaryToWriter = function(message, writer) {
55197
+ var f = undefined;
55198
+ f = message.getValue();
55199
+ if (f !== 0.0) {
55200
+ writer.writeDouble(
55201
+ 1,
55202
+ f
55203
+ );
55204
+ }
55205
+ };
55206
+
55207
+
55208
+ /**
55209
+ * optional double value = 1;
55210
+ * @return {number}
55211
+ */
55212
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.prototype.getValue = function() {
55213
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
55214
+ };
55215
+
55216
+
55217
+ /**
55218
+ * @param {number} value
55219
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse} returns this
55220
+ */
55221
+ proto.zaber.motion.protobufs.DeviceGetStorageNumberResponse.prototype.setValue = function(value) {
55222
+ return jspb.Message.setProto3FloatField(this, 1, value);
55223
+ };
55224
+
55225
+
55226
+
55227
+
55228
+
55229
+ if (jspb.Message.GENERATE_TO_OBJECT) {
55230
+ /**
55231
+ * Creates an object representation of this proto.
55232
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
55233
+ * Optional fields that are not set will be set to undefined.
55234
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55235
+ * For the list of reserved names please see:
55236
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
55237
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
55238
+ * JSPB instance for transitional soy proto support:
55239
+ * http://goto/soy-param-migration
55240
+ * @return {!Object}
55241
+ */
55242
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.toObject = function(opt_includeInstance) {
55243
+ return proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject(opt_includeInstance, this);
55244
+ };
55245
+
55246
+
55247
+ /**
55248
+ * Static version of the {@see toObject} method.
55249
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
55250
+ * the JSPB instance for transitional soy proto support:
55251
+ * http://goto/soy-param-migration
55252
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} msg The msg instance to transform.
55253
+ * @return {!Object}
55254
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55255
+ */
55256
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject = function(includeInstance, msg) {
55257
+ var f, obj = {
55258
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
55259
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
55260
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
55261
+ key: jspb.Message.getFieldWithDefault(msg, 4, ""),
55262
+ value: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
55263
+ };
55264
+
55265
+ if (includeInstance) {
55266
+ obj.$jspbMessageInstance = msg;
55267
+ }
55268
+ return obj;
55269
+ };
55270
+ }
55271
+
55272
+
55273
+ /**
55274
+ * Deserializes binary data (in protobuf wire format).
55275
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
55276
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest}
55277
+ */
55278
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinary = function(bytes) {
55279
+ var reader = new jspb.BinaryReader(bytes);
55280
+ var msg = new proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest;
55281
+ return proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromReader(msg, reader);
55282
+ };
55283
+
55284
+
55285
+ /**
55286
+ * Deserializes binary data (in protobuf wire format) from the
55287
+ * given reader into the given message object.
55288
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} msg The message object to deserialize into.
55289
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
55290
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest}
55291
+ */
55292
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromReader = function(msg, reader) {
55293
+ while (reader.nextField()) {
55294
+ if (reader.isEndGroup()) {
55295
+ break;
55296
+ }
55297
+ var field = reader.getFieldNumber();
55298
+ switch (field) {
55299
+ case 1:
55300
+ var value = /** @type {number} */ (reader.readInt32());
55301
+ msg.setInterfaceId(value);
55302
+ break;
55303
+ case 2:
55304
+ var value = /** @type {number} */ (reader.readInt32());
55305
+ msg.setDevice(value);
55306
+ break;
55307
+ case 3:
55308
+ var value = /** @type {number} */ (reader.readInt32());
55309
+ msg.setAxis(value);
55310
+ break;
55311
+ case 4:
55312
+ var value = /** @type {string} */ (reader.readString());
55313
+ msg.setKey(value);
55314
+ break;
55315
+ case 5:
55316
+ var value = /** @type {boolean} */ (reader.readBool());
55317
+ msg.setValue(value);
55318
+ break;
55319
+ default:
55320
+ reader.skipField();
55321
+ break;
55322
+ }
55323
+ }
55324
+ return msg;
55325
+ };
55326
+
55327
+
55328
+ /**
55329
+ * Serializes the message to binary data (in protobuf wire format).
55330
+ * @return {!Uint8Array}
55331
+ */
55332
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.serializeBinary = function() {
55333
+ var writer = new jspb.BinaryWriter();
55334
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter(this, writer);
55335
+ return writer.getResultBuffer();
55336
+ };
55337
+
55338
+
55339
+ /**
55340
+ * Serializes the given message to binary data (in protobuf wire
55341
+ * format), writing to the given BinaryWriter.
55342
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} message
55343
+ * @param {!jspb.BinaryWriter} writer
55344
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55345
+ */
55346
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter = function(message, writer) {
55347
+ var f = undefined;
55348
+ f = message.getInterfaceId();
55349
+ if (f !== 0) {
55350
+ writer.writeInt32(
55351
+ 1,
55352
+ f
55353
+ );
55354
+ }
55355
+ f = message.getDevice();
55356
+ if (f !== 0) {
55357
+ writer.writeInt32(
55358
+ 2,
55359
+ f
55360
+ );
55361
+ }
55362
+ f = message.getAxis();
55363
+ if (f !== 0) {
55364
+ writer.writeInt32(
55365
+ 3,
55366
+ f
55367
+ );
55368
+ }
55369
+ f = message.getKey();
55370
+ if (f.length > 0) {
55371
+ writer.writeString(
55372
+ 4,
55373
+ f
55374
+ );
55375
+ }
55376
+ f = message.getValue();
55377
+ if (f) {
55378
+ writer.writeBool(
55379
+ 5,
55380
+ f
55381
+ );
55382
+ }
55383
+ };
55384
+
55385
+
55386
+ /**
55387
+ * optional int32 interface_id = 1;
55388
+ * @return {number}
55389
+ */
55390
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getInterfaceId = function() {
55391
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
55392
+ };
55393
+
55394
+
55395
+ /**
55396
+ * @param {number} value
55397
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
55398
+ */
55399
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setInterfaceId = function(value) {
55400
+ return jspb.Message.setProto3IntField(this, 1, value);
55401
+ };
55402
+
55403
+
55404
+ /**
55405
+ * optional int32 device = 2;
55406
+ * @return {number}
55407
+ */
55408
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getDevice = function() {
55409
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
55410
+ };
55411
+
55412
+
55413
+ /**
55414
+ * @param {number} value
55415
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
55416
+ */
55417
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setDevice = function(value) {
55418
+ return jspb.Message.setProto3IntField(this, 2, value);
55419
+ };
55420
+
55421
+
55422
+ /**
55423
+ * optional int32 axis = 3;
55424
+ * @return {number}
55425
+ */
55426
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getAxis = function() {
55427
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
55428
+ };
55429
+
55430
+
55431
+ /**
55432
+ * @param {number} value
55433
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
55434
+ */
55435
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setAxis = function(value) {
55436
+ return jspb.Message.setProto3IntField(this, 3, value);
55437
+ };
55438
+
55439
+
55440
+ /**
55441
+ * optional string key = 4;
55442
+ * @return {string}
55443
+ */
55444
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getKey = function() {
55445
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
55446
+ };
55447
+
55448
+
55449
+ /**
55450
+ * @param {string} value
55451
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
55452
+ */
55453
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setKey = function(value) {
55454
+ return jspb.Message.setProto3StringField(this, 4, value);
55455
+ };
55456
+
55457
+
55458
+ /**
55459
+ * optional bool value = 5;
55460
+ * @return {boolean}
55461
+ */
55462
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getValue = function() {
55463
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
55464
+ };
55465
+
55466
+
55467
+ /**
55468
+ * @param {boolean} value
55469
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
55470
+ */
55471
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setValue = function(value) {
55472
+ return jspb.Message.setProto3BooleanField(this, 5, value);
55473
+ };
55474
+
55475
+
55476
+
55477
+
55478
+
55479
+ if (jspb.Message.GENERATE_TO_OBJECT) {
55480
+ /**
55481
+ * Creates an object representation of this proto.
55482
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
55483
+ * Optional fields that are not set will be set to undefined.
55484
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55485
+ * For the list of reserved names please see:
55486
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
55487
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
55488
+ * JSPB instance for transitional soy proto support:
55489
+ * http://goto/soy-param-migration
55490
+ * @return {!Object}
55491
+ */
55492
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.toObject = function(opt_includeInstance) {
55493
+ return proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.toObject(opt_includeInstance, this);
55494
+ };
55495
+
55496
+
55497
+ /**
55498
+ * Static version of the {@see toObject} method.
55499
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
55500
+ * the JSPB instance for transitional soy proto support:
55501
+ * http://goto/soy-param-migration
55502
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} msg The msg instance to transform.
55503
+ * @return {!Object}
55504
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55505
+ */
55506
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.toObject = function(includeInstance, msg) {
55507
+ var f, obj = {
55508
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
55509
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
55510
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
55511
+ key: jspb.Message.getFieldWithDefault(msg, 4, "")
55512
+ };
55513
+
55514
+ if (includeInstance) {
55515
+ obj.$jspbMessageInstance = msg;
55516
+ }
55517
+ return obj;
55518
+ };
55519
+ }
55520
+
55521
+
55522
+ /**
55523
+ * Deserializes binary data (in protobuf wire format).
55524
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
55525
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest}
55526
+ */
55527
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinary = function(bytes) {
55528
+ var reader = new jspb.BinaryReader(bytes);
55529
+ var msg = new proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest;
55530
+ return proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinaryFromReader(msg, reader);
55531
+ };
55532
+
55533
+
55534
+ /**
55535
+ * Deserializes binary data (in protobuf wire format) from the
55536
+ * given reader into the given message object.
55537
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} msg The message object to deserialize into.
55538
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
55539
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest}
55540
+ */
55541
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinaryFromReader = function(msg, reader) {
55542
+ while (reader.nextField()) {
55543
+ if (reader.isEndGroup()) {
55544
+ break;
55545
+ }
55546
+ var field = reader.getFieldNumber();
55547
+ switch (field) {
55548
+ case 1:
55549
+ var value = /** @type {number} */ (reader.readInt32());
55550
+ msg.setInterfaceId(value);
55551
+ break;
55552
+ case 2:
55553
+ var value = /** @type {number} */ (reader.readInt32());
55554
+ msg.setDevice(value);
55555
+ break;
55556
+ case 3:
55557
+ var value = /** @type {number} */ (reader.readInt32());
55558
+ msg.setAxis(value);
55559
+ break;
55560
+ case 4:
55561
+ var value = /** @type {string} */ (reader.readString());
55562
+ msg.setKey(value);
55563
+ break;
55564
+ default:
55565
+ reader.skipField();
55566
+ break;
55567
+ }
55568
+ }
55569
+ return msg;
55570
+ };
55571
+
55572
+
55573
+ /**
55574
+ * Serializes the message to binary data (in protobuf wire format).
55575
+ * @return {!Uint8Array}
55576
+ */
55577
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.serializeBinary = function() {
55578
+ var writer = new jspb.BinaryWriter();
55579
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.serializeBinaryToWriter(this, writer);
55580
+ return writer.getResultBuffer();
55581
+ };
55582
+
55583
+
55584
+ /**
55585
+ * Serializes the given message to binary data (in protobuf wire
55586
+ * format), writing to the given BinaryWriter.
55587
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} message
55588
+ * @param {!jspb.BinaryWriter} writer
55589
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55590
+ */
55591
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.serializeBinaryToWriter = function(message, writer) {
55592
+ var f = undefined;
55593
+ f = message.getInterfaceId();
55594
+ if (f !== 0) {
55595
+ writer.writeInt32(
55596
+ 1,
55597
+ f
55598
+ );
55599
+ }
55600
+ f = message.getDevice();
55601
+ if (f !== 0) {
55602
+ writer.writeInt32(
55603
+ 2,
55604
+ f
55605
+ );
55606
+ }
55607
+ f = message.getAxis();
55608
+ if (f !== 0) {
55609
+ writer.writeInt32(
55610
+ 3,
55611
+ f
55612
+ );
55613
+ }
55614
+ f = message.getKey();
55615
+ if (f.length > 0) {
55616
+ writer.writeString(
55617
+ 4,
55618
+ f
55619
+ );
55620
+ }
55621
+ };
55622
+
55623
+
55624
+ /**
55625
+ * optional int32 interface_id = 1;
55626
+ * @return {number}
55627
+ */
55628
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.getInterfaceId = function() {
55629
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
55630
+ };
55631
+
55632
+
55633
+ /**
55634
+ * @param {number} value
55635
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} returns this
55636
+ */
55637
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.setInterfaceId = function(value) {
55638
+ return jspb.Message.setProto3IntField(this, 1, value);
55639
+ };
55640
+
55641
+
55642
+ /**
55643
+ * optional int32 device = 2;
55644
+ * @return {number}
55645
+ */
55646
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.getDevice = function() {
55647
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
55648
+ };
55649
+
55650
+
55651
+ /**
55652
+ * @param {number} value
55653
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} returns this
55654
+ */
55655
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.setDevice = function(value) {
55656
+ return jspb.Message.setProto3IntField(this, 2, value);
55657
+ };
55658
+
55659
+
55660
+ /**
55661
+ * optional int32 axis = 3;
55662
+ * @return {number}
55663
+ */
55664
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.getAxis = function() {
55665
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
55666
+ };
55667
+
55668
+
55669
+ /**
55670
+ * @param {number} value
55671
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} returns this
55672
+ */
55673
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.setAxis = function(value) {
55674
+ return jspb.Message.setProto3IntField(this, 3, value);
55675
+ };
55676
+
55677
+
55678
+ /**
55679
+ * optional string key = 4;
55680
+ * @return {string}
55681
+ */
55682
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.getKey = function() {
55683
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
55684
+ };
55685
+
55686
+
55687
+ /**
55688
+ * @param {string} value
55689
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} returns this
55690
+ */
55691
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.setKey = function(value) {
55692
+ return jspb.Message.setProto3StringField(this, 4, value);
55693
+ };
55694
+
55695
+
55696
+
55697
+
55698
+
55699
+ if (jspb.Message.GENERATE_TO_OBJECT) {
55700
+ /**
55701
+ * Creates an object representation of this proto.
55702
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
55703
+ * Optional fields that are not set will be set to undefined.
55704
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
55705
+ * For the list of reserved names please see:
55706
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
55707
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
55708
+ * JSPB instance for transitional soy proto support:
55709
+ * http://goto/soy-param-migration
55710
+ * @return {!Object}
55711
+ */
55712
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.prototype.toObject = function(opt_includeInstance) {
55713
+ return proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.toObject(opt_includeInstance, this);
55714
+ };
55715
+
55716
+
55717
+ /**
55718
+ * Static version of the {@see toObject} method.
55719
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
55720
+ * the JSPB instance for transitional soy proto support:
55721
+ * http://goto/soy-param-migration
55722
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse} msg The msg instance to transform.
55723
+ * @return {!Object}
55724
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55725
+ */
55726
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.toObject = function(includeInstance, msg) {
55727
+ var f, obj = {
55728
+ value: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
55729
+ };
55730
+
55731
+ if (includeInstance) {
55732
+ obj.$jspbMessageInstance = msg;
55733
+ }
55734
+ return obj;
55735
+ };
55736
+ }
55737
+
55738
+
55739
+ /**
55740
+ * Deserializes binary data (in protobuf wire format).
55741
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
55742
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse}
55743
+ */
55744
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.deserializeBinary = function(bytes) {
55745
+ var reader = new jspb.BinaryReader(bytes);
55746
+ var msg = new proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse;
55747
+ return proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.deserializeBinaryFromReader(msg, reader);
55748
+ };
55749
+
55750
+
55751
+ /**
55752
+ * Deserializes binary data (in protobuf wire format) from the
55753
+ * given reader into the given message object.
55754
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse} msg The message object to deserialize into.
55755
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
55756
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse}
55757
+ */
55758
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.deserializeBinaryFromReader = function(msg, reader) {
55759
+ while (reader.nextField()) {
55760
+ if (reader.isEndGroup()) {
55761
+ break;
55762
+ }
55763
+ var field = reader.getFieldNumber();
55764
+ switch (field) {
55765
+ case 1:
55766
+ var value = /** @type {boolean} */ (reader.readBool());
55767
+ msg.setValue(value);
55768
+ break;
55769
+ default:
55770
+ reader.skipField();
55771
+ break;
55772
+ }
55773
+ }
55774
+ return msg;
55775
+ };
55776
+
55777
+
55778
+ /**
55779
+ * Serializes the message to binary data (in protobuf wire format).
55780
+ * @return {!Uint8Array}
55781
+ */
55782
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.prototype.serializeBinary = function() {
55783
+ var writer = new jspb.BinaryWriter();
55784
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.serializeBinaryToWriter(this, writer);
55785
+ return writer.getResultBuffer();
55786
+ };
55787
+
55788
+
55789
+ /**
55790
+ * Serializes the given message to binary data (in protobuf wire
55791
+ * format), writing to the given BinaryWriter.
55792
+ * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse} message
55793
+ * @param {!jspb.BinaryWriter} writer
55794
+ * @suppress {unusedLocalVariables} f is only used for nested messages
55795
+ */
55796
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.serializeBinaryToWriter = function(message, writer) {
55797
+ var f = undefined;
55798
+ f = message.getValue();
55799
+ if (f) {
55800
+ writer.writeBool(
55801
+ 1,
55802
+ f
55803
+ );
55804
+ }
55805
+ };
55806
+
55807
+
55808
+ /**
55809
+ * optional bool value = 1;
55810
+ * @return {boolean}
55811
+ */
55812
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.prototype.getValue = function() {
55813
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
55814
+ };
55815
+
55816
+
55817
+ /**
55818
+ * @param {boolean} value
55819
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse} returns this
55820
+ */
55821
+ proto.zaber.motion.protobufs.DeviceGetStorageBoolResponse.prototype.setValue = function(value) {
55822
+ return jspb.Message.setProto3BooleanField(this, 1, value);
55823
+ };
55824
+
55825
+
53526
55826
  /**
53527
55827
  * @enum {number}
53528
55828
  */
@@ -53577,7 +55877,9 @@ proto.zaber.motion.protobufs.Errors = {
53577
55877
  SET_DEVICE_STATE_FAILED: 40,
53578
55878
  G_CODE_SYNTAX: 41,
53579
55879
  G_CODE_EXECUTION: 42,
53580
- INVALID_OPERATION: 43
55880
+ INVALID_OPERATION: 43,
55881
+ COMMAND_TOO_LONG: 44,
55882
+ NO_VALUE_FOR_KEY: 45
53581
55883
  };
53582
55884
 
53583
55885
  /**