@zaber/motion 3.4.0 → 3.4.2

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.
@@ -3,21 +3,37 @@
3
3
  */
4
4
  export interface CommandFailedExceptionData {
5
5
  /**
6
- * The response data.
6
+ * The command that got rejected.
7
+ */
8
+ command: string;
9
+ /**
10
+ * The data from the reply containing the rejection reason.
7
11
  */
8
12
  responseData: string;
9
13
  /**
10
- * The flags on the reply sent by the device.
14
+ * The flag indicating that the command was rejected.
11
15
  */
12
16
  replyFlag: string;
13
17
  /**
14
- * The current device status.
18
+ * The current device or axis status.
15
19
  */
16
20
  status: string;
17
21
  /**
18
- * The current warning flag on the device.
22
+ * The highest priority warning flag on the device or axis.
19
23
  */
20
24
  warningFlag: string;
25
+ /**
26
+ * The address of the device that rejected the command.
27
+ */
28
+ deviceAddress: number;
29
+ /**
30
+ * The number of the axis which the rejection relates to.
31
+ */
32
+ axisNumber: number;
33
+ /**
34
+ * The message ID of the reply.
35
+ */
36
+ id: number;
21
37
  }
22
38
  export declare namespace CommandFailedExceptionData {
23
39
  const __type = "CommandFailedExceptionData";
@@ -9,10 +9,14 @@ var CommandFailedExceptionData;
9
9
  /** @internal */
10
10
  function fromProtobuf(pbData) {
11
11
  return {
12
+ command: pbData.command,
12
13
  responseData: pbData.responseData,
13
14
  replyFlag: pbData.replyFlag,
14
15
  status: pbData.status,
15
16
  warningFlag: pbData.warningFlag,
17
+ deviceAddress: pbData.deviceAddress,
18
+ axisNumber: pbData.axisNumber,
19
+ id: pbData.id,
16
20
  };
17
21
  }
18
22
  CommandFailedExceptionData.fromProtobuf = fromProtobuf;
@@ -1 +1 @@
1
- {"version":3,"file":"command_failed_exception_data.js","sourceRoot":"","sources":["../../../src/exceptions/command_failed_exception_data.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AA8BtD,IAAiB,0BAA0B,CAY1C;AAZD,WAAiB,0BAA0B;IAC5B,iCAAM,GAAG,4BAA4B,CAAC;IAEnD,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAAmD;QAC9E,OAAO;YACL,YAAY,EAAE,MAAM,CAAC,YAAY;YACjC,SAAS,EAAE,MAAM,CAAC,SAAS;YAC3B,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,WAAW,EAAE,MAAM,CAAC,WAAW;SAChC,CAAC;IACJ,CAAC;IAPe,uCAAY,eAO3B,CAAA;AACH,CAAC,EAZgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAY1C","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from '../gateway';\n\n/**\n * Contains additional data for CommandFailedException.\n */\nexport interface CommandFailedExceptionData {\n /**\n * The response data.\n */\n responseData: string;\n\n /**\n * The flags on the reply sent by the device.\n */\n replyFlag: string;\n\n /**\n * The current device status.\n */\n status: string;\n\n /**\n * The current warning flag on the device.\n */\n warningFlag: string;\n\n}\n\nexport namespace CommandFailedExceptionData {\n export const __type = 'CommandFailedExceptionData';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.CommandFailedExceptionData.AsObject): CommandFailedExceptionData {\n return {\n responseData: pbData.responseData,\n replyFlag: pbData.replyFlag,\n status: pbData.status,\n warningFlag: pbData.warningFlag,\n };\n }\n}\n"]}
1
+ {"version":3,"file":"command_failed_exception_data.js","sourceRoot":"","sources":["../../../src/exceptions/command_failed_exception_data.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAkDtD,IAAiB,0BAA0B,CAgB1C;AAhBD,WAAiB,0BAA0B;IAC5B,iCAAM,GAAG,4BAA4B,CAAC;IAEnD,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAAmD;QAC9E,OAAO;YACL,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,YAAY,EAAE,MAAM,CAAC,YAAY;YACjC,SAAS,EAAE,MAAM,CAAC,SAAS;YAC3B,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,WAAW,EAAE,MAAM,CAAC,WAAW;YAC/B,aAAa,EAAE,MAAM,CAAC,aAAa;YACnC,UAAU,EAAE,MAAM,CAAC,UAAU;YAC7B,EAAE,EAAE,MAAM,CAAC,EAAE;SACd,CAAC;IACJ,CAAC;IAXe,uCAAY,eAW3B,CAAA;AACH,CAAC,EAhBgB,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAgB1C","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from '../gateway';\n\n/**\n * Contains additional data for CommandFailedException.\n */\nexport interface CommandFailedExceptionData {\n /**\n * The command that got rejected.\n */\n command: string;\n\n /**\n * The data from the reply containing the rejection reason.\n */\n responseData: string;\n\n /**\n * The flag indicating that the command was rejected.\n */\n replyFlag: string;\n\n /**\n * The current device or axis status.\n */\n status: string;\n\n /**\n * The highest priority warning flag on the device or axis.\n */\n warningFlag: string;\n\n /**\n * The address of the device that rejected the command.\n */\n deviceAddress: number;\n\n /**\n * The number of the axis which the rejection relates to.\n */\n axisNumber: number;\n\n /**\n * The message ID of the reply.\n */\n id: number;\n\n}\n\nexport namespace CommandFailedExceptionData {\n export const __type = 'CommandFailedExceptionData';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.CommandFailedExceptionData.AsObject): CommandFailedExceptionData {\n return {\n command: pbData.command,\n responseData: pbData.responseData,\n replyFlag: pbData.replyFlag,\n status: pbData.status,\n warningFlag: pbData.warningFlag,\n deviceAddress: pbData.deviceAddress,\n axisNumber: pbData.axisNumber,\n id: pbData.id,\n };\n }\n}\n"]}
@@ -11,6 +11,10 @@ export interface SetDeviceStateExceptionData {
11
11
  * The reason the stream buffers could not be set.
12
12
  */
13
13
  streamBuffers: string[];
14
+ /**
15
+ * The reason the pvt buffers could not be set.
16
+ */
17
+ pvtBuffers: string[];
14
18
  /**
15
19
  * The reason the triggers could not be set.
16
20
  */
@@ -12,6 +12,7 @@ var SetDeviceStateExceptionData;
12
12
  return {
13
13
  settings: pbData.settingsList,
14
14
  streamBuffers: pbData.streamBuffersList,
15
+ pvtBuffers: pbData.pvtBuffersList,
15
16
  triggers: pbData.triggersList,
16
17
  servoTuning: pbData.servoTuning,
17
18
  storedPositions: pbData.storedPositionsList,
@@ -1 +1 @@
1
- {"version":3,"file":"set_device_state_exception_data.js","sourceRoot":"","sources":["../../../src/exceptions/set_device_state_exception_data.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAGtD,+FAAwF;AA2CxF,IAAiB,2BAA2B,CAe3C;AAfD,WAAiB,2BAA2B;IAC7B,kCAAM,GAAG,6BAA6B,CAAC;IAEpD,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAAoD;QAC/E,OAAO;YACL,QAAQ,EAAE,MAAM,CAAC,YAAY;YAC7B,aAAa,EAAE,MAAM,CAAC,iBAAiB;YACvC,QAAQ,EAAE,MAAM,CAAC,YAAY;YAC7B,WAAW,EAAE,MAAM,CAAC,WAAW;YAC/B,eAAe,EAAE,MAAM,CAAC,mBAAmB;YAC3C,OAAO,EAAE,MAAM,CAAC,WAAW;YAC3B,WAAW,EAAE,MAAM,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,qEAA+B,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SACpG,CAAC;IACJ,CAAC;IAVe,wCAAY,eAU3B,CAAA;AACH,CAAC,EAfgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAe3C","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from '../gateway';\nimport { SetPeripheralStateExceptionData } from './set_peripheral_state_exception_data';\n\n/**\n * Contains additional data for a SetDeviceStateFailedException.\n */\nexport interface SetDeviceStateExceptionData {\n /**\n * A list of settings which could not be set.\n */\n settings: string[];\n\n /**\n * The reason the stream buffers could not be set.\n */\n streamBuffers: string[];\n\n /**\n * The reason the triggers could not be set.\n */\n triggers: string[];\n\n /**\n * The reason servo tuning could not be set.\n */\n servoTuning: string;\n\n /**\n * The reasons stored positions could not be set.\n */\n storedPositions: string[];\n\n /**\n * The reasons storage could not be set.\n */\n storage: string[];\n\n /**\n * Errors for any peripherals that could not be set.\n */\n peripherals: SetPeripheralStateExceptionData[];\n\n}\n\nexport namespace SetDeviceStateExceptionData {\n export const __type = 'SetDeviceStateExceptionData';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.SetDeviceStateExceptionData.AsObject): SetDeviceStateExceptionData {\n return {\n settings: pbData.settingsList,\n streamBuffers: pbData.streamBuffersList,\n triggers: pbData.triggersList,\n servoTuning: pbData.servoTuning,\n storedPositions: pbData.storedPositionsList,\n storage: pbData.storageList,\n peripherals: pbData.peripheralsList.map(item => SetPeripheralStateExceptionData.fromProtobuf(item)),\n };\n }\n}\n"]}
1
+ {"version":3,"file":"set_device_state_exception_data.js","sourceRoot":"","sources":["../../../src/exceptions/set_device_state_exception_data.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAGtD,+FAAwF;AAgDxF,IAAiB,2BAA2B,CAgB3C;AAhBD,WAAiB,2BAA2B;IAC7B,kCAAM,GAAG,6BAA6B,CAAC;IAEpD,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAAoD;QAC/E,OAAO;YACL,QAAQ,EAAE,MAAM,CAAC,YAAY;YAC7B,aAAa,EAAE,MAAM,CAAC,iBAAiB;YACvC,UAAU,EAAE,MAAM,CAAC,cAAc;YACjC,QAAQ,EAAE,MAAM,CAAC,YAAY;YAC7B,WAAW,EAAE,MAAM,CAAC,WAAW;YAC/B,eAAe,EAAE,MAAM,CAAC,mBAAmB;YAC3C,OAAO,EAAE,MAAM,CAAC,WAAW;YAC3B,WAAW,EAAE,MAAM,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,qEAA+B,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SACpG,CAAC;IACJ,CAAC;IAXe,wCAAY,eAW3B,CAAA;AACH,CAAC,EAhBgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAgB3C","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from '../gateway';\nimport { SetPeripheralStateExceptionData } from './set_peripheral_state_exception_data';\n\n/**\n * Contains additional data for a SetDeviceStateFailedException.\n */\nexport interface SetDeviceStateExceptionData {\n /**\n * A list of settings which could not be set.\n */\n settings: string[];\n\n /**\n * The reason the stream buffers could not be set.\n */\n streamBuffers: string[];\n\n /**\n * The reason the pvt buffers could not be set.\n */\n pvtBuffers: string[];\n\n /**\n * The reason the triggers could not be set.\n */\n triggers: string[];\n\n /**\n * The reason servo tuning could not be set.\n */\n servoTuning: string;\n\n /**\n * The reasons stored positions could not be set.\n */\n storedPositions: string[];\n\n /**\n * The reasons storage could not be set.\n */\n storage: string[];\n\n /**\n * Errors for any peripherals that could not be set.\n */\n peripherals: SetPeripheralStateExceptionData[];\n\n}\n\nexport namespace SetDeviceStateExceptionData {\n export const __type = 'SetDeviceStateExceptionData';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.SetDeviceStateExceptionData.AsObject): SetDeviceStateExceptionData {\n return {\n settings: pbData.settingsList,\n streamBuffers: pbData.streamBuffersList,\n pvtBuffers: pbData.pvtBuffersList,\n triggers: pbData.triggersList,\n servoTuning: pbData.servoTuning,\n storedPositions: pbData.storedPositionsList,\n storage: pbData.storageList,\n peripherals: pbData.peripheralsList.map(item => SetPeripheralStateExceptionData.fromProtobuf(item)),\n };\n }\n}\n"]}
@@ -741,6 +741,18 @@ export class CommandFailedExceptionData extends jspb.Message {
741
741
  getWarningFlag(): string;
742
742
  setWarningFlag(value: string): void;
743
743
 
744
+ getDeviceAddress(): number;
745
+ setDeviceAddress(value: number): void;
746
+
747
+ getAxisNumber(): number;
748
+ setAxisNumber(value: number): void;
749
+
750
+ getId(): number;
751
+ setId(value: number): void;
752
+
753
+ getCommand(): string;
754
+ setCommand(value: string): void;
755
+
744
756
  serializeBinary(): Uint8Array;
745
757
  toObject(includeInstance?: boolean): CommandFailedExceptionData.AsObject;
746
758
  static toObject(includeInstance: boolean, msg: CommandFailedExceptionData): CommandFailedExceptionData.AsObject;
@@ -757,6 +769,10 @@ export namespace CommandFailedExceptionData {
757
769
  replyFlag: string,
758
770
  status: string,
759
771
  warningFlag: string,
772
+ deviceAddress: number,
773
+ axisNumber: number,
774
+ id: number,
775
+ command: string,
760
776
  }
761
777
  }
762
778
 
@@ -856,6 +872,11 @@ export class SetDeviceStateExceptionData extends jspb.Message {
856
872
  setStoredPositionsList(value: Array<string>): void;
857
873
  addStoredPositions(value: string, index?: number): string;
858
874
 
875
+ clearPvtBuffersList(): void;
876
+ getPvtBuffersList(): Array<string>;
877
+ setPvtBuffersList(value: Array<string>): void;
878
+ addPvtBuffers(value: string, index?: number): string;
879
+
859
880
  serializeBinary(): Uint8Array;
860
881
  toObject(includeInstance?: boolean): SetDeviceStateExceptionData.AsObject;
861
882
  static toObject(includeInstance: boolean, msg: SetDeviceStateExceptionData): SetDeviceStateExceptionData.AsObject;
@@ -875,6 +896,7 @@ export namespace SetDeviceStateExceptionData {
875
896
  servoTuning: string,
876
897
  storageList: Array<string>,
877
898
  storedPositionsList: Array<string>,
899
+ pvtBuffersList: Array<string>,
878
900
  }
879
901
  }
880
902
 
@@ -9442,9 +9442,13 @@ proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.toObject = fun
9442
9442
  proto.zaber.motion.protobufs.CommandFailedExceptionData.toObject = function(includeInstance, msg) {
9443
9443
  var f, obj = {
9444
9444
  responseData: jspb.Message.getFieldWithDefault(msg, 1, ""),
9445
- replyFlag: jspb.Message.getFieldWithDefault(msg, 5, ""),
9446
- status: jspb.Message.getFieldWithDefault(msg, 6, ""),
9447
- warningFlag: jspb.Message.getFieldWithDefault(msg, 7, "")
9445
+ replyFlag: jspb.Message.getFieldWithDefault(msg, 2, ""),
9446
+ status: jspb.Message.getFieldWithDefault(msg, 3, ""),
9447
+ warningFlag: jspb.Message.getFieldWithDefault(msg, 4, ""),
9448
+ deviceAddress: jspb.Message.getFieldWithDefault(msg, 5, 0),
9449
+ axisNumber: jspb.Message.getFieldWithDefault(msg, 6, 0),
9450
+ id: jspb.Message.getFieldWithDefault(msg, 7, 0),
9451
+ command: jspb.Message.getFieldWithDefault(msg, 8, "")
9448
9452
  };
9449
9453
 
9450
9454
  if (includeInstance) {
@@ -9485,18 +9489,34 @@ proto.zaber.motion.protobufs.CommandFailedExceptionData.deserializeBinaryFromRea
9485
9489
  var value = /** @type {string} */ (reader.readString());
9486
9490
  msg.setResponseData(value);
9487
9491
  break;
9488
- case 5:
9492
+ case 2:
9489
9493
  var value = /** @type {string} */ (reader.readString());
9490
9494
  msg.setReplyFlag(value);
9491
9495
  break;
9492
- case 6:
9496
+ case 3:
9493
9497
  var value = /** @type {string} */ (reader.readString());
9494
9498
  msg.setStatus(value);
9495
9499
  break;
9496
- case 7:
9500
+ case 4:
9497
9501
  var value = /** @type {string} */ (reader.readString());
9498
9502
  msg.setWarningFlag(value);
9499
9503
  break;
9504
+ case 5:
9505
+ var value = /** @type {number} */ (reader.readInt32());
9506
+ msg.setDeviceAddress(value);
9507
+ break;
9508
+ case 6:
9509
+ var value = /** @type {number} */ (reader.readInt32());
9510
+ msg.setAxisNumber(value);
9511
+ break;
9512
+ case 7:
9513
+ var value = /** @type {number} */ (reader.readInt32());
9514
+ msg.setId(value);
9515
+ break;
9516
+ case 8:
9517
+ var value = /** @type {string} */ (reader.readString());
9518
+ msg.setCommand(value);
9519
+ break;
9500
9520
  default:
9501
9521
  reader.skipField();
9502
9522
  break;
@@ -9536,24 +9556,52 @@ proto.zaber.motion.protobufs.CommandFailedExceptionData.serializeBinaryToWriter
9536
9556
  f = message.getReplyFlag();
9537
9557
  if (f.length > 0) {
9538
9558
  writer.writeString(
9539
- 5,
9559
+ 2,
9540
9560
  f
9541
9561
  );
9542
9562
  }
9543
9563
  f = message.getStatus();
9544
9564
  if (f.length > 0) {
9545
9565
  writer.writeString(
9546
- 6,
9566
+ 3,
9547
9567
  f
9548
9568
  );
9549
9569
  }
9550
9570
  f = message.getWarningFlag();
9551
9571
  if (f.length > 0) {
9552
9572
  writer.writeString(
9573
+ 4,
9574
+ f
9575
+ );
9576
+ }
9577
+ f = message.getDeviceAddress();
9578
+ if (f !== 0) {
9579
+ writer.writeInt32(
9580
+ 5,
9581
+ f
9582
+ );
9583
+ }
9584
+ f = message.getAxisNumber();
9585
+ if (f !== 0) {
9586
+ writer.writeInt32(
9587
+ 6,
9588
+ f
9589
+ );
9590
+ }
9591
+ f = message.getId();
9592
+ if (f !== 0) {
9593
+ writer.writeInt32(
9553
9594
  7,
9554
9595
  f
9555
9596
  );
9556
9597
  }
9598
+ f = message.getCommand();
9599
+ if (f.length > 0) {
9600
+ writer.writeString(
9601
+ 8,
9602
+ f
9603
+ );
9604
+ }
9557
9605
  };
9558
9606
 
9559
9607
 
@@ -9576,11 +9624,11 @@ proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.setResponseDat
9576
9624
 
9577
9625
 
9578
9626
  /**
9579
- * optional string reply_flag = 5;
9627
+ * optional string reply_flag = 2;
9580
9628
  * @return {string}
9581
9629
  */
9582
9630
  proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.getReplyFlag = function() {
9583
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
9631
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
9584
9632
  };
9585
9633
 
9586
9634
 
@@ -9589,16 +9637,16 @@ proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.getReplyFlag =
9589
9637
  * @return {!proto.zaber.motion.protobufs.CommandFailedExceptionData} returns this
9590
9638
  */
9591
9639
  proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.setReplyFlag = function(value) {
9592
- return jspb.Message.setProto3StringField(this, 5, value);
9640
+ return jspb.Message.setProto3StringField(this, 2, value);
9593
9641
  };
9594
9642
 
9595
9643
 
9596
9644
  /**
9597
- * optional string status = 6;
9645
+ * optional string status = 3;
9598
9646
  * @return {string}
9599
9647
  */
9600
9648
  proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.getStatus = function() {
9601
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
9649
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
9602
9650
  };
9603
9651
 
9604
9652
 
@@ -9607,16 +9655,16 @@ proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.getStatus = fu
9607
9655
  * @return {!proto.zaber.motion.protobufs.CommandFailedExceptionData} returns this
9608
9656
  */
9609
9657
  proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.setStatus = function(value) {
9610
- return jspb.Message.setProto3StringField(this, 6, value);
9658
+ return jspb.Message.setProto3StringField(this, 3, value);
9611
9659
  };
9612
9660
 
9613
9661
 
9614
9662
  /**
9615
- * optional string warning_flag = 7;
9663
+ * optional string warning_flag = 4;
9616
9664
  * @return {string}
9617
9665
  */
9618
9666
  proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.getWarningFlag = function() {
9619
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
9667
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
9620
9668
  };
9621
9669
 
9622
9670
 
@@ -9625,7 +9673,79 @@ proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.getWarningFlag
9625
9673
  * @return {!proto.zaber.motion.protobufs.CommandFailedExceptionData} returns this
9626
9674
  */
9627
9675
  proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.setWarningFlag = function(value) {
9628
- return jspb.Message.setProto3StringField(this, 7, value);
9676
+ return jspb.Message.setProto3StringField(this, 4, value);
9677
+ };
9678
+
9679
+
9680
+ /**
9681
+ * optional int32 device_address = 5;
9682
+ * @return {number}
9683
+ */
9684
+ proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.getDeviceAddress = function() {
9685
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
9686
+ };
9687
+
9688
+
9689
+ /**
9690
+ * @param {number} value
9691
+ * @return {!proto.zaber.motion.protobufs.CommandFailedExceptionData} returns this
9692
+ */
9693
+ proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.setDeviceAddress = function(value) {
9694
+ return jspb.Message.setProto3IntField(this, 5, value);
9695
+ };
9696
+
9697
+
9698
+ /**
9699
+ * optional int32 axis_number = 6;
9700
+ * @return {number}
9701
+ */
9702
+ proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.getAxisNumber = function() {
9703
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
9704
+ };
9705
+
9706
+
9707
+ /**
9708
+ * @param {number} value
9709
+ * @return {!proto.zaber.motion.protobufs.CommandFailedExceptionData} returns this
9710
+ */
9711
+ proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.setAxisNumber = function(value) {
9712
+ return jspb.Message.setProto3IntField(this, 6, value);
9713
+ };
9714
+
9715
+
9716
+ /**
9717
+ * optional int32 id = 7;
9718
+ * @return {number}
9719
+ */
9720
+ proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.getId = function() {
9721
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
9722
+ };
9723
+
9724
+
9725
+ /**
9726
+ * @param {number} value
9727
+ * @return {!proto.zaber.motion.protobufs.CommandFailedExceptionData} returns this
9728
+ */
9729
+ proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.setId = function(value) {
9730
+ return jspb.Message.setProto3IntField(this, 7, value);
9731
+ };
9732
+
9733
+
9734
+ /**
9735
+ * optional string command = 8;
9736
+ * @return {string}
9737
+ */
9738
+ proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.getCommand = function() {
9739
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
9740
+ };
9741
+
9742
+
9743
+ /**
9744
+ * @param {string} value
9745
+ * @return {!proto.zaber.motion.protobufs.CommandFailedExceptionData} returns this
9746
+ */
9747
+ proto.zaber.motion.protobufs.CommandFailedExceptionData.prototype.setCommand = function(value) {
9748
+ return jspb.Message.setProto3StringField(this, 8, value);
9629
9749
  };
9630
9750
 
9631
9751
 
@@ -10079,7 +10199,7 @@ proto.zaber.motion.protobufs.SetPeripheralStateExceptionData.prototype.clearStor
10079
10199
  * @private {!Array<number>}
10080
10200
  * @const
10081
10201
  */
10082
- proto.zaber.motion.protobufs.SetDeviceStateExceptionData.repeatedFields_ = [2,3,4,5,7,8];
10202
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.repeatedFields_ = [2,3,4,5,7,8,9];
10083
10203
 
10084
10204
 
10085
10205
 
@@ -10119,7 +10239,8 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.toObject = function(inc
10119
10239
  triggersList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
10120
10240
  servoTuning: jspb.Message.getFieldWithDefault(msg, 6, ""),
10121
10241
  storageList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
10122
- storedPositionsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f
10242
+ storedPositionsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
10243
+ pvtBuffersList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
10123
10244
  };
10124
10245
 
10125
10246
  if (includeInstance) {
@@ -10185,6 +10306,10 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.deserializeBinaryFromRe
10185
10306
  var value = /** @type {string} */ (reader.readString());
10186
10307
  msg.addStoredPositions(value);
10187
10308
  break;
10309
+ case 9:
10310
+ var value = /** @type {string} */ (reader.readString());
10311
+ msg.addPvtBuffers(value);
10312
+ break;
10188
10313
  default:
10189
10314
  reader.skipField();
10190
10315
  break;
@@ -10264,6 +10389,13 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.serializeBinaryToWriter
10264
10389
  f
10265
10390
  );
10266
10391
  }
10392
+ f = message.getPvtBuffersList();
10393
+ if (f.length > 0) {
10394
+ writer.writeRepeatedString(
10395
+ 9,
10396
+ f
10397
+ );
10398
+ }
10267
10399
  };
10268
10400
 
10269
10401
 
@@ -10508,6 +10640,43 @@ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.clearStoredPo
10508
10640
  };
10509
10641
 
10510
10642
 
10643
+ /**
10644
+ * repeated string pvt_buffers = 9;
10645
+ * @return {!Array<string>}
10646
+ */
10647
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.getPvtBuffersList = function() {
10648
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
10649
+ };
10650
+
10651
+
10652
+ /**
10653
+ * @param {!Array<string>} value
10654
+ * @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
10655
+ */
10656
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.setPvtBuffersList = function(value) {
10657
+ return jspb.Message.setField(this, 9, value || []);
10658
+ };
10659
+
10660
+
10661
+ /**
10662
+ * @param {string} value
10663
+ * @param {number=} opt_index
10664
+ * @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
10665
+ */
10666
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.addPvtBuffers = function(value, opt_index) {
10667
+ return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
10668
+ };
10669
+
10670
+
10671
+ /**
10672
+ * Clears the list making it empty but non-null.
10673
+ * @return {!proto.zaber.motion.protobufs.SetDeviceStateExceptionData} returns this
10674
+ */
10675
+ proto.zaber.motion.protobufs.SetDeviceStateExceptionData.prototype.clearPvtBuffersList = function() {
10676
+ return this.setPvtBuffersList([]);
10677
+ };
10678
+
10679
+
10511
10680
 
10512
10681
 
10513
10682