@temporalio/proto 1.15.0 → 1.16.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/package.json +1 -1
- package/protos/json-module.js +290 -99
- package/protos/root.d.ts +649 -33
package/protos/root.d.ts
CHANGED
|
@@ -2544,6 +2544,13 @@ export namespace coresdk {
|
|
|
2544
2544
|
* of the previous run.
|
|
2545
2545
|
*/
|
|
2546
2546
|
suggestContinueAsNewReasons?: (temporal.api.enums.v1.SuggestContinueAsNewReason[]|null);
|
|
2547
|
+
|
|
2548
|
+
/**
|
|
2549
|
+
* True if Workflow's Target Worker Deployment Version is different from its Pinned Version and
|
|
2550
|
+
* the workflow is Pinned.
|
|
2551
|
+
* Experimental.
|
|
2552
|
+
*/
|
|
2553
|
+
targetWorkerDeploymentVersionChanged?: (boolean|null);
|
|
2547
2554
|
}
|
|
2548
2555
|
|
|
2549
2556
|
/**
|
|
@@ -2655,6 +2662,13 @@ export namespace coresdk {
|
|
|
2655
2662
|
*/
|
|
2656
2663
|
public suggestContinueAsNewReasons: temporal.api.enums.v1.SuggestContinueAsNewReason[];
|
|
2657
2664
|
|
|
2665
|
+
/**
|
|
2666
|
+
* True if Workflow's Target Worker Deployment Version is different from its Pinned Version and
|
|
2667
|
+
* the workflow is Pinned.
|
|
2668
|
+
* Experimental.
|
|
2669
|
+
*/
|
|
2670
|
+
public targetWorkerDeploymentVersionChanged: boolean;
|
|
2671
|
+
|
|
2658
2672
|
/**
|
|
2659
2673
|
* Creates a new WorkflowActivation instance using the specified properties.
|
|
2660
2674
|
* @param [properties] Properties to set
|
|
@@ -5651,7 +5665,7 @@ export namespace coresdk {
|
|
|
5651
5665
|
*/
|
|
5652
5666
|
completed?: (temporal.api.nexus.v1.IResponse|null);
|
|
5653
5667
|
|
|
5654
|
-
/** The handler could not complete the request for some reason. */
|
|
5668
|
+
/** The handler could not complete the request for some reason. Deprecated, use failure. */
|
|
5655
5669
|
error?: (temporal.api.nexus.v1.IHandlerError|null);
|
|
5656
5670
|
|
|
5657
5671
|
/**
|
|
@@ -5661,6 +5675,9 @@ export namespace coresdk {
|
|
|
5661
5675
|
* by cancellation.
|
|
5662
5676
|
*/
|
|
5663
5677
|
ackCancel?: (boolean|null);
|
|
5678
|
+
|
|
5679
|
+
/** The handler could not complete the request for some reason. */
|
|
5680
|
+
failure?: (temporal.api.failure.v1.IFailure|null);
|
|
5664
5681
|
}
|
|
5665
5682
|
|
|
5666
5683
|
/** A response to a Nexus task */
|
|
@@ -5681,7 +5698,7 @@ export namespace coresdk {
|
|
|
5681
5698
|
*/
|
|
5682
5699
|
public completed?: (temporal.api.nexus.v1.IResponse|null);
|
|
5683
5700
|
|
|
5684
|
-
/** The handler could not complete the request for some reason. */
|
|
5701
|
+
/** The handler could not complete the request for some reason. Deprecated, use failure. */
|
|
5685
5702
|
public error?: (temporal.api.nexus.v1.IHandlerError|null);
|
|
5686
5703
|
|
|
5687
5704
|
/**
|
|
@@ -5692,8 +5709,11 @@ export namespace coresdk {
|
|
|
5692
5709
|
*/
|
|
5693
5710
|
public ackCancel?: (boolean|null);
|
|
5694
5711
|
|
|
5712
|
+
/** The handler could not complete the request for some reason. */
|
|
5713
|
+
public failure?: (temporal.api.failure.v1.IFailure|null);
|
|
5714
|
+
|
|
5695
5715
|
/** NexusTaskCompletion status. */
|
|
5696
|
-
public status?: ("completed"|"error"|"ackCancel");
|
|
5716
|
+
public status?: ("completed"|"error"|"ackCancel"|"failure");
|
|
5697
5717
|
|
|
5698
5718
|
/**
|
|
5699
5719
|
* Creates a new NexusTaskCompletion instance using the specified properties.
|
|
@@ -7472,7 +7492,7 @@ export namespace coresdk {
|
|
|
7472
7492
|
* If set, the new workflow will have these search attributes. If unset, re-uses the current
|
|
7473
7493
|
* workflow's search attributes.
|
|
7474
7494
|
*/
|
|
7475
|
-
searchAttributes?: (
|
|
7495
|
+
searchAttributes?: (temporal.api.common.v1.ISearchAttributes|null);
|
|
7476
7496
|
|
|
7477
7497
|
/**
|
|
7478
7498
|
* If set, the new workflow will have this retry policy. If unset, re-uses the current
|
|
@@ -7531,7 +7551,7 @@ export namespace coresdk {
|
|
|
7531
7551
|
* If set, the new workflow will have these search attributes. If unset, re-uses the current
|
|
7532
7552
|
* workflow's search attributes.
|
|
7533
7553
|
*/
|
|
7534
|
-
public searchAttributes
|
|
7554
|
+
public searchAttributes?: (temporal.api.common.v1.ISearchAttributes|null);
|
|
7535
7555
|
|
|
7536
7556
|
/**
|
|
7537
7557
|
* If set, the new workflow will have this retry policy. If unset, re-uses the current
|
|
@@ -7869,7 +7889,7 @@ export namespace coresdk {
|
|
|
7869
7889
|
memo?: ({ [k: string]: temporal.api.common.v1.IPayload }|null);
|
|
7870
7890
|
|
|
7871
7891
|
/** Search attributes */
|
|
7872
|
-
searchAttributes?: (
|
|
7892
|
+
searchAttributes?: (temporal.api.common.v1.ISearchAttributes|null);
|
|
7873
7893
|
|
|
7874
7894
|
/** Defines behaviour of the underlying workflow when child workflow cancellation has been requested. */
|
|
7875
7895
|
cancellationType?: (coresdk.child_workflow.ChildWorkflowCancellationType|null);
|
|
@@ -7939,7 +7959,7 @@ export namespace coresdk {
|
|
|
7939
7959
|
public memo: { [k: string]: temporal.api.common.v1.IPayload };
|
|
7940
7960
|
|
|
7941
7961
|
/** Search attributes */
|
|
7942
|
-
public searchAttributes
|
|
7962
|
+
public searchAttributes?: (temporal.api.common.v1.ISearchAttributes|null);
|
|
7943
7963
|
|
|
7944
7964
|
/** Defines behaviour of the underlying workflow when child workflow cancellation has been requested. */
|
|
7945
7965
|
public cancellationType: coresdk.child_workflow.ChildWorkflowCancellationType;
|
|
@@ -8439,10 +8459,10 @@ export namespace coresdk {
|
|
|
8439
8459
|
interface IUpsertWorkflowSearchAttributes {
|
|
8440
8460
|
|
|
8441
8461
|
/**
|
|
8442
|
-
* SearchAttributes
|
|
8443
|
-
*
|
|
8462
|
+
* SearchAttributes to upsert. The indexed_fields map will be merged with existing search
|
|
8463
|
+
* attributes, with these values taking precedence.
|
|
8444
8464
|
*/
|
|
8445
|
-
searchAttributes?: (
|
|
8465
|
+
searchAttributes?: (temporal.api.common.v1.ISearchAttributes|null);
|
|
8446
8466
|
}
|
|
8447
8467
|
|
|
8448
8468
|
/** Represents an UpsertWorkflowSearchAttributes. */
|
|
@@ -8455,10 +8475,10 @@ export namespace coresdk {
|
|
|
8455
8475
|
constructor(properties?: coresdk.workflow_commands.IUpsertWorkflowSearchAttributes);
|
|
8456
8476
|
|
|
8457
8477
|
/**
|
|
8458
|
-
* SearchAttributes
|
|
8459
|
-
*
|
|
8478
|
+
* SearchAttributes to upsert. The indexed_fields map will be merged with existing search
|
|
8479
|
+
* attributes, with these values taking precedence.
|
|
8460
8480
|
*/
|
|
8461
|
-
public searchAttributes
|
|
8481
|
+
public searchAttributes?: (temporal.api.common.v1.ISearchAttributes|null);
|
|
8462
8482
|
|
|
8463
8483
|
/**
|
|
8464
8484
|
* Creates a new UpsertWorkflowSearchAttributes instance using the specified properties.
|
|
@@ -12420,8 +12440,7 @@ export namespace temporal {
|
|
|
12420
12440
|
SUGGEST_CONTINUE_AS_NEW_REASON_UNSPECIFIED = 0,
|
|
12421
12441
|
SUGGEST_CONTINUE_AS_NEW_REASON_HISTORY_SIZE_TOO_LARGE = 1,
|
|
12422
12442
|
SUGGEST_CONTINUE_AS_NEW_REASON_TOO_MANY_HISTORY_EVENTS = 2,
|
|
12423
|
-
SUGGEST_CONTINUE_AS_NEW_REASON_TOO_MANY_UPDATES = 3
|
|
12424
|
-
SUGGEST_CONTINUE_AS_NEW_REASON_TARGET_WORKER_DEPLOYMENT_VERSION_CHANGED = 4
|
|
12443
|
+
SUGGEST_CONTINUE_AS_NEW_REASON_TOO_MANY_UPDATES = 3
|
|
12425
12444
|
}
|
|
12426
12445
|
|
|
12427
12446
|
/**
|
|
@@ -13661,7 +13680,7 @@ export namespace temporal {
|
|
|
13661
13680
|
operationToken?: (string|null);
|
|
13662
13681
|
}
|
|
13663
13682
|
|
|
13664
|
-
/**
|
|
13683
|
+
/** Representation of the Temporal SDK NexusOperationError object that is returned to workflow callers. */
|
|
13665
13684
|
class NexusOperationFailureInfo implements INexusOperationFailureInfo {
|
|
13666
13685
|
|
|
13667
13686
|
/**
|
|
@@ -15095,11 +15114,17 @@ export namespace temporal {
|
|
|
15095
15114
|
/** Failure message */
|
|
15096
15115
|
message?: (string|null);
|
|
15097
15116
|
|
|
15117
|
+
/** Failure stackTrace */
|
|
15118
|
+
stackTrace?: (string|null);
|
|
15119
|
+
|
|
15098
15120
|
/** Failure metadata */
|
|
15099
15121
|
metadata?: ({ [k: string]: string }|null);
|
|
15100
15122
|
|
|
15101
15123
|
/** UTF-8 encoded JSON serializable details. */
|
|
15102
15124
|
details?: (Uint8Array|null);
|
|
15125
|
+
|
|
15126
|
+
/** Failure cause */
|
|
15127
|
+
cause?: (temporal.api.nexus.v1.IFailure|null);
|
|
15103
15128
|
}
|
|
15104
15129
|
|
|
15105
15130
|
/**
|
|
@@ -15117,12 +15142,18 @@ export namespace temporal {
|
|
|
15117
15142
|
/** Failure message. */
|
|
15118
15143
|
public message: string;
|
|
15119
15144
|
|
|
15145
|
+
/** Failure stackTrace. */
|
|
15146
|
+
public stackTrace: string;
|
|
15147
|
+
|
|
15120
15148
|
/** Failure metadata. */
|
|
15121
15149
|
public metadata: { [k: string]: string };
|
|
15122
15150
|
|
|
15123
15151
|
/** UTF-8 encoded JSON serializable details. */
|
|
15124
15152
|
public details: Uint8Array;
|
|
15125
15153
|
|
|
15154
|
+
/** Failure cause. */
|
|
15155
|
+
public cause?: (temporal.api.nexus.v1.IFailure|null);
|
|
15156
|
+
|
|
15126
15157
|
/**
|
|
15127
15158
|
* Creates a new Failure instance using the specified properties.
|
|
15128
15159
|
* @param [properties] Properties to set
|
|
@@ -15746,6 +15777,9 @@ export namespace temporal {
|
|
|
15746
15777
|
*/
|
|
15747
15778
|
scheduledTime?: (google.protobuf.ITimestamp|null);
|
|
15748
15779
|
|
|
15780
|
+
/** Request capabilities */
|
|
15781
|
+
capabilities?: (temporal.api.nexus.v1.Request.ICapabilities|null);
|
|
15782
|
+
|
|
15749
15783
|
/** Request startOperation */
|
|
15750
15784
|
startOperation?: (temporal.api.nexus.v1.IStartOperationRequest|null);
|
|
15751
15785
|
|
|
@@ -15781,6 +15815,9 @@ export namespace temporal {
|
|
|
15781
15815
|
*/
|
|
15782
15816
|
public scheduledTime?: (google.protobuf.ITimestamp|null);
|
|
15783
15817
|
|
|
15818
|
+
/** Request capabilities. */
|
|
15819
|
+
public capabilities?: (temporal.api.nexus.v1.Request.ICapabilities|null);
|
|
15820
|
+
|
|
15784
15821
|
/** Request startOperation. */
|
|
15785
15822
|
public startOperation?: (temporal.api.nexus.v1.IStartOperationRequest|null);
|
|
15786
15823
|
|
|
@@ -15867,6 +15904,105 @@ export namespace temporal {
|
|
|
15867
15904
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
15868
15905
|
}
|
|
15869
15906
|
|
|
15907
|
+
namespace Request {
|
|
15908
|
+
|
|
15909
|
+
/** Properties of a Capabilities. */
|
|
15910
|
+
interface ICapabilities {
|
|
15911
|
+
|
|
15912
|
+
/**
|
|
15913
|
+
* If set, handlers may use temporal.api.failure.v1.Failure instances to return failures to the server.
|
|
15914
|
+
* This also allows handler and operation errors to have their own messages and stack traces.
|
|
15915
|
+
*/
|
|
15916
|
+
temporalFailureResponses?: (boolean|null);
|
|
15917
|
+
}
|
|
15918
|
+
|
|
15919
|
+
/** Represents a Capabilities. */
|
|
15920
|
+
class Capabilities implements ICapabilities {
|
|
15921
|
+
|
|
15922
|
+
/**
|
|
15923
|
+
* Constructs a new Capabilities.
|
|
15924
|
+
* @param [properties] Properties to set
|
|
15925
|
+
*/
|
|
15926
|
+
constructor(properties?: temporal.api.nexus.v1.Request.ICapabilities);
|
|
15927
|
+
|
|
15928
|
+
/**
|
|
15929
|
+
* If set, handlers may use temporal.api.failure.v1.Failure instances to return failures to the server.
|
|
15930
|
+
* This also allows handler and operation errors to have their own messages and stack traces.
|
|
15931
|
+
*/
|
|
15932
|
+
public temporalFailureResponses: boolean;
|
|
15933
|
+
|
|
15934
|
+
/**
|
|
15935
|
+
* Creates a new Capabilities instance using the specified properties.
|
|
15936
|
+
* @param [properties] Properties to set
|
|
15937
|
+
* @returns Capabilities instance
|
|
15938
|
+
*/
|
|
15939
|
+
public static create(properties?: temporal.api.nexus.v1.Request.ICapabilities): temporal.api.nexus.v1.Request.Capabilities;
|
|
15940
|
+
|
|
15941
|
+
/**
|
|
15942
|
+
* Encodes the specified Capabilities message. Does not implicitly {@link temporal.api.nexus.v1.Request.Capabilities.verify|verify} messages.
|
|
15943
|
+
* @param message Capabilities message or plain object to encode
|
|
15944
|
+
* @param [writer] Writer to encode to
|
|
15945
|
+
* @returns Writer
|
|
15946
|
+
*/
|
|
15947
|
+
public static encode(message: temporal.api.nexus.v1.Request.ICapabilities, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15948
|
+
|
|
15949
|
+
/**
|
|
15950
|
+
* Encodes the specified Capabilities message, length delimited. Does not implicitly {@link temporal.api.nexus.v1.Request.Capabilities.verify|verify} messages.
|
|
15951
|
+
* @param message Capabilities message or plain object to encode
|
|
15952
|
+
* @param [writer] Writer to encode to
|
|
15953
|
+
* @returns Writer
|
|
15954
|
+
*/
|
|
15955
|
+
public static encodeDelimited(message: temporal.api.nexus.v1.Request.ICapabilities, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15956
|
+
|
|
15957
|
+
/**
|
|
15958
|
+
* Decodes a Capabilities message from the specified reader or buffer.
|
|
15959
|
+
* @param reader Reader or buffer to decode from
|
|
15960
|
+
* @param [length] Message length if known beforehand
|
|
15961
|
+
* @returns Capabilities
|
|
15962
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15963
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15964
|
+
*/
|
|
15965
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.nexus.v1.Request.Capabilities;
|
|
15966
|
+
|
|
15967
|
+
/**
|
|
15968
|
+
* Decodes a Capabilities message from the specified reader or buffer, length delimited.
|
|
15969
|
+
* @param reader Reader or buffer to decode from
|
|
15970
|
+
* @returns Capabilities
|
|
15971
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15972
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15973
|
+
*/
|
|
15974
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.nexus.v1.Request.Capabilities;
|
|
15975
|
+
|
|
15976
|
+
/**
|
|
15977
|
+
* Creates a Capabilities message from a plain object. Also converts values to their respective internal types.
|
|
15978
|
+
* @param object Plain object
|
|
15979
|
+
* @returns Capabilities
|
|
15980
|
+
*/
|
|
15981
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.nexus.v1.Request.Capabilities;
|
|
15982
|
+
|
|
15983
|
+
/**
|
|
15984
|
+
* Creates a plain object from a Capabilities message. Also converts values to other types if specified.
|
|
15985
|
+
* @param message Capabilities
|
|
15986
|
+
* @param [options] Conversion options
|
|
15987
|
+
* @returns Plain object
|
|
15988
|
+
*/
|
|
15989
|
+
public static toObject(message: temporal.api.nexus.v1.Request.Capabilities, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
15990
|
+
|
|
15991
|
+
/**
|
|
15992
|
+
* Converts this Capabilities to JSON.
|
|
15993
|
+
* @returns JSON object
|
|
15994
|
+
*/
|
|
15995
|
+
public toJSON(): { [k: string]: any };
|
|
15996
|
+
|
|
15997
|
+
/**
|
|
15998
|
+
* Gets the default type url for Capabilities
|
|
15999
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
16000
|
+
* @returns The default type url
|
|
16001
|
+
*/
|
|
16002
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
16003
|
+
}
|
|
16004
|
+
}
|
|
16005
|
+
|
|
15870
16006
|
/** Properties of a StartOperationResponse. */
|
|
15871
16007
|
interface IStartOperationResponse {
|
|
15872
16008
|
|
|
@@ -15876,8 +16012,17 @@ export namespace temporal {
|
|
|
15876
16012
|
/** StartOperationResponse asyncSuccess */
|
|
15877
16013
|
asyncSuccess?: (temporal.api.nexus.v1.StartOperationResponse.IAsync|null);
|
|
15878
16014
|
|
|
15879
|
-
/**
|
|
16015
|
+
/**
|
|
16016
|
+
* The operation completed unsuccessfully (failed or canceled).
|
|
16017
|
+
* Deprecated. Use the failure variant instead.
|
|
16018
|
+
*/
|
|
15880
16019
|
operationError?: (temporal.api.nexus.v1.IUnsuccessfulOperationError|null);
|
|
16020
|
+
|
|
16021
|
+
/**
|
|
16022
|
+
* The operation completed unsuccessfully (failed or canceled).
|
|
16023
|
+
* Failure object must contain an ApplicationFailureInfo or CanceledFailureInfo object.
|
|
16024
|
+
*/
|
|
16025
|
+
failure?: (temporal.api.failure.v1.IFailure|null);
|
|
15881
16026
|
}
|
|
15882
16027
|
|
|
15883
16028
|
/** Response variant for StartOperationRequest. */
|
|
@@ -15895,11 +16040,20 @@ export namespace temporal {
|
|
|
15895
16040
|
/** StartOperationResponse asyncSuccess. */
|
|
15896
16041
|
public asyncSuccess?: (temporal.api.nexus.v1.StartOperationResponse.IAsync|null);
|
|
15897
16042
|
|
|
15898
|
-
/**
|
|
16043
|
+
/**
|
|
16044
|
+
* The operation completed unsuccessfully (failed or canceled).
|
|
16045
|
+
* Deprecated. Use the failure variant instead.
|
|
16046
|
+
*/
|
|
15899
16047
|
public operationError?: (temporal.api.nexus.v1.IUnsuccessfulOperationError|null);
|
|
15900
16048
|
|
|
16049
|
+
/**
|
|
16050
|
+
* The operation completed unsuccessfully (failed or canceled).
|
|
16051
|
+
* Failure object must contain an ApplicationFailureInfo or CanceledFailureInfo object.
|
|
16052
|
+
*/
|
|
16053
|
+
public failure?: (temporal.api.failure.v1.IFailure|null);
|
|
16054
|
+
|
|
15901
16055
|
/** StartOperationResponse variant. */
|
|
15902
|
-
public variant?: ("syncSuccess"|"asyncSuccess"|"operationError");
|
|
16056
|
+
public variant?: ("syncSuccess"|"asyncSuccess"|"operationError"|"failure");
|
|
15903
16057
|
|
|
15904
16058
|
/**
|
|
15905
16059
|
* Creates a new StartOperationResponse instance using the specified properties.
|
|
@@ -18941,6 +19095,12 @@ export namespace temporal {
|
|
|
18941
19095
|
/** The identity of the worker/client who is polling this task queue */
|
|
18942
19096
|
identity?: (string|null);
|
|
18943
19097
|
|
|
19098
|
+
/**
|
|
19099
|
+
* A unique key for this worker instance, used for tracking worker lifecycle.
|
|
19100
|
+
* This is guaranteed to be unique, whereas identity is not guaranteed to be unique.
|
|
19101
|
+
*/
|
|
19102
|
+
workerInstanceKey?: (string|null);
|
|
19103
|
+
|
|
18944
19104
|
/**
|
|
18945
19105
|
* Deprecated. Use deployment_options instead.
|
|
18946
19106
|
* Each worker process should provide an ID unique to the specific set of code it is running
|
|
@@ -18980,6 +19140,12 @@ export namespace temporal {
|
|
|
18980
19140
|
/** The identity of the worker/client who is polling this task queue */
|
|
18981
19141
|
public identity: string;
|
|
18982
19142
|
|
|
19143
|
+
/**
|
|
19144
|
+
* A unique key for this worker instance, used for tracking worker lifecycle.
|
|
19145
|
+
* This is guaranteed to be unique, whereas identity is not guaranteed to be unique.
|
|
19146
|
+
*/
|
|
19147
|
+
public workerInstanceKey: string;
|
|
19148
|
+
|
|
18983
19149
|
/**
|
|
18984
19150
|
* Deprecated. Use deployment_options instead.
|
|
18985
19151
|
* Each worker process should provide an ID unique to the specific set of code it is running
|
|
@@ -20056,6 +20222,12 @@ export namespace temporal {
|
|
|
20056
20222
|
/** The identity of the worker/client */
|
|
20057
20223
|
identity?: (string|null);
|
|
20058
20224
|
|
|
20225
|
+
/**
|
|
20226
|
+
* A unique key for this worker instance, used for tracking worker lifecycle.
|
|
20227
|
+
* This is guaranteed to be unique, whereas identity is not guaranteed to be unique.
|
|
20228
|
+
*/
|
|
20229
|
+
workerInstanceKey?: (string|null);
|
|
20230
|
+
|
|
20059
20231
|
/** PollActivityTaskQueueRequest taskQueueMetadata */
|
|
20060
20232
|
taskQueueMetadata?: (temporal.api.taskqueue.v1.ITaskQueueMetadata|null);
|
|
20061
20233
|
|
|
@@ -20088,6 +20260,12 @@ export namespace temporal {
|
|
|
20088
20260
|
/** The identity of the worker/client */
|
|
20089
20261
|
public identity: string;
|
|
20090
20262
|
|
|
20263
|
+
/**
|
|
20264
|
+
* A unique key for this worker instance, used for tracking worker lifecycle.
|
|
20265
|
+
* This is guaranteed to be unique, whereas identity is not guaranteed to be unique.
|
|
20266
|
+
*/
|
|
20267
|
+
public workerInstanceKey: string;
|
|
20268
|
+
|
|
20091
20269
|
/** PollActivityTaskQueueRequest taskQueueMetadata. */
|
|
20092
20270
|
public taskQueueMetadata?: (temporal.api.taskqueue.v1.ITaskQueueMetadata|null);
|
|
20093
20271
|
|
|
@@ -20178,13 +20356,17 @@ export namespace temporal {
|
|
|
20178
20356
|
/** A unique identifier for this task */
|
|
20179
20357
|
taskToken?: (Uint8Array|null);
|
|
20180
20358
|
|
|
20181
|
-
/**
|
|
20359
|
+
/**
|
|
20360
|
+
* The namespace of the activity. If this is a workflow activity then this is the namespace of
|
|
20361
|
+
* the workflow also. If this is a standalone activity then the name of this field is
|
|
20362
|
+
* misleading, but retained for compatibility with workflow activities.
|
|
20363
|
+
*/
|
|
20182
20364
|
workflowNamespace?: (string|null);
|
|
20183
20365
|
|
|
20184
|
-
/** Type of the requesting workflow */
|
|
20366
|
+
/** Type of the requesting workflow (if this is a workflow activity). */
|
|
20185
20367
|
workflowType?: (temporal.api.common.v1.IWorkflowType|null);
|
|
20186
20368
|
|
|
20187
|
-
/** Execution info of the requesting workflow */
|
|
20369
|
+
/** Execution info of the requesting workflow (if this is a workflow activity) */
|
|
20188
20370
|
workflowExecution?: (temporal.api.common.v1.IWorkflowExecution|null);
|
|
20189
20371
|
|
|
20190
20372
|
/** PollActivityTaskQueueResponse activityType */
|
|
@@ -20273,13 +20455,17 @@ export namespace temporal {
|
|
|
20273
20455
|
/** A unique identifier for this task */
|
|
20274
20456
|
public taskToken: Uint8Array;
|
|
20275
20457
|
|
|
20276
|
-
/**
|
|
20458
|
+
/**
|
|
20459
|
+
* The namespace of the activity. If this is a workflow activity then this is the namespace of
|
|
20460
|
+
* the workflow also. If this is a standalone activity then the name of this field is
|
|
20461
|
+
* misleading, but retained for compatibility with workflow activities.
|
|
20462
|
+
*/
|
|
20277
20463
|
public workflowNamespace: string;
|
|
20278
20464
|
|
|
20279
|
-
/** Type of the requesting workflow */
|
|
20465
|
+
/** Type of the requesting workflow (if this is a workflow activity). */
|
|
20280
20466
|
public workflowType?: (temporal.api.common.v1.IWorkflowType|null);
|
|
20281
20467
|
|
|
20282
|
-
/** Execution info of the requesting workflow */
|
|
20468
|
+
/** Execution info of the requesting workflow (if this is a workflow activity) */
|
|
20283
20469
|
public workflowExecution?: (temporal.api.common.v1.IWorkflowExecution|null);
|
|
20284
20470
|
|
|
20285
20471
|
/** PollActivityTaskQueueResponse activityType. */
|
|
@@ -25699,7 +25885,11 @@ export namespace temporal {
|
|
|
25699
25885
|
/** ShutdownWorkerRequest namespace */
|
|
25700
25886
|
namespace?: (string|null);
|
|
25701
25887
|
|
|
25702
|
-
/**
|
|
25888
|
+
/**
|
|
25889
|
+
* sticky_task_queue may not always be populated. We want to ensure all workers
|
|
25890
|
+
* send a shutdown request to update worker state for heartbeating, as well
|
|
25891
|
+
* as cancel pending poll calls early, instead of waiting for timeouts.
|
|
25892
|
+
*/
|
|
25703
25893
|
stickyTaskQueue?: (string|null);
|
|
25704
25894
|
|
|
25705
25895
|
/** ShutdownWorkerRequest identity */
|
|
@@ -25710,6 +25900,26 @@ export namespace temporal {
|
|
|
25710
25900
|
|
|
25711
25901
|
/** ShutdownWorkerRequest workerHeartbeat */
|
|
25712
25902
|
workerHeartbeat?: (temporal.api.worker.v1.IWorkerHeartbeat|null);
|
|
25903
|
+
|
|
25904
|
+
/**
|
|
25905
|
+
* Technically this is also sent in the WorkerHeartbeat, but
|
|
25906
|
+
* since worker heartbeating can be turned off, this needs
|
|
25907
|
+
* to be a separate, top-level field.
|
|
25908
|
+
*/
|
|
25909
|
+
workerInstanceKey?: (string|null);
|
|
25910
|
+
|
|
25911
|
+
/**
|
|
25912
|
+
* Task queue name the worker is polling on. This allows server to cancel
|
|
25913
|
+
* all outstanding poll RPC calls from SDK. This avoids a race condition that
|
|
25914
|
+
* can lead to tasks being lost.
|
|
25915
|
+
*/
|
|
25916
|
+
taskQueue?: (string|null);
|
|
25917
|
+
|
|
25918
|
+
/**
|
|
25919
|
+
* Task queue types that help server cancel outstanding poll RPC
|
|
25920
|
+
* calls from SDK. This avoids a race condition that can lead to tasks being lost.
|
|
25921
|
+
*/
|
|
25922
|
+
taskQueueTypes?: (temporal.api.enums.v1.TaskQueueType[]|null);
|
|
25713
25923
|
}
|
|
25714
25924
|
|
|
25715
25925
|
/** Represents a ShutdownWorkerRequest. */
|
|
@@ -25724,7 +25934,11 @@ export namespace temporal {
|
|
|
25724
25934
|
/** ShutdownWorkerRequest namespace. */
|
|
25725
25935
|
public namespace: string;
|
|
25726
25936
|
|
|
25727
|
-
/**
|
|
25937
|
+
/**
|
|
25938
|
+
* sticky_task_queue may not always be populated. We want to ensure all workers
|
|
25939
|
+
* send a shutdown request to update worker state for heartbeating, as well
|
|
25940
|
+
* as cancel pending poll calls early, instead of waiting for timeouts.
|
|
25941
|
+
*/
|
|
25728
25942
|
public stickyTaskQueue: string;
|
|
25729
25943
|
|
|
25730
25944
|
/** ShutdownWorkerRequest identity. */
|
|
@@ -25736,6 +25950,26 @@ export namespace temporal {
|
|
|
25736
25950
|
/** ShutdownWorkerRequest workerHeartbeat. */
|
|
25737
25951
|
public workerHeartbeat?: (temporal.api.worker.v1.IWorkerHeartbeat|null);
|
|
25738
25952
|
|
|
25953
|
+
/**
|
|
25954
|
+
* Technically this is also sent in the WorkerHeartbeat, but
|
|
25955
|
+
* since worker heartbeating can be turned off, this needs
|
|
25956
|
+
* to be a separate, top-level field.
|
|
25957
|
+
*/
|
|
25958
|
+
public workerInstanceKey: string;
|
|
25959
|
+
|
|
25960
|
+
/**
|
|
25961
|
+
* Task queue name the worker is polling on. This allows server to cancel
|
|
25962
|
+
* all outstanding poll RPC calls from SDK. This avoids a race condition that
|
|
25963
|
+
* can lead to tasks being lost.
|
|
25964
|
+
*/
|
|
25965
|
+
public taskQueue: string;
|
|
25966
|
+
|
|
25967
|
+
/**
|
|
25968
|
+
* Task queue types that help server cancel outstanding poll RPC
|
|
25969
|
+
* calls from SDK. This avoids a race condition that can lead to tasks being lost.
|
|
25970
|
+
*/
|
|
25971
|
+
public taskQueueTypes: temporal.api.enums.v1.TaskQueueType[];
|
|
25972
|
+
|
|
25739
25973
|
/**
|
|
25740
25974
|
* Creates a new ShutdownWorkerRequest instance using the specified properties.
|
|
25741
25975
|
* @param [properties] Properties to set
|
|
@@ -29105,6 +29339,315 @@ export namespace temporal {
|
|
|
29105
29339
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
29106
29340
|
}
|
|
29107
29341
|
|
|
29342
|
+
/** Properties of a CountSchedulesRequest. */
|
|
29343
|
+
interface ICountSchedulesRequest {
|
|
29344
|
+
|
|
29345
|
+
/** CountSchedulesRequest namespace */
|
|
29346
|
+
namespace?: (string|null);
|
|
29347
|
+
|
|
29348
|
+
/** Visibility query, see https://docs.temporal.io/list-filter for the syntax. */
|
|
29349
|
+
query?: (string|null);
|
|
29350
|
+
}
|
|
29351
|
+
|
|
29352
|
+
/** Represents a CountSchedulesRequest. */
|
|
29353
|
+
class CountSchedulesRequest implements ICountSchedulesRequest {
|
|
29354
|
+
|
|
29355
|
+
/**
|
|
29356
|
+
* Constructs a new CountSchedulesRequest.
|
|
29357
|
+
* @param [properties] Properties to set
|
|
29358
|
+
*/
|
|
29359
|
+
constructor(properties?: temporal.api.workflowservice.v1.ICountSchedulesRequest);
|
|
29360
|
+
|
|
29361
|
+
/** CountSchedulesRequest namespace. */
|
|
29362
|
+
public namespace: string;
|
|
29363
|
+
|
|
29364
|
+
/** Visibility query, see https://docs.temporal.io/list-filter for the syntax. */
|
|
29365
|
+
public query: string;
|
|
29366
|
+
|
|
29367
|
+
/**
|
|
29368
|
+
* Creates a new CountSchedulesRequest instance using the specified properties.
|
|
29369
|
+
* @param [properties] Properties to set
|
|
29370
|
+
* @returns CountSchedulesRequest instance
|
|
29371
|
+
*/
|
|
29372
|
+
public static create(properties?: temporal.api.workflowservice.v1.ICountSchedulesRequest): temporal.api.workflowservice.v1.CountSchedulesRequest;
|
|
29373
|
+
|
|
29374
|
+
/**
|
|
29375
|
+
* Encodes the specified CountSchedulesRequest message. Does not implicitly {@link temporal.api.workflowservice.v1.CountSchedulesRequest.verify|verify} messages.
|
|
29376
|
+
* @param message CountSchedulesRequest message or plain object to encode
|
|
29377
|
+
* @param [writer] Writer to encode to
|
|
29378
|
+
* @returns Writer
|
|
29379
|
+
*/
|
|
29380
|
+
public static encode(message: temporal.api.workflowservice.v1.ICountSchedulesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29381
|
+
|
|
29382
|
+
/**
|
|
29383
|
+
* Encodes the specified CountSchedulesRequest message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.CountSchedulesRequest.verify|verify} messages.
|
|
29384
|
+
* @param message CountSchedulesRequest message or plain object to encode
|
|
29385
|
+
* @param [writer] Writer to encode to
|
|
29386
|
+
* @returns Writer
|
|
29387
|
+
*/
|
|
29388
|
+
public static encodeDelimited(message: temporal.api.workflowservice.v1.ICountSchedulesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29389
|
+
|
|
29390
|
+
/**
|
|
29391
|
+
* Decodes a CountSchedulesRequest message from the specified reader or buffer.
|
|
29392
|
+
* @param reader Reader or buffer to decode from
|
|
29393
|
+
* @param [length] Message length if known beforehand
|
|
29394
|
+
* @returns CountSchedulesRequest
|
|
29395
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29396
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29397
|
+
*/
|
|
29398
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.CountSchedulesRequest;
|
|
29399
|
+
|
|
29400
|
+
/**
|
|
29401
|
+
* Decodes a CountSchedulesRequest message from the specified reader or buffer, length delimited.
|
|
29402
|
+
* @param reader Reader or buffer to decode from
|
|
29403
|
+
* @returns CountSchedulesRequest
|
|
29404
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29405
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29406
|
+
*/
|
|
29407
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.CountSchedulesRequest;
|
|
29408
|
+
|
|
29409
|
+
/**
|
|
29410
|
+
* Creates a CountSchedulesRequest message from a plain object. Also converts values to their respective internal types.
|
|
29411
|
+
* @param object Plain object
|
|
29412
|
+
* @returns CountSchedulesRequest
|
|
29413
|
+
*/
|
|
29414
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.CountSchedulesRequest;
|
|
29415
|
+
|
|
29416
|
+
/**
|
|
29417
|
+
* Creates a plain object from a CountSchedulesRequest message. Also converts values to other types if specified.
|
|
29418
|
+
* @param message CountSchedulesRequest
|
|
29419
|
+
* @param [options] Conversion options
|
|
29420
|
+
* @returns Plain object
|
|
29421
|
+
*/
|
|
29422
|
+
public static toObject(message: temporal.api.workflowservice.v1.CountSchedulesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
29423
|
+
|
|
29424
|
+
/**
|
|
29425
|
+
* Converts this CountSchedulesRequest to JSON.
|
|
29426
|
+
* @returns JSON object
|
|
29427
|
+
*/
|
|
29428
|
+
public toJSON(): { [k: string]: any };
|
|
29429
|
+
|
|
29430
|
+
/**
|
|
29431
|
+
* Gets the default type url for CountSchedulesRequest
|
|
29432
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
29433
|
+
* @returns The default type url
|
|
29434
|
+
*/
|
|
29435
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
29436
|
+
}
|
|
29437
|
+
|
|
29438
|
+
/** Properties of a CountSchedulesResponse. */
|
|
29439
|
+
interface ICountSchedulesResponse {
|
|
29440
|
+
|
|
29441
|
+
/**
|
|
29442
|
+
* If `query` is not grouping by any field, the count is an approximate number
|
|
29443
|
+
* of schedules that match the query.
|
|
29444
|
+
* If `query` is grouping by a field, the count is simply the sum of the counts
|
|
29445
|
+
* of the groups returned in the response. This number can be smaller than the
|
|
29446
|
+
* total number of schedules matching the query.
|
|
29447
|
+
*/
|
|
29448
|
+
count?: (Long|null);
|
|
29449
|
+
|
|
29450
|
+
/**
|
|
29451
|
+
* Contains the groups if the request is grouping by a field.
|
|
29452
|
+
* The list might not be complete, and the counts of each group is approximate.
|
|
29453
|
+
*/
|
|
29454
|
+
groups?: (temporal.api.workflowservice.v1.CountSchedulesResponse.IAggregationGroup[]|null);
|
|
29455
|
+
}
|
|
29456
|
+
|
|
29457
|
+
/** Represents a CountSchedulesResponse. */
|
|
29458
|
+
class CountSchedulesResponse implements ICountSchedulesResponse {
|
|
29459
|
+
|
|
29460
|
+
/**
|
|
29461
|
+
* Constructs a new CountSchedulesResponse.
|
|
29462
|
+
* @param [properties] Properties to set
|
|
29463
|
+
*/
|
|
29464
|
+
constructor(properties?: temporal.api.workflowservice.v1.ICountSchedulesResponse);
|
|
29465
|
+
|
|
29466
|
+
/**
|
|
29467
|
+
* If `query` is not grouping by any field, the count is an approximate number
|
|
29468
|
+
* of schedules that match the query.
|
|
29469
|
+
* If `query` is grouping by a field, the count is simply the sum of the counts
|
|
29470
|
+
* of the groups returned in the response. This number can be smaller than the
|
|
29471
|
+
* total number of schedules matching the query.
|
|
29472
|
+
*/
|
|
29473
|
+
public count: Long;
|
|
29474
|
+
|
|
29475
|
+
/**
|
|
29476
|
+
* Contains the groups if the request is grouping by a field.
|
|
29477
|
+
* The list might not be complete, and the counts of each group is approximate.
|
|
29478
|
+
*/
|
|
29479
|
+
public groups: temporal.api.workflowservice.v1.CountSchedulesResponse.IAggregationGroup[];
|
|
29480
|
+
|
|
29481
|
+
/**
|
|
29482
|
+
* Creates a new CountSchedulesResponse instance using the specified properties.
|
|
29483
|
+
* @param [properties] Properties to set
|
|
29484
|
+
* @returns CountSchedulesResponse instance
|
|
29485
|
+
*/
|
|
29486
|
+
public static create(properties?: temporal.api.workflowservice.v1.ICountSchedulesResponse): temporal.api.workflowservice.v1.CountSchedulesResponse;
|
|
29487
|
+
|
|
29488
|
+
/**
|
|
29489
|
+
* Encodes the specified CountSchedulesResponse message. Does not implicitly {@link temporal.api.workflowservice.v1.CountSchedulesResponse.verify|verify} messages.
|
|
29490
|
+
* @param message CountSchedulesResponse message or plain object to encode
|
|
29491
|
+
* @param [writer] Writer to encode to
|
|
29492
|
+
* @returns Writer
|
|
29493
|
+
*/
|
|
29494
|
+
public static encode(message: temporal.api.workflowservice.v1.ICountSchedulesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29495
|
+
|
|
29496
|
+
/**
|
|
29497
|
+
* Encodes the specified CountSchedulesResponse message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.CountSchedulesResponse.verify|verify} messages.
|
|
29498
|
+
* @param message CountSchedulesResponse message or plain object to encode
|
|
29499
|
+
* @param [writer] Writer to encode to
|
|
29500
|
+
* @returns Writer
|
|
29501
|
+
*/
|
|
29502
|
+
public static encodeDelimited(message: temporal.api.workflowservice.v1.ICountSchedulesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29503
|
+
|
|
29504
|
+
/**
|
|
29505
|
+
* Decodes a CountSchedulesResponse message from the specified reader or buffer.
|
|
29506
|
+
* @param reader Reader or buffer to decode from
|
|
29507
|
+
* @param [length] Message length if known beforehand
|
|
29508
|
+
* @returns CountSchedulesResponse
|
|
29509
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29510
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29511
|
+
*/
|
|
29512
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.CountSchedulesResponse;
|
|
29513
|
+
|
|
29514
|
+
/**
|
|
29515
|
+
* Decodes a CountSchedulesResponse message from the specified reader or buffer, length delimited.
|
|
29516
|
+
* @param reader Reader or buffer to decode from
|
|
29517
|
+
* @returns CountSchedulesResponse
|
|
29518
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29519
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29520
|
+
*/
|
|
29521
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.CountSchedulesResponse;
|
|
29522
|
+
|
|
29523
|
+
/**
|
|
29524
|
+
* Creates a CountSchedulesResponse message from a plain object. Also converts values to their respective internal types.
|
|
29525
|
+
* @param object Plain object
|
|
29526
|
+
* @returns CountSchedulesResponse
|
|
29527
|
+
*/
|
|
29528
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.CountSchedulesResponse;
|
|
29529
|
+
|
|
29530
|
+
/**
|
|
29531
|
+
* Creates a plain object from a CountSchedulesResponse message. Also converts values to other types if specified.
|
|
29532
|
+
* @param message CountSchedulesResponse
|
|
29533
|
+
* @param [options] Conversion options
|
|
29534
|
+
* @returns Plain object
|
|
29535
|
+
*/
|
|
29536
|
+
public static toObject(message: temporal.api.workflowservice.v1.CountSchedulesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
29537
|
+
|
|
29538
|
+
/**
|
|
29539
|
+
* Converts this CountSchedulesResponse to JSON.
|
|
29540
|
+
* @returns JSON object
|
|
29541
|
+
*/
|
|
29542
|
+
public toJSON(): { [k: string]: any };
|
|
29543
|
+
|
|
29544
|
+
/**
|
|
29545
|
+
* Gets the default type url for CountSchedulesResponse
|
|
29546
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
29547
|
+
* @returns The default type url
|
|
29548
|
+
*/
|
|
29549
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
29550
|
+
}
|
|
29551
|
+
|
|
29552
|
+
namespace CountSchedulesResponse {
|
|
29553
|
+
|
|
29554
|
+
/** Properties of an AggregationGroup. */
|
|
29555
|
+
interface IAggregationGroup {
|
|
29556
|
+
|
|
29557
|
+
/** AggregationGroup groupValues */
|
|
29558
|
+
groupValues?: (temporal.api.common.v1.IPayload[]|null);
|
|
29559
|
+
|
|
29560
|
+
/** AggregationGroup count */
|
|
29561
|
+
count?: (Long|null);
|
|
29562
|
+
}
|
|
29563
|
+
|
|
29564
|
+
/** Represents an AggregationGroup. */
|
|
29565
|
+
class AggregationGroup implements IAggregationGroup {
|
|
29566
|
+
|
|
29567
|
+
/**
|
|
29568
|
+
* Constructs a new AggregationGroup.
|
|
29569
|
+
* @param [properties] Properties to set
|
|
29570
|
+
*/
|
|
29571
|
+
constructor(properties?: temporal.api.workflowservice.v1.CountSchedulesResponse.IAggregationGroup);
|
|
29572
|
+
|
|
29573
|
+
/** AggregationGroup groupValues. */
|
|
29574
|
+
public groupValues: temporal.api.common.v1.IPayload[];
|
|
29575
|
+
|
|
29576
|
+
/** AggregationGroup count. */
|
|
29577
|
+
public count: Long;
|
|
29578
|
+
|
|
29579
|
+
/**
|
|
29580
|
+
* Creates a new AggregationGroup instance using the specified properties.
|
|
29581
|
+
* @param [properties] Properties to set
|
|
29582
|
+
* @returns AggregationGroup instance
|
|
29583
|
+
*/
|
|
29584
|
+
public static create(properties?: temporal.api.workflowservice.v1.CountSchedulesResponse.IAggregationGroup): temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup;
|
|
29585
|
+
|
|
29586
|
+
/**
|
|
29587
|
+
* Encodes the specified AggregationGroup message. Does not implicitly {@link temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup.verify|verify} messages.
|
|
29588
|
+
* @param message AggregationGroup message or plain object to encode
|
|
29589
|
+
* @param [writer] Writer to encode to
|
|
29590
|
+
* @returns Writer
|
|
29591
|
+
*/
|
|
29592
|
+
public static encode(message: temporal.api.workflowservice.v1.CountSchedulesResponse.IAggregationGroup, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29593
|
+
|
|
29594
|
+
/**
|
|
29595
|
+
* Encodes the specified AggregationGroup message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup.verify|verify} messages.
|
|
29596
|
+
* @param message AggregationGroup message or plain object to encode
|
|
29597
|
+
* @param [writer] Writer to encode to
|
|
29598
|
+
* @returns Writer
|
|
29599
|
+
*/
|
|
29600
|
+
public static encodeDelimited(message: temporal.api.workflowservice.v1.CountSchedulesResponse.IAggregationGroup, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29601
|
+
|
|
29602
|
+
/**
|
|
29603
|
+
* Decodes an AggregationGroup message from the specified reader or buffer.
|
|
29604
|
+
* @param reader Reader or buffer to decode from
|
|
29605
|
+
* @param [length] Message length if known beforehand
|
|
29606
|
+
* @returns AggregationGroup
|
|
29607
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29608
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29609
|
+
*/
|
|
29610
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup;
|
|
29611
|
+
|
|
29612
|
+
/**
|
|
29613
|
+
* Decodes an AggregationGroup message from the specified reader or buffer, length delimited.
|
|
29614
|
+
* @param reader Reader or buffer to decode from
|
|
29615
|
+
* @returns AggregationGroup
|
|
29616
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29617
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29618
|
+
*/
|
|
29619
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup;
|
|
29620
|
+
|
|
29621
|
+
/**
|
|
29622
|
+
* Creates an AggregationGroup message from a plain object. Also converts values to their respective internal types.
|
|
29623
|
+
* @param object Plain object
|
|
29624
|
+
* @returns AggregationGroup
|
|
29625
|
+
*/
|
|
29626
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup;
|
|
29627
|
+
|
|
29628
|
+
/**
|
|
29629
|
+
* Creates a plain object from an AggregationGroup message. Also converts values to other types if specified.
|
|
29630
|
+
* @param message AggregationGroup
|
|
29631
|
+
* @param [options] Conversion options
|
|
29632
|
+
* @returns Plain object
|
|
29633
|
+
*/
|
|
29634
|
+
public static toObject(message: temporal.api.workflowservice.v1.CountSchedulesResponse.AggregationGroup, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
29635
|
+
|
|
29636
|
+
/**
|
|
29637
|
+
* Converts this AggregationGroup to JSON.
|
|
29638
|
+
* @returns JSON object
|
|
29639
|
+
*/
|
|
29640
|
+
public toJSON(): { [k: string]: any };
|
|
29641
|
+
|
|
29642
|
+
/**
|
|
29643
|
+
* Gets the default type url for AggregationGroup
|
|
29644
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
29645
|
+
* @returns The default type url
|
|
29646
|
+
*/
|
|
29647
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
29648
|
+
}
|
|
29649
|
+
}
|
|
29650
|
+
|
|
29108
29651
|
/** Properties of an UpdateWorkerBuildIdCompatibilityRequest. */
|
|
29109
29652
|
interface IUpdateWorkerBuildIdCompatibilityRequest {
|
|
29110
29653
|
|
|
@@ -32729,6 +33272,12 @@ export namespace temporal {
|
|
|
32729
33272
|
/** The identity of the client who initiated this request. */
|
|
32730
33273
|
identity?: (string|null);
|
|
32731
33274
|
|
|
33275
|
+
/**
|
|
33276
|
+
* A unique key for this worker instance, used for tracking worker lifecycle.
|
|
33277
|
+
* This is guaranteed to be unique, whereas identity is not guaranteed to be unique.
|
|
33278
|
+
*/
|
|
33279
|
+
workerInstanceKey?: (string|null);
|
|
33280
|
+
|
|
32732
33281
|
/** PollNexusTaskQueueRequest taskQueue */
|
|
32733
33282
|
taskQueue?: (temporal.api.taskqueue.v1.ITaskQueue|null);
|
|
32734
33283
|
|
|
@@ -32761,6 +33310,12 @@ export namespace temporal {
|
|
|
32761
33310
|
/** The identity of the client who initiated this request. */
|
|
32762
33311
|
public identity: string;
|
|
32763
33312
|
|
|
33313
|
+
/**
|
|
33314
|
+
* A unique key for this worker instance, used for tracking worker lifecycle.
|
|
33315
|
+
* This is guaranteed to be unique, whereas identity is not guaranteed to be unique.
|
|
33316
|
+
*/
|
|
33317
|
+
public workerInstanceKey: string;
|
|
33318
|
+
|
|
32764
33319
|
/** PollNexusTaskQueueRequest taskQueue. */
|
|
32765
33320
|
public taskQueue?: (temporal.api.taskqueue.v1.ITaskQueue|null);
|
|
32766
33321
|
|
|
@@ -33154,8 +33709,11 @@ export namespace temporal {
|
|
|
33154
33709
|
/** A unique identifier for this task. */
|
|
33155
33710
|
taskToken?: (Uint8Array|null);
|
|
33156
33711
|
|
|
33157
|
-
/**
|
|
33712
|
+
/** Deprecated. Use the failure field instead. */
|
|
33158
33713
|
error?: (temporal.api.nexus.v1.IHandlerError|null);
|
|
33714
|
+
|
|
33715
|
+
/** The error the handler failed with. Must contain a NexusHandlerFailureInfo object. */
|
|
33716
|
+
failure?: (temporal.api.failure.v1.IFailure|null);
|
|
33159
33717
|
}
|
|
33160
33718
|
|
|
33161
33719
|
/** Represents a RespondNexusTaskFailedRequest. */
|
|
@@ -33176,9 +33734,12 @@ export namespace temporal {
|
|
|
33176
33734
|
/** A unique identifier for this task. */
|
|
33177
33735
|
public taskToken: Uint8Array;
|
|
33178
33736
|
|
|
33179
|
-
/**
|
|
33737
|
+
/** Deprecated. Use the failure field instead. */
|
|
33180
33738
|
public error?: (temporal.api.nexus.v1.IHandlerError|null);
|
|
33181
33739
|
|
|
33740
|
+
/** The error the handler failed with. Must contain a NexusHandlerFailureInfo object. */
|
|
33741
|
+
public failure?: (temporal.api.failure.v1.IFailure|null);
|
|
33742
|
+
|
|
33182
33743
|
/**
|
|
33183
33744
|
* Creates a new RespondNexusTaskFailedRequest instance using the specified properties.
|
|
33184
33745
|
* @param [properties] Properties to set
|
|
@@ -43127,7 +43688,8 @@ export namespace temporal {
|
|
|
43127
43688
|
* Upon failure, it returns `MultiOperationExecutionFailure` where the status code
|
|
43128
43689
|
* equals the status code of the *first* operation that failed to be started.
|
|
43129
43690
|
*
|
|
43130
|
-
*
|
|
43691
|
+
* (-- api-linter: core::0127::http-annotation=disabled
|
|
43692
|
+
* aip.dev/not-precedent: To be exposed over HTTP in the future. --)
|
|
43131
43693
|
* @param request ExecuteMultiOperationRequest message or plain object
|
|
43132
43694
|
* @param callback Node-style callback called with the error, if any, and ExecuteMultiOperationResponse
|
|
43133
43695
|
*/
|
|
@@ -43142,7 +43704,8 @@ export namespace temporal {
|
|
|
43142
43704
|
* Upon failure, it returns `MultiOperationExecutionFailure` where the status code
|
|
43143
43705
|
* equals the status code of the *first* operation that failed to be started.
|
|
43144
43706
|
*
|
|
43145
|
-
*
|
|
43707
|
+
* (-- api-linter: core::0127::http-annotation=disabled
|
|
43708
|
+
* aip.dev/not-precedent: To be exposed over HTTP in the future. --)
|
|
43146
43709
|
* @param request ExecuteMultiOperationRequest message or plain object
|
|
43147
43710
|
* @returns Promise
|
|
43148
43711
|
*/
|
|
@@ -44082,6 +44645,20 @@ export namespace temporal {
|
|
|
44082
44645
|
*/
|
|
44083
44646
|
public listSchedules(request: temporal.api.workflowservice.v1.IListSchedulesRequest): Promise<temporal.api.workflowservice.v1.ListSchedulesResponse>;
|
|
44084
44647
|
|
|
44648
|
+
/**
|
|
44649
|
+
* CountSchedules is a visibility API to count schedules in a specific namespace.
|
|
44650
|
+
* @param request CountSchedulesRequest message or plain object
|
|
44651
|
+
* @param callback Node-style callback called with the error, if any, and CountSchedulesResponse
|
|
44652
|
+
*/
|
|
44653
|
+
public countSchedules(request: temporal.api.workflowservice.v1.ICountSchedulesRequest, callback: temporal.api.workflowservice.v1.WorkflowService.CountSchedulesCallback): void;
|
|
44654
|
+
|
|
44655
|
+
/**
|
|
44656
|
+
* CountSchedules is a visibility API to count schedules in a specific namespace.
|
|
44657
|
+
* @param request CountSchedulesRequest message or plain object
|
|
44658
|
+
* @returns Promise
|
|
44659
|
+
*/
|
|
44660
|
+
public countSchedules(request: temporal.api.workflowservice.v1.ICountSchedulesRequest): Promise<temporal.api.workflowservice.v1.CountSchedulesResponse>;
|
|
44661
|
+
|
|
44085
44662
|
/**
|
|
44086
44663
|
* Deprecated. Use `UpdateWorkerVersioningRules`.
|
|
44087
44664
|
*
|
|
@@ -45587,6 +46164,13 @@ export namespace temporal {
|
|
|
45587
46164
|
*/
|
|
45588
46165
|
type ListSchedulesCallback = (error: (Error|null), response?: temporal.api.workflowservice.v1.ListSchedulesResponse) => void;
|
|
45589
46166
|
|
|
46167
|
+
/**
|
|
46168
|
+
* Callback as used by {@link temporal.api.workflowservice.v1.WorkflowService#countSchedules}.
|
|
46169
|
+
* @param error Error, if any
|
|
46170
|
+
* @param [response] CountSchedulesResponse
|
|
46171
|
+
*/
|
|
46172
|
+
type CountSchedulesCallback = (error: (Error|null), response?: temporal.api.workflowservice.v1.CountSchedulesResponse) => void;
|
|
46173
|
+
|
|
45590
46174
|
/**
|
|
45591
46175
|
* Callback as used by {@link temporal.api.workflowservice.v1.WorkflowService#updateWorkerBuildIdCompatibility}.
|
|
45592
46176
|
* @param error Error, if any
|
|
@@ -46764,7 +47348,7 @@ export namespace temporal {
|
|
|
46764
47348
|
/** Properties of a WorkerDeploymentOptions. */
|
|
46765
47349
|
interface IWorkerDeploymentOptions {
|
|
46766
47350
|
|
|
46767
|
-
/** Required
|
|
47351
|
+
/** Required when `worker_versioning_mode==VERSIONED`. */
|
|
46768
47352
|
deploymentName?: (string|null);
|
|
46769
47353
|
|
|
46770
47354
|
/**
|
|
@@ -46793,7 +47377,7 @@ export namespace temporal {
|
|
|
46793
47377
|
*/
|
|
46794
47378
|
constructor(properties?: temporal.api.deployment.v1.IWorkerDeploymentOptions);
|
|
46795
47379
|
|
|
46796
|
-
/** Required
|
|
47380
|
+
/** Required when `worker_versioning_mode==VERSIONED`. */
|
|
46797
47381
|
public deploymentName: string;
|
|
46798
47382
|
|
|
46799
47383
|
/**
|
|
@@ -53672,6 +54256,13 @@ export namespace temporal {
|
|
|
53672
54256
|
*/
|
|
53673
54257
|
suggestContinueAsNewReasons?: (temporal.api.enums.v1.SuggestContinueAsNewReason[]|null);
|
|
53674
54258
|
|
|
54259
|
+
/**
|
|
54260
|
+
* True if Workflow's Target Worker Deployment Version is different from its Pinned Version and
|
|
54261
|
+
* the workflow is Pinned.
|
|
54262
|
+
* Experimental.
|
|
54263
|
+
*/
|
|
54264
|
+
targetWorkerDeploymentVersionChanged?: (boolean|null);
|
|
54265
|
+
|
|
53675
54266
|
/**
|
|
53676
54267
|
* Total history size in bytes, which the workflow might use to decide when to
|
|
53677
54268
|
* continue-as-new regardless of the suggestion. Note that history event count is
|
|
@@ -53727,6 +54318,13 @@ export namespace temporal {
|
|
|
53727
54318
|
*/
|
|
53728
54319
|
public suggestContinueAsNewReasons: temporal.api.enums.v1.SuggestContinueAsNewReason[];
|
|
53729
54320
|
|
|
54321
|
+
/**
|
|
54322
|
+
* True if Workflow's Target Worker Deployment Version is different from its Pinned Version and
|
|
54323
|
+
* the workflow is Pinned.
|
|
54324
|
+
* Experimental.
|
|
54325
|
+
*/
|
|
54326
|
+
public targetWorkerDeploymentVersionChanged: boolean;
|
|
54327
|
+
|
|
53730
54328
|
/**
|
|
53731
54329
|
* Total history size in bytes, which the workflow might use to decide when to
|
|
53732
54330
|
* continue-as-new regardless of the suggestion. Note that history event count is
|
|
@@ -68209,6 +68807,15 @@ export namespace temporal {
|
|
|
68209
68807
|
|
|
68210
68808
|
/** True if the namespace supports standalone activities */
|
|
68211
68809
|
standaloneActivities?: (boolean|null);
|
|
68810
|
+
|
|
68811
|
+
/**
|
|
68812
|
+
* True if the namespace supports server-side completion of outstanding worker polls on shutdown.
|
|
68813
|
+
* When enabled, the server will complete polls for workers that send WorkerInstanceKey in their
|
|
68814
|
+
* poll requests and call ShutdownWorker with the same WorkerInstanceKey. The poll will return
|
|
68815
|
+
* an empty response. When this flag is true, workers should allow polls to return gracefully
|
|
68816
|
+
* rather than terminating any open polls on shutdown.
|
|
68817
|
+
*/
|
|
68818
|
+
workerPollCompleteOnShutdown?: (boolean|null);
|
|
68212
68819
|
}
|
|
68213
68820
|
|
|
68214
68821
|
/** Namespace capability details. Should contain what features are enabled in a namespace. */
|
|
@@ -68241,6 +68848,15 @@ export namespace temporal {
|
|
|
68241
68848
|
/** True if the namespace supports standalone activities */
|
|
68242
68849
|
public standaloneActivities: boolean;
|
|
68243
68850
|
|
|
68851
|
+
/**
|
|
68852
|
+
* True if the namespace supports server-side completion of outstanding worker polls on shutdown.
|
|
68853
|
+
* When enabled, the server will complete polls for workers that send WorkerInstanceKey in their
|
|
68854
|
+
* poll requests and call ShutdownWorker with the same WorkerInstanceKey. The poll will return
|
|
68855
|
+
* an empty response. When this flag is true, workers should allow polls to return gracefully
|
|
68856
|
+
* rather than terminating any open polls on shutdown.
|
|
68857
|
+
*/
|
|
68858
|
+
public workerPollCompleteOnShutdown: boolean;
|
|
68859
|
+
|
|
68244
68860
|
/**
|
|
68245
68861
|
* Creates a new Capabilities instance using the specified properties.
|
|
68246
68862
|
* @param [properties] Properties to set
|