@zaber/motion 2.14.6 → 2.15.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/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
- package/dist/lib/ascii/axis.d.ts +4 -0
- package/dist/lib/ascii/axis.js +4 -0
- package/dist/lib/ascii/axis.js.map +1 -1
- package/dist/lib/ascii/lockstep.d.ts +4 -0
- package/dist/lib/ascii/lockstep.js +4 -0
- package/dist/lib/ascii/lockstep.js.map +1 -1
- package/dist/lib/ascii/oscilloscope.d.ts +20 -2
- package/dist/lib/ascii/oscilloscope.js +42 -2
- package/dist/lib/ascii/oscilloscope.js.map +1 -1
- package/dist/lib/ascii/oscilloscope_data.d.ts +2 -1
- package/dist/lib/ascii/oscilloscope_data.js +2 -1
- package/dist/lib/ascii/oscilloscope_data.js.map +1 -1
- package/dist/lib/ascii/storage.d.ts +26 -0
- package/dist/lib/ascii/storage.js +56 -0
- package/dist/lib/ascii/storage.js.map +1 -1
- package/dist/lib/exceptions/set_device_state_exception_data.d.ts +8 -0
- package/dist/lib/exceptions/set_device_state_exception_data.js +2 -0
- package/dist/lib/exceptions/set_device_state_exception_data.js.map +1 -1
- package/dist/lib/exceptions/set_peripheral_state_exception_data.d.ts +4 -0
- package/dist/lib/exceptions/set_peripheral_state_exception_data.js +1 -0
- package/dist/lib/exceptions/set_peripheral_state_exception_data.js.map +1 -1
- package/dist/lib/library.d.ts +5 -0
- package/dist/lib/library.js +9 -0
- package/dist/lib/library.js.map +1 -1
- package/dist/lib/protobufs/main_pb.d.ts +90 -0
- package/dist/lib/protobufs/main_pb.js +705 -5
- package/dist/lib/protobufs/main_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -80,6 +80,7 @@ goog.exportSymbol('zaber.motion.protobufs.DeviceSetStorageNumberRequest', null,
|
|
|
80
80
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetStorageRequest', null, proto);
|
|
81
81
|
goog.exportSymbol('zaber.motion.protobufs.DeviceSetUnitConversionsRequest', null, proto);
|
|
82
82
|
goog.exportSymbol('zaber.motion.protobufs.DeviceStopRequest', null, proto);
|
|
83
|
+
goog.exportSymbol('zaber.motion.protobufs.DeviceStorageListKeysRequest', null, proto);
|
|
83
84
|
goog.exportSymbol('zaber.motion.protobufs.DeviceStorageRequest', null, proto);
|
|
84
85
|
goog.exportSymbol('zaber.motion.protobufs.DeviceWaitUntilIdleRequest', null, proto);
|
|
85
86
|
goog.exportSymbol('zaber.motion.protobufs.DisconnectedEvent', null, proto);
|
|
@@ -142,6 +143,7 @@ goog.exportSymbol('zaber.motion.protobufs.SetDeviceDbSourceRequest', null, proto
|
|
|
142
143
|
goog.exportSymbol('zaber.motion.protobufs.SetDeviceStateExceptionData', null, proto);
|
|
143
144
|
goog.exportSymbol('zaber.motion.protobufs.SetInterfaceChecksumEnabledRequest', null, proto);
|
|
144
145
|
goog.exportSymbol('zaber.motion.protobufs.SetInterfaceTimeoutRequest', null, proto);
|
|
146
|
+
goog.exportSymbol('zaber.motion.protobufs.SetInternalModeRequest', null, proto);
|
|
145
147
|
goog.exportSymbol('zaber.motion.protobufs.SetLogOutputRequest', null, proto);
|
|
146
148
|
goog.exportSymbol('zaber.motion.protobufs.SetPeripheralStateExceptionData', null, proto);
|
|
147
149
|
goog.exportSymbol('zaber.motion.protobufs.SetServoTuningPIDRequest', null, proto);
|
|
@@ -187,6 +189,7 @@ goog.exportSymbol('zaber.motion.protobufs.StreamWaitAnalogInputRequest', null, p
|
|
|
187
189
|
goog.exportSymbol('zaber.motion.protobufs.StreamWaitDigitalInputRequest', null, proto);
|
|
188
190
|
goog.exportSymbol('zaber.motion.protobufs.StreamWaitRequest', null, proto);
|
|
189
191
|
goog.exportSymbol('zaber.motion.protobufs.StreamWaitUntilIdleRequest', null, proto);
|
|
192
|
+
goog.exportSymbol('zaber.motion.protobufs.StringArrayResponse', null, proto);
|
|
190
193
|
goog.exportSymbol('zaber.motion.protobufs.StringResponse', null, proto);
|
|
191
194
|
goog.exportSymbol('zaber.motion.protobufs.TestEvent', null, proto);
|
|
192
195
|
goog.exportSymbol('zaber.motion.protobufs.TestRequest', null, proto);
|
|
@@ -384,6 +387,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
384
387
|
*/
|
|
385
388
|
proto.zaber.motion.protobufs.StringResponse.displayName = 'proto.zaber.motion.protobufs.StringResponse';
|
|
386
389
|
}
|
|
390
|
+
/**
|
|
391
|
+
* Generated by JsPbCodeGenerator.
|
|
392
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
393
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
394
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
395
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
396
|
+
* valid.
|
|
397
|
+
* @extends {jspb.Message}
|
|
398
|
+
* @constructor
|
|
399
|
+
*/
|
|
400
|
+
proto.zaber.motion.protobufs.StringArrayResponse = function(opt_data) {
|
|
401
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.StringArrayResponse.repeatedFields_, null);
|
|
402
|
+
};
|
|
403
|
+
goog.inherits(proto.zaber.motion.protobufs.StringArrayResponse, jspb.Message);
|
|
404
|
+
if (goog.DEBUG && !COMPILED) {
|
|
405
|
+
/**
|
|
406
|
+
* @public
|
|
407
|
+
* @override
|
|
408
|
+
*/
|
|
409
|
+
proto.zaber.motion.protobufs.StringArrayResponse.displayName = 'proto.zaber.motion.protobufs.StringArrayResponse';
|
|
410
|
+
}
|
|
387
411
|
/**
|
|
388
412
|
* Generated by JsPbCodeGenerator.
|
|
389
413
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -888,6 +912,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
888
912
|
*/
|
|
889
913
|
proto.zaber.motion.protobufs.ToolsListSerialPortsResponse.displayName = 'proto.zaber.motion.protobufs.ToolsListSerialPortsResponse';
|
|
890
914
|
}
|
|
915
|
+
/**
|
|
916
|
+
* Generated by JsPbCodeGenerator.
|
|
917
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
918
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
919
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
920
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
921
|
+
* valid.
|
|
922
|
+
* @extends {jspb.Message}
|
|
923
|
+
* @constructor
|
|
924
|
+
*/
|
|
925
|
+
proto.zaber.motion.protobufs.SetInternalModeRequest = function(opt_data) {
|
|
926
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
927
|
+
};
|
|
928
|
+
goog.inherits(proto.zaber.motion.protobufs.SetInternalModeRequest, jspb.Message);
|
|
929
|
+
if (goog.DEBUG && !COMPILED) {
|
|
930
|
+
/**
|
|
931
|
+
* @public
|
|
932
|
+
* @override
|
|
933
|
+
*/
|
|
934
|
+
proto.zaber.motion.protobufs.SetInternalModeRequest.displayName = 'proto.zaber.motion.protobufs.SetInternalModeRequest';
|
|
935
|
+
}
|
|
891
936
|
/**
|
|
892
937
|
* Generated by JsPbCodeGenerator.
|
|
893
938
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -4143,6 +4188,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4143
4188
|
*/
|
|
4144
4189
|
proto.zaber.motion.protobufs.DeviceStorageRequest.displayName = 'proto.zaber.motion.protobufs.DeviceStorageRequest';
|
|
4145
4190
|
}
|
|
4191
|
+
/**
|
|
4192
|
+
* Generated by JsPbCodeGenerator.
|
|
4193
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4194
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4195
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4196
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4197
|
+
* valid.
|
|
4198
|
+
* @extends {jspb.Message}
|
|
4199
|
+
* @constructor
|
|
4200
|
+
*/
|
|
4201
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest = function(opt_data) {
|
|
4202
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4203
|
+
};
|
|
4204
|
+
goog.inherits(proto.zaber.motion.protobufs.DeviceStorageListKeysRequest, jspb.Message);
|
|
4205
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4206
|
+
/**
|
|
4207
|
+
* @public
|
|
4208
|
+
* @override
|
|
4209
|
+
*/
|
|
4210
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.displayName = 'proto.zaber.motion.protobufs.DeviceStorageListKeysRequest';
|
|
4211
|
+
}
|
|
4146
4212
|
/**
|
|
4147
4213
|
* Generated by JsPbCodeGenerator.
|
|
4148
4214
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5265,6 +5331,162 @@ proto.zaber.motion.protobufs.StringResponse.prototype.setValue = function(value)
|
|
|
5265
5331
|
|
|
5266
5332
|
|
|
5267
5333
|
|
|
5334
|
+
/**
|
|
5335
|
+
* List of repeated fields within this message type.
|
|
5336
|
+
* @private {!Array<number>}
|
|
5337
|
+
* @const
|
|
5338
|
+
*/
|
|
5339
|
+
proto.zaber.motion.protobufs.StringArrayResponse.repeatedFields_ = [1];
|
|
5340
|
+
|
|
5341
|
+
|
|
5342
|
+
|
|
5343
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5344
|
+
/**
|
|
5345
|
+
* Creates an object representation of this proto.
|
|
5346
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5347
|
+
* Optional fields that are not set will be set to undefined.
|
|
5348
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5349
|
+
* For the list of reserved names please see:
|
|
5350
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5351
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5352
|
+
* JSPB instance for transitional soy proto support:
|
|
5353
|
+
* http://goto/soy-param-migration
|
|
5354
|
+
* @return {!Object}
|
|
5355
|
+
*/
|
|
5356
|
+
proto.zaber.motion.protobufs.StringArrayResponse.prototype.toObject = function(opt_includeInstance) {
|
|
5357
|
+
return proto.zaber.motion.protobufs.StringArrayResponse.toObject(opt_includeInstance, this);
|
|
5358
|
+
};
|
|
5359
|
+
|
|
5360
|
+
|
|
5361
|
+
/**
|
|
5362
|
+
* Static version of the {@see toObject} method.
|
|
5363
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5364
|
+
* the JSPB instance for transitional soy proto support:
|
|
5365
|
+
* http://goto/soy-param-migration
|
|
5366
|
+
* @param {!proto.zaber.motion.protobufs.StringArrayResponse} msg The msg instance to transform.
|
|
5367
|
+
* @return {!Object}
|
|
5368
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5369
|
+
*/
|
|
5370
|
+
proto.zaber.motion.protobufs.StringArrayResponse.toObject = function(includeInstance, msg) {
|
|
5371
|
+
var f, obj = {
|
|
5372
|
+
valuesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
5373
|
+
};
|
|
5374
|
+
|
|
5375
|
+
if (includeInstance) {
|
|
5376
|
+
obj.$jspbMessageInstance = msg;
|
|
5377
|
+
}
|
|
5378
|
+
return obj;
|
|
5379
|
+
};
|
|
5380
|
+
}
|
|
5381
|
+
|
|
5382
|
+
|
|
5383
|
+
/**
|
|
5384
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5385
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5386
|
+
* @return {!proto.zaber.motion.protobufs.StringArrayResponse}
|
|
5387
|
+
*/
|
|
5388
|
+
proto.zaber.motion.protobufs.StringArrayResponse.deserializeBinary = function(bytes) {
|
|
5389
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5390
|
+
var msg = new proto.zaber.motion.protobufs.StringArrayResponse;
|
|
5391
|
+
return proto.zaber.motion.protobufs.StringArrayResponse.deserializeBinaryFromReader(msg, reader);
|
|
5392
|
+
};
|
|
5393
|
+
|
|
5394
|
+
|
|
5395
|
+
/**
|
|
5396
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5397
|
+
* given reader into the given message object.
|
|
5398
|
+
* @param {!proto.zaber.motion.protobufs.StringArrayResponse} msg The message object to deserialize into.
|
|
5399
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5400
|
+
* @return {!proto.zaber.motion.protobufs.StringArrayResponse}
|
|
5401
|
+
*/
|
|
5402
|
+
proto.zaber.motion.protobufs.StringArrayResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5403
|
+
while (reader.nextField()) {
|
|
5404
|
+
if (reader.isEndGroup()) {
|
|
5405
|
+
break;
|
|
5406
|
+
}
|
|
5407
|
+
var field = reader.getFieldNumber();
|
|
5408
|
+
switch (field) {
|
|
5409
|
+
case 1:
|
|
5410
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5411
|
+
msg.addValues(value);
|
|
5412
|
+
break;
|
|
5413
|
+
default:
|
|
5414
|
+
reader.skipField();
|
|
5415
|
+
break;
|
|
5416
|
+
}
|
|
5417
|
+
}
|
|
5418
|
+
return msg;
|
|
5419
|
+
};
|
|
5420
|
+
|
|
5421
|
+
|
|
5422
|
+
/**
|
|
5423
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5424
|
+
* @return {!Uint8Array}
|
|
5425
|
+
*/
|
|
5426
|
+
proto.zaber.motion.protobufs.StringArrayResponse.prototype.serializeBinary = function() {
|
|
5427
|
+
var writer = new jspb.BinaryWriter();
|
|
5428
|
+
proto.zaber.motion.protobufs.StringArrayResponse.serializeBinaryToWriter(this, writer);
|
|
5429
|
+
return writer.getResultBuffer();
|
|
5430
|
+
};
|
|
5431
|
+
|
|
5432
|
+
|
|
5433
|
+
/**
|
|
5434
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5435
|
+
* format), writing to the given BinaryWriter.
|
|
5436
|
+
* @param {!proto.zaber.motion.protobufs.StringArrayResponse} message
|
|
5437
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5438
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5439
|
+
*/
|
|
5440
|
+
proto.zaber.motion.protobufs.StringArrayResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5441
|
+
var f = undefined;
|
|
5442
|
+
f = message.getValuesList();
|
|
5443
|
+
if (f.length > 0) {
|
|
5444
|
+
writer.writeRepeatedString(
|
|
5445
|
+
1,
|
|
5446
|
+
f
|
|
5447
|
+
);
|
|
5448
|
+
}
|
|
5449
|
+
};
|
|
5450
|
+
|
|
5451
|
+
|
|
5452
|
+
/**
|
|
5453
|
+
* repeated string values = 1;
|
|
5454
|
+
* @return {!Array<string>}
|
|
5455
|
+
*/
|
|
5456
|
+
proto.zaber.motion.protobufs.StringArrayResponse.prototype.getValuesList = function() {
|
|
5457
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
5458
|
+
};
|
|
5459
|
+
|
|
5460
|
+
|
|
5461
|
+
/**
|
|
5462
|
+
* @param {!Array<string>} value
|
|
5463
|
+
* @return {!proto.zaber.motion.protobufs.StringArrayResponse} returns this
|
|
5464
|
+
*/
|
|
5465
|
+
proto.zaber.motion.protobufs.StringArrayResponse.prototype.setValuesList = function(value) {
|
|
5466
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
5467
|
+
};
|
|
5468
|
+
|
|
5469
|
+
|
|
5470
|
+
/**
|
|
5471
|
+
* @param {string} value
|
|
5472
|
+
* @param {number=} opt_index
|
|
5473
|
+
* @return {!proto.zaber.motion.protobufs.StringArrayResponse} returns this
|
|
5474
|
+
*/
|
|
5475
|
+
proto.zaber.motion.protobufs.StringArrayResponse.prototype.addValues = function(value, opt_index) {
|
|
5476
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
5477
|
+
};
|
|
5478
|
+
|
|
5479
|
+
|
|
5480
|
+
/**
|
|
5481
|
+
* Clears the list making it empty but non-null.
|
|
5482
|
+
* @return {!proto.zaber.motion.protobufs.StringArrayResponse} returns this
|
|
5483
|
+
*/
|
|
5484
|
+
proto.zaber.motion.protobufs.StringArrayResponse.prototype.clearValuesList = function() {
|
|
5485
|
+
return this.setValuesList([]);
|
|
5486
|
+
};
|
|
5487
|
+
|
|
5488
|
+
|
|
5489
|
+
|
|
5268
5490
|
|
|
5269
5491
|
|
|
5270
5492
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -8292,7 +8514,7 @@ proto.zaber.motion.protobufs.BinaryCommandFailedExceptionData.prototype.setRespo
|
|
|
8292
8514
|
* @private {!Array<number>}
|
|
8293
8515
|
* @const
|
|
8294
8516
|
*/
|
|
8295
|
-
proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.repeatedFields_ = [2,4];
|
|
8517
|
+
proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.repeatedFields_ = [2,4,5];
|
|
8296
8518
|
|
|
8297
8519
|
|
|
8298
8520
|
|
|
@@ -8328,7 +8550,8 @@ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.toObject = function
|
|
|
8328
8550
|
axisNumber: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
8329
8551
|
settingsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
8330
8552
|
servoTuning: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
8331
|
-
storageList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
8553
|
+
storageList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
8554
|
+
storedPositionsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
8332
8555
|
};
|
|
8333
8556
|
|
|
8334
8557
|
if (includeInstance) {
|
|
@@ -8381,6 +8604,10 @@ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.deserializeBinaryFr
|
|
|
8381
8604
|
var value = /** @type {string} */ (reader.readString());
|
|
8382
8605
|
msg.addStorage(value);
|
|
8383
8606
|
break;
|
|
8607
|
+
case 5:
|
|
8608
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8609
|
+
msg.addStoredPositions(value);
|
|
8610
|
+
break;
|
|
8384
8611
|
default:
|
|
8385
8612
|
reader.skipField();
|
|
8386
8613
|
break;
|
|
@@ -8438,6 +8665,13 @@ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.serializeBinaryToWr
|
|
|
8438
8665
|
f
|
|
8439
8666
|
);
|
|
8440
8667
|
}
|
|
8668
|
+
f = message.getStoredPositionsList();
|
|
8669
|
+
if (f.length > 0) {
|
|
8670
|
+
writer.writeRepeatedString(
|
|
8671
|
+
5,
|
|
8672
|
+
f
|
|
8673
|
+
);
|
|
8674
|
+
}
|
|
8441
8675
|
};
|
|
8442
8676
|
|
|
8443
8677
|
|
|
@@ -8551,13 +8785,50 @@ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.clearStor
|
|
|
8551
8785
|
};
|
|
8552
8786
|
|
|
8553
8787
|
|
|
8788
|
+
/**
|
|
8789
|
+
* repeated string stored_positions = 5;
|
|
8790
|
+
* @return {!Array<string>}
|
|
8791
|
+
*/
|
|
8792
|
+
proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.getStoredPositionsList = function() {
|
|
8793
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
8794
|
+
};
|
|
8795
|
+
|
|
8796
|
+
|
|
8797
|
+
/**
|
|
8798
|
+
* @param {!Array<string>} value
|
|
8799
|
+
* @return {!proto.zaber.motion.protobufs.SetPeripheralStateExceptionData} returns this
|
|
8800
|
+
*/
|
|
8801
|
+
proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.setStoredPositionsList = function(value) {
|
|
8802
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
8803
|
+
};
|
|
8804
|
+
|
|
8805
|
+
|
|
8806
|
+
/**
|
|
8807
|
+
* @param {string} value
|
|
8808
|
+
* @param {number=} opt_index
|
|
8809
|
+
* @return {!proto.zaber.motion.protobufs.SetPeripheralStateExceptionData} returns this
|
|
8810
|
+
*/
|
|
8811
|
+
proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.addStoredPositions = function(value, opt_index) {
|
|
8812
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
8813
|
+
};
|
|
8814
|
+
|
|
8815
|
+
|
|
8816
|
+
/**
|
|
8817
|
+
* Clears the list making it empty but non-null.
|
|
8818
|
+
* @return {!proto.zaber.motion.protobufs.SetPeripheralStateExceptionData} returns this
|
|
8819
|
+
*/
|
|
8820
|
+
proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.clearStoredPositionsList = function() {
|
|
8821
|
+
return this.setStoredPositionsList([]);
|
|
8822
|
+
};
|
|
8823
|
+
|
|
8824
|
+
|
|
8554
8825
|
|
|
8555
8826
|
/**
|
|
8556
8827
|
* List of repeated fields within this message type.
|
|
8557
8828
|
* @private {!Array<number>}
|
|
8558
8829
|
* @const
|
|
8559
8830
|
*/
|
|
8560
|
-
proto.zaber.motion.protobufs.SetDeviceStateExceptionData.repeatedFields_ = [2,3,4,5,8];
|
|
8831
|
+
proto.zaber.motion.protobufs.SetDeviceStateExceptionData.repeatedFields_ = [2,3,4,5,8,9];
|
|
8561
8832
|
|
|
8562
8833
|
|
|
8563
8834
|
|
|
@@ -8597,7 +8868,8 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.toObject = function(inc
|
|
|
8597
8868
|
triggersList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
8598
8869
|
ipConfig: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
8599
8870
|
servoTuning: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
8600
|
-
storageList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
|
|
8871
|
+
storageList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
8872
|
+
storedPositionsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
|
|
8601
8873
|
};
|
|
8602
8874
|
|
|
8603
8875
|
if (includeInstance) {
|
|
@@ -8663,6 +8935,10 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.deserializeBinaryFromRe
|
|
|
8663
8935
|
var value = /** @type {string} */ (reader.readString());
|
|
8664
8936
|
msg.addStorage(value);
|
|
8665
8937
|
break;
|
|
8938
|
+
case 9:
|
|
8939
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8940
|
+
msg.addStoredPositions(value);
|
|
8941
|
+
break;
|
|
8666
8942
|
default:
|
|
8667
8943
|
reader.skipField();
|
|
8668
8944
|
break;
|
|
@@ -8742,6 +9018,13 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.serializeBinaryToWriter
|
|
|
8742
9018
|
f
|
|
8743
9019
|
);
|
|
8744
9020
|
}
|
|
9021
|
+
f = message.getStoredPositionsList();
|
|
9022
|
+
if (f.length > 0) {
|
|
9023
|
+
writer.writeRepeatedString(
|
|
9024
|
+
9,
|
|
9025
|
+
f
|
|
9026
|
+
);
|
|
9027
|
+
}
|
|
8745
9028
|
};
|
|
8746
9029
|
|
|
8747
9030
|
|
|
@@ -8967,6 +9250,43 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.clearStorageL
|
|
|
8967
9250
|
};
|
|
8968
9251
|
|
|
8969
9252
|
|
|
9253
|
+
/**
|
|
9254
|
+
* repeated string stored_positions = 9;
|
|
9255
|
+
* @return {!Array<string>}
|
|
9256
|
+
*/
|
|
9257
|
+
proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.getStoredPositionsList = function() {
|
|
9258
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
|
|
9259
|
+
};
|
|
9260
|
+
|
|
9261
|
+
|
|
9262
|
+
/**
|
|
9263
|
+
* @param {!Array<string>} value
|
|
9264
|
+
* @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
|
|
9265
|
+
*/
|
|
9266
|
+
proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.setStoredPositionsList = function(value) {
|
|
9267
|
+
return jspb.Message.setField(this, 9, value || []);
|
|
9268
|
+
};
|
|
9269
|
+
|
|
9270
|
+
|
|
9271
|
+
/**
|
|
9272
|
+
* @param {string} value
|
|
9273
|
+
* @param {number=} opt_index
|
|
9274
|
+
* @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
|
|
9275
|
+
*/
|
|
9276
|
+
proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.addStoredPositions = function(value, opt_index) {
|
|
9277
|
+
return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
|
|
9278
|
+
};
|
|
9279
|
+
|
|
9280
|
+
|
|
9281
|
+
/**
|
|
9282
|
+
* Clears the list making it empty but non-null.
|
|
9283
|
+
* @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
|
|
9284
|
+
*/
|
|
9285
|
+
proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.clearStoredPositionsList = function() {
|
|
9286
|
+
return this.setStoredPositionsList([]);
|
|
9287
|
+
};
|
|
9288
|
+
|
|
9289
|
+
|
|
8970
9290
|
|
|
8971
9291
|
|
|
8972
9292
|
|
|
@@ -9952,6 +10272,136 @@ proto.zaber.motion.protobufs.ToolsListSerialPortsResponse.prototype.clearPortsLi
|
|
|
9952
10272
|
|
|
9953
10273
|
|
|
9954
10274
|
|
|
10275
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10276
|
+
/**
|
|
10277
|
+
* Creates an object representation of this proto.
|
|
10278
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10279
|
+
* Optional fields that are not set will be set to undefined.
|
|
10280
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10281
|
+
* For the list of reserved names please see:
|
|
10282
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10283
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10284
|
+
* JSPB instance for transitional soy proto support:
|
|
10285
|
+
* http://goto/soy-param-migration
|
|
10286
|
+
* @return {!Object}
|
|
10287
|
+
*/
|
|
10288
|
+
proto.zaber.motion.protobufs.SetInternalModeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10289
|
+
return proto.zaber.motion.protobufs.SetInternalModeRequest.toObject(opt_includeInstance, this);
|
|
10290
|
+
};
|
|
10291
|
+
|
|
10292
|
+
|
|
10293
|
+
/**
|
|
10294
|
+
* Static version of the {@see toObject} method.
|
|
10295
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10296
|
+
* the JSPB instance for transitional soy proto support:
|
|
10297
|
+
* http://goto/soy-param-migration
|
|
10298
|
+
* @param {!proto.zaber.motion.protobufs.SetInternalModeRequest} msg The msg instance to transform.
|
|
10299
|
+
* @return {!Object}
|
|
10300
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10301
|
+
*/
|
|
10302
|
+
proto.zaber.motion.protobufs.SetInternalModeRequest.toObject = function(includeInstance, msg) {
|
|
10303
|
+
var f, obj = {
|
|
10304
|
+
mode: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
|
|
10305
|
+
};
|
|
10306
|
+
|
|
10307
|
+
if (includeInstance) {
|
|
10308
|
+
obj.$jspbMessageInstance = msg;
|
|
10309
|
+
}
|
|
10310
|
+
return obj;
|
|
10311
|
+
};
|
|
10312
|
+
}
|
|
10313
|
+
|
|
10314
|
+
|
|
10315
|
+
/**
|
|
10316
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10317
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10318
|
+
* @return {!proto.zaber.motion.protobufs.SetInternalModeRequest}
|
|
10319
|
+
*/
|
|
10320
|
+
proto.zaber.motion.protobufs.SetInternalModeRequest.deserializeBinary = function(bytes) {
|
|
10321
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10322
|
+
var msg = new proto.zaber.motion.protobufs.SetInternalModeRequest;
|
|
10323
|
+
return proto.zaber.motion.protobufs.SetInternalModeRequest.deserializeBinaryFromReader(msg, reader);
|
|
10324
|
+
};
|
|
10325
|
+
|
|
10326
|
+
|
|
10327
|
+
/**
|
|
10328
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10329
|
+
* given reader into the given message object.
|
|
10330
|
+
* @param {!proto.zaber.motion.protobufs.SetInternalModeRequest} msg The message object to deserialize into.
|
|
10331
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10332
|
+
* @return {!proto.zaber.motion.protobufs.SetInternalModeRequest}
|
|
10333
|
+
*/
|
|
10334
|
+
proto.zaber.motion.protobufs.SetInternalModeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10335
|
+
while (reader.nextField()) {
|
|
10336
|
+
if (reader.isEndGroup()) {
|
|
10337
|
+
break;
|
|
10338
|
+
}
|
|
10339
|
+
var field = reader.getFieldNumber();
|
|
10340
|
+
switch (field) {
|
|
10341
|
+
case 1:
|
|
10342
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
10343
|
+
msg.setMode(value);
|
|
10344
|
+
break;
|
|
10345
|
+
default:
|
|
10346
|
+
reader.skipField();
|
|
10347
|
+
break;
|
|
10348
|
+
}
|
|
10349
|
+
}
|
|
10350
|
+
return msg;
|
|
10351
|
+
};
|
|
10352
|
+
|
|
10353
|
+
|
|
10354
|
+
/**
|
|
10355
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10356
|
+
* @return {!Uint8Array}
|
|
10357
|
+
*/
|
|
10358
|
+
proto.zaber.motion.protobufs.SetInternalModeRequest.prototype.serializeBinary = function() {
|
|
10359
|
+
var writer = new jspb.BinaryWriter();
|
|
10360
|
+
proto.zaber.motion.protobufs.SetInternalModeRequest.serializeBinaryToWriter(this, writer);
|
|
10361
|
+
return writer.getResultBuffer();
|
|
10362
|
+
};
|
|
10363
|
+
|
|
10364
|
+
|
|
10365
|
+
/**
|
|
10366
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10367
|
+
* format), writing to the given BinaryWriter.
|
|
10368
|
+
* @param {!proto.zaber.motion.protobufs.SetInternalModeRequest} message
|
|
10369
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10370
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10371
|
+
*/
|
|
10372
|
+
proto.zaber.motion.protobufs.SetInternalModeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10373
|
+
var f = undefined;
|
|
10374
|
+
f = message.getMode();
|
|
10375
|
+
if (f) {
|
|
10376
|
+
writer.writeBool(
|
|
10377
|
+
1,
|
|
10378
|
+
f
|
|
10379
|
+
);
|
|
10380
|
+
}
|
|
10381
|
+
};
|
|
10382
|
+
|
|
10383
|
+
|
|
10384
|
+
/**
|
|
10385
|
+
* optional bool mode = 1;
|
|
10386
|
+
* @return {boolean}
|
|
10387
|
+
*/
|
|
10388
|
+
proto.zaber.motion.protobufs.SetInternalModeRequest.prototype.getMode = function() {
|
|
10389
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
10390
|
+
};
|
|
10391
|
+
|
|
10392
|
+
|
|
10393
|
+
/**
|
|
10394
|
+
* @param {boolean} value
|
|
10395
|
+
* @return {!proto.zaber.motion.protobufs.SetInternalModeRequest} returns this
|
|
10396
|
+
*/
|
|
10397
|
+
proto.zaber.motion.protobufs.SetInternalModeRequest.prototype.setMode = function(value) {
|
|
10398
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
10399
|
+
};
|
|
10400
|
+
|
|
10401
|
+
|
|
10402
|
+
|
|
10403
|
+
|
|
10404
|
+
|
|
9955
10405
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9956
10406
|
/**
|
|
9957
10407
|
* Creates an object representation of this proto.
|
|
@@ -22151,7 +22601,8 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.toObject = function(in
|
|
|
22151
22601
|
var f, obj = {
|
|
22152
22602
|
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
22153
22603
|
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
22154
|
-
start: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
22604
|
+
start: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
22605
|
+
captureLength: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
22155
22606
|
};
|
|
22156
22607
|
|
|
22157
22608
|
if (includeInstance) {
|
|
@@ -22200,6 +22651,10 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.deserializeBinaryFromR
|
|
|
22200
22651
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
22201
22652
|
msg.setStart(value);
|
|
22202
22653
|
break;
|
|
22654
|
+
case 4:
|
|
22655
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
22656
|
+
msg.setCaptureLength(value);
|
|
22657
|
+
break;
|
|
22203
22658
|
default:
|
|
22204
22659
|
reader.skipField();
|
|
22205
22660
|
break;
|
|
@@ -22250,6 +22705,13 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.serializeBinaryToWrite
|
|
|
22250
22705
|
f
|
|
22251
22706
|
);
|
|
22252
22707
|
}
|
|
22708
|
+
f = message.getCaptureLength();
|
|
22709
|
+
if (f !== 0) {
|
|
22710
|
+
writer.writeInt32(
|
|
22711
|
+
4,
|
|
22712
|
+
f
|
|
22713
|
+
);
|
|
22714
|
+
}
|
|
22253
22715
|
};
|
|
22254
22716
|
|
|
22255
22717
|
|
|
@@ -22307,6 +22769,24 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.setStart = f
|
|
|
22307
22769
|
};
|
|
22308
22770
|
|
|
22309
22771
|
|
|
22772
|
+
/**
|
|
22773
|
+
* optional int32 capture_length = 4;
|
|
22774
|
+
* @return {number}
|
|
22775
|
+
*/
|
|
22776
|
+
proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.getCaptureLength = function() {
|
|
22777
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
22778
|
+
};
|
|
22779
|
+
|
|
22780
|
+
|
|
22781
|
+
/**
|
|
22782
|
+
* @param {number} value
|
|
22783
|
+
* @return {!proto.zaber.motion.protobufs.OscilloscopeStartStopRequest} returns this
|
|
22784
|
+
*/
|
|
22785
|
+
proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.setCaptureLength = function(value) {
|
|
22786
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
22787
|
+
};
|
|
22788
|
+
|
|
22789
|
+
|
|
22310
22790
|
|
|
22311
22791
|
/**
|
|
22312
22792
|
* List of repeated fields within this message type.
|
|
@@ -44004,6 +44484,226 @@ proto.zaber.motion.protobufs.DeviceStorageRequest.prototype.setKey = function(va
|
|
|
44004
44484
|
|
|
44005
44485
|
|
|
44006
44486
|
|
|
44487
|
+
|
|
44488
|
+
|
|
44489
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
44490
|
+
/**
|
|
44491
|
+
* Creates an object representation of this proto.
|
|
44492
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
44493
|
+
* Optional fields that are not set will be set to undefined.
|
|
44494
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
44495
|
+
* For the list of reserved names please see:
|
|
44496
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
44497
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
44498
|
+
* JSPB instance for transitional soy proto support:
|
|
44499
|
+
* http://goto/soy-param-migration
|
|
44500
|
+
* @return {!Object}
|
|
44501
|
+
*/
|
|
44502
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.toObject = function(opt_includeInstance) {
|
|
44503
|
+
return proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.toObject(opt_includeInstance, this);
|
|
44504
|
+
};
|
|
44505
|
+
|
|
44506
|
+
|
|
44507
|
+
/**
|
|
44508
|
+
* Static version of the {@see toObject} method.
|
|
44509
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
44510
|
+
* the JSPB instance for transitional soy proto support:
|
|
44511
|
+
* http://goto/soy-param-migration
|
|
44512
|
+
* @param {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} msg The msg instance to transform.
|
|
44513
|
+
* @return {!Object}
|
|
44514
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44515
|
+
*/
|
|
44516
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.toObject = function(includeInstance, msg) {
|
|
44517
|
+
var f, obj = {
|
|
44518
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
44519
|
+
device: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
44520
|
+
axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
44521
|
+
prefix: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
44522
|
+
};
|
|
44523
|
+
|
|
44524
|
+
if (includeInstance) {
|
|
44525
|
+
obj.$jspbMessageInstance = msg;
|
|
44526
|
+
}
|
|
44527
|
+
return obj;
|
|
44528
|
+
};
|
|
44529
|
+
}
|
|
44530
|
+
|
|
44531
|
+
|
|
44532
|
+
/**
|
|
44533
|
+
* Deserializes binary data (in protobuf wire format).
|
|
44534
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
44535
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest}
|
|
44536
|
+
*/
|
|
44537
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.deserializeBinary = function(bytes) {
|
|
44538
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
44539
|
+
var msg = new proto.zaber.motion.protobufs.DeviceStorageListKeysRequest;
|
|
44540
|
+
return proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.deserializeBinaryFromReader(msg, reader);
|
|
44541
|
+
};
|
|
44542
|
+
|
|
44543
|
+
|
|
44544
|
+
/**
|
|
44545
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
44546
|
+
* given reader into the given message object.
|
|
44547
|
+
* @param {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} msg The message object to deserialize into.
|
|
44548
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
44549
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest}
|
|
44550
|
+
*/
|
|
44551
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
44552
|
+
while (reader.nextField()) {
|
|
44553
|
+
if (reader.isEndGroup()) {
|
|
44554
|
+
break;
|
|
44555
|
+
}
|
|
44556
|
+
var field = reader.getFieldNumber();
|
|
44557
|
+
switch (field) {
|
|
44558
|
+
case 1:
|
|
44559
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
44560
|
+
msg.setInterfaceId(value);
|
|
44561
|
+
break;
|
|
44562
|
+
case 2:
|
|
44563
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
44564
|
+
msg.setDevice(value);
|
|
44565
|
+
break;
|
|
44566
|
+
case 3:
|
|
44567
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
44568
|
+
msg.setAxis(value);
|
|
44569
|
+
break;
|
|
44570
|
+
case 4:
|
|
44571
|
+
var value = /** @type {string} */ (reader.readString());
|
|
44572
|
+
msg.setPrefix(value);
|
|
44573
|
+
break;
|
|
44574
|
+
default:
|
|
44575
|
+
reader.skipField();
|
|
44576
|
+
break;
|
|
44577
|
+
}
|
|
44578
|
+
}
|
|
44579
|
+
return msg;
|
|
44580
|
+
};
|
|
44581
|
+
|
|
44582
|
+
|
|
44583
|
+
/**
|
|
44584
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
44585
|
+
* @return {!Uint8Array}
|
|
44586
|
+
*/
|
|
44587
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.serializeBinary = function() {
|
|
44588
|
+
var writer = new jspb.BinaryWriter();
|
|
44589
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.serializeBinaryToWriter(this, writer);
|
|
44590
|
+
return writer.getResultBuffer();
|
|
44591
|
+
};
|
|
44592
|
+
|
|
44593
|
+
|
|
44594
|
+
/**
|
|
44595
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
44596
|
+
* format), writing to the given BinaryWriter.
|
|
44597
|
+
* @param {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} message
|
|
44598
|
+
* @param {!jspb.BinaryWriter} writer
|
|
44599
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44600
|
+
*/
|
|
44601
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.serializeBinaryToWriter = function(message, writer) {
|
|
44602
|
+
var f = undefined;
|
|
44603
|
+
f = message.getInterfaceId();
|
|
44604
|
+
if (f !== 0) {
|
|
44605
|
+
writer.writeInt32(
|
|
44606
|
+
1,
|
|
44607
|
+
f
|
|
44608
|
+
);
|
|
44609
|
+
}
|
|
44610
|
+
f = message.getDevice();
|
|
44611
|
+
if (f !== 0) {
|
|
44612
|
+
writer.writeInt32(
|
|
44613
|
+
2,
|
|
44614
|
+
f
|
|
44615
|
+
);
|
|
44616
|
+
}
|
|
44617
|
+
f = message.getAxis();
|
|
44618
|
+
if (f !== 0) {
|
|
44619
|
+
writer.writeInt32(
|
|
44620
|
+
3,
|
|
44621
|
+
f
|
|
44622
|
+
);
|
|
44623
|
+
}
|
|
44624
|
+
f = message.getPrefix();
|
|
44625
|
+
if (f.length > 0) {
|
|
44626
|
+
writer.writeString(
|
|
44627
|
+
4,
|
|
44628
|
+
f
|
|
44629
|
+
);
|
|
44630
|
+
}
|
|
44631
|
+
};
|
|
44632
|
+
|
|
44633
|
+
|
|
44634
|
+
/**
|
|
44635
|
+
* optional int32 interface_id = 1;
|
|
44636
|
+
* @return {number}
|
|
44637
|
+
*/
|
|
44638
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.getInterfaceId = function() {
|
|
44639
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
44640
|
+
};
|
|
44641
|
+
|
|
44642
|
+
|
|
44643
|
+
/**
|
|
44644
|
+
* @param {number} value
|
|
44645
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} returns this
|
|
44646
|
+
*/
|
|
44647
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.setInterfaceId = function(value) {
|
|
44648
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
44649
|
+
};
|
|
44650
|
+
|
|
44651
|
+
|
|
44652
|
+
/**
|
|
44653
|
+
* optional int32 device = 2;
|
|
44654
|
+
* @return {number}
|
|
44655
|
+
*/
|
|
44656
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.getDevice = function() {
|
|
44657
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
44658
|
+
};
|
|
44659
|
+
|
|
44660
|
+
|
|
44661
|
+
/**
|
|
44662
|
+
* @param {number} value
|
|
44663
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} returns this
|
|
44664
|
+
*/
|
|
44665
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.setDevice = function(value) {
|
|
44666
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
44667
|
+
};
|
|
44668
|
+
|
|
44669
|
+
|
|
44670
|
+
/**
|
|
44671
|
+
* optional int32 axis = 3;
|
|
44672
|
+
* @return {number}
|
|
44673
|
+
*/
|
|
44674
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.getAxis = function() {
|
|
44675
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
44676
|
+
};
|
|
44677
|
+
|
|
44678
|
+
|
|
44679
|
+
/**
|
|
44680
|
+
* @param {number} value
|
|
44681
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} returns this
|
|
44682
|
+
*/
|
|
44683
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.setAxis = function(value) {
|
|
44684
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
44685
|
+
};
|
|
44686
|
+
|
|
44687
|
+
|
|
44688
|
+
/**
|
|
44689
|
+
* optional string prefix = 4;
|
|
44690
|
+
* @return {string}
|
|
44691
|
+
*/
|
|
44692
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.getPrefix = function() {
|
|
44693
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
44694
|
+
};
|
|
44695
|
+
|
|
44696
|
+
|
|
44697
|
+
/**
|
|
44698
|
+
* @param {string} value
|
|
44699
|
+
* @return {!proto.zaber.motion.protobufs.DeviceStorageListKeysRequest} returns this
|
|
44700
|
+
*/
|
|
44701
|
+
proto.zaber.motion.protobufs.DeviceStorageListKeysRequest.prototype.setPrefix = function(value) {
|
|
44702
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
44703
|
+
};
|
|
44704
|
+
|
|
44705
|
+
|
|
44706
|
+
|
|
44007
44707
|
/**
|
|
44008
44708
|
* List of repeated fields within this message type.
|
|
44009
44709
|
* @private {!Array<number>}
|