@zaber/motion 4.3.0 → 4.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
  2. package/dist/lib/ascii/axis.d.ts +31 -0
  3. package/dist/lib/ascii/axis.js +52 -0
  4. package/dist/lib/ascii/axis.js.map +1 -1
  5. package/dist/lib/ascii/axis_type.d.ts +3 -1
  6. package/dist/lib/ascii/axis_type.js +2 -0
  7. package/dist/lib/ascii/axis_type.js.map +1 -1
  8. package/dist/lib/ascii/index.d.ts +0 -5
  9. package/dist/lib/ascii/index.js +1 -12
  10. package/dist/lib/ascii/index.js.map +1 -1
  11. package/dist/lib/ascii/oscilloscope.d.ts +15 -1
  12. package/dist/lib/ascii/oscilloscope.js +34 -6
  13. package/dist/lib/ascii/oscilloscope.js.map +1 -1
  14. package/dist/lib/ascii/oscilloscope_data.d.ts +13 -1
  15. package/dist/lib/ascii/oscilloscope_data.js +24 -0
  16. package/dist/lib/ascii/oscilloscope_data.js.map +1 -1
  17. package/dist/lib/ascii/setting_constants.d.ts +0 -20
  18. package/dist/lib/ascii/setting_constants.js +0 -20
  19. package/dist/lib/ascii/setting_constants.js.map +1 -1
  20. package/dist/lib/ascii_ns.d.ts +0 -5
  21. package/dist/lib/ascii_ns.js +0 -5
  22. package/dist/lib/ascii_ns.js.map +1 -1
  23. package/dist/lib/index.d.ts +2 -0
  24. package/dist/lib/index.js +4 -1
  25. package/dist/lib/index.js.map +1 -1
  26. package/dist/lib/product/index.d.ts +5 -0
  27. package/dist/lib/product/index.js +14 -0
  28. package/dist/lib/product/index.js.map +1 -0
  29. package/dist/lib/{ascii → product}/process.d.ts +4 -4
  30. package/dist/lib/{ascii → product}/process.js +5 -5
  31. package/dist/lib/product/process.js.map +1 -0
  32. package/dist/lib/{ascii → product}/process_controller.d.ts +2 -2
  33. package/dist/lib/product/process_controller.js.map +1 -0
  34. package/dist/lib/product/process_controller_mode.js.map +1 -0
  35. package/dist/lib/product/process_controller_source.js.map +1 -0
  36. package/dist/lib/product/process_controller_source_sensor.js.map +1 -0
  37. package/dist/lib/product_ns.d.ts +13 -0
  38. package/dist/lib/product_ns.js +36 -0
  39. package/dist/lib/product_ns.js.map +1 -0
  40. package/dist/lib/protobufs/main_pb.d.ts +118 -11
  41. package/dist/lib/protobufs/main_pb.js +853 -60
  42. package/dist/lib/protobufs/main_pb.js.map +1 -1
  43. package/dist/lib/unit_table.d.ts +16 -0
  44. package/dist/lib/unit_table.js +56 -0
  45. package/dist/lib/unit_table.js.map +1 -0
  46. package/dist/lib/units.d.ts +27 -1
  47. package/dist/lib/units.js +29 -1
  48. package/dist/lib/units.js.map +1 -1
  49. package/package.json +11 -1
  50. package/dist/lib/ascii/process.js.map +0 -1
  51. package/dist/lib/ascii/process_controller.js.map +0 -1
  52. package/dist/lib/ascii/process_controller_mode.js.map +0 -1
  53. package/dist/lib/ascii/process_controller_source.js.map +0 -1
  54. package/dist/lib/ascii/process_controller_source_sensor.js.map +0 -1
  55. /package/dist/lib/{ascii → product}/process_controller.js +0 -0
  56. /package/dist/lib/{ascii → product}/process_controller_mode.d.ts +0 -0
  57. /package/dist/lib/{ascii → product}/process_controller_mode.js +0 -0
  58. /package/dist/lib/{ascii → product}/process_controller_source.d.ts +0 -0
  59. /package/dist/lib/{ascii → product}/process_controller_source.js +0 -0
  60. /package/dist/lib/{ascii → product}/process_controller_source_sensor.d.ts +0 -0
  61. /package/dist/lib/{ascii → product}/process_controller_source_sensor.js +0 -0
@@ -138,7 +138,8 @@ goog.exportSymbol('zaber.motion.protobufs.OscilloscopeDataGetSampleTimeRequest',
138
138
  goog.exportSymbol('zaber.motion.protobufs.OscilloscopeDataGetSamplesResponse', null, proto);
139
139
  goog.exportSymbol('zaber.motion.protobufs.OscilloscopeDataIdentifier', null, proto);
140
140
  goog.exportSymbol('zaber.motion.protobufs.OscilloscopeReadResponse', null, proto);
141
- goog.exportSymbol('zaber.motion.protobufs.OscilloscopeStartStopRequest', null, proto);
141
+ goog.exportSymbol('zaber.motion.protobufs.OscilloscopeRequest', null, proto);
142
+ goog.exportSymbol('zaber.motion.protobufs.OscilloscopeStartRequest', null, proto);
142
143
  goog.exportSymbol('zaber.motion.protobufs.ParamsetInfo', null, proto);
143
144
  goog.exportSymbol('zaber.motion.protobufs.PidTuning', null, proto);
144
145
  goog.exportSymbol('zaber.motion.protobufs.PrepareCommandRequest', null, proto);
@@ -233,6 +234,10 @@ goog.exportSymbol('zaber.motion.protobufs.TranslatorSetFeedRateOverrideRequest',
233
234
  goog.exportSymbol('zaber.motion.protobufs.TranslatorSetTraverseRateRequest', null, proto);
234
235
  goog.exportSymbol('zaber.motion.protobufs.TranslatorTranslateRequest', null, proto);
235
236
  goog.exportSymbol('zaber.motion.protobufs.TranslatorTranslateResponse', null, proto);
237
+ goog.exportSymbol('zaber.motion.protobufs.UnitGetEnumRequest', null, proto);
238
+ goog.exportSymbol('zaber.motion.protobufs.UnitGetEnumResponse', null, proto);
239
+ goog.exportSymbol('zaber.motion.protobufs.UnitGetSymbolRequest', null, proto);
240
+ goog.exportSymbol('zaber.motion.protobufs.UnitGetSymbolResponse', null, proto);
236
241
  goog.exportSymbol('zaber.motion.protobufs.UnknownBinaryResponseEvent', null, proto);
237
242
  goog.exportSymbol('zaber.motion.protobufs.UnknownResponseEvent', null, proto);
238
243
  goog.exportSymbol('zaber.motion.protobufs.WaitToClearWarningsRequest', null, proto);
@@ -2253,6 +2258,27 @@ if (goog.DEBUG && !COMPILED) {
2253
2258
  */
2254
2259
  proto.zaber.motion.protobufs.LockstepSetRequest.displayName = 'proto.zaber.motion.protobufs.LockstepSetRequest';
2255
2260
  }
2261
+ /**
2262
+ * Generated by JsPbCodeGenerator.
2263
+ * @param {Array=} opt_data Optional initial data array, typically from a
2264
+ * server response, or constructed directly in Javascript. The array is used
2265
+ * in place and becomes part of the constructed object. It is not cloned.
2266
+ * If no data is provided, the constructed object will be empty, but still
2267
+ * valid.
2268
+ * @extends {jspb.Message}
2269
+ * @constructor
2270
+ */
2271
+ proto.zaber.motion.protobufs.OscilloscopeRequest = function(opt_data) {
2272
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2273
+ };
2274
+ goog.inherits(proto.zaber.motion.protobufs.OscilloscopeRequest, jspb.Message);
2275
+ if (goog.DEBUG && !COMPILED) {
2276
+ /**
2277
+ * @public
2278
+ * @override
2279
+ */
2280
+ proto.zaber.motion.protobufs.OscilloscopeRequest.displayName = 'proto.zaber.motion.protobufs.OscilloscopeRequest';
2281
+ }
2256
2282
  /**
2257
2283
  * Generated by JsPbCodeGenerator.
2258
2284
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2305,16 +2331,16 @@ if (goog.DEBUG && !COMPILED) {
2305
2331
  * @extends {jspb.Message}
2306
2332
  * @constructor
2307
2333
  */
2308
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest = function(opt_data) {
2334
+ proto.zaber.motion.protobufs.OscilloscopeStartRequest = function(opt_data) {
2309
2335
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2310
2336
  };
2311
- goog.inherits(proto.zaber.motion.protobufs.OscilloscopeStartStopRequest, jspb.Message);
2337
+ goog.inherits(proto.zaber.motion.protobufs.OscilloscopeStartRequest, jspb.Message);
2312
2338
  if (goog.DEBUG && !COMPILED) {
2313
2339
  /**
2314
2340
  * @public
2315
2341
  * @override
2316
2342
  */
2317
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.displayName = 'proto.zaber.motion.protobufs.OscilloscopeStartStopRequest';
2343
+ proto.zaber.motion.protobufs.OscilloscopeStartRequest.displayName = 'proto.zaber.motion.protobufs.OscilloscopeStartRequest';
2318
2344
  }
2319
2345
  /**
2320
2346
  * Generated by JsPbCodeGenerator.
@@ -4605,6 +4631,90 @@ if (goog.DEBUG && !COMPILED) {
4605
4631
  */
4606
4632
  proto.zaber.motion.protobufs.SetProcessControllerSource.displayName = 'proto.zaber.motion.protobufs.SetProcessControllerSource';
4607
4633
  }
4634
+ /**
4635
+ * Generated by JsPbCodeGenerator.
4636
+ * @param {Array=} opt_data Optional initial data array, typically from a
4637
+ * server response, or constructed directly in Javascript. The array is used
4638
+ * in place and becomes part of the constructed object. It is not cloned.
4639
+ * If no data is provided, the constructed object will be empty, but still
4640
+ * valid.
4641
+ * @extends {jspb.Message}
4642
+ * @constructor
4643
+ */
4644
+ proto.zaber.motion.protobufs.UnitGetSymbolRequest = function(opt_data) {
4645
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4646
+ };
4647
+ goog.inherits(proto.zaber.motion.protobufs.UnitGetSymbolRequest, jspb.Message);
4648
+ if (goog.DEBUG && !COMPILED) {
4649
+ /**
4650
+ * @public
4651
+ * @override
4652
+ */
4653
+ proto.zaber.motion.protobufs.UnitGetSymbolRequest.displayName = 'proto.zaber.motion.protobufs.UnitGetSymbolRequest';
4654
+ }
4655
+ /**
4656
+ * Generated by JsPbCodeGenerator.
4657
+ * @param {Array=} opt_data Optional initial data array, typically from a
4658
+ * server response, or constructed directly in Javascript. The array is used
4659
+ * in place and becomes part of the constructed object. It is not cloned.
4660
+ * If no data is provided, the constructed object will be empty, but still
4661
+ * valid.
4662
+ * @extends {jspb.Message}
4663
+ * @constructor
4664
+ */
4665
+ proto.zaber.motion.protobufs.UnitGetSymbolResponse = function(opt_data) {
4666
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4667
+ };
4668
+ goog.inherits(proto.zaber.motion.protobufs.UnitGetSymbolResponse, jspb.Message);
4669
+ if (goog.DEBUG && !COMPILED) {
4670
+ /**
4671
+ * @public
4672
+ * @override
4673
+ */
4674
+ proto.zaber.motion.protobufs.UnitGetSymbolResponse.displayName = 'proto.zaber.motion.protobufs.UnitGetSymbolResponse';
4675
+ }
4676
+ /**
4677
+ * Generated by JsPbCodeGenerator.
4678
+ * @param {Array=} opt_data Optional initial data array, typically from a
4679
+ * server response, or constructed directly in Javascript. The array is used
4680
+ * in place and becomes part of the constructed object. It is not cloned.
4681
+ * If no data is provided, the constructed object will be empty, but still
4682
+ * valid.
4683
+ * @extends {jspb.Message}
4684
+ * @constructor
4685
+ */
4686
+ proto.zaber.motion.protobufs.UnitGetEnumRequest = function(opt_data) {
4687
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4688
+ };
4689
+ goog.inherits(proto.zaber.motion.protobufs.UnitGetEnumRequest, jspb.Message);
4690
+ if (goog.DEBUG && !COMPILED) {
4691
+ /**
4692
+ * @public
4693
+ * @override
4694
+ */
4695
+ proto.zaber.motion.protobufs.UnitGetEnumRequest.displayName = 'proto.zaber.motion.protobufs.UnitGetEnumRequest';
4696
+ }
4697
+ /**
4698
+ * Generated by JsPbCodeGenerator.
4699
+ * @param {Array=} opt_data Optional initial data array, typically from a
4700
+ * server response, or constructed directly in Javascript. The array is used
4701
+ * in place and becomes part of the constructed object. It is not cloned.
4702
+ * If no data is provided, the constructed object will be empty, but still
4703
+ * valid.
4704
+ * @extends {jspb.Message}
4705
+ * @constructor
4706
+ */
4707
+ proto.zaber.motion.protobufs.UnitGetEnumResponse = function(opt_data) {
4708
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4709
+ };
4710
+ goog.inherits(proto.zaber.motion.protobufs.UnitGetEnumResponse, jspb.Message);
4711
+ if (goog.DEBUG && !COMPILED) {
4712
+ /**
4713
+ * @public
4714
+ * @override
4715
+ */
4716
+ proto.zaber.motion.protobufs.UnitGetEnumResponse.displayName = 'proto.zaber.motion.protobufs.UnitGetEnumResponse';
4717
+ }
4608
4718
 
4609
4719
 
4610
4720
 
@@ -6294,7 +6404,9 @@ proto.zaber.motion.protobufs.AxisIdentity.serializeBinaryToWriter = function(mes
6294
6404
  proto.zaber.motion.protobufs.AxisIdentity.AxisType = {
6295
6405
  UNKNOWN: 0,
6296
6406
  LINEAR: 1,
6297
- ROTARY: 2
6407
+ ROTARY: 2,
6408
+ PROCESS: 3,
6409
+ LAMP: 4
6298
6410
  };
6299
6411
 
6300
6412
  /**
@@ -16527,6 +16639,7 @@ proto.zaber.motion.protobufs.DeviceMoveRequest.toObject = function(includeInstan
16527
16639
  waitUntilIdle: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
16528
16640
  type: jspb.Message.getFieldWithDefault(msg, 5, 0),
16529
16641
  arg: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
16642
+ argInt: jspb.Message.getFieldWithDefault(msg, 12, 0),
16530
16643
  unit: jspb.Message.getFieldWithDefault(msg, 7, ""),
16531
16644
  velocity: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
16532
16645
  velocityUnit: jspb.Message.getFieldWithDefault(msg, 9, ""),
@@ -16592,6 +16705,10 @@ proto.zaber.motion.protobufs.DeviceMoveRequest.deserializeBinaryFromReader = fun
16592
16705
  var value = /** @type {number} */ (reader.readDouble());
16593
16706
  msg.setArg(value);
16594
16707
  break;
16708
+ case 12:
16709
+ var value = /** @type {number} */ (reader.readInt32());
16710
+ msg.setArgInt(value);
16711
+ break;
16595
16712
  case 7:
16596
16713
  var value = /** @type {string} */ (reader.readString());
16597
16714
  msg.setUnit(value);
@@ -16683,6 +16800,13 @@ proto.zaber.motion.protobufs.DeviceMoveRequest.serializeBinaryToWriter = functio
16683
16800
  f
16684
16801
  );
16685
16802
  }
16803
+ f = message.getArgInt();
16804
+ if (f !== 0) {
16805
+ writer.writeInt32(
16806
+ 12,
16807
+ f
16808
+ );
16809
+ }
16686
16810
  f = message.getUnit();
16687
16811
  if (f.length > 0) {
16688
16812
  writer.writeString(
@@ -16729,7 +16853,8 @@ proto.zaber.motion.protobufs.DeviceMoveRequest.MoveType = {
16729
16853
  REL: 1,
16730
16854
  VEL: 2,
16731
16855
  MAX: 3,
16732
- MIN: 4
16856
+ MIN: 4,
16857
+ INDEX: 5
16733
16858
  };
16734
16859
 
16735
16860
  /**
@@ -16840,6 +16965,24 @@ proto.zaber.motion.protobufs.DeviceMoveRequest.prototype.setArg = function(value
16840
16965
  };
16841
16966
 
16842
16967
 
16968
+ /**
16969
+ * optional int32 arg_int = 12;
16970
+ * @return {number}
16971
+ */
16972
+ proto.zaber.motion.protobufs.DeviceMoveRequest.prototype.getArgInt = function() {
16973
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
16974
+ };
16975
+
16976
+
16977
+ /**
16978
+ * @param {number} value
16979
+ * @return {!proto.zaber.motion.protobufs.DeviceMoveRequest} returns this
16980
+ */
16981
+ proto.zaber.motion.protobufs.DeviceMoveRequest.prototype.setArgInt = function(value) {
16982
+ return jspb.Message.setProto3IntField(this, 12, value);
16983
+ };
16984
+
16985
+
16843
16986
  /**
16844
16987
  * optional string unit = 7;
16845
16988
  * @return {string}
@@ -24492,6 +24635,166 @@ proto.zaber.motion.protobufs.LockstepSetRequest.prototype.setAxisIndex = functio
24492
24635
 
24493
24636
 
24494
24637
 
24638
+ if (jspb.Message.GENERATE_TO_OBJECT) {
24639
+ /**
24640
+ * Creates an object representation of this proto.
24641
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
24642
+ * Optional fields that are not set will be set to undefined.
24643
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
24644
+ * For the list of reserved names please see:
24645
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
24646
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
24647
+ * JSPB instance for transitional soy proto support:
24648
+ * http://goto/soy-param-migration
24649
+ * @return {!Object}
24650
+ */
24651
+ proto.zaber.motion.protobufs.OscilloscopeRequest.prototype.toObject = function(opt_includeInstance) {
24652
+ return proto.zaber.motion.protobufs.OscilloscopeRequest.toObject(opt_includeInstance, this);
24653
+ };
24654
+
24655
+
24656
+ /**
24657
+ * Static version of the {@see toObject} method.
24658
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24659
+ * the JSPB instance for transitional soy proto support:
24660
+ * http://goto/soy-param-migration
24661
+ * @param {!proto.zaber.motion.protobufs.OscilloscopeRequest} msg The msg instance to transform.
24662
+ * @return {!Object}
24663
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24664
+ */
24665
+ proto.zaber.motion.protobufs.OscilloscopeRequest.toObject = function(includeInstance, msg) {
24666
+ var f, obj = {
24667
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
24668
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0)
24669
+ };
24670
+
24671
+ if (includeInstance) {
24672
+ obj.$jspbMessageInstance = msg;
24673
+ }
24674
+ return obj;
24675
+ };
24676
+ }
24677
+
24678
+
24679
+ /**
24680
+ * Deserializes binary data (in protobuf wire format).
24681
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
24682
+ * @return {!proto.zaber.motion.protobufs.OscilloscopeRequest}
24683
+ */
24684
+ proto.zaber.motion.protobufs.OscilloscopeRequest.deserializeBinary = function(bytes) {
24685
+ var reader = new jspb.BinaryReader(bytes);
24686
+ var msg = new proto.zaber.motion.protobufs.OscilloscopeRequest;
24687
+ return proto.zaber.motion.protobufs.OscilloscopeRequest.deserializeBinaryFromReader(msg, reader);
24688
+ };
24689
+
24690
+
24691
+ /**
24692
+ * Deserializes binary data (in protobuf wire format) from the
24693
+ * given reader into the given message object.
24694
+ * @param {!proto.zaber.motion.protobufs.OscilloscopeRequest} msg The message object to deserialize into.
24695
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24696
+ * @return {!proto.zaber.motion.protobufs.OscilloscopeRequest}
24697
+ */
24698
+ proto.zaber.motion.protobufs.OscilloscopeRequest.deserializeBinaryFromReader = function(msg, reader) {
24699
+ while (reader.nextField()) {
24700
+ if (reader.isEndGroup()) {
24701
+ break;
24702
+ }
24703
+ var field = reader.getFieldNumber();
24704
+ switch (field) {
24705
+ case 1:
24706
+ var value = /** @type {number} */ (reader.readInt32());
24707
+ msg.setInterfaceId(value);
24708
+ break;
24709
+ case 2:
24710
+ var value = /** @type {number} */ (reader.readInt32());
24711
+ msg.setDevice(value);
24712
+ break;
24713
+ default:
24714
+ reader.skipField();
24715
+ break;
24716
+ }
24717
+ }
24718
+ return msg;
24719
+ };
24720
+
24721
+
24722
+ /**
24723
+ * Serializes the message to binary data (in protobuf wire format).
24724
+ * @return {!Uint8Array}
24725
+ */
24726
+ proto.zaber.motion.protobufs.OscilloscopeRequest.prototype.serializeBinary = function() {
24727
+ var writer = new jspb.BinaryWriter();
24728
+ proto.zaber.motion.protobufs.OscilloscopeRequest.serializeBinaryToWriter(this, writer);
24729
+ return writer.getResultBuffer();
24730
+ };
24731
+
24732
+
24733
+ /**
24734
+ * Serializes the given message to binary data (in protobuf wire
24735
+ * format), writing to the given BinaryWriter.
24736
+ * @param {!proto.zaber.motion.protobufs.OscilloscopeRequest} message
24737
+ * @param {!jspb.BinaryWriter} writer
24738
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24739
+ */
24740
+ proto.zaber.motion.protobufs.OscilloscopeRequest.serializeBinaryToWriter = function(message, writer) {
24741
+ var f = undefined;
24742
+ f = message.getInterfaceId();
24743
+ if (f !== 0) {
24744
+ writer.writeInt32(
24745
+ 1,
24746
+ f
24747
+ );
24748
+ }
24749
+ f = message.getDevice();
24750
+ if (f !== 0) {
24751
+ writer.writeInt32(
24752
+ 2,
24753
+ f
24754
+ );
24755
+ }
24756
+ };
24757
+
24758
+
24759
+ /**
24760
+ * optional int32 interface_id = 1;
24761
+ * @return {number}
24762
+ */
24763
+ proto.zaber.motion.protobufs.OscilloscopeRequest.prototype.getInterfaceId = function() {
24764
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
24765
+ };
24766
+
24767
+
24768
+ /**
24769
+ * @param {number} value
24770
+ * @return {!proto.zaber.motion.protobufs.OscilloscopeRequest} returns this
24771
+ */
24772
+ proto.zaber.motion.protobufs.OscilloscopeRequest.prototype.setInterfaceId = function(value) {
24773
+ return jspb.Message.setProto3IntField(this, 1, value);
24774
+ };
24775
+
24776
+
24777
+ /**
24778
+ * optional int32 device = 2;
24779
+ * @return {number}
24780
+ */
24781
+ proto.zaber.motion.protobufs.OscilloscopeRequest.prototype.getDevice = function() {
24782
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
24783
+ };
24784
+
24785
+
24786
+ /**
24787
+ * @param {number} value
24788
+ * @return {!proto.zaber.motion.protobufs.OscilloscopeRequest} returns this
24789
+ */
24790
+ proto.zaber.motion.protobufs.OscilloscopeRequest.prototype.setDevice = function(value) {
24791
+ return jspb.Message.setProto3IntField(this, 2, value);
24792
+ };
24793
+
24794
+
24795
+
24796
+
24797
+
24495
24798
  if (jspb.Message.GENERATE_TO_OBJECT) {
24496
24799
  /**
24497
24800
  * Creates an object representation of this proto.
@@ -24945,8 +25248,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
24945
25248
  * http://goto/soy-param-migration
24946
25249
  * @return {!Object}
24947
25250
  */
24948
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.toObject = function(opt_includeInstance) {
24949
- return proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.toObject(opt_includeInstance, this);
25251
+ proto.zaber.motion.protobufs.OscilloscopeStartRequest.prototype.toObject = function(opt_includeInstance) {
25252
+ return proto.zaber.motion.protobufs.OscilloscopeStartRequest.toObject(opt_includeInstance, this);
24950
25253
  };
24951
25254
 
24952
25255
 
@@ -24955,15 +25258,14 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.toObject = f
24955
25258
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24956
25259
  * the JSPB instance for transitional soy proto support:
24957
25260
  * http://goto/soy-param-migration
24958
- * @param {!proto.zaber.motion.protobufs.OscilloscopeStartStopRequest} msg The msg instance to transform.
25261
+ * @param {!proto.zaber.motion.protobufs.OscilloscopeStartRequest} msg The msg instance to transform.
24959
25262
  * @return {!Object}
24960
25263
  * @suppress {unusedLocalVariables} f is only used for nested messages
24961
25264
  */
24962
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.toObject = function(includeInstance, msg) {
25265
+ proto.zaber.motion.protobufs.OscilloscopeStartRequest.toObject = function(includeInstance, msg) {
24963
25266
  var f, obj = {
24964
25267
  interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
24965
25268
  device: jspb.Message.getFieldWithDefault(msg, 2, 0),
24966
- start: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
24967
25269
  captureLength: jspb.Message.getFieldWithDefault(msg, 4, 0)
24968
25270
  };
24969
25271
 
@@ -24978,23 +25280,23 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.toObject = function(in
24978
25280
  /**
24979
25281
  * Deserializes binary data (in protobuf wire format).
24980
25282
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
24981
- * @return {!proto.zaber.motion.protobufs.OscilloscopeStartStopRequest}
25283
+ * @return {!proto.zaber.motion.protobufs.OscilloscopeStartRequest}
24982
25284
  */
24983
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.deserializeBinary = function(bytes) {
25285
+ proto.zaber.motion.protobufs.OscilloscopeStartRequest.deserializeBinary = function(bytes) {
24984
25286
  var reader = new jspb.BinaryReader(bytes);
24985
- var msg = new proto.zaber.motion.protobufs.OscilloscopeStartStopRequest;
24986
- return proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.deserializeBinaryFromReader(msg, reader);
25287
+ var msg = new proto.zaber.motion.protobufs.OscilloscopeStartRequest;
25288
+ return proto.zaber.motion.protobufs.OscilloscopeStartRequest.deserializeBinaryFromReader(msg, reader);
24987
25289
  };
24988
25290
 
24989
25291
 
24990
25292
  /**
24991
25293
  * Deserializes binary data (in protobuf wire format) from the
24992
25294
  * given reader into the given message object.
24993
- * @param {!proto.zaber.motion.protobufs.OscilloscopeStartStopRequest} msg The message object to deserialize into.
25295
+ * @param {!proto.zaber.motion.protobufs.OscilloscopeStartRequest} msg The message object to deserialize into.
24994
25296
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24995
- * @return {!proto.zaber.motion.protobufs.OscilloscopeStartStopRequest}
25297
+ * @return {!proto.zaber.motion.protobufs.OscilloscopeStartRequest}
24996
25298
  */
24997
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.deserializeBinaryFromReader = function(msg, reader) {
25299
+ proto.zaber.motion.protobufs.OscilloscopeStartRequest.deserializeBinaryFromReader = function(msg, reader) {
24998
25300
  while (reader.nextField()) {
24999
25301
  if (reader.isEndGroup()) {
25000
25302
  break;
@@ -25009,10 +25311,6 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.deserializeBinaryFromR
25009
25311
  var value = /** @type {number} */ (reader.readInt32());
25010
25312
  msg.setDevice(value);
25011
25313
  break;
25012
- case 3:
25013
- var value = /** @type {boolean} */ (reader.readBool());
25014
- msg.setStart(value);
25015
- break;
25016
25314
  case 4:
25017
25315
  var value = /** @type {number} */ (reader.readInt32());
25018
25316
  msg.setCaptureLength(value);
@@ -25030,9 +25328,9 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.deserializeBinaryFromR
25030
25328
  * Serializes the message to binary data (in protobuf wire format).
25031
25329
  * @return {!Uint8Array}
25032
25330
  */
25033
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.serializeBinary = function() {
25331
+ proto.zaber.motion.protobufs.OscilloscopeStartRequest.prototype.serializeBinary = function() {
25034
25332
  var writer = new jspb.BinaryWriter();
25035
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.serializeBinaryToWriter(this, writer);
25333
+ proto.zaber.motion.protobufs.OscilloscopeStartRequest.serializeBinaryToWriter(this, writer);
25036
25334
  return writer.getResultBuffer();
25037
25335
  };
25038
25336
 
@@ -25040,11 +25338,11 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.serializeBin
25040
25338
  /**
25041
25339
  * Serializes the given message to binary data (in protobuf wire
25042
25340
  * format), writing to the given BinaryWriter.
25043
- * @param {!proto.zaber.motion.protobufs.OscilloscopeStartStopRequest} message
25341
+ * @param {!proto.zaber.motion.protobufs.OscilloscopeStartRequest} message
25044
25342
  * @param {!jspb.BinaryWriter} writer
25045
25343
  * @suppress {unusedLocalVariables} f is only used for nested messages
25046
25344
  */
25047
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.serializeBinaryToWriter = function(message, writer) {
25345
+ proto.zaber.motion.protobufs.OscilloscopeStartRequest.serializeBinaryToWriter = function(message, writer) {
25048
25346
  var f = undefined;
25049
25347
  f = message.getInterfaceId();
25050
25348
  if (f !== 0) {
@@ -25060,13 +25358,6 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.serializeBinaryToWrite
25060
25358
  f
25061
25359
  );
25062
25360
  }
25063
- f = message.getStart();
25064
- if (f) {
25065
- writer.writeBool(
25066
- 3,
25067
- f
25068
- );
25069
- }
25070
25361
  f = message.getCaptureLength();
25071
25362
  if (f !== 0) {
25072
25363
  writer.writeInt32(
@@ -25081,16 +25372,16 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.serializeBinaryToWrite
25081
25372
  * optional int32 interface_id = 1;
25082
25373
  * @return {number}
25083
25374
  */
25084
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.getInterfaceId = function() {
25375
+ proto.zaber.motion.protobufs.OscilloscopeStartRequest.prototype.getInterfaceId = function() {
25085
25376
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
25086
25377
  };
25087
25378
 
25088
25379
 
25089
25380
  /**
25090
25381
  * @param {number} value
25091
- * @return {!proto.zaber.motion.protobufs.OscilloscopeStartStopRequest} returns this
25382
+ * @return {!proto.zaber.motion.protobufs.OscilloscopeStartRequest} returns this
25092
25383
  */
25093
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.setInterfaceId = function(value) {
25384
+ proto.zaber.motion.protobufs.OscilloscopeStartRequest.prototype.setInterfaceId = function(value) {
25094
25385
  return jspb.Message.setProto3IntField(this, 1, value);
25095
25386
  };
25096
25387
 
@@ -25099,52 +25390,34 @@ proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.setInterface
25099
25390
  * optional int32 device = 2;
25100
25391
  * @return {number}
25101
25392
  */
25102
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.getDevice = function() {
25393
+ proto.zaber.motion.protobufs.OscilloscopeStartRequest.prototype.getDevice = function() {
25103
25394
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
25104
25395
  };
25105
25396
 
25106
25397
 
25107
25398
  /**
25108
25399
  * @param {number} value
25109
- * @return {!proto.zaber.motion.protobufs.OscilloscopeStartStopRequest} returns this
25400
+ * @return {!proto.zaber.motion.protobufs.OscilloscopeStartRequest} returns this
25110
25401
  */
25111
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.setDevice = function(value) {
25402
+ proto.zaber.motion.protobufs.OscilloscopeStartRequest.prototype.setDevice = function(value) {
25112
25403
  return jspb.Message.setProto3IntField(this, 2, value);
25113
25404
  };
25114
25405
 
25115
25406
 
25116
- /**
25117
- * optional bool start = 3;
25118
- * @return {boolean}
25119
- */
25120
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.getStart = function() {
25121
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
25122
- };
25123
-
25124
-
25125
- /**
25126
- * @param {boolean} value
25127
- * @return {!proto.zaber.motion.protobufs.OscilloscopeStartStopRequest} returns this
25128
- */
25129
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.setStart = function(value) {
25130
- return jspb.Message.setProto3BooleanField(this, 3, value);
25131
- };
25132
-
25133
-
25134
25407
  /**
25135
25408
  * optional int32 capture_length = 4;
25136
25409
  * @return {number}
25137
25410
  */
25138
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.getCaptureLength = function() {
25411
+ proto.zaber.motion.protobufs.OscilloscopeStartRequest.prototype.getCaptureLength = function() {
25139
25412
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
25140
25413
  };
25141
25414
 
25142
25415
 
25143
25416
  /**
25144
25417
  * @param {number} value
25145
- * @return {!proto.zaber.motion.protobufs.OscilloscopeStartStopRequest} returns this
25418
+ * @return {!proto.zaber.motion.protobufs.OscilloscopeStartRequest} returns this
25146
25419
  */
25147
- proto.zaber.motion.protobufs.OscilloscopeStartStopRequest.prototype.setCaptureLength = function(value) {
25420
+ proto.zaber.motion.protobufs.OscilloscopeStartRequest.prototype.setCaptureLength = function(value) {
25148
25421
  return jspb.Message.setProto3IntField(this, 4, value);
25149
25422
  };
25150
25423
 
@@ -50492,6 +50765,526 @@ proto.zaber.motion.protobufs.SetProcessControllerSource.prototype.hasSource = fu
50492
50765
  };
50493
50766
 
50494
50767
 
50768
+
50769
+
50770
+
50771
+ if (jspb.Message.GENERATE_TO_OBJECT) {
50772
+ /**
50773
+ * Creates an object representation of this proto.
50774
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
50775
+ * Optional fields that are not set will be set to undefined.
50776
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
50777
+ * For the list of reserved names please see:
50778
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
50779
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
50780
+ * JSPB instance for transitional soy proto support:
50781
+ * http://goto/soy-param-migration
50782
+ * @return {!Object}
50783
+ */
50784
+ proto.zaber.motion.protobufs.UnitGetSymbolRequest.prototype.toObject = function(opt_includeInstance) {
50785
+ return proto.zaber.motion.protobufs.UnitGetSymbolRequest.toObject(opt_includeInstance, this);
50786
+ };
50787
+
50788
+
50789
+ /**
50790
+ * Static version of the {@see toObject} method.
50791
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
50792
+ * the JSPB instance for transitional soy proto support:
50793
+ * http://goto/soy-param-migration
50794
+ * @param {!proto.zaber.motion.protobufs.UnitGetSymbolRequest} msg The msg instance to transform.
50795
+ * @return {!Object}
50796
+ * @suppress {unusedLocalVariables} f is only used for nested messages
50797
+ */
50798
+ proto.zaber.motion.protobufs.UnitGetSymbolRequest.toObject = function(includeInstance, msg) {
50799
+ var f, obj = {
50800
+ unit: jspb.Message.getFieldWithDefault(msg, 1, "")
50801
+ };
50802
+
50803
+ if (includeInstance) {
50804
+ obj.$jspbMessageInstance = msg;
50805
+ }
50806
+ return obj;
50807
+ };
50808
+ }
50809
+
50810
+
50811
+ /**
50812
+ * Deserializes binary data (in protobuf wire format).
50813
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
50814
+ * @return {!proto.zaber.motion.protobufs.UnitGetSymbolRequest}
50815
+ */
50816
+ proto.zaber.motion.protobufs.UnitGetSymbolRequest.deserializeBinary = function(bytes) {
50817
+ var reader = new jspb.BinaryReader(bytes);
50818
+ var msg = new proto.zaber.motion.protobufs.UnitGetSymbolRequest;
50819
+ return proto.zaber.motion.protobufs.UnitGetSymbolRequest.deserializeBinaryFromReader(msg, reader);
50820
+ };
50821
+
50822
+
50823
+ /**
50824
+ * Deserializes binary data (in protobuf wire format) from the
50825
+ * given reader into the given message object.
50826
+ * @param {!proto.zaber.motion.protobufs.UnitGetSymbolRequest} msg The message object to deserialize into.
50827
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
50828
+ * @return {!proto.zaber.motion.protobufs.UnitGetSymbolRequest}
50829
+ */
50830
+ proto.zaber.motion.protobufs.UnitGetSymbolRequest.deserializeBinaryFromReader = function(msg, reader) {
50831
+ while (reader.nextField()) {
50832
+ if (reader.isEndGroup()) {
50833
+ break;
50834
+ }
50835
+ var field = reader.getFieldNumber();
50836
+ switch (field) {
50837
+ case 1:
50838
+ var value = /** @type {string} */ (reader.readString());
50839
+ msg.setUnit(value);
50840
+ break;
50841
+ default:
50842
+ reader.skipField();
50843
+ break;
50844
+ }
50845
+ }
50846
+ return msg;
50847
+ };
50848
+
50849
+
50850
+ /**
50851
+ * Serializes the message to binary data (in protobuf wire format).
50852
+ * @return {!Uint8Array}
50853
+ */
50854
+ proto.zaber.motion.protobufs.UnitGetSymbolRequest.prototype.serializeBinary = function() {
50855
+ var writer = new jspb.BinaryWriter();
50856
+ proto.zaber.motion.protobufs.UnitGetSymbolRequest.serializeBinaryToWriter(this, writer);
50857
+ return writer.getResultBuffer();
50858
+ };
50859
+
50860
+
50861
+ /**
50862
+ * Serializes the given message to binary data (in protobuf wire
50863
+ * format), writing to the given BinaryWriter.
50864
+ * @param {!proto.zaber.motion.protobufs.UnitGetSymbolRequest} message
50865
+ * @param {!jspb.BinaryWriter} writer
50866
+ * @suppress {unusedLocalVariables} f is only used for nested messages
50867
+ */
50868
+ proto.zaber.motion.protobufs.UnitGetSymbolRequest.serializeBinaryToWriter = function(message, writer) {
50869
+ var f = undefined;
50870
+ f = message.getUnit();
50871
+ if (f.length > 0) {
50872
+ writer.writeString(
50873
+ 1,
50874
+ f
50875
+ );
50876
+ }
50877
+ };
50878
+
50879
+
50880
+ /**
50881
+ * optional string unit = 1;
50882
+ * @return {string}
50883
+ */
50884
+ proto.zaber.motion.protobufs.UnitGetSymbolRequest.prototype.getUnit = function() {
50885
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
50886
+ };
50887
+
50888
+
50889
+ /**
50890
+ * @param {string} value
50891
+ * @return {!proto.zaber.motion.protobufs.UnitGetSymbolRequest} returns this
50892
+ */
50893
+ proto.zaber.motion.protobufs.UnitGetSymbolRequest.prototype.setUnit = function(value) {
50894
+ return jspb.Message.setProto3StringField(this, 1, value);
50895
+ };
50896
+
50897
+
50898
+
50899
+
50900
+
50901
+ if (jspb.Message.GENERATE_TO_OBJECT) {
50902
+ /**
50903
+ * Creates an object representation of this proto.
50904
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
50905
+ * Optional fields that are not set will be set to undefined.
50906
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
50907
+ * For the list of reserved names please see:
50908
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
50909
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
50910
+ * JSPB instance for transitional soy proto support:
50911
+ * http://goto/soy-param-migration
50912
+ * @return {!Object}
50913
+ */
50914
+ proto.zaber.motion.protobufs.UnitGetSymbolResponse.prototype.toObject = function(opt_includeInstance) {
50915
+ return proto.zaber.motion.protobufs.UnitGetSymbolResponse.toObject(opt_includeInstance, this);
50916
+ };
50917
+
50918
+
50919
+ /**
50920
+ * Static version of the {@see toObject} method.
50921
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
50922
+ * the JSPB instance for transitional soy proto support:
50923
+ * http://goto/soy-param-migration
50924
+ * @param {!proto.zaber.motion.protobufs.UnitGetSymbolResponse} msg The msg instance to transform.
50925
+ * @return {!Object}
50926
+ * @suppress {unusedLocalVariables} f is only used for nested messages
50927
+ */
50928
+ proto.zaber.motion.protobufs.UnitGetSymbolResponse.toObject = function(includeInstance, msg) {
50929
+ var f, obj = {
50930
+ symbol: jspb.Message.getFieldWithDefault(msg, 1, "")
50931
+ };
50932
+
50933
+ if (includeInstance) {
50934
+ obj.$jspbMessageInstance = msg;
50935
+ }
50936
+ return obj;
50937
+ };
50938
+ }
50939
+
50940
+
50941
+ /**
50942
+ * Deserializes binary data (in protobuf wire format).
50943
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
50944
+ * @return {!proto.zaber.motion.protobufs.UnitGetSymbolResponse}
50945
+ */
50946
+ proto.zaber.motion.protobufs.UnitGetSymbolResponse.deserializeBinary = function(bytes) {
50947
+ var reader = new jspb.BinaryReader(bytes);
50948
+ var msg = new proto.zaber.motion.protobufs.UnitGetSymbolResponse;
50949
+ return proto.zaber.motion.protobufs.UnitGetSymbolResponse.deserializeBinaryFromReader(msg, reader);
50950
+ };
50951
+
50952
+
50953
+ /**
50954
+ * Deserializes binary data (in protobuf wire format) from the
50955
+ * given reader into the given message object.
50956
+ * @param {!proto.zaber.motion.protobufs.UnitGetSymbolResponse} msg The message object to deserialize into.
50957
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
50958
+ * @return {!proto.zaber.motion.protobufs.UnitGetSymbolResponse}
50959
+ */
50960
+ proto.zaber.motion.protobufs.UnitGetSymbolResponse.deserializeBinaryFromReader = function(msg, reader) {
50961
+ while (reader.nextField()) {
50962
+ if (reader.isEndGroup()) {
50963
+ break;
50964
+ }
50965
+ var field = reader.getFieldNumber();
50966
+ switch (field) {
50967
+ case 1:
50968
+ var value = /** @type {string} */ (reader.readString());
50969
+ msg.setSymbol(value);
50970
+ break;
50971
+ default:
50972
+ reader.skipField();
50973
+ break;
50974
+ }
50975
+ }
50976
+ return msg;
50977
+ };
50978
+
50979
+
50980
+ /**
50981
+ * Serializes the message to binary data (in protobuf wire format).
50982
+ * @return {!Uint8Array}
50983
+ */
50984
+ proto.zaber.motion.protobufs.UnitGetSymbolResponse.prototype.serializeBinary = function() {
50985
+ var writer = new jspb.BinaryWriter();
50986
+ proto.zaber.motion.protobufs.UnitGetSymbolResponse.serializeBinaryToWriter(this, writer);
50987
+ return writer.getResultBuffer();
50988
+ };
50989
+
50990
+
50991
+ /**
50992
+ * Serializes the given message to binary data (in protobuf wire
50993
+ * format), writing to the given BinaryWriter.
50994
+ * @param {!proto.zaber.motion.protobufs.UnitGetSymbolResponse} message
50995
+ * @param {!jspb.BinaryWriter} writer
50996
+ * @suppress {unusedLocalVariables} f is only used for nested messages
50997
+ */
50998
+ proto.zaber.motion.protobufs.UnitGetSymbolResponse.serializeBinaryToWriter = function(message, writer) {
50999
+ var f = undefined;
51000
+ f = message.getSymbol();
51001
+ if (f.length > 0) {
51002
+ writer.writeString(
51003
+ 1,
51004
+ f
51005
+ );
51006
+ }
51007
+ };
51008
+
51009
+
51010
+ /**
51011
+ * optional string symbol = 1;
51012
+ * @return {string}
51013
+ */
51014
+ proto.zaber.motion.protobufs.UnitGetSymbolResponse.prototype.getSymbol = function() {
51015
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
51016
+ };
51017
+
51018
+
51019
+ /**
51020
+ * @param {string} value
51021
+ * @return {!proto.zaber.motion.protobufs.UnitGetSymbolResponse} returns this
51022
+ */
51023
+ proto.zaber.motion.protobufs.UnitGetSymbolResponse.prototype.setSymbol = function(value) {
51024
+ return jspb.Message.setProto3StringField(this, 1, value);
51025
+ };
51026
+
51027
+
51028
+
51029
+
51030
+
51031
+ if (jspb.Message.GENERATE_TO_OBJECT) {
51032
+ /**
51033
+ * Creates an object representation of this proto.
51034
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
51035
+ * Optional fields that are not set will be set to undefined.
51036
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
51037
+ * For the list of reserved names please see:
51038
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
51039
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
51040
+ * JSPB instance for transitional soy proto support:
51041
+ * http://goto/soy-param-migration
51042
+ * @return {!Object}
51043
+ */
51044
+ proto.zaber.motion.protobufs.UnitGetEnumRequest.prototype.toObject = function(opt_includeInstance) {
51045
+ return proto.zaber.motion.protobufs.UnitGetEnumRequest.toObject(opt_includeInstance, this);
51046
+ };
51047
+
51048
+
51049
+ /**
51050
+ * Static version of the {@see toObject} method.
51051
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
51052
+ * the JSPB instance for transitional soy proto support:
51053
+ * http://goto/soy-param-migration
51054
+ * @param {!proto.zaber.motion.protobufs.UnitGetEnumRequest} msg The msg instance to transform.
51055
+ * @return {!Object}
51056
+ * @suppress {unusedLocalVariables} f is only used for nested messages
51057
+ */
51058
+ proto.zaber.motion.protobufs.UnitGetEnumRequest.toObject = function(includeInstance, msg) {
51059
+ var f, obj = {
51060
+ symbol: jspb.Message.getFieldWithDefault(msg, 1, "")
51061
+ };
51062
+
51063
+ if (includeInstance) {
51064
+ obj.$jspbMessageInstance = msg;
51065
+ }
51066
+ return obj;
51067
+ };
51068
+ }
51069
+
51070
+
51071
+ /**
51072
+ * Deserializes binary data (in protobuf wire format).
51073
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
51074
+ * @return {!proto.zaber.motion.protobufs.UnitGetEnumRequest}
51075
+ */
51076
+ proto.zaber.motion.protobufs.UnitGetEnumRequest.deserializeBinary = function(bytes) {
51077
+ var reader = new jspb.BinaryReader(bytes);
51078
+ var msg = new proto.zaber.motion.protobufs.UnitGetEnumRequest;
51079
+ return proto.zaber.motion.protobufs.UnitGetEnumRequest.deserializeBinaryFromReader(msg, reader);
51080
+ };
51081
+
51082
+
51083
+ /**
51084
+ * Deserializes binary data (in protobuf wire format) from the
51085
+ * given reader into the given message object.
51086
+ * @param {!proto.zaber.motion.protobufs.UnitGetEnumRequest} msg The message object to deserialize into.
51087
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
51088
+ * @return {!proto.zaber.motion.protobufs.UnitGetEnumRequest}
51089
+ */
51090
+ proto.zaber.motion.protobufs.UnitGetEnumRequest.deserializeBinaryFromReader = function(msg, reader) {
51091
+ while (reader.nextField()) {
51092
+ if (reader.isEndGroup()) {
51093
+ break;
51094
+ }
51095
+ var field = reader.getFieldNumber();
51096
+ switch (field) {
51097
+ case 1:
51098
+ var value = /** @type {string} */ (reader.readString());
51099
+ msg.setSymbol(value);
51100
+ break;
51101
+ default:
51102
+ reader.skipField();
51103
+ break;
51104
+ }
51105
+ }
51106
+ return msg;
51107
+ };
51108
+
51109
+
51110
+ /**
51111
+ * Serializes the message to binary data (in protobuf wire format).
51112
+ * @return {!Uint8Array}
51113
+ */
51114
+ proto.zaber.motion.protobufs.UnitGetEnumRequest.prototype.serializeBinary = function() {
51115
+ var writer = new jspb.BinaryWriter();
51116
+ proto.zaber.motion.protobufs.UnitGetEnumRequest.serializeBinaryToWriter(this, writer);
51117
+ return writer.getResultBuffer();
51118
+ };
51119
+
51120
+
51121
+ /**
51122
+ * Serializes the given message to binary data (in protobuf wire
51123
+ * format), writing to the given BinaryWriter.
51124
+ * @param {!proto.zaber.motion.protobufs.UnitGetEnumRequest} message
51125
+ * @param {!jspb.BinaryWriter} writer
51126
+ * @suppress {unusedLocalVariables} f is only used for nested messages
51127
+ */
51128
+ proto.zaber.motion.protobufs.UnitGetEnumRequest.serializeBinaryToWriter = function(message, writer) {
51129
+ var f = undefined;
51130
+ f = message.getSymbol();
51131
+ if (f.length > 0) {
51132
+ writer.writeString(
51133
+ 1,
51134
+ f
51135
+ );
51136
+ }
51137
+ };
51138
+
51139
+
51140
+ /**
51141
+ * optional string symbol = 1;
51142
+ * @return {string}
51143
+ */
51144
+ proto.zaber.motion.protobufs.UnitGetEnumRequest.prototype.getSymbol = function() {
51145
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
51146
+ };
51147
+
51148
+
51149
+ /**
51150
+ * @param {string} value
51151
+ * @return {!proto.zaber.motion.protobufs.UnitGetEnumRequest} returns this
51152
+ */
51153
+ proto.zaber.motion.protobufs.UnitGetEnumRequest.prototype.setSymbol = function(value) {
51154
+ return jspb.Message.setProto3StringField(this, 1, value);
51155
+ };
51156
+
51157
+
51158
+
51159
+
51160
+
51161
+ if (jspb.Message.GENERATE_TO_OBJECT) {
51162
+ /**
51163
+ * Creates an object representation of this proto.
51164
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
51165
+ * Optional fields that are not set will be set to undefined.
51166
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
51167
+ * For the list of reserved names please see:
51168
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
51169
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
51170
+ * JSPB instance for transitional soy proto support:
51171
+ * http://goto/soy-param-migration
51172
+ * @return {!Object}
51173
+ */
51174
+ proto.zaber.motion.protobufs.UnitGetEnumResponse.prototype.toObject = function(opt_includeInstance) {
51175
+ return proto.zaber.motion.protobufs.UnitGetEnumResponse.toObject(opt_includeInstance, this);
51176
+ };
51177
+
51178
+
51179
+ /**
51180
+ * Static version of the {@see toObject} method.
51181
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
51182
+ * the JSPB instance for transitional soy proto support:
51183
+ * http://goto/soy-param-migration
51184
+ * @param {!proto.zaber.motion.protobufs.UnitGetEnumResponse} msg The msg instance to transform.
51185
+ * @return {!Object}
51186
+ * @suppress {unusedLocalVariables} f is only used for nested messages
51187
+ */
51188
+ proto.zaber.motion.protobufs.UnitGetEnumResponse.toObject = function(includeInstance, msg) {
51189
+ var f, obj = {
51190
+ unit: jspb.Message.getFieldWithDefault(msg, 1, "")
51191
+ };
51192
+
51193
+ if (includeInstance) {
51194
+ obj.$jspbMessageInstance = msg;
51195
+ }
51196
+ return obj;
51197
+ };
51198
+ }
51199
+
51200
+
51201
+ /**
51202
+ * Deserializes binary data (in protobuf wire format).
51203
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
51204
+ * @return {!proto.zaber.motion.protobufs.UnitGetEnumResponse}
51205
+ */
51206
+ proto.zaber.motion.protobufs.UnitGetEnumResponse.deserializeBinary = function(bytes) {
51207
+ var reader = new jspb.BinaryReader(bytes);
51208
+ var msg = new proto.zaber.motion.protobufs.UnitGetEnumResponse;
51209
+ return proto.zaber.motion.protobufs.UnitGetEnumResponse.deserializeBinaryFromReader(msg, reader);
51210
+ };
51211
+
51212
+
51213
+ /**
51214
+ * Deserializes binary data (in protobuf wire format) from the
51215
+ * given reader into the given message object.
51216
+ * @param {!proto.zaber.motion.protobufs.UnitGetEnumResponse} msg The message object to deserialize into.
51217
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
51218
+ * @return {!proto.zaber.motion.protobufs.UnitGetEnumResponse}
51219
+ */
51220
+ proto.zaber.motion.protobufs.UnitGetEnumResponse.deserializeBinaryFromReader = function(msg, reader) {
51221
+ while (reader.nextField()) {
51222
+ if (reader.isEndGroup()) {
51223
+ break;
51224
+ }
51225
+ var field = reader.getFieldNumber();
51226
+ switch (field) {
51227
+ case 1:
51228
+ var value = /** @type {string} */ (reader.readString());
51229
+ msg.setUnit(value);
51230
+ break;
51231
+ default:
51232
+ reader.skipField();
51233
+ break;
51234
+ }
51235
+ }
51236
+ return msg;
51237
+ };
51238
+
51239
+
51240
+ /**
51241
+ * Serializes the message to binary data (in protobuf wire format).
51242
+ * @return {!Uint8Array}
51243
+ */
51244
+ proto.zaber.motion.protobufs.UnitGetEnumResponse.prototype.serializeBinary = function() {
51245
+ var writer = new jspb.BinaryWriter();
51246
+ proto.zaber.motion.protobufs.UnitGetEnumResponse.serializeBinaryToWriter(this, writer);
51247
+ return writer.getResultBuffer();
51248
+ };
51249
+
51250
+
51251
+ /**
51252
+ * Serializes the given message to binary data (in protobuf wire
51253
+ * format), writing to the given BinaryWriter.
51254
+ * @param {!proto.zaber.motion.protobufs.UnitGetEnumResponse} message
51255
+ * @param {!jspb.BinaryWriter} writer
51256
+ * @suppress {unusedLocalVariables} f is only used for nested messages
51257
+ */
51258
+ proto.zaber.motion.protobufs.UnitGetEnumResponse.serializeBinaryToWriter = function(message, writer) {
51259
+ var f = undefined;
51260
+ f = message.getUnit();
51261
+ if (f.length > 0) {
51262
+ writer.writeString(
51263
+ 1,
51264
+ f
51265
+ );
51266
+ }
51267
+ };
51268
+
51269
+
51270
+ /**
51271
+ * optional string unit = 1;
51272
+ * @return {string}
51273
+ */
51274
+ proto.zaber.motion.protobufs.UnitGetEnumResponse.prototype.getUnit = function() {
51275
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
51276
+ };
51277
+
51278
+
51279
+ /**
51280
+ * @param {string} value
51281
+ * @return {!proto.zaber.motion.protobufs.UnitGetEnumResponse} returns this
51282
+ */
51283
+ proto.zaber.motion.protobufs.UnitGetEnumResponse.prototype.setUnit = function(value) {
51284
+ return jspb.Message.setProto3StringField(this, 1, value);
51285
+ };
51286
+
51287
+
50495
51288
  /**
50496
51289
  * @enum {number}
50497
51290
  */