@zaber/motion 3.1.1 → 3.2.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.
- package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
- package/dist/lib/exceptions/device_detection_failed_exception.d.ts +7 -0
- package/dist/lib/exceptions/device_detection_failed_exception.js +17 -0
- package/dist/lib/exceptions/device_detection_failed_exception.js.map +1 -0
- package/dist/lib/exceptions/index.d.ts +1 -0
- package/dist/lib/exceptions/index.js +4 -2
- package/dist/lib/exceptions/index.js.map +1 -1
- package/dist/lib/exceptions/movement_failed_exception_data.d.ts +8 -0
- package/dist/lib/exceptions/movement_failed_exception_data.js +2 -0
- package/dist/lib/exceptions/movement_failed_exception_data.js.map +1 -1
- package/dist/lib/exceptions/movement_interrupted_exception_data.d.ts +8 -0
- package/dist/lib/exceptions/movement_interrupted_exception_data.js +2 -0
- package/dist/lib/exceptions/movement_interrupted_exception_data.js.map +1 -1
- package/dist/lib/gateway/convert_exceptions.js +1 -0
- package/dist/lib/gateway/convert_exceptions.js.map +1 -1
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +1 -0
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/microscopy/index.d.ts +1 -0
- package/dist/lib/microscopy/index.js +6 -0
- package/dist/lib/microscopy/index.js.map +1 -0
- package/dist/lib/microscopy/objective_changer.d.ts +63 -0
- package/dist/lib/microscopy/objective_changer.js +116 -0
- package/dist/lib/microscopy/objective_changer.js.map +1 -0
- package/dist/lib/microscopy_ns.d.ts +5 -0
- package/dist/lib/microscopy_ns.js +32 -0
- package/dist/lib/microscopy_ns.js.map +1 -0
- package/dist/lib/protobufs/main_pb.d.ts +107 -0
- package/dist/lib/protobufs/main_pb.js +988 -180
- package/dist/lib/protobufs/main_pb.js.map +1 -1
- package/package.json +6 -1
|
@@ -120,6 +120,9 @@ goog.exportSymbol('zaber.motion.protobufs.Measurement', null, proto);
|
|
|
120
120
|
goog.exportSymbol('zaber.motion.protobufs.MessageType', null, proto);
|
|
121
121
|
goog.exportSymbol('zaber.motion.protobufs.MovementFailedExceptionData', null, proto);
|
|
122
122
|
goog.exportSymbol('zaber.motion.protobufs.MovementInterruptedExceptionData', null, proto);
|
|
123
|
+
goog.exportSymbol('zaber.motion.protobufs.ObjectiveChangerChangeRequest', null, proto);
|
|
124
|
+
goog.exportSymbol('zaber.motion.protobufs.ObjectiveChangerCreateResponse', null, proto);
|
|
125
|
+
goog.exportSymbol('zaber.motion.protobufs.ObjectiveChangerRequest', null, proto);
|
|
123
126
|
goog.exportSymbol('zaber.motion.protobufs.OpenBinaryInterfaceRequest', null, proto);
|
|
124
127
|
goog.exportSymbol('zaber.motion.protobufs.OpenInterfaceRequest', null, proto);
|
|
125
128
|
goog.exportSymbol('zaber.motion.protobufs.OpenInterfaceResponse', null, proto);
|
|
@@ -4251,6 +4254,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4251
4254
|
*/
|
|
4252
4255
|
proto.zaber.motion.protobufs.ConversionFactor.displayName = 'proto.zaber.motion.protobufs.ConversionFactor';
|
|
4253
4256
|
}
|
|
4257
|
+
/**
|
|
4258
|
+
* Generated by JsPbCodeGenerator.
|
|
4259
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4260
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4261
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4262
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4263
|
+
* valid.
|
|
4264
|
+
* @extends {jspb.Message}
|
|
4265
|
+
* @constructor
|
|
4266
|
+
*/
|
|
4267
|
+
proto.zaber.motion.protobufs.ObjectiveChangerRequest = function(opt_data) {
|
|
4268
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4269
|
+
};
|
|
4270
|
+
goog.inherits(proto.zaber.motion.protobufs.ObjectiveChangerRequest, jspb.Message);
|
|
4271
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4272
|
+
/**
|
|
4273
|
+
* @public
|
|
4274
|
+
* @override
|
|
4275
|
+
*/
|
|
4276
|
+
proto.zaber.motion.protobufs.ObjectiveChangerRequest.displayName = 'proto.zaber.motion.protobufs.ObjectiveChangerRequest';
|
|
4277
|
+
}
|
|
4278
|
+
/**
|
|
4279
|
+
* Generated by JsPbCodeGenerator.
|
|
4280
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4281
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4282
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4283
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4284
|
+
* valid.
|
|
4285
|
+
* @extends {jspb.Message}
|
|
4286
|
+
* @constructor
|
|
4287
|
+
*/
|
|
4288
|
+
proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse = function(opt_data) {
|
|
4289
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4290
|
+
};
|
|
4291
|
+
goog.inherits(proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse, jspb.Message);
|
|
4292
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4293
|
+
/**
|
|
4294
|
+
* @public
|
|
4295
|
+
* @override
|
|
4296
|
+
*/
|
|
4297
|
+
proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse.displayName = 'proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse';
|
|
4298
|
+
}
|
|
4299
|
+
/**
|
|
4300
|
+
* Generated by JsPbCodeGenerator.
|
|
4301
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4302
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4303
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4304
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4305
|
+
* valid.
|
|
4306
|
+
* @extends {jspb.Message}
|
|
4307
|
+
* @constructor
|
|
4308
|
+
*/
|
|
4309
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest = function(opt_data) {
|
|
4310
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4311
|
+
};
|
|
4312
|
+
goog.inherits(proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest, jspb.Message);
|
|
4313
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4314
|
+
/**
|
|
4315
|
+
* @public
|
|
4316
|
+
* @override
|
|
4317
|
+
*/
|
|
4318
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.displayName = 'proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest';
|
|
4319
|
+
}
|
|
4254
4320
|
|
|
4255
4321
|
|
|
4256
4322
|
|
|
@@ -7164,7 +7230,9 @@ proto.zaber.motion.protobufs.MovementInterruptedExceptionData.prototype.toObject
|
|
|
7164
7230
|
proto.zaber.motion.protobufs.MovementInterruptedExceptionData.toObject = function(includeInstance, msg) {
|
|
7165
7231
|
var f, obj = {
|
|
7166
7232
|
warningsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
7167
|
-
reason: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
7233
|
+
reason: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7234
|
+
device: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
7235
|
+
axis: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
7168
7236
|
};
|
|
7169
7237
|
|
|
7170
7238
|
if (includeInstance) {
|
|
@@ -7209,6 +7277,14 @@ proto.zaber.motion.protobufs.MovementInterruptedExceptionData.deserializeBinaryF
|
|
|
7209
7277
|
var value = /** @type {string} */ (reader.readString());
|
|
7210
7278
|
msg.setReason(value);
|
|
7211
7279
|
break;
|
|
7280
|
+
case 3:
|
|
7281
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
7282
|
+
msg.setDevice(value);
|
|
7283
|
+
break;
|
|
7284
|
+
case 4:
|
|
7285
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
7286
|
+
msg.setAxis(value);
|
|
7287
|
+
break;
|
|
7212
7288
|
default:
|
|
7213
7289
|
reader.skipField();
|
|
7214
7290
|
break;
|
|
@@ -7252,6 +7328,20 @@ proto.zaber.motion.protobufs.MovementInterruptedExceptionData.serializeBinaryToW
|
|
|
7252
7328
|
f
|
|
7253
7329
|
);
|
|
7254
7330
|
}
|
|
7331
|
+
f = message.getDevice();
|
|
7332
|
+
if (f !== 0) {
|
|
7333
|
+
writer.writeInt32(
|
|
7334
|
+
3,
|
|
7335
|
+
f
|
|
7336
|
+
);
|
|
7337
|
+
}
|
|
7338
|
+
f = message.getAxis();
|
|
7339
|
+
if (f !== 0) {
|
|
7340
|
+
writer.writeInt32(
|
|
7341
|
+
4,
|
|
7342
|
+
f
|
|
7343
|
+
);
|
|
7344
|
+
}
|
|
7255
7345
|
};
|
|
7256
7346
|
|
|
7257
7347
|
|
|
@@ -7310,189 +7400,39 @@ proto.zaber.motion.protobufs.MovementInterruptedExceptionData.prototype.setReaso
|
|
|
7310
7400
|
};
|
|
7311
7401
|
|
|
7312
7402
|
|
|
7313
|
-
|
|
7314
|
-
/**
|
|
7315
|
-
* List of repeated fields within this message type.
|
|
7316
|
-
* @private {!Array<number>}
|
|
7317
|
-
* @const
|
|
7318
|
-
*/
|
|
7319
|
-
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.repeatedFields_ = [1];
|
|
7320
|
-
|
|
7321
|
-
|
|
7322
|
-
|
|
7323
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7324
|
-
/**
|
|
7325
|
-
* Creates an object representation of this proto.
|
|
7326
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7327
|
-
* Optional fields that are not set will be set to undefined.
|
|
7328
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7329
|
-
* For the list of reserved names please see:
|
|
7330
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7331
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7332
|
-
* JSPB instance for transitional soy proto support:
|
|
7333
|
-
* http://goto/soy-param-migration
|
|
7334
|
-
* @return {!Object}
|
|
7335
|
-
*/
|
|
7336
|
-
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.prototype.toObject = function(opt_includeInstance) {
|
|
7337
|
-
return proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.toObject(opt_includeInstance, this);
|
|
7338
|
-
};
|
|
7339
|
-
|
|
7340
|
-
|
|
7341
7403
|
/**
|
|
7342
|
-
*
|
|
7343
|
-
* @
|
|
7344
|
-
* the JSPB instance for transitional soy proto support:
|
|
7345
|
-
* http://goto/soy-param-migration
|
|
7346
|
-
* @param {!proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData} msg The msg instance to transform.
|
|
7347
|
-
* @return {!Object}
|
|
7348
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7349
|
-
*/
|
|
7350
|
-
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.toObject = function(includeInstance, msg) {
|
|
7351
|
-
var f, obj = {
|
|
7352
|
-
warningsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
7353
|
-
reason: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
7354
|
-
};
|
|
7355
|
-
|
|
7356
|
-
if (includeInstance) {
|
|
7357
|
-
obj.$jspbMessageInstance = msg;
|
|
7358
|
-
}
|
|
7359
|
-
return obj;
|
|
7360
|
-
};
|
|
7361
|
-
}
|
|
7362
|
-
|
|
7363
|
-
|
|
7364
|
-
/**
|
|
7365
|
-
* Deserializes binary data (in protobuf wire format).
|
|
7366
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7367
|
-
* @return {!proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData}
|
|
7368
|
-
*/
|
|
7369
|
-
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.deserializeBinary = function(bytes) {
|
|
7370
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
7371
|
-
var msg = new proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData;
|
|
7372
|
-
return proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.deserializeBinaryFromReader(msg, reader);
|
|
7373
|
-
};
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
|
-
/**
|
|
7377
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
7378
|
-
* given reader into the given message object.
|
|
7379
|
-
* @param {!proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData} msg The message object to deserialize into.
|
|
7380
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7381
|
-
* @return {!proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData}
|
|
7382
|
-
*/
|
|
7383
|
-
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.deserializeBinaryFromReader = function(msg, reader) {
|
|
7384
|
-
while (reader.nextField()) {
|
|
7385
|
-
if (reader.isEndGroup()) {
|
|
7386
|
-
break;
|
|
7387
|
-
}
|
|
7388
|
-
var field = reader.getFieldNumber();
|
|
7389
|
-
switch (field) {
|
|
7390
|
-
case 1:
|
|
7391
|
-
var value = /** @type {string} */ (reader.readString());
|
|
7392
|
-
msg.addWarnings(value);
|
|
7393
|
-
break;
|
|
7394
|
-
case 2:
|
|
7395
|
-
var value = /** @type {string} */ (reader.readString());
|
|
7396
|
-
msg.setReason(value);
|
|
7397
|
-
break;
|
|
7398
|
-
default:
|
|
7399
|
-
reader.skipField();
|
|
7400
|
-
break;
|
|
7401
|
-
}
|
|
7402
|
-
}
|
|
7403
|
-
return msg;
|
|
7404
|
-
};
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
/**
|
|
7408
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
7409
|
-
* @return {!Uint8Array}
|
|
7410
|
-
*/
|
|
7411
|
-
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.prototype.serializeBinary = function() {
|
|
7412
|
-
var writer = new jspb.BinaryWriter();
|
|
7413
|
-
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.serializeBinaryToWriter(this, writer);
|
|
7414
|
-
return writer.getResultBuffer();
|
|
7415
|
-
};
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
/**
|
|
7419
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
7420
|
-
* format), writing to the given BinaryWriter.
|
|
7421
|
-
* @param {!proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData} message
|
|
7422
|
-
* @param {!jspb.BinaryWriter} writer
|
|
7423
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7424
|
-
*/
|
|
7425
|
-
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.serializeBinaryToWriter = function(message, writer) {
|
|
7426
|
-
var f = undefined;
|
|
7427
|
-
f = message.getWarningsList();
|
|
7428
|
-
if (f.length > 0) {
|
|
7429
|
-
writer.writeRepeatedString(
|
|
7430
|
-
1,
|
|
7431
|
-
f
|
|
7432
|
-
);
|
|
7433
|
-
}
|
|
7434
|
-
f = message.getReason();
|
|
7435
|
-
if (f.length > 0) {
|
|
7436
|
-
writer.writeString(
|
|
7437
|
-
2,
|
|
7438
|
-
f
|
|
7439
|
-
);
|
|
7440
|
-
}
|
|
7441
|
-
};
|
|
7442
|
-
|
|
7443
|
-
|
|
7444
|
-
/**
|
|
7445
|
-
* repeated string warnings = 1;
|
|
7446
|
-
* @return {!Array<string>}
|
|
7447
|
-
*/
|
|
7448
|
-
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.prototype.getWarningsList = function() {
|
|
7449
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
7450
|
-
};
|
|
7451
|
-
|
|
7452
|
-
|
|
7453
|
-
/**
|
|
7454
|
-
* @param {!Array<string>} value
|
|
7455
|
-
* @return {!proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData} returns this
|
|
7456
|
-
*/
|
|
7457
|
-
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.prototype.setWarningsList = function(value) {
|
|
7458
|
-
return jspb.Message.setField(this, 1, value || []);
|
|
7459
|
-
};
|
|
7460
|
-
|
|
7461
|
-
|
|
7462
|
-
/**
|
|
7463
|
-
* @param {string} value
|
|
7464
|
-
* @param {number=} opt_index
|
|
7465
|
-
* @return {!proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData} returns this
|
|
7404
|
+
* optional int32 device = 3;
|
|
7405
|
+
* @return {number}
|
|
7466
7406
|
*/
|
|
7467
|
-
proto.zaber.motion.protobufs.
|
|
7468
|
-
return jspb.Message.
|
|
7407
|
+
proto.zaber.motion.protobufs.MovementInterruptedExceptionData.prototype.getDevice = function() {
|
|
7408
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
7469
7409
|
};
|
|
7470
7410
|
|
|
7471
7411
|
|
|
7472
7412
|
/**
|
|
7473
|
-
*
|
|
7474
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
7413
|
+
* @param {number} value
|
|
7414
|
+
* @return {!proto.zaber.motion.protobufs.MovementInterruptedExceptionData} returns this
|
|
7475
7415
|
*/
|
|
7476
|
-
proto.zaber.motion.protobufs.
|
|
7477
|
-
return
|
|
7416
|
+
proto.zaber.motion.protobufs.MovementInterruptedExceptionData.prototype.setDevice = function(value) {
|
|
7417
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
7478
7418
|
};
|
|
7479
7419
|
|
|
7480
7420
|
|
|
7481
7421
|
/**
|
|
7482
|
-
* optional
|
|
7483
|
-
* @return {
|
|
7422
|
+
* optional int32 axis = 4;
|
|
7423
|
+
* @return {number}
|
|
7484
7424
|
*/
|
|
7485
|
-
proto.zaber.motion.protobufs.
|
|
7486
|
-
return /** @type {
|
|
7425
|
+
proto.zaber.motion.protobufs.MovementInterruptedExceptionData.prototype.getAxis = function() {
|
|
7426
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
7487
7427
|
};
|
|
7488
7428
|
|
|
7489
7429
|
|
|
7490
7430
|
/**
|
|
7491
|
-
* @param {
|
|
7492
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
7431
|
+
* @param {number} value
|
|
7432
|
+
* @return {!proto.zaber.motion.protobufs.MovementInterruptedExceptionData} returns this
|
|
7493
7433
|
*/
|
|
7494
|
-
proto.zaber.motion.protobufs.
|
|
7495
|
-
return jspb.Message.
|
|
7434
|
+
proto.zaber.motion.protobufs.MovementInterruptedExceptionData.prototype.setAxis = function(value) {
|
|
7435
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
7496
7436
|
};
|
|
7497
7437
|
|
|
7498
7438
|
|
|
@@ -7502,7 +7442,7 @@ proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.prototype.se
|
|
|
7502
7442
|
* @private {!Array<number>}
|
|
7503
7443
|
* @const
|
|
7504
7444
|
*/
|
|
7505
|
-
proto.zaber.motion.protobufs.
|
|
7445
|
+
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.repeatedFields_ = [1];
|
|
7506
7446
|
|
|
7507
7447
|
|
|
7508
7448
|
|
|
@@ -7519,8 +7459,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
7519
7459
|
* http://goto/soy-param-migration
|
|
7520
7460
|
* @return {!Object}
|
|
7521
7461
|
*/
|
|
7522
|
-
proto.zaber.motion.protobufs.
|
|
7523
|
-
return proto.zaber.motion.protobufs.
|
|
7462
|
+
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.prototype.toObject = function(opt_includeInstance) {
|
|
7463
|
+
return proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.toObject(opt_includeInstance, this);
|
|
7524
7464
|
};
|
|
7525
7465
|
|
|
7526
7466
|
|
|
@@ -7529,11 +7469,11 @@ proto.zaber.motion.protobufs.MovementFailedExceptionData.prototype.toObject = fu
|
|
|
7529
7469
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7530
7470
|
* the JSPB instance for transitional soy proto support:
|
|
7531
7471
|
* http://goto/soy-param-migration
|
|
7532
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
7472
|
+
* @param {!proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData} msg The msg instance to transform.
|
|
7533
7473
|
* @return {!Object}
|
|
7534
7474
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7535
7475
|
*/
|
|
7536
|
-
proto.zaber.motion.protobufs.
|
|
7476
|
+
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.toObject = function(includeInstance, msg) {
|
|
7537
7477
|
var f, obj = {
|
|
7538
7478
|
warningsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
7539
7479
|
reason: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
@@ -7550,23 +7490,23 @@ proto.zaber.motion.protobufs.MovementFailedExceptionData.toObject = function(inc
|
|
|
7550
7490
|
/**
|
|
7551
7491
|
* Deserializes binary data (in protobuf wire format).
|
|
7552
7492
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7553
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
7493
|
+
* @return {!proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData}
|
|
7554
7494
|
*/
|
|
7555
|
-
proto.zaber.motion.protobufs.
|
|
7495
|
+
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.deserializeBinary = function(bytes) {
|
|
7556
7496
|
var reader = new jspb.BinaryReader(bytes);
|
|
7557
|
-
var msg = new proto.zaber.motion.protobufs.
|
|
7558
|
-
return proto.zaber.motion.protobufs.
|
|
7497
|
+
var msg = new proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData;
|
|
7498
|
+
return proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.deserializeBinaryFromReader(msg, reader);
|
|
7559
7499
|
};
|
|
7560
7500
|
|
|
7561
7501
|
|
|
7562
7502
|
/**
|
|
7563
7503
|
* Deserializes binary data (in protobuf wire format) from the
|
|
7564
7504
|
* given reader into the given message object.
|
|
7565
|
-
* @param {!proto.zaber.motion.protobufs.
|
|
7505
|
+
* @param {!proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData} msg The message object to deserialize into.
|
|
7566
7506
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7567
|
-
* @return {!proto.zaber.motion.protobufs.
|
|
7507
|
+
* @return {!proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData}
|
|
7568
7508
|
*/
|
|
7569
|
-
proto.zaber.motion.protobufs.
|
|
7509
|
+
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.deserializeBinaryFromReader = function(msg, reader) {
|
|
7570
7510
|
while (reader.nextField()) {
|
|
7571
7511
|
if (reader.isEndGroup()) {
|
|
7572
7512
|
break;
|
|
@@ -7590,6 +7530,202 @@ proto.zaber.motion.protobufs.MovementFailedExceptionData.deserializeBinaryFromRe
|
|
|
7590
7530
|
};
|
|
7591
7531
|
|
|
7592
7532
|
|
|
7533
|
+
/**
|
|
7534
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7535
|
+
* @return {!Uint8Array}
|
|
7536
|
+
*/
|
|
7537
|
+
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.prototype.serializeBinary = function() {
|
|
7538
|
+
var writer = new jspb.BinaryWriter();
|
|
7539
|
+
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.serializeBinaryToWriter(this, writer);
|
|
7540
|
+
return writer.getResultBuffer();
|
|
7541
|
+
};
|
|
7542
|
+
|
|
7543
|
+
|
|
7544
|
+
/**
|
|
7545
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7546
|
+
* format), writing to the given BinaryWriter.
|
|
7547
|
+
* @param {!proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData} message
|
|
7548
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7549
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7550
|
+
*/
|
|
7551
|
+
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.serializeBinaryToWriter = function(message, writer) {
|
|
7552
|
+
var f = undefined;
|
|
7553
|
+
f = message.getWarningsList();
|
|
7554
|
+
if (f.length > 0) {
|
|
7555
|
+
writer.writeRepeatedString(
|
|
7556
|
+
1,
|
|
7557
|
+
f
|
|
7558
|
+
);
|
|
7559
|
+
}
|
|
7560
|
+
f = message.getReason();
|
|
7561
|
+
if (f.length > 0) {
|
|
7562
|
+
writer.writeString(
|
|
7563
|
+
2,
|
|
7564
|
+
f
|
|
7565
|
+
);
|
|
7566
|
+
}
|
|
7567
|
+
};
|
|
7568
|
+
|
|
7569
|
+
|
|
7570
|
+
/**
|
|
7571
|
+
* repeated string warnings = 1;
|
|
7572
|
+
* @return {!Array<string>}
|
|
7573
|
+
*/
|
|
7574
|
+
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.prototype.getWarningsList = function() {
|
|
7575
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
7576
|
+
};
|
|
7577
|
+
|
|
7578
|
+
|
|
7579
|
+
/**
|
|
7580
|
+
* @param {!Array<string>} value
|
|
7581
|
+
* @return {!proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData} returns this
|
|
7582
|
+
*/
|
|
7583
|
+
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.prototype.setWarningsList = function(value) {
|
|
7584
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
7585
|
+
};
|
|
7586
|
+
|
|
7587
|
+
|
|
7588
|
+
/**
|
|
7589
|
+
* @param {string} value
|
|
7590
|
+
* @param {number=} opt_index
|
|
7591
|
+
* @return {!proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData} returns this
|
|
7592
|
+
*/
|
|
7593
|
+
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.prototype.addWarnings = function(value, opt_index) {
|
|
7594
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
7595
|
+
};
|
|
7596
|
+
|
|
7597
|
+
|
|
7598
|
+
/**
|
|
7599
|
+
* Clears the list making it empty but non-null.
|
|
7600
|
+
* @return {!proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData} returns this
|
|
7601
|
+
*/
|
|
7602
|
+
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.prototype.clearWarningsList = function() {
|
|
7603
|
+
return this.setWarningsList([]);
|
|
7604
|
+
};
|
|
7605
|
+
|
|
7606
|
+
|
|
7607
|
+
/**
|
|
7608
|
+
* optional string reason = 2;
|
|
7609
|
+
* @return {string}
|
|
7610
|
+
*/
|
|
7611
|
+
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.prototype.getReason = function() {
|
|
7612
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
7613
|
+
};
|
|
7614
|
+
|
|
7615
|
+
|
|
7616
|
+
/**
|
|
7617
|
+
* @param {string} value
|
|
7618
|
+
* @return {!proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData} returns this
|
|
7619
|
+
*/
|
|
7620
|
+
proto.zaber.motion.protobufs.StreamMovementInterruptedExceptionData.prototype.setReason = function(value) {
|
|
7621
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
7622
|
+
};
|
|
7623
|
+
|
|
7624
|
+
|
|
7625
|
+
|
|
7626
|
+
/**
|
|
7627
|
+
* List of repeated fields within this message type.
|
|
7628
|
+
* @private {!Array<number>}
|
|
7629
|
+
* @const
|
|
7630
|
+
*/
|
|
7631
|
+
proto.zaber.motion.protobufs.MovementFailedExceptionData.repeatedFields_ = [1];
|
|
7632
|
+
|
|
7633
|
+
|
|
7634
|
+
|
|
7635
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7636
|
+
/**
|
|
7637
|
+
* Creates an object representation of this proto.
|
|
7638
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7639
|
+
* Optional fields that are not set will be set to undefined.
|
|
7640
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7641
|
+
* For the list of reserved names please see:
|
|
7642
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7643
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7644
|
+
* JSPB instance for transitional soy proto support:
|
|
7645
|
+
* http://goto/soy-param-migration
|
|
7646
|
+
* @return {!Object}
|
|
7647
|
+
*/
|
|
7648
|
+
proto.zaber.motion.protobufs.MovementFailedExceptionData.prototype.toObject = function(opt_includeInstance) {
|
|
7649
|
+
return proto.zaber.motion.protobufs.MovementFailedExceptionData.toObject(opt_includeInstance, this);
|
|
7650
|
+
};
|
|
7651
|
+
|
|
7652
|
+
|
|
7653
|
+
/**
|
|
7654
|
+
* Static version of the {@see toObject} method.
|
|
7655
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7656
|
+
* the JSPB instance for transitional soy proto support:
|
|
7657
|
+
* http://goto/soy-param-migration
|
|
7658
|
+
* @param {!proto.zaber.motion.protobufs.MovementFailedExceptionData} msg The msg instance to transform.
|
|
7659
|
+
* @return {!Object}
|
|
7660
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7661
|
+
*/
|
|
7662
|
+
proto.zaber.motion.protobufs.MovementFailedExceptionData.toObject = function(includeInstance, msg) {
|
|
7663
|
+
var f, obj = {
|
|
7664
|
+
warningsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
7665
|
+
reason: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7666
|
+
device: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
7667
|
+
axis: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
7668
|
+
};
|
|
7669
|
+
|
|
7670
|
+
if (includeInstance) {
|
|
7671
|
+
obj.$jspbMessageInstance = msg;
|
|
7672
|
+
}
|
|
7673
|
+
return obj;
|
|
7674
|
+
};
|
|
7675
|
+
}
|
|
7676
|
+
|
|
7677
|
+
|
|
7678
|
+
/**
|
|
7679
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7680
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7681
|
+
* @return {!proto.zaber.motion.protobufs.MovementFailedExceptionData}
|
|
7682
|
+
*/
|
|
7683
|
+
proto.zaber.motion.protobufs.MovementFailedExceptionData.deserializeBinary = function(bytes) {
|
|
7684
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7685
|
+
var msg = new proto.zaber.motion.protobufs.MovementFailedExceptionData;
|
|
7686
|
+
return proto.zaber.motion.protobufs.MovementFailedExceptionData.deserializeBinaryFromReader(msg, reader);
|
|
7687
|
+
};
|
|
7688
|
+
|
|
7689
|
+
|
|
7690
|
+
/**
|
|
7691
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7692
|
+
* given reader into the given message object.
|
|
7693
|
+
* @param {!proto.zaber.motion.protobufs.MovementFailedExceptionData} msg The message object to deserialize into.
|
|
7694
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7695
|
+
* @return {!proto.zaber.motion.protobufs.MovementFailedExceptionData}
|
|
7696
|
+
*/
|
|
7697
|
+
proto.zaber.motion.protobufs.MovementFailedExceptionData.deserializeBinaryFromReader = function(msg, reader) {
|
|
7698
|
+
while (reader.nextField()) {
|
|
7699
|
+
if (reader.isEndGroup()) {
|
|
7700
|
+
break;
|
|
7701
|
+
}
|
|
7702
|
+
var field = reader.getFieldNumber();
|
|
7703
|
+
switch (field) {
|
|
7704
|
+
case 1:
|
|
7705
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7706
|
+
msg.addWarnings(value);
|
|
7707
|
+
break;
|
|
7708
|
+
case 2:
|
|
7709
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7710
|
+
msg.setReason(value);
|
|
7711
|
+
break;
|
|
7712
|
+
case 3:
|
|
7713
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
7714
|
+
msg.setDevice(value);
|
|
7715
|
+
break;
|
|
7716
|
+
case 4:
|
|
7717
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
7718
|
+
msg.setAxis(value);
|
|
7719
|
+
break;
|
|
7720
|
+
default:
|
|
7721
|
+
reader.skipField();
|
|
7722
|
+
break;
|
|
7723
|
+
}
|
|
7724
|
+
}
|
|
7725
|
+
return msg;
|
|
7726
|
+
};
|
|
7727
|
+
|
|
7728
|
+
|
|
7593
7729
|
/**
|
|
7594
7730
|
* Serializes the message to binary data (in protobuf wire format).
|
|
7595
7731
|
* @return {!Uint8Array}
|
|
@@ -7624,6 +7760,20 @@ proto.zaber.motion.protobufs.MovementFailedExceptionData.serializeBinaryToWriter
|
|
|
7624
7760
|
f
|
|
7625
7761
|
);
|
|
7626
7762
|
}
|
|
7763
|
+
f = message.getDevice();
|
|
7764
|
+
if (f !== 0) {
|
|
7765
|
+
writer.writeInt32(
|
|
7766
|
+
3,
|
|
7767
|
+
f
|
|
7768
|
+
);
|
|
7769
|
+
}
|
|
7770
|
+
f = message.getAxis();
|
|
7771
|
+
if (f !== 0) {
|
|
7772
|
+
writer.writeInt32(
|
|
7773
|
+
4,
|
|
7774
|
+
f
|
|
7775
|
+
);
|
|
7776
|
+
}
|
|
7627
7777
|
};
|
|
7628
7778
|
|
|
7629
7779
|
|
|
@@ -7682,6 +7832,42 @@ proto.zaber.motion.protobufs.MovementFailedExceptionData.prototype.setReason = f
|
|
|
7682
7832
|
};
|
|
7683
7833
|
|
|
7684
7834
|
|
|
7835
|
+
/**
|
|
7836
|
+
* optional int32 device = 3;
|
|
7837
|
+
* @return {number}
|
|
7838
|
+
*/
|
|
7839
|
+
proto.zaber.motion.protobufs.MovementFailedExceptionData.prototype.getDevice = function() {
|
|
7840
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
7841
|
+
};
|
|
7842
|
+
|
|
7843
|
+
|
|
7844
|
+
/**
|
|
7845
|
+
* @param {number} value
|
|
7846
|
+
* @return {!proto.zaber.motion.protobufs.MovementFailedExceptionData} returns this
|
|
7847
|
+
*/
|
|
7848
|
+
proto.zaber.motion.protobufs.MovementFailedExceptionData.prototype.setDevice = function(value) {
|
|
7849
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
7850
|
+
};
|
|
7851
|
+
|
|
7852
|
+
|
|
7853
|
+
/**
|
|
7854
|
+
* optional int32 axis = 4;
|
|
7855
|
+
* @return {number}
|
|
7856
|
+
*/
|
|
7857
|
+
proto.zaber.motion.protobufs.MovementFailedExceptionData.prototype.getAxis = function() {
|
|
7858
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
7859
|
+
};
|
|
7860
|
+
|
|
7861
|
+
|
|
7862
|
+
/**
|
|
7863
|
+
* @param {number} value
|
|
7864
|
+
* @return {!proto.zaber.motion.protobufs.MovementFailedExceptionData} returns this
|
|
7865
|
+
*/
|
|
7866
|
+
proto.zaber.motion.protobufs.MovementFailedExceptionData.prototype.setAxis = function(value) {
|
|
7867
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
7868
|
+
};
|
|
7869
|
+
|
|
7870
|
+
|
|
7685
7871
|
|
|
7686
7872
|
/**
|
|
7687
7873
|
* List of repeated fields within this message type.
|
|
@@ -45143,6 +45329,627 @@ proto.zaber.motion.protobufs.ConversionFactor.prototype.setUnit = function(value
|
|
|
45143
45329
|
};
|
|
45144
45330
|
|
|
45145
45331
|
|
|
45332
|
+
|
|
45333
|
+
|
|
45334
|
+
|
|
45335
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
45336
|
+
/**
|
|
45337
|
+
* Creates an object representation of this proto.
|
|
45338
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
45339
|
+
* Optional fields that are not set will be set to undefined.
|
|
45340
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
45341
|
+
* For the list of reserved names please see:
|
|
45342
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
45343
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
45344
|
+
* JSPB instance for transitional soy proto support:
|
|
45345
|
+
* http://goto/soy-param-migration
|
|
45346
|
+
* @return {!Object}
|
|
45347
|
+
*/
|
|
45348
|
+
proto.zaber.motion.protobufs.ObjectiveChangerRequest.prototype.toObject = function(opt_includeInstance) {
|
|
45349
|
+
return proto.zaber.motion.protobufs.ObjectiveChangerRequest.toObject(opt_includeInstance, this);
|
|
45350
|
+
};
|
|
45351
|
+
|
|
45352
|
+
|
|
45353
|
+
/**
|
|
45354
|
+
* Static version of the {@see toObject} method.
|
|
45355
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
45356
|
+
* the JSPB instance for transitional soy proto support:
|
|
45357
|
+
* http://goto/soy-param-migration
|
|
45358
|
+
* @param {!proto.zaber.motion.protobufs.ObjectiveChangerRequest} msg The msg instance to transform.
|
|
45359
|
+
* @return {!Object}
|
|
45360
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45361
|
+
*/
|
|
45362
|
+
proto.zaber.motion.protobufs.ObjectiveChangerRequest.toObject = function(includeInstance, msg) {
|
|
45363
|
+
var f, obj = {
|
|
45364
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
45365
|
+
turretAddress: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
45366
|
+
focusAddress: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
45367
|
+
};
|
|
45368
|
+
|
|
45369
|
+
if (includeInstance) {
|
|
45370
|
+
obj.$jspbMessageInstance = msg;
|
|
45371
|
+
}
|
|
45372
|
+
return obj;
|
|
45373
|
+
};
|
|
45374
|
+
}
|
|
45375
|
+
|
|
45376
|
+
|
|
45377
|
+
/**
|
|
45378
|
+
* Deserializes binary data (in protobuf wire format).
|
|
45379
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
45380
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerRequest}
|
|
45381
|
+
*/
|
|
45382
|
+
proto.zaber.motion.protobufs.ObjectiveChangerRequest.deserializeBinary = function(bytes) {
|
|
45383
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
45384
|
+
var msg = new proto.zaber.motion.protobufs.ObjectiveChangerRequest;
|
|
45385
|
+
return proto.zaber.motion.protobufs.ObjectiveChangerRequest.deserializeBinaryFromReader(msg, reader);
|
|
45386
|
+
};
|
|
45387
|
+
|
|
45388
|
+
|
|
45389
|
+
/**
|
|
45390
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
45391
|
+
* given reader into the given message object.
|
|
45392
|
+
* @param {!proto.zaber.motion.protobufs.ObjectiveChangerRequest} msg The message object to deserialize into.
|
|
45393
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
45394
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerRequest}
|
|
45395
|
+
*/
|
|
45396
|
+
proto.zaber.motion.protobufs.ObjectiveChangerRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
45397
|
+
while (reader.nextField()) {
|
|
45398
|
+
if (reader.isEndGroup()) {
|
|
45399
|
+
break;
|
|
45400
|
+
}
|
|
45401
|
+
var field = reader.getFieldNumber();
|
|
45402
|
+
switch (field) {
|
|
45403
|
+
case 1:
|
|
45404
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
45405
|
+
msg.setInterfaceId(value);
|
|
45406
|
+
break;
|
|
45407
|
+
case 2:
|
|
45408
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
45409
|
+
msg.setTurretAddress(value);
|
|
45410
|
+
break;
|
|
45411
|
+
case 3:
|
|
45412
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
45413
|
+
msg.setFocusAddress(value);
|
|
45414
|
+
break;
|
|
45415
|
+
default:
|
|
45416
|
+
reader.skipField();
|
|
45417
|
+
break;
|
|
45418
|
+
}
|
|
45419
|
+
}
|
|
45420
|
+
return msg;
|
|
45421
|
+
};
|
|
45422
|
+
|
|
45423
|
+
|
|
45424
|
+
/**
|
|
45425
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
45426
|
+
* @return {!Uint8Array}
|
|
45427
|
+
*/
|
|
45428
|
+
proto.zaber.motion.protobufs.ObjectiveChangerRequest.prototype.serializeBinary = function() {
|
|
45429
|
+
var writer = new jspb.BinaryWriter();
|
|
45430
|
+
proto.zaber.motion.protobufs.ObjectiveChangerRequest.serializeBinaryToWriter(this, writer);
|
|
45431
|
+
return writer.getResultBuffer();
|
|
45432
|
+
};
|
|
45433
|
+
|
|
45434
|
+
|
|
45435
|
+
/**
|
|
45436
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
45437
|
+
* format), writing to the given BinaryWriter.
|
|
45438
|
+
* @param {!proto.zaber.motion.protobufs.ObjectiveChangerRequest} message
|
|
45439
|
+
* @param {!jspb.BinaryWriter} writer
|
|
45440
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45441
|
+
*/
|
|
45442
|
+
proto.zaber.motion.protobufs.ObjectiveChangerRequest.serializeBinaryToWriter = function(message, writer) {
|
|
45443
|
+
var f = undefined;
|
|
45444
|
+
f = message.getInterfaceId();
|
|
45445
|
+
if (f !== 0) {
|
|
45446
|
+
writer.writeInt32(
|
|
45447
|
+
1,
|
|
45448
|
+
f
|
|
45449
|
+
);
|
|
45450
|
+
}
|
|
45451
|
+
f = message.getTurretAddress();
|
|
45452
|
+
if (f !== 0) {
|
|
45453
|
+
writer.writeInt32(
|
|
45454
|
+
2,
|
|
45455
|
+
f
|
|
45456
|
+
);
|
|
45457
|
+
}
|
|
45458
|
+
f = message.getFocusAddress();
|
|
45459
|
+
if (f !== 0) {
|
|
45460
|
+
writer.writeInt32(
|
|
45461
|
+
3,
|
|
45462
|
+
f
|
|
45463
|
+
);
|
|
45464
|
+
}
|
|
45465
|
+
};
|
|
45466
|
+
|
|
45467
|
+
|
|
45468
|
+
/**
|
|
45469
|
+
* optional int32 interface_id = 1;
|
|
45470
|
+
* @return {number}
|
|
45471
|
+
*/
|
|
45472
|
+
proto.zaber.motion.protobufs.ObjectiveChangerRequest.prototype.getInterfaceId = function() {
|
|
45473
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
45474
|
+
};
|
|
45475
|
+
|
|
45476
|
+
|
|
45477
|
+
/**
|
|
45478
|
+
* @param {number} value
|
|
45479
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerRequest} returns this
|
|
45480
|
+
*/
|
|
45481
|
+
proto.zaber.motion.protobufs.ObjectiveChangerRequest.prototype.setInterfaceId = function(value) {
|
|
45482
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
45483
|
+
};
|
|
45484
|
+
|
|
45485
|
+
|
|
45486
|
+
/**
|
|
45487
|
+
* optional int32 turret_address = 2;
|
|
45488
|
+
* @return {number}
|
|
45489
|
+
*/
|
|
45490
|
+
proto.zaber.motion.protobufs.ObjectiveChangerRequest.prototype.getTurretAddress = function() {
|
|
45491
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
45492
|
+
};
|
|
45493
|
+
|
|
45494
|
+
|
|
45495
|
+
/**
|
|
45496
|
+
* @param {number} value
|
|
45497
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerRequest} returns this
|
|
45498
|
+
*/
|
|
45499
|
+
proto.zaber.motion.protobufs.ObjectiveChangerRequest.prototype.setTurretAddress = function(value) {
|
|
45500
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
45501
|
+
};
|
|
45502
|
+
|
|
45503
|
+
|
|
45504
|
+
/**
|
|
45505
|
+
* optional int32 focus_address = 3;
|
|
45506
|
+
* @return {number}
|
|
45507
|
+
*/
|
|
45508
|
+
proto.zaber.motion.protobufs.ObjectiveChangerRequest.prototype.getFocusAddress = function() {
|
|
45509
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
45510
|
+
};
|
|
45511
|
+
|
|
45512
|
+
|
|
45513
|
+
/**
|
|
45514
|
+
* @param {number} value
|
|
45515
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerRequest} returns this
|
|
45516
|
+
*/
|
|
45517
|
+
proto.zaber.motion.protobufs.ObjectiveChangerRequest.prototype.setFocusAddress = function(value) {
|
|
45518
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
45519
|
+
};
|
|
45520
|
+
|
|
45521
|
+
|
|
45522
|
+
|
|
45523
|
+
|
|
45524
|
+
|
|
45525
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
45526
|
+
/**
|
|
45527
|
+
* Creates an object representation of this proto.
|
|
45528
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
45529
|
+
* Optional fields that are not set will be set to undefined.
|
|
45530
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
45531
|
+
* For the list of reserved names please see:
|
|
45532
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
45533
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
45534
|
+
* JSPB instance for transitional soy proto support:
|
|
45535
|
+
* http://goto/soy-param-migration
|
|
45536
|
+
* @return {!Object}
|
|
45537
|
+
*/
|
|
45538
|
+
proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse.prototype.toObject = function(opt_includeInstance) {
|
|
45539
|
+
return proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse.toObject(opt_includeInstance, this);
|
|
45540
|
+
};
|
|
45541
|
+
|
|
45542
|
+
|
|
45543
|
+
/**
|
|
45544
|
+
* Static version of the {@see toObject} method.
|
|
45545
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
45546
|
+
* the JSPB instance for transitional soy proto support:
|
|
45547
|
+
* http://goto/soy-param-migration
|
|
45548
|
+
* @param {!proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse} msg The msg instance to transform.
|
|
45549
|
+
* @return {!Object}
|
|
45550
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45551
|
+
*/
|
|
45552
|
+
proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse.toObject = function(includeInstance, msg) {
|
|
45553
|
+
var f, obj = {
|
|
45554
|
+
turret: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
45555
|
+
focus: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
45556
|
+
};
|
|
45557
|
+
|
|
45558
|
+
if (includeInstance) {
|
|
45559
|
+
obj.$jspbMessageInstance = msg;
|
|
45560
|
+
}
|
|
45561
|
+
return obj;
|
|
45562
|
+
};
|
|
45563
|
+
}
|
|
45564
|
+
|
|
45565
|
+
|
|
45566
|
+
/**
|
|
45567
|
+
* Deserializes binary data (in protobuf wire format).
|
|
45568
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
45569
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse}
|
|
45570
|
+
*/
|
|
45571
|
+
proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse.deserializeBinary = function(bytes) {
|
|
45572
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
45573
|
+
var msg = new proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse;
|
|
45574
|
+
return proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse.deserializeBinaryFromReader(msg, reader);
|
|
45575
|
+
};
|
|
45576
|
+
|
|
45577
|
+
|
|
45578
|
+
/**
|
|
45579
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
45580
|
+
* given reader into the given message object.
|
|
45581
|
+
* @param {!proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse} msg The message object to deserialize into.
|
|
45582
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
45583
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse}
|
|
45584
|
+
*/
|
|
45585
|
+
proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
45586
|
+
while (reader.nextField()) {
|
|
45587
|
+
if (reader.isEndGroup()) {
|
|
45588
|
+
break;
|
|
45589
|
+
}
|
|
45590
|
+
var field = reader.getFieldNumber();
|
|
45591
|
+
switch (field) {
|
|
45592
|
+
case 2:
|
|
45593
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
45594
|
+
msg.setTurret(value);
|
|
45595
|
+
break;
|
|
45596
|
+
case 3:
|
|
45597
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
45598
|
+
msg.setFocus(value);
|
|
45599
|
+
break;
|
|
45600
|
+
default:
|
|
45601
|
+
reader.skipField();
|
|
45602
|
+
break;
|
|
45603
|
+
}
|
|
45604
|
+
}
|
|
45605
|
+
return msg;
|
|
45606
|
+
};
|
|
45607
|
+
|
|
45608
|
+
|
|
45609
|
+
/**
|
|
45610
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
45611
|
+
* @return {!Uint8Array}
|
|
45612
|
+
*/
|
|
45613
|
+
proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse.prototype.serializeBinary = function() {
|
|
45614
|
+
var writer = new jspb.BinaryWriter();
|
|
45615
|
+
proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse.serializeBinaryToWriter(this, writer);
|
|
45616
|
+
return writer.getResultBuffer();
|
|
45617
|
+
};
|
|
45618
|
+
|
|
45619
|
+
|
|
45620
|
+
/**
|
|
45621
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
45622
|
+
* format), writing to the given BinaryWriter.
|
|
45623
|
+
* @param {!proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse} message
|
|
45624
|
+
* @param {!jspb.BinaryWriter} writer
|
|
45625
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45626
|
+
*/
|
|
45627
|
+
proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse.serializeBinaryToWriter = function(message, writer) {
|
|
45628
|
+
var f = undefined;
|
|
45629
|
+
f = message.getTurret();
|
|
45630
|
+
if (f !== 0) {
|
|
45631
|
+
writer.writeInt32(
|
|
45632
|
+
2,
|
|
45633
|
+
f
|
|
45634
|
+
);
|
|
45635
|
+
}
|
|
45636
|
+
f = message.getFocus();
|
|
45637
|
+
if (f !== 0) {
|
|
45638
|
+
writer.writeInt32(
|
|
45639
|
+
3,
|
|
45640
|
+
f
|
|
45641
|
+
);
|
|
45642
|
+
}
|
|
45643
|
+
};
|
|
45644
|
+
|
|
45645
|
+
|
|
45646
|
+
/**
|
|
45647
|
+
* optional int32 turret = 2;
|
|
45648
|
+
* @return {number}
|
|
45649
|
+
*/
|
|
45650
|
+
proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse.prototype.getTurret = function() {
|
|
45651
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
45652
|
+
};
|
|
45653
|
+
|
|
45654
|
+
|
|
45655
|
+
/**
|
|
45656
|
+
* @param {number} value
|
|
45657
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse} returns this
|
|
45658
|
+
*/
|
|
45659
|
+
proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse.prototype.setTurret = function(value) {
|
|
45660
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
45661
|
+
};
|
|
45662
|
+
|
|
45663
|
+
|
|
45664
|
+
/**
|
|
45665
|
+
* optional int32 focus = 3;
|
|
45666
|
+
* @return {number}
|
|
45667
|
+
*/
|
|
45668
|
+
proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse.prototype.getFocus = function() {
|
|
45669
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
45670
|
+
};
|
|
45671
|
+
|
|
45672
|
+
|
|
45673
|
+
/**
|
|
45674
|
+
* @param {number} value
|
|
45675
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse} returns this
|
|
45676
|
+
*/
|
|
45677
|
+
proto.zaber.motion.protobufs.ObjectiveChangerCreateResponse.prototype.setFocus = function(value) {
|
|
45678
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
45679
|
+
};
|
|
45680
|
+
|
|
45681
|
+
|
|
45682
|
+
|
|
45683
|
+
|
|
45684
|
+
|
|
45685
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
45686
|
+
/**
|
|
45687
|
+
* Creates an object representation of this proto.
|
|
45688
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
45689
|
+
* Optional fields that are not set will be set to undefined.
|
|
45690
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
45691
|
+
* For the list of reserved names please see:
|
|
45692
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
45693
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
45694
|
+
* JSPB instance for transitional soy proto support:
|
|
45695
|
+
* http://goto/soy-param-migration
|
|
45696
|
+
* @return {!Object}
|
|
45697
|
+
*/
|
|
45698
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.prototype.toObject = function(opt_includeInstance) {
|
|
45699
|
+
return proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.toObject(opt_includeInstance, this);
|
|
45700
|
+
};
|
|
45701
|
+
|
|
45702
|
+
|
|
45703
|
+
/**
|
|
45704
|
+
* Static version of the {@see toObject} method.
|
|
45705
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
45706
|
+
* the JSPB instance for transitional soy proto support:
|
|
45707
|
+
* http://goto/soy-param-migration
|
|
45708
|
+
* @param {!proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest} msg The msg instance to transform.
|
|
45709
|
+
* @return {!Object}
|
|
45710
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45711
|
+
*/
|
|
45712
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.toObject = function(includeInstance, msg) {
|
|
45713
|
+
var f, obj = {
|
|
45714
|
+
interfaceId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
45715
|
+
turretAddress: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
45716
|
+
focusAddress: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
45717
|
+
objective: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
45718
|
+
focusOffset: (f = msg.getFocusOffset()) && proto.zaber.motion.protobufs.Measurement.toObject(includeInstance, f)
|
|
45719
|
+
};
|
|
45720
|
+
|
|
45721
|
+
if (includeInstance) {
|
|
45722
|
+
obj.$jspbMessageInstance = msg;
|
|
45723
|
+
}
|
|
45724
|
+
return obj;
|
|
45725
|
+
};
|
|
45726
|
+
}
|
|
45727
|
+
|
|
45728
|
+
|
|
45729
|
+
/**
|
|
45730
|
+
* Deserializes binary data (in protobuf wire format).
|
|
45731
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
45732
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest}
|
|
45733
|
+
*/
|
|
45734
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.deserializeBinary = function(bytes) {
|
|
45735
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
45736
|
+
var msg = new proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest;
|
|
45737
|
+
return proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.deserializeBinaryFromReader(msg, reader);
|
|
45738
|
+
};
|
|
45739
|
+
|
|
45740
|
+
|
|
45741
|
+
/**
|
|
45742
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
45743
|
+
* given reader into the given message object.
|
|
45744
|
+
* @param {!proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest} msg The message object to deserialize into.
|
|
45745
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
45746
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest}
|
|
45747
|
+
*/
|
|
45748
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
45749
|
+
while (reader.nextField()) {
|
|
45750
|
+
if (reader.isEndGroup()) {
|
|
45751
|
+
break;
|
|
45752
|
+
}
|
|
45753
|
+
var field = reader.getFieldNumber();
|
|
45754
|
+
switch (field) {
|
|
45755
|
+
case 1:
|
|
45756
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
45757
|
+
msg.setInterfaceId(value);
|
|
45758
|
+
break;
|
|
45759
|
+
case 2:
|
|
45760
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
45761
|
+
msg.setTurretAddress(value);
|
|
45762
|
+
break;
|
|
45763
|
+
case 3:
|
|
45764
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
45765
|
+
msg.setFocusAddress(value);
|
|
45766
|
+
break;
|
|
45767
|
+
case 4:
|
|
45768
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
45769
|
+
msg.setObjective(value);
|
|
45770
|
+
break;
|
|
45771
|
+
case 5:
|
|
45772
|
+
var value = new proto.zaber.motion.protobufs.Measurement;
|
|
45773
|
+
reader.readMessage(value,proto.zaber.motion.protobufs.Measurement.deserializeBinaryFromReader);
|
|
45774
|
+
msg.setFocusOffset(value);
|
|
45775
|
+
break;
|
|
45776
|
+
default:
|
|
45777
|
+
reader.skipField();
|
|
45778
|
+
break;
|
|
45779
|
+
}
|
|
45780
|
+
}
|
|
45781
|
+
return msg;
|
|
45782
|
+
};
|
|
45783
|
+
|
|
45784
|
+
|
|
45785
|
+
/**
|
|
45786
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
45787
|
+
* @return {!Uint8Array}
|
|
45788
|
+
*/
|
|
45789
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.prototype.serializeBinary = function() {
|
|
45790
|
+
var writer = new jspb.BinaryWriter();
|
|
45791
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.serializeBinaryToWriter(this, writer);
|
|
45792
|
+
return writer.getResultBuffer();
|
|
45793
|
+
};
|
|
45794
|
+
|
|
45795
|
+
|
|
45796
|
+
/**
|
|
45797
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
45798
|
+
* format), writing to the given BinaryWriter.
|
|
45799
|
+
* @param {!proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest} message
|
|
45800
|
+
* @param {!jspb.BinaryWriter} writer
|
|
45801
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45802
|
+
*/
|
|
45803
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.serializeBinaryToWriter = function(message, writer) {
|
|
45804
|
+
var f = undefined;
|
|
45805
|
+
f = message.getInterfaceId();
|
|
45806
|
+
if (f !== 0) {
|
|
45807
|
+
writer.writeInt32(
|
|
45808
|
+
1,
|
|
45809
|
+
f
|
|
45810
|
+
);
|
|
45811
|
+
}
|
|
45812
|
+
f = message.getTurretAddress();
|
|
45813
|
+
if (f !== 0) {
|
|
45814
|
+
writer.writeInt32(
|
|
45815
|
+
2,
|
|
45816
|
+
f
|
|
45817
|
+
);
|
|
45818
|
+
}
|
|
45819
|
+
f = message.getFocusAddress();
|
|
45820
|
+
if (f !== 0) {
|
|
45821
|
+
writer.writeInt32(
|
|
45822
|
+
3,
|
|
45823
|
+
f
|
|
45824
|
+
);
|
|
45825
|
+
}
|
|
45826
|
+
f = message.getObjective();
|
|
45827
|
+
if (f !== 0) {
|
|
45828
|
+
writer.writeInt32(
|
|
45829
|
+
4,
|
|
45830
|
+
f
|
|
45831
|
+
);
|
|
45832
|
+
}
|
|
45833
|
+
f = message.getFocusOffset();
|
|
45834
|
+
if (f != null) {
|
|
45835
|
+
writer.writeMessage(
|
|
45836
|
+
5,
|
|
45837
|
+
f,
|
|
45838
|
+
proto.zaber.motion.protobufs.Measurement.serializeBinaryToWriter
|
|
45839
|
+
);
|
|
45840
|
+
}
|
|
45841
|
+
};
|
|
45842
|
+
|
|
45843
|
+
|
|
45844
|
+
/**
|
|
45845
|
+
* optional int32 interface_id = 1;
|
|
45846
|
+
* @return {number}
|
|
45847
|
+
*/
|
|
45848
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.prototype.getInterfaceId = function() {
|
|
45849
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
45850
|
+
};
|
|
45851
|
+
|
|
45852
|
+
|
|
45853
|
+
/**
|
|
45854
|
+
* @param {number} value
|
|
45855
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest} returns this
|
|
45856
|
+
*/
|
|
45857
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.prototype.setInterfaceId = function(value) {
|
|
45858
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
45859
|
+
};
|
|
45860
|
+
|
|
45861
|
+
|
|
45862
|
+
/**
|
|
45863
|
+
* optional int32 turret_address = 2;
|
|
45864
|
+
* @return {number}
|
|
45865
|
+
*/
|
|
45866
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.prototype.getTurretAddress = function() {
|
|
45867
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
45868
|
+
};
|
|
45869
|
+
|
|
45870
|
+
|
|
45871
|
+
/**
|
|
45872
|
+
* @param {number} value
|
|
45873
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest} returns this
|
|
45874
|
+
*/
|
|
45875
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.prototype.setTurretAddress = function(value) {
|
|
45876
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
45877
|
+
};
|
|
45878
|
+
|
|
45879
|
+
|
|
45880
|
+
/**
|
|
45881
|
+
* optional int32 focus_address = 3;
|
|
45882
|
+
* @return {number}
|
|
45883
|
+
*/
|
|
45884
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.prototype.getFocusAddress = function() {
|
|
45885
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
45886
|
+
};
|
|
45887
|
+
|
|
45888
|
+
|
|
45889
|
+
/**
|
|
45890
|
+
* @param {number} value
|
|
45891
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest} returns this
|
|
45892
|
+
*/
|
|
45893
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.prototype.setFocusAddress = function(value) {
|
|
45894
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
45895
|
+
};
|
|
45896
|
+
|
|
45897
|
+
|
|
45898
|
+
/**
|
|
45899
|
+
* optional int32 objective = 4;
|
|
45900
|
+
* @return {number}
|
|
45901
|
+
*/
|
|
45902
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.prototype.getObjective = function() {
|
|
45903
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
45904
|
+
};
|
|
45905
|
+
|
|
45906
|
+
|
|
45907
|
+
/**
|
|
45908
|
+
* @param {number} value
|
|
45909
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest} returns this
|
|
45910
|
+
*/
|
|
45911
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.prototype.setObjective = function(value) {
|
|
45912
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
45913
|
+
};
|
|
45914
|
+
|
|
45915
|
+
|
|
45916
|
+
/**
|
|
45917
|
+
* optional Measurement focus_offset = 5;
|
|
45918
|
+
* @return {?proto.zaber.motion.protobufs.Measurement}
|
|
45919
|
+
*/
|
|
45920
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.prototype.getFocusOffset = function() {
|
|
45921
|
+
return /** @type{?proto.zaber.motion.protobufs.Measurement} */ (
|
|
45922
|
+
jspb.Message.getWrapperField(this, proto.zaber.motion.protobufs.Measurement, 5));
|
|
45923
|
+
};
|
|
45924
|
+
|
|
45925
|
+
|
|
45926
|
+
/**
|
|
45927
|
+
* @param {?proto.zaber.motion.protobufs.Measurement|undefined} value
|
|
45928
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest} returns this
|
|
45929
|
+
*/
|
|
45930
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.prototype.setFocusOffset = function(value) {
|
|
45931
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
45932
|
+
};
|
|
45933
|
+
|
|
45934
|
+
|
|
45935
|
+
/**
|
|
45936
|
+
* Clears the message field making it undefined.
|
|
45937
|
+
* @return {!proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest} returns this
|
|
45938
|
+
*/
|
|
45939
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.prototype.clearFocusOffset = function() {
|
|
45940
|
+
return this.setFocusOffset(undefined);
|
|
45941
|
+
};
|
|
45942
|
+
|
|
45943
|
+
|
|
45944
|
+
/**
|
|
45945
|
+
* Returns whether this field is set.
|
|
45946
|
+
* @return {boolean}
|
|
45947
|
+
*/
|
|
45948
|
+
proto.zaber.motion.protobufs.ObjectiveChangerChangeRequest.prototype.hasFocusOffset = function() {
|
|
45949
|
+
return jspb.Message.getField(this, 5) != null;
|
|
45950
|
+
};
|
|
45951
|
+
|
|
45952
|
+
|
|
45146
45953
|
/**
|
|
45147
45954
|
* @enum {number}
|
|
45148
45955
|
*/
|
|
@@ -45199,7 +46006,8 @@ proto.zaber.motion.protobufs.Errors = {
|
|
|
45199
46006
|
G_CODE_EXECUTION: 42,
|
|
45200
46007
|
INVALID_OPERATION: 43,
|
|
45201
46008
|
COMMAND_TOO_LONG: 44,
|
|
45202
|
-
NO_VALUE_FOR_KEY: 45
|
|
46009
|
+
NO_VALUE_FOR_KEY: 45,
|
|
46010
|
+
DEVICE_DETECTION_FAILED: 46
|
|
45203
46011
|
};
|
|
45204
46012
|
|
|
45205
46013
|
/**
|