@zaber/motion 4.4.0 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
- package/dist/lib/ascii/axis.d.ts +31 -0
- package/dist/lib/ascii/axis.js +52 -0
- package/dist/lib/ascii/axis.js.map +1 -1
- package/dist/lib/ascii/axis_type.d.ts +3 -1
- package/dist/lib/ascii/axis_type.js +2 -0
- package/dist/lib/ascii/axis_type.js.map +1 -1
- package/dist/lib/ascii/index.d.ts +0 -5
- package/dist/lib/ascii/index.js +1 -12
- package/dist/lib/ascii/index.js.map +1 -1
- package/dist/lib/ascii_ns.d.ts +0 -5
- package/dist/lib/ascii_ns.js +0 -5
- package/dist/lib/ascii_ns.js.map +1 -1
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.js +4 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/product/index.d.ts +5 -0
- package/dist/lib/product/index.js +14 -0
- package/dist/lib/product/index.js.map +1 -0
- package/dist/lib/{ascii → product}/process.d.ts +4 -4
- package/dist/lib/{ascii → product}/process.js +5 -5
- package/dist/lib/product/process.js.map +1 -0
- package/dist/lib/{ascii → product}/process_controller.d.ts +2 -2
- package/dist/lib/product/process_controller.js.map +1 -0
- package/dist/lib/product/process_controller_mode.js.map +1 -0
- package/dist/lib/product/process_controller_source.js.map +1 -0
- package/dist/lib/product/process_controller_source_sensor.js.map +1 -0
- package/dist/lib/product_ns.d.ts +13 -0
- package/dist/lib/product_ns.js +36 -0
- package/dist/lib/product_ns.js.map +1 -0
- package/dist/lib/protobufs/main_pb.d.ts +87 -0
- package/dist/lib/protobufs/main_pb.js +643 -2
- package/dist/lib/protobufs/main_pb.js.map +1 -1
- package/dist/lib/unit_table.d.ts +16 -0
- package/dist/lib/unit_table.js +56 -0
- package/dist/lib/unit_table.js.map +1 -0
- package/package.json +11 -1
- package/dist/lib/ascii/process.js.map +0 -1
- package/dist/lib/ascii/process_controller.js.map +0 -1
- package/dist/lib/ascii/process_controller_mode.js.map +0 -1
- package/dist/lib/ascii/process_controller_source.js.map +0 -1
- package/dist/lib/ascii/process_controller_source_sensor.js.map +0 -1
- /package/dist/lib/{ascii → product}/process_controller.js +0 -0
- /package/dist/lib/{ascii → product}/process_controller_mode.d.ts +0 -0
- /package/dist/lib/{ascii → product}/process_controller_mode.js +0 -0
- /package/dist/lib/{ascii → product}/process_controller_source.d.ts +0 -0
- /package/dist/lib/{ascii → product}/process_controller_source.js +0 -0
- /package/dist/lib/{ascii → product}/process_controller_source_sensor.d.ts +0 -0
- /package/dist/lib/{ascii → product}/process_controller_source_sensor.js +0 -0
|
@@ -234,6 +234,10 @@ goog.exportSymbol('zaber.motion.protobufs.TranslatorSetFeedRateOverrideRequest',
|
|
|
234
234
|
goog.exportSymbol('zaber.motion.protobufs.TranslatorSetTraverseRateRequest', null, proto);
|
|
235
235
|
goog.exportSymbol('zaber.motion.protobufs.TranslatorTranslateRequest', null, proto);
|
|
236
236
|
goog.exportSymbol('zaber.motion.protobufs.TranslatorTranslateResponse', null, proto);
|
|
237
|
+
goog.exportSymbol('zaber.motion.protobufs.UnitGetEnumRequest', null, proto);
|
|
238
|
+
goog.exportSymbol('zaber.motion.protobufs.UnitGetEnumResponse', null, proto);
|
|
239
|
+
goog.exportSymbol('zaber.motion.protobufs.UnitGetSymbolRequest', null, proto);
|
|
240
|
+
goog.exportSymbol('zaber.motion.protobufs.UnitGetSymbolResponse', null, proto);
|
|
237
241
|
goog.exportSymbol('zaber.motion.protobufs.UnknownBinaryResponseEvent', null, proto);
|
|
238
242
|
goog.exportSymbol('zaber.motion.protobufs.UnknownResponseEvent', null, proto);
|
|
239
243
|
goog.exportSymbol('zaber.motion.protobufs.WaitToClearWarningsRequest', null, proto);
|
|
@@ -4627,6 +4631,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4627
4631
|
*/
|
|
4628
4632
|
proto.zaber.motion.protobufs.SetProcessControllerSource.displayName = 'proto.zaber.motion.protobufs.SetProcessControllerSource';
|
|
4629
4633
|
}
|
|
4634
|
+
/**
|
|
4635
|
+
* Generated by JsPbCodeGenerator.
|
|
4636
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4637
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4638
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4639
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4640
|
+
* valid.
|
|
4641
|
+
* @extends {jspb.Message}
|
|
4642
|
+
* @constructor
|
|
4643
|
+
*/
|
|
4644
|
+
proto.zaber.motion.protobufs.UnitGetSymbolRequest = function(opt_data) {
|
|
4645
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4646
|
+
};
|
|
4647
|
+
goog.inherits(proto.zaber.motion.protobufs.UnitGetSymbolRequest, jspb.Message);
|
|
4648
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4649
|
+
/**
|
|
4650
|
+
* @public
|
|
4651
|
+
* @override
|
|
4652
|
+
*/
|
|
4653
|
+
proto.zaber.motion.protobufs.UnitGetSymbolRequest.displayName = 'proto.zaber.motion.protobufs.UnitGetSymbolRequest';
|
|
4654
|
+
}
|
|
4655
|
+
/**
|
|
4656
|
+
* Generated by JsPbCodeGenerator.
|
|
4657
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4658
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4659
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4660
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4661
|
+
* valid.
|
|
4662
|
+
* @extends {jspb.Message}
|
|
4663
|
+
* @constructor
|
|
4664
|
+
*/
|
|
4665
|
+
proto.zaber.motion.protobufs.UnitGetSymbolResponse = function(opt_data) {
|
|
4666
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4667
|
+
};
|
|
4668
|
+
goog.inherits(proto.zaber.motion.protobufs.UnitGetSymbolResponse, jspb.Message);
|
|
4669
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4670
|
+
/**
|
|
4671
|
+
* @public
|
|
4672
|
+
* @override
|
|
4673
|
+
*/
|
|
4674
|
+
proto.zaber.motion.protobufs.UnitGetSymbolResponse.displayName = 'proto.zaber.motion.protobufs.UnitGetSymbolResponse';
|
|
4675
|
+
}
|
|
4676
|
+
/**
|
|
4677
|
+
* Generated by JsPbCodeGenerator.
|
|
4678
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4679
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4680
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4681
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4682
|
+
* valid.
|
|
4683
|
+
* @extends {jspb.Message}
|
|
4684
|
+
* @constructor
|
|
4685
|
+
*/
|
|
4686
|
+
proto.zaber.motion.protobufs.UnitGetEnumRequest = function(opt_data) {
|
|
4687
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4688
|
+
};
|
|
4689
|
+
goog.inherits(proto.zaber.motion.protobufs.UnitGetEnumRequest, jspb.Message);
|
|
4690
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4691
|
+
/**
|
|
4692
|
+
* @public
|
|
4693
|
+
* @override
|
|
4694
|
+
*/
|
|
4695
|
+
proto.zaber.motion.protobufs.UnitGetEnumRequest.displayName = 'proto.zaber.motion.protobufs.UnitGetEnumRequest';
|
|
4696
|
+
}
|
|
4697
|
+
/**
|
|
4698
|
+
* Generated by JsPbCodeGenerator.
|
|
4699
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4700
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4701
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4702
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4703
|
+
* valid.
|
|
4704
|
+
* @extends {jspb.Message}
|
|
4705
|
+
* @constructor
|
|
4706
|
+
*/
|
|
4707
|
+
proto.zaber.motion.protobufs.UnitGetEnumResponse = function(opt_data) {
|
|
4708
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4709
|
+
};
|
|
4710
|
+
goog.inherits(proto.zaber.motion.protobufs.UnitGetEnumResponse, jspb.Message);
|
|
4711
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4712
|
+
/**
|
|
4713
|
+
* @public
|
|
4714
|
+
* @override
|
|
4715
|
+
*/
|
|
4716
|
+
proto.zaber.motion.protobufs.UnitGetEnumResponse.displayName = 'proto.zaber.motion.protobufs.UnitGetEnumResponse';
|
|
4717
|
+
}
|
|
4630
4718
|
|
|
4631
4719
|
|
|
4632
4720
|
|
|
@@ -6316,7 +6404,9 @@ proto.zaber.motion.protobufs.AxisIdentity.serializeBinaryToWriter = function(mes
|
|
|
6316
6404
|
proto.zaber.motion.protobufs.AxisIdentity.AxisType = {
|
|
6317
6405
|
UNKNOWN: 0,
|
|
6318
6406
|
LINEAR: 1,
|
|
6319
|
-
ROTARY: 2
|
|
6407
|
+
ROTARY: 2,
|
|
6408
|
+
PROCESS: 3,
|
|
6409
|
+
LAMP: 4
|
|
6320
6410
|
};
|
|
6321
6411
|
|
|
6322
6412
|
/**
|
|
@@ -16549,6 +16639,7 @@ proto.zaber.motion.protobufs.DeviceMoveRequest.toObject = function(includeInstan
|
|
|
16549
16639
|
waitUntilIdle: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
16550
16640
|
type: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
16551
16641
|
arg: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
16642
|
+
argInt: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
16552
16643
|
unit: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
16553
16644
|
velocity: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
16554
16645
|
velocityUnit: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
@@ -16614,6 +16705,10 @@ proto.zaber.motion.protobufs.DeviceMoveRequest.deserializeBinaryFromReader = fun
|
|
|
16614
16705
|
var value = /** @type {number} */ (reader.readDouble());
|
|
16615
16706
|
msg.setArg(value);
|
|
16616
16707
|
break;
|
|
16708
|
+
case 12:
|
|
16709
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
16710
|
+
msg.setArgInt(value);
|
|
16711
|
+
break;
|
|
16617
16712
|
case 7:
|
|
16618
16713
|
var value = /** @type {string} */ (reader.readString());
|
|
16619
16714
|
msg.setUnit(value);
|
|
@@ -16705,6 +16800,13 @@ proto.zaber.motion.protobufs.DeviceMoveRequest.serializeBinaryToWriter = functio
|
|
|
16705
16800
|
f
|
|
16706
16801
|
);
|
|
16707
16802
|
}
|
|
16803
|
+
f = message.getArgInt();
|
|
16804
|
+
if (f !== 0) {
|
|
16805
|
+
writer.writeInt32(
|
|
16806
|
+
12,
|
|
16807
|
+
f
|
|
16808
|
+
);
|
|
16809
|
+
}
|
|
16708
16810
|
f = message.getUnit();
|
|
16709
16811
|
if (f.length > 0) {
|
|
16710
16812
|
writer.writeString(
|
|
@@ -16751,7 +16853,8 @@ proto.zaber.motion.protobufs.DeviceMoveRequest.MoveType = {
|
|
|
16751
16853
|
REL: 1,
|
|
16752
16854
|
VEL: 2,
|
|
16753
16855
|
MAX: 3,
|
|
16754
|
-
MIN: 4
|
|
16856
|
+
MIN: 4,
|
|
16857
|
+
INDEX: 5
|
|
16755
16858
|
};
|
|
16756
16859
|
|
|
16757
16860
|
/**
|
|
@@ -16862,6 +16965,24 @@ proto.zaber.motion.protobufs.DeviceMoveRequest.prototype.setArg = function(value
|
|
|
16862
16965
|
};
|
|
16863
16966
|
|
|
16864
16967
|
|
|
16968
|
+
/**
|
|
16969
|
+
* optional int32 arg_int = 12;
|
|
16970
|
+
* @return {number}
|
|
16971
|
+
*/
|
|
16972
|
+
proto.zaber.motion.protobufs.DeviceMoveRequest.prototype.getArgInt = function() {
|
|
16973
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
16974
|
+
};
|
|
16975
|
+
|
|
16976
|
+
|
|
16977
|
+
/**
|
|
16978
|
+
* @param {number} value
|
|
16979
|
+
* @return {!proto.zaber.motion.protobufs.DeviceMoveRequest} returns this
|
|
16980
|
+
*/
|
|
16981
|
+
proto.zaber.motion.protobufs.DeviceMoveRequest.prototype.setArgInt = function(value) {
|
|
16982
|
+
return jspb.Message.setProto3IntField(this, 12, value);
|
|
16983
|
+
};
|
|
16984
|
+
|
|
16985
|
+
|
|
16865
16986
|
/**
|
|
16866
16987
|
* optional string unit = 7;
|
|
16867
16988
|
* @return {string}
|
|
@@ -50644,6 +50765,526 @@ proto.zaber.motion.protobufs.SetProcessControllerSource.prototype.hasSource = fu
|
|
|
50644
50765
|
};
|
|
50645
50766
|
|
|
50646
50767
|
|
|
50768
|
+
|
|
50769
|
+
|
|
50770
|
+
|
|
50771
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
50772
|
+
/**
|
|
50773
|
+
* Creates an object representation of this proto.
|
|
50774
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
50775
|
+
* Optional fields that are not set will be set to undefined.
|
|
50776
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
50777
|
+
* For the list of reserved names please see:
|
|
50778
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
50779
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
50780
|
+
* JSPB instance for transitional soy proto support:
|
|
50781
|
+
* http://goto/soy-param-migration
|
|
50782
|
+
* @return {!Object}
|
|
50783
|
+
*/
|
|
50784
|
+
proto.zaber.motion.protobufs.UnitGetSymbolRequest.prototype.toObject = function(opt_includeInstance) {
|
|
50785
|
+
return proto.zaber.motion.protobufs.UnitGetSymbolRequest.toObject(opt_includeInstance, this);
|
|
50786
|
+
};
|
|
50787
|
+
|
|
50788
|
+
|
|
50789
|
+
/**
|
|
50790
|
+
* Static version of the {@see toObject} method.
|
|
50791
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
50792
|
+
* the JSPB instance for transitional soy proto support:
|
|
50793
|
+
* http://goto/soy-param-migration
|
|
50794
|
+
* @param {!proto.zaber.motion.protobufs.UnitGetSymbolRequest} msg The msg instance to transform.
|
|
50795
|
+
* @return {!Object}
|
|
50796
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50797
|
+
*/
|
|
50798
|
+
proto.zaber.motion.protobufs.UnitGetSymbolRequest.toObject = function(includeInstance, msg) {
|
|
50799
|
+
var f, obj = {
|
|
50800
|
+
unit: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
50801
|
+
};
|
|
50802
|
+
|
|
50803
|
+
if (includeInstance) {
|
|
50804
|
+
obj.$jspbMessageInstance = msg;
|
|
50805
|
+
}
|
|
50806
|
+
return obj;
|
|
50807
|
+
};
|
|
50808
|
+
}
|
|
50809
|
+
|
|
50810
|
+
|
|
50811
|
+
/**
|
|
50812
|
+
* Deserializes binary data (in protobuf wire format).
|
|
50813
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
50814
|
+
* @return {!proto.zaber.motion.protobufs.UnitGetSymbolRequest}
|
|
50815
|
+
*/
|
|
50816
|
+
proto.zaber.motion.protobufs.UnitGetSymbolRequest.deserializeBinary = function(bytes) {
|
|
50817
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
50818
|
+
var msg = new proto.zaber.motion.protobufs.UnitGetSymbolRequest;
|
|
50819
|
+
return proto.zaber.motion.protobufs.UnitGetSymbolRequest.deserializeBinaryFromReader(msg, reader);
|
|
50820
|
+
};
|
|
50821
|
+
|
|
50822
|
+
|
|
50823
|
+
/**
|
|
50824
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
50825
|
+
* given reader into the given message object.
|
|
50826
|
+
* @param {!proto.zaber.motion.protobufs.UnitGetSymbolRequest} msg The message object to deserialize into.
|
|
50827
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
50828
|
+
* @return {!proto.zaber.motion.protobufs.UnitGetSymbolRequest}
|
|
50829
|
+
*/
|
|
50830
|
+
proto.zaber.motion.protobufs.UnitGetSymbolRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
50831
|
+
while (reader.nextField()) {
|
|
50832
|
+
if (reader.isEndGroup()) {
|
|
50833
|
+
break;
|
|
50834
|
+
}
|
|
50835
|
+
var field = reader.getFieldNumber();
|
|
50836
|
+
switch (field) {
|
|
50837
|
+
case 1:
|
|
50838
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50839
|
+
msg.setUnit(value);
|
|
50840
|
+
break;
|
|
50841
|
+
default:
|
|
50842
|
+
reader.skipField();
|
|
50843
|
+
break;
|
|
50844
|
+
}
|
|
50845
|
+
}
|
|
50846
|
+
return msg;
|
|
50847
|
+
};
|
|
50848
|
+
|
|
50849
|
+
|
|
50850
|
+
/**
|
|
50851
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
50852
|
+
* @return {!Uint8Array}
|
|
50853
|
+
*/
|
|
50854
|
+
proto.zaber.motion.protobufs.UnitGetSymbolRequest.prototype.serializeBinary = function() {
|
|
50855
|
+
var writer = new jspb.BinaryWriter();
|
|
50856
|
+
proto.zaber.motion.protobufs.UnitGetSymbolRequest.serializeBinaryToWriter(this, writer);
|
|
50857
|
+
return writer.getResultBuffer();
|
|
50858
|
+
};
|
|
50859
|
+
|
|
50860
|
+
|
|
50861
|
+
/**
|
|
50862
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
50863
|
+
* format), writing to the given BinaryWriter.
|
|
50864
|
+
* @param {!proto.zaber.motion.protobufs.UnitGetSymbolRequest} message
|
|
50865
|
+
* @param {!jspb.BinaryWriter} writer
|
|
50866
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50867
|
+
*/
|
|
50868
|
+
proto.zaber.motion.protobufs.UnitGetSymbolRequest.serializeBinaryToWriter = function(message, writer) {
|
|
50869
|
+
var f = undefined;
|
|
50870
|
+
f = message.getUnit();
|
|
50871
|
+
if (f.length > 0) {
|
|
50872
|
+
writer.writeString(
|
|
50873
|
+
1,
|
|
50874
|
+
f
|
|
50875
|
+
);
|
|
50876
|
+
}
|
|
50877
|
+
};
|
|
50878
|
+
|
|
50879
|
+
|
|
50880
|
+
/**
|
|
50881
|
+
* optional string unit = 1;
|
|
50882
|
+
* @return {string}
|
|
50883
|
+
*/
|
|
50884
|
+
proto.zaber.motion.protobufs.UnitGetSymbolRequest.prototype.getUnit = function() {
|
|
50885
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
50886
|
+
};
|
|
50887
|
+
|
|
50888
|
+
|
|
50889
|
+
/**
|
|
50890
|
+
* @param {string} value
|
|
50891
|
+
* @return {!proto.zaber.motion.protobufs.UnitGetSymbolRequest} returns this
|
|
50892
|
+
*/
|
|
50893
|
+
proto.zaber.motion.protobufs.UnitGetSymbolRequest.prototype.setUnit = function(value) {
|
|
50894
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
50895
|
+
};
|
|
50896
|
+
|
|
50897
|
+
|
|
50898
|
+
|
|
50899
|
+
|
|
50900
|
+
|
|
50901
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
50902
|
+
/**
|
|
50903
|
+
* Creates an object representation of this proto.
|
|
50904
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
50905
|
+
* Optional fields that are not set will be set to undefined.
|
|
50906
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
50907
|
+
* For the list of reserved names please see:
|
|
50908
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
50909
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
50910
|
+
* JSPB instance for transitional soy proto support:
|
|
50911
|
+
* http://goto/soy-param-migration
|
|
50912
|
+
* @return {!Object}
|
|
50913
|
+
*/
|
|
50914
|
+
proto.zaber.motion.protobufs.UnitGetSymbolResponse.prototype.toObject = function(opt_includeInstance) {
|
|
50915
|
+
return proto.zaber.motion.protobufs.UnitGetSymbolResponse.toObject(opt_includeInstance, this);
|
|
50916
|
+
};
|
|
50917
|
+
|
|
50918
|
+
|
|
50919
|
+
/**
|
|
50920
|
+
* Static version of the {@see toObject} method.
|
|
50921
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
50922
|
+
* the JSPB instance for transitional soy proto support:
|
|
50923
|
+
* http://goto/soy-param-migration
|
|
50924
|
+
* @param {!proto.zaber.motion.protobufs.UnitGetSymbolResponse} msg The msg instance to transform.
|
|
50925
|
+
* @return {!Object}
|
|
50926
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50927
|
+
*/
|
|
50928
|
+
proto.zaber.motion.protobufs.UnitGetSymbolResponse.toObject = function(includeInstance, msg) {
|
|
50929
|
+
var f, obj = {
|
|
50930
|
+
symbol: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
50931
|
+
};
|
|
50932
|
+
|
|
50933
|
+
if (includeInstance) {
|
|
50934
|
+
obj.$jspbMessageInstance = msg;
|
|
50935
|
+
}
|
|
50936
|
+
return obj;
|
|
50937
|
+
};
|
|
50938
|
+
}
|
|
50939
|
+
|
|
50940
|
+
|
|
50941
|
+
/**
|
|
50942
|
+
* Deserializes binary data (in protobuf wire format).
|
|
50943
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
50944
|
+
* @return {!proto.zaber.motion.protobufs.UnitGetSymbolResponse}
|
|
50945
|
+
*/
|
|
50946
|
+
proto.zaber.motion.protobufs.UnitGetSymbolResponse.deserializeBinary = function(bytes) {
|
|
50947
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
50948
|
+
var msg = new proto.zaber.motion.protobufs.UnitGetSymbolResponse;
|
|
50949
|
+
return proto.zaber.motion.protobufs.UnitGetSymbolResponse.deserializeBinaryFromReader(msg, reader);
|
|
50950
|
+
};
|
|
50951
|
+
|
|
50952
|
+
|
|
50953
|
+
/**
|
|
50954
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
50955
|
+
* given reader into the given message object.
|
|
50956
|
+
* @param {!proto.zaber.motion.protobufs.UnitGetSymbolResponse} msg The message object to deserialize into.
|
|
50957
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
50958
|
+
* @return {!proto.zaber.motion.protobufs.UnitGetSymbolResponse}
|
|
50959
|
+
*/
|
|
50960
|
+
proto.zaber.motion.protobufs.UnitGetSymbolResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
50961
|
+
while (reader.nextField()) {
|
|
50962
|
+
if (reader.isEndGroup()) {
|
|
50963
|
+
break;
|
|
50964
|
+
}
|
|
50965
|
+
var field = reader.getFieldNumber();
|
|
50966
|
+
switch (field) {
|
|
50967
|
+
case 1:
|
|
50968
|
+
var value = /** @type {string} */ (reader.readString());
|
|
50969
|
+
msg.setSymbol(value);
|
|
50970
|
+
break;
|
|
50971
|
+
default:
|
|
50972
|
+
reader.skipField();
|
|
50973
|
+
break;
|
|
50974
|
+
}
|
|
50975
|
+
}
|
|
50976
|
+
return msg;
|
|
50977
|
+
};
|
|
50978
|
+
|
|
50979
|
+
|
|
50980
|
+
/**
|
|
50981
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
50982
|
+
* @return {!Uint8Array}
|
|
50983
|
+
*/
|
|
50984
|
+
proto.zaber.motion.protobufs.UnitGetSymbolResponse.prototype.serializeBinary = function() {
|
|
50985
|
+
var writer = new jspb.BinaryWriter();
|
|
50986
|
+
proto.zaber.motion.protobufs.UnitGetSymbolResponse.serializeBinaryToWriter(this, writer);
|
|
50987
|
+
return writer.getResultBuffer();
|
|
50988
|
+
};
|
|
50989
|
+
|
|
50990
|
+
|
|
50991
|
+
/**
|
|
50992
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
50993
|
+
* format), writing to the given BinaryWriter.
|
|
50994
|
+
* @param {!proto.zaber.motion.protobufs.UnitGetSymbolResponse} message
|
|
50995
|
+
* @param {!jspb.BinaryWriter} writer
|
|
50996
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
50997
|
+
*/
|
|
50998
|
+
proto.zaber.motion.protobufs.UnitGetSymbolResponse.serializeBinaryToWriter = function(message, writer) {
|
|
50999
|
+
var f = undefined;
|
|
51000
|
+
f = message.getSymbol();
|
|
51001
|
+
if (f.length > 0) {
|
|
51002
|
+
writer.writeString(
|
|
51003
|
+
1,
|
|
51004
|
+
f
|
|
51005
|
+
);
|
|
51006
|
+
}
|
|
51007
|
+
};
|
|
51008
|
+
|
|
51009
|
+
|
|
51010
|
+
/**
|
|
51011
|
+
* optional string symbol = 1;
|
|
51012
|
+
* @return {string}
|
|
51013
|
+
*/
|
|
51014
|
+
proto.zaber.motion.protobufs.UnitGetSymbolResponse.prototype.getSymbol = function() {
|
|
51015
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
51016
|
+
};
|
|
51017
|
+
|
|
51018
|
+
|
|
51019
|
+
/**
|
|
51020
|
+
* @param {string} value
|
|
51021
|
+
* @return {!proto.zaber.motion.protobufs.UnitGetSymbolResponse} returns this
|
|
51022
|
+
*/
|
|
51023
|
+
proto.zaber.motion.protobufs.UnitGetSymbolResponse.prototype.setSymbol = function(value) {
|
|
51024
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
51025
|
+
};
|
|
51026
|
+
|
|
51027
|
+
|
|
51028
|
+
|
|
51029
|
+
|
|
51030
|
+
|
|
51031
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
51032
|
+
/**
|
|
51033
|
+
* Creates an object representation of this proto.
|
|
51034
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
51035
|
+
* Optional fields that are not set will be set to undefined.
|
|
51036
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
51037
|
+
* For the list of reserved names please see:
|
|
51038
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
51039
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
51040
|
+
* JSPB instance for transitional soy proto support:
|
|
51041
|
+
* http://goto/soy-param-migration
|
|
51042
|
+
* @return {!Object}
|
|
51043
|
+
*/
|
|
51044
|
+
proto.zaber.motion.protobufs.UnitGetEnumRequest.prototype.toObject = function(opt_includeInstance) {
|
|
51045
|
+
return proto.zaber.motion.protobufs.UnitGetEnumRequest.toObject(opt_includeInstance, this);
|
|
51046
|
+
};
|
|
51047
|
+
|
|
51048
|
+
|
|
51049
|
+
/**
|
|
51050
|
+
* Static version of the {@see toObject} method.
|
|
51051
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
51052
|
+
* the JSPB instance for transitional soy proto support:
|
|
51053
|
+
* http://goto/soy-param-migration
|
|
51054
|
+
* @param {!proto.zaber.motion.protobufs.UnitGetEnumRequest} msg The msg instance to transform.
|
|
51055
|
+
* @return {!Object}
|
|
51056
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
51057
|
+
*/
|
|
51058
|
+
proto.zaber.motion.protobufs.UnitGetEnumRequest.toObject = function(includeInstance, msg) {
|
|
51059
|
+
var f, obj = {
|
|
51060
|
+
symbol: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
51061
|
+
};
|
|
51062
|
+
|
|
51063
|
+
if (includeInstance) {
|
|
51064
|
+
obj.$jspbMessageInstance = msg;
|
|
51065
|
+
}
|
|
51066
|
+
return obj;
|
|
51067
|
+
};
|
|
51068
|
+
}
|
|
51069
|
+
|
|
51070
|
+
|
|
51071
|
+
/**
|
|
51072
|
+
* Deserializes binary data (in protobuf wire format).
|
|
51073
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
51074
|
+
* @return {!proto.zaber.motion.protobufs.UnitGetEnumRequest}
|
|
51075
|
+
*/
|
|
51076
|
+
proto.zaber.motion.protobufs.UnitGetEnumRequest.deserializeBinary = function(bytes) {
|
|
51077
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
51078
|
+
var msg = new proto.zaber.motion.protobufs.UnitGetEnumRequest;
|
|
51079
|
+
return proto.zaber.motion.protobufs.UnitGetEnumRequest.deserializeBinaryFromReader(msg, reader);
|
|
51080
|
+
};
|
|
51081
|
+
|
|
51082
|
+
|
|
51083
|
+
/**
|
|
51084
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
51085
|
+
* given reader into the given message object.
|
|
51086
|
+
* @param {!proto.zaber.motion.protobufs.UnitGetEnumRequest} msg The message object to deserialize into.
|
|
51087
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
51088
|
+
* @return {!proto.zaber.motion.protobufs.UnitGetEnumRequest}
|
|
51089
|
+
*/
|
|
51090
|
+
proto.zaber.motion.protobufs.UnitGetEnumRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
51091
|
+
while (reader.nextField()) {
|
|
51092
|
+
if (reader.isEndGroup()) {
|
|
51093
|
+
break;
|
|
51094
|
+
}
|
|
51095
|
+
var field = reader.getFieldNumber();
|
|
51096
|
+
switch (field) {
|
|
51097
|
+
case 1:
|
|
51098
|
+
var value = /** @type {string} */ (reader.readString());
|
|
51099
|
+
msg.setSymbol(value);
|
|
51100
|
+
break;
|
|
51101
|
+
default:
|
|
51102
|
+
reader.skipField();
|
|
51103
|
+
break;
|
|
51104
|
+
}
|
|
51105
|
+
}
|
|
51106
|
+
return msg;
|
|
51107
|
+
};
|
|
51108
|
+
|
|
51109
|
+
|
|
51110
|
+
/**
|
|
51111
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
51112
|
+
* @return {!Uint8Array}
|
|
51113
|
+
*/
|
|
51114
|
+
proto.zaber.motion.protobufs.UnitGetEnumRequest.prototype.serializeBinary = function() {
|
|
51115
|
+
var writer = new jspb.BinaryWriter();
|
|
51116
|
+
proto.zaber.motion.protobufs.UnitGetEnumRequest.serializeBinaryToWriter(this, writer);
|
|
51117
|
+
return writer.getResultBuffer();
|
|
51118
|
+
};
|
|
51119
|
+
|
|
51120
|
+
|
|
51121
|
+
/**
|
|
51122
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
51123
|
+
* format), writing to the given BinaryWriter.
|
|
51124
|
+
* @param {!proto.zaber.motion.protobufs.UnitGetEnumRequest} message
|
|
51125
|
+
* @param {!jspb.BinaryWriter} writer
|
|
51126
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
51127
|
+
*/
|
|
51128
|
+
proto.zaber.motion.protobufs.UnitGetEnumRequest.serializeBinaryToWriter = function(message, writer) {
|
|
51129
|
+
var f = undefined;
|
|
51130
|
+
f = message.getSymbol();
|
|
51131
|
+
if (f.length > 0) {
|
|
51132
|
+
writer.writeString(
|
|
51133
|
+
1,
|
|
51134
|
+
f
|
|
51135
|
+
);
|
|
51136
|
+
}
|
|
51137
|
+
};
|
|
51138
|
+
|
|
51139
|
+
|
|
51140
|
+
/**
|
|
51141
|
+
* optional string symbol = 1;
|
|
51142
|
+
* @return {string}
|
|
51143
|
+
*/
|
|
51144
|
+
proto.zaber.motion.protobufs.UnitGetEnumRequest.prototype.getSymbol = function() {
|
|
51145
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
51146
|
+
};
|
|
51147
|
+
|
|
51148
|
+
|
|
51149
|
+
/**
|
|
51150
|
+
* @param {string} value
|
|
51151
|
+
* @return {!proto.zaber.motion.protobufs.UnitGetEnumRequest} returns this
|
|
51152
|
+
*/
|
|
51153
|
+
proto.zaber.motion.protobufs.UnitGetEnumRequest.prototype.setSymbol = function(value) {
|
|
51154
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
51155
|
+
};
|
|
51156
|
+
|
|
51157
|
+
|
|
51158
|
+
|
|
51159
|
+
|
|
51160
|
+
|
|
51161
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
51162
|
+
/**
|
|
51163
|
+
* Creates an object representation of this proto.
|
|
51164
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
51165
|
+
* Optional fields that are not set will be set to undefined.
|
|
51166
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
51167
|
+
* For the list of reserved names please see:
|
|
51168
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
51169
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
51170
|
+
* JSPB instance for transitional soy proto support:
|
|
51171
|
+
* http://goto/soy-param-migration
|
|
51172
|
+
* @return {!Object}
|
|
51173
|
+
*/
|
|
51174
|
+
proto.zaber.motion.protobufs.UnitGetEnumResponse.prototype.toObject = function(opt_includeInstance) {
|
|
51175
|
+
return proto.zaber.motion.protobufs.UnitGetEnumResponse.toObject(opt_includeInstance, this);
|
|
51176
|
+
};
|
|
51177
|
+
|
|
51178
|
+
|
|
51179
|
+
/**
|
|
51180
|
+
* Static version of the {@see toObject} method.
|
|
51181
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
51182
|
+
* the JSPB instance for transitional soy proto support:
|
|
51183
|
+
* http://goto/soy-param-migration
|
|
51184
|
+
* @param {!proto.zaber.motion.protobufs.UnitGetEnumResponse} msg The msg instance to transform.
|
|
51185
|
+
* @return {!Object}
|
|
51186
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
51187
|
+
*/
|
|
51188
|
+
proto.zaber.motion.protobufs.UnitGetEnumResponse.toObject = function(includeInstance, msg) {
|
|
51189
|
+
var f, obj = {
|
|
51190
|
+
unit: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
51191
|
+
};
|
|
51192
|
+
|
|
51193
|
+
if (includeInstance) {
|
|
51194
|
+
obj.$jspbMessageInstance = msg;
|
|
51195
|
+
}
|
|
51196
|
+
return obj;
|
|
51197
|
+
};
|
|
51198
|
+
}
|
|
51199
|
+
|
|
51200
|
+
|
|
51201
|
+
/**
|
|
51202
|
+
* Deserializes binary data (in protobuf wire format).
|
|
51203
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
51204
|
+
* @return {!proto.zaber.motion.protobufs.UnitGetEnumResponse}
|
|
51205
|
+
*/
|
|
51206
|
+
proto.zaber.motion.protobufs.UnitGetEnumResponse.deserializeBinary = function(bytes) {
|
|
51207
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
51208
|
+
var msg = new proto.zaber.motion.protobufs.UnitGetEnumResponse;
|
|
51209
|
+
return proto.zaber.motion.protobufs.UnitGetEnumResponse.deserializeBinaryFromReader(msg, reader);
|
|
51210
|
+
};
|
|
51211
|
+
|
|
51212
|
+
|
|
51213
|
+
/**
|
|
51214
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
51215
|
+
* given reader into the given message object.
|
|
51216
|
+
* @param {!proto.zaber.motion.protobufs.UnitGetEnumResponse} msg The message object to deserialize into.
|
|
51217
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
51218
|
+
* @return {!proto.zaber.motion.protobufs.UnitGetEnumResponse}
|
|
51219
|
+
*/
|
|
51220
|
+
proto.zaber.motion.protobufs.UnitGetEnumResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
51221
|
+
while (reader.nextField()) {
|
|
51222
|
+
if (reader.isEndGroup()) {
|
|
51223
|
+
break;
|
|
51224
|
+
}
|
|
51225
|
+
var field = reader.getFieldNumber();
|
|
51226
|
+
switch (field) {
|
|
51227
|
+
case 1:
|
|
51228
|
+
var value = /** @type {string} */ (reader.readString());
|
|
51229
|
+
msg.setUnit(value);
|
|
51230
|
+
break;
|
|
51231
|
+
default:
|
|
51232
|
+
reader.skipField();
|
|
51233
|
+
break;
|
|
51234
|
+
}
|
|
51235
|
+
}
|
|
51236
|
+
return msg;
|
|
51237
|
+
};
|
|
51238
|
+
|
|
51239
|
+
|
|
51240
|
+
/**
|
|
51241
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
51242
|
+
* @return {!Uint8Array}
|
|
51243
|
+
*/
|
|
51244
|
+
proto.zaber.motion.protobufs.UnitGetEnumResponse.prototype.serializeBinary = function() {
|
|
51245
|
+
var writer = new jspb.BinaryWriter();
|
|
51246
|
+
proto.zaber.motion.protobufs.UnitGetEnumResponse.serializeBinaryToWriter(this, writer);
|
|
51247
|
+
return writer.getResultBuffer();
|
|
51248
|
+
};
|
|
51249
|
+
|
|
51250
|
+
|
|
51251
|
+
/**
|
|
51252
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
51253
|
+
* format), writing to the given BinaryWriter.
|
|
51254
|
+
* @param {!proto.zaber.motion.protobufs.UnitGetEnumResponse} message
|
|
51255
|
+
* @param {!jspb.BinaryWriter} writer
|
|
51256
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
51257
|
+
*/
|
|
51258
|
+
proto.zaber.motion.protobufs.UnitGetEnumResponse.serializeBinaryToWriter = function(message, writer) {
|
|
51259
|
+
var f = undefined;
|
|
51260
|
+
f = message.getUnit();
|
|
51261
|
+
if (f.length > 0) {
|
|
51262
|
+
writer.writeString(
|
|
51263
|
+
1,
|
|
51264
|
+
f
|
|
51265
|
+
);
|
|
51266
|
+
}
|
|
51267
|
+
};
|
|
51268
|
+
|
|
51269
|
+
|
|
51270
|
+
/**
|
|
51271
|
+
* optional string unit = 1;
|
|
51272
|
+
* @return {string}
|
|
51273
|
+
*/
|
|
51274
|
+
proto.zaber.motion.protobufs.UnitGetEnumResponse.prototype.getUnit = function() {
|
|
51275
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
51276
|
+
};
|
|
51277
|
+
|
|
51278
|
+
|
|
51279
|
+
/**
|
|
51280
|
+
* @param {string} value
|
|
51281
|
+
* @return {!proto.zaber.motion.protobufs.UnitGetEnumResponse} returns this
|
|
51282
|
+
*/
|
|
51283
|
+
proto.zaber.motion.protobufs.UnitGetEnumResponse.prototype.setUnit = function(value) {
|
|
51284
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
51285
|
+
};
|
|
51286
|
+
|
|
51287
|
+
|
|
50647
51288
|
/**
|
|
50648
51289
|
* @enum {number}
|
|
50649
51290
|
*/
|