@temporalio/proto 1.5.2 → 1.7.0

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/protos/root.d.ts CHANGED
@@ -214,7 +214,7 @@ export namespace coresdk {
214
214
  willCompleteAsync?: (coresdk.activity_result.IWillCompleteAsync|null);
215
215
  }
216
216
 
217
- /** Used to report activity completions to core */
217
+ /** Represents an ActivityExecutionResult. */
218
218
  class ActivityExecutionResult implements IActivityExecutionResult {
219
219
 
220
220
  /**
@@ -427,7 +427,7 @@ export namespace coresdk {
427
427
  result?: (temporal.api.common.v1.IPayload|null);
428
428
  }
429
429
 
430
- /** Used to report successful completion either when executing or resolving */
430
+ /** Represents a Success. */
431
431
  class Success implements ISuccess {
432
432
 
433
433
  /**
@@ -517,7 +517,7 @@ export namespace coresdk {
517
517
  failure?: (temporal.api.failure.v1.IFailure|null);
518
518
  }
519
519
 
520
- /** Used to report activity failure either when executing or resolving */
520
+ /** Represents a Failure. */
521
521
  class Failure implements IFailure {
522
522
 
523
523
  /**
@@ -607,12 +607,7 @@ export namespace coresdk {
607
607
  failure?: (temporal.api.failure.v1.IFailure|null);
608
608
  }
609
609
 
610
- /**
611
- * Used to report cancellation from both Core and Lang.
612
- * When Lang reports a cancelled activity, it must put a CancelledFailure in the failure field.
613
- * When Core reports a cancelled activity, it must put an ActivityFailure with CancelledFailure
614
- * as the cause in the failure field.
615
- */
610
+ /** Represents a Cancellation. */
616
611
  class Cancellation implements ICancellation {
617
612
 
618
613
  /**
@@ -699,10 +694,7 @@ export namespace coresdk {
699
694
  interface IWillCompleteAsync {
700
695
  }
701
696
 
702
- /**
703
- * Used in ActivityExecutionResult to notify Core that this Activity will complete asynchronously.
704
- * Core will forget about this Activity and free up resources used to track this Activity.
705
- */
697
+ /** Represents a WillCompleteAsync. */
706
698
  class WillCompleteAsync implements IWillCompleteAsync {
707
699
 
708
700
  /**
@@ -795,15 +787,7 @@ export namespace coresdk {
795
787
  originalScheduleTime?: (google.protobuf.ITimestamp|null);
796
788
  }
797
789
 
798
- /**
799
- * Issued when a local activity needs to retry but also wants to back off more than would be
800
- * reasonable to WFT heartbeat for. Lang is expected to schedule a timer for the duration
801
- * and then start a local activity of the same type & same inputs with the provided attempt number
802
- * after the timer has elapsed.
803
- *
804
- * This exists because Core does not have a concept of starting commands by itself, they originate
805
- * from lang. So expecting lang to start the timer / next pass of the activity fits more smoothly.
806
- */
790
+ /** Represents a DoBackoff. */
807
791
  class DoBackoff implements IDoBackoff {
808
792
 
809
793
  /**
@@ -899,13 +883,13 @@ export namespace coresdk {
899
883
  /** Properties of an ActivityTask. */
900
884
  interface IActivityTask {
901
885
 
902
- /** A unique identifier for this task */
886
+ /** ActivityTask taskToken */
903
887
  taskToken?: (Uint8Array|null);
904
888
 
905
- /** Start activity execution. */
889
+ /** ActivityTask start */
906
890
  start?: (coresdk.activity_task.IStart|null);
907
891
 
908
- /** Attempt to cancel activity execution. */
892
+ /** ActivityTask cancel */
909
893
  cancel?: (coresdk.activity_task.ICancel|null);
910
894
  }
911
895
 
@@ -918,13 +902,13 @@ export namespace coresdk {
918
902
  */
919
903
  constructor(properties?: coresdk.activity_task.IActivityTask);
920
904
 
921
- /** A unique identifier for this task */
905
+ /** ActivityTask taskToken. */
922
906
  public taskToken: Uint8Array;
923
907
 
924
- /** Start activity execution. */
908
+ /** ActivityTask start. */
925
909
  public start?: (coresdk.activity_task.IStart|null);
926
910
 
927
- /** Attempt to cancel activity execution. */
911
+ /** ActivityTask cancel. */
928
912
  public cancel?: (coresdk.activity_task.ICancel|null);
929
913
 
930
914
  /** ActivityTask variant. */
@@ -1194,7 +1178,7 @@ export namespace coresdk {
1194
1178
  reason?: (coresdk.activity_task.ActivityCancelReason|null);
1195
1179
  }
1196
1180
 
1197
- /** Attempt to cancel a running activity */
1181
+ /** Represents a Cancel. */
1198
1182
  class Cancel implements ICancel {
1199
1183
 
1200
1184
  /**
@@ -1281,7 +1265,8 @@ export namespace coresdk {
1281
1265
  enum ActivityCancelReason {
1282
1266
  NOT_FOUND = 0,
1283
1267
  CANCELLED = 1,
1284
- TIMED_OUT = 2
1268
+ TIMED_OUT = 2,
1269
+ WORKER_SHUTDOWN = 3
1285
1270
  }
1286
1271
  }
1287
1272
 
@@ -1519,6 +1504,102 @@ export namespace coresdk {
1519
1504
  */
1520
1505
  public static getTypeUrl(typeUrlPrefix?: string): string;
1521
1506
  }
1507
+
1508
+ /** Properties of a PatchedMarkerData. */
1509
+ interface IPatchedMarkerData {
1510
+
1511
+ /** PatchedMarkerData id */
1512
+ id?: (string|null);
1513
+
1514
+ /** PatchedMarkerData deprecated */
1515
+ deprecated?: (boolean|null);
1516
+ }
1517
+
1518
+ /** Represents a PatchedMarkerData. */
1519
+ class PatchedMarkerData implements IPatchedMarkerData {
1520
+
1521
+ /**
1522
+ * Constructs a new PatchedMarkerData.
1523
+ * @param [properties] Properties to set
1524
+ */
1525
+ constructor(properties?: coresdk.external_data.IPatchedMarkerData);
1526
+
1527
+ /** PatchedMarkerData id. */
1528
+ public id: string;
1529
+
1530
+ /** PatchedMarkerData deprecated. */
1531
+ public deprecated: boolean;
1532
+
1533
+ /**
1534
+ * Creates a new PatchedMarkerData instance using the specified properties.
1535
+ * @param [properties] Properties to set
1536
+ * @returns PatchedMarkerData instance
1537
+ */
1538
+ public static create(properties?: coresdk.external_data.IPatchedMarkerData): coresdk.external_data.PatchedMarkerData;
1539
+
1540
+ /**
1541
+ * Encodes the specified PatchedMarkerData message. Does not implicitly {@link coresdk.external_data.PatchedMarkerData.verify|verify} messages.
1542
+ * @param message PatchedMarkerData message or plain object to encode
1543
+ * @param [writer] Writer to encode to
1544
+ * @returns Writer
1545
+ */
1546
+ public static encode(message: coresdk.external_data.IPatchedMarkerData, writer?: $protobuf.Writer): $protobuf.Writer;
1547
+
1548
+ /**
1549
+ * Encodes the specified PatchedMarkerData message, length delimited. Does not implicitly {@link coresdk.external_data.PatchedMarkerData.verify|verify} messages.
1550
+ * @param message PatchedMarkerData message or plain object to encode
1551
+ * @param [writer] Writer to encode to
1552
+ * @returns Writer
1553
+ */
1554
+ public static encodeDelimited(message: coresdk.external_data.IPatchedMarkerData, writer?: $protobuf.Writer): $protobuf.Writer;
1555
+
1556
+ /**
1557
+ * Decodes a PatchedMarkerData message from the specified reader or buffer.
1558
+ * @param reader Reader or buffer to decode from
1559
+ * @param [length] Message length if known beforehand
1560
+ * @returns PatchedMarkerData
1561
+ * @throws {Error} If the payload is not a reader or valid buffer
1562
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1563
+ */
1564
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): coresdk.external_data.PatchedMarkerData;
1565
+
1566
+ /**
1567
+ * Decodes a PatchedMarkerData message from the specified reader or buffer, length delimited.
1568
+ * @param reader Reader or buffer to decode from
1569
+ * @returns PatchedMarkerData
1570
+ * @throws {Error} If the payload is not a reader or valid buffer
1571
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1572
+ */
1573
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): coresdk.external_data.PatchedMarkerData;
1574
+
1575
+ /**
1576
+ * Creates a PatchedMarkerData message from a plain object. Also converts values to their respective internal types.
1577
+ * @param object Plain object
1578
+ * @returns PatchedMarkerData
1579
+ */
1580
+ public static fromObject(object: { [k: string]: any }): coresdk.external_data.PatchedMarkerData;
1581
+
1582
+ /**
1583
+ * Creates a plain object from a PatchedMarkerData message. Also converts values to other types if specified.
1584
+ * @param message PatchedMarkerData
1585
+ * @param [options] Conversion options
1586
+ * @returns Plain object
1587
+ */
1588
+ public static toObject(message: coresdk.external_data.PatchedMarkerData, options?: $protobuf.IConversionOptions): { [k: string]: any };
1589
+
1590
+ /**
1591
+ * Converts this PatchedMarkerData to JSON.
1592
+ * @returns JSON object
1593
+ */
1594
+ public toJSON(): { [k: string]: any };
1595
+
1596
+ /**
1597
+ * Gets the default type url for PatchedMarkerData
1598
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1599
+ * @returns The default type url
1600
+ */
1601
+ public static getTypeUrl(typeUrlPrefix?: string): string;
1602
+ }
1522
1603
  }
1523
1604
 
1524
1605
  /** Namespace workflow_activation. */
@@ -1527,23 +1608,26 @@ export namespace coresdk {
1527
1608
  /** Properties of a WorkflowActivation. */
1528
1609
  interface IWorkflowActivation {
1529
1610
 
1530
- /** only ever be one active workflow task (and hence activation) of a run at one time. */
1611
+ /** WorkflowActivation runId */
1531
1612
  runId?: (string|null);
1532
1613
 
1533
- /** The current time as understood by the workflow, which is set by workflow task started events */
1614
+ /** WorkflowActivation timestamp */
1534
1615
  timestamp?: (google.protobuf.ITimestamp|null);
1535
1616
 
1536
- /** Whether or not the activation is replaying past events */
1617
+ /** WorkflowActivation isReplaying */
1537
1618
  isReplaying?: (boolean|null);
1538
1619
 
1539
- /** This ensures that the number is always deterministic */
1620
+ /** WorkflowActivation historyLength */
1540
1621
  historyLength?: (number|null);
1541
1622
 
1542
- /** The things to do upon activating the workflow */
1623
+ /** WorkflowActivation jobs */
1543
1624
  jobs?: (coresdk.workflow_activation.IWorkflowActivationJob[]|null);
1625
+
1626
+ /** WorkflowActivation availableInternalFlags */
1627
+ availableInternalFlags?: (number[]|null);
1544
1628
  }
1545
1629
 
1546
- /** a cached state. */
1630
+ /** Represents a WorkflowActivation. */
1547
1631
  class WorkflowActivation implements IWorkflowActivation {
1548
1632
 
1549
1633
  /**
@@ -1552,21 +1636,24 @@ export namespace coresdk {
1552
1636
  */
1553
1637
  constructor(properties?: coresdk.workflow_activation.IWorkflowActivation);
1554
1638
 
1555
- /** only ever be one active workflow task (and hence activation) of a run at one time. */
1639
+ /** WorkflowActivation runId. */
1556
1640
  public runId: string;
1557
1641
 
1558
- /** The current time as understood by the workflow, which is set by workflow task started events */
1642
+ /** WorkflowActivation timestamp. */
1559
1643
  public timestamp?: (google.protobuf.ITimestamp|null);
1560
1644
 
1561
- /** Whether or not the activation is replaying past events */
1645
+ /** WorkflowActivation isReplaying. */
1562
1646
  public isReplaying: boolean;
1563
1647
 
1564
- /** This ensures that the number is always deterministic */
1648
+ /** WorkflowActivation historyLength. */
1565
1649
  public historyLength: number;
1566
1650
 
1567
- /** The things to do upon activating the workflow */
1651
+ /** WorkflowActivation jobs. */
1568
1652
  public jobs: coresdk.workflow_activation.IWorkflowActivationJob[];
1569
1653
 
1654
+ /** WorkflowActivation availableInternalFlags. */
1655
+ public availableInternalFlags: number[];
1656
+
1570
1657
  /**
1571
1658
  * Creates a new WorkflowActivation instance using the specified properties.
1572
1659
  * @param [properties] Properties to set
@@ -1641,43 +1728,43 @@ export namespace coresdk {
1641
1728
  /** Properties of a WorkflowActivationJob. */
1642
1729
  interface IWorkflowActivationJob {
1643
1730
 
1644
- /** Begin a workflow for the first time */
1731
+ /** WorkflowActivationJob startWorkflow */
1645
1732
  startWorkflow?: (coresdk.workflow_activation.IStartWorkflow|null);
1646
1733
 
1647
- /** A timer has fired, allowing whatever was waiting on it (if anything) to proceed */
1734
+ /** WorkflowActivationJob fireTimer */
1648
1735
  fireTimer?: (coresdk.workflow_activation.IFireTimer|null);
1649
1736
 
1650
- /** Workflow was reset. The randomness seed must be updated. */
1737
+ /** WorkflowActivationJob updateRandomSeed */
1651
1738
  updateRandomSeed?: (coresdk.workflow_activation.IUpdateRandomSeed|null);
1652
1739
 
1653
- /** A request to query the workflow was received. */
1740
+ /** WorkflowActivationJob queryWorkflow */
1654
1741
  queryWorkflow?: (coresdk.workflow_activation.IQueryWorkflow|null);
1655
1742
 
1656
- /** A request to cancel the workflow was received. */
1743
+ /** WorkflowActivationJob cancelWorkflow */
1657
1744
  cancelWorkflow?: (coresdk.workflow_activation.ICancelWorkflow|null);
1658
1745
 
1659
- /** A request to signal the workflow was received. */
1746
+ /** WorkflowActivationJob signalWorkflow */
1660
1747
  signalWorkflow?: (coresdk.workflow_activation.ISignalWorkflow|null);
1661
1748
 
1662
- /** An activity was resolved, result could be completed, failed or cancelled */
1749
+ /** WorkflowActivationJob resolveActivity */
1663
1750
  resolveActivity?: (coresdk.workflow_activation.IResolveActivity|null);
1664
1751
 
1665
- /** command being sent first. */
1752
+ /** WorkflowActivationJob notifyHasPatch */
1666
1753
  notifyHasPatch?: (coresdk.workflow_activation.INotifyHasPatch|null);
1667
1754
 
1668
- /** A child workflow execution has started or failed to start */
1755
+ /** WorkflowActivationJob resolveChildWorkflowExecutionStart */
1669
1756
  resolveChildWorkflowExecutionStart?: (coresdk.workflow_activation.IResolveChildWorkflowExecutionStart|null);
1670
1757
 
1671
- /** A child workflow was resolved, result could be completed or failed */
1758
+ /** WorkflowActivationJob resolveChildWorkflowExecution */
1672
1759
  resolveChildWorkflowExecution?: (coresdk.workflow_activation.IResolveChildWorkflowExecution|null);
1673
1760
 
1674
- /** An attempt to signal an external workflow resolved */
1761
+ /** WorkflowActivationJob resolveSignalExternalWorkflow */
1675
1762
  resolveSignalExternalWorkflow?: (coresdk.workflow_activation.IResolveSignalExternalWorkflow|null);
1676
1763
 
1677
- /** An attempt to cancel an external workflow resolved */
1764
+ /** WorkflowActivationJob resolveRequestCancelExternalWorkflow */
1678
1765
  resolveRequestCancelExternalWorkflow?: (coresdk.workflow_activation.IResolveRequestCancelExternalWorkflow|null);
1679
1766
 
1680
- /** job list. The string value is a reason for eviction. */
1767
+ /** WorkflowActivationJob removeFromCache */
1681
1768
  removeFromCache?: (coresdk.workflow_activation.IRemoveFromCache|null);
1682
1769
  }
1683
1770
 
@@ -1690,43 +1777,43 @@ export namespace coresdk {
1690
1777
  */
1691
1778
  constructor(properties?: coresdk.workflow_activation.IWorkflowActivationJob);
1692
1779
 
1693
- /** Begin a workflow for the first time */
1780
+ /** WorkflowActivationJob startWorkflow. */
1694
1781
  public startWorkflow?: (coresdk.workflow_activation.IStartWorkflow|null);
1695
1782
 
1696
- /** A timer has fired, allowing whatever was waiting on it (if anything) to proceed */
1783
+ /** WorkflowActivationJob fireTimer. */
1697
1784
  public fireTimer?: (coresdk.workflow_activation.IFireTimer|null);
1698
1785
 
1699
- /** Workflow was reset. The randomness seed must be updated. */
1786
+ /** WorkflowActivationJob updateRandomSeed. */
1700
1787
  public updateRandomSeed?: (coresdk.workflow_activation.IUpdateRandomSeed|null);
1701
1788
 
1702
- /** A request to query the workflow was received. */
1789
+ /** WorkflowActivationJob queryWorkflow. */
1703
1790
  public queryWorkflow?: (coresdk.workflow_activation.IQueryWorkflow|null);
1704
1791
 
1705
- /** A request to cancel the workflow was received. */
1792
+ /** WorkflowActivationJob cancelWorkflow. */
1706
1793
  public cancelWorkflow?: (coresdk.workflow_activation.ICancelWorkflow|null);
1707
1794
 
1708
- /** A request to signal the workflow was received. */
1795
+ /** WorkflowActivationJob signalWorkflow. */
1709
1796
  public signalWorkflow?: (coresdk.workflow_activation.ISignalWorkflow|null);
1710
1797
 
1711
- /** An activity was resolved, result could be completed, failed or cancelled */
1798
+ /** WorkflowActivationJob resolveActivity. */
1712
1799
  public resolveActivity?: (coresdk.workflow_activation.IResolveActivity|null);
1713
1800
 
1714
- /** command being sent first. */
1801
+ /** WorkflowActivationJob notifyHasPatch. */
1715
1802
  public notifyHasPatch?: (coresdk.workflow_activation.INotifyHasPatch|null);
1716
1803
 
1717
- /** A child workflow execution has started or failed to start */
1804
+ /** WorkflowActivationJob resolveChildWorkflowExecutionStart. */
1718
1805
  public resolveChildWorkflowExecutionStart?: (coresdk.workflow_activation.IResolveChildWorkflowExecutionStart|null);
1719
1806
 
1720
- /** A child workflow was resolved, result could be completed or failed */
1807
+ /** WorkflowActivationJob resolveChildWorkflowExecution. */
1721
1808
  public resolveChildWorkflowExecution?: (coresdk.workflow_activation.IResolveChildWorkflowExecution|null);
1722
1809
 
1723
- /** An attempt to signal an external workflow resolved */
1810
+ /** WorkflowActivationJob resolveSignalExternalWorkflow. */
1724
1811
  public resolveSignalExternalWorkflow?: (coresdk.workflow_activation.IResolveSignalExternalWorkflow|null);
1725
1812
 
1726
- /** An attempt to cancel an external workflow resolved */
1813
+ /** WorkflowActivationJob resolveRequestCancelExternalWorkflow. */
1727
1814
  public resolveRequestCancelExternalWorkflow?: (coresdk.workflow_activation.IResolveRequestCancelExternalWorkflow|null);
1728
1815
 
1729
- /** job list. The string value is a reason for eviction. */
1816
+ /** WorkflowActivationJob removeFromCache. */
1730
1817
  public removeFromCache?: (coresdk.workflow_activation.IRemoveFromCache|null);
1731
1818
 
1732
1819
  /** WorkflowActivationJob variant. */
@@ -2028,11 +2115,11 @@ export namespace coresdk {
2028
2115
  /** Properties of a FireTimer. */
2029
2116
  interface IFireTimer {
2030
2117
 
2031
- /** Sequence number as provided by lang in the corresponding StartTimer command */
2118
+ /** FireTimer seq */
2032
2119
  seq?: (number|null);
2033
2120
  }
2034
2121
 
2035
- /** Notify a workflow that a timer has fired */
2122
+ /** Represents a FireTimer. */
2036
2123
  class FireTimer implements IFireTimer {
2037
2124
 
2038
2125
  /**
@@ -2041,7 +2128,7 @@ export namespace coresdk {
2041
2128
  */
2042
2129
  constructor(properties?: coresdk.workflow_activation.IFireTimer);
2043
2130
 
2044
- /** Sequence number as provided by lang in the corresponding StartTimer command */
2131
+ /** FireTimer seq. */
2045
2132
  public seq: number;
2046
2133
 
2047
2134
  /**
@@ -2118,14 +2205,14 @@ export namespace coresdk {
2118
2205
  /** Properties of a ResolveActivity. */
2119
2206
  interface IResolveActivity {
2120
2207
 
2121
- /** Sequence number as provided by lang in the corresponding ScheduleActivity command */
2208
+ /** ResolveActivity seq */
2122
2209
  seq?: (number|null);
2123
2210
 
2124
2211
  /** ResolveActivity result */
2125
2212
  result?: (coresdk.activity_result.IActivityResolution|null);
2126
2213
  }
2127
2214
 
2128
- /** Notify a workflow that an activity has been resolved */
2215
+ /** Represents a ResolveActivity. */
2129
2216
  class ResolveActivity implements IResolveActivity {
2130
2217
 
2131
2218
  /**
@@ -2134,7 +2221,7 @@ export namespace coresdk {
2134
2221
  */
2135
2222
  constructor(properties?: coresdk.workflow_activation.IResolveActivity);
2136
2223
 
2137
- /** Sequence number as provided by lang in the corresponding ScheduleActivity command */
2224
+ /** ResolveActivity seq. */
2138
2225
  public seq: number;
2139
2226
 
2140
2227
  /** ResolveActivity result. */
@@ -2214,7 +2301,7 @@ export namespace coresdk {
2214
2301
  /** Properties of a ResolveChildWorkflowExecutionStart. */
2215
2302
  interface IResolveChildWorkflowExecutionStart {
2216
2303
 
2217
- /** Sequence number as provided by lang in the corresponding StartChildWorkflowExecution command */
2304
+ /** ResolveChildWorkflowExecutionStart seq */
2218
2305
  seq?: (number|null);
2219
2306
 
2220
2307
  /** ResolveChildWorkflowExecutionStart succeeded */
@@ -2227,7 +2314,7 @@ export namespace coresdk {
2227
2314
  cancelled?: (coresdk.workflow_activation.IResolveChildWorkflowExecutionStartCancelled|null);
2228
2315
  }
2229
2316
 
2230
- /** cancelled. */
2317
+ /** Represents a ResolveChildWorkflowExecutionStart. */
2231
2318
  class ResolveChildWorkflowExecutionStart implements IResolveChildWorkflowExecutionStart {
2232
2319
 
2233
2320
  /**
@@ -2236,7 +2323,7 @@ export namespace coresdk {
2236
2323
  */
2237
2324
  constructor(properties?: coresdk.workflow_activation.IResolveChildWorkflowExecutionStart);
2238
2325
 
2239
- /** Sequence number as provided by lang in the corresponding StartChildWorkflowExecution command */
2326
+ /** ResolveChildWorkflowExecutionStart seq. */
2240
2327
  public seq: number;
2241
2328
 
2242
2329
  /** ResolveChildWorkflowExecutionStart succeeded. */
@@ -2329,7 +2416,7 @@ export namespace coresdk {
2329
2416
  runId?: (string|null);
2330
2417
  }
2331
2418
 
2332
- /** Simply pass the run_id to lang */
2419
+ /** Represents a ResolveChildWorkflowExecutionStartSuccess. */
2333
2420
  class ResolveChildWorkflowExecutionStartSuccess implements IResolveChildWorkflowExecutionStartSuccess {
2334
2421
 
2335
2422
  /**
@@ -2415,7 +2502,7 @@ export namespace coresdk {
2415
2502
  /** Properties of a ResolveChildWorkflowExecutionStartFailure. */
2416
2503
  interface IResolveChildWorkflowExecutionStartFailure {
2417
2504
 
2418
- /** for error construction on the lang side. */
2505
+ /** ResolveChildWorkflowExecutionStartFailure workflowId */
2419
2506
  workflowId?: (string|null);
2420
2507
 
2421
2508
  /** ResolveChildWorkflowExecutionStartFailure workflowType */
@@ -2425,7 +2512,7 @@ export namespace coresdk {
2425
2512
  cause?: (coresdk.child_workflow.StartChildWorkflowExecutionFailedCause|null);
2426
2513
  }
2427
2514
 
2428
- /** Provide lang the cause of failure */
2515
+ /** Represents a ResolveChildWorkflowExecutionStartFailure. */
2429
2516
  class ResolveChildWorkflowExecutionStartFailure implements IResolveChildWorkflowExecutionStartFailure {
2430
2517
 
2431
2518
  /**
@@ -2434,7 +2521,7 @@ export namespace coresdk {
2434
2521
  */
2435
2522
  constructor(properties?: coresdk.workflow_activation.IResolveChildWorkflowExecutionStartFailure);
2436
2523
 
2437
- /** for error construction on the lang side. */
2524
+ /** ResolveChildWorkflowExecutionStartFailure workflowId. */
2438
2525
  public workflowId: string;
2439
2526
 
2440
2527
  /** ResolveChildWorkflowExecutionStartFailure workflowType. */
@@ -2521,7 +2608,7 @@ export namespace coresdk {
2521
2608
  failure?: (temporal.api.failure.v1.IFailure|null);
2522
2609
  }
2523
2610
 
2524
- /** The failure is constructed in core for lang's convenience. */
2611
+ /** Represents a ResolveChildWorkflowExecutionStartCancelled. */
2525
2612
  class ResolveChildWorkflowExecutionStartCancelled implements IResolveChildWorkflowExecutionStartCancelled {
2526
2613
 
2527
2614
  /**
@@ -2607,14 +2694,14 @@ export namespace coresdk {
2607
2694
  /** Properties of a ResolveChildWorkflowExecution. */
2608
2695
  interface IResolveChildWorkflowExecution {
2609
2696
 
2610
- /** Sequence number as provided by lang in the corresponding StartChildWorkflowExecution command */
2697
+ /** ResolveChildWorkflowExecution seq */
2611
2698
  seq?: (number|null);
2612
2699
 
2613
2700
  /** ResolveChildWorkflowExecution result */
2614
2701
  result?: (coresdk.child_workflow.IChildWorkflowResult|null);
2615
2702
  }
2616
2703
 
2617
- /** Notify a workflow that a child workflow execution has been resolved */
2704
+ /** Represents a ResolveChildWorkflowExecution. */
2618
2705
  class ResolveChildWorkflowExecution implements IResolveChildWorkflowExecution {
2619
2706
 
2620
2707
  /**
@@ -2623,7 +2710,7 @@ export namespace coresdk {
2623
2710
  */
2624
2711
  constructor(properties?: coresdk.workflow_activation.IResolveChildWorkflowExecution);
2625
2712
 
2626
- /** Sequence number as provided by lang in the corresponding StartChildWorkflowExecution command */
2713
+ /** ResolveChildWorkflowExecution seq. */
2627
2714
  public seq: number;
2628
2715
 
2629
2716
  /** ResolveChildWorkflowExecution result. */
@@ -2707,7 +2794,7 @@ export namespace coresdk {
2707
2794
  randomnessSeed?: (Long|null);
2708
2795
  }
2709
2796
 
2710
- /** Update the workflow's random seed */
2797
+ /** Represents an UpdateRandomSeed. */
2711
2798
  class UpdateRandomSeed implements IUpdateRandomSeed {
2712
2799
 
2713
2800
  /**
@@ -2793,20 +2880,20 @@ export namespace coresdk {
2793
2880
  /** Properties of a QueryWorkflow. */
2794
2881
  interface IQueryWorkflow {
2795
2882
 
2796
- /** lang cannot issue any commands in response other than to answer the query. */
2883
+ /** QueryWorkflow queryId */
2797
2884
  queryId?: (string|null);
2798
2885
 
2799
- /** The query's function/method/etc name */
2886
+ /** QueryWorkflow queryType */
2800
2887
  queryType?: (string|null);
2801
2888
 
2802
2889
  /** QueryWorkflow arguments */
2803
2890
  "arguments"?: (temporal.api.common.v1.IPayload[]|null);
2804
2891
 
2805
- /** Headers attached to the query */
2892
+ /** QueryWorkflow headers */
2806
2893
  headers?: ({ [k: string]: temporal.api.common.v1.IPayload }|null);
2807
2894
  }
2808
2895
 
2809
- /** Query a workflow */
2896
+ /** Represents a QueryWorkflow. */
2810
2897
  class QueryWorkflow implements IQueryWorkflow {
2811
2898
 
2812
2899
  /**
@@ -2815,16 +2902,16 @@ export namespace coresdk {
2815
2902
  */
2816
2903
  constructor(properties?: coresdk.workflow_activation.IQueryWorkflow);
2817
2904
 
2818
- /** lang cannot issue any commands in response other than to answer the query. */
2905
+ /** QueryWorkflow queryId. */
2819
2906
  public queryId: string;
2820
2907
 
2821
- /** The query's function/method/etc name */
2908
+ /** QueryWorkflow queryType. */
2822
2909
  public queryType: string;
2823
2910
 
2824
2911
  /** QueryWorkflow arguments. */
2825
2912
  public arguments: temporal.api.common.v1.IPayload[];
2826
2913
 
2827
- /** Headers attached to the query */
2914
+ /** QueryWorkflow headers. */
2828
2915
  public headers: { [k: string]: temporal.api.common.v1.IPayload };
2829
2916
 
2830
2917
  /**
@@ -2901,11 +2988,11 @@ export namespace coresdk {
2901
2988
  /** Properties of a CancelWorkflow. */
2902
2989
  interface ICancelWorkflow {
2903
2990
 
2904
- /** Information from the cancellation request */
2991
+ /** CancelWorkflow details */
2905
2992
  details?: (temporal.api.common.v1.IPayload[]|null);
2906
2993
  }
2907
2994
 
2908
- /** Cancel a running workflow */
2995
+ /** Represents a CancelWorkflow. */
2909
2996
  class CancelWorkflow implements ICancelWorkflow {
2910
2997
 
2911
2998
  /**
@@ -2914,7 +3001,7 @@ export namespace coresdk {
2914
3001
  */
2915
3002
  constructor(properties?: coresdk.workflow_activation.ICancelWorkflow);
2916
3003
 
2917
- /** Information from the cancellation request */
3004
+ /** CancelWorkflow details. */
2918
3005
  public details: temporal.api.common.v1.IPayload[];
2919
3006
 
2920
3007
  /**
@@ -3189,10 +3276,10 @@ export namespace coresdk {
3189
3276
  /** Properties of a ResolveSignalExternalWorkflow. */
3190
3277
  interface IResolveSignalExternalWorkflow {
3191
3278
 
3192
- /** command */
3279
+ /** ResolveSignalExternalWorkflow seq */
3193
3280
  seq?: (number|null);
3194
3281
 
3195
- /** type / info. */
3282
+ /** ResolveSignalExternalWorkflow failure */
3196
3283
  failure?: (temporal.api.failure.v1.IFailure|null);
3197
3284
  }
3198
3285
 
@@ -3205,10 +3292,10 @@ export namespace coresdk {
3205
3292
  */
3206
3293
  constructor(properties?: coresdk.workflow_activation.IResolveSignalExternalWorkflow);
3207
3294
 
3208
- /** command */
3295
+ /** ResolveSignalExternalWorkflow seq. */
3209
3296
  public seq: number;
3210
3297
 
3211
- /** type / info. */
3298
+ /** ResolveSignalExternalWorkflow failure. */
3212
3299
  public failure?: (temporal.api.failure.v1.IFailure|null);
3213
3300
 
3214
3301
  /**
@@ -3285,10 +3372,10 @@ export namespace coresdk {
3285
3372
  /** Properties of a ResolveRequestCancelExternalWorkflow. */
3286
3373
  interface IResolveRequestCancelExternalWorkflow {
3287
3374
 
3288
- /** RequestCancelExternalWorkflowExecution command */
3375
+ /** ResolveRequestCancelExternalWorkflow seq */
3289
3376
  seq?: (number|null);
3290
3377
 
3291
- /** type / info. */
3378
+ /** ResolveRequestCancelExternalWorkflow failure */
3292
3379
  failure?: (temporal.api.failure.v1.IFailure|null);
3293
3380
  }
3294
3381
 
@@ -3301,10 +3388,10 @@ export namespace coresdk {
3301
3388
  */
3302
3389
  constructor(properties?: coresdk.workflow_activation.IResolveRequestCancelExternalWorkflow);
3303
3390
 
3304
- /** RequestCancelExternalWorkflowExecution command */
3391
+ /** ResolveRequestCancelExternalWorkflow seq. */
3305
3392
  public seq: number;
3306
3393
 
3307
- /** type / info. */
3394
+ /** ResolveRequestCancelExternalWorkflow failure. */
3308
3395
  public failure?: (temporal.api.failure.v1.IFailure|null);
3309
3396
 
3310
3397
  /**
@@ -3486,7 +3573,8 @@ export namespace coresdk {
3486
3573
  LANG_REQUESTED = 5,
3487
3574
  TASK_NOT_FOUND = 6,
3488
3575
  UNHANDLED_COMMAND = 7,
3489
- FATAL = 8
3576
+ FATAL = 8,
3577
+ PAGINATION_OR_HISTORY_FETCH = 9
3490
3578
  }
3491
3579
  }
3492
3580
  }
@@ -3507,7 +3595,7 @@ export namespace coresdk {
3507
3595
  cancelled?: (coresdk.child_workflow.ICancellation|null);
3508
3596
  }
3509
3597
 
3510
- /** Used by core to resolve child workflow executions. */
3598
+ /** Represents a ChildWorkflowResult. */
3511
3599
  class ChildWorkflowResult implements IChildWorkflowResult {
3512
3600
 
3513
3601
  /**
@@ -3606,7 +3694,7 @@ export namespace coresdk {
3606
3694
  result?: (temporal.api.common.v1.IPayload|null);
3607
3695
  }
3608
3696
 
3609
- /** Used in ChildWorkflowResult to report successful completion. */
3697
+ /** Represents a Success. */
3610
3698
  class Success implements ISuccess {
3611
3699
 
3612
3700
  /**
@@ -3696,10 +3784,7 @@ export namespace coresdk {
3696
3784
  failure?: (temporal.api.failure.v1.IFailure|null);
3697
3785
  }
3698
3786
 
3699
- /**
3700
- * Used in ChildWorkflowResult to report non successful outcomes such as
3701
- * application failures, timeouts, terminations, and cancellations.
3702
- */
3787
+ /** Represents a Failure. */
3703
3788
  class Failure implements IFailure {
3704
3789
 
3705
3790
  /**
@@ -3789,10 +3874,7 @@ export namespace coresdk {
3789
3874
  failure?: (temporal.api.failure.v1.IFailure|null);
3790
3875
  }
3791
3876
 
3792
- /**
3793
- * Used in ChildWorkflowResult to report cancellation.
3794
- * Failure should be ChildWorkflowFailure with a CanceledFailure cause.
3795
- */
3877
+ /** Represents a Cancellation. */
3796
3878
  class Cancellation implements ICancellation {
3797
3879
 
3798
3880
  /**
@@ -3875,10 +3957,7 @@ export namespace coresdk {
3875
3957
  public static getTypeUrl(typeUrlPrefix?: string): string;
3876
3958
  }
3877
3959
 
3878
- /**
3879
- * Used by the service to determine the fate of a child workflow
3880
- * in case its parent is closed.
3881
- */
3960
+ /** ParentClosePolicy enum. */
3882
3961
  enum ParentClosePolicy {
3883
3962
  PARENT_CLOSE_POLICY_UNSPECIFIED = 0,
3884
3963
  PARENT_CLOSE_POLICY_TERMINATE = 1,
@@ -3886,13 +3965,13 @@ export namespace coresdk {
3886
3965
  PARENT_CLOSE_POLICY_REQUEST_CANCEL = 3
3887
3966
  }
3888
3967
 
3889
- /** Possible causes of failure to start a child workflow */
3968
+ /** StartChildWorkflowExecutionFailedCause enum. */
3890
3969
  enum StartChildWorkflowExecutionFailedCause {
3891
3970
  START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED = 0,
3892
3971
  START_CHILD_WORKFLOW_EXECUTION_FAILED_CAUSE_WORKFLOW_ALREADY_EXISTS = 1
3893
3972
  }
3894
3973
 
3895
- /** Controls at which point to report back to lang when a child workflow is cancelled */
3974
+ /** ChildWorkflowCancellationType enum. */
3896
3975
  enum ChildWorkflowCancellationType {
3897
3976
  ABANDON = 0,
3898
3977
  TRY_CANCEL = 1,
@@ -4108,7 +4187,7 @@ export namespace coresdk {
4108
4187
  /** Properties of a StartTimer. */
4109
4188
  interface IStartTimer {
4110
4189
 
4111
- /** Lang's incremental sequence number, used as the operation identifier */
4190
+ /** StartTimer seq */
4112
4191
  seq?: (number|null);
4113
4192
 
4114
4193
  /** StartTimer startToFireTimeout */
@@ -4124,7 +4203,7 @@ export namespace coresdk {
4124
4203
  */
4125
4204
  constructor(properties?: coresdk.workflow_commands.IStartTimer);
4126
4205
 
4127
- /** Lang's incremental sequence number, used as the operation identifier */
4206
+ /** StartTimer seq. */
4128
4207
  public seq: number;
4129
4208
 
4130
4209
  /** StartTimer startToFireTimeout. */
@@ -4204,7 +4283,7 @@ export namespace coresdk {
4204
4283
  /** Properties of a CancelTimer. */
4205
4284
  interface ICancelTimer {
4206
4285
 
4207
- /** Lang's incremental sequence number as passed to `StartTimer` */
4286
+ /** CancelTimer seq */
4208
4287
  seq?: (number|null);
4209
4288
  }
4210
4289
 
@@ -4217,7 +4296,7 @@ export namespace coresdk {
4217
4296
  */
4218
4297
  constructor(properties?: coresdk.workflow_commands.ICancelTimer);
4219
4298
 
4220
- /** Lang's incremental sequence number as passed to `StartTimer` */
4299
+ /** CancelTimer seq. */
4221
4300
  public seq: number;
4222
4301
 
4223
4302
  /**
@@ -4294,7 +4373,7 @@ export namespace coresdk {
4294
4373
  /** Properties of a ScheduleActivity. */
4295
4374
  interface IScheduleActivity {
4296
4375
 
4297
- /** Lang's incremental sequence number, used as the operation identifier */
4376
+ /** ScheduleActivity seq */
4298
4377
  seq?: (number|null);
4299
4378
 
4300
4379
  /** ScheduleActivity activityId */
@@ -4309,28 +4388,28 @@ export namespace coresdk {
4309
4388
  /** ScheduleActivity headers */
4310
4389
  headers?: ({ [k: string]: temporal.api.common.v1.IPayload }|null);
4311
4390
 
4312
- /** Arguments/input to the activity. Called "input" upstream. */
4391
+ /** ScheduleActivity arguments */
4313
4392
  "arguments"?: (temporal.api.common.v1.IPayload[]|null);
4314
4393
 
4315
- /** When not specified defaults to the workflow execution timeout. */
4394
+ /** ScheduleActivity scheduleToCloseTimeout */
4316
4395
  scheduleToCloseTimeout?: (google.protobuf.IDuration|null);
4317
4396
 
4318
- /** queue. Defaults to schedule_to_close_timeout or workflow execution timeout if not specified. */
4397
+ /** ScheduleActivity scheduleToStartTimeout */
4319
4398
  scheduleToStartTimeout?: (google.protobuf.IDuration|null);
4320
4399
 
4321
- /** always retryable. Either this or schedule_to_close_timeout must be specified. */
4400
+ /** ScheduleActivity startToCloseTimeout */
4322
4401
  startToCloseTimeout?: (google.protobuf.IDuration|null);
4323
4402
 
4324
- /** Maximum time allowed between successful worker heartbeats. */
4403
+ /** ScheduleActivity heartbeatTimeout */
4325
4404
  heartbeatTimeout?: (google.protobuf.IDuration|null);
4326
4405
 
4327
- /** retry_policy.maximum_attempts to 1. */
4406
+ /** ScheduleActivity retryPolicy */
4328
4407
  retryPolicy?: (temporal.api.common.v1.IRetryPolicy|null);
4329
4408
 
4330
- /** Defines how the workflow will wait (or not) for cancellation of the activity to be confirmed */
4409
+ /** ScheduleActivity cancellationType */
4331
4410
  cancellationType?: (coresdk.workflow_commands.ActivityCancellationType|null);
4332
4411
 
4333
- /** slots are available. */
4412
+ /** ScheduleActivity doNotEagerlyExecute */
4334
4413
  doNotEagerlyExecute?: (boolean|null);
4335
4414
  }
4336
4415
 
@@ -4343,7 +4422,7 @@ export namespace coresdk {
4343
4422
  */
4344
4423
  constructor(properties?: coresdk.workflow_commands.IScheduleActivity);
4345
4424
 
4346
- /** Lang's incremental sequence number, used as the operation identifier */
4425
+ /** ScheduleActivity seq. */
4347
4426
  public seq: number;
4348
4427
 
4349
4428
  /** ScheduleActivity activityId. */
@@ -4358,28 +4437,28 @@ export namespace coresdk {
4358
4437
  /** ScheduleActivity headers. */
4359
4438
  public headers: { [k: string]: temporal.api.common.v1.IPayload };
4360
4439
 
4361
- /** Arguments/input to the activity. Called "input" upstream. */
4440
+ /** ScheduleActivity arguments. */
4362
4441
  public arguments: temporal.api.common.v1.IPayload[];
4363
4442
 
4364
- /** When not specified defaults to the workflow execution timeout. */
4443
+ /** ScheduleActivity scheduleToCloseTimeout. */
4365
4444
  public scheduleToCloseTimeout?: (google.protobuf.IDuration|null);
4366
4445
 
4367
- /** queue. Defaults to schedule_to_close_timeout or workflow execution timeout if not specified. */
4446
+ /** ScheduleActivity scheduleToStartTimeout. */
4368
4447
  public scheduleToStartTimeout?: (google.protobuf.IDuration|null);
4369
4448
 
4370
- /** always retryable. Either this or schedule_to_close_timeout must be specified. */
4449
+ /** ScheduleActivity startToCloseTimeout. */
4371
4450
  public startToCloseTimeout?: (google.protobuf.IDuration|null);
4372
4451
 
4373
- /** Maximum time allowed between successful worker heartbeats. */
4452
+ /** ScheduleActivity heartbeatTimeout. */
4374
4453
  public heartbeatTimeout?: (google.protobuf.IDuration|null);
4375
4454
 
4376
- /** retry_policy.maximum_attempts to 1. */
4455
+ /** ScheduleActivity retryPolicy. */
4377
4456
  public retryPolicy?: (temporal.api.common.v1.IRetryPolicy|null);
4378
4457
 
4379
- /** Defines how the workflow will wait (or not) for cancellation of the activity to be confirmed */
4458
+ /** ScheduleActivity cancellationType. */
4380
4459
  public cancellationType: coresdk.workflow_commands.ActivityCancellationType;
4381
4460
 
4382
- /** slots are available. */
4461
+ /** ScheduleActivity doNotEagerlyExecute. */
4383
4462
  public doNotEagerlyExecute: boolean;
4384
4463
 
4385
4464
  /**
@@ -4456,7 +4535,7 @@ export namespace coresdk {
4456
4535
  /** Properties of a ScheduleLocalActivity. */
4457
4536
  interface IScheduleLocalActivity {
4458
4537
 
4459
- /** Lang's incremental sequence number, used as the operation identifier */
4538
+ /** ScheduleLocalActivity seq */
4460
4539
  seq?: (number|null);
4461
4540
 
4462
4541
  /** ScheduleLocalActivity activityId */
@@ -4465,34 +4544,34 @@ export namespace coresdk {
4465
4544
  /** ScheduleLocalActivity activityType */
4466
4545
  activityType?: (string|null);
4467
4546
 
4468
- /** resolution. */
4547
+ /** ScheduleLocalActivity attempt */
4469
4548
  attempt?: (number|null);
4470
4549
 
4471
- /** scheduling time (as provided in `DoBackoff`) */
4550
+ /** ScheduleLocalActivity originalScheduleTime */
4472
4551
  originalScheduleTime?: (google.protobuf.ITimestamp|null);
4473
4552
 
4474
4553
  /** ScheduleLocalActivity headers */
4475
4554
  headers?: ({ [k: string]: temporal.api.common.v1.IPayload }|null);
4476
4555
 
4477
- /** Arguments/input to the activity. */
4556
+ /** ScheduleLocalActivity arguments */
4478
4557
  "arguments"?: (temporal.api.common.v1.IPayload[]|null);
4479
4558
 
4480
- /** timeout (which may be unset). */
4559
+ /** ScheduleLocalActivity scheduleToCloseTimeout */
4481
4560
  scheduleToCloseTimeout?: (google.protobuf.IDuration|null);
4482
4561
 
4483
- /** `schedule_to_close_timeout` when set, otherwise, it will be clamped down. */
4562
+ /** ScheduleLocalActivity scheduleToStartTimeout */
4484
4563
  scheduleToStartTimeout?: (google.protobuf.IDuration|null);
4485
4564
 
4486
- /** clamped down. */
4565
+ /** ScheduleLocalActivity startToCloseTimeout */
4487
4566
  startToCloseTimeout?: (google.protobuf.IDuration|null);
4488
4567
 
4489
- /** indefinitely. */
4568
+ /** ScheduleLocalActivity retryPolicy */
4490
4569
  retryPolicy?: (temporal.api.common.v1.IRetryPolicy|null);
4491
4570
 
4492
- /** core. Defaults to 1 minute. */
4571
+ /** ScheduleLocalActivity localRetryThreshold */
4493
4572
  localRetryThreshold?: (google.protobuf.IDuration|null);
4494
4573
 
4495
- /** will default to `TRY_CANCEL` automatically. */
4574
+ /** ScheduleLocalActivity cancellationType */
4496
4575
  cancellationType?: (coresdk.workflow_commands.ActivityCancellationType|null);
4497
4576
  }
4498
4577
 
@@ -4505,7 +4584,7 @@ export namespace coresdk {
4505
4584
  */
4506
4585
  constructor(properties?: coresdk.workflow_commands.IScheduleLocalActivity);
4507
4586
 
4508
- /** Lang's incremental sequence number, used as the operation identifier */
4587
+ /** ScheduleLocalActivity seq. */
4509
4588
  public seq: number;
4510
4589
 
4511
4590
  /** ScheduleLocalActivity activityId. */
@@ -4514,34 +4593,34 @@ export namespace coresdk {
4514
4593
  /** ScheduleLocalActivity activityType. */
4515
4594
  public activityType: string;
4516
4595
 
4517
- /** resolution. */
4596
+ /** ScheduleLocalActivity attempt. */
4518
4597
  public attempt: number;
4519
4598
 
4520
- /** scheduling time (as provided in `DoBackoff`) */
4599
+ /** ScheduleLocalActivity originalScheduleTime. */
4521
4600
  public originalScheduleTime?: (google.protobuf.ITimestamp|null);
4522
4601
 
4523
4602
  /** ScheduleLocalActivity headers. */
4524
4603
  public headers: { [k: string]: temporal.api.common.v1.IPayload };
4525
4604
 
4526
- /** Arguments/input to the activity. */
4605
+ /** ScheduleLocalActivity arguments. */
4527
4606
  public arguments: temporal.api.common.v1.IPayload[];
4528
4607
 
4529
- /** timeout (which may be unset). */
4608
+ /** ScheduleLocalActivity scheduleToCloseTimeout. */
4530
4609
  public scheduleToCloseTimeout?: (google.protobuf.IDuration|null);
4531
4610
 
4532
- /** `schedule_to_close_timeout` when set, otherwise, it will be clamped down. */
4611
+ /** ScheduleLocalActivity scheduleToStartTimeout. */
4533
4612
  public scheduleToStartTimeout?: (google.protobuf.IDuration|null);
4534
4613
 
4535
- /** clamped down. */
4614
+ /** ScheduleLocalActivity startToCloseTimeout. */
4536
4615
  public startToCloseTimeout?: (google.protobuf.IDuration|null);
4537
4616
 
4538
- /** indefinitely. */
4617
+ /** ScheduleLocalActivity retryPolicy. */
4539
4618
  public retryPolicy?: (temporal.api.common.v1.IRetryPolicy|null);
4540
4619
 
4541
- /** core. Defaults to 1 minute. */
4620
+ /** ScheduleLocalActivity localRetryThreshold. */
4542
4621
  public localRetryThreshold?: (google.protobuf.IDuration|null);
4543
4622
 
4544
- /** will default to `TRY_CANCEL` automatically. */
4623
+ /** ScheduleLocalActivity cancellationType. */
4545
4624
  public cancellationType: coresdk.workflow_commands.ActivityCancellationType;
4546
4625
 
4547
4626
  /**
@@ -4625,7 +4704,7 @@ export namespace coresdk {
4625
4704
  /** Properties of a RequestCancelActivity. */
4626
4705
  interface IRequestCancelActivity {
4627
4706
 
4628
- /** Lang's incremental sequence number as passed to `ScheduleActivity` */
4707
+ /** RequestCancelActivity seq */
4629
4708
  seq?: (number|null);
4630
4709
  }
4631
4710
 
@@ -4638,7 +4717,7 @@ export namespace coresdk {
4638
4717
  */
4639
4718
  constructor(properties?: coresdk.workflow_commands.IRequestCancelActivity);
4640
4719
 
4641
- /** Lang's incremental sequence number as passed to `ScheduleActivity` */
4720
+ /** RequestCancelActivity seq. */
4642
4721
  public seq: number;
4643
4722
 
4644
4723
  /**
@@ -4715,7 +4794,7 @@ export namespace coresdk {
4715
4794
  /** Properties of a RequestCancelLocalActivity. */
4716
4795
  interface IRequestCancelLocalActivity {
4717
4796
 
4718
- /** Lang's incremental sequence number as passed to `ScheduleLocalActivity` */
4797
+ /** RequestCancelLocalActivity seq */
4719
4798
  seq?: (number|null);
4720
4799
  }
4721
4800
 
@@ -4728,7 +4807,7 @@ export namespace coresdk {
4728
4807
  */
4729
4808
  constructor(properties?: coresdk.workflow_commands.IRequestCancelLocalActivity);
4730
4809
 
4731
- /** Lang's incremental sequence number as passed to `ScheduleLocalActivity` */
4810
+ /** RequestCancelLocalActivity seq. */
4732
4811
  public seq: number;
4733
4812
 
4734
4813
  /**
@@ -4805,7 +4884,7 @@ export namespace coresdk {
4805
4884
  /** Properties of a QueryResult. */
4806
4885
  interface IQueryResult {
4807
4886
 
4808
- /** Corresponds to the id provided in the activation job */
4887
+ /** QueryResult queryId */
4809
4888
  queryId?: (string|null);
4810
4889
 
4811
4890
  /** QueryResult succeeded */
@@ -4824,7 +4903,7 @@ export namespace coresdk {
4824
4903
  */
4825
4904
  constructor(properties?: coresdk.workflow_commands.IQueryResult);
4826
4905
 
4827
- /** Corresponds to the id provided in the activation job */
4906
+ /** QueryResult queryId. */
4828
4907
  public queryId: string;
4829
4908
 
4830
4909
  /** QueryResult succeeded. */
@@ -5004,7 +5083,7 @@ export namespace coresdk {
5004
5083
  result?: (temporal.api.common.v1.IPayload|null);
5005
5084
  }
5006
5085
 
5007
- /** Issued when the workflow completes successfully */
5086
+ /** Represents a CompleteWorkflowExecution. */
5008
5087
  class CompleteWorkflowExecution implements ICompleteWorkflowExecution {
5009
5088
 
5010
5089
  /**
@@ -5094,7 +5173,7 @@ export namespace coresdk {
5094
5173
  failure?: (temporal.api.failure.v1.IFailure|null);
5095
5174
  }
5096
5175
 
5097
- /** Issued when the workflow errors out */
5176
+ /** Represents a FailWorkflowExecution. */
5098
5177
  class FailWorkflowExecution implements IFailWorkflowExecution {
5099
5178
 
5100
5179
  /**
@@ -5319,7 +5398,7 @@ export namespace coresdk {
5319
5398
  interface ICancelWorkflowExecution {
5320
5399
  }
5321
5400
 
5322
- /** containing a cancellation job. */
5401
+ /** Represents a CancelWorkflowExecution. */
5323
5402
  class CancelWorkflowExecution implements ICancelWorkflowExecution {
5324
5403
 
5325
5404
  /**
@@ -5409,7 +5488,7 @@ export namespace coresdk {
5409
5488
  deprecated?: (boolean|null);
5410
5489
  }
5411
5490
 
5412
- /** A request to set/check if a certain patch is present or not */
5491
+ /** Represents a SetPatchMarker. */
5413
5492
  class SetPatchMarker implements ISetPatchMarker {
5414
5493
 
5415
5494
  /**
@@ -5498,7 +5577,7 @@ export namespace coresdk {
5498
5577
  /** Properties of a StartChildWorkflowExecution. */
5499
5578
  interface IStartChildWorkflowExecution {
5500
5579
 
5501
- /** Lang's incremental sequence number, used as the operation identifier */
5580
+ /** StartChildWorkflowExecution seq */
5502
5581
  seq?: (number|null);
5503
5582
 
5504
5583
  /** StartChildWorkflowExecution namespace */
@@ -5516,16 +5595,16 @@ export namespace coresdk {
5516
5595
  /** StartChildWorkflowExecution input */
5517
5596
  input?: (temporal.api.common.v1.IPayload[]|null);
5518
5597
 
5519
- /** Total workflow execution timeout including retries and continue as new. */
5598
+ /** StartChildWorkflowExecution workflowExecutionTimeout */
5520
5599
  workflowExecutionTimeout?: (google.protobuf.IDuration|null);
5521
5600
 
5522
- /** Timeout of a single workflow run. */
5601
+ /** StartChildWorkflowExecution workflowRunTimeout */
5523
5602
  workflowRunTimeout?: (google.protobuf.IDuration|null);
5524
5603
 
5525
- /** Timeout of a single workflow task. */
5604
+ /** StartChildWorkflowExecution workflowTaskTimeout */
5526
5605
  workflowTaskTimeout?: (google.protobuf.IDuration|null);
5527
5606
 
5528
- /** Default: PARENT_CLOSE_POLICY_TERMINATE. */
5607
+ /** StartChildWorkflowExecution parentClosePolicy */
5529
5608
  parentClosePolicy?: (coresdk.child_workflow.ParentClosePolicy|null);
5530
5609
 
5531
5610
  /** StartChildWorkflowExecution workflowIdReusePolicy */
@@ -5537,20 +5616,20 @@ export namespace coresdk {
5537
5616
  /** StartChildWorkflowExecution cronSchedule */
5538
5617
  cronSchedule?: (string|null);
5539
5618
 
5540
- /** Header fields */
5619
+ /** StartChildWorkflowExecution headers */
5541
5620
  headers?: ({ [k: string]: temporal.api.common.v1.IPayload }|null);
5542
5621
 
5543
- /** Memo fields */
5622
+ /** StartChildWorkflowExecution memo */
5544
5623
  memo?: ({ [k: string]: temporal.api.common.v1.IPayload }|null);
5545
5624
 
5546
- /** Search attributes */
5625
+ /** StartChildWorkflowExecution searchAttributes */
5547
5626
  searchAttributes?: ({ [k: string]: temporal.api.common.v1.IPayload }|null);
5548
5627
 
5549
- /** Defines behaviour of the underlying workflow when child workflow cancellation has been requested. */
5628
+ /** StartChildWorkflowExecution cancellationType */
5550
5629
  cancellationType?: (coresdk.child_workflow.ChildWorkflowCancellationType|null);
5551
5630
  }
5552
5631
 
5553
- /** Start a child workflow execution */
5632
+ /** Represents a StartChildWorkflowExecution. */
5554
5633
  class StartChildWorkflowExecution implements IStartChildWorkflowExecution {
5555
5634
 
5556
5635
  /**
@@ -5559,7 +5638,7 @@ export namespace coresdk {
5559
5638
  */
5560
5639
  constructor(properties?: coresdk.workflow_commands.IStartChildWorkflowExecution);
5561
5640
 
5562
- /** Lang's incremental sequence number, used as the operation identifier */
5641
+ /** StartChildWorkflowExecution seq. */
5563
5642
  public seq: number;
5564
5643
 
5565
5644
  /** StartChildWorkflowExecution namespace. */
@@ -5577,16 +5656,16 @@ export namespace coresdk {
5577
5656
  /** StartChildWorkflowExecution input. */
5578
5657
  public input: temporal.api.common.v1.IPayload[];
5579
5658
 
5580
- /** Total workflow execution timeout including retries and continue as new. */
5659
+ /** StartChildWorkflowExecution workflowExecutionTimeout. */
5581
5660
  public workflowExecutionTimeout?: (google.protobuf.IDuration|null);
5582
5661
 
5583
- /** Timeout of a single workflow run. */
5662
+ /** StartChildWorkflowExecution workflowRunTimeout. */
5584
5663
  public workflowRunTimeout?: (google.protobuf.IDuration|null);
5585
5664
 
5586
- /** Timeout of a single workflow task. */
5665
+ /** StartChildWorkflowExecution workflowTaskTimeout. */
5587
5666
  public workflowTaskTimeout?: (google.protobuf.IDuration|null);
5588
5667
 
5589
- /** Default: PARENT_CLOSE_POLICY_TERMINATE. */
5668
+ /** StartChildWorkflowExecution parentClosePolicy. */
5590
5669
  public parentClosePolicy: coresdk.child_workflow.ParentClosePolicy;
5591
5670
 
5592
5671
  /** StartChildWorkflowExecution workflowIdReusePolicy. */
@@ -5598,16 +5677,16 @@ export namespace coresdk {
5598
5677
  /** StartChildWorkflowExecution cronSchedule. */
5599
5678
  public cronSchedule: string;
5600
5679
 
5601
- /** Header fields */
5680
+ /** StartChildWorkflowExecution headers. */
5602
5681
  public headers: { [k: string]: temporal.api.common.v1.IPayload };
5603
5682
 
5604
- /** Memo fields */
5683
+ /** StartChildWorkflowExecution memo. */
5605
5684
  public memo: { [k: string]: temporal.api.common.v1.IPayload };
5606
5685
 
5607
- /** Search attributes */
5686
+ /** StartChildWorkflowExecution searchAttributes. */
5608
5687
  public searchAttributes: { [k: string]: temporal.api.common.v1.IPayload };
5609
5688
 
5610
- /** Defines behaviour of the underlying workflow when child workflow cancellation has been requested. */
5689
+ /** StartChildWorkflowExecution cancellationType. */
5611
5690
  public cancellationType: coresdk.child_workflow.ChildWorkflowCancellationType;
5612
5691
 
5613
5692
  /**
@@ -5688,7 +5767,7 @@ export namespace coresdk {
5688
5767
  childWorkflowSeq?: (number|null);
5689
5768
  }
5690
5769
 
5691
- /** Cancel a child workflow */
5770
+ /** Represents a CancelChildWorkflowExecution. */
5692
5771
  class CancelChildWorkflowExecution implements ICancelChildWorkflowExecution {
5693
5772
 
5694
5773
  /**
@@ -5774,7 +5853,7 @@ export namespace coresdk {
5774
5853
  /** Properties of a RequestCancelExternalWorkflowExecution. */
5775
5854
  interface IRequestCancelExternalWorkflowExecution {
5776
5855
 
5777
- /** Lang's incremental sequence number, used as the operation identifier */
5856
+ /** RequestCancelExternalWorkflowExecution seq */
5778
5857
  seq?: (number|null);
5779
5858
 
5780
5859
  /** RequestCancelExternalWorkflowExecution workflowExecution */
@@ -5784,7 +5863,7 @@ export namespace coresdk {
5784
5863
  childWorkflowId?: (string|null);
5785
5864
  }
5786
5865
 
5787
- /** Request cancellation of an external workflow execution (which may be a started child) */
5866
+ /** Represents a RequestCancelExternalWorkflowExecution. */
5788
5867
  class RequestCancelExternalWorkflowExecution implements IRequestCancelExternalWorkflowExecution {
5789
5868
 
5790
5869
  /**
@@ -5793,7 +5872,7 @@ export namespace coresdk {
5793
5872
  */
5794
5873
  constructor(properties?: coresdk.workflow_commands.IRequestCancelExternalWorkflowExecution);
5795
5874
 
5796
- /** Lang's incremental sequence number, used as the operation identifier */
5875
+ /** RequestCancelExternalWorkflowExecution seq. */
5797
5876
  public seq: number;
5798
5877
 
5799
5878
  /** RequestCancelExternalWorkflowExecution workflowExecution. */
@@ -5879,7 +5958,7 @@ export namespace coresdk {
5879
5958
  /** Properties of a SignalExternalWorkflowExecution. */
5880
5959
  interface ISignalExternalWorkflowExecution {
5881
5960
 
5882
- /** Lang's incremental sequence number, used as the operation identifier */
5961
+ /** SignalExternalWorkflowExecution seq */
5883
5962
  seq?: (number|null);
5884
5963
 
5885
5964
  /** SignalExternalWorkflowExecution workflowExecution */
@@ -5888,17 +5967,17 @@ export namespace coresdk {
5888
5967
  /** SignalExternalWorkflowExecution childWorkflowId */
5889
5968
  childWorkflowId?: (string|null);
5890
5969
 
5891
- /** Name of the signal handler */
5970
+ /** SignalExternalWorkflowExecution signalName */
5892
5971
  signalName?: (string|null);
5893
5972
 
5894
- /** Arguments for the handler */
5973
+ /** SignalExternalWorkflowExecution args */
5895
5974
  args?: (temporal.api.common.v1.IPayload[]|null);
5896
5975
 
5897
- /** Headers to attach to the signal */
5976
+ /** SignalExternalWorkflowExecution headers */
5898
5977
  headers?: ({ [k: string]: temporal.api.common.v1.IPayload }|null);
5899
5978
  }
5900
5979
 
5901
- /** Send a signal to an external or child workflow */
5980
+ /** Represents a SignalExternalWorkflowExecution. */
5902
5981
  class SignalExternalWorkflowExecution implements ISignalExternalWorkflowExecution {
5903
5982
 
5904
5983
  /**
@@ -5907,7 +5986,7 @@ export namespace coresdk {
5907
5986
  */
5908
5987
  constructor(properties?: coresdk.workflow_commands.ISignalExternalWorkflowExecution);
5909
5988
 
5910
- /** Lang's incremental sequence number, used as the operation identifier */
5989
+ /** SignalExternalWorkflowExecution seq. */
5911
5990
  public seq: number;
5912
5991
 
5913
5992
  /** SignalExternalWorkflowExecution workflowExecution. */
@@ -5916,13 +5995,13 @@ export namespace coresdk {
5916
5995
  /** SignalExternalWorkflowExecution childWorkflowId. */
5917
5996
  public childWorkflowId?: (string|null);
5918
5997
 
5919
- /** Name of the signal handler */
5998
+ /** SignalExternalWorkflowExecution signalName. */
5920
5999
  public signalName: string;
5921
6000
 
5922
- /** Arguments for the handler */
6001
+ /** SignalExternalWorkflowExecution args. */
5923
6002
  public args: temporal.api.common.v1.IPayload[];
5924
6003
 
5925
- /** Headers to attach to the signal */
6004
+ /** SignalExternalWorkflowExecution headers. */
5926
6005
  public headers: { [k: string]: temporal.api.common.v1.IPayload };
5927
6006
 
5928
6007
  /** SignalExternalWorkflowExecution target. */
@@ -6002,11 +6081,11 @@ export namespace coresdk {
6002
6081
  /** Properties of a CancelSignalWorkflow. */
6003
6082
  interface ICancelSignalWorkflow {
6004
6083
 
6005
- /** Lang's incremental sequence number as passed to `SignalExternalWorkflowExecution` */
6084
+ /** CancelSignalWorkflow seq */
6006
6085
  seq?: (number|null);
6007
6086
  }
6008
6087
 
6009
- /** Can be used to cancel not-already-sent `SignalExternalWorkflowExecution` commands */
6088
+ /** Represents a CancelSignalWorkflow. */
6010
6089
  class CancelSignalWorkflow implements ICancelSignalWorkflow {
6011
6090
 
6012
6091
  /**
@@ -6015,7 +6094,7 @@ export namespace coresdk {
6015
6094
  */
6016
6095
  constructor(properties?: coresdk.workflow_commands.ICancelSignalWorkflow);
6017
6096
 
6018
- /** Lang's incremental sequence number as passed to `SignalExternalWorkflowExecution` */
6097
+ /** CancelSignalWorkflow seq. */
6019
6098
  public seq: number;
6020
6099
 
6021
6100
  /**
@@ -6092,7 +6171,7 @@ export namespace coresdk {
6092
6171
  /** Properties of an UpsertWorkflowSearchAttributes. */
6093
6172
  interface IUpsertWorkflowSearchAttributes {
6094
6173
 
6095
- /** value? */
6174
+ /** UpsertWorkflowSearchAttributes searchAttributes */
6096
6175
  searchAttributes?: ({ [k: string]: temporal.api.common.v1.IPayload }|null);
6097
6176
  }
6098
6177
 
@@ -6105,7 +6184,7 @@ export namespace coresdk {
6105
6184
  */
6106
6185
  constructor(properties?: coresdk.workflow_commands.IUpsertWorkflowSearchAttributes);
6107
6186
 
6108
- /** value? */
6187
+ /** UpsertWorkflowSearchAttributes searchAttributes. */
6109
6188
  public searchAttributes: { [k: string]: temporal.api.common.v1.IPayload };
6110
6189
 
6111
6190
  /**
@@ -6286,7 +6365,7 @@ export namespace coresdk {
6286
6365
  failed?: (coresdk.workflow_completion.IFailure|null);
6287
6366
  }
6288
6367
 
6289
- /** Result of a single workflow activation, reported from lang to core */
6368
+ /** Represents a WorkflowActivationCompletion. */
6290
6369
  class WorkflowActivationCompletion implements IWorkflowActivationCompletion {
6291
6370
 
6292
6371
  /**
@@ -6383,9 +6462,12 @@ export namespace coresdk {
6383
6462
 
6384
6463
  /** Success commands */
6385
6464
  commands?: (coresdk.workflow_commands.IWorkflowCommand[]|null);
6465
+
6466
+ /** Success usedInternalFlags */
6467
+ usedInternalFlags?: (number[]|null);
6386
6468
  }
6387
6469
 
6388
- /** Successful workflow activation with a list of commands generated by the workflow execution */
6470
+ /** Represents a Success. */
6389
6471
  class Success implements ISuccess {
6390
6472
 
6391
6473
  /**
@@ -6397,6 +6479,9 @@ export namespace coresdk {
6397
6479
  /** Success commands. */
6398
6480
  public commands: coresdk.workflow_commands.IWorkflowCommand[];
6399
6481
 
6482
+ /** Success usedInternalFlags. */
6483
+ public usedInternalFlags: number[];
6484
+
6400
6485
  /**
6401
6486
  * Creates a new Success instance using the specified properties.
6402
6487
  * @param [properties] Properties to set
@@ -6473,9 +6558,12 @@ export namespace coresdk {
6473
6558
 
6474
6559
  /** Failure failure */
6475
6560
  failure?: (temporal.api.failure.v1.IFailure|null);
6561
+
6562
+ /** Failure forceCause */
6563
+ forceCause?: (temporal.api.enums.v1.WorkflowTaskFailedCause|null);
6476
6564
  }
6477
6565
 
6478
- /** Failure to activate or execute a workflow */
6566
+ /** Represents a Failure. */
6479
6567
  class Failure implements IFailure {
6480
6568
 
6481
6569
  /**
@@ -6487,6 +6575,9 @@ export namespace coresdk {
6487
6575
  /** Failure failure. */
6488
6576
  public failure?: (temporal.api.failure.v1.IFailure|null);
6489
6577
 
6578
+ /** Failure forceCause. */
6579
+ public forceCause: temporal.api.enums.v1.WorkflowTaskFailedCause;
6580
+
6490
6581
  /**
6491
6582
  * Creates a new Failure instance using the specified properties.
6492
6583
  * @param [properties] Properties to set
@@ -7513,6 +7604,96 @@ export namespace temporal {
7513
7604
  */
7514
7605
  public static getTypeUrl(typeUrlPrefix?: string): string;
7515
7606
  }
7607
+
7608
+ /** Properties of a MeteringMetadata. */
7609
+ interface IMeteringMetadata {
7610
+
7611
+ /** MeteringMetadata nonfirstLocalActivityExecutionAttempts */
7612
+ nonfirstLocalActivityExecutionAttempts?: (number|null);
7613
+ }
7614
+
7615
+ /** Represents a MeteringMetadata. */
7616
+ class MeteringMetadata implements IMeteringMetadata {
7617
+
7618
+ /**
7619
+ * Constructs a new MeteringMetadata.
7620
+ * @param [properties] Properties to set
7621
+ */
7622
+ constructor(properties?: temporal.api.common.v1.IMeteringMetadata);
7623
+
7624
+ /** MeteringMetadata nonfirstLocalActivityExecutionAttempts. */
7625
+ public nonfirstLocalActivityExecutionAttempts: number;
7626
+
7627
+ /**
7628
+ * Creates a new MeteringMetadata instance using the specified properties.
7629
+ * @param [properties] Properties to set
7630
+ * @returns MeteringMetadata instance
7631
+ */
7632
+ public static create(properties?: temporal.api.common.v1.IMeteringMetadata): temporal.api.common.v1.MeteringMetadata;
7633
+
7634
+ /**
7635
+ * Encodes the specified MeteringMetadata message. Does not implicitly {@link temporal.api.common.v1.MeteringMetadata.verify|verify} messages.
7636
+ * @param message MeteringMetadata message or plain object to encode
7637
+ * @param [writer] Writer to encode to
7638
+ * @returns Writer
7639
+ */
7640
+ public static encode(message: temporal.api.common.v1.IMeteringMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
7641
+
7642
+ /**
7643
+ * Encodes the specified MeteringMetadata message, length delimited. Does not implicitly {@link temporal.api.common.v1.MeteringMetadata.verify|verify} messages.
7644
+ * @param message MeteringMetadata message or plain object to encode
7645
+ * @param [writer] Writer to encode to
7646
+ * @returns Writer
7647
+ */
7648
+ public static encodeDelimited(message: temporal.api.common.v1.IMeteringMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
7649
+
7650
+ /**
7651
+ * Decodes a MeteringMetadata message from the specified reader or buffer.
7652
+ * @param reader Reader or buffer to decode from
7653
+ * @param [length] Message length if known beforehand
7654
+ * @returns MeteringMetadata
7655
+ * @throws {Error} If the payload is not a reader or valid buffer
7656
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7657
+ */
7658
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.common.v1.MeteringMetadata;
7659
+
7660
+ /**
7661
+ * Decodes a MeteringMetadata message from the specified reader or buffer, length delimited.
7662
+ * @param reader Reader or buffer to decode from
7663
+ * @returns MeteringMetadata
7664
+ * @throws {Error} If the payload is not a reader or valid buffer
7665
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7666
+ */
7667
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.common.v1.MeteringMetadata;
7668
+
7669
+ /**
7670
+ * Creates a MeteringMetadata message from a plain object. Also converts values to their respective internal types.
7671
+ * @param object Plain object
7672
+ * @returns MeteringMetadata
7673
+ */
7674
+ public static fromObject(object: { [k: string]: any }): temporal.api.common.v1.MeteringMetadata;
7675
+
7676
+ /**
7677
+ * Creates a plain object from a MeteringMetadata message. Also converts values to other types if specified.
7678
+ * @param message MeteringMetadata
7679
+ * @param [options] Conversion options
7680
+ * @returns Plain object
7681
+ */
7682
+ public static toObject(message: temporal.api.common.v1.MeteringMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
7683
+
7684
+ /**
7685
+ * Converts this MeteringMetadata to JSON.
7686
+ * @returns JSON object
7687
+ */
7688
+ public toJSON(): { [k: string]: any };
7689
+
7690
+ /**
7691
+ * Gets the default type url for MeteringMetadata
7692
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7693
+ * @returns The default type url
7694
+ */
7695
+ public static getTypeUrl(typeUrlPrefix?: string): string;
7696
+ }
7516
7697
  }
7517
7698
  }
7518
7699
 
@@ -7537,7 +7718,8 @@ export namespace temporal {
7537
7718
  INDEXED_VALUE_TYPE_INT = 3,
7538
7719
  INDEXED_VALUE_TYPE_DOUBLE = 4,
7539
7720
  INDEXED_VALUE_TYPE_BOOL = 5,
7540
- INDEXED_VALUE_TYPE_DATETIME = 6
7721
+ INDEXED_VALUE_TYPE_DATETIME = 6,
7722
+ INDEXED_VALUE_TYPE_KEYWORD_LIST = 7
7541
7723
  }
7542
7724
 
7543
7725
  /** Severity enum. */
@@ -7628,44 +7810,6 @@ export namespace temporal {
7628
7810
  TIMEOUT_TYPE_HEARTBEAT = 4
7629
7811
  }
7630
7812
 
7631
- /** BatchOperationType enum. */
7632
- enum BatchOperationType {
7633
- BATCH_OPERATION_TYPE_UNSPECIFIED = 0,
7634
- BATCH_OPERATION_TYPE_TERMINATE = 1,
7635
- BATCH_OPERATION_TYPE_CANCEL = 2,
7636
- BATCH_OPERATION_TYPE_SIGNAL = 3
7637
- }
7638
-
7639
- /** BatchOperationState enum. */
7640
- enum BatchOperationState {
7641
- BATCH_OPERATION_STATE_UNSPECIFIED = 0,
7642
- BATCH_OPERATION_STATE_RUNNING = 1,
7643
- BATCH_OPERATION_STATE_COMPLETED = 2,
7644
- BATCH_OPERATION_STATE_FAILED = 3
7645
- }
7646
-
7647
- /** NamespaceState enum. */
7648
- enum NamespaceState {
7649
- NAMESPACE_STATE_UNSPECIFIED = 0,
7650
- NAMESPACE_STATE_REGISTERED = 1,
7651
- NAMESPACE_STATE_DEPRECATED = 2,
7652
- NAMESPACE_STATE_DELETED = 3
7653
- }
7654
-
7655
- /** ArchivalState enum. */
7656
- enum ArchivalState {
7657
- ARCHIVAL_STATE_UNSPECIFIED = 0,
7658
- ARCHIVAL_STATE_DISABLED = 1,
7659
- ARCHIVAL_STATE_ENABLED = 2
7660
- }
7661
-
7662
- /** ReplicationState enum. */
7663
- enum ReplicationState {
7664
- REPLICATION_STATE_UNSPECIFIED = 0,
7665
- REPLICATION_STATE_NORMAL = 1,
7666
- REPLICATION_STATE_HANDOVER = 2
7667
- }
7668
-
7669
7813
  /** WorkflowTaskFailedCause enum. */
7670
7814
  enum WorkflowTaskFailedCause {
7671
7815
  WORKFLOW_TASK_FAILED_CAUSE_UNSPECIFIED = 0,
@@ -7693,7 +7837,13 @@ export namespace temporal {
7693
7837
  WORKFLOW_TASK_FAILED_CAUSE_SCHEDULE_ACTIVITY_DUPLICATE_ID = 22,
7694
7838
  WORKFLOW_TASK_FAILED_CAUSE_BAD_SEARCH_ATTRIBUTES = 23,
7695
7839
  WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR = 24,
7696
- WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES = 25
7840
+ WORKFLOW_TASK_FAILED_CAUSE_BAD_MODIFY_WORKFLOW_PROPERTIES_ATTRIBUTES = 25,
7841
+ WORKFLOW_TASK_FAILED_CAUSE_PENDING_CHILD_WORKFLOWS_LIMIT_EXCEEDED = 26,
7842
+ WORKFLOW_TASK_FAILED_CAUSE_PENDING_ACTIVITIES_LIMIT_EXCEEDED = 27,
7843
+ WORKFLOW_TASK_FAILED_CAUSE_PENDING_SIGNALS_LIMIT_EXCEEDED = 28,
7844
+ WORKFLOW_TASK_FAILED_CAUSE_PENDING_REQUEST_CANCEL_LIMIT_EXCEEDED = 29,
7845
+ WORKFLOW_TASK_FAILED_CAUSE_BAD_UPDATE_WORKFLOW_EXECUTION_MESSAGE = 30,
7846
+ WORKFLOW_TASK_FAILED_CAUSE_UNHANDLED_UPDATE = 31
7697
7847
  }
7698
7848
 
7699
7849
  /** StartChildWorkflowExecutionFailedCause enum. */
@@ -7726,6 +7876,45 @@ export namespace temporal {
7726
7876
  RESOURCE_EXHAUSTED_CAUSE_PERSISTENCE_LIMIT = 4
7727
7877
  }
7728
7878
 
7879
+ /** BatchOperationType enum. */
7880
+ enum BatchOperationType {
7881
+ BATCH_OPERATION_TYPE_UNSPECIFIED = 0,
7882
+ BATCH_OPERATION_TYPE_TERMINATE = 1,
7883
+ BATCH_OPERATION_TYPE_CANCEL = 2,
7884
+ BATCH_OPERATION_TYPE_SIGNAL = 3,
7885
+ BATCH_OPERATION_TYPE_DELETE = 4
7886
+ }
7887
+
7888
+ /** BatchOperationState enum. */
7889
+ enum BatchOperationState {
7890
+ BATCH_OPERATION_STATE_UNSPECIFIED = 0,
7891
+ BATCH_OPERATION_STATE_RUNNING = 1,
7892
+ BATCH_OPERATION_STATE_COMPLETED = 2,
7893
+ BATCH_OPERATION_STATE_FAILED = 3
7894
+ }
7895
+
7896
+ /** NamespaceState enum. */
7897
+ enum NamespaceState {
7898
+ NAMESPACE_STATE_UNSPECIFIED = 0,
7899
+ NAMESPACE_STATE_REGISTERED = 1,
7900
+ NAMESPACE_STATE_DEPRECATED = 2,
7901
+ NAMESPACE_STATE_DELETED = 3
7902
+ }
7903
+
7904
+ /** ArchivalState enum. */
7905
+ enum ArchivalState {
7906
+ ARCHIVAL_STATE_UNSPECIFIED = 0,
7907
+ ARCHIVAL_STATE_DISABLED = 1,
7908
+ ARCHIVAL_STATE_ENABLED = 2
7909
+ }
7910
+
7911
+ /** ReplicationState enum. */
7912
+ enum ReplicationState {
7913
+ REPLICATION_STATE_UNSPECIFIED = 0,
7914
+ REPLICATION_STATE_NORMAL = 1,
7915
+ REPLICATION_STATE_HANDOVER = 2
7916
+ }
7917
+
7729
7918
  /** QueryResultType enum. */
7730
7919
  enum QueryResultType {
7731
7920
  QUERY_RESULT_TYPE_UNSPECIFIED = 0,
@@ -7762,18 +7951,6 @@ export namespace temporal {
7762
7951
  TASK_QUEUE_TYPE_ACTIVITY = 2
7763
7952
  }
7764
7953
 
7765
- /** WorkflowUpdateResultAccessStyle enum. */
7766
- enum WorkflowUpdateResultAccessStyle {
7767
- WORKFLOW_UPDATE_RESULT_ACCESS_STYLE_UNSPECIFIED = 0,
7768
- WORKFLOW_UPDATE_RESULT_ACCESS_STYLE_REQUIRE_INLINE = 1
7769
- }
7770
-
7771
- /** WorkflowUpdateDurabilityPreference enum. */
7772
- enum WorkflowUpdateDurabilityPreference {
7773
- WORKFLOW_UPDATE_DURABILITY_PREFERENCE_UNSPECIFIED = 0,
7774
- WORKFLOW_UPDATE_DURABILITY_PREFERENCE_BYPASS = 1
7775
- }
7776
-
7777
7954
  /** EventType enum. */
7778
7955
  enum EventType {
7779
7956
  EVENT_TYPE_UNSPECIFIED = 0,
@@ -7817,14 +7994,22 @@ export namespace temporal {
7817
7994
  EVENT_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED = 38,
7818
7995
  EVENT_TYPE_EXTERNAL_WORKFLOW_EXECUTION_SIGNALED = 39,
7819
7996
  EVENT_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES = 40,
7820
- EVENT_TYPE_WORKFLOW_UPDATE_REQUESTED = 41,
7821
- EVENT_TYPE_WORKFLOW_UPDATE_ACCEPTED = 42,
7822
- EVENT_TYPE_WORKFLOW_UPDATE_COMPLETED = 43,
7997
+ EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_ACCEPTED = 41,
7998
+ EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_REJECTED = 42,
7999
+ EVENT_TYPE_WORKFLOW_EXECUTION_UPDATE_COMPLETED = 43,
7823
8000
  EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED_EXTERNALLY = 44,
7824
8001
  EVENT_TYPE_ACTIVITY_PROPERTIES_MODIFIED_EXTERNALLY = 45,
7825
8002
  EVENT_TYPE_WORKFLOW_PROPERTIES_MODIFIED = 46
7826
8003
  }
7827
8004
 
8005
+ /** UpdateWorkflowExecutionLifecycleStage enum. */
8006
+ enum UpdateWorkflowExecutionLifecycleStage {
8007
+ UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_UNSPECIFIED = 0,
8008
+ UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ADMITTED = 1,
8009
+ UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_ACCEPTED = 2,
8010
+ UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED = 3
8011
+ }
8012
+
7828
8013
  /** CommandType enum. */
7829
8014
  enum CommandType {
7830
8015
  COMMAND_TYPE_UNSPECIFIED = 0,
@@ -7841,8 +8026,7 @@ export namespace temporal {
7841
8026
  COMMAND_TYPE_START_CHILD_WORKFLOW_EXECUTION = 11,
7842
8027
  COMMAND_TYPE_SIGNAL_EXTERNAL_WORKFLOW_EXECUTION = 12,
7843
8028
  COMMAND_TYPE_UPSERT_WORKFLOW_SEARCH_ATTRIBUTES = 13,
7844
- COMMAND_TYPE_ACCEPT_WORKFLOW_UPDATE = 14,
7845
- COMMAND_TYPE_COMPLETE_WORKFLOW_UPDATE = 15,
8029
+ COMMAND_TYPE_PROTOCOL_MESSAGE = 14,
7846
8030
  COMMAND_TYPE_MODIFY_WORKFLOW_PROPERTIES = 16
7847
8031
  }
7848
8032
 
@@ -9551,18 +9735,18 @@ export namespace temporal {
9551
9735
  public getWorkerBuildIdOrdering(request: temporal.api.workflowservice.v1.IGetWorkerBuildIdOrderingRequest): Promise<temporal.api.workflowservice.v1.GetWorkerBuildIdOrderingResponse>;
9552
9736
 
9553
9737
  /**
9554
- * Calls UpdateWorkflow.
9555
- * @param request UpdateWorkflowRequest message or plain object
9556
- * @param callback Node-style callback called with the error, if any, and UpdateWorkflowResponse
9738
+ * Calls UpdateWorkflowExecution.
9739
+ * @param request UpdateWorkflowExecutionRequest message or plain object
9740
+ * @param callback Node-style callback called with the error, if any, and UpdateWorkflowExecutionResponse
9557
9741
  */
9558
- public updateWorkflow(request: temporal.api.workflowservice.v1.IUpdateWorkflowRequest, callback: temporal.api.workflowservice.v1.WorkflowService.UpdateWorkflowCallback): void;
9742
+ public updateWorkflowExecution(request: temporal.api.workflowservice.v1.IUpdateWorkflowExecutionRequest, callback: temporal.api.workflowservice.v1.WorkflowService.UpdateWorkflowExecutionCallback): void;
9559
9743
 
9560
9744
  /**
9561
- * Calls UpdateWorkflow.
9562
- * @param request UpdateWorkflowRequest message or plain object
9745
+ * Calls UpdateWorkflowExecution.
9746
+ * @param request UpdateWorkflowExecutionRequest message or plain object
9563
9747
  * @returns Promise
9564
9748
  */
9565
- public updateWorkflow(request: temporal.api.workflowservice.v1.IUpdateWorkflowRequest): Promise<temporal.api.workflowservice.v1.UpdateWorkflowResponse>;
9749
+ public updateWorkflowExecution(request: temporal.api.workflowservice.v1.IUpdateWorkflowExecutionRequest): Promise<temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse>;
9566
9750
 
9567
9751
  /**
9568
9752
  * Calls StartBatchOperation.
@@ -9974,11 +10158,11 @@ export namespace temporal {
9974
10158
  type GetWorkerBuildIdOrderingCallback = (error: (Error|null), response?: temporal.api.workflowservice.v1.GetWorkerBuildIdOrderingResponse) => void;
9975
10159
 
9976
10160
  /**
9977
- * Callback as used by {@link temporal.api.workflowservice.v1.WorkflowService#updateWorkflow}.
10161
+ * Callback as used by {@link temporal.api.workflowservice.v1.WorkflowService#updateWorkflowExecution}.
9978
10162
  * @param error Error, if any
9979
- * @param [response] UpdateWorkflowResponse
10163
+ * @param [response] UpdateWorkflowExecutionResponse
9980
10164
  */
9981
- type UpdateWorkflowCallback = (error: (Error|null), response?: temporal.api.workflowservice.v1.UpdateWorkflowResponse) => void;
10165
+ type UpdateWorkflowExecutionCallback = (error: (Error|null), response?: temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse) => void;
9982
10166
 
9983
10167
  /**
9984
10168
  * Callback as used by {@link temporal.api.workflowservice.v1.WorkflowService#startBatchOperation}.
@@ -11139,6 +11323,15 @@ export namespace temporal {
11139
11323
 
11140
11324
  /** StartWorkflowExecutionRequest header */
11141
11325
  header?: (temporal.api.common.v1.IHeader|null);
11326
+
11327
+ /** StartWorkflowExecutionRequest requestEagerExecution */
11328
+ requestEagerExecution?: (boolean|null);
11329
+
11330
+ /** StartWorkflowExecutionRequest continuedFailure */
11331
+ continuedFailure?: (temporal.api.failure.v1.IFailure|null);
11332
+
11333
+ /** StartWorkflowExecutionRequest lastCompletionResult */
11334
+ lastCompletionResult?: (temporal.api.common.v1.IPayloads|null);
11142
11335
  }
11143
11336
 
11144
11337
  /** Represents a StartWorkflowExecutionRequest. */
@@ -11198,6 +11391,15 @@ export namespace temporal {
11198
11391
  /** StartWorkflowExecutionRequest header. */
11199
11392
  public header?: (temporal.api.common.v1.IHeader|null);
11200
11393
 
11394
+ /** StartWorkflowExecutionRequest requestEagerExecution. */
11395
+ public requestEagerExecution: boolean;
11396
+
11397
+ /** StartWorkflowExecutionRequest continuedFailure. */
11398
+ public continuedFailure?: (temporal.api.failure.v1.IFailure|null);
11399
+
11400
+ /** StartWorkflowExecutionRequest lastCompletionResult. */
11401
+ public lastCompletionResult?: (temporal.api.common.v1.IPayloads|null);
11402
+
11201
11403
  /**
11202
11404
  * Creates a new StartWorkflowExecutionRequest instance using the specified properties.
11203
11405
  * @param [properties] Properties to set
@@ -11274,6 +11476,9 @@ export namespace temporal {
11274
11476
 
11275
11477
  /** StartWorkflowExecutionResponse runId */
11276
11478
  runId?: (string|null);
11479
+
11480
+ /** StartWorkflowExecutionResponse eagerWorkflowTask */
11481
+ eagerWorkflowTask?: (temporal.api.workflowservice.v1.IPollWorkflowTaskQueueResponse|null);
11277
11482
  }
11278
11483
 
11279
11484
  /** Represents a StartWorkflowExecutionResponse. */
@@ -11288,6 +11493,9 @@ export namespace temporal {
11288
11493
  /** StartWorkflowExecutionResponse runId. */
11289
11494
  public runId: string;
11290
11495
 
11496
+ /** StartWorkflowExecutionResponse eagerWorkflowTask. */
11497
+ public eagerWorkflowTask?: (temporal.api.workflowservice.v1.IPollWorkflowTaskQueueResponse|null);
11498
+
11291
11499
  /**
11292
11500
  * Creates a new StartWorkflowExecutionResponse instance using the specified properties.
11293
11501
  * @param [properties] Properties to set
@@ -11955,6 +12163,9 @@ export namespace temporal {
11955
12163
 
11956
12164
  /** PollWorkflowTaskQueueResponse queries */
11957
12165
  queries?: ({ [k: string]: temporal.api.query.v1.IWorkflowQuery }|null);
12166
+
12167
+ /** PollWorkflowTaskQueueResponse messages */
12168
+ messages?: (temporal.api.protocol.v1.IMessage[]|null);
11958
12169
  }
11959
12170
 
11960
12171
  /** Represents a PollWorkflowTaskQueueResponse. */
@@ -12008,6 +12219,9 @@ export namespace temporal {
12008
12219
  /** PollWorkflowTaskQueueResponse queries. */
12009
12220
  public queries: { [k: string]: temporal.api.query.v1.IWorkflowQuery };
12010
12221
 
12222
+ /** PollWorkflowTaskQueueResponse messages. */
12223
+ public messages: temporal.api.protocol.v1.IMessage[];
12224
+
12011
12225
  /**
12012
12226
  * Creates a new PollWorkflowTaskQueueResponse instance using the specified properties.
12013
12227
  * @param [properties] Properties to set
@@ -12111,6 +12325,15 @@ export namespace temporal {
12111
12325
 
12112
12326
  /** RespondWorkflowTaskCompletedRequest workerVersioningId */
12113
12327
  workerVersioningId?: (temporal.api.taskqueue.v1.IVersionId|null);
12328
+
12329
+ /** RespondWorkflowTaskCompletedRequest messages */
12330
+ messages?: (temporal.api.protocol.v1.IMessage[]|null);
12331
+
12332
+ /** RespondWorkflowTaskCompletedRequest sdkMetadata */
12333
+ sdkMetadata?: (temporal.api.sdk.v1.IWorkflowTaskCompletedMetadata|null);
12334
+
12335
+ /** RespondWorkflowTaskCompletedRequest meteringMetadata */
12336
+ meteringMetadata?: (temporal.api.common.v1.IMeteringMetadata|null);
12114
12337
  }
12115
12338
 
12116
12339
  /** Represents a RespondWorkflowTaskCompletedRequest. */
@@ -12152,6 +12375,15 @@ export namespace temporal {
12152
12375
  /** RespondWorkflowTaskCompletedRequest workerVersioningId. */
12153
12376
  public workerVersioningId?: (temporal.api.taskqueue.v1.IVersionId|null);
12154
12377
 
12378
+ /** RespondWorkflowTaskCompletedRequest messages. */
12379
+ public messages: temporal.api.protocol.v1.IMessage[];
12380
+
12381
+ /** RespondWorkflowTaskCompletedRequest sdkMetadata. */
12382
+ public sdkMetadata?: (temporal.api.sdk.v1.IWorkflowTaskCompletedMetadata|null);
12383
+
12384
+ /** RespondWorkflowTaskCompletedRequest meteringMetadata. */
12385
+ public meteringMetadata?: (temporal.api.common.v1.IMeteringMetadata|null);
12386
+
12155
12387
  /**
12156
12388
  * Creates a new RespondWorkflowTaskCompletedRequest instance using the specified properties.
12157
12389
  * @param [properties] Properties to set
@@ -12231,6 +12463,9 @@ export namespace temporal {
12231
12463
 
12232
12464
  /** RespondWorkflowTaskCompletedResponse activityTasks */
12233
12465
  activityTasks?: (temporal.api.workflowservice.v1.IPollActivityTaskQueueResponse[]|null);
12466
+
12467
+ /** RespondWorkflowTaskCompletedResponse resetHistoryEventId */
12468
+ resetHistoryEventId?: (Long|null);
12234
12469
  }
12235
12470
 
12236
12471
  /** Represents a RespondWorkflowTaskCompletedResponse. */
@@ -12248,6 +12483,9 @@ export namespace temporal {
12248
12483
  /** RespondWorkflowTaskCompletedResponse activityTasks. */
12249
12484
  public activityTasks: temporal.api.workflowservice.v1.IPollActivityTaskQueueResponse[];
12250
12485
 
12486
+ /** RespondWorkflowTaskCompletedResponse resetHistoryEventId. */
12487
+ public resetHistoryEventId: Long;
12488
+
12251
12489
  /**
12252
12490
  * Creates a new RespondWorkflowTaskCompletedResponse instance using the specified properties.
12253
12491
  * @param [properties] Properties to set
@@ -12339,6 +12577,9 @@ export namespace temporal {
12339
12577
 
12340
12578
  /** RespondWorkflowTaskFailedRequest namespace */
12341
12579
  namespace?: (string|null);
12580
+
12581
+ /** RespondWorkflowTaskFailedRequest messages */
12582
+ messages?: (temporal.api.protocol.v1.IMessage[]|null);
12342
12583
  }
12343
12584
 
12344
12585
  /** Represents a RespondWorkflowTaskFailedRequest. */
@@ -12368,6 +12609,9 @@ export namespace temporal {
12368
12609
  /** RespondWorkflowTaskFailedRequest namespace. */
12369
12610
  public namespace: string;
12370
12611
 
12612
+ /** RespondWorkflowTaskFailedRequest messages. */
12613
+ public messages: temporal.api.protocol.v1.IMessage[];
12614
+
12371
12615
  /**
12372
12616
  * Creates a new RespondWorkflowTaskFailedRequest instance using the specified properties.
12373
12617
  * @param [properties] Properties to set
@@ -18578,6 +18822,12 @@ export namespace temporal {
18578
18822
 
18579
18823
  /** Capabilities upsertMemo */
18580
18824
  upsertMemo?: (boolean|null);
18825
+
18826
+ /** Capabilities eagerWorkflowStart */
18827
+ eagerWorkflowStart?: (boolean|null);
18828
+
18829
+ /** Capabilities sdkMetadata */
18830
+ sdkMetadata?: (boolean|null);
18581
18831
  }
18582
18832
 
18583
18833
  /** Represents a Capabilities. */
@@ -18610,6 +18860,12 @@ export namespace temporal {
18610
18860
  /** Capabilities upsertMemo. */
18611
18861
  public upsertMemo: boolean;
18612
18862
 
18863
+ /** Capabilities eagerWorkflowStart. */
18864
+ public eagerWorkflowStart: boolean;
18865
+
18866
+ /** Capabilities sdkMetadata. */
18867
+ public sdkMetadata: boolean;
18868
+
18613
18869
  /**
18614
18870
  * Creates a new Capabilities instance using the specified properties.
18615
18871
  * @param [properties] Properties to set
@@ -20686,225 +20942,210 @@ export namespace temporal {
20686
20942
  public static getTypeUrl(typeUrlPrefix?: string): string;
20687
20943
  }
20688
20944
 
20689
- /** Properties of an UpdateWorkflowRequest. */
20690
- interface IUpdateWorkflowRequest {
20691
-
20692
- /** UpdateWorkflowRequest requestId */
20693
- requestId?: (string|null);
20694
-
20695
- /** UpdateWorkflowRequest resultAccessStyle */
20696
- resultAccessStyle?: (temporal.api.enums.v1.WorkflowUpdateResultAccessStyle|null);
20945
+ /** Properties of an UpdateWorkflowExecutionRequest. */
20946
+ interface IUpdateWorkflowExecutionRequest {
20697
20947
 
20698
- /** UpdateWorkflowRequest namespace */
20948
+ /** UpdateWorkflowExecutionRequest namespace */
20699
20949
  namespace?: (string|null);
20700
20950
 
20701
- /** UpdateWorkflowRequest workflowExecution */
20951
+ /** UpdateWorkflowExecutionRequest workflowExecution */
20702
20952
  workflowExecution?: (temporal.api.common.v1.IWorkflowExecution|null);
20703
20953
 
20704
- /** UpdateWorkflowRequest firstExecutionRunId */
20954
+ /** UpdateWorkflowExecutionRequest firstExecutionRunId */
20705
20955
  firstExecutionRunId?: (string|null);
20706
20956
 
20707
- /** UpdateWorkflowRequest update */
20708
- update?: (temporal.api.update.v1.IWorkflowUpdate|null);
20957
+ /** UpdateWorkflowExecutionRequest waitPolicy */
20958
+ waitPolicy?: (temporal.api.update.v1.IWaitPolicy|null);
20959
+
20960
+ /** UpdateWorkflowExecutionRequest request */
20961
+ request?: (temporal.api.update.v1.IRequest|null);
20709
20962
  }
20710
20963
 
20711
- /** Represents an UpdateWorkflowRequest. */
20712
- class UpdateWorkflowRequest implements IUpdateWorkflowRequest {
20964
+ /** Represents an UpdateWorkflowExecutionRequest. */
20965
+ class UpdateWorkflowExecutionRequest implements IUpdateWorkflowExecutionRequest {
20713
20966
 
20714
20967
  /**
20715
- * Constructs a new UpdateWorkflowRequest.
20968
+ * Constructs a new UpdateWorkflowExecutionRequest.
20716
20969
  * @param [properties] Properties to set
20717
20970
  */
20718
- constructor(properties?: temporal.api.workflowservice.v1.IUpdateWorkflowRequest);
20719
-
20720
- /** UpdateWorkflowRequest requestId. */
20721
- public requestId: string;
20722
-
20723
- /** UpdateWorkflowRequest resultAccessStyle. */
20724
- public resultAccessStyle: temporal.api.enums.v1.WorkflowUpdateResultAccessStyle;
20971
+ constructor(properties?: temporal.api.workflowservice.v1.IUpdateWorkflowExecutionRequest);
20725
20972
 
20726
- /** UpdateWorkflowRequest namespace. */
20973
+ /** UpdateWorkflowExecutionRequest namespace. */
20727
20974
  public namespace: string;
20728
20975
 
20729
- /** UpdateWorkflowRequest workflowExecution. */
20976
+ /** UpdateWorkflowExecutionRequest workflowExecution. */
20730
20977
  public workflowExecution?: (temporal.api.common.v1.IWorkflowExecution|null);
20731
20978
 
20732
- /** UpdateWorkflowRequest firstExecutionRunId. */
20979
+ /** UpdateWorkflowExecutionRequest firstExecutionRunId. */
20733
20980
  public firstExecutionRunId: string;
20734
20981
 
20735
- /** UpdateWorkflowRequest update. */
20736
- public update?: (temporal.api.update.v1.IWorkflowUpdate|null);
20982
+ /** UpdateWorkflowExecutionRequest waitPolicy. */
20983
+ public waitPolicy?: (temporal.api.update.v1.IWaitPolicy|null);
20984
+
20985
+ /** UpdateWorkflowExecutionRequest request. */
20986
+ public request?: (temporal.api.update.v1.IRequest|null);
20737
20987
 
20738
20988
  /**
20739
- * Creates a new UpdateWorkflowRequest instance using the specified properties.
20989
+ * Creates a new UpdateWorkflowExecutionRequest instance using the specified properties.
20740
20990
  * @param [properties] Properties to set
20741
- * @returns UpdateWorkflowRequest instance
20991
+ * @returns UpdateWorkflowExecutionRequest instance
20742
20992
  */
20743
- public static create(properties?: temporal.api.workflowservice.v1.IUpdateWorkflowRequest): temporal.api.workflowservice.v1.UpdateWorkflowRequest;
20993
+ public static create(properties?: temporal.api.workflowservice.v1.IUpdateWorkflowExecutionRequest): temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest;
20744
20994
 
20745
20995
  /**
20746
- * Encodes the specified UpdateWorkflowRequest message. Does not implicitly {@link temporal.api.workflowservice.v1.UpdateWorkflowRequest.verify|verify} messages.
20747
- * @param message UpdateWorkflowRequest message or plain object to encode
20996
+ * Encodes the specified UpdateWorkflowExecutionRequest message. Does not implicitly {@link temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest.verify|verify} messages.
20997
+ * @param message UpdateWorkflowExecutionRequest message or plain object to encode
20748
20998
  * @param [writer] Writer to encode to
20749
20999
  * @returns Writer
20750
21000
  */
20751
- public static encode(message: temporal.api.workflowservice.v1.IUpdateWorkflowRequest, writer?: $protobuf.Writer): $protobuf.Writer;
21001
+ public static encode(message: temporal.api.workflowservice.v1.IUpdateWorkflowExecutionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20752
21002
 
20753
21003
  /**
20754
- * Encodes the specified UpdateWorkflowRequest message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.UpdateWorkflowRequest.verify|verify} messages.
20755
- * @param message UpdateWorkflowRequest message or plain object to encode
21004
+ * Encodes the specified UpdateWorkflowExecutionRequest message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest.verify|verify} messages.
21005
+ * @param message UpdateWorkflowExecutionRequest message or plain object to encode
20756
21006
  * @param [writer] Writer to encode to
20757
21007
  * @returns Writer
20758
21008
  */
20759
- public static encodeDelimited(message: temporal.api.workflowservice.v1.IUpdateWorkflowRequest, writer?: $protobuf.Writer): $protobuf.Writer;
21009
+ public static encodeDelimited(message: temporal.api.workflowservice.v1.IUpdateWorkflowExecutionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
20760
21010
 
20761
21011
  /**
20762
- * Decodes an UpdateWorkflowRequest message from the specified reader or buffer.
21012
+ * Decodes an UpdateWorkflowExecutionRequest message from the specified reader or buffer.
20763
21013
  * @param reader Reader or buffer to decode from
20764
21014
  * @param [length] Message length if known beforehand
20765
- * @returns UpdateWorkflowRequest
21015
+ * @returns UpdateWorkflowExecutionRequest
20766
21016
  * @throws {Error} If the payload is not a reader or valid buffer
20767
21017
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20768
21018
  */
20769
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.UpdateWorkflowRequest;
21019
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest;
20770
21020
 
20771
21021
  /**
20772
- * Decodes an UpdateWorkflowRequest message from the specified reader or buffer, length delimited.
21022
+ * Decodes an UpdateWorkflowExecutionRequest message from the specified reader or buffer, length delimited.
20773
21023
  * @param reader Reader or buffer to decode from
20774
- * @returns UpdateWorkflowRequest
21024
+ * @returns UpdateWorkflowExecutionRequest
20775
21025
  * @throws {Error} If the payload is not a reader or valid buffer
20776
21026
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20777
21027
  */
20778
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.UpdateWorkflowRequest;
21028
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest;
20779
21029
 
20780
21030
  /**
20781
- * Creates an UpdateWorkflowRequest message from a plain object. Also converts values to their respective internal types.
21031
+ * Creates an UpdateWorkflowExecutionRequest message from a plain object. Also converts values to their respective internal types.
20782
21032
  * @param object Plain object
20783
- * @returns UpdateWorkflowRequest
21033
+ * @returns UpdateWorkflowExecutionRequest
20784
21034
  */
20785
- public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.UpdateWorkflowRequest;
21035
+ public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest;
20786
21036
 
20787
21037
  /**
20788
- * Creates a plain object from an UpdateWorkflowRequest message. Also converts values to other types if specified.
20789
- * @param message UpdateWorkflowRequest
21038
+ * Creates a plain object from an UpdateWorkflowExecutionRequest message. Also converts values to other types if specified.
21039
+ * @param message UpdateWorkflowExecutionRequest
20790
21040
  * @param [options] Conversion options
20791
21041
  * @returns Plain object
20792
21042
  */
20793
- public static toObject(message: temporal.api.workflowservice.v1.UpdateWorkflowRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
21043
+ public static toObject(message: temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
20794
21044
 
20795
21045
  /**
20796
- * Converts this UpdateWorkflowRequest to JSON.
21046
+ * Converts this UpdateWorkflowExecutionRequest to JSON.
20797
21047
  * @returns JSON object
20798
21048
  */
20799
21049
  public toJSON(): { [k: string]: any };
20800
21050
 
20801
21051
  /**
20802
- * Gets the default type url for UpdateWorkflowRequest
21052
+ * Gets the default type url for UpdateWorkflowExecutionRequest
20803
21053
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
20804
21054
  * @returns The default type url
20805
21055
  */
20806
21056
  public static getTypeUrl(typeUrlPrefix?: string): string;
20807
21057
  }
20808
21058
 
20809
- /** Properties of an UpdateWorkflowResponse. */
20810
- interface IUpdateWorkflowResponse {
20811
-
20812
- /** UpdateWorkflowResponse updateToken */
20813
- updateToken?: (Uint8Array|null);
21059
+ /** Properties of an UpdateWorkflowExecutionResponse. */
21060
+ interface IUpdateWorkflowExecutionResponse {
20814
21061
 
20815
- /** UpdateWorkflowResponse success */
20816
- success?: (temporal.api.common.v1.IPayloads|null);
21062
+ /** UpdateWorkflowExecutionResponse updateRef */
21063
+ updateRef?: (temporal.api.update.v1.IUpdateRef|null);
20817
21064
 
20818
- /** UpdateWorkflowResponse failure */
20819
- failure?: (temporal.api.failure.v1.IFailure|null);
21065
+ /** UpdateWorkflowExecutionResponse outcome */
21066
+ outcome?: (temporal.api.update.v1.IOutcome|null);
20820
21067
  }
20821
21068
 
20822
- /** Represents an UpdateWorkflowResponse. */
20823
- class UpdateWorkflowResponse implements IUpdateWorkflowResponse {
21069
+ /** Represents an UpdateWorkflowExecutionResponse. */
21070
+ class UpdateWorkflowExecutionResponse implements IUpdateWorkflowExecutionResponse {
20824
21071
 
20825
21072
  /**
20826
- * Constructs a new UpdateWorkflowResponse.
21073
+ * Constructs a new UpdateWorkflowExecutionResponse.
20827
21074
  * @param [properties] Properties to set
20828
21075
  */
20829
- constructor(properties?: temporal.api.workflowservice.v1.IUpdateWorkflowResponse);
21076
+ constructor(properties?: temporal.api.workflowservice.v1.IUpdateWorkflowExecutionResponse);
20830
21077
 
20831
- /** UpdateWorkflowResponse updateToken. */
20832
- public updateToken: Uint8Array;
20833
-
20834
- /** UpdateWorkflowResponse success. */
20835
- public success?: (temporal.api.common.v1.IPayloads|null);
20836
-
20837
- /** UpdateWorkflowResponse failure. */
20838
- public failure?: (temporal.api.failure.v1.IFailure|null);
21078
+ /** UpdateWorkflowExecutionResponse updateRef. */
21079
+ public updateRef?: (temporal.api.update.v1.IUpdateRef|null);
20839
21080
 
20840
- /** UpdateWorkflowResponse result. */
20841
- public result?: ("success"|"failure");
21081
+ /** UpdateWorkflowExecutionResponse outcome. */
21082
+ public outcome?: (temporal.api.update.v1.IOutcome|null);
20842
21083
 
20843
21084
  /**
20844
- * Creates a new UpdateWorkflowResponse instance using the specified properties.
21085
+ * Creates a new UpdateWorkflowExecutionResponse instance using the specified properties.
20845
21086
  * @param [properties] Properties to set
20846
- * @returns UpdateWorkflowResponse instance
21087
+ * @returns UpdateWorkflowExecutionResponse instance
20847
21088
  */
20848
- public static create(properties?: temporal.api.workflowservice.v1.IUpdateWorkflowResponse): temporal.api.workflowservice.v1.UpdateWorkflowResponse;
21089
+ public static create(properties?: temporal.api.workflowservice.v1.IUpdateWorkflowExecutionResponse): temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse;
20849
21090
 
20850
21091
  /**
20851
- * Encodes the specified UpdateWorkflowResponse message. Does not implicitly {@link temporal.api.workflowservice.v1.UpdateWorkflowResponse.verify|verify} messages.
20852
- * @param message UpdateWorkflowResponse message or plain object to encode
21092
+ * Encodes the specified UpdateWorkflowExecutionResponse message. Does not implicitly {@link temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse.verify|verify} messages.
21093
+ * @param message UpdateWorkflowExecutionResponse message or plain object to encode
20853
21094
  * @param [writer] Writer to encode to
20854
21095
  * @returns Writer
20855
21096
  */
20856
- public static encode(message: temporal.api.workflowservice.v1.IUpdateWorkflowResponse, writer?: $protobuf.Writer): $protobuf.Writer;
21097
+ public static encode(message: temporal.api.workflowservice.v1.IUpdateWorkflowExecutionResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20857
21098
 
20858
21099
  /**
20859
- * Encodes the specified UpdateWorkflowResponse message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.UpdateWorkflowResponse.verify|verify} messages.
20860
- * @param message UpdateWorkflowResponse message or plain object to encode
21100
+ * Encodes the specified UpdateWorkflowExecutionResponse message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse.verify|verify} messages.
21101
+ * @param message UpdateWorkflowExecutionResponse message or plain object to encode
20861
21102
  * @param [writer] Writer to encode to
20862
21103
  * @returns Writer
20863
21104
  */
20864
- public static encodeDelimited(message: temporal.api.workflowservice.v1.IUpdateWorkflowResponse, writer?: $protobuf.Writer): $protobuf.Writer;
21105
+ public static encodeDelimited(message: temporal.api.workflowservice.v1.IUpdateWorkflowExecutionResponse, writer?: $protobuf.Writer): $protobuf.Writer;
20865
21106
 
20866
21107
  /**
20867
- * Decodes an UpdateWorkflowResponse message from the specified reader or buffer.
21108
+ * Decodes an UpdateWorkflowExecutionResponse message from the specified reader or buffer.
20868
21109
  * @param reader Reader or buffer to decode from
20869
21110
  * @param [length] Message length if known beforehand
20870
- * @returns UpdateWorkflowResponse
21111
+ * @returns UpdateWorkflowExecutionResponse
20871
21112
  * @throws {Error} If the payload is not a reader or valid buffer
20872
21113
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20873
21114
  */
20874
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.UpdateWorkflowResponse;
21115
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse;
20875
21116
 
20876
21117
  /**
20877
- * Decodes an UpdateWorkflowResponse message from the specified reader or buffer, length delimited.
21118
+ * Decodes an UpdateWorkflowExecutionResponse message from the specified reader or buffer, length delimited.
20878
21119
  * @param reader Reader or buffer to decode from
20879
- * @returns UpdateWorkflowResponse
21120
+ * @returns UpdateWorkflowExecutionResponse
20880
21121
  * @throws {Error} If the payload is not a reader or valid buffer
20881
21122
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
20882
21123
  */
20883
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.UpdateWorkflowResponse;
21124
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse;
20884
21125
 
20885
21126
  /**
20886
- * Creates an UpdateWorkflowResponse message from a plain object. Also converts values to their respective internal types.
21127
+ * Creates an UpdateWorkflowExecutionResponse message from a plain object. Also converts values to their respective internal types.
20887
21128
  * @param object Plain object
20888
- * @returns UpdateWorkflowResponse
21129
+ * @returns UpdateWorkflowExecutionResponse
20889
21130
  */
20890
- public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.UpdateWorkflowResponse;
21131
+ public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse;
20891
21132
 
20892
21133
  /**
20893
- * Creates a plain object from an UpdateWorkflowResponse message. Also converts values to other types if specified.
20894
- * @param message UpdateWorkflowResponse
21134
+ * Creates a plain object from an UpdateWorkflowExecutionResponse message. Also converts values to other types if specified.
21135
+ * @param message UpdateWorkflowExecutionResponse
20895
21136
  * @param [options] Conversion options
20896
21137
  * @returns Plain object
20897
21138
  */
20898
- public static toObject(message: temporal.api.workflowservice.v1.UpdateWorkflowResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
21139
+ public static toObject(message: temporal.api.workflowservice.v1.UpdateWorkflowExecutionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
20899
21140
 
20900
21141
  /**
20901
- * Converts this UpdateWorkflowResponse to JSON.
21142
+ * Converts this UpdateWorkflowExecutionResponse to JSON.
20902
21143
  * @returns JSON object
20903
21144
  */
20904
21145
  public toJSON(): { [k: string]: any };
20905
21146
 
20906
21147
  /**
20907
- * Gets the default type url for UpdateWorkflowResponse
21148
+ * Gets the default type url for UpdateWorkflowExecutionResponse
20908
21149
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
20909
21150
  * @returns The default type url
20910
21151
  */
@@ -20926,6 +21167,9 @@ export namespace temporal {
20926
21167
  /** StartBatchOperationRequest reason */
20927
21168
  reason?: (string|null);
20928
21169
 
21170
+ /** StartBatchOperationRequest executions */
21171
+ executions?: (temporal.api.common.v1.IWorkflowExecution[]|null);
21172
+
20929
21173
  /** StartBatchOperationRequest terminationOperation */
20930
21174
  terminationOperation?: (temporal.api.batch.v1.IBatchOperationTermination|null);
20931
21175
 
@@ -20934,6 +21178,9 @@ export namespace temporal {
20934
21178
 
20935
21179
  /** StartBatchOperationRequest cancellationOperation */
20936
21180
  cancellationOperation?: (temporal.api.batch.v1.IBatchOperationCancellation|null);
21181
+
21182
+ /** StartBatchOperationRequest deletionOperation */
21183
+ deletionOperation?: (temporal.api.batch.v1.IBatchOperationDeletion|null);
20937
21184
  }
20938
21185
 
20939
21186
  /** Represents a StartBatchOperationRequest. */
@@ -20957,6 +21204,9 @@ export namespace temporal {
20957
21204
  /** StartBatchOperationRequest reason. */
20958
21205
  public reason: string;
20959
21206
 
21207
+ /** StartBatchOperationRequest executions. */
21208
+ public executions: temporal.api.common.v1.IWorkflowExecution[];
21209
+
20960
21210
  /** StartBatchOperationRequest terminationOperation. */
20961
21211
  public terminationOperation?: (temporal.api.batch.v1.IBatchOperationTermination|null);
20962
21212
 
@@ -20966,8 +21216,11 @@ export namespace temporal {
20966
21216
  /** StartBatchOperationRequest cancellationOperation. */
20967
21217
  public cancellationOperation?: (temporal.api.batch.v1.IBatchOperationCancellation|null);
20968
21218
 
21219
+ /** StartBatchOperationRequest deletionOperation. */
21220
+ public deletionOperation?: (temporal.api.batch.v1.IBatchOperationDeletion|null);
21221
+
20969
21222
  /** StartBatchOperationRequest operation. */
20970
- public operation?: ("terminationOperation"|"signalOperation"|"cancellationOperation");
21223
+ public operation?: ("terminationOperation"|"signalOperation"|"cancellationOperation"|"deletionOperation");
20971
21224
 
20972
21225
  /**
20973
21226
  * Creates a new StartBatchOperationRequest instance using the specified properties.
@@ -22715,6 +22968,12 @@ export namespace temporal {
22715
22968
 
22716
22969
  /** WorkflowTaskCompletedEventAttributes workerVersioningId */
22717
22970
  workerVersioningId?: (temporal.api.taskqueue.v1.IVersionId|null);
22971
+
22972
+ /** WorkflowTaskCompletedEventAttributes sdkMetadata */
22973
+ sdkMetadata?: (temporal.api.sdk.v1.IWorkflowTaskCompletedMetadata|null);
22974
+
22975
+ /** WorkflowTaskCompletedEventAttributes meteringMetadata */
22976
+ meteringMetadata?: (temporal.api.common.v1.IMeteringMetadata|null);
22718
22977
  }
22719
22978
 
22720
22979
  /** Represents a WorkflowTaskCompletedEventAttributes. */
@@ -22741,6 +23000,12 @@ export namespace temporal {
22741
23000
  /** WorkflowTaskCompletedEventAttributes workerVersioningId. */
22742
23001
  public workerVersioningId?: (temporal.api.taskqueue.v1.IVersionId|null);
22743
23002
 
23003
+ /** WorkflowTaskCompletedEventAttributes sdkMetadata. */
23004
+ public sdkMetadata?: (temporal.api.sdk.v1.IWorkflowTaskCompletedMetadata|null);
23005
+
23006
+ /** WorkflowTaskCompletedEventAttributes meteringMetadata. */
23007
+ public meteringMetadata?: (temporal.api.common.v1.IMeteringMetadata|null);
23008
+
22744
23009
  /**
22745
23010
  * Creates a new WorkflowTaskCompletedEventAttributes instance using the specified properties.
22746
23011
  * @param [properties] Properties to set
@@ -26694,525 +26959,528 @@ export namespace temporal {
26694
26959
  public static getTypeUrl(typeUrlPrefix?: string): string;
26695
26960
  }
26696
26961
 
26697
- /** Properties of a WorkflowUpdateRequestedEventAttributes. */
26698
- interface IWorkflowUpdateRequestedEventAttributes {
26962
+ /** Properties of a WorkflowPropertiesModifiedExternallyEventAttributes. */
26963
+ interface IWorkflowPropertiesModifiedExternallyEventAttributes {
26699
26964
 
26700
- /** WorkflowUpdateRequestedEventAttributes header */
26701
- header?: (temporal.api.common.v1.IHeader|null);
26965
+ /** WorkflowPropertiesModifiedExternallyEventAttributes newTaskQueue */
26966
+ newTaskQueue?: (string|null);
26702
26967
 
26703
- /** WorkflowUpdateRequestedEventAttributes requestId */
26704
- requestId?: (string|null);
26968
+ /** WorkflowPropertiesModifiedExternallyEventAttributes newWorkflowTaskTimeout */
26969
+ newWorkflowTaskTimeout?: (google.protobuf.IDuration|null);
26705
26970
 
26706
- /** WorkflowUpdateRequestedEventAttributes updateId */
26707
- updateId?: (string|null);
26971
+ /** WorkflowPropertiesModifiedExternallyEventAttributes newWorkflowRunTimeout */
26972
+ newWorkflowRunTimeout?: (google.protobuf.IDuration|null);
26708
26973
 
26709
- /** WorkflowUpdateRequestedEventAttributes update */
26710
- update?: (temporal.api.update.v1.IWorkflowUpdate|null);
26974
+ /** WorkflowPropertiesModifiedExternallyEventAttributes newWorkflowExecutionTimeout */
26975
+ newWorkflowExecutionTimeout?: (google.protobuf.IDuration|null);
26976
+
26977
+ /** WorkflowPropertiesModifiedExternallyEventAttributes upsertedMemo */
26978
+ upsertedMemo?: (temporal.api.common.v1.IMemo|null);
26711
26979
  }
26712
26980
 
26713
- /** Represents a WorkflowUpdateRequestedEventAttributes. */
26714
- class WorkflowUpdateRequestedEventAttributes implements IWorkflowUpdateRequestedEventAttributes {
26981
+ /** Represents a WorkflowPropertiesModifiedExternallyEventAttributes. */
26982
+ class WorkflowPropertiesModifiedExternallyEventAttributes implements IWorkflowPropertiesModifiedExternallyEventAttributes {
26715
26983
 
26716
26984
  /**
26717
- * Constructs a new WorkflowUpdateRequestedEventAttributes.
26985
+ * Constructs a new WorkflowPropertiesModifiedExternallyEventAttributes.
26718
26986
  * @param [properties] Properties to set
26719
26987
  */
26720
- constructor(properties?: temporal.api.history.v1.IWorkflowUpdateRequestedEventAttributes);
26988
+ constructor(properties?: temporal.api.history.v1.IWorkflowPropertiesModifiedExternallyEventAttributes);
26721
26989
 
26722
- /** WorkflowUpdateRequestedEventAttributes header. */
26723
- public header?: (temporal.api.common.v1.IHeader|null);
26990
+ /** WorkflowPropertiesModifiedExternallyEventAttributes newTaskQueue. */
26991
+ public newTaskQueue: string;
26724
26992
 
26725
- /** WorkflowUpdateRequestedEventAttributes requestId. */
26726
- public requestId: string;
26993
+ /** WorkflowPropertiesModifiedExternallyEventAttributes newWorkflowTaskTimeout. */
26994
+ public newWorkflowTaskTimeout?: (google.protobuf.IDuration|null);
26727
26995
 
26728
- /** WorkflowUpdateRequestedEventAttributes updateId. */
26729
- public updateId: string;
26996
+ /** WorkflowPropertiesModifiedExternallyEventAttributes newWorkflowRunTimeout. */
26997
+ public newWorkflowRunTimeout?: (google.protobuf.IDuration|null);
26730
26998
 
26731
- /** WorkflowUpdateRequestedEventAttributes update. */
26732
- public update?: (temporal.api.update.v1.IWorkflowUpdate|null);
26999
+ /** WorkflowPropertiesModifiedExternallyEventAttributes newWorkflowExecutionTimeout. */
27000
+ public newWorkflowExecutionTimeout?: (google.protobuf.IDuration|null);
27001
+
27002
+ /** WorkflowPropertiesModifiedExternallyEventAttributes upsertedMemo. */
27003
+ public upsertedMemo?: (temporal.api.common.v1.IMemo|null);
26733
27004
 
26734
27005
  /**
26735
- * Creates a new WorkflowUpdateRequestedEventAttributes instance using the specified properties.
27006
+ * Creates a new WorkflowPropertiesModifiedExternallyEventAttributes instance using the specified properties.
26736
27007
  * @param [properties] Properties to set
26737
- * @returns WorkflowUpdateRequestedEventAttributes instance
27008
+ * @returns WorkflowPropertiesModifiedExternallyEventAttributes instance
26738
27009
  */
26739
- public static create(properties?: temporal.api.history.v1.IWorkflowUpdateRequestedEventAttributes): temporal.api.history.v1.WorkflowUpdateRequestedEventAttributes;
27010
+ public static create(properties?: temporal.api.history.v1.IWorkflowPropertiesModifiedExternallyEventAttributes): temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes;
26740
27011
 
26741
27012
  /**
26742
- * Encodes the specified WorkflowUpdateRequestedEventAttributes message. Does not implicitly {@link temporal.api.history.v1.WorkflowUpdateRequestedEventAttributes.verify|verify} messages.
26743
- * @param message WorkflowUpdateRequestedEventAttributes message or plain object to encode
27013
+ * Encodes the specified WorkflowPropertiesModifiedExternallyEventAttributes message. Does not implicitly {@link temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.verify|verify} messages.
27014
+ * @param message WorkflowPropertiesModifiedExternallyEventAttributes message or plain object to encode
26744
27015
  * @param [writer] Writer to encode to
26745
27016
  * @returns Writer
26746
27017
  */
26747
- public static encode(message: temporal.api.history.v1.IWorkflowUpdateRequestedEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
27018
+ public static encode(message: temporal.api.history.v1.IWorkflowPropertiesModifiedExternallyEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
26748
27019
 
26749
27020
  /**
26750
- * Encodes the specified WorkflowUpdateRequestedEventAttributes message, length delimited. Does not implicitly {@link temporal.api.history.v1.WorkflowUpdateRequestedEventAttributes.verify|verify} messages.
26751
- * @param message WorkflowUpdateRequestedEventAttributes message or plain object to encode
27021
+ * Encodes the specified WorkflowPropertiesModifiedExternallyEventAttributes message, length delimited. Does not implicitly {@link temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.verify|verify} messages.
27022
+ * @param message WorkflowPropertiesModifiedExternallyEventAttributes message or plain object to encode
26752
27023
  * @param [writer] Writer to encode to
26753
27024
  * @returns Writer
26754
27025
  */
26755
- public static encodeDelimited(message: temporal.api.history.v1.IWorkflowUpdateRequestedEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
27026
+ public static encodeDelimited(message: temporal.api.history.v1.IWorkflowPropertiesModifiedExternallyEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
26756
27027
 
26757
27028
  /**
26758
- * Decodes a WorkflowUpdateRequestedEventAttributes message from the specified reader or buffer.
27029
+ * Decodes a WorkflowPropertiesModifiedExternallyEventAttributes message from the specified reader or buffer.
26759
27030
  * @param reader Reader or buffer to decode from
26760
27031
  * @param [length] Message length if known beforehand
26761
- * @returns WorkflowUpdateRequestedEventAttributes
27032
+ * @returns WorkflowPropertiesModifiedExternallyEventAttributes
26762
27033
  * @throws {Error} If the payload is not a reader or valid buffer
26763
27034
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26764
27035
  */
26765
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.history.v1.WorkflowUpdateRequestedEventAttributes;
27036
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes;
26766
27037
 
26767
27038
  /**
26768
- * Decodes a WorkflowUpdateRequestedEventAttributes message from the specified reader or buffer, length delimited.
27039
+ * Decodes a WorkflowPropertiesModifiedExternallyEventAttributes message from the specified reader or buffer, length delimited.
26769
27040
  * @param reader Reader or buffer to decode from
26770
- * @returns WorkflowUpdateRequestedEventAttributes
27041
+ * @returns WorkflowPropertiesModifiedExternallyEventAttributes
26771
27042
  * @throws {Error} If the payload is not a reader or valid buffer
26772
27043
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26773
27044
  */
26774
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.history.v1.WorkflowUpdateRequestedEventAttributes;
27045
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes;
26775
27046
 
26776
27047
  /**
26777
- * Creates a WorkflowUpdateRequestedEventAttributes message from a plain object. Also converts values to their respective internal types.
27048
+ * Creates a WorkflowPropertiesModifiedExternallyEventAttributes message from a plain object. Also converts values to their respective internal types.
26778
27049
  * @param object Plain object
26779
- * @returns WorkflowUpdateRequestedEventAttributes
27050
+ * @returns WorkflowPropertiesModifiedExternallyEventAttributes
26780
27051
  */
26781
- public static fromObject(object: { [k: string]: any }): temporal.api.history.v1.WorkflowUpdateRequestedEventAttributes;
27052
+ public static fromObject(object: { [k: string]: any }): temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes;
26782
27053
 
26783
27054
  /**
26784
- * Creates a plain object from a WorkflowUpdateRequestedEventAttributes message. Also converts values to other types if specified.
26785
- * @param message WorkflowUpdateRequestedEventAttributes
27055
+ * Creates a plain object from a WorkflowPropertiesModifiedExternallyEventAttributes message. Also converts values to other types if specified.
27056
+ * @param message WorkflowPropertiesModifiedExternallyEventAttributes
26786
27057
  * @param [options] Conversion options
26787
27058
  * @returns Plain object
26788
27059
  */
26789
- public static toObject(message: temporal.api.history.v1.WorkflowUpdateRequestedEventAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
27060
+ public static toObject(message: temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
26790
27061
 
26791
27062
  /**
26792
- * Converts this WorkflowUpdateRequestedEventAttributes to JSON.
27063
+ * Converts this WorkflowPropertiesModifiedExternallyEventAttributes to JSON.
26793
27064
  * @returns JSON object
26794
27065
  */
26795
27066
  public toJSON(): { [k: string]: any };
26796
27067
 
26797
27068
  /**
26798
- * Gets the default type url for WorkflowUpdateRequestedEventAttributes
27069
+ * Gets the default type url for WorkflowPropertiesModifiedExternallyEventAttributes
26799
27070
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
26800
27071
  * @returns The default type url
26801
27072
  */
26802
27073
  public static getTypeUrl(typeUrlPrefix?: string): string;
26803
27074
  }
26804
27075
 
26805
- /** Properties of a WorkflowUpdateAcceptedEventAttributes. */
26806
- interface IWorkflowUpdateAcceptedEventAttributes {
27076
+ /** Properties of an ActivityPropertiesModifiedExternallyEventAttributes. */
27077
+ interface IActivityPropertiesModifiedExternallyEventAttributes {
26807
27078
 
26808
- /** WorkflowUpdateAcceptedEventAttributes header */
26809
- header?: (temporal.api.common.v1.IHeader|null);
27079
+ /** ActivityPropertiesModifiedExternallyEventAttributes scheduledEventId */
27080
+ scheduledEventId?: (Long|null);
26810
27081
 
26811
- /** WorkflowUpdateAcceptedEventAttributes updateId */
26812
- updateId?: (string|null);
27082
+ /** ActivityPropertiesModifiedExternallyEventAttributes newRetryPolicy */
27083
+ newRetryPolicy?: (temporal.api.common.v1.IRetryPolicy|null);
26813
27084
  }
26814
27085
 
26815
- /** Represents a WorkflowUpdateAcceptedEventAttributes. */
26816
- class WorkflowUpdateAcceptedEventAttributes implements IWorkflowUpdateAcceptedEventAttributes {
27086
+ /** Represents an ActivityPropertiesModifiedExternallyEventAttributes. */
27087
+ class ActivityPropertiesModifiedExternallyEventAttributes implements IActivityPropertiesModifiedExternallyEventAttributes {
26817
27088
 
26818
27089
  /**
26819
- * Constructs a new WorkflowUpdateAcceptedEventAttributes.
27090
+ * Constructs a new ActivityPropertiesModifiedExternallyEventAttributes.
26820
27091
  * @param [properties] Properties to set
26821
27092
  */
26822
- constructor(properties?: temporal.api.history.v1.IWorkflowUpdateAcceptedEventAttributes);
27093
+ constructor(properties?: temporal.api.history.v1.IActivityPropertiesModifiedExternallyEventAttributes);
26823
27094
 
26824
- /** WorkflowUpdateAcceptedEventAttributes header. */
26825
- public header?: (temporal.api.common.v1.IHeader|null);
27095
+ /** ActivityPropertiesModifiedExternallyEventAttributes scheduledEventId. */
27096
+ public scheduledEventId: Long;
26826
27097
 
26827
- /** WorkflowUpdateAcceptedEventAttributes updateId. */
26828
- public updateId: string;
27098
+ /** ActivityPropertiesModifiedExternallyEventAttributes newRetryPolicy. */
27099
+ public newRetryPolicy?: (temporal.api.common.v1.IRetryPolicy|null);
26829
27100
 
26830
27101
  /**
26831
- * Creates a new WorkflowUpdateAcceptedEventAttributes instance using the specified properties.
27102
+ * Creates a new ActivityPropertiesModifiedExternallyEventAttributes instance using the specified properties.
26832
27103
  * @param [properties] Properties to set
26833
- * @returns WorkflowUpdateAcceptedEventAttributes instance
27104
+ * @returns ActivityPropertiesModifiedExternallyEventAttributes instance
26834
27105
  */
26835
- public static create(properties?: temporal.api.history.v1.IWorkflowUpdateAcceptedEventAttributes): temporal.api.history.v1.WorkflowUpdateAcceptedEventAttributes;
27106
+ public static create(properties?: temporal.api.history.v1.IActivityPropertiesModifiedExternallyEventAttributes): temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes;
26836
27107
 
26837
27108
  /**
26838
- * Encodes the specified WorkflowUpdateAcceptedEventAttributes message. Does not implicitly {@link temporal.api.history.v1.WorkflowUpdateAcceptedEventAttributes.verify|verify} messages.
26839
- * @param message WorkflowUpdateAcceptedEventAttributes message or plain object to encode
27109
+ * Encodes the specified ActivityPropertiesModifiedExternallyEventAttributes message. Does not implicitly {@link temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.verify|verify} messages.
27110
+ * @param message ActivityPropertiesModifiedExternallyEventAttributes message or plain object to encode
26840
27111
  * @param [writer] Writer to encode to
26841
27112
  * @returns Writer
26842
27113
  */
26843
- public static encode(message: temporal.api.history.v1.IWorkflowUpdateAcceptedEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
27114
+ public static encode(message: temporal.api.history.v1.IActivityPropertiesModifiedExternallyEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
26844
27115
 
26845
27116
  /**
26846
- * Encodes the specified WorkflowUpdateAcceptedEventAttributes message, length delimited. Does not implicitly {@link temporal.api.history.v1.WorkflowUpdateAcceptedEventAttributes.verify|verify} messages.
26847
- * @param message WorkflowUpdateAcceptedEventAttributes message or plain object to encode
27117
+ * Encodes the specified ActivityPropertiesModifiedExternallyEventAttributes message, length delimited. Does not implicitly {@link temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.verify|verify} messages.
27118
+ * @param message ActivityPropertiesModifiedExternallyEventAttributes message or plain object to encode
26848
27119
  * @param [writer] Writer to encode to
26849
27120
  * @returns Writer
26850
27121
  */
26851
- public static encodeDelimited(message: temporal.api.history.v1.IWorkflowUpdateAcceptedEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
27122
+ public static encodeDelimited(message: temporal.api.history.v1.IActivityPropertiesModifiedExternallyEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
26852
27123
 
26853
27124
  /**
26854
- * Decodes a WorkflowUpdateAcceptedEventAttributes message from the specified reader or buffer.
27125
+ * Decodes an ActivityPropertiesModifiedExternallyEventAttributes message from the specified reader or buffer.
26855
27126
  * @param reader Reader or buffer to decode from
26856
27127
  * @param [length] Message length if known beforehand
26857
- * @returns WorkflowUpdateAcceptedEventAttributes
27128
+ * @returns ActivityPropertiesModifiedExternallyEventAttributes
26858
27129
  * @throws {Error} If the payload is not a reader or valid buffer
26859
27130
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26860
27131
  */
26861
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.history.v1.WorkflowUpdateAcceptedEventAttributes;
27132
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes;
26862
27133
 
26863
27134
  /**
26864
- * Decodes a WorkflowUpdateAcceptedEventAttributes message from the specified reader or buffer, length delimited.
27135
+ * Decodes an ActivityPropertiesModifiedExternallyEventAttributes message from the specified reader or buffer, length delimited.
26865
27136
  * @param reader Reader or buffer to decode from
26866
- * @returns WorkflowUpdateAcceptedEventAttributes
27137
+ * @returns ActivityPropertiesModifiedExternallyEventAttributes
26867
27138
  * @throws {Error} If the payload is not a reader or valid buffer
26868
27139
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26869
27140
  */
26870
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.history.v1.WorkflowUpdateAcceptedEventAttributes;
27141
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes;
26871
27142
 
26872
27143
  /**
26873
- * Creates a WorkflowUpdateAcceptedEventAttributes message from a plain object. Also converts values to their respective internal types.
27144
+ * Creates an ActivityPropertiesModifiedExternallyEventAttributes message from a plain object. Also converts values to their respective internal types.
26874
27145
  * @param object Plain object
26875
- * @returns WorkflowUpdateAcceptedEventAttributes
27146
+ * @returns ActivityPropertiesModifiedExternallyEventAttributes
26876
27147
  */
26877
- public static fromObject(object: { [k: string]: any }): temporal.api.history.v1.WorkflowUpdateAcceptedEventAttributes;
27148
+ public static fromObject(object: { [k: string]: any }): temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes;
26878
27149
 
26879
27150
  /**
26880
- * Creates a plain object from a WorkflowUpdateAcceptedEventAttributes message. Also converts values to other types if specified.
26881
- * @param message WorkflowUpdateAcceptedEventAttributes
27151
+ * Creates a plain object from an ActivityPropertiesModifiedExternallyEventAttributes message. Also converts values to other types if specified.
27152
+ * @param message ActivityPropertiesModifiedExternallyEventAttributes
26882
27153
  * @param [options] Conversion options
26883
27154
  * @returns Plain object
26884
27155
  */
26885
- public static toObject(message: temporal.api.history.v1.WorkflowUpdateAcceptedEventAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
27156
+ public static toObject(message: temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
26886
27157
 
26887
27158
  /**
26888
- * Converts this WorkflowUpdateAcceptedEventAttributes to JSON.
27159
+ * Converts this ActivityPropertiesModifiedExternallyEventAttributes to JSON.
26889
27160
  * @returns JSON object
26890
27161
  */
26891
27162
  public toJSON(): { [k: string]: any };
26892
27163
 
26893
27164
  /**
26894
- * Gets the default type url for WorkflowUpdateAcceptedEventAttributes
27165
+ * Gets the default type url for ActivityPropertiesModifiedExternallyEventAttributes
26895
27166
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
26896
27167
  * @returns The default type url
26897
27168
  */
26898
27169
  public static getTypeUrl(typeUrlPrefix?: string): string;
26899
27170
  }
26900
27171
 
26901
- /** Properties of a WorkflowUpdateCompletedEventAttributes. */
26902
- interface IWorkflowUpdateCompletedEventAttributes {
27172
+ /** Properties of a WorkflowExecutionUpdateAcceptedEventAttributes. */
27173
+ interface IWorkflowExecutionUpdateAcceptedEventAttributes {
26903
27174
 
26904
- /** WorkflowUpdateCompletedEventAttributes systemHeader */
26905
- systemHeader?: (temporal.api.common.v1.IHeader|null);
27175
+ /** WorkflowExecutionUpdateAcceptedEventAttributes protocolInstanceId */
27176
+ protocolInstanceId?: (string|null);
26906
27177
 
26907
- /** WorkflowUpdateCompletedEventAttributes updateId */
26908
- updateId?: (string|null);
27178
+ /** WorkflowExecutionUpdateAcceptedEventAttributes acceptedRequestMessageId */
27179
+ acceptedRequestMessageId?: (string|null);
26909
27180
 
26910
- /** WorkflowUpdateCompletedEventAttributes success */
26911
- success?: (temporal.api.common.v1.IPayloads|null);
27181
+ /** WorkflowExecutionUpdateAcceptedEventAttributes acceptedRequestSequencingEventId */
27182
+ acceptedRequestSequencingEventId?: (Long|null);
26912
27183
 
26913
- /** WorkflowUpdateCompletedEventAttributes failure */
26914
- failure?: (temporal.api.failure.v1.IFailure|null);
27184
+ /** WorkflowExecutionUpdateAcceptedEventAttributes acceptedRequest */
27185
+ acceptedRequest?: (temporal.api.update.v1.IRequest|null);
26915
27186
  }
26916
27187
 
26917
- /** Represents a WorkflowUpdateCompletedEventAttributes. */
26918
- class WorkflowUpdateCompletedEventAttributes implements IWorkflowUpdateCompletedEventAttributes {
27188
+ /** Represents a WorkflowExecutionUpdateAcceptedEventAttributes. */
27189
+ class WorkflowExecutionUpdateAcceptedEventAttributes implements IWorkflowExecutionUpdateAcceptedEventAttributes {
26919
27190
 
26920
27191
  /**
26921
- * Constructs a new WorkflowUpdateCompletedEventAttributes.
27192
+ * Constructs a new WorkflowExecutionUpdateAcceptedEventAttributes.
26922
27193
  * @param [properties] Properties to set
26923
27194
  */
26924
- constructor(properties?: temporal.api.history.v1.IWorkflowUpdateCompletedEventAttributes);
27195
+ constructor(properties?: temporal.api.history.v1.IWorkflowExecutionUpdateAcceptedEventAttributes);
26925
27196
 
26926
- /** WorkflowUpdateCompletedEventAttributes systemHeader. */
26927
- public systemHeader?: (temporal.api.common.v1.IHeader|null);
27197
+ /** WorkflowExecutionUpdateAcceptedEventAttributes protocolInstanceId. */
27198
+ public protocolInstanceId: string;
26928
27199
 
26929
- /** WorkflowUpdateCompletedEventAttributes updateId. */
26930
- public updateId: string;
27200
+ /** WorkflowExecutionUpdateAcceptedEventAttributes acceptedRequestMessageId. */
27201
+ public acceptedRequestMessageId: string;
26931
27202
 
26932
- /** WorkflowUpdateCompletedEventAttributes success. */
26933
- public success?: (temporal.api.common.v1.IPayloads|null);
26934
-
26935
- /** WorkflowUpdateCompletedEventAttributes failure. */
26936
- public failure?: (temporal.api.failure.v1.IFailure|null);
27203
+ /** WorkflowExecutionUpdateAcceptedEventAttributes acceptedRequestSequencingEventId. */
27204
+ public acceptedRequestSequencingEventId: Long;
26937
27205
 
26938
- /** WorkflowUpdateCompletedEventAttributes result. */
26939
- public result?: ("success"|"failure");
27206
+ /** WorkflowExecutionUpdateAcceptedEventAttributes acceptedRequest. */
27207
+ public acceptedRequest?: (temporal.api.update.v1.IRequest|null);
26940
27208
 
26941
27209
  /**
26942
- * Creates a new WorkflowUpdateCompletedEventAttributes instance using the specified properties.
27210
+ * Creates a new WorkflowExecutionUpdateAcceptedEventAttributes instance using the specified properties.
26943
27211
  * @param [properties] Properties to set
26944
- * @returns WorkflowUpdateCompletedEventAttributes instance
27212
+ * @returns WorkflowExecutionUpdateAcceptedEventAttributes instance
26945
27213
  */
26946
- public static create(properties?: temporal.api.history.v1.IWorkflowUpdateCompletedEventAttributes): temporal.api.history.v1.WorkflowUpdateCompletedEventAttributes;
27214
+ public static create(properties?: temporal.api.history.v1.IWorkflowExecutionUpdateAcceptedEventAttributes): temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes;
26947
27215
 
26948
27216
  /**
26949
- * Encodes the specified WorkflowUpdateCompletedEventAttributes message. Does not implicitly {@link temporal.api.history.v1.WorkflowUpdateCompletedEventAttributes.verify|verify} messages.
26950
- * @param message WorkflowUpdateCompletedEventAttributes message or plain object to encode
27217
+ * Encodes the specified WorkflowExecutionUpdateAcceptedEventAttributes message. Does not implicitly {@link temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.verify|verify} messages.
27218
+ * @param message WorkflowExecutionUpdateAcceptedEventAttributes message or plain object to encode
26951
27219
  * @param [writer] Writer to encode to
26952
27220
  * @returns Writer
26953
27221
  */
26954
- public static encode(message: temporal.api.history.v1.IWorkflowUpdateCompletedEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
27222
+ public static encode(message: temporal.api.history.v1.IWorkflowExecutionUpdateAcceptedEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
26955
27223
 
26956
27224
  /**
26957
- * Encodes the specified WorkflowUpdateCompletedEventAttributes message, length delimited. Does not implicitly {@link temporal.api.history.v1.WorkflowUpdateCompletedEventAttributes.verify|verify} messages.
26958
- * @param message WorkflowUpdateCompletedEventAttributes message or plain object to encode
27225
+ * Encodes the specified WorkflowExecutionUpdateAcceptedEventAttributes message, length delimited. Does not implicitly {@link temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes.verify|verify} messages.
27226
+ * @param message WorkflowExecutionUpdateAcceptedEventAttributes message or plain object to encode
26959
27227
  * @param [writer] Writer to encode to
26960
27228
  * @returns Writer
26961
27229
  */
26962
- public static encodeDelimited(message: temporal.api.history.v1.IWorkflowUpdateCompletedEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
27230
+ public static encodeDelimited(message: temporal.api.history.v1.IWorkflowExecutionUpdateAcceptedEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
26963
27231
 
26964
27232
  /**
26965
- * Decodes a WorkflowUpdateCompletedEventAttributes message from the specified reader or buffer.
27233
+ * Decodes a WorkflowExecutionUpdateAcceptedEventAttributes message from the specified reader or buffer.
26966
27234
  * @param reader Reader or buffer to decode from
26967
27235
  * @param [length] Message length if known beforehand
26968
- * @returns WorkflowUpdateCompletedEventAttributes
27236
+ * @returns WorkflowExecutionUpdateAcceptedEventAttributes
26969
27237
  * @throws {Error} If the payload is not a reader or valid buffer
26970
27238
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26971
27239
  */
26972
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.history.v1.WorkflowUpdateCompletedEventAttributes;
27240
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes;
26973
27241
 
26974
27242
  /**
26975
- * Decodes a WorkflowUpdateCompletedEventAttributes message from the specified reader or buffer, length delimited.
27243
+ * Decodes a WorkflowExecutionUpdateAcceptedEventAttributes message from the specified reader or buffer, length delimited.
26976
27244
  * @param reader Reader or buffer to decode from
26977
- * @returns WorkflowUpdateCompletedEventAttributes
27245
+ * @returns WorkflowExecutionUpdateAcceptedEventAttributes
26978
27246
  * @throws {Error} If the payload is not a reader or valid buffer
26979
27247
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
26980
27248
  */
26981
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.history.v1.WorkflowUpdateCompletedEventAttributes;
27249
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes;
26982
27250
 
26983
27251
  /**
26984
- * Creates a WorkflowUpdateCompletedEventAttributes message from a plain object. Also converts values to their respective internal types.
27252
+ * Creates a WorkflowExecutionUpdateAcceptedEventAttributes message from a plain object. Also converts values to their respective internal types.
26985
27253
  * @param object Plain object
26986
- * @returns WorkflowUpdateCompletedEventAttributes
27254
+ * @returns WorkflowExecutionUpdateAcceptedEventAttributes
26987
27255
  */
26988
- public static fromObject(object: { [k: string]: any }): temporal.api.history.v1.WorkflowUpdateCompletedEventAttributes;
27256
+ public static fromObject(object: { [k: string]: any }): temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes;
26989
27257
 
26990
27258
  /**
26991
- * Creates a plain object from a WorkflowUpdateCompletedEventAttributes message. Also converts values to other types if specified.
26992
- * @param message WorkflowUpdateCompletedEventAttributes
27259
+ * Creates a plain object from a WorkflowExecutionUpdateAcceptedEventAttributes message. Also converts values to other types if specified.
27260
+ * @param message WorkflowExecutionUpdateAcceptedEventAttributes
26993
27261
  * @param [options] Conversion options
26994
27262
  * @returns Plain object
26995
27263
  */
26996
- public static toObject(message: temporal.api.history.v1.WorkflowUpdateCompletedEventAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
27264
+ public static toObject(message: temporal.api.history.v1.WorkflowExecutionUpdateAcceptedEventAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
26997
27265
 
26998
27266
  /**
26999
- * Converts this WorkflowUpdateCompletedEventAttributes to JSON.
27267
+ * Converts this WorkflowExecutionUpdateAcceptedEventAttributes to JSON.
27000
27268
  * @returns JSON object
27001
27269
  */
27002
27270
  public toJSON(): { [k: string]: any };
27003
27271
 
27004
27272
  /**
27005
- * Gets the default type url for WorkflowUpdateCompletedEventAttributes
27273
+ * Gets the default type url for WorkflowExecutionUpdateAcceptedEventAttributes
27006
27274
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
27007
27275
  * @returns The default type url
27008
27276
  */
27009
27277
  public static getTypeUrl(typeUrlPrefix?: string): string;
27010
27278
  }
27011
27279
 
27012
- /** Properties of a WorkflowPropertiesModifiedExternallyEventAttributes. */
27013
- interface IWorkflowPropertiesModifiedExternallyEventAttributes {
27014
-
27015
- /** WorkflowPropertiesModifiedExternallyEventAttributes newTaskQueue */
27016
- newTaskQueue?: (string|null);
27280
+ /** Properties of a WorkflowExecutionUpdateCompletedEventAttributes. */
27281
+ interface IWorkflowExecutionUpdateCompletedEventAttributes {
27017
27282
 
27018
- /** WorkflowPropertiesModifiedExternallyEventAttributes newWorkflowTaskTimeout */
27019
- newWorkflowTaskTimeout?: (google.protobuf.IDuration|null);
27020
-
27021
- /** WorkflowPropertiesModifiedExternallyEventAttributes newWorkflowRunTimeout */
27022
- newWorkflowRunTimeout?: (google.protobuf.IDuration|null);
27283
+ /** WorkflowExecutionUpdateCompletedEventAttributes meta */
27284
+ meta?: (temporal.api.update.v1.IMeta|null);
27023
27285
 
27024
- /** WorkflowPropertiesModifiedExternallyEventAttributes newWorkflowExecutionTimeout */
27025
- newWorkflowExecutionTimeout?: (google.protobuf.IDuration|null);
27026
-
27027
- /** WorkflowPropertiesModifiedExternallyEventAttributes upsertedMemo */
27028
- upsertedMemo?: (temporal.api.common.v1.IMemo|null);
27286
+ /** WorkflowExecutionUpdateCompletedEventAttributes outcome */
27287
+ outcome?: (temporal.api.update.v1.IOutcome|null);
27029
27288
  }
27030
27289
 
27031
- /** Represents a WorkflowPropertiesModifiedExternallyEventAttributes. */
27032
- class WorkflowPropertiesModifiedExternallyEventAttributes implements IWorkflowPropertiesModifiedExternallyEventAttributes {
27290
+ /** Represents a WorkflowExecutionUpdateCompletedEventAttributes. */
27291
+ class WorkflowExecutionUpdateCompletedEventAttributes implements IWorkflowExecutionUpdateCompletedEventAttributes {
27033
27292
 
27034
27293
  /**
27035
- * Constructs a new WorkflowPropertiesModifiedExternallyEventAttributes.
27294
+ * Constructs a new WorkflowExecutionUpdateCompletedEventAttributes.
27036
27295
  * @param [properties] Properties to set
27037
27296
  */
27038
- constructor(properties?: temporal.api.history.v1.IWorkflowPropertiesModifiedExternallyEventAttributes);
27039
-
27040
- /** WorkflowPropertiesModifiedExternallyEventAttributes newTaskQueue. */
27041
- public newTaskQueue: string;
27042
-
27043
- /** WorkflowPropertiesModifiedExternallyEventAttributes newWorkflowTaskTimeout. */
27044
- public newWorkflowTaskTimeout?: (google.protobuf.IDuration|null);
27045
-
27046
- /** WorkflowPropertiesModifiedExternallyEventAttributes newWorkflowRunTimeout. */
27047
- public newWorkflowRunTimeout?: (google.protobuf.IDuration|null);
27297
+ constructor(properties?: temporal.api.history.v1.IWorkflowExecutionUpdateCompletedEventAttributes);
27048
27298
 
27049
- /** WorkflowPropertiesModifiedExternallyEventAttributes newWorkflowExecutionTimeout. */
27050
- public newWorkflowExecutionTimeout?: (google.protobuf.IDuration|null);
27299
+ /** WorkflowExecutionUpdateCompletedEventAttributes meta. */
27300
+ public meta?: (temporal.api.update.v1.IMeta|null);
27051
27301
 
27052
- /** WorkflowPropertiesModifiedExternallyEventAttributes upsertedMemo. */
27053
- public upsertedMemo?: (temporal.api.common.v1.IMemo|null);
27302
+ /** WorkflowExecutionUpdateCompletedEventAttributes outcome. */
27303
+ public outcome?: (temporal.api.update.v1.IOutcome|null);
27054
27304
 
27055
27305
  /**
27056
- * Creates a new WorkflowPropertiesModifiedExternallyEventAttributes instance using the specified properties.
27306
+ * Creates a new WorkflowExecutionUpdateCompletedEventAttributes instance using the specified properties.
27057
27307
  * @param [properties] Properties to set
27058
- * @returns WorkflowPropertiesModifiedExternallyEventAttributes instance
27308
+ * @returns WorkflowExecutionUpdateCompletedEventAttributes instance
27059
27309
  */
27060
- public static create(properties?: temporal.api.history.v1.IWorkflowPropertiesModifiedExternallyEventAttributes): temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes;
27310
+ public static create(properties?: temporal.api.history.v1.IWorkflowExecutionUpdateCompletedEventAttributes): temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes;
27061
27311
 
27062
27312
  /**
27063
- * Encodes the specified WorkflowPropertiesModifiedExternallyEventAttributes message. Does not implicitly {@link temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.verify|verify} messages.
27064
- * @param message WorkflowPropertiesModifiedExternallyEventAttributes message or plain object to encode
27313
+ * Encodes the specified WorkflowExecutionUpdateCompletedEventAttributes message. Does not implicitly {@link temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.verify|verify} messages.
27314
+ * @param message WorkflowExecutionUpdateCompletedEventAttributes message or plain object to encode
27065
27315
  * @param [writer] Writer to encode to
27066
27316
  * @returns Writer
27067
27317
  */
27068
- public static encode(message: temporal.api.history.v1.IWorkflowPropertiesModifiedExternallyEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
27318
+ public static encode(message: temporal.api.history.v1.IWorkflowExecutionUpdateCompletedEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
27069
27319
 
27070
27320
  /**
27071
- * Encodes the specified WorkflowPropertiesModifiedExternallyEventAttributes message, length delimited. Does not implicitly {@link temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.verify|verify} messages.
27072
- * @param message WorkflowPropertiesModifiedExternallyEventAttributes message or plain object to encode
27321
+ * Encodes the specified WorkflowExecutionUpdateCompletedEventAttributes message, length delimited. Does not implicitly {@link temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes.verify|verify} messages.
27322
+ * @param message WorkflowExecutionUpdateCompletedEventAttributes message or plain object to encode
27073
27323
  * @param [writer] Writer to encode to
27074
27324
  * @returns Writer
27075
27325
  */
27076
- public static encodeDelimited(message: temporal.api.history.v1.IWorkflowPropertiesModifiedExternallyEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
27326
+ public static encodeDelimited(message: temporal.api.history.v1.IWorkflowExecutionUpdateCompletedEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
27077
27327
 
27078
27328
  /**
27079
- * Decodes a WorkflowPropertiesModifiedExternallyEventAttributes message from the specified reader or buffer.
27329
+ * Decodes a WorkflowExecutionUpdateCompletedEventAttributes message from the specified reader or buffer.
27080
27330
  * @param reader Reader or buffer to decode from
27081
27331
  * @param [length] Message length if known beforehand
27082
- * @returns WorkflowPropertiesModifiedExternallyEventAttributes
27332
+ * @returns WorkflowExecutionUpdateCompletedEventAttributes
27083
27333
  * @throws {Error} If the payload is not a reader or valid buffer
27084
27334
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
27085
27335
  */
27086
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes;
27336
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes;
27087
27337
 
27088
27338
  /**
27089
- * Decodes a WorkflowPropertiesModifiedExternallyEventAttributes message from the specified reader or buffer, length delimited.
27339
+ * Decodes a WorkflowExecutionUpdateCompletedEventAttributes message from the specified reader or buffer, length delimited.
27090
27340
  * @param reader Reader or buffer to decode from
27091
- * @returns WorkflowPropertiesModifiedExternallyEventAttributes
27341
+ * @returns WorkflowExecutionUpdateCompletedEventAttributes
27092
27342
  * @throws {Error} If the payload is not a reader or valid buffer
27093
27343
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
27094
27344
  */
27095
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes;
27345
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes;
27096
27346
 
27097
27347
  /**
27098
- * Creates a WorkflowPropertiesModifiedExternallyEventAttributes message from a plain object. Also converts values to their respective internal types.
27348
+ * Creates a WorkflowExecutionUpdateCompletedEventAttributes message from a plain object. Also converts values to their respective internal types.
27099
27349
  * @param object Plain object
27100
- * @returns WorkflowPropertiesModifiedExternallyEventAttributes
27350
+ * @returns WorkflowExecutionUpdateCompletedEventAttributes
27101
27351
  */
27102
- public static fromObject(object: { [k: string]: any }): temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes;
27352
+ public static fromObject(object: { [k: string]: any }): temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes;
27103
27353
 
27104
27354
  /**
27105
- * Creates a plain object from a WorkflowPropertiesModifiedExternallyEventAttributes message. Also converts values to other types if specified.
27106
- * @param message WorkflowPropertiesModifiedExternallyEventAttributes
27355
+ * Creates a plain object from a WorkflowExecutionUpdateCompletedEventAttributes message. Also converts values to other types if specified.
27356
+ * @param message WorkflowExecutionUpdateCompletedEventAttributes
27107
27357
  * @param [options] Conversion options
27108
27358
  * @returns Plain object
27109
27359
  */
27110
- public static toObject(message: temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
27360
+ public static toObject(message: temporal.api.history.v1.WorkflowExecutionUpdateCompletedEventAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
27111
27361
 
27112
27362
  /**
27113
- * Converts this WorkflowPropertiesModifiedExternallyEventAttributes to JSON.
27363
+ * Converts this WorkflowExecutionUpdateCompletedEventAttributes to JSON.
27114
27364
  * @returns JSON object
27115
27365
  */
27116
27366
  public toJSON(): { [k: string]: any };
27117
27367
 
27118
27368
  /**
27119
- * Gets the default type url for WorkflowPropertiesModifiedExternallyEventAttributes
27369
+ * Gets the default type url for WorkflowExecutionUpdateCompletedEventAttributes
27120
27370
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
27121
27371
  * @returns The default type url
27122
27372
  */
27123
27373
  public static getTypeUrl(typeUrlPrefix?: string): string;
27124
27374
  }
27125
27375
 
27126
- /** Properties of an ActivityPropertiesModifiedExternallyEventAttributes. */
27127
- interface IActivityPropertiesModifiedExternallyEventAttributes {
27376
+ /** Properties of a WorkflowExecutionUpdateRejectedEventAttributes. */
27377
+ interface IWorkflowExecutionUpdateRejectedEventAttributes {
27128
27378
 
27129
- /** ActivityPropertiesModifiedExternallyEventAttributes scheduledEventId */
27130
- scheduledEventId?: (Long|null);
27379
+ /** WorkflowExecutionUpdateRejectedEventAttributes protocolInstanceId */
27380
+ protocolInstanceId?: (string|null);
27131
27381
 
27132
- /** ActivityPropertiesModifiedExternallyEventAttributes newRetryPolicy */
27133
- newRetryPolicy?: (temporal.api.common.v1.IRetryPolicy|null);
27382
+ /** WorkflowExecutionUpdateRejectedEventAttributes rejectedRequestMessageId */
27383
+ rejectedRequestMessageId?: (string|null);
27384
+
27385
+ /** WorkflowExecutionUpdateRejectedEventAttributes rejectedRequestSequencingEventId */
27386
+ rejectedRequestSequencingEventId?: (Long|null);
27387
+
27388
+ /** WorkflowExecutionUpdateRejectedEventAttributes rejectedRequest */
27389
+ rejectedRequest?: (temporal.api.update.v1.IRequest|null);
27390
+
27391
+ /** WorkflowExecutionUpdateRejectedEventAttributes failure */
27392
+ failure?: (temporal.api.failure.v1.IFailure|null);
27134
27393
  }
27135
27394
 
27136
- /** Represents an ActivityPropertiesModifiedExternallyEventAttributes. */
27137
- class ActivityPropertiesModifiedExternallyEventAttributes implements IActivityPropertiesModifiedExternallyEventAttributes {
27395
+ /** Represents a WorkflowExecutionUpdateRejectedEventAttributes. */
27396
+ class WorkflowExecutionUpdateRejectedEventAttributes implements IWorkflowExecutionUpdateRejectedEventAttributes {
27138
27397
 
27139
27398
  /**
27140
- * Constructs a new ActivityPropertiesModifiedExternallyEventAttributes.
27399
+ * Constructs a new WorkflowExecutionUpdateRejectedEventAttributes.
27141
27400
  * @param [properties] Properties to set
27142
27401
  */
27143
- constructor(properties?: temporal.api.history.v1.IActivityPropertiesModifiedExternallyEventAttributes);
27402
+ constructor(properties?: temporal.api.history.v1.IWorkflowExecutionUpdateRejectedEventAttributes);
27144
27403
 
27145
- /** ActivityPropertiesModifiedExternallyEventAttributes scheduledEventId. */
27146
- public scheduledEventId: Long;
27404
+ /** WorkflowExecutionUpdateRejectedEventAttributes protocolInstanceId. */
27405
+ public protocolInstanceId: string;
27147
27406
 
27148
- /** ActivityPropertiesModifiedExternallyEventAttributes newRetryPolicy. */
27149
- public newRetryPolicy?: (temporal.api.common.v1.IRetryPolicy|null);
27407
+ /** WorkflowExecutionUpdateRejectedEventAttributes rejectedRequestMessageId. */
27408
+ public rejectedRequestMessageId: string;
27409
+
27410
+ /** WorkflowExecutionUpdateRejectedEventAttributes rejectedRequestSequencingEventId. */
27411
+ public rejectedRequestSequencingEventId: Long;
27412
+
27413
+ /** WorkflowExecutionUpdateRejectedEventAttributes rejectedRequest. */
27414
+ public rejectedRequest?: (temporal.api.update.v1.IRequest|null);
27415
+
27416
+ /** WorkflowExecutionUpdateRejectedEventAttributes failure. */
27417
+ public failure?: (temporal.api.failure.v1.IFailure|null);
27150
27418
 
27151
27419
  /**
27152
- * Creates a new ActivityPropertiesModifiedExternallyEventAttributes instance using the specified properties.
27420
+ * Creates a new WorkflowExecutionUpdateRejectedEventAttributes instance using the specified properties.
27153
27421
  * @param [properties] Properties to set
27154
- * @returns ActivityPropertiesModifiedExternallyEventAttributes instance
27422
+ * @returns WorkflowExecutionUpdateRejectedEventAttributes instance
27155
27423
  */
27156
- public static create(properties?: temporal.api.history.v1.IActivityPropertiesModifiedExternallyEventAttributes): temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes;
27424
+ public static create(properties?: temporal.api.history.v1.IWorkflowExecutionUpdateRejectedEventAttributes): temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes;
27157
27425
 
27158
27426
  /**
27159
- * Encodes the specified ActivityPropertiesModifiedExternallyEventAttributes message. Does not implicitly {@link temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.verify|verify} messages.
27160
- * @param message ActivityPropertiesModifiedExternallyEventAttributes message or plain object to encode
27427
+ * Encodes the specified WorkflowExecutionUpdateRejectedEventAttributes message. Does not implicitly {@link temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.verify|verify} messages.
27428
+ * @param message WorkflowExecutionUpdateRejectedEventAttributes message or plain object to encode
27161
27429
  * @param [writer] Writer to encode to
27162
27430
  * @returns Writer
27163
27431
  */
27164
- public static encode(message: temporal.api.history.v1.IActivityPropertiesModifiedExternallyEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
27432
+ public static encode(message: temporal.api.history.v1.IWorkflowExecutionUpdateRejectedEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
27165
27433
 
27166
27434
  /**
27167
- * Encodes the specified ActivityPropertiesModifiedExternallyEventAttributes message, length delimited. Does not implicitly {@link temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes.verify|verify} messages.
27168
- * @param message ActivityPropertiesModifiedExternallyEventAttributes message or plain object to encode
27435
+ * Encodes the specified WorkflowExecutionUpdateRejectedEventAttributes message, length delimited. Does not implicitly {@link temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes.verify|verify} messages.
27436
+ * @param message WorkflowExecutionUpdateRejectedEventAttributes message or plain object to encode
27169
27437
  * @param [writer] Writer to encode to
27170
27438
  * @returns Writer
27171
27439
  */
27172
- public static encodeDelimited(message: temporal.api.history.v1.IActivityPropertiesModifiedExternallyEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
27440
+ public static encodeDelimited(message: temporal.api.history.v1.IWorkflowExecutionUpdateRejectedEventAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
27173
27441
 
27174
27442
  /**
27175
- * Decodes an ActivityPropertiesModifiedExternallyEventAttributes message from the specified reader or buffer.
27443
+ * Decodes a WorkflowExecutionUpdateRejectedEventAttributes message from the specified reader or buffer.
27176
27444
  * @param reader Reader or buffer to decode from
27177
27445
  * @param [length] Message length if known beforehand
27178
- * @returns ActivityPropertiesModifiedExternallyEventAttributes
27446
+ * @returns WorkflowExecutionUpdateRejectedEventAttributes
27179
27447
  * @throws {Error} If the payload is not a reader or valid buffer
27180
27448
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
27181
27449
  */
27182
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes;
27450
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes;
27183
27451
 
27184
27452
  /**
27185
- * Decodes an ActivityPropertiesModifiedExternallyEventAttributes message from the specified reader or buffer, length delimited.
27453
+ * Decodes a WorkflowExecutionUpdateRejectedEventAttributes message from the specified reader or buffer, length delimited.
27186
27454
  * @param reader Reader or buffer to decode from
27187
- * @returns ActivityPropertiesModifiedExternallyEventAttributes
27455
+ * @returns WorkflowExecutionUpdateRejectedEventAttributes
27188
27456
  * @throws {Error} If the payload is not a reader or valid buffer
27189
27457
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
27190
27458
  */
27191
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes;
27459
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes;
27192
27460
 
27193
27461
  /**
27194
- * Creates an ActivityPropertiesModifiedExternallyEventAttributes message from a plain object. Also converts values to their respective internal types.
27462
+ * Creates a WorkflowExecutionUpdateRejectedEventAttributes message from a plain object. Also converts values to their respective internal types.
27195
27463
  * @param object Plain object
27196
- * @returns ActivityPropertiesModifiedExternallyEventAttributes
27464
+ * @returns WorkflowExecutionUpdateRejectedEventAttributes
27197
27465
  */
27198
- public static fromObject(object: { [k: string]: any }): temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes;
27466
+ public static fromObject(object: { [k: string]: any }): temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes;
27199
27467
 
27200
27468
  /**
27201
- * Creates a plain object from an ActivityPropertiesModifiedExternallyEventAttributes message. Also converts values to other types if specified.
27202
- * @param message ActivityPropertiesModifiedExternallyEventAttributes
27469
+ * Creates a plain object from a WorkflowExecutionUpdateRejectedEventAttributes message. Also converts values to other types if specified.
27470
+ * @param message WorkflowExecutionUpdateRejectedEventAttributes
27203
27471
  * @param [options] Conversion options
27204
27472
  * @returns Plain object
27205
27473
  */
27206
- public static toObject(message: temporal.api.history.v1.ActivityPropertiesModifiedExternallyEventAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
27474
+ public static toObject(message: temporal.api.history.v1.WorkflowExecutionUpdateRejectedEventAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
27207
27475
 
27208
27476
  /**
27209
- * Converts this ActivityPropertiesModifiedExternallyEventAttributes to JSON.
27477
+ * Converts this WorkflowExecutionUpdateRejectedEventAttributes to JSON.
27210
27478
  * @returns JSON object
27211
27479
  */
27212
27480
  public toJSON(): { [k: string]: any };
27213
27481
 
27214
27482
  /**
27215
- * Gets the default type url for ActivityPropertiesModifiedExternallyEventAttributes
27483
+ * Gets the default type url for WorkflowExecutionUpdateRejectedEventAttributes
27216
27484
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
27217
27485
  * @returns The default type url
27218
27486
  */
@@ -27360,14 +27628,14 @@ export namespace temporal {
27360
27628
  /** HistoryEvent upsertWorkflowSearchAttributesEventAttributes */
27361
27629
  upsertWorkflowSearchAttributesEventAttributes?: (temporal.api.history.v1.IUpsertWorkflowSearchAttributesEventAttributes|null);
27362
27630
 
27363
- /** HistoryEvent workflowUpdateRequestedEventAttributes */
27364
- workflowUpdateRequestedEventAttributes?: (temporal.api.history.v1.IWorkflowUpdateRequestedEventAttributes|null);
27631
+ /** HistoryEvent workflowExecutionUpdateAcceptedEventAttributes */
27632
+ workflowExecutionUpdateAcceptedEventAttributes?: (temporal.api.history.v1.IWorkflowExecutionUpdateAcceptedEventAttributes|null);
27365
27633
 
27366
- /** HistoryEvent workflowUpdateAcceptedEventAttributes */
27367
- workflowUpdateAcceptedEventAttributes?: (temporal.api.history.v1.IWorkflowUpdateAcceptedEventAttributes|null);
27634
+ /** HistoryEvent workflowExecutionUpdateRejectedEventAttributes */
27635
+ workflowExecutionUpdateRejectedEventAttributes?: (temporal.api.history.v1.IWorkflowExecutionUpdateRejectedEventAttributes|null);
27368
27636
 
27369
- /** HistoryEvent workflowUpdateCompletedEventAttributes */
27370
- workflowUpdateCompletedEventAttributes?: (temporal.api.history.v1.IWorkflowUpdateCompletedEventAttributes|null);
27637
+ /** HistoryEvent workflowExecutionUpdateCompletedEventAttributes */
27638
+ workflowExecutionUpdateCompletedEventAttributes?: (temporal.api.history.v1.IWorkflowExecutionUpdateCompletedEventAttributes|null);
27371
27639
 
27372
27640
  /** HistoryEvent workflowPropertiesModifiedExternallyEventAttributes */
27373
27641
  workflowPropertiesModifiedExternallyEventAttributes?: (temporal.api.history.v1.IWorkflowPropertiesModifiedExternallyEventAttributes|null);
@@ -27526,14 +27794,14 @@ export namespace temporal {
27526
27794
  /** HistoryEvent upsertWorkflowSearchAttributesEventAttributes. */
27527
27795
  public upsertWorkflowSearchAttributesEventAttributes?: (temporal.api.history.v1.IUpsertWorkflowSearchAttributesEventAttributes|null);
27528
27796
 
27529
- /** HistoryEvent workflowUpdateRequestedEventAttributes. */
27530
- public workflowUpdateRequestedEventAttributes?: (temporal.api.history.v1.IWorkflowUpdateRequestedEventAttributes|null);
27797
+ /** HistoryEvent workflowExecutionUpdateAcceptedEventAttributes. */
27798
+ public workflowExecutionUpdateAcceptedEventAttributes?: (temporal.api.history.v1.IWorkflowExecutionUpdateAcceptedEventAttributes|null);
27531
27799
 
27532
- /** HistoryEvent workflowUpdateAcceptedEventAttributes. */
27533
- public workflowUpdateAcceptedEventAttributes?: (temporal.api.history.v1.IWorkflowUpdateAcceptedEventAttributes|null);
27800
+ /** HistoryEvent workflowExecutionUpdateRejectedEventAttributes. */
27801
+ public workflowExecutionUpdateRejectedEventAttributes?: (temporal.api.history.v1.IWorkflowExecutionUpdateRejectedEventAttributes|null);
27534
27802
 
27535
- /** HistoryEvent workflowUpdateCompletedEventAttributes. */
27536
- public workflowUpdateCompletedEventAttributes?: (temporal.api.history.v1.IWorkflowUpdateCompletedEventAttributes|null);
27803
+ /** HistoryEvent workflowExecutionUpdateCompletedEventAttributes. */
27804
+ public workflowExecutionUpdateCompletedEventAttributes?: (temporal.api.history.v1.IWorkflowExecutionUpdateCompletedEventAttributes|null);
27537
27805
 
27538
27806
  /** HistoryEvent workflowPropertiesModifiedExternallyEventAttributes. */
27539
27807
  public workflowPropertiesModifiedExternallyEventAttributes?: (temporal.api.history.v1.IWorkflowPropertiesModifiedExternallyEventAttributes|null);
@@ -27545,7 +27813,7 @@ export namespace temporal {
27545
27813
  public workflowPropertiesModifiedEventAttributes?: (temporal.api.history.v1.IWorkflowPropertiesModifiedEventAttributes|null);
27546
27814
 
27547
27815
  /** HistoryEvent attributes. */
27548
- public attributes?: ("workflowExecutionStartedEventAttributes"|"workflowExecutionCompletedEventAttributes"|"workflowExecutionFailedEventAttributes"|"workflowExecutionTimedOutEventAttributes"|"workflowTaskScheduledEventAttributes"|"workflowTaskStartedEventAttributes"|"workflowTaskCompletedEventAttributes"|"workflowTaskTimedOutEventAttributes"|"workflowTaskFailedEventAttributes"|"activityTaskScheduledEventAttributes"|"activityTaskStartedEventAttributes"|"activityTaskCompletedEventAttributes"|"activityTaskFailedEventAttributes"|"activityTaskTimedOutEventAttributes"|"timerStartedEventAttributes"|"timerFiredEventAttributes"|"activityTaskCancelRequestedEventAttributes"|"activityTaskCanceledEventAttributes"|"timerCanceledEventAttributes"|"markerRecordedEventAttributes"|"workflowExecutionSignaledEventAttributes"|"workflowExecutionTerminatedEventAttributes"|"workflowExecutionCancelRequestedEventAttributes"|"workflowExecutionCanceledEventAttributes"|"requestCancelExternalWorkflowExecutionInitiatedEventAttributes"|"requestCancelExternalWorkflowExecutionFailedEventAttributes"|"externalWorkflowExecutionCancelRequestedEventAttributes"|"workflowExecutionContinuedAsNewEventAttributes"|"startChildWorkflowExecutionInitiatedEventAttributes"|"startChildWorkflowExecutionFailedEventAttributes"|"childWorkflowExecutionStartedEventAttributes"|"childWorkflowExecutionCompletedEventAttributes"|"childWorkflowExecutionFailedEventAttributes"|"childWorkflowExecutionCanceledEventAttributes"|"childWorkflowExecutionTimedOutEventAttributes"|"childWorkflowExecutionTerminatedEventAttributes"|"signalExternalWorkflowExecutionInitiatedEventAttributes"|"signalExternalWorkflowExecutionFailedEventAttributes"|"externalWorkflowExecutionSignaledEventAttributes"|"upsertWorkflowSearchAttributesEventAttributes"|"workflowUpdateRequestedEventAttributes"|"workflowUpdateAcceptedEventAttributes"|"workflowUpdateCompletedEventAttributes"|"workflowPropertiesModifiedExternallyEventAttributes"|"activityPropertiesModifiedExternallyEventAttributes"|"workflowPropertiesModifiedEventAttributes");
27816
+ public attributes?: ("workflowExecutionStartedEventAttributes"|"workflowExecutionCompletedEventAttributes"|"workflowExecutionFailedEventAttributes"|"workflowExecutionTimedOutEventAttributes"|"workflowTaskScheduledEventAttributes"|"workflowTaskStartedEventAttributes"|"workflowTaskCompletedEventAttributes"|"workflowTaskTimedOutEventAttributes"|"workflowTaskFailedEventAttributes"|"activityTaskScheduledEventAttributes"|"activityTaskStartedEventAttributes"|"activityTaskCompletedEventAttributes"|"activityTaskFailedEventAttributes"|"activityTaskTimedOutEventAttributes"|"timerStartedEventAttributes"|"timerFiredEventAttributes"|"activityTaskCancelRequestedEventAttributes"|"activityTaskCanceledEventAttributes"|"timerCanceledEventAttributes"|"markerRecordedEventAttributes"|"workflowExecutionSignaledEventAttributes"|"workflowExecutionTerminatedEventAttributes"|"workflowExecutionCancelRequestedEventAttributes"|"workflowExecutionCanceledEventAttributes"|"requestCancelExternalWorkflowExecutionInitiatedEventAttributes"|"requestCancelExternalWorkflowExecutionFailedEventAttributes"|"externalWorkflowExecutionCancelRequestedEventAttributes"|"workflowExecutionContinuedAsNewEventAttributes"|"startChildWorkflowExecutionInitiatedEventAttributes"|"startChildWorkflowExecutionFailedEventAttributes"|"childWorkflowExecutionStartedEventAttributes"|"childWorkflowExecutionCompletedEventAttributes"|"childWorkflowExecutionFailedEventAttributes"|"childWorkflowExecutionCanceledEventAttributes"|"childWorkflowExecutionTimedOutEventAttributes"|"childWorkflowExecutionTerminatedEventAttributes"|"signalExternalWorkflowExecutionInitiatedEventAttributes"|"signalExternalWorkflowExecutionFailedEventAttributes"|"externalWorkflowExecutionSignaledEventAttributes"|"upsertWorkflowSearchAttributesEventAttributes"|"workflowExecutionUpdateAcceptedEventAttributes"|"workflowExecutionUpdateRejectedEventAttributes"|"workflowExecutionUpdateCompletedEventAttributes"|"workflowPropertiesModifiedExternallyEventAttributes"|"activityPropertiesModifiedExternallyEventAttributes"|"workflowPropertiesModifiedEventAttributes");
27549
27817
 
27550
27818
  /**
27551
27819
  * Creates a new HistoryEvent instance using the specified properties.
@@ -28612,102 +28880,885 @@ export namespace temporal {
28612
28880
  /** Namespace v1. */
28613
28881
  namespace v1 {
28614
28882
 
28615
- /** Properties of a WorkflowUpdate. */
28616
- interface IWorkflowUpdate {
28883
+ /** Properties of a WaitPolicy. */
28884
+ interface IWaitPolicy {
28617
28885
 
28618
- /** WorkflowUpdate header */
28619
- header?: (temporal.api.common.v1.IHeader|null);
28886
+ /** WaitPolicy lifecycleStage */
28887
+ lifecycleStage?: (temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage|null);
28888
+ }
28620
28889
 
28621
- /** WorkflowUpdate name */
28622
- name?: (string|null);
28890
+ /** Represents a WaitPolicy. */
28891
+ class WaitPolicy implements IWaitPolicy {
28623
28892
 
28624
- /** WorkflowUpdate args */
28625
- args?: (temporal.api.common.v1.IPayloads|null);
28626
- }
28893
+ /**
28894
+ * Constructs a new WaitPolicy.
28895
+ * @param [properties] Properties to set
28896
+ */
28897
+ constructor(properties?: temporal.api.update.v1.IWaitPolicy);
28627
28898
 
28628
- /** Represents a WorkflowUpdate. */
28629
- class WorkflowUpdate implements IWorkflowUpdate {
28899
+ /** WaitPolicy lifecycleStage. */
28900
+ public lifecycleStage: temporal.api.enums.v1.UpdateWorkflowExecutionLifecycleStage;
28630
28901
 
28631
28902
  /**
28632
- * Constructs a new WorkflowUpdate.
28903
+ * Creates a new WaitPolicy instance using the specified properties.
28633
28904
  * @param [properties] Properties to set
28905
+ * @returns WaitPolicy instance
28634
28906
  */
28635
- constructor(properties?: temporal.api.update.v1.IWorkflowUpdate);
28907
+ public static create(properties?: temporal.api.update.v1.IWaitPolicy): temporal.api.update.v1.WaitPolicy;
28636
28908
 
28637
- /** WorkflowUpdate header. */
28638
- public header?: (temporal.api.common.v1.IHeader|null);
28909
+ /**
28910
+ * Encodes the specified WaitPolicy message. Does not implicitly {@link temporal.api.update.v1.WaitPolicy.verify|verify} messages.
28911
+ * @param message WaitPolicy message or plain object to encode
28912
+ * @param [writer] Writer to encode to
28913
+ * @returns Writer
28914
+ */
28915
+ public static encode(message: temporal.api.update.v1.IWaitPolicy, writer?: $protobuf.Writer): $protobuf.Writer;
28639
28916
 
28640
- /** WorkflowUpdate name. */
28641
- public name: string;
28917
+ /**
28918
+ * Encodes the specified WaitPolicy message, length delimited. Does not implicitly {@link temporal.api.update.v1.WaitPolicy.verify|verify} messages.
28919
+ * @param message WaitPolicy message or plain object to encode
28920
+ * @param [writer] Writer to encode to
28921
+ * @returns Writer
28922
+ */
28923
+ public static encodeDelimited(message: temporal.api.update.v1.IWaitPolicy, writer?: $protobuf.Writer): $protobuf.Writer;
28642
28924
 
28643
- /** WorkflowUpdate args. */
28644
- public args?: (temporal.api.common.v1.IPayloads|null);
28925
+ /**
28926
+ * Decodes a WaitPolicy message from the specified reader or buffer.
28927
+ * @param reader Reader or buffer to decode from
28928
+ * @param [length] Message length if known beforehand
28929
+ * @returns WaitPolicy
28930
+ * @throws {Error} If the payload is not a reader or valid buffer
28931
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28932
+ */
28933
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.update.v1.WaitPolicy;
28934
+
28935
+ /**
28936
+ * Decodes a WaitPolicy message from the specified reader or buffer, length delimited.
28937
+ * @param reader Reader or buffer to decode from
28938
+ * @returns WaitPolicy
28939
+ * @throws {Error} If the payload is not a reader or valid buffer
28940
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
28941
+ */
28942
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.update.v1.WaitPolicy;
28943
+
28944
+ /**
28945
+ * Creates a WaitPolicy message from a plain object. Also converts values to their respective internal types.
28946
+ * @param object Plain object
28947
+ * @returns WaitPolicy
28948
+ */
28949
+ public static fromObject(object: { [k: string]: any }): temporal.api.update.v1.WaitPolicy;
28950
+
28951
+ /**
28952
+ * Creates a plain object from a WaitPolicy message. Also converts values to other types if specified.
28953
+ * @param message WaitPolicy
28954
+ * @param [options] Conversion options
28955
+ * @returns Plain object
28956
+ */
28957
+ public static toObject(message: temporal.api.update.v1.WaitPolicy, options?: $protobuf.IConversionOptions): { [k: string]: any };
28958
+
28959
+ /**
28960
+ * Converts this WaitPolicy to JSON.
28961
+ * @returns JSON object
28962
+ */
28963
+ public toJSON(): { [k: string]: any };
28964
+
28965
+ /**
28966
+ * Gets the default type url for WaitPolicy
28967
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
28968
+ * @returns The default type url
28969
+ */
28970
+ public static getTypeUrl(typeUrlPrefix?: string): string;
28971
+ }
28972
+
28973
+ /** Properties of an UpdateRef. */
28974
+ interface IUpdateRef {
28975
+
28976
+ /** UpdateRef workflowExecution */
28977
+ workflowExecution?: (temporal.api.common.v1.IWorkflowExecution|null);
28978
+
28979
+ /** UpdateRef updateId */
28980
+ updateId?: (string|null);
28981
+ }
28982
+
28983
+ /** Represents an UpdateRef. */
28984
+ class UpdateRef implements IUpdateRef {
28985
+
28986
+ /**
28987
+ * Constructs a new UpdateRef.
28988
+ * @param [properties] Properties to set
28989
+ */
28990
+ constructor(properties?: temporal.api.update.v1.IUpdateRef);
28991
+
28992
+ /** UpdateRef workflowExecution. */
28993
+ public workflowExecution?: (temporal.api.common.v1.IWorkflowExecution|null);
28994
+
28995
+ /** UpdateRef updateId. */
28996
+ public updateId: string;
28645
28997
 
28646
28998
  /**
28647
- * Creates a new WorkflowUpdate instance using the specified properties.
28999
+ * Creates a new UpdateRef instance using the specified properties.
28648
29000
  * @param [properties] Properties to set
28649
- * @returns WorkflowUpdate instance
29001
+ * @returns UpdateRef instance
28650
29002
  */
28651
- public static create(properties?: temporal.api.update.v1.IWorkflowUpdate): temporal.api.update.v1.WorkflowUpdate;
29003
+ public static create(properties?: temporal.api.update.v1.IUpdateRef): temporal.api.update.v1.UpdateRef;
28652
29004
 
28653
29005
  /**
28654
- * Encodes the specified WorkflowUpdate message. Does not implicitly {@link temporal.api.update.v1.WorkflowUpdate.verify|verify} messages.
28655
- * @param message WorkflowUpdate message or plain object to encode
29006
+ * Encodes the specified UpdateRef message. Does not implicitly {@link temporal.api.update.v1.UpdateRef.verify|verify} messages.
29007
+ * @param message UpdateRef message or plain object to encode
28656
29008
  * @param [writer] Writer to encode to
28657
29009
  * @returns Writer
28658
29010
  */
28659
- public static encode(message: temporal.api.update.v1.IWorkflowUpdate, writer?: $protobuf.Writer): $protobuf.Writer;
29011
+ public static encode(message: temporal.api.update.v1.IUpdateRef, writer?: $protobuf.Writer): $protobuf.Writer;
28660
29012
 
28661
29013
  /**
28662
- * Encodes the specified WorkflowUpdate message, length delimited. Does not implicitly {@link temporal.api.update.v1.WorkflowUpdate.verify|verify} messages.
28663
- * @param message WorkflowUpdate message or plain object to encode
29014
+ * Encodes the specified UpdateRef message, length delimited. Does not implicitly {@link temporal.api.update.v1.UpdateRef.verify|verify} messages.
29015
+ * @param message UpdateRef message or plain object to encode
28664
29016
  * @param [writer] Writer to encode to
28665
29017
  * @returns Writer
28666
29018
  */
28667
- public static encodeDelimited(message: temporal.api.update.v1.IWorkflowUpdate, writer?: $protobuf.Writer): $protobuf.Writer;
29019
+ public static encodeDelimited(message: temporal.api.update.v1.IUpdateRef, writer?: $protobuf.Writer): $protobuf.Writer;
28668
29020
 
28669
29021
  /**
28670
- * Decodes a WorkflowUpdate message from the specified reader or buffer.
29022
+ * Decodes an UpdateRef message from the specified reader or buffer.
28671
29023
  * @param reader Reader or buffer to decode from
28672
29024
  * @param [length] Message length if known beforehand
28673
- * @returns WorkflowUpdate
29025
+ * @returns UpdateRef
28674
29026
  * @throws {Error} If the payload is not a reader or valid buffer
28675
29027
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
28676
29028
  */
28677
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.update.v1.WorkflowUpdate;
29029
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.update.v1.UpdateRef;
28678
29030
 
28679
29031
  /**
28680
- * Decodes a WorkflowUpdate message from the specified reader or buffer, length delimited.
29032
+ * Decodes an UpdateRef message from the specified reader or buffer, length delimited.
28681
29033
  * @param reader Reader or buffer to decode from
28682
- * @returns WorkflowUpdate
29034
+ * @returns UpdateRef
28683
29035
  * @throws {Error} If the payload is not a reader or valid buffer
28684
29036
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
28685
29037
  */
28686
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.update.v1.WorkflowUpdate;
29038
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.update.v1.UpdateRef;
28687
29039
 
28688
29040
  /**
28689
- * Creates a WorkflowUpdate message from a plain object. Also converts values to their respective internal types.
29041
+ * Creates an UpdateRef message from a plain object. Also converts values to their respective internal types.
28690
29042
  * @param object Plain object
28691
- * @returns WorkflowUpdate
29043
+ * @returns UpdateRef
28692
29044
  */
28693
- public static fromObject(object: { [k: string]: any }): temporal.api.update.v1.WorkflowUpdate;
29045
+ public static fromObject(object: { [k: string]: any }): temporal.api.update.v1.UpdateRef;
28694
29046
 
28695
29047
  /**
28696
- * Creates a plain object from a WorkflowUpdate message. Also converts values to other types if specified.
28697
- * @param message WorkflowUpdate
29048
+ * Creates a plain object from an UpdateRef message. Also converts values to other types if specified.
29049
+ * @param message UpdateRef
28698
29050
  * @param [options] Conversion options
28699
29051
  * @returns Plain object
28700
29052
  */
28701
- public static toObject(message: temporal.api.update.v1.WorkflowUpdate, options?: $protobuf.IConversionOptions): { [k: string]: any };
29053
+ public static toObject(message: temporal.api.update.v1.UpdateRef, options?: $protobuf.IConversionOptions): { [k: string]: any };
28702
29054
 
28703
29055
  /**
28704
- * Converts this WorkflowUpdate to JSON.
29056
+ * Converts this UpdateRef to JSON.
28705
29057
  * @returns JSON object
28706
29058
  */
28707
29059
  public toJSON(): { [k: string]: any };
28708
29060
 
28709
29061
  /**
28710
- * Gets the default type url for WorkflowUpdate
29062
+ * Gets the default type url for UpdateRef
29063
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
29064
+ * @returns The default type url
29065
+ */
29066
+ public static getTypeUrl(typeUrlPrefix?: string): string;
29067
+ }
29068
+
29069
+ /** Properties of an Outcome. */
29070
+ interface IOutcome {
29071
+
29072
+ /** Outcome success */
29073
+ success?: (temporal.api.common.v1.IPayloads|null);
29074
+
29075
+ /** Outcome failure */
29076
+ failure?: (temporal.api.failure.v1.IFailure|null);
29077
+ }
29078
+
29079
+ /** Represents an Outcome. */
29080
+ class Outcome implements IOutcome {
29081
+
29082
+ /**
29083
+ * Constructs a new Outcome.
29084
+ * @param [properties] Properties to set
29085
+ */
29086
+ constructor(properties?: temporal.api.update.v1.IOutcome);
29087
+
29088
+ /** Outcome success. */
29089
+ public success?: (temporal.api.common.v1.IPayloads|null);
29090
+
29091
+ /** Outcome failure. */
29092
+ public failure?: (temporal.api.failure.v1.IFailure|null);
29093
+
29094
+ /** Outcome value. */
29095
+ public value?: ("success"|"failure");
29096
+
29097
+ /**
29098
+ * Creates a new Outcome instance using the specified properties.
29099
+ * @param [properties] Properties to set
29100
+ * @returns Outcome instance
29101
+ */
29102
+ public static create(properties?: temporal.api.update.v1.IOutcome): temporal.api.update.v1.Outcome;
29103
+
29104
+ /**
29105
+ * Encodes the specified Outcome message. Does not implicitly {@link temporal.api.update.v1.Outcome.verify|verify} messages.
29106
+ * @param message Outcome message or plain object to encode
29107
+ * @param [writer] Writer to encode to
29108
+ * @returns Writer
29109
+ */
29110
+ public static encode(message: temporal.api.update.v1.IOutcome, writer?: $protobuf.Writer): $protobuf.Writer;
29111
+
29112
+ /**
29113
+ * Encodes the specified Outcome message, length delimited. Does not implicitly {@link temporal.api.update.v1.Outcome.verify|verify} messages.
29114
+ * @param message Outcome message or plain object to encode
29115
+ * @param [writer] Writer to encode to
29116
+ * @returns Writer
29117
+ */
29118
+ public static encodeDelimited(message: temporal.api.update.v1.IOutcome, writer?: $protobuf.Writer): $protobuf.Writer;
29119
+
29120
+ /**
29121
+ * Decodes an Outcome message from the specified reader or buffer.
29122
+ * @param reader Reader or buffer to decode from
29123
+ * @param [length] Message length if known beforehand
29124
+ * @returns Outcome
29125
+ * @throws {Error} If the payload is not a reader or valid buffer
29126
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29127
+ */
29128
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.update.v1.Outcome;
29129
+
29130
+ /**
29131
+ * Decodes an Outcome message from the specified reader or buffer, length delimited.
29132
+ * @param reader Reader or buffer to decode from
29133
+ * @returns Outcome
29134
+ * @throws {Error} If the payload is not a reader or valid buffer
29135
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29136
+ */
29137
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.update.v1.Outcome;
29138
+
29139
+ /**
29140
+ * Creates an Outcome message from a plain object. Also converts values to their respective internal types.
29141
+ * @param object Plain object
29142
+ * @returns Outcome
29143
+ */
29144
+ public static fromObject(object: { [k: string]: any }): temporal.api.update.v1.Outcome;
29145
+
29146
+ /**
29147
+ * Creates a plain object from an Outcome message. Also converts values to other types if specified.
29148
+ * @param message Outcome
29149
+ * @param [options] Conversion options
29150
+ * @returns Plain object
29151
+ */
29152
+ public static toObject(message: temporal.api.update.v1.Outcome, options?: $protobuf.IConversionOptions): { [k: string]: any };
29153
+
29154
+ /**
29155
+ * Converts this Outcome to JSON.
29156
+ * @returns JSON object
29157
+ */
29158
+ public toJSON(): { [k: string]: any };
29159
+
29160
+ /**
29161
+ * Gets the default type url for Outcome
29162
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
29163
+ * @returns The default type url
29164
+ */
29165
+ public static getTypeUrl(typeUrlPrefix?: string): string;
29166
+ }
29167
+
29168
+ /** Properties of a Meta. */
29169
+ interface IMeta {
29170
+
29171
+ /** Meta updateId */
29172
+ updateId?: (string|null);
29173
+
29174
+ /** Meta identity */
29175
+ identity?: (string|null);
29176
+ }
29177
+
29178
+ /** Represents a Meta. */
29179
+ class Meta implements IMeta {
29180
+
29181
+ /**
29182
+ * Constructs a new Meta.
29183
+ * @param [properties] Properties to set
29184
+ */
29185
+ constructor(properties?: temporal.api.update.v1.IMeta);
29186
+
29187
+ /** Meta updateId. */
29188
+ public updateId: string;
29189
+
29190
+ /** Meta identity. */
29191
+ public identity: string;
29192
+
29193
+ /**
29194
+ * Creates a new Meta instance using the specified properties.
29195
+ * @param [properties] Properties to set
29196
+ * @returns Meta instance
29197
+ */
29198
+ public static create(properties?: temporal.api.update.v1.IMeta): temporal.api.update.v1.Meta;
29199
+
29200
+ /**
29201
+ * Encodes the specified Meta message. Does not implicitly {@link temporal.api.update.v1.Meta.verify|verify} messages.
29202
+ * @param message Meta message or plain object to encode
29203
+ * @param [writer] Writer to encode to
29204
+ * @returns Writer
29205
+ */
29206
+ public static encode(message: temporal.api.update.v1.IMeta, writer?: $protobuf.Writer): $protobuf.Writer;
29207
+
29208
+ /**
29209
+ * Encodes the specified Meta message, length delimited. Does not implicitly {@link temporal.api.update.v1.Meta.verify|verify} messages.
29210
+ * @param message Meta message or plain object to encode
29211
+ * @param [writer] Writer to encode to
29212
+ * @returns Writer
29213
+ */
29214
+ public static encodeDelimited(message: temporal.api.update.v1.IMeta, writer?: $protobuf.Writer): $protobuf.Writer;
29215
+
29216
+ /**
29217
+ * Decodes a Meta message from the specified reader or buffer.
29218
+ * @param reader Reader or buffer to decode from
29219
+ * @param [length] Message length if known beforehand
29220
+ * @returns Meta
29221
+ * @throws {Error} If the payload is not a reader or valid buffer
29222
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29223
+ */
29224
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.update.v1.Meta;
29225
+
29226
+ /**
29227
+ * Decodes a Meta message from the specified reader or buffer, length delimited.
29228
+ * @param reader Reader or buffer to decode from
29229
+ * @returns Meta
29230
+ * @throws {Error} If the payload is not a reader or valid buffer
29231
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29232
+ */
29233
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.update.v1.Meta;
29234
+
29235
+ /**
29236
+ * Creates a Meta message from a plain object. Also converts values to their respective internal types.
29237
+ * @param object Plain object
29238
+ * @returns Meta
29239
+ */
29240
+ public static fromObject(object: { [k: string]: any }): temporal.api.update.v1.Meta;
29241
+
29242
+ /**
29243
+ * Creates a plain object from a Meta message. Also converts values to other types if specified.
29244
+ * @param message Meta
29245
+ * @param [options] Conversion options
29246
+ * @returns Plain object
29247
+ */
29248
+ public static toObject(message: temporal.api.update.v1.Meta, options?: $protobuf.IConversionOptions): { [k: string]: any };
29249
+
29250
+ /**
29251
+ * Converts this Meta to JSON.
29252
+ * @returns JSON object
29253
+ */
29254
+ public toJSON(): { [k: string]: any };
29255
+
29256
+ /**
29257
+ * Gets the default type url for Meta
29258
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
29259
+ * @returns The default type url
29260
+ */
29261
+ public static getTypeUrl(typeUrlPrefix?: string): string;
29262
+ }
29263
+
29264
+ /** Properties of an Input. */
29265
+ interface IInput {
29266
+
29267
+ /** Input header */
29268
+ header?: (temporal.api.common.v1.IHeader|null);
29269
+
29270
+ /** Input name */
29271
+ name?: (string|null);
29272
+
29273
+ /** Input args */
29274
+ args?: (temporal.api.common.v1.IPayloads|null);
29275
+ }
29276
+
29277
+ /** Represents an Input. */
29278
+ class Input implements IInput {
29279
+
29280
+ /**
29281
+ * Constructs a new Input.
29282
+ * @param [properties] Properties to set
29283
+ */
29284
+ constructor(properties?: temporal.api.update.v1.IInput);
29285
+
29286
+ /** Input header. */
29287
+ public header?: (temporal.api.common.v1.IHeader|null);
29288
+
29289
+ /** Input name. */
29290
+ public name: string;
29291
+
29292
+ /** Input args. */
29293
+ public args?: (temporal.api.common.v1.IPayloads|null);
29294
+
29295
+ /**
29296
+ * Creates a new Input instance using the specified properties.
29297
+ * @param [properties] Properties to set
29298
+ * @returns Input instance
29299
+ */
29300
+ public static create(properties?: temporal.api.update.v1.IInput): temporal.api.update.v1.Input;
29301
+
29302
+ /**
29303
+ * Encodes the specified Input message. Does not implicitly {@link temporal.api.update.v1.Input.verify|verify} messages.
29304
+ * @param message Input message or plain object to encode
29305
+ * @param [writer] Writer to encode to
29306
+ * @returns Writer
29307
+ */
29308
+ public static encode(message: temporal.api.update.v1.IInput, writer?: $protobuf.Writer): $protobuf.Writer;
29309
+
29310
+ /**
29311
+ * Encodes the specified Input message, length delimited. Does not implicitly {@link temporal.api.update.v1.Input.verify|verify} messages.
29312
+ * @param message Input message or plain object to encode
29313
+ * @param [writer] Writer to encode to
29314
+ * @returns Writer
29315
+ */
29316
+ public static encodeDelimited(message: temporal.api.update.v1.IInput, writer?: $protobuf.Writer): $protobuf.Writer;
29317
+
29318
+ /**
29319
+ * Decodes an Input message from the specified reader or buffer.
29320
+ * @param reader Reader or buffer to decode from
29321
+ * @param [length] Message length if known beforehand
29322
+ * @returns Input
29323
+ * @throws {Error} If the payload is not a reader or valid buffer
29324
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29325
+ */
29326
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.update.v1.Input;
29327
+
29328
+ /**
29329
+ * Decodes an Input message from the specified reader or buffer, length delimited.
29330
+ * @param reader Reader or buffer to decode from
29331
+ * @returns Input
29332
+ * @throws {Error} If the payload is not a reader or valid buffer
29333
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29334
+ */
29335
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.update.v1.Input;
29336
+
29337
+ /**
29338
+ * Creates an Input message from a plain object. Also converts values to their respective internal types.
29339
+ * @param object Plain object
29340
+ * @returns Input
29341
+ */
29342
+ public static fromObject(object: { [k: string]: any }): temporal.api.update.v1.Input;
29343
+
29344
+ /**
29345
+ * Creates a plain object from an Input message. Also converts values to other types if specified.
29346
+ * @param message Input
29347
+ * @param [options] Conversion options
29348
+ * @returns Plain object
29349
+ */
29350
+ public static toObject(message: temporal.api.update.v1.Input, options?: $protobuf.IConversionOptions): { [k: string]: any };
29351
+
29352
+ /**
29353
+ * Converts this Input to JSON.
29354
+ * @returns JSON object
29355
+ */
29356
+ public toJSON(): { [k: string]: any };
29357
+
29358
+ /**
29359
+ * Gets the default type url for Input
29360
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
29361
+ * @returns The default type url
29362
+ */
29363
+ public static getTypeUrl(typeUrlPrefix?: string): string;
29364
+ }
29365
+
29366
+ /** Properties of a Request. */
29367
+ interface IRequest {
29368
+
29369
+ /** Request meta */
29370
+ meta?: (temporal.api.update.v1.IMeta|null);
29371
+
29372
+ /** Request input */
29373
+ input?: (temporal.api.update.v1.IInput|null);
29374
+ }
29375
+
29376
+ /** Represents a Request. */
29377
+ class Request implements IRequest {
29378
+
29379
+ /**
29380
+ * Constructs a new Request.
29381
+ * @param [properties] Properties to set
29382
+ */
29383
+ constructor(properties?: temporal.api.update.v1.IRequest);
29384
+
29385
+ /** Request meta. */
29386
+ public meta?: (temporal.api.update.v1.IMeta|null);
29387
+
29388
+ /** Request input. */
29389
+ public input?: (temporal.api.update.v1.IInput|null);
29390
+
29391
+ /**
29392
+ * Creates a new Request instance using the specified properties.
29393
+ * @param [properties] Properties to set
29394
+ * @returns Request instance
29395
+ */
29396
+ public static create(properties?: temporal.api.update.v1.IRequest): temporal.api.update.v1.Request;
29397
+
29398
+ /**
29399
+ * Encodes the specified Request message. Does not implicitly {@link temporal.api.update.v1.Request.verify|verify} messages.
29400
+ * @param message Request message or plain object to encode
29401
+ * @param [writer] Writer to encode to
29402
+ * @returns Writer
29403
+ */
29404
+ public static encode(message: temporal.api.update.v1.IRequest, writer?: $protobuf.Writer): $protobuf.Writer;
29405
+
29406
+ /**
29407
+ * Encodes the specified Request message, length delimited. Does not implicitly {@link temporal.api.update.v1.Request.verify|verify} messages.
29408
+ * @param message Request message or plain object to encode
29409
+ * @param [writer] Writer to encode to
29410
+ * @returns Writer
29411
+ */
29412
+ public static encodeDelimited(message: temporal.api.update.v1.IRequest, writer?: $protobuf.Writer): $protobuf.Writer;
29413
+
29414
+ /**
29415
+ * Decodes a Request message from the specified reader or buffer.
29416
+ * @param reader Reader or buffer to decode from
29417
+ * @param [length] Message length if known beforehand
29418
+ * @returns Request
29419
+ * @throws {Error} If the payload is not a reader or valid buffer
29420
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29421
+ */
29422
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.update.v1.Request;
29423
+
29424
+ /**
29425
+ * Decodes a Request message from the specified reader or buffer, length delimited.
29426
+ * @param reader Reader or buffer to decode from
29427
+ * @returns Request
29428
+ * @throws {Error} If the payload is not a reader or valid buffer
29429
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29430
+ */
29431
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.update.v1.Request;
29432
+
29433
+ /**
29434
+ * Creates a Request message from a plain object. Also converts values to their respective internal types.
29435
+ * @param object Plain object
29436
+ * @returns Request
29437
+ */
29438
+ public static fromObject(object: { [k: string]: any }): temporal.api.update.v1.Request;
29439
+
29440
+ /**
29441
+ * Creates a plain object from a Request message. Also converts values to other types if specified.
29442
+ * @param message Request
29443
+ * @param [options] Conversion options
29444
+ * @returns Plain object
29445
+ */
29446
+ public static toObject(message: temporal.api.update.v1.Request, options?: $protobuf.IConversionOptions): { [k: string]: any };
29447
+
29448
+ /**
29449
+ * Converts this Request to JSON.
29450
+ * @returns JSON object
29451
+ */
29452
+ public toJSON(): { [k: string]: any };
29453
+
29454
+ /**
29455
+ * Gets the default type url for Request
29456
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
29457
+ * @returns The default type url
29458
+ */
29459
+ public static getTypeUrl(typeUrlPrefix?: string): string;
29460
+ }
29461
+
29462
+ /** Properties of a Rejection. */
29463
+ interface IRejection {
29464
+
29465
+ /** Rejection rejectedRequestMessageId */
29466
+ rejectedRequestMessageId?: (string|null);
29467
+
29468
+ /** Rejection rejectedRequestSequencingEventId */
29469
+ rejectedRequestSequencingEventId?: (Long|null);
29470
+
29471
+ /** Rejection rejectedRequest */
29472
+ rejectedRequest?: (temporal.api.update.v1.IRequest|null);
29473
+
29474
+ /** Rejection failure */
29475
+ failure?: (temporal.api.failure.v1.IFailure|null);
29476
+ }
29477
+
29478
+ /** Represents a Rejection. */
29479
+ class Rejection implements IRejection {
29480
+
29481
+ /**
29482
+ * Constructs a new Rejection.
29483
+ * @param [properties] Properties to set
29484
+ */
29485
+ constructor(properties?: temporal.api.update.v1.IRejection);
29486
+
29487
+ /** Rejection rejectedRequestMessageId. */
29488
+ public rejectedRequestMessageId: string;
29489
+
29490
+ /** Rejection rejectedRequestSequencingEventId. */
29491
+ public rejectedRequestSequencingEventId: Long;
29492
+
29493
+ /** Rejection rejectedRequest. */
29494
+ public rejectedRequest?: (temporal.api.update.v1.IRequest|null);
29495
+
29496
+ /** Rejection failure. */
29497
+ public failure?: (temporal.api.failure.v1.IFailure|null);
29498
+
29499
+ /**
29500
+ * Creates a new Rejection instance using the specified properties.
29501
+ * @param [properties] Properties to set
29502
+ * @returns Rejection instance
29503
+ */
29504
+ public static create(properties?: temporal.api.update.v1.IRejection): temporal.api.update.v1.Rejection;
29505
+
29506
+ /**
29507
+ * Encodes the specified Rejection message. Does not implicitly {@link temporal.api.update.v1.Rejection.verify|verify} messages.
29508
+ * @param message Rejection message or plain object to encode
29509
+ * @param [writer] Writer to encode to
29510
+ * @returns Writer
29511
+ */
29512
+ public static encode(message: temporal.api.update.v1.IRejection, writer?: $protobuf.Writer): $protobuf.Writer;
29513
+
29514
+ /**
29515
+ * Encodes the specified Rejection message, length delimited. Does not implicitly {@link temporal.api.update.v1.Rejection.verify|verify} messages.
29516
+ * @param message Rejection message or plain object to encode
29517
+ * @param [writer] Writer to encode to
29518
+ * @returns Writer
29519
+ */
29520
+ public static encodeDelimited(message: temporal.api.update.v1.IRejection, writer?: $protobuf.Writer): $protobuf.Writer;
29521
+
29522
+ /**
29523
+ * Decodes a Rejection message from the specified reader or buffer.
29524
+ * @param reader Reader or buffer to decode from
29525
+ * @param [length] Message length if known beforehand
29526
+ * @returns Rejection
29527
+ * @throws {Error} If the payload is not a reader or valid buffer
29528
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29529
+ */
29530
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.update.v1.Rejection;
29531
+
29532
+ /**
29533
+ * Decodes a Rejection message from the specified reader or buffer, length delimited.
29534
+ * @param reader Reader or buffer to decode from
29535
+ * @returns Rejection
29536
+ * @throws {Error} If the payload is not a reader or valid buffer
29537
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29538
+ */
29539
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.update.v1.Rejection;
29540
+
29541
+ /**
29542
+ * Creates a Rejection message from a plain object. Also converts values to their respective internal types.
29543
+ * @param object Plain object
29544
+ * @returns Rejection
29545
+ */
29546
+ public static fromObject(object: { [k: string]: any }): temporal.api.update.v1.Rejection;
29547
+
29548
+ /**
29549
+ * Creates a plain object from a Rejection message. Also converts values to other types if specified.
29550
+ * @param message Rejection
29551
+ * @param [options] Conversion options
29552
+ * @returns Plain object
29553
+ */
29554
+ public static toObject(message: temporal.api.update.v1.Rejection, options?: $protobuf.IConversionOptions): { [k: string]: any };
29555
+
29556
+ /**
29557
+ * Converts this Rejection to JSON.
29558
+ * @returns JSON object
29559
+ */
29560
+ public toJSON(): { [k: string]: any };
29561
+
29562
+ /**
29563
+ * Gets the default type url for Rejection
29564
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
29565
+ * @returns The default type url
29566
+ */
29567
+ public static getTypeUrl(typeUrlPrefix?: string): string;
29568
+ }
29569
+
29570
+ /** Properties of an Acceptance. */
29571
+ interface IAcceptance {
29572
+
29573
+ /** Acceptance acceptedRequestMessageId */
29574
+ acceptedRequestMessageId?: (string|null);
29575
+
29576
+ /** Acceptance acceptedRequestSequencingEventId */
29577
+ acceptedRequestSequencingEventId?: (Long|null);
29578
+
29579
+ /** Acceptance acceptedRequest */
29580
+ acceptedRequest?: (temporal.api.update.v1.IRequest|null);
29581
+ }
29582
+
29583
+ /** Represents an Acceptance. */
29584
+ class Acceptance implements IAcceptance {
29585
+
29586
+ /**
29587
+ * Constructs a new Acceptance.
29588
+ * @param [properties] Properties to set
29589
+ */
29590
+ constructor(properties?: temporal.api.update.v1.IAcceptance);
29591
+
29592
+ /** Acceptance acceptedRequestMessageId. */
29593
+ public acceptedRequestMessageId: string;
29594
+
29595
+ /** Acceptance acceptedRequestSequencingEventId. */
29596
+ public acceptedRequestSequencingEventId: Long;
29597
+
29598
+ /** Acceptance acceptedRequest. */
29599
+ public acceptedRequest?: (temporal.api.update.v1.IRequest|null);
29600
+
29601
+ /**
29602
+ * Creates a new Acceptance instance using the specified properties.
29603
+ * @param [properties] Properties to set
29604
+ * @returns Acceptance instance
29605
+ */
29606
+ public static create(properties?: temporal.api.update.v1.IAcceptance): temporal.api.update.v1.Acceptance;
29607
+
29608
+ /**
29609
+ * Encodes the specified Acceptance message. Does not implicitly {@link temporal.api.update.v1.Acceptance.verify|verify} messages.
29610
+ * @param message Acceptance message or plain object to encode
29611
+ * @param [writer] Writer to encode to
29612
+ * @returns Writer
29613
+ */
29614
+ public static encode(message: temporal.api.update.v1.IAcceptance, writer?: $protobuf.Writer): $protobuf.Writer;
29615
+
29616
+ /**
29617
+ * Encodes the specified Acceptance message, length delimited. Does not implicitly {@link temporal.api.update.v1.Acceptance.verify|verify} messages.
29618
+ * @param message Acceptance message or plain object to encode
29619
+ * @param [writer] Writer to encode to
29620
+ * @returns Writer
29621
+ */
29622
+ public static encodeDelimited(message: temporal.api.update.v1.IAcceptance, writer?: $protobuf.Writer): $protobuf.Writer;
29623
+
29624
+ /**
29625
+ * Decodes an Acceptance message from the specified reader or buffer.
29626
+ * @param reader Reader or buffer to decode from
29627
+ * @param [length] Message length if known beforehand
29628
+ * @returns Acceptance
29629
+ * @throws {Error} If the payload is not a reader or valid buffer
29630
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29631
+ */
29632
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.update.v1.Acceptance;
29633
+
29634
+ /**
29635
+ * Decodes an Acceptance message from the specified reader or buffer, length delimited.
29636
+ * @param reader Reader or buffer to decode from
29637
+ * @returns Acceptance
29638
+ * @throws {Error} If the payload is not a reader or valid buffer
29639
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29640
+ */
29641
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.update.v1.Acceptance;
29642
+
29643
+ /**
29644
+ * Creates an Acceptance message from a plain object. Also converts values to their respective internal types.
29645
+ * @param object Plain object
29646
+ * @returns Acceptance
29647
+ */
29648
+ public static fromObject(object: { [k: string]: any }): temporal.api.update.v1.Acceptance;
29649
+
29650
+ /**
29651
+ * Creates a plain object from an Acceptance message. Also converts values to other types if specified.
29652
+ * @param message Acceptance
29653
+ * @param [options] Conversion options
29654
+ * @returns Plain object
29655
+ */
29656
+ public static toObject(message: temporal.api.update.v1.Acceptance, options?: $protobuf.IConversionOptions): { [k: string]: any };
29657
+
29658
+ /**
29659
+ * Converts this Acceptance to JSON.
29660
+ * @returns JSON object
29661
+ */
29662
+ public toJSON(): { [k: string]: any };
29663
+
29664
+ /**
29665
+ * Gets the default type url for Acceptance
29666
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
29667
+ * @returns The default type url
29668
+ */
29669
+ public static getTypeUrl(typeUrlPrefix?: string): string;
29670
+ }
29671
+
29672
+ /** Properties of a Response. */
29673
+ interface IResponse {
29674
+
29675
+ /** Response meta */
29676
+ meta?: (temporal.api.update.v1.IMeta|null);
29677
+
29678
+ /** Response outcome */
29679
+ outcome?: (temporal.api.update.v1.IOutcome|null);
29680
+ }
29681
+
29682
+ /** Represents a Response. */
29683
+ class Response implements IResponse {
29684
+
29685
+ /**
29686
+ * Constructs a new Response.
29687
+ * @param [properties] Properties to set
29688
+ */
29689
+ constructor(properties?: temporal.api.update.v1.IResponse);
29690
+
29691
+ /** Response meta. */
29692
+ public meta?: (temporal.api.update.v1.IMeta|null);
29693
+
29694
+ /** Response outcome. */
29695
+ public outcome?: (temporal.api.update.v1.IOutcome|null);
29696
+
29697
+ /**
29698
+ * Creates a new Response instance using the specified properties.
29699
+ * @param [properties] Properties to set
29700
+ * @returns Response instance
29701
+ */
29702
+ public static create(properties?: temporal.api.update.v1.IResponse): temporal.api.update.v1.Response;
29703
+
29704
+ /**
29705
+ * Encodes the specified Response message. Does not implicitly {@link temporal.api.update.v1.Response.verify|verify} messages.
29706
+ * @param message Response message or plain object to encode
29707
+ * @param [writer] Writer to encode to
29708
+ * @returns Writer
29709
+ */
29710
+ public static encode(message: temporal.api.update.v1.IResponse, writer?: $protobuf.Writer): $protobuf.Writer;
29711
+
29712
+ /**
29713
+ * Encodes the specified Response message, length delimited. Does not implicitly {@link temporal.api.update.v1.Response.verify|verify} messages.
29714
+ * @param message Response message or plain object to encode
29715
+ * @param [writer] Writer to encode to
29716
+ * @returns Writer
29717
+ */
29718
+ public static encodeDelimited(message: temporal.api.update.v1.IResponse, writer?: $protobuf.Writer): $protobuf.Writer;
29719
+
29720
+ /**
29721
+ * Decodes a Response message from the specified reader or buffer.
29722
+ * @param reader Reader or buffer to decode from
29723
+ * @param [length] Message length if known beforehand
29724
+ * @returns Response
29725
+ * @throws {Error} If the payload is not a reader or valid buffer
29726
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29727
+ */
29728
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.update.v1.Response;
29729
+
29730
+ /**
29731
+ * Decodes a Response message from the specified reader or buffer, length delimited.
29732
+ * @param reader Reader or buffer to decode from
29733
+ * @returns Response
29734
+ * @throws {Error} If the payload is not a reader or valid buffer
29735
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29736
+ */
29737
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.update.v1.Response;
29738
+
29739
+ /**
29740
+ * Creates a Response message from a plain object. Also converts values to their respective internal types.
29741
+ * @param object Plain object
29742
+ * @returns Response
29743
+ */
29744
+ public static fromObject(object: { [k: string]: any }): temporal.api.update.v1.Response;
29745
+
29746
+ /**
29747
+ * Creates a plain object from a Response message. Also converts values to other types if specified.
29748
+ * @param message Response
29749
+ * @param [options] Conversion options
29750
+ * @returns Plain object
29751
+ */
29752
+ public static toObject(message: temporal.api.update.v1.Response, options?: $protobuf.IConversionOptions): { [k: string]: any };
29753
+
29754
+ /**
29755
+ * Converts this Response to JSON.
29756
+ * @returns JSON object
29757
+ */
29758
+ public toJSON(): { [k: string]: any };
29759
+
29760
+ /**
29761
+ * Gets the default type url for Response
28711
29762
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
28712
29763
  * @returns The default type url
28713
29764
  */
@@ -29762,6 +30813,110 @@ export namespace temporal {
29762
30813
  }
29763
30814
  }
29764
30815
 
30816
+ /** Namespace sdk. */
30817
+ namespace sdk {
30818
+
30819
+ /** Namespace v1. */
30820
+ namespace v1 {
30821
+
30822
+ /** Properties of a WorkflowTaskCompletedMetadata. */
30823
+ interface IWorkflowTaskCompletedMetadata {
30824
+
30825
+ /** WorkflowTaskCompletedMetadata coreUsedFlags */
30826
+ coreUsedFlags?: (number[]|null);
30827
+
30828
+ /** WorkflowTaskCompletedMetadata langUsedFlags */
30829
+ langUsedFlags?: (number[]|null);
30830
+ }
30831
+
30832
+ /** Represents a WorkflowTaskCompletedMetadata. */
30833
+ class WorkflowTaskCompletedMetadata implements IWorkflowTaskCompletedMetadata {
30834
+
30835
+ /**
30836
+ * Constructs a new WorkflowTaskCompletedMetadata.
30837
+ * @param [properties] Properties to set
30838
+ */
30839
+ constructor(properties?: temporal.api.sdk.v1.IWorkflowTaskCompletedMetadata);
30840
+
30841
+ /** WorkflowTaskCompletedMetadata coreUsedFlags. */
30842
+ public coreUsedFlags: number[];
30843
+
30844
+ /** WorkflowTaskCompletedMetadata langUsedFlags. */
30845
+ public langUsedFlags: number[];
30846
+
30847
+ /**
30848
+ * Creates a new WorkflowTaskCompletedMetadata instance using the specified properties.
30849
+ * @param [properties] Properties to set
30850
+ * @returns WorkflowTaskCompletedMetadata instance
30851
+ */
30852
+ public static create(properties?: temporal.api.sdk.v1.IWorkflowTaskCompletedMetadata): temporal.api.sdk.v1.WorkflowTaskCompletedMetadata;
30853
+
30854
+ /**
30855
+ * Encodes the specified WorkflowTaskCompletedMetadata message. Does not implicitly {@link temporal.api.sdk.v1.WorkflowTaskCompletedMetadata.verify|verify} messages.
30856
+ * @param message WorkflowTaskCompletedMetadata message or plain object to encode
30857
+ * @param [writer] Writer to encode to
30858
+ * @returns Writer
30859
+ */
30860
+ public static encode(message: temporal.api.sdk.v1.IWorkflowTaskCompletedMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
30861
+
30862
+ /**
30863
+ * Encodes the specified WorkflowTaskCompletedMetadata message, length delimited. Does not implicitly {@link temporal.api.sdk.v1.WorkflowTaskCompletedMetadata.verify|verify} messages.
30864
+ * @param message WorkflowTaskCompletedMetadata message or plain object to encode
30865
+ * @param [writer] Writer to encode to
30866
+ * @returns Writer
30867
+ */
30868
+ public static encodeDelimited(message: temporal.api.sdk.v1.IWorkflowTaskCompletedMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
30869
+
30870
+ /**
30871
+ * Decodes a WorkflowTaskCompletedMetadata message from the specified reader or buffer.
30872
+ * @param reader Reader or buffer to decode from
30873
+ * @param [length] Message length if known beforehand
30874
+ * @returns WorkflowTaskCompletedMetadata
30875
+ * @throws {Error} If the payload is not a reader or valid buffer
30876
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30877
+ */
30878
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.sdk.v1.WorkflowTaskCompletedMetadata;
30879
+
30880
+ /**
30881
+ * Decodes a WorkflowTaskCompletedMetadata message from the specified reader or buffer, length delimited.
30882
+ * @param reader Reader or buffer to decode from
30883
+ * @returns WorkflowTaskCompletedMetadata
30884
+ * @throws {Error} If the payload is not a reader or valid buffer
30885
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
30886
+ */
30887
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.sdk.v1.WorkflowTaskCompletedMetadata;
30888
+
30889
+ /**
30890
+ * Creates a WorkflowTaskCompletedMetadata message from a plain object. Also converts values to their respective internal types.
30891
+ * @param object Plain object
30892
+ * @returns WorkflowTaskCompletedMetadata
30893
+ */
30894
+ public static fromObject(object: { [k: string]: any }): temporal.api.sdk.v1.WorkflowTaskCompletedMetadata;
30895
+
30896
+ /**
30897
+ * Creates a plain object from a WorkflowTaskCompletedMetadata message. Also converts values to other types if specified.
30898
+ * @param message WorkflowTaskCompletedMetadata
30899
+ * @param [options] Conversion options
30900
+ * @returns Plain object
30901
+ */
30902
+ public static toObject(message: temporal.api.sdk.v1.WorkflowTaskCompletedMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
30903
+
30904
+ /**
30905
+ * Converts this WorkflowTaskCompletedMetadata to JSON.
30906
+ * @returns JSON object
30907
+ */
30908
+ public toJSON(): { [k: string]: any };
30909
+
30910
+ /**
30911
+ * Gets the default type url for WorkflowTaskCompletedMetadata
30912
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
30913
+ * @returns The default type url
30914
+ */
30915
+ public static getTypeUrl(typeUrlPrefix?: string): string;
30916
+ }
30917
+ }
30918
+ }
30919
+
29765
30920
  /** Namespace command. */
29766
30921
  namespace command {
29767
30922
 
@@ -31346,201 +32501,90 @@ export namespace temporal {
31346
32501
  public static getTypeUrl(typeUrlPrefix?: string): string;
31347
32502
  }
31348
32503
 
31349
- /** Properties of an AcceptWorkflowUpdateCommandAttributes. */
31350
- interface IAcceptWorkflowUpdateCommandAttributes {
32504
+ /** Properties of a ProtocolMessageCommandAttributes. */
32505
+ interface IProtocolMessageCommandAttributes {
31351
32506
 
31352
- /** AcceptWorkflowUpdateCommandAttributes updateId */
31353
- updateId?: (string|null);
32507
+ /** ProtocolMessageCommandAttributes messageId */
32508
+ messageId?: (string|null);
31354
32509
  }
31355
32510
 
31356
- /** Represents an AcceptWorkflowUpdateCommandAttributes. */
31357
- class AcceptWorkflowUpdateCommandAttributes implements IAcceptWorkflowUpdateCommandAttributes {
32511
+ /** Represents a ProtocolMessageCommandAttributes. */
32512
+ class ProtocolMessageCommandAttributes implements IProtocolMessageCommandAttributes {
31358
32513
 
31359
32514
  /**
31360
- * Constructs a new AcceptWorkflowUpdateCommandAttributes.
32515
+ * Constructs a new ProtocolMessageCommandAttributes.
31361
32516
  * @param [properties] Properties to set
31362
32517
  */
31363
- constructor(properties?: temporal.api.command.v1.IAcceptWorkflowUpdateCommandAttributes);
31364
-
31365
- /** AcceptWorkflowUpdateCommandAttributes updateId. */
31366
- public updateId: string;
31367
-
31368
- /**
31369
- * Creates a new AcceptWorkflowUpdateCommandAttributes instance using the specified properties.
31370
- * @param [properties] Properties to set
31371
- * @returns AcceptWorkflowUpdateCommandAttributes instance
31372
- */
31373
- public static create(properties?: temporal.api.command.v1.IAcceptWorkflowUpdateCommandAttributes): temporal.api.command.v1.AcceptWorkflowUpdateCommandAttributes;
31374
-
31375
- /**
31376
- * Encodes the specified AcceptWorkflowUpdateCommandAttributes message. Does not implicitly {@link temporal.api.command.v1.AcceptWorkflowUpdateCommandAttributes.verify|verify} messages.
31377
- * @param message AcceptWorkflowUpdateCommandAttributes message or plain object to encode
31378
- * @param [writer] Writer to encode to
31379
- * @returns Writer
31380
- */
31381
- public static encode(message: temporal.api.command.v1.IAcceptWorkflowUpdateCommandAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
31382
-
31383
- /**
31384
- * Encodes the specified AcceptWorkflowUpdateCommandAttributes message, length delimited. Does not implicitly {@link temporal.api.command.v1.AcceptWorkflowUpdateCommandAttributes.verify|verify} messages.
31385
- * @param message AcceptWorkflowUpdateCommandAttributes message or plain object to encode
31386
- * @param [writer] Writer to encode to
31387
- * @returns Writer
31388
- */
31389
- public static encodeDelimited(message: temporal.api.command.v1.IAcceptWorkflowUpdateCommandAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
31390
-
31391
- /**
31392
- * Decodes an AcceptWorkflowUpdateCommandAttributes message from the specified reader or buffer.
31393
- * @param reader Reader or buffer to decode from
31394
- * @param [length] Message length if known beforehand
31395
- * @returns AcceptWorkflowUpdateCommandAttributes
31396
- * @throws {Error} If the payload is not a reader or valid buffer
31397
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
31398
- */
31399
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.command.v1.AcceptWorkflowUpdateCommandAttributes;
31400
-
31401
- /**
31402
- * Decodes an AcceptWorkflowUpdateCommandAttributes message from the specified reader or buffer, length delimited.
31403
- * @param reader Reader or buffer to decode from
31404
- * @returns AcceptWorkflowUpdateCommandAttributes
31405
- * @throws {Error} If the payload is not a reader or valid buffer
31406
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
31407
- */
31408
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.command.v1.AcceptWorkflowUpdateCommandAttributes;
31409
-
31410
- /**
31411
- * Creates an AcceptWorkflowUpdateCommandAttributes message from a plain object. Also converts values to their respective internal types.
31412
- * @param object Plain object
31413
- * @returns AcceptWorkflowUpdateCommandAttributes
31414
- */
31415
- public static fromObject(object: { [k: string]: any }): temporal.api.command.v1.AcceptWorkflowUpdateCommandAttributes;
31416
-
31417
- /**
31418
- * Creates a plain object from an AcceptWorkflowUpdateCommandAttributes message. Also converts values to other types if specified.
31419
- * @param message AcceptWorkflowUpdateCommandAttributes
31420
- * @param [options] Conversion options
31421
- * @returns Plain object
31422
- */
31423
- public static toObject(message: temporal.api.command.v1.AcceptWorkflowUpdateCommandAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
31424
-
31425
- /**
31426
- * Converts this AcceptWorkflowUpdateCommandAttributes to JSON.
31427
- * @returns JSON object
31428
- */
31429
- public toJSON(): { [k: string]: any };
31430
-
31431
- /**
31432
- * Gets the default type url for AcceptWorkflowUpdateCommandAttributes
31433
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
31434
- * @returns The default type url
31435
- */
31436
- public static getTypeUrl(typeUrlPrefix?: string): string;
31437
- }
31438
-
31439
- /** Properties of a CompleteWorkflowUpdateCommandAttributes. */
31440
- interface ICompleteWorkflowUpdateCommandAttributes {
31441
-
31442
- /** CompleteWorkflowUpdateCommandAttributes updateId */
31443
- updateId?: (string|null);
31444
-
31445
- /** CompleteWorkflowUpdateCommandAttributes durabilityPreference */
31446
- durabilityPreference?: (temporal.api.enums.v1.WorkflowUpdateDurabilityPreference|null);
31447
-
31448
- /** CompleteWorkflowUpdateCommandAttributes success */
31449
- success?: (temporal.api.common.v1.IPayloads|null);
31450
-
31451
- /** CompleteWorkflowUpdateCommandAttributes failure */
31452
- failure?: (temporal.api.failure.v1.IFailure|null);
31453
- }
31454
-
31455
- /** Represents a CompleteWorkflowUpdateCommandAttributes. */
31456
- class CompleteWorkflowUpdateCommandAttributes implements ICompleteWorkflowUpdateCommandAttributes {
31457
-
31458
- /**
31459
- * Constructs a new CompleteWorkflowUpdateCommandAttributes.
31460
- * @param [properties] Properties to set
31461
- */
31462
- constructor(properties?: temporal.api.command.v1.ICompleteWorkflowUpdateCommandAttributes);
31463
-
31464
- /** CompleteWorkflowUpdateCommandAttributes updateId. */
31465
- public updateId: string;
31466
-
31467
- /** CompleteWorkflowUpdateCommandAttributes durabilityPreference. */
31468
- public durabilityPreference: temporal.api.enums.v1.WorkflowUpdateDurabilityPreference;
31469
-
31470
- /** CompleteWorkflowUpdateCommandAttributes success. */
31471
- public success?: (temporal.api.common.v1.IPayloads|null);
31472
-
31473
- /** CompleteWorkflowUpdateCommandAttributes failure. */
31474
- public failure?: (temporal.api.failure.v1.IFailure|null);
32518
+ constructor(properties?: temporal.api.command.v1.IProtocolMessageCommandAttributes);
31475
32519
 
31476
- /** CompleteWorkflowUpdateCommandAttributes result. */
31477
- public result?: ("success"|"failure");
32520
+ /** ProtocolMessageCommandAttributes messageId. */
32521
+ public messageId: string;
31478
32522
 
31479
32523
  /**
31480
- * Creates a new CompleteWorkflowUpdateCommandAttributes instance using the specified properties.
32524
+ * Creates a new ProtocolMessageCommandAttributes instance using the specified properties.
31481
32525
  * @param [properties] Properties to set
31482
- * @returns CompleteWorkflowUpdateCommandAttributes instance
32526
+ * @returns ProtocolMessageCommandAttributes instance
31483
32527
  */
31484
- public static create(properties?: temporal.api.command.v1.ICompleteWorkflowUpdateCommandAttributes): temporal.api.command.v1.CompleteWorkflowUpdateCommandAttributes;
32528
+ public static create(properties?: temporal.api.command.v1.IProtocolMessageCommandAttributes): temporal.api.command.v1.ProtocolMessageCommandAttributes;
31485
32529
 
31486
32530
  /**
31487
- * Encodes the specified CompleteWorkflowUpdateCommandAttributes message. Does not implicitly {@link temporal.api.command.v1.CompleteWorkflowUpdateCommandAttributes.verify|verify} messages.
31488
- * @param message CompleteWorkflowUpdateCommandAttributes message or plain object to encode
32531
+ * Encodes the specified ProtocolMessageCommandAttributes message. Does not implicitly {@link temporal.api.command.v1.ProtocolMessageCommandAttributes.verify|verify} messages.
32532
+ * @param message ProtocolMessageCommandAttributes message or plain object to encode
31489
32533
  * @param [writer] Writer to encode to
31490
32534
  * @returns Writer
31491
32535
  */
31492
- public static encode(message: temporal.api.command.v1.ICompleteWorkflowUpdateCommandAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
32536
+ public static encode(message: temporal.api.command.v1.IProtocolMessageCommandAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
31493
32537
 
31494
32538
  /**
31495
- * Encodes the specified CompleteWorkflowUpdateCommandAttributes message, length delimited. Does not implicitly {@link temporal.api.command.v1.CompleteWorkflowUpdateCommandAttributes.verify|verify} messages.
31496
- * @param message CompleteWorkflowUpdateCommandAttributes message or plain object to encode
32539
+ * Encodes the specified ProtocolMessageCommandAttributes message, length delimited. Does not implicitly {@link temporal.api.command.v1.ProtocolMessageCommandAttributes.verify|verify} messages.
32540
+ * @param message ProtocolMessageCommandAttributes message or plain object to encode
31497
32541
  * @param [writer] Writer to encode to
31498
32542
  * @returns Writer
31499
32543
  */
31500
- public static encodeDelimited(message: temporal.api.command.v1.ICompleteWorkflowUpdateCommandAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
32544
+ public static encodeDelimited(message: temporal.api.command.v1.IProtocolMessageCommandAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
31501
32545
 
31502
32546
  /**
31503
- * Decodes a CompleteWorkflowUpdateCommandAttributes message from the specified reader or buffer.
32547
+ * Decodes a ProtocolMessageCommandAttributes message from the specified reader or buffer.
31504
32548
  * @param reader Reader or buffer to decode from
31505
32549
  * @param [length] Message length if known beforehand
31506
- * @returns CompleteWorkflowUpdateCommandAttributes
32550
+ * @returns ProtocolMessageCommandAttributes
31507
32551
  * @throws {Error} If the payload is not a reader or valid buffer
31508
32552
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
31509
32553
  */
31510
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.command.v1.CompleteWorkflowUpdateCommandAttributes;
32554
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.command.v1.ProtocolMessageCommandAttributes;
31511
32555
 
31512
32556
  /**
31513
- * Decodes a CompleteWorkflowUpdateCommandAttributes message from the specified reader or buffer, length delimited.
32557
+ * Decodes a ProtocolMessageCommandAttributes message from the specified reader or buffer, length delimited.
31514
32558
  * @param reader Reader or buffer to decode from
31515
- * @returns CompleteWorkflowUpdateCommandAttributes
32559
+ * @returns ProtocolMessageCommandAttributes
31516
32560
  * @throws {Error} If the payload is not a reader or valid buffer
31517
32561
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
31518
32562
  */
31519
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.command.v1.CompleteWorkflowUpdateCommandAttributes;
32563
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.command.v1.ProtocolMessageCommandAttributes;
31520
32564
 
31521
32565
  /**
31522
- * Creates a CompleteWorkflowUpdateCommandAttributes message from a plain object. Also converts values to their respective internal types.
32566
+ * Creates a ProtocolMessageCommandAttributes message from a plain object. Also converts values to their respective internal types.
31523
32567
  * @param object Plain object
31524
- * @returns CompleteWorkflowUpdateCommandAttributes
32568
+ * @returns ProtocolMessageCommandAttributes
31525
32569
  */
31526
- public static fromObject(object: { [k: string]: any }): temporal.api.command.v1.CompleteWorkflowUpdateCommandAttributes;
32570
+ public static fromObject(object: { [k: string]: any }): temporal.api.command.v1.ProtocolMessageCommandAttributes;
31527
32571
 
31528
32572
  /**
31529
- * Creates a plain object from a CompleteWorkflowUpdateCommandAttributes message. Also converts values to other types if specified.
31530
- * @param message CompleteWorkflowUpdateCommandAttributes
32573
+ * Creates a plain object from a ProtocolMessageCommandAttributes message. Also converts values to other types if specified.
32574
+ * @param message ProtocolMessageCommandAttributes
31531
32575
  * @param [options] Conversion options
31532
32576
  * @returns Plain object
31533
32577
  */
31534
- public static toObject(message: temporal.api.command.v1.CompleteWorkflowUpdateCommandAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
32578
+ public static toObject(message: temporal.api.command.v1.ProtocolMessageCommandAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
31535
32579
 
31536
32580
  /**
31537
- * Converts this CompleteWorkflowUpdateCommandAttributes to JSON.
32581
+ * Converts this ProtocolMessageCommandAttributes to JSON.
31538
32582
  * @returns JSON object
31539
32583
  */
31540
32584
  public toJSON(): { [k: string]: any };
31541
32585
 
31542
32586
  /**
31543
- * Gets the default type url for CompleteWorkflowUpdateCommandAttributes
32587
+ * Gets the default type url for ProtocolMessageCommandAttributes
31544
32588
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
31545
32589
  * @returns The default type url
31546
32590
  */
@@ -31592,11 +32636,8 @@ export namespace temporal {
31592
32636
  /** Command upsertWorkflowSearchAttributesCommandAttributes */
31593
32637
  upsertWorkflowSearchAttributesCommandAttributes?: (temporal.api.command.v1.IUpsertWorkflowSearchAttributesCommandAttributes|null);
31594
32638
 
31595
- /** Command acceptWorkflowUpdateCommandAttributes */
31596
- acceptWorkflowUpdateCommandAttributes?: (temporal.api.command.v1.IAcceptWorkflowUpdateCommandAttributes|null);
31597
-
31598
- /** Command completeWorkflowUpdateCommandAttributes */
31599
- completeWorkflowUpdateCommandAttributes?: (temporal.api.command.v1.ICompleteWorkflowUpdateCommandAttributes|null);
32639
+ /** Command protocolMessageCommandAttributes */
32640
+ protocolMessageCommandAttributes?: (temporal.api.command.v1.IProtocolMessageCommandAttributes|null);
31600
32641
 
31601
32642
  /** Command modifyWorkflowPropertiesCommandAttributes */
31602
32643
  modifyWorkflowPropertiesCommandAttributes?: (temporal.api.command.v1.IModifyWorkflowPropertiesCommandAttributes|null);
@@ -31653,17 +32694,14 @@ export namespace temporal {
31653
32694
  /** Command upsertWorkflowSearchAttributesCommandAttributes. */
31654
32695
  public upsertWorkflowSearchAttributesCommandAttributes?: (temporal.api.command.v1.IUpsertWorkflowSearchAttributesCommandAttributes|null);
31655
32696
 
31656
- /** Command acceptWorkflowUpdateCommandAttributes. */
31657
- public acceptWorkflowUpdateCommandAttributes?: (temporal.api.command.v1.IAcceptWorkflowUpdateCommandAttributes|null);
31658
-
31659
- /** Command completeWorkflowUpdateCommandAttributes. */
31660
- public completeWorkflowUpdateCommandAttributes?: (temporal.api.command.v1.ICompleteWorkflowUpdateCommandAttributes|null);
32697
+ /** Command protocolMessageCommandAttributes. */
32698
+ public protocolMessageCommandAttributes?: (temporal.api.command.v1.IProtocolMessageCommandAttributes|null);
31661
32699
 
31662
32700
  /** Command modifyWorkflowPropertiesCommandAttributes. */
31663
32701
  public modifyWorkflowPropertiesCommandAttributes?: (temporal.api.command.v1.IModifyWorkflowPropertiesCommandAttributes|null);
31664
32702
 
31665
32703
  /** Command attributes. */
31666
- public attributes?: ("scheduleActivityTaskCommandAttributes"|"startTimerCommandAttributes"|"completeWorkflowExecutionCommandAttributes"|"failWorkflowExecutionCommandAttributes"|"requestCancelActivityTaskCommandAttributes"|"cancelTimerCommandAttributes"|"cancelWorkflowExecutionCommandAttributes"|"requestCancelExternalWorkflowExecutionCommandAttributes"|"recordMarkerCommandAttributes"|"continueAsNewWorkflowExecutionCommandAttributes"|"startChildWorkflowExecutionCommandAttributes"|"signalExternalWorkflowExecutionCommandAttributes"|"upsertWorkflowSearchAttributesCommandAttributes"|"acceptWorkflowUpdateCommandAttributes"|"completeWorkflowUpdateCommandAttributes"|"modifyWorkflowPropertiesCommandAttributes");
32704
+ public attributes?: ("scheduleActivityTaskCommandAttributes"|"startTimerCommandAttributes"|"completeWorkflowExecutionCommandAttributes"|"failWorkflowExecutionCommandAttributes"|"requestCancelActivityTaskCommandAttributes"|"cancelTimerCommandAttributes"|"cancelWorkflowExecutionCommandAttributes"|"requestCancelExternalWorkflowExecutionCommandAttributes"|"recordMarkerCommandAttributes"|"continueAsNewWorkflowExecutionCommandAttributes"|"startChildWorkflowExecutionCommandAttributes"|"signalExternalWorkflowExecutionCommandAttributes"|"upsertWorkflowSearchAttributesCommandAttributes"|"protocolMessageCommandAttributes"|"modifyWorkflowPropertiesCommandAttributes");
31667
32705
 
31668
32706
  /**
31669
32707
  * Creates a new Command instance using the specified properties.
@@ -32118,6 +33156,131 @@ export namespace temporal {
32118
33156
  }
32119
33157
  }
32120
33158
 
33159
+ /** Namespace protocol. */
33160
+ namespace protocol {
33161
+
33162
+ /** Namespace v1. */
33163
+ namespace v1 {
33164
+
33165
+ /** Properties of a Message. */
33166
+ interface IMessage {
33167
+
33168
+ /** Message id */
33169
+ id?: (string|null);
33170
+
33171
+ /** Message protocolInstanceId */
33172
+ protocolInstanceId?: (string|null);
33173
+
33174
+ /** Message eventId */
33175
+ eventId?: (Long|null);
33176
+
33177
+ /** Message commandIndex */
33178
+ commandIndex?: (Long|null);
33179
+
33180
+ /** Message body */
33181
+ body?: (google.protobuf.IAny|null);
33182
+ }
33183
+
33184
+ /** Represents a Message. */
33185
+ class Message implements IMessage {
33186
+
33187
+ /**
33188
+ * Constructs a new Message.
33189
+ * @param [properties] Properties to set
33190
+ */
33191
+ constructor(properties?: temporal.api.protocol.v1.IMessage);
33192
+
33193
+ /** Message id. */
33194
+ public id: string;
33195
+
33196
+ /** Message protocolInstanceId. */
33197
+ public protocolInstanceId: string;
33198
+
33199
+ /** Message eventId. */
33200
+ public eventId?: (Long|null);
33201
+
33202
+ /** Message commandIndex. */
33203
+ public commandIndex?: (Long|null);
33204
+
33205
+ /** Message body. */
33206
+ public body?: (google.protobuf.IAny|null);
33207
+
33208
+ /** Message sequencingId. */
33209
+ public sequencingId?: ("eventId"|"commandIndex");
33210
+
33211
+ /**
33212
+ * Creates a new Message instance using the specified properties.
33213
+ * @param [properties] Properties to set
33214
+ * @returns Message instance
33215
+ */
33216
+ public static create(properties?: temporal.api.protocol.v1.IMessage): temporal.api.protocol.v1.Message;
33217
+
33218
+ /**
33219
+ * Encodes the specified Message message. Does not implicitly {@link temporal.api.protocol.v1.Message.verify|verify} messages.
33220
+ * @param message Message message or plain object to encode
33221
+ * @param [writer] Writer to encode to
33222
+ * @returns Writer
33223
+ */
33224
+ public static encode(message: temporal.api.protocol.v1.IMessage, writer?: $protobuf.Writer): $protobuf.Writer;
33225
+
33226
+ /**
33227
+ * Encodes the specified Message message, length delimited. Does not implicitly {@link temporal.api.protocol.v1.Message.verify|verify} messages.
33228
+ * @param message Message message or plain object to encode
33229
+ * @param [writer] Writer to encode to
33230
+ * @returns Writer
33231
+ */
33232
+ public static encodeDelimited(message: temporal.api.protocol.v1.IMessage, writer?: $protobuf.Writer): $protobuf.Writer;
33233
+
33234
+ /**
33235
+ * Decodes a Message message from the specified reader or buffer.
33236
+ * @param reader Reader or buffer to decode from
33237
+ * @param [length] Message length if known beforehand
33238
+ * @returns Message
33239
+ * @throws {Error} If the payload is not a reader or valid buffer
33240
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33241
+ */
33242
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.protocol.v1.Message;
33243
+
33244
+ /**
33245
+ * Decodes a Message message from the specified reader or buffer, length delimited.
33246
+ * @param reader Reader or buffer to decode from
33247
+ * @returns Message
33248
+ * @throws {Error} If the payload is not a reader or valid buffer
33249
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33250
+ */
33251
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.protocol.v1.Message;
33252
+
33253
+ /**
33254
+ * Creates a Message message from a plain object. Also converts values to their respective internal types.
33255
+ * @param object Plain object
33256
+ * @returns Message
33257
+ */
33258
+ public static fromObject(object: { [k: string]: any }): temporal.api.protocol.v1.Message;
33259
+
33260
+ /**
33261
+ * Creates a plain object from a Message message. Also converts values to other types if specified.
33262
+ * @param message Message
33263
+ * @param [options] Conversion options
33264
+ * @returns Plain object
33265
+ */
33266
+ public static toObject(message: temporal.api.protocol.v1.Message, options?: $protobuf.IConversionOptions): { [k: string]: any };
33267
+
33268
+ /**
33269
+ * Converts this Message to JSON.
33270
+ * @returns JSON object
33271
+ */
33272
+ public toJSON(): { [k: string]: any };
33273
+
33274
+ /**
33275
+ * Gets the default type url for Message
33276
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
33277
+ * @returns The default type url
33278
+ */
33279
+ public static getTypeUrl(typeUrlPrefix?: string): string;
33280
+ }
33281
+ }
33282
+ }
33283
+
32121
33284
  /** Namespace namespace. */
32122
33285
  namespace namespace {
32123
33286
 
@@ -32270,6 +33433,9 @@ export namespace temporal {
32270
33433
 
32271
33434
  /** NamespaceConfig visibilityArchivalUri */
32272
33435
  visibilityArchivalUri?: (string|null);
33436
+
33437
+ /** NamespaceConfig customSearchAttributeAliases */
33438
+ customSearchAttributeAliases?: ({ [k: string]: string }|null);
32273
33439
  }
32274
33440
 
32275
33441
  /** Represents a NamespaceConfig. */
@@ -32299,6 +33465,9 @@ export namespace temporal {
32299
33465
  /** NamespaceConfig visibilityArchivalUri. */
32300
33466
  public visibilityArchivalUri: string;
32301
33467
 
33468
+ /** NamespaceConfig customSearchAttributeAliases. */
33469
+ public customSearchAttributeAliases: { [k: string]: string };
33470
+
32302
33471
  /**
32303
33472
  * Creates a new NamespaceConfig instance using the specified properties.
32304
33473
  * @param [properties] Properties to set
@@ -35886,6 +37055,96 @@ export namespace temporal {
35886
37055
  */
35887
37056
  public static getTypeUrl(typeUrlPrefix?: string): string;
35888
37057
  }
37058
+
37059
+ /** Properties of a BatchOperationDeletion. */
37060
+ interface IBatchOperationDeletion {
37061
+
37062
+ /** BatchOperationDeletion identity */
37063
+ identity?: (string|null);
37064
+ }
37065
+
37066
+ /** Represents a BatchOperationDeletion. */
37067
+ class BatchOperationDeletion implements IBatchOperationDeletion {
37068
+
37069
+ /**
37070
+ * Constructs a new BatchOperationDeletion.
37071
+ * @param [properties] Properties to set
37072
+ */
37073
+ constructor(properties?: temporal.api.batch.v1.IBatchOperationDeletion);
37074
+
37075
+ /** BatchOperationDeletion identity. */
37076
+ public identity: string;
37077
+
37078
+ /**
37079
+ * Creates a new BatchOperationDeletion instance using the specified properties.
37080
+ * @param [properties] Properties to set
37081
+ * @returns BatchOperationDeletion instance
37082
+ */
37083
+ public static create(properties?: temporal.api.batch.v1.IBatchOperationDeletion): temporal.api.batch.v1.BatchOperationDeletion;
37084
+
37085
+ /**
37086
+ * Encodes the specified BatchOperationDeletion message. Does not implicitly {@link temporal.api.batch.v1.BatchOperationDeletion.verify|verify} messages.
37087
+ * @param message BatchOperationDeletion message or plain object to encode
37088
+ * @param [writer] Writer to encode to
37089
+ * @returns Writer
37090
+ */
37091
+ public static encode(message: temporal.api.batch.v1.IBatchOperationDeletion, writer?: $protobuf.Writer): $protobuf.Writer;
37092
+
37093
+ /**
37094
+ * Encodes the specified BatchOperationDeletion message, length delimited. Does not implicitly {@link temporal.api.batch.v1.BatchOperationDeletion.verify|verify} messages.
37095
+ * @param message BatchOperationDeletion message or plain object to encode
37096
+ * @param [writer] Writer to encode to
37097
+ * @returns Writer
37098
+ */
37099
+ public static encodeDelimited(message: temporal.api.batch.v1.IBatchOperationDeletion, writer?: $protobuf.Writer): $protobuf.Writer;
37100
+
37101
+ /**
37102
+ * Decodes a BatchOperationDeletion message from the specified reader or buffer.
37103
+ * @param reader Reader or buffer to decode from
37104
+ * @param [length] Message length if known beforehand
37105
+ * @returns BatchOperationDeletion
37106
+ * @throws {Error} If the payload is not a reader or valid buffer
37107
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
37108
+ */
37109
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.batch.v1.BatchOperationDeletion;
37110
+
37111
+ /**
37112
+ * Decodes a BatchOperationDeletion message from the specified reader or buffer, length delimited.
37113
+ * @param reader Reader or buffer to decode from
37114
+ * @returns BatchOperationDeletion
37115
+ * @throws {Error} If the payload is not a reader or valid buffer
37116
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
37117
+ */
37118
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.batch.v1.BatchOperationDeletion;
37119
+
37120
+ /**
37121
+ * Creates a BatchOperationDeletion message from a plain object. Also converts values to their respective internal types.
37122
+ * @param object Plain object
37123
+ * @returns BatchOperationDeletion
37124
+ */
37125
+ public static fromObject(object: { [k: string]: any }): temporal.api.batch.v1.BatchOperationDeletion;
37126
+
37127
+ /**
37128
+ * Creates a plain object from a BatchOperationDeletion message. Also converts values to other types if specified.
37129
+ * @param message BatchOperationDeletion
37130
+ * @param [options] Conversion options
37131
+ * @returns Plain object
37132
+ */
37133
+ public static toObject(message: temporal.api.batch.v1.BatchOperationDeletion, options?: $protobuf.IConversionOptions): { [k: string]: any };
37134
+
37135
+ /**
37136
+ * Converts this BatchOperationDeletion to JSON.
37137
+ * @returns JSON object
37138
+ */
37139
+ public toJSON(): { [k: string]: any };
37140
+
37141
+ /**
37142
+ * Gets the default type url for BatchOperationDeletion
37143
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
37144
+ * @returns The default type url
37145
+ */
37146
+ public static getTypeUrl(typeUrlPrefix?: string): string;
37147
+ }
35889
37148
  }
35890
37149
  }
35891
37150
 
@@ -36071,6 +37330,9 @@ export namespace temporal {
36071
37330
 
36072
37331
  /** AddSearchAttributesRequest searchAttributes */
36073
37332
  searchAttributes?: ({ [k: string]: temporal.api.enums.v1.IndexedValueType }|null);
37333
+
37334
+ /** AddSearchAttributesRequest namespace */
37335
+ namespace?: (string|null);
36074
37336
  }
36075
37337
 
36076
37338
  /** Represents an AddSearchAttributesRequest. */
@@ -36085,6 +37347,9 @@ export namespace temporal {
36085
37347
  /** AddSearchAttributesRequest searchAttributes. */
36086
37348
  public searchAttributes: { [k: string]: temporal.api.enums.v1.IndexedValueType };
36087
37349
 
37350
+ /** AddSearchAttributesRequest namespace. */
37351
+ public namespace: string;
37352
+
36088
37353
  /**
36089
37354
  * Creates a new AddSearchAttributesRequest instance using the specified properties.
36090
37355
  * @param [properties] Properties to set
@@ -36245,6 +37510,9 @@ export namespace temporal {
36245
37510
 
36246
37511
  /** RemoveSearchAttributesRequest searchAttributes */
36247
37512
  searchAttributes?: (string[]|null);
37513
+
37514
+ /** RemoveSearchAttributesRequest namespace */
37515
+ namespace?: (string|null);
36248
37516
  }
36249
37517
 
36250
37518
  /** Represents a RemoveSearchAttributesRequest. */
@@ -36259,6 +37527,9 @@ export namespace temporal {
36259
37527
  /** RemoveSearchAttributesRequest searchAttributes. */
36260
37528
  public searchAttributes: string[];
36261
37529
 
37530
+ /** RemoveSearchAttributesRequest namespace. */
37531
+ public namespace: string;
37532
+
36262
37533
  /**
36263
37534
  * Creates a new RemoveSearchAttributesRequest instance using the specified properties.
36264
37535
  * @param [properties] Properties to set
@@ -36416,6 +37687,9 @@ export namespace temporal {
36416
37687
 
36417
37688
  /** Properties of a ListSearchAttributesRequest. */
36418
37689
  interface IListSearchAttributesRequest {
37690
+
37691
+ /** ListSearchAttributesRequest namespace */
37692
+ namespace?: (string|null);
36419
37693
  }
36420
37694
 
36421
37695
  /** Represents a ListSearchAttributesRequest. */
@@ -36427,6 +37701,9 @@ export namespace temporal {
36427
37701
  */
36428
37702
  constructor(properties?: temporal.api.operatorservice.v1.IListSearchAttributesRequest);
36429
37703
 
37704
+ /** ListSearchAttributesRequest namespace. */
37705
+ public namespace: string;
37706
+
36430
37707
  /**
36431
37708
  * Creates a new ListSearchAttributesRequest instance using the specified properties.
36432
37709
  * @param [properties] Properties to set
@@ -42454,6 +43731,102 @@ export namespace google {
42454
43731
  */
42455
43732
  public static getTypeUrl(typeUrlPrefix?: string): string;
42456
43733
  }
43734
+
43735
+ /** Properties of an Any. */
43736
+ interface IAny {
43737
+
43738
+ /** Any type_url */
43739
+ type_url?: (string|null);
43740
+
43741
+ /** Any value */
43742
+ value?: (Uint8Array|null);
43743
+ }
43744
+
43745
+ /** Represents an Any. */
43746
+ class Any implements IAny {
43747
+
43748
+ /**
43749
+ * Constructs a new Any.
43750
+ * @param [properties] Properties to set
43751
+ */
43752
+ constructor(properties?: google.protobuf.IAny);
43753
+
43754
+ /** Any type_url. */
43755
+ public type_url: string;
43756
+
43757
+ /** Any value. */
43758
+ public value: Uint8Array;
43759
+
43760
+ /**
43761
+ * Creates a new Any instance using the specified properties.
43762
+ * @param [properties] Properties to set
43763
+ * @returns Any instance
43764
+ */
43765
+ public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
43766
+
43767
+ /**
43768
+ * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
43769
+ * @param message Any message or plain object to encode
43770
+ * @param [writer] Writer to encode to
43771
+ * @returns Writer
43772
+ */
43773
+ public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
43774
+
43775
+ /**
43776
+ * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
43777
+ * @param message Any message or plain object to encode
43778
+ * @param [writer] Writer to encode to
43779
+ * @returns Writer
43780
+ */
43781
+ public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
43782
+
43783
+ /**
43784
+ * Decodes an Any message from the specified reader or buffer.
43785
+ * @param reader Reader or buffer to decode from
43786
+ * @param [length] Message length if known beforehand
43787
+ * @returns Any
43788
+ * @throws {Error} If the payload is not a reader or valid buffer
43789
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43790
+ */
43791
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any;
43792
+
43793
+ /**
43794
+ * Decodes an Any message from the specified reader or buffer, length delimited.
43795
+ * @param reader Reader or buffer to decode from
43796
+ * @returns Any
43797
+ * @throws {Error} If the payload is not a reader or valid buffer
43798
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43799
+ */
43800
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any;
43801
+
43802
+ /**
43803
+ * Creates an Any message from a plain object. Also converts values to their respective internal types.
43804
+ * @param object Plain object
43805
+ * @returns Any
43806
+ */
43807
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
43808
+
43809
+ /**
43810
+ * Creates a plain object from an Any message. Also converts values to other types if specified.
43811
+ * @param message Any
43812
+ * @param [options] Conversion options
43813
+ * @returns Plain object
43814
+ */
43815
+ public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any };
43816
+
43817
+ /**
43818
+ * Converts this Any to JSON.
43819
+ * @returns JSON object
43820
+ */
43821
+ public toJSON(): { [k: string]: any };
43822
+
43823
+ /**
43824
+ * Gets the default type url for Any
43825
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
43826
+ * @returns The default type url
43827
+ */
43828
+ public static getTypeUrl(typeUrlPrefix?: string): string;
43829
+ }
42457
43830
  }
42458
43831
  }
42459
43832