@zaber/motion 3.2.1 → 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.
- package/README.md +1 -1
- package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
- package/dist/lib/ascii/device.d.ts +14 -1
- package/dist/lib/ascii/device.js +21 -2
- package/dist/lib/ascii/device.js.map +1 -1
- package/dist/lib/ascii/lockstep.d.ts +22 -0
- package/dist/lib/ascii/lockstep.js +43 -6
- package/dist/lib/ascii/lockstep.js.map +1 -1
- package/dist/lib/ascii/warnings.d.ts +9 -0
- package/dist/lib/ascii/warnings.js +17 -0
- package/dist/lib/ascii/warnings.js.map +1 -1
- 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/exceptions/timeout_exception.d.ts +7 -0
- package/dist/lib/exceptions/timeout_exception.js +17 -0
- package/dist/lib/exceptions/timeout_exception.js.map +1 -0
- package/dist/lib/firmware_version.js +36 -0
- package/dist/lib/firmware_version.js.map +1 -1
- package/dist/lib/gateway/convert_exceptions.js +1 -0
- package/dist/lib/gateway/convert_exceptions.js.map +1 -1
- package/dist/lib/gcode/offline_translator.d.ts +2 -2
- package/dist/lib/gcode/offline_translator.js +2 -2
- package/dist/lib/gcode/offline_translator.js.map +1 -1
- package/dist/lib/gcode/translator.d.ts +1 -1
- package/dist/lib/gcode/translator.js +1 -1
- package/dist/lib/gcode/translator.js.map +1 -1
- package/dist/lib/protobufs/main_pb.d.ts +141 -58
- package/dist/lib/protobufs/main_pb.js +1184 -560
- package/dist/lib/protobufs/main_pb.js.map +1 -1
- 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.
|
|
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,37 +2103,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2017
2103
|
* @extends {jspb.Message}
|
|
2018
2104
|
* @constructor
|
|
2019
2105
|
*/
|
|
2020
|
-
proto.zaber.motion.protobufs.
|
|
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.
|
|
2024
|
-
if (goog.DEBUG && !COMPILED) {
|
|
2025
|
-
/**
|
|
2026
|
-
* @public
|
|
2027
|
-
* @override
|
|
2028
|
-
*/
|
|
2029
|
-
proto.zaber.motion.protobufs.LockstepGetTwistsRequest.displayName = 'proto.zaber.motion.protobufs.LockstepGetTwistsRequest';
|
|
2030
|
-
}
|
|
2031
|
-
/**
|
|
2032
|
-
* Generated by JsPbCodeGenerator.
|
|
2033
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2034
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
2035
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
2036
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
2037
|
-
* valid.
|
|
2038
|
-
* @extends {jspb.Message}
|
|
2039
|
-
* @constructor
|
|
2040
|
-
*/
|
|
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);
|
|
2109
|
+
goog.inherits(proto.zaber.motion.protobufs.LockstepGetRequest, jspb.Message);
|
|
2045
2110
|
if (goog.DEBUG && !COMPILED) {
|
|
2046
2111
|
/**
|
|
2047
2112
|
* @public
|
|
2048
2113
|
* @override
|
|
2049
2114
|
*/
|
|
2050
|
-
proto.zaber.motion.protobufs.
|
|
2115
|
+
proto.zaber.motion.protobufs.LockstepGetRequest.displayName = 'proto.zaber.motion.protobufs.LockstepGetRequest';
|
|
2051
2116
|
}
|
|
2052
2117
|
/**
|
|
2053
2118
|
* Generated by JsPbCodeGenerator.
|
|
@@ -2059,37 +2124,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2059
2124
|
* @extends {jspb.Message}
|
|
2060
2125
|
* @constructor
|
|
2061
2126
|
*/
|
|
2062
|
-
proto.zaber.motion.protobufs.
|
|
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.
|
|
2066
|
-
if (goog.DEBUG && !COMPILED) {
|
|
2067
|
-
/**
|
|
2068
|
-
* @public
|
|
2069
|
-
* @override
|
|
2070
|
-
*/
|
|
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);
|
|
2130
|
+
goog.inherits(proto.zaber.motion.protobufs.LockstepSetRequest, jspb.Message);
|
|
2087
2131
|
if (goog.DEBUG && !COMPILED) {
|
|
2088
2132
|
/**
|
|
2089
2133
|
* @public
|
|
2090
2134
|
* @override
|
|
2091
2135
|
*/
|
|
2092
|
-
proto.zaber.motion.protobufs.
|
|
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) {
|
|
@@ -13798,6 +14000,217 @@ proto.zaber.motion.protobufs.DisconnectedEvent.prototype.setErrorMessage = funct
|
|
|
13798
14000
|
|
|
13799
14001
|
|
|
13800
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
|
+
|
|
13801
14214
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13802
14215
|
/**
|
|
13803
14216
|
* Creates an object representation of this proto.
|
|
@@ -15830,13 +16243,408 @@ proto.zaber.motion.protobufs.DeviceGetWarningsRequest.serializeBinaryToWriter =
|
|
|
15830
16243
|
f
|
|
15831
16244
|
);
|
|
15832
16245
|
}
|
|
15833
|
-
f = message.getClear();
|
|
15834
|
-
if (f) {
|
|
15835
|
-
writer.writeBool(
|
|
16246
|
+
f = message.getClear();
|
|
16247
|
+
if (f) {
|
|
16248
|
+
writer.writeBool(
|
|
16249
|
+
4,
|
|
16250
|
+
f
|
|
16251
|
+
);
|
|
16252
|
+
}
|
|
16253
|
+
};
|
|
16254
|
+
|
|
16255
|
+
|
|
16256
|
+
/**
|
|
16257
|
+
* optional int32 interface_id = 1;
|
|
16258
|
+
* @return {number}
|
|
16259
|
+
*/
|
|
16260
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsRequest.prototype.getInterfaceId = function() {
|
|
16261
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
16262
|
+
};
|
|
16263
|
+
|
|
16264
|
+
|
|
16265
|
+
/**
|
|
16266
|
+
* @param {number} value
|
|
16267
|
+
* @return {!proto.zaber.motion.protobufs.DeviceGetWarningsRequest} returns this
|
|
16268
|
+
*/
|
|
16269
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsRequest.prototype.setInterfaceId = function(value) {
|
|
16270
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
16271
|
+
};
|
|
16272
|
+
|
|
16273
|
+
|
|
16274
|
+
/**
|
|
16275
|
+
* optional int32 device = 2;
|
|
16276
|
+
* @return {number}
|
|
16277
|
+
*/
|
|
16278
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsRequest.prototype.getDevice = function() {
|
|
16279
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
16280
|
+
};
|
|
16281
|
+
|
|
16282
|
+
|
|
16283
|
+
/**
|
|
16284
|
+
* @param {number} value
|
|
16285
|
+
* @return {!proto.zaber.motion.protobufs.DeviceGetWarningsRequest} returns this
|
|
16286
|
+
*/
|
|
16287
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsRequest.prototype.setDevice = function(value) {
|
|
16288
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
16289
|
+
};
|
|
16290
|
+
|
|
16291
|
+
|
|
16292
|
+
/**
|
|
16293
|
+
* optional int32 axis = 3;
|
|
16294
|
+
* @return {number}
|
|
16295
|
+
*/
|
|
16296
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsRequest.prototype.getAxis = function() {
|
|
16297
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
16298
|
+
};
|
|
16299
|
+
|
|
16300
|
+
|
|
16301
|
+
/**
|
|
16302
|
+
* @param {number} value
|
|
16303
|
+
* @return {!proto.zaber.motion.protobufs.DeviceGetWarningsRequest} returns this
|
|
16304
|
+
*/
|
|
16305
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsRequest.prototype.setAxis = function(value) {
|
|
16306
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
16307
|
+
};
|
|
16308
|
+
|
|
16309
|
+
|
|
16310
|
+
/**
|
|
16311
|
+
* optional bool clear = 4;
|
|
16312
|
+
* @return {boolean}
|
|
16313
|
+
*/
|
|
16314
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsRequest.prototype.getClear = function() {
|
|
16315
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
16316
|
+
};
|
|
16317
|
+
|
|
16318
|
+
|
|
16319
|
+
/**
|
|
16320
|
+
* @param {boolean} value
|
|
16321
|
+
* @return {!proto.zaber.motion.protobufs.DeviceGetWarningsRequest} returns this
|
|
16322
|
+
*/
|
|
16323
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsRequest.prototype.setClear = function(value) {
|
|
16324
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
16325
|
+
};
|
|
16326
|
+
|
|
16327
|
+
|
|
16328
|
+
|
|
16329
|
+
/**
|
|
16330
|
+
* List of repeated fields within this message type.
|
|
16331
|
+
* @private {!Array<number>}
|
|
16332
|
+
* @const
|
|
16333
|
+
*/
|
|
16334
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.repeatedFields_ = [1];
|
|
16335
|
+
|
|
16336
|
+
|
|
16337
|
+
|
|
16338
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
16339
|
+
/**
|
|
16340
|
+
* Creates an object representation of this proto.
|
|
16341
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
16342
|
+
* Optional fields that are not set will be set to undefined.
|
|
16343
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
16344
|
+
* For the list of reserved names please see:
|
|
16345
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
16346
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
16347
|
+
* JSPB instance for transitional soy proto support:
|
|
16348
|
+
* http://goto/soy-param-migration
|
|
16349
|
+
* @return {!Object}
|
|
16350
|
+
*/
|
|
16351
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
16352
|
+
return proto.zaber.motion.protobufs.DeviceGetWarningsResponse.toObject(opt_includeInstance, this);
|
|
16353
|
+
};
|
|
16354
|
+
|
|
16355
|
+
|
|
16356
|
+
/**
|
|
16357
|
+
* Static version of the {@see toObject} method.
|
|
16358
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
16359
|
+
* the JSPB instance for transitional soy proto support:
|
|
16360
|
+
* http://goto/soy-param-migration
|
|
16361
|
+
* @param {!proto.zaber.motion.protobufs.DeviceGetWarningsResponse} msg The msg instance to transform.
|
|
16362
|
+
* @return {!Object}
|
|
16363
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16364
|
+
*/
|
|
16365
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.toObject = function(includeInstance, msg) {
|
|
16366
|
+
var f, obj = {
|
|
16367
|
+
flagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
16368
|
+
};
|
|
16369
|
+
|
|
16370
|
+
if (includeInstance) {
|
|
16371
|
+
obj.$jspbMessageInstance = msg;
|
|
16372
|
+
}
|
|
16373
|
+
return obj;
|
|
16374
|
+
};
|
|
16375
|
+
}
|
|
16376
|
+
|
|
16377
|
+
|
|
16378
|
+
/**
|
|
16379
|
+
* Deserializes binary data (in protobuf wire format).
|
|
16380
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
16381
|
+
* @return {!proto.zaber.motion.protobufs.DeviceGetWarningsResponse}
|
|
16382
|
+
*/
|
|
16383
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.deserializeBinary = function(bytes) {
|
|
16384
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
16385
|
+
var msg = new proto.zaber.motion.protobufs.DeviceGetWarningsResponse;
|
|
16386
|
+
return proto.zaber.motion.protobufs.DeviceGetWarningsResponse.deserializeBinaryFromReader(msg, reader);
|
|
16387
|
+
};
|
|
16388
|
+
|
|
16389
|
+
|
|
16390
|
+
/**
|
|
16391
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
16392
|
+
* given reader into the given message object.
|
|
16393
|
+
* @param {!proto.zaber.motion.protobufs.DeviceGetWarningsResponse} msg The message object to deserialize into.
|
|
16394
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
16395
|
+
* @return {!proto.zaber.motion.protobufs.DeviceGetWarningsResponse}
|
|
16396
|
+
*/
|
|
16397
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
16398
|
+
while (reader.nextField()) {
|
|
16399
|
+
if (reader.isEndGroup()) {
|
|
16400
|
+
break;
|
|
16401
|
+
}
|
|
16402
|
+
var field = reader.getFieldNumber();
|
|
16403
|
+
switch (field) {
|
|
16404
|
+
case 1:
|
|
16405
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16406
|
+
msg.addFlags(value);
|
|
16407
|
+
break;
|
|
16408
|
+
default:
|
|
16409
|
+
reader.skipField();
|
|
16410
|
+
break;
|
|
16411
|
+
}
|
|
16412
|
+
}
|
|
16413
|
+
return msg;
|
|
16414
|
+
};
|
|
16415
|
+
|
|
16416
|
+
|
|
16417
|
+
/**
|
|
16418
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
16419
|
+
* @return {!Uint8Array}
|
|
16420
|
+
*/
|
|
16421
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.prototype.serializeBinary = function() {
|
|
16422
|
+
var writer = new jspb.BinaryWriter();
|
|
16423
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.serializeBinaryToWriter(this, writer);
|
|
16424
|
+
return writer.getResultBuffer();
|
|
16425
|
+
};
|
|
16426
|
+
|
|
16427
|
+
|
|
16428
|
+
/**
|
|
16429
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
16430
|
+
* format), writing to the given BinaryWriter.
|
|
16431
|
+
* @param {!proto.zaber.motion.protobufs.DeviceGetWarningsResponse} message
|
|
16432
|
+
* @param {!jspb.BinaryWriter} writer
|
|
16433
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16434
|
+
*/
|
|
16435
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
16436
|
+
var f = undefined;
|
|
16437
|
+
f = message.getFlagsList();
|
|
16438
|
+
if (f.length > 0) {
|
|
16439
|
+
writer.writeRepeatedString(
|
|
16440
|
+
1,
|
|
16441
|
+
f
|
|
16442
|
+
);
|
|
16443
|
+
}
|
|
16444
|
+
};
|
|
16445
|
+
|
|
16446
|
+
|
|
16447
|
+
/**
|
|
16448
|
+
* repeated string flags = 1;
|
|
16449
|
+
* @return {!Array<string>}
|
|
16450
|
+
*/
|
|
16451
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.prototype.getFlagsList = function() {
|
|
16452
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
16453
|
+
};
|
|
16454
|
+
|
|
16455
|
+
|
|
16456
|
+
/**
|
|
16457
|
+
* @param {!Array<string>} value
|
|
16458
|
+
* @return {!proto.zaber.motion.protobufs.DeviceGetWarningsResponse} returns this
|
|
16459
|
+
*/
|
|
16460
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.prototype.setFlagsList = function(value) {
|
|
16461
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
16462
|
+
};
|
|
16463
|
+
|
|
16464
|
+
|
|
16465
|
+
/**
|
|
16466
|
+
* @param {string} value
|
|
16467
|
+
* @param {number=} opt_index
|
|
16468
|
+
* @return {!proto.zaber.motion.protobufs.DeviceGetWarningsResponse} returns this
|
|
16469
|
+
*/
|
|
16470
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.prototype.addFlags = function(value, opt_index) {
|
|
16471
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
16472
|
+
};
|
|
16473
|
+
|
|
16474
|
+
|
|
16475
|
+
/**
|
|
16476
|
+
* Clears the list making it empty but non-null.
|
|
16477
|
+
* @return {!proto.zaber.motion.protobufs.DeviceGetWarningsResponse} returns this
|
|
16478
|
+
*/
|
|
16479
|
+
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.prototype.clearFlagsList = function() {
|
|
16480
|
+
return this.setFlagsList([]);
|
|
16481
|
+
};
|
|
16482
|
+
|
|
16483
|
+
|
|
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(
|
|
15836
16637
|
4,
|
|
15837
16638
|
f
|
|
15838
16639
|
);
|
|
15839
16640
|
}
|
|
16641
|
+
f = message.getWarningFlagsList();
|
|
16642
|
+
if (f.length > 0) {
|
|
16643
|
+
writer.writeRepeatedString(
|
|
16644
|
+
5,
|
|
16645
|
+
f
|
|
16646
|
+
);
|
|
16647
|
+
}
|
|
15840
16648
|
};
|
|
15841
16649
|
|
|
15842
16650
|
|
|
@@ -15844,16 +16652,16 @@ proto.zaber.motion.protobufs.DeviceGetWarningsRequest.serializeBinaryToWriter =
|
|
|
15844
16652
|
* optional int32 interface_id = 1;
|
|
15845
16653
|
* @return {number}
|
|
15846
16654
|
*/
|
|
15847
|
-
proto.zaber.motion.protobufs.
|
|
16655
|
+
proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.getInterfaceId = function() {
|
|
15848
16656
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
15849
16657
|
};
|
|
15850
16658
|
|
|
15851
16659
|
|
|
15852
16660
|
/**
|
|
15853
16661
|
* @param {number} value
|
|
15854
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
16662
|
+
* @return {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} returns this
|
|
15855
16663
|
*/
|
|
15856
|
-
proto.zaber.motion.protobufs.
|
|
16664
|
+
proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.setInterfaceId = function(value) {
|
|
15857
16665
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
15858
16666
|
};
|
|
15859
16667
|
|
|
@@ -15862,16 +16670,16 @@ proto.zaber.motion.protobufs.DeviceGetWarningsRequest.prototype.setInterfaceId =
|
|
|
15862
16670
|
* optional int32 device = 2;
|
|
15863
16671
|
* @return {number}
|
|
15864
16672
|
*/
|
|
15865
|
-
proto.zaber.motion.protobufs.
|
|
16673
|
+
proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.getDevice = function() {
|
|
15866
16674
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
15867
16675
|
};
|
|
15868
16676
|
|
|
15869
16677
|
|
|
15870
16678
|
/**
|
|
15871
16679
|
* @param {number} value
|
|
15872
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
16680
|
+
* @return {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} returns this
|
|
15873
16681
|
*/
|
|
15874
|
-
proto.zaber.motion.protobufs.
|
|
16682
|
+
proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.setDevice = function(value) {
|
|
15875
16683
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
15876
16684
|
};
|
|
15877
16685
|
|
|
@@ -15880,191 +16688,72 @@ proto.zaber.motion.protobufs.DeviceGetWarningsRequest.prototype.setDevice = func
|
|
|
15880
16688
|
* optional int32 axis = 3;
|
|
15881
16689
|
* @return {number}
|
|
15882
16690
|
*/
|
|
15883
|
-
proto.zaber.motion.protobufs.
|
|
16691
|
+
proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.getAxis = function() {
|
|
15884
16692
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
15885
16693
|
};
|
|
15886
16694
|
|
|
15887
16695
|
|
|
15888
16696
|
/**
|
|
15889
16697
|
* @param {number} value
|
|
15890
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
16698
|
+
* @return {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} returns this
|
|
15891
16699
|
*/
|
|
15892
|
-
proto.zaber.motion.protobufs.
|
|
16700
|
+
proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.setAxis = function(value) {
|
|
15893
16701
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
15894
16702
|
};
|
|
15895
16703
|
|
|
15896
16704
|
|
|
15897
16705
|
/**
|
|
15898
|
-
* optional
|
|
15899
|
-
* @return {
|
|
15900
|
-
*/
|
|
15901
|
-
proto.zaber.motion.protobufs.DeviceGetWarningsRequest.prototype.getClear = function() {
|
|
15902
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
15903
|
-
};
|
|
15904
|
-
|
|
15905
|
-
|
|
15906
|
-
/**
|
|
15907
|
-
* @param {boolean} value
|
|
15908
|
-
* @return {!proto.zaber.motion.protobufs.DeviceGetWarningsRequest} returns this
|
|
15909
|
-
*/
|
|
15910
|
-
proto.zaber.motion.protobufs.DeviceGetWarningsRequest.prototype.setClear = function(value) {
|
|
15911
|
-
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
15912
|
-
};
|
|
15913
|
-
|
|
15914
|
-
|
|
15915
|
-
|
|
15916
|
-
/**
|
|
15917
|
-
* List of repeated fields within this message type.
|
|
15918
|
-
* @private {!Array<number>}
|
|
15919
|
-
* @const
|
|
15920
|
-
*/
|
|
15921
|
-
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.repeatedFields_ = [1];
|
|
15922
|
-
|
|
15923
|
-
|
|
15924
|
-
|
|
15925
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
15926
|
-
/**
|
|
15927
|
-
* Creates an object representation of this proto.
|
|
15928
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
15929
|
-
* Optional fields that are not set will be set to undefined.
|
|
15930
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
15931
|
-
* For the list of reserved names please see:
|
|
15932
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
15933
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
15934
|
-
* JSPB instance for transitional soy proto support:
|
|
15935
|
-
* http://goto/soy-param-migration
|
|
15936
|
-
* @return {!Object}
|
|
15937
|
-
*/
|
|
15938
|
-
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
15939
|
-
return proto.zaber.motion.protobufs.DeviceGetWarningsResponse.toObject(opt_includeInstance, this);
|
|
15940
|
-
};
|
|
15941
|
-
|
|
15942
|
-
|
|
15943
|
-
/**
|
|
15944
|
-
* Static version of the {@see toObject} method.
|
|
15945
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
15946
|
-
* the JSPB instance for transitional soy proto support:
|
|
15947
|
-
* http://goto/soy-param-migration
|
|
15948
|
-
* @param {!proto.zaber.motion.protobufs.DeviceGetWarningsResponse} msg The msg instance to transform.
|
|
15949
|
-
* @return {!Object}
|
|
15950
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
15951
|
-
*/
|
|
15952
|
-
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.toObject = function(includeInstance, msg) {
|
|
15953
|
-
var f, obj = {
|
|
15954
|
-
flagsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
15955
|
-
};
|
|
15956
|
-
|
|
15957
|
-
if (includeInstance) {
|
|
15958
|
-
obj.$jspbMessageInstance = msg;
|
|
15959
|
-
}
|
|
15960
|
-
return obj;
|
|
15961
|
-
};
|
|
15962
|
-
}
|
|
15963
|
-
|
|
15964
|
-
|
|
15965
|
-
/**
|
|
15966
|
-
* Deserializes binary data (in protobuf wire format).
|
|
15967
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
15968
|
-
* @return {!proto.zaber.motion.protobufs.DeviceGetWarningsResponse}
|
|
15969
|
-
*/
|
|
15970
|
-
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.deserializeBinary = function(bytes) {
|
|
15971
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
15972
|
-
var msg = new proto.zaber.motion.protobufs.DeviceGetWarningsResponse;
|
|
15973
|
-
return proto.zaber.motion.protobufs.DeviceGetWarningsResponse.deserializeBinaryFromReader(msg, reader);
|
|
15974
|
-
};
|
|
15975
|
-
|
|
15976
|
-
|
|
15977
|
-
/**
|
|
15978
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
15979
|
-
* given reader into the given message object.
|
|
15980
|
-
* @param {!proto.zaber.motion.protobufs.DeviceGetWarningsResponse} msg The message object to deserialize into.
|
|
15981
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
15982
|
-
* @return {!proto.zaber.motion.protobufs.DeviceGetWarningsResponse}
|
|
15983
|
-
*/
|
|
15984
|
-
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
15985
|
-
while (reader.nextField()) {
|
|
15986
|
-
if (reader.isEndGroup()) {
|
|
15987
|
-
break;
|
|
15988
|
-
}
|
|
15989
|
-
var field = reader.getFieldNumber();
|
|
15990
|
-
switch (field) {
|
|
15991
|
-
case 1:
|
|
15992
|
-
var value = /** @type {string} */ (reader.readString());
|
|
15993
|
-
msg.addFlags(value);
|
|
15994
|
-
break;
|
|
15995
|
-
default:
|
|
15996
|
-
reader.skipField();
|
|
15997
|
-
break;
|
|
15998
|
-
}
|
|
15999
|
-
}
|
|
16000
|
-
return msg;
|
|
16001
|
-
};
|
|
16002
|
-
|
|
16003
|
-
|
|
16004
|
-
/**
|
|
16005
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
16006
|
-
* @return {!Uint8Array}
|
|
16706
|
+
* optional double timeout = 4;
|
|
16707
|
+
* @return {number}
|
|
16007
16708
|
*/
|
|
16008
|
-
proto.zaber.motion.protobufs.
|
|
16009
|
-
|
|
16010
|
-
proto.zaber.motion.protobufs.DeviceGetWarningsResponse.serializeBinaryToWriter(this, writer);
|
|
16011
|
-
return writer.getResultBuffer();
|
|
16709
|
+
proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.getTimeout = function() {
|
|
16710
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
16012
16711
|
};
|
|
16013
16712
|
|
|
16014
16713
|
|
|
16015
16714
|
/**
|
|
16016
|
-
*
|
|
16017
|
-
*
|
|
16018
|
-
* @param {!proto.zaber.motion.protobufs.DeviceGetWarningsResponse} message
|
|
16019
|
-
* @param {!jspb.BinaryWriter} writer
|
|
16020
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
16715
|
+
* @param {number} value
|
|
16716
|
+
* @return {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} returns this
|
|
16021
16717
|
*/
|
|
16022
|
-
proto.zaber.motion.protobufs.
|
|
16023
|
-
|
|
16024
|
-
f = message.getFlagsList();
|
|
16025
|
-
if (f.length > 0) {
|
|
16026
|
-
writer.writeRepeatedString(
|
|
16027
|
-
1,
|
|
16028
|
-
f
|
|
16029
|
-
);
|
|
16030
|
-
}
|
|
16718
|
+
proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.setTimeout = function(value) {
|
|
16719
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
16031
16720
|
};
|
|
16032
16721
|
|
|
16033
16722
|
|
|
16034
16723
|
/**
|
|
16035
|
-
* repeated string
|
|
16724
|
+
* repeated string warning_flags = 5;
|
|
16036
16725
|
* @return {!Array<string>}
|
|
16037
16726
|
*/
|
|
16038
|
-
proto.zaber.motion.protobufs.
|
|
16039
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this,
|
|
16727
|
+
proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.getWarningFlagsList = function() {
|
|
16728
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
16040
16729
|
};
|
|
16041
16730
|
|
|
16042
16731
|
|
|
16043
16732
|
/**
|
|
16044
16733
|
* @param {!Array<string>} value
|
|
16045
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
16734
|
+
* @return {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} returns this
|
|
16046
16735
|
*/
|
|
16047
|
-
proto.zaber.motion.protobufs.
|
|
16048
|
-
return jspb.Message.setField(this,
|
|
16736
|
+
proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.setWarningFlagsList = function(value) {
|
|
16737
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
16049
16738
|
};
|
|
16050
16739
|
|
|
16051
16740
|
|
|
16052
16741
|
/**
|
|
16053
16742
|
* @param {string} value
|
|
16054
16743
|
* @param {number=} opt_index
|
|
16055
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
16744
|
+
* @return {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} returns this
|
|
16056
16745
|
*/
|
|
16057
|
-
proto.zaber.motion.protobufs.
|
|
16058
|
-
return jspb.Message.addToRepeatedField(this,
|
|
16746
|
+
proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.addWarningFlags = function(value, opt_index) {
|
|
16747
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
16059
16748
|
};
|
|
16060
16749
|
|
|
16061
16750
|
|
|
16062
16751
|
/**
|
|
16063
16752
|
* Clears the list making it empty but non-null.
|
|
16064
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
16753
|
+
* @return {!proto.zaber.motion.protobufs.WaitToClearWarningsRequest} returns this
|
|
16065
16754
|
*/
|
|
16066
|
-
proto.zaber.motion.protobufs.
|
|
16067
|
-
return this.
|
|
16755
|
+
proto.zaber.motion.protobufs.WaitToClearWarningsRequest.prototype.clearWarningFlagsList = function() {
|
|
16756
|
+
return this.setWarningFlagsList([]);
|
|
16068
16757
|
};
|
|
16069
16758
|
|
|
16070
16759
|
|
|
@@ -19611,6 +20300,196 @@ proto.zaber.motion.protobufs.PrepareCommandRequest.prototype.clearParametersList
|
|
|
19611
20300
|
|
|
19612
20301
|
|
|
19613
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
|
+
|
|
19614
20493
|
/**
|
|
19615
20494
|
* List of repeated fields within this message type.
|
|
19616
20495
|
* @private {!Array<number>}
|
|
@@ -21763,8 +22642,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21763
22642
|
* http://goto/soy-param-migration
|
|
21764
22643
|
* @return {!Object}
|
|
21765
22644
|
*/
|
|
21766
|
-
proto.zaber.motion.protobufs.
|
|
21767
|
-
return proto.zaber.motion.protobufs.
|
|
22645
|
+
proto.zaber.motion.protobufs.LockstepGetRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22646
|
+
return proto.zaber.motion.protobufs.LockstepGetRequest.toObject(opt_includeInstance, this);
|
|
21768
22647
|
};
|
|
21769
22648
|
|
|
21770
22649
|
|
|
@@ -21773,11 +22652,11 @@ proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.toObject = funct
|
|
|
21773
22652
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
21774
22653
|
* the JSPB instance for transitional soy proto support:
|
|
21775
22654
|
* http://goto/soy-param-migration
|
|
21776
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
22655
|
+
* @param {!proto.zaber.motion.protobufs.LockstepGetRequest} msg The msg instance to transform.
|
|
21777
22656
|
* @return {!Object}
|
|
21778
22657
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21779
22658
|
*/
|
|
21780
|
-
proto.zaber.motion.protobufs.
|
|
22659
|
+
proto.zaber.motion.protobufs.LockstepGetRequest.toObject = function(includeInstance, msg) {
|
|
21781
22660
|
var f, obj = {
|
|
21782
22661
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
21783
22662
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
@@ -21796,23 +22675,23 @@ proto.zaber.motion.protobufs.LockstepGetTwistsRequest.toObject = function(includ
|
|
|
21796
22675
|
/**
|
|
21797
22676
|
* Deserializes binary data (in protobuf wire format).
|
|
21798
22677
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
21799
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22678
|
+
* @return {!proto.zaber.motion.protobufs.LockstepGetRequest}
|
|
21800
22679
|
*/
|
|
21801
|
-
proto.zaber.motion.protobufs.
|
|
22680
|
+
proto.zaber.motion.protobufs.LockstepGetRequest.deserializeBinary = function(bytes) {
|
|
21802
22681
|
var reader = new jspb.BinaryReader(bytes);
|
|
21803
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
21804
|
-
return proto.zaber.motion.protobufs.
|
|
22682
|
+
var msg = new proto.zaber.motion.protobufs.LockstepGetRequest;
|
|
22683
|
+
return proto.zaber.motion.protobufs.LockstepGetRequest.deserializeBinaryFromReader(msg, reader);
|
|
21805
22684
|
};
|
|
21806
22685
|
|
|
21807
22686
|
|
|
21808
22687
|
/**
|
|
21809
22688
|
* Deserializes binary data (in protobuf wire format) from the
|
|
21810
22689
|
* given reader into the given message object.
|
|
21811
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
22690
|
+
* @param {!proto.zaber.motion.protobufs.LockstepGetRequest} msg The message object to deserialize into.
|
|
21812
22691
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
21813
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22692
|
+
* @return {!proto.zaber.motion.protobufs.LockstepGetRequest}
|
|
21814
22693
|
*/
|
|
21815
|
-
proto.zaber.motion.protobufs.
|
|
22694
|
+
proto.zaber.motion.protobufs.LockstepGetRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
21816
22695
|
while (reader.nextField()) {
|
|
21817
22696
|
if (reader.isEndGroup()) {
|
|
21818
22697
|
break;
|
|
@@ -21848,9 +22727,9 @@ proto.zaber.motion.protobufs.LockstepGetTwistsRequest.deserializeBinaryFromReade
|
|
|
21848
22727
|
* Serializes the message to binary data (in protobuf wire format).
|
|
21849
22728
|
* @return {!Uint8Array}
|
|
21850
22729
|
*/
|
|
21851
|
-
proto.zaber.motion.protobufs.
|
|
22730
|
+
proto.zaber.motion.protobufs.LockstepGetRequest.prototype.serializeBinary = function() {
|
|
21852
22731
|
var writer = new jspb.BinaryWriter();
|
|
21853
|
-
proto.zaber.motion.protobufs.
|
|
22732
|
+
proto.zaber.motion.protobufs.LockstepGetRequest.serializeBinaryToWriter(this, writer);
|
|
21854
22733
|
return writer.getResultBuffer();
|
|
21855
22734
|
};
|
|
21856
22735
|
|
|
@@ -21858,11 +22737,11 @@ proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.serializeBinary
|
|
|
21858
22737
|
/**
|
|
21859
22738
|
* Serializes the given message to binary data (in protobuf wire
|
|
21860
22739
|
* format), writing to the given BinaryWriter.
|
|
21861
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
22740
|
+
* @param {!proto.zaber.motion.protobufs.LockstepGetRequest} message
|
|
21862
22741
|
* @param {!jspb.BinaryWriter} writer
|
|
21863
22742
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
21864
22743
|
*/
|
|
21865
|
-
proto.zaber.motion.protobufs.
|
|
22744
|
+
proto.zaber.motion.protobufs.LockstepGetRequest.serializeBinaryToWriter = function(message, writer) {
|
|
21866
22745
|
var f = undefined;
|
|
21867
22746
|
f = message.getInterfaceId();
|
|
21868
22747
|
if (f !== 0) {
|
|
@@ -21899,16 +22778,16 @@ proto.zaber.motion.protobufs.LockstepGetTwistsRequest.serializeBinaryToWriter =
|
|
|
21899
22778
|
* optional int32 interface_id = 1;
|
|
21900
22779
|
* @return {number}
|
|
21901
22780
|
*/
|
|
21902
|
-
proto.zaber.motion.protobufs.
|
|
22781
|
+
proto.zaber.motion.protobufs.LockstepGetRequest.prototype.getInterfaceId = function() {
|
|
21903
22782
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
21904
22783
|
};
|
|
21905
22784
|
|
|
21906
22785
|
|
|
21907
22786
|
/**
|
|
21908
22787
|
* @param {number} value
|
|
21909
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22788
|
+
* @return {!proto.zaber.motion.protobufs.LockstepGetRequest} returns this
|
|
21910
22789
|
*/
|
|
21911
|
-
proto.zaber.motion.protobufs.
|
|
22790
|
+
proto.zaber.motion.protobufs.LockstepGetRequest.prototype.setInterfaceId = function(value) {
|
|
21912
22791
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
21913
22792
|
};
|
|
21914
22793
|
|
|
@@ -21917,16 +22796,16 @@ proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.setInterfaceId =
|
|
|
21917
22796
|
* optional int32 device = 2;
|
|
21918
22797
|
* @return {number}
|
|
21919
22798
|
*/
|
|
21920
|
-
proto.zaber.motion.protobufs.
|
|
22799
|
+
proto.zaber.motion.protobufs.LockstepGetRequest.prototype.getDevice = function() {
|
|
21921
22800
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
21922
22801
|
};
|
|
21923
22802
|
|
|
21924
22803
|
|
|
21925
22804
|
/**
|
|
21926
22805
|
* @param {number} value
|
|
21927
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22806
|
+
* @return {!proto.zaber.motion.protobufs.LockstepGetRequest} returns this
|
|
21928
22807
|
*/
|
|
21929
|
-
proto.zaber.motion.protobufs.
|
|
22808
|
+
proto.zaber.motion.protobufs.LockstepGetRequest.prototype.setDevice = function(value) {
|
|
21930
22809
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
21931
22810
|
};
|
|
21932
22811
|
|
|
@@ -21935,16 +22814,16 @@ proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.setDevice = func
|
|
|
21935
22814
|
* optional int32 lockstep_group_id = 3;
|
|
21936
22815
|
* @return {number}
|
|
21937
22816
|
*/
|
|
21938
|
-
proto.zaber.motion.protobufs.
|
|
22817
|
+
proto.zaber.motion.protobufs.LockstepGetRequest.prototype.getLockstepGroupId = function() {
|
|
21939
22818
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
21940
22819
|
};
|
|
21941
22820
|
|
|
21942
22821
|
|
|
21943
22822
|
/**
|
|
21944
22823
|
* @param {number} value
|
|
21945
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22824
|
+
* @return {!proto.zaber.motion.protobufs.LockstepGetRequest} returns this
|
|
21946
22825
|
*/
|
|
21947
|
-
proto.zaber.motion.protobufs.
|
|
22826
|
+
proto.zaber.motion.protobufs.LockstepGetRequest.prototype.setLockstepGroupId = function(value) {
|
|
21948
22827
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
21949
22828
|
};
|
|
21950
22829
|
|
|
@@ -21953,179 +22832,21 @@ proto.zaber.motion.protobufs.LockstepGetTwistsRequest.prototype.setLockstepGroup
|
|
|
21953
22832
|
* optional string unit = 4;
|
|
21954
22833
|
* @return {string}
|
|
21955
22834
|
*/
|
|
21956
|
-
proto.zaber.motion.protobufs.
|
|
22835
|
+
proto.zaber.motion.protobufs.LockstepGetRequest.prototype.getUnit = function() {
|
|
21957
22836
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
21958
22837
|
};
|
|
21959
22838
|
|
|
21960
22839
|
|
|
21961
22840
|
/**
|
|
21962
22841
|
* @param {string} value
|
|
21963
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22842
|
+
* @return {!proto.zaber.motion.protobufs.LockstepGetRequest} returns this
|
|
21964
22843
|
*/
|
|
21965
|
-
proto.zaber.motion.protobufs.
|
|
22844
|
+
proto.zaber.motion.protobufs.LockstepGetRequest.prototype.setUnit = function(value) {
|
|
21966
22845
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
21967
22846
|
};
|
|
21968
22847
|
|
|
21969
22848
|
|
|
21970
22849
|
|
|
21971
|
-
/**
|
|
21972
|
-
* List of repeated fields within this message type.
|
|
21973
|
-
* @private {!Array<number>}
|
|
21974
|
-
* @const
|
|
21975
|
-
*/
|
|
21976
|
-
proto.zaber.motion.protobufs.LockstepGetTwistsResponse.repeatedFields_ = [1];
|
|
21977
|
-
|
|
21978
|
-
|
|
21979
|
-
|
|
21980
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21981
|
-
/**
|
|
21982
|
-
* Creates an object representation of this proto.
|
|
21983
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
21984
|
-
* Optional fields that are not set will be set to undefined.
|
|
21985
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
21986
|
-
* For the list of reserved names please see:
|
|
21987
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
21988
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
21989
|
-
* JSPB instance for transitional soy proto support:
|
|
21990
|
-
* http://goto/soy-param-migration
|
|
21991
|
-
* @return {!Object}
|
|
21992
|
-
*/
|
|
21993
|
-
proto.zaber.motion.protobufs.LockstepGetTwistsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
21994
|
-
return proto.zaber.motion.protobufs.LockstepGetTwistsResponse.toObject(opt_includeInstance, this);
|
|
21995
|
-
};
|
|
21996
|
-
|
|
21997
|
-
|
|
21998
|
-
/**
|
|
21999
|
-
* Static version of the {@see toObject} method.
|
|
22000
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22001
|
-
* the JSPB instance for transitional soy proto support:
|
|
22002
|
-
* http://goto/soy-param-migration
|
|
22003
|
-
* @param {!proto.zaber.motion.protobufs.LockstepGetTwistsResponse} msg The msg instance to transform.
|
|
22004
|
-
* @return {!Object}
|
|
22005
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22006
|
-
*/
|
|
22007
|
-
proto.zaber.motion.protobufs.LockstepGetTwistsResponse.toObject = function(includeInstance, msg) {
|
|
22008
|
-
var f, obj = {
|
|
22009
|
-
twistsList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f
|
|
22010
|
-
};
|
|
22011
|
-
|
|
22012
|
-
if (includeInstance) {
|
|
22013
|
-
obj.$jspbMessageInstance = msg;
|
|
22014
|
-
}
|
|
22015
|
-
return obj;
|
|
22016
|
-
};
|
|
22017
|
-
}
|
|
22018
|
-
|
|
22019
|
-
|
|
22020
|
-
/**
|
|
22021
|
-
* Deserializes binary data (in protobuf wire format).
|
|
22022
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22023
|
-
* @return {!proto.zaber.motion.protobufs.LockstepGetTwistsResponse}
|
|
22024
|
-
*/
|
|
22025
|
-
proto.zaber.motion.protobufs.LockstepGetTwistsResponse.deserializeBinary = function(bytes) {
|
|
22026
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
22027
|
-
var msg = new proto.zaber.motion.protobufs.LockstepGetTwistsResponse;
|
|
22028
|
-
return proto.zaber.motion.protobufs.LockstepGetTwistsResponse.deserializeBinaryFromReader(msg, reader);
|
|
22029
|
-
};
|
|
22030
|
-
|
|
22031
|
-
|
|
22032
|
-
/**
|
|
22033
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
22034
|
-
* given reader into the given message object.
|
|
22035
|
-
* @param {!proto.zaber.motion.protobufs.LockstepGetTwistsResponse} msg The message object to deserialize into.
|
|
22036
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22037
|
-
* @return {!proto.zaber.motion.protobufs.LockstepGetTwistsResponse}
|
|
22038
|
-
*/
|
|
22039
|
-
proto.zaber.motion.protobufs.LockstepGetTwistsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
22040
|
-
while (reader.nextField()) {
|
|
22041
|
-
if (reader.isEndGroup()) {
|
|
22042
|
-
break;
|
|
22043
|
-
}
|
|
22044
|
-
var field = reader.getFieldNumber();
|
|
22045
|
-
switch (field) {
|
|
22046
|
-
case 1:
|
|
22047
|
-
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedDouble() : [reader.readDouble()]);
|
|
22048
|
-
for (var i = 0; i < values.length; i++) {
|
|
22049
|
-
msg.addTwists(values[i]);
|
|
22050
|
-
}
|
|
22051
|
-
break;
|
|
22052
|
-
default:
|
|
22053
|
-
reader.skipField();
|
|
22054
|
-
break;
|
|
22055
|
-
}
|
|
22056
|
-
}
|
|
22057
|
-
return msg;
|
|
22058
|
-
};
|
|
22059
|
-
|
|
22060
|
-
|
|
22061
|
-
/**
|
|
22062
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
22063
|
-
* @return {!Uint8Array}
|
|
22064
|
-
*/
|
|
22065
|
-
proto.zaber.motion.protobufs.LockstepGetTwistsResponse.prototype.serializeBinary = function() {
|
|
22066
|
-
var writer = new jspb.BinaryWriter();
|
|
22067
|
-
proto.zaber.motion.protobufs.LockstepGetTwistsResponse.serializeBinaryToWriter(this, writer);
|
|
22068
|
-
return writer.getResultBuffer();
|
|
22069
|
-
};
|
|
22070
|
-
|
|
22071
|
-
|
|
22072
|
-
/**
|
|
22073
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
22074
|
-
* format), writing to the given BinaryWriter.
|
|
22075
|
-
* @param {!proto.zaber.motion.protobufs.LockstepGetTwistsResponse} message
|
|
22076
|
-
* @param {!jspb.BinaryWriter} writer
|
|
22077
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22078
|
-
*/
|
|
22079
|
-
proto.zaber.motion.protobufs.LockstepGetTwistsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
22080
|
-
var f = undefined;
|
|
22081
|
-
f = message.getTwistsList();
|
|
22082
|
-
if (f.length > 0) {
|
|
22083
|
-
writer.writePackedDouble(
|
|
22084
|
-
1,
|
|
22085
|
-
f
|
|
22086
|
-
);
|
|
22087
|
-
}
|
|
22088
|
-
};
|
|
22089
|
-
|
|
22090
|
-
|
|
22091
|
-
/**
|
|
22092
|
-
* repeated double twists = 1;
|
|
22093
|
-
* @return {!Array<number>}
|
|
22094
|
-
*/
|
|
22095
|
-
proto.zaber.motion.protobufs.LockstepGetTwistsResponse.prototype.getTwistsList = function() {
|
|
22096
|
-
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedFloatingPointField(this, 1));
|
|
22097
|
-
};
|
|
22098
|
-
|
|
22099
|
-
|
|
22100
|
-
/**
|
|
22101
|
-
* @param {!Array<number>} value
|
|
22102
|
-
* @return {!proto.zaber.motion.protobufs.LockstepGetTwistsResponse} returns this
|
|
22103
|
-
*/
|
|
22104
|
-
proto.zaber.motion.protobufs.LockstepGetTwistsResponse.prototype.setTwistsList = function(value) {
|
|
22105
|
-
return jspb.Message.setField(this, 1, value || []);
|
|
22106
|
-
};
|
|
22107
|
-
|
|
22108
|
-
|
|
22109
|
-
/**
|
|
22110
|
-
* @param {number} value
|
|
22111
|
-
* @param {number=} opt_index
|
|
22112
|
-
* @return {!proto.zaber.motion.protobufs.LockstepGetTwistsResponse} returns this
|
|
22113
|
-
*/
|
|
22114
|
-
proto.zaber.motion.protobufs.LockstepGetTwistsResponse.prototype.addTwists = function(value, opt_index) {
|
|
22115
|
-
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
22116
|
-
};
|
|
22117
|
-
|
|
22118
|
-
|
|
22119
|
-
/**
|
|
22120
|
-
* Clears the list making it empty but non-null.
|
|
22121
|
-
* @return {!proto.zaber.motion.protobufs.LockstepGetTwistsResponse} returns this
|
|
22122
|
-
*/
|
|
22123
|
-
proto.zaber.motion.protobufs.LockstepGetTwistsResponse.prototype.clearTwistsList = function() {
|
|
22124
|
-
return this.setTwistsList([]);
|
|
22125
|
-
};
|
|
22126
|
-
|
|
22127
|
-
|
|
22128
|
-
|
|
22129
22850
|
|
|
22130
22851
|
|
|
22131
22852
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -22141,8 +22862,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
22141
22862
|
* http://goto/soy-param-migration
|
|
22142
22863
|
* @return {!Object}
|
|
22143
22864
|
*/
|
|
22144
|
-
proto.zaber.motion.protobufs.
|
|
22145
|
-
return proto.zaber.motion.protobufs.
|
|
22865
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.prototype.toObject = function(opt_includeInstance) {
|
|
22866
|
+
return proto.zaber.motion.protobufs.LockstepSetRequest.toObject(opt_includeInstance, this);
|
|
22146
22867
|
};
|
|
22147
22868
|
|
|
22148
22869
|
|
|
@@ -22151,16 +22872,18 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.toObject = func
|
|
|
22151
22872
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22152
22873
|
* the JSPB instance for transitional soy proto support:
|
|
22153
22874
|
* http://goto/soy-param-migration
|
|
22154
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
22875
|
+
* @param {!proto.zaber.motion.protobufs.LockstepSetRequest} msg The msg instance to transform.
|
|
22155
22876
|
* @return {!Object}
|
|
22156
22877
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22157
22878
|
*/
|
|
22158
|
-
proto.zaber.motion.protobufs.
|
|
22879
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.toObject = function(includeInstance, msg) {
|
|
22159
22880
|
var f, obj = {
|
|
22160
22881
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22161
22882
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22162
22883
|
lockstepGroupId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
22163
|
-
|
|
22884
|
+
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
22885
|
+
unit: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
22886
|
+
axisIndex: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
22164
22887
|
};
|
|
22165
22888
|
|
|
22166
22889
|
if (includeInstance) {
|
|
@@ -22174,23 +22897,23 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.toObject = function(inclu
|
|
|
22174
22897
|
/**
|
|
22175
22898
|
* Deserializes binary data (in protobuf wire format).
|
|
22176
22899
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22177
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22900
|
+
* @return {!proto.zaber.motion.protobufs.LockstepSetRequest}
|
|
22178
22901
|
*/
|
|
22179
|
-
proto.zaber.motion.protobufs.
|
|
22902
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.deserializeBinary = function(bytes) {
|
|
22180
22903
|
var reader = new jspb.BinaryReader(bytes);
|
|
22181
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
22182
|
-
return proto.zaber.motion.protobufs.
|
|
22904
|
+
var msg = new proto.zaber.motion.protobufs.LockstepSetRequest;
|
|
22905
|
+
return proto.zaber.motion.protobufs.LockstepSetRequest.deserializeBinaryFromReader(msg, reader);
|
|
22183
22906
|
};
|
|
22184
22907
|
|
|
22185
22908
|
|
|
22186
22909
|
/**
|
|
22187
22910
|
* Deserializes binary data (in protobuf wire format) from the
|
|
22188
22911
|
* given reader into the given message object.
|
|
22189
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
22912
|
+
* @param {!proto.zaber.motion.protobufs.LockstepSetRequest} msg The message object to deserialize into.
|
|
22190
22913
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22191
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
22914
|
+
* @return {!proto.zaber.motion.protobufs.LockstepSetRequest}
|
|
22192
22915
|
*/
|
|
22193
|
-
proto.zaber.motion.protobufs.
|
|
22916
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
22194
22917
|
while (reader.nextField()) {
|
|
22195
22918
|
if (reader.isEndGroup()) {
|
|
22196
22919
|
break;
|
|
@@ -22210,9 +22933,17 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.deserializeBinaryFromRead
|
|
|
22210
22933
|
msg.setLockstepGroupId(value);
|
|
22211
22934
|
break;
|
|
22212
22935
|
case 4:
|
|
22936
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
22937
|
+
msg.setValue(value);
|
|
22938
|
+
break;
|
|
22939
|
+
case 5:
|
|
22213
22940
|
var value = /** @type {string} */ (reader.readString());
|
|
22214
22941
|
msg.setUnit(value);
|
|
22215
22942
|
break;
|
|
22943
|
+
case 6:
|
|
22944
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22945
|
+
msg.setAxisIndex(value);
|
|
22946
|
+
break;
|
|
22216
22947
|
default:
|
|
22217
22948
|
reader.skipField();
|
|
22218
22949
|
break;
|
|
@@ -22226,9 +22957,9 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.deserializeBinaryFromRead
|
|
|
22226
22957
|
* Serializes the message to binary data (in protobuf wire format).
|
|
22227
22958
|
* @return {!Uint8Array}
|
|
22228
22959
|
*/
|
|
22229
|
-
proto.zaber.motion.protobufs.
|
|
22960
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.prototype.serializeBinary = function() {
|
|
22230
22961
|
var writer = new jspb.BinaryWriter();
|
|
22231
|
-
proto.zaber.motion.protobufs.
|
|
22962
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.serializeBinaryToWriter(this, writer);
|
|
22232
22963
|
return writer.getResultBuffer();
|
|
22233
22964
|
};
|
|
22234
22965
|
|
|
@@ -22236,11 +22967,11 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.serializeBinary
|
|
|
22236
22967
|
/**
|
|
22237
22968
|
* Serializes the given message to binary data (in protobuf wire
|
|
22238
22969
|
* format), writing to the given BinaryWriter.
|
|
22239
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
22970
|
+
* @param {!proto.zaber.motion.protobufs.LockstepSetRequest} message
|
|
22240
22971
|
* @param {!jspb.BinaryWriter} writer
|
|
22241
22972
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22242
22973
|
*/
|
|
22243
|
-
proto.zaber.motion.protobufs.
|
|
22974
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.serializeBinaryToWriter = function(message, writer) {
|
|
22244
22975
|
var f = undefined;
|
|
22245
22976
|
f = message.getInterfaceId();
|
|
22246
22977
|
if (f !== 0) {
|
|
@@ -22263,10 +22994,24 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.serializeBinaryToWriter =
|
|
|
22263
22994
|
f
|
|
22264
22995
|
);
|
|
22265
22996
|
}
|
|
22997
|
+
f = message.getValue();
|
|
22998
|
+
if (f !== 0.0) {
|
|
22999
|
+
writer.writeDouble(
|
|
23000
|
+
4,
|
|
23001
|
+
f
|
|
23002
|
+
);
|
|
23003
|
+
}
|
|
22266
23004
|
f = message.getUnit();
|
|
22267
23005
|
if (f.length > 0) {
|
|
22268
23006
|
writer.writeString(
|
|
22269
|
-
|
|
23007
|
+
5,
|
|
23008
|
+
f
|
|
23009
|
+
);
|
|
23010
|
+
}
|
|
23011
|
+
f = message.getAxisIndex();
|
|
23012
|
+
if (f !== 0) {
|
|
23013
|
+
writer.writeInt32(
|
|
23014
|
+
6,
|
|
22270
23015
|
f
|
|
22271
23016
|
);
|
|
22272
23017
|
}
|
|
@@ -22277,16 +23022,16 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.serializeBinaryToWriter =
|
|
|
22277
23022
|
* optional int32 interface_id = 1;
|
|
22278
23023
|
* @return {number}
|
|
22279
23024
|
*/
|
|
22280
|
-
proto.zaber.motion.protobufs.
|
|
23025
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.prototype.getInterfaceId = function() {
|
|
22281
23026
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
22282
23027
|
};
|
|
22283
23028
|
|
|
22284
23029
|
|
|
22285
23030
|
/**
|
|
22286
23031
|
* @param {number} value
|
|
22287
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23032
|
+
* @return {!proto.zaber.motion.protobufs.LockstepSetRequest} returns this
|
|
22288
23033
|
*/
|
|
22289
|
-
proto.zaber.motion.protobufs.
|
|
23034
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.prototype.setInterfaceId = function(value) {
|
|
22290
23035
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
22291
23036
|
};
|
|
22292
23037
|
|
|
@@ -22295,16 +23040,16 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.setInterfaceId
|
|
|
22295
23040
|
* optional int32 device = 2;
|
|
22296
23041
|
* @return {number}
|
|
22297
23042
|
*/
|
|
22298
|
-
proto.zaber.motion.protobufs.
|
|
23043
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.prototype.getDevice = function() {
|
|
22299
23044
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
22300
23045
|
};
|
|
22301
23046
|
|
|
22302
23047
|
|
|
22303
23048
|
/**
|
|
22304
23049
|
* @param {number} value
|
|
22305
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23050
|
+
* @return {!proto.zaber.motion.protobufs.LockstepSetRequest} returns this
|
|
22306
23051
|
*/
|
|
22307
|
-
proto.zaber.motion.protobufs.
|
|
23052
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.prototype.setDevice = function(value) {
|
|
22308
23053
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
22309
23054
|
};
|
|
22310
23055
|
|
|
@@ -22313,193 +23058,71 @@ proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.setDevice = fun
|
|
|
22313
23058
|
* optional int32 lockstep_group_id = 3;
|
|
22314
23059
|
* @return {number}
|
|
22315
23060
|
*/
|
|
22316
|
-
proto.zaber.motion.protobufs.
|
|
23061
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.prototype.getLockstepGroupId = function() {
|
|
22317
23062
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
22318
23063
|
};
|
|
22319
23064
|
|
|
22320
23065
|
|
|
22321
23066
|
/**
|
|
22322
23067
|
* @param {number} value
|
|
22323
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
23068
|
+
* @return {!proto.zaber.motion.protobufs.LockstepSetRequest} returns this
|
|
22324
23069
|
*/
|
|
22325
|
-
proto.zaber.motion.protobufs.
|
|
23070
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.prototype.setLockstepGroupId = function(value) {
|
|
22326
23071
|
return jspb.Message.setProto3IntField(this, 3, value);
|
|
22327
23072
|
};
|
|
22328
23073
|
|
|
22329
23074
|
|
|
22330
23075
|
/**
|
|
22331
|
-
* optional
|
|
22332
|
-
* @return {
|
|
22333
|
-
*/
|
|
22334
|
-
proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.getUnit = function() {
|
|
22335
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
22336
|
-
};
|
|
22337
|
-
|
|
22338
|
-
|
|
22339
|
-
/**
|
|
22340
|
-
* @param {string} value
|
|
22341
|
-
* @return {!proto.zaber.motion.protobufs.LockstepGetOffsetsRequest} returns this
|
|
22342
|
-
*/
|
|
22343
|
-
proto.zaber.motion.protobufs.LockstepGetOffsetsRequest.prototype.setUnit = function(value) {
|
|
22344
|
-
return jspb.Message.setProto3StringField(this, 4, value);
|
|
22345
|
-
};
|
|
22346
|
-
|
|
22347
|
-
|
|
22348
|
-
|
|
22349
|
-
/**
|
|
22350
|
-
* List of repeated fields within this message type.
|
|
22351
|
-
* @private {!Array<number>}
|
|
22352
|
-
* @const
|
|
22353
|
-
*/
|
|
22354
|
-
proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.repeatedFields_ = [1];
|
|
22355
|
-
|
|
22356
|
-
|
|
22357
|
-
|
|
22358
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22359
|
-
/**
|
|
22360
|
-
* Creates an object representation of this proto.
|
|
22361
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
22362
|
-
* Optional fields that are not set will be set to undefined.
|
|
22363
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
22364
|
-
* For the list of reserved names please see:
|
|
22365
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
22366
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
22367
|
-
* JSPB instance for transitional soy proto support:
|
|
22368
|
-
* http://goto/soy-param-migration
|
|
22369
|
-
* @return {!Object}
|
|
22370
|
-
*/
|
|
22371
|
-
proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
22372
|
-
return proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.toObject(opt_includeInstance, this);
|
|
22373
|
-
};
|
|
22374
|
-
|
|
22375
|
-
|
|
22376
|
-
/**
|
|
22377
|
-
* Static version of the {@see toObject} method.
|
|
22378
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
22379
|
-
* the JSPB instance for transitional soy proto support:
|
|
22380
|
-
* http://goto/soy-param-migration
|
|
22381
|
-
* @param {!proto.zaber.motion.protobufs.LockstepGetOffsetsResponse} msg The msg instance to transform.
|
|
22382
|
-
* @return {!Object}
|
|
22383
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
22384
|
-
*/
|
|
22385
|
-
proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.toObject = function(includeInstance, msg) {
|
|
22386
|
-
var f, obj = {
|
|
22387
|
-
offsetsList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 1)) == null ? undefined : f
|
|
22388
|
-
};
|
|
22389
|
-
|
|
22390
|
-
if (includeInstance) {
|
|
22391
|
-
obj.$jspbMessageInstance = msg;
|
|
22392
|
-
}
|
|
22393
|
-
return obj;
|
|
22394
|
-
};
|
|
22395
|
-
}
|
|
22396
|
-
|
|
22397
|
-
|
|
22398
|
-
/**
|
|
22399
|
-
* Deserializes binary data (in protobuf wire format).
|
|
22400
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
22401
|
-
* @return {!proto.zaber.motion.protobufs.LockstepGetOffsetsResponse}
|
|
22402
|
-
*/
|
|
22403
|
-
proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.deserializeBinary = function(bytes) {
|
|
22404
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
22405
|
-
var msg = new proto.zaber.motion.protobufs.LockstepGetOffsetsResponse;
|
|
22406
|
-
return proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.deserializeBinaryFromReader(msg, reader);
|
|
22407
|
-
};
|
|
22408
|
-
|
|
22409
|
-
|
|
22410
|
-
/**
|
|
22411
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
22412
|
-
* given reader into the given message object.
|
|
22413
|
-
* @param {!proto.zaber.motion.protobufs.LockstepGetOffsetsResponse} msg The message object to deserialize into.
|
|
22414
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
22415
|
-
* @return {!proto.zaber.motion.protobufs.LockstepGetOffsetsResponse}
|
|
23076
|
+
* optional double value = 4;
|
|
23077
|
+
* @return {number}
|
|
22416
23078
|
*/
|
|
22417
|
-
proto.zaber.motion.protobufs.
|
|
22418
|
-
|
|
22419
|
-
if (reader.isEndGroup()) {
|
|
22420
|
-
break;
|
|
22421
|
-
}
|
|
22422
|
-
var field = reader.getFieldNumber();
|
|
22423
|
-
switch (field) {
|
|
22424
|
-
case 1:
|
|
22425
|
-
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedDouble() : [reader.readDouble()]);
|
|
22426
|
-
for (var i = 0; i < values.length; i++) {
|
|
22427
|
-
msg.addOffsets(values[i]);
|
|
22428
|
-
}
|
|
22429
|
-
break;
|
|
22430
|
-
default:
|
|
22431
|
-
reader.skipField();
|
|
22432
|
-
break;
|
|
22433
|
-
}
|
|
22434
|
-
}
|
|
22435
|
-
return msg;
|
|
23079
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.prototype.getValue = function() {
|
|
23080
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
22436
23081
|
};
|
|
22437
23082
|
|
|
22438
23083
|
|
|
22439
23084
|
/**
|
|
22440
|
-
*
|
|
22441
|
-
* @return {!
|
|
23085
|
+
* @param {number} value
|
|
23086
|
+
* @return {!proto.zaber.motion.protobufs.LockstepSetRequest} returns this
|
|
22442
23087
|
*/
|
|
22443
|
-
proto.zaber.motion.protobufs.
|
|
22444
|
-
|
|
22445
|
-
proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.serializeBinaryToWriter(this, writer);
|
|
22446
|
-
return writer.getResultBuffer();
|
|
23088
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.prototype.setValue = function(value) {
|
|
23089
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
22447
23090
|
};
|
|
22448
23091
|
|
|
22449
23092
|
|
|
22450
23093
|
/**
|
|
22451
|
-
*
|
|
22452
|
-
*
|
|
22453
|
-
* @param {!proto.zaber.motion.protobufs.LockstepGetOffsetsResponse} message
|
|
22454
|
-
* @param {!jspb.BinaryWriter} writer
|
|
22455
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23094
|
+
* optional string unit = 5;
|
|
23095
|
+
* @return {string}
|
|
22456
23096
|
*/
|
|
22457
|
-
proto.zaber.motion.protobufs.
|
|
22458
|
-
|
|
22459
|
-
f = message.getOffsetsList();
|
|
22460
|
-
if (f.length > 0) {
|
|
22461
|
-
writer.writePackedDouble(
|
|
22462
|
-
1,
|
|
22463
|
-
f
|
|
22464
|
-
);
|
|
22465
|
-
}
|
|
23097
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.prototype.getUnit = function() {
|
|
23098
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
22466
23099
|
};
|
|
22467
23100
|
|
|
22468
23101
|
|
|
22469
23102
|
/**
|
|
22470
|
-
*
|
|
22471
|
-
* @return {!
|
|
23103
|
+
* @param {string} value
|
|
23104
|
+
* @return {!proto.zaber.motion.protobufs.LockstepSetRequest} returns this
|
|
22472
23105
|
*/
|
|
22473
|
-
proto.zaber.motion.protobufs.
|
|
22474
|
-
return
|
|
23106
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.prototype.setUnit = function(value) {
|
|
23107
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
22475
23108
|
};
|
|
22476
23109
|
|
|
22477
23110
|
|
|
22478
23111
|
/**
|
|
22479
|
-
*
|
|
22480
|
-
* @return {
|
|
23112
|
+
* optional int32 axis_index = 6;
|
|
23113
|
+
* @return {number}
|
|
22481
23114
|
*/
|
|
22482
|
-
proto.zaber.motion.protobufs.
|
|
22483
|
-
return jspb.Message.
|
|
23115
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.prototype.getAxisIndex = function() {
|
|
23116
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
22484
23117
|
};
|
|
22485
23118
|
|
|
22486
23119
|
|
|
22487
23120
|
/**
|
|
22488
23121
|
* @param {number} value
|
|
22489
|
-
* @
|
|
22490
|
-
* @return {!proto.zaber.motion.protobufs.LockstepGetOffsetsResponse} returns this
|
|
23122
|
+
* @return {!proto.zaber.motion.protobufs.LockstepSetRequest} returns this
|
|
22491
23123
|
*/
|
|
22492
|
-
proto.zaber.motion.protobufs.
|
|
22493
|
-
return jspb.Message.
|
|
22494
|
-
};
|
|
22495
|
-
|
|
22496
|
-
|
|
22497
|
-
/**
|
|
22498
|
-
* Clears the list making it empty but non-null.
|
|
22499
|
-
* @return {!proto.zaber.motion.protobufs.LockstepGetOffsetsResponse} returns this
|
|
22500
|
-
*/
|
|
22501
|
-
proto.zaber.motion.protobufs.LockstepGetOffsetsResponse.prototype.clearOffsetsList = function() {
|
|
22502
|
-
return this.setOffsetsList([]);
|
|
23124
|
+
proto.zaber.motion.protobufs.LockstepSetRequest.prototype.setAxisIndex = function(value) {
|
|
23125
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
22503
23126
|
};
|
|
22504
23127
|
|
|
22505
23128
|
|
|
@@ -46007,7 +46630,8 @@ proto.zaber.motion.protobufs.Errors = {
|
|
|
46007
46630
|
INVALID_OPERATION: 43,
|
|
46008
46631
|
COMMAND_TOO_LONG: 44,
|
|
46009
46632
|
NO_VALUE_FOR_KEY: 45,
|
|
46010
|
-
DEVICE_DETECTION_FAILED: 46
|
|
46633
|
+
DEVICE_DETECTION_FAILED: 46,
|
|
46634
|
+
TIMEOUT: 47
|
|
46011
46635
|
};
|
|
46012
46636
|
|
|
46013
46637
|
/**
|