@zaber/motion 4.2.2 → 4.2.4

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.
@@ -124,6 +124,7 @@ goog.exportSymbol('zaber.motion.protobufs.MovementFailedExceptionData', null, pr
124
124
  goog.exportSymbol('zaber.motion.protobufs.MovementInterruptedExceptionData', null, proto);
125
125
  goog.exportSymbol('zaber.motion.protobufs.ObjectiveChangerChangeRequest', null, proto);
126
126
  goog.exportSymbol('zaber.motion.protobufs.ObjectiveChangerCreateResponse', null, proto);
127
+ goog.exportSymbol('zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse', null, proto);
127
128
  goog.exportSymbol('zaber.motion.protobufs.ObjectiveChangerRequest', null, proto);
128
129
  goog.exportSymbol('zaber.motion.protobufs.OpenBinaryInterfaceRequest', null, proto);
129
130
  goog.exportSymbol('zaber.motion.protobufs.OpenInterfaceRequest', null, proto);
@@ -4498,6 +4499,27 @@ if (goog.DEBUG && !COMPILED) {
4498
4499
  */
4499
4500
  proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.displayName = 'proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest';
4500
4501
  }
4502
+ /**
4503
+ * Generated by JsPbCodeGenerator.
4504
+ * @param {Array=} opt_data Optional initial data array, typically from a
4505
+ * server response, or constructed directly in Javascript. The array is used
4506
+ * in place and becomes part of the constructed object. It is not cloned.
4507
+ * If no data is provided, the constructed object will be empty, but still
4508
+ * valid.
4509
+ * @extends {jspb.Message}
4510
+ * @constructor
4511
+ */
4512
+ proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse = function(opt_data) {
4513
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4514
+ };
4515
+ goog.inherits(proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse, jspb.Message);
4516
+ if (goog.DEBUG && !COMPILED) {
4517
+ /**
4518
+ * @public
4519
+ * @override
4520
+ */
4521
+ proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse.displayName = 'proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse';
4522
+ }
4501
4523
  /**
4502
4524
  * Generated by JsPbCodeGenerator.
4503
4525
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -49540,6 +49562,136 @@ proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.prototype.hasFocusOff
49540
49562
 
49541
49563
 
49542
49564
 
49565
+ if (jspb.Message.GENERATE_TO_OBJECT) {
49566
+ /**
49567
+ * Creates an object representation of this proto.
49568
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
49569
+ * Optional fields that are not set will be set to undefined.
49570
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
49571
+ * For the list of reserved names please see:
49572
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
49573
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
49574
+ * JSPB instance for transitional soy proto support:
49575
+ * http://goto/soy-param-migration
49576
+ * @return {!Object}
49577
+ */
49578
+ proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse.prototype.toObject = function(opt_includeInstance) {
49579
+ return proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse.toObject(opt_includeInstance, this);
49580
+ };
49581
+
49582
+
49583
+ /**
49584
+ * Static version of the {@see toObject} method.
49585
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
49586
+ * the JSPB instance for transitional soy proto support:
49587
+ * http://goto/soy-param-migration
49588
+ * @param {!proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse} msg The msg instance to transform.
49589
+ * @return {!Object}
49590
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49591
+ */
49592
+ proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse.toObject = function(includeInstance, msg) {
49593
+ var f, obj = {
49594
+ value: jspb.Message.getFieldWithDefault(msg, 1, 0)
49595
+ };
49596
+
49597
+ if (includeInstance) {
49598
+ obj.$jspbMessageInstance = msg;
49599
+ }
49600
+ return obj;
49601
+ };
49602
+ }
49603
+
49604
+
49605
+ /**
49606
+ * Deserializes binary data (in protobuf wire format).
49607
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
49608
+ * @return {!proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse}
49609
+ */
49610
+ proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse.deserializeBinary = function(bytes) {
49611
+ var reader = new jspb.BinaryReader(bytes);
49612
+ var msg = new proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse;
49613
+ return proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse.deserializeBinaryFromReader(msg, reader);
49614
+ };
49615
+
49616
+
49617
+ /**
49618
+ * Deserializes binary data (in protobuf wire format) from the
49619
+ * given reader into the given message object.
49620
+ * @param {!proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse} msg The message object to deserialize into.
49621
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
49622
+ * @return {!proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse}
49623
+ */
49624
+ proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse.deserializeBinaryFromReader = function(msg, reader) {
49625
+ while (reader.nextField()) {
49626
+ if (reader.isEndGroup()) {
49627
+ break;
49628
+ }
49629
+ var field = reader.getFieldNumber();
49630
+ switch (field) {
49631
+ case 1:
49632
+ var value = /** @type {number} */ (reader.readInt32());
49633
+ msg.setValue(value);
49634
+ break;
49635
+ default:
49636
+ reader.skipField();
49637
+ break;
49638
+ }
49639
+ }
49640
+ return msg;
49641
+ };
49642
+
49643
+
49644
+ /**
49645
+ * Serializes the message to binary data (in protobuf wire format).
49646
+ * @return {!Uint8Array}
49647
+ */
49648
+ proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse.prototype.serializeBinary = function() {
49649
+ var writer = new jspb.BinaryWriter();
49650
+ proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse.serializeBinaryToWriter(this, writer);
49651
+ return writer.getResultBuffer();
49652
+ };
49653
+
49654
+
49655
+ /**
49656
+ * Serializes the given message to binary data (in protobuf wire
49657
+ * format), writing to the given BinaryWriter.
49658
+ * @param {!proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse} message
49659
+ * @param {!jspb.BinaryWriter} writer
49660
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49661
+ */
49662
+ proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse.serializeBinaryToWriter = function(message, writer) {
49663
+ var f = undefined;
49664
+ f = message.getValue();
49665
+ if (f !== 0) {
49666
+ writer.writeInt32(
49667
+ 1,
49668
+ f
49669
+ );
49670
+ }
49671
+ };
49672
+
49673
+
49674
+ /**
49675
+ * optional int32 value = 1;
49676
+ * @return {number}
49677
+ */
49678
+ proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse.prototype.getValue = function() {
49679
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
49680
+ };
49681
+
49682
+
49683
+ /**
49684
+ * @param {number} value
49685
+ * @return {!proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse} returns this
49686
+ */
49687
+ proto.zaber.motion.protobufs.ObjectiveChangerGetCurrentResponse.prototype.setValue = function(value) {
49688
+ return jspb.Message.setProto3IntField(this, 1, value);
49689
+ };
49690
+
49691
+
49692
+
49693
+
49694
+
49543
49695
  if (jspb.Message.GENERATE_TO_OBJECT) {
49544
49696
  /**
49545
49697
  * Creates an object representation of this proto.