@zaber/motion 2.9.0 → 2.9.1

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.
@@ -194,6 +194,8 @@ goog.exportSymbol('zaber.motion.protobufs.StreamLineRequest', null, proto);
194
194
  goog.exportSymbol('zaber.motion.protobufs.StreamLineRequest.Type', null, proto);
195
195
  goog.exportSymbol('zaber.motion.protobufs.StreamMovementFailedExceptionData', null, proto);
196
196
  goog.exportSymbol('zaber.motion.protobufs.StreamMovementInterruptedExceptionData', null, proto);
197
+ goog.exportSymbol('zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest', null, proto);
198
+ goog.exportSymbol('zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest', null, proto);
197
199
  goog.exportSymbol('zaber.motion.protobufs.StreamSetAnalogOutputRequest', null, proto);
198
200
  goog.exportSymbol('zaber.motion.protobufs.StreamSetDigitalOutputRequest', null, proto);
199
201
  goog.exportSymbol('zaber.motion.protobufs.StreamSetMaxCentripetalAccelerationRequest', null, proto);
@@ -2883,6 +2885,48 @@ if (goog.DEBUG && !COMPILED) {
2883
2885
  */
2884
2886
  proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.displayName = 'proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest';
2885
2887
  }
2888
+ /**
2889
+ * Generated by JsPbCodeGenerator.
2890
+ * @param {Array=} opt_data Optional initial data array, typically from a
2891
+ * server response, or constructed directly in Javascript. The array is used
2892
+ * in place and becomes part of the constructed object. It is not cloned.
2893
+ * If no data is provided, the constructed object will be empty, but still
2894
+ * valid.
2895
+ * @extends {jspb.Message}
2896
+ * @constructor
2897
+ */
2898
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest = function(opt_data) {
2899
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.repeatedFields_, null);
2900
+ };
2901
+ goog.inherits(proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest, jspb.Message);
2902
+ if (goog.DEBUG && !COMPILED) {
2903
+ /**
2904
+ * @public
2905
+ * @override
2906
+ */
2907
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.displayName = 'proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest';
2908
+ }
2909
+ /**
2910
+ * Generated by JsPbCodeGenerator.
2911
+ * @param {Array=} opt_data Optional initial data array, typically from a
2912
+ * server response, or constructed directly in Javascript. The array is used
2913
+ * in place and becomes part of the constructed object. It is not cloned.
2914
+ * If no data is provided, the constructed object will be empty, but still
2915
+ * valid.
2916
+ * @extends {jspb.Message}
2917
+ * @constructor
2918
+ */
2919
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest = function(opt_data) {
2920
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.repeatedFields_, null);
2921
+ };
2922
+ goog.inherits(proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest, jspb.Message);
2923
+ if (goog.DEBUG && !COMPILED) {
2924
+ /**
2925
+ * @public
2926
+ * @override
2927
+ */
2928
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.displayName = 'proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest';
2929
+ }
2886
2930
  /**
2887
2931
  * Generated by JsPbCodeGenerator.
2888
2932
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5502,7 +5546,8 @@ proto.zaber.motion.protobufs.DeviceIdentity.toObject = function(includeInstance,
5502
5546
  name: jspb.Message.getFieldWithDefault(msg, 3, ""),
5503
5547
  axisCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
5504
5548
  firmwareVersion: (f = msg.getFirmwareVersion()) && proto.zaber.motion.protobufs.FirmwareVersion.toObject(includeInstance, f),
5505
- isModified: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
5549
+ isModified: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
5550
+ isIntegrated: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
5506
5551
  };
5507
5552
 
5508
5553
  if (includeInstance) {
@@ -5564,6 +5609,10 @@ proto.zaber.motion.protobufs.DeviceIdentity.deserializeBinaryFromReader = functi
5564
5609
  var value = /** @type {boolean} */ (reader.readBool());
5565
5610
  msg.setIsModified(value);
5566
5611
  break;
5612
+ case 7:
5613
+ var value = /** @type {boolean} */ (reader.readBool());
5614
+ msg.setIsIntegrated(value);
5615
+ break;
5567
5616
  default:
5568
5617
  reader.skipField();
5569
5618
  break;
@@ -5636,6 +5685,13 @@ proto.zaber.motion.protobufs.DeviceIdentity.serializeBinaryToWriter = function(m
5636
5685
  f
5637
5686
  );
5638
5687
  }
5688
+ f = message.getIsIntegrated();
5689
+ if (f) {
5690
+ writer.writeBool(
5691
+ 7,
5692
+ f
5693
+ );
5694
+ }
5639
5695
  };
5640
5696
 
5641
5697
 
@@ -5766,6 +5822,24 @@ proto.zaber.motion.protobufs.DeviceIdentity.prototype.setIsModified = function(v
5766
5822
  };
5767
5823
 
5768
5824
 
5825
+ /**
5826
+ * optional bool is_integrated = 7;
5827
+ * @return {boolean}
5828
+ */
5829
+ proto.zaber.motion.protobufs.DeviceIdentity.prototype.getIsIntegrated = function() {
5830
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
5831
+ };
5832
+
5833
+
5834
+ /**
5835
+ * @param {boolean} value
5836
+ * @return {!proto.zaber.motion.protobufs.DeviceIdentity} returns this
5837
+ */
5838
+ proto.zaber.motion.protobufs.DeviceIdentity.prototype.setIsIntegrated = function(value) {
5839
+ return jspb.Message.setProto3BooleanField(this, 7, value);
5840
+ };
5841
+
5842
+
5769
5843
 
5770
5844
 
5771
5845
 
@@ -29808,6 +29882,502 @@ proto.zaber.motion.protobufs.StreamToggleDigitalOutputRequest.prototype.setChann
29808
29882
 
29809
29883
 
29810
29884
 
29885
+ /**
29886
+ * List of repeated fields within this message type.
29887
+ * @private {!Array<number>}
29888
+ * @const
29889
+ */
29890
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.repeatedFields_ = [4];
29891
+
29892
+
29893
+
29894
+ if (jspb.Message.GENERATE_TO_OBJECT) {
29895
+ /**
29896
+ * Creates an object representation of this proto.
29897
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
29898
+ * Optional fields that are not set will be set to undefined.
29899
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
29900
+ * For the list of reserved names please see:
29901
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
29902
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
29903
+ * JSPB instance for transitional soy proto support:
29904
+ * http://goto/soy-param-migration
29905
+ * @return {!Object}
29906
+ */
29907
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.toObject = function(opt_includeInstance) {
29908
+ return proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.toObject(opt_includeInstance, this);
29909
+ };
29910
+
29911
+
29912
+ /**
29913
+ * Static version of the {@see toObject} method.
29914
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
29915
+ * the JSPB instance for transitional soy proto support:
29916
+ * http://goto/soy-param-migration
29917
+ * @param {!proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest} msg The msg instance to transform.
29918
+ * @return {!Object}
29919
+ * @suppress {unusedLocalVariables} f is only used for nested messages
29920
+ */
29921
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.toObject = function(includeInstance, msg) {
29922
+ var f, obj = {
29923
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
29924
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
29925
+ streamId: jspb.Message.getFieldWithDefault(msg, 3, 0),
29926
+ valuesList: (f = jspb.Message.getRepeatedBooleanField(msg, 4)) == null ? undefined : f
29927
+ };
29928
+
29929
+ if (includeInstance) {
29930
+ obj.$jspbMessageInstance = msg;
29931
+ }
29932
+ return obj;
29933
+ };
29934
+ }
29935
+
29936
+
29937
+ /**
29938
+ * Deserializes binary data (in protobuf wire format).
29939
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
29940
+ * @return {!proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest}
29941
+ */
29942
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.deserializeBinary = function(bytes) {
29943
+ var reader = new jspb.BinaryReader(bytes);
29944
+ var msg = new proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest;
29945
+ return proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.deserializeBinaryFromReader(msg, reader);
29946
+ };
29947
+
29948
+
29949
+ /**
29950
+ * Deserializes binary data (in protobuf wire format) from the
29951
+ * given reader into the given message object.
29952
+ * @param {!proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest} msg The message object to deserialize into.
29953
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
29954
+ * @return {!proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest}
29955
+ */
29956
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.deserializeBinaryFromReader = function(msg, reader) {
29957
+ while (reader.nextField()) {
29958
+ if (reader.isEndGroup()) {
29959
+ break;
29960
+ }
29961
+ var field = reader.getFieldNumber();
29962
+ switch (field) {
29963
+ case 1:
29964
+ var value = /** @type {number} */ (reader.readInt32());
29965
+ msg.setInterfaceId(value);
29966
+ break;
29967
+ case 2:
29968
+ var value = /** @type {number} */ (reader.readInt32());
29969
+ msg.setDevice(value);
29970
+ break;
29971
+ case 3:
29972
+ var value = /** @type {number} */ (reader.readInt32());
29973
+ msg.setStreamId(value);
29974
+ break;
29975
+ case 4:
29976
+ var values = /** @type {!Array<boolean>} */ (reader.isDelimited() ? reader.readPackedBool() : [reader.readBool()]);
29977
+ for (var i = 0; i < values.length; i++) {
29978
+ msg.addValues(values[i]);
29979
+ }
29980
+ break;
29981
+ default:
29982
+ reader.skipField();
29983
+ break;
29984
+ }
29985
+ }
29986
+ return msg;
29987
+ };
29988
+
29989
+
29990
+ /**
29991
+ * Serializes the message to binary data (in protobuf wire format).
29992
+ * @return {!Uint8Array}
29993
+ */
29994
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.serializeBinary = function() {
29995
+ var writer = new jspb.BinaryWriter();
29996
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.serializeBinaryToWriter(this, writer);
29997
+ return writer.getResultBuffer();
29998
+ };
29999
+
30000
+
30001
+ /**
30002
+ * Serializes the given message to binary data (in protobuf wire
30003
+ * format), writing to the given BinaryWriter.
30004
+ * @param {!proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest} message
30005
+ * @param {!jspb.BinaryWriter} writer
30006
+ * @suppress {unusedLocalVariables} f is only used for nested messages
30007
+ */
30008
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.serializeBinaryToWriter = function(message, writer) {
30009
+ var f = undefined;
30010
+ f = message.getInterfaceId();
30011
+ if (f !== 0) {
30012
+ writer.writeInt32(
30013
+ 1,
30014
+ f
30015
+ );
30016
+ }
30017
+ f = message.getDevice();
30018
+ if (f !== 0) {
30019
+ writer.writeInt32(
30020
+ 2,
30021
+ f
30022
+ );
30023
+ }
30024
+ f = message.getStreamId();
30025
+ if (f !== 0) {
30026
+ writer.writeInt32(
30027
+ 3,
30028
+ f
30029
+ );
30030
+ }
30031
+ f = message.getValuesList();
30032
+ if (f.length > 0) {
30033
+ writer.writePackedBool(
30034
+ 4,
30035
+ f
30036
+ );
30037
+ }
30038
+ };
30039
+
30040
+
30041
+ /**
30042
+ * optional int32 interface_id = 1;
30043
+ * @return {number}
30044
+ */
30045
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.getInterfaceId = function() {
30046
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
30047
+ };
30048
+
30049
+
30050
+ /**
30051
+ * @param {number} value
30052
+ * @return {!proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest} returns this
30053
+ */
30054
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.setInterfaceId = function(value) {
30055
+ return jspb.Message.setProto3IntField(this, 1, value);
30056
+ };
30057
+
30058
+
30059
+ /**
30060
+ * optional int32 device = 2;
30061
+ * @return {number}
30062
+ */
30063
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.getDevice = function() {
30064
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
30065
+ };
30066
+
30067
+
30068
+ /**
30069
+ * @param {number} value
30070
+ * @return {!proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest} returns this
30071
+ */
30072
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.setDevice = function(value) {
30073
+ return jspb.Message.setProto3IntField(this, 2, value);
30074
+ };
30075
+
30076
+
30077
+ /**
30078
+ * optional int32 stream_id = 3;
30079
+ * @return {number}
30080
+ */
30081
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.getStreamId = function() {
30082
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
30083
+ };
30084
+
30085
+
30086
+ /**
30087
+ * @param {number} value
30088
+ * @return {!proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest} returns this
30089
+ */
30090
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.setStreamId = function(value) {
30091
+ return jspb.Message.setProto3IntField(this, 3, value);
30092
+ };
30093
+
30094
+
30095
+ /**
30096
+ * repeated bool values = 4;
30097
+ * @return {!Array<boolean>}
30098
+ */
30099
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.getValuesList = function() {
30100
+ return /** @type {!Array<boolean>} */ (jspb.Message.getRepeatedBooleanField(this, 4));
30101
+ };
30102
+
30103
+
30104
+ /**
30105
+ * @param {!Array<boolean>} value
30106
+ * @return {!proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest} returns this
30107
+ */
30108
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.setValuesList = function(value) {
30109
+ return jspb.Message.setField(this, 4, value || []);
30110
+ };
30111
+
30112
+
30113
+ /**
30114
+ * @param {boolean} value
30115
+ * @param {number=} opt_index
30116
+ * @return {!proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest} returns this
30117
+ */
30118
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.addValues = function(value, opt_index) {
30119
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
30120
+ };
30121
+
30122
+
30123
+ /**
30124
+ * Clears the list making it empty but non-null.
30125
+ * @return {!proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest} returns this
30126
+ */
30127
+ proto.zaber.motion.protobufs.StreamSetAllDigitalOutputsRequest.prototype.clearValuesList = function() {
30128
+ return this.setValuesList([]);
30129
+ };
30130
+
30131
+
30132
+
30133
+ /**
30134
+ * List of repeated fields within this message type.
30135
+ * @private {!Array<number>}
30136
+ * @const
30137
+ */
30138
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.repeatedFields_ = [4];
30139
+
30140
+
30141
+
30142
+ if (jspb.Message.GENERATE_TO_OBJECT) {
30143
+ /**
30144
+ * Creates an object representation of this proto.
30145
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
30146
+ * Optional fields that are not set will be set to undefined.
30147
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
30148
+ * For the list of reserved names please see:
30149
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
30150
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
30151
+ * JSPB instance for transitional soy proto support:
30152
+ * http://goto/soy-param-migration
30153
+ * @return {!Object}
30154
+ */
30155
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.prototype.toObject = function(opt_includeInstance) {
30156
+ return proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.toObject(opt_includeInstance, this);
30157
+ };
30158
+
30159
+
30160
+ /**
30161
+ * Static version of the {@see toObject} method.
30162
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
30163
+ * the JSPB instance for transitional soy proto support:
30164
+ * http://goto/soy-param-migration
30165
+ * @param {!proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest} msg The msg instance to transform.
30166
+ * @return {!Object}
30167
+ * @suppress {unusedLocalVariables} f is only used for nested messages
30168
+ */
30169
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.toObject = function(includeInstance, msg) {
30170
+ var f, obj = {
30171
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
30172
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
30173
+ streamId: jspb.Message.getFieldWithDefault(msg, 3, 0),
30174
+ valuesList: (f = jspb.Message.getRepeatedFloatingPointField(msg, 4)) == null ? undefined : f
30175
+ };
30176
+
30177
+ if (includeInstance) {
30178
+ obj.$jspbMessageInstance = msg;
30179
+ }
30180
+ return obj;
30181
+ };
30182
+ }
30183
+
30184
+
30185
+ /**
30186
+ * Deserializes binary data (in protobuf wire format).
30187
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
30188
+ * @return {!proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest}
30189
+ */
30190
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.deserializeBinary = function(bytes) {
30191
+ var reader = new jspb.BinaryReader(bytes);
30192
+ var msg = new proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest;
30193
+ return proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.deserializeBinaryFromReader(msg, reader);
30194
+ };
30195
+
30196
+
30197
+ /**
30198
+ * Deserializes binary data (in protobuf wire format) from the
30199
+ * given reader into the given message object.
30200
+ * @param {!proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest} msg The message object to deserialize into.
30201
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
30202
+ * @return {!proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest}
30203
+ */
30204
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.deserializeBinaryFromReader = function(msg, reader) {
30205
+ while (reader.nextField()) {
30206
+ if (reader.isEndGroup()) {
30207
+ break;
30208
+ }
30209
+ var field = reader.getFieldNumber();
30210
+ switch (field) {
30211
+ case 1:
30212
+ var value = /** @type {number} */ (reader.readInt32());
30213
+ msg.setInterfaceId(value);
30214
+ break;
30215
+ case 2:
30216
+ var value = /** @type {number} */ (reader.readInt32());
30217
+ msg.setDevice(value);
30218
+ break;
30219
+ case 3:
30220
+ var value = /** @type {number} */ (reader.readInt32());
30221
+ msg.setStreamId(value);
30222
+ break;
30223
+ case 4:
30224
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedDouble() : [reader.readDouble()]);
30225
+ for (var i = 0; i < values.length; i++) {
30226
+ msg.addValues(values[i]);
30227
+ }
30228
+ break;
30229
+ default:
30230
+ reader.skipField();
30231
+ break;
30232
+ }
30233
+ }
30234
+ return msg;
30235
+ };
30236
+
30237
+
30238
+ /**
30239
+ * Serializes the message to binary data (in protobuf wire format).
30240
+ * @return {!Uint8Array}
30241
+ */
30242
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.prototype.serializeBinary = function() {
30243
+ var writer = new jspb.BinaryWriter();
30244
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.serializeBinaryToWriter(this, writer);
30245
+ return writer.getResultBuffer();
30246
+ };
30247
+
30248
+
30249
+ /**
30250
+ * Serializes the given message to binary data (in protobuf wire
30251
+ * format), writing to the given BinaryWriter.
30252
+ * @param {!proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest} message
30253
+ * @param {!jspb.BinaryWriter} writer
30254
+ * @suppress {unusedLocalVariables} f is only used for nested messages
30255
+ */
30256
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.serializeBinaryToWriter = function(message, writer) {
30257
+ var f = undefined;
30258
+ f = message.getInterfaceId();
30259
+ if (f !== 0) {
30260
+ writer.writeInt32(
30261
+ 1,
30262
+ f
30263
+ );
30264
+ }
30265
+ f = message.getDevice();
30266
+ if (f !== 0) {
30267
+ writer.writeInt32(
30268
+ 2,
30269
+ f
30270
+ );
30271
+ }
30272
+ f = message.getStreamId();
30273
+ if (f !== 0) {
30274
+ writer.writeInt32(
30275
+ 3,
30276
+ f
30277
+ );
30278
+ }
30279
+ f = message.getValuesList();
30280
+ if (f.length > 0) {
30281
+ writer.writePackedDouble(
30282
+ 4,
30283
+ f
30284
+ );
30285
+ }
30286
+ };
30287
+
30288
+
30289
+ /**
30290
+ * optional int32 interface_id = 1;
30291
+ * @return {number}
30292
+ */
30293
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.prototype.getInterfaceId = function() {
30294
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
30295
+ };
30296
+
30297
+
30298
+ /**
30299
+ * @param {number} value
30300
+ * @return {!proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest} returns this
30301
+ */
30302
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.prototype.setInterfaceId = function(value) {
30303
+ return jspb.Message.setProto3IntField(this, 1, value);
30304
+ };
30305
+
30306
+
30307
+ /**
30308
+ * optional int32 device = 2;
30309
+ * @return {number}
30310
+ */
30311
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.prototype.getDevice = function() {
30312
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
30313
+ };
30314
+
30315
+
30316
+ /**
30317
+ * @param {number} value
30318
+ * @return {!proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest} returns this
30319
+ */
30320
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.prototype.setDevice = function(value) {
30321
+ return jspb.Message.setProto3IntField(this, 2, value);
30322
+ };
30323
+
30324
+
30325
+ /**
30326
+ * optional int32 stream_id = 3;
30327
+ * @return {number}
30328
+ */
30329
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.prototype.getStreamId = function() {
30330
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
30331
+ };
30332
+
30333
+
30334
+ /**
30335
+ * @param {number} value
30336
+ * @return {!proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest} returns this
30337
+ */
30338
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.prototype.setStreamId = function(value) {
30339
+ return jspb.Message.setProto3IntField(this, 3, value);
30340
+ };
30341
+
30342
+
30343
+ /**
30344
+ * repeated double values = 4;
30345
+ * @return {!Array<number>}
30346
+ */
30347
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.prototype.getValuesList = function() {
30348
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedFloatingPointField(this, 4));
30349
+ };
30350
+
30351
+
30352
+ /**
30353
+ * @param {!Array<number>} value
30354
+ * @return {!proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest} returns this
30355
+ */
30356
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.prototype.setValuesList = function(value) {
30357
+ return jspb.Message.setField(this, 4, value || []);
30358
+ };
30359
+
30360
+
30361
+ /**
30362
+ * @param {number} value
30363
+ * @param {number=} opt_index
30364
+ * @return {!proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest} returns this
30365
+ */
30366
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.prototype.addValues = function(value, opt_index) {
30367
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
30368
+ };
30369
+
30370
+
30371
+ /**
30372
+ * Clears the list making it empty but non-null.
30373
+ * @return {!proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest} returns this
30374
+ */
30375
+ proto.zaber.motion.protobufs.StreamSetAllAnalogOutputsRequest.prototype.clearValuesList = function() {
30376
+ return this.setValuesList([]);
30377
+ };
30378
+
30379
+
30380
+
29811
30381
 
29812
30382
 
29813
30383
  if (jspb.Message.GENERATE_TO_OBJECT) {