@zaber/motion 2.13.2 → 2.14.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 (76) hide show
  1. package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
  2. package/dist/lib/ascii/all_axes.d.ts +5 -0
  3. package/dist/lib/ascii/all_axes.js +12 -0
  4. package/dist/lib/ascii/all_axes.js.map +1 -1
  5. package/dist/lib/ascii/axis.d.ts +5 -0
  6. package/dist/lib/ascii/axis.js +15 -3
  7. package/dist/lib/ascii/axis.js.map +1 -1
  8. package/dist/lib/ascii/axis_settings.d.ts +7 -0
  9. package/dist/lib/ascii/axis_settings.js +14 -0
  10. package/dist/lib/ascii/axis_settings.js.map +1 -1
  11. package/dist/lib/ascii/connection.js +1 -1
  12. package/dist/lib/ascii/connection.js.map +1 -1
  13. package/dist/lib/ascii/conversion_factor.d.ts +21 -0
  14. package/dist/lib/ascii/conversion_factor.js +46 -0
  15. package/dist/lib/ascii/conversion_factor.js.map +1 -0
  16. package/dist/lib/ascii/device.js +3 -3
  17. package/dist/lib/ascii/device.js.map +1 -1
  18. package/dist/lib/ascii/index.d.ts +2 -1
  19. package/dist/lib/ascii/index.js +5 -3
  20. package/dist/lib/ascii/index.js.map +1 -1
  21. package/dist/lib/ascii/lockstep.js +2 -2
  22. package/dist/lib/ascii/lockstep.js.map +1 -1
  23. package/dist/lib/ascii/oscilloscope_data.js +2 -2
  24. package/dist/lib/ascii/oscilloscope_data.js.map +1 -1
  25. package/dist/lib/ascii/servo_tuner.d.ts +2 -2
  26. package/dist/lib/ascii/servo_tuner.js +4 -4
  27. package/dist/lib/ascii/servo_tuner.js.map +1 -1
  28. package/dist/lib/ascii/setting_constants.d.ts +4 -0
  29. package/dist/lib/ascii/setting_constants.js +4 -0
  30. package/dist/lib/ascii/setting_constants.js.map +1 -1
  31. package/dist/lib/ascii/{simple_tuning_param.d.ts → simple_tuning_param_definition.d.ts} +3 -3
  32. package/dist/lib/ascii/simple_tuning_param_definition.js +20 -0
  33. package/dist/lib/ascii/simple_tuning_param_definition.js.map +1 -0
  34. package/dist/lib/ascii/storage.d.ts +10 -0
  35. package/dist/lib/ascii/storage.js +27 -4
  36. package/dist/lib/ascii/storage.js.map +1 -1
  37. package/dist/lib/ascii/stream.js +1 -1
  38. package/dist/lib/ascii/stream.js.map +1 -1
  39. package/dist/lib/ascii_ns.d.ts +4 -2
  40. package/dist/lib/ascii_ns.js +2 -1
  41. package/dist/lib/ascii_ns.js.map +1 -1
  42. package/dist/lib/binary/binary_settings.d.ts +2 -1
  43. package/dist/lib/binary/binary_settings.js +2 -1
  44. package/dist/lib/binary/binary_settings.js.map +1 -1
  45. package/dist/lib/binary/command_code.d.ts +2 -1
  46. package/dist/lib/binary/command_code.js +1 -0
  47. package/dist/lib/binary/command_code.js.map +1 -1
  48. package/dist/lib/binary/connection.js +1 -1
  49. package/dist/lib/binary/connection.js.map +1 -1
  50. package/dist/lib/binary/device.js +2 -2
  51. package/dist/lib/binary/device.js.map +1 -1
  52. package/dist/lib/binary/reply_code.d.ts +1 -0
  53. package/dist/lib/binary/reply_code.js +1 -0
  54. package/dist/lib/binary/reply_code.js.map +1 -1
  55. package/dist/lib/can_set_state_axis_response.d.ts +1 -1
  56. package/dist/lib/can_set_state_axis_response.js.map +1 -1
  57. package/dist/lib/can_set_state_device_response.d.ts +2 -2
  58. package/dist/lib/can_set_state_device_response.js +1 -1
  59. package/dist/lib/can_set_state_device_response.js.map +1 -1
  60. package/dist/lib/exceptions/device_db_failed_exception.d.ts +8 -1
  61. package/dist/lib/exceptions/device_db_failed_exception.js +16 -1
  62. package/dist/lib/exceptions/device_db_failed_exception.js.map +1 -1
  63. package/dist/lib/exceptions/device_db_failed_exception_data.d.ts +12 -0
  64. package/dist/lib/exceptions/device_db_failed_exception_data.js +17 -0
  65. package/dist/lib/exceptions/device_db_failed_exception_data.js.map +1 -0
  66. package/dist/lib/exceptions/index.d.ts +1 -0
  67. package/dist/lib/exceptions/index.js +4 -2
  68. package/dist/lib/exceptions/index.js.map +1 -1
  69. package/dist/lib/gateway/wasm-exec.js +58 -53
  70. package/dist/lib/gateway/wasm-exec.js.map +1 -1
  71. package/dist/lib/protobufs/main_pb.d.ts +102 -158
  72. package/dist/lib/protobufs/main_pb.js +738 -1179
  73. package/dist/lib/protobufs/main_pb.js.map +1 -1
  74. package/package.json +1 -1
  75. package/dist/lib/ascii/simple_tuning_param.js +0 -20
  76. package/dist/lib/ascii/simple_tuning_param.js.map +0 -1
@@ -22,7 +22,6 @@ goog.exportSymbol('zaber.motion.protobufs.AxisIdentity.AxisType', null, proto);
22
22
  goog.exportSymbol('zaber.motion.protobufs.BinaryCommandFailedExceptionData', null, proto);
23
23
  goog.exportSymbol('zaber.motion.protobufs.BinaryDeviceDetectRequest', null, proto);
24
24
  goog.exportSymbol('zaber.motion.protobufs.BinaryDeviceDetectResponse', null, proto);
25
- goog.exportSymbol('zaber.motion.protobufs.BinaryDeviceGetIdentityResponse', null, proto);
26
25
  goog.exportSymbol('zaber.motion.protobufs.BinaryDeviceGetSettingRequest', null, proto);
27
26
  goog.exportSymbol('zaber.motion.protobufs.BinaryDeviceHomeRequest', null, proto);
28
27
  goog.exportSymbol('zaber.motion.protobufs.BinaryDeviceIdentity', null, proto);
@@ -41,12 +40,14 @@ goog.exportSymbol('zaber.motion.protobufs.CanSetStateDeviceResponse', null, prot
41
40
  goog.exportSymbol('zaber.motion.protobufs.CanSetStateRequest', null, proto);
42
41
  goog.exportSymbol('zaber.motion.protobufs.CommandFailedExceptionData', null, proto);
43
42
  goog.exportSymbol('zaber.motion.protobufs.CommandTooLongExceptionData', null, proto);
43
+ goog.exportSymbol('zaber.motion.protobufs.ConversionFactor', null, proto);
44
44
  goog.exportSymbol('zaber.motion.protobufs.CustomInterfaceCloseRequest', null, proto);
45
45
  goog.exportSymbol('zaber.motion.protobufs.CustomInterfaceOpenResponse', null, proto);
46
46
  goog.exportSymbol('zaber.motion.protobufs.CustomInterfaceReadRequest', null, proto);
47
47
  goog.exportSymbol('zaber.motion.protobufs.CustomInterfaceWriteRequest', null, proto);
48
48
  goog.exportSymbol('zaber.motion.protobufs.DeviceAddressConflictExceptionData', null, proto);
49
49
  goog.exportSymbol('zaber.motion.protobufs.DeviceConvertSettingRequest', null, proto);
50
+ goog.exportSymbol('zaber.motion.protobufs.DeviceDbFailedExceptionData', null, proto);
50
51
  goog.exportSymbol('zaber.motion.protobufs.DeviceDetectRequest', null, proto);
51
52
  goog.exportSymbol('zaber.motion.protobufs.DeviceDetectResponse', null, proto);
52
53
  goog.exportSymbol('zaber.motion.protobufs.DeviceEmptyRequest', null, proto);
@@ -55,12 +56,8 @@ goog.exportSymbol('zaber.motion.protobufs.DeviceGetAllAnalogIOResponse', null, p
55
56
  goog.exportSymbol('zaber.motion.protobufs.DeviceGetAllDigitalIORequest', null, proto);
56
57
  goog.exportSymbol('zaber.motion.protobufs.DeviceGetAllDigitalIOResponse', null, proto);
57
58
  goog.exportSymbol('zaber.motion.protobufs.DeviceGetAnalogIORequest', null, proto);
58
- goog.exportSymbol('zaber.motion.protobufs.DeviceGetAxisIdentityResponse', null, proto);
59
59
  goog.exportSymbol('zaber.motion.protobufs.DeviceGetDigitalIORequest', null, proto);
60
- goog.exportSymbol('zaber.motion.protobufs.DeviceGetIdentityResponse', null, proto);
61
60
  goog.exportSymbol('zaber.motion.protobufs.DeviceGetSettingRequest', null, proto);
62
- goog.exportSymbol('zaber.motion.protobufs.DeviceGetStorageBoolRequest', null, proto);
63
- goog.exportSymbol('zaber.motion.protobufs.DeviceGetStorageNumberRequest', null, proto);
64
61
  goog.exportSymbol('zaber.motion.protobufs.DeviceGetStorageRequest', null, proto);
65
62
  goog.exportSymbol('zaber.motion.protobufs.DeviceGetWarningsRequest', null, proto);
66
63
  goog.exportSymbol('zaber.motion.protobufs.DeviceGetWarningsResponse', null, proto);
@@ -81,7 +78,9 @@ goog.exportSymbol('zaber.motion.protobufs.DeviceSetSettingStrRequest', null, pro
81
78
  goog.exportSymbol('zaber.motion.protobufs.DeviceSetStorageBoolRequest', null, proto);
82
79
  goog.exportSymbol('zaber.motion.protobufs.DeviceSetStorageNumberRequest', null, proto);
83
80
  goog.exportSymbol('zaber.motion.protobufs.DeviceSetStorageRequest', null, proto);
81
+ goog.exportSymbol('zaber.motion.protobufs.DeviceSetUnitConversionsRequest', null, proto);
84
82
  goog.exportSymbol('zaber.motion.protobufs.DeviceStopRequest', null, proto);
83
+ goog.exportSymbol('zaber.motion.protobufs.DeviceStorageRequest', null, proto);
85
84
  goog.exportSymbol('zaber.motion.protobufs.DeviceWaitUntilIdleRequest', null, proto);
86
85
  goog.exportSymbol('zaber.motion.protobufs.DisconnectedEvent', null, proto);
87
86
  goog.exportSymbol('zaber.motion.protobufs.DoubleResponse', null, proto);
@@ -95,6 +94,7 @@ goog.exportSymbol('zaber.motion.protobufs.GenericBinaryRequest', null, proto);
95
94
  goog.exportSymbol('zaber.motion.protobufs.GenericCommandRequest', null, proto);
96
95
  goog.exportSymbol('zaber.motion.protobufs.GenericCommandResponse', null, proto);
97
96
  goog.exportSymbol('zaber.motion.protobufs.GenericCommandResponseCollection', null, proto);
97
+ goog.exportSymbol('zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse', null, proto);
98
98
  goog.exportSymbol('zaber.motion.protobufs.IntResponse', null, proto);
99
99
  goog.exportSymbol('zaber.motion.protobufs.InterfaceEmptyRequest', null, proto);
100
100
  goog.exportSymbol('zaber.motion.protobufs.InterfaceType', null, proto);
@@ -105,7 +105,6 @@ goog.exportSymbol('zaber.motion.protobufs.LockstepAxes', null, proto);
105
105
  goog.exportSymbol('zaber.motion.protobufs.LockstepDisableRequest', null, proto);
106
106
  goog.exportSymbol('zaber.motion.protobufs.LockstepEmptyRequest', null, proto);
107
107
  goog.exportSymbol('zaber.motion.protobufs.LockstepEnableRequest', null, proto);
108
- goog.exportSymbol('zaber.motion.protobufs.LockstepGetAxesResponse', null, proto);
109
108
  goog.exportSymbol('zaber.motion.protobufs.LockstepGetAxisNumbersResponse', null, proto);
110
109
  goog.exportSymbol('zaber.motion.protobufs.LockstepGetOffsetsRequest', null, proto);
111
110
  goog.exportSymbol('zaber.motion.protobufs.LockstepGetOffsetsResponse', null, proto);
@@ -125,7 +124,6 @@ goog.exportSymbol('zaber.motion.protobufs.OpenInterfaceRequest', null, proto);
125
124
  goog.exportSymbol('zaber.motion.protobufs.OpenInterfaceResponse', null, proto);
126
125
  goog.exportSymbol('zaber.motion.protobufs.OscilloscopeAddChannelRequest', null, proto);
127
126
  goog.exportSymbol('zaber.motion.protobufs.OscilloscopeCaptureProperties', null, proto);
128
- goog.exportSymbol('zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse', null, proto);
129
127
  goog.exportSymbol('zaber.motion.protobufs.OscilloscopeDataGetRequest', null, proto);
130
128
  goog.exportSymbol('zaber.motion.protobufs.OscilloscopeDataGetSampleTimeRequest', null, proto);
131
129
  goog.exportSymbol('zaber.motion.protobufs.OscilloscopeDataGetSamplesResponse', null, proto);
@@ -150,8 +148,7 @@ goog.exportSymbol('zaber.motion.protobufs.SetServoTuningPIDRequest', null, proto
150
148
  goog.exportSymbol('zaber.motion.protobufs.SetServoTuningRequest', null, proto);
151
149
  goog.exportSymbol('zaber.motion.protobufs.SetSimpleTuning', null, proto);
152
150
  goog.exportSymbol('zaber.motion.protobufs.SetStateRequest', null, proto);
153
- goog.exportSymbol('zaber.motion.protobufs.SimpleTuningParam', null, proto);
154
- goog.exportSymbol('zaber.motion.protobufs.SimpleTuningParamList', null, proto);
151
+ goog.exportSymbol('zaber.motion.protobufs.SimpleTuningParamDefinition', null, proto);
155
152
  goog.exportSymbol('zaber.motion.protobufs.StreamArcRequest', null, proto);
156
153
  goog.exportSymbol('zaber.motion.protobufs.StreamArcRequest.Type', null, proto);
157
154
  goog.exportSymbol('zaber.motion.protobufs.StreamAxisDefinition', null, proto);
@@ -932,6 +929,27 @@ if (goog.DEBUG && !COMPILED) {
932
929
  */
933
930
  proto.zaber.motion.protobufs.ToggleDeviceDbStoreRequest.displayName = 'proto.zaber.motion.protobufs.ToggleDeviceDbStoreRequest';
934
931
  }
932
+ /**
933
+ * Generated by JsPbCodeGenerator.
934
+ * @param {Array=} opt_data Optional initial data array, typically from a
935
+ * server response, or constructed directly in Javascript. The array is used
936
+ * in place and becomes part of the constructed object. It is not cloned.
937
+ * If no data is provided, the constructed object will be empty, but still
938
+ * valid.
939
+ * @extends {jspb.Message}
940
+ * @constructor
941
+ */
942
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData = function(opt_data) {
943
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
944
+ };
945
+ goog.inherits(proto.zaber.motion.protobufs.DeviceDbFailedExceptionData, jspb.Message);
946
+ if (goog.DEBUG && !COMPILED) {
947
+ /**
948
+ * @public
949
+ * @override
950
+ */
951
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.displayName = 'proto.zaber.motion.protobufs.DeviceDbFailedExceptionData';
952
+ }
935
953
  /**
936
954
  * Generated by JsPbCodeGenerator.
937
955
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1373,48 +1391,6 @@ if (goog.DEBUG && !COMPILED) {
1373
1391
  */
1374
1392
  proto.zaber.motion.protobufs.DeviceOnAllResponse.displayName = 'proto.zaber.motion.protobufs.DeviceOnAllResponse';
1375
1393
  }
1376
- /**
1377
- * Generated by JsPbCodeGenerator.
1378
- * @param {Array=} opt_data Optional initial data array, typically from a
1379
- * server response, or constructed directly in Javascript. The array is used
1380
- * in place and becomes part of the constructed object. It is not cloned.
1381
- * If no data is provided, the constructed object will be empty, but still
1382
- * valid.
1383
- * @extends {jspb.Message}
1384
- * @constructor
1385
- */
1386
- proto.zaber.motion.protobufs.DeviceGetIdentityResponse = function(opt_data) {
1387
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1388
- };
1389
- goog.inherits(proto.zaber.motion.protobufs.DeviceGetIdentityResponse, jspb.Message);
1390
- if (goog.DEBUG && !COMPILED) {
1391
- /**
1392
- * @public
1393
- * @override
1394
- */
1395
- proto.zaber.motion.protobufs.DeviceGetIdentityResponse.displayName = 'proto.zaber.motion.protobufs.DeviceGetIdentityResponse';
1396
- }
1397
- /**
1398
- * Generated by JsPbCodeGenerator.
1399
- * @param {Array=} opt_data Optional initial data array, typically from a
1400
- * server response, or constructed directly in Javascript. The array is used
1401
- * in place and becomes part of the constructed object. It is not cloned.
1402
- * If no data is provided, the constructed object will be empty, but still
1403
- * valid.
1404
- * @extends {jspb.Message}
1405
- * @constructor
1406
- */
1407
- proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse = function(opt_data) {
1408
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1409
- };
1410
- goog.inherits(proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse, jspb.Message);
1411
- if (goog.DEBUG && !COMPILED) {
1412
- /**
1413
- * @public
1414
- * @override
1415
- */
1416
- proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse.displayName = 'proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse';
1417
- }
1418
1394
  /**
1419
1395
  * Generated by JsPbCodeGenerator.
1420
1396
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1961,27 +1937,6 @@ if (goog.DEBUG && !COMPILED) {
1961
1937
  */
1962
1938
  proto.zaber.motion.protobufs.LockstepAxes.displayName = 'proto.zaber.motion.protobufs.LockstepAxes';
1963
1939
  }
1964
- /**
1965
- * Generated by JsPbCodeGenerator.
1966
- * @param {Array=} opt_data Optional initial data array, typically from a
1967
- * server response, or constructed directly in Javascript. The array is used
1968
- * in place and becomes part of the constructed object. It is not cloned.
1969
- * If no data is provided, the constructed object will be empty, but still
1970
- * valid.
1971
- * @extends {jspb.Message}
1972
- * @constructor
1973
- */
1974
- proto.zaber.motion.protobufs.LockstepGetAxesResponse = function(opt_data) {
1975
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1976
- };
1977
- goog.inherits(proto.zaber.motion.protobufs.LockstepGetAxesResponse, jspb.Message);
1978
- if (goog.DEBUG && !COMPILED) {
1979
- /**
1980
- * @public
1981
- * @override
1982
- */
1983
- proto.zaber.motion.protobufs.LockstepGetAxesResponse.displayName = 'proto.zaber.motion.protobufs.LockstepGetAxesResponse';
1984
- }
1985
1940
  /**
1986
1941
  * Generated by JsPbCodeGenerator.
1987
1942
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2192,27 +2147,6 @@ if (goog.DEBUG && !COMPILED) {
2192
2147
  */
2193
2148
  proto.zaber.motion.protobufs.OscilloscopeCaptureProperties.displayName = 'proto.zaber.motion.protobufs.OscilloscopeCaptureProperties';
2194
2149
  }
2195
- /**
2196
- * Generated by JsPbCodeGenerator.
2197
- * @param {Array=} opt_data Optional initial data array, typically from a
2198
- * server response, or constructed directly in Javascript. The array is used
2199
- * in place and becomes part of the constructed object. It is not cloned.
2200
- * If no data is provided, the constructed object will be empty, but still
2201
- * valid.
2202
- * @extends {jspb.Message}
2203
- * @constructor
2204
- */
2205
- proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse = function(opt_data) {
2206
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2207
- };
2208
- goog.inherits(proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse, jspb.Message);
2209
- if (goog.DEBUG && !COMPILED) {
2210
- /**
2211
- * @public
2212
- * @override
2213
- */
2214
- proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse.displayName = 'proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse';
2215
- }
2216
2150
  /**
2217
2151
  * Generated by JsPbCodeGenerator.
2218
2152
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3095,27 +3029,6 @@ if (goog.DEBUG && !COMPILED) {
3095
3029
  */
3096
3030
  proto.zaber.motion.protobufs.BinaryDeviceIdentity.displayName = 'proto.zaber.motion.protobufs.BinaryDeviceIdentity';
3097
3031
  }
3098
- /**
3099
- * Generated by JsPbCodeGenerator.
3100
- * @param {Array=} opt_data Optional initial data array, typically from a
3101
- * server response, or constructed directly in Javascript. The array is used
3102
- * in place and becomes part of the constructed object. It is not cloned.
3103
- * If no data is provided, the constructed object will be empty, but still
3104
- * valid.
3105
- * @extends {jspb.Message}
3106
- * @constructor
3107
- */
3108
- proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse = function(opt_data) {
3109
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3110
- };
3111
- goog.inherits(proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse, jspb.Message);
3112
- if (goog.DEBUG && !COMPILED) {
3113
- /**
3114
- * @public
3115
- * @override
3116
- */
3117
- proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse.displayName = 'proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse';
3118
- }
3119
3032
  /**
3120
3033
  * Generated by JsPbCodeGenerator.
3121
3034
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3630,16 +3543,16 @@ if (goog.DEBUG && !COMPILED) {
3630
3543
  * @extends {jspb.Message}
3631
3544
  * @constructor
3632
3545
  */
3633
- proto.zaber.motion.protobufs.SimpleTuningParam = function(opt_data) {
3546
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition = function(opt_data) {
3634
3547
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3635
3548
  };
3636
- goog.inherits(proto.zaber.motion.protobufs.SimpleTuningParam, jspb.Message);
3549
+ goog.inherits(proto.zaber.motion.protobufs.SimpleTuningParamDefinition, jspb.Message);
3637
3550
  if (goog.DEBUG && !COMPILED) {
3638
3551
  /**
3639
3552
  * @public
3640
3553
  * @override
3641
3554
  */
3642
- proto.zaber.motion.protobufs.SimpleTuningParam.displayName = 'proto.zaber.motion.protobufs.SimpleTuningParam';
3555
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.displayName = 'proto.zaber.motion.protobufs.SimpleTuningParamDefinition';
3643
3556
  }
3644
3557
  /**
3645
3558
  * Generated by JsPbCodeGenerator.
@@ -3651,16 +3564,16 @@ if (goog.DEBUG && !COMPILED) {
3651
3564
  * @extends {jspb.Message}
3652
3565
  * @constructor
3653
3566
  */
3654
- proto.zaber.motion.protobufs.SimpleTuningParamList = function(opt_data) {
3655
- jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.SimpleTuningParamList.repeatedFields_, null);
3567
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse = function(opt_data) {
3568
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.repeatedFields_, null);
3656
3569
  };
3657
- goog.inherits(proto.zaber.motion.protobufs.SimpleTuningParamList, jspb.Message);
3570
+ goog.inherits(proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse, jspb.Message);
3658
3571
  if (goog.DEBUG && !COMPILED) {
3659
3572
  /**
3660
3573
  * @public
3661
3574
  * @override
3662
3575
  */
3663
- proto.zaber.motion.protobufs.SimpleTuningParamList.displayName = 'proto.zaber.motion.protobufs.SimpleTuningParamList';
3576
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.displayName = 'proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse';
3664
3577
  }
3665
3578
  /**
3666
3579
  * Generated by JsPbCodeGenerator.
@@ -4176,16 +4089,16 @@ if (goog.DEBUG && !COMPILED) {
4176
4089
  * @extends {jspb.Message}
4177
4090
  * @constructor
4178
4091
  */
4179
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest = function(opt_data) {
4092
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest = function(opt_data) {
4180
4093
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4181
4094
  };
4182
- goog.inherits(proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest, jspb.Message);
4095
+ goog.inherits(proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest, jspb.Message);
4183
4096
  if (goog.DEBUG && !COMPILED) {
4184
4097
  /**
4185
4098
  * @public
4186
4099
  * @override
4187
4100
  */
4188
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.displayName = 'proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest';
4101
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest';
4189
4102
  }
4190
4103
  /**
4191
4104
  * Generated by JsPbCodeGenerator.
@@ -4197,16 +4110,37 @@ if (goog.DEBUG && !COMPILED) {
4197
4110
  * @extends {jspb.Message}
4198
4111
  * @constructor
4199
4112
  */
4200
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest = function(opt_data) {
4113
+ proto.zaber.motion.protobufs.DeviceStorageRequest = function(opt_data) {
4201
4114
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4202
4115
  };
4203
- goog.inherits(proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest, jspb.Message);
4116
+ goog.inherits(proto.zaber.motion.protobufs.DeviceStorageRequest, jspb.Message);
4204
4117
  if (goog.DEBUG && !COMPILED) {
4205
4118
  /**
4206
4119
  * @public
4207
4120
  * @override
4208
4121
  */
4209
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest';
4122
+ proto.zaber.motion.protobufs.DeviceStorageRequest.displayName = 'proto.zaber.motion.protobufs.DeviceStorageRequest';
4123
+ }
4124
+ /**
4125
+ * Generated by JsPbCodeGenerator.
4126
+ * @param {Array=} opt_data Optional initial data array, typically from a
4127
+ * server response, or constructed directly in Javascript. The array is used
4128
+ * in place and becomes part of the constructed object. It is not cloned.
4129
+ * If no data is provided, the constructed object will be empty, but still
4130
+ * valid.
4131
+ * @extends {jspb.Message}
4132
+ * @constructor
4133
+ */
4134
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest = function(opt_data) {
4135
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.repeatedFields_, null);
4136
+ };
4137
+ goog.inherits(proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest, jspb.Message);
4138
+ if (goog.DEBUG && !COMPILED) {
4139
+ /**
4140
+ * @public
4141
+ * @override
4142
+ */
4143
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest';
4210
4144
  }
4211
4145
  /**
4212
4146
  * Generated by JsPbCodeGenerator.
@@ -4218,16 +4152,16 @@ if (goog.DEBUG && !COMPILED) {
4218
4152
  * @extends {jspb.Message}
4219
4153
  * @constructor
4220
4154
  */
4221
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest = function(opt_data) {
4155
+ proto.zaber.motion.protobufs.ConversionFactor = function(opt_data) {
4222
4156
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4223
4157
  };
4224
- goog.inherits(proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest, jspb.Message);
4158
+ goog.inherits(proto.zaber.motion.protobufs.ConversionFactor, jspb.Message);
4225
4159
  if (goog.DEBUG && !COMPILED) {
4226
4160
  /**
4227
4161
  * @public
4228
4162
  * @override
4229
4163
  */
4230
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.displayName = 'proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest';
4164
+ proto.zaber.motion.protobufs.ConversionFactor.displayName = 'proto.zaber.motion.protobufs.ConversionFactor';
4231
4165
  }
4232
4166
 
4233
4167
 
@@ -10316,6 +10250,136 @@ proto.zaber.motion.protobufs.ToggleDeviceDbStoreRequest.prototype.setStoreLocati
10316
10250
 
10317
10251
 
10318
10252
 
10253
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10254
+ /**
10255
+ * Creates an object representation of this proto.
10256
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10257
+ * Optional fields that are not set will be set to undefined.
10258
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10259
+ * For the list of reserved names please see:
10260
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10261
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10262
+ * JSPB instance for transitional soy proto support:
10263
+ * http://goto/soy-param-migration
10264
+ * @return {!Object}
10265
+ */
10266
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.prototype.toObject = function(opt_includeInstance) {
10267
+ return proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.toObject(opt_includeInstance, this);
10268
+ };
10269
+
10270
+
10271
+ /**
10272
+ * Static version of the {@see toObject} method.
10273
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10274
+ * the JSPB instance for transitional soy proto support:
10275
+ * http://goto/soy-param-migration
10276
+ * @param {!proto.zaber.motion.protobufs.DeviceDbFailedExceptionData} msg The msg instance to transform.
10277
+ * @return {!Object}
10278
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10279
+ */
10280
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.toObject = function(includeInstance, msg) {
10281
+ var f, obj = {
10282
+ code: jspb.Message.getFieldWithDefault(msg, 1, "")
10283
+ };
10284
+
10285
+ if (includeInstance) {
10286
+ obj.$jspbMessageInstance = msg;
10287
+ }
10288
+ return obj;
10289
+ };
10290
+ }
10291
+
10292
+
10293
+ /**
10294
+ * Deserializes binary data (in protobuf wire format).
10295
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10296
+ * @return {!proto.zaber.motion.protobufs.DeviceDbFailedExceptionData}
10297
+ */
10298
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.deserializeBinary = function(bytes) {
10299
+ var reader = new jspb.BinaryReader(bytes);
10300
+ var msg = new proto.zaber.motion.protobufs.DeviceDbFailedExceptionData;
10301
+ return proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.deserializeBinaryFromReader(msg, reader);
10302
+ };
10303
+
10304
+
10305
+ /**
10306
+ * Deserializes binary data (in protobuf wire format) from the
10307
+ * given reader into the given message object.
10308
+ * @param {!proto.zaber.motion.protobufs.DeviceDbFailedExceptionData} msg The message object to deserialize into.
10309
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10310
+ * @return {!proto.zaber.motion.protobufs.DeviceDbFailedExceptionData}
10311
+ */
10312
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.deserializeBinaryFromReader = function(msg, reader) {
10313
+ while (reader.nextField()) {
10314
+ if (reader.isEndGroup()) {
10315
+ break;
10316
+ }
10317
+ var field = reader.getFieldNumber();
10318
+ switch (field) {
10319
+ case 1:
10320
+ var value = /** @type {string} */ (reader.readString());
10321
+ msg.setCode(value);
10322
+ break;
10323
+ default:
10324
+ reader.skipField();
10325
+ break;
10326
+ }
10327
+ }
10328
+ return msg;
10329
+ };
10330
+
10331
+
10332
+ /**
10333
+ * Serializes the message to binary data (in protobuf wire format).
10334
+ * @return {!Uint8Array}
10335
+ */
10336
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.prototype.serializeBinary = function() {
10337
+ var writer = new jspb.BinaryWriter();
10338
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.serializeBinaryToWriter(this, writer);
10339
+ return writer.getResultBuffer();
10340
+ };
10341
+
10342
+
10343
+ /**
10344
+ * Serializes the given message to binary data (in protobuf wire
10345
+ * format), writing to the given BinaryWriter.
10346
+ * @param {!proto.zaber.motion.protobufs.DeviceDbFailedExceptionData} message
10347
+ * @param {!jspb.BinaryWriter} writer
10348
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10349
+ */
10350
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.serializeBinaryToWriter = function(message, writer) {
10351
+ var f = undefined;
10352
+ f = message.getCode();
10353
+ if (f.length > 0) {
10354
+ writer.writeString(
10355
+ 1,
10356
+ f
10357
+ );
10358
+ }
10359
+ };
10360
+
10361
+
10362
+ /**
10363
+ * optional string code = 1;
10364
+ * @return {string}
10365
+ */
10366
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.prototype.getCode = function() {
10367
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
10368
+ };
10369
+
10370
+
10371
+ /**
10372
+ * @param {string} value
10373
+ * @return {!proto.zaber.motion.protobufs.DeviceDbFailedExceptionData} returns this
10374
+ */
10375
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.prototype.setCode = function(value) {
10376
+ return jspb.Message.setProto3StringField(this, 1, value);
10377
+ };
10378
+
10379
+
10380
+
10381
+
10382
+
10319
10383
  if (jspb.Message.GENERATE_TO_OBJECT) {
10320
10384
  /**
10321
10385
  * Creates an object representation of this proto.
@@ -15003,308 +15067,6 @@ proto.zaber.motion.protobufs.DeviceOnAllResponse.prototype.clearDeviceAddressesL
15003
15067
 
15004
15068
 
15005
15069
 
15006
- if (jspb.Message.GENERATE_TO_OBJECT) {
15007
- /**
15008
- * Creates an object representation of this proto.
15009
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
15010
- * Optional fields that are not set will be set to undefined.
15011
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15012
- * For the list of reserved names please see:
15013
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15014
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15015
- * JSPB instance for transitional soy proto support:
15016
- * http://goto/soy-param-migration
15017
- * @return {!Object}
15018
- */
15019
- proto.zaber.motion.protobufs.DeviceGetIdentityResponse.prototype.toObject = function(opt_includeInstance) {
15020
- return proto.zaber.motion.protobufs.DeviceGetIdentityResponse.toObject(opt_includeInstance, this);
15021
- };
15022
-
15023
-
15024
- /**
15025
- * Static version of the {@see toObject} method.
15026
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15027
- * the JSPB instance for transitional soy proto support:
15028
- * http://goto/soy-param-migration
15029
- * @param {!proto.zaber.motion.protobufs.DeviceGetIdentityResponse} msg The msg instance to transform.
15030
- * @return {!Object}
15031
- * @suppress {unusedLocalVariables} f is only used for nested messages
15032
- */
15033
- proto.zaber.motion.protobufs.DeviceGetIdentityResponse.toObject = function(includeInstance, msg) {
15034
- var f, obj = {
15035
- identity: (f = msg.getIdentity()) && proto.zaber.motion.protobufs.DeviceIdentity.toObject(includeInstance, f)
15036
- };
15037
-
15038
- if (includeInstance) {
15039
- obj.$jspbMessageInstance = msg;
15040
- }
15041
- return obj;
15042
- };
15043
- }
15044
-
15045
-
15046
- /**
15047
- * Deserializes binary data (in protobuf wire format).
15048
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
15049
- * @return {!proto.zaber.motion.protobufs.DeviceGetIdentityResponse}
15050
- */
15051
- proto.zaber.motion.protobufs.DeviceGetIdentityResponse.deserializeBinary = function(bytes) {
15052
- var reader = new jspb.BinaryReader(bytes);
15053
- var msg = new proto.zaber.motion.protobufs.DeviceGetIdentityResponse;
15054
- return proto.zaber.motion.protobufs.DeviceGetIdentityResponse.deserializeBinaryFromReader(msg, reader);
15055
- };
15056
-
15057
-
15058
- /**
15059
- * Deserializes binary data (in protobuf wire format) from the
15060
- * given reader into the given message object.
15061
- * @param {!proto.zaber.motion.protobufs.DeviceGetIdentityResponse} msg The message object to deserialize into.
15062
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15063
- * @return {!proto.zaber.motion.protobufs.DeviceGetIdentityResponse}
15064
- */
15065
- proto.zaber.motion.protobufs.DeviceGetIdentityResponse.deserializeBinaryFromReader = function(msg, reader) {
15066
- while (reader.nextField()) {
15067
- if (reader.isEndGroup()) {
15068
- break;
15069
- }
15070
- var field = reader.getFieldNumber();
15071
- switch (field) {
15072
- case 1:
15073
- var value = new proto.zaber.motion.protobufs.DeviceIdentity;
15074
- reader.readMessage(value,proto.zaber.motion.protobufs.DeviceIdentity.deserializeBinaryFromReader);
15075
- msg.setIdentity(value);
15076
- break;
15077
- default:
15078
- reader.skipField();
15079
- break;
15080
- }
15081
- }
15082
- return msg;
15083
- };
15084
-
15085
-
15086
- /**
15087
- * Serializes the message to binary data (in protobuf wire format).
15088
- * @return {!Uint8Array}
15089
- */
15090
- proto.zaber.motion.protobufs.DeviceGetIdentityResponse.prototype.serializeBinary = function() {
15091
- var writer = new jspb.BinaryWriter();
15092
- proto.zaber.motion.protobufs.DeviceGetIdentityResponse.serializeBinaryToWriter(this, writer);
15093
- return writer.getResultBuffer();
15094
- };
15095
-
15096
-
15097
- /**
15098
- * Serializes the given message to binary data (in protobuf wire
15099
- * format), writing to the given BinaryWriter.
15100
- * @param {!proto.zaber.motion.protobufs.DeviceGetIdentityResponse} message
15101
- * @param {!jspb.BinaryWriter} writer
15102
- * @suppress {unusedLocalVariables} f is only used for nested messages
15103
- */
15104
- proto.zaber.motion.protobufs.DeviceGetIdentityResponse.serializeBinaryToWriter = function(message, writer) {
15105
- var f = undefined;
15106
- f = message.getIdentity();
15107
- if (f != null) {
15108
- writer.writeMessage(
15109
- 1,
15110
- f,
15111
- proto.zaber.motion.protobufs.DeviceIdentity.serializeBinaryToWriter
15112
- );
15113
- }
15114
- };
15115
-
15116
-
15117
- /**
15118
- * optional DeviceIdentity identity = 1;
15119
- * @return {?proto.zaber.motion.protobufs.DeviceIdentity}
15120
- */
15121
- proto.zaber.motion.protobufs.DeviceGetIdentityResponse.prototype.getIdentity = function() {
15122
- return /** @type{?proto.zaber.motion.protobufs.DeviceIdentity} */ (
15123
- jspb.Message.getWrapperField(this, proto.zaber.motion.protobufs.DeviceIdentity, 1));
15124
- };
15125
-
15126
-
15127
- /**
15128
- * @param {?proto.zaber.motion.protobufs.DeviceIdentity|undefined} value
15129
- * @return {!proto.zaber.motion.protobufs.DeviceGetIdentityResponse} returns this
15130
- */
15131
- proto.zaber.motion.protobufs.DeviceGetIdentityResponse.prototype.setIdentity = function(value) {
15132
- return jspb.Message.setWrapperField(this, 1, value);
15133
- };
15134
-
15135
-
15136
- /**
15137
- * Clears the message field making it undefined.
15138
- * @return {!proto.zaber.motion.protobufs.DeviceGetIdentityResponse} returns this
15139
- */
15140
- proto.zaber.motion.protobufs.DeviceGetIdentityResponse.prototype.clearIdentity = function() {
15141
- return this.setIdentity(undefined);
15142
- };
15143
-
15144
-
15145
- /**
15146
- * Returns whether this field is set.
15147
- * @return {boolean}
15148
- */
15149
- proto.zaber.motion.protobufs.DeviceGetIdentityResponse.prototype.hasIdentity = function() {
15150
- return jspb.Message.getField(this, 1) != null;
15151
- };
15152
-
15153
-
15154
-
15155
-
15156
-
15157
- if (jspb.Message.GENERATE_TO_OBJECT) {
15158
- /**
15159
- * Creates an object representation of this proto.
15160
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
15161
- * Optional fields that are not set will be set to undefined.
15162
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15163
- * For the list of reserved names please see:
15164
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15165
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15166
- * JSPB instance for transitional soy proto support:
15167
- * http://goto/soy-param-migration
15168
- * @return {!Object}
15169
- */
15170
- proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse.prototype.toObject = function(opt_includeInstance) {
15171
- return proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse.toObject(opt_includeInstance, this);
15172
- };
15173
-
15174
-
15175
- /**
15176
- * Static version of the {@see toObject} method.
15177
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15178
- * the JSPB instance for transitional soy proto support:
15179
- * http://goto/soy-param-migration
15180
- * @param {!proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse} msg The msg instance to transform.
15181
- * @return {!Object}
15182
- * @suppress {unusedLocalVariables} f is only used for nested messages
15183
- */
15184
- proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse.toObject = function(includeInstance, msg) {
15185
- var f, obj = {
15186
- identity: (f = msg.getIdentity()) && proto.zaber.motion.protobufs.AxisIdentity.toObject(includeInstance, f)
15187
- };
15188
-
15189
- if (includeInstance) {
15190
- obj.$jspbMessageInstance = msg;
15191
- }
15192
- return obj;
15193
- };
15194
- }
15195
-
15196
-
15197
- /**
15198
- * Deserializes binary data (in protobuf wire format).
15199
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
15200
- * @return {!proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse}
15201
- */
15202
- proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse.deserializeBinary = function(bytes) {
15203
- var reader = new jspb.BinaryReader(bytes);
15204
- var msg = new proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse;
15205
- return proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse.deserializeBinaryFromReader(msg, reader);
15206
- };
15207
-
15208
-
15209
- /**
15210
- * Deserializes binary data (in protobuf wire format) from the
15211
- * given reader into the given message object.
15212
- * @param {!proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse} msg The message object to deserialize into.
15213
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15214
- * @return {!proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse}
15215
- */
15216
- proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse.deserializeBinaryFromReader = function(msg, reader) {
15217
- while (reader.nextField()) {
15218
- if (reader.isEndGroup()) {
15219
- break;
15220
- }
15221
- var field = reader.getFieldNumber();
15222
- switch (field) {
15223
- case 1:
15224
- var value = new proto.zaber.motion.protobufs.AxisIdentity;
15225
- reader.readMessage(value,proto.zaber.motion.protobufs.AxisIdentity.deserializeBinaryFromReader);
15226
- msg.setIdentity(value);
15227
- break;
15228
- default:
15229
- reader.skipField();
15230
- break;
15231
- }
15232
- }
15233
- return msg;
15234
- };
15235
-
15236
-
15237
- /**
15238
- * Serializes the message to binary data (in protobuf wire format).
15239
- * @return {!Uint8Array}
15240
- */
15241
- proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse.prototype.serializeBinary = function() {
15242
- var writer = new jspb.BinaryWriter();
15243
- proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse.serializeBinaryToWriter(this, writer);
15244
- return writer.getResultBuffer();
15245
- };
15246
-
15247
-
15248
- /**
15249
- * Serializes the given message to binary data (in protobuf wire
15250
- * format), writing to the given BinaryWriter.
15251
- * @param {!proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse} message
15252
- * @param {!jspb.BinaryWriter} writer
15253
- * @suppress {unusedLocalVariables} f is only used for nested messages
15254
- */
15255
- proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse.serializeBinaryToWriter = function(message, writer) {
15256
- var f = undefined;
15257
- f = message.getIdentity();
15258
- if (f != null) {
15259
- writer.writeMessage(
15260
- 1,
15261
- f,
15262
- proto.zaber.motion.protobufs.AxisIdentity.serializeBinaryToWriter
15263
- );
15264
- }
15265
- };
15266
-
15267
-
15268
- /**
15269
- * optional AxisIdentity identity = 1;
15270
- * @return {?proto.zaber.motion.protobufs.AxisIdentity}
15271
- */
15272
- proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse.prototype.getIdentity = function() {
15273
- return /** @type{?proto.zaber.motion.protobufs.AxisIdentity} */ (
15274
- jspb.Message.getWrapperField(this, proto.zaber.motion.protobufs.AxisIdentity, 1));
15275
- };
15276
-
15277
-
15278
- /**
15279
- * @param {?proto.zaber.motion.protobufs.AxisIdentity|undefined} value
15280
- * @return {!proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse} returns this
15281
- */
15282
- proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse.prototype.setIdentity = function(value) {
15283
- return jspb.Message.setWrapperField(this, 1, value);
15284
- };
15285
-
15286
-
15287
- /**
15288
- * Clears the message field making it undefined.
15289
- * @return {!proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse} returns this
15290
- */
15291
- proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse.prototype.clearIdentity = function() {
15292
- return this.setIdentity(undefined);
15293
- };
15294
-
15295
-
15296
- /**
15297
- * Returns whether this field is set.
15298
- * @return {boolean}
15299
- */
15300
- proto.zaber.motion.protobufs.DeviceGetAxisIdentityResponse.prototype.hasIdentity = function() {
15301
- return jspb.Message.getField(this, 1) != null;
15302
- };
15303
-
15304
-
15305
-
15306
-
15307
-
15308
15070
  if (jspb.Message.GENERATE_TO_OBJECT) {
15309
15071
  /**
15310
15072
  * Creates an object representation of this proto.
@@ -21200,157 +20962,6 @@ proto.zaber.motion.protobufs.LockstepAxes.prototype.setAxis4 = function(value) {
21200
20962
 
21201
20963
 
21202
20964
 
21203
-
21204
-
21205
- if (jspb.Message.GENERATE_TO_OBJECT) {
21206
- /**
21207
- * Creates an object representation of this proto.
21208
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
21209
- * Optional fields that are not set will be set to undefined.
21210
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
21211
- * For the list of reserved names please see:
21212
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
21213
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
21214
- * JSPB instance for transitional soy proto support:
21215
- * http://goto/soy-param-migration
21216
- * @return {!Object}
21217
- */
21218
- proto.zaber.motion.protobufs.LockstepGetAxesResponse.prototype.toObject = function(opt_includeInstance) {
21219
- return proto.zaber.motion.protobufs.LockstepGetAxesResponse.toObject(opt_includeInstance, this);
21220
- };
21221
-
21222
-
21223
- /**
21224
- * Static version of the {@see toObject} method.
21225
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
21226
- * the JSPB instance for transitional soy proto support:
21227
- * http://goto/soy-param-migration
21228
- * @param {!proto.zaber.motion.protobufs.LockstepGetAxesResponse} msg The msg instance to transform.
21229
- * @return {!Object}
21230
- * @suppress {unusedLocalVariables} f is only used for nested messages
21231
- */
21232
- proto.zaber.motion.protobufs.LockstepGetAxesResponse.toObject = function(includeInstance, msg) {
21233
- var f, obj = {
21234
- axes: (f = msg.getAxes()) && proto.zaber.motion.protobufs.LockstepAxes.toObject(includeInstance, f)
21235
- };
21236
-
21237
- if (includeInstance) {
21238
- obj.$jspbMessageInstance = msg;
21239
- }
21240
- return obj;
21241
- };
21242
- }
21243
-
21244
-
21245
- /**
21246
- * Deserializes binary data (in protobuf wire format).
21247
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
21248
- * @return {!proto.zaber.motion.protobufs.LockstepGetAxesResponse}
21249
- */
21250
- proto.zaber.motion.protobufs.LockstepGetAxesResponse.deserializeBinary = function(bytes) {
21251
- var reader = new jspb.BinaryReader(bytes);
21252
- var msg = new proto.zaber.motion.protobufs.LockstepGetAxesResponse;
21253
- return proto.zaber.motion.protobufs.LockstepGetAxesResponse.deserializeBinaryFromReader(msg, reader);
21254
- };
21255
-
21256
-
21257
- /**
21258
- * Deserializes binary data (in protobuf wire format) from the
21259
- * given reader into the given message object.
21260
- * @param {!proto.zaber.motion.protobufs.LockstepGetAxesResponse} msg The message object to deserialize into.
21261
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
21262
- * @return {!proto.zaber.motion.protobufs.LockstepGetAxesResponse}
21263
- */
21264
- proto.zaber.motion.protobufs.LockstepGetAxesResponse.deserializeBinaryFromReader = function(msg, reader) {
21265
- while (reader.nextField()) {
21266
- if (reader.isEndGroup()) {
21267
- break;
21268
- }
21269
- var field = reader.getFieldNumber();
21270
- switch (field) {
21271
- case 1:
21272
- var value = new proto.zaber.motion.protobufs.LockstepAxes;
21273
- reader.readMessage(value,proto.zaber.motion.protobufs.LockstepAxes.deserializeBinaryFromReader);
21274
- msg.setAxes(value);
21275
- break;
21276
- default:
21277
- reader.skipField();
21278
- break;
21279
- }
21280
- }
21281
- return msg;
21282
- };
21283
-
21284
-
21285
- /**
21286
- * Serializes the message to binary data (in protobuf wire format).
21287
- * @return {!Uint8Array}
21288
- */
21289
- proto.zaber.motion.protobufs.LockstepGetAxesResponse.prototype.serializeBinary = function() {
21290
- var writer = new jspb.BinaryWriter();
21291
- proto.zaber.motion.protobufs.LockstepGetAxesResponse.serializeBinaryToWriter(this, writer);
21292
- return writer.getResultBuffer();
21293
- };
21294
-
21295
-
21296
- /**
21297
- * Serializes the given message to binary data (in protobuf wire
21298
- * format), writing to the given BinaryWriter.
21299
- * @param {!proto.zaber.motion.protobufs.LockstepGetAxesResponse} message
21300
- * @param {!jspb.BinaryWriter} writer
21301
- * @suppress {unusedLocalVariables} f is only used for nested messages
21302
- */
21303
- proto.zaber.motion.protobufs.LockstepGetAxesResponse.serializeBinaryToWriter = function(message, writer) {
21304
- var f = undefined;
21305
- f = message.getAxes();
21306
- if (f != null) {
21307
- writer.writeMessage(
21308
- 1,
21309
- f,
21310
- proto.zaber.motion.protobufs.LockstepAxes.serializeBinaryToWriter
21311
- );
21312
- }
21313
- };
21314
-
21315
-
21316
- /**
21317
- * optional LockstepAxes axes = 1;
21318
- * @return {?proto.zaber.motion.protobufs.LockstepAxes}
21319
- */
21320
- proto.zaber.motion.protobufs.LockstepGetAxesResponse.prototype.getAxes = function() {
21321
- return /** @type{?proto.zaber.motion.protobufs.LockstepAxes} */ (
21322
- jspb.Message.getWrapperField(this, proto.zaber.motion.protobufs.LockstepAxes, 1));
21323
- };
21324
-
21325
-
21326
- /**
21327
- * @param {?proto.zaber.motion.protobufs.LockstepAxes|undefined} value
21328
- * @return {!proto.zaber.motion.protobufs.LockstepGetAxesResponse} returns this
21329
- */
21330
- proto.zaber.motion.protobufs.LockstepGetAxesResponse.prototype.setAxes = function(value) {
21331
- return jspb.Message.setWrapperField(this, 1, value);
21332
- };
21333
-
21334
-
21335
- /**
21336
- * Clears the message field making it undefined.
21337
- * @return {!proto.zaber.motion.protobufs.LockstepGetAxesResponse} returns this
21338
- */
21339
- proto.zaber.motion.protobufs.LockstepGetAxesResponse.prototype.clearAxes = function() {
21340
- return this.setAxes(undefined);
21341
- };
21342
-
21343
-
21344
- /**
21345
- * Returns whether this field is set.
21346
- * @return {boolean}
21347
- */
21348
- proto.zaber.motion.protobufs.LockstepGetAxesResponse.prototype.hasAxes = function() {
21349
- return jspb.Message.getField(this, 1) != null;
21350
- };
21351
-
21352
-
21353
-
21354
20965
  /**
21355
20966
  * List of repeated fields within this message type.
21356
20967
  * @private {!Array<number>}
@@ -23125,157 +22736,6 @@ proto.zaber.motion.protobufs.OscilloscopeCaptureProperties.prototype.setAxisNumb
23125
22736
 
23126
22737
 
23127
22738
 
23128
- if (jspb.Message.GENERATE_TO_OBJECT) {
23129
- /**
23130
- * Creates an object representation of this proto.
23131
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
23132
- * Optional fields that are not set will be set to undefined.
23133
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23134
- * For the list of reserved names please see:
23135
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23136
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23137
- * JSPB instance for transitional soy proto support:
23138
- * http://goto/soy-param-migration
23139
- * @return {!Object}
23140
- */
23141
- proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse.prototype.toObject = function(opt_includeInstance) {
23142
- return proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse.toObject(opt_includeInstance, this);
23143
- };
23144
-
23145
-
23146
- /**
23147
- * Static version of the {@see toObject} method.
23148
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23149
- * the JSPB instance for transitional soy proto support:
23150
- * http://goto/soy-param-migration
23151
- * @param {!proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse} msg The msg instance to transform.
23152
- * @return {!Object}
23153
- * @suppress {unusedLocalVariables} f is only used for nested messages
23154
- */
23155
- proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse.toObject = function(includeInstance, msg) {
23156
- var f, obj = {
23157
- properties: (f = msg.getProperties()) && proto.zaber.motion.protobufs.OscilloscopeCaptureProperties.toObject(includeInstance, f)
23158
- };
23159
-
23160
- if (includeInstance) {
23161
- obj.$jspbMessageInstance = msg;
23162
- }
23163
- return obj;
23164
- };
23165
- }
23166
-
23167
-
23168
- /**
23169
- * Deserializes binary data (in protobuf wire format).
23170
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
23171
- * @return {!proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse}
23172
- */
23173
- proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse.deserializeBinary = function(bytes) {
23174
- var reader = new jspb.BinaryReader(bytes);
23175
- var msg = new proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse;
23176
- return proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse.deserializeBinaryFromReader(msg, reader);
23177
- };
23178
-
23179
-
23180
- /**
23181
- * Deserializes binary data (in protobuf wire format) from the
23182
- * given reader into the given message object.
23183
- * @param {!proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse} msg The message object to deserialize into.
23184
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23185
- * @return {!proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse}
23186
- */
23187
- proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse.deserializeBinaryFromReader = function(msg, reader) {
23188
- while (reader.nextField()) {
23189
- if (reader.isEndGroup()) {
23190
- break;
23191
- }
23192
- var field = reader.getFieldNumber();
23193
- switch (field) {
23194
- case 1:
23195
- var value = new proto.zaber.motion.protobufs.OscilloscopeCaptureProperties;
23196
- reader.readMessage(value,proto.zaber.motion.protobufs.OscilloscopeCaptureProperties.deserializeBinaryFromReader);
23197
- msg.setProperties(value);
23198
- break;
23199
- default:
23200
- reader.skipField();
23201
- break;
23202
- }
23203
- }
23204
- return msg;
23205
- };
23206
-
23207
-
23208
- /**
23209
- * Serializes the message to binary data (in protobuf wire format).
23210
- * @return {!Uint8Array}
23211
- */
23212
- proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse.prototype.serializeBinary = function() {
23213
- var writer = new jspb.BinaryWriter();
23214
- proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse.serializeBinaryToWriter(this, writer);
23215
- return writer.getResultBuffer();
23216
- };
23217
-
23218
-
23219
- /**
23220
- * Serializes the given message to binary data (in protobuf wire
23221
- * format), writing to the given BinaryWriter.
23222
- * @param {!proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse} message
23223
- * @param {!jspb.BinaryWriter} writer
23224
- * @suppress {unusedLocalVariables} f is only used for nested messages
23225
- */
23226
- proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse.serializeBinaryToWriter = function(message, writer) {
23227
- var f = undefined;
23228
- f = message.getProperties();
23229
- if (f != null) {
23230
- writer.writeMessage(
23231
- 1,
23232
- f,
23233
- proto.zaber.motion.protobufs.OscilloscopeCaptureProperties.serializeBinaryToWriter
23234
- );
23235
- }
23236
- };
23237
-
23238
-
23239
- /**
23240
- * optional OscilloscopeCaptureProperties properties = 1;
23241
- * @return {?proto.zaber.motion.protobufs.OscilloscopeCaptureProperties}
23242
- */
23243
- proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse.prototype.getProperties = function() {
23244
- return /** @type{?proto.zaber.motion.protobufs.OscilloscopeCaptureProperties} */ (
23245
- jspb.Message.getWrapperField(this, proto.zaber.motion.protobufs.OscilloscopeCaptureProperties, 1));
23246
- };
23247
-
23248
-
23249
- /**
23250
- * @param {?proto.zaber.motion.protobufs.OscilloscopeCaptureProperties|undefined} value
23251
- * @return {!proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse} returns this
23252
- */
23253
- proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse.prototype.setProperties = function(value) {
23254
- return jspb.Message.setWrapperField(this, 1, value);
23255
- };
23256
-
23257
-
23258
- /**
23259
- * Clears the message field making it undefined.
23260
- * @return {!proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse} returns this
23261
- */
23262
- proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse.prototype.clearProperties = function() {
23263
- return this.setProperties(undefined);
23264
- };
23265
-
23266
-
23267
- /**
23268
- * Returns whether this field is set.
23269
- * @return {boolean}
23270
- */
23271
- proto.zaber.motion.protobufs.OscilloscopeDataGetPropertiesResponse.prototype.hasProperties = function() {
23272
- return jspb.Message.getField(this, 1) != null;
23273
- };
23274
-
23275
-
23276
-
23277
-
23278
-
23279
22739
  if (jspb.Message.GENERATE_TO_OBJECT) {
23280
22740
  /**
23281
22741
  * Creates an object representation of this proto.
@@ -33445,157 +32905,6 @@ proto.zaber.motion.protobufs.BinaryDeviceIdentity.prototype.setDeviceType = func
33445
32905
 
33446
32906
 
33447
32907
 
33448
- if (jspb.Message.GENERATE_TO_OBJECT) {
33449
- /**
33450
- * Creates an object representation of this proto.
33451
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
33452
- * Optional fields that are not set will be set to undefined.
33453
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
33454
- * For the list of reserved names please see:
33455
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
33456
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
33457
- * JSPB instance for transitional soy proto support:
33458
- * http://goto/soy-param-migration
33459
- * @return {!Object}
33460
- */
33461
- proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse.prototype.toObject = function(opt_includeInstance) {
33462
- return proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse.toObject(opt_includeInstance, this);
33463
- };
33464
-
33465
-
33466
- /**
33467
- * Static version of the {@see toObject} method.
33468
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
33469
- * the JSPB instance for transitional soy proto support:
33470
- * http://goto/soy-param-migration
33471
- * @param {!proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse} msg The msg instance to transform.
33472
- * @return {!Object}
33473
- * @suppress {unusedLocalVariables} f is only used for nested messages
33474
- */
33475
- proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse.toObject = function(includeInstance, msg) {
33476
- var f, obj = {
33477
- identity: (f = msg.getIdentity()) && proto.zaber.motion.protobufs.BinaryDeviceIdentity.toObject(includeInstance, f)
33478
- };
33479
-
33480
- if (includeInstance) {
33481
- obj.$jspbMessageInstance = msg;
33482
- }
33483
- return obj;
33484
- };
33485
- }
33486
-
33487
-
33488
- /**
33489
- * Deserializes binary data (in protobuf wire format).
33490
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
33491
- * @return {!proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse}
33492
- */
33493
- proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse.deserializeBinary = function(bytes) {
33494
- var reader = new jspb.BinaryReader(bytes);
33495
- var msg = new proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse;
33496
- return proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse.deserializeBinaryFromReader(msg, reader);
33497
- };
33498
-
33499
-
33500
- /**
33501
- * Deserializes binary data (in protobuf wire format) from the
33502
- * given reader into the given message object.
33503
- * @param {!proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse} msg The message object to deserialize into.
33504
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
33505
- * @return {!proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse}
33506
- */
33507
- proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse.deserializeBinaryFromReader = function(msg, reader) {
33508
- while (reader.nextField()) {
33509
- if (reader.isEndGroup()) {
33510
- break;
33511
- }
33512
- var field = reader.getFieldNumber();
33513
- switch (field) {
33514
- case 1:
33515
- var value = new proto.zaber.motion.protobufs.BinaryDeviceIdentity;
33516
- reader.readMessage(value,proto.zaber.motion.protobufs.BinaryDeviceIdentity.deserializeBinaryFromReader);
33517
- msg.setIdentity(value);
33518
- break;
33519
- default:
33520
- reader.skipField();
33521
- break;
33522
- }
33523
- }
33524
- return msg;
33525
- };
33526
-
33527
-
33528
- /**
33529
- * Serializes the message to binary data (in protobuf wire format).
33530
- * @return {!Uint8Array}
33531
- */
33532
- proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse.prototype.serializeBinary = function() {
33533
- var writer = new jspb.BinaryWriter();
33534
- proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse.serializeBinaryToWriter(this, writer);
33535
- return writer.getResultBuffer();
33536
- };
33537
-
33538
-
33539
- /**
33540
- * Serializes the given message to binary data (in protobuf wire
33541
- * format), writing to the given BinaryWriter.
33542
- * @param {!proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse} message
33543
- * @param {!jspb.BinaryWriter} writer
33544
- * @suppress {unusedLocalVariables} f is only used for nested messages
33545
- */
33546
- proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse.serializeBinaryToWriter = function(message, writer) {
33547
- var f = undefined;
33548
- f = message.getIdentity();
33549
- if (f != null) {
33550
- writer.writeMessage(
33551
- 1,
33552
- f,
33553
- proto.zaber.motion.protobufs.BinaryDeviceIdentity.serializeBinaryToWriter
33554
- );
33555
- }
33556
- };
33557
-
33558
-
33559
- /**
33560
- * optional BinaryDeviceIdentity identity = 1;
33561
- * @return {?proto.zaber.motion.protobufs.BinaryDeviceIdentity}
33562
- */
33563
- proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse.prototype.getIdentity = function() {
33564
- return /** @type{?proto.zaber.motion.protobufs.BinaryDeviceIdentity} */ (
33565
- jspb.Message.getWrapperField(this, proto.zaber.motion.protobufs.BinaryDeviceIdentity, 1));
33566
- };
33567
-
33568
-
33569
- /**
33570
- * @param {?proto.zaber.motion.protobufs.BinaryDeviceIdentity|undefined} value
33571
- * @return {!proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse} returns this
33572
- */
33573
- proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse.prototype.setIdentity = function(value) {
33574
- return jspb.Message.setWrapperField(this, 1, value);
33575
- };
33576
-
33577
-
33578
- /**
33579
- * Clears the message field making it undefined.
33580
- * @return {!proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse} returns this
33581
- */
33582
- proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse.prototype.clearIdentity = function() {
33583
- return this.setIdentity(undefined);
33584
- };
33585
-
33586
-
33587
- /**
33588
- * Returns whether this field is set.
33589
- * @return {boolean}
33590
- */
33591
- proto.zaber.motion.protobufs.BinaryDeviceGetIdentityResponse.prototype.hasIdentity = function() {
33592
- return jspb.Message.getField(this, 1) != null;
33593
- };
33594
-
33595
-
33596
-
33597
-
33598
-
33599
32908
  if (jspb.Message.GENERATE_TO_OBJECT) {
33600
32909
  /**
33601
32910
  * Creates an object representation of this proto.
@@ -36386,7 +35695,7 @@ proto.zaber.motion.protobufs.CanSetStateAxisResponse.prototype.setError = functi
36386
35695
  * @private {!Array<number>}
36387
35696
  * @const
36388
35697
  */
36389
- proto.zaber.motion.protobufs.CanSetStateDeviceResponse.repeatedFields_ = [3];
35698
+ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.repeatedFields_ = [2];
36390
35699
 
36391
35700
 
36392
35701
 
@@ -36419,8 +35728,8 @@ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.toObject = func
36419
35728
  */
36420
35729
  proto.zaber.motion.protobufs.CanSetStateDeviceResponse.toObject = function(includeInstance, msg) {
36421
35730
  var f, obj = {
36422
- error: jspb.Message.getFieldWithDefault(msg, 2, ""),
36423
- peripheralErrorsList: jspb.Message.toObjectList(msg.getPeripheralErrorsList(),
35731
+ error: jspb.Message.getFieldWithDefault(msg, 1, ""),
35732
+ axisErrorsList: jspb.Message.toObjectList(msg.getAxisErrorsList(),
36424
35733
  proto.zaber.motion.protobufs.CanSetStateAxisResponse.toObject, includeInstance)
36425
35734
  };
36426
35735
 
@@ -36458,14 +35767,14 @@ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.deserializeBinaryFromRead
36458
35767
  }
36459
35768
  var field = reader.getFieldNumber();
36460
35769
  switch (field) {
36461
- case 2:
35770
+ case 1:
36462
35771
  var value = /** @type {string} */ (reader.readString());
36463
35772
  msg.setError(value);
36464
35773
  break;
36465
- case 3:
35774
+ case 2:
36466
35775
  var value = new proto.zaber.motion.protobufs.CanSetStateAxisResponse;
36467
35776
  reader.readMessage(value,proto.zaber.motion.protobufs.CanSetStateAxisResponse.deserializeBinaryFromReader);
36468
- msg.addPeripheralErrors(value);
35777
+ msg.addAxisErrors(value);
36469
35778
  break;
36470
35779
  default:
36471
35780
  reader.skipField();
@@ -36499,14 +35808,14 @@ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.serializeBinaryToWriter =
36499
35808
  f = message.getError();
36500
35809
  if (f.length > 0) {
36501
35810
  writer.writeString(
36502
- 2,
35811
+ 1,
36503
35812
  f
36504
35813
  );
36505
35814
  }
36506
- f = message.getPeripheralErrorsList();
35815
+ f = message.getAxisErrorsList();
36507
35816
  if (f.length > 0) {
36508
35817
  writer.writeRepeatedMessage(
36509
- 3,
35818
+ 2,
36510
35819
  f,
36511
35820
  proto.zaber.motion.protobufs.CanSetStateAxisResponse.serializeBinaryToWriter
36512
35821
  );
@@ -36515,11 +35824,11 @@ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.serializeBinaryToWriter =
36515
35824
 
36516
35825
 
36517
35826
  /**
36518
- * optional string error = 2;
35827
+ * optional string error = 1;
36519
35828
  * @return {string}
36520
35829
  */
36521
35830
  proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.getError = function() {
36522
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
35831
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
36523
35832
  };
36524
35833
 
36525
35834
 
@@ -36528,17 +35837,17 @@ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.getError = func
36528
35837
  * @return {!proto.zaber.motion.protobufs.CanSetStateDeviceResponse} returns this
36529
35838
  */
36530
35839
  proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.setError = function(value) {
36531
- return jspb.Message.setProto3StringField(this, 2, value);
35840
+ return jspb.Message.setProto3StringField(this, 1, value);
36532
35841
  };
36533
35842
 
36534
35843
 
36535
35844
  /**
36536
- * repeated CanSetStateAxisResponse peripheral_errors = 3;
35845
+ * repeated CanSetStateAxisResponse axis_errors = 2;
36537
35846
  * @return {!Array<!proto.zaber.motion.protobufs.CanSetStateAxisResponse>}
36538
35847
  */
36539
- proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.getPeripheralErrorsList = function() {
35848
+ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.getAxisErrorsList = function() {
36540
35849
  return /** @type{!Array<!proto.zaber.motion.protobufs.CanSetStateAxisResponse>} */ (
36541
- jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.CanSetStateAxisResponse, 3));
35850
+ jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.CanSetStateAxisResponse, 2));
36542
35851
  };
36543
35852
 
36544
35853
 
@@ -36546,8 +35855,8 @@ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.getPeripheralEr
36546
35855
  * @param {!Array<!proto.zaber.motion.protobufs.CanSetStateAxisResponse>} value
36547
35856
  * @return {!proto.zaber.motion.protobufs.CanSetStateDeviceResponse} returns this
36548
35857
  */
36549
- proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.setPeripheralErrorsList = function(value) {
36550
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
35858
+ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.setAxisErrorsList = function(value) {
35859
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
36551
35860
  };
36552
35861
 
36553
35862
 
@@ -36556,8 +35865,8 @@ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.setPeripheralEr
36556
35865
  * @param {number=} opt_index
36557
35866
  * @return {!proto.zaber.motion.protobufs.CanSetStateAxisResponse}
36558
35867
  */
36559
- proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.addPeripheralErrors = function(opt_value, opt_index) {
36560
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.zaber.motion.protobufs.CanSetStateAxisResponse, opt_index);
35868
+ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.addAxisErrors = function(opt_value, opt_index) {
35869
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.zaber.motion.protobufs.CanSetStateAxisResponse, opt_index);
36561
35870
  };
36562
35871
 
36563
35872
 
@@ -36565,8 +35874,8 @@ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.addPeripheralEr
36565
35874
  * Clears the list making it empty but non-null.
36566
35875
  * @return {!proto.zaber.motion.protobufs.CanSetStateDeviceResponse} returns this
36567
35876
  */
36568
- proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.clearPeripheralErrorsList = function() {
36569
- return this.setPeripheralErrorsList([]);
35877
+ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.clearAxisErrorsList = function() {
35878
+ return this.setAxisErrorsList([]);
36570
35879
  };
36571
35880
 
36572
35881
 
@@ -38896,8 +38205,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
38896
38205
  * http://goto/soy-param-migration
38897
38206
  * @return {!Object}
38898
38207
  */
38899
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.toObject = function(opt_includeInstance) {
38900
- return proto.zaber.motion.protobufs.SimpleTuningParam.toObject(opt_includeInstance, this);
38208
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.toObject = function(opt_includeInstance) {
38209
+ return proto.zaber.motion.protobufs.SimpleTuningParamDefinition.toObject(opt_includeInstance, this);
38901
38210
  };
38902
38211
 
38903
38212
 
@@ -38906,11 +38215,11 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.toObject = function(opt
38906
38215
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
38907
38216
  * the JSPB instance for transitional soy proto support:
38908
38217
  * http://goto/soy-param-migration
38909
- * @param {!proto.zaber.motion.protobufs.SimpleTuningParam} msg The msg instance to transform.
38218
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} msg The msg instance to transform.
38910
38219
  * @return {!Object}
38911
38220
  * @suppress {unusedLocalVariables} f is only used for nested messages
38912
38221
  */
38913
- proto.zaber.motion.protobufs.SimpleTuningParam.toObject = function(includeInstance, msg) {
38222
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.toObject = function(includeInstance, msg) {
38914
38223
  var f, obj = {
38915
38224
  name: jspb.Message.getFieldWithDefault(msg, 1, ""),
38916
38225
  minLabel: jspb.Message.getFieldWithDefault(msg, 2, ""),
@@ -38929,23 +38238,23 @@ proto.zaber.motion.protobufs.SimpleTuningParam.toObject = function(includeInstan
38929
38238
  /**
38930
38239
  * Deserializes binary data (in protobuf wire format).
38931
38240
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
38932
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParam}
38241
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition}
38933
38242
  */
38934
- proto.zaber.motion.protobufs.SimpleTuningParam.deserializeBinary = function(bytes) {
38243
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.deserializeBinary = function(bytes) {
38935
38244
  var reader = new jspb.BinaryReader(bytes);
38936
- var msg = new proto.zaber.motion.protobufs.SimpleTuningParam;
38937
- return proto.zaber.motion.protobufs.SimpleTuningParam.deserializeBinaryFromReader(msg, reader);
38245
+ var msg = new proto.zaber.motion.protobufs.SimpleTuningParamDefinition;
38246
+ return proto.zaber.motion.protobufs.SimpleTuningParamDefinition.deserializeBinaryFromReader(msg, reader);
38938
38247
  };
38939
38248
 
38940
38249
 
38941
38250
  /**
38942
38251
  * Deserializes binary data (in protobuf wire format) from the
38943
38252
  * given reader into the given message object.
38944
- * @param {!proto.zaber.motion.protobufs.SimpleTuningParam} msg The message object to deserialize into.
38253
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} msg The message object to deserialize into.
38945
38254
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
38946
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParam}
38255
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition}
38947
38256
  */
38948
- proto.zaber.motion.protobufs.SimpleTuningParam.deserializeBinaryFromReader = function(msg, reader) {
38257
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.deserializeBinaryFromReader = function(msg, reader) {
38949
38258
  while (reader.nextField()) {
38950
38259
  if (reader.isEndGroup()) {
38951
38260
  break;
@@ -38981,9 +38290,9 @@ proto.zaber.motion.protobufs.SimpleTuningParam.deserializeBinaryFromReader = fun
38981
38290
  * Serializes the message to binary data (in protobuf wire format).
38982
38291
  * @return {!Uint8Array}
38983
38292
  */
38984
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.serializeBinary = function() {
38293
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.serializeBinary = function() {
38985
38294
  var writer = new jspb.BinaryWriter();
38986
- proto.zaber.motion.protobufs.SimpleTuningParam.serializeBinaryToWriter(this, writer);
38295
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.serializeBinaryToWriter(this, writer);
38987
38296
  return writer.getResultBuffer();
38988
38297
  };
38989
38298
 
@@ -38991,11 +38300,11 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.serializeBinary = funct
38991
38300
  /**
38992
38301
  * Serializes the given message to binary data (in protobuf wire
38993
38302
  * format), writing to the given BinaryWriter.
38994
- * @param {!proto.zaber.motion.protobufs.SimpleTuningParam} message
38303
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} message
38995
38304
  * @param {!jspb.BinaryWriter} writer
38996
38305
  * @suppress {unusedLocalVariables} f is only used for nested messages
38997
38306
  */
38998
- proto.zaber.motion.protobufs.SimpleTuningParam.serializeBinaryToWriter = function(message, writer) {
38307
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.serializeBinaryToWriter = function(message, writer) {
38999
38308
  var f = undefined;
39000
38309
  f = message.getName();
39001
38310
  if (f.length > 0) {
@@ -39032,16 +38341,16 @@ proto.zaber.motion.protobufs.SimpleTuningParam.serializeBinaryToWriter = functio
39032
38341
  * optional string name = 1;
39033
38342
  * @return {string}
39034
38343
  */
39035
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.getName = function() {
38344
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.getName = function() {
39036
38345
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
39037
38346
  };
39038
38347
 
39039
38348
 
39040
38349
  /**
39041
38350
  * @param {string} value
39042
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParam} returns this
38351
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} returns this
39043
38352
  */
39044
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setName = function(value) {
38353
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.setName = function(value) {
39045
38354
  return jspb.Message.setProto3StringField(this, 1, value);
39046
38355
  };
39047
38356
 
@@ -39050,16 +38359,16 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setName = function(valu
39050
38359
  * optional string min_label = 2;
39051
38360
  * @return {string}
39052
38361
  */
39053
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.getMinLabel = function() {
38362
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.getMinLabel = function() {
39054
38363
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
39055
38364
  };
39056
38365
 
39057
38366
 
39058
38367
  /**
39059
38368
  * @param {string} value
39060
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParam} returns this
38369
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} returns this
39061
38370
  */
39062
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setMinLabel = function(value) {
38371
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.setMinLabel = function(value) {
39063
38372
  return jspb.Message.setProto3StringField(this, 2, value);
39064
38373
  };
39065
38374
 
@@ -39068,16 +38377,16 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setMinLabel = function(
39068
38377
  * optional string max_label = 3;
39069
38378
  * @return {string}
39070
38379
  */
39071
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.getMaxLabel = function() {
38380
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.getMaxLabel = function() {
39072
38381
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
39073
38382
  };
39074
38383
 
39075
38384
 
39076
38385
  /**
39077
38386
  * @param {string} value
39078
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParam} returns this
38387
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} returns this
39079
38388
  */
39080
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setMaxLabel = function(value) {
38389
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.setMaxLabel = function(value) {
39081
38390
  return jspb.Message.setProto3StringField(this, 3, value);
39082
38391
  };
39083
38392
 
@@ -39086,16 +38395,16 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setMaxLabel = function(
39086
38395
  * optional string data_type = 4;
39087
38396
  * @return {string}
39088
38397
  */
39089
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.getDataType = function() {
38398
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.getDataType = function() {
39090
38399
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
39091
38400
  };
39092
38401
 
39093
38402
 
39094
38403
  /**
39095
38404
  * @param {string} value
39096
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParam} returns this
38405
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} returns this
39097
38406
  */
39098
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setDataType = function(value) {
38407
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.setDataType = function(value) {
39099
38408
  return jspb.Message.setProto3StringField(this, 4, value);
39100
38409
  };
39101
38410
 
@@ -39106,7 +38415,7 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setDataType = function(
39106
38415
  * @private {!Array<number>}
39107
38416
  * @const
39108
38417
  */
39109
- proto.zaber.motion.protobufs.SimpleTuningParamList.repeatedFields_ = [1];
38418
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.repeatedFields_ = [1];
39110
38419
 
39111
38420
 
39112
38421
 
@@ -39123,8 +38432,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
39123
38432
  * http://goto/soy-param-migration
39124
38433
  * @return {!Object}
39125
38434
  */
39126
- proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.toObject = function(opt_includeInstance) {
39127
- return proto.zaber.motion.protobufs.SimpleTuningParamList.toObject(opt_includeInstance, this);
38435
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.toObject = function(opt_includeInstance) {
38436
+ return proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.toObject(opt_includeInstance, this);
39128
38437
  };
39129
38438
 
39130
38439
 
@@ -39133,14 +38442,14 @@ proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.toObject = function
39133
38442
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
39134
38443
  * the JSPB instance for transitional soy proto support:
39135
38444
  * http://goto/soy-param-migration
39136
- * @param {!proto.zaber.motion.protobufs.SimpleTuningParamList} msg The msg instance to transform.
38445
+ * @param {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse} msg The msg instance to transform.
39137
38446
  * @return {!Object}
39138
38447
  * @suppress {unusedLocalVariables} f is only used for nested messages
39139
38448
  */
39140
- proto.zaber.motion.protobufs.SimpleTuningParamList.toObject = function(includeInstance, msg) {
38449
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.toObject = function(includeInstance, msg) {
39141
38450
  var f, obj = {
39142
38451
  paramsList: jspb.Message.toObjectList(msg.getParamsList(),
39143
- proto.zaber.motion.protobufs.SimpleTuningParam.toObject, includeInstance)
38452
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.toObject, includeInstance)
39144
38453
  };
39145
38454
 
39146
38455
  if (includeInstance) {
@@ -39154,23 +38463,23 @@ proto.zaber.motion.protobufs.SimpleTuningParamList.toObject = function(includeIn
39154
38463
  /**
39155
38464
  * Deserializes binary data (in protobuf wire format).
39156
38465
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
39157
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParamList}
38466
+ * @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse}
39158
38467
  */
39159
- proto.zaber.motion.protobufs.SimpleTuningParamList.deserializeBinary = function(bytes) {
38468
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.deserializeBinary = function(bytes) {
39160
38469
  var reader = new jspb.BinaryReader(bytes);
39161
- var msg = new proto.zaber.motion.protobufs.SimpleTuningParamList;
39162
- return proto.zaber.motion.protobufs.SimpleTuningParamList.deserializeBinaryFromReader(msg, reader);
38470
+ var msg = new proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse;
38471
+ return proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.deserializeBinaryFromReader(msg, reader);
39163
38472
  };
39164
38473
 
39165
38474
 
39166
38475
  /**
39167
38476
  * Deserializes binary data (in protobuf wire format) from the
39168
38477
  * given reader into the given message object.
39169
- * @param {!proto.zaber.motion.protobufs.SimpleTuningParamList} msg The message object to deserialize into.
38478
+ * @param {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse} msg The message object to deserialize into.
39170
38479
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
39171
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParamList}
38480
+ * @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse}
39172
38481
  */
39173
- proto.zaber.motion.protobufs.SimpleTuningParamList.deserializeBinaryFromReader = function(msg, reader) {
38482
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.deserializeBinaryFromReader = function(msg, reader) {
39174
38483
  while (reader.nextField()) {
39175
38484
  if (reader.isEndGroup()) {
39176
38485
  break;
@@ -39178,8 +38487,8 @@ proto.zaber.motion.protobufs.SimpleTuningParamList.deserializeBinaryFromReader =
39178
38487
  var field = reader.getFieldNumber();
39179
38488
  switch (field) {
39180
38489
  case 1:
39181
- var value = new proto.zaber.motion.protobufs.SimpleTuningParam;
39182
- reader.readMessage(value,proto.zaber.motion.protobufs.SimpleTuningParam.deserializeBinaryFromReader);
38490
+ var value = new proto.zaber.motion.protobufs.SimpleTuningParamDefinition;
38491
+ reader.readMessage(value,proto.zaber.motion.protobufs.SimpleTuningParamDefinition.deserializeBinaryFromReader);
39183
38492
  msg.addParams(value);
39184
38493
  break;
39185
38494
  default:
@@ -39195,9 +38504,9 @@ proto.zaber.motion.protobufs.SimpleTuningParamList.deserializeBinaryFromReader =
39195
38504
  * Serializes the message to binary data (in protobuf wire format).
39196
38505
  * @return {!Uint8Array}
39197
38506
  */
39198
- proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.serializeBinary = function() {
38507
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.serializeBinary = function() {
39199
38508
  var writer = new jspb.BinaryWriter();
39200
- proto.zaber.motion.protobufs.SimpleTuningParamList.serializeBinaryToWriter(this, writer);
38509
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.serializeBinaryToWriter(this, writer);
39201
38510
  return writer.getResultBuffer();
39202
38511
  };
39203
38512
 
@@ -39205,57 +38514,57 @@ proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.serializeBinary = f
39205
38514
  /**
39206
38515
  * Serializes the given message to binary data (in protobuf wire
39207
38516
  * format), writing to the given BinaryWriter.
39208
- * @param {!proto.zaber.motion.protobufs.SimpleTuningParamList} message
38517
+ * @param {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse} message
39209
38518
  * @param {!jspb.BinaryWriter} writer
39210
38519
  * @suppress {unusedLocalVariables} f is only used for nested messages
39211
38520
  */
39212
- proto.zaber.motion.protobufs.SimpleTuningParamList.serializeBinaryToWriter = function(message, writer) {
38521
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.serializeBinaryToWriter = function(message, writer) {
39213
38522
  var f = undefined;
39214
38523
  f = message.getParamsList();
39215
38524
  if (f.length > 0) {
39216
38525
  writer.writeRepeatedMessage(
39217
38526
  1,
39218
38527
  f,
39219
- proto.zaber.motion.protobufs.SimpleTuningParam.serializeBinaryToWriter
38528
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.serializeBinaryToWriter
39220
38529
  );
39221
38530
  }
39222
38531
  };
39223
38532
 
39224
38533
 
39225
38534
  /**
39226
- * repeated SimpleTuningParam params = 1;
39227
- * @return {!Array<!proto.zaber.motion.protobufs.SimpleTuningParam>}
38535
+ * repeated SimpleTuningParamDefinition params = 1;
38536
+ * @return {!Array<!proto.zaber.motion.protobufs.SimpleTuningParamDefinition>}
39228
38537
  */
39229
- proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.getParamsList = function() {
39230
- return /** @type{!Array<!proto.zaber.motion.protobufs.SimpleTuningParam>} */ (
39231
- jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.SimpleTuningParam, 1));
38538
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.getParamsList = function() {
38539
+ return /** @type{!Array<!proto.zaber.motion.protobufs.SimpleTuningParamDefinition>} */ (
38540
+ jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.SimpleTuningParamDefinition, 1));
39232
38541
  };
39233
38542
 
39234
38543
 
39235
38544
  /**
39236
- * @param {!Array<!proto.zaber.motion.protobufs.SimpleTuningParam>} value
39237
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParamList} returns this
38545
+ * @param {!Array<!proto.zaber.motion.protobufs.SimpleTuningParamDefinition>} value
38546
+ * @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse} returns this
39238
38547
  */
39239
- proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.setParamsList = function(value) {
38548
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.setParamsList = function(value) {
39240
38549
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
39241
38550
  };
39242
38551
 
39243
38552
 
39244
38553
  /**
39245
- * @param {!proto.zaber.motion.protobufs.SimpleTuningParam=} opt_value
38554
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition=} opt_value
39246
38555
  * @param {number=} opt_index
39247
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParam}
38556
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition}
39248
38557
  */
39249
- proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.addParams = function(opt_value, opt_index) {
39250
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.zaber.motion.protobufs.SimpleTuningParam, opt_index);
38558
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.addParams = function(opt_value, opt_index) {
38559
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.zaber.motion.protobufs.SimpleTuningParamDefinition, opt_index);
39251
38560
  };
39252
38561
 
39253
38562
 
39254
38563
  /**
39255
38564
  * Clears the list making it empty but non-null.
39256
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParamList} returns this
38565
+ * @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse} returns this
39257
38566
  */
39258
- proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.clearParamsList = function() {
38567
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.clearParamsList = function() {
39259
38568
  return this.setParamsList([]);
39260
38569
  };
39261
38570
 
@@ -43553,9 +42862,259 @@ proto.zaber.motion.protobufs.DeviceGetStorageRequest.serializeBinaryToWriter = f
43553
42862
  f
43554
42863
  );
43555
42864
  }
43556
- f = message.getDecode();
43557
- if (f) {
43558
- writer.writeBool(
42865
+ f = message.getDecode();
42866
+ if (f) {
42867
+ writer.writeBool(
42868
+ 5,
42869
+ f
42870
+ );
42871
+ }
42872
+ };
42873
+
42874
+
42875
+ /**
42876
+ * optional int32 interface_id = 1;
42877
+ * @return {number}
42878
+ */
42879
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getInterfaceId = function() {
42880
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
42881
+ };
42882
+
42883
+
42884
+ /**
42885
+ * @param {number} value
42886
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
42887
+ */
42888
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setInterfaceId = function(value) {
42889
+ return jspb.Message.setProto3IntField(this, 1, value);
42890
+ };
42891
+
42892
+
42893
+ /**
42894
+ * optional int32 device = 2;
42895
+ * @return {number}
42896
+ */
42897
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getDevice = function() {
42898
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
42899
+ };
42900
+
42901
+
42902
+ /**
42903
+ * @param {number} value
42904
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
42905
+ */
42906
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDevice = function(value) {
42907
+ return jspb.Message.setProto3IntField(this, 2, value);
42908
+ };
42909
+
42910
+
42911
+ /**
42912
+ * optional int32 axis = 3;
42913
+ * @return {number}
42914
+ */
42915
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getAxis = function() {
42916
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
42917
+ };
42918
+
42919
+
42920
+ /**
42921
+ * @param {number} value
42922
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
42923
+ */
42924
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setAxis = function(value) {
42925
+ return jspb.Message.setProto3IntField(this, 3, value);
42926
+ };
42927
+
42928
+
42929
+ /**
42930
+ * optional string key = 4;
42931
+ * @return {string}
42932
+ */
42933
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getKey = function() {
42934
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
42935
+ };
42936
+
42937
+
42938
+ /**
42939
+ * @param {string} value
42940
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
42941
+ */
42942
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setKey = function(value) {
42943
+ return jspb.Message.setProto3StringField(this, 4, value);
42944
+ };
42945
+
42946
+
42947
+ /**
42948
+ * optional bool decode = 5;
42949
+ * @return {boolean}
42950
+ */
42951
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getDecode = function() {
42952
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
42953
+ };
42954
+
42955
+
42956
+ /**
42957
+ * @param {boolean} value
42958
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
42959
+ */
42960
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDecode = function(value) {
42961
+ return jspb.Message.setProto3BooleanField(this, 5, value);
42962
+ };
42963
+
42964
+
42965
+
42966
+
42967
+
42968
+ if (jspb.Message.GENERATE_TO_OBJECT) {
42969
+ /**
42970
+ * Creates an object representation of this proto.
42971
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
42972
+ * Optional fields that are not set will be set to undefined.
42973
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
42974
+ * For the list of reserved names please see:
42975
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
42976
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
42977
+ * JSPB instance for transitional soy proto support:
42978
+ * http://goto/soy-param-migration
42979
+ * @return {!Object}
42980
+ */
42981
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.toObject = function(opt_includeInstance) {
42982
+ return proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject(opt_includeInstance, this);
42983
+ };
42984
+
42985
+
42986
+ /**
42987
+ * Static version of the {@see toObject} method.
42988
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
42989
+ * the JSPB instance for transitional soy proto support:
42990
+ * http://goto/soy-param-migration
42991
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} msg The msg instance to transform.
42992
+ * @return {!Object}
42993
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42994
+ */
42995
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject = function(includeInstance, msg) {
42996
+ var f, obj = {
42997
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
42998
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
42999
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
43000
+ key: jspb.Message.getFieldWithDefault(msg, 4, ""),
43001
+ value: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
43002
+ };
43003
+
43004
+ if (includeInstance) {
43005
+ obj.$jspbMessageInstance = msg;
43006
+ }
43007
+ return obj;
43008
+ };
43009
+ }
43010
+
43011
+
43012
+ /**
43013
+ * Deserializes binary data (in protobuf wire format).
43014
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
43015
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest}
43016
+ */
43017
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinary = function(bytes) {
43018
+ var reader = new jspb.BinaryReader(bytes);
43019
+ var msg = new proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest;
43020
+ return proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFromReader(msg, reader);
43021
+ };
43022
+
43023
+
43024
+ /**
43025
+ * Deserializes binary data (in protobuf wire format) from the
43026
+ * given reader into the given message object.
43027
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} msg The message object to deserialize into.
43028
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43029
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest}
43030
+ */
43031
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFromReader = function(msg, reader) {
43032
+ while (reader.nextField()) {
43033
+ if (reader.isEndGroup()) {
43034
+ break;
43035
+ }
43036
+ var field = reader.getFieldNumber();
43037
+ switch (field) {
43038
+ case 1:
43039
+ var value = /** @type {number} */ (reader.readInt32());
43040
+ msg.setInterfaceId(value);
43041
+ break;
43042
+ case 2:
43043
+ var value = /** @type {number} */ (reader.readInt32());
43044
+ msg.setDevice(value);
43045
+ break;
43046
+ case 3:
43047
+ var value = /** @type {number} */ (reader.readInt32());
43048
+ msg.setAxis(value);
43049
+ break;
43050
+ case 4:
43051
+ var value = /** @type {string} */ (reader.readString());
43052
+ msg.setKey(value);
43053
+ break;
43054
+ case 5:
43055
+ var value = /** @type {number} */ (reader.readDouble());
43056
+ msg.setValue(value);
43057
+ break;
43058
+ default:
43059
+ reader.skipField();
43060
+ break;
43061
+ }
43062
+ }
43063
+ return msg;
43064
+ };
43065
+
43066
+
43067
+ /**
43068
+ * Serializes the message to binary data (in protobuf wire format).
43069
+ * @return {!Uint8Array}
43070
+ */
43071
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.serializeBinary = function() {
43072
+ var writer = new jspb.BinaryWriter();
43073
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWriter(this, writer);
43074
+ return writer.getResultBuffer();
43075
+ };
43076
+
43077
+
43078
+ /**
43079
+ * Serializes the given message to binary data (in protobuf wire
43080
+ * format), writing to the given BinaryWriter.
43081
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} message
43082
+ * @param {!jspb.BinaryWriter} writer
43083
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43084
+ */
43085
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWriter = function(message, writer) {
43086
+ var f = undefined;
43087
+ f = message.getInterfaceId();
43088
+ if (f !== 0) {
43089
+ writer.writeInt32(
43090
+ 1,
43091
+ f
43092
+ );
43093
+ }
43094
+ f = message.getDevice();
43095
+ if (f !== 0) {
43096
+ writer.writeInt32(
43097
+ 2,
43098
+ f
43099
+ );
43100
+ }
43101
+ f = message.getAxis();
43102
+ if (f !== 0) {
43103
+ writer.writeInt32(
43104
+ 3,
43105
+ f
43106
+ );
43107
+ }
43108
+ f = message.getKey();
43109
+ if (f.length > 0) {
43110
+ writer.writeString(
43111
+ 4,
43112
+ f
43113
+ );
43114
+ }
43115
+ f = message.getValue();
43116
+ if (f !== 0.0) {
43117
+ writer.writeDouble(
43559
43118
  5,
43560
43119
  f
43561
43120
  );
@@ -43567,16 +43126,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageRequest.serializeBinaryToWriter = f
43567
43126
  * optional int32 interface_id = 1;
43568
43127
  * @return {number}
43569
43128
  */
43570
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getInterfaceId = function() {
43129
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getInterfaceId = function() {
43571
43130
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
43572
43131
  };
43573
43132
 
43574
43133
 
43575
43134
  /**
43576
43135
  * @param {number} value
43577
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
43136
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43578
43137
  */
43579
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setInterfaceId = function(value) {
43138
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setInterfaceId = function(value) {
43580
43139
  return jspb.Message.setProto3IntField(this, 1, value);
43581
43140
  };
43582
43141
 
@@ -43585,16 +43144,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setInterfaceId =
43585
43144
  * optional int32 device = 2;
43586
43145
  * @return {number}
43587
43146
  */
43588
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getDevice = function() {
43147
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getDevice = function() {
43589
43148
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
43590
43149
  };
43591
43150
 
43592
43151
 
43593
43152
  /**
43594
43153
  * @param {number} value
43595
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
43154
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43596
43155
  */
43597
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDevice = function(value) {
43156
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setDevice = function(value) {
43598
43157
  return jspb.Message.setProto3IntField(this, 2, value);
43599
43158
  };
43600
43159
 
@@ -43603,16 +43162,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDevice = funct
43603
43162
  * optional int32 axis = 3;
43604
43163
  * @return {number}
43605
43164
  */
43606
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getAxis = function() {
43165
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getAxis = function() {
43607
43166
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
43608
43167
  };
43609
43168
 
43610
43169
 
43611
43170
  /**
43612
43171
  * @param {number} value
43613
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
43172
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43614
43173
  */
43615
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setAxis = function(value) {
43174
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setAxis = function(value) {
43616
43175
  return jspb.Message.setProto3IntField(this, 3, value);
43617
43176
  };
43618
43177
 
@@ -43621,35 +43180,35 @@ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setAxis = functio
43621
43180
  * optional string key = 4;
43622
43181
  * @return {string}
43623
43182
  */
43624
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getKey = function() {
43183
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getKey = function() {
43625
43184
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
43626
43185
  };
43627
43186
 
43628
43187
 
43629
43188
  /**
43630
43189
  * @param {string} value
43631
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
43190
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43632
43191
  */
43633
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setKey = function(value) {
43192
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setKey = function(value) {
43634
43193
  return jspb.Message.setProto3StringField(this, 4, value);
43635
43194
  };
43636
43195
 
43637
43196
 
43638
43197
  /**
43639
- * optional bool decode = 5;
43640
- * @return {boolean}
43198
+ * optional double value = 5;
43199
+ * @return {number}
43641
43200
  */
43642
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getDecode = function() {
43643
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
43201
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getValue = function() {
43202
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
43644
43203
  };
43645
43204
 
43646
43205
 
43647
43206
  /**
43648
- * @param {boolean} value
43649
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
43207
+ * @param {number} value
43208
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43650
43209
  */
43651
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDecode = function(value) {
43652
- return jspb.Message.setProto3BooleanField(this, 5, value);
43210
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setValue = function(value) {
43211
+ return jspb.Message.setProto3FloatField(this, 5, value);
43653
43212
  };
43654
43213
 
43655
43214
 
@@ -43669,8 +43228,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
43669
43228
  * http://goto/soy-param-migration
43670
43229
  * @return {!Object}
43671
43230
  */
43672
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.toObject = function(opt_includeInstance) {
43673
- return proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject(opt_includeInstance, this);
43231
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.toObject = function(opt_includeInstance) {
43232
+ return proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject(opt_includeInstance, this);
43674
43233
  };
43675
43234
 
43676
43235
 
@@ -43679,17 +43238,17 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.toObject =
43679
43238
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
43680
43239
  * the JSPB instance for transitional soy proto support:
43681
43240
  * http://goto/soy-param-migration
43682
- * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} msg The msg instance to transform.
43241
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} msg The msg instance to transform.
43683
43242
  * @return {!Object}
43684
43243
  * @suppress {unusedLocalVariables} f is only used for nested messages
43685
43244
  */
43686
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject = function(includeInstance, msg) {
43245
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject = function(includeInstance, msg) {
43687
43246
  var f, obj = {
43688
43247
  interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
43689
43248
  device: jspb.Message.getFieldWithDefault(msg, 2, 0),
43690
43249
  axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
43691
43250
  key: jspb.Message.getFieldWithDefault(msg, 4, ""),
43692
- value: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
43251
+ value: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
43693
43252
  };
43694
43253
 
43695
43254
  if (includeInstance) {
@@ -43703,23 +43262,23 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject = function(i
43703
43262
  /**
43704
43263
  * Deserializes binary data (in protobuf wire format).
43705
43264
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
43706
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest}
43265
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest}
43707
43266
  */
43708
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinary = function(bytes) {
43267
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinary = function(bytes) {
43709
43268
  var reader = new jspb.BinaryReader(bytes);
43710
- var msg = new proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest;
43711
- return proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFromReader(msg, reader);
43269
+ var msg = new proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest;
43270
+ return proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromReader(msg, reader);
43712
43271
  };
43713
43272
 
43714
43273
 
43715
43274
  /**
43716
43275
  * Deserializes binary data (in protobuf wire format) from the
43717
43276
  * given reader into the given message object.
43718
- * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} msg The message object to deserialize into.
43277
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} msg The message object to deserialize into.
43719
43278
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43720
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest}
43279
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest}
43721
43280
  */
43722
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFromReader = function(msg, reader) {
43281
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromReader = function(msg, reader) {
43723
43282
  while (reader.nextField()) {
43724
43283
  if (reader.isEndGroup()) {
43725
43284
  break;
@@ -43743,7 +43302,7 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFrom
43743
43302
  msg.setKey(value);
43744
43303
  break;
43745
43304
  case 5:
43746
- var value = /** @type {number} */ (reader.readDouble());
43305
+ var value = /** @type {boolean} */ (reader.readBool());
43747
43306
  msg.setValue(value);
43748
43307
  break;
43749
43308
  default:
@@ -43759,9 +43318,9 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFrom
43759
43318
  * Serializes the message to binary data (in protobuf wire format).
43760
43319
  * @return {!Uint8Array}
43761
43320
  */
43762
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.serializeBinary = function() {
43321
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.serializeBinary = function() {
43763
43322
  var writer = new jspb.BinaryWriter();
43764
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWriter(this, writer);
43323
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter(this, writer);
43765
43324
  return writer.getResultBuffer();
43766
43325
  };
43767
43326
 
@@ -43769,11 +43328,11 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.serializeBi
43769
43328
  /**
43770
43329
  * Serializes the given message to binary data (in protobuf wire
43771
43330
  * format), writing to the given BinaryWriter.
43772
- * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} message
43331
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} message
43773
43332
  * @param {!jspb.BinaryWriter} writer
43774
43333
  * @suppress {unusedLocalVariables} f is only used for nested messages
43775
43334
  */
43776
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWriter = function(message, writer) {
43335
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter = function(message, writer) {
43777
43336
  var f = undefined;
43778
43337
  f = message.getInterfaceId();
43779
43338
  if (f !== 0) {
@@ -43804,8 +43363,8 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWrit
43804
43363
  );
43805
43364
  }
43806
43365
  f = message.getValue();
43807
- if (f !== 0.0) {
43808
- writer.writeDouble(
43366
+ if (f) {
43367
+ writer.writeBool(
43809
43368
  5,
43810
43369
  f
43811
43370
  );
@@ -43817,16 +43376,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWrit
43817
43376
  * optional int32 interface_id = 1;
43818
43377
  * @return {number}
43819
43378
  */
43820
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getInterfaceId = function() {
43379
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getInterfaceId = function() {
43821
43380
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
43822
43381
  };
43823
43382
 
43824
43383
 
43825
43384
  /**
43826
43385
  * @param {number} value
43827
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43386
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
43828
43387
  */
43829
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setInterfaceId = function(value) {
43388
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setInterfaceId = function(value) {
43830
43389
  return jspb.Message.setProto3IntField(this, 1, value);
43831
43390
  };
43832
43391
 
@@ -43835,16 +43394,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setInterfac
43835
43394
  * optional int32 device = 2;
43836
43395
  * @return {number}
43837
43396
  */
43838
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getDevice = function() {
43397
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getDevice = function() {
43839
43398
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
43840
43399
  };
43841
43400
 
43842
43401
 
43843
43402
  /**
43844
43403
  * @param {number} value
43845
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43404
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
43846
43405
  */
43847
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setDevice = function(value) {
43406
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setDevice = function(value) {
43848
43407
  return jspb.Message.setProto3IntField(this, 2, value);
43849
43408
  };
43850
43409
 
@@ -43853,16 +43412,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setDevice =
43853
43412
  * optional int32 axis = 3;
43854
43413
  * @return {number}
43855
43414
  */
43856
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getAxis = function() {
43415
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getAxis = function() {
43857
43416
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
43858
43417
  };
43859
43418
 
43860
43419
 
43861
43420
  /**
43862
43421
  * @param {number} value
43863
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43422
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
43864
43423
  */
43865
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setAxis = function(value) {
43424
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setAxis = function(value) {
43866
43425
  return jspb.Message.setProto3IntField(this, 3, value);
43867
43426
  };
43868
43427
 
@@ -43871,35 +43430,35 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setAxis = f
43871
43430
  * optional string key = 4;
43872
43431
  * @return {string}
43873
43432
  */
43874
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getKey = function() {
43433
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getKey = function() {
43875
43434
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
43876
43435
  };
43877
43436
 
43878
43437
 
43879
43438
  /**
43880
43439
  * @param {string} value
43881
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43440
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
43882
43441
  */
43883
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setKey = function(value) {
43442
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setKey = function(value) {
43884
43443
  return jspb.Message.setProto3StringField(this, 4, value);
43885
43444
  };
43886
43445
 
43887
43446
 
43888
43447
  /**
43889
- * optional double value = 5;
43890
- * @return {number}
43448
+ * optional bool value = 5;
43449
+ * @return {boolean}
43891
43450
  */
43892
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getValue = function() {
43893
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
43451
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getValue = function() {
43452
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
43894
43453
  };
43895
43454
 
43896
43455
 
43897
43456
  /**
43898
- * @param {number} value
43899
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43457
+ * @param {boolean} value
43458
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
43900
43459
  */
43901
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setValue = function(value) {
43902
- return jspb.Message.setProto3FloatField(this, 5, value);
43460
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setValue = function(value) {
43461
+ return jspb.Message.setProto3BooleanField(this, 5, value);
43903
43462
  };
43904
43463
 
43905
43464
 
@@ -43919,8 +43478,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
43919
43478
  * http://goto/soy-param-migration
43920
43479
  * @return {!Object}
43921
43480
  */
43922
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.toObject = function(opt_includeInstance) {
43923
- return proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.toObject(opt_includeInstance, this);
43481
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.toObject = function(opt_includeInstance) {
43482
+ return proto.zaber.motion.protobufs.DeviceStorageRequest.toObject(opt_includeInstance, this);
43924
43483
  };
43925
43484
 
43926
43485
 
@@ -43929,11 +43488,11 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.toObject =
43929
43488
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
43930
43489
  * the JSPB instance for transitional soy proto support:
43931
43490
  * http://goto/soy-param-migration
43932
- * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} msg The msg instance to transform.
43491
+ * @param {!proto.zaber.motion.protobufs.DeviceStorageRequest} msg The msg instance to transform.
43933
43492
  * @return {!Object}
43934
43493
  * @suppress {unusedLocalVariables} f is only used for nested messages
43935
43494
  */
43936
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.toObject = function(includeInstance, msg) {
43495
+ proto.zaber.motion.protobufs.DeviceStorageRequest.toObject = function(includeInstance, msg) {
43937
43496
  var f, obj = {
43938
43497
  interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
43939
43498
  device: jspb.Message.getFieldWithDefault(msg, 2, 0),
@@ -43952,23 +43511,23 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.toObject = function(i
43952
43511
  /**
43953
43512
  * Deserializes binary data (in protobuf wire format).
43954
43513
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
43955
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest}
43514
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageRequest}
43956
43515
  */
43957
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.deserializeBinary = function(bytes) {
43516
+ proto.zaber.motion.protobufs.DeviceStorageRequest.deserializeBinary = function(bytes) {
43958
43517
  var reader = new jspb.BinaryReader(bytes);
43959
- var msg = new proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest;
43960
- return proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.deserializeBinaryFromReader(msg, reader);
43518
+ var msg = new proto.zaber.motion.protobufs.DeviceStorageRequest;
43519
+ return proto.zaber.motion.protobufs.DeviceStorageRequest.deserializeBinaryFromReader(msg, reader);
43961
43520
  };
43962
43521
 
43963
43522
 
43964
43523
  /**
43965
43524
  * Deserializes binary data (in protobuf wire format) from the
43966
43525
  * given reader into the given message object.
43967
- * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} msg The message object to deserialize into.
43526
+ * @param {!proto.zaber.motion.protobufs.DeviceStorageRequest} msg The message object to deserialize into.
43968
43527
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43969
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest}
43528
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageRequest}
43970
43529
  */
43971
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.deserializeBinaryFromReader = function(msg, reader) {
43530
+ proto.zaber.motion.protobufs.DeviceStorageRequest.deserializeBinaryFromReader = function(msg, reader) {
43972
43531
  while (reader.nextField()) {
43973
43532
  if (reader.isEndGroup()) {
43974
43533
  break;
@@ -44004,9 +43563,9 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.deserializeBinaryFrom
44004
43563
  * Serializes the message to binary data (in protobuf wire format).
44005
43564
  * @return {!Uint8Array}
44006
43565
  */
44007
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.serializeBinary = function() {
43566
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.serializeBinary = function() {
44008
43567
  var writer = new jspb.BinaryWriter();
44009
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.serializeBinaryToWriter(this, writer);
43568
+ proto.zaber.motion.protobufs.DeviceStorageRequest.serializeBinaryToWriter(this, writer);
44010
43569
  return writer.getResultBuffer();
44011
43570
  };
44012
43571
 
@@ -44014,11 +43573,11 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.serializeBi
44014
43573
  /**
44015
43574
  * Serializes the given message to binary data (in protobuf wire
44016
43575
  * format), writing to the given BinaryWriter.
44017
- * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} message
43576
+ * @param {!proto.zaber.motion.protobufs.DeviceStorageRequest} message
44018
43577
  * @param {!jspb.BinaryWriter} writer
44019
43578
  * @suppress {unusedLocalVariables} f is only used for nested messages
44020
43579
  */
44021
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.serializeBinaryToWriter = function(message, writer) {
43580
+ proto.zaber.motion.protobufs.DeviceStorageRequest.serializeBinaryToWriter = function(message, writer) {
44022
43581
  var f = undefined;
44023
43582
  f = message.getInterfaceId();
44024
43583
  if (f !== 0) {
@@ -44055,16 +43614,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.serializeBinaryToWrit
44055
43614
  * optional int32 interface_id = 1;
44056
43615
  * @return {number}
44057
43616
  */
44058
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.getInterfaceId = function() {
43617
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.getInterfaceId = function() {
44059
43618
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
44060
43619
  };
44061
43620
 
44062
43621
 
44063
43622
  /**
44064
43623
  * @param {number} value
44065
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} returns this
43624
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageRequest} returns this
44066
43625
  */
44067
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setInterfaceId = function(value) {
43626
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.setInterfaceId = function(value) {
44068
43627
  return jspb.Message.setProto3IntField(this, 1, value);
44069
43628
  };
44070
43629
 
@@ -44073,16 +43632,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setInterfac
44073
43632
  * optional int32 device = 2;
44074
43633
  * @return {number}
44075
43634
  */
44076
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.getDevice = function() {
43635
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.getDevice = function() {
44077
43636
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
44078
43637
  };
44079
43638
 
44080
43639
 
44081
43640
  /**
44082
43641
  * @param {number} value
44083
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} returns this
43642
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageRequest} returns this
44084
43643
  */
44085
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setDevice = function(value) {
43644
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.setDevice = function(value) {
44086
43645
  return jspb.Message.setProto3IntField(this, 2, value);
44087
43646
  };
44088
43647
 
@@ -44091,16 +43650,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setDevice =
44091
43650
  * optional int32 axis = 3;
44092
43651
  * @return {number}
44093
43652
  */
44094
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.getAxis = function() {
43653
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.getAxis = function() {
44095
43654
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
44096
43655
  };
44097
43656
 
44098
43657
 
44099
43658
  /**
44100
43659
  * @param {number} value
44101
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} returns this
43660
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageRequest} returns this
44102
43661
  */
44103
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setAxis = function(value) {
43662
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.setAxis = function(value) {
44104
43663
  return jspb.Message.setProto3IntField(this, 3, value);
44105
43664
  };
44106
43665
 
@@ -44109,21 +43668,28 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setAxis = f
44109
43668
  * optional string key = 4;
44110
43669
  * @return {string}
44111
43670
  */
44112
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.getKey = function() {
43671
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.getKey = function() {
44113
43672
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
44114
43673
  };
44115
43674
 
44116
43675
 
44117
43676
  /**
44118
43677
  * @param {string} value
44119
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} returns this
43678
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageRequest} returns this
44120
43679
  */
44121
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setKey = function(value) {
43680
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.setKey = function(value) {
44122
43681
  return jspb.Message.setProto3StringField(this, 4, value);
44123
43682
  };
44124
43683
 
44125
43684
 
44126
43685
 
43686
+ /**
43687
+ * List of repeated fields within this message type.
43688
+ * @private {!Array<number>}
43689
+ * @const
43690
+ */
43691
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.repeatedFields_ = [5];
43692
+
44127
43693
 
44128
43694
 
44129
43695
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -44139,8 +43705,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
44139
43705
  * http://goto/soy-param-migration
44140
43706
  * @return {!Object}
44141
43707
  */
44142
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.toObject = function(opt_includeInstance) {
44143
- return proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject(opt_includeInstance, this);
43708
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.toObject = function(opt_includeInstance) {
43709
+ return proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.toObject(opt_includeInstance, this);
44144
43710
  };
44145
43711
 
44146
43712
 
@@ -44149,17 +43715,18 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.toObject = fu
44149
43715
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
44150
43716
  * the JSPB instance for transitional soy proto support:
44151
43717
  * http://goto/soy-param-migration
44152
- * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} msg The msg instance to transform.
43718
+ * @param {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} msg The msg instance to transform.
44153
43719
  * @return {!Object}
44154
43720
  * @suppress {unusedLocalVariables} f is only used for nested messages
44155
43721
  */
44156
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject = function(includeInstance, msg) {
43722
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.toObject = function(includeInstance, msg) {
44157
43723
  var f, obj = {
44158
43724
  interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
44159
43725
  device: jspb.Message.getFieldWithDefault(msg, 2, 0),
44160
43726
  axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
44161
43727
  key: jspb.Message.getFieldWithDefault(msg, 4, ""),
44162
- value: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
43728
+ conversionsList: jspb.Message.toObjectList(msg.getConversionsList(),
43729
+ proto.zaber.motion.protobufs.ConversionFactor.toObject, includeInstance)
44163
43730
  };
44164
43731
 
44165
43732
  if (includeInstance) {
@@ -44173,23 +43740,23 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject = function(inc
44173
43740
  /**
44174
43741
  * Deserializes binary data (in protobuf wire format).
44175
43742
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
44176
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest}
43743
+ * @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest}
44177
43744
  */
44178
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinary = function(bytes) {
43745
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.deserializeBinary = function(bytes) {
44179
43746
  var reader = new jspb.BinaryReader(bytes);
44180
- var msg = new proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest;
44181
- return proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromReader(msg, reader);
43747
+ var msg = new proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest;
43748
+ return proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.deserializeBinaryFromReader(msg, reader);
44182
43749
  };
44183
43750
 
44184
43751
 
44185
43752
  /**
44186
43753
  * Deserializes binary data (in protobuf wire format) from the
44187
43754
  * given reader into the given message object.
44188
- * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} msg The message object to deserialize into.
43755
+ * @param {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} msg The message object to deserialize into.
44189
43756
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
44190
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest}
43757
+ * @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest}
44191
43758
  */
44192
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromReader = function(msg, reader) {
43759
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.deserializeBinaryFromReader = function(msg, reader) {
44193
43760
  while (reader.nextField()) {
44194
43761
  if (reader.isEndGroup()) {
44195
43762
  break;
@@ -44213,8 +43780,9 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromRe
44213
43780
  msg.setKey(value);
44214
43781
  break;
44215
43782
  case 5:
44216
- var value = /** @type {boolean} */ (reader.readBool());
44217
- msg.setValue(value);
43783
+ var value = new proto.zaber.motion.protobufs.ConversionFactor;
43784
+ reader.readMessage(value,proto.zaber.motion.protobufs.ConversionFactor.deserializeBinaryFromReader);
43785
+ msg.addConversions(value);
44218
43786
  break;
44219
43787
  default:
44220
43788
  reader.skipField();
@@ -44229,9 +43797,9 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromRe
44229
43797
  * Serializes the message to binary data (in protobuf wire format).
44230
43798
  * @return {!Uint8Array}
44231
43799
  */
44232
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.serializeBinary = function() {
43800
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.serializeBinary = function() {
44233
43801
  var writer = new jspb.BinaryWriter();
44234
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter(this, writer);
43802
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.serializeBinaryToWriter(this, writer);
44235
43803
  return writer.getResultBuffer();
44236
43804
  };
44237
43805
 
@@ -44239,11 +43807,11 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.serializeBina
44239
43807
  /**
44240
43808
  * Serializes the given message to binary data (in protobuf wire
44241
43809
  * format), writing to the given BinaryWriter.
44242
- * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} message
43810
+ * @param {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} message
44243
43811
  * @param {!jspb.BinaryWriter} writer
44244
43812
  * @suppress {unusedLocalVariables} f is only used for nested messages
44245
43813
  */
44246
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter = function(message, writer) {
43814
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.serializeBinaryToWriter = function(message, writer) {
44247
43815
  var f = undefined;
44248
43816
  f = message.getInterfaceId();
44249
43817
  if (f !== 0) {
@@ -44273,11 +43841,12 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter
44273
43841
  f
44274
43842
  );
44275
43843
  }
44276
- f = message.getValue();
44277
- if (f) {
44278
- writer.writeBool(
43844
+ f = message.getConversionsList();
43845
+ if (f.length > 0) {
43846
+ writer.writeRepeatedMessage(
44279
43847
  5,
44280
- f
43848
+ f,
43849
+ proto.zaber.motion.protobufs.ConversionFactor.serializeBinaryToWriter
44281
43850
  );
44282
43851
  }
44283
43852
  };
@@ -44287,16 +43856,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter
44287
43856
  * optional int32 interface_id = 1;
44288
43857
  * @return {number}
44289
43858
  */
44290
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getInterfaceId = function() {
43859
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.getInterfaceId = function() {
44291
43860
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
44292
43861
  };
44293
43862
 
44294
43863
 
44295
43864
  /**
44296
43865
  * @param {number} value
44297
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
43866
+ * @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
44298
43867
  */
44299
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setInterfaceId = function(value) {
43868
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.setInterfaceId = function(value) {
44300
43869
  return jspb.Message.setProto3IntField(this, 1, value);
44301
43870
  };
44302
43871
 
@@ -44305,16 +43874,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setInterfaceI
44305
43874
  * optional int32 device = 2;
44306
43875
  * @return {number}
44307
43876
  */
44308
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getDevice = function() {
43877
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.getDevice = function() {
44309
43878
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
44310
43879
  };
44311
43880
 
44312
43881
 
44313
43882
  /**
44314
43883
  * @param {number} value
44315
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
43884
+ * @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
44316
43885
  */
44317
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setDevice = function(value) {
43886
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.setDevice = function(value) {
44318
43887
  return jspb.Message.setProto3IntField(this, 2, value);
44319
43888
  };
44320
43889
 
@@ -44323,16 +43892,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setDevice = f
44323
43892
  * optional int32 axis = 3;
44324
43893
  * @return {number}
44325
43894
  */
44326
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getAxis = function() {
43895
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.getAxis = function() {
44327
43896
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
44328
43897
  };
44329
43898
 
44330
43899
 
44331
43900
  /**
44332
43901
  * @param {number} value
44333
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
43902
+ * @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
44334
43903
  */
44335
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setAxis = function(value) {
43904
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.setAxis = function(value) {
44336
43905
  return jspb.Message.setProto3IntField(this, 3, value);
44337
43906
  };
44338
43907
 
@@ -44341,35 +43910,55 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setAxis = fun
44341
43910
  * optional string key = 4;
44342
43911
  * @return {string}
44343
43912
  */
44344
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getKey = function() {
43913
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.getKey = function() {
44345
43914
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
44346
43915
  };
44347
43916
 
44348
43917
 
44349
43918
  /**
44350
43919
  * @param {string} value
44351
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
43920
+ * @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
44352
43921
  */
44353
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setKey = function(value) {
43922
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.setKey = function(value) {
44354
43923
  return jspb.Message.setProto3StringField(this, 4, value);
44355
43924
  };
44356
43925
 
44357
43926
 
44358
43927
  /**
44359
- * optional bool value = 5;
44360
- * @return {boolean}
43928
+ * repeated ConversionFactor conversions = 5;
43929
+ * @return {!Array<!proto.zaber.motion.protobufs.ConversionFactor>}
44361
43930
  */
44362
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getValue = function() {
44363
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
43931
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.getConversionsList = function() {
43932
+ return /** @type{!Array<!proto.zaber.motion.protobufs.ConversionFactor>} */ (
43933
+ jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.ConversionFactor, 5));
44364
43934
  };
44365
43935
 
44366
43936
 
44367
43937
  /**
44368
- * @param {boolean} value
44369
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
43938
+ * @param {!Array<!proto.zaber.motion.protobufs.ConversionFactor>} value
43939
+ * @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
43940
+ */
43941
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.setConversionsList = function(value) {
43942
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
43943
+ };
43944
+
43945
+
43946
+ /**
43947
+ * @param {!proto.zaber.motion.protobufs.ConversionFactor=} opt_value
43948
+ * @param {number=} opt_index
43949
+ * @return {!proto.zaber.motion.protobufs.ConversionFactor}
44370
43950
  */
44371
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setValue = function(value) {
44372
- return jspb.Message.setProto3BooleanField(this, 5, value);
43951
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.addConversions = function(opt_value, opt_index) {
43952
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.zaber.motion.protobufs.ConversionFactor, opt_index);
43953
+ };
43954
+
43955
+
43956
+ /**
43957
+ * Clears the list making it empty but non-null.
43958
+ * @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
43959
+ */
43960
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.clearConversionsList = function() {
43961
+ return this.setConversionsList([]);
44373
43962
  };
44374
43963
 
44375
43964
 
@@ -44389,8 +43978,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
44389
43978
  * http://goto/soy-param-migration
44390
43979
  * @return {!Object}
44391
43980
  */
44392
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.toObject = function(opt_includeInstance) {
44393
- return proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.toObject(opt_includeInstance, this);
43981
+ proto.zaber.motion.protobufs.ConversionFactor.prototype.toObject = function(opt_includeInstance) {
43982
+ return proto.zaber.motion.protobufs.ConversionFactor.toObject(opt_includeInstance, this);
44394
43983
  };
44395
43984
 
44396
43985
 
@@ -44399,16 +43988,15 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.toObject = fu
44399
43988
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
44400
43989
  * the JSPB instance for transitional soy proto support:
44401
43990
  * http://goto/soy-param-migration
44402
- * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} msg The msg instance to transform.
43991
+ * @param {!proto.zaber.motion.protobufs.ConversionFactor} msg The msg instance to transform.
44403
43992
  * @return {!Object}
44404
43993
  * @suppress {unusedLocalVariables} f is only used for nested messages
44405
43994
  */
44406
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.toObject = function(includeInstance, msg) {
43995
+ proto.zaber.motion.protobufs.ConversionFactor.toObject = function(includeInstance, msg) {
44407
43996
  var f, obj = {
44408
- interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
44409
- device: jspb.Message.getFieldWithDefault(msg, 2, 0),
44410
- axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
44411
- key: jspb.Message.getFieldWithDefault(msg, 4, "")
43997
+ setting: jspb.Message.getFieldWithDefault(msg, 1, ""),
43998
+ value: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
43999
+ unit: jspb.Message.getFieldWithDefault(msg, 3, "")
44412
44000
  };
44413
44001
 
44414
44002
  if (includeInstance) {
@@ -44422,23 +44010,23 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.toObject = function(inc
44422
44010
  /**
44423
44011
  * Deserializes binary data (in protobuf wire format).
44424
44012
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
44425
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest}
44013
+ * @return {!proto.zaber.motion.protobufs.ConversionFactor}
44426
44014
  */
44427
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinary = function(bytes) {
44015
+ proto.zaber.motion.protobufs.ConversionFactor.deserializeBinary = function(bytes) {
44428
44016
  var reader = new jspb.BinaryReader(bytes);
44429
- var msg = new proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest;
44430
- return proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinaryFromReader(msg, reader);
44017
+ var msg = new proto.zaber.motion.protobufs.ConversionFactor;
44018
+ return proto.zaber.motion.protobufs.ConversionFactor.deserializeBinaryFromReader(msg, reader);
44431
44019
  };
44432
44020
 
44433
44021
 
44434
44022
  /**
44435
44023
  * Deserializes binary data (in protobuf wire format) from the
44436
44024
  * given reader into the given message object.
44437
- * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} msg The message object to deserialize into.
44025
+ * @param {!proto.zaber.motion.protobufs.ConversionFactor} msg The message object to deserialize into.
44438
44026
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
44439
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest}
44027
+ * @return {!proto.zaber.motion.protobufs.ConversionFactor}
44440
44028
  */
44441
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinaryFromReader = function(msg, reader) {
44029
+ proto.zaber.motion.protobufs.ConversionFactor.deserializeBinaryFromReader = function(msg, reader) {
44442
44030
  while (reader.nextField()) {
44443
44031
  if (reader.isEndGroup()) {
44444
44032
  break;
@@ -44446,20 +44034,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinaryFromRe
44446
44034
  var field = reader.getFieldNumber();
44447
44035
  switch (field) {
44448
44036
  case 1:
44449
- var value = /** @type {number} */ (reader.readInt32());
44450
- msg.setInterfaceId(value);
44037
+ var value = /** @type {string} */ (reader.readString());
44038
+ msg.setSetting(value);
44451
44039
  break;
44452
44040
  case 2:
44453
- var value = /** @type {number} */ (reader.readInt32());
44454
- msg.setDevice(value);
44041
+ var value = /** @type {number} */ (reader.readDouble());
44042
+ msg.setValue(value);
44455
44043
  break;
44456
44044
  case 3:
44457
- var value = /** @type {number} */ (reader.readInt32());
44458
- msg.setAxis(value);
44459
- break;
44460
- case 4:
44461
44045
  var value = /** @type {string} */ (reader.readString());
44462
- msg.setKey(value);
44046
+ msg.setUnit(value);
44463
44047
  break;
44464
44048
  default:
44465
44049
  reader.skipField();
@@ -44474,9 +44058,9 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinaryFromRe
44474
44058
  * Serializes the message to binary data (in protobuf wire format).
44475
44059
  * @return {!Uint8Array}
44476
44060
  */
44477
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.serializeBinary = function() {
44061
+ proto.zaber.motion.protobufs.ConversionFactor.prototype.serializeBinary = function() {
44478
44062
  var writer = new jspb.BinaryWriter();
44479
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.serializeBinaryToWriter(this, writer);
44063
+ proto.zaber.motion.protobufs.ConversionFactor.serializeBinaryToWriter(this, writer);
44480
44064
  return writer.getResultBuffer();
44481
44065
  };
44482
44066
 
@@ -44484,37 +44068,30 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.serializeBina
44484
44068
  /**
44485
44069
  * Serializes the given message to binary data (in protobuf wire
44486
44070
  * format), writing to the given BinaryWriter.
44487
- * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} message
44071
+ * @param {!proto.zaber.motion.protobufs.ConversionFactor} message
44488
44072
  * @param {!jspb.BinaryWriter} writer
44489
44073
  * @suppress {unusedLocalVariables} f is only used for nested messages
44490
44074
  */
44491
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.serializeBinaryToWriter = function(message, writer) {
44075
+ proto.zaber.motion.protobufs.ConversionFactor.serializeBinaryToWriter = function(message, writer) {
44492
44076
  var f = undefined;
44493
- f = message.getInterfaceId();
44494
- if (f !== 0) {
44495
- writer.writeInt32(
44077
+ f = message.getSetting();
44078
+ if (f.length > 0) {
44079
+ writer.writeString(
44496
44080
  1,
44497
44081
  f
44498
44082
  );
44499
44083
  }
44500
- f = message.getDevice();
44501
- if (f !== 0) {
44502
- writer.writeInt32(
44084
+ f = message.getValue();
44085
+ if (f !== 0.0) {
44086
+ writer.writeDouble(
44503
44087
  2,
44504
44088
  f
44505
44089
  );
44506
44090
  }
44507
- f = message.getAxis();
44508
- if (f !== 0) {
44509
- writer.writeInt32(
44510
- 3,
44511
- f
44512
- );
44513
- }
44514
- f = message.getKey();
44091
+ f = message.getUnit();
44515
44092
  if (f.length > 0) {
44516
44093
  writer.writeString(
44517
- 4,
44094
+ 3,
44518
44095
  f
44519
44096
  );
44520
44097
  }
@@ -44522,74 +44099,56 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.serializeBinaryToWriter
44522
44099
 
44523
44100
 
44524
44101
  /**
44525
- * optional int32 interface_id = 1;
44526
- * @return {number}
44527
- */
44528
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.getInterfaceId = function() {
44529
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
44530
- };
44531
-
44532
-
44533
- /**
44534
- * @param {number} value
44535
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} returns this
44536
- */
44537
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.setInterfaceId = function(value) {
44538
- return jspb.Message.setProto3IntField(this, 1, value);
44539
- };
44540
-
44541
-
44542
- /**
44543
- * optional int32 device = 2;
44544
- * @return {number}
44102
+ * optional string setting = 1;
44103
+ * @return {string}
44545
44104
  */
44546
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.getDevice = function() {
44547
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
44105
+ proto.zaber.motion.protobufs.ConversionFactor.prototype.getSetting = function() {
44106
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
44548
44107
  };
44549
44108
 
44550
44109
 
44551
44110
  /**
44552
- * @param {number} value
44553
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} returns this
44111
+ * @param {string} value
44112
+ * @return {!proto.zaber.motion.protobufs.ConversionFactor} returns this
44554
44113
  */
44555
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.setDevice = function(value) {
44556
- return jspb.Message.setProto3IntField(this, 2, value);
44114
+ proto.zaber.motion.protobufs.ConversionFactor.prototype.setSetting = function(value) {
44115
+ return jspb.Message.setProto3StringField(this, 1, value);
44557
44116
  };
44558
44117
 
44559
44118
 
44560
44119
  /**
44561
- * optional int32 axis = 3;
44120
+ * optional double value = 2;
44562
44121
  * @return {number}
44563
44122
  */
44564
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.getAxis = function() {
44565
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
44123
+ proto.zaber.motion.protobufs.ConversionFactor.prototype.getValue = function() {
44124
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
44566
44125
  };
44567
44126
 
44568
44127
 
44569
44128
  /**
44570
44129
  * @param {number} value
44571
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} returns this
44130
+ * @return {!proto.zaber.motion.protobufs.ConversionFactor} returns this
44572
44131
  */
44573
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.setAxis = function(value) {
44574
- return jspb.Message.setProto3IntField(this, 3, value);
44132
+ proto.zaber.motion.protobufs.ConversionFactor.prototype.setValue = function(value) {
44133
+ return jspb.Message.setProto3FloatField(this, 2, value);
44575
44134
  };
44576
44135
 
44577
44136
 
44578
44137
  /**
44579
- * optional string key = 4;
44138
+ * optional string unit = 3;
44580
44139
  * @return {string}
44581
44140
  */
44582
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.getKey = function() {
44583
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
44141
+ proto.zaber.motion.protobufs.ConversionFactor.prototype.getUnit = function() {
44142
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
44584
44143
  };
44585
44144
 
44586
44145
 
44587
44146
  /**
44588
44147
  * @param {string} value
44589
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} returns this
44148
+ * @return {!proto.zaber.motion.protobufs.ConversionFactor} returns this
44590
44149
  */
44591
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.setKey = function(value) {
44592
- return jspb.Message.setProto3StringField(this, 4, value);
44150
+ proto.zaber.motion.protobufs.ConversionFactor.prototype.setUnit = function(value) {
44151
+ return jspb.Message.setProto3StringField(this, 3, value);
44593
44152
  };
44594
44153
 
44595
44154