@zaber/motion 2.13.1 → 2.14.1
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.
- package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
- package/dist/lib/ascii/all_axes.d.ts +5 -0
- package/dist/lib/ascii/all_axes.js +17 -1
- package/dist/lib/ascii/all_axes.js.map +1 -1
- package/dist/lib/ascii/axis.d.ts +5 -0
- package/dist/lib/ascii/axis.js +20 -4
- package/dist/lib/ascii/axis.js.map +1 -1
- package/dist/lib/ascii/axis_settings.d.ts +7 -0
- package/dist/lib/ascii/axis_settings.js +19 -1
- package/dist/lib/ascii/axis_settings.js.map +1 -1
- package/dist/lib/ascii/connection.js +6 -2
- package/dist/lib/ascii/connection.js.map +1 -1
- package/dist/lib/ascii/conversion_factor.d.ts +21 -0
- package/dist/lib/ascii/conversion_factor.js +46 -0
- package/dist/lib/ascii/conversion_factor.js.map +1 -0
- package/dist/lib/ascii/device.js +8 -4
- package/dist/lib/ascii/device.js.map +1 -1
- package/dist/lib/ascii/device_io.js +5 -1
- package/dist/lib/ascii/device_io.js.map +1 -1
- package/dist/lib/ascii/device_settings.js +5 -1
- package/dist/lib/ascii/device_settings.js.map +1 -1
- package/dist/lib/ascii/index.d.ts +2 -1
- package/dist/lib/ascii/index.js +5 -3
- package/dist/lib/ascii/index.js.map +1 -1
- package/dist/lib/ascii/lockstep.js +7 -3
- package/dist/lib/ascii/lockstep.js.map +1 -1
- package/dist/lib/ascii/oscilloscope.js +5 -1
- package/dist/lib/ascii/oscilloscope.js.map +1 -1
- package/dist/lib/ascii/oscilloscope_data.js +7 -3
- package/dist/lib/ascii/oscilloscope_data.js.map +1 -1
- package/dist/lib/ascii/servo_tuner.d.ts +2 -2
- package/dist/lib/ascii/servo_tuner.js +9 -5
- package/dist/lib/ascii/servo_tuner.js.map +1 -1
- package/dist/lib/ascii/servo_tuning_param.js +5 -1
- package/dist/lib/ascii/servo_tuning_param.js.map +1 -1
- package/dist/lib/ascii/setting_constants.d.ts +4 -0
- package/dist/lib/ascii/setting_constants.js +4 -0
- package/dist/lib/ascii/setting_constants.js.map +1 -1
- package/dist/lib/ascii/{simple_tuning_param.d.ts → simple_tuning_param_definition.d.ts} +3 -3
- package/dist/lib/ascii/simple_tuning_param_definition.js +20 -0
- package/dist/lib/ascii/simple_tuning_param_definition.js.map +1 -0
- package/dist/lib/ascii/storage.d.ts +12 -0
- package/dist/lib/ascii/storage.js +36 -5
- package/dist/lib/ascii/storage.js.map +1 -1
- package/dist/lib/ascii/stream.js +6 -2
- package/dist/lib/ascii/stream.js.map +1 -1
- package/dist/lib/ascii/stream_axis_definition.js +5 -1
- package/dist/lib/ascii/stream_axis_definition.js.map +1 -1
- package/dist/lib/ascii/stream_buffer.js +5 -1
- package/dist/lib/ascii/stream_buffer.js.map +1 -1
- package/dist/lib/ascii/transport.js +5 -1
- package/dist/lib/ascii/transport.js.map +1 -1
- package/dist/lib/ascii/warnings.js +5 -1
- package/dist/lib/ascii/warnings.js.map +1 -1
- package/dist/lib/ascii_ns.d.ts +4 -2
- package/dist/lib/ascii_ns.js +7 -2
- package/dist/lib/ascii_ns.js.map +1 -1
- package/dist/lib/binary/binary_settings.d.ts +2 -1
- package/dist/lib/binary/binary_settings.js +2 -1
- package/dist/lib/binary/binary_settings.js.map +1 -1
- package/dist/lib/binary/command_code.d.ts +2 -1
- package/dist/lib/binary/command_code.js +1 -0
- package/dist/lib/binary/command_code.js.map +1 -1
- package/dist/lib/binary/connection.js +6 -2
- package/dist/lib/binary/connection.js.map +1 -1
- package/dist/lib/binary/device.js +7 -3
- package/dist/lib/binary/device.js.map +1 -1
- package/dist/lib/binary/device_settings.js +5 -1
- package/dist/lib/binary/device_settings.js.map +1 -1
- package/dist/lib/binary/reply_code.d.ts +1 -0
- package/dist/lib/binary/reply_code.js +1 -0
- package/dist/lib/binary/reply_code.js.map +1 -1
- package/dist/lib/binary_ns.js +5 -1
- package/dist/lib/binary_ns.js.map +1 -1
- package/dist/lib/can_set_state_axis_response.d.ts +1 -1
- package/dist/lib/can_set_state_axis_response.js.map +1 -1
- package/dist/lib/can_set_state_device_response.d.ts +2 -2
- package/dist/lib/can_set_state_device_response.js +1 -1
- package/dist/lib/can_set_state_device_response.js.map +1 -1
- package/dist/lib/exceptions/device_db_failed_exception.d.ts +8 -1
- package/dist/lib/exceptions/device_db_failed_exception.js +16 -1
- package/dist/lib/exceptions/device_db_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/device_db_failed_exception_data.d.ts +12 -0
- package/dist/lib/exceptions/device_db_failed_exception_data.js +17 -0
- package/dist/lib/exceptions/device_db_failed_exception_data.js.map +1 -0
- package/dist/lib/exceptions/index.d.ts +1 -0
- package/dist/lib/exceptions/index.js +4 -2
- package/dist/lib/exceptions/index.js.map +1 -1
- package/dist/lib/gateway/convert_exceptions.js +5 -1
- package/dist/lib/gateway/convert_exceptions.js.map +1 -1
- package/dist/lib/gateway/index.js +5 -1
- package/dist/lib/gateway/index.js.map +1 -1
- package/dist/lib/gateway/wasm-exec.js +58 -53
- package/dist/lib/gateway/wasm-exec.js.map +1 -1
- package/dist/lib/gcode/axis_definition.js +5 -1
- package/dist/lib/gcode/axis_definition.js.map +1 -1
- package/dist/lib/gcode/axis_mapping.js +5 -1
- package/dist/lib/gcode/axis_mapping.js.map +1 -1
- package/dist/lib/gcode/axis_transformation.js +5 -1
- package/dist/lib/gcode/axis_transformation.js.map +1 -1
- package/dist/lib/gcode/device_definition.js +5 -1
- package/dist/lib/gcode/device_definition.js.map +1 -1
- package/dist/lib/gcode/offline_translator.d.ts +10 -0
- package/dist/lib/gcode/offline_translator.js +22 -1
- package/dist/lib/gcode/offline_translator.js.map +1 -1
- package/dist/lib/gcode/translator.js +5 -1
- package/dist/lib/gcode/translator.js.map +1 -1
- package/dist/lib/gcode/translator_config.js +5 -1
- package/dist/lib/gcode/translator_config.js.map +1 -1
- package/dist/lib/gcode_ns.js +5 -1
- package/dist/lib/gcode_ns.js.map +1 -1
- package/dist/lib/index.js +5 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/library.js +5 -1
- package/dist/lib/library.js.map +1 -1
- package/dist/lib/measurement.js +5 -1
- package/dist/lib/measurement.js.map +1 -1
- package/dist/lib/protobufs/main_pb.d.ts +138 -158
- package/dist/lib/protobufs/main_pb.js +1029 -1179
- package/dist/lib/protobufs/main_pb.js.map +1 -1
- package/dist/lib/tools.js +5 -1
- package/dist/lib/tools.js.map +1 -1
- package/package.json +2 -2
- package/dist/lib/ascii/simple_tuning_param.js +0 -20
- 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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
3655
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
4123
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest';
|
|
4189
4124
|
}
|
|
4190
4125
|
/**
|
|
4191
4126
|
* Generated by JsPbCodeGenerator.
|
|
@@ -4197,16 +4132,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4197
4132
|
* @extends {jspb.Message}
|
|
4198
4133
|
* @constructor
|
|
4199
4134
|
*/
|
|
4200
|
-
proto.zaber.motion.protobufs.
|
|
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.
|
|
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.
|
|
4144
|
+
proto.zaber.motion.protobufs.DeviceStorageRequest.displayName = 'proto.zaber.motion.protobufs.DeviceStorageRequest';
|
|
4210
4145
|
}
|
|
4211
4146
|
/**
|
|
4212
4147
|
* Generated by JsPbCodeGenerator.
|
|
@@ -4218,16 +4153,37 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4218
4153
|
* @extends {jspb.Message}
|
|
4219
4154
|
* @constructor
|
|
4220
4155
|
*/
|
|
4221
|
-
proto.zaber.motion.protobufs.
|
|
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';
|
|
4166
|
+
}
|
|
4167
|
+
/**
|
|
4168
|
+
* Generated by JsPbCodeGenerator.
|
|
4169
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4170
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4171
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4172
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4173
|
+
* valid.
|
|
4174
|
+
* @extends {jspb.Message}
|
|
4175
|
+
* @constructor
|
|
4176
|
+
*/
|
|
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.
|
|
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.
|
|
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_ = [
|
|
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,
|
|
36423
|
-
|
|
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
|
|
35792
|
+
case 1:
|
|
36462
35793
|
var value = /** @type {string} */ (reader.readString());
|
|
36463
35794
|
msg.setError(value);
|
|
36464
35795
|
break;
|
|
36465
|
-
case
|
|
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.
|
|
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
|
-
|
|
35833
|
+
1,
|
|
36503
35834
|
f
|
|
36504
35835
|
);
|
|
36505
35836
|
}
|
|
36506
|
-
f = message.
|
|
35837
|
+
f = message.getAxisErrorsList();
|
|
36507
35838
|
if (f.length > 0) {
|
|
36508
35839
|
writer.writeRepeatedMessage(
|
|
36509
|
-
|
|
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 =
|
|
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,
|
|
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,
|
|
35862
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
36532
35863
|
};
|
|
36533
35864
|
|
|
36534
35865
|
|
|
36535
35866
|
/**
|
|
36536
|
-
* repeated CanSetStateAxisResponse
|
|
35867
|
+
* repeated CanSetStateAxisResponse axis_errors = 2;
|
|
36537
35868
|
* @return {!Array<!proto.zaber.motion.protobufs.CanSetStateAxisResponse>}
|
|
36538
35869
|
*/
|
|
36539
|
-
proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.
|
|
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,
|
|
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.
|
|
36550
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
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.
|
|
36560
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
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.
|
|
36569
|
-
return this.
|
|
35899
|
+
proto.zaber.motion.protobufs.CanSetStateDeviceResponse.prototype.clearAxisErrorsList = function() {
|
|
35900
|
+
return this.setAxisErrorsList([]);
|
|
36570
35901
|
};
|
|
36571
35902
|
|
|
36572
35903
|
|
|
@@ -38896,8 +38227,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
38896
38227
|
* http://goto/soy-param-migration
|
|
38897
38228
|
* @return {!Object}
|
|
38898
38229
|
*/
|
|
38899
|
-
proto.zaber.motion.protobufs.
|
|
38900
|
-
return proto.zaber.motion.protobufs.
|
|
38230
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.toObject = function(opt_includeInstance) {
|
|
38231
|
+
return proto.zaber.motion.protobufs.SimpleTuningParamDefinition.toObject(opt_includeInstance, this);
|
|
38901
38232
|
};
|
|
38902
38233
|
|
|
38903
38234
|
|
|
@@ -38906,11 +38237,11 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.toObject = function(opt
|
|
|
38906
38237
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
38907
38238
|
* the JSPB instance for transitional soy proto support:
|
|
38908
38239
|
* http://goto/soy-param-migration
|
|
38909
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
38240
|
+
* @param {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} msg The msg instance to transform.
|
|
38910
38241
|
* @return {!Object}
|
|
38911
38242
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38912
38243
|
*/
|
|
38913
|
-
proto.zaber.motion.protobufs.
|
|
38244
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.toObject = function(includeInstance, msg) {
|
|
38914
38245
|
var f, obj = {
|
|
38915
38246
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
38916
38247
|
minLabel: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
@@ -38929,23 +38260,23 @@ proto.zaber.motion.protobufs.SimpleTuningParam.toObject = function(includeInstan
|
|
|
38929
38260
|
/**
|
|
38930
38261
|
* Deserializes binary data (in protobuf wire format).
|
|
38931
38262
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
38932
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38263
|
+
* @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition}
|
|
38933
38264
|
*/
|
|
38934
|
-
proto.zaber.motion.protobufs.
|
|
38265
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.deserializeBinary = function(bytes) {
|
|
38935
38266
|
var reader = new jspb.BinaryReader(bytes);
|
|
38936
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
38937
|
-
return proto.zaber.motion.protobufs.
|
|
38267
|
+
var msg = new proto.zaber.motion.protobufs.SimpleTuningParamDefinition;
|
|
38268
|
+
return proto.zaber.motion.protobufs.SimpleTuningParamDefinition.deserializeBinaryFromReader(msg, reader);
|
|
38938
38269
|
};
|
|
38939
38270
|
|
|
38940
38271
|
|
|
38941
38272
|
/**
|
|
38942
38273
|
* Deserializes binary data (in protobuf wire format) from the
|
|
38943
38274
|
* given reader into the given message object.
|
|
38944
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
38275
|
+
* @param {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} msg The message object to deserialize into.
|
|
38945
38276
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
38946
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38277
|
+
* @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition}
|
|
38947
38278
|
*/
|
|
38948
|
-
proto.zaber.motion.protobufs.
|
|
38279
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.deserializeBinaryFromReader = function(msg, reader) {
|
|
38949
38280
|
while (reader.nextField()) {
|
|
38950
38281
|
if (reader.isEndGroup()) {
|
|
38951
38282
|
break;
|
|
@@ -38981,9 +38312,9 @@ proto.zaber.motion.protobufs.SimpleTuningParam.deserializeBinaryFromReader = fun
|
|
|
38981
38312
|
* Serializes the message to binary data (in protobuf wire format).
|
|
38982
38313
|
* @return {!Uint8Array}
|
|
38983
38314
|
*/
|
|
38984
|
-
proto.zaber.motion.protobufs.
|
|
38315
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.serializeBinary = function() {
|
|
38985
38316
|
var writer = new jspb.BinaryWriter();
|
|
38986
|
-
proto.zaber.motion.protobufs.
|
|
38317
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.serializeBinaryToWriter(this, writer);
|
|
38987
38318
|
return writer.getResultBuffer();
|
|
38988
38319
|
};
|
|
38989
38320
|
|
|
@@ -38991,11 +38322,11 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.serializeBinary = funct
|
|
|
38991
38322
|
/**
|
|
38992
38323
|
* Serializes the given message to binary data (in protobuf wire
|
|
38993
38324
|
* format), writing to the given BinaryWriter.
|
|
38994
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
38325
|
+
* @param {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} message
|
|
38995
38326
|
* @param {!jspb.BinaryWriter} writer
|
|
38996
38327
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
38997
38328
|
*/
|
|
38998
|
-
proto.zaber.motion.protobufs.
|
|
38329
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.serializeBinaryToWriter = function(message, writer) {
|
|
38999
38330
|
var f = undefined;
|
|
39000
38331
|
f = message.getName();
|
|
39001
38332
|
if (f.length > 0) {
|
|
@@ -39032,16 +38363,16 @@ proto.zaber.motion.protobufs.SimpleTuningParam.serializeBinaryToWriter = functio
|
|
|
39032
38363
|
* optional string name = 1;
|
|
39033
38364
|
* @return {string}
|
|
39034
38365
|
*/
|
|
39035
|
-
proto.zaber.motion.protobufs.
|
|
38366
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.getName = function() {
|
|
39036
38367
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
39037
38368
|
};
|
|
39038
38369
|
|
|
39039
38370
|
|
|
39040
38371
|
/**
|
|
39041
38372
|
* @param {string} value
|
|
39042
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38373
|
+
* @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} returns this
|
|
39043
38374
|
*/
|
|
39044
|
-
proto.zaber.motion.protobufs.
|
|
38375
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.setName = function(value) {
|
|
39045
38376
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
39046
38377
|
};
|
|
39047
38378
|
|
|
@@ -39050,16 +38381,16 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setName = function(valu
|
|
|
39050
38381
|
* optional string min_label = 2;
|
|
39051
38382
|
* @return {string}
|
|
39052
38383
|
*/
|
|
39053
|
-
proto.zaber.motion.protobufs.
|
|
38384
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.getMinLabel = function() {
|
|
39054
38385
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
39055
38386
|
};
|
|
39056
38387
|
|
|
39057
38388
|
|
|
39058
38389
|
/**
|
|
39059
38390
|
* @param {string} value
|
|
39060
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38391
|
+
* @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} returns this
|
|
39061
38392
|
*/
|
|
39062
|
-
proto.zaber.motion.protobufs.
|
|
38393
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.setMinLabel = function(value) {
|
|
39063
38394
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
39064
38395
|
};
|
|
39065
38396
|
|
|
@@ -39068,16 +38399,16 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setMinLabel = function(
|
|
|
39068
38399
|
* optional string max_label = 3;
|
|
39069
38400
|
* @return {string}
|
|
39070
38401
|
*/
|
|
39071
|
-
proto.zaber.motion.protobufs.
|
|
38402
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.getMaxLabel = function() {
|
|
39072
38403
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
39073
38404
|
};
|
|
39074
38405
|
|
|
39075
38406
|
|
|
39076
38407
|
/**
|
|
39077
38408
|
* @param {string} value
|
|
39078
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38409
|
+
* @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} returns this
|
|
39079
38410
|
*/
|
|
39080
|
-
proto.zaber.motion.protobufs.
|
|
38411
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.setMaxLabel = function(value) {
|
|
39081
38412
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
39082
38413
|
};
|
|
39083
38414
|
|
|
@@ -39086,16 +38417,16 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setMaxLabel = function(
|
|
|
39086
38417
|
* optional string data_type = 4;
|
|
39087
38418
|
* @return {string}
|
|
39088
38419
|
*/
|
|
39089
|
-
proto.zaber.motion.protobufs.
|
|
38420
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.getDataType = function() {
|
|
39090
38421
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
39091
38422
|
};
|
|
39092
38423
|
|
|
39093
38424
|
|
|
39094
38425
|
/**
|
|
39095
38426
|
* @param {string} value
|
|
39096
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38427
|
+
* @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition} returns this
|
|
39097
38428
|
*/
|
|
39098
|
-
proto.zaber.motion.protobufs.
|
|
38429
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.prototype.setDataType = function(value) {
|
|
39099
38430
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
39100
38431
|
};
|
|
39101
38432
|
|
|
@@ -39106,7 +38437,7 @@ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setDataType = function(
|
|
|
39106
38437
|
* @private {!Array<number>}
|
|
39107
38438
|
* @const
|
|
39108
38439
|
*/
|
|
39109
|
-
proto.zaber.motion.protobufs.
|
|
38440
|
+
proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.repeatedFields_ = [1];
|
|
39110
38441
|
|
|
39111
38442
|
|
|
39112
38443
|
|
|
@@ -39123,8 +38454,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
39123
38454
|
* http://goto/soy-param-migration
|
|
39124
38455
|
* @return {!Object}
|
|
39125
38456
|
*/
|
|
39126
|
-
proto.zaber.motion.protobufs.
|
|
39127
|
-
return proto.zaber.motion.protobufs.
|
|
38457
|
+
proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
38458
|
+
return proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.toObject(opt_includeInstance, this);
|
|
39128
38459
|
};
|
|
39129
38460
|
|
|
39130
38461
|
|
|
@@ -39133,14 +38464,14 @@ proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.toObject = function
|
|
|
39133
38464
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
39134
38465
|
* the JSPB instance for transitional soy proto support:
|
|
39135
38466
|
* http://goto/soy-param-migration
|
|
39136
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
38467
|
+
* @param {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse} msg The msg instance to transform.
|
|
39137
38468
|
* @return {!Object}
|
|
39138
38469
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
39139
38470
|
*/
|
|
39140
|
-
proto.zaber.motion.protobufs.
|
|
38471
|
+
proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.toObject = function(includeInstance, msg) {
|
|
39141
38472
|
var f, obj = {
|
|
39142
38473
|
paramsList: jspb.Message.toObjectList(msg.getParamsList(),
|
|
39143
|
-
proto.zaber.motion.protobufs.
|
|
38474
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.toObject, includeInstance)
|
|
39144
38475
|
};
|
|
39145
38476
|
|
|
39146
38477
|
if (includeInstance) {
|
|
@@ -39154,23 +38485,23 @@ proto.zaber.motion.protobufs.SimpleTuningParamList.toObject = function(includeIn
|
|
|
39154
38485
|
/**
|
|
39155
38486
|
* Deserializes binary data (in protobuf wire format).
|
|
39156
38487
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
39157
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38488
|
+
* @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse}
|
|
39158
38489
|
*/
|
|
39159
|
-
proto.zaber.motion.protobufs.
|
|
38490
|
+
proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.deserializeBinary = function(bytes) {
|
|
39160
38491
|
var reader = new jspb.BinaryReader(bytes);
|
|
39161
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
39162
|
-
return proto.zaber.motion.protobufs.
|
|
38492
|
+
var msg = new proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse;
|
|
38493
|
+
return proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.deserializeBinaryFromReader(msg, reader);
|
|
39163
38494
|
};
|
|
39164
38495
|
|
|
39165
38496
|
|
|
39166
38497
|
/**
|
|
39167
38498
|
* Deserializes binary data (in protobuf wire format) from the
|
|
39168
38499
|
* given reader into the given message object.
|
|
39169
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
38500
|
+
* @param {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse} msg The message object to deserialize into.
|
|
39170
38501
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
39171
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38502
|
+
* @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse}
|
|
39172
38503
|
*/
|
|
39173
|
-
proto.zaber.motion.protobufs.
|
|
38504
|
+
proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
39174
38505
|
while (reader.nextField()) {
|
|
39175
38506
|
if (reader.isEndGroup()) {
|
|
39176
38507
|
break;
|
|
@@ -39178,8 +38509,8 @@ proto.zaber.motion.protobufs.SimpleTuningParamList.deserializeBinaryFromReader =
|
|
|
39178
38509
|
var field = reader.getFieldNumber();
|
|
39179
38510
|
switch (field) {
|
|
39180
38511
|
case 1:
|
|
39181
|
-
var value = new proto.zaber.motion.protobufs.
|
|
39182
|
-
reader.readMessage(value,proto.zaber.motion.protobufs.
|
|
38512
|
+
var value = new proto.zaber.motion.protobufs.SimpleTuningParamDefinition;
|
|
38513
|
+
reader.readMessage(value,proto.zaber.motion.protobufs.SimpleTuningParamDefinition.deserializeBinaryFromReader);
|
|
39183
38514
|
msg.addParams(value);
|
|
39184
38515
|
break;
|
|
39185
38516
|
default:
|
|
@@ -39195,9 +38526,9 @@ proto.zaber.motion.protobufs.SimpleTuningParamList.deserializeBinaryFromReader =
|
|
|
39195
38526
|
* Serializes the message to binary data (in protobuf wire format).
|
|
39196
38527
|
* @return {!Uint8Array}
|
|
39197
38528
|
*/
|
|
39198
|
-
proto.zaber.motion.protobufs.
|
|
38529
|
+
proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.serializeBinary = function() {
|
|
39199
38530
|
var writer = new jspb.BinaryWriter();
|
|
39200
|
-
proto.zaber.motion.protobufs.
|
|
38531
|
+
proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.serializeBinaryToWriter(this, writer);
|
|
39201
38532
|
return writer.getResultBuffer();
|
|
39202
38533
|
};
|
|
39203
38534
|
|
|
@@ -39205,57 +38536,57 @@ proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.serializeBinary = f
|
|
|
39205
38536
|
/**
|
|
39206
38537
|
* Serializes the given message to binary data (in protobuf wire
|
|
39207
38538
|
* format), writing to the given BinaryWriter.
|
|
39208
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
38539
|
+
* @param {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse} message
|
|
39209
38540
|
* @param {!jspb.BinaryWriter} writer
|
|
39210
38541
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
39211
38542
|
*/
|
|
39212
|
-
proto.zaber.motion.protobufs.
|
|
38543
|
+
proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
39213
38544
|
var f = undefined;
|
|
39214
38545
|
f = message.getParamsList();
|
|
39215
38546
|
if (f.length > 0) {
|
|
39216
38547
|
writer.writeRepeatedMessage(
|
|
39217
38548
|
1,
|
|
39218
38549
|
f,
|
|
39219
|
-
proto.zaber.motion.protobufs.
|
|
38550
|
+
proto.zaber.motion.protobufs.SimpleTuningParamDefinition.serializeBinaryToWriter
|
|
39220
38551
|
);
|
|
39221
38552
|
}
|
|
39222
38553
|
};
|
|
39223
38554
|
|
|
39224
38555
|
|
|
39225
38556
|
/**
|
|
39226
|
-
* repeated
|
|
39227
|
-
* @return {!Array<!proto.zaber.motion.protobufs.
|
|
38557
|
+
* repeated SimpleTuningParamDefinition params = 1;
|
|
38558
|
+
* @return {!Array<!proto.zaber.motion.protobufs.SimpleTuningParamDefinition>}
|
|
39228
38559
|
*/
|
|
39229
|
-
proto.zaber.motion.protobufs.
|
|
39230
|
-
return /** @type{!Array<!proto.zaber.motion.protobufs.
|
|
39231
|
-
jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.
|
|
38560
|
+
proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.getParamsList = function() {
|
|
38561
|
+
return /** @type{!Array<!proto.zaber.motion.protobufs.SimpleTuningParamDefinition>} */ (
|
|
38562
|
+
jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.SimpleTuningParamDefinition, 1));
|
|
39232
38563
|
};
|
|
39233
38564
|
|
|
39234
38565
|
|
|
39235
38566
|
/**
|
|
39236
|
-
* @param {!Array<!proto.zaber.motion.protobufs.
|
|
39237
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38567
|
+
* @param {!Array<!proto.zaber.motion.protobufs.SimpleTuningParamDefinition>} value
|
|
38568
|
+
* @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse} returns this
|
|
39238
38569
|
*/
|
|
39239
|
-
proto.zaber.motion.protobufs.
|
|
38570
|
+
proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.setParamsList = function(value) {
|
|
39240
38571
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
39241
38572
|
};
|
|
39242
38573
|
|
|
39243
38574
|
|
|
39244
38575
|
/**
|
|
39245
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
38576
|
+
* @param {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition=} opt_value
|
|
39246
38577
|
* @param {number=} opt_index
|
|
39247
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38578
|
+
* @return {!proto.zaber.motion.protobufs.SimpleTuningParamDefinition}
|
|
39248
38579
|
*/
|
|
39249
|
-
proto.zaber.motion.protobufs.
|
|
39250
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.zaber.motion.protobufs.
|
|
38580
|
+
proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.addParams = function(opt_value, opt_index) {
|
|
38581
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.zaber.motion.protobufs.SimpleTuningParamDefinition, opt_index);
|
|
39251
38582
|
};
|
|
39252
38583
|
|
|
39253
38584
|
|
|
39254
38585
|
/**
|
|
39255
38586
|
* Clears the list making it empty but non-null.
|
|
39256
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
38587
|
+
* @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse} returns this
|
|
39257
38588
|
*/
|
|
39258
|
-
proto.zaber.motion.protobufs.
|
|
38589
|
+
proto.zaber.motion.protobufs.GetSimpleTuningParamDefinitionResponse.prototype.clearParamsList = function() {
|
|
39259
38590
|
return this.setParamsList([]);
|
|
39260
38591
|
};
|
|
39261
38592
|
|
|
@@ -42014,6 +41345,275 @@ proto.zaber.motion.protobufs.TranslatorCreateLiveRequest.prototype.hasConfig = f
|
|
|
42014
41345
|
|
|
42015
41346
|
|
|
42016
41347
|
|
|
41348
|
+
/**
|
|
41349
|
+
* List of repeated fields within this message type.
|
|
41350
|
+
* @private {!Array<number>}
|
|
41351
|
+
* @const
|
|
41352
|
+
*/
|
|
41353
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.repeatedFields_ = [3];
|
|
41354
|
+
|
|
41355
|
+
|
|
41356
|
+
|
|
41357
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41358
|
+
/**
|
|
41359
|
+
* Creates an object representation of this proto.
|
|
41360
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
41361
|
+
* Optional fields that are not set will be set to undefined.
|
|
41362
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
41363
|
+
* For the list of reserved names please see:
|
|
41364
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
41365
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
41366
|
+
* JSPB instance for transitional soy proto support:
|
|
41367
|
+
* http://goto/soy-param-migration
|
|
41368
|
+
* @return {!Object}
|
|
41369
|
+
*/
|
|
41370
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.toObject = function(opt_includeInstance) {
|
|
41371
|
+
return proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.toObject(opt_includeInstance, this);
|
|
41372
|
+
};
|
|
41373
|
+
|
|
41374
|
+
|
|
41375
|
+
/**
|
|
41376
|
+
* Static version of the {@see toObject} method.
|
|
41377
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
41378
|
+
* the JSPB instance for transitional soy proto support:
|
|
41379
|
+
* http://goto/soy-param-migration
|
|
41380
|
+
* @param {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} msg The msg instance to transform.
|
|
41381
|
+
* @return {!Object}
|
|
41382
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41383
|
+
*/
|
|
41384
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.toObject = function(includeInstance, msg) {
|
|
41385
|
+
var f, obj = {
|
|
41386
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
41387
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
41388
|
+
axesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
41389
|
+
config: (f = msg.getConfig()) && proto.zaber.motion.protobufs.TranslatorConfig.toObject(includeInstance, f)
|
|
41390
|
+
};
|
|
41391
|
+
|
|
41392
|
+
if (includeInstance) {
|
|
41393
|
+
obj.$jspbMessageInstance = msg;
|
|
41394
|
+
}
|
|
41395
|
+
return obj;
|
|
41396
|
+
};
|
|
41397
|
+
}
|
|
41398
|
+
|
|
41399
|
+
|
|
41400
|
+
/**
|
|
41401
|
+
* Deserializes binary data (in protobuf wire format).
|
|
41402
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
41403
|
+
* @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest}
|
|
41404
|
+
*/
|
|
41405
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.deserializeBinary = function(bytes) {
|
|
41406
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
41407
|
+
var msg = new proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest;
|
|
41408
|
+
return proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.deserializeBinaryFromReader(msg, reader);
|
|
41409
|
+
};
|
|
41410
|
+
|
|
41411
|
+
|
|
41412
|
+
/**
|
|
41413
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
41414
|
+
* given reader into the given message object.
|
|
41415
|
+
* @param {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} msg The message object to deserialize into.
|
|
41416
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
41417
|
+
* @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest}
|
|
41418
|
+
*/
|
|
41419
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
41420
|
+
while (reader.nextField()) {
|
|
41421
|
+
if (reader.isEndGroup()) {
|
|
41422
|
+
break;
|
|
41423
|
+
}
|
|
41424
|
+
var field = reader.getFieldNumber();
|
|
41425
|
+
switch (field) {
|
|
41426
|
+
case 1:
|
|
41427
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
41428
|
+
msg.setInterfaceId(value);
|
|
41429
|
+
break;
|
|
41430
|
+
case 2:
|
|
41431
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
41432
|
+
msg.setDevice(value);
|
|
41433
|
+
break;
|
|
41434
|
+
case 3:
|
|
41435
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
41436
|
+
for (var i = 0; i < values.length; i++) {
|
|
41437
|
+
msg.addAxes(values[i]);
|
|
41438
|
+
}
|
|
41439
|
+
break;
|
|
41440
|
+
case 4:
|
|
41441
|
+
var value = new proto.zaber.motion.protobufs.TranslatorConfig;
|
|
41442
|
+
reader.readMessage(value,proto.zaber.motion.protobufs.TranslatorConfig.deserializeBinaryFromReader);
|
|
41443
|
+
msg.setConfig(value);
|
|
41444
|
+
break;
|
|
41445
|
+
default:
|
|
41446
|
+
reader.skipField();
|
|
41447
|
+
break;
|
|
41448
|
+
}
|
|
41449
|
+
}
|
|
41450
|
+
return msg;
|
|
41451
|
+
};
|
|
41452
|
+
|
|
41453
|
+
|
|
41454
|
+
/**
|
|
41455
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
41456
|
+
* @return {!Uint8Array}
|
|
41457
|
+
*/
|
|
41458
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.serializeBinary = function() {
|
|
41459
|
+
var writer = new jspb.BinaryWriter();
|
|
41460
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.serializeBinaryToWriter(this, writer);
|
|
41461
|
+
return writer.getResultBuffer();
|
|
41462
|
+
};
|
|
41463
|
+
|
|
41464
|
+
|
|
41465
|
+
/**
|
|
41466
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
41467
|
+
* format), writing to the given BinaryWriter.
|
|
41468
|
+
* @param {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} message
|
|
41469
|
+
* @param {!jspb.BinaryWriter} writer
|
|
41470
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
41471
|
+
*/
|
|
41472
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.serializeBinaryToWriter = function(message, writer) {
|
|
41473
|
+
var f = undefined;
|
|
41474
|
+
f = message.getInterfaceId();
|
|
41475
|
+
if (f !== 0) {
|
|
41476
|
+
writer.writeInt32(
|
|
41477
|
+
1,
|
|
41478
|
+
f
|
|
41479
|
+
);
|
|
41480
|
+
}
|
|
41481
|
+
f = message.getDevice();
|
|
41482
|
+
if (f !== 0) {
|
|
41483
|
+
writer.writeInt32(
|
|
41484
|
+
2,
|
|
41485
|
+
f
|
|
41486
|
+
);
|
|
41487
|
+
}
|
|
41488
|
+
f = message.getAxesList();
|
|
41489
|
+
if (f.length > 0) {
|
|
41490
|
+
writer.writePackedInt32(
|
|
41491
|
+
3,
|
|
41492
|
+
f
|
|
41493
|
+
);
|
|
41494
|
+
}
|
|
41495
|
+
f = message.getConfig();
|
|
41496
|
+
if (f != null) {
|
|
41497
|
+
writer.writeMessage(
|
|
41498
|
+
4,
|
|
41499
|
+
f,
|
|
41500
|
+
proto.zaber.motion.protobufs.TranslatorConfig.serializeBinaryToWriter
|
|
41501
|
+
);
|
|
41502
|
+
}
|
|
41503
|
+
};
|
|
41504
|
+
|
|
41505
|
+
|
|
41506
|
+
/**
|
|
41507
|
+
* optional int32 interface_id = 1;
|
|
41508
|
+
* @return {number}
|
|
41509
|
+
*/
|
|
41510
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.getInterfaceId = function() {
|
|
41511
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
41512
|
+
};
|
|
41513
|
+
|
|
41514
|
+
|
|
41515
|
+
/**
|
|
41516
|
+
* @param {number} value
|
|
41517
|
+
* @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} returns this
|
|
41518
|
+
*/
|
|
41519
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.setInterfaceId = function(value) {
|
|
41520
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
41521
|
+
};
|
|
41522
|
+
|
|
41523
|
+
|
|
41524
|
+
/**
|
|
41525
|
+
* optional int32 device = 2;
|
|
41526
|
+
* @return {number}
|
|
41527
|
+
*/
|
|
41528
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.getDevice = function() {
|
|
41529
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
41530
|
+
};
|
|
41531
|
+
|
|
41532
|
+
|
|
41533
|
+
/**
|
|
41534
|
+
* @param {number} value
|
|
41535
|
+
* @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} returns this
|
|
41536
|
+
*/
|
|
41537
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.setDevice = function(value) {
|
|
41538
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
41539
|
+
};
|
|
41540
|
+
|
|
41541
|
+
|
|
41542
|
+
/**
|
|
41543
|
+
* repeated int32 axes = 3;
|
|
41544
|
+
* @return {!Array<number>}
|
|
41545
|
+
*/
|
|
41546
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.getAxesList = function() {
|
|
41547
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
41548
|
+
};
|
|
41549
|
+
|
|
41550
|
+
|
|
41551
|
+
/**
|
|
41552
|
+
* @param {!Array<number>} value
|
|
41553
|
+
* @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} returns this
|
|
41554
|
+
*/
|
|
41555
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.setAxesList = function(value) {
|
|
41556
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
41557
|
+
};
|
|
41558
|
+
|
|
41559
|
+
|
|
41560
|
+
/**
|
|
41561
|
+
* @param {number} value
|
|
41562
|
+
* @param {number=} opt_index
|
|
41563
|
+
* @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} returns this
|
|
41564
|
+
*/
|
|
41565
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.addAxes = function(value, opt_index) {
|
|
41566
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
41567
|
+
};
|
|
41568
|
+
|
|
41569
|
+
|
|
41570
|
+
/**
|
|
41571
|
+
* Clears the list making it empty but non-null.
|
|
41572
|
+
* @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} returns this
|
|
41573
|
+
*/
|
|
41574
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.clearAxesList = function() {
|
|
41575
|
+
return this.setAxesList([]);
|
|
41576
|
+
};
|
|
41577
|
+
|
|
41578
|
+
|
|
41579
|
+
/**
|
|
41580
|
+
* optional TranslatorConfig config = 4;
|
|
41581
|
+
* @return {?proto.zaber.motion.protobufs.TranslatorConfig}
|
|
41582
|
+
*/
|
|
41583
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.getConfig = function() {
|
|
41584
|
+
return /** @type{?proto.zaber.motion.protobufs.TranslatorConfig} */ (
|
|
41585
|
+
jspb.Message.getWrapperField(this, proto.zaber.motion.protobufs.TranslatorConfig, 4));
|
|
41586
|
+
};
|
|
41587
|
+
|
|
41588
|
+
|
|
41589
|
+
/**
|
|
41590
|
+
* @param {?proto.zaber.motion.protobufs.TranslatorConfig|undefined} value
|
|
41591
|
+
* @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} returns this
|
|
41592
|
+
*/
|
|
41593
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.setConfig = function(value) {
|
|
41594
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
41595
|
+
};
|
|
41596
|
+
|
|
41597
|
+
|
|
41598
|
+
/**
|
|
41599
|
+
* Clears the message field making it undefined.
|
|
41600
|
+
* @return {!proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest} returns this
|
|
41601
|
+
*/
|
|
41602
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.clearConfig = function() {
|
|
41603
|
+
return this.setConfig(undefined);
|
|
41604
|
+
};
|
|
41605
|
+
|
|
41606
|
+
|
|
41607
|
+
/**
|
|
41608
|
+
* Returns whether this field is set.
|
|
41609
|
+
* @return {boolean}
|
|
41610
|
+
*/
|
|
41611
|
+
proto.zaber.motion.protobufs.TranslatorCreateFromDeviceRequest.prototype.hasConfig = function() {
|
|
41612
|
+
return jspb.Message.getField(this, 4) != null;
|
|
41613
|
+
};
|
|
41614
|
+
|
|
41615
|
+
|
|
41616
|
+
|
|
42017
41617
|
|
|
42018
41618
|
|
|
42019
41619
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -43553,9 +43153,259 @@ proto.zaber.motion.protobufs.DeviceGetStorageRequest.serializeBinaryToWriter = f
|
|
|
43553
43153
|
f
|
|
43554
43154
|
);
|
|
43555
43155
|
}
|
|
43556
|
-
f = message.getDecode();
|
|
43557
|
-
if (f) {
|
|
43558
|
-
writer.writeBool(
|
|
43156
|
+
f = message.getDecode();
|
|
43157
|
+
if (f) {
|
|
43158
|
+
writer.writeBool(
|
|
43159
|
+
5,
|
|
43160
|
+
f
|
|
43161
|
+
);
|
|
43162
|
+
}
|
|
43163
|
+
};
|
|
43164
|
+
|
|
43165
|
+
|
|
43166
|
+
/**
|
|
43167
|
+
* optional int32 interface_id = 1;
|
|
43168
|
+
* @return {number}
|
|
43169
|
+
*/
|
|
43170
|
+
proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getInterfaceId = function() {
|
|
43171
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
43172
|
+
};
|
|
43173
|
+
|
|
43174
|
+
|
|
43175
|
+
/**
|
|
43176
|
+
* @param {number} value
|
|
43177
|
+
* @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
|
|
43178
|
+
*/
|
|
43179
|
+
proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setInterfaceId = function(value) {
|
|
43180
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
43181
|
+
};
|
|
43182
|
+
|
|
43183
|
+
|
|
43184
|
+
/**
|
|
43185
|
+
* optional int32 device = 2;
|
|
43186
|
+
* @return {number}
|
|
43187
|
+
*/
|
|
43188
|
+
proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getDevice = function() {
|
|
43189
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
43190
|
+
};
|
|
43191
|
+
|
|
43192
|
+
|
|
43193
|
+
/**
|
|
43194
|
+
* @param {number} value
|
|
43195
|
+
* @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
|
|
43196
|
+
*/
|
|
43197
|
+
proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDevice = function(value) {
|
|
43198
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
43199
|
+
};
|
|
43200
|
+
|
|
43201
|
+
|
|
43202
|
+
/**
|
|
43203
|
+
* optional int32 axis = 3;
|
|
43204
|
+
* @return {number}
|
|
43205
|
+
*/
|
|
43206
|
+
proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getAxis = function() {
|
|
43207
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
43208
|
+
};
|
|
43209
|
+
|
|
43210
|
+
|
|
43211
|
+
/**
|
|
43212
|
+
* @param {number} value
|
|
43213
|
+
* @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
|
|
43214
|
+
*/
|
|
43215
|
+
proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setAxis = function(value) {
|
|
43216
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
43217
|
+
};
|
|
43218
|
+
|
|
43219
|
+
|
|
43220
|
+
/**
|
|
43221
|
+
* optional string key = 4;
|
|
43222
|
+
* @return {string}
|
|
43223
|
+
*/
|
|
43224
|
+
proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getKey = function() {
|
|
43225
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
43226
|
+
};
|
|
43227
|
+
|
|
43228
|
+
|
|
43229
|
+
/**
|
|
43230
|
+
* @param {string} value
|
|
43231
|
+
* @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
|
|
43232
|
+
*/
|
|
43233
|
+
proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setKey = function(value) {
|
|
43234
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
43235
|
+
};
|
|
43236
|
+
|
|
43237
|
+
|
|
43238
|
+
/**
|
|
43239
|
+
* optional bool decode = 5;
|
|
43240
|
+
* @return {boolean}
|
|
43241
|
+
*/
|
|
43242
|
+
proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.getDecode = function() {
|
|
43243
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
43244
|
+
};
|
|
43245
|
+
|
|
43246
|
+
|
|
43247
|
+
/**
|
|
43248
|
+
* @param {boolean} value
|
|
43249
|
+
* @return {!proto.zaber.motion.protobufs.DeviceGetStorageRequest} returns this
|
|
43250
|
+
*/
|
|
43251
|
+
proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDecode = function(value) {
|
|
43252
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
43253
|
+
};
|
|
43254
|
+
|
|
43255
|
+
|
|
43256
|
+
|
|
43257
|
+
|
|
43258
|
+
|
|
43259
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
43260
|
+
/**
|
|
43261
|
+
* Creates an object representation of this proto.
|
|
43262
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
43263
|
+
* Optional fields that are not set will be set to undefined.
|
|
43264
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
43265
|
+
* For the list of reserved names please see:
|
|
43266
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
43267
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
43268
|
+
* JSPB instance for transitional soy proto support:
|
|
43269
|
+
* http://goto/soy-param-migration
|
|
43270
|
+
* @return {!Object}
|
|
43271
|
+
*/
|
|
43272
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.toObject = function(opt_includeInstance) {
|
|
43273
|
+
return proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject(opt_includeInstance, this);
|
|
43274
|
+
};
|
|
43275
|
+
|
|
43276
|
+
|
|
43277
|
+
/**
|
|
43278
|
+
* Static version of the {@see toObject} method.
|
|
43279
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
43280
|
+
* the JSPB instance for transitional soy proto support:
|
|
43281
|
+
* http://goto/soy-param-migration
|
|
43282
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} msg The msg instance to transform.
|
|
43283
|
+
* @return {!Object}
|
|
43284
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43285
|
+
*/
|
|
43286
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject = function(includeInstance, msg) {
|
|
43287
|
+
var f, obj = {
|
|
43288
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
43289
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
43290
|
+
axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
43291
|
+
key: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
43292
|
+
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
|
|
43293
|
+
};
|
|
43294
|
+
|
|
43295
|
+
if (includeInstance) {
|
|
43296
|
+
obj.$jspbMessageInstance = msg;
|
|
43297
|
+
}
|
|
43298
|
+
return obj;
|
|
43299
|
+
};
|
|
43300
|
+
}
|
|
43301
|
+
|
|
43302
|
+
|
|
43303
|
+
/**
|
|
43304
|
+
* Deserializes binary data (in protobuf wire format).
|
|
43305
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
43306
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest}
|
|
43307
|
+
*/
|
|
43308
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinary = function(bytes) {
|
|
43309
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
43310
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest;
|
|
43311
|
+
return proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFromReader(msg, reader);
|
|
43312
|
+
};
|
|
43313
|
+
|
|
43314
|
+
|
|
43315
|
+
/**
|
|
43316
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
43317
|
+
* given reader into the given message object.
|
|
43318
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} msg The message object to deserialize into.
|
|
43319
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
43320
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest}
|
|
43321
|
+
*/
|
|
43322
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
43323
|
+
while (reader.nextField()) {
|
|
43324
|
+
if (reader.isEndGroup()) {
|
|
43325
|
+
break;
|
|
43326
|
+
}
|
|
43327
|
+
var field = reader.getFieldNumber();
|
|
43328
|
+
switch (field) {
|
|
43329
|
+
case 1:
|
|
43330
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
43331
|
+
msg.setInterfaceId(value);
|
|
43332
|
+
break;
|
|
43333
|
+
case 2:
|
|
43334
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
43335
|
+
msg.setDevice(value);
|
|
43336
|
+
break;
|
|
43337
|
+
case 3:
|
|
43338
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
43339
|
+
msg.setAxis(value);
|
|
43340
|
+
break;
|
|
43341
|
+
case 4:
|
|
43342
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43343
|
+
msg.setKey(value);
|
|
43344
|
+
break;
|
|
43345
|
+
case 5:
|
|
43346
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
43347
|
+
msg.setValue(value);
|
|
43348
|
+
break;
|
|
43349
|
+
default:
|
|
43350
|
+
reader.skipField();
|
|
43351
|
+
break;
|
|
43352
|
+
}
|
|
43353
|
+
}
|
|
43354
|
+
return msg;
|
|
43355
|
+
};
|
|
43356
|
+
|
|
43357
|
+
|
|
43358
|
+
/**
|
|
43359
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
43360
|
+
* @return {!Uint8Array}
|
|
43361
|
+
*/
|
|
43362
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.serializeBinary = function() {
|
|
43363
|
+
var writer = new jspb.BinaryWriter();
|
|
43364
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWriter(this, writer);
|
|
43365
|
+
return writer.getResultBuffer();
|
|
43366
|
+
};
|
|
43367
|
+
|
|
43368
|
+
|
|
43369
|
+
/**
|
|
43370
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
43371
|
+
* format), writing to the given BinaryWriter.
|
|
43372
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} message
|
|
43373
|
+
* @param {!jspb.BinaryWriter} writer
|
|
43374
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43375
|
+
*/
|
|
43376
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWriter = function(message, writer) {
|
|
43377
|
+
var f = undefined;
|
|
43378
|
+
f = message.getInterfaceId();
|
|
43379
|
+
if (f !== 0) {
|
|
43380
|
+
writer.writeInt32(
|
|
43381
|
+
1,
|
|
43382
|
+
f
|
|
43383
|
+
);
|
|
43384
|
+
}
|
|
43385
|
+
f = message.getDevice();
|
|
43386
|
+
if (f !== 0) {
|
|
43387
|
+
writer.writeInt32(
|
|
43388
|
+
2,
|
|
43389
|
+
f
|
|
43390
|
+
);
|
|
43391
|
+
}
|
|
43392
|
+
f = message.getAxis();
|
|
43393
|
+
if (f !== 0) {
|
|
43394
|
+
writer.writeInt32(
|
|
43395
|
+
3,
|
|
43396
|
+
f
|
|
43397
|
+
);
|
|
43398
|
+
}
|
|
43399
|
+
f = message.getKey();
|
|
43400
|
+
if (f.length > 0) {
|
|
43401
|
+
writer.writeString(
|
|
43402
|
+
4,
|
|
43403
|
+
f
|
|
43404
|
+
);
|
|
43405
|
+
}
|
|
43406
|
+
f = message.getValue();
|
|
43407
|
+
if (f !== 0.0) {
|
|
43408
|
+
writer.writeDouble(
|
|
43559
43409
|
5,
|
|
43560
43410
|
f
|
|
43561
43411
|
);
|
|
@@ -43567,16 +43417,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageRequest.serializeBinaryToWriter = f
|
|
|
43567
43417
|
* optional int32 interface_id = 1;
|
|
43568
43418
|
* @return {number}
|
|
43569
43419
|
*/
|
|
43570
|
-
proto.zaber.motion.protobufs.
|
|
43420
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getInterfaceId = function() {
|
|
43571
43421
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
43572
43422
|
};
|
|
43573
43423
|
|
|
43574
43424
|
|
|
43575
43425
|
/**
|
|
43576
43426
|
* @param {number} value
|
|
43577
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43427
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
|
|
43578
43428
|
*/
|
|
43579
|
-
proto.zaber.motion.protobufs.
|
|
43429
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setInterfaceId = function(value) {
|
|
43580
43430
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
43581
43431
|
};
|
|
43582
43432
|
|
|
@@ -43585,16 +43435,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setInterfaceId =
|
|
|
43585
43435
|
* optional int32 device = 2;
|
|
43586
43436
|
* @return {number}
|
|
43587
43437
|
*/
|
|
43588
|
-
proto.zaber.motion.protobufs.
|
|
43438
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getDevice = function() {
|
|
43589
43439
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
43590
43440
|
};
|
|
43591
43441
|
|
|
43592
43442
|
|
|
43593
43443
|
/**
|
|
43594
43444
|
* @param {number} value
|
|
43595
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43445
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
|
|
43596
43446
|
*/
|
|
43597
|
-
proto.zaber.motion.protobufs.
|
|
43447
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setDevice = function(value) {
|
|
43598
43448
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
43599
43449
|
};
|
|
43600
43450
|
|
|
@@ -43603,16 +43453,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setDevice = funct
|
|
|
43603
43453
|
* optional int32 axis = 3;
|
|
43604
43454
|
* @return {number}
|
|
43605
43455
|
*/
|
|
43606
|
-
proto.zaber.motion.protobufs.
|
|
43456
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getAxis = function() {
|
|
43607
43457
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
43608
43458
|
};
|
|
43609
43459
|
|
|
43610
43460
|
|
|
43611
43461
|
/**
|
|
43612
43462
|
* @param {number} value
|
|
43613
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43463
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
|
|
43614
43464
|
*/
|
|
43615
|
-
proto.zaber.motion.protobufs.
|
|
43465
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setAxis = function(value) {
|
|
43616
43466
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
43617
43467
|
};
|
|
43618
43468
|
|
|
@@ -43621,35 +43471,35 @@ proto.zaber.motion.protobufs.DeviceGetStorageRequest.prototype.setAxis = functio
|
|
|
43621
43471
|
* optional string key = 4;
|
|
43622
43472
|
* @return {string}
|
|
43623
43473
|
*/
|
|
43624
|
-
proto.zaber.motion.protobufs.
|
|
43474
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getKey = function() {
|
|
43625
43475
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
43626
43476
|
};
|
|
43627
43477
|
|
|
43628
43478
|
|
|
43629
43479
|
/**
|
|
43630
43480
|
* @param {string} value
|
|
43631
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43481
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
|
|
43632
43482
|
*/
|
|
43633
|
-
proto.zaber.motion.protobufs.
|
|
43483
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setKey = function(value) {
|
|
43634
43484
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
43635
43485
|
};
|
|
43636
43486
|
|
|
43637
43487
|
|
|
43638
43488
|
/**
|
|
43639
|
-
* optional
|
|
43640
|
-
* @return {
|
|
43489
|
+
* optional double value = 5;
|
|
43490
|
+
* @return {number}
|
|
43641
43491
|
*/
|
|
43642
|
-
proto.zaber.motion.protobufs.
|
|
43643
|
-
return /** @type {
|
|
43492
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.getValue = function() {
|
|
43493
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
43644
43494
|
};
|
|
43645
43495
|
|
|
43646
43496
|
|
|
43647
43497
|
/**
|
|
43648
|
-
* @param {
|
|
43649
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43498
|
+
* @param {number} value
|
|
43499
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest} returns this
|
|
43650
43500
|
*/
|
|
43651
|
-
proto.zaber.motion.protobufs.
|
|
43652
|
-
return jspb.Message.
|
|
43501
|
+
proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setValue = function(value) {
|
|
43502
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
43653
43503
|
};
|
|
43654
43504
|
|
|
43655
43505
|
|
|
@@ -43669,8 +43519,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
43669
43519
|
* http://goto/soy-param-migration
|
|
43670
43520
|
* @return {!Object}
|
|
43671
43521
|
*/
|
|
43672
|
-
proto.zaber.motion.protobufs.
|
|
43673
|
-
return proto.zaber.motion.protobufs.
|
|
43522
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.toObject = function(opt_includeInstance) {
|
|
43523
|
+
return proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject(opt_includeInstance, this);
|
|
43674
43524
|
};
|
|
43675
43525
|
|
|
43676
43526
|
|
|
@@ -43679,17 +43529,17 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.toObject =
|
|
|
43679
43529
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
43680
43530
|
* the JSPB instance for transitional soy proto support:
|
|
43681
43531
|
* http://goto/soy-param-migration
|
|
43682
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
43532
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} msg The msg instance to transform.
|
|
43683
43533
|
* @return {!Object}
|
|
43684
43534
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43685
43535
|
*/
|
|
43686
|
-
proto.zaber.motion.protobufs.
|
|
43536
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject = function(includeInstance, msg) {
|
|
43687
43537
|
var f, obj = {
|
|
43688
43538
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
43689
43539
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
43690
43540
|
axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
43691
43541
|
key: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
43692
|
-
value: jspb.Message.
|
|
43542
|
+
value: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
43693
43543
|
};
|
|
43694
43544
|
|
|
43695
43545
|
if (includeInstance) {
|
|
@@ -43703,23 +43553,23 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.toObject = function(i
|
|
|
43703
43553
|
/**
|
|
43704
43554
|
* Deserializes binary data (in protobuf wire format).
|
|
43705
43555
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
43706
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43556
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest}
|
|
43707
43557
|
*/
|
|
43708
|
-
proto.zaber.motion.protobufs.
|
|
43558
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinary = function(bytes) {
|
|
43709
43559
|
var reader = new jspb.BinaryReader(bytes);
|
|
43710
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
43711
|
-
return proto.zaber.motion.protobufs.
|
|
43560
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest;
|
|
43561
|
+
return proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromReader(msg, reader);
|
|
43712
43562
|
};
|
|
43713
43563
|
|
|
43714
43564
|
|
|
43715
43565
|
/**
|
|
43716
43566
|
* Deserializes binary data (in protobuf wire format) from the
|
|
43717
43567
|
* given reader into the given message object.
|
|
43718
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
43568
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} msg The message object to deserialize into.
|
|
43719
43569
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
43720
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43570
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest}
|
|
43721
43571
|
*/
|
|
43722
|
-
proto.zaber.motion.protobufs.
|
|
43572
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
43723
43573
|
while (reader.nextField()) {
|
|
43724
43574
|
if (reader.isEndGroup()) {
|
|
43725
43575
|
break;
|
|
@@ -43743,7 +43593,7 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFrom
|
|
|
43743
43593
|
msg.setKey(value);
|
|
43744
43594
|
break;
|
|
43745
43595
|
case 5:
|
|
43746
|
-
var value = /** @type {
|
|
43596
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
43747
43597
|
msg.setValue(value);
|
|
43748
43598
|
break;
|
|
43749
43599
|
default:
|
|
@@ -43759,9 +43609,9 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.deserializeBinaryFrom
|
|
|
43759
43609
|
* Serializes the message to binary data (in protobuf wire format).
|
|
43760
43610
|
* @return {!Uint8Array}
|
|
43761
43611
|
*/
|
|
43762
|
-
proto.zaber.motion.protobufs.
|
|
43612
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.serializeBinary = function() {
|
|
43763
43613
|
var writer = new jspb.BinaryWriter();
|
|
43764
|
-
proto.zaber.motion.protobufs.
|
|
43614
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter(this, writer);
|
|
43765
43615
|
return writer.getResultBuffer();
|
|
43766
43616
|
};
|
|
43767
43617
|
|
|
@@ -43769,11 +43619,11 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.serializeBi
|
|
|
43769
43619
|
/**
|
|
43770
43620
|
* Serializes the given message to binary data (in protobuf wire
|
|
43771
43621
|
* format), writing to the given BinaryWriter.
|
|
43772
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
43622
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} message
|
|
43773
43623
|
* @param {!jspb.BinaryWriter} writer
|
|
43774
43624
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43775
43625
|
*/
|
|
43776
|
-
proto.zaber.motion.protobufs.
|
|
43626
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter = function(message, writer) {
|
|
43777
43627
|
var f = undefined;
|
|
43778
43628
|
f = message.getInterfaceId();
|
|
43779
43629
|
if (f !== 0) {
|
|
@@ -43804,8 +43654,8 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWrit
|
|
|
43804
43654
|
);
|
|
43805
43655
|
}
|
|
43806
43656
|
f = message.getValue();
|
|
43807
|
-
if (f
|
|
43808
|
-
writer.
|
|
43657
|
+
if (f) {
|
|
43658
|
+
writer.writeBool(
|
|
43809
43659
|
5,
|
|
43810
43660
|
f
|
|
43811
43661
|
);
|
|
@@ -43817,16 +43667,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.serializeBinaryToWrit
|
|
|
43817
43667
|
* optional int32 interface_id = 1;
|
|
43818
43668
|
* @return {number}
|
|
43819
43669
|
*/
|
|
43820
|
-
proto.zaber.motion.protobufs.
|
|
43670
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getInterfaceId = function() {
|
|
43821
43671
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
43822
43672
|
};
|
|
43823
43673
|
|
|
43824
43674
|
|
|
43825
43675
|
/**
|
|
43826
43676
|
* @param {number} value
|
|
43827
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43677
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
|
|
43828
43678
|
*/
|
|
43829
|
-
proto.zaber.motion.protobufs.
|
|
43679
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setInterfaceId = function(value) {
|
|
43830
43680
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
43831
43681
|
};
|
|
43832
43682
|
|
|
@@ -43835,16 +43685,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setInterfac
|
|
|
43835
43685
|
* optional int32 device = 2;
|
|
43836
43686
|
* @return {number}
|
|
43837
43687
|
*/
|
|
43838
|
-
proto.zaber.motion.protobufs.
|
|
43688
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getDevice = function() {
|
|
43839
43689
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
43840
43690
|
};
|
|
43841
43691
|
|
|
43842
43692
|
|
|
43843
43693
|
/**
|
|
43844
43694
|
* @param {number} value
|
|
43845
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43695
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
|
|
43846
43696
|
*/
|
|
43847
|
-
proto.zaber.motion.protobufs.
|
|
43697
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setDevice = function(value) {
|
|
43848
43698
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
43849
43699
|
};
|
|
43850
43700
|
|
|
@@ -43853,16 +43703,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setDevice =
|
|
|
43853
43703
|
* optional int32 axis = 3;
|
|
43854
43704
|
* @return {number}
|
|
43855
43705
|
*/
|
|
43856
|
-
proto.zaber.motion.protobufs.
|
|
43706
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getAxis = function() {
|
|
43857
43707
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
43858
43708
|
};
|
|
43859
43709
|
|
|
43860
43710
|
|
|
43861
43711
|
/**
|
|
43862
43712
|
* @param {number} value
|
|
43863
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43713
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
|
|
43864
43714
|
*/
|
|
43865
|
-
proto.zaber.motion.protobufs.
|
|
43715
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setAxis = function(value) {
|
|
43866
43716
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
43867
43717
|
};
|
|
43868
43718
|
|
|
@@ -43871,35 +43721,35 @@ proto.zaber.motion.protobufs.DeviceSetStorageNumberRequest.prototype.setAxis = f
|
|
|
43871
43721
|
* optional string key = 4;
|
|
43872
43722
|
* @return {string}
|
|
43873
43723
|
*/
|
|
43874
|
-
proto.zaber.motion.protobufs.
|
|
43724
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getKey = function() {
|
|
43875
43725
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
43876
43726
|
};
|
|
43877
43727
|
|
|
43878
43728
|
|
|
43879
43729
|
/**
|
|
43880
43730
|
* @param {string} value
|
|
43881
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43731
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
|
|
43882
43732
|
*/
|
|
43883
|
-
proto.zaber.motion.protobufs.
|
|
43733
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setKey = function(value) {
|
|
43884
43734
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
43885
43735
|
};
|
|
43886
43736
|
|
|
43887
43737
|
|
|
43888
43738
|
/**
|
|
43889
|
-
* optional
|
|
43890
|
-
* @return {
|
|
43739
|
+
* optional bool value = 5;
|
|
43740
|
+
* @return {boolean}
|
|
43891
43741
|
*/
|
|
43892
|
-
proto.zaber.motion.protobufs.
|
|
43893
|
-
return /** @type {
|
|
43742
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.getValue = function() {
|
|
43743
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
43894
43744
|
};
|
|
43895
43745
|
|
|
43896
43746
|
|
|
43897
43747
|
/**
|
|
43898
|
-
* @param {
|
|
43899
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43748
|
+
* @param {boolean} value
|
|
43749
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest} returns this
|
|
43900
43750
|
*/
|
|
43901
|
-
proto.zaber.motion.protobufs.
|
|
43902
|
-
return jspb.Message.
|
|
43751
|
+
proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setValue = function(value) {
|
|
43752
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
43903
43753
|
};
|
|
43904
43754
|
|
|
43905
43755
|
|
|
@@ -43919,8 +43769,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
43919
43769
|
* http://goto/soy-param-migration
|
|
43920
43770
|
* @return {!Object}
|
|
43921
43771
|
*/
|
|
43922
|
-
proto.zaber.motion.protobufs.
|
|
43923
|
-
return proto.zaber.motion.protobufs.
|
|
43772
|
+
proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.toObject = function(opt_includeInstance) {
|
|
43773
|
+
return proto.zaber.motion.protobufs.DeviceStorageRequest.toObject(opt_includeInstance, this);
|
|
43924
43774
|
};
|
|
43925
43775
|
|
|
43926
43776
|
|
|
@@ -43929,11 +43779,11 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.toObject =
|
|
|
43929
43779
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
43930
43780
|
* the JSPB instance for transitional soy proto support:
|
|
43931
43781
|
* http://goto/soy-param-migration
|
|
43932
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
43782
|
+
* @param {!proto.zaber.motion.protobufs.DeviceStorageRequest} msg The msg instance to transform.
|
|
43933
43783
|
* @return {!Object}
|
|
43934
43784
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
43935
43785
|
*/
|
|
43936
|
-
proto.zaber.motion.protobufs.
|
|
43786
|
+
proto.zaber.motion.protobufs.DeviceStorageRequest.toObject = function(includeInstance, msg) {
|
|
43937
43787
|
var f, obj = {
|
|
43938
43788
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
43939
43789
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
@@ -43952,23 +43802,23 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.toObject = function(i
|
|
|
43952
43802
|
/**
|
|
43953
43803
|
* Deserializes binary data (in protobuf wire format).
|
|
43954
43804
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
43955
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43805
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageRequest}
|
|
43956
43806
|
*/
|
|
43957
|
-
proto.zaber.motion.protobufs.
|
|
43807
|
+
proto.zaber.motion.protobufs.DeviceStorageRequest.deserializeBinary = function(bytes) {
|
|
43958
43808
|
var reader = new jspb.BinaryReader(bytes);
|
|
43959
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
43960
|
-
return proto.zaber.motion.protobufs.
|
|
43809
|
+
var msg = new proto.zaber.motion.protobufs.DeviceStorageRequest;
|
|
43810
|
+
return proto.zaber.motion.protobufs.DeviceStorageRequest.deserializeBinaryFromReader(msg, reader);
|
|
43961
43811
|
};
|
|
43962
43812
|
|
|
43963
43813
|
|
|
43964
43814
|
/**
|
|
43965
43815
|
* Deserializes binary data (in protobuf wire format) from the
|
|
43966
43816
|
* given reader into the given message object.
|
|
43967
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
43817
|
+
* @param {!proto.zaber.motion.protobufs.DeviceStorageRequest} msg The message object to deserialize into.
|
|
43968
43818
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
43969
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43819
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageRequest}
|
|
43970
43820
|
*/
|
|
43971
|
-
proto.zaber.motion.protobufs.
|
|
43821
|
+
proto.zaber.motion.protobufs.DeviceStorageRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
43972
43822
|
while (reader.nextField()) {
|
|
43973
43823
|
if (reader.isEndGroup()) {
|
|
43974
43824
|
break;
|
|
@@ -44004,9 +43854,9 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.deserializeBinaryFrom
|
|
|
44004
43854
|
* Serializes the message to binary data (in protobuf wire format).
|
|
44005
43855
|
* @return {!Uint8Array}
|
|
44006
43856
|
*/
|
|
44007
|
-
proto.zaber.motion.protobufs.
|
|
43857
|
+
proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.serializeBinary = function() {
|
|
44008
43858
|
var writer = new jspb.BinaryWriter();
|
|
44009
|
-
proto.zaber.motion.protobufs.
|
|
43859
|
+
proto.zaber.motion.protobufs.DeviceStorageRequest.serializeBinaryToWriter(this, writer);
|
|
44010
43860
|
return writer.getResultBuffer();
|
|
44011
43861
|
};
|
|
44012
43862
|
|
|
@@ -44014,11 +43864,11 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.serializeBi
|
|
|
44014
43864
|
/**
|
|
44015
43865
|
* Serializes the given message to binary data (in protobuf wire
|
|
44016
43866
|
* format), writing to the given BinaryWriter.
|
|
44017
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
43867
|
+
* @param {!proto.zaber.motion.protobufs.DeviceStorageRequest} message
|
|
44018
43868
|
* @param {!jspb.BinaryWriter} writer
|
|
44019
43869
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44020
43870
|
*/
|
|
44021
|
-
proto.zaber.motion.protobufs.
|
|
43871
|
+
proto.zaber.motion.protobufs.DeviceStorageRequest.serializeBinaryToWriter = function(message, writer) {
|
|
44022
43872
|
var f = undefined;
|
|
44023
43873
|
f = message.getInterfaceId();
|
|
44024
43874
|
if (f !== 0) {
|
|
@@ -44055,16 +43905,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.serializeBinaryToWrit
|
|
|
44055
43905
|
* optional int32 interface_id = 1;
|
|
44056
43906
|
* @return {number}
|
|
44057
43907
|
*/
|
|
44058
|
-
proto.zaber.motion.protobufs.
|
|
43908
|
+
proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.getInterfaceId = function() {
|
|
44059
43909
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
44060
43910
|
};
|
|
44061
43911
|
|
|
44062
43912
|
|
|
44063
43913
|
/**
|
|
44064
43914
|
* @param {number} value
|
|
44065
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43915
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageRequest} returns this
|
|
44066
43916
|
*/
|
|
44067
|
-
proto.zaber.motion.protobufs.
|
|
43917
|
+
proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.setInterfaceId = function(value) {
|
|
44068
43918
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
44069
43919
|
};
|
|
44070
43920
|
|
|
@@ -44073,16 +43923,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setInterfac
|
|
|
44073
43923
|
* optional int32 device = 2;
|
|
44074
43924
|
* @return {number}
|
|
44075
43925
|
*/
|
|
44076
|
-
proto.zaber.motion.protobufs.
|
|
43926
|
+
proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.getDevice = function() {
|
|
44077
43927
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
44078
43928
|
};
|
|
44079
43929
|
|
|
44080
43930
|
|
|
44081
43931
|
/**
|
|
44082
43932
|
* @param {number} value
|
|
44083
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43933
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageRequest} returns this
|
|
44084
43934
|
*/
|
|
44085
|
-
proto.zaber.motion.protobufs.
|
|
43935
|
+
proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.setDevice = function(value) {
|
|
44086
43936
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
44087
43937
|
};
|
|
44088
43938
|
|
|
@@ -44091,16 +43941,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setDevice =
|
|
|
44091
43941
|
* optional int32 axis = 3;
|
|
44092
43942
|
* @return {number}
|
|
44093
43943
|
*/
|
|
44094
|
-
proto.zaber.motion.protobufs.
|
|
43944
|
+
proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.getAxis = function() {
|
|
44095
43945
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
44096
43946
|
};
|
|
44097
43947
|
|
|
44098
43948
|
|
|
44099
43949
|
/**
|
|
44100
43950
|
* @param {number} value
|
|
44101
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43951
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageRequest} returns this
|
|
44102
43952
|
*/
|
|
44103
|
-
proto.zaber.motion.protobufs.
|
|
43953
|
+
proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.setAxis = function(value) {
|
|
44104
43954
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
44105
43955
|
};
|
|
44106
43956
|
|
|
@@ -44109,21 +43959,28 @@ proto.zaber.motion.protobufs.DeviceGetStorageNumberRequest.prototype.setAxis = f
|
|
|
44109
43959
|
* optional string key = 4;
|
|
44110
43960
|
* @return {string}
|
|
44111
43961
|
*/
|
|
44112
|
-
proto.zaber.motion.protobufs.
|
|
43962
|
+
proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.getKey = function() {
|
|
44113
43963
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
44114
43964
|
};
|
|
44115
43965
|
|
|
44116
43966
|
|
|
44117
43967
|
/**
|
|
44118
43968
|
* @param {string} value
|
|
44119
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
43969
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageRequest} returns this
|
|
44120
43970
|
*/
|
|
44121
|
-
proto.zaber.motion.protobufs.
|
|
43971
|
+
proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.setKey = function(value) {
|
|
44122
43972
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
44123
43973
|
};
|
|
44124
43974
|
|
|
44125
43975
|
|
|
44126
43976
|
|
|
43977
|
+
/**
|
|
43978
|
+
* List of repeated fields within this message type.
|
|
43979
|
+
* @private {!Array<number>}
|
|
43980
|
+
* @const
|
|
43981
|
+
*/
|
|
43982
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.repeatedFields_ = [5];
|
|
43983
|
+
|
|
44127
43984
|
|
|
44128
43985
|
|
|
44129
43986
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -44139,8 +43996,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
44139
43996
|
* http://goto/soy-param-migration
|
|
44140
43997
|
* @return {!Object}
|
|
44141
43998
|
*/
|
|
44142
|
-
proto.zaber.motion.protobufs.
|
|
44143
|
-
return proto.zaber.motion.protobufs.
|
|
43999
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
44000
|
+
return proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.toObject(opt_includeInstance, this);
|
|
44144
44001
|
};
|
|
44145
44002
|
|
|
44146
44003
|
|
|
@@ -44149,17 +44006,18 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.toObject = fu
|
|
|
44149
44006
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
44150
44007
|
* the JSPB instance for transitional soy proto support:
|
|
44151
44008
|
* http://goto/soy-param-migration
|
|
44152
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
44009
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} msg The msg instance to transform.
|
|
44153
44010
|
* @return {!Object}
|
|
44154
44011
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44155
44012
|
*/
|
|
44156
|
-
proto.zaber.motion.protobufs.
|
|
44013
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.toObject = function(includeInstance, msg) {
|
|
44157
44014
|
var f, obj = {
|
|
44158
44015
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
44159
44016
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
44160
44017
|
axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
44161
44018
|
key: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
44162
|
-
|
|
44019
|
+
conversionsList: jspb.Message.toObjectList(msg.getConversionsList(),
|
|
44020
|
+
proto.zaber.motion.protobufs.ConversionFactor.toObject, includeInstance)
|
|
44163
44021
|
};
|
|
44164
44022
|
|
|
44165
44023
|
if (includeInstance) {
|
|
@@ -44173,23 +44031,23 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.toObject = function(inc
|
|
|
44173
44031
|
/**
|
|
44174
44032
|
* Deserializes binary data (in protobuf wire format).
|
|
44175
44033
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
44176
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
44034
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest}
|
|
44177
44035
|
*/
|
|
44178
|
-
proto.zaber.motion.protobufs.
|
|
44036
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.deserializeBinary = function(bytes) {
|
|
44179
44037
|
var reader = new jspb.BinaryReader(bytes);
|
|
44180
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
44181
|
-
return proto.zaber.motion.protobufs.
|
|
44038
|
+
var msg = new proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest;
|
|
44039
|
+
return proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.deserializeBinaryFromReader(msg, reader);
|
|
44182
44040
|
};
|
|
44183
44041
|
|
|
44184
44042
|
|
|
44185
44043
|
/**
|
|
44186
44044
|
* Deserializes binary data (in protobuf wire format) from the
|
|
44187
44045
|
* given reader into the given message object.
|
|
44188
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
44046
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} msg The message object to deserialize into.
|
|
44189
44047
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
44190
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
44048
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest}
|
|
44191
44049
|
*/
|
|
44192
|
-
proto.zaber.motion.protobufs.
|
|
44050
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
44193
44051
|
while (reader.nextField()) {
|
|
44194
44052
|
if (reader.isEndGroup()) {
|
|
44195
44053
|
break;
|
|
@@ -44213,8 +44071,9 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromRe
|
|
|
44213
44071
|
msg.setKey(value);
|
|
44214
44072
|
break;
|
|
44215
44073
|
case 5:
|
|
44216
|
-
var value =
|
|
44217
|
-
|
|
44074
|
+
var value = new proto.zaber.motion.protobufs.ConversionFactor;
|
|
44075
|
+
reader.readMessage(value,proto.zaber.motion.protobufs.ConversionFactor.deserializeBinaryFromReader);
|
|
44076
|
+
msg.addConversions(value);
|
|
44218
44077
|
break;
|
|
44219
44078
|
default:
|
|
44220
44079
|
reader.skipField();
|
|
@@ -44229,9 +44088,9 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.deserializeBinaryFromRe
|
|
|
44229
44088
|
* Serializes the message to binary data (in protobuf wire format).
|
|
44230
44089
|
* @return {!Uint8Array}
|
|
44231
44090
|
*/
|
|
44232
|
-
proto.zaber.motion.protobufs.
|
|
44091
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.serializeBinary = function() {
|
|
44233
44092
|
var writer = new jspb.BinaryWriter();
|
|
44234
|
-
proto.zaber.motion.protobufs.
|
|
44093
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.serializeBinaryToWriter(this, writer);
|
|
44235
44094
|
return writer.getResultBuffer();
|
|
44236
44095
|
};
|
|
44237
44096
|
|
|
@@ -44239,11 +44098,11 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.serializeBina
|
|
|
44239
44098
|
/**
|
|
44240
44099
|
* Serializes the given message to binary data (in protobuf wire
|
|
44241
44100
|
* format), writing to the given BinaryWriter.
|
|
44242
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
44101
|
+
* @param {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} message
|
|
44243
44102
|
* @param {!jspb.BinaryWriter} writer
|
|
44244
44103
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44245
44104
|
*/
|
|
44246
|
-
proto.zaber.motion.protobufs.
|
|
44105
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
44247
44106
|
var f = undefined;
|
|
44248
44107
|
f = message.getInterfaceId();
|
|
44249
44108
|
if (f !== 0) {
|
|
@@ -44273,11 +44132,12 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter
|
|
|
44273
44132
|
f
|
|
44274
44133
|
);
|
|
44275
44134
|
}
|
|
44276
|
-
f = message.
|
|
44277
|
-
if (f) {
|
|
44278
|
-
writer.
|
|
44135
|
+
f = message.getConversionsList();
|
|
44136
|
+
if (f.length > 0) {
|
|
44137
|
+
writer.writeRepeatedMessage(
|
|
44279
44138
|
5,
|
|
44280
|
-
f
|
|
44139
|
+
f,
|
|
44140
|
+
proto.zaber.motion.protobufs.ConversionFactor.serializeBinaryToWriter
|
|
44281
44141
|
);
|
|
44282
44142
|
}
|
|
44283
44143
|
};
|
|
@@ -44287,16 +44147,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.serializeBinaryToWriter
|
|
|
44287
44147
|
* optional int32 interface_id = 1;
|
|
44288
44148
|
* @return {number}
|
|
44289
44149
|
*/
|
|
44290
|
-
proto.zaber.motion.protobufs.
|
|
44150
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.getInterfaceId = function() {
|
|
44291
44151
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
44292
44152
|
};
|
|
44293
44153
|
|
|
44294
44154
|
|
|
44295
44155
|
/**
|
|
44296
44156
|
* @param {number} value
|
|
44297
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
44157
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
|
|
44298
44158
|
*/
|
|
44299
|
-
proto.zaber.motion.protobufs.
|
|
44159
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.setInterfaceId = function(value) {
|
|
44300
44160
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
44301
44161
|
};
|
|
44302
44162
|
|
|
@@ -44305,16 +44165,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setInterfaceI
|
|
|
44305
44165
|
* optional int32 device = 2;
|
|
44306
44166
|
* @return {number}
|
|
44307
44167
|
*/
|
|
44308
|
-
proto.zaber.motion.protobufs.
|
|
44168
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.getDevice = function() {
|
|
44309
44169
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
44310
44170
|
};
|
|
44311
44171
|
|
|
44312
44172
|
|
|
44313
44173
|
/**
|
|
44314
44174
|
* @param {number} value
|
|
44315
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
44175
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
|
|
44316
44176
|
*/
|
|
44317
|
-
proto.zaber.motion.protobufs.
|
|
44177
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.setDevice = function(value) {
|
|
44318
44178
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
44319
44179
|
};
|
|
44320
44180
|
|
|
@@ -44323,16 +44183,16 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setDevice = f
|
|
|
44323
44183
|
* optional int32 axis = 3;
|
|
44324
44184
|
* @return {number}
|
|
44325
44185
|
*/
|
|
44326
|
-
proto.zaber.motion.protobufs.
|
|
44186
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.getAxis = function() {
|
|
44327
44187
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
44328
44188
|
};
|
|
44329
44189
|
|
|
44330
44190
|
|
|
44331
44191
|
/**
|
|
44332
44192
|
* @param {number} value
|
|
44333
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
44193
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
|
|
44334
44194
|
*/
|
|
44335
|
-
proto.zaber.motion.protobufs.
|
|
44195
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.setAxis = function(value) {
|
|
44336
44196
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
44337
44197
|
};
|
|
44338
44198
|
|
|
@@ -44341,35 +44201,55 @@ proto.zaber.motion.protobufs.DeviceSetStorageBoolRequest.prototype.setAxis = fun
|
|
|
44341
44201
|
* optional string key = 4;
|
|
44342
44202
|
* @return {string}
|
|
44343
44203
|
*/
|
|
44344
|
-
proto.zaber.motion.protobufs.
|
|
44204
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.getKey = function() {
|
|
44345
44205
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
44346
44206
|
};
|
|
44347
44207
|
|
|
44348
44208
|
|
|
44349
44209
|
/**
|
|
44350
44210
|
* @param {string} value
|
|
44351
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
44211
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
|
|
44352
44212
|
*/
|
|
44353
|
-
proto.zaber.motion.protobufs.
|
|
44213
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.setKey = function(value) {
|
|
44354
44214
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
44355
44215
|
};
|
|
44356
44216
|
|
|
44357
44217
|
|
|
44358
44218
|
/**
|
|
44359
|
-
*
|
|
44360
|
-
* @return {
|
|
44219
|
+
* repeated ConversionFactor conversions = 5;
|
|
44220
|
+
* @return {!Array<!proto.zaber.motion.protobufs.ConversionFactor>}
|
|
44361
44221
|
*/
|
|
44362
|
-
proto.zaber.motion.protobufs.
|
|
44363
|
-
return /** @type
|
|
44222
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.getConversionsList = function() {
|
|
44223
|
+
return /** @type{!Array<!proto.zaber.motion.protobufs.ConversionFactor>} */ (
|
|
44224
|
+
jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.ConversionFactor, 5));
|
|
44364
44225
|
};
|
|
44365
44226
|
|
|
44366
44227
|
|
|
44367
44228
|
/**
|
|
44368
|
-
* @param {
|
|
44369
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
44229
|
+
* @param {!Array<!proto.zaber.motion.protobufs.ConversionFactor>} value
|
|
44230
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
|
|
44231
|
+
*/
|
|
44232
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.setConversionsList = function(value) {
|
|
44233
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
44234
|
+
};
|
|
44235
|
+
|
|
44236
|
+
|
|
44237
|
+
/**
|
|
44238
|
+
* @param {!proto.zaber.motion.protobufs.ConversionFactor=} opt_value
|
|
44239
|
+
* @param {number=} opt_index
|
|
44240
|
+
* @return {!proto.zaber.motion.protobufs.ConversionFactor}
|
|
44370
44241
|
*/
|
|
44371
|
-
proto.zaber.motion.protobufs.
|
|
44372
|
-
return jspb.Message.
|
|
44242
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.addConversions = function(opt_value, opt_index) {
|
|
44243
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.zaber.motion.protobufs.ConversionFactor, opt_index);
|
|
44244
|
+
};
|
|
44245
|
+
|
|
44246
|
+
|
|
44247
|
+
/**
|
|
44248
|
+
* Clears the list making it empty but non-null.
|
|
44249
|
+
* @return {!proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest} returns this
|
|
44250
|
+
*/
|
|
44251
|
+
proto.zaber.motion.protobufs.DeviceSetUnitConversionsRequest.prototype.clearConversionsList = function() {
|
|
44252
|
+
return this.setConversionsList([]);
|
|
44373
44253
|
};
|
|
44374
44254
|
|
|
44375
44255
|
|
|
@@ -44389,8 +44269,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
44389
44269
|
* http://goto/soy-param-migration
|
|
44390
44270
|
* @return {!Object}
|
|
44391
44271
|
*/
|
|
44392
|
-
proto.zaber.motion.protobufs.
|
|
44393
|
-
return proto.zaber.motion.protobufs.
|
|
44272
|
+
proto.zaber.motion.protobufs.ConversionFactor.prototype.toObject = function(opt_includeInstance) {
|
|
44273
|
+
return proto.zaber.motion.protobufs.ConversionFactor.toObject(opt_includeInstance, this);
|
|
44394
44274
|
};
|
|
44395
44275
|
|
|
44396
44276
|
|
|
@@ -44399,16 +44279,15 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.toObject = fu
|
|
|
44399
44279
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
44400
44280
|
* the JSPB instance for transitional soy proto support:
|
|
44401
44281
|
* http://goto/soy-param-migration
|
|
44402
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
44282
|
+
* @param {!proto.zaber.motion.protobufs.ConversionFactor} msg The msg instance to transform.
|
|
44403
44283
|
* @return {!Object}
|
|
44404
44284
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44405
44285
|
*/
|
|
44406
|
-
proto.zaber.motion.protobufs.
|
|
44286
|
+
proto.zaber.motion.protobufs.ConversionFactor.toObject = function(includeInstance, msg) {
|
|
44407
44287
|
var f, obj = {
|
|
44408
|
-
|
|
44409
|
-
|
|
44410
|
-
|
|
44411
|
-
key: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
44288
|
+
setting: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
44289
|
+
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
44290
|
+
unit: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
44412
44291
|
};
|
|
44413
44292
|
|
|
44414
44293
|
if (includeInstance) {
|
|
@@ -44422,23 +44301,23 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.toObject = function(inc
|
|
|
44422
44301
|
/**
|
|
44423
44302
|
* Deserializes binary data (in protobuf wire format).
|
|
44424
44303
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
44425
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
44304
|
+
* @return {!proto.zaber.motion.protobufs.ConversionFactor}
|
|
44426
44305
|
*/
|
|
44427
|
-
proto.zaber.motion.protobufs.
|
|
44306
|
+
proto.zaber.motion.protobufs.ConversionFactor.deserializeBinary = function(bytes) {
|
|
44428
44307
|
var reader = new jspb.BinaryReader(bytes);
|
|
44429
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
44430
|
-
return proto.zaber.motion.protobufs.
|
|
44308
|
+
var msg = new proto.zaber.motion.protobufs.ConversionFactor;
|
|
44309
|
+
return proto.zaber.motion.protobufs.ConversionFactor.deserializeBinaryFromReader(msg, reader);
|
|
44431
44310
|
};
|
|
44432
44311
|
|
|
44433
44312
|
|
|
44434
44313
|
/**
|
|
44435
44314
|
* Deserializes binary data (in protobuf wire format) from the
|
|
44436
44315
|
* given reader into the given message object.
|
|
44437
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
44316
|
+
* @param {!proto.zaber.motion.protobufs.ConversionFactor} msg The message object to deserialize into.
|
|
44438
44317
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
44439
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
44318
|
+
* @return {!proto.zaber.motion.protobufs.ConversionFactor}
|
|
44440
44319
|
*/
|
|
44441
|
-
proto.zaber.motion.protobufs.
|
|
44320
|
+
proto.zaber.motion.protobufs.ConversionFactor.deserializeBinaryFromReader = function(msg, reader) {
|
|
44442
44321
|
while (reader.nextField()) {
|
|
44443
44322
|
if (reader.isEndGroup()) {
|
|
44444
44323
|
break;
|
|
@@ -44446,20 +44325,16 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinaryFromRe
|
|
|
44446
44325
|
var field = reader.getFieldNumber();
|
|
44447
44326
|
switch (field) {
|
|
44448
44327
|
case 1:
|
|
44449
|
-
var value = /** @type {
|
|
44450
|
-
msg.
|
|
44328
|
+
var value = /** @type {string} */ (reader.readString());
|
|
44329
|
+
msg.setSetting(value);
|
|
44451
44330
|
break;
|
|
44452
44331
|
case 2:
|
|
44453
|
-
var value = /** @type {number} */ (reader.
|
|
44454
|
-
msg.
|
|
44332
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
44333
|
+
msg.setValue(value);
|
|
44455
44334
|
break;
|
|
44456
44335
|
case 3:
|
|
44457
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
44458
|
-
msg.setAxis(value);
|
|
44459
|
-
break;
|
|
44460
|
-
case 4:
|
|
44461
44336
|
var value = /** @type {string} */ (reader.readString());
|
|
44462
|
-
msg.
|
|
44337
|
+
msg.setUnit(value);
|
|
44463
44338
|
break;
|
|
44464
44339
|
default:
|
|
44465
44340
|
reader.skipField();
|
|
@@ -44474,9 +44349,9 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.deserializeBinaryFromRe
|
|
|
44474
44349
|
* Serializes the message to binary data (in protobuf wire format).
|
|
44475
44350
|
* @return {!Uint8Array}
|
|
44476
44351
|
*/
|
|
44477
|
-
proto.zaber.motion.protobufs.
|
|
44352
|
+
proto.zaber.motion.protobufs.ConversionFactor.prototype.serializeBinary = function() {
|
|
44478
44353
|
var writer = new jspb.BinaryWriter();
|
|
44479
|
-
proto.zaber.motion.protobufs.
|
|
44354
|
+
proto.zaber.motion.protobufs.ConversionFactor.serializeBinaryToWriter(this, writer);
|
|
44480
44355
|
return writer.getResultBuffer();
|
|
44481
44356
|
};
|
|
44482
44357
|
|
|
@@ -44484,37 +44359,30 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.prototype.serializeBina
|
|
|
44484
44359
|
/**
|
|
44485
44360
|
* Serializes the given message to binary data (in protobuf wire
|
|
44486
44361
|
* format), writing to the given BinaryWriter.
|
|
44487
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
44362
|
+
* @param {!proto.zaber.motion.protobufs.ConversionFactor} message
|
|
44488
44363
|
* @param {!jspb.BinaryWriter} writer
|
|
44489
44364
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44490
44365
|
*/
|
|
44491
|
-
proto.zaber.motion.protobufs.
|
|
44366
|
+
proto.zaber.motion.protobufs.ConversionFactor.serializeBinaryToWriter = function(message, writer) {
|
|
44492
44367
|
var f = undefined;
|
|
44493
|
-
f = message.
|
|
44494
|
-
if (f
|
|
44495
|
-
writer.
|
|
44368
|
+
f = message.getSetting();
|
|
44369
|
+
if (f.length > 0) {
|
|
44370
|
+
writer.writeString(
|
|
44496
44371
|
1,
|
|
44497
44372
|
f
|
|
44498
44373
|
);
|
|
44499
44374
|
}
|
|
44500
|
-
f = message.
|
|
44501
|
-
if (f !== 0) {
|
|
44502
|
-
writer.
|
|
44375
|
+
f = message.getValue();
|
|
44376
|
+
if (f !== 0.0) {
|
|
44377
|
+
writer.writeDouble(
|
|
44503
44378
|
2,
|
|
44504
44379
|
f
|
|
44505
44380
|
);
|
|
44506
44381
|
}
|
|
44507
|
-
f = message.
|
|
44508
|
-
if (f !== 0) {
|
|
44509
|
-
writer.writeInt32(
|
|
44510
|
-
3,
|
|
44511
|
-
f
|
|
44512
|
-
);
|
|
44513
|
-
}
|
|
44514
|
-
f = message.getKey();
|
|
44382
|
+
f = message.getUnit();
|
|
44515
44383
|
if (f.length > 0) {
|
|
44516
44384
|
writer.writeString(
|
|
44517
|
-
|
|
44385
|
+
3,
|
|
44518
44386
|
f
|
|
44519
44387
|
);
|
|
44520
44388
|
}
|
|
@@ -44522,74 +44390,56 @@ proto.zaber.motion.protobufs.DeviceGetStorageBoolRequest.serializeBinaryToWriter
|
|
|
44522
44390
|
|
|
44523
44391
|
|
|
44524
44392
|
/**
|
|
44525
|
-
* optional
|
|
44526
|
-
* @return {
|
|
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}
|
|
44393
|
+
* optional string setting = 1;
|
|
44394
|
+
* @return {string}
|
|
44545
44395
|
*/
|
|
44546
|
-
proto.zaber.motion.protobufs.
|
|
44547
|
-
return /** @type {
|
|
44396
|
+
proto.zaber.motion.protobufs.ConversionFactor.prototype.getSetting = function() {
|
|
44397
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
44548
44398
|
};
|
|
44549
44399
|
|
|
44550
44400
|
|
|
44551
44401
|
/**
|
|
44552
|
-
* @param {
|
|
44553
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
44402
|
+
* @param {string} value
|
|
44403
|
+
* @return {!proto.zaber.motion.protobufs.ConversionFactor} returns this
|
|
44554
44404
|
*/
|
|
44555
|
-
proto.zaber.motion.protobufs.
|
|
44556
|
-
return jspb.Message.
|
|
44405
|
+
proto.zaber.motion.protobufs.ConversionFactor.prototype.setSetting = function(value) {
|
|
44406
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
44557
44407
|
};
|
|
44558
44408
|
|
|
44559
44409
|
|
|
44560
44410
|
/**
|
|
44561
|
-
* optional
|
|
44411
|
+
* optional double value = 2;
|
|
44562
44412
|
* @return {number}
|
|
44563
44413
|
*/
|
|
44564
|
-
proto.zaber.motion.protobufs.
|
|
44565
|
-
return /** @type {number} */ (jspb.Message.
|
|
44414
|
+
proto.zaber.motion.protobufs.ConversionFactor.prototype.getValue = function() {
|
|
44415
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
44566
44416
|
};
|
|
44567
44417
|
|
|
44568
44418
|
|
|
44569
44419
|
/**
|
|
44570
44420
|
* @param {number} value
|
|
44571
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
44421
|
+
* @return {!proto.zaber.motion.protobufs.ConversionFactor} returns this
|
|
44572
44422
|
*/
|
|
44573
|
-
proto.zaber.motion.protobufs.
|
|
44574
|
-
return jspb.Message.
|
|
44423
|
+
proto.zaber.motion.protobufs.ConversionFactor.prototype.setValue = function(value) {
|
|
44424
|
+
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
44575
44425
|
};
|
|
44576
44426
|
|
|
44577
44427
|
|
|
44578
44428
|
/**
|
|
44579
|
-
* optional string
|
|
44429
|
+
* optional string unit = 3;
|
|
44580
44430
|
* @return {string}
|
|
44581
44431
|
*/
|
|
44582
|
-
proto.zaber.motion.protobufs.
|
|
44583
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
44432
|
+
proto.zaber.motion.protobufs.ConversionFactor.prototype.getUnit = function() {
|
|
44433
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
44584
44434
|
};
|
|
44585
44435
|
|
|
44586
44436
|
|
|
44587
44437
|
/**
|
|
44588
44438
|
* @param {string} value
|
|
44589
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
44439
|
+
* @return {!proto.zaber.motion.protobufs.ConversionFactor} returns this
|
|
44590
44440
|
*/
|
|
44591
|
-
proto.zaber.motion.protobufs.
|
|
44592
|
-
return jspb.Message.setProto3StringField(this,
|
|
44441
|
+
proto.zaber.motion.protobufs.ConversionFactor.prototype.setUnit = function(value) {
|
|
44442
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
44593
44443
|
};
|
|
44594
44444
|
|
|
44595
44445
|
|