@zaber/motion 3.2.0 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +1 -1
  2. package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
  3. package/dist/lib/ascii/device.d.ts +14 -1
  4. package/dist/lib/ascii/device.js +21 -2
  5. package/dist/lib/ascii/device.js.map +1 -1
  6. package/dist/lib/ascii/lockstep.d.ts +22 -0
  7. package/dist/lib/ascii/lockstep.js +43 -6
  8. package/dist/lib/ascii/lockstep.js.map +1 -1
  9. package/dist/lib/ascii/warnings.d.ts +9 -0
  10. package/dist/lib/ascii/warnings.js +17 -0
  11. package/dist/lib/ascii/warnings.js.map +1 -1
  12. package/dist/lib/exceptions/index.d.ts +1 -0
  13. package/dist/lib/exceptions/index.js +4 -2
  14. package/dist/lib/exceptions/index.js.map +1 -1
  15. package/dist/lib/exceptions/movement_failed_exception_data.d.ts +8 -0
  16. package/dist/lib/exceptions/movement_failed_exception_data.js +2 -0
  17. package/dist/lib/exceptions/movement_failed_exception_data.js.map +1 -1
  18. package/dist/lib/exceptions/movement_interrupted_exception_data.d.ts +8 -0
  19. package/dist/lib/exceptions/movement_interrupted_exception_data.js +2 -0
  20. package/dist/lib/exceptions/movement_interrupted_exception_data.js.map +1 -1
  21. package/dist/lib/exceptions/timeout_exception.d.ts +7 -0
  22. package/dist/lib/exceptions/timeout_exception.js +17 -0
  23. package/dist/lib/exceptions/timeout_exception.js.map +1 -0
  24. package/dist/lib/firmware_version.js +36 -0
  25. package/dist/lib/firmware_version.js.map +1 -1
  26. package/dist/lib/gateway/convert_exceptions.js +1 -0
  27. package/dist/lib/gateway/convert_exceptions.js.map +1 -1
  28. package/dist/lib/gcode/offline_translator.d.ts +2 -2
  29. package/dist/lib/gcode/offline_translator.js +2 -2
  30. package/dist/lib/gcode/offline_translator.js.map +1 -1
  31. package/dist/lib/gcode/translator.d.ts +1 -1
  32. package/dist/lib/gcode/translator.js +1 -1
  33. package/dist/lib/gcode/translator.js.map +1 -1
  34. package/dist/lib/protobufs/main_pb.d.ts +157 -58
  35. package/dist/lib/protobufs/main_pb.js +1155 -411
  36. package/dist/lib/protobufs/main_pb.js.map +1 -1
  37. package/package.json +3 -3
@@ -63,6 +63,7 @@ goog.exportSymbol('zaber.motion.protobufs.DeviceGetWarningsRequest', null, proto
63
63
  goog.exportSymbol('zaber.motion.protobufs.DeviceGetWarningsResponse', null, proto);
64
64
  goog.exportSymbol('zaber.motion.protobufs.DeviceHomeRequest', null, proto);
65
65
  goog.exportSymbol('zaber.motion.protobufs.DeviceIOInfo', null, proto);
66
+ goog.exportSymbol('zaber.motion.protobufs.DeviceIdentifyRequest', null, proto);
66
67
  goog.exportSymbol('zaber.motion.protobufs.DeviceIdentity', null, proto);
67
68
  goog.exportSymbol('zaber.motion.protobufs.DeviceMoveRequest', null, proto);
68
69
  goog.exportSymbol('zaber.motion.protobufs.DeviceMoveRequest.MoveType', null, proto);
@@ -84,6 +85,7 @@ goog.exportSymbol('zaber.motion.protobufs.DeviceStorageListKeysRequest', null, p
84
85
  goog.exportSymbol('zaber.motion.protobufs.DeviceStorageRequest', null, proto);
85
86
  goog.exportSymbol('zaber.motion.protobufs.DeviceWaitUntilIdleRequest', null, proto);
86
87
  goog.exportSymbol('zaber.motion.protobufs.DisconnectedEvent', null, proto);
88
+ goog.exportSymbol('zaber.motion.protobufs.DoubleArrayResponse', null, proto);
87
89
  goog.exportSymbol('zaber.motion.protobufs.DoubleResponse', null, proto);
88
90
  goog.exportSymbol('zaber.motion.protobufs.EmptyRequest', null, proto);
89
91
  goog.exportSymbol('zaber.motion.protobufs.Errors', null, proto);
@@ -107,13 +109,11 @@ goog.exportSymbol('zaber.motion.protobufs.LockstepDisableRequest', null, proto);
107
109
  goog.exportSymbol('zaber.motion.protobufs.LockstepEmptyRequest', null, proto);
108
110
  goog.exportSymbol('zaber.motion.protobufs.LockstepEnableRequest', null, proto);
109
111
  goog.exportSymbol('zaber.motion.protobufs.LockstepGetAxisNumbersResponse', null, proto);
110
- goog.exportSymbol('zaber.motion.protobufs.LockstepGetOffsetsRequest', null, proto);
111
- goog.exportSymbol('zaber.motion.protobufs.LockstepGetOffsetsResponse', null, proto);
112
- goog.exportSymbol('zaber.motion.protobufs.LockstepGetTwistsRequest', null, proto);
113
- goog.exportSymbol('zaber.motion.protobufs.LockstepGetTwistsResponse', null, proto);
112
+ goog.exportSymbol('zaber.motion.protobufs.LockstepGetRequest', null, proto);
114
113
  goog.exportSymbol('zaber.motion.protobufs.LockstepHomeRequest', null, proto);
115
114
  goog.exportSymbol('zaber.motion.protobufs.LockstepMoveRequest', null, proto);
116
115
  goog.exportSymbol('zaber.motion.protobufs.LockstepMoveRequest.MoveType', null, proto);
116
+ goog.exportSymbol('zaber.motion.protobufs.LockstepSetRequest', null, proto);
117
117
  goog.exportSymbol('zaber.motion.protobufs.LockstepStopRequest', null, proto);
118
118
  goog.exportSymbol('zaber.motion.protobufs.LockstepWaitUntilIdleRequest', null, proto);
119
119
  goog.exportSymbol('zaber.motion.protobufs.Measurement', null, proto);
@@ -222,6 +222,8 @@ goog.exportSymbol('zaber.motion.protobufs.TranslatorTranslateRequest', null, pro
222
222
  goog.exportSymbol('zaber.motion.protobufs.TranslatorTranslateResponse', null, proto);
223
223
  goog.exportSymbol('zaber.motion.protobufs.UnknownBinaryResponseEvent', null, proto);
224
224
  goog.exportSymbol('zaber.motion.protobufs.UnknownResponseEvent', null, proto);
225
+ goog.exportSymbol('zaber.motion.protobufs.WaitToClearWarningsRequest', null, proto);
226
+ goog.exportSymbol('zaber.motion.protobufs.WaitToRespondRequest', null, proto);
225
227
  /**
226
228
  * Generated by JsPbCodeGenerator.
227
229
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -348,6 +350,27 @@ if (goog.DEBUG && !COMPILED) {
348
350
  */
349
351
  proto.zaber.motion.protobufs.DoubleResponse.displayName = 'proto.zaber.motion.protobufs.DoubleResponse';
350
352
  }
353
+ /**
354
+ * Generated by JsPbCodeGenerator.
355
+ * @param {Array=} opt_data Optional initial data array, typically from a
356
+ * server response, or constructed directly in Javascript. The array is used
357
+ * in place and becomes part of the constructed object. It is not cloned.
358
+ * If no data is provided, the constructed object will be empty, but still
359
+ * valid.
360
+ * @extends {jspb.Message}
361
+ * @constructor
362
+ */
363
+ proto.zaber.motion.protobufs.DoubleArrayResponse = function(opt_data) {
364
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.DoubleArrayResponse.repeatedFields_, null);
365
+ };
366
+ goog.inherits(proto.zaber.motion.protobufs.DoubleArrayResponse, jspb.Message);
367
+ if (goog.DEBUG && !COMPILED) {
368
+ /**
369
+ * @public
370
+ * @override
371
+ */
372
+ proto.zaber.motion.protobufs.DoubleArrayResponse.displayName = 'proto.zaber.motion.protobufs.DoubleArrayResponse';
373
+ }
351
374
  /**
352
375
  * Generated by JsPbCodeGenerator.
353
376
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1251,6 +1274,27 @@ if (goog.DEBUG && !COMPILED) {
1251
1274
  */
1252
1275
  proto.zaber.motion.protobufs.DisconnectedEvent.displayName = 'proto.zaber.motion.protobufs.DisconnectedEvent';
1253
1276
  }
1277
+ /**
1278
+ * Generated by JsPbCodeGenerator.
1279
+ * @param {Array=} opt_data Optional initial data array, typically from a
1280
+ * server response, or constructed directly in Javascript. The array is used
1281
+ * in place and becomes part of the constructed object. It is not cloned.
1282
+ * If no data is provided, the constructed object will be empty, but still
1283
+ * valid.
1284
+ * @extends {jspb.Message}
1285
+ * @constructor
1286
+ */
1287
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest = function(opt_data) {
1288
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1289
+ };
1290
+ goog.inherits(proto.zaber.motion.protobufs.DeviceIdentifyRequest, jspb.Message);
1291
+ if (goog.DEBUG && !COMPILED) {
1292
+ /**
1293
+ * @public
1294
+ * @override
1295
+ */
1296
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest.displayName = 'proto.zaber.motion.protobufs.DeviceIdentifyRequest';
1297
+ }
1254
1298
  /**
1255
1299
  * Generated by JsPbCodeGenerator.
1256
1300
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1482,6 +1526,27 @@ if (goog.DEBUG && !COMPILED) {
1482
1526
  */
1483
1527
  proto.zaber.motion.protobufs.DeviceGetWarningsResponse.displayName = 'proto.zaber.motion.protobufs.DeviceGetWarningsResponse';
1484
1528
  }
1529
+ /**
1530
+ * Generated by JsPbCodeGenerator.
1531
+ * @param {Array=} opt_data Optional initial data array, typically from a
1532
+ * server response, or constructed directly in Javascript. The array is used
1533
+ * in place and becomes part of the constructed object. It is not cloned.
1534
+ * If no data is provided, the constructed object will be empty, but still
1535
+ * valid.
1536
+ * @extends {jspb.Message}
1537
+ * @constructor
1538
+ */
1539
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest = function(opt_data) {
1540
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.WaitToClearWarningsRequest.repeatedFields_, null);
1541
+ };
1542
+ goog.inherits(proto.zaber.motion.protobufs.WaitToClearWarningsRequest, jspb.Message);
1543
+ if (goog.DEBUG && !COMPILED) {
1544
+ /**
1545
+ * @public
1546
+ * @override
1547
+ */
1548
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.displayName = 'proto.zaber.motion.protobufs.WaitToClearWarningsRequest';
1549
+ }
1485
1550
  /**
1486
1551
  * Generated by JsPbCodeGenerator.
1487
1552
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1818,6 +1883,27 @@ if (goog.DEBUG && !COMPILED) {
1818
1883
  */
1819
1884
  proto.zaber.motion.protobufs.PrepareCommandRequest.displayName = 'proto.zaber.motion.protobufs.PrepareCommandRequest';
1820
1885
  }
1886
+ /**
1887
+ * Generated by JsPbCodeGenerator.
1888
+ * @param {Array=} opt_data Optional initial data array, typically from a
1889
+ * server response, or constructed directly in Javascript. The array is used
1890
+ * in place and becomes part of the constructed object. It is not cloned.
1891
+ * If no data is provided, the constructed object will be empty, but still
1892
+ * valid.
1893
+ * @extends {jspb.Message}
1894
+ * @constructor
1895
+ */
1896
+ proto.zaber.motion.protobufs.WaitToRespondRequest = function(opt_data) {
1897
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1898
+ };
1899
+ goog.inherits(proto.zaber.motion.protobufs.WaitToRespondRequest, jspb.Message);
1900
+ if (goog.DEBUG && !COMPILED) {
1901
+ /**
1902
+ * @public
1903
+ * @override
1904
+ */
1905
+ proto.zaber.motion.protobufs.WaitToRespondRequest.displayName = 'proto.zaber.motion.protobufs.WaitToRespondRequest';
1906
+ }
1821
1907
  /**
1822
1908
  * Generated by JsPbCodeGenerator.
1823
1909
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2017,16 +2103,16 @@ if (goog.DEBUG && !COMPILED) {
2017
2103
  * @extends {jspb.Message}
2018
2104
  * @constructor
2019
2105
  */
2020
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest = function(opt_data) {
2106
+ proto.zaber.motion.protobufs.LockstepGetRequest = function(opt_data) {
2021
2107
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2022
2108
  };
2023
- goog.inherits(proto.zaber.motion.protobufs.LockstepGetTwistsRequest, jspb.Message);
2109
+ goog.inherits(proto.zaber.motion.protobufs.LockstepGetRequest, jspb.Message);
2024
2110
  if (goog.DEBUG && !COMPILED) {
2025
2111
  /**
2026
2112
  * @public
2027
2113
  * @override
2028
2114
  */
2029
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest.displayName = 'proto.zaber.motion.protobufs.LockstepGetTwistsRequest';
2115
+ proto.zaber.motion.protobufs.LockstepGetRequest.displayName = 'proto.zaber.motion.protobufs.LockstepGetRequest';
2030
2116
  }
2031
2117
  /**
2032
2118
  * Generated by JsPbCodeGenerator.
@@ -2038,58 +2124,16 @@ if (goog.DEBUG && !COMPILED) {
2038
2124
  * @extends {jspb.Message}
2039
2125
  * @constructor
2040
2126
  */
2041
- proto.zaber.motion.protobufs.LockstepGetTwistsResponse = function(opt_data) {
2042
- jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.LockstepGetTwistsResponse.repeatedFields_, null);
2043
- };
2044
- goog.inherits(proto.zaber.motion.protobufs.LockstepGetTwistsResponse, jspb.Message);
2045
- if (goog.DEBUG && !COMPILED) {
2046
- /**
2047
- * @public
2048
- * @override
2049
- */
2050
- proto.zaber.motion.protobufs.LockstepGetTwistsResponse.displayName = 'proto.zaber.motion.protobufs.LockstepGetTwistsResponse';
2051
- }
2052
- /**
2053
- * Generated by JsPbCodeGenerator.
2054
- * @param {Array=} opt_data Optional initial data array, typically from a
2055
- * server response, or constructed directly in Javascript. The array is used
2056
- * in place and becomes part of the constructed object. It is not cloned.
2057
- * If no data is provided, the constructed object will be empty, but still
2058
- * valid.
2059
- * @extends {jspb.Message}
2060
- * @constructor
2061
- */
2062
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest = function(opt_data) {
2127
+ proto.zaber.motion.protobufs.LockstepSetRequest = function(opt_data) {
2063
2128
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2064
2129
  };
2065
- goog.inherits(proto.zaber.motion.protobufs.LockstepGetOffsetsRequest, jspb.Message);
2130
+ goog.inherits(proto.zaber.motion.protobufs.LockstepSetRequest, jspb.Message);
2066
2131
  if (goog.DEBUG && !COMPILED) {
2067
2132
  /**
2068
2133
  * @public
2069
2134
  * @override
2070
2135
  */
2071
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.displayName = 'proto.zaber.motion.protobufs.LockstepGetOffsetsRequest';
2072
- }
2073
- /**
2074
- * Generated by JsPbCodeGenerator.
2075
- * @param {Array=} opt_data Optional initial data array, typically from a
2076
- * server response, or constructed directly in Javascript. The array is used
2077
- * in place and becomes part of the constructed object. It is not cloned.
2078
- * If no data is provided, the constructed object will be empty, but still
2079
- * valid.
2080
- * @extends {jspb.Message}
2081
- * @constructor
2082
- */
2083
- proto.zaber.motion.protobufs.LockstepGetOffsetsResponse = function(opt_data) {
2084
- jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.repeatedFields_, null);
2085
- };
2086
- goog.inherits(proto.zaber.motion.protobufs.LockstepGetOffsetsResponse, jspb.Message);
2087
- if (goog.DEBUG && !COMPILED) {
2088
- /**
2089
- * @public
2090
- * @override
2091
- */
2092
- proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.displayName = 'proto.zaber.motion.protobufs.LockstepGetOffsetsResponse';
2136
+ proto.zaber.motion.protobufs.LockstepSetRequest.displayName = 'proto.zaber.motion.protobufs.LockstepSetRequest';
2093
2137
  }
2094
2138
  /**
2095
2139
  * Generated by JsPbCodeGenerator.
@@ -5137,6 +5181,164 @@ proto.zaber.motion.protobufs.DoubleResponse.prototype.setValue = function(value)
5137
5181
 
5138
5182
 
5139
5183
 
5184
+ /**
5185
+ * List of repeated fields within this message type.
5186
+ * @private {!Array<number>}
5187
+ * @const
5188
+ */
5189
+ proto.zaber.motion.protobufs.DoubleArrayResponse.repeatedFields_ = [1];
5190
+
5191
+
5192
+
5193
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5194
+ /**
5195
+ * Creates an object representation of this proto.
5196
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5197
+ * Optional fields that are not set will be set to undefined.
5198
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5199
+ * For the list of reserved names please see:
5200
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5201
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5202
+ * JSPB instance for transitional soy proto support:
5203
+ * http://goto/soy-param-migration
5204
+ * @return {!Object}
5205
+ */
5206
+ proto.zaber.motion.protobufs.DoubleArrayResponse.prototype.toObject = function(opt_includeInstance) {
5207
+ return proto.zaber.motion.protobufs.DoubleArrayResponse.toObject(opt_includeInstance, this);
5208
+ };
5209
+
5210
+
5211
+ /**
5212
+ * Static version of the {@see toObject} method.
5213
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5214
+ * the JSPB instance for transitional soy proto support:
5215
+ * http://goto/soy-param-migration
5216
+ * @param {!proto.zaber.motion.protobufs.DoubleArrayResponse} msg The msg instance to transform.
5217
+ * @return {!Object}
5218
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5219
+ */
5220
+ proto.zaber.motion.protobufs.DoubleArrayResponse.toObject = function(includeInstance, msg) {
5221
+ var f, obj = {
5222
+ valuesList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f
5223
+ };
5224
+
5225
+ if (includeInstance) {
5226
+ obj.$jspbMessageInstance = msg;
5227
+ }
5228
+ return obj;
5229
+ };
5230
+ }
5231
+
5232
+
5233
+ /**
5234
+ * Deserializes binary data (in protobuf wire format).
5235
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5236
+ * @return {!proto.zaber.motion.protobufs.DoubleArrayResponse}
5237
+ */
5238
+ proto.zaber.motion.protobufs.DoubleArrayResponse.deserializeBinary = function(bytes) {
5239
+ var reader = new jspb.BinaryReader(bytes);
5240
+ var msg = new proto.zaber.motion.protobufs.DoubleArrayResponse;
5241
+ return proto.zaber.motion.protobufs.DoubleArrayResponse.deserializeBinaryFromReader(msg, reader);
5242
+ };
5243
+
5244
+
5245
+ /**
5246
+ * Deserializes binary data (in protobuf wire format) from the
5247
+ * given reader into the given message object.
5248
+ * @param {!proto.zaber.motion.protobufs.DoubleArrayResponse} msg The message object to deserialize into.
5249
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5250
+ * @return {!proto.zaber.motion.protobufs.DoubleArrayResponse}
5251
+ */
5252
+ proto.zaber.motion.protobufs.DoubleArrayResponse.deserializeBinaryFromReader = function(msg, reader) {
5253
+ while (reader.nextField()) {
5254
+ if (reader.isEndGroup()) {
5255
+ break;
5256
+ }
5257
+ var field = reader.getFieldNumber();
5258
+ switch (field) {
5259
+ case 1:
5260
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedDouble() : [reader.readDouble()]);
5261
+ for (var i = 0; i < values.length; i++) {
5262
+ msg.addValues(values[i]);
5263
+ }
5264
+ break;
5265
+ default:
5266
+ reader.skipField();
5267
+ break;
5268
+ }
5269
+ }
5270
+ return msg;
5271
+ };
5272
+
5273
+
5274
+ /**
5275
+ * Serializes the message to binary data (in protobuf wire format).
5276
+ * @return {!Uint8Array}
5277
+ */
5278
+ proto.zaber.motion.protobufs.DoubleArrayResponse.prototype.serializeBinary = function() {
5279
+ var writer = new jspb.BinaryWriter();
5280
+ proto.zaber.motion.protobufs.DoubleArrayResponse.serializeBinaryToWriter(this, writer);
5281
+ return writer.getResultBuffer();
5282
+ };
5283
+
5284
+
5285
+ /**
5286
+ * Serializes the given message to binary data (in protobuf wire
5287
+ * format), writing to the given BinaryWriter.
5288
+ * @param {!proto.zaber.motion.protobufs.DoubleArrayResponse} message
5289
+ * @param {!jspb.BinaryWriter} writer
5290
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5291
+ */
5292
+ proto.zaber.motion.protobufs.DoubleArrayResponse.serializeBinaryToWriter = function(message, writer) {
5293
+ var f = undefined;
5294
+ f = message.getValuesList();
5295
+ if (f.length > 0) {
5296
+ writer.writePackedDouble(
5297
+ 1,
5298
+ f
5299
+ );
5300
+ }
5301
+ };
5302
+
5303
+
5304
+ /**
5305
+ * repeated double values = 1;
5306
+ * @return {!Array<number>}
5307
+ */
5308
+ proto.zaber.motion.protobufs.DoubleArrayResponse.prototype.getValuesList = function() {
5309
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedFloatingPointField(this, 1));
5310
+ };
5311
+
5312
+
5313
+ /**
5314
+ * @param {!Array<number>} value
5315
+ * @return {!proto.zaber.motion.protobufs.DoubleArrayResponse} returns this
5316
+ */
5317
+ proto.zaber.motion.protobufs.DoubleArrayResponse.prototype.setValuesList = function(value) {
5318
+ return jspb.Message.setField(this, 1, value || []);
5319
+ };
5320
+
5321
+
5322
+ /**
5323
+ * @param {number} value
5324
+ * @param {number=} opt_index
5325
+ * @return {!proto.zaber.motion.protobufs.DoubleArrayResponse} returns this
5326
+ */
5327
+ proto.zaber.motion.protobufs.DoubleArrayResponse.prototype.addValues = function(value, opt_index) {
5328
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
5329
+ };
5330
+
5331
+
5332
+ /**
5333
+ * Clears the list making it empty but non-null.
5334
+ * @return {!proto.zaber.motion.protobufs.DoubleArrayResponse} returns this
5335
+ */
5336
+ proto.zaber.motion.protobufs.DoubleArrayResponse.prototype.clearValuesList = function() {
5337
+ return this.setValuesList([]);
5338
+ };
5339
+
5340
+
5341
+
5140
5342
 
5141
5343
 
5142
5344
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -7230,7 +7432,9 @@ proto.zaber.motion.protobufs.MovementInterruptedExceptionData.prototype.toObject
7230
7432
  proto.zaber.motion.protobufs.MovementInterruptedExceptionData.toObject = function(includeInstance, msg) {
7231
7433
  var f, obj = {
7232
7434
  warningsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
7233
- reason: jspb.Message.getFieldWithDefault(msg, 2, "")
7435
+ reason: jspb.Message.getFieldWithDefault(msg, 2, ""),
7436
+ device: jspb.Message.getFieldWithDefault(msg, 3, 0),
7437
+ axis: jspb.Message.getFieldWithDefault(msg, 4, 0)
7234
7438
  };
7235
7439
 
7236
7440
  if (includeInstance) {
@@ -7275,6 +7479,14 @@ proto.zaber.motion.protobufs.MovementInterruptedExceptionData.deserializeBinaryF
7275
7479
  var value = /** @type {string} */ (reader.readString());
7276
7480
  msg.setReason(value);
7277
7481
  break;
7482
+ case 3:
7483
+ var value = /** @type {number} */ (reader.readInt32());
7484
+ msg.setDevice(value);
7485
+ break;
7486
+ case 4:
7487
+ var value = /** @type {number} */ (reader.readInt32());
7488
+ msg.setAxis(value);
7489
+ break;
7278
7490
  default:
7279
7491
  reader.skipField();
7280
7492
  break;
@@ -7318,6 +7530,20 @@ proto.zaber.motion.protobufs.MovementInterruptedExceptionData.serializeBinaryToW
7318
7530
  f
7319
7531
  );
7320
7532
  }
7533
+ f = message.getDevice();
7534
+ if (f !== 0) {
7535
+ writer.writeInt32(
7536
+ 3,
7537
+ f
7538
+ );
7539
+ }
7540
+ f = message.getAxis();
7541
+ if (f !== 0) {
7542
+ writer.writeInt32(
7543
+ 4,
7544
+ f
7545
+ );
7546
+ }
7321
7547
  };
7322
7548
 
7323
7549
 
@@ -7376,6 +7602,42 @@ proto.zaber.motion.protobufs.MovementInterruptedExceptionData.prototype.setReaso
7376
7602
  };
7377
7603
 
7378
7604
 
7605
+ /**
7606
+ * optional int32 device = 3;
7607
+ * @return {number}
7608
+ */
7609
+ proto.zaber.motion.protobufs.MovementInterruptedExceptionData.prototype.getDevice = function() {
7610
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
7611
+ };
7612
+
7613
+
7614
+ /**
7615
+ * @param {number} value
7616
+ * @return {!proto.zaber.motion.protobufs.MovementInterruptedExceptionData} returns this
7617
+ */
7618
+ proto.zaber.motion.protobufs.MovementInterruptedExceptionData.prototype.setDevice = function(value) {
7619
+ return jspb.Message.setProto3IntField(this, 3, value);
7620
+ };
7621
+
7622
+
7623
+ /**
7624
+ * optional int32 axis = 4;
7625
+ * @return {number}
7626
+ */
7627
+ proto.zaber.motion.protobufs.MovementInterruptedExceptionData.prototype.getAxis = function() {
7628
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
7629
+ };
7630
+
7631
+
7632
+ /**
7633
+ * @param {number} value
7634
+ * @return {!proto.zaber.motion.protobufs.MovementInterruptedExceptionData} returns this
7635
+ */
7636
+ proto.zaber.motion.protobufs.MovementInterruptedExceptionData.prototype.setAxis = function(value) {
7637
+ return jspb.Message.setProto3IntField(this, 4, value);
7638
+ };
7639
+
7640
+
7379
7641
 
7380
7642
  /**
7381
7643
  * List of repeated fields within this message type.
@@ -7602,7 +7864,9 @@ proto.zaber.motion.protobufs.MovementFailedExceptionData.prototype.toObject = fu
7602
7864
  proto.zaber.motion.protobufs.MovementFailedExceptionData.toObject = function(includeInstance, msg) {
7603
7865
  var f, obj = {
7604
7866
  warningsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
7605
- reason: jspb.Message.getFieldWithDefault(msg, 2, "")
7867
+ reason: jspb.Message.getFieldWithDefault(msg, 2, ""),
7868
+ device: jspb.Message.getFieldWithDefault(msg, 3, 0),
7869
+ axis: jspb.Message.getFieldWithDefault(msg, 4, 0)
7606
7870
  };
7607
7871
 
7608
7872
  if (includeInstance) {
@@ -7647,6 +7911,14 @@ proto.zaber.motion.protobufs.MovementFailedExceptionData.deserializeBinaryFromRe
7647
7911
  var value = /** @type {string} */ (reader.readString());
7648
7912
  msg.setReason(value);
7649
7913
  break;
7914
+ case 3:
7915
+ var value = /** @type {number} */ (reader.readInt32());
7916
+ msg.setDevice(value);
7917
+ break;
7918
+ case 4:
7919
+ var value = /** @type {number} */ (reader.readInt32());
7920
+ msg.setAxis(value);
7921
+ break;
7650
7922
  default:
7651
7923
  reader.skipField();
7652
7924
  break;
@@ -7690,6 +7962,20 @@ proto.zaber.motion.protobufs.MovementFailedExceptionData.serializeBinaryToWriter
7690
7962
  f
7691
7963
  );
7692
7964
  }
7965
+ f = message.getDevice();
7966
+ if (f !== 0) {
7967
+ writer.writeInt32(
7968
+ 3,
7969
+ f
7970
+ );
7971
+ }
7972
+ f = message.getAxis();
7973
+ if (f !== 0) {
7974
+ writer.writeInt32(
7975
+ 4,
7976
+ f
7977
+ );
7978
+ }
7693
7979
  };
7694
7980
 
7695
7981
 
@@ -7748,6 +8034,42 @@ proto.zaber.motion.protobufs.MovementFailedExceptionData.prototype.setReason = f
7748
8034
  };
7749
8035
 
7750
8036
 
8037
+ /**
8038
+ * optional int32 device = 3;
8039
+ * @return {number}
8040
+ */
8041
+ proto.zaber.motion.protobufs.MovementFailedExceptionData.prototype.getDevice = function() {
8042
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
8043
+ };
8044
+
8045
+
8046
+ /**
8047
+ * @param {number} value
8048
+ * @return {!proto.zaber.motion.protobufs.MovementFailedExceptionData} returns this
8049
+ */
8050
+ proto.zaber.motion.protobufs.MovementFailedExceptionData.prototype.setDevice = function(value) {
8051
+ return jspb.Message.setProto3IntField(this, 3, value);
8052
+ };
8053
+
8054
+
8055
+ /**
8056
+ * optional int32 axis = 4;
8057
+ * @return {number}
8058
+ */
8059
+ proto.zaber.motion.protobufs.MovementFailedExceptionData.prototype.getAxis = function() {
8060
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
8061
+ };
8062
+
8063
+
8064
+ /**
8065
+ * @param {number} value
8066
+ * @return {!proto.zaber.motion.protobufs.MovementFailedExceptionData} returns this
8067
+ */
8068
+ proto.zaber.motion.protobufs.MovementFailedExceptionData.prototype.setAxis = function(value) {
8069
+ return jspb.Message.setProto3IntField(this, 4, value);
8070
+ };
8071
+
8072
+
7751
8073
 
7752
8074
  /**
7753
8075
  * List of repeated fields within this message type.
@@ -13678,6 +14000,217 @@ proto.zaber.motion.protobufs.DisconnectedEvent.prototype.setErrorMessage = funct
13678
14000
 
13679
14001
 
13680
14002
 
14003
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14004
+ /**
14005
+ * Creates an object representation of this proto.
14006
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14007
+ * Optional fields that are not set will be set to undefined.
14008
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14009
+ * For the list of reserved names please see:
14010
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14011
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14012
+ * JSPB instance for transitional soy proto support:
14013
+ * http://goto/soy-param-migration
14014
+ * @return {!Object}
14015
+ */
14016
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest.prototype.toObject = function(opt_includeInstance) {
14017
+ return proto.zaber.motion.protobufs.DeviceIdentifyRequest.toObject(opt_includeInstance, this);
14018
+ };
14019
+
14020
+
14021
+ /**
14022
+ * Static version of the {@see toObject} method.
14023
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14024
+ * the JSPB instance for transitional soy proto support:
14025
+ * http://goto/soy-param-migration
14026
+ * @param {!proto.zaber.motion.protobufs.DeviceIdentifyRequest} msg The msg instance to transform.
14027
+ * @return {!Object}
14028
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14029
+ */
14030
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest.toObject = function(includeInstance, msg) {
14031
+ var f, obj = {
14032
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
14033
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
14034
+ assumeVersion: (f = msg.getAssumeVersion()) && proto.zaber.motion.protobufs.FirmwareVersion.toObject(includeInstance, f)
14035
+ };
14036
+
14037
+ if (includeInstance) {
14038
+ obj.$jspbMessageInstance = msg;
14039
+ }
14040
+ return obj;
14041
+ };
14042
+ }
14043
+
14044
+
14045
+ /**
14046
+ * Deserializes binary data (in protobuf wire format).
14047
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14048
+ * @return {!proto.zaber.motion.protobufs.DeviceIdentifyRequest}
14049
+ */
14050
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest.deserializeBinary = function(bytes) {
14051
+ var reader = new jspb.BinaryReader(bytes);
14052
+ var msg = new proto.zaber.motion.protobufs.DeviceIdentifyRequest;
14053
+ return proto.zaber.motion.protobufs.DeviceIdentifyRequest.deserializeBinaryFromReader(msg, reader);
14054
+ };
14055
+
14056
+
14057
+ /**
14058
+ * Deserializes binary data (in protobuf wire format) from the
14059
+ * given reader into the given message object.
14060
+ * @param {!proto.zaber.motion.protobufs.DeviceIdentifyRequest} msg The message object to deserialize into.
14061
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14062
+ * @return {!proto.zaber.motion.protobufs.DeviceIdentifyRequest}
14063
+ */
14064
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest.deserializeBinaryFromReader = function(msg, reader) {
14065
+ while (reader.nextField()) {
14066
+ if (reader.isEndGroup()) {
14067
+ break;
14068
+ }
14069
+ var field = reader.getFieldNumber();
14070
+ switch (field) {
14071
+ case 1:
14072
+ var value = /** @type {number} */ (reader.readInt32());
14073
+ msg.setInterfaceId(value);
14074
+ break;
14075
+ case 2:
14076
+ var value = /** @type {number} */ (reader.readInt32());
14077
+ msg.setDevice(value);
14078
+ break;
14079
+ case 3:
14080
+ var value = new proto.zaber.motion.protobufs.FirmwareVersion;
14081
+ reader.readMessage(value,proto.zaber.motion.protobufs.FirmwareVersion.deserializeBinaryFromReader);
14082
+ msg.setAssumeVersion(value);
14083
+ break;
14084
+ default:
14085
+ reader.skipField();
14086
+ break;
14087
+ }
14088
+ }
14089
+ return msg;
14090
+ };
14091
+
14092
+
14093
+ /**
14094
+ * Serializes the message to binary data (in protobuf wire format).
14095
+ * @return {!Uint8Array}
14096
+ */
14097
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest.prototype.serializeBinary = function() {
14098
+ var writer = new jspb.BinaryWriter();
14099
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest.serializeBinaryToWriter(this, writer);
14100
+ return writer.getResultBuffer();
14101
+ };
14102
+
14103
+
14104
+ /**
14105
+ * Serializes the given message to binary data (in protobuf wire
14106
+ * format), writing to the given BinaryWriter.
14107
+ * @param {!proto.zaber.motion.protobufs.DeviceIdentifyRequest} message
14108
+ * @param {!jspb.BinaryWriter} writer
14109
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14110
+ */
14111
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest.serializeBinaryToWriter = function(message, writer) {
14112
+ var f = undefined;
14113
+ f = message.getInterfaceId();
14114
+ if (f !== 0) {
14115
+ writer.writeInt32(
14116
+ 1,
14117
+ f
14118
+ );
14119
+ }
14120
+ f = message.getDevice();
14121
+ if (f !== 0) {
14122
+ writer.writeInt32(
14123
+ 2,
14124
+ f
14125
+ );
14126
+ }
14127
+ f = message.getAssumeVersion();
14128
+ if (f != null) {
14129
+ writer.writeMessage(
14130
+ 3,
14131
+ f,
14132
+ proto.zaber.motion.protobufs.FirmwareVersion.serializeBinaryToWriter
14133
+ );
14134
+ }
14135
+ };
14136
+
14137
+
14138
+ /**
14139
+ * optional int32 interface_id = 1;
14140
+ * @return {number}
14141
+ */
14142
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest.prototype.getInterfaceId = function() {
14143
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
14144
+ };
14145
+
14146
+
14147
+ /**
14148
+ * @param {number} value
14149
+ * @return {!proto.zaber.motion.protobufs.DeviceIdentifyRequest} returns this
14150
+ */
14151
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest.prototype.setInterfaceId = function(value) {
14152
+ return jspb.Message.setProto3IntField(this, 1, value);
14153
+ };
14154
+
14155
+
14156
+ /**
14157
+ * optional int32 device = 2;
14158
+ * @return {number}
14159
+ */
14160
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest.prototype.getDevice = function() {
14161
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
14162
+ };
14163
+
14164
+
14165
+ /**
14166
+ * @param {number} value
14167
+ * @return {!proto.zaber.motion.protobufs.DeviceIdentifyRequest} returns this
14168
+ */
14169
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest.prototype.setDevice = function(value) {
14170
+ return jspb.Message.setProto3IntField(this, 2, value);
14171
+ };
14172
+
14173
+
14174
+ /**
14175
+ * optional FirmwareVersion assume_version = 3;
14176
+ * @return {?proto.zaber.motion.protobufs.FirmwareVersion}
14177
+ */
14178
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest.prototype.getAssumeVersion = function() {
14179
+ return /** @type{?proto.zaber.motion.protobufs.FirmwareVersion} */ (
14180
+ jspb.Message.getWrapperField(this, proto.zaber.motion.protobufs.FirmwareVersion, 3));
14181
+ };
14182
+
14183
+
14184
+ /**
14185
+ * @param {?proto.zaber.motion.protobufs.FirmwareVersion|undefined} value
14186
+ * @return {!proto.zaber.motion.protobufs.DeviceIdentifyRequest} returns this
14187
+ */
14188
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest.prototype.setAssumeVersion = function(value) {
14189
+ return jspb.Message.setWrapperField(this, 3, value);
14190
+ };
14191
+
14192
+
14193
+ /**
14194
+ * Clears the message field making it undefined.
14195
+ * @return {!proto.zaber.motion.protobufs.DeviceIdentifyRequest} returns this
14196
+ */
14197
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest.prototype.clearAssumeVersion = function() {
14198
+ return this.setAssumeVersion(undefined);
14199
+ };
14200
+
14201
+
14202
+ /**
14203
+ * Returns whether this field is set.
14204
+ * @return {boolean}
14205
+ */
14206
+ proto.zaber.motion.protobufs.DeviceIdentifyRequest.prototype.hasAssumeVersion = function() {
14207
+ return jspb.Message.getField(this, 3) != null;
14208
+ };
14209
+
14210
+
14211
+
14212
+
14213
+
13681
14214
  if (jspb.Message.GENERATE_TO_OBJECT) {
13682
14215
  /**
13683
14216
  * Creates an object representation of this proto.
@@ -15949,6 +16482,282 @@ proto.zaber.motion.protobufs.DeviceGetWarningsResponse.prototype.clearFlagsList
15949
16482
 
15950
16483
 
15951
16484
 
16485
+ /**
16486
+ * List of repeated fields within this message type.
16487
+ * @private {!Array<number>}
16488
+ * @const
16489
+ */
16490
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.repeatedFields_ = [5];
16491
+
16492
+
16493
+
16494
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16495
+ /**
16496
+ * Creates an object representation of this proto.
16497
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16498
+ * Optional fields that are not set will be set to undefined.
16499
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16500
+ * For the list of reserved names please see:
16501
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16502
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16503
+ * JSPB instance for transitional soy proto support:
16504
+ * http://goto/soy-param-migration
16505
+ * @return {!Object}
16506
+ */
16507
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.toObject = function(opt_includeInstance) {
16508
+ return proto.zaber.motion.protobufs.WaitToClearWarningsRequest.toObject(opt_includeInstance, this);
16509
+ };
16510
+
16511
+
16512
+ /**
16513
+ * Static version of the {@see toObject} method.
16514
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16515
+ * the JSPB instance for transitional soy proto support:
16516
+ * http://goto/soy-param-migration
16517
+ * @param {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} msg The msg instance to transform.
16518
+ * @return {!Object}
16519
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16520
+ */
16521
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.toObject = function(includeInstance, msg) {
16522
+ var f, obj = {
16523
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
16524
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
16525
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
16526
+ timeout: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
16527
+ warningFlagsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
16528
+ };
16529
+
16530
+ if (includeInstance) {
16531
+ obj.$jspbMessageInstance = msg;
16532
+ }
16533
+ return obj;
16534
+ };
16535
+ }
16536
+
16537
+
16538
+ /**
16539
+ * Deserializes binary data (in protobuf wire format).
16540
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16541
+ * @return {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest}
16542
+ */
16543
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.deserializeBinary = function(bytes) {
16544
+ var reader = new jspb.BinaryReader(bytes);
16545
+ var msg = new proto.zaber.motion.protobufs.WaitToClearWarningsRequest;
16546
+ return proto.zaber.motion.protobufs.WaitToClearWarningsRequest.deserializeBinaryFromReader(msg, reader);
16547
+ };
16548
+
16549
+
16550
+ /**
16551
+ * Deserializes binary data (in protobuf wire format) from the
16552
+ * given reader into the given message object.
16553
+ * @param {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} msg The message object to deserialize into.
16554
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16555
+ * @return {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest}
16556
+ */
16557
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.deserializeBinaryFromReader = function(msg, reader) {
16558
+ while (reader.nextField()) {
16559
+ if (reader.isEndGroup()) {
16560
+ break;
16561
+ }
16562
+ var field = reader.getFieldNumber();
16563
+ switch (field) {
16564
+ case 1:
16565
+ var value = /** @type {number} */ (reader.readInt32());
16566
+ msg.setInterfaceId(value);
16567
+ break;
16568
+ case 2:
16569
+ var value = /** @type {number} */ (reader.readInt32());
16570
+ msg.setDevice(value);
16571
+ break;
16572
+ case 3:
16573
+ var value = /** @type {number} */ (reader.readInt32());
16574
+ msg.setAxis(value);
16575
+ break;
16576
+ case 4:
16577
+ var value = /** @type {number} */ (reader.readDouble());
16578
+ msg.setTimeout(value);
16579
+ break;
16580
+ case 5:
16581
+ var value = /** @type {string} */ (reader.readString());
16582
+ msg.addWarningFlags(value);
16583
+ break;
16584
+ default:
16585
+ reader.skipField();
16586
+ break;
16587
+ }
16588
+ }
16589
+ return msg;
16590
+ };
16591
+
16592
+
16593
+ /**
16594
+ * Serializes the message to binary data (in protobuf wire format).
16595
+ * @return {!Uint8Array}
16596
+ */
16597
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.serializeBinary = function() {
16598
+ var writer = new jspb.BinaryWriter();
16599
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.serializeBinaryToWriter(this, writer);
16600
+ return writer.getResultBuffer();
16601
+ };
16602
+
16603
+
16604
+ /**
16605
+ * Serializes the given message to binary data (in protobuf wire
16606
+ * format), writing to the given BinaryWriter.
16607
+ * @param {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} message
16608
+ * @param {!jspb.BinaryWriter} writer
16609
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16610
+ */
16611
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.serializeBinaryToWriter = function(message, writer) {
16612
+ var f = undefined;
16613
+ f = message.getInterfaceId();
16614
+ if (f !== 0) {
16615
+ writer.writeInt32(
16616
+ 1,
16617
+ f
16618
+ );
16619
+ }
16620
+ f = message.getDevice();
16621
+ if (f !== 0) {
16622
+ writer.writeInt32(
16623
+ 2,
16624
+ f
16625
+ );
16626
+ }
16627
+ f = message.getAxis();
16628
+ if (f !== 0) {
16629
+ writer.writeInt32(
16630
+ 3,
16631
+ f
16632
+ );
16633
+ }
16634
+ f = message.getTimeout();
16635
+ if (f !== 0.0) {
16636
+ writer.writeDouble(
16637
+ 4,
16638
+ f
16639
+ );
16640
+ }
16641
+ f = message.getWarningFlagsList();
16642
+ if (f.length > 0) {
16643
+ writer.writeRepeatedString(
16644
+ 5,
16645
+ f
16646
+ );
16647
+ }
16648
+ };
16649
+
16650
+
16651
+ /**
16652
+ * optional int32 interface_id = 1;
16653
+ * @return {number}
16654
+ */
16655
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.getInterfaceId = function() {
16656
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
16657
+ };
16658
+
16659
+
16660
+ /**
16661
+ * @param {number} value
16662
+ * @return {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} returns this
16663
+ */
16664
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.setInterfaceId = function(value) {
16665
+ return jspb.Message.setProto3IntField(this, 1, value);
16666
+ };
16667
+
16668
+
16669
+ /**
16670
+ * optional int32 device = 2;
16671
+ * @return {number}
16672
+ */
16673
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.getDevice = function() {
16674
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
16675
+ };
16676
+
16677
+
16678
+ /**
16679
+ * @param {number} value
16680
+ * @return {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} returns this
16681
+ */
16682
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.setDevice = function(value) {
16683
+ return jspb.Message.setProto3IntField(this, 2, value);
16684
+ };
16685
+
16686
+
16687
+ /**
16688
+ * optional int32 axis = 3;
16689
+ * @return {number}
16690
+ */
16691
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.getAxis = function() {
16692
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
16693
+ };
16694
+
16695
+
16696
+ /**
16697
+ * @param {number} value
16698
+ * @return {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} returns this
16699
+ */
16700
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.setAxis = function(value) {
16701
+ return jspb.Message.setProto3IntField(this, 3, value);
16702
+ };
16703
+
16704
+
16705
+ /**
16706
+ * optional double timeout = 4;
16707
+ * @return {number}
16708
+ */
16709
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.getTimeout = function() {
16710
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
16711
+ };
16712
+
16713
+
16714
+ /**
16715
+ * @param {number} value
16716
+ * @return {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} returns this
16717
+ */
16718
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.setTimeout = function(value) {
16719
+ return jspb.Message.setProto3FloatField(this, 4, value);
16720
+ };
16721
+
16722
+
16723
+ /**
16724
+ * repeated string warning_flags = 5;
16725
+ * @return {!Array<string>}
16726
+ */
16727
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.getWarningFlagsList = function() {
16728
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
16729
+ };
16730
+
16731
+
16732
+ /**
16733
+ * @param {!Array<string>} value
16734
+ * @return {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} returns this
16735
+ */
16736
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.setWarningFlagsList = function(value) {
16737
+ return jspb.Message.setField(this, 5, value || []);
16738
+ };
16739
+
16740
+
16741
+ /**
16742
+ * @param {string} value
16743
+ * @param {number=} opt_index
16744
+ * @return {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} returns this
16745
+ */
16746
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.addWarningFlags = function(value, opt_index) {
16747
+ return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
16748
+ };
16749
+
16750
+
16751
+ /**
16752
+ * Clears the list making it empty but non-null.
16753
+ * @return {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} returns this
16754
+ */
16755
+ proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.clearWarningFlagsList = function() {
16756
+ return this.setWarningFlagsList([]);
16757
+ };
16758
+
16759
+
16760
+
15952
16761
 
15953
16762
 
15954
16763
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -19491,6 +20300,196 @@ proto.zaber.motion.protobufs.PrepareCommandRequest.prototype.clearParametersList
19491
20300
 
19492
20301
 
19493
20302
 
20303
+
20304
+
20305
+ if (jspb.Message.GENERATE_TO_OBJECT) {
20306
+ /**
20307
+ * Creates an object representation of this proto.
20308
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
20309
+ * Optional fields that are not set will be set to undefined.
20310
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
20311
+ * For the list of reserved names please see:
20312
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
20313
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
20314
+ * JSPB instance for transitional soy proto support:
20315
+ * http://goto/soy-param-migration
20316
+ * @return {!Object}
20317
+ */
20318
+ proto.zaber.motion.protobufs.WaitToRespondRequest.prototype.toObject = function(opt_includeInstance) {
20319
+ return proto.zaber.motion.protobufs.WaitToRespondRequest.toObject(opt_includeInstance, this);
20320
+ };
20321
+
20322
+
20323
+ /**
20324
+ * Static version of the {@see toObject} method.
20325
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
20326
+ * the JSPB instance for transitional soy proto support:
20327
+ * http://goto/soy-param-migration
20328
+ * @param {!proto.zaber.motion.protobufs.WaitToRespondRequest} msg The msg instance to transform.
20329
+ * @return {!Object}
20330
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20331
+ */
20332
+ proto.zaber.motion.protobufs.WaitToRespondRequest.toObject = function(includeInstance, msg) {
20333
+ var f, obj = {
20334
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
20335
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
20336
+ timeout: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0)
20337
+ };
20338
+
20339
+ if (includeInstance) {
20340
+ obj.$jspbMessageInstance = msg;
20341
+ }
20342
+ return obj;
20343
+ };
20344
+ }
20345
+
20346
+
20347
+ /**
20348
+ * Deserializes binary data (in protobuf wire format).
20349
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
20350
+ * @return {!proto.zaber.motion.protobufs.WaitToRespondRequest}
20351
+ */
20352
+ proto.zaber.motion.protobufs.WaitToRespondRequest.deserializeBinary = function(bytes) {
20353
+ var reader = new jspb.BinaryReader(bytes);
20354
+ var msg = new proto.zaber.motion.protobufs.WaitToRespondRequest;
20355
+ return proto.zaber.motion.protobufs.WaitToRespondRequest.deserializeBinaryFromReader(msg, reader);
20356
+ };
20357
+
20358
+
20359
+ /**
20360
+ * Deserializes binary data (in protobuf wire format) from the
20361
+ * given reader into the given message object.
20362
+ * @param {!proto.zaber.motion.protobufs.WaitToRespondRequest} msg The message object to deserialize into.
20363
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
20364
+ * @return {!proto.zaber.motion.protobufs.WaitToRespondRequest}
20365
+ */
20366
+ proto.zaber.motion.protobufs.WaitToRespondRequest.deserializeBinaryFromReader = function(msg, reader) {
20367
+ while (reader.nextField()) {
20368
+ if (reader.isEndGroup()) {
20369
+ break;
20370
+ }
20371
+ var field = reader.getFieldNumber();
20372
+ switch (field) {
20373
+ case 1:
20374
+ var value = /** @type {number} */ (reader.readInt32());
20375
+ msg.setInterfaceId(value);
20376
+ break;
20377
+ case 2:
20378
+ var value = /** @type {number} */ (reader.readInt32());
20379
+ msg.setDevice(value);
20380
+ break;
20381
+ case 3:
20382
+ var value = /** @type {number} */ (reader.readDouble());
20383
+ msg.setTimeout(value);
20384
+ break;
20385
+ default:
20386
+ reader.skipField();
20387
+ break;
20388
+ }
20389
+ }
20390
+ return msg;
20391
+ };
20392
+
20393
+
20394
+ /**
20395
+ * Serializes the message to binary data (in protobuf wire format).
20396
+ * @return {!Uint8Array}
20397
+ */
20398
+ proto.zaber.motion.protobufs.WaitToRespondRequest.prototype.serializeBinary = function() {
20399
+ var writer = new jspb.BinaryWriter();
20400
+ proto.zaber.motion.protobufs.WaitToRespondRequest.serializeBinaryToWriter(this, writer);
20401
+ return writer.getResultBuffer();
20402
+ };
20403
+
20404
+
20405
+ /**
20406
+ * Serializes the given message to binary data (in protobuf wire
20407
+ * format), writing to the given BinaryWriter.
20408
+ * @param {!proto.zaber.motion.protobufs.WaitToRespondRequest} message
20409
+ * @param {!jspb.BinaryWriter} writer
20410
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20411
+ */
20412
+ proto.zaber.motion.protobufs.WaitToRespondRequest.serializeBinaryToWriter = function(message, writer) {
20413
+ var f = undefined;
20414
+ f = message.getInterfaceId();
20415
+ if (f !== 0) {
20416
+ writer.writeInt32(
20417
+ 1,
20418
+ f
20419
+ );
20420
+ }
20421
+ f = message.getDevice();
20422
+ if (f !== 0) {
20423
+ writer.writeInt32(
20424
+ 2,
20425
+ f
20426
+ );
20427
+ }
20428
+ f = message.getTimeout();
20429
+ if (f !== 0.0) {
20430
+ writer.writeDouble(
20431
+ 3,
20432
+ f
20433
+ );
20434
+ }
20435
+ };
20436
+
20437
+
20438
+ /**
20439
+ * optional int32 interface_id = 1;
20440
+ * @return {number}
20441
+ */
20442
+ proto.zaber.motion.protobufs.WaitToRespondRequest.prototype.getInterfaceId = function() {
20443
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
20444
+ };
20445
+
20446
+
20447
+ /**
20448
+ * @param {number} value
20449
+ * @return {!proto.zaber.motion.protobufs.WaitToRespondRequest} returns this
20450
+ */
20451
+ proto.zaber.motion.protobufs.WaitToRespondRequest.prototype.setInterfaceId = function(value) {
20452
+ return jspb.Message.setProto3IntField(this, 1, value);
20453
+ };
20454
+
20455
+
20456
+ /**
20457
+ * optional int32 device = 2;
20458
+ * @return {number}
20459
+ */
20460
+ proto.zaber.motion.protobufs.WaitToRespondRequest.prototype.getDevice = function() {
20461
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
20462
+ };
20463
+
20464
+
20465
+ /**
20466
+ * @param {number} value
20467
+ * @return {!proto.zaber.motion.protobufs.WaitToRespondRequest} returns this
20468
+ */
20469
+ proto.zaber.motion.protobufs.WaitToRespondRequest.prototype.setDevice = function(value) {
20470
+ return jspb.Message.setProto3IntField(this, 2, value);
20471
+ };
20472
+
20473
+
20474
+ /**
20475
+ * optional double timeout = 3;
20476
+ * @return {number}
20477
+ */
20478
+ proto.zaber.motion.protobufs.WaitToRespondRequest.prototype.getTimeout = function() {
20479
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
20480
+ };
20481
+
20482
+
20483
+ /**
20484
+ * @param {number} value
20485
+ * @return {!proto.zaber.motion.protobufs.WaitToRespondRequest} returns this
20486
+ */
20487
+ proto.zaber.motion.protobufs.WaitToRespondRequest.prototype.setTimeout = function(value) {
20488
+ return jspb.Message.setProto3FloatField(this, 3, value);
20489
+ };
20490
+
20491
+
20492
+
19494
20493
  /**
19495
20494
  * List of repeated fields within this message type.
19496
20495
  * @private {!Array<number>}
@@ -21643,8 +22642,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
21643
22642
  * http://goto/soy-param-migration
21644
22643
  * @return {!Object}
21645
22644
  */
21646
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.toObject = function(opt_includeInstance) {
21647
- return proto.zaber.motion.protobufs.LockstepGetTwistsRequest.toObject(opt_includeInstance, this);
22645
+ proto.zaber.motion.protobufs.LockstepGetRequest.prototype.toObject = function(opt_includeInstance) {
22646
+ return proto.zaber.motion.protobufs.LockstepGetRequest.toObject(opt_includeInstance, this);
21648
22647
  };
21649
22648
 
21650
22649
 
@@ -21653,11 +22652,11 @@ proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.toObject = funct
21653
22652
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
21654
22653
  * the JSPB instance for transitional soy proto support:
21655
22654
  * http://goto/soy-param-migration
21656
- * @param {!proto.zaber.motion.protobufs.LockstepGetTwistsRequest} msg The msg instance to transform.
22655
+ * @param {!proto.zaber.motion.protobufs.LockstepGetRequest} msg The msg instance to transform.
21657
22656
  * @return {!Object}
21658
22657
  * @suppress {unusedLocalVariables} f is only used for nested messages
21659
22658
  */
21660
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest.toObject = function(includeInstance, msg) {
22659
+ proto.zaber.motion.protobufs.LockstepGetRequest.toObject = function(includeInstance, msg) {
21661
22660
  var f, obj = {
21662
22661
  interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
21663
22662
  device: jspb.Message.getFieldWithDefault(msg, 2, 0),
@@ -21676,23 +22675,23 @@ proto.zaber.motion.protobufs.LockstepGetTwistsRequest.toObject = function(includ
21676
22675
  /**
21677
22676
  * Deserializes binary data (in protobuf wire format).
21678
22677
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
21679
- * @return {!proto.zaber.motion.protobufs.LockstepGetTwistsRequest}
22678
+ * @return {!proto.zaber.motion.protobufs.LockstepGetRequest}
21680
22679
  */
21681
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest.deserializeBinary = function(bytes) {
22680
+ proto.zaber.motion.protobufs.LockstepGetRequest.deserializeBinary = function(bytes) {
21682
22681
  var reader = new jspb.BinaryReader(bytes);
21683
- var msg = new proto.zaber.motion.protobufs.LockstepGetTwistsRequest;
21684
- return proto.zaber.motion.protobufs.LockstepGetTwistsRequest.deserializeBinaryFromReader(msg, reader);
22682
+ var msg = new proto.zaber.motion.protobufs.LockstepGetRequest;
22683
+ return proto.zaber.motion.protobufs.LockstepGetRequest.deserializeBinaryFromReader(msg, reader);
21685
22684
  };
21686
22685
 
21687
22686
 
21688
22687
  /**
21689
22688
  * Deserializes binary data (in protobuf wire format) from the
21690
22689
  * given reader into the given message object.
21691
- * @param {!proto.zaber.motion.protobufs.LockstepGetTwistsRequest} msg The message object to deserialize into.
22690
+ * @param {!proto.zaber.motion.protobufs.LockstepGetRequest} msg The message object to deserialize into.
21692
22691
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
21693
- * @return {!proto.zaber.motion.protobufs.LockstepGetTwistsRequest}
22692
+ * @return {!proto.zaber.motion.protobufs.LockstepGetRequest}
21694
22693
  */
21695
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest.deserializeBinaryFromReader = function(msg, reader) {
22694
+ proto.zaber.motion.protobufs.LockstepGetRequest.deserializeBinaryFromReader = function(msg, reader) {
21696
22695
  while (reader.nextField()) {
21697
22696
  if (reader.isEndGroup()) {
21698
22697
  break;
@@ -21728,9 +22727,9 @@ proto.zaber.motion.protobufs.LockstepGetTwistsRequest.deserializeBinaryFromReade
21728
22727
  * Serializes the message to binary data (in protobuf wire format).
21729
22728
  * @return {!Uint8Array}
21730
22729
  */
21731
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.serializeBinary = function() {
22730
+ proto.zaber.motion.protobufs.LockstepGetRequest.prototype.serializeBinary = function() {
21732
22731
  var writer = new jspb.BinaryWriter();
21733
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest.serializeBinaryToWriter(this, writer);
22732
+ proto.zaber.motion.protobufs.LockstepGetRequest.serializeBinaryToWriter(this, writer);
21734
22733
  return writer.getResultBuffer();
21735
22734
  };
21736
22735
 
@@ -21738,11 +22737,11 @@ proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.serializeBinary
21738
22737
  /**
21739
22738
  * Serializes the given message to binary data (in protobuf wire
21740
22739
  * format), writing to the given BinaryWriter.
21741
- * @param {!proto.zaber.motion.protobufs.LockstepGetTwistsRequest} message
22740
+ * @param {!proto.zaber.motion.protobufs.LockstepGetRequest} message
21742
22741
  * @param {!jspb.BinaryWriter} writer
21743
22742
  * @suppress {unusedLocalVariables} f is only used for nested messages
21744
22743
  */
21745
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest.serializeBinaryToWriter = function(message, writer) {
22744
+ proto.zaber.motion.protobufs.LockstepGetRequest.serializeBinaryToWriter = function(message, writer) {
21746
22745
  var f = undefined;
21747
22746
  f = message.getInterfaceId();
21748
22747
  if (f !== 0) {
@@ -21779,16 +22778,16 @@ proto.zaber.motion.protobufs.LockstepGetTwistsRequest.serializeBinaryToWriter =
21779
22778
  * optional int32 interface_id = 1;
21780
22779
  * @return {number}
21781
22780
  */
21782
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.getInterfaceId = function() {
22781
+ proto.zaber.motion.protobufs.LockstepGetRequest.prototype.getInterfaceId = function() {
21783
22782
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
21784
22783
  };
21785
22784
 
21786
22785
 
21787
22786
  /**
21788
22787
  * @param {number} value
21789
- * @return {!proto.zaber.motion.protobufs.LockstepGetTwistsRequest} returns this
22788
+ * @return {!proto.zaber.motion.protobufs.LockstepGetRequest} returns this
21790
22789
  */
21791
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.setInterfaceId = function(value) {
22790
+ proto.zaber.motion.protobufs.LockstepGetRequest.prototype.setInterfaceId = function(value) {
21792
22791
  return jspb.Message.setProto3IntField(this, 1, value);
21793
22792
  };
21794
22793
 
@@ -21797,16 +22796,16 @@ proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.setInterfaceId =
21797
22796
  * optional int32 device = 2;
21798
22797
  * @return {number}
21799
22798
  */
21800
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.getDevice = function() {
22799
+ proto.zaber.motion.protobufs.LockstepGetRequest.prototype.getDevice = function() {
21801
22800
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
21802
22801
  };
21803
22802
 
21804
22803
 
21805
22804
  /**
21806
22805
  * @param {number} value
21807
- * @return {!proto.zaber.motion.protobufs.LockstepGetTwistsRequest} returns this
22806
+ * @return {!proto.zaber.motion.protobufs.LockstepGetRequest} returns this
21808
22807
  */
21809
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.setDevice = function(value) {
22808
+ proto.zaber.motion.protobufs.LockstepGetRequest.prototype.setDevice = function(value) {
21810
22809
  return jspb.Message.setProto3IntField(this, 2, value);
21811
22810
  };
21812
22811
 
@@ -21815,16 +22814,16 @@ proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.setDevice = func
21815
22814
  * optional int32 lockstep_group_id = 3;
21816
22815
  * @return {number}
21817
22816
  */
21818
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.getLockstepGroupId = function() {
22817
+ proto.zaber.motion.protobufs.LockstepGetRequest.prototype.getLockstepGroupId = function() {
21819
22818
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
21820
22819
  };
21821
22820
 
21822
22821
 
21823
22822
  /**
21824
22823
  * @param {number} value
21825
- * @return {!proto.zaber.motion.protobufs.LockstepGetTwistsRequest} returns this
22824
+ * @return {!proto.zaber.motion.protobufs.LockstepGetRequest} returns this
21826
22825
  */
21827
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.setLockstepGroupId = function(value) {
22826
+ proto.zaber.motion.protobufs.LockstepGetRequest.prototype.setLockstepGroupId = function(value) {
21828
22827
  return jspb.Message.setProto3IntField(this, 3, value);
21829
22828
  };
21830
22829
 
@@ -21833,179 +22832,21 @@ proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.setLockstepGroup
21833
22832
  * optional string unit = 4;
21834
22833
  * @return {string}
21835
22834
  */
21836
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.getUnit = function() {
22835
+ proto.zaber.motion.protobufs.LockstepGetRequest.prototype.getUnit = function() {
21837
22836
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
21838
22837
  };
21839
22838
 
21840
22839
 
21841
22840
  /**
21842
22841
  * @param {string} value
21843
- * @return {!proto.zaber.motion.protobufs.LockstepGetTwistsRequest} returns this
22842
+ * @return {!proto.zaber.motion.protobufs.LockstepGetRequest} returns this
21844
22843
  */
21845
- proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.setUnit = function(value) {
22844
+ proto.zaber.motion.protobufs.LockstepGetRequest.prototype.setUnit = function(value) {
21846
22845
  return jspb.Message.setProto3StringField(this, 4, value);
21847
22846
  };
21848
22847
 
21849
22848
 
21850
22849
 
21851
- /**
21852
- * List of repeated fields within this message type.
21853
- * @private {!Array<number>}
21854
- * @const
21855
- */
21856
- proto.zaber.motion.protobufs.LockstepGetTwistsResponse.repeatedFields_ = [1];
21857
-
21858
-
21859
-
21860
- if (jspb.Message.GENERATE_TO_OBJECT) {
21861
- /**
21862
- * Creates an object representation of this proto.
21863
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
21864
- * Optional fields that are not set will be set to undefined.
21865
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
21866
- * For the list of reserved names please see:
21867
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
21868
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
21869
- * JSPB instance for transitional soy proto support:
21870
- * http://goto/soy-param-migration
21871
- * @return {!Object}
21872
- */
21873
- proto.zaber.motion.protobufs.LockstepGetTwistsResponse.prototype.toObject = function(opt_includeInstance) {
21874
- return proto.zaber.motion.protobufs.LockstepGetTwistsResponse.toObject(opt_includeInstance, this);
21875
- };
21876
-
21877
-
21878
- /**
21879
- * Static version of the {@see toObject} method.
21880
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
21881
- * the JSPB instance for transitional soy proto support:
21882
- * http://goto/soy-param-migration
21883
- * @param {!proto.zaber.motion.protobufs.LockstepGetTwistsResponse} msg The msg instance to transform.
21884
- * @return {!Object}
21885
- * @suppress {unusedLocalVariables} f is only used for nested messages
21886
- */
21887
- proto.zaber.motion.protobufs.LockstepGetTwistsResponse.toObject = function(includeInstance, msg) {
21888
- var f, obj = {
21889
- twistsList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f
21890
- };
21891
-
21892
- if (includeInstance) {
21893
- obj.$jspbMessageInstance = msg;
21894
- }
21895
- return obj;
21896
- };
21897
- }
21898
-
21899
-
21900
- /**
21901
- * Deserializes binary data (in protobuf wire format).
21902
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
21903
- * @return {!proto.zaber.motion.protobufs.LockstepGetTwistsResponse}
21904
- */
21905
- proto.zaber.motion.protobufs.LockstepGetTwistsResponse.deserializeBinary = function(bytes) {
21906
- var reader = new jspb.BinaryReader(bytes);
21907
- var msg = new proto.zaber.motion.protobufs.LockstepGetTwistsResponse;
21908
- return proto.zaber.motion.protobufs.LockstepGetTwistsResponse.deserializeBinaryFromReader(msg, reader);
21909
- };
21910
-
21911
-
21912
- /**
21913
- * Deserializes binary data (in protobuf wire format) from the
21914
- * given reader into the given message object.
21915
- * @param {!proto.zaber.motion.protobufs.LockstepGetTwistsResponse} msg The message object to deserialize into.
21916
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
21917
- * @return {!proto.zaber.motion.protobufs.LockstepGetTwistsResponse}
21918
- */
21919
- proto.zaber.motion.protobufs.LockstepGetTwistsResponse.deserializeBinaryFromReader = function(msg, reader) {
21920
- while (reader.nextField()) {
21921
- if (reader.isEndGroup()) {
21922
- break;
21923
- }
21924
- var field = reader.getFieldNumber();
21925
- switch (field) {
21926
- case 1:
21927
- var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedDouble() : [reader.readDouble()]);
21928
- for (var i = 0; i < values.length; i++) {
21929
- msg.addTwists(values[i]);
21930
- }
21931
- break;
21932
- default:
21933
- reader.skipField();
21934
- break;
21935
- }
21936
- }
21937
- return msg;
21938
- };
21939
-
21940
-
21941
- /**
21942
- * Serializes the message to binary data (in protobuf wire format).
21943
- * @return {!Uint8Array}
21944
- */
21945
- proto.zaber.motion.protobufs.LockstepGetTwistsResponse.prototype.serializeBinary = function() {
21946
- var writer = new jspb.BinaryWriter();
21947
- proto.zaber.motion.protobufs.LockstepGetTwistsResponse.serializeBinaryToWriter(this, writer);
21948
- return writer.getResultBuffer();
21949
- };
21950
-
21951
-
21952
- /**
21953
- * Serializes the given message to binary data (in protobuf wire
21954
- * format), writing to the given BinaryWriter.
21955
- * @param {!proto.zaber.motion.protobufs.LockstepGetTwistsResponse} message
21956
- * @param {!jspb.BinaryWriter} writer
21957
- * @suppress {unusedLocalVariables} f is only used for nested messages
21958
- */
21959
- proto.zaber.motion.protobufs.LockstepGetTwistsResponse.serializeBinaryToWriter = function(message, writer) {
21960
- var f = undefined;
21961
- f = message.getTwistsList();
21962
- if (f.length > 0) {
21963
- writer.writePackedDouble(
21964
- 1,
21965
- f
21966
- );
21967
- }
21968
- };
21969
-
21970
-
21971
- /**
21972
- * repeated double twists = 1;
21973
- * @return {!Array<number>}
21974
- */
21975
- proto.zaber.motion.protobufs.LockstepGetTwistsResponse.prototype.getTwistsList = function() {
21976
- return /** @type {!Array<number>} */ (jspb.Message.getRepeatedFloatingPointField(this, 1));
21977
- };
21978
-
21979
-
21980
- /**
21981
- * @param {!Array<number>} value
21982
- * @return {!proto.zaber.motion.protobufs.LockstepGetTwistsResponse} returns this
21983
- */
21984
- proto.zaber.motion.protobufs.LockstepGetTwistsResponse.prototype.setTwistsList = function(value) {
21985
- return jspb.Message.setField(this, 1, value || []);
21986
- };
21987
-
21988
-
21989
- /**
21990
- * @param {number} value
21991
- * @param {number=} opt_index
21992
- * @return {!proto.zaber.motion.protobufs.LockstepGetTwistsResponse} returns this
21993
- */
21994
- proto.zaber.motion.protobufs.LockstepGetTwistsResponse.prototype.addTwists = function(value, opt_index) {
21995
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
21996
- };
21997
-
21998
-
21999
- /**
22000
- * Clears the list making it empty but non-null.
22001
- * @return {!proto.zaber.motion.protobufs.LockstepGetTwistsResponse} returns this
22002
- */
22003
- proto.zaber.motion.protobufs.LockstepGetTwistsResponse.prototype.clearTwistsList = function() {
22004
- return this.setTwistsList([]);
22005
- };
22006
-
22007
-
22008
-
22009
22850
 
22010
22851
 
22011
22852
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -22021,8 +22862,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
22021
22862
  * http://goto/soy-param-migration
22022
22863
  * @return {!Object}
22023
22864
  */
22024
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.toObject = function(opt_includeInstance) {
22025
- return proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.toObject(opt_includeInstance, this);
22865
+ proto.zaber.motion.protobufs.LockstepSetRequest.prototype.toObject = function(opt_includeInstance) {
22866
+ return proto.zaber.motion.protobufs.LockstepSetRequest.toObject(opt_includeInstance, this);
22026
22867
  };
22027
22868
 
22028
22869
 
@@ -22031,16 +22872,18 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.toObject = func
22031
22872
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22032
22873
  * the JSPB instance for transitional soy proto support:
22033
22874
  * http://goto/soy-param-migration
22034
- * @param {!proto.zaber.motion.protobufs.LockstepGetOffsetsRequest} msg The msg instance to transform.
22875
+ * @param {!proto.zaber.motion.protobufs.LockstepSetRequest} msg The msg instance to transform.
22035
22876
  * @return {!Object}
22036
22877
  * @suppress {unusedLocalVariables} f is only used for nested messages
22037
22878
  */
22038
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.toObject = function(includeInstance, msg) {
22879
+ proto.zaber.motion.protobufs.LockstepSetRequest.toObject = function(includeInstance, msg) {
22039
22880
  var f, obj = {
22040
22881
  interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
22041
22882
  device: jspb.Message.getFieldWithDefault(msg, 2, 0),
22042
22883
  lockstepGroupId: jspb.Message.getFieldWithDefault(msg, 3, 0),
22043
- unit: jspb.Message.getFieldWithDefault(msg, 4, "")
22884
+ value: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
22885
+ unit: jspb.Message.getFieldWithDefault(msg, 5, ""),
22886
+ axisIndex: jspb.Message.getFieldWithDefault(msg, 6, 0)
22044
22887
  };
22045
22888
 
22046
22889
  if (includeInstance) {
@@ -22054,23 +22897,23 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.toObject = function(inclu
22054
22897
  /**
22055
22898
  * Deserializes binary data (in protobuf wire format).
22056
22899
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
22057
- * @return {!proto.zaber.motion.protobufs.LockstepGetOffsetsRequest}
22900
+ * @return {!proto.zaber.motion.protobufs.LockstepSetRequest}
22058
22901
  */
22059
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.deserializeBinary = function(bytes) {
22902
+ proto.zaber.motion.protobufs.LockstepSetRequest.deserializeBinary = function(bytes) {
22060
22903
  var reader = new jspb.BinaryReader(bytes);
22061
- var msg = new proto.zaber.motion.protobufs.LockstepGetOffsetsRequest;
22062
- return proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.deserializeBinaryFromReader(msg, reader);
22904
+ var msg = new proto.zaber.motion.protobufs.LockstepSetRequest;
22905
+ return proto.zaber.motion.protobufs.LockstepSetRequest.deserializeBinaryFromReader(msg, reader);
22063
22906
  };
22064
22907
 
22065
22908
 
22066
22909
  /**
22067
22910
  * Deserializes binary data (in protobuf wire format) from the
22068
22911
  * given reader into the given message object.
22069
- * @param {!proto.zaber.motion.protobufs.LockstepGetOffsetsRequest} msg The message object to deserialize into.
22912
+ * @param {!proto.zaber.motion.protobufs.LockstepSetRequest} msg The message object to deserialize into.
22070
22913
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22071
- * @return {!proto.zaber.motion.protobufs.LockstepGetOffsetsRequest}
22914
+ * @return {!proto.zaber.motion.protobufs.LockstepSetRequest}
22072
22915
  */
22073
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.deserializeBinaryFromReader = function(msg, reader) {
22916
+ proto.zaber.motion.protobufs.LockstepSetRequest.deserializeBinaryFromReader = function(msg, reader) {
22074
22917
  while (reader.nextField()) {
22075
22918
  if (reader.isEndGroup()) {
22076
22919
  break;
@@ -22090,9 +22933,17 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.deserializeBinaryFromRead
22090
22933
  msg.setLockstepGroupId(value);
22091
22934
  break;
22092
22935
  case 4:
22936
+ var value = /** @type {number} */ (reader.readDouble());
22937
+ msg.setValue(value);
22938
+ break;
22939
+ case 5:
22093
22940
  var value = /** @type {string} */ (reader.readString());
22094
22941
  msg.setUnit(value);
22095
22942
  break;
22943
+ case 6:
22944
+ var value = /** @type {number} */ (reader.readInt32());
22945
+ msg.setAxisIndex(value);
22946
+ break;
22096
22947
  default:
22097
22948
  reader.skipField();
22098
22949
  break;
@@ -22106,9 +22957,9 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.deserializeBinaryFromRead
22106
22957
  * Serializes the message to binary data (in protobuf wire format).
22107
22958
  * @return {!Uint8Array}
22108
22959
  */
22109
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.serializeBinary = function() {
22960
+ proto.zaber.motion.protobufs.LockstepSetRequest.prototype.serializeBinary = function() {
22110
22961
  var writer = new jspb.BinaryWriter();
22111
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.serializeBinaryToWriter(this, writer);
22962
+ proto.zaber.motion.protobufs.LockstepSetRequest.serializeBinaryToWriter(this, writer);
22112
22963
  return writer.getResultBuffer();
22113
22964
  };
22114
22965
 
@@ -22116,11 +22967,11 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.serializeBinary
22116
22967
  /**
22117
22968
  * Serializes the given message to binary data (in protobuf wire
22118
22969
  * format), writing to the given BinaryWriter.
22119
- * @param {!proto.zaber.motion.protobufs.LockstepGetOffsetsRequest} message
22970
+ * @param {!proto.zaber.motion.protobufs.LockstepSetRequest} message
22120
22971
  * @param {!jspb.BinaryWriter} writer
22121
22972
  * @suppress {unusedLocalVariables} f is only used for nested messages
22122
22973
  */
22123
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.serializeBinaryToWriter = function(message, writer) {
22974
+ proto.zaber.motion.protobufs.LockstepSetRequest.serializeBinaryToWriter = function(message, writer) {
22124
22975
  var f = undefined;
22125
22976
  f = message.getInterfaceId();
22126
22977
  if (f !== 0) {
@@ -22143,10 +22994,24 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.serializeBinaryToWriter =
22143
22994
  f
22144
22995
  );
22145
22996
  }
22997
+ f = message.getValue();
22998
+ if (f !== 0.0) {
22999
+ writer.writeDouble(
23000
+ 4,
23001
+ f
23002
+ );
23003
+ }
22146
23004
  f = message.getUnit();
22147
23005
  if (f.length > 0) {
22148
23006
  writer.writeString(
22149
- 4,
23007
+ 5,
23008
+ f
23009
+ );
23010
+ }
23011
+ f = message.getAxisIndex();
23012
+ if (f !== 0) {
23013
+ writer.writeInt32(
23014
+ 6,
22150
23015
  f
22151
23016
  );
22152
23017
  }
@@ -22157,16 +23022,16 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.serializeBinaryToWriter =
22157
23022
  * optional int32 interface_id = 1;
22158
23023
  * @return {number}
22159
23024
  */
22160
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.getInterfaceId = function() {
23025
+ proto.zaber.motion.protobufs.LockstepSetRequest.prototype.getInterfaceId = function() {
22161
23026
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
22162
23027
  };
22163
23028
 
22164
23029
 
22165
23030
  /**
22166
23031
  * @param {number} value
22167
- * @return {!proto.zaber.motion.protobufs.LockstepGetOffsetsRequest} returns this
23032
+ * @return {!proto.zaber.motion.protobufs.LockstepSetRequest} returns this
22168
23033
  */
22169
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.setInterfaceId = function(value) {
23034
+ proto.zaber.motion.protobufs.LockstepSetRequest.prototype.setInterfaceId = function(value) {
22170
23035
  return jspb.Message.setProto3IntField(this, 1, value);
22171
23036
  };
22172
23037
 
@@ -22175,16 +23040,16 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.setInterfaceId
22175
23040
  * optional int32 device = 2;
22176
23041
  * @return {number}
22177
23042
  */
22178
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.getDevice = function() {
23043
+ proto.zaber.motion.protobufs.LockstepSetRequest.prototype.getDevice = function() {
22179
23044
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
22180
23045
  };
22181
23046
 
22182
23047
 
22183
23048
  /**
22184
23049
  * @param {number} value
22185
- * @return {!proto.zaber.motion.protobufs.LockstepGetOffsetsRequest} returns this
23050
+ * @return {!proto.zaber.motion.protobufs.LockstepSetRequest} returns this
22186
23051
  */
22187
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.setDevice = function(value) {
23052
+ proto.zaber.motion.protobufs.LockstepSetRequest.prototype.setDevice = function(value) {
22188
23053
  return jspb.Message.setProto3IntField(this, 2, value);
22189
23054
  };
22190
23055
 
@@ -22193,193 +23058,71 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.setDevice = fun
22193
23058
  * optional int32 lockstep_group_id = 3;
22194
23059
  * @return {number}
22195
23060
  */
22196
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.getLockstepGroupId = function() {
23061
+ proto.zaber.motion.protobufs.LockstepSetRequest.prototype.getLockstepGroupId = function() {
22197
23062
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
22198
23063
  };
22199
23064
 
22200
23065
 
22201
23066
  /**
22202
23067
  * @param {number} value
22203
- * @return {!proto.zaber.motion.protobufs.LockstepGetOffsetsRequest} returns this
23068
+ * @return {!proto.zaber.motion.protobufs.LockstepSetRequest} returns this
22204
23069
  */
22205
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.setLockstepGroupId = function(value) {
23070
+ proto.zaber.motion.protobufs.LockstepSetRequest.prototype.setLockstepGroupId = function(value) {
22206
23071
  return jspb.Message.setProto3IntField(this, 3, value);
22207
23072
  };
22208
23073
 
22209
23074
 
22210
23075
  /**
22211
- * optional string unit = 4;
22212
- * @return {string}
22213
- */
22214
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.getUnit = function() {
22215
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
22216
- };
22217
-
22218
-
22219
- /**
22220
- * @param {string} value
22221
- * @return {!proto.zaber.motion.protobufs.LockstepGetOffsetsRequest} returns this
22222
- */
22223
- proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.setUnit = function(value) {
22224
- return jspb.Message.setProto3StringField(this, 4, value);
22225
- };
22226
-
22227
-
22228
-
22229
- /**
22230
- * List of repeated fields within this message type.
22231
- * @private {!Array<number>}
22232
- * @const
22233
- */
22234
- proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.repeatedFields_ = [1];
22235
-
22236
-
22237
-
22238
- if (jspb.Message.GENERATE_TO_OBJECT) {
22239
- /**
22240
- * Creates an object representation of this proto.
22241
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
22242
- * Optional fields that are not set will be set to undefined.
22243
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22244
- * For the list of reserved names please see:
22245
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22246
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22247
- * JSPB instance for transitional soy proto support:
22248
- * http://goto/soy-param-migration
22249
- * @return {!Object}
22250
- */
22251
- proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.prototype.toObject = function(opt_includeInstance) {
22252
- return proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.toObject(opt_includeInstance, this);
22253
- };
22254
-
22255
-
22256
- /**
22257
- * Static version of the {@see toObject} method.
22258
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22259
- * the JSPB instance for transitional soy proto support:
22260
- * http://goto/soy-param-migration
22261
- * @param {!proto.zaber.motion.protobufs.LockstepGetOffsetsResponse} msg The msg instance to transform.
22262
- * @return {!Object}
22263
- * @suppress {unusedLocalVariables} f is only used for nested messages
22264
- */
22265
- proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.toObject = function(includeInstance, msg) {
22266
- var f, obj = {
22267
- offsetsList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f
22268
- };
22269
-
22270
- if (includeInstance) {
22271
- obj.$jspbMessageInstance = msg;
22272
- }
22273
- return obj;
22274
- };
22275
- }
22276
-
22277
-
22278
- /**
22279
- * Deserializes binary data (in protobuf wire format).
22280
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
22281
- * @return {!proto.zaber.motion.protobufs.LockstepGetOffsetsResponse}
22282
- */
22283
- proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.deserializeBinary = function(bytes) {
22284
- var reader = new jspb.BinaryReader(bytes);
22285
- var msg = new proto.zaber.motion.protobufs.LockstepGetOffsetsResponse;
22286
- return proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.deserializeBinaryFromReader(msg, reader);
22287
- };
22288
-
22289
-
22290
- /**
22291
- * Deserializes binary data (in protobuf wire format) from the
22292
- * given reader into the given message object.
22293
- * @param {!proto.zaber.motion.protobufs.LockstepGetOffsetsResponse} msg The message object to deserialize into.
22294
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22295
- * @return {!proto.zaber.motion.protobufs.LockstepGetOffsetsResponse}
23076
+ * optional double value = 4;
23077
+ * @return {number}
22296
23078
  */
22297
- proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.deserializeBinaryFromReader = function(msg, reader) {
22298
- while (reader.nextField()) {
22299
- if (reader.isEndGroup()) {
22300
- break;
22301
- }
22302
- var field = reader.getFieldNumber();
22303
- switch (field) {
22304
- case 1:
22305
- var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedDouble() : [reader.readDouble()]);
22306
- for (var i = 0; i < values.length; i++) {
22307
- msg.addOffsets(values[i]);
22308
- }
22309
- break;
22310
- default:
22311
- reader.skipField();
22312
- break;
22313
- }
22314
- }
22315
- return msg;
23079
+ proto.zaber.motion.protobufs.LockstepSetRequest.prototype.getValue = function() {
23080
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
22316
23081
  };
22317
23082
 
22318
23083
 
22319
23084
  /**
22320
- * Serializes the message to binary data (in protobuf wire format).
22321
- * @return {!Uint8Array}
23085
+ * @param {number} value
23086
+ * @return {!proto.zaber.motion.protobufs.LockstepSetRequest} returns this
22322
23087
  */
22323
- proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.prototype.serializeBinary = function() {
22324
- var writer = new jspb.BinaryWriter();
22325
- proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.serializeBinaryToWriter(this, writer);
22326
- return writer.getResultBuffer();
23088
+ proto.zaber.motion.protobufs.LockstepSetRequest.prototype.setValue = function(value) {
23089
+ return jspb.Message.setProto3FloatField(this, 4, value);
22327
23090
  };
22328
23091
 
22329
23092
 
22330
23093
  /**
22331
- * Serializes the given message to binary data (in protobuf wire
22332
- * format), writing to the given BinaryWriter.
22333
- * @param {!proto.zaber.motion.protobufs.LockstepGetOffsetsResponse} message
22334
- * @param {!jspb.BinaryWriter} writer
22335
- * @suppress {unusedLocalVariables} f is only used for nested messages
23094
+ * optional string unit = 5;
23095
+ * @return {string}
22336
23096
  */
22337
- proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.serializeBinaryToWriter = function(message, writer) {
22338
- var f = undefined;
22339
- f = message.getOffsetsList();
22340
- if (f.length > 0) {
22341
- writer.writePackedDouble(
22342
- 1,
22343
- f
22344
- );
22345
- }
23097
+ proto.zaber.motion.protobufs.LockstepSetRequest.prototype.getUnit = function() {
23098
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
22346
23099
  };
22347
23100
 
22348
23101
 
22349
23102
  /**
22350
- * repeated double offsets = 1;
22351
- * @return {!Array<number>}
23103
+ * @param {string} value
23104
+ * @return {!proto.zaber.motion.protobufs.LockstepSetRequest} returns this
22352
23105
  */
22353
- proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.prototype.getOffsetsList = function() {
22354
- return /** @type {!Array<number>} */ (jspb.Message.getRepeatedFloatingPointField(this, 1));
23106
+ proto.zaber.motion.protobufs.LockstepSetRequest.prototype.setUnit = function(value) {
23107
+ return jspb.Message.setProto3StringField(this, 5, value);
22355
23108
  };
22356
23109
 
22357
23110
 
22358
23111
  /**
22359
- * @param {!Array<number>} value
22360
- * @return {!proto.zaber.motion.protobufs.LockstepGetOffsetsResponse} returns this
23112
+ * optional int32 axis_index = 6;
23113
+ * @return {number}
22361
23114
  */
22362
- proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.prototype.setOffsetsList = function(value) {
22363
- return jspb.Message.setField(this, 1, value || []);
23115
+ proto.zaber.motion.protobufs.LockstepSetRequest.prototype.getAxisIndex = function() {
23116
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
22364
23117
  };
22365
23118
 
22366
23119
 
22367
23120
  /**
22368
23121
  * @param {number} value
22369
- * @param {number=} opt_index
22370
- * @return {!proto.zaber.motion.protobufs.LockstepGetOffsetsResponse} returns this
23122
+ * @return {!proto.zaber.motion.protobufs.LockstepSetRequest} returns this
22371
23123
  */
22372
- proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.prototype.addOffsets = function(value, opt_index) {
22373
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
22374
- };
22375
-
22376
-
22377
- /**
22378
- * Clears the list making it empty but non-null.
22379
- * @return {!proto.zaber.motion.protobufs.LockstepGetOffsetsResponse} returns this
22380
- */
22381
- proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.prototype.clearOffsetsList = function() {
22382
- return this.setOffsetsList([]);
23124
+ proto.zaber.motion.protobufs.LockstepSetRequest.prototype.setAxisIndex = function(value) {
23125
+ return jspb.Message.setProto3IntField(this, 6, value);
22383
23126
  };
22384
23127
 
22385
23128
 
@@ -45887,7 +46630,8 @@ proto.zaber.motion.protobufs.Errors = {
45887
46630
  INVALID_OPERATION: 43,
45888
46631
  COMMAND_TOO_LONG: 44,
45889
46632
  NO_VALUE_FOR_KEY: 45,
45890
- DEVICE_DETECTION_FAILED: 46
46633
+ DEVICE_DETECTION_FAILED: 46,
46634
+ TIMEOUT: 47
45891
46635
  };
45892
46636
 
45893
46637
  /**