@zaber/motion 2.13.2 → 2.14.2

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 (83) 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/paramset_info.d.ts +4 -0
  26. package/dist/lib/ascii/paramset_info.js +1 -0
  27. package/dist/lib/ascii/paramset_info.js.map +1 -1
  28. package/dist/lib/ascii/servo_tuner.d.ts +2 -2
  29. package/dist/lib/ascii/servo_tuner.js +4 -4
  30. package/dist/lib/ascii/servo_tuner.js.map +1 -1
  31. package/dist/lib/ascii/setting_constants.d.ts +4 -0
  32. package/dist/lib/ascii/setting_constants.js +4 -0
  33. package/dist/lib/ascii/setting_constants.js.map +1 -1
  34. package/dist/lib/ascii/{simple_tuning_param.d.ts → simple_tuning_param_definition.d.ts} +3 -3
  35. package/dist/lib/ascii/simple_tuning_param_definition.js +20 -0
  36. package/dist/lib/ascii/simple_tuning_param_definition.js.map +1 -0
  37. package/dist/lib/ascii/storage.d.ts +12 -0
  38. package/dist/lib/ascii/storage.js +31 -4
  39. package/dist/lib/ascii/storage.js.map +1 -1
  40. package/dist/lib/ascii/stream.d.ts +7 -0
  41. package/dist/lib/ascii/stream.js +15 -1
  42. package/dist/lib/ascii/stream.js.map +1 -1
  43. package/dist/lib/ascii_ns.d.ts +4 -2
  44. package/dist/lib/ascii_ns.js +2 -1
  45. package/dist/lib/ascii_ns.js.map +1 -1
  46. package/dist/lib/binary/binary_settings.d.ts +2 -1
  47. package/dist/lib/binary/binary_settings.js +2 -1
  48. package/dist/lib/binary/binary_settings.js.map +1 -1
  49. package/dist/lib/binary/command_code.d.ts +2 -1
  50. package/dist/lib/binary/command_code.js +1 -0
  51. package/dist/lib/binary/command_code.js.map +1 -1
  52. package/dist/lib/binary/connection.js +1 -1
  53. package/dist/lib/binary/connection.js.map +1 -1
  54. package/dist/lib/binary/device.js +2 -2
  55. package/dist/lib/binary/device.js.map +1 -1
  56. package/dist/lib/binary/reply_code.d.ts +1 -0
  57. package/dist/lib/binary/reply_code.js +1 -0
  58. package/dist/lib/binary/reply_code.js.map +1 -1
  59. package/dist/lib/can_set_state_axis_response.d.ts +1 -1
  60. package/dist/lib/can_set_state_axis_response.js.map +1 -1
  61. package/dist/lib/can_set_state_device_response.d.ts +2 -2
  62. package/dist/lib/can_set_state_device_response.js +1 -1
  63. package/dist/lib/can_set_state_device_response.js.map +1 -1
  64. package/dist/lib/exceptions/device_db_failed_exception.d.ts +8 -1
  65. package/dist/lib/exceptions/device_db_failed_exception.js +16 -1
  66. package/dist/lib/exceptions/device_db_failed_exception.js.map +1 -1
  67. package/dist/lib/exceptions/device_db_failed_exception_data.d.ts +12 -0
  68. package/dist/lib/exceptions/device_db_failed_exception_data.js +17 -0
  69. package/dist/lib/exceptions/device_db_failed_exception_data.js.map +1 -0
  70. package/dist/lib/exceptions/index.d.ts +1 -0
  71. package/dist/lib/exceptions/index.js +4 -2
  72. package/dist/lib/exceptions/index.js.map +1 -1
  73. package/dist/lib/gateway/wasm-exec.js +58 -53
  74. package/dist/lib/gateway/wasm-exec.js.map +1 -1
  75. package/dist/lib/gcode/offline_translator.d.ts +10 -0
  76. package/dist/lib/gcode/offline_translator.js +17 -0
  77. package/dist/lib/gcode/offline_translator.js.map +1 -1
  78. package/dist/lib/protobufs/main_pb.d.ts +142 -158
  79. package/dist/lib/protobufs/main_pb.js +1059 -1179
  80. package/dist/lib/protobufs/main_pb.js.map +1 -1
  81. package/package.json +1 -1
  82. package/dist/lib/ascii/simple_tuning_param.js +0 -20
  83. 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);
@@ -202,6 +199,7 @@ goog.exportSymbol('zaber.motion.protobufs.TranslatorAxisDefinition', null, proto
202
199
  goog.exportSymbol('zaber.motion.protobufs.TranslatorAxisMapping', null, proto);
203
200
  goog.exportSymbol('zaber.motion.protobufs.TranslatorAxisTransformation', null, proto);
204
201
  goog.exportSymbol('zaber.motion.protobufs.TranslatorConfig', null, proto);
202
+ goog.exportSymbol('zaber.motion.protobufs.TranslatorCreateFromDeviceRequest', null, proto);
205
203
  goog.exportSymbol('zaber.motion.protobufs.TranslatorCreateLiveRequest', null, proto);
206
204
  goog.exportSymbol('zaber.motion.protobufs.TranslatorCreateRequest', null, proto);
207
205
  goog.exportSymbol('zaber.motion.protobufs.TranslatorCreateResponse', null, proto);
@@ -932,6 +930,27 @@ if (goog.DEBUG && !COMPILED) {
932
930
  */
933
931
  proto.zaber.motion.protobufs.ToggleDeviceDbStoreRequest.displayName = 'proto.zaber.motion.protobufs.ToggleDeviceDbStoreRequest';
934
932
  }
933
+ /**
934
+ * Generated by JsPbCodeGenerator.
935
+ * @param {Array=} opt_data Optional initial data array, typically from a
936
+ * server response, or constructed directly in Javascript. The array is used
937
+ * in place and becomes part of the constructed object. It is not cloned.
938
+ * If no data is provided, the constructed object will be empty, but still
939
+ * valid.
940
+ * @extends {jspb.Message}
941
+ * @constructor
942
+ */
943
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData = function(opt_data) {
944
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
945
+ };
946
+ goog.inherits(proto.zaber.motion.protobufs.DeviceDbFailedExceptionData, jspb.Message);
947
+ if (goog.DEBUG && !COMPILED) {
948
+ /**
949
+ * @public
950
+ * @override
951
+ */
952
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.displayName = 'proto.zaber.motion.protobufs.DeviceDbFailedExceptionData';
953
+ }
935
954
  /**
936
955
  * Generated by JsPbCodeGenerator.
937
956
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1373,48 +1392,6 @@ if (goog.DEBUG && !COMPILED) {
1373
1392
  */
1374
1393
  proto.zaber.motion.protobufs.DeviceOnAllResponse.displayName = 'proto.zaber.motion.protobufs.DeviceOnAllResponse';
1375
1394
  }
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
1395
  /**
1419
1396
  * Generated by JsPbCodeGenerator.
1420
1397
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1961,27 +1938,6 @@ if (goog.DEBUG && !COMPILED) {
1961
1938
  */
1962
1939
  proto.zaber.motion.protobufs.LockstepAxes.displayName = 'proto.zaber.motion.protobufs.LockstepAxes';
1963
1940
  }
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
1941
  /**
1986
1942
  * Generated by JsPbCodeGenerator.
1987
1943
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2192,27 +2148,6 @@ if (goog.DEBUG && !COMPILED) {
2192
2148
  */
2193
2149
  proto.zaber.motion.protobufs.OscilloscopeCaptureProperties.displayName = 'proto.zaber.motion.protobufs.OscilloscopeCaptureProperties';
2194
2150
  }
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
2151
  /**
2217
2152
  * Generated by JsPbCodeGenerator.
2218
2153
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3095,27 +3030,6 @@ if (goog.DEBUG && !COMPILED) {
3095
3030
  */
3096
3031
  proto.zaber.motion.protobufs.BinaryDeviceIdentity.displayName = 'proto.zaber.motion.protobufs.BinaryDeviceIdentity';
3097
3032
  }
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
3033
  /**
3120
3034
  * Generated by JsPbCodeGenerator.
3121
3035
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3630,16 +3544,16 @@ if (goog.DEBUG && !COMPILED) {
3630
3544
  * @extends {jspb.Message}
3631
3545
  * @constructor
3632
3546
  */
3633
- proto.zaber.motion.protobufs.SimpleTuningParam = function(opt_data) {
3547
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition = function(opt_data) {
3634
3548
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3635
3549
  };
3636
- goog.inherits(proto.zaber.motion.protobufs.SimpleTuningParam, jspb.Message);
3550
+ goog.inherits(proto.zaber.motion.protobufs.SimpleTuningParamDefinition, jspb.Message);
3637
3551
  if (goog.DEBUG && !COMPILED) {
3638
3552
  /**
3639
3553
  * @public
3640
3554
  * @override
3641
3555
  */
3642
- proto.zaber.motion.protobufs.SimpleTuningParam.displayName = 'proto.zaber.motion.protobufs.SimpleTuningParam';
3556
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.displayName = 'proto.zaber.motion.protobufs.SimpleTuningParamDefinition';
3643
3557
  }
3644
3558
  /**
3645
3559
  * Generated by JsPbCodeGenerator.
@@ -3651,16 +3565,16 @@ if (goog.DEBUG && !COMPILED) {
3651
3565
  * @extends {jspb.Message}
3652
3566
  * @constructor
3653
3567
  */
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);
3568
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse = function(opt_data) {
3569
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.repeatedFields_, null);
3656
3570
  };
3657
- goog.inherits(proto.zaber.motion.protobufs.SimpleTuningParamList, jspb.Message);
3571
+ goog.inherits(proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse, jspb.Message);
3658
3572
  if (goog.DEBUG && !COMPILED) {
3659
3573
  /**
3660
3574
  * @public
3661
3575
  * @override
3662
3576
  */
3663
- proto.zaber.motion.protobufs.SimpleTuningParamList.displayName = 'proto.zaber.motion.protobufs.SimpleTuningParamList';
3577
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.displayName = 'proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse';
3664
3578
  }
3665
3579
  /**
3666
3580
  * Generated by JsPbCodeGenerator.
@@ -3977,6 +3891,27 @@ if (goog.DEBUG && !COMPILED) {
3977
3891
  */
3978
3892
  proto.zaber.motion.protobufs.TranslatorCreateLiveRequest.displayName = 'proto.zaber.motion.protobufs.TranslatorCreateLiveRequest';
3979
3893
  }
3894
+ /**
3895
+ * Generated by JsPbCodeGenerator.
3896
+ * @param {Array=} opt_data Optional initial data array, typically from a
3897
+ * server response, or constructed directly in Javascript. The array is used
3898
+ * in place and becomes part of the constructed object. It is not cloned.
3899
+ * If no data is provided, the constructed object will be empty, but still
3900
+ * valid.
3901
+ * @extends {jspb.Message}
3902
+ * @constructor
3903
+ */
3904
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest = function(opt_data) {
3905
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.repeatedFields_, null);
3906
+ };
3907
+ goog.inherits(proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest, jspb.Message);
3908
+ if (goog.DEBUG && !COMPILED) {
3909
+ /**
3910
+ * @public
3911
+ * @override
3912
+ */
3913
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.displayName = 'proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest';
3914
+ }
3980
3915
  /**
3981
3916
  * Generated by JsPbCodeGenerator.
3982
3917
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4176,16 +4111,16 @@ if (goog.DEBUG && !COMPILED) {
4176
4111
  * @extends {jspb.Message}
4177
4112
  * @constructor
4178
4113
  */
4179
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest = function(opt_data) {
4114
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest = function(opt_data) {
4180
4115
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4181
4116
  };
4182
- goog.inherits(proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest, jspb.Message);
4117
+ goog.inherits(proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest, jspb.Message);
4183
4118
  if (goog.DEBUG && !COMPILED) {
4184
4119
  /**
4185
4120
  * @public
4186
4121
  * @override
4187
4122
  */
4188
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.displayName = 'proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest';
4123
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest';
4189
4124
  }
4190
4125
  /**
4191
4126
  * Generated by JsPbCodeGenerator.
@@ -4197,16 +4132,37 @@ if (goog.DEBUG && !COMPILED) {
4197
4132
  * @extends {jspb.Message}
4198
4133
  * @constructor
4199
4134
  */
4200
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest = function(opt_data) {
4135
+ proto.zaber.motion.protobufs.DeviceStorageRequest = function(opt_data) {
4201
4136
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4202
4137
  };
4203
- goog.inherits(proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest, jspb.Message);
4138
+ goog.inherits(proto.zaber.motion.protobufs.DeviceStorageRequest, jspb.Message);
4204
4139
  if (goog.DEBUG && !COMPILED) {
4205
4140
  /**
4206
4141
  * @public
4207
4142
  * @override
4208
4143
  */
4209
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest';
4144
+ proto.zaber.motion.protobufs.DeviceStorageRequest.displayName = 'proto.zaber.motion.protobufs.DeviceStorageRequest';
4145
+ }
4146
+ /**
4147
+ * Generated by JsPbCodeGenerator.
4148
+ * @param {Array=} opt_data Optional initial data array, typically from a
4149
+ * server response, or constructed directly in Javascript. The array is used
4150
+ * in place and becomes part of the constructed object. It is not cloned.
4151
+ * If no data is provided, the constructed object will be empty, but still
4152
+ * valid.
4153
+ * @extends {jspb.Message}
4154
+ * @constructor
4155
+ */
4156
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest = function(opt_data) {
4157
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.repeatedFields_, null);
4158
+ };
4159
+ goog.inherits(proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest, jspb.Message);
4160
+ if (goog.DEBUG && !COMPILED) {
4161
+ /**
4162
+ * @public
4163
+ * @override
4164
+ */
4165
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest';
4210
4166
  }
4211
4167
  /**
4212
4168
  * Generated by JsPbCodeGenerator.
@@ -4218,16 +4174,16 @@ if (goog.DEBUG && !COMPILED) {
4218
4174
  * @extends {jspb.Message}
4219
4175
  * @constructor
4220
4176
  */
4221
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest = function(opt_data) {
4177
+ proto.zaber.motion.protobufs.ConversionFactor = function(opt_data) {
4222
4178
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4223
4179
  };
4224
- goog.inherits(proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest, jspb.Message);
4180
+ goog.inherits(proto.zaber.motion.protobufs.ConversionFactor, jspb.Message);
4225
4181
  if (goog.DEBUG && !COMPILED) {
4226
4182
  /**
4227
4183
  * @public
4228
4184
  * @override
4229
4185
  */
4230
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.displayName = 'proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest';
4186
+ proto.zaber.motion.protobufs.ConversionFactor.displayName = 'proto.zaber.motion.protobufs.ConversionFactor';
4231
4187
  }
4232
4188
 
4233
4189
 
@@ -10316,6 +10272,136 @@ proto.zaber.motion.protobufs.ToggleDeviceDbStoreRequest.prototype.setStoreLocati
10316
10272
 
10317
10273
 
10318
10274
 
10275
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10276
+ /**
10277
+ * Creates an object representation of this proto.
10278
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10279
+ * Optional fields that are not set will be set to undefined.
10280
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10281
+ * For the list of reserved names please see:
10282
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10283
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10284
+ * JSPB instance for transitional soy proto support:
10285
+ * http://goto/soy-param-migration
10286
+ * @return {!Object}
10287
+ */
10288
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.prototype.toObject = function(opt_includeInstance) {
10289
+ return proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.toObject(opt_includeInstance, this);
10290
+ };
10291
+
10292
+
10293
+ /**
10294
+ * Static version of the {@see toObject} method.
10295
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10296
+ * the JSPB instance for transitional soy proto support:
10297
+ * http://goto/soy-param-migration
10298
+ * @param {!proto.zaber.motion.protobufs.DeviceDbFailedExceptionData} msg The msg instance to transform.
10299
+ * @return {!Object}
10300
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10301
+ */
10302
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.toObject = function(includeInstance, msg) {
10303
+ var f, obj = {
10304
+ code: jspb.Message.getFieldWithDefault(msg, 1, "")
10305
+ };
10306
+
10307
+ if (includeInstance) {
10308
+ obj.$jspbMessageInstance = msg;
10309
+ }
10310
+ return obj;
10311
+ };
10312
+ }
10313
+
10314
+
10315
+ /**
10316
+ * Deserializes binary data (in protobuf wire format).
10317
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10318
+ * @return {!proto.zaber.motion.protobufs.DeviceDbFailedExceptionData}
10319
+ */
10320
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.deserializeBinary = function(bytes) {
10321
+ var reader = new jspb.BinaryReader(bytes);
10322
+ var msg = new proto.zaber.motion.protobufs.DeviceDbFailedExceptionData;
10323
+ return proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.deserializeBinaryFromReader(msg, reader);
10324
+ };
10325
+
10326
+
10327
+ /**
10328
+ * Deserializes binary data (in protobuf wire format) from the
10329
+ * given reader into the given message object.
10330
+ * @param {!proto.zaber.motion.protobufs.DeviceDbFailedExceptionData} msg The message object to deserialize into.
10331
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10332
+ * @return {!proto.zaber.motion.protobufs.DeviceDbFailedExceptionData}
10333
+ */
10334
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.deserializeBinaryFromReader = function(msg, reader) {
10335
+ while (reader.nextField()) {
10336
+ if (reader.isEndGroup()) {
10337
+ break;
10338
+ }
10339
+ var field = reader.getFieldNumber();
10340
+ switch (field) {
10341
+ case 1:
10342
+ var value = /** @type {string} */ (reader.readString());
10343
+ msg.setCode(value);
10344
+ break;
10345
+ default:
10346
+ reader.skipField();
10347
+ break;
10348
+ }
10349
+ }
10350
+ return msg;
10351
+ };
10352
+
10353
+
10354
+ /**
10355
+ * Serializes the message to binary data (in protobuf wire format).
10356
+ * @return {!Uint8Array}
10357
+ */
10358
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.prototype.serializeBinary = function() {
10359
+ var writer = new jspb.BinaryWriter();
10360
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.serializeBinaryToWriter(this, writer);
10361
+ return writer.getResultBuffer();
10362
+ };
10363
+
10364
+
10365
+ /**
10366
+ * Serializes the given message to binary data (in protobuf wire
10367
+ * format), writing to the given BinaryWriter.
10368
+ * @param {!proto.zaber.motion.protobufs.DeviceDbFailedExceptionData} message
10369
+ * @param {!jspb.BinaryWriter} writer
10370
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10371
+ */
10372
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.serializeBinaryToWriter = function(message, writer) {
10373
+ var f = undefined;
10374
+ f = message.getCode();
10375
+ if (f.length > 0) {
10376
+ writer.writeString(
10377
+ 1,
10378
+ f
10379
+ );
10380
+ }
10381
+ };
10382
+
10383
+
10384
+ /**
10385
+ * optional string code = 1;
10386
+ * @return {string}
10387
+ */
10388
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.prototype.getCode = function() {
10389
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
10390
+ };
10391
+
10392
+
10393
+ /**
10394
+ * @param {string} value
10395
+ * @return {!proto.zaber.motion.protobufs.DeviceDbFailedExceptionData} returns this
10396
+ */
10397
+ proto.zaber.motion.protobufs.DeviceDbFailedExceptionData.prototype.setCode = function(value) {
10398
+ return jspb.Message.setProto3StringField(this, 1, value);
10399
+ };
10400
+
10401
+
10402
+
10403
+
10404
+
10319
10405
  if (jspb.Message.GENERATE_TO_OBJECT) {
10320
10406
  /**
10321
10407
  * Creates an object representation of this proto.
@@ -15003,308 +15089,6 @@ proto.zaber.motion.protobufs.DeviceOnAllResponse.prototype.clearDeviceAddressesL
15003
15089
 
15004
15090
 
15005
15091
 
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
15092
  if (jspb.Message.GENERATE_TO_OBJECT) {
15309
15093
  /**
15310
15094
  * Creates an object representation of this proto.
@@ -21200,157 +20984,6 @@ proto.zaber.motion.protobufs.LockstepAxes.prototype.setAxis4 = function(value) {
21200
20984
 
21201
20985
 
21202
20986
 
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
20987
  /**
21355
20988
  * List of repeated fields within this message type.
21356
20989
  * @private {!Array<number>}
@@ -23125,157 +22758,6 @@ proto.zaber.motion.protobufs.OscilloscopeCaptureProperties.prototype.setAxisNumb
23125
22758
 
23126
22759
 
23127
22760
 
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
22761
  if (jspb.Message.GENERATE_TO_OBJECT) {
23280
22762
  /**
23281
22763
  * Creates an object representation of this proto.
@@ -33445,157 +32927,6 @@ proto.zaber.motion.protobufs.BinaryDeviceIdentity.prototype.setDeviceType = func
33445
32927
 
33446
32928
 
33447
32929
 
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
32930
  if (jspb.Message.GENERATE_TO_OBJECT) {
33600
32931
  /**
33601
32932
  * Creates an object representation of this proto.
@@ -36386,7 +35717,7 @@ proto.zaber.motion.protobufs.CanSetStateAxisResponse.prototype.setError = functi
36386
35717
  * @private {!Array<number>}
36387
35718
  * @const
36388
35719
  */
36389
- proto.zaber.motion.protobufs.CanSetStateDeviceResponse.repeatedFields_ = [3];
35720
+ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.repeatedFields_ = [2];
36390
35721
 
36391
35722
 
36392
35723
 
@@ -36419,8 +35750,8 @@ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.toObject = func
36419
35750
  */
36420
35751
  proto.zaber.motion.protobufs.CanSetStateDeviceResponse.toObject = function(includeInstance, msg) {
36421
35752
  var f, obj = {
36422
- error: jspb.Message.getFieldWithDefault(msg, 2, ""),
36423
- peripheralErrorsList: jspb.Message.toObjectList(msg.getPeripheralErrorsList(),
35753
+ error: jspb.Message.getFieldWithDefault(msg, 1, ""),
35754
+ axisErrorsList: jspb.Message.toObjectList(msg.getAxisErrorsList(),
36424
35755
  proto.zaber.motion.protobufs.CanSetStateAxisResponse.toObject, includeInstance)
36425
35756
  };
36426
35757
 
@@ -36458,14 +35789,14 @@ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.deserializeBinaryFromRead
36458
35789
  }
36459
35790
  var field = reader.getFieldNumber();
36460
35791
  switch (field) {
36461
- case 2:
35792
+ case 1:
36462
35793
  var value = /** @type {string} */ (reader.readString());
36463
35794
  msg.setError(value);
36464
35795
  break;
36465
- case 3:
35796
+ case 2:
36466
35797
  var value = new proto.zaber.motion.protobufs.CanSetStateAxisResponse;
36467
35798
  reader.readMessage(value,proto.zaber.motion.protobufs.CanSetStateAxisResponse.deserializeBinaryFromReader);
36468
- msg.addPeripheralErrors(value);
35799
+ msg.addAxisErrors(value);
36469
35800
  break;
36470
35801
  default:
36471
35802
  reader.skipField();
@@ -36499,14 +35830,14 @@ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.serializeBinaryToWriter =
36499
35830
  f = message.getError();
36500
35831
  if (f.length > 0) {
36501
35832
  writer.writeString(
36502
- 2,
35833
+ 1,
36503
35834
  f
36504
35835
  );
36505
35836
  }
36506
- f = message.getPeripheralErrorsList();
35837
+ f = message.getAxisErrorsList();
36507
35838
  if (f.length > 0) {
36508
35839
  writer.writeRepeatedMessage(
36509
- 3,
35840
+ 2,
36510
35841
  f,
36511
35842
  proto.zaber.motion.protobufs.CanSetStateAxisResponse.serializeBinaryToWriter
36512
35843
  );
@@ -36515,11 +35846,11 @@ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.serializeBinaryToWriter =
36515
35846
 
36516
35847
 
36517
35848
  /**
36518
- * optional string error = 2;
35849
+ * optional string error = 1;
36519
35850
  * @return {string}
36520
35851
  */
36521
35852
  proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.getError = function() {
36522
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
35853
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
36523
35854
  };
36524
35855
 
36525
35856
 
@@ -36528,17 +35859,17 @@ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.getError = func
36528
35859
  * @return {!proto.zaber.motion.protobufs.CanSetStateDeviceResponse} returns this
36529
35860
  */
36530
35861
  proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.setError = function(value) {
36531
- return jspb.Message.setProto3StringField(this, 2, value);
35862
+ return jspb.Message.setProto3StringField(this, 1, value);
36532
35863
  };
36533
35864
 
36534
35865
 
36535
35866
  /**
36536
- * repeated CanSetStateAxisResponse peripheral_errors = 3;
35867
+ * repeated CanSetStateAxisResponse axis_errors = 2;
36537
35868
  * @return {!Array<!proto.zaber.motion.protobufs.CanSetStateAxisResponse>}
36538
35869
  */
36539
- proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.getPeripheralErrorsList = function() {
35870
+ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.getAxisErrorsList = function() {
36540
35871
  return /** @type{!Array<!proto.zaber.motion.protobufs.CanSetStateAxisResponse>} */ (
36541
- jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.CanSetStateAxisResponse, 3));
35872
+ jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.CanSetStateAxisResponse, 2));
36542
35873
  };
36543
35874
 
36544
35875
 
@@ -36546,8 +35877,8 @@ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.getPeripheralEr
36546
35877
  * @param {!Array<!proto.zaber.motion.protobufs.CanSetStateAxisResponse>} value
36547
35878
  * @return {!proto.zaber.motion.protobufs.CanSetStateDeviceResponse} returns this
36548
35879
  */
36549
- proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.setPeripheralErrorsList = function(value) {
36550
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
35880
+ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.setAxisErrorsList = function(value) {
35881
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
36551
35882
  };
36552
35883
 
36553
35884
 
@@ -36556,8 +35887,8 @@ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.setPeripheralEr
36556
35887
  * @param {number=} opt_index
36557
35888
  * @return {!proto.zaber.motion.protobufs.CanSetStateAxisResponse}
36558
35889
  */
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);
35890
+ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.addAxisErrors = function(opt_value, opt_index) {
35891
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.zaber.motion.protobufs.CanSetStateAxisResponse, opt_index);
36561
35892
  };
36562
35893
 
36563
35894
 
@@ -36565,8 +35896,8 @@ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.addPeripheralEr
36565
35896
  * Clears the list making it empty but non-null.
36566
35897
  * @return {!proto.zaber.motion.protobufs.CanSetStateDeviceResponse} returns this
36567
35898
  */
36568
- proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.clearPeripheralErrorsList = function() {
36569
- return this.setPeripheralErrorsList([]);
35899
+ proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.clearAxisErrorsList = function() {
35900
+ return this.setAxisErrorsList([]);
36570
35901
  };
36571
35902
 
36572
35903
 
@@ -37240,6 +36571,7 @@ proto.zaber.motion.protobufs.ParamsetInfo.prototype.toObject = function(opt_incl
37240
36571
  proto.zaber.motion.protobufs.ParamsetInfo.toObject = function(includeInstance, msg) {
37241
36572
  var f, obj = {
37242
36573
  type: jspb.Message.getFieldWithDefault(msg, 1, ""),
36574
+ version: jspb.Message.getFieldWithDefault(msg, 3, 0),
37243
36575
  paramsList: jspb.Message.toObjectList(msg.getParamsList(),
37244
36576
  proto.zaber.motion.protobufs.ServoTuningParam.toObject, includeInstance)
37245
36577
  };
@@ -37282,6 +36614,10 @@ proto.zaber.motion.protobufs.ParamsetInfo.deserializeBinaryFromReader = function
37282
36614
  var value = /** @type {string} */ (reader.readString());
37283
36615
  msg.setType(value);
37284
36616
  break;
36617
+ case 3:
36618
+ var value = /** @type {number} */ (reader.readInt32());
36619
+ msg.setVersion(value);
36620
+ break;
37285
36621
  case 2:
37286
36622
  var value = new proto.zaber.motion.protobufs.ServoTuningParam;
37287
36623
  reader.readMessage(value,proto.zaber.motion.protobufs.ServoTuningParam.deserializeBinaryFromReader);
@@ -37323,6 +36659,13 @@ proto.zaber.motion.protobufs.ParamsetInfo.serializeBinaryToWriter = function(mes
37323
36659
  f
37324
36660
  );
37325
36661
  }
36662
+ f = message.getVersion();
36663
+ if (f !== 0) {
36664
+ writer.writeInt32(
36665
+ 3,
36666
+ f
36667
+ );
36668
+ }
37326
36669
  f = message.getParamsList();
37327
36670
  if (f.length > 0) {
37328
36671
  writer.writeRepeatedMessage(
@@ -37352,6 +36695,24 @@ proto.zaber.motion.protobufs.ParamsetInfo.prototype.setType = function(value) {
37352
36695
  };
37353
36696
 
37354
36697
 
36698
+ /**
36699
+ * optional int32 version = 3;
36700
+ * @return {number}
36701
+ */
36702
+ proto.zaber.motion.protobufs.ParamsetInfo.prototype.getVersion = function() {
36703
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
36704
+ };
36705
+
36706
+
36707
+ /**
36708
+ * @param {number} value
36709
+ * @return {!proto.zaber.motion.protobufs.ParamsetInfo} returns this
36710
+ */
36711
+ proto.zaber.motion.protobufs.ParamsetInfo.prototype.setVersion = function(value) {
36712
+ return jspb.Message.setProto3IntField(this, 3, value);
36713
+ };
36714
+
36715
+
37355
36716
  /**
37356
36717
  * repeated ServoTuningParam params = 2;
37357
36718
  * @return {!Array<!proto.zaber.motion.protobufs.ServoTuningParam>}
@@ -38896,8 +38257,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
38896
38257
  * http://goto/soy-param-migration
38897
38258
  * @return {!Object}
38898
38259
  */
38899
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.toObject = function(opt_includeInstance) {
38900
- return proto.zaber.motion.protobufs.SimpleTuningParam.toObject(opt_includeInstance, this);
38260
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.toObject = function(opt_includeInstance) {
38261
+ return proto.zaber.motion.protobufs.SimpleTuningParamDefinition.toObject(opt_includeInstance, this);
38901
38262
  };
38902
38263
 
38903
38264
 
@@ -38906,11 +38267,11 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.toObject = function(opt
38906
38267
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
38907
38268
  * the JSPB instance for transitional soy proto support:
38908
38269
  * http://goto/soy-param-migration
38909
- * @param {!proto.zaber.motion.protobufs.SimpleTuningParam} msg The msg instance to transform.
38270
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} msg The msg instance to transform.
38910
38271
  * @return {!Object}
38911
38272
  * @suppress {unusedLocalVariables} f is only used for nested messages
38912
38273
  */
38913
- proto.zaber.motion.protobufs.SimpleTuningParam.toObject = function(includeInstance, msg) {
38274
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.toObject = function(includeInstance, msg) {
38914
38275
  var f, obj = {
38915
38276
  name: jspb.Message.getFieldWithDefault(msg, 1, ""),
38916
38277
  minLabel: jspb.Message.getFieldWithDefault(msg, 2, ""),
@@ -38929,23 +38290,23 @@ proto.zaber.motion.protobufs.SimpleTuningParam.toObject = function(includeInstan
38929
38290
  /**
38930
38291
  * Deserializes binary data (in protobuf wire format).
38931
38292
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
38932
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParam}
38293
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition}
38933
38294
  */
38934
- proto.zaber.motion.protobufs.SimpleTuningParam.deserializeBinary = function(bytes) {
38295
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.deserializeBinary = function(bytes) {
38935
38296
  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);
38297
+ var msg = new proto.zaber.motion.protobufs.SimpleTuningParamDefinition;
38298
+ return proto.zaber.motion.protobufs.SimpleTuningParamDefinition.deserializeBinaryFromReader(msg, reader);
38938
38299
  };
38939
38300
 
38940
38301
 
38941
38302
  /**
38942
38303
  * Deserializes binary data (in protobuf wire format) from the
38943
38304
  * given reader into the given message object.
38944
- * @param {!proto.zaber.motion.protobufs.SimpleTuningParam} msg The message object to deserialize into.
38305
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} msg The message object to deserialize into.
38945
38306
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
38946
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParam}
38307
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition}
38947
38308
  */
38948
- proto.zaber.motion.protobufs.SimpleTuningParam.deserializeBinaryFromReader = function(msg, reader) {
38309
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.deserializeBinaryFromReader = function(msg, reader) {
38949
38310
  while (reader.nextField()) {
38950
38311
  if (reader.isEndGroup()) {
38951
38312
  break;
@@ -38981,9 +38342,9 @@ proto.zaber.motion.protobufs.SimpleTuningParam.deserializeBinaryFromReader = fun
38981
38342
  * Serializes the message to binary data (in protobuf wire format).
38982
38343
  * @return {!Uint8Array}
38983
38344
  */
38984
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.serializeBinary = function() {
38345
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.serializeBinary = function() {
38985
38346
  var writer = new jspb.BinaryWriter();
38986
- proto.zaber.motion.protobufs.SimpleTuningParam.serializeBinaryToWriter(this, writer);
38347
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.serializeBinaryToWriter(this, writer);
38987
38348
  return writer.getResultBuffer();
38988
38349
  };
38989
38350
 
@@ -38991,11 +38352,11 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.serializeBinary = funct
38991
38352
  /**
38992
38353
  * Serializes the given message to binary data (in protobuf wire
38993
38354
  * format), writing to the given BinaryWriter.
38994
- * @param {!proto.zaber.motion.protobufs.SimpleTuningParam} message
38355
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} message
38995
38356
  * @param {!jspb.BinaryWriter} writer
38996
38357
  * @suppress {unusedLocalVariables} f is only used for nested messages
38997
38358
  */
38998
- proto.zaber.motion.protobufs.SimpleTuningParam.serializeBinaryToWriter = function(message, writer) {
38359
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.serializeBinaryToWriter = function(message, writer) {
38999
38360
  var f = undefined;
39000
38361
  f = message.getName();
39001
38362
  if (f.length > 0) {
@@ -39032,16 +38393,16 @@ proto.zaber.motion.protobufs.SimpleTuningParam.serializeBinaryToWriter = functio
39032
38393
  * optional string name = 1;
39033
38394
  * @return {string}
39034
38395
  */
39035
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.getName = function() {
38396
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.getName = function() {
39036
38397
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
39037
38398
  };
39038
38399
 
39039
38400
 
39040
38401
  /**
39041
38402
  * @param {string} value
39042
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParam} returns this
38403
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} returns this
39043
38404
  */
39044
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setName = function(value) {
38405
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.setName = function(value) {
39045
38406
  return jspb.Message.setProto3StringField(this, 1, value);
39046
38407
  };
39047
38408
 
@@ -39050,16 +38411,16 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setName = function(valu
39050
38411
  * optional string min_label = 2;
39051
38412
  * @return {string}
39052
38413
  */
39053
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.getMinLabel = function() {
38414
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.getMinLabel = function() {
39054
38415
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
39055
38416
  };
39056
38417
 
39057
38418
 
39058
38419
  /**
39059
38420
  * @param {string} value
39060
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParam} returns this
38421
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} returns this
39061
38422
  */
39062
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setMinLabel = function(value) {
38423
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.setMinLabel = function(value) {
39063
38424
  return jspb.Message.setProto3StringField(this, 2, value);
39064
38425
  };
39065
38426
 
@@ -39068,16 +38429,16 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setMinLabel = function(
39068
38429
  * optional string max_label = 3;
39069
38430
  * @return {string}
39070
38431
  */
39071
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.getMaxLabel = function() {
38432
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.getMaxLabel = function() {
39072
38433
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
39073
38434
  };
39074
38435
 
39075
38436
 
39076
38437
  /**
39077
38438
  * @param {string} value
39078
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParam} returns this
38439
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} returns this
39079
38440
  */
39080
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setMaxLabel = function(value) {
38441
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.setMaxLabel = function(value) {
39081
38442
  return jspb.Message.setProto3StringField(this, 3, value);
39082
38443
  };
39083
38444
 
@@ -39086,16 +38447,16 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setMaxLabel = function(
39086
38447
  * optional string data_type = 4;
39087
38448
  * @return {string}
39088
38449
  */
39089
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.getDataType = function() {
38450
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.getDataType = function() {
39090
38451
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
39091
38452
  };
39092
38453
 
39093
38454
 
39094
38455
  /**
39095
38456
  * @param {string} value
39096
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParam} returns this
38457
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} returns this
39097
38458
  */
39098
- proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setDataType = function(value) {
38459
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.setDataType = function(value) {
39099
38460
  return jspb.Message.setProto3StringField(this, 4, value);
39100
38461
  };
39101
38462
 
@@ -39106,7 +38467,7 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setDataType = function(
39106
38467
  * @private {!Array<number>}
39107
38468
  * @const
39108
38469
  */
39109
- proto.zaber.motion.protobufs.SimpleTuningParamList.repeatedFields_ = [1];
38470
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.repeatedFields_ = [1];
39110
38471
 
39111
38472
 
39112
38473
 
@@ -39123,8 +38484,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
39123
38484
  * http://goto/soy-param-migration
39124
38485
  * @return {!Object}
39125
38486
  */
39126
- proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.toObject = function(opt_includeInstance) {
39127
- return proto.zaber.motion.protobufs.SimpleTuningParamList.toObject(opt_includeInstance, this);
38487
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.toObject = function(opt_includeInstance) {
38488
+ return proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.toObject(opt_includeInstance, this);
39128
38489
  };
39129
38490
 
39130
38491
 
@@ -39133,14 +38494,14 @@ proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.toObject = function
39133
38494
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
39134
38495
  * the JSPB instance for transitional soy proto support:
39135
38496
  * http://goto/soy-param-migration
39136
- * @param {!proto.zaber.motion.protobufs.SimpleTuningParamList} msg The msg instance to transform.
38497
+ * @param {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse} msg The msg instance to transform.
39137
38498
  * @return {!Object}
39138
38499
  * @suppress {unusedLocalVariables} f is only used for nested messages
39139
38500
  */
39140
- proto.zaber.motion.protobufs.SimpleTuningParamList.toObject = function(includeInstance, msg) {
38501
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.toObject = function(includeInstance, msg) {
39141
38502
  var f, obj = {
39142
38503
  paramsList: jspb.Message.toObjectList(msg.getParamsList(),
39143
- proto.zaber.motion.protobufs.SimpleTuningParam.toObject, includeInstance)
38504
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.toObject, includeInstance)
39144
38505
  };
39145
38506
 
39146
38507
  if (includeInstance) {
@@ -39154,23 +38515,23 @@ proto.zaber.motion.protobufs.SimpleTuningParamList.toObject = function(includeIn
39154
38515
  /**
39155
38516
  * Deserializes binary data (in protobuf wire format).
39156
38517
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
39157
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParamList}
38518
+ * @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse}
39158
38519
  */
39159
- proto.zaber.motion.protobufs.SimpleTuningParamList.deserializeBinary = function(bytes) {
38520
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.deserializeBinary = function(bytes) {
39160
38521
  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);
38522
+ var msg = new proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse;
38523
+ return proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.deserializeBinaryFromReader(msg, reader);
39163
38524
  };
39164
38525
 
39165
38526
 
39166
38527
  /**
39167
38528
  * Deserializes binary data (in protobuf wire format) from the
39168
38529
  * given reader into the given message object.
39169
- * @param {!proto.zaber.motion.protobufs.SimpleTuningParamList} msg The message object to deserialize into.
38530
+ * @param {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse} msg The message object to deserialize into.
39170
38531
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
39171
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParamList}
38532
+ * @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse}
39172
38533
  */
39173
- proto.zaber.motion.protobufs.SimpleTuningParamList.deserializeBinaryFromReader = function(msg, reader) {
38534
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.deserializeBinaryFromReader = function(msg, reader) {
39174
38535
  while (reader.nextField()) {
39175
38536
  if (reader.isEndGroup()) {
39176
38537
  break;
@@ -39178,8 +38539,8 @@ proto.zaber.motion.protobufs.SimpleTuningParamList.deserializeBinaryFromReader =
39178
38539
  var field = reader.getFieldNumber();
39179
38540
  switch (field) {
39180
38541
  case 1:
39181
- var value = new proto.zaber.motion.protobufs.SimpleTuningParam;
39182
- reader.readMessage(value,proto.zaber.motion.protobufs.SimpleTuningParam.deserializeBinaryFromReader);
38542
+ var value = new proto.zaber.motion.protobufs.SimpleTuningParamDefinition;
38543
+ reader.readMessage(value,proto.zaber.motion.protobufs.SimpleTuningParamDefinition.deserializeBinaryFromReader);
39183
38544
  msg.addParams(value);
39184
38545
  break;
39185
38546
  default:
@@ -39195,9 +38556,9 @@ proto.zaber.motion.protobufs.SimpleTuningParamList.deserializeBinaryFromReader =
39195
38556
  * Serializes the message to binary data (in protobuf wire format).
39196
38557
  * @return {!Uint8Array}
39197
38558
  */
39198
- proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.serializeBinary = function() {
38559
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.serializeBinary = function() {
39199
38560
  var writer = new jspb.BinaryWriter();
39200
- proto.zaber.motion.protobufs.SimpleTuningParamList.serializeBinaryToWriter(this, writer);
38561
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.serializeBinaryToWriter(this, writer);
39201
38562
  return writer.getResultBuffer();
39202
38563
  };
39203
38564
 
@@ -39205,57 +38566,57 @@ proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.serializeBinary = f
39205
38566
  /**
39206
38567
  * Serializes the given message to binary data (in protobuf wire
39207
38568
  * format), writing to the given BinaryWriter.
39208
- * @param {!proto.zaber.motion.protobufs.SimpleTuningParamList} message
38569
+ * @param {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse} message
39209
38570
  * @param {!jspb.BinaryWriter} writer
39210
38571
  * @suppress {unusedLocalVariables} f is only used for nested messages
39211
38572
  */
39212
- proto.zaber.motion.protobufs.SimpleTuningParamList.serializeBinaryToWriter = function(message, writer) {
38573
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.serializeBinaryToWriter = function(message, writer) {
39213
38574
  var f = undefined;
39214
38575
  f = message.getParamsList();
39215
38576
  if (f.length > 0) {
39216
38577
  writer.writeRepeatedMessage(
39217
38578
  1,
39218
38579
  f,
39219
- proto.zaber.motion.protobufs.SimpleTuningParam.serializeBinaryToWriter
38580
+ proto.zaber.motion.protobufs.SimpleTuningParamDefinition.serializeBinaryToWriter
39220
38581
  );
39221
38582
  }
39222
38583
  };
39223
38584
 
39224
38585
 
39225
38586
  /**
39226
- * repeated SimpleTuningParam params = 1;
39227
- * @return {!Array<!proto.zaber.motion.protobufs.SimpleTuningParam>}
38587
+ * repeated SimpleTuningParamDefinition params = 1;
38588
+ * @return {!Array<!proto.zaber.motion.protobufs.SimpleTuningParamDefinition>}
39228
38589
  */
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));
38590
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.getParamsList = function() {
38591
+ return /** @type{!Array<!proto.zaber.motion.protobufs.SimpleTuningParamDefinition>} */ (
38592
+ jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.SimpleTuningParamDefinition, 1));
39232
38593
  };
39233
38594
 
39234
38595
 
39235
38596
  /**
39236
- * @param {!Array<!proto.zaber.motion.protobufs.SimpleTuningParam>} value
39237
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParamList} returns this
38597
+ * @param {!Array<!proto.zaber.motion.protobufs.SimpleTuningParamDefinition>} value
38598
+ * @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse} returns this
39238
38599
  */
39239
- proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.setParamsList = function(value) {
38600
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.setParamsList = function(value) {
39240
38601
  return jspb.Message.setRepeatedWrapperField(this, 1, value);
39241
38602
  };
39242
38603
 
39243
38604
 
39244
38605
  /**
39245
- * @param {!proto.zaber.motion.protobufs.SimpleTuningParam=} opt_value
38606
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition=} opt_value
39246
38607
  * @param {number=} opt_index
39247
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParam}
38608
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition}
39248
38609
  */
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);
38610
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.addParams = function(opt_value, opt_index) {
38611
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.zaber.motion.protobufs.SimpleTuningParamDefinition, opt_index);
39251
38612
  };
39252
38613
 
39253
38614
 
39254
38615
  /**
39255
38616
  * Clears the list making it empty but non-null.
39256
- * @return {!proto.zaber.motion.protobufs.SimpleTuningParamList} returns this
38617
+ * @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse} returns this
39257
38618
  */
39258
- proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.clearParamsList = function() {
38619
+ proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.clearParamsList = function() {
39259
38620
  return this.setParamsList([]);
39260
38621
  };
39261
38622
 
@@ -42014,6 +41375,275 @@ proto.zaber.motion.protobufs.TranslatorCreateLiveRequest.prototype.hasConfig = f
42014
41375
 
42015
41376
 
42016
41377
 
41378
+ /**
41379
+ * List of repeated fields within this message type.
41380
+ * @private {!Array<number>}
41381
+ * @const
41382
+ */
41383
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.repeatedFields_ = [3];
41384
+
41385
+
41386
+
41387
+ if (jspb.Message.GENERATE_TO_OBJECT) {
41388
+ /**
41389
+ * Creates an object representation of this proto.
41390
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
41391
+ * Optional fields that are not set will be set to undefined.
41392
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
41393
+ * For the list of reserved names please see:
41394
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
41395
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
41396
+ * JSPB instance for transitional soy proto support:
41397
+ * http://goto/soy-param-migration
41398
+ * @return {!Object}
41399
+ */
41400
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.toObject = function(opt_includeInstance) {
41401
+ return proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.toObject(opt_includeInstance, this);
41402
+ };
41403
+
41404
+
41405
+ /**
41406
+ * Static version of the {@see toObject} method.
41407
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
41408
+ * the JSPB instance for transitional soy proto support:
41409
+ * http://goto/soy-param-migration
41410
+ * @param {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} msg The msg instance to transform.
41411
+ * @return {!Object}
41412
+ * @suppress {unusedLocalVariables} f is only used for nested messages
41413
+ */
41414
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.toObject = function(includeInstance, msg) {
41415
+ var f, obj = {
41416
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
41417
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
41418
+ axesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
41419
+ config: (f = msg.getConfig()) && proto.zaber.motion.protobufs.TranslatorConfig.toObject(includeInstance, f)
41420
+ };
41421
+
41422
+ if (includeInstance) {
41423
+ obj.$jspbMessageInstance = msg;
41424
+ }
41425
+ return obj;
41426
+ };
41427
+ }
41428
+
41429
+
41430
+ /**
41431
+ * Deserializes binary data (in protobuf wire format).
41432
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
41433
+ * @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest}
41434
+ */
41435
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.deserializeBinary = function(bytes) {
41436
+ var reader = new jspb.BinaryReader(bytes);
41437
+ var msg = new proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest;
41438
+ return proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.deserializeBinaryFromReader(msg, reader);
41439
+ };
41440
+
41441
+
41442
+ /**
41443
+ * Deserializes binary data (in protobuf wire format) from the
41444
+ * given reader into the given message object.
41445
+ * @param {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} msg The message object to deserialize into.
41446
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
41447
+ * @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest}
41448
+ */
41449
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.deserializeBinaryFromReader = function(msg, reader) {
41450
+ while (reader.nextField()) {
41451
+ if (reader.isEndGroup()) {
41452
+ break;
41453
+ }
41454
+ var field = reader.getFieldNumber();
41455
+ switch (field) {
41456
+ case 1:
41457
+ var value = /** @type {number} */ (reader.readInt32());
41458
+ msg.setInterfaceId(value);
41459
+ break;
41460
+ case 2:
41461
+ var value = /** @type {number} */ (reader.readInt32());
41462
+ msg.setDevice(value);
41463
+ break;
41464
+ case 3:
41465
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
41466
+ for (var i = 0; i < values.length; i++) {
41467
+ msg.addAxes(values[i]);
41468
+ }
41469
+ break;
41470
+ case 4:
41471
+ var value = new proto.zaber.motion.protobufs.TranslatorConfig;
41472
+ reader.readMessage(value,proto.zaber.motion.protobufs.TranslatorConfig.deserializeBinaryFromReader);
41473
+ msg.setConfig(value);
41474
+ break;
41475
+ default:
41476
+ reader.skipField();
41477
+ break;
41478
+ }
41479
+ }
41480
+ return msg;
41481
+ };
41482
+
41483
+
41484
+ /**
41485
+ * Serializes the message to binary data (in protobuf wire format).
41486
+ * @return {!Uint8Array}
41487
+ */
41488
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.serializeBinary = function() {
41489
+ var writer = new jspb.BinaryWriter();
41490
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.serializeBinaryToWriter(this, writer);
41491
+ return writer.getResultBuffer();
41492
+ };
41493
+
41494
+
41495
+ /**
41496
+ * Serializes the given message to binary data (in protobuf wire
41497
+ * format), writing to the given BinaryWriter.
41498
+ * @param {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} message
41499
+ * @param {!jspb.BinaryWriter} writer
41500
+ * @suppress {unusedLocalVariables} f is only used for nested messages
41501
+ */
41502
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.serializeBinaryToWriter = function(message, writer) {
41503
+ var f = undefined;
41504
+ f = message.getInterfaceId();
41505
+ if (f !== 0) {
41506
+ writer.writeInt32(
41507
+ 1,
41508
+ f
41509
+ );
41510
+ }
41511
+ f = message.getDevice();
41512
+ if (f !== 0) {
41513
+ writer.writeInt32(
41514
+ 2,
41515
+ f
41516
+ );
41517
+ }
41518
+ f = message.getAxesList();
41519
+ if (f.length > 0) {
41520
+ writer.writePackedInt32(
41521
+ 3,
41522
+ f
41523
+ );
41524
+ }
41525
+ f = message.getConfig();
41526
+ if (f != null) {
41527
+ writer.writeMessage(
41528
+ 4,
41529
+ f,
41530
+ proto.zaber.motion.protobufs.TranslatorConfig.serializeBinaryToWriter
41531
+ );
41532
+ }
41533
+ };
41534
+
41535
+
41536
+ /**
41537
+ * optional int32 interface_id = 1;
41538
+ * @return {number}
41539
+ */
41540
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.getInterfaceId = function() {
41541
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
41542
+ };
41543
+
41544
+
41545
+ /**
41546
+ * @param {number} value
41547
+ * @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} returns this
41548
+ */
41549
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.setInterfaceId = function(value) {
41550
+ return jspb.Message.setProto3IntField(this, 1, value);
41551
+ };
41552
+
41553
+
41554
+ /**
41555
+ * optional int32 device = 2;
41556
+ * @return {number}
41557
+ */
41558
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.getDevice = function() {
41559
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
41560
+ };
41561
+
41562
+
41563
+ /**
41564
+ * @param {number} value
41565
+ * @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} returns this
41566
+ */
41567
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.setDevice = function(value) {
41568
+ return jspb.Message.setProto3IntField(this, 2, value);
41569
+ };
41570
+
41571
+
41572
+ /**
41573
+ * repeated int32 axes = 3;
41574
+ * @return {!Array<number>}
41575
+ */
41576
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.getAxesList = function() {
41577
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
41578
+ };
41579
+
41580
+
41581
+ /**
41582
+ * @param {!Array<number>} value
41583
+ * @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} returns this
41584
+ */
41585
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.setAxesList = function(value) {
41586
+ return jspb.Message.setField(this, 3, value || []);
41587
+ };
41588
+
41589
+
41590
+ /**
41591
+ * @param {number} value
41592
+ * @param {number=} opt_index
41593
+ * @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} returns this
41594
+ */
41595
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.addAxes = function(value, opt_index) {
41596
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
41597
+ };
41598
+
41599
+
41600
+ /**
41601
+ * Clears the list making it empty but non-null.
41602
+ * @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} returns this
41603
+ */
41604
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.clearAxesList = function() {
41605
+ return this.setAxesList([]);
41606
+ };
41607
+
41608
+
41609
+ /**
41610
+ * optional TranslatorConfig config = 4;
41611
+ * @return {?proto.zaber.motion.protobufs.TranslatorConfig}
41612
+ */
41613
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.getConfig = function() {
41614
+ return /** @type{?proto.zaber.motion.protobufs.TranslatorConfig} */ (
41615
+ jspb.Message.getWrapperField(this, proto.zaber.motion.protobufs.TranslatorConfig, 4));
41616
+ };
41617
+
41618
+
41619
+ /**
41620
+ * @param {?proto.zaber.motion.protobufs.TranslatorConfig|undefined} value
41621
+ * @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} returns this
41622
+ */
41623
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.setConfig = function(value) {
41624
+ return jspb.Message.setWrapperField(this, 4, value);
41625
+ };
41626
+
41627
+
41628
+ /**
41629
+ * Clears the message field making it undefined.
41630
+ * @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} returns this
41631
+ */
41632
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.clearConfig = function() {
41633
+ return this.setConfig(undefined);
41634
+ };
41635
+
41636
+
41637
+ /**
41638
+ * Returns whether this field is set.
41639
+ * @return {boolean}
41640
+ */
41641
+ proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.hasConfig = function() {
41642
+ return jspb.Message.getField(this, 4) != null;
41643
+ };
41644
+
41645
+
41646
+
42017
41647
 
42018
41648
 
42019
41649
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -43553,9 +43183,259 @@ proto.zaber.motion.protobufs.DeviceGetStorageRequest.serializeBinaryToWriter = f
43553
43183
  f
43554
43184
  );
43555
43185
  }
43556
- f = message.getDecode();
43557
- if (f) {
43558
- writer.writeBool(
43186
+ f = message.getDecode();
43187
+ if (f) {
43188
+ writer.writeBool(
43189
+ 5,
43190
+ f
43191
+ );
43192
+ }
43193
+ };
43194
+
43195
+
43196
+ /**
43197
+ * optional int32 interface_id = 1;
43198
+ * @return {number}
43199
+ */
43200
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getInterfaceId = function() {
43201
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
43202
+ };
43203
+
43204
+
43205
+ /**
43206
+ * @param {number} value
43207
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
43208
+ */
43209
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setInterfaceId = function(value) {
43210
+ return jspb.Message.setProto3IntField(this, 1, value);
43211
+ };
43212
+
43213
+
43214
+ /**
43215
+ * optional int32 device = 2;
43216
+ * @return {number}
43217
+ */
43218
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getDevice = function() {
43219
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
43220
+ };
43221
+
43222
+
43223
+ /**
43224
+ * @param {number} value
43225
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
43226
+ */
43227
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDevice = function(value) {
43228
+ return jspb.Message.setProto3IntField(this, 2, value);
43229
+ };
43230
+
43231
+
43232
+ /**
43233
+ * optional int32 axis = 3;
43234
+ * @return {number}
43235
+ */
43236
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getAxis = function() {
43237
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
43238
+ };
43239
+
43240
+
43241
+ /**
43242
+ * @param {number} value
43243
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
43244
+ */
43245
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setAxis = function(value) {
43246
+ return jspb.Message.setProto3IntField(this, 3, value);
43247
+ };
43248
+
43249
+
43250
+ /**
43251
+ * optional string key = 4;
43252
+ * @return {string}
43253
+ */
43254
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getKey = function() {
43255
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
43256
+ };
43257
+
43258
+
43259
+ /**
43260
+ * @param {string} value
43261
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
43262
+ */
43263
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setKey = function(value) {
43264
+ return jspb.Message.setProto3StringField(this, 4, value);
43265
+ };
43266
+
43267
+
43268
+ /**
43269
+ * optional bool decode = 5;
43270
+ * @return {boolean}
43271
+ */
43272
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getDecode = function() {
43273
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
43274
+ };
43275
+
43276
+
43277
+ /**
43278
+ * @param {boolean} value
43279
+ * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
43280
+ */
43281
+ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDecode = function(value) {
43282
+ return jspb.Message.setProto3BooleanField(this, 5, value);
43283
+ };
43284
+
43285
+
43286
+
43287
+
43288
+
43289
+ if (jspb.Message.GENERATE_TO_OBJECT) {
43290
+ /**
43291
+ * Creates an object representation of this proto.
43292
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
43293
+ * Optional fields that are not set will be set to undefined.
43294
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
43295
+ * For the list of reserved names please see:
43296
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
43297
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
43298
+ * JSPB instance for transitional soy proto support:
43299
+ * http://goto/soy-param-migration
43300
+ * @return {!Object}
43301
+ */
43302
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.toObject = function(opt_includeInstance) {
43303
+ return proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject(opt_includeInstance, this);
43304
+ };
43305
+
43306
+
43307
+ /**
43308
+ * Static version of the {@see toObject} method.
43309
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
43310
+ * the JSPB instance for transitional soy proto support:
43311
+ * http://goto/soy-param-migration
43312
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} msg The msg instance to transform.
43313
+ * @return {!Object}
43314
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43315
+ */
43316
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject = function(includeInstance, msg) {
43317
+ var f, obj = {
43318
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
43319
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
43320
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
43321
+ key: jspb.Message.getFieldWithDefault(msg, 4, ""),
43322
+ value: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
43323
+ };
43324
+
43325
+ if (includeInstance) {
43326
+ obj.$jspbMessageInstance = msg;
43327
+ }
43328
+ return obj;
43329
+ };
43330
+ }
43331
+
43332
+
43333
+ /**
43334
+ * Deserializes binary data (in protobuf wire format).
43335
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
43336
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest}
43337
+ */
43338
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinary = function(bytes) {
43339
+ var reader = new jspb.BinaryReader(bytes);
43340
+ var msg = new proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest;
43341
+ return proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFromReader(msg, reader);
43342
+ };
43343
+
43344
+
43345
+ /**
43346
+ * Deserializes binary data (in protobuf wire format) from the
43347
+ * given reader into the given message object.
43348
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} msg The message object to deserialize into.
43349
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43350
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest}
43351
+ */
43352
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFromReader = function(msg, reader) {
43353
+ while (reader.nextField()) {
43354
+ if (reader.isEndGroup()) {
43355
+ break;
43356
+ }
43357
+ var field = reader.getFieldNumber();
43358
+ switch (field) {
43359
+ case 1:
43360
+ var value = /** @type {number} */ (reader.readInt32());
43361
+ msg.setInterfaceId(value);
43362
+ break;
43363
+ case 2:
43364
+ var value = /** @type {number} */ (reader.readInt32());
43365
+ msg.setDevice(value);
43366
+ break;
43367
+ case 3:
43368
+ var value = /** @type {number} */ (reader.readInt32());
43369
+ msg.setAxis(value);
43370
+ break;
43371
+ case 4:
43372
+ var value = /** @type {string} */ (reader.readString());
43373
+ msg.setKey(value);
43374
+ break;
43375
+ case 5:
43376
+ var value = /** @type {number} */ (reader.readDouble());
43377
+ msg.setValue(value);
43378
+ break;
43379
+ default:
43380
+ reader.skipField();
43381
+ break;
43382
+ }
43383
+ }
43384
+ return msg;
43385
+ };
43386
+
43387
+
43388
+ /**
43389
+ * Serializes the message to binary data (in protobuf wire format).
43390
+ * @return {!Uint8Array}
43391
+ */
43392
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.serializeBinary = function() {
43393
+ var writer = new jspb.BinaryWriter();
43394
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWriter(this, writer);
43395
+ return writer.getResultBuffer();
43396
+ };
43397
+
43398
+
43399
+ /**
43400
+ * Serializes the given message to binary data (in protobuf wire
43401
+ * format), writing to the given BinaryWriter.
43402
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} message
43403
+ * @param {!jspb.BinaryWriter} writer
43404
+ * @suppress {unusedLocalVariables} f is only used for nested messages
43405
+ */
43406
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWriter = function(message, writer) {
43407
+ var f = undefined;
43408
+ f = message.getInterfaceId();
43409
+ if (f !== 0) {
43410
+ writer.writeInt32(
43411
+ 1,
43412
+ f
43413
+ );
43414
+ }
43415
+ f = message.getDevice();
43416
+ if (f !== 0) {
43417
+ writer.writeInt32(
43418
+ 2,
43419
+ f
43420
+ );
43421
+ }
43422
+ f = message.getAxis();
43423
+ if (f !== 0) {
43424
+ writer.writeInt32(
43425
+ 3,
43426
+ f
43427
+ );
43428
+ }
43429
+ f = message.getKey();
43430
+ if (f.length > 0) {
43431
+ writer.writeString(
43432
+ 4,
43433
+ f
43434
+ );
43435
+ }
43436
+ f = message.getValue();
43437
+ if (f !== 0.0) {
43438
+ writer.writeDouble(
43559
43439
  5,
43560
43440
  f
43561
43441
  );
@@ -43567,16 +43447,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageRequest.serializeBinaryToWriter = f
43567
43447
  * optional int32 interface_id = 1;
43568
43448
  * @return {number}
43569
43449
  */
43570
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getInterfaceId = function() {
43450
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getInterfaceId = function() {
43571
43451
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
43572
43452
  };
43573
43453
 
43574
43454
 
43575
43455
  /**
43576
43456
  * @param {number} value
43577
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
43457
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43578
43458
  */
43579
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setInterfaceId = function(value) {
43459
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setInterfaceId = function(value) {
43580
43460
  return jspb.Message.setProto3IntField(this, 1, value);
43581
43461
  };
43582
43462
 
@@ -43585,16 +43465,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setInterfaceId =
43585
43465
  * optional int32 device = 2;
43586
43466
  * @return {number}
43587
43467
  */
43588
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getDevice = function() {
43468
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getDevice = function() {
43589
43469
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
43590
43470
  };
43591
43471
 
43592
43472
 
43593
43473
  /**
43594
43474
  * @param {number} value
43595
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
43475
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43596
43476
  */
43597
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDevice = function(value) {
43477
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setDevice = function(value) {
43598
43478
  return jspb.Message.setProto3IntField(this, 2, value);
43599
43479
  };
43600
43480
 
@@ -43603,16 +43483,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDevice = funct
43603
43483
  * optional int32 axis = 3;
43604
43484
  * @return {number}
43605
43485
  */
43606
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getAxis = function() {
43486
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getAxis = function() {
43607
43487
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
43608
43488
  };
43609
43489
 
43610
43490
 
43611
43491
  /**
43612
43492
  * @param {number} value
43613
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
43493
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43614
43494
  */
43615
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setAxis = function(value) {
43495
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setAxis = function(value) {
43616
43496
  return jspb.Message.setProto3IntField(this, 3, value);
43617
43497
  };
43618
43498
 
@@ -43621,35 +43501,35 @@ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setAxis = functio
43621
43501
  * optional string key = 4;
43622
43502
  * @return {string}
43623
43503
  */
43624
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getKey = function() {
43504
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getKey = function() {
43625
43505
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
43626
43506
  };
43627
43507
 
43628
43508
 
43629
43509
  /**
43630
43510
  * @param {string} value
43631
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
43511
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43632
43512
  */
43633
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setKey = function(value) {
43513
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setKey = function(value) {
43634
43514
  return jspb.Message.setProto3StringField(this, 4, value);
43635
43515
  };
43636
43516
 
43637
43517
 
43638
43518
  /**
43639
- * optional bool decode = 5;
43640
- * @return {boolean}
43519
+ * optional double value = 5;
43520
+ * @return {number}
43641
43521
  */
43642
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getDecode = function() {
43643
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
43522
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getValue = function() {
43523
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
43644
43524
  };
43645
43525
 
43646
43526
 
43647
43527
  /**
43648
- * @param {boolean} value
43649
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
43528
+ * @param {number} value
43529
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43650
43530
  */
43651
- proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDecode = function(value) {
43652
- return jspb.Message.setProto3BooleanField(this, 5, value);
43531
+ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setValue = function(value) {
43532
+ return jspb.Message.setProto3FloatField(this, 5, value);
43653
43533
  };
43654
43534
 
43655
43535
 
@@ -43669,8 +43549,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
43669
43549
  * http://goto/soy-param-migration
43670
43550
  * @return {!Object}
43671
43551
  */
43672
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.toObject = function(opt_includeInstance) {
43673
- return proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject(opt_includeInstance, this);
43552
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.toObject = function(opt_includeInstance) {
43553
+ return proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject(opt_includeInstance, this);
43674
43554
  };
43675
43555
 
43676
43556
 
@@ -43679,17 +43559,17 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.toObject =
43679
43559
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
43680
43560
  * the JSPB instance for transitional soy proto support:
43681
43561
  * http://goto/soy-param-migration
43682
- * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} msg The msg instance to transform.
43562
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} msg The msg instance to transform.
43683
43563
  * @return {!Object}
43684
43564
  * @suppress {unusedLocalVariables} f is only used for nested messages
43685
43565
  */
43686
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject = function(includeInstance, msg) {
43566
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject = function(includeInstance, msg) {
43687
43567
  var f, obj = {
43688
43568
  interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
43689
43569
  device: jspb.Message.getFieldWithDefault(msg, 2, 0),
43690
43570
  axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
43691
43571
  key: jspb.Message.getFieldWithDefault(msg, 4, ""),
43692
- value: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
43572
+ value: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
43693
43573
  };
43694
43574
 
43695
43575
  if (includeInstance) {
@@ -43703,23 +43583,23 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject = function(i
43703
43583
  /**
43704
43584
  * Deserializes binary data (in protobuf wire format).
43705
43585
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
43706
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest}
43586
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest}
43707
43587
  */
43708
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinary = function(bytes) {
43588
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinary = function(bytes) {
43709
43589
  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);
43590
+ var msg = new proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest;
43591
+ return proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromReader(msg, reader);
43712
43592
  };
43713
43593
 
43714
43594
 
43715
43595
  /**
43716
43596
  * Deserializes binary data (in protobuf wire format) from the
43717
43597
  * given reader into the given message object.
43718
- * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} msg The message object to deserialize into.
43598
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} msg The message object to deserialize into.
43719
43599
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43720
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest}
43600
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest}
43721
43601
  */
43722
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFromReader = function(msg, reader) {
43602
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromReader = function(msg, reader) {
43723
43603
  while (reader.nextField()) {
43724
43604
  if (reader.isEndGroup()) {
43725
43605
  break;
@@ -43743,7 +43623,7 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFrom
43743
43623
  msg.setKey(value);
43744
43624
  break;
43745
43625
  case 5:
43746
- var value = /** @type {number} */ (reader.readDouble());
43626
+ var value = /** @type {boolean} */ (reader.readBool());
43747
43627
  msg.setValue(value);
43748
43628
  break;
43749
43629
  default:
@@ -43759,9 +43639,9 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFrom
43759
43639
  * Serializes the message to binary data (in protobuf wire format).
43760
43640
  * @return {!Uint8Array}
43761
43641
  */
43762
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.serializeBinary = function() {
43642
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.serializeBinary = function() {
43763
43643
  var writer = new jspb.BinaryWriter();
43764
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWriter(this, writer);
43644
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter(this, writer);
43765
43645
  return writer.getResultBuffer();
43766
43646
  };
43767
43647
 
@@ -43769,11 +43649,11 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.serializeBi
43769
43649
  /**
43770
43650
  * Serializes the given message to binary data (in protobuf wire
43771
43651
  * format), writing to the given BinaryWriter.
43772
- * @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} message
43652
+ * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} message
43773
43653
  * @param {!jspb.BinaryWriter} writer
43774
43654
  * @suppress {unusedLocalVariables} f is only used for nested messages
43775
43655
  */
43776
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWriter = function(message, writer) {
43656
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter = function(message, writer) {
43777
43657
  var f = undefined;
43778
43658
  f = message.getInterfaceId();
43779
43659
  if (f !== 0) {
@@ -43804,8 +43684,8 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWrit
43804
43684
  );
43805
43685
  }
43806
43686
  f = message.getValue();
43807
- if (f !== 0.0) {
43808
- writer.writeDouble(
43687
+ if (f) {
43688
+ writer.writeBool(
43809
43689
  5,
43810
43690
  f
43811
43691
  );
@@ -43817,16 +43697,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWrit
43817
43697
  * optional int32 interface_id = 1;
43818
43698
  * @return {number}
43819
43699
  */
43820
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getInterfaceId = function() {
43700
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getInterfaceId = function() {
43821
43701
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
43822
43702
  };
43823
43703
 
43824
43704
 
43825
43705
  /**
43826
43706
  * @param {number} value
43827
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43707
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
43828
43708
  */
43829
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setInterfaceId = function(value) {
43709
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setInterfaceId = function(value) {
43830
43710
  return jspb.Message.setProto3IntField(this, 1, value);
43831
43711
  };
43832
43712
 
@@ -43835,16 +43715,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setInterfac
43835
43715
  * optional int32 device = 2;
43836
43716
  * @return {number}
43837
43717
  */
43838
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getDevice = function() {
43718
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getDevice = function() {
43839
43719
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
43840
43720
  };
43841
43721
 
43842
43722
 
43843
43723
  /**
43844
43724
  * @param {number} value
43845
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43725
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
43846
43726
  */
43847
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setDevice = function(value) {
43727
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setDevice = function(value) {
43848
43728
  return jspb.Message.setProto3IntField(this, 2, value);
43849
43729
  };
43850
43730
 
@@ -43853,16 +43733,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setDevice =
43853
43733
  * optional int32 axis = 3;
43854
43734
  * @return {number}
43855
43735
  */
43856
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getAxis = function() {
43736
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getAxis = function() {
43857
43737
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
43858
43738
  };
43859
43739
 
43860
43740
 
43861
43741
  /**
43862
43742
  * @param {number} value
43863
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43743
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
43864
43744
  */
43865
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setAxis = function(value) {
43745
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setAxis = function(value) {
43866
43746
  return jspb.Message.setProto3IntField(this, 3, value);
43867
43747
  };
43868
43748
 
@@ -43871,35 +43751,35 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setAxis = f
43871
43751
  * optional string key = 4;
43872
43752
  * @return {string}
43873
43753
  */
43874
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getKey = function() {
43754
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getKey = function() {
43875
43755
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
43876
43756
  };
43877
43757
 
43878
43758
 
43879
43759
  /**
43880
43760
  * @param {string} value
43881
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43761
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
43882
43762
  */
43883
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setKey = function(value) {
43763
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setKey = function(value) {
43884
43764
  return jspb.Message.setProto3StringField(this, 4, value);
43885
43765
  };
43886
43766
 
43887
43767
 
43888
43768
  /**
43889
- * optional double value = 5;
43890
- * @return {number}
43769
+ * optional bool value = 5;
43770
+ * @return {boolean}
43891
43771
  */
43892
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getValue = function() {
43893
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
43772
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getValue = function() {
43773
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
43894
43774
  };
43895
43775
 
43896
43776
 
43897
43777
  /**
43898
- * @param {number} value
43899
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
43778
+ * @param {boolean} value
43779
+ * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
43900
43780
  */
43901
- proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setValue = function(value) {
43902
- return jspb.Message.setProto3FloatField(this, 5, value);
43781
+ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setValue = function(value) {
43782
+ return jspb.Message.setProto3BooleanField(this, 5, value);
43903
43783
  };
43904
43784
 
43905
43785
 
@@ -43919,8 +43799,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
43919
43799
  * http://goto/soy-param-migration
43920
43800
  * @return {!Object}
43921
43801
  */
43922
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.toObject = function(opt_includeInstance) {
43923
- return proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.toObject(opt_includeInstance, this);
43802
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.toObject = function(opt_includeInstance) {
43803
+ return proto.zaber.motion.protobufs.DeviceStorageRequest.toObject(opt_includeInstance, this);
43924
43804
  };
43925
43805
 
43926
43806
 
@@ -43929,11 +43809,11 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.toObject =
43929
43809
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
43930
43810
  * the JSPB instance for transitional soy proto support:
43931
43811
  * http://goto/soy-param-migration
43932
- * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} msg The msg instance to transform.
43812
+ * @param {!proto.zaber.motion.protobufs.DeviceStorageRequest} msg The msg instance to transform.
43933
43813
  * @return {!Object}
43934
43814
  * @suppress {unusedLocalVariables} f is only used for nested messages
43935
43815
  */
43936
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.toObject = function(includeInstance, msg) {
43816
+ proto.zaber.motion.protobufs.DeviceStorageRequest.toObject = function(includeInstance, msg) {
43937
43817
  var f, obj = {
43938
43818
  interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
43939
43819
  device: jspb.Message.getFieldWithDefault(msg, 2, 0),
@@ -43952,23 +43832,23 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.toObject = function(i
43952
43832
  /**
43953
43833
  * Deserializes binary data (in protobuf wire format).
43954
43834
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
43955
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest}
43835
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageRequest}
43956
43836
  */
43957
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.deserializeBinary = function(bytes) {
43837
+ proto.zaber.motion.protobufs.DeviceStorageRequest.deserializeBinary = function(bytes) {
43958
43838
  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);
43839
+ var msg = new proto.zaber.motion.protobufs.DeviceStorageRequest;
43840
+ return proto.zaber.motion.protobufs.DeviceStorageRequest.deserializeBinaryFromReader(msg, reader);
43961
43841
  };
43962
43842
 
43963
43843
 
43964
43844
  /**
43965
43845
  * Deserializes binary data (in protobuf wire format) from the
43966
43846
  * given reader into the given message object.
43967
- * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} msg The message object to deserialize into.
43847
+ * @param {!proto.zaber.motion.protobufs.DeviceStorageRequest} msg The message object to deserialize into.
43968
43848
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
43969
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest}
43849
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageRequest}
43970
43850
  */
43971
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.deserializeBinaryFromReader = function(msg, reader) {
43851
+ proto.zaber.motion.protobufs.DeviceStorageRequest.deserializeBinaryFromReader = function(msg, reader) {
43972
43852
  while (reader.nextField()) {
43973
43853
  if (reader.isEndGroup()) {
43974
43854
  break;
@@ -44004,9 +43884,9 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.deserializeBinaryFrom
44004
43884
  * Serializes the message to binary data (in protobuf wire format).
44005
43885
  * @return {!Uint8Array}
44006
43886
  */
44007
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.serializeBinary = function() {
43887
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.serializeBinary = function() {
44008
43888
  var writer = new jspb.BinaryWriter();
44009
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.serializeBinaryToWriter(this, writer);
43889
+ proto.zaber.motion.protobufs.DeviceStorageRequest.serializeBinaryToWriter(this, writer);
44010
43890
  return writer.getResultBuffer();
44011
43891
  };
44012
43892
 
@@ -44014,11 +43894,11 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.serializeBi
44014
43894
  /**
44015
43895
  * Serializes the given message to binary data (in protobuf wire
44016
43896
  * format), writing to the given BinaryWriter.
44017
- * @param {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} message
43897
+ * @param {!proto.zaber.motion.protobufs.DeviceStorageRequest} message
44018
43898
  * @param {!jspb.BinaryWriter} writer
44019
43899
  * @suppress {unusedLocalVariables} f is only used for nested messages
44020
43900
  */
44021
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.serializeBinaryToWriter = function(message, writer) {
43901
+ proto.zaber.motion.protobufs.DeviceStorageRequest.serializeBinaryToWriter = function(message, writer) {
44022
43902
  var f = undefined;
44023
43903
  f = message.getInterfaceId();
44024
43904
  if (f !== 0) {
@@ -44055,16 +43935,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.serializeBinaryToWrit
44055
43935
  * optional int32 interface_id = 1;
44056
43936
  * @return {number}
44057
43937
  */
44058
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.getInterfaceId = function() {
43938
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.getInterfaceId = function() {
44059
43939
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
44060
43940
  };
44061
43941
 
44062
43942
 
44063
43943
  /**
44064
43944
  * @param {number} value
44065
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} returns this
43945
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageRequest} returns this
44066
43946
  */
44067
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setInterfaceId = function(value) {
43947
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.setInterfaceId = function(value) {
44068
43948
  return jspb.Message.setProto3IntField(this, 1, value);
44069
43949
  };
44070
43950
 
@@ -44073,16 +43953,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setInterfac
44073
43953
  * optional int32 device = 2;
44074
43954
  * @return {number}
44075
43955
  */
44076
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.getDevice = function() {
43956
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.getDevice = function() {
44077
43957
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
44078
43958
  };
44079
43959
 
44080
43960
 
44081
43961
  /**
44082
43962
  * @param {number} value
44083
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} returns this
43963
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageRequest} returns this
44084
43964
  */
44085
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setDevice = function(value) {
43965
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.setDevice = function(value) {
44086
43966
  return jspb.Message.setProto3IntField(this, 2, value);
44087
43967
  };
44088
43968
 
@@ -44091,16 +43971,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setDevice =
44091
43971
  * optional int32 axis = 3;
44092
43972
  * @return {number}
44093
43973
  */
44094
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.getAxis = function() {
43974
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.getAxis = function() {
44095
43975
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
44096
43976
  };
44097
43977
 
44098
43978
 
44099
43979
  /**
44100
43980
  * @param {number} value
44101
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} returns this
43981
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageRequest} returns this
44102
43982
  */
44103
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setAxis = function(value) {
43983
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.setAxis = function(value) {
44104
43984
  return jspb.Message.setProto3IntField(this, 3, value);
44105
43985
  };
44106
43986
 
@@ -44109,21 +43989,28 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setAxis = f
44109
43989
  * optional string key = 4;
44110
43990
  * @return {string}
44111
43991
  */
44112
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.getKey = function() {
43992
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.getKey = function() {
44113
43993
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
44114
43994
  };
44115
43995
 
44116
43996
 
44117
43997
  /**
44118
43998
  * @param {string} value
44119
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest} returns this
43999
+ * @return {!proto.zaber.motion.protobufs.DeviceStorageRequest} returns this
44120
44000
  */
44121
- proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setKey = function(value) {
44001
+ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.setKey = function(value) {
44122
44002
  return jspb.Message.setProto3StringField(this, 4, value);
44123
44003
  };
44124
44004
 
44125
44005
 
44126
44006
 
44007
+ /**
44008
+ * List of repeated fields within this message type.
44009
+ * @private {!Array<number>}
44010
+ * @const
44011
+ */
44012
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.repeatedFields_ = [5];
44013
+
44127
44014
 
44128
44015
 
44129
44016
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -44139,8 +44026,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
44139
44026
  * http://goto/soy-param-migration
44140
44027
  * @return {!Object}
44141
44028
  */
44142
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.toObject = function(opt_includeInstance) {
44143
- return proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject(opt_includeInstance, this);
44029
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.toObject = function(opt_includeInstance) {
44030
+ return proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.toObject(opt_includeInstance, this);
44144
44031
  };
44145
44032
 
44146
44033
 
@@ -44149,17 +44036,18 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.toObject = fu
44149
44036
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
44150
44037
  * the JSPB instance for transitional soy proto support:
44151
44038
  * http://goto/soy-param-migration
44152
- * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} msg The msg instance to transform.
44039
+ * @param {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} msg The msg instance to transform.
44153
44040
  * @return {!Object}
44154
44041
  * @suppress {unusedLocalVariables} f is only used for nested messages
44155
44042
  */
44156
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject = function(includeInstance, msg) {
44043
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.toObject = function(includeInstance, msg) {
44157
44044
  var f, obj = {
44158
44045
  interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
44159
44046
  device: jspb.Message.getFieldWithDefault(msg, 2, 0),
44160
44047
  axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
44161
44048
  key: jspb.Message.getFieldWithDefault(msg, 4, ""),
44162
- value: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
44049
+ conversionsList: jspb.Message.toObjectList(msg.getConversionsList(),
44050
+ proto.zaber.motion.protobufs.ConversionFactor.toObject, includeInstance)
44163
44051
  };
44164
44052
 
44165
44053
  if (includeInstance) {
@@ -44173,23 +44061,23 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject = function(inc
44173
44061
  /**
44174
44062
  * Deserializes binary data (in protobuf wire format).
44175
44063
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
44176
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest}
44064
+ * @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest}
44177
44065
  */
44178
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinary = function(bytes) {
44066
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.deserializeBinary = function(bytes) {
44179
44067
  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);
44068
+ var msg = new proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest;
44069
+ return proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.deserializeBinaryFromReader(msg, reader);
44182
44070
  };
44183
44071
 
44184
44072
 
44185
44073
  /**
44186
44074
  * Deserializes binary data (in protobuf wire format) from the
44187
44075
  * given reader into the given message object.
44188
- * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} msg The message object to deserialize into.
44076
+ * @param {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} msg The message object to deserialize into.
44189
44077
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
44190
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest}
44078
+ * @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest}
44191
44079
  */
44192
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromReader = function(msg, reader) {
44080
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.deserializeBinaryFromReader = function(msg, reader) {
44193
44081
  while (reader.nextField()) {
44194
44082
  if (reader.isEndGroup()) {
44195
44083
  break;
@@ -44213,8 +44101,9 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromRe
44213
44101
  msg.setKey(value);
44214
44102
  break;
44215
44103
  case 5:
44216
- var value = /** @type {boolean} */ (reader.readBool());
44217
- msg.setValue(value);
44104
+ var value = new proto.zaber.motion.protobufs.ConversionFactor;
44105
+ reader.readMessage(value,proto.zaber.motion.protobufs.ConversionFactor.deserializeBinaryFromReader);
44106
+ msg.addConversions(value);
44218
44107
  break;
44219
44108
  default:
44220
44109
  reader.skipField();
@@ -44229,9 +44118,9 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromRe
44229
44118
  * Serializes the message to binary data (in protobuf wire format).
44230
44119
  * @return {!Uint8Array}
44231
44120
  */
44232
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.serializeBinary = function() {
44121
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.serializeBinary = function() {
44233
44122
  var writer = new jspb.BinaryWriter();
44234
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter(this, writer);
44123
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.serializeBinaryToWriter(this, writer);
44235
44124
  return writer.getResultBuffer();
44236
44125
  };
44237
44126
 
@@ -44239,11 +44128,11 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.serializeBina
44239
44128
  /**
44240
44129
  * Serializes the given message to binary data (in protobuf wire
44241
44130
  * format), writing to the given BinaryWriter.
44242
- * @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} message
44131
+ * @param {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} message
44243
44132
  * @param {!jspb.BinaryWriter} writer
44244
44133
  * @suppress {unusedLocalVariables} f is only used for nested messages
44245
44134
  */
44246
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter = function(message, writer) {
44135
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.serializeBinaryToWriter = function(message, writer) {
44247
44136
  var f = undefined;
44248
44137
  f = message.getInterfaceId();
44249
44138
  if (f !== 0) {
@@ -44273,11 +44162,12 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter
44273
44162
  f
44274
44163
  );
44275
44164
  }
44276
- f = message.getValue();
44277
- if (f) {
44278
- writer.writeBool(
44165
+ f = message.getConversionsList();
44166
+ if (f.length > 0) {
44167
+ writer.writeRepeatedMessage(
44279
44168
  5,
44280
- f
44169
+ f,
44170
+ proto.zaber.motion.protobufs.ConversionFactor.serializeBinaryToWriter
44281
44171
  );
44282
44172
  }
44283
44173
  };
@@ -44287,16 +44177,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter
44287
44177
  * optional int32 interface_id = 1;
44288
44178
  * @return {number}
44289
44179
  */
44290
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getInterfaceId = function() {
44180
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.getInterfaceId = function() {
44291
44181
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
44292
44182
  };
44293
44183
 
44294
44184
 
44295
44185
  /**
44296
44186
  * @param {number} value
44297
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
44187
+ * @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
44298
44188
  */
44299
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setInterfaceId = function(value) {
44189
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.setInterfaceId = function(value) {
44300
44190
  return jspb.Message.setProto3IntField(this, 1, value);
44301
44191
  };
44302
44192
 
@@ -44305,16 +44195,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setInterfaceI
44305
44195
  * optional int32 device = 2;
44306
44196
  * @return {number}
44307
44197
  */
44308
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getDevice = function() {
44198
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.getDevice = function() {
44309
44199
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
44310
44200
  };
44311
44201
 
44312
44202
 
44313
44203
  /**
44314
44204
  * @param {number} value
44315
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
44205
+ * @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
44316
44206
  */
44317
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setDevice = function(value) {
44207
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.setDevice = function(value) {
44318
44208
  return jspb.Message.setProto3IntField(this, 2, value);
44319
44209
  };
44320
44210
 
@@ -44323,16 +44213,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setDevice = f
44323
44213
  * optional int32 axis = 3;
44324
44214
  * @return {number}
44325
44215
  */
44326
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getAxis = function() {
44216
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.getAxis = function() {
44327
44217
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
44328
44218
  };
44329
44219
 
44330
44220
 
44331
44221
  /**
44332
44222
  * @param {number} value
44333
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
44223
+ * @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
44334
44224
  */
44335
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setAxis = function(value) {
44225
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.setAxis = function(value) {
44336
44226
  return jspb.Message.setProto3IntField(this, 3, value);
44337
44227
  };
44338
44228
 
@@ -44341,35 +44231,55 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setAxis = fun
44341
44231
  * optional string key = 4;
44342
44232
  * @return {string}
44343
44233
  */
44344
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getKey = function() {
44234
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.getKey = function() {
44345
44235
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
44346
44236
  };
44347
44237
 
44348
44238
 
44349
44239
  /**
44350
44240
  * @param {string} value
44351
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
44241
+ * @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
44352
44242
  */
44353
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setKey = function(value) {
44243
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.setKey = function(value) {
44354
44244
  return jspb.Message.setProto3StringField(this, 4, value);
44355
44245
  };
44356
44246
 
44357
44247
 
44358
44248
  /**
44359
- * optional bool value = 5;
44360
- * @return {boolean}
44249
+ * repeated ConversionFactor conversions = 5;
44250
+ * @return {!Array<!proto.zaber.motion.protobufs.ConversionFactor>}
44361
44251
  */
44362
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getValue = function() {
44363
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
44252
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.getConversionsList = function() {
44253
+ return /** @type{!Array<!proto.zaber.motion.protobufs.ConversionFactor>} */ (
44254
+ jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.ConversionFactor, 5));
44364
44255
  };
44365
44256
 
44366
44257
 
44367
44258
  /**
44368
- * @param {boolean} value
44369
- * @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
44259
+ * @param {!Array<!proto.zaber.motion.protobufs.ConversionFactor>} value
44260
+ * @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
44261
+ */
44262
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.setConversionsList = function(value) {
44263
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
44264
+ };
44265
+
44266
+
44267
+ /**
44268
+ * @param {!proto.zaber.motion.protobufs.ConversionFactor=} opt_value
44269
+ * @param {number=} opt_index
44270
+ * @return {!proto.zaber.motion.protobufs.ConversionFactor}
44370
44271
  */
44371
- proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setValue = function(value) {
44372
- return jspb.Message.setProto3BooleanField(this, 5, value);
44272
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.addConversions = function(opt_value, opt_index) {
44273
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.zaber.motion.protobufs.ConversionFactor, opt_index);
44274
+ };
44275
+
44276
+
44277
+ /**
44278
+ * Clears the list making it empty but non-null.
44279
+ * @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
44280
+ */
44281
+ proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.clearConversionsList = function() {
44282
+ return this.setConversionsList([]);
44373
44283
  };
44374
44284
 
44375
44285
 
@@ -44389,8 +44299,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
44389
44299
  * http://goto/soy-param-migration
44390
44300
  * @return {!Object}
44391
44301
  */
44392
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.toObject = function(opt_includeInstance) {
44393
- return proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.toObject(opt_includeInstance, this);
44302
+ proto.zaber.motion.protobufs.ConversionFactor.prototype.toObject = function(opt_includeInstance) {
44303
+ return proto.zaber.motion.protobufs.ConversionFactor.toObject(opt_includeInstance, this);
44394
44304
  };
44395
44305
 
44396
44306
 
@@ -44399,16 +44309,15 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.toObject = fu
44399
44309
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
44400
44310
  * the JSPB instance for transitional soy proto support:
44401
44311
  * http://goto/soy-param-migration
44402
- * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} msg The msg instance to transform.
44312
+ * @param {!proto.zaber.motion.protobufs.ConversionFactor} msg The msg instance to transform.
44403
44313
  * @return {!Object}
44404
44314
  * @suppress {unusedLocalVariables} f is only used for nested messages
44405
44315
  */
44406
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.toObject = function(includeInstance, msg) {
44316
+ proto.zaber.motion.protobufs.ConversionFactor.toObject = function(includeInstance, msg) {
44407
44317
  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, "")
44318
+ setting: jspb.Message.getFieldWithDefault(msg, 1, ""),
44319
+ value: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
44320
+ unit: jspb.Message.getFieldWithDefault(msg, 3, "")
44412
44321
  };
44413
44322
 
44414
44323
  if (includeInstance) {
@@ -44422,23 +44331,23 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.toObject = function(inc
44422
44331
  /**
44423
44332
  * Deserializes binary data (in protobuf wire format).
44424
44333
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
44425
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest}
44334
+ * @return {!proto.zaber.motion.protobufs.ConversionFactor}
44426
44335
  */
44427
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinary = function(bytes) {
44336
+ proto.zaber.motion.protobufs.ConversionFactor.deserializeBinary = function(bytes) {
44428
44337
  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);
44338
+ var msg = new proto.zaber.motion.protobufs.ConversionFactor;
44339
+ return proto.zaber.motion.protobufs.ConversionFactor.deserializeBinaryFromReader(msg, reader);
44431
44340
  };
44432
44341
 
44433
44342
 
44434
44343
  /**
44435
44344
  * Deserializes binary data (in protobuf wire format) from the
44436
44345
  * given reader into the given message object.
44437
- * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} msg The message object to deserialize into.
44346
+ * @param {!proto.zaber.motion.protobufs.ConversionFactor} msg The message object to deserialize into.
44438
44347
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
44439
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest}
44348
+ * @return {!proto.zaber.motion.protobufs.ConversionFactor}
44440
44349
  */
44441
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinaryFromReader = function(msg, reader) {
44350
+ proto.zaber.motion.protobufs.ConversionFactor.deserializeBinaryFromReader = function(msg, reader) {
44442
44351
  while (reader.nextField()) {
44443
44352
  if (reader.isEndGroup()) {
44444
44353
  break;
@@ -44446,20 +44355,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinaryFromRe
44446
44355
  var field = reader.getFieldNumber();
44447
44356
  switch (field) {
44448
44357
  case 1:
44449
- var value = /** @type {number} */ (reader.readInt32());
44450
- msg.setInterfaceId(value);
44358
+ var value = /** @type {string} */ (reader.readString());
44359
+ msg.setSetting(value);
44451
44360
  break;
44452
44361
  case 2:
44453
- var value = /** @type {number} */ (reader.readInt32());
44454
- msg.setDevice(value);
44362
+ var value = /** @type {number} */ (reader.readDouble());
44363
+ msg.setValue(value);
44455
44364
  break;
44456
44365
  case 3:
44457
- var value = /** @type {number} */ (reader.readInt32());
44458
- msg.setAxis(value);
44459
- break;
44460
- case 4:
44461
44366
  var value = /** @type {string} */ (reader.readString());
44462
- msg.setKey(value);
44367
+ msg.setUnit(value);
44463
44368
  break;
44464
44369
  default:
44465
44370
  reader.skipField();
@@ -44474,9 +44379,9 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinaryFromRe
44474
44379
  * Serializes the message to binary data (in protobuf wire format).
44475
44380
  * @return {!Uint8Array}
44476
44381
  */
44477
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.serializeBinary = function() {
44382
+ proto.zaber.motion.protobufs.ConversionFactor.prototype.serializeBinary = function() {
44478
44383
  var writer = new jspb.BinaryWriter();
44479
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.serializeBinaryToWriter(this, writer);
44384
+ proto.zaber.motion.protobufs.ConversionFactor.serializeBinaryToWriter(this, writer);
44480
44385
  return writer.getResultBuffer();
44481
44386
  };
44482
44387
 
@@ -44484,37 +44389,30 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.serializeBina
44484
44389
  /**
44485
44390
  * Serializes the given message to binary data (in protobuf wire
44486
44391
  * format), writing to the given BinaryWriter.
44487
- * @param {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} message
44392
+ * @param {!proto.zaber.motion.protobufs.ConversionFactor} message
44488
44393
  * @param {!jspb.BinaryWriter} writer
44489
44394
  * @suppress {unusedLocalVariables} f is only used for nested messages
44490
44395
  */
44491
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.serializeBinaryToWriter = function(message, writer) {
44396
+ proto.zaber.motion.protobufs.ConversionFactor.serializeBinaryToWriter = function(message, writer) {
44492
44397
  var f = undefined;
44493
- f = message.getInterfaceId();
44494
- if (f !== 0) {
44495
- writer.writeInt32(
44398
+ f = message.getSetting();
44399
+ if (f.length > 0) {
44400
+ writer.writeString(
44496
44401
  1,
44497
44402
  f
44498
44403
  );
44499
44404
  }
44500
- f = message.getDevice();
44501
- if (f !== 0) {
44502
- writer.writeInt32(
44405
+ f = message.getValue();
44406
+ if (f !== 0.0) {
44407
+ writer.writeDouble(
44503
44408
  2,
44504
44409
  f
44505
44410
  );
44506
44411
  }
44507
- f = message.getAxis();
44508
- if (f !== 0) {
44509
- writer.writeInt32(
44510
- 3,
44511
- f
44512
- );
44513
- }
44514
- f = message.getKey();
44412
+ f = message.getUnit();
44515
44413
  if (f.length > 0) {
44516
44414
  writer.writeString(
44517
- 4,
44415
+ 3,
44518
44416
  f
44519
44417
  );
44520
44418
  }
@@ -44522,74 +44420,56 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.serializeBinaryToWriter
44522
44420
 
44523
44421
 
44524
44422
  /**
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}
44423
+ * optional string setting = 1;
44424
+ * @return {string}
44545
44425
  */
44546
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.getDevice = function() {
44547
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
44426
+ proto.zaber.motion.protobufs.ConversionFactor.prototype.getSetting = function() {
44427
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
44548
44428
  };
44549
44429
 
44550
44430
 
44551
44431
  /**
44552
- * @param {number} value
44553
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} returns this
44432
+ * @param {string} value
44433
+ * @return {!proto.zaber.motion.protobufs.ConversionFactor} returns this
44554
44434
  */
44555
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.setDevice = function(value) {
44556
- return jspb.Message.setProto3IntField(this, 2, value);
44435
+ proto.zaber.motion.protobufs.ConversionFactor.prototype.setSetting = function(value) {
44436
+ return jspb.Message.setProto3StringField(this, 1, value);
44557
44437
  };
44558
44438
 
44559
44439
 
44560
44440
  /**
44561
- * optional int32 axis = 3;
44441
+ * optional double value = 2;
44562
44442
  * @return {number}
44563
44443
  */
44564
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.getAxis = function() {
44565
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
44444
+ proto.zaber.motion.protobufs.ConversionFactor.prototype.getValue = function() {
44445
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
44566
44446
  };
44567
44447
 
44568
44448
 
44569
44449
  /**
44570
44450
  * @param {number} value
44571
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} returns this
44451
+ * @return {!proto.zaber.motion.protobufs.ConversionFactor} returns this
44572
44452
  */
44573
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.setAxis = function(value) {
44574
- return jspb.Message.setProto3IntField(this, 3, value);
44453
+ proto.zaber.motion.protobufs.ConversionFactor.prototype.setValue = function(value) {
44454
+ return jspb.Message.setProto3FloatField(this, 2, value);
44575
44455
  };
44576
44456
 
44577
44457
 
44578
44458
  /**
44579
- * optional string key = 4;
44459
+ * optional string unit = 3;
44580
44460
  * @return {string}
44581
44461
  */
44582
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.getKey = function() {
44583
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
44462
+ proto.zaber.motion.protobufs.ConversionFactor.prototype.getUnit = function() {
44463
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
44584
44464
  };
44585
44465
 
44586
44466
 
44587
44467
  /**
44588
44468
  * @param {string} value
44589
- * @return {!proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest} returns this
44469
+ * @return {!proto.zaber.motion.protobufs.ConversionFactor} returns this
44590
44470
  */
44591
- proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.setKey = function(value) {
44592
- return jspb.Message.setProto3StringField(this, 4, value);
44471
+ proto.zaber.motion.protobufs.ConversionFactor.prototype.setUnit = function(value) {
44472
+ return jspb.Message.setProto3StringField(this, 3, value);
44593
44473
  };
44594
44474
 
44595
44475