@zaber/motion 2.10.1 → 2.11.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 (32) hide show
  1. package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
  2. package/dist/lib/ascii/index.d.ts +6 -0
  3. package/dist/lib/ascii/index.js +13 -1
  4. package/dist/lib/ascii/index.js.map +1 -1
  5. package/dist/lib/ascii/paramset_info.d.ts +17 -0
  6. package/dist/lib/ascii/paramset_info.js +19 -0
  7. package/dist/lib/ascii/paramset_info.js.map +1 -0
  8. package/dist/lib/ascii/pid_tuning.d.ts +32 -0
  9. package/dist/lib/ascii/pid_tuning.js +22 -0
  10. package/dist/lib/ascii/pid_tuning.js.map +1 -0
  11. package/dist/lib/ascii/servo_tuner.d.ts +77 -0
  12. package/dist/lib/ascii/servo_tuner.js +180 -0
  13. package/dist/lib/ascii/servo_tuner.js.map +1 -0
  14. package/dist/lib/ascii/servo_tuning_param.d.ts +16 -0
  15. package/dist/lib/ascii/servo_tuning_param.js +49 -0
  16. package/dist/lib/ascii/servo_tuning_param.js.map +1 -0
  17. package/dist/lib/ascii/servo_tuning_paramset.d.ts +17 -0
  18. package/dist/lib/ascii/servo_tuning_paramset.js +24 -0
  19. package/dist/lib/ascii/servo_tuning_paramset.js.map +1 -0
  20. package/dist/lib/ascii/simple_tuning_param.d.ts +24 -0
  21. package/dist/lib/ascii/simple_tuning_param.js +20 -0
  22. package/dist/lib/ascii/simple_tuning_param.js.map +1 -0
  23. package/dist/lib/ascii_ns.d.ts +12 -0
  24. package/dist/lib/ascii_ns.js +6 -0
  25. package/dist/lib/ascii_ns.js.map +1 -1
  26. package/dist/lib/protobufs/main_pb.d.ts +446 -0
  27. package/dist/lib/protobufs/main_pb.js +3439 -2
  28. package/dist/lib/protobufs/main_pb.js.map +1 -1
  29. package/dist/lib/tools.d.ts +6 -0
  30. package/dist/lib/tools.js +10 -0
  31. package/dist/lib/tools.js.map +1 -1
  32. package/package.json +1 -1
@@ -119,11 +119,15 @@ goog.exportSymbol('zaber.motion.protobufs.GenericCommandResponse', null, proto);
119
119
  goog.exportSymbol('zaber.motion.protobufs.GenericCommandResponseCollection', null, proto);
120
120
  goog.exportSymbol('zaber.motion.protobufs.GetInterfaceChecksumEnabledResponse', null, proto);
121
121
  goog.exportSymbol('zaber.motion.protobufs.GetInterfaceTimeoutResponse', null, proto);
122
+ goog.exportSymbol('zaber.motion.protobufs.GetMessageRouterPipeResponse', null, proto);
123
+ goog.exportSymbol('zaber.motion.protobufs.GetSimpleTuningParamListRequest', null, proto);
124
+ goog.exportSymbol('zaber.motion.protobufs.GetStartupParamset', null, proto);
122
125
  goog.exportSymbol('zaber.motion.protobufs.GetStateRequest', null, proto);
123
126
  goog.exportSymbol('zaber.motion.protobufs.GetStateResponse', null, proto);
124
127
  goog.exportSymbol('zaber.motion.protobufs.InterfaceType', null, proto);
125
128
  goog.exportSymbol('zaber.motion.protobufs.InvalidPacketExceptionData', null, proto);
126
129
  goog.exportSymbol('zaber.motion.protobufs.InvalidResponseExceptionData', null, proto);
130
+ goog.exportSymbol('zaber.motion.protobufs.LoadParamset', null, proto);
127
131
  goog.exportSymbol('zaber.motion.protobufs.LockstepAxes', null, proto);
128
132
  goog.exportSymbol('zaber.motion.protobufs.LockstepDisableRequest', null, proto);
129
133
  goog.exportSymbol('zaber.motion.protobufs.LockstepEnableRequest', null, proto);
@@ -166,18 +170,28 @@ goog.exportSymbol('zaber.motion.protobufs.OscilloscopeDataIdentifier', null, pro
166
170
  goog.exportSymbol('zaber.motion.protobufs.OscilloscopeReadRequest', null, proto);
167
171
  goog.exportSymbol('zaber.motion.protobufs.OscilloscopeReadResponse', null, proto);
168
172
  goog.exportSymbol('zaber.motion.protobufs.OscilloscopeStartStopRequest', null, proto);
173
+ goog.exportSymbol('zaber.motion.protobufs.ParamsetInfo', null, proto);
174
+ goog.exportSymbol('zaber.motion.protobufs.PidTuning', null, proto);
169
175
  goog.exportSymbol('zaber.motion.protobufs.PrepareCommandRequest', null, proto);
170
176
  goog.exportSymbol('zaber.motion.protobufs.PrepareCommandResponse', null, proto);
171
177
  goog.exportSymbol('zaber.motion.protobufs.Request', null, proto);
172
178
  goog.exportSymbol('zaber.motion.protobufs.Response', null, proto);
173
179
  goog.exportSymbol('zaber.motion.protobufs.Response.ResponseType', null, proto);
180
+ goog.exportSymbol('zaber.motion.protobufs.ServoTuningParam', null, proto);
181
+ goog.exportSymbol('zaber.motion.protobufs.ServoTuningRequest', null, proto);
174
182
  goog.exportSymbol('zaber.motion.protobufs.SetDeviceDbSourceRequest', null, proto);
175
183
  goog.exportSymbol('zaber.motion.protobufs.SetDeviceStateExceptionData', null, proto);
176
184
  goog.exportSymbol('zaber.motion.protobufs.SetInterfaceChecksumEnabledRequest', null, proto);
177
185
  goog.exportSymbol('zaber.motion.protobufs.SetInterfaceTimeoutRequest', null, proto);
178
186
  goog.exportSymbol('zaber.motion.protobufs.SetLogOutputRequest', null, proto);
179
187
  goog.exportSymbol('zaber.motion.protobufs.SetPeripheralStateExceptionData', null, proto);
188
+ goog.exportSymbol('zaber.motion.protobufs.SetServoTuningPIDRequest', null, proto);
189
+ goog.exportSymbol('zaber.motion.protobufs.SetServoTuningRequest', null, proto);
190
+ goog.exportSymbol('zaber.motion.protobufs.SetSimpleTuning', null, proto);
180
191
  goog.exportSymbol('zaber.motion.protobufs.SetStateRequest', null, proto);
192
+ goog.exportSymbol('zaber.motion.protobufs.SimpleTuningParam', null, proto);
193
+ goog.exportSymbol('zaber.motion.protobufs.SimpleTuningParamList', null, proto);
194
+ goog.exportSymbol('zaber.motion.protobufs.StartupParamset', null, proto);
181
195
  goog.exportSymbol('zaber.motion.protobufs.StreamArcRequest', null, proto);
182
196
  goog.exportSymbol('zaber.motion.protobufs.StreamArcRequest.Type', null, proto);
183
197
  goog.exportSymbol('zaber.motion.protobufs.StreamAxisDefinition', null, proto);
@@ -826,6 +840,27 @@ if (goog.DEBUG && !COMPILED) {
826
840
  */
827
841
  proto.zaber.motion.protobufs.ToolsListSerialPortsResponse.displayName = 'proto.zaber.motion.protobufs.ToolsListSerialPortsResponse';
828
842
  }
843
+ /**
844
+ * Generated by JsPbCodeGenerator.
845
+ * @param {Array=} opt_data Optional initial data array, typically from a
846
+ * server response, or constructed directly in Javascript. The array is used
847
+ * in place and becomes part of the constructed object. It is not cloned.
848
+ * If no data is provided, the constructed object will be empty, but still
849
+ * valid.
850
+ * @extends {jspb.Message}
851
+ * @constructor
852
+ */
853
+ proto.zaber.motion.protobufs.GetMessageRouterPipeResponse = function(opt_data) {
854
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
855
+ };
856
+ goog.inherits(proto.zaber.motion.protobufs.GetMessageRouterPipeResponse, jspb.Message);
857
+ if (goog.DEBUG && !COMPILED) {
858
+ /**
859
+ * @public
860
+ * @override
861
+ */
862
+ proto.zaber.motion.protobufs.GetMessageRouterPipeResponse.displayName = 'proto.zaber.motion.protobufs.GetMessageRouterPipeResponse';
863
+ }
829
864
  /**
830
865
  * Generated by JsPbCodeGenerator.
831
866
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4648,6 +4683,279 @@ if (goog.DEBUG && !COMPILED) {
4648
4683
  */
4649
4684
  proto.zaber.motion.protobufs.SetStateRequest.displayName = 'proto.zaber.motion.protobufs.SetStateRequest';
4650
4685
  }
4686
+ /**
4687
+ * Generated by JsPbCodeGenerator.
4688
+ * @param {Array=} opt_data Optional initial data array, typically from a
4689
+ * server response, or constructed directly in Javascript. The array is used
4690
+ * in place and becomes part of the constructed object. It is not cloned.
4691
+ * If no data is provided, the constructed object will be empty, but still
4692
+ * valid.
4693
+ * @extends {jspb.Message}
4694
+ * @constructor
4695
+ */
4696
+ proto.zaber.motion.protobufs.ServoTuningRequest = function(opt_data) {
4697
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4698
+ };
4699
+ goog.inherits(proto.zaber.motion.protobufs.ServoTuningRequest, jspb.Message);
4700
+ if (goog.DEBUG && !COMPILED) {
4701
+ /**
4702
+ * @public
4703
+ * @override
4704
+ */
4705
+ proto.zaber.motion.protobufs.ServoTuningRequest.displayName = 'proto.zaber.motion.protobufs.ServoTuningRequest';
4706
+ }
4707
+ /**
4708
+ * Generated by JsPbCodeGenerator.
4709
+ * @param {Array=} opt_data Optional initial data array, typically from a
4710
+ * server response, or constructed directly in Javascript. The array is used
4711
+ * in place and becomes part of the constructed object. It is not cloned.
4712
+ * If no data is provided, the constructed object will be empty, but still
4713
+ * valid.
4714
+ * @extends {jspb.Message}
4715
+ * @constructor
4716
+ */
4717
+ proto.zaber.motion.protobufs.ServoTuningParam = function(opt_data) {
4718
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4719
+ };
4720
+ goog.inherits(proto.zaber.motion.protobufs.ServoTuningParam, jspb.Message);
4721
+ if (goog.DEBUG && !COMPILED) {
4722
+ /**
4723
+ * @public
4724
+ * @override
4725
+ */
4726
+ proto.zaber.motion.protobufs.ServoTuningParam.displayName = 'proto.zaber.motion.protobufs.ServoTuningParam';
4727
+ }
4728
+ /**
4729
+ * Generated by JsPbCodeGenerator.
4730
+ * @param {Array=} opt_data Optional initial data array, typically from a
4731
+ * server response, or constructed directly in Javascript. The array is used
4732
+ * in place and becomes part of the constructed object. It is not cloned.
4733
+ * If no data is provided, the constructed object will be empty, but still
4734
+ * valid.
4735
+ * @extends {jspb.Message}
4736
+ * @constructor
4737
+ */
4738
+ proto.zaber.motion.protobufs.ParamsetInfo = function(opt_data) {
4739
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.ParamsetInfo.repeatedFields_, null);
4740
+ };
4741
+ goog.inherits(proto.zaber.motion.protobufs.ParamsetInfo, jspb.Message);
4742
+ if (goog.DEBUG && !COMPILED) {
4743
+ /**
4744
+ * @public
4745
+ * @override
4746
+ */
4747
+ proto.zaber.motion.protobufs.ParamsetInfo.displayName = 'proto.zaber.motion.protobufs.ParamsetInfo';
4748
+ }
4749
+ /**
4750
+ * Generated by JsPbCodeGenerator.
4751
+ * @param {Array=} opt_data Optional initial data array, typically from a
4752
+ * server response, or constructed directly in Javascript. The array is used
4753
+ * in place and becomes part of the constructed object. It is not cloned.
4754
+ * If no data is provided, the constructed object will be empty, but still
4755
+ * valid.
4756
+ * @extends {jspb.Message}
4757
+ * @constructor
4758
+ */
4759
+ proto.zaber.motion.protobufs.SetServoTuningRequest = function(opt_data) {
4760
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.SetServoTuningRequest.repeatedFields_, null);
4761
+ };
4762
+ goog.inherits(proto.zaber.motion.protobufs.SetServoTuningRequest, jspb.Message);
4763
+ if (goog.DEBUG && !COMPILED) {
4764
+ /**
4765
+ * @public
4766
+ * @override
4767
+ */
4768
+ proto.zaber.motion.protobufs.SetServoTuningRequest.displayName = 'proto.zaber.motion.protobufs.SetServoTuningRequest';
4769
+ }
4770
+ /**
4771
+ * Generated by JsPbCodeGenerator.
4772
+ * @param {Array=} opt_data Optional initial data array, typically from a
4773
+ * server response, or constructed directly in Javascript. The array is used
4774
+ * in place and becomes part of the constructed object. It is not cloned.
4775
+ * If no data is provided, the constructed object will be empty, but still
4776
+ * valid.
4777
+ * @extends {jspb.Message}
4778
+ * @constructor
4779
+ */
4780
+ proto.zaber.motion.protobufs.GetStartupParamset = function(opt_data) {
4781
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4782
+ };
4783
+ goog.inherits(proto.zaber.motion.protobufs.GetStartupParamset, jspb.Message);
4784
+ if (goog.DEBUG && !COMPILED) {
4785
+ /**
4786
+ * @public
4787
+ * @override
4788
+ */
4789
+ proto.zaber.motion.protobufs.GetStartupParamset.displayName = 'proto.zaber.motion.protobufs.GetStartupParamset';
4790
+ }
4791
+ /**
4792
+ * Generated by JsPbCodeGenerator.
4793
+ * @param {Array=} opt_data Optional initial data array, typically from a
4794
+ * server response, or constructed directly in Javascript. The array is used
4795
+ * in place and becomes part of the constructed object. It is not cloned.
4796
+ * If no data is provided, the constructed object will be empty, but still
4797
+ * valid.
4798
+ * @extends {jspb.Message}
4799
+ * @constructor
4800
+ */
4801
+ proto.zaber.motion.protobufs.StartupParamset = function(opt_data) {
4802
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4803
+ };
4804
+ goog.inherits(proto.zaber.motion.protobufs.StartupParamset, jspb.Message);
4805
+ if (goog.DEBUG && !COMPILED) {
4806
+ /**
4807
+ * @public
4808
+ * @override
4809
+ */
4810
+ proto.zaber.motion.protobufs.StartupParamset.displayName = 'proto.zaber.motion.protobufs.StartupParamset';
4811
+ }
4812
+ /**
4813
+ * Generated by JsPbCodeGenerator.
4814
+ * @param {Array=} opt_data Optional initial data array, typically from a
4815
+ * server response, or constructed directly in Javascript. The array is used
4816
+ * in place and becomes part of the constructed object. It is not cloned.
4817
+ * If no data is provided, the constructed object will be empty, but still
4818
+ * valid.
4819
+ * @extends {jspb.Message}
4820
+ * @constructor
4821
+ */
4822
+ proto.zaber.motion.protobufs.LoadParamset = function(opt_data) {
4823
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4824
+ };
4825
+ goog.inherits(proto.zaber.motion.protobufs.LoadParamset, jspb.Message);
4826
+ if (goog.DEBUG && !COMPILED) {
4827
+ /**
4828
+ * @public
4829
+ * @override
4830
+ */
4831
+ proto.zaber.motion.protobufs.LoadParamset.displayName = 'proto.zaber.motion.protobufs.LoadParamset';
4832
+ }
4833
+ /**
4834
+ * Generated by JsPbCodeGenerator.
4835
+ * @param {Array=} opt_data Optional initial data array, typically from a
4836
+ * server response, or constructed directly in Javascript. The array is used
4837
+ * in place and becomes part of the constructed object. It is not cloned.
4838
+ * If no data is provided, the constructed object will be empty, but still
4839
+ * valid.
4840
+ * @extends {jspb.Message}
4841
+ * @constructor
4842
+ */
4843
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest = function(opt_data) {
4844
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4845
+ };
4846
+ goog.inherits(proto.zaber.motion.protobufs.SetServoTuningPIDRequest, jspb.Message);
4847
+ if (goog.DEBUG && !COMPILED) {
4848
+ /**
4849
+ * @public
4850
+ * @override
4851
+ */
4852
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.displayName = 'proto.zaber.motion.protobufs.SetServoTuningPIDRequest';
4853
+ }
4854
+ /**
4855
+ * Generated by JsPbCodeGenerator.
4856
+ * @param {Array=} opt_data Optional initial data array, typically from a
4857
+ * server response, or constructed directly in Javascript. The array is used
4858
+ * in place and becomes part of the constructed object. It is not cloned.
4859
+ * If no data is provided, the constructed object will be empty, but still
4860
+ * valid.
4861
+ * @extends {jspb.Message}
4862
+ * @constructor
4863
+ */
4864
+ proto.zaber.motion.protobufs.PidTuning = function(opt_data) {
4865
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4866
+ };
4867
+ goog.inherits(proto.zaber.motion.protobufs.PidTuning, jspb.Message);
4868
+ if (goog.DEBUG && !COMPILED) {
4869
+ /**
4870
+ * @public
4871
+ * @override
4872
+ */
4873
+ proto.zaber.motion.protobufs.PidTuning.displayName = 'proto.zaber.motion.protobufs.PidTuning';
4874
+ }
4875
+ /**
4876
+ * Generated by JsPbCodeGenerator.
4877
+ * @param {Array=} opt_data Optional initial data array, typically from a
4878
+ * server response, or constructed directly in Javascript. The array is used
4879
+ * in place and becomes part of the constructed object. It is not cloned.
4880
+ * If no data is provided, the constructed object will be empty, but still
4881
+ * valid.
4882
+ * @extends {jspb.Message}
4883
+ * @constructor
4884
+ */
4885
+ proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest = function(opt_data) {
4886
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4887
+ };
4888
+ goog.inherits(proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest, jspb.Message);
4889
+ if (goog.DEBUG && !COMPILED) {
4890
+ /**
4891
+ * @public
4892
+ * @override
4893
+ */
4894
+ proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest.displayName = 'proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest';
4895
+ }
4896
+ /**
4897
+ * Generated by JsPbCodeGenerator.
4898
+ * @param {Array=} opt_data Optional initial data array, typically from a
4899
+ * server response, or constructed directly in Javascript. The array is used
4900
+ * in place and becomes part of the constructed object. It is not cloned.
4901
+ * If no data is provided, the constructed object will be empty, but still
4902
+ * valid.
4903
+ * @extends {jspb.Message}
4904
+ * @constructor
4905
+ */
4906
+ proto.zaber.motion.protobufs.SetSimpleTuning = function(opt_data) {
4907
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.SetSimpleTuning.repeatedFields_, null);
4908
+ };
4909
+ goog.inherits(proto.zaber.motion.protobufs.SetSimpleTuning, jspb.Message);
4910
+ if (goog.DEBUG && !COMPILED) {
4911
+ /**
4912
+ * @public
4913
+ * @override
4914
+ */
4915
+ proto.zaber.motion.protobufs.SetSimpleTuning.displayName = 'proto.zaber.motion.protobufs.SetSimpleTuning';
4916
+ }
4917
+ /**
4918
+ * Generated by JsPbCodeGenerator.
4919
+ * @param {Array=} opt_data Optional initial data array, typically from a
4920
+ * server response, or constructed directly in Javascript. The array is used
4921
+ * in place and becomes part of the constructed object. It is not cloned.
4922
+ * If no data is provided, the constructed object will be empty, but still
4923
+ * valid.
4924
+ * @extends {jspb.Message}
4925
+ * @constructor
4926
+ */
4927
+ proto.zaber.motion.protobufs.SimpleTuningParam = function(opt_data) {
4928
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4929
+ };
4930
+ goog.inherits(proto.zaber.motion.protobufs.SimpleTuningParam, jspb.Message);
4931
+ if (goog.DEBUG && !COMPILED) {
4932
+ /**
4933
+ * @public
4934
+ * @override
4935
+ */
4936
+ proto.zaber.motion.protobufs.SimpleTuningParam.displayName = 'proto.zaber.motion.protobufs.SimpleTuningParam';
4937
+ }
4938
+ /**
4939
+ * Generated by JsPbCodeGenerator.
4940
+ * @param {Array=} opt_data Optional initial data array, typically from a
4941
+ * server response, or constructed directly in Javascript. The array is used
4942
+ * in place and becomes part of the constructed object. It is not cloned.
4943
+ * If no data is provided, the constructed object will be empty, but still
4944
+ * valid.
4945
+ * @extends {jspb.Message}
4946
+ * @constructor
4947
+ */
4948
+ proto.zaber.motion.protobufs.SimpleTuningParamList = function(opt_data) {
4949
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.SimpleTuningParamList.repeatedFields_, null);
4950
+ };
4951
+ goog.inherits(proto.zaber.motion.protobufs.SimpleTuningParamList, jspb.Message);
4952
+ if (goog.DEBUG && !COMPILED) {
4953
+ /**
4954
+ * @public
4955
+ * @override
4956
+ */
4957
+ proto.zaber.motion.protobufs.SimpleTuningParamList.displayName = 'proto.zaber.motion.protobufs.SimpleTuningParamList';
4958
+ }
4651
4959
  /**
4652
4960
  * Generated by JsPbCodeGenerator.
4653
4961
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -8934,7 +9242,7 @@ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.setServoT
8934
9242
  * @private {!Array<number>}
8935
9243
  * @const
8936
9244
  */
8937
- proto.zaber.motion.protobufs.SetDeviceStateExceptionData.repeatedFields_ = [2,3,4,5];
9245
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.repeatedFields_ = [2,3,4,5,8];
8938
9246
 
8939
9247
 
8940
9248
 
@@ -8973,7 +9281,8 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.toObject = function(inc
8973
9281
  streamBuffersList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
8974
9282
  triggersList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
8975
9283
  ipConfig: jspb.Message.getFieldWithDefault(msg, 6, ""),
8976
- servoTuning: jspb.Message.getFieldWithDefault(msg, 7, "")
9284
+ servoTuning: jspb.Message.getFieldWithDefault(msg, 7, ""),
9285
+ storageList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
8977
9286
  };
8978
9287
 
8979
9288
  if (includeInstance) {
@@ -9035,6 +9344,10 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.deserializeBinaryFromRe
9035
9344
  var value = /** @type {string} */ (reader.readString());
9036
9345
  msg.setServoTuning(value);
9037
9346
  break;
9347
+ case 8:
9348
+ var value = /** @type {string} */ (reader.readString());
9349
+ msg.addStorage(value);
9350
+ break;
9038
9351
  default:
9039
9352
  reader.skipField();
9040
9353
  break;
@@ -9107,6 +9420,13 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.serializeBinaryToWriter
9107
9420
  f
9108
9421
  );
9109
9422
  }
9423
+ f = message.getStorageList();
9424
+ if (f.length > 0) {
9425
+ writer.writeRepeatedString(
9426
+ 8,
9427
+ f
9428
+ );
9429
+ }
9110
9430
  };
9111
9431
 
9112
9432
 
@@ -9295,6 +9615,43 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.setServoTunin
9295
9615
  };
9296
9616
 
9297
9617
 
9618
+ /**
9619
+ * repeated string storage = 8;
9620
+ * @return {!Array<string>}
9621
+ */
9622
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.getStorageList = function() {
9623
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 8));
9624
+ };
9625
+
9626
+
9627
+ /**
9628
+ * @param {!Array<string>} value
9629
+ * @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
9630
+ */
9631
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.setStorageList = function(value) {
9632
+ return jspb.Message.setField(this, 8, value || []);
9633
+ };
9634
+
9635
+
9636
+ /**
9637
+ * @param {string} value
9638
+ * @param {number=} opt_index
9639
+ * @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
9640
+ */
9641
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.addStorage = function(value, opt_index) {
9642
+ return jspb.Message.addToRepeatedField(this, 8, value, opt_index);
9643
+ };
9644
+
9645
+
9646
+ /**
9647
+ * Clears the list making it empty but non-null.
9648
+ * @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
9649
+ */
9650
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.clearStorageList = function() {
9651
+ return this.setStorageList([]);
9652
+ };
9653
+
9654
+
9298
9655
 
9299
9656
 
9300
9657
 
@@ -10060,6 +10417,136 @@ proto.zaber.motion.protobufs.ToolsListSerialPortsResponse.prototype.clearPortsLi
10060
10417
 
10061
10418
 
10062
10419
 
10420
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10421
+ /**
10422
+ * Creates an object representation of this proto.
10423
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10424
+ * Optional fields that are not set will be set to undefined.
10425
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10426
+ * For the list of reserved names please see:
10427
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10428
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10429
+ * JSPB instance for transitional soy proto support:
10430
+ * http://goto/soy-param-migration
10431
+ * @return {!Object}
10432
+ */
10433
+ proto.zaber.motion.protobufs.GetMessageRouterPipeResponse.prototype.toObject = function(opt_includeInstance) {
10434
+ return proto.zaber.motion.protobufs.GetMessageRouterPipeResponse.toObject(opt_includeInstance, this);
10435
+ };
10436
+
10437
+
10438
+ /**
10439
+ * Static version of the {@see toObject} method.
10440
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10441
+ * the JSPB instance for transitional soy proto support:
10442
+ * http://goto/soy-param-migration
10443
+ * @param {!proto.zaber.motion.protobufs.GetMessageRouterPipeResponse} msg The msg instance to transform.
10444
+ * @return {!Object}
10445
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10446
+ */
10447
+ proto.zaber.motion.protobufs.GetMessageRouterPipeResponse.toObject = function(includeInstance, msg) {
10448
+ var f, obj = {
10449
+ value: jspb.Message.getFieldWithDefault(msg, 1, "")
10450
+ };
10451
+
10452
+ if (includeInstance) {
10453
+ obj.$jspbMessageInstance = msg;
10454
+ }
10455
+ return obj;
10456
+ };
10457
+ }
10458
+
10459
+
10460
+ /**
10461
+ * Deserializes binary data (in protobuf wire format).
10462
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10463
+ * @return {!proto.zaber.motion.protobufs.GetMessageRouterPipeResponse}
10464
+ */
10465
+ proto.zaber.motion.protobufs.GetMessageRouterPipeResponse.deserializeBinary = function(bytes) {
10466
+ var reader = new jspb.BinaryReader(bytes);
10467
+ var msg = new proto.zaber.motion.protobufs.GetMessageRouterPipeResponse;
10468
+ return proto.zaber.motion.protobufs.GetMessageRouterPipeResponse.deserializeBinaryFromReader(msg, reader);
10469
+ };
10470
+
10471
+
10472
+ /**
10473
+ * Deserializes binary data (in protobuf wire format) from the
10474
+ * given reader into the given message object.
10475
+ * @param {!proto.zaber.motion.protobufs.GetMessageRouterPipeResponse} msg The message object to deserialize into.
10476
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10477
+ * @return {!proto.zaber.motion.protobufs.GetMessageRouterPipeResponse}
10478
+ */
10479
+ proto.zaber.motion.protobufs.GetMessageRouterPipeResponse.deserializeBinaryFromReader = function(msg, reader) {
10480
+ while (reader.nextField()) {
10481
+ if (reader.isEndGroup()) {
10482
+ break;
10483
+ }
10484
+ var field = reader.getFieldNumber();
10485
+ switch (field) {
10486
+ case 1:
10487
+ var value = /** @type {string} */ (reader.readString());
10488
+ msg.setValue(value);
10489
+ break;
10490
+ default:
10491
+ reader.skipField();
10492
+ break;
10493
+ }
10494
+ }
10495
+ return msg;
10496
+ };
10497
+
10498
+
10499
+ /**
10500
+ * Serializes the message to binary data (in protobuf wire format).
10501
+ * @return {!Uint8Array}
10502
+ */
10503
+ proto.zaber.motion.protobufs.GetMessageRouterPipeResponse.prototype.serializeBinary = function() {
10504
+ var writer = new jspb.BinaryWriter();
10505
+ proto.zaber.motion.protobufs.GetMessageRouterPipeResponse.serializeBinaryToWriter(this, writer);
10506
+ return writer.getResultBuffer();
10507
+ };
10508
+
10509
+
10510
+ /**
10511
+ * Serializes the given message to binary data (in protobuf wire
10512
+ * format), writing to the given BinaryWriter.
10513
+ * @param {!proto.zaber.motion.protobufs.GetMessageRouterPipeResponse} message
10514
+ * @param {!jspb.BinaryWriter} writer
10515
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10516
+ */
10517
+ proto.zaber.motion.protobufs.GetMessageRouterPipeResponse.serializeBinaryToWriter = function(message, writer) {
10518
+ var f = undefined;
10519
+ f = message.getValue();
10520
+ if (f.length > 0) {
10521
+ writer.writeString(
10522
+ 1,
10523
+ f
10524
+ );
10525
+ }
10526
+ };
10527
+
10528
+
10529
+ /**
10530
+ * optional string value = 1;
10531
+ * @return {string}
10532
+ */
10533
+ proto.zaber.motion.protobufs.GetMessageRouterPipeResponse.prototype.getValue = function() {
10534
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
10535
+ };
10536
+
10537
+
10538
+ /**
10539
+ * @param {string} value
10540
+ * @return {!proto.zaber.motion.protobufs.GetMessageRouterPipeResponse} returns this
10541
+ */
10542
+ proto.zaber.motion.protobufs.GetMessageRouterPipeResponse.prototype.setValue = function(value) {
10543
+ return jspb.Message.setProto3StringField(this, 1, value);
10544
+ };
10545
+
10546
+
10547
+
10548
+
10549
+
10063
10550
  if (jspb.Message.GENERATE_TO_OBJECT) {
10064
10551
  /**
10065
10552
  * Creates an object representation of this proto.
@@ -45917,6 +46404,2956 @@ proto.zaber.motion.protobufs.SetStateRequest.prototype.setDeviceOnly = function(
45917
46404
 
45918
46405
 
45919
46406
 
46407
+ if (jspb.Message.GENERATE_TO_OBJECT) {
46408
+ /**
46409
+ * Creates an object representation of this proto.
46410
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
46411
+ * Optional fields that are not set will be set to undefined.
46412
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
46413
+ * For the list of reserved names please see:
46414
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
46415
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
46416
+ * JSPB instance for transitional soy proto support:
46417
+ * http://goto/soy-param-migration
46418
+ * @return {!Object}
46419
+ */
46420
+ proto.zaber.motion.protobufs.ServoTuningRequest.prototype.toObject = function(opt_includeInstance) {
46421
+ return proto.zaber.motion.protobufs.ServoTuningRequest.toObject(opt_includeInstance, this);
46422
+ };
46423
+
46424
+
46425
+ /**
46426
+ * Static version of the {@see toObject} method.
46427
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
46428
+ * the JSPB instance for transitional soy proto support:
46429
+ * http://goto/soy-param-migration
46430
+ * @param {!proto.zaber.motion.protobufs.ServoTuningRequest} msg The msg instance to transform.
46431
+ * @return {!Object}
46432
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46433
+ */
46434
+ proto.zaber.motion.protobufs.ServoTuningRequest.toObject = function(includeInstance, msg) {
46435
+ var f, obj = {
46436
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
46437
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
46438
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
46439
+ paramset: jspb.Message.getFieldWithDefault(msg, 4, 0)
46440
+ };
46441
+
46442
+ if (includeInstance) {
46443
+ obj.$jspbMessageInstance = msg;
46444
+ }
46445
+ return obj;
46446
+ };
46447
+ }
46448
+
46449
+
46450
+ /**
46451
+ * Deserializes binary data (in protobuf wire format).
46452
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
46453
+ * @return {!proto.zaber.motion.protobufs.ServoTuningRequest}
46454
+ */
46455
+ proto.zaber.motion.protobufs.ServoTuningRequest.deserializeBinary = function(bytes) {
46456
+ var reader = new jspb.BinaryReader(bytes);
46457
+ var msg = new proto.zaber.motion.protobufs.ServoTuningRequest;
46458
+ return proto.zaber.motion.protobufs.ServoTuningRequest.deserializeBinaryFromReader(msg, reader);
46459
+ };
46460
+
46461
+
46462
+ /**
46463
+ * Deserializes binary data (in protobuf wire format) from the
46464
+ * given reader into the given message object.
46465
+ * @param {!proto.zaber.motion.protobufs.ServoTuningRequest} msg The message object to deserialize into.
46466
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
46467
+ * @return {!proto.zaber.motion.protobufs.ServoTuningRequest}
46468
+ */
46469
+ proto.zaber.motion.protobufs.ServoTuningRequest.deserializeBinaryFromReader = function(msg, reader) {
46470
+ while (reader.nextField()) {
46471
+ if (reader.isEndGroup()) {
46472
+ break;
46473
+ }
46474
+ var field = reader.getFieldNumber();
46475
+ switch (field) {
46476
+ case 1:
46477
+ var value = /** @type {number} */ (reader.readInt32());
46478
+ msg.setInterfaceId(value);
46479
+ break;
46480
+ case 2:
46481
+ var value = /** @type {number} */ (reader.readInt32());
46482
+ msg.setDevice(value);
46483
+ break;
46484
+ case 3:
46485
+ var value = /** @type {number} */ (reader.readInt32());
46486
+ msg.setAxis(value);
46487
+ break;
46488
+ case 4:
46489
+ var value = /** @type {number} */ (reader.readInt32());
46490
+ msg.setParamset(value);
46491
+ break;
46492
+ default:
46493
+ reader.skipField();
46494
+ break;
46495
+ }
46496
+ }
46497
+ return msg;
46498
+ };
46499
+
46500
+
46501
+ /**
46502
+ * Serializes the message to binary data (in protobuf wire format).
46503
+ * @return {!Uint8Array}
46504
+ */
46505
+ proto.zaber.motion.protobufs.ServoTuningRequest.prototype.serializeBinary = function() {
46506
+ var writer = new jspb.BinaryWriter();
46507
+ proto.zaber.motion.protobufs.ServoTuningRequest.serializeBinaryToWriter(this, writer);
46508
+ return writer.getResultBuffer();
46509
+ };
46510
+
46511
+
46512
+ /**
46513
+ * Serializes the given message to binary data (in protobuf wire
46514
+ * format), writing to the given BinaryWriter.
46515
+ * @param {!proto.zaber.motion.protobufs.ServoTuningRequest} message
46516
+ * @param {!jspb.BinaryWriter} writer
46517
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46518
+ */
46519
+ proto.zaber.motion.protobufs.ServoTuningRequest.serializeBinaryToWriter = function(message, writer) {
46520
+ var f = undefined;
46521
+ f = message.getInterfaceId();
46522
+ if (f !== 0) {
46523
+ writer.writeInt32(
46524
+ 1,
46525
+ f
46526
+ );
46527
+ }
46528
+ f = message.getDevice();
46529
+ if (f !== 0) {
46530
+ writer.writeInt32(
46531
+ 2,
46532
+ f
46533
+ );
46534
+ }
46535
+ f = message.getAxis();
46536
+ if (f !== 0) {
46537
+ writer.writeInt32(
46538
+ 3,
46539
+ f
46540
+ );
46541
+ }
46542
+ f = message.getParamset();
46543
+ if (f !== 0) {
46544
+ writer.writeInt32(
46545
+ 4,
46546
+ f
46547
+ );
46548
+ }
46549
+ };
46550
+
46551
+
46552
+ /**
46553
+ * optional int32 interface_id = 1;
46554
+ * @return {number}
46555
+ */
46556
+ proto.zaber.motion.protobufs.ServoTuningRequest.prototype.getInterfaceId = function() {
46557
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
46558
+ };
46559
+
46560
+
46561
+ /**
46562
+ * @param {number} value
46563
+ * @return {!proto.zaber.motion.protobufs.ServoTuningRequest} returns this
46564
+ */
46565
+ proto.zaber.motion.protobufs.ServoTuningRequest.prototype.setInterfaceId = function(value) {
46566
+ return jspb.Message.setProto3IntField(this, 1, value);
46567
+ };
46568
+
46569
+
46570
+ /**
46571
+ * optional int32 device = 2;
46572
+ * @return {number}
46573
+ */
46574
+ proto.zaber.motion.protobufs.ServoTuningRequest.prototype.getDevice = function() {
46575
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
46576
+ };
46577
+
46578
+
46579
+ /**
46580
+ * @param {number} value
46581
+ * @return {!proto.zaber.motion.protobufs.ServoTuningRequest} returns this
46582
+ */
46583
+ proto.zaber.motion.protobufs.ServoTuningRequest.prototype.setDevice = function(value) {
46584
+ return jspb.Message.setProto3IntField(this, 2, value);
46585
+ };
46586
+
46587
+
46588
+ /**
46589
+ * optional int32 axis = 3;
46590
+ * @return {number}
46591
+ */
46592
+ proto.zaber.motion.protobufs.ServoTuningRequest.prototype.getAxis = function() {
46593
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
46594
+ };
46595
+
46596
+
46597
+ /**
46598
+ * @param {number} value
46599
+ * @return {!proto.zaber.motion.protobufs.ServoTuningRequest} returns this
46600
+ */
46601
+ proto.zaber.motion.protobufs.ServoTuningRequest.prototype.setAxis = function(value) {
46602
+ return jspb.Message.setProto3IntField(this, 3, value);
46603
+ };
46604
+
46605
+
46606
+ /**
46607
+ * optional int32 paramset = 4;
46608
+ * @return {number}
46609
+ */
46610
+ proto.zaber.motion.protobufs.ServoTuningRequest.prototype.getParamset = function() {
46611
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
46612
+ };
46613
+
46614
+
46615
+ /**
46616
+ * @param {number} value
46617
+ * @return {!proto.zaber.motion.protobufs.ServoTuningRequest} returns this
46618
+ */
46619
+ proto.zaber.motion.protobufs.ServoTuningRequest.prototype.setParamset = function(value) {
46620
+ return jspb.Message.setProto3IntField(this, 4, value);
46621
+ };
46622
+
46623
+
46624
+
46625
+
46626
+
46627
+ if (jspb.Message.GENERATE_TO_OBJECT) {
46628
+ /**
46629
+ * Creates an object representation of this proto.
46630
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
46631
+ * Optional fields that are not set will be set to undefined.
46632
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
46633
+ * For the list of reserved names please see:
46634
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
46635
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
46636
+ * JSPB instance for transitional soy proto support:
46637
+ * http://goto/soy-param-migration
46638
+ * @return {!Object}
46639
+ */
46640
+ proto.zaber.motion.protobufs.ServoTuningParam.prototype.toObject = function(opt_includeInstance) {
46641
+ return proto.zaber.motion.protobufs.ServoTuningParam.toObject(opt_includeInstance, this);
46642
+ };
46643
+
46644
+
46645
+ /**
46646
+ * Static version of the {@see toObject} method.
46647
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
46648
+ * the JSPB instance for transitional soy proto support:
46649
+ * http://goto/soy-param-migration
46650
+ * @param {!proto.zaber.motion.protobufs.ServoTuningParam} msg The msg instance to transform.
46651
+ * @return {!Object}
46652
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46653
+ */
46654
+ proto.zaber.motion.protobufs.ServoTuningParam.toObject = function(includeInstance, msg) {
46655
+ var f, obj = {
46656
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
46657
+ value: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
46658
+ };
46659
+
46660
+ if (includeInstance) {
46661
+ obj.$jspbMessageInstance = msg;
46662
+ }
46663
+ return obj;
46664
+ };
46665
+ }
46666
+
46667
+
46668
+ /**
46669
+ * Deserializes binary data (in protobuf wire format).
46670
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
46671
+ * @return {!proto.zaber.motion.protobufs.ServoTuningParam}
46672
+ */
46673
+ proto.zaber.motion.protobufs.ServoTuningParam.deserializeBinary = function(bytes) {
46674
+ var reader = new jspb.BinaryReader(bytes);
46675
+ var msg = new proto.zaber.motion.protobufs.ServoTuningParam;
46676
+ return proto.zaber.motion.protobufs.ServoTuningParam.deserializeBinaryFromReader(msg, reader);
46677
+ };
46678
+
46679
+
46680
+ /**
46681
+ * Deserializes binary data (in protobuf wire format) from the
46682
+ * given reader into the given message object.
46683
+ * @param {!proto.zaber.motion.protobufs.ServoTuningParam} msg The message object to deserialize into.
46684
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
46685
+ * @return {!proto.zaber.motion.protobufs.ServoTuningParam}
46686
+ */
46687
+ proto.zaber.motion.protobufs.ServoTuningParam.deserializeBinaryFromReader = function(msg, reader) {
46688
+ while (reader.nextField()) {
46689
+ if (reader.isEndGroup()) {
46690
+ break;
46691
+ }
46692
+ var field = reader.getFieldNumber();
46693
+ switch (field) {
46694
+ case 1:
46695
+ var value = /** @type {string} */ (reader.readString());
46696
+ msg.setName(value);
46697
+ break;
46698
+ case 2:
46699
+ var value = /** @type {number} */ (reader.readDouble());
46700
+ msg.setValue(value);
46701
+ break;
46702
+ default:
46703
+ reader.skipField();
46704
+ break;
46705
+ }
46706
+ }
46707
+ return msg;
46708
+ };
46709
+
46710
+
46711
+ /**
46712
+ * Serializes the message to binary data (in protobuf wire format).
46713
+ * @return {!Uint8Array}
46714
+ */
46715
+ proto.zaber.motion.protobufs.ServoTuningParam.prototype.serializeBinary = function() {
46716
+ var writer = new jspb.BinaryWriter();
46717
+ proto.zaber.motion.protobufs.ServoTuningParam.serializeBinaryToWriter(this, writer);
46718
+ return writer.getResultBuffer();
46719
+ };
46720
+
46721
+
46722
+ /**
46723
+ * Serializes the given message to binary data (in protobuf wire
46724
+ * format), writing to the given BinaryWriter.
46725
+ * @param {!proto.zaber.motion.protobufs.ServoTuningParam} message
46726
+ * @param {!jspb.BinaryWriter} writer
46727
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46728
+ */
46729
+ proto.zaber.motion.protobufs.ServoTuningParam.serializeBinaryToWriter = function(message, writer) {
46730
+ var f = undefined;
46731
+ f = message.getName();
46732
+ if (f.length > 0) {
46733
+ writer.writeString(
46734
+ 1,
46735
+ f
46736
+ );
46737
+ }
46738
+ f = message.getValue();
46739
+ if (f !== 0.0) {
46740
+ writer.writeDouble(
46741
+ 2,
46742
+ f
46743
+ );
46744
+ }
46745
+ };
46746
+
46747
+
46748
+ /**
46749
+ * optional string name = 1;
46750
+ * @return {string}
46751
+ */
46752
+ proto.zaber.motion.protobufs.ServoTuningParam.prototype.getName = function() {
46753
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
46754
+ };
46755
+
46756
+
46757
+ /**
46758
+ * @param {string} value
46759
+ * @return {!proto.zaber.motion.protobufs.ServoTuningParam} returns this
46760
+ */
46761
+ proto.zaber.motion.protobufs.ServoTuningParam.prototype.setName = function(value) {
46762
+ return jspb.Message.setProto3StringField(this, 1, value);
46763
+ };
46764
+
46765
+
46766
+ /**
46767
+ * optional double value = 2;
46768
+ * @return {number}
46769
+ */
46770
+ proto.zaber.motion.protobufs.ServoTuningParam.prototype.getValue = function() {
46771
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
46772
+ };
46773
+
46774
+
46775
+ /**
46776
+ * @param {number} value
46777
+ * @return {!proto.zaber.motion.protobufs.ServoTuningParam} returns this
46778
+ */
46779
+ proto.zaber.motion.protobufs.ServoTuningParam.prototype.setValue = function(value) {
46780
+ return jspb.Message.setProto3FloatField(this, 2, value);
46781
+ };
46782
+
46783
+
46784
+
46785
+ /**
46786
+ * List of repeated fields within this message type.
46787
+ * @private {!Array<number>}
46788
+ * @const
46789
+ */
46790
+ proto.zaber.motion.protobufs.ParamsetInfo.repeatedFields_ = [2];
46791
+
46792
+
46793
+
46794
+ if (jspb.Message.GENERATE_TO_OBJECT) {
46795
+ /**
46796
+ * Creates an object representation of this proto.
46797
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
46798
+ * Optional fields that are not set will be set to undefined.
46799
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
46800
+ * For the list of reserved names please see:
46801
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
46802
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
46803
+ * JSPB instance for transitional soy proto support:
46804
+ * http://goto/soy-param-migration
46805
+ * @return {!Object}
46806
+ */
46807
+ proto.zaber.motion.protobufs.ParamsetInfo.prototype.toObject = function(opt_includeInstance) {
46808
+ return proto.zaber.motion.protobufs.ParamsetInfo.toObject(opt_includeInstance, this);
46809
+ };
46810
+
46811
+
46812
+ /**
46813
+ * Static version of the {@see toObject} method.
46814
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
46815
+ * the JSPB instance for transitional soy proto support:
46816
+ * http://goto/soy-param-migration
46817
+ * @param {!proto.zaber.motion.protobufs.ParamsetInfo} msg The msg instance to transform.
46818
+ * @return {!Object}
46819
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46820
+ */
46821
+ proto.zaber.motion.protobufs.ParamsetInfo.toObject = function(includeInstance, msg) {
46822
+ var f, obj = {
46823
+ type: jspb.Message.getFieldWithDefault(msg, 1, ""),
46824
+ paramsList: jspb.Message.toObjectList(msg.getParamsList(),
46825
+ proto.zaber.motion.protobufs.ServoTuningParam.toObject, includeInstance)
46826
+ };
46827
+
46828
+ if (includeInstance) {
46829
+ obj.$jspbMessageInstance = msg;
46830
+ }
46831
+ return obj;
46832
+ };
46833
+ }
46834
+
46835
+
46836
+ /**
46837
+ * Deserializes binary data (in protobuf wire format).
46838
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
46839
+ * @return {!proto.zaber.motion.protobufs.ParamsetInfo}
46840
+ */
46841
+ proto.zaber.motion.protobufs.ParamsetInfo.deserializeBinary = function(bytes) {
46842
+ var reader = new jspb.BinaryReader(bytes);
46843
+ var msg = new proto.zaber.motion.protobufs.ParamsetInfo;
46844
+ return proto.zaber.motion.protobufs.ParamsetInfo.deserializeBinaryFromReader(msg, reader);
46845
+ };
46846
+
46847
+
46848
+ /**
46849
+ * Deserializes binary data (in protobuf wire format) from the
46850
+ * given reader into the given message object.
46851
+ * @param {!proto.zaber.motion.protobufs.ParamsetInfo} msg The message object to deserialize into.
46852
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
46853
+ * @return {!proto.zaber.motion.protobufs.ParamsetInfo}
46854
+ */
46855
+ proto.zaber.motion.protobufs.ParamsetInfo.deserializeBinaryFromReader = function(msg, reader) {
46856
+ while (reader.nextField()) {
46857
+ if (reader.isEndGroup()) {
46858
+ break;
46859
+ }
46860
+ var field = reader.getFieldNumber();
46861
+ switch (field) {
46862
+ case 1:
46863
+ var value = /** @type {string} */ (reader.readString());
46864
+ msg.setType(value);
46865
+ break;
46866
+ case 2:
46867
+ var value = new proto.zaber.motion.protobufs.ServoTuningParam;
46868
+ reader.readMessage(value,proto.zaber.motion.protobufs.ServoTuningParam.deserializeBinaryFromReader);
46869
+ msg.addParams(value);
46870
+ break;
46871
+ default:
46872
+ reader.skipField();
46873
+ break;
46874
+ }
46875
+ }
46876
+ return msg;
46877
+ };
46878
+
46879
+
46880
+ /**
46881
+ * Serializes the message to binary data (in protobuf wire format).
46882
+ * @return {!Uint8Array}
46883
+ */
46884
+ proto.zaber.motion.protobufs.ParamsetInfo.prototype.serializeBinary = function() {
46885
+ var writer = new jspb.BinaryWriter();
46886
+ proto.zaber.motion.protobufs.ParamsetInfo.serializeBinaryToWriter(this, writer);
46887
+ return writer.getResultBuffer();
46888
+ };
46889
+
46890
+
46891
+ /**
46892
+ * Serializes the given message to binary data (in protobuf wire
46893
+ * format), writing to the given BinaryWriter.
46894
+ * @param {!proto.zaber.motion.protobufs.ParamsetInfo} message
46895
+ * @param {!jspb.BinaryWriter} writer
46896
+ * @suppress {unusedLocalVariables} f is only used for nested messages
46897
+ */
46898
+ proto.zaber.motion.protobufs.ParamsetInfo.serializeBinaryToWriter = function(message, writer) {
46899
+ var f = undefined;
46900
+ f = message.getType();
46901
+ if (f.length > 0) {
46902
+ writer.writeString(
46903
+ 1,
46904
+ f
46905
+ );
46906
+ }
46907
+ f = message.getParamsList();
46908
+ if (f.length > 0) {
46909
+ writer.writeRepeatedMessage(
46910
+ 2,
46911
+ f,
46912
+ proto.zaber.motion.protobufs.ServoTuningParam.serializeBinaryToWriter
46913
+ );
46914
+ }
46915
+ };
46916
+
46917
+
46918
+ /**
46919
+ * optional string type = 1;
46920
+ * @return {string}
46921
+ */
46922
+ proto.zaber.motion.protobufs.ParamsetInfo.prototype.getType = function() {
46923
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
46924
+ };
46925
+
46926
+
46927
+ /**
46928
+ * @param {string} value
46929
+ * @return {!proto.zaber.motion.protobufs.ParamsetInfo} returns this
46930
+ */
46931
+ proto.zaber.motion.protobufs.ParamsetInfo.prototype.setType = function(value) {
46932
+ return jspb.Message.setProto3StringField(this, 1, value);
46933
+ };
46934
+
46935
+
46936
+ /**
46937
+ * repeated ServoTuningParam params = 2;
46938
+ * @return {!Array<!proto.zaber.motion.protobufs.ServoTuningParam>}
46939
+ */
46940
+ proto.zaber.motion.protobufs.ParamsetInfo.prototype.getParamsList = function() {
46941
+ return /** @type{!Array<!proto.zaber.motion.protobufs.ServoTuningParam>} */ (
46942
+ jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.ServoTuningParam, 2));
46943
+ };
46944
+
46945
+
46946
+ /**
46947
+ * @param {!Array<!proto.zaber.motion.protobufs.ServoTuningParam>} value
46948
+ * @return {!proto.zaber.motion.protobufs.ParamsetInfo} returns this
46949
+ */
46950
+ proto.zaber.motion.protobufs.ParamsetInfo.prototype.setParamsList = function(value) {
46951
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
46952
+ };
46953
+
46954
+
46955
+ /**
46956
+ * @param {!proto.zaber.motion.protobufs.ServoTuningParam=} opt_value
46957
+ * @param {number=} opt_index
46958
+ * @return {!proto.zaber.motion.protobufs.ServoTuningParam}
46959
+ */
46960
+ proto.zaber.motion.protobufs.ParamsetInfo.prototype.addParams = function(opt_value, opt_index) {
46961
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.zaber.motion.protobufs.ServoTuningParam, opt_index);
46962
+ };
46963
+
46964
+
46965
+ /**
46966
+ * Clears the list making it empty but non-null.
46967
+ * @return {!proto.zaber.motion.protobufs.ParamsetInfo} returns this
46968
+ */
46969
+ proto.zaber.motion.protobufs.ParamsetInfo.prototype.clearParamsList = function() {
46970
+ return this.setParamsList([]);
46971
+ };
46972
+
46973
+
46974
+
46975
+ /**
46976
+ * List of repeated fields within this message type.
46977
+ * @private {!Array<number>}
46978
+ * @const
46979
+ */
46980
+ proto.zaber.motion.protobufs.SetServoTuningRequest.repeatedFields_ = [5];
46981
+
46982
+
46983
+
46984
+ if (jspb.Message.GENERATE_TO_OBJECT) {
46985
+ /**
46986
+ * Creates an object representation of this proto.
46987
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
46988
+ * Optional fields that are not set will be set to undefined.
46989
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
46990
+ * For the list of reserved names please see:
46991
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
46992
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
46993
+ * JSPB instance for transitional soy proto support:
46994
+ * http://goto/soy-param-migration
46995
+ * @return {!Object}
46996
+ */
46997
+ proto.zaber.motion.protobufs.SetServoTuningRequest.prototype.toObject = function(opt_includeInstance) {
46998
+ return proto.zaber.motion.protobufs.SetServoTuningRequest.toObject(opt_includeInstance, this);
46999
+ };
47000
+
47001
+
47002
+ /**
47003
+ * Static version of the {@see toObject} method.
47004
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
47005
+ * the JSPB instance for transitional soy proto support:
47006
+ * http://goto/soy-param-migration
47007
+ * @param {!proto.zaber.motion.protobufs.SetServoTuningRequest} msg The msg instance to transform.
47008
+ * @return {!Object}
47009
+ * @suppress {unusedLocalVariables} f is only used for nested messages
47010
+ */
47011
+ proto.zaber.motion.protobufs.SetServoTuningRequest.toObject = function(includeInstance, msg) {
47012
+ var f, obj = {
47013
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
47014
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
47015
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
47016
+ paramset: jspb.Message.getFieldWithDefault(msg, 4, 0),
47017
+ tuningParamsList: jspb.Message.toObjectList(msg.getTuningParamsList(),
47018
+ proto.zaber.motion.protobufs.ServoTuningParam.toObject, includeInstance)
47019
+ };
47020
+
47021
+ if (includeInstance) {
47022
+ obj.$jspbMessageInstance = msg;
47023
+ }
47024
+ return obj;
47025
+ };
47026
+ }
47027
+
47028
+
47029
+ /**
47030
+ * Deserializes binary data (in protobuf wire format).
47031
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
47032
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningRequest}
47033
+ */
47034
+ proto.zaber.motion.protobufs.SetServoTuningRequest.deserializeBinary = function(bytes) {
47035
+ var reader = new jspb.BinaryReader(bytes);
47036
+ var msg = new proto.zaber.motion.protobufs.SetServoTuningRequest;
47037
+ return proto.zaber.motion.protobufs.SetServoTuningRequest.deserializeBinaryFromReader(msg, reader);
47038
+ };
47039
+
47040
+
47041
+ /**
47042
+ * Deserializes binary data (in protobuf wire format) from the
47043
+ * given reader into the given message object.
47044
+ * @param {!proto.zaber.motion.protobufs.SetServoTuningRequest} msg The message object to deserialize into.
47045
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
47046
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningRequest}
47047
+ */
47048
+ proto.zaber.motion.protobufs.SetServoTuningRequest.deserializeBinaryFromReader = function(msg, reader) {
47049
+ while (reader.nextField()) {
47050
+ if (reader.isEndGroup()) {
47051
+ break;
47052
+ }
47053
+ var field = reader.getFieldNumber();
47054
+ switch (field) {
47055
+ case 1:
47056
+ var value = /** @type {number} */ (reader.readInt32());
47057
+ msg.setInterfaceId(value);
47058
+ break;
47059
+ case 2:
47060
+ var value = /** @type {number} */ (reader.readInt32());
47061
+ msg.setDevice(value);
47062
+ break;
47063
+ case 3:
47064
+ var value = /** @type {number} */ (reader.readInt32());
47065
+ msg.setAxis(value);
47066
+ break;
47067
+ case 4:
47068
+ var value = /** @type {number} */ (reader.readInt32());
47069
+ msg.setParamset(value);
47070
+ break;
47071
+ case 5:
47072
+ var value = new proto.zaber.motion.protobufs.ServoTuningParam;
47073
+ reader.readMessage(value,proto.zaber.motion.protobufs.ServoTuningParam.deserializeBinaryFromReader);
47074
+ msg.addTuningParams(value);
47075
+ break;
47076
+ default:
47077
+ reader.skipField();
47078
+ break;
47079
+ }
47080
+ }
47081
+ return msg;
47082
+ };
47083
+
47084
+
47085
+ /**
47086
+ * Serializes the message to binary data (in protobuf wire format).
47087
+ * @return {!Uint8Array}
47088
+ */
47089
+ proto.zaber.motion.protobufs.SetServoTuningRequest.prototype.serializeBinary = function() {
47090
+ var writer = new jspb.BinaryWriter();
47091
+ proto.zaber.motion.protobufs.SetServoTuningRequest.serializeBinaryToWriter(this, writer);
47092
+ return writer.getResultBuffer();
47093
+ };
47094
+
47095
+
47096
+ /**
47097
+ * Serializes the given message to binary data (in protobuf wire
47098
+ * format), writing to the given BinaryWriter.
47099
+ * @param {!proto.zaber.motion.protobufs.SetServoTuningRequest} message
47100
+ * @param {!jspb.BinaryWriter} writer
47101
+ * @suppress {unusedLocalVariables} f is only used for nested messages
47102
+ */
47103
+ proto.zaber.motion.protobufs.SetServoTuningRequest.serializeBinaryToWriter = function(message, writer) {
47104
+ var f = undefined;
47105
+ f = message.getInterfaceId();
47106
+ if (f !== 0) {
47107
+ writer.writeInt32(
47108
+ 1,
47109
+ f
47110
+ );
47111
+ }
47112
+ f = message.getDevice();
47113
+ if (f !== 0) {
47114
+ writer.writeInt32(
47115
+ 2,
47116
+ f
47117
+ );
47118
+ }
47119
+ f = message.getAxis();
47120
+ if (f !== 0) {
47121
+ writer.writeInt32(
47122
+ 3,
47123
+ f
47124
+ );
47125
+ }
47126
+ f = message.getParamset();
47127
+ if (f !== 0) {
47128
+ writer.writeInt32(
47129
+ 4,
47130
+ f
47131
+ );
47132
+ }
47133
+ f = message.getTuningParamsList();
47134
+ if (f.length > 0) {
47135
+ writer.writeRepeatedMessage(
47136
+ 5,
47137
+ f,
47138
+ proto.zaber.motion.protobufs.ServoTuningParam.serializeBinaryToWriter
47139
+ );
47140
+ }
47141
+ };
47142
+
47143
+
47144
+ /**
47145
+ * optional int32 interface_id = 1;
47146
+ * @return {number}
47147
+ */
47148
+ proto.zaber.motion.protobufs.SetServoTuningRequest.prototype.getInterfaceId = function() {
47149
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
47150
+ };
47151
+
47152
+
47153
+ /**
47154
+ * @param {number} value
47155
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningRequest} returns this
47156
+ */
47157
+ proto.zaber.motion.protobufs.SetServoTuningRequest.prototype.setInterfaceId = function(value) {
47158
+ return jspb.Message.setProto3IntField(this, 1, value);
47159
+ };
47160
+
47161
+
47162
+ /**
47163
+ * optional int32 device = 2;
47164
+ * @return {number}
47165
+ */
47166
+ proto.zaber.motion.protobufs.SetServoTuningRequest.prototype.getDevice = function() {
47167
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
47168
+ };
47169
+
47170
+
47171
+ /**
47172
+ * @param {number} value
47173
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningRequest} returns this
47174
+ */
47175
+ proto.zaber.motion.protobufs.SetServoTuningRequest.prototype.setDevice = function(value) {
47176
+ return jspb.Message.setProto3IntField(this, 2, value);
47177
+ };
47178
+
47179
+
47180
+ /**
47181
+ * optional int32 axis = 3;
47182
+ * @return {number}
47183
+ */
47184
+ proto.zaber.motion.protobufs.SetServoTuningRequest.prototype.getAxis = function() {
47185
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
47186
+ };
47187
+
47188
+
47189
+ /**
47190
+ * @param {number} value
47191
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningRequest} returns this
47192
+ */
47193
+ proto.zaber.motion.protobufs.SetServoTuningRequest.prototype.setAxis = function(value) {
47194
+ return jspb.Message.setProto3IntField(this, 3, value);
47195
+ };
47196
+
47197
+
47198
+ /**
47199
+ * optional int32 paramset = 4;
47200
+ * @return {number}
47201
+ */
47202
+ proto.zaber.motion.protobufs.SetServoTuningRequest.prototype.getParamset = function() {
47203
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
47204
+ };
47205
+
47206
+
47207
+ /**
47208
+ * @param {number} value
47209
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningRequest} returns this
47210
+ */
47211
+ proto.zaber.motion.protobufs.SetServoTuningRequest.prototype.setParamset = function(value) {
47212
+ return jspb.Message.setProto3IntField(this, 4, value);
47213
+ };
47214
+
47215
+
47216
+ /**
47217
+ * repeated ServoTuningParam tuning_params = 5;
47218
+ * @return {!Array<!proto.zaber.motion.protobufs.ServoTuningParam>}
47219
+ */
47220
+ proto.zaber.motion.protobufs.SetServoTuningRequest.prototype.getTuningParamsList = function() {
47221
+ return /** @type{!Array<!proto.zaber.motion.protobufs.ServoTuningParam>} */ (
47222
+ jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.ServoTuningParam, 5));
47223
+ };
47224
+
47225
+
47226
+ /**
47227
+ * @param {!Array<!proto.zaber.motion.protobufs.ServoTuningParam>} value
47228
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningRequest} returns this
47229
+ */
47230
+ proto.zaber.motion.protobufs.SetServoTuningRequest.prototype.setTuningParamsList = function(value) {
47231
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
47232
+ };
47233
+
47234
+
47235
+ /**
47236
+ * @param {!proto.zaber.motion.protobufs.ServoTuningParam=} opt_value
47237
+ * @param {number=} opt_index
47238
+ * @return {!proto.zaber.motion.protobufs.ServoTuningParam}
47239
+ */
47240
+ proto.zaber.motion.protobufs.SetServoTuningRequest.prototype.addTuningParams = function(opt_value, opt_index) {
47241
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.zaber.motion.protobufs.ServoTuningParam, opt_index);
47242
+ };
47243
+
47244
+
47245
+ /**
47246
+ * Clears the list making it empty but non-null.
47247
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningRequest} returns this
47248
+ */
47249
+ proto.zaber.motion.protobufs.SetServoTuningRequest.prototype.clearTuningParamsList = function() {
47250
+ return this.setTuningParamsList([]);
47251
+ };
47252
+
47253
+
47254
+
47255
+
47256
+
47257
+ if (jspb.Message.GENERATE_TO_OBJECT) {
47258
+ /**
47259
+ * Creates an object representation of this proto.
47260
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
47261
+ * Optional fields that are not set will be set to undefined.
47262
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
47263
+ * For the list of reserved names please see:
47264
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
47265
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
47266
+ * JSPB instance for transitional soy proto support:
47267
+ * http://goto/soy-param-migration
47268
+ * @return {!Object}
47269
+ */
47270
+ proto.zaber.motion.protobufs.GetStartupParamset.prototype.toObject = function(opt_includeInstance) {
47271
+ return proto.zaber.motion.protobufs.GetStartupParamset.toObject(opt_includeInstance, this);
47272
+ };
47273
+
47274
+
47275
+ /**
47276
+ * Static version of the {@see toObject} method.
47277
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
47278
+ * the JSPB instance for transitional soy proto support:
47279
+ * http://goto/soy-param-migration
47280
+ * @param {!proto.zaber.motion.protobufs.GetStartupParamset} msg The msg instance to transform.
47281
+ * @return {!Object}
47282
+ * @suppress {unusedLocalVariables} f is only used for nested messages
47283
+ */
47284
+ proto.zaber.motion.protobufs.GetStartupParamset.toObject = function(includeInstance, msg) {
47285
+ var f, obj = {
47286
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
47287
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
47288
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0)
47289
+ };
47290
+
47291
+ if (includeInstance) {
47292
+ obj.$jspbMessageInstance = msg;
47293
+ }
47294
+ return obj;
47295
+ };
47296
+ }
47297
+
47298
+
47299
+ /**
47300
+ * Deserializes binary data (in protobuf wire format).
47301
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
47302
+ * @return {!proto.zaber.motion.protobufs.GetStartupParamset}
47303
+ */
47304
+ proto.zaber.motion.protobufs.GetStartupParamset.deserializeBinary = function(bytes) {
47305
+ var reader = new jspb.BinaryReader(bytes);
47306
+ var msg = new proto.zaber.motion.protobufs.GetStartupParamset;
47307
+ return proto.zaber.motion.protobufs.GetStartupParamset.deserializeBinaryFromReader(msg, reader);
47308
+ };
47309
+
47310
+
47311
+ /**
47312
+ * Deserializes binary data (in protobuf wire format) from the
47313
+ * given reader into the given message object.
47314
+ * @param {!proto.zaber.motion.protobufs.GetStartupParamset} msg The message object to deserialize into.
47315
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
47316
+ * @return {!proto.zaber.motion.protobufs.GetStartupParamset}
47317
+ */
47318
+ proto.zaber.motion.protobufs.GetStartupParamset.deserializeBinaryFromReader = function(msg, reader) {
47319
+ while (reader.nextField()) {
47320
+ if (reader.isEndGroup()) {
47321
+ break;
47322
+ }
47323
+ var field = reader.getFieldNumber();
47324
+ switch (field) {
47325
+ case 1:
47326
+ var value = /** @type {number} */ (reader.readInt32());
47327
+ msg.setInterfaceId(value);
47328
+ break;
47329
+ case 2:
47330
+ var value = /** @type {number} */ (reader.readInt32());
47331
+ msg.setDevice(value);
47332
+ break;
47333
+ case 3:
47334
+ var value = /** @type {number} */ (reader.readInt32());
47335
+ msg.setAxis(value);
47336
+ break;
47337
+ default:
47338
+ reader.skipField();
47339
+ break;
47340
+ }
47341
+ }
47342
+ return msg;
47343
+ };
47344
+
47345
+
47346
+ /**
47347
+ * Serializes the message to binary data (in protobuf wire format).
47348
+ * @return {!Uint8Array}
47349
+ */
47350
+ proto.zaber.motion.protobufs.GetStartupParamset.prototype.serializeBinary = function() {
47351
+ var writer = new jspb.BinaryWriter();
47352
+ proto.zaber.motion.protobufs.GetStartupParamset.serializeBinaryToWriter(this, writer);
47353
+ return writer.getResultBuffer();
47354
+ };
47355
+
47356
+
47357
+ /**
47358
+ * Serializes the given message to binary data (in protobuf wire
47359
+ * format), writing to the given BinaryWriter.
47360
+ * @param {!proto.zaber.motion.protobufs.GetStartupParamset} message
47361
+ * @param {!jspb.BinaryWriter} writer
47362
+ * @suppress {unusedLocalVariables} f is only used for nested messages
47363
+ */
47364
+ proto.zaber.motion.protobufs.GetStartupParamset.serializeBinaryToWriter = function(message, writer) {
47365
+ var f = undefined;
47366
+ f = message.getInterfaceId();
47367
+ if (f !== 0) {
47368
+ writer.writeInt32(
47369
+ 1,
47370
+ f
47371
+ );
47372
+ }
47373
+ f = message.getDevice();
47374
+ if (f !== 0) {
47375
+ writer.writeInt32(
47376
+ 2,
47377
+ f
47378
+ );
47379
+ }
47380
+ f = message.getAxis();
47381
+ if (f !== 0) {
47382
+ writer.writeInt32(
47383
+ 3,
47384
+ f
47385
+ );
47386
+ }
47387
+ };
47388
+
47389
+
47390
+ /**
47391
+ * optional int32 interface_id = 1;
47392
+ * @return {number}
47393
+ */
47394
+ proto.zaber.motion.protobufs.GetStartupParamset.prototype.getInterfaceId = function() {
47395
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
47396
+ };
47397
+
47398
+
47399
+ /**
47400
+ * @param {number} value
47401
+ * @return {!proto.zaber.motion.protobufs.GetStartupParamset} returns this
47402
+ */
47403
+ proto.zaber.motion.protobufs.GetStartupParamset.prototype.setInterfaceId = function(value) {
47404
+ return jspb.Message.setProto3IntField(this, 1, value);
47405
+ };
47406
+
47407
+
47408
+ /**
47409
+ * optional int32 device = 2;
47410
+ * @return {number}
47411
+ */
47412
+ proto.zaber.motion.protobufs.GetStartupParamset.prototype.getDevice = function() {
47413
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
47414
+ };
47415
+
47416
+
47417
+ /**
47418
+ * @param {number} value
47419
+ * @return {!proto.zaber.motion.protobufs.GetStartupParamset} returns this
47420
+ */
47421
+ proto.zaber.motion.protobufs.GetStartupParamset.prototype.setDevice = function(value) {
47422
+ return jspb.Message.setProto3IntField(this, 2, value);
47423
+ };
47424
+
47425
+
47426
+ /**
47427
+ * optional int32 axis = 3;
47428
+ * @return {number}
47429
+ */
47430
+ proto.zaber.motion.protobufs.GetStartupParamset.prototype.getAxis = function() {
47431
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
47432
+ };
47433
+
47434
+
47435
+ /**
47436
+ * @param {number} value
47437
+ * @return {!proto.zaber.motion.protobufs.GetStartupParamset} returns this
47438
+ */
47439
+ proto.zaber.motion.protobufs.GetStartupParamset.prototype.setAxis = function(value) {
47440
+ return jspb.Message.setProto3IntField(this, 3, value);
47441
+ };
47442
+
47443
+
47444
+
47445
+
47446
+
47447
+ if (jspb.Message.GENERATE_TO_OBJECT) {
47448
+ /**
47449
+ * Creates an object representation of this proto.
47450
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
47451
+ * Optional fields that are not set will be set to undefined.
47452
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
47453
+ * For the list of reserved names please see:
47454
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
47455
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
47456
+ * JSPB instance for transitional soy proto support:
47457
+ * http://goto/soy-param-migration
47458
+ * @return {!Object}
47459
+ */
47460
+ proto.zaber.motion.protobufs.StartupParamset.prototype.toObject = function(opt_includeInstance) {
47461
+ return proto.zaber.motion.protobufs.StartupParamset.toObject(opt_includeInstance, this);
47462
+ };
47463
+
47464
+
47465
+ /**
47466
+ * Static version of the {@see toObject} method.
47467
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
47468
+ * the JSPB instance for transitional soy proto support:
47469
+ * http://goto/soy-param-migration
47470
+ * @param {!proto.zaber.motion.protobufs.StartupParamset} msg The msg instance to transform.
47471
+ * @return {!Object}
47472
+ * @suppress {unusedLocalVariables} f is only used for nested messages
47473
+ */
47474
+ proto.zaber.motion.protobufs.StartupParamset.toObject = function(includeInstance, msg) {
47475
+ var f, obj = {
47476
+ paramset: jspb.Message.getFieldWithDefault(msg, 1, 0)
47477
+ };
47478
+
47479
+ if (includeInstance) {
47480
+ obj.$jspbMessageInstance = msg;
47481
+ }
47482
+ return obj;
47483
+ };
47484
+ }
47485
+
47486
+
47487
+ /**
47488
+ * Deserializes binary data (in protobuf wire format).
47489
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
47490
+ * @return {!proto.zaber.motion.protobufs.StartupParamset}
47491
+ */
47492
+ proto.zaber.motion.protobufs.StartupParamset.deserializeBinary = function(bytes) {
47493
+ var reader = new jspb.BinaryReader(bytes);
47494
+ var msg = new proto.zaber.motion.protobufs.StartupParamset;
47495
+ return proto.zaber.motion.protobufs.StartupParamset.deserializeBinaryFromReader(msg, reader);
47496
+ };
47497
+
47498
+
47499
+ /**
47500
+ * Deserializes binary data (in protobuf wire format) from the
47501
+ * given reader into the given message object.
47502
+ * @param {!proto.zaber.motion.protobufs.StartupParamset} msg The message object to deserialize into.
47503
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
47504
+ * @return {!proto.zaber.motion.protobufs.StartupParamset}
47505
+ */
47506
+ proto.zaber.motion.protobufs.StartupParamset.deserializeBinaryFromReader = function(msg, reader) {
47507
+ while (reader.nextField()) {
47508
+ if (reader.isEndGroup()) {
47509
+ break;
47510
+ }
47511
+ var field = reader.getFieldNumber();
47512
+ switch (field) {
47513
+ case 1:
47514
+ var value = /** @type {number} */ (reader.readInt32());
47515
+ msg.setParamset(value);
47516
+ break;
47517
+ default:
47518
+ reader.skipField();
47519
+ break;
47520
+ }
47521
+ }
47522
+ return msg;
47523
+ };
47524
+
47525
+
47526
+ /**
47527
+ * Serializes the message to binary data (in protobuf wire format).
47528
+ * @return {!Uint8Array}
47529
+ */
47530
+ proto.zaber.motion.protobufs.StartupParamset.prototype.serializeBinary = function() {
47531
+ var writer = new jspb.BinaryWriter();
47532
+ proto.zaber.motion.protobufs.StartupParamset.serializeBinaryToWriter(this, writer);
47533
+ return writer.getResultBuffer();
47534
+ };
47535
+
47536
+
47537
+ /**
47538
+ * Serializes the given message to binary data (in protobuf wire
47539
+ * format), writing to the given BinaryWriter.
47540
+ * @param {!proto.zaber.motion.protobufs.StartupParamset} message
47541
+ * @param {!jspb.BinaryWriter} writer
47542
+ * @suppress {unusedLocalVariables} f is only used for nested messages
47543
+ */
47544
+ proto.zaber.motion.protobufs.StartupParamset.serializeBinaryToWriter = function(message, writer) {
47545
+ var f = undefined;
47546
+ f = message.getParamset();
47547
+ if (f !== 0) {
47548
+ writer.writeInt32(
47549
+ 1,
47550
+ f
47551
+ );
47552
+ }
47553
+ };
47554
+
47555
+
47556
+ /**
47557
+ * optional int32 paramset = 1;
47558
+ * @return {number}
47559
+ */
47560
+ proto.zaber.motion.protobufs.StartupParamset.prototype.getParamset = function() {
47561
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
47562
+ };
47563
+
47564
+
47565
+ /**
47566
+ * @param {number} value
47567
+ * @return {!proto.zaber.motion.protobufs.StartupParamset} returns this
47568
+ */
47569
+ proto.zaber.motion.protobufs.StartupParamset.prototype.setParamset = function(value) {
47570
+ return jspb.Message.setProto3IntField(this, 1, value);
47571
+ };
47572
+
47573
+
47574
+
47575
+
47576
+
47577
+ if (jspb.Message.GENERATE_TO_OBJECT) {
47578
+ /**
47579
+ * Creates an object representation of this proto.
47580
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
47581
+ * Optional fields that are not set will be set to undefined.
47582
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
47583
+ * For the list of reserved names please see:
47584
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
47585
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
47586
+ * JSPB instance for transitional soy proto support:
47587
+ * http://goto/soy-param-migration
47588
+ * @return {!Object}
47589
+ */
47590
+ proto.zaber.motion.protobufs.LoadParamset.prototype.toObject = function(opt_includeInstance) {
47591
+ return proto.zaber.motion.protobufs.LoadParamset.toObject(opt_includeInstance, this);
47592
+ };
47593
+
47594
+
47595
+ /**
47596
+ * Static version of the {@see toObject} method.
47597
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
47598
+ * the JSPB instance for transitional soy proto support:
47599
+ * http://goto/soy-param-migration
47600
+ * @param {!proto.zaber.motion.protobufs.LoadParamset} msg The msg instance to transform.
47601
+ * @return {!Object}
47602
+ * @suppress {unusedLocalVariables} f is only used for nested messages
47603
+ */
47604
+ proto.zaber.motion.protobufs.LoadParamset.toObject = function(includeInstance, msg) {
47605
+ var f, obj = {
47606
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
47607
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
47608
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
47609
+ toParamset: jspb.Message.getFieldWithDefault(msg, 4, 0),
47610
+ fromParamset: jspb.Message.getFieldWithDefault(msg, 5, 0)
47611
+ };
47612
+
47613
+ if (includeInstance) {
47614
+ obj.$jspbMessageInstance = msg;
47615
+ }
47616
+ return obj;
47617
+ };
47618
+ }
47619
+
47620
+
47621
+ /**
47622
+ * Deserializes binary data (in protobuf wire format).
47623
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
47624
+ * @return {!proto.zaber.motion.protobufs.LoadParamset}
47625
+ */
47626
+ proto.zaber.motion.protobufs.LoadParamset.deserializeBinary = function(bytes) {
47627
+ var reader = new jspb.BinaryReader(bytes);
47628
+ var msg = new proto.zaber.motion.protobufs.LoadParamset;
47629
+ return proto.zaber.motion.protobufs.LoadParamset.deserializeBinaryFromReader(msg, reader);
47630
+ };
47631
+
47632
+
47633
+ /**
47634
+ * Deserializes binary data (in protobuf wire format) from the
47635
+ * given reader into the given message object.
47636
+ * @param {!proto.zaber.motion.protobufs.LoadParamset} msg The message object to deserialize into.
47637
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
47638
+ * @return {!proto.zaber.motion.protobufs.LoadParamset}
47639
+ */
47640
+ proto.zaber.motion.protobufs.LoadParamset.deserializeBinaryFromReader = function(msg, reader) {
47641
+ while (reader.nextField()) {
47642
+ if (reader.isEndGroup()) {
47643
+ break;
47644
+ }
47645
+ var field = reader.getFieldNumber();
47646
+ switch (field) {
47647
+ case 1:
47648
+ var value = /** @type {number} */ (reader.readInt32());
47649
+ msg.setInterfaceId(value);
47650
+ break;
47651
+ case 2:
47652
+ var value = /** @type {number} */ (reader.readInt32());
47653
+ msg.setDevice(value);
47654
+ break;
47655
+ case 3:
47656
+ var value = /** @type {number} */ (reader.readInt32());
47657
+ msg.setAxis(value);
47658
+ break;
47659
+ case 4:
47660
+ var value = /** @type {number} */ (reader.readInt32());
47661
+ msg.setToParamset(value);
47662
+ break;
47663
+ case 5:
47664
+ var value = /** @type {number} */ (reader.readInt32());
47665
+ msg.setFromParamset(value);
47666
+ break;
47667
+ default:
47668
+ reader.skipField();
47669
+ break;
47670
+ }
47671
+ }
47672
+ return msg;
47673
+ };
47674
+
47675
+
47676
+ /**
47677
+ * Serializes the message to binary data (in protobuf wire format).
47678
+ * @return {!Uint8Array}
47679
+ */
47680
+ proto.zaber.motion.protobufs.LoadParamset.prototype.serializeBinary = function() {
47681
+ var writer = new jspb.BinaryWriter();
47682
+ proto.zaber.motion.protobufs.LoadParamset.serializeBinaryToWriter(this, writer);
47683
+ return writer.getResultBuffer();
47684
+ };
47685
+
47686
+
47687
+ /**
47688
+ * Serializes the given message to binary data (in protobuf wire
47689
+ * format), writing to the given BinaryWriter.
47690
+ * @param {!proto.zaber.motion.protobufs.LoadParamset} message
47691
+ * @param {!jspb.BinaryWriter} writer
47692
+ * @suppress {unusedLocalVariables} f is only used for nested messages
47693
+ */
47694
+ proto.zaber.motion.protobufs.LoadParamset.serializeBinaryToWriter = function(message, writer) {
47695
+ var f = undefined;
47696
+ f = message.getInterfaceId();
47697
+ if (f !== 0) {
47698
+ writer.writeInt32(
47699
+ 1,
47700
+ f
47701
+ );
47702
+ }
47703
+ f = message.getDevice();
47704
+ if (f !== 0) {
47705
+ writer.writeInt32(
47706
+ 2,
47707
+ f
47708
+ );
47709
+ }
47710
+ f = message.getAxis();
47711
+ if (f !== 0) {
47712
+ writer.writeInt32(
47713
+ 3,
47714
+ f
47715
+ );
47716
+ }
47717
+ f = message.getToParamset();
47718
+ if (f !== 0) {
47719
+ writer.writeInt32(
47720
+ 4,
47721
+ f
47722
+ );
47723
+ }
47724
+ f = message.getFromParamset();
47725
+ if (f !== 0) {
47726
+ writer.writeInt32(
47727
+ 5,
47728
+ f
47729
+ );
47730
+ }
47731
+ };
47732
+
47733
+
47734
+ /**
47735
+ * optional int32 interface_id = 1;
47736
+ * @return {number}
47737
+ */
47738
+ proto.zaber.motion.protobufs.LoadParamset.prototype.getInterfaceId = function() {
47739
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
47740
+ };
47741
+
47742
+
47743
+ /**
47744
+ * @param {number} value
47745
+ * @return {!proto.zaber.motion.protobufs.LoadParamset} returns this
47746
+ */
47747
+ proto.zaber.motion.protobufs.LoadParamset.prototype.setInterfaceId = function(value) {
47748
+ return jspb.Message.setProto3IntField(this, 1, value);
47749
+ };
47750
+
47751
+
47752
+ /**
47753
+ * optional int32 device = 2;
47754
+ * @return {number}
47755
+ */
47756
+ proto.zaber.motion.protobufs.LoadParamset.prototype.getDevice = function() {
47757
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
47758
+ };
47759
+
47760
+
47761
+ /**
47762
+ * @param {number} value
47763
+ * @return {!proto.zaber.motion.protobufs.LoadParamset} returns this
47764
+ */
47765
+ proto.zaber.motion.protobufs.LoadParamset.prototype.setDevice = function(value) {
47766
+ return jspb.Message.setProto3IntField(this, 2, value);
47767
+ };
47768
+
47769
+
47770
+ /**
47771
+ * optional int32 axis = 3;
47772
+ * @return {number}
47773
+ */
47774
+ proto.zaber.motion.protobufs.LoadParamset.prototype.getAxis = function() {
47775
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
47776
+ };
47777
+
47778
+
47779
+ /**
47780
+ * @param {number} value
47781
+ * @return {!proto.zaber.motion.protobufs.LoadParamset} returns this
47782
+ */
47783
+ proto.zaber.motion.protobufs.LoadParamset.prototype.setAxis = function(value) {
47784
+ return jspb.Message.setProto3IntField(this, 3, value);
47785
+ };
47786
+
47787
+
47788
+ /**
47789
+ * optional int32 to_paramset = 4;
47790
+ * @return {number}
47791
+ */
47792
+ proto.zaber.motion.protobufs.LoadParamset.prototype.getToParamset = function() {
47793
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
47794
+ };
47795
+
47796
+
47797
+ /**
47798
+ * @param {number} value
47799
+ * @return {!proto.zaber.motion.protobufs.LoadParamset} returns this
47800
+ */
47801
+ proto.zaber.motion.protobufs.LoadParamset.prototype.setToParamset = function(value) {
47802
+ return jspb.Message.setProto3IntField(this, 4, value);
47803
+ };
47804
+
47805
+
47806
+ /**
47807
+ * optional int32 from_paramset = 5;
47808
+ * @return {number}
47809
+ */
47810
+ proto.zaber.motion.protobufs.LoadParamset.prototype.getFromParamset = function() {
47811
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
47812
+ };
47813
+
47814
+
47815
+ /**
47816
+ * @param {number} value
47817
+ * @return {!proto.zaber.motion.protobufs.LoadParamset} returns this
47818
+ */
47819
+ proto.zaber.motion.protobufs.LoadParamset.prototype.setFromParamset = function(value) {
47820
+ return jspb.Message.setProto3IntField(this, 5, value);
47821
+ };
47822
+
47823
+
47824
+
47825
+
47826
+
47827
+ if (jspb.Message.GENERATE_TO_OBJECT) {
47828
+ /**
47829
+ * Creates an object representation of this proto.
47830
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
47831
+ * Optional fields that are not set will be set to undefined.
47832
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
47833
+ * For the list of reserved names please see:
47834
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
47835
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
47836
+ * JSPB instance for transitional soy proto support:
47837
+ * http://goto/soy-param-migration
47838
+ * @return {!Object}
47839
+ */
47840
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.toObject = function(opt_includeInstance) {
47841
+ return proto.zaber.motion.protobufs.SetServoTuningPIDRequest.toObject(opt_includeInstance, this);
47842
+ };
47843
+
47844
+
47845
+ /**
47846
+ * Static version of the {@see toObject} method.
47847
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
47848
+ * the JSPB instance for transitional soy proto support:
47849
+ * http://goto/soy-param-migration
47850
+ * @param {!proto.zaber.motion.protobufs.SetServoTuningPIDRequest} msg The msg instance to transform.
47851
+ * @return {!Object}
47852
+ * @suppress {unusedLocalVariables} f is only used for nested messages
47853
+ */
47854
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.toObject = function(includeInstance, msg) {
47855
+ var f, obj = {
47856
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
47857
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
47858
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
47859
+ paramset: jspb.Message.getFieldWithDefault(msg, 4, 0),
47860
+ p: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
47861
+ i: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
47862
+ d: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
47863
+ fc: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0)
47864
+ };
47865
+
47866
+ if (includeInstance) {
47867
+ obj.$jspbMessageInstance = msg;
47868
+ }
47869
+ return obj;
47870
+ };
47871
+ }
47872
+
47873
+
47874
+ /**
47875
+ * Deserializes binary data (in protobuf wire format).
47876
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
47877
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningPIDRequest}
47878
+ */
47879
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.deserializeBinary = function(bytes) {
47880
+ var reader = new jspb.BinaryReader(bytes);
47881
+ var msg = new proto.zaber.motion.protobufs.SetServoTuningPIDRequest;
47882
+ return proto.zaber.motion.protobufs.SetServoTuningPIDRequest.deserializeBinaryFromReader(msg, reader);
47883
+ };
47884
+
47885
+
47886
+ /**
47887
+ * Deserializes binary data (in protobuf wire format) from the
47888
+ * given reader into the given message object.
47889
+ * @param {!proto.zaber.motion.protobufs.SetServoTuningPIDRequest} msg The message object to deserialize into.
47890
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
47891
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningPIDRequest}
47892
+ */
47893
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.deserializeBinaryFromReader = function(msg, reader) {
47894
+ while (reader.nextField()) {
47895
+ if (reader.isEndGroup()) {
47896
+ break;
47897
+ }
47898
+ var field = reader.getFieldNumber();
47899
+ switch (field) {
47900
+ case 1:
47901
+ var value = /** @type {number} */ (reader.readInt32());
47902
+ msg.setInterfaceId(value);
47903
+ break;
47904
+ case 2:
47905
+ var value = /** @type {number} */ (reader.readInt32());
47906
+ msg.setDevice(value);
47907
+ break;
47908
+ case 3:
47909
+ var value = /** @type {number} */ (reader.readInt32());
47910
+ msg.setAxis(value);
47911
+ break;
47912
+ case 4:
47913
+ var value = /** @type {number} */ (reader.readInt32());
47914
+ msg.setParamset(value);
47915
+ break;
47916
+ case 5:
47917
+ var value = /** @type {number} */ (reader.readDouble());
47918
+ msg.setP(value);
47919
+ break;
47920
+ case 6:
47921
+ var value = /** @type {number} */ (reader.readDouble());
47922
+ msg.setI(value);
47923
+ break;
47924
+ case 7:
47925
+ var value = /** @type {number} */ (reader.readDouble());
47926
+ msg.setD(value);
47927
+ break;
47928
+ case 8:
47929
+ var value = /** @type {number} */ (reader.readDouble());
47930
+ msg.setFc(value);
47931
+ break;
47932
+ default:
47933
+ reader.skipField();
47934
+ break;
47935
+ }
47936
+ }
47937
+ return msg;
47938
+ };
47939
+
47940
+
47941
+ /**
47942
+ * Serializes the message to binary data (in protobuf wire format).
47943
+ * @return {!Uint8Array}
47944
+ */
47945
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.serializeBinary = function() {
47946
+ var writer = new jspb.BinaryWriter();
47947
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.serializeBinaryToWriter(this, writer);
47948
+ return writer.getResultBuffer();
47949
+ };
47950
+
47951
+
47952
+ /**
47953
+ * Serializes the given message to binary data (in protobuf wire
47954
+ * format), writing to the given BinaryWriter.
47955
+ * @param {!proto.zaber.motion.protobufs.SetServoTuningPIDRequest} message
47956
+ * @param {!jspb.BinaryWriter} writer
47957
+ * @suppress {unusedLocalVariables} f is only used for nested messages
47958
+ */
47959
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.serializeBinaryToWriter = function(message, writer) {
47960
+ var f = undefined;
47961
+ f = message.getInterfaceId();
47962
+ if (f !== 0) {
47963
+ writer.writeInt32(
47964
+ 1,
47965
+ f
47966
+ );
47967
+ }
47968
+ f = message.getDevice();
47969
+ if (f !== 0) {
47970
+ writer.writeInt32(
47971
+ 2,
47972
+ f
47973
+ );
47974
+ }
47975
+ f = message.getAxis();
47976
+ if (f !== 0) {
47977
+ writer.writeInt32(
47978
+ 3,
47979
+ f
47980
+ );
47981
+ }
47982
+ f = message.getParamset();
47983
+ if (f !== 0) {
47984
+ writer.writeInt32(
47985
+ 4,
47986
+ f
47987
+ );
47988
+ }
47989
+ f = message.getP();
47990
+ if (f !== 0.0) {
47991
+ writer.writeDouble(
47992
+ 5,
47993
+ f
47994
+ );
47995
+ }
47996
+ f = message.getI();
47997
+ if (f !== 0.0) {
47998
+ writer.writeDouble(
47999
+ 6,
48000
+ f
48001
+ );
48002
+ }
48003
+ f = message.getD();
48004
+ if (f !== 0.0) {
48005
+ writer.writeDouble(
48006
+ 7,
48007
+ f
48008
+ );
48009
+ }
48010
+ f = message.getFc();
48011
+ if (f !== 0.0) {
48012
+ writer.writeDouble(
48013
+ 8,
48014
+ f
48015
+ );
48016
+ }
48017
+ };
48018
+
48019
+
48020
+ /**
48021
+ * optional int32 interface_id = 1;
48022
+ * @return {number}
48023
+ */
48024
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.getInterfaceId = function() {
48025
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
48026
+ };
48027
+
48028
+
48029
+ /**
48030
+ * @param {number} value
48031
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningPIDRequest} returns this
48032
+ */
48033
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.setInterfaceId = function(value) {
48034
+ return jspb.Message.setProto3IntField(this, 1, value);
48035
+ };
48036
+
48037
+
48038
+ /**
48039
+ * optional int32 device = 2;
48040
+ * @return {number}
48041
+ */
48042
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.getDevice = function() {
48043
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
48044
+ };
48045
+
48046
+
48047
+ /**
48048
+ * @param {number} value
48049
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningPIDRequest} returns this
48050
+ */
48051
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.setDevice = function(value) {
48052
+ return jspb.Message.setProto3IntField(this, 2, value);
48053
+ };
48054
+
48055
+
48056
+ /**
48057
+ * optional int32 axis = 3;
48058
+ * @return {number}
48059
+ */
48060
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.getAxis = function() {
48061
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
48062
+ };
48063
+
48064
+
48065
+ /**
48066
+ * @param {number} value
48067
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningPIDRequest} returns this
48068
+ */
48069
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.setAxis = function(value) {
48070
+ return jspb.Message.setProto3IntField(this, 3, value);
48071
+ };
48072
+
48073
+
48074
+ /**
48075
+ * optional int32 paramset = 4;
48076
+ * @return {number}
48077
+ */
48078
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.getParamset = function() {
48079
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
48080
+ };
48081
+
48082
+
48083
+ /**
48084
+ * @param {number} value
48085
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningPIDRequest} returns this
48086
+ */
48087
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.setParamset = function(value) {
48088
+ return jspb.Message.setProto3IntField(this, 4, value);
48089
+ };
48090
+
48091
+
48092
+ /**
48093
+ * optional double p = 5;
48094
+ * @return {number}
48095
+ */
48096
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.getP = function() {
48097
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
48098
+ };
48099
+
48100
+
48101
+ /**
48102
+ * @param {number} value
48103
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningPIDRequest} returns this
48104
+ */
48105
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.setP = function(value) {
48106
+ return jspb.Message.setProto3FloatField(this, 5, value);
48107
+ };
48108
+
48109
+
48110
+ /**
48111
+ * optional double i = 6;
48112
+ * @return {number}
48113
+ */
48114
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.getI = function() {
48115
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
48116
+ };
48117
+
48118
+
48119
+ /**
48120
+ * @param {number} value
48121
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningPIDRequest} returns this
48122
+ */
48123
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.setI = function(value) {
48124
+ return jspb.Message.setProto3FloatField(this, 6, value);
48125
+ };
48126
+
48127
+
48128
+ /**
48129
+ * optional double d = 7;
48130
+ * @return {number}
48131
+ */
48132
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.getD = function() {
48133
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
48134
+ };
48135
+
48136
+
48137
+ /**
48138
+ * @param {number} value
48139
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningPIDRequest} returns this
48140
+ */
48141
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.setD = function(value) {
48142
+ return jspb.Message.setProto3FloatField(this, 7, value);
48143
+ };
48144
+
48145
+
48146
+ /**
48147
+ * optional double fc = 8;
48148
+ * @return {number}
48149
+ */
48150
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.getFc = function() {
48151
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
48152
+ };
48153
+
48154
+
48155
+ /**
48156
+ * @param {number} value
48157
+ * @return {!proto.zaber.motion.protobufs.SetServoTuningPIDRequest} returns this
48158
+ */
48159
+ proto.zaber.motion.protobufs.SetServoTuningPIDRequest.prototype.setFc = function(value) {
48160
+ return jspb.Message.setProto3FloatField(this, 8, value);
48161
+ };
48162
+
48163
+
48164
+
48165
+
48166
+
48167
+ if (jspb.Message.GENERATE_TO_OBJECT) {
48168
+ /**
48169
+ * Creates an object representation of this proto.
48170
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
48171
+ * Optional fields that are not set will be set to undefined.
48172
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
48173
+ * For the list of reserved names please see:
48174
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
48175
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
48176
+ * JSPB instance for transitional soy proto support:
48177
+ * http://goto/soy-param-migration
48178
+ * @return {!Object}
48179
+ */
48180
+ proto.zaber.motion.protobufs.PidTuning.prototype.toObject = function(opt_includeInstance) {
48181
+ return proto.zaber.motion.protobufs.PidTuning.toObject(opt_includeInstance, this);
48182
+ };
48183
+
48184
+
48185
+ /**
48186
+ * Static version of the {@see toObject} method.
48187
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
48188
+ * the JSPB instance for transitional soy proto support:
48189
+ * http://goto/soy-param-migration
48190
+ * @param {!proto.zaber.motion.protobufs.PidTuning} msg The msg instance to transform.
48191
+ * @return {!Object}
48192
+ * @suppress {unusedLocalVariables} f is only used for nested messages
48193
+ */
48194
+ proto.zaber.motion.protobufs.PidTuning.toObject = function(includeInstance, msg) {
48195
+ var f, obj = {
48196
+ type: jspb.Message.getFieldWithDefault(msg, 1, ""),
48197
+ version: jspb.Message.getFieldWithDefault(msg, 2, 0),
48198
+ p: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
48199
+ i: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
48200
+ d: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
48201
+ fc: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0)
48202
+ };
48203
+
48204
+ if (includeInstance) {
48205
+ obj.$jspbMessageInstance = msg;
48206
+ }
48207
+ return obj;
48208
+ };
48209
+ }
48210
+
48211
+
48212
+ /**
48213
+ * Deserializes binary data (in protobuf wire format).
48214
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
48215
+ * @return {!proto.zaber.motion.protobufs.PidTuning}
48216
+ */
48217
+ proto.zaber.motion.protobufs.PidTuning.deserializeBinary = function(bytes) {
48218
+ var reader = new jspb.BinaryReader(bytes);
48219
+ var msg = new proto.zaber.motion.protobufs.PidTuning;
48220
+ return proto.zaber.motion.protobufs.PidTuning.deserializeBinaryFromReader(msg, reader);
48221
+ };
48222
+
48223
+
48224
+ /**
48225
+ * Deserializes binary data (in protobuf wire format) from the
48226
+ * given reader into the given message object.
48227
+ * @param {!proto.zaber.motion.protobufs.PidTuning} msg The message object to deserialize into.
48228
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
48229
+ * @return {!proto.zaber.motion.protobufs.PidTuning}
48230
+ */
48231
+ proto.zaber.motion.protobufs.PidTuning.deserializeBinaryFromReader = function(msg, reader) {
48232
+ while (reader.nextField()) {
48233
+ if (reader.isEndGroup()) {
48234
+ break;
48235
+ }
48236
+ var field = reader.getFieldNumber();
48237
+ switch (field) {
48238
+ case 1:
48239
+ var value = /** @type {string} */ (reader.readString());
48240
+ msg.setType(value);
48241
+ break;
48242
+ case 2:
48243
+ var value = /** @type {number} */ (reader.readInt32());
48244
+ msg.setVersion(value);
48245
+ break;
48246
+ case 3:
48247
+ var value = /** @type {number} */ (reader.readDouble());
48248
+ msg.setP(value);
48249
+ break;
48250
+ case 4:
48251
+ var value = /** @type {number} */ (reader.readDouble());
48252
+ msg.setI(value);
48253
+ break;
48254
+ case 5:
48255
+ var value = /** @type {number} */ (reader.readDouble());
48256
+ msg.setD(value);
48257
+ break;
48258
+ case 6:
48259
+ var value = /** @type {number} */ (reader.readDouble());
48260
+ msg.setFc(value);
48261
+ break;
48262
+ default:
48263
+ reader.skipField();
48264
+ break;
48265
+ }
48266
+ }
48267
+ return msg;
48268
+ };
48269
+
48270
+
48271
+ /**
48272
+ * Serializes the message to binary data (in protobuf wire format).
48273
+ * @return {!Uint8Array}
48274
+ */
48275
+ proto.zaber.motion.protobufs.PidTuning.prototype.serializeBinary = function() {
48276
+ var writer = new jspb.BinaryWriter();
48277
+ proto.zaber.motion.protobufs.PidTuning.serializeBinaryToWriter(this, writer);
48278
+ return writer.getResultBuffer();
48279
+ };
48280
+
48281
+
48282
+ /**
48283
+ * Serializes the given message to binary data (in protobuf wire
48284
+ * format), writing to the given BinaryWriter.
48285
+ * @param {!proto.zaber.motion.protobufs.PidTuning} message
48286
+ * @param {!jspb.BinaryWriter} writer
48287
+ * @suppress {unusedLocalVariables} f is only used for nested messages
48288
+ */
48289
+ proto.zaber.motion.protobufs.PidTuning.serializeBinaryToWriter = function(message, writer) {
48290
+ var f = undefined;
48291
+ f = message.getType();
48292
+ if (f.length > 0) {
48293
+ writer.writeString(
48294
+ 1,
48295
+ f
48296
+ );
48297
+ }
48298
+ f = message.getVersion();
48299
+ if (f !== 0) {
48300
+ writer.writeInt32(
48301
+ 2,
48302
+ f
48303
+ );
48304
+ }
48305
+ f = message.getP();
48306
+ if (f !== 0.0) {
48307
+ writer.writeDouble(
48308
+ 3,
48309
+ f
48310
+ );
48311
+ }
48312
+ f = message.getI();
48313
+ if (f !== 0.0) {
48314
+ writer.writeDouble(
48315
+ 4,
48316
+ f
48317
+ );
48318
+ }
48319
+ f = message.getD();
48320
+ if (f !== 0.0) {
48321
+ writer.writeDouble(
48322
+ 5,
48323
+ f
48324
+ );
48325
+ }
48326
+ f = message.getFc();
48327
+ if (f !== 0.0) {
48328
+ writer.writeDouble(
48329
+ 6,
48330
+ f
48331
+ );
48332
+ }
48333
+ };
48334
+
48335
+
48336
+ /**
48337
+ * optional string type = 1;
48338
+ * @return {string}
48339
+ */
48340
+ proto.zaber.motion.protobufs.PidTuning.prototype.getType = function() {
48341
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
48342
+ };
48343
+
48344
+
48345
+ /**
48346
+ * @param {string} value
48347
+ * @return {!proto.zaber.motion.protobufs.PidTuning} returns this
48348
+ */
48349
+ proto.zaber.motion.protobufs.PidTuning.prototype.setType = function(value) {
48350
+ return jspb.Message.setProto3StringField(this, 1, value);
48351
+ };
48352
+
48353
+
48354
+ /**
48355
+ * optional int32 version = 2;
48356
+ * @return {number}
48357
+ */
48358
+ proto.zaber.motion.protobufs.PidTuning.prototype.getVersion = function() {
48359
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
48360
+ };
48361
+
48362
+
48363
+ /**
48364
+ * @param {number} value
48365
+ * @return {!proto.zaber.motion.protobufs.PidTuning} returns this
48366
+ */
48367
+ proto.zaber.motion.protobufs.PidTuning.prototype.setVersion = function(value) {
48368
+ return jspb.Message.setProto3IntField(this, 2, value);
48369
+ };
48370
+
48371
+
48372
+ /**
48373
+ * optional double p = 3;
48374
+ * @return {number}
48375
+ */
48376
+ proto.zaber.motion.protobufs.PidTuning.prototype.getP = function() {
48377
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
48378
+ };
48379
+
48380
+
48381
+ /**
48382
+ * @param {number} value
48383
+ * @return {!proto.zaber.motion.protobufs.PidTuning} returns this
48384
+ */
48385
+ proto.zaber.motion.protobufs.PidTuning.prototype.setP = function(value) {
48386
+ return jspb.Message.setProto3FloatField(this, 3, value);
48387
+ };
48388
+
48389
+
48390
+ /**
48391
+ * optional double i = 4;
48392
+ * @return {number}
48393
+ */
48394
+ proto.zaber.motion.protobufs.PidTuning.prototype.getI = function() {
48395
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
48396
+ };
48397
+
48398
+
48399
+ /**
48400
+ * @param {number} value
48401
+ * @return {!proto.zaber.motion.protobufs.PidTuning} returns this
48402
+ */
48403
+ proto.zaber.motion.protobufs.PidTuning.prototype.setI = function(value) {
48404
+ return jspb.Message.setProto3FloatField(this, 4, value);
48405
+ };
48406
+
48407
+
48408
+ /**
48409
+ * optional double d = 5;
48410
+ * @return {number}
48411
+ */
48412
+ proto.zaber.motion.protobufs.PidTuning.prototype.getD = function() {
48413
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
48414
+ };
48415
+
48416
+
48417
+ /**
48418
+ * @param {number} value
48419
+ * @return {!proto.zaber.motion.protobufs.PidTuning} returns this
48420
+ */
48421
+ proto.zaber.motion.protobufs.PidTuning.prototype.setD = function(value) {
48422
+ return jspb.Message.setProto3FloatField(this, 5, value);
48423
+ };
48424
+
48425
+
48426
+ /**
48427
+ * optional double fc = 6;
48428
+ * @return {number}
48429
+ */
48430
+ proto.zaber.motion.protobufs.PidTuning.prototype.getFc = function() {
48431
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
48432
+ };
48433
+
48434
+
48435
+ /**
48436
+ * @param {number} value
48437
+ * @return {!proto.zaber.motion.protobufs.PidTuning} returns this
48438
+ */
48439
+ proto.zaber.motion.protobufs.PidTuning.prototype.setFc = function(value) {
48440
+ return jspb.Message.setProto3FloatField(this, 6, value);
48441
+ };
48442
+
48443
+
48444
+
48445
+
48446
+
48447
+ if (jspb.Message.GENERATE_TO_OBJECT) {
48448
+ /**
48449
+ * Creates an object representation of this proto.
48450
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
48451
+ * Optional fields that are not set will be set to undefined.
48452
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
48453
+ * For the list of reserved names please see:
48454
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
48455
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
48456
+ * JSPB instance for transitional soy proto support:
48457
+ * http://goto/soy-param-migration
48458
+ * @return {!Object}
48459
+ */
48460
+ proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest.prototype.toObject = function(opt_includeInstance) {
48461
+ return proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest.toObject(opt_includeInstance, this);
48462
+ };
48463
+
48464
+
48465
+ /**
48466
+ * Static version of the {@see toObject} method.
48467
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
48468
+ * the JSPB instance for transitional soy proto support:
48469
+ * http://goto/soy-param-migration
48470
+ * @param {!proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest} msg The msg instance to transform.
48471
+ * @return {!Object}
48472
+ * @suppress {unusedLocalVariables} f is only used for nested messages
48473
+ */
48474
+ proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest.toObject = function(includeInstance, msg) {
48475
+ var f, obj = {
48476
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
48477
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
48478
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0)
48479
+ };
48480
+
48481
+ if (includeInstance) {
48482
+ obj.$jspbMessageInstance = msg;
48483
+ }
48484
+ return obj;
48485
+ };
48486
+ }
48487
+
48488
+
48489
+ /**
48490
+ * Deserializes binary data (in protobuf wire format).
48491
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
48492
+ * @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest}
48493
+ */
48494
+ proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest.deserializeBinary = function(bytes) {
48495
+ var reader = new jspb.BinaryReader(bytes);
48496
+ var msg = new proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest;
48497
+ return proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest.deserializeBinaryFromReader(msg, reader);
48498
+ };
48499
+
48500
+
48501
+ /**
48502
+ * Deserializes binary data (in protobuf wire format) from the
48503
+ * given reader into the given message object.
48504
+ * @param {!proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest} msg The message object to deserialize into.
48505
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
48506
+ * @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest}
48507
+ */
48508
+ proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest.deserializeBinaryFromReader = function(msg, reader) {
48509
+ while (reader.nextField()) {
48510
+ if (reader.isEndGroup()) {
48511
+ break;
48512
+ }
48513
+ var field = reader.getFieldNumber();
48514
+ switch (field) {
48515
+ case 1:
48516
+ var value = /** @type {number} */ (reader.readInt32());
48517
+ msg.setInterfaceId(value);
48518
+ break;
48519
+ case 2:
48520
+ var value = /** @type {number} */ (reader.readInt32());
48521
+ msg.setDevice(value);
48522
+ break;
48523
+ case 3:
48524
+ var value = /** @type {number} */ (reader.readInt32());
48525
+ msg.setAxis(value);
48526
+ break;
48527
+ default:
48528
+ reader.skipField();
48529
+ break;
48530
+ }
48531
+ }
48532
+ return msg;
48533
+ };
48534
+
48535
+
48536
+ /**
48537
+ * Serializes the message to binary data (in protobuf wire format).
48538
+ * @return {!Uint8Array}
48539
+ */
48540
+ proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest.prototype.serializeBinary = function() {
48541
+ var writer = new jspb.BinaryWriter();
48542
+ proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest.serializeBinaryToWriter(this, writer);
48543
+ return writer.getResultBuffer();
48544
+ };
48545
+
48546
+
48547
+ /**
48548
+ * Serializes the given message to binary data (in protobuf wire
48549
+ * format), writing to the given BinaryWriter.
48550
+ * @param {!proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest} message
48551
+ * @param {!jspb.BinaryWriter} writer
48552
+ * @suppress {unusedLocalVariables} f is only used for nested messages
48553
+ */
48554
+ proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest.serializeBinaryToWriter = function(message, writer) {
48555
+ var f = undefined;
48556
+ f = message.getInterfaceId();
48557
+ if (f !== 0) {
48558
+ writer.writeInt32(
48559
+ 1,
48560
+ f
48561
+ );
48562
+ }
48563
+ f = message.getDevice();
48564
+ if (f !== 0) {
48565
+ writer.writeInt32(
48566
+ 2,
48567
+ f
48568
+ );
48569
+ }
48570
+ f = message.getAxis();
48571
+ if (f !== 0) {
48572
+ writer.writeInt32(
48573
+ 3,
48574
+ f
48575
+ );
48576
+ }
48577
+ };
48578
+
48579
+
48580
+ /**
48581
+ * optional int32 interface_id = 1;
48582
+ * @return {number}
48583
+ */
48584
+ proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest.prototype.getInterfaceId = function() {
48585
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
48586
+ };
48587
+
48588
+
48589
+ /**
48590
+ * @param {number} value
48591
+ * @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest} returns this
48592
+ */
48593
+ proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest.prototype.setInterfaceId = function(value) {
48594
+ return jspb.Message.setProto3IntField(this, 1, value);
48595
+ };
48596
+
48597
+
48598
+ /**
48599
+ * optional int32 device = 2;
48600
+ * @return {number}
48601
+ */
48602
+ proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest.prototype.getDevice = function() {
48603
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
48604
+ };
48605
+
48606
+
48607
+ /**
48608
+ * @param {number} value
48609
+ * @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest} returns this
48610
+ */
48611
+ proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest.prototype.setDevice = function(value) {
48612
+ return jspb.Message.setProto3IntField(this, 2, value);
48613
+ };
48614
+
48615
+
48616
+ /**
48617
+ * optional int32 axis = 3;
48618
+ * @return {number}
48619
+ */
48620
+ proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest.prototype.getAxis = function() {
48621
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
48622
+ };
48623
+
48624
+
48625
+ /**
48626
+ * @param {number} value
48627
+ * @return {!proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest} returns this
48628
+ */
48629
+ proto.zaber.motion.protobufs.GetSimpleTuningParamListRequest.prototype.setAxis = function(value) {
48630
+ return jspb.Message.setProto3IntField(this, 3, value);
48631
+ };
48632
+
48633
+
48634
+
48635
+ /**
48636
+ * List of repeated fields within this message type.
48637
+ * @private {!Array<number>}
48638
+ * @const
48639
+ */
48640
+ proto.zaber.motion.protobufs.SetSimpleTuning.repeatedFields_ = [7];
48641
+
48642
+
48643
+
48644
+ if (jspb.Message.GENERATE_TO_OBJECT) {
48645
+ /**
48646
+ * Creates an object representation of this proto.
48647
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
48648
+ * Optional fields that are not set will be set to undefined.
48649
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
48650
+ * For the list of reserved names please see:
48651
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
48652
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
48653
+ * JSPB instance for transitional soy proto support:
48654
+ * http://goto/soy-param-migration
48655
+ * @return {!Object}
48656
+ */
48657
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.toObject = function(opt_includeInstance) {
48658
+ return proto.zaber.motion.protobufs.SetSimpleTuning.toObject(opt_includeInstance, this);
48659
+ };
48660
+
48661
+
48662
+ /**
48663
+ * Static version of the {@see toObject} method.
48664
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
48665
+ * the JSPB instance for transitional soy proto support:
48666
+ * http://goto/soy-param-migration
48667
+ * @param {!proto.zaber.motion.protobufs.SetSimpleTuning} msg The msg instance to transform.
48668
+ * @return {!Object}
48669
+ * @suppress {unusedLocalVariables} f is only used for nested messages
48670
+ */
48671
+ proto.zaber.motion.protobufs.SetSimpleTuning.toObject = function(includeInstance, msg) {
48672
+ var f, obj = {
48673
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
48674
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
48675
+ axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
48676
+ paramset: jspb.Message.getFieldWithDefault(msg, 4, 0),
48677
+ carriageMass: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
48678
+ loadMass: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
48679
+ tuningParamsList: jspb.Message.toObjectList(msg.getTuningParamsList(),
48680
+ proto.zaber.motion.protobufs.ServoTuningParam.toObject, includeInstance)
48681
+ };
48682
+
48683
+ if (includeInstance) {
48684
+ obj.$jspbMessageInstance = msg;
48685
+ }
48686
+ return obj;
48687
+ };
48688
+ }
48689
+
48690
+
48691
+ /**
48692
+ * Deserializes binary data (in protobuf wire format).
48693
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
48694
+ * @return {!proto.zaber.motion.protobufs.SetSimpleTuning}
48695
+ */
48696
+ proto.zaber.motion.protobufs.SetSimpleTuning.deserializeBinary = function(bytes) {
48697
+ var reader = new jspb.BinaryReader(bytes);
48698
+ var msg = new proto.zaber.motion.protobufs.SetSimpleTuning;
48699
+ return proto.zaber.motion.protobufs.SetSimpleTuning.deserializeBinaryFromReader(msg, reader);
48700
+ };
48701
+
48702
+
48703
+ /**
48704
+ * Deserializes binary data (in protobuf wire format) from the
48705
+ * given reader into the given message object.
48706
+ * @param {!proto.zaber.motion.protobufs.SetSimpleTuning} msg The message object to deserialize into.
48707
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
48708
+ * @return {!proto.zaber.motion.protobufs.SetSimpleTuning}
48709
+ */
48710
+ proto.zaber.motion.protobufs.SetSimpleTuning.deserializeBinaryFromReader = function(msg, reader) {
48711
+ while (reader.nextField()) {
48712
+ if (reader.isEndGroup()) {
48713
+ break;
48714
+ }
48715
+ var field = reader.getFieldNumber();
48716
+ switch (field) {
48717
+ case 1:
48718
+ var value = /** @type {number} */ (reader.readInt32());
48719
+ msg.setInterfaceId(value);
48720
+ break;
48721
+ case 2:
48722
+ var value = /** @type {number} */ (reader.readInt32());
48723
+ msg.setDevice(value);
48724
+ break;
48725
+ case 3:
48726
+ var value = /** @type {number} */ (reader.readInt32());
48727
+ msg.setAxis(value);
48728
+ break;
48729
+ case 4:
48730
+ var value = /** @type {number} */ (reader.readInt32());
48731
+ msg.setParamset(value);
48732
+ break;
48733
+ case 5:
48734
+ var value = /** @type {number} */ (reader.readDouble());
48735
+ msg.setCarriageMass(value);
48736
+ break;
48737
+ case 6:
48738
+ var value = /** @type {number} */ (reader.readDouble());
48739
+ msg.setLoadMass(value);
48740
+ break;
48741
+ case 7:
48742
+ var value = new proto.zaber.motion.protobufs.ServoTuningParam;
48743
+ reader.readMessage(value,proto.zaber.motion.protobufs.ServoTuningParam.deserializeBinaryFromReader);
48744
+ msg.addTuningParams(value);
48745
+ break;
48746
+ default:
48747
+ reader.skipField();
48748
+ break;
48749
+ }
48750
+ }
48751
+ return msg;
48752
+ };
48753
+
48754
+
48755
+ /**
48756
+ * Serializes the message to binary data (in protobuf wire format).
48757
+ * @return {!Uint8Array}
48758
+ */
48759
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.serializeBinary = function() {
48760
+ var writer = new jspb.BinaryWriter();
48761
+ proto.zaber.motion.protobufs.SetSimpleTuning.serializeBinaryToWriter(this, writer);
48762
+ return writer.getResultBuffer();
48763
+ };
48764
+
48765
+
48766
+ /**
48767
+ * Serializes the given message to binary data (in protobuf wire
48768
+ * format), writing to the given BinaryWriter.
48769
+ * @param {!proto.zaber.motion.protobufs.SetSimpleTuning} message
48770
+ * @param {!jspb.BinaryWriter} writer
48771
+ * @suppress {unusedLocalVariables} f is only used for nested messages
48772
+ */
48773
+ proto.zaber.motion.protobufs.SetSimpleTuning.serializeBinaryToWriter = function(message, writer) {
48774
+ var f = undefined;
48775
+ f = message.getInterfaceId();
48776
+ if (f !== 0) {
48777
+ writer.writeInt32(
48778
+ 1,
48779
+ f
48780
+ );
48781
+ }
48782
+ f = message.getDevice();
48783
+ if (f !== 0) {
48784
+ writer.writeInt32(
48785
+ 2,
48786
+ f
48787
+ );
48788
+ }
48789
+ f = message.getAxis();
48790
+ if (f !== 0) {
48791
+ writer.writeInt32(
48792
+ 3,
48793
+ f
48794
+ );
48795
+ }
48796
+ f = message.getParamset();
48797
+ if (f !== 0) {
48798
+ writer.writeInt32(
48799
+ 4,
48800
+ f
48801
+ );
48802
+ }
48803
+ f = message.getCarriageMass();
48804
+ if (f !== 0.0) {
48805
+ writer.writeDouble(
48806
+ 5,
48807
+ f
48808
+ );
48809
+ }
48810
+ f = message.getLoadMass();
48811
+ if (f !== 0.0) {
48812
+ writer.writeDouble(
48813
+ 6,
48814
+ f
48815
+ );
48816
+ }
48817
+ f = message.getTuningParamsList();
48818
+ if (f.length > 0) {
48819
+ writer.writeRepeatedMessage(
48820
+ 7,
48821
+ f,
48822
+ proto.zaber.motion.protobufs.ServoTuningParam.serializeBinaryToWriter
48823
+ );
48824
+ }
48825
+ };
48826
+
48827
+
48828
+ /**
48829
+ * optional int32 interface_id = 1;
48830
+ * @return {number}
48831
+ */
48832
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.getInterfaceId = function() {
48833
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
48834
+ };
48835
+
48836
+
48837
+ /**
48838
+ * @param {number} value
48839
+ * @return {!proto.zaber.motion.protobufs.SetSimpleTuning} returns this
48840
+ */
48841
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.setInterfaceId = function(value) {
48842
+ return jspb.Message.setProto3IntField(this, 1, value);
48843
+ };
48844
+
48845
+
48846
+ /**
48847
+ * optional int32 device = 2;
48848
+ * @return {number}
48849
+ */
48850
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.getDevice = function() {
48851
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
48852
+ };
48853
+
48854
+
48855
+ /**
48856
+ * @param {number} value
48857
+ * @return {!proto.zaber.motion.protobufs.SetSimpleTuning} returns this
48858
+ */
48859
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.setDevice = function(value) {
48860
+ return jspb.Message.setProto3IntField(this, 2, value);
48861
+ };
48862
+
48863
+
48864
+ /**
48865
+ * optional int32 axis = 3;
48866
+ * @return {number}
48867
+ */
48868
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.getAxis = function() {
48869
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
48870
+ };
48871
+
48872
+
48873
+ /**
48874
+ * @param {number} value
48875
+ * @return {!proto.zaber.motion.protobufs.SetSimpleTuning} returns this
48876
+ */
48877
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.setAxis = function(value) {
48878
+ return jspb.Message.setProto3IntField(this, 3, value);
48879
+ };
48880
+
48881
+
48882
+ /**
48883
+ * optional int32 paramset = 4;
48884
+ * @return {number}
48885
+ */
48886
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.getParamset = function() {
48887
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
48888
+ };
48889
+
48890
+
48891
+ /**
48892
+ * @param {number} value
48893
+ * @return {!proto.zaber.motion.protobufs.SetSimpleTuning} returns this
48894
+ */
48895
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.setParamset = function(value) {
48896
+ return jspb.Message.setProto3IntField(this, 4, value);
48897
+ };
48898
+
48899
+
48900
+ /**
48901
+ * optional double carriage_mass = 5;
48902
+ * @return {number}
48903
+ */
48904
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.getCarriageMass = function() {
48905
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
48906
+ };
48907
+
48908
+
48909
+ /**
48910
+ * @param {number} value
48911
+ * @return {!proto.zaber.motion.protobufs.SetSimpleTuning} returns this
48912
+ */
48913
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.setCarriageMass = function(value) {
48914
+ return jspb.Message.setProto3FloatField(this, 5, value);
48915
+ };
48916
+
48917
+
48918
+ /**
48919
+ * optional double load_mass = 6;
48920
+ * @return {number}
48921
+ */
48922
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.getLoadMass = function() {
48923
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
48924
+ };
48925
+
48926
+
48927
+ /**
48928
+ * @param {number} value
48929
+ * @return {!proto.zaber.motion.protobufs.SetSimpleTuning} returns this
48930
+ */
48931
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.setLoadMass = function(value) {
48932
+ return jspb.Message.setProto3FloatField(this, 6, value);
48933
+ };
48934
+
48935
+
48936
+ /**
48937
+ * repeated ServoTuningParam tuning_params = 7;
48938
+ * @return {!Array<!proto.zaber.motion.protobufs.ServoTuningParam>}
48939
+ */
48940
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.getTuningParamsList = function() {
48941
+ return /** @type{!Array<!proto.zaber.motion.protobufs.ServoTuningParam>} */ (
48942
+ jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.ServoTuningParam, 7));
48943
+ };
48944
+
48945
+
48946
+ /**
48947
+ * @param {!Array<!proto.zaber.motion.protobufs.ServoTuningParam>} value
48948
+ * @return {!proto.zaber.motion.protobufs.SetSimpleTuning} returns this
48949
+ */
48950
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.setTuningParamsList = function(value) {
48951
+ return jspb.Message.setRepeatedWrapperField(this, 7, value);
48952
+ };
48953
+
48954
+
48955
+ /**
48956
+ * @param {!proto.zaber.motion.protobufs.ServoTuningParam=} opt_value
48957
+ * @param {number=} opt_index
48958
+ * @return {!proto.zaber.motion.protobufs.ServoTuningParam}
48959
+ */
48960
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.addTuningParams = function(opt_value, opt_index) {
48961
+ return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.zaber.motion.protobufs.ServoTuningParam, opt_index);
48962
+ };
48963
+
48964
+
48965
+ /**
48966
+ * Clears the list making it empty but non-null.
48967
+ * @return {!proto.zaber.motion.protobufs.SetSimpleTuning} returns this
48968
+ */
48969
+ proto.zaber.motion.protobufs.SetSimpleTuning.prototype.clearTuningParamsList = function() {
48970
+ return this.setTuningParamsList([]);
48971
+ };
48972
+
48973
+
48974
+
48975
+
48976
+
48977
+ if (jspb.Message.GENERATE_TO_OBJECT) {
48978
+ /**
48979
+ * Creates an object representation of this proto.
48980
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
48981
+ * Optional fields that are not set will be set to undefined.
48982
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
48983
+ * For the list of reserved names please see:
48984
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
48985
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
48986
+ * JSPB instance for transitional soy proto support:
48987
+ * http://goto/soy-param-migration
48988
+ * @return {!Object}
48989
+ */
48990
+ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.toObject = function(opt_includeInstance) {
48991
+ return proto.zaber.motion.protobufs.SimpleTuningParam.toObject(opt_includeInstance, this);
48992
+ };
48993
+
48994
+
48995
+ /**
48996
+ * Static version of the {@see toObject} method.
48997
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
48998
+ * the JSPB instance for transitional soy proto support:
48999
+ * http://goto/soy-param-migration
49000
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningParam} msg The msg instance to transform.
49001
+ * @return {!Object}
49002
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49003
+ */
49004
+ proto.zaber.motion.protobufs.SimpleTuningParam.toObject = function(includeInstance, msg) {
49005
+ var f, obj = {
49006
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
49007
+ minLabel: jspb.Message.getFieldWithDefault(msg, 2, ""),
49008
+ maxLabel: jspb.Message.getFieldWithDefault(msg, 3, ""),
49009
+ dataType: jspb.Message.getFieldWithDefault(msg, 4, "")
49010
+ };
49011
+
49012
+ if (includeInstance) {
49013
+ obj.$jspbMessageInstance = msg;
49014
+ }
49015
+ return obj;
49016
+ };
49017
+ }
49018
+
49019
+
49020
+ /**
49021
+ * Deserializes binary data (in protobuf wire format).
49022
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
49023
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParam}
49024
+ */
49025
+ proto.zaber.motion.protobufs.SimpleTuningParam.deserializeBinary = function(bytes) {
49026
+ var reader = new jspb.BinaryReader(bytes);
49027
+ var msg = new proto.zaber.motion.protobufs.SimpleTuningParam;
49028
+ return proto.zaber.motion.protobufs.SimpleTuningParam.deserializeBinaryFromReader(msg, reader);
49029
+ };
49030
+
49031
+
49032
+ /**
49033
+ * Deserializes binary data (in protobuf wire format) from the
49034
+ * given reader into the given message object.
49035
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningParam} msg The message object to deserialize into.
49036
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
49037
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParam}
49038
+ */
49039
+ proto.zaber.motion.protobufs.SimpleTuningParam.deserializeBinaryFromReader = function(msg, reader) {
49040
+ while (reader.nextField()) {
49041
+ if (reader.isEndGroup()) {
49042
+ break;
49043
+ }
49044
+ var field = reader.getFieldNumber();
49045
+ switch (field) {
49046
+ case 1:
49047
+ var value = /** @type {string} */ (reader.readString());
49048
+ msg.setName(value);
49049
+ break;
49050
+ case 2:
49051
+ var value = /** @type {string} */ (reader.readString());
49052
+ msg.setMinLabel(value);
49053
+ break;
49054
+ case 3:
49055
+ var value = /** @type {string} */ (reader.readString());
49056
+ msg.setMaxLabel(value);
49057
+ break;
49058
+ case 4:
49059
+ var value = /** @type {string} */ (reader.readString());
49060
+ msg.setDataType(value);
49061
+ break;
49062
+ default:
49063
+ reader.skipField();
49064
+ break;
49065
+ }
49066
+ }
49067
+ return msg;
49068
+ };
49069
+
49070
+
49071
+ /**
49072
+ * Serializes the message to binary data (in protobuf wire format).
49073
+ * @return {!Uint8Array}
49074
+ */
49075
+ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.serializeBinary = function() {
49076
+ var writer = new jspb.BinaryWriter();
49077
+ proto.zaber.motion.protobufs.SimpleTuningParam.serializeBinaryToWriter(this, writer);
49078
+ return writer.getResultBuffer();
49079
+ };
49080
+
49081
+
49082
+ /**
49083
+ * Serializes the given message to binary data (in protobuf wire
49084
+ * format), writing to the given BinaryWriter.
49085
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningParam} message
49086
+ * @param {!jspb.BinaryWriter} writer
49087
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49088
+ */
49089
+ proto.zaber.motion.protobufs.SimpleTuningParam.serializeBinaryToWriter = function(message, writer) {
49090
+ var f = undefined;
49091
+ f = message.getName();
49092
+ if (f.length > 0) {
49093
+ writer.writeString(
49094
+ 1,
49095
+ f
49096
+ );
49097
+ }
49098
+ f = message.getMinLabel();
49099
+ if (f.length > 0) {
49100
+ writer.writeString(
49101
+ 2,
49102
+ f
49103
+ );
49104
+ }
49105
+ f = message.getMaxLabel();
49106
+ if (f.length > 0) {
49107
+ writer.writeString(
49108
+ 3,
49109
+ f
49110
+ );
49111
+ }
49112
+ f = message.getDataType();
49113
+ if (f.length > 0) {
49114
+ writer.writeString(
49115
+ 4,
49116
+ f
49117
+ );
49118
+ }
49119
+ };
49120
+
49121
+
49122
+ /**
49123
+ * optional string name = 1;
49124
+ * @return {string}
49125
+ */
49126
+ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.getName = function() {
49127
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
49128
+ };
49129
+
49130
+
49131
+ /**
49132
+ * @param {string} value
49133
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParam} returns this
49134
+ */
49135
+ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setName = function(value) {
49136
+ return jspb.Message.setProto3StringField(this, 1, value);
49137
+ };
49138
+
49139
+
49140
+ /**
49141
+ * optional string min_label = 2;
49142
+ * @return {string}
49143
+ */
49144
+ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.getMinLabel = function() {
49145
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
49146
+ };
49147
+
49148
+
49149
+ /**
49150
+ * @param {string} value
49151
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParam} returns this
49152
+ */
49153
+ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setMinLabel = function(value) {
49154
+ return jspb.Message.setProto3StringField(this, 2, value);
49155
+ };
49156
+
49157
+
49158
+ /**
49159
+ * optional string max_label = 3;
49160
+ * @return {string}
49161
+ */
49162
+ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.getMaxLabel = function() {
49163
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
49164
+ };
49165
+
49166
+
49167
+ /**
49168
+ * @param {string} value
49169
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParam} returns this
49170
+ */
49171
+ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setMaxLabel = function(value) {
49172
+ return jspb.Message.setProto3StringField(this, 3, value);
49173
+ };
49174
+
49175
+
49176
+ /**
49177
+ * optional string data_type = 4;
49178
+ * @return {string}
49179
+ */
49180
+ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.getDataType = function() {
49181
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
49182
+ };
49183
+
49184
+
49185
+ /**
49186
+ * @param {string} value
49187
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParam} returns this
49188
+ */
49189
+ proto.zaber.motion.protobufs.SimpleTuningParam.prototype.setDataType = function(value) {
49190
+ return jspb.Message.setProto3StringField(this, 4, value);
49191
+ };
49192
+
49193
+
49194
+
49195
+ /**
49196
+ * List of repeated fields within this message type.
49197
+ * @private {!Array<number>}
49198
+ * @const
49199
+ */
49200
+ proto.zaber.motion.protobufs.SimpleTuningParamList.repeatedFields_ = [1];
49201
+
49202
+
49203
+
49204
+ if (jspb.Message.GENERATE_TO_OBJECT) {
49205
+ /**
49206
+ * Creates an object representation of this proto.
49207
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
49208
+ * Optional fields that are not set will be set to undefined.
49209
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
49210
+ * For the list of reserved names please see:
49211
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
49212
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
49213
+ * JSPB instance for transitional soy proto support:
49214
+ * http://goto/soy-param-migration
49215
+ * @return {!Object}
49216
+ */
49217
+ proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.toObject = function(opt_includeInstance) {
49218
+ return proto.zaber.motion.protobufs.SimpleTuningParamList.toObject(opt_includeInstance, this);
49219
+ };
49220
+
49221
+
49222
+ /**
49223
+ * Static version of the {@see toObject} method.
49224
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
49225
+ * the JSPB instance for transitional soy proto support:
49226
+ * http://goto/soy-param-migration
49227
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningParamList} msg The msg instance to transform.
49228
+ * @return {!Object}
49229
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49230
+ */
49231
+ proto.zaber.motion.protobufs.SimpleTuningParamList.toObject = function(includeInstance, msg) {
49232
+ var f, obj = {
49233
+ paramsList: jspb.Message.toObjectList(msg.getParamsList(),
49234
+ proto.zaber.motion.protobufs.SimpleTuningParam.toObject, includeInstance)
49235
+ };
49236
+
49237
+ if (includeInstance) {
49238
+ obj.$jspbMessageInstance = msg;
49239
+ }
49240
+ return obj;
49241
+ };
49242
+ }
49243
+
49244
+
49245
+ /**
49246
+ * Deserializes binary data (in protobuf wire format).
49247
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
49248
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamList}
49249
+ */
49250
+ proto.zaber.motion.protobufs.SimpleTuningParamList.deserializeBinary = function(bytes) {
49251
+ var reader = new jspb.BinaryReader(bytes);
49252
+ var msg = new proto.zaber.motion.protobufs.SimpleTuningParamList;
49253
+ return proto.zaber.motion.protobufs.SimpleTuningParamList.deserializeBinaryFromReader(msg, reader);
49254
+ };
49255
+
49256
+
49257
+ /**
49258
+ * Deserializes binary data (in protobuf wire format) from the
49259
+ * given reader into the given message object.
49260
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningParamList} msg The message object to deserialize into.
49261
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
49262
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamList}
49263
+ */
49264
+ proto.zaber.motion.protobufs.SimpleTuningParamList.deserializeBinaryFromReader = function(msg, reader) {
49265
+ while (reader.nextField()) {
49266
+ if (reader.isEndGroup()) {
49267
+ break;
49268
+ }
49269
+ var field = reader.getFieldNumber();
49270
+ switch (field) {
49271
+ case 1:
49272
+ var value = new proto.zaber.motion.protobufs.SimpleTuningParam;
49273
+ reader.readMessage(value,proto.zaber.motion.protobufs.SimpleTuningParam.deserializeBinaryFromReader);
49274
+ msg.addParams(value);
49275
+ break;
49276
+ default:
49277
+ reader.skipField();
49278
+ break;
49279
+ }
49280
+ }
49281
+ return msg;
49282
+ };
49283
+
49284
+
49285
+ /**
49286
+ * Serializes the message to binary data (in protobuf wire format).
49287
+ * @return {!Uint8Array}
49288
+ */
49289
+ proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.serializeBinary = function() {
49290
+ var writer = new jspb.BinaryWriter();
49291
+ proto.zaber.motion.protobufs.SimpleTuningParamList.serializeBinaryToWriter(this, writer);
49292
+ return writer.getResultBuffer();
49293
+ };
49294
+
49295
+
49296
+ /**
49297
+ * Serializes the given message to binary data (in protobuf wire
49298
+ * format), writing to the given BinaryWriter.
49299
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningParamList} message
49300
+ * @param {!jspb.BinaryWriter} writer
49301
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49302
+ */
49303
+ proto.zaber.motion.protobufs.SimpleTuningParamList.serializeBinaryToWriter = function(message, writer) {
49304
+ var f = undefined;
49305
+ f = message.getParamsList();
49306
+ if (f.length > 0) {
49307
+ writer.writeRepeatedMessage(
49308
+ 1,
49309
+ f,
49310
+ proto.zaber.motion.protobufs.SimpleTuningParam.serializeBinaryToWriter
49311
+ );
49312
+ }
49313
+ };
49314
+
49315
+
49316
+ /**
49317
+ * repeated SimpleTuningParam params = 1;
49318
+ * @return {!Array<!proto.zaber.motion.protobufs.SimpleTuningParam>}
49319
+ */
49320
+ proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.getParamsList = function() {
49321
+ return /** @type{!Array<!proto.zaber.motion.protobufs.SimpleTuningParam>} */ (
49322
+ jspb.Message.getRepeatedWrapperField(this, proto.zaber.motion.protobufs.SimpleTuningParam, 1));
49323
+ };
49324
+
49325
+
49326
+ /**
49327
+ * @param {!Array<!proto.zaber.motion.protobufs.SimpleTuningParam>} value
49328
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamList} returns this
49329
+ */
49330
+ proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.setParamsList = function(value) {
49331
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
49332
+ };
49333
+
49334
+
49335
+ /**
49336
+ * @param {!proto.zaber.motion.protobufs.SimpleTuningParam=} opt_value
49337
+ * @param {number=} opt_index
49338
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParam}
49339
+ */
49340
+ proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.addParams = function(opt_value, opt_index) {
49341
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.zaber.motion.protobufs.SimpleTuningParam, opt_index);
49342
+ };
49343
+
49344
+
49345
+ /**
49346
+ * Clears the list making it empty but non-null.
49347
+ * @return {!proto.zaber.motion.protobufs.SimpleTuningParamList} returns this
49348
+ */
49349
+ proto.zaber.motion.protobufs.SimpleTuningParamList.prototype.clearParamsList = function() {
49350
+ return this.setParamsList([]);
49351
+ };
49352
+
49353
+
49354
+
49355
+
49356
+
45920
49357
  if (jspb.Message.GENERATE_TO_OBJECT) {
45921
49358
  /**
45922
49359
  * Creates an object representation of this proto.