@zaber/motion 5.0.1 → 5.1.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.
@@ -53,6 +53,8 @@ goog.exportSymbol('zaber.motion.protobufs.CustomInterfaceOpenResponse', null, pr
53
53
  goog.exportSymbol('zaber.motion.protobufs.CustomInterfaceReadRequest', null, proto);
54
54
  goog.exportSymbol('zaber.motion.protobufs.CustomInterfaceWriteRequest', null, proto);
55
55
  goog.exportSymbol('zaber.motion.protobufs.DeviceAddressConflictExceptionData', null, proto);
56
+ goog.exportSymbol('zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest', null, proto);
57
+ goog.exportSymbol('zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest', null, proto);
56
58
  goog.exportSymbol('zaber.motion.protobufs.DeviceConvertSettingRequest', null, proto);
57
59
  goog.exportSymbol('zaber.motion.protobufs.DeviceDbFailedExceptionData', null, proto);
58
60
  goog.exportSymbol('zaber.motion.protobufs.DeviceDetectRequest', null, proto);
@@ -81,8 +83,10 @@ goog.exportSymbol('zaber.motion.protobufs.DeviceOnAllResponse', null, proto);
81
83
  goog.exportSymbol('zaber.motion.protobufs.DeviceRenumberRequest', null, proto);
82
84
  goog.exportSymbol('zaber.motion.protobufs.DeviceSetAllAnalogOutputsRequest', null, proto);
83
85
  goog.exportSymbol('zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest', null, proto);
86
+ goog.exportSymbol('zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest', null, proto);
84
87
  goog.exportSymbol('zaber.motion.protobufs.DeviceSetAnalogOutputRequest', null, proto);
85
88
  goog.exportSymbol('zaber.motion.protobufs.DeviceSetDigitalOutputRequest', null, proto);
89
+ goog.exportSymbol('zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest', null, proto);
86
90
  goog.exportSymbol('zaber.motion.protobufs.DeviceSetSettingRequest', null, proto);
87
91
  goog.exportSymbol('zaber.motion.protobufs.DeviceSetSettingStrRequest', null, proto);
88
92
  goog.exportSymbol('zaber.motion.protobufs.DeviceSetStorageBoolRequest', null, proto);
@@ -1913,6 +1917,48 @@ if (goog.DEBUG && !COMPILED) {
1913
1917
  */
1914
1918
  proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest';
1915
1919
  }
1920
+ /**
1921
+ * Generated by JsPbCodeGenerator.
1922
+ * @param {Array=} opt_data Optional initial data array, typically from a
1923
+ * server response, or constructed directly in Javascript. The array is used
1924
+ * in place and becomes part of the constructed object. It is not cloned.
1925
+ * If no data is provided, the constructed object will be empty, but still
1926
+ * valid.
1927
+ * @extends {jspb.Message}
1928
+ * @constructor
1929
+ */
1930
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest = function(opt_data) {
1931
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.repeatedFields_, null);
1932
+ };
1933
+ goog.inherits(proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest, jspb.Message);
1934
+ if (goog.DEBUG && !COMPILED) {
1935
+ /**
1936
+ * @public
1937
+ * @override
1938
+ */
1939
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest';
1940
+ }
1941
+ /**
1942
+ * Generated by JsPbCodeGenerator.
1943
+ * @param {Array=} opt_data Optional initial data array, typically from a
1944
+ * server response, or constructed directly in Javascript. The array is used
1945
+ * in place and becomes part of the constructed object. It is not cloned.
1946
+ * If no data is provided, the constructed object will be empty, but still
1947
+ * valid.
1948
+ * @extends {jspb.Message}
1949
+ * @constructor
1950
+ */
1951
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest = function(opt_data) {
1952
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.repeatedFields_, null);
1953
+ };
1954
+ goog.inherits(proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest, jspb.Message);
1955
+ if (goog.DEBUG && !COMPILED) {
1956
+ /**
1957
+ * @public
1958
+ * @override
1959
+ */
1960
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.displayName = 'proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest';
1961
+ }
1916
1962
  /**
1917
1963
  * Generated by JsPbCodeGenerator.
1918
1964
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1955,6 +2001,48 @@ if (goog.DEBUG && !COMPILED) {
1955
2001
  */
1956
2002
  proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest';
1957
2003
  }
2004
+ /**
2005
+ * Generated by JsPbCodeGenerator.
2006
+ * @param {Array=} opt_data Optional initial data array, typically from a
2007
+ * server response, or constructed directly in Javascript. The array is used
2008
+ * in place and becomes part of the constructed object. It is not cloned.
2009
+ * If no data is provided, the constructed object will be empty, but still
2010
+ * valid.
2011
+ * @extends {jspb.Message}
2012
+ * @constructor
2013
+ */
2014
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest = function(opt_data) {
2015
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2016
+ };
2017
+ goog.inherits(proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest, jspb.Message);
2018
+ if (goog.DEBUG && !COMPILED) {
2019
+ /**
2020
+ * @public
2021
+ * @override
2022
+ */
2023
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.displayName = 'proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest';
2024
+ }
2025
+ /**
2026
+ * Generated by JsPbCodeGenerator.
2027
+ * @param {Array=} opt_data Optional initial data array, typically from a
2028
+ * server response, or constructed directly in Javascript. The array is used
2029
+ * in place and becomes part of the constructed object. It is not cloned.
2030
+ * If no data is provided, the constructed object will be empty, but still
2031
+ * valid.
2032
+ * @extends {jspb.Message}
2033
+ * @constructor
2034
+ */
2035
+ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest = function(opt_data) {
2036
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2037
+ };
2038
+ goog.inherits(proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest, jspb.Message);
2039
+ if (goog.DEBUG && !COMPILED) {
2040
+ /**
2041
+ * @public
2042
+ * @override
2043
+ */
2044
+ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.displayName = 'proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest';
2045
+ }
1958
2046
  /**
1959
2047
  * Generated by JsPbCodeGenerator.
1960
2048
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -20968,6 +21056,553 @@ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsRequest.prototype.clearVa
20968
21056
 
20969
21057
 
20970
21058
 
21059
+ /**
21060
+ * List of repeated fields within this message type.
21061
+ * @private {!Array<number>}
21062
+ * @const
21063
+ */
21064
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.repeatedFields_ = [3,4];
21065
+
21066
+
21067
+
21068
+ if (jspb.Message.GENERATE_TO_OBJECT) {
21069
+ /**
21070
+ * Creates an object representation of this proto.
21071
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
21072
+ * Optional fields that are not set will be set to undefined.
21073
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
21074
+ * For the list of reserved names please see:
21075
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
21076
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
21077
+ * JSPB instance for transitional soy proto support:
21078
+ * http://goto/soy-param-migration
21079
+ * @return {!Object}
21080
+ */
21081
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.toObject = function(opt_includeInstance) {
21082
+ return proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.toObject(opt_includeInstance, this);
21083
+ };
21084
+
21085
+
21086
+ /**
21087
+ * Static version of the {@see toObject} method.
21088
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
21089
+ * the JSPB instance for transitional soy proto support:
21090
+ * http://goto/soy-param-migration
21091
+ * @param {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} msg The msg instance to transform.
21092
+ * @return {!Object}
21093
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21094
+ */
21095
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.toObject = function(includeInstance, msg) {
21096
+ var f, obj = {
21097
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
21098
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
21099
+ valuesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
21100
+ futureValuesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
21101
+ delay: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
21102
+ unit: jspb.Message.getFieldWithDefault(msg, 6, "")
21103
+ };
21104
+
21105
+ if (includeInstance) {
21106
+ obj.$jspbMessageInstance = msg;
21107
+ }
21108
+ return obj;
21109
+ };
21110
+ }
21111
+
21112
+
21113
+ /**
21114
+ * Deserializes binary data (in protobuf wire format).
21115
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
21116
+ * @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest}
21117
+ */
21118
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.deserializeBinary = function(bytes) {
21119
+ var reader = new jspb.BinaryReader(bytes);
21120
+ var msg = new proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest;
21121
+ return proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.deserializeBinaryFromReader(msg, reader);
21122
+ };
21123
+
21124
+
21125
+ /**
21126
+ * Deserializes binary data (in protobuf wire format) from the
21127
+ * given reader into the given message object.
21128
+ * @param {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} msg The message object to deserialize into.
21129
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
21130
+ * @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest}
21131
+ */
21132
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
21133
+ while (reader.nextField()) {
21134
+ if (reader.isEndGroup()) {
21135
+ break;
21136
+ }
21137
+ var field = reader.getFieldNumber();
21138
+ switch (field) {
21139
+ case 1:
21140
+ var value = /** @type {number} */ (reader.readInt32());
21141
+ msg.setInterfaceId(value);
21142
+ break;
21143
+ case 2:
21144
+ var value = /** @type {number} */ (reader.readInt32());
21145
+ msg.setDevice(value);
21146
+ break;
21147
+ case 3:
21148
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
21149
+ for (var i = 0; i < values.length; i++) {
21150
+ msg.addValues(values[i]);
21151
+ }
21152
+ break;
21153
+ case 4:
21154
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
21155
+ for (var i = 0; i < values.length; i++) {
21156
+ msg.addFutureValues(values[i]);
21157
+ }
21158
+ break;
21159
+ case 5:
21160
+ var value = /** @type {number} */ (reader.readDouble());
21161
+ msg.setDelay(value);
21162
+ break;
21163
+ case 6:
21164
+ var value = /** @type {string} */ (reader.readString());
21165
+ msg.setUnit(value);
21166
+ break;
21167
+ default:
21168
+ reader.skipField();
21169
+ break;
21170
+ }
21171
+ }
21172
+ return msg;
21173
+ };
21174
+
21175
+
21176
+ /**
21177
+ * Serializes the message to binary data (in protobuf wire format).
21178
+ * @return {!Uint8Array}
21179
+ */
21180
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.serializeBinary = function() {
21181
+ var writer = new jspb.BinaryWriter();
21182
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.serializeBinaryToWriter(this, writer);
21183
+ return writer.getResultBuffer();
21184
+ };
21185
+
21186
+
21187
+ /**
21188
+ * Serializes the given message to binary data (in protobuf wire
21189
+ * format), writing to the given BinaryWriter.
21190
+ * @param {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} message
21191
+ * @param {!jspb.BinaryWriter} writer
21192
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21193
+ */
21194
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.serializeBinaryToWriter = function(message, writer) {
21195
+ var f = undefined;
21196
+ f = message.getInterfaceId();
21197
+ if (f !== 0) {
21198
+ writer.writeInt32(
21199
+ 1,
21200
+ f
21201
+ );
21202
+ }
21203
+ f = message.getDevice();
21204
+ if (f !== 0) {
21205
+ writer.writeInt32(
21206
+ 2,
21207
+ f
21208
+ );
21209
+ }
21210
+ f = message.getValuesList();
21211
+ if (f.length > 0) {
21212
+ writer.writePackedInt32(
21213
+ 3,
21214
+ f
21215
+ );
21216
+ }
21217
+ f = message.getFutureValuesList();
21218
+ if (f.length > 0) {
21219
+ writer.writePackedInt32(
21220
+ 4,
21221
+ f
21222
+ );
21223
+ }
21224
+ f = message.getDelay();
21225
+ if (f !== 0.0) {
21226
+ writer.writeDouble(
21227
+ 5,
21228
+ f
21229
+ );
21230
+ }
21231
+ f = message.getUnit();
21232
+ if (f.length > 0) {
21233
+ writer.writeString(
21234
+ 6,
21235
+ f
21236
+ );
21237
+ }
21238
+ };
21239
+
21240
+
21241
+ /**
21242
+ * optional int32 interface_id = 1;
21243
+ * @return {number}
21244
+ */
21245
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.getInterfaceId = function() {
21246
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
21247
+ };
21248
+
21249
+
21250
+ /**
21251
+ * @param {number} value
21252
+ * @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
21253
+ */
21254
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.setInterfaceId = function(value) {
21255
+ return jspb.Message.setProto3IntField(this, 1, value);
21256
+ };
21257
+
21258
+
21259
+ /**
21260
+ * optional int32 device = 2;
21261
+ * @return {number}
21262
+ */
21263
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.getDevice = function() {
21264
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
21265
+ };
21266
+
21267
+
21268
+ /**
21269
+ * @param {number} value
21270
+ * @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
21271
+ */
21272
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.setDevice = function(value) {
21273
+ return jspb.Message.setProto3IntField(this, 2, value);
21274
+ };
21275
+
21276
+
21277
+ /**
21278
+ * repeated int32 values = 3;
21279
+ * @return {!Array<number>}
21280
+ */
21281
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.getValuesList = function() {
21282
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
21283
+ };
21284
+
21285
+
21286
+ /**
21287
+ * @param {!Array<number>} value
21288
+ * @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
21289
+ */
21290
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.setValuesList = function(value) {
21291
+ return jspb.Message.setField(this, 3, value || []);
21292
+ };
21293
+
21294
+
21295
+ /**
21296
+ * @param {number} value
21297
+ * @param {number=} opt_index
21298
+ * @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
21299
+ */
21300
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.addValues = function(value, opt_index) {
21301
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
21302
+ };
21303
+
21304
+
21305
+ /**
21306
+ * Clears the list making it empty but non-null.
21307
+ * @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
21308
+ */
21309
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.clearValuesList = function() {
21310
+ return this.setValuesList([]);
21311
+ };
21312
+
21313
+
21314
+ /**
21315
+ * repeated int32 future_values = 4;
21316
+ * @return {!Array<number>}
21317
+ */
21318
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.getFutureValuesList = function() {
21319
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 4));
21320
+ };
21321
+
21322
+
21323
+ /**
21324
+ * @param {!Array<number>} value
21325
+ * @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
21326
+ */
21327
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.setFutureValuesList = function(value) {
21328
+ return jspb.Message.setField(this, 4, value || []);
21329
+ };
21330
+
21331
+
21332
+ /**
21333
+ * @param {number} value
21334
+ * @param {number=} opt_index
21335
+ * @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
21336
+ */
21337
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.addFutureValues = function(value, opt_index) {
21338
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
21339
+ };
21340
+
21341
+
21342
+ /**
21343
+ * Clears the list making it empty but non-null.
21344
+ * @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
21345
+ */
21346
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.clearFutureValuesList = function() {
21347
+ return this.setFutureValuesList([]);
21348
+ };
21349
+
21350
+
21351
+ /**
21352
+ * optional double delay = 5;
21353
+ * @return {number}
21354
+ */
21355
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.getDelay = function() {
21356
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
21357
+ };
21358
+
21359
+
21360
+ /**
21361
+ * @param {number} value
21362
+ * @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
21363
+ */
21364
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.setDelay = function(value) {
21365
+ return jspb.Message.setProto3FloatField(this, 5, value);
21366
+ };
21367
+
21368
+
21369
+ /**
21370
+ * optional string unit = 6;
21371
+ * @return {string}
21372
+ */
21373
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.getUnit = function() {
21374
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
21375
+ };
21376
+
21377
+
21378
+ /**
21379
+ * @param {string} value
21380
+ * @return {!proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest} returns this
21381
+ */
21382
+ proto.zaber.motion.protobufs.DeviceSetAllDigitalOutputsScheduleRequest.prototype.setUnit = function(value) {
21383
+ return jspb.Message.setProto3StringField(this, 6, value);
21384
+ };
21385
+
21386
+
21387
+
21388
+ /**
21389
+ * List of repeated fields within this message type.
21390
+ * @private {!Array<number>}
21391
+ * @const
21392
+ */
21393
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.repeatedFields_ = [3];
21394
+
21395
+
21396
+
21397
+ if (jspb.Message.GENERATE_TO_OBJECT) {
21398
+ /**
21399
+ * Creates an object representation of this proto.
21400
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
21401
+ * Optional fields that are not set will be set to undefined.
21402
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
21403
+ * For the list of reserved names please see:
21404
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
21405
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
21406
+ * JSPB instance for transitional soy proto support:
21407
+ * http://goto/soy-param-migration
21408
+ * @return {!Object}
21409
+ */
21410
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.toObject = function(opt_includeInstance) {
21411
+ return proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.toObject(opt_includeInstance, this);
21412
+ };
21413
+
21414
+
21415
+ /**
21416
+ * Static version of the {@see toObject} method.
21417
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
21418
+ * the JSPB instance for transitional soy proto support:
21419
+ * http://goto/soy-param-migration
21420
+ * @param {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} msg The msg instance to transform.
21421
+ * @return {!Object}
21422
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21423
+ */
21424
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.toObject = function(includeInstance, msg) {
21425
+ var f, obj = {
21426
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
21427
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
21428
+ channelsList: (f = jspb.Message.getRepeatedBooleanField(msg, 3)) == null ? undefined : f
21429
+ };
21430
+
21431
+ if (includeInstance) {
21432
+ obj.$jspbMessageInstance = msg;
21433
+ }
21434
+ return obj;
21435
+ };
21436
+ }
21437
+
21438
+
21439
+ /**
21440
+ * Deserializes binary data (in protobuf wire format).
21441
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
21442
+ * @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest}
21443
+ */
21444
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.deserializeBinary = function(bytes) {
21445
+ var reader = new jspb.BinaryReader(bytes);
21446
+ var msg = new proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest;
21447
+ return proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.deserializeBinaryFromReader(msg, reader);
21448
+ };
21449
+
21450
+
21451
+ /**
21452
+ * Deserializes binary data (in protobuf wire format) from the
21453
+ * given reader into the given message object.
21454
+ * @param {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} msg The message object to deserialize into.
21455
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
21456
+ * @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest}
21457
+ */
21458
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
21459
+ while (reader.nextField()) {
21460
+ if (reader.isEndGroup()) {
21461
+ break;
21462
+ }
21463
+ var field = reader.getFieldNumber();
21464
+ switch (field) {
21465
+ case 1:
21466
+ var value = /** @type {number} */ (reader.readInt32());
21467
+ msg.setInterfaceId(value);
21468
+ break;
21469
+ case 2:
21470
+ var value = /** @type {number} */ (reader.readInt32());
21471
+ msg.setDevice(value);
21472
+ break;
21473
+ case 3:
21474
+ var values = /** @type {!Array<boolean>} */ (reader.isDelimited() ? reader.readPackedBool() : [reader.readBool()]);
21475
+ for (var i = 0; i < values.length; i++) {
21476
+ msg.addChannels(values[i]);
21477
+ }
21478
+ break;
21479
+ default:
21480
+ reader.skipField();
21481
+ break;
21482
+ }
21483
+ }
21484
+ return msg;
21485
+ };
21486
+
21487
+
21488
+ /**
21489
+ * Serializes the message to binary data (in protobuf wire format).
21490
+ * @return {!Uint8Array}
21491
+ */
21492
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.serializeBinary = function() {
21493
+ var writer = new jspb.BinaryWriter();
21494
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.serializeBinaryToWriter(this, writer);
21495
+ return writer.getResultBuffer();
21496
+ };
21497
+
21498
+
21499
+ /**
21500
+ * Serializes the given message to binary data (in protobuf wire
21501
+ * format), writing to the given BinaryWriter.
21502
+ * @param {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} message
21503
+ * @param {!jspb.BinaryWriter} writer
21504
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21505
+ */
21506
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.serializeBinaryToWriter = function(message, writer) {
21507
+ var f = undefined;
21508
+ f = message.getInterfaceId();
21509
+ if (f !== 0) {
21510
+ writer.writeInt32(
21511
+ 1,
21512
+ f
21513
+ );
21514
+ }
21515
+ f = message.getDevice();
21516
+ if (f !== 0) {
21517
+ writer.writeInt32(
21518
+ 2,
21519
+ f
21520
+ );
21521
+ }
21522
+ f = message.getChannelsList();
21523
+ if (f.length > 0) {
21524
+ writer.writePackedBool(
21525
+ 3,
21526
+ f
21527
+ );
21528
+ }
21529
+ };
21530
+
21531
+
21532
+ /**
21533
+ * optional int32 interface_id = 1;
21534
+ * @return {number}
21535
+ */
21536
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.getInterfaceId = function() {
21537
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
21538
+ };
21539
+
21540
+
21541
+ /**
21542
+ * @param {number} value
21543
+ * @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} returns this
21544
+ */
21545
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.setInterfaceId = function(value) {
21546
+ return jspb.Message.setProto3IntField(this, 1, value);
21547
+ };
21548
+
21549
+
21550
+ /**
21551
+ * optional int32 device = 2;
21552
+ * @return {number}
21553
+ */
21554
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.getDevice = function() {
21555
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
21556
+ };
21557
+
21558
+
21559
+ /**
21560
+ * @param {number} value
21561
+ * @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} returns this
21562
+ */
21563
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.setDevice = function(value) {
21564
+ return jspb.Message.setProto3IntField(this, 2, value);
21565
+ };
21566
+
21567
+
21568
+ /**
21569
+ * repeated bool channels = 3;
21570
+ * @return {!Array<boolean>}
21571
+ */
21572
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.getChannelsList = function() {
21573
+ return /** @type {!Array<boolean>} */ (jspb.Message.getRepeatedBooleanField(this, 3));
21574
+ };
21575
+
21576
+
21577
+ /**
21578
+ * @param {!Array<boolean>} value
21579
+ * @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} returns this
21580
+ */
21581
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.setChannelsList = function(value) {
21582
+ return jspb.Message.setField(this, 3, value || []);
21583
+ };
21584
+
21585
+
21586
+ /**
21587
+ * @param {boolean} value
21588
+ * @param {number=} opt_index
21589
+ * @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} returns this
21590
+ */
21591
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.addChannels = function(value, opt_index) {
21592
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
21593
+ };
21594
+
21595
+
21596
+ /**
21597
+ * Clears the list making it empty but non-null.
21598
+ * @return {!proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest} returns this
21599
+ */
21600
+ proto.zaber.motion.protobufs.DeviceCancelAllDigitalOutputsScheduleRequest.prototype.clearChannelsList = function() {
21601
+ return this.setChannelsList([]);
21602
+ };
21603
+
21604
+
21605
+
20971
21606
  /**
20972
21607
  * List of repeated fields within this message type.
20973
21608
  * @private {!Array<number>}
@@ -21337,16 +21972,272 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.serializeBinaryToWrit
21337
21972
  * optional int32 interface_id = 1;
21338
21973
  * @return {number}
21339
21974
  */
21340
- proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getInterfaceId = function() {
21975
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getInterfaceId = function() {
21976
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
21977
+ };
21978
+
21979
+
21980
+ /**
21981
+ * @param {number} value
21982
+ * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
21983
+ */
21984
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setInterfaceId = function(value) {
21985
+ return jspb.Message.setProto3IntField(this, 1, value);
21986
+ };
21987
+
21988
+
21989
+ /**
21990
+ * optional int32 device = 2;
21991
+ * @return {number}
21992
+ */
21993
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getDevice = function() {
21994
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
21995
+ };
21996
+
21997
+
21998
+ /**
21999
+ * @param {number} value
22000
+ * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
22001
+ */
22002
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setDevice = function(value) {
22003
+ return jspb.Message.setProto3IntField(this, 2, value);
22004
+ };
22005
+
22006
+
22007
+ /**
22008
+ * optional int32 channel_number = 3;
22009
+ * @return {number}
22010
+ */
22011
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getChannelNumber = function() {
22012
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
22013
+ };
22014
+
22015
+
22016
+ /**
22017
+ * @param {number} value
22018
+ * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
22019
+ */
22020
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setChannelNumber = function(value) {
22021
+ return jspb.Message.setProto3IntField(this, 3, value);
22022
+ };
22023
+
22024
+
22025
+ /**
22026
+ * optional int32 value = 4;
22027
+ * @return {number}
22028
+ */
22029
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getValue = function() {
22030
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
22031
+ };
22032
+
22033
+
22034
+ /**
22035
+ * @param {number} value
22036
+ * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
22037
+ */
22038
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setValue = function(value) {
22039
+ return jspb.Message.setProto3IntField(this, 4, value);
22040
+ };
22041
+
22042
+
22043
+
22044
+
22045
+
22046
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22047
+ /**
22048
+ * Creates an object representation of this proto.
22049
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22050
+ * Optional fields that are not set will be set to undefined.
22051
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22052
+ * For the list of reserved names please see:
22053
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22054
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22055
+ * JSPB instance for transitional soy proto support:
22056
+ * http://goto/soy-param-migration
22057
+ * @return {!Object}
22058
+ */
22059
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.toObject = function(opt_includeInstance) {
22060
+ return proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.toObject(opt_includeInstance, this);
22061
+ };
22062
+
22063
+
22064
+ /**
22065
+ * Static version of the {@see toObject} method.
22066
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22067
+ * the JSPB instance for transitional soy proto support:
22068
+ * http://goto/soy-param-migration
22069
+ * @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} msg The msg instance to transform.
22070
+ * @return {!Object}
22071
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22072
+ */
22073
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.toObject = function(includeInstance, msg) {
22074
+ var f, obj = {
22075
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
22076
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
22077
+ channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0),
22078
+ value: jspb.Message.getFieldWithDefault(msg, 4, 0),
22079
+ futureValue: jspb.Message.getFieldWithDefault(msg, 5, 0),
22080
+ delay: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
22081
+ unit: jspb.Message.getFieldWithDefault(msg, 7, "")
22082
+ };
22083
+
22084
+ if (includeInstance) {
22085
+ obj.$jspbMessageInstance = msg;
22086
+ }
22087
+ return obj;
22088
+ };
22089
+ }
22090
+
22091
+
22092
+ /**
22093
+ * Deserializes binary data (in protobuf wire format).
22094
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22095
+ * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest}
22096
+ */
22097
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.deserializeBinary = function(bytes) {
22098
+ var reader = new jspb.BinaryReader(bytes);
22099
+ var msg = new proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest;
22100
+ return proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.deserializeBinaryFromReader(msg, reader);
22101
+ };
22102
+
22103
+
22104
+ /**
22105
+ * Deserializes binary data (in protobuf wire format) from the
22106
+ * given reader into the given message object.
22107
+ * @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} msg The message object to deserialize into.
22108
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22109
+ * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest}
22110
+ */
22111
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
22112
+ while (reader.nextField()) {
22113
+ if (reader.isEndGroup()) {
22114
+ break;
22115
+ }
22116
+ var field = reader.getFieldNumber();
22117
+ switch (field) {
22118
+ case 1:
22119
+ var value = /** @type {number} */ (reader.readInt32());
22120
+ msg.setInterfaceId(value);
22121
+ break;
22122
+ case 2:
22123
+ var value = /** @type {number} */ (reader.readInt32());
22124
+ msg.setDevice(value);
22125
+ break;
22126
+ case 3:
22127
+ var value = /** @type {number} */ (reader.readInt32());
22128
+ msg.setChannelNumber(value);
22129
+ break;
22130
+ case 4:
22131
+ var value = /** @type {number} */ (reader.readInt32());
22132
+ msg.setValue(value);
22133
+ break;
22134
+ case 5:
22135
+ var value = /** @type {number} */ (reader.readInt32());
22136
+ msg.setFutureValue(value);
22137
+ break;
22138
+ case 6:
22139
+ var value = /** @type {number} */ (reader.readDouble());
22140
+ msg.setDelay(value);
22141
+ break;
22142
+ case 7:
22143
+ var value = /** @type {string} */ (reader.readString());
22144
+ msg.setUnit(value);
22145
+ break;
22146
+ default:
22147
+ reader.skipField();
22148
+ break;
22149
+ }
22150
+ }
22151
+ return msg;
22152
+ };
22153
+
22154
+
22155
+ /**
22156
+ * Serializes the message to binary data (in protobuf wire format).
22157
+ * @return {!Uint8Array}
22158
+ */
22159
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.serializeBinary = function() {
22160
+ var writer = new jspb.BinaryWriter();
22161
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.serializeBinaryToWriter(this, writer);
22162
+ return writer.getResultBuffer();
22163
+ };
22164
+
22165
+
22166
+ /**
22167
+ * Serializes the given message to binary data (in protobuf wire
22168
+ * format), writing to the given BinaryWriter.
22169
+ * @param {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} message
22170
+ * @param {!jspb.BinaryWriter} writer
22171
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22172
+ */
22173
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.serializeBinaryToWriter = function(message, writer) {
22174
+ var f = undefined;
22175
+ f = message.getInterfaceId();
22176
+ if (f !== 0) {
22177
+ writer.writeInt32(
22178
+ 1,
22179
+ f
22180
+ );
22181
+ }
22182
+ f = message.getDevice();
22183
+ if (f !== 0) {
22184
+ writer.writeInt32(
22185
+ 2,
22186
+ f
22187
+ );
22188
+ }
22189
+ f = message.getChannelNumber();
22190
+ if (f !== 0) {
22191
+ writer.writeInt32(
22192
+ 3,
22193
+ f
22194
+ );
22195
+ }
22196
+ f = message.getValue();
22197
+ if (f !== 0) {
22198
+ writer.writeInt32(
22199
+ 4,
22200
+ f
22201
+ );
22202
+ }
22203
+ f = message.getFutureValue();
22204
+ if (f !== 0) {
22205
+ writer.writeInt32(
22206
+ 5,
22207
+ f
22208
+ );
22209
+ }
22210
+ f = message.getDelay();
22211
+ if (f !== 0.0) {
22212
+ writer.writeDouble(
22213
+ 6,
22214
+ f
22215
+ );
22216
+ }
22217
+ f = message.getUnit();
22218
+ if (f.length > 0) {
22219
+ writer.writeString(
22220
+ 7,
22221
+ f
22222
+ );
22223
+ }
22224
+ };
22225
+
22226
+
22227
+ /**
22228
+ * optional int32 interface_id = 1;
22229
+ * @return {number}
22230
+ */
22231
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getInterfaceId = function() {
21341
22232
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
21342
22233
  };
21343
22234
 
21344
22235
 
21345
22236
  /**
21346
22237
  * @param {number} value
21347
- * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
22238
+ * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
21348
22239
  */
21349
- proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setInterfaceId = function(value) {
22240
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setInterfaceId = function(value) {
21350
22241
  return jspb.Message.setProto3IntField(this, 1, value);
21351
22242
  };
21352
22243
 
@@ -21355,16 +22246,16 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setInterfac
21355
22246
  * optional int32 device = 2;
21356
22247
  * @return {number}
21357
22248
  */
21358
- proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getDevice = function() {
22249
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getDevice = function() {
21359
22250
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
21360
22251
  };
21361
22252
 
21362
22253
 
21363
22254
  /**
21364
22255
  * @param {number} value
21365
- * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
22256
+ * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
21366
22257
  */
21367
- proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setDevice = function(value) {
22258
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setDevice = function(value) {
21368
22259
  return jspb.Message.setProto3IntField(this, 2, value);
21369
22260
  };
21370
22261
 
@@ -21373,16 +22264,16 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setDevice =
21373
22264
  * optional int32 channel_number = 3;
21374
22265
  * @return {number}
21375
22266
  */
21376
- proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getChannelNumber = function() {
22267
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getChannelNumber = function() {
21377
22268
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
21378
22269
  };
21379
22270
 
21380
22271
 
21381
22272
  /**
21382
22273
  * @param {number} value
21383
- * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
22274
+ * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
21384
22275
  */
21385
- proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setChannelNumber = function(value) {
22276
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setChannelNumber = function(value) {
21386
22277
  return jspb.Message.setProto3IntField(this, 3, value);
21387
22278
  };
21388
22279
 
@@ -21391,20 +22282,264 @@ proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setChannelN
21391
22282
  * optional int32 value = 4;
21392
22283
  * @return {number}
21393
22284
  */
21394
- proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.getValue = function() {
22285
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getValue = function() {
21395
22286
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
21396
22287
  };
21397
22288
 
21398
22289
 
21399
22290
  /**
21400
22291
  * @param {number} value
21401
- * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest} returns this
22292
+ * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
21402
22293
  */
21403
- proto.zaber.motion.protobufs.DeviceSetDigitalOutputRequest.prototype.setValue = function(value) {
22294
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setValue = function(value) {
21404
22295
  return jspb.Message.setProto3IntField(this, 4, value);
21405
22296
  };
21406
22297
 
21407
22298
 
22299
+ /**
22300
+ * optional int32 future_value = 5;
22301
+ * @return {number}
22302
+ */
22303
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getFutureValue = function() {
22304
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
22305
+ };
22306
+
22307
+
22308
+ /**
22309
+ * @param {number} value
22310
+ * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
22311
+ */
22312
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setFutureValue = function(value) {
22313
+ return jspb.Message.setProto3IntField(this, 5, value);
22314
+ };
22315
+
22316
+
22317
+ /**
22318
+ * optional double delay = 6;
22319
+ * @return {number}
22320
+ */
22321
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getDelay = function() {
22322
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
22323
+ };
22324
+
22325
+
22326
+ /**
22327
+ * @param {number} value
22328
+ * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
22329
+ */
22330
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setDelay = function(value) {
22331
+ return jspb.Message.setProto3FloatField(this, 6, value);
22332
+ };
22333
+
22334
+
22335
+ /**
22336
+ * optional string unit = 7;
22337
+ * @return {string}
22338
+ */
22339
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.getUnit = function() {
22340
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
22341
+ };
22342
+
22343
+
22344
+ /**
22345
+ * @param {string} value
22346
+ * @return {!proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest} returns this
22347
+ */
22348
+ proto.zaber.motion.protobufs.DeviceSetDigitalOutputScheduleRequest.prototype.setUnit = function(value) {
22349
+ return jspb.Message.setProto3StringField(this, 7, value);
22350
+ };
22351
+
22352
+
22353
+
22354
+
22355
+
22356
+ if (jspb.Message.GENERATE_TO_OBJECT) {
22357
+ /**
22358
+ * Creates an object representation of this proto.
22359
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
22360
+ * Optional fields that are not set will be set to undefined.
22361
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
22362
+ * For the list of reserved names please see:
22363
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
22364
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
22365
+ * JSPB instance for transitional soy proto support:
22366
+ * http://goto/soy-param-migration
22367
+ * @return {!Object}
22368
+ */
22369
+ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.toObject = function(opt_includeInstance) {
22370
+ return proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.toObject(opt_includeInstance, this);
22371
+ };
22372
+
22373
+
22374
+ /**
22375
+ * Static version of the {@see toObject} method.
22376
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
22377
+ * the JSPB instance for transitional soy proto support:
22378
+ * http://goto/soy-param-migration
22379
+ * @param {!proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest} msg The msg instance to transform.
22380
+ * @return {!Object}
22381
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22382
+ */
22383
+ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.toObject = function(includeInstance, msg) {
22384
+ var f, obj = {
22385
+ interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
22386
+ device: jspb.Message.getFieldWithDefault(msg, 2, 0),
22387
+ channelNumber: jspb.Message.getFieldWithDefault(msg, 3, 0)
22388
+ };
22389
+
22390
+ if (includeInstance) {
22391
+ obj.$jspbMessageInstance = msg;
22392
+ }
22393
+ return obj;
22394
+ };
22395
+ }
22396
+
22397
+
22398
+ /**
22399
+ * Deserializes binary data (in protobuf wire format).
22400
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
22401
+ * @return {!proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest}
22402
+ */
22403
+ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.deserializeBinary = function(bytes) {
22404
+ var reader = new jspb.BinaryReader(bytes);
22405
+ var msg = new proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest;
22406
+ return proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.deserializeBinaryFromReader(msg, reader);
22407
+ };
22408
+
22409
+
22410
+ /**
22411
+ * Deserializes binary data (in protobuf wire format) from the
22412
+ * given reader into the given message object.
22413
+ * @param {!proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest} msg The message object to deserialize into.
22414
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
22415
+ * @return {!proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest}
22416
+ */
22417
+ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.deserializeBinaryFromReader = function(msg, reader) {
22418
+ while (reader.nextField()) {
22419
+ if (reader.isEndGroup()) {
22420
+ break;
22421
+ }
22422
+ var field = reader.getFieldNumber();
22423
+ switch (field) {
22424
+ case 1:
22425
+ var value = /** @type {number} */ (reader.readInt32());
22426
+ msg.setInterfaceId(value);
22427
+ break;
22428
+ case 2:
22429
+ var value = /** @type {number} */ (reader.readInt32());
22430
+ msg.setDevice(value);
22431
+ break;
22432
+ case 3:
22433
+ var value = /** @type {number} */ (reader.readInt32());
22434
+ msg.setChannelNumber(value);
22435
+ break;
22436
+ default:
22437
+ reader.skipField();
22438
+ break;
22439
+ }
22440
+ }
22441
+ return msg;
22442
+ };
22443
+
22444
+
22445
+ /**
22446
+ * Serializes the message to binary data (in protobuf wire format).
22447
+ * @return {!Uint8Array}
22448
+ */
22449
+ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.serializeBinary = function() {
22450
+ var writer = new jspb.BinaryWriter();
22451
+ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.serializeBinaryToWriter(this, writer);
22452
+ return writer.getResultBuffer();
22453
+ };
22454
+
22455
+
22456
+ /**
22457
+ * Serializes the given message to binary data (in protobuf wire
22458
+ * format), writing to the given BinaryWriter.
22459
+ * @param {!proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest} message
22460
+ * @param {!jspb.BinaryWriter} writer
22461
+ * @suppress {unusedLocalVariables} f is only used for nested messages
22462
+ */
22463
+ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.serializeBinaryToWriter = function(message, writer) {
22464
+ var f = undefined;
22465
+ f = message.getInterfaceId();
22466
+ if (f !== 0) {
22467
+ writer.writeInt32(
22468
+ 1,
22469
+ f
22470
+ );
22471
+ }
22472
+ f = message.getDevice();
22473
+ if (f !== 0) {
22474
+ writer.writeInt32(
22475
+ 2,
22476
+ f
22477
+ );
22478
+ }
22479
+ f = message.getChannelNumber();
22480
+ if (f !== 0) {
22481
+ writer.writeInt32(
22482
+ 3,
22483
+ f
22484
+ );
22485
+ }
22486
+ };
22487
+
22488
+
22489
+ /**
22490
+ * optional int32 interface_id = 1;
22491
+ * @return {number}
22492
+ */
22493
+ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.getInterfaceId = function() {
22494
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
22495
+ };
22496
+
22497
+
22498
+ /**
22499
+ * @param {number} value
22500
+ * @return {!proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest} returns this
22501
+ */
22502
+ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.setInterfaceId = function(value) {
22503
+ return jspb.Message.setProto3IntField(this, 1, value);
22504
+ };
22505
+
22506
+
22507
+ /**
22508
+ * optional int32 device = 2;
22509
+ * @return {number}
22510
+ */
22511
+ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.getDevice = function() {
22512
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
22513
+ };
22514
+
22515
+
22516
+ /**
22517
+ * @param {number} value
22518
+ * @return {!proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest} returns this
22519
+ */
22520
+ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.setDevice = function(value) {
22521
+ return jspb.Message.setProto3IntField(this, 2, value);
22522
+ };
22523
+
22524
+
22525
+ /**
22526
+ * optional int32 channel_number = 3;
22527
+ * @return {number}
22528
+ */
22529
+ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.getChannelNumber = function() {
22530
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
22531
+ };
22532
+
22533
+
22534
+ /**
22535
+ * @param {number} value
22536
+ * @return {!proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest} returns this
22537
+ */
22538
+ proto.zaber.motion.protobufs.DeviceCancelDigitalOutputScheduleRequest.prototype.setChannelNumber = function(value) {
22539
+ return jspb.Message.setProto3IntField(this, 3, value);
22540
+ };
22541
+
22542
+
21408
22543
 
21409
22544
 
21410
22545
 
@@ -56462,7 +57597,8 @@ proto.zaber.motion.protobufs.ProcessOn.toObject = function(includeInstance, msg)
56462
57597
  device: jspb.Message.getFieldWithDefault(msg, 2, 0),
56463
57598
  axis: jspb.Message.getFieldWithDefault(msg, 3, 0),
56464
57599
  on: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
56465
- duration: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
57600
+ duration: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
57601
+ unit: jspb.Message.getFieldWithDefault(msg, 6, "")
56466
57602
  };
56467
57603
 
56468
57604
  if (includeInstance) {
@@ -56519,6 +57655,10 @@ proto.zaber.motion.protobufs.ProcessOn.deserializeBinaryFromReader = function(ms
56519
57655
  var value = /** @type {number} */ (reader.readDouble());
56520
57656
  msg.setDuration(value);
56521
57657
  break;
57658
+ case 6:
57659
+ var value = /** @type {string} */ (reader.readString());
57660
+ msg.setUnit(value);
57661
+ break;
56522
57662
  default:
56523
57663
  reader.skipField();
56524
57664
  break;
@@ -56583,6 +57723,13 @@ proto.zaber.motion.protobufs.ProcessOn.serializeBinaryToWriter = function(messag
56583
57723
  f
56584
57724
  );
56585
57725
  }
57726
+ f = message.getUnit();
57727
+ if (f.length > 0) {
57728
+ writer.writeString(
57729
+ 6,
57730
+ f
57731
+ );
57732
+ }
56586
57733
  };
56587
57734
 
56588
57735
 
@@ -56676,6 +57823,24 @@ proto.zaber.motion.protobufs.ProcessOn.prototype.setDuration = function(value) {
56676
57823
  };
56677
57824
 
56678
57825
 
57826
+ /**
57827
+ * optional string unit = 6;
57828
+ * @return {string}
57829
+ */
57830
+ proto.zaber.motion.protobufs.ProcessOn.prototype.getUnit = function() {
57831
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
57832
+ };
57833
+
57834
+
57835
+ /**
57836
+ * @param {string} value
57837
+ * @return {!proto.zaber.motion.protobufs.ProcessOn} returns this
57838
+ */
57839
+ proto.zaber.motion.protobufs.ProcessOn.prototype.setUnit = function(value) {
57840
+ return jspb.Message.setProto3StringField(this, 6, value);
57841
+ };
57842
+
57843
+
56679
57844
 
56680
57845
 
56681
57846