@temporalio/proto 1.13.1 → 1.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/protos/index.d.ts +1 -1
- package/protos/json-module.js +144 -0
- package/protos/root.d.ts +567 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@temporalio/proto",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.2",
|
|
4
4
|
"description": "Temporal.io SDK compiled protobuf definitions",
|
|
5
5
|
"main": "protos/index.js",
|
|
6
6
|
"types": "protos/index.d.ts",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">= 18.0.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "524b1bcf72b36fbf3148fe5adb0ddbe036293f6d"
|
|
46
46
|
}
|
package/protos/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
*
|
|
26
26
|
* The source protos are in [sdk-core/protos/api_upstream/temporal/api/](https://github.com/temporalio/sdk-core/tree/ts-release/protos/api_upstream/temporal/api), for example [`RetryPolicy` in `temporal/api/common/v1/message.proto`](https://github.com/temporalio/sdk-core/blob/85454935e39f789aaaa81f8a05773f8e2cdbcde2/protos/api_upstream/temporal/api/common/v1/message.proto#L96).
|
|
27
27
|
*
|
|
28
|
-
* The gRPC service methods are documented in the proto comments and in the corresponding [`
|
|
28
|
+
* The gRPC service methods are documented in the proto comments and in the corresponding [`Temporal CLI` docs](https://docs.temporal.io/cli/).
|
|
29
29
|
* @module
|
|
30
30
|
*/
|
|
31
31
|
|
package/protos/json-module.js
CHANGED
|
@@ -482,6 +482,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
482
482
|
deploymentVersionForCurrentTask: {
|
|
483
483
|
type: "common.WorkerDeploymentVersion",
|
|
484
484
|
id: 9
|
|
485
|
+
},
|
|
486
|
+
lastSdkVersion: {
|
|
487
|
+
type: "string",
|
|
488
|
+
id: 10
|
|
485
489
|
}
|
|
486
490
|
}
|
|
487
491
|
},
|
|
@@ -3892,6 +3896,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
3892
3896
|
priority: {
|
|
3893
3897
|
type: "temporal.api.common.v1.Priority",
|
|
3894
3898
|
id: 27
|
|
3899
|
+
},
|
|
3900
|
+
eagerWorkerDeploymentOptions: {
|
|
3901
|
+
type: "temporal.api.deployment.v1.WorkerDeploymentOptions",
|
|
3902
|
+
id: 28
|
|
3895
3903
|
}
|
|
3896
3904
|
}
|
|
3897
3905
|
},
|
|
@@ -5618,6 +5626,14 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
5618
5626
|
visibilityStore: {
|
|
5619
5627
|
type: "string",
|
|
5620
5628
|
id: 8
|
|
5629
|
+
},
|
|
5630
|
+
initialFailoverVersion: {
|
|
5631
|
+
type: "int64",
|
|
5632
|
+
id: 9
|
|
5633
|
+
},
|
|
5634
|
+
failoverVersionIncrement: {
|
|
5635
|
+
type: "int64",
|
|
5636
|
+
id: 10
|
|
5621
5637
|
}
|
|
5622
5638
|
}
|
|
5623
5639
|
},
|
|
@@ -7116,6 +7132,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
7116
7132
|
ignoreMissingTaskQueues: {
|
|
7117
7133
|
type: "bool",
|
|
7118
7134
|
id: 6
|
|
7135
|
+
},
|
|
7136
|
+
allowNoPollers: {
|
|
7137
|
+
type: "bool",
|
|
7138
|
+
id: 9
|
|
7119
7139
|
}
|
|
7120
7140
|
}
|
|
7121
7141
|
},
|
|
@@ -7174,6 +7194,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
7174
7194
|
ignoreMissingTaskQueues: {
|
|
7175
7195
|
type: "bool",
|
|
7176
7196
|
id: 7
|
|
7197
|
+
},
|
|
7198
|
+
allowNoPollers: {
|
|
7199
|
+
type: "bool",
|
|
7200
|
+
id: 10
|
|
7177
7201
|
}
|
|
7178
7202
|
}
|
|
7179
7203
|
},
|
|
@@ -7349,6 +7373,54 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
7349
7373
|
}
|
|
7350
7374
|
}
|
|
7351
7375
|
},
|
|
7376
|
+
SetWorkerDeploymentManagerRequest: {
|
|
7377
|
+
oneofs: {
|
|
7378
|
+
newManagerIdentity: {
|
|
7379
|
+
oneof: [
|
|
7380
|
+
"managerIdentity",
|
|
7381
|
+
"self"
|
|
7382
|
+
]
|
|
7383
|
+
}
|
|
7384
|
+
},
|
|
7385
|
+
fields: {
|
|
7386
|
+
namespace: {
|
|
7387
|
+
type: "string",
|
|
7388
|
+
id: 1
|
|
7389
|
+
},
|
|
7390
|
+
deploymentName: {
|
|
7391
|
+
type: "string",
|
|
7392
|
+
id: 2
|
|
7393
|
+
},
|
|
7394
|
+
managerIdentity: {
|
|
7395
|
+
type: "string",
|
|
7396
|
+
id: 3
|
|
7397
|
+
},
|
|
7398
|
+
self: {
|
|
7399
|
+
type: "bool",
|
|
7400
|
+
id: 4
|
|
7401
|
+
},
|
|
7402
|
+
conflictToken: {
|
|
7403
|
+
type: "bytes",
|
|
7404
|
+
id: 5
|
|
7405
|
+
},
|
|
7406
|
+
identity: {
|
|
7407
|
+
type: "string",
|
|
7408
|
+
id: 6
|
|
7409
|
+
}
|
|
7410
|
+
}
|
|
7411
|
+
},
|
|
7412
|
+
SetWorkerDeploymentManagerResponse: {
|
|
7413
|
+
fields: {
|
|
7414
|
+
conflictToken: {
|
|
7415
|
+
type: "bytes",
|
|
7416
|
+
id: 1
|
|
7417
|
+
},
|
|
7418
|
+
previousManagerIdentity: {
|
|
7419
|
+
type: "string",
|
|
7420
|
+
id: 2
|
|
7421
|
+
}
|
|
7422
|
+
}
|
|
7423
|
+
},
|
|
7352
7424
|
GetCurrentDeploymentRequest: {
|
|
7353
7425
|
fields: {
|
|
7354
7426
|
namespace: {
|
|
@@ -7711,6 +7783,26 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
7711
7783
|
}
|
|
7712
7784
|
}
|
|
7713
7785
|
},
|
|
7786
|
+
DescribeWorkerRequest: {
|
|
7787
|
+
fields: {
|
|
7788
|
+
namespace: {
|
|
7789
|
+
type: "string",
|
|
7790
|
+
id: 1
|
|
7791
|
+
},
|
|
7792
|
+
workerInstanceKey: {
|
|
7793
|
+
type: "string",
|
|
7794
|
+
id: 2
|
|
7795
|
+
}
|
|
7796
|
+
}
|
|
7797
|
+
},
|
|
7798
|
+
DescribeWorkerResponse: {
|
|
7799
|
+
fields: {
|
|
7800
|
+
workerInfo: {
|
|
7801
|
+
type: "temporal.api.worker.v1.WorkerInfo",
|
|
7802
|
+
id: 1
|
|
7803
|
+
}
|
|
7804
|
+
}
|
|
7805
|
+
},
|
|
7714
7806
|
WorkflowService: {
|
|
7715
7807
|
methods: {
|
|
7716
7808
|
RegisterNamespace: {
|
|
@@ -8813,6 +8905,28 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
8813
8905
|
}
|
|
8814
8906
|
]
|
|
8815
8907
|
},
|
|
8908
|
+
SetWorkerDeploymentManager: {
|
|
8909
|
+
requestType: "SetWorkerDeploymentManagerRequest",
|
|
8910
|
+
responseType: "SetWorkerDeploymentManagerResponse",
|
|
8911
|
+
options: {
|
|
8912
|
+
"(google.api.http).post": "/namespaces/{namespace}/worker-deployments/{deployment_name}/set-manager",
|
|
8913
|
+
"(google.api.http).body": "*",
|
|
8914
|
+
"(google.api.http).additional_bindings.post": "/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-manager",
|
|
8915
|
+
"(google.api.http).additional_bindings.body": "*"
|
|
8916
|
+
},
|
|
8917
|
+
parsedOptions: [
|
|
8918
|
+
{
|
|
8919
|
+
"(google.api.http)": {
|
|
8920
|
+
post: "/namespaces/{namespace}/worker-deployments/{deployment_name}/set-manager",
|
|
8921
|
+
body: "*",
|
|
8922
|
+
additional_bindings: {
|
|
8923
|
+
post: "/api/v1/namespaces/{namespace}/worker-deployments/{deployment_name}/set-manager",
|
|
8924
|
+
body: "*"
|
|
8925
|
+
}
|
|
8926
|
+
}
|
|
8927
|
+
}
|
|
8928
|
+
]
|
|
8929
|
+
},
|
|
8816
8930
|
UpdateWorkflowExecution: {
|
|
8817
8931
|
requestType: "UpdateWorkflowExecutionRequest",
|
|
8818
8932
|
responseType: "UpdateWorkflowExecutionResponse",
|
|
@@ -9244,6 +9358,24 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
9244
9358
|
}
|
|
9245
9359
|
}
|
|
9246
9360
|
]
|
|
9361
|
+
},
|
|
9362
|
+
DescribeWorker: {
|
|
9363
|
+
requestType: "DescribeWorkerRequest",
|
|
9364
|
+
responseType: "DescribeWorkerResponse",
|
|
9365
|
+
options: {
|
|
9366
|
+
"(google.api.http).get": "/namespaces/{namespace}/workers/describe/{worker_instance_key}",
|
|
9367
|
+
"(google.api.http).additional_bindings.get": "/api/v1/namespaces/{namespace}/workers/describe/{worker_instance_key}"
|
|
9368
|
+
},
|
|
9369
|
+
parsedOptions: [
|
|
9370
|
+
{
|
|
9371
|
+
"(google.api.http)": {
|
|
9372
|
+
get: "/namespaces/{namespace}/workers/describe/{worker_instance_key}",
|
|
9373
|
+
additional_bindings: {
|
|
9374
|
+
get: "/api/v1/namespaces/{namespace}/workers/describe/{worker_instance_key}"
|
|
9375
|
+
}
|
|
9376
|
+
}
|
|
9377
|
+
}
|
|
9378
|
+
]
|
|
9247
9379
|
}
|
|
9248
9380
|
}
|
|
9249
9381
|
}
|
|
@@ -9903,6 +10035,10 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
9903
10035
|
lastModifierIdentity: {
|
|
9904
10036
|
type: "string",
|
|
9905
10037
|
id: 5
|
|
10038
|
+
},
|
|
10039
|
+
managerIdentity: {
|
|
10040
|
+
type: "string",
|
|
10041
|
+
id: 6
|
|
9906
10042
|
}
|
|
9907
10043
|
},
|
|
9908
10044
|
nested: {
|
|
@@ -13811,6 +13947,14 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
|
|
|
13811
13947
|
asyncUpdate: {
|
|
13812
13948
|
type: "bool",
|
|
13813
13949
|
id: 3
|
|
13950
|
+
},
|
|
13951
|
+
workerHeartbeats: {
|
|
13952
|
+
type: "bool",
|
|
13953
|
+
id: 4
|
|
13954
|
+
},
|
|
13955
|
+
reportedProblemsSearchAttribute: {
|
|
13956
|
+
type: "bool",
|
|
13957
|
+
id: 5
|
|
13814
13958
|
}
|
|
13815
13959
|
}
|
|
13816
13960
|
}
|
package/protos/root.d.ts
CHANGED
|
@@ -2337,6 +2337,9 @@ export namespace coresdk {
|
|
|
2337
2337
|
* feature(s).
|
|
2338
2338
|
*/
|
|
2339
2339
|
deploymentVersionForCurrentTask?: (coresdk.common.IWorkerDeploymentVersion|null);
|
|
2340
|
+
|
|
2341
|
+
/** The last seen SDK version from the most recent WFT completed event */
|
|
2342
|
+
lastSdkVersion?: (string|null);
|
|
2340
2343
|
}
|
|
2341
2344
|
|
|
2342
2345
|
/**
|
|
@@ -2438,6 +2441,9 @@ export namespace coresdk {
|
|
|
2438
2441
|
*/
|
|
2439
2442
|
public deploymentVersionForCurrentTask?: (coresdk.common.IWorkerDeploymentVersion|null);
|
|
2440
2443
|
|
|
2444
|
+
/** The last seen SDK version from the most recent WFT completed event */
|
|
2445
|
+
public lastSdkVersion: string;
|
|
2446
|
+
|
|
2441
2447
|
/**
|
|
2442
2448
|
* Creates a new WorkflowActivation instance using the specified properties.
|
|
2443
2449
|
* @param [properties] Properties to set
|
|
@@ -11408,7 +11414,7 @@ export namespace temporal {
|
|
|
11408
11414
|
* configuration, and defaults to 5.
|
|
11409
11415
|
*
|
|
11410
11416
|
* If priority is not present (or zero), then the effective priority will be
|
|
11411
|
-
* the default priority, which is
|
|
11417
|
+
* the default priority, which is calculated by (min+max)/2. With the
|
|
11412
11418
|
* default max of 5, and min of 1, that comes out to 3.
|
|
11413
11419
|
*/
|
|
11414
11420
|
priorityKey?: (number|null);
|
|
@@ -11506,7 +11512,7 @@ export namespace temporal {
|
|
|
11506
11512
|
* configuration, and defaults to 5.
|
|
11507
11513
|
*
|
|
11508
11514
|
* If priority is not present (or zero), then the effective priority will be
|
|
11509
|
-
* the default priority, which is
|
|
11515
|
+
* the default priority, which is calculated by (min+max)/2. With the
|
|
11510
11516
|
* default max of 5, and min of 1, that comes out to 3.
|
|
11511
11517
|
*/
|
|
11512
11518
|
public priorityKey: number;
|
|
@@ -17664,6 +17670,9 @@ export namespace temporal {
|
|
|
17664
17670
|
|
|
17665
17671
|
/** Priority metadata */
|
|
17666
17672
|
priority?: (temporal.api.common.v1.IPriority|null);
|
|
17673
|
+
|
|
17674
|
+
/** Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`. */
|
|
17675
|
+
eagerWorkerDeploymentOptions?: (temporal.api.deployment.v1.IWorkerDeploymentOptions|null);
|
|
17667
17676
|
}
|
|
17668
17677
|
|
|
17669
17678
|
/** Represents a StartWorkflowExecutionRequest. */
|
|
@@ -17796,6 +17805,9 @@ export namespace temporal {
|
|
|
17796
17805
|
/** Priority metadata */
|
|
17797
17806
|
public priority?: (temporal.api.common.v1.IPriority|null);
|
|
17798
17807
|
|
|
17808
|
+
/** Deployment Options of the worker who will process the eager task. Passed when `request_eager_execution=true`. */
|
|
17809
|
+
public eagerWorkerDeploymentOptions?: (temporal.api.deployment.v1.IWorkerDeploymentOptions|null);
|
|
17810
|
+
|
|
17799
17811
|
/**
|
|
17800
17812
|
* Creates a new StartWorkflowExecutionRequest instance using the specified properties.
|
|
17801
17813
|
* @param [properties] Properties to set
|
|
@@ -26446,6 +26458,12 @@ export namespace temporal {
|
|
|
26446
26458
|
|
|
26447
26459
|
/** GetClusterInfoResponse visibilityStore */
|
|
26448
26460
|
visibilityStore?: (string|null);
|
|
26461
|
+
|
|
26462
|
+
/** GetClusterInfoResponse initialFailoverVersion */
|
|
26463
|
+
initialFailoverVersion?: (Long|null);
|
|
26464
|
+
|
|
26465
|
+
/** GetClusterInfoResponse failoverVersionIncrement */
|
|
26466
|
+
failoverVersionIncrement?: (Long|null);
|
|
26449
26467
|
}
|
|
26450
26468
|
|
|
26451
26469
|
/** GetClusterInfoResponse contains information about Temporal cluster. */
|
|
@@ -26484,6 +26502,12 @@ export namespace temporal {
|
|
|
26484
26502
|
/** GetClusterInfoResponse visibilityStore. */
|
|
26485
26503
|
public visibilityStore: string;
|
|
26486
26504
|
|
|
26505
|
+
/** GetClusterInfoResponse initialFailoverVersion. */
|
|
26506
|
+
public initialFailoverVersion: Long;
|
|
26507
|
+
|
|
26508
|
+
/** GetClusterInfoResponse failoverVersionIncrement. */
|
|
26509
|
+
public failoverVersionIncrement: Long;
|
|
26510
|
+
|
|
26487
26511
|
/**
|
|
26488
26512
|
* Creates a new GetClusterInfoResponse instance using the specified properties.
|
|
26489
26513
|
* @param [properties] Properties to set
|
|
@@ -33521,7 +33545,10 @@ export namespace temporal {
|
|
|
33521
33545
|
/** Only the activity with this ID will be paused. */
|
|
33522
33546
|
id?: (string|null);
|
|
33523
33547
|
|
|
33524
|
-
/**
|
|
33548
|
+
/**
|
|
33549
|
+
* Pause all running activities of this type.
|
|
33550
|
+
* Note: Experimental - the behavior of pause by activity type might change in a future release.
|
|
33551
|
+
*/
|
|
33525
33552
|
type?: (string|null);
|
|
33526
33553
|
|
|
33527
33554
|
/** Reason to pause the activity. */
|
|
@@ -33549,7 +33576,10 @@ export namespace temporal {
|
|
|
33549
33576
|
/** Only the activity with this ID will be paused. */
|
|
33550
33577
|
public id?: (string|null);
|
|
33551
33578
|
|
|
33552
|
-
/**
|
|
33579
|
+
/**
|
|
33580
|
+
* Pause all running activities of this type.
|
|
33581
|
+
* Note: Experimental - the behavior of pause by activity type might change in a future release.
|
|
33582
|
+
*/
|
|
33553
33583
|
public type?: (string|null);
|
|
33554
33584
|
|
|
33555
33585
|
/** Reason to pause the activity. */
|
|
@@ -35578,6 +35608,13 @@ export namespace temporal {
|
|
|
35578
35608
|
* never arrive.
|
|
35579
35609
|
*/
|
|
35580
35610
|
ignoreMissingTaskQueues?: (boolean|null);
|
|
35611
|
+
|
|
35612
|
+
/**
|
|
35613
|
+
* Optional. By default this request will be rejected if no pollers have been seen for the proposed
|
|
35614
|
+
* Current Version, in order to protect users from routing tasks to pollers that do not exist, leading
|
|
35615
|
+
* to possible timeouts. Pass `true` here to bypass this protection.
|
|
35616
|
+
*/
|
|
35617
|
+
allowNoPollers?: (boolean|null);
|
|
35581
35618
|
}
|
|
35582
35619
|
|
|
35583
35620
|
/** Set/unset the Current Version of a Worker Deployment. */
|
|
@@ -35633,6 +35670,13 @@ export namespace temporal {
|
|
|
35633
35670
|
*/
|
|
35634
35671
|
public ignoreMissingTaskQueues: boolean;
|
|
35635
35672
|
|
|
35673
|
+
/**
|
|
35674
|
+
* Optional. By default this request will be rejected if no pollers have been seen for the proposed
|
|
35675
|
+
* Current Version, in order to protect users from routing tasks to pollers that do not exist, leading
|
|
35676
|
+
* to possible timeouts. Pass `true` here to bypass this protection.
|
|
35677
|
+
*/
|
|
35678
|
+
public allowNoPollers: boolean;
|
|
35679
|
+
|
|
35636
35680
|
/**
|
|
35637
35681
|
* Creates a new SetWorkerDeploymentCurrentVersionRequest instance using the specified properties.
|
|
35638
35682
|
* @param [properties] Properties to set
|
|
@@ -35866,6 +35910,13 @@ export namespace temporal {
|
|
|
35866
35910
|
* Version, not the previous Ramping Version.
|
|
35867
35911
|
*/
|
|
35868
35912
|
ignoreMissingTaskQueues?: (boolean|null);
|
|
35913
|
+
|
|
35914
|
+
/**
|
|
35915
|
+
* Optional. By default this request will be rejected if no pollers have been seen for the proposed
|
|
35916
|
+
* Current Version, in order to protect users from routing tasks to pollers that do not exist, leading
|
|
35917
|
+
* to possible timeouts. Pass `true` here to bypass this protection.
|
|
35918
|
+
*/
|
|
35919
|
+
allowNoPollers?: (boolean|null);
|
|
35869
35920
|
}
|
|
35870
35921
|
|
|
35871
35922
|
/** Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. */
|
|
@@ -35927,6 +35978,13 @@ export namespace temporal {
|
|
|
35927
35978
|
*/
|
|
35928
35979
|
public ignoreMissingTaskQueues: boolean;
|
|
35929
35980
|
|
|
35981
|
+
/**
|
|
35982
|
+
* Optional. By default this request will be rejected if no pollers have been seen for the proposed
|
|
35983
|
+
* Current Version, in order to protect users from routing tasks to pollers that do not exist, leading
|
|
35984
|
+
* to possible timeouts. Pass `true` here to bypass this protection.
|
|
35985
|
+
*/
|
|
35986
|
+
public allowNoPollers: boolean;
|
|
35987
|
+
|
|
35930
35988
|
/**
|
|
35931
35989
|
* Creates a new SetWorkerDeploymentRampingVersionRequest instance using the specified properties.
|
|
35932
35990
|
* @param [properties] Properties to set
|
|
@@ -37048,6 +37106,249 @@ export namespace temporal {
|
|
|
37048
37106
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
37049
37107
|
}
|
|
37050
37108
|
|
|
37109
|
+
/** Properties of a SetWorkerDeploymentManagerRequest. */
|
|
37110
|
+
interface ISetWorkerDeploymentManagerRequest {
|
|
37111
|
+
|
|
37112
|
+
/** SetWorkerDeploymentManagerRequest namespace */
|
|
37113
|
+
namespace?: (string|null);
|
|
37114
|
+
|
|
37115
|
+
/** SetWorkerDeploymentManagerRequest deploymentName */
|
|
37116
|
+
deploymentName?: (string|null);
|
|
37117
|
+
|
|
37118
|
+
/**
|
|
37119
|
+
* Arbitrary value for `manager_identity`.
|
|
37120
|
+
* Empty will unset the field.
|
|
37121
|
+
*/
|
|
37122
|
+
managerIdentity?: (string|null);
|
|
37123
|
+
|
|
37124
|
+
/** True will set `manager_identity` to `identity`. */
|
|
37125
|
+
self?: (boolean|null);
|
|
37126
|
+
|
|
37127
|
+
/**
|
|
37128
|
+
* Optional. This can be the value of conflict_token from a Describe, or another Worker
|
|
37129
|
+
* Deployment API. Passing a non-nil conflict token will cause this request to fail if the
|
|
37130
|
+
* Deployment's configuration has been modified between the API call that generated the
|
|
37131
|
+
* token and this one.
|
|
37132
|
+
*/
|
|
37133
|
+
conflictToken?: (Uint8Array|null);
|
|
37134
|
+
|
|
37135
|
+
/** Required. The identity of the client who initiated this request. */
|
|
37136
|
+
identity?: (string|null);
|
|
37137
|
+
}
|
|
37138
|
+
|
|
37139
|
+
/** Update the ManagerIdentity of a Worker Deployment. */
|
|
37140
|
+
class SetWorkerDeploymentManagerRequest implements ISetWorkerDeploymentManagerRequest {
|
|
37141
|
+
|
|
37142
|
+
/**
|
|
37143
|
+
* Constructs a new SetWorkerDeploymentManagerRequest.
|
|
37144
|
+
* @param [properties] Properties to set
|
|
37145
|
+
*/
|
|
37146
|
+
constructor(properties?: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerRequest);
|
|
37147
|
+
|
|
37148
|
+
/** SetWorkerDeploymentManagerRequest namespace. */
|
|
37149
|
+
public namespace: string;
|
|
37150
|
+
|
|
37151
|
+
/** SetWorkerDeploymentManagerRequest deploymentName. */
|
|
37152
|
+
public deploymentName: string;
|
|
37153
|
+
|
|
37154
|
+
/**
|
|
37155
|
+
* Arbitrary value for `manager_identity`.
|
|
37156
|
+
* Empty will unset the field.
|
|
37157
|
+
*/
|
|
37158
|
+
public managerIdentity?: (string|null);
|
|
37159
|
+
|
|
37160
|
+
/** True will set `manager_identity` to `identity`. */
|
|
37161
|
+
public self?: (boolean|null);
|
|
37162
|
+
|
|
37163
|
+
/**
|
|
37164
|
+
* Optional. This can be the value of conflict_token from a Describe, or another Worker
|
|
37165
|
+
* Deployment API. Passing a non-nil conflict token will cause this request to fail if the
|
|
37166
|
+
* Deployment's configuration has been modified between the API call that generated the
|
|
37167
|
+
* token and this one.
|
|
37168
|
+
*/
|
|
37169
|
+
public conflictToken: Uint8Array;
|
|
37170
|
+
|
|
37171
|
+
/** Required. The identity of the client who initiated this request. */
|
|
37172
|
+
public identity: string;
|
|
37173
|
+
|
|
37174
|
+
/** SetWorkerDeploymentManagerRequest newManagerIdentity. */
|
|
37175
|
+
public newManagerIdentity?: ("managerIdentity"|"self");
|
|
37176
|
+
|
|
37177
|
+
/**
|
|
37178
|
+
* Creates a new SetWorkerDeploymentManagerRequest instance using the specified properties.
|
|
37179
|
+
* @param [properties] Properties to set
|
|
37180
|
+
* @returns SetWorkerDeploymentManagerRequest instance
|
|
37181
|
+
*/
|
|
37182
|
+
public static create(properties?: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerRequest): temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest;
|
|
37183
|
+
|
|
37184
|
+
/**
|
|
37185
|
+
* Encodes the specified SetWorkerDeploymentManagerRequest message. Does not implicitly {@link temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest.verify|verify} messages.
|
|
37186
|
+
* @param message SetWorkerDeploymentManagerRequest message or plain object to encode
|
|
37187
|
+
* @param [writer] Writer to encode to
|
|
37188
|
+
* @returns Writer
|
|
37189
|
+
*/
|
|
37190
|
+
public static encode(message: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
37191
|
+
|
|
37192
|
+
/**
|
|
37193
|
+
* Encodes the specified SetWorkerDeploymentManagerRequest message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest.verify|verify} messages.
|
|
37194
|
+
* @param message SetWorkerDeploymentManagerRequest message or plain object to encode
|
|
37195
|
+
* @param [writer] Writer to encode to
|
|
37196
|
+
* @returns Writer
|
|
37197
|
+
*/
|
|
37198
|
+
public static encodeDelimited(message: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
37199
|
+
|
|
37200
|
+
/**
|
|
37201
|
+
* Decodes a SetWorkerDeploymentManagerRequest message from the specified reader or buffer.
|
|
37202
|
+
* @param reader Reader or buffer to decode from
|
|
37203
|
+
* @param [length] Message length if known beforehand
|
|
37204
|
+
* @returns SetWorkerDeploymentManagerRequest
|
|
37205
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37206
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37207
|
+
*/
|
|
37208
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest;
|
|
37209
|
+
|
|
37210
|
+
/**
|
|
37211
|
+
* Decodes a SetWorkerDeploymentManagerRequest message from the specified reader or buffer, length delimited.
|
|
37212
|
+
* @param reader Reader or buffer to decode from
|
|
37213
|
+
* @returns SetWorkerDeploymentManagerRequest
|
|
37214
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37215
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37216
|
+
*/
|
|
37217
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest;
|
|
37218
|
+
|
|
37219
|
+
/**
|
|
37220
|
+
* Creates a SetWorkerDeploymentManagerRequest message from a plain object. Also converts values to their respective internal types.
|
|
37221
|
+
* @param object Plain object
|
|
37222
|
+
* @returns SetWorkerDeploymentManagerRequest
|
|
37223
|
+
*/
|
|
37224
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest;
|
|
37225
|
+
|
|
37226
|
+
/**
|
|
37227
|
+
* Creates a plain object from a SetWorkerDeploymentManagerRequest message. Also converts values to other types if specified.
|
|
37228
|
+
* @param message SetWorkerDeploymentManagerRequest
|
|
37229
|
+
* @param [options] Conversion options
|
|
37230
|
+
* @returns Plain object
|
|
37231
|
+
*/
|
|
37232
|
+
public static toObject(message: temporal.api.workflowservice.v1.SetWorkerDeploymentManagerRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
37233
|
+
|
|
37234
|
+
/**
|
|
37235
|
+
* Converts this SetWorkerDeploymentManagerRequest to JSON.
|
|
37236
|
+
* @returns JSON object
|
|
37237
|
+
*/
|
|
37238
|
+
public toJSON(): { [k: string]: any };
|
|
37239
|
+
|
|
37240
|
+
/**
|
|
37241
|
+
* Gets the default type url for SetWorkerDeploymentManagerRequest
|
|
37242
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
37243
|
+
* @returns The default type url
|
|
37244
|
+
*/
|
|
37245
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
37246
|
+
}
|
|
37247
|
+
|
|
37248
|
+
/** Properties of a SetWorkerDeploymentManagerResponse. */
|
|
37249
|
+
interface ISetWorkerDeploymentManagerResponse {
|
|
37250
|
+
|
|
37251
|
+
/**
|
|
37252
|
+
* This value is returned so that it can be optionally passed to APIs
|
|
37253
|
+
* that write to the Worker Deployment state to ensure that the state
|
|
37254
|
+
* did not change between this API call and a future write.
|
|
37255
|
+
*/
|
|
37256
|
+
conflictToken?: (Uint8Array|null);
|
|
37257
|
+
|
|
37258
|
+
/** What the `manager_identity` field was before this change. */
|
|
37259
|
+
previousManagerIdentity?: (string|null);
|
|
37260
|
+
}
|
|
37261
|
+
|
|
37262
|
+
/** Represents a SetWorkerDeploymentManagerResponse. */
|
|
37263
|
+
class SetWorkerDeploymentManagerResponse implements ISetWorkerDeploymentManagerResponse {
|
|
37264
|
+
|
|
37265
|
+
/**
|
|
37266
|
+
* Constructs a new SetWorkerDeploymentManagerResponse.
|
|
37267
|
+
* @param [properties] Properties to set
|
|
37268
|
+
*/
|
|
37269
|
+
constructor(properties?: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerResponse);
|
|
37270
|
+
|
|
37271
|
+
/**
|
|
37272
|
+
* This value is returned so that it can be optionally passed to APIs
|
|
37273
|
+
* that write to the Worker Deployment state to ensure that the state
|
|
37274
|
+
* did not change between this API call and a future write.
|
|
37275
|
+
*/
|
|
37276
|
+
public conflictToken: Uint8Array;
|
|
37277
|
+
|
|
37278
|
+
/** What the `manager_identity` field was before this change. */
|
|
37279
|
+
public previousManagerIdentity: string;
|
|
37280
|
+
|
|
37281
|
+
/**
|
|
37282
|
+
* Creates a new SetWorkerDeploymentManagerResponse instance using the specified properties.
|
|
37283
|
+
* @param [properties] Properties to set
|
|
37284
|
+
* @returns SetWorkerDeploymentManagerResponse instance
|
|
37285
|
+
*/
|
|
37286
|
+
public static create(properties?: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerResponse): temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse;
|
|
37287
|
+
|
|
37288
|
+
/**
|
|
37289
|
+
* Encodes the specified SetWorkerDeploymentManagerResponse message. Does not implicitly {@link temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.verify|verify} messages.
|
|
37290
|
+
* @param message SetWorkerDeploymentManagerResponse message or plain object to encode
|
|
37291
|
+
* @param [writer] Writer to encode to
|
|
37292
|
+
* @returns Writer
|
|
37293
|
+
*/
|
|
37294
|
+
public static encode(message: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
37295
|
+
|
|
37296
|
+
/**
|
|
37297
|
+
* Encodes the specified SetWorkerDeploymentManagerResponse message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse.verify|verify} messages.
|
|
37298
|
+
* @param message SetWorkerDeploymentManagerResponse message or plain object to encode
|
|
37299
|
+
* @param [writer] Writer to encode to
|
|
37300
|
+
* @returns Writer
|
|
37301
|
+
*/
|
|
37302
|
+
public static encodeDelimited(message: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
37303
|
+
|
|
37304
|
+
/**
|
|
37305
|
+
* Decodes a SetWorkerDeploymentManagerResponse message from the specified reader or buffer.
|
|
37306
|
+
* @param reader Reader or buffer to decode from
|
|
37307
|
+
* @param [length] Message length if known beforehand
|
|
37308
|
+
* @returns SetWorkerDeploymentManagerResponse
|
|
37309
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37310
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37311
|
+
*/
|
|
37312
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse;
|
|
37313
|
+
|
|
37314
|
+
/**
|
|
37315
|
+
* Decodes a SetWorkerDeploymentManagerResponse message from the specified reader or buffer, length delimited.
|
|
37316
|
+
* @param reader Reader or buffer to decode from
|
|
37317
|
+
* @returns SetWorkerDeploymentManagerResponse
|
|
37318
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
37319
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
37320
|
+
*/
|
|
37321
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse;
|
|
37322
|
+
|
|
37323
|
+
/**
|
|
37324
|
+
* Creates a SetWorkerDeploymentManagerResponse message from a plain object. Also converts values to their respective internal types.
|
|
37325
|
+
* @param object Plain object
|
|
37326
|
+
* @returns SetWorkerDeploymentManagerResponse
|
|
37327
|
+
*/
|
|
37328
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse;
|
|
37329
|
+
|
|
37330
|
+
/**
|
|
37331
|
+
* Creates a plain object from a SetWorkerDeploymentManagerResponse message. Also converts values to other types if specified.
|
|
37332
|
+
* @param message SetWorkerDeploymentManagerResponse
|
|
37333
|
+
* @param [options] Conversion options
|
|
37334
|
+
* @returns Plain object
|
|
37335
|
+
*/
|
|
37336
|
+
public static toObject(message: temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
37337
|
+
|
|
37338
|
+
/**
|
|
37339
|
+
* Converts this SetWorkerDeploymentManagerResponse to JSON.
|
|
37340
|
+
* @returns JSON object
|
|
37341
|
+
*/
|
|
37342
|
+
public toJSON(): { [k: string]: any };
|
|
37343
|
+
|
|
37344
|
+
/**
|
|
37345
|
+
* Gets the default type url for SetWorkerDeploymentManagerResponse
|
|
37346
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
37347
|
+
* @returns The default type url
|
|
37348
|
+
*/
|
|
37349
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
37350
|
+
}
|
|
37351
|
+
|
|
37051
37352
|
/** Properties of a GetCurrentDeploymentRequest. */
|
|
37052
37353
|
interface IGetCurrentDeploymentRequest {
|
|
37053
37354
|
|
|
@@ -39600,6 +39901,192 @@ export namespace temporal {
|
|
|
39600
39901
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
39601
39902
|
}
|
|
39602
39903
|
|
|
39904
|
+
/** Properties of a DescribeWorkerRequest. */
|
|
39905
|
+
interface IDescribeWorkerRequest {
|
|
39906
|
+
|
|
39907
|
+
/** Namespace this worker belongs to. */
|
|
39908
|
+
namespace?: (string|null);
|
|
39909
|
+
|
|
39910
|
+
/** Worker instance key to describe. */
|
|
39911
|
+
workerInstanceKey?: (string|null);
|
|
39912
|
+
}
|
|
39913
|
+
|
|
39914
|
+
/** Represents a DescribeWorkerRequest. */
|
|
39915
|
+
class DescribeWorkerRequest implements IDescribeWorkerRequest {
|
|
39916
|
+
|
|
39917
|
+
/**
|
|
39918
|
+
* Constructs a new DescribeWorkerRequest.
|
|
39919
|
+
* @param [properties] Properties to set
|
|
39920
|
+
*/
|
|
39921
|
+
constructor(properties?: temporal.api.workflowservice.v1.IDescribeWorkerRequest);
|
|
39922
|
+
|
|
39923
|
+
/** Namespace this worker belongs to. */
|
|
39924
|
+
public namespace: string;
|
|
39925
|
+
|
|
39926
|
+
/** Worker instance key to describe. */
|
|
39927
|
+
public workerInstanceKey: string;
|
|
39928
|
+
|
|
39929
|
+
/**
|
|
39930
|
+
* Creates a new DescribeWorkerRequest instance using the specified properties.
|
|
39931
|
+
* @param [properties] Properties to set
|
|
39932
|
+
* @returns DescribeWorkerRequest instance
|
|
39933
|
+
*/
|
|
39934
|
+
public static create(properties?: temporal.api.workflowservice.v1.IDescribeWorkerRequest): temporal.api.workflowservice.v1.DescribeWorkerRequest;
|
|
39935
|
+
|
|
39936
|
+
/**
|
|
39937
|
+
* Encodes the specified DescribeWorkerRequest message. Does not implicitly {@link temporal.api.workflowservice.v1.DescribeWorkerRequest.verify|verify} messages.
|
|
39938
|
+
* @param message DescribeWorkerRequest message or plain object to encode
|
|
39939
|
+
* @param [writer] Writer to encode to
|
|
39940
|
+
* @returns Writer
|
|
39941
|
+
*/
|
|
39942
|
+
public static encode(message: temporal.api.workflowservice.v1.IDescribeWorkerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
39943
|
+
|
|
39944
|
+
/**
|
|
39945
|
+
* Encodes the specified DescribeWorkerRequest message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.DescribeWorkerRequest.verify|verify} messages.
|
|
39946
|
+
* @param message DescribeWorkerRequest message or plain object to encode
|
|
39947
|
+
* @param [writer] Writer to encode to
|
|
39948
|
+
* @returns Writer
|
|
39949
|
+
*/
|
|
39950
|
+
public static encodeDelimited(message: temporal.api.workflowservice.v1.IDescribeWorkerRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
39951
|
+
|
|
39952
|
+
/**
|
|
39953
|
+
* Decodes a DescribeWorkerRequest message from the specified reader or buffer.
|
|
39954
|
+
* @param reader Reader or buffer to decode from
|
|
39955
|
+
* @param [length] Message length if known beforehand
|
|
39956
|
+
* @returns DescribeWorkerRequest
|
|
39957
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39958
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39959
|
+
*/
|
|
39960
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.DescribeWorkerRequest;
|
|
39961
|
+
|
|
39962
|
+
/**
|
|
39963
|
+
* Decodes a DescribeWorkerRequest message from the specified reader or buffer, length delimited.
|
|
39964
|
+
* @param reader Reader or buffer to decode from
|
|
39965
|
+
* @returns DescribeWorkerRequest
|
|
39966
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
39967
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
39968
|
+
*/
|
|
39969
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.DescribeWorkerRequest;
|
|
39970
|
+
|
|
39971
|
+
/**
|
|
39972
|
+
* Creates a DescribeWorkerRequest message from a plain object. Also converts values to their respective internal types.
|
|
39973
|
+
* @param object Plain object
|
|
39974
|
+
* @returns DescribeWorkerRequest
|
|
39975
|
+
*/
|
|
39976
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.DescribeWorkerRequest;
|
|
39977
|
+
|
|
39978
|
+
/**
|
|
39979
|
+
* Creates a plain object from a DescribeWorkerRequest message. Also converts values to other types if specified.
|
|
39980
|
+
* @param message DescribeWorkerRequest
|
|
39981
|
+
* @param [options] Conversion options
|
|
39982
|
+
* @returns Plain object
|
|
39983
|
+
*/
|
|
39984
|
+
public static toObject(message: temporal.api.workflowservice.v1.DescribeWorkerRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
39985
|
+
|
|
39986
|
+
/**
|
|
39987
|
+
* Converts this DescribeWorkerRequest to JSON.
|
|
39988
|
+
* @returns JSON object
|
|
39989
|
+
*/
|
|
39990
|
+
public toJSON(): { [k: string]: any };
|
|
39991
|
+
|
|
39992
|
+
/**
|
|
39993
|
+
* Gets the default type url for DescribeWorkerRequest
|
|
39994
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
39995
|
+
* @returns The default type url
|
|
39996
|
+
*/
|
|
39997
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
39998
|
+
}
|
|
39999
|
+
|
|
40000
|
+
/** Properties of a DescribeWorkerResponse. */
|
|
40001
|
+
interface IDescribeWorkerResponse {
|
|
40002
|
+
|
|
40003
|
+
/** DescribeWorkerResponse workerInfo */
|
|
40004
|
+
workerInfo?: (temporal.api.worker.v1.IWorkerInfo|null);
|
|
40005
|
+
}
|
|
40006
|
+
|
|
40007
|
+
/** Represents a DescribeWorkerResponse. */
|
|
40008
|
+
class DescribeWorkerResponse implements IDescribeWorkerResponse {
|
|
40009
|
+
|
|
40010
|
+
/**
|
|
40011
|
+
* Constructs a new DescribeWorkerResponse.
|
|
40012
|
+
* @param [properties] Properties to set
|
|
40013
|
+
*/
|
|
40014
|
+
constructor(properties?: temporal.api.workflowservice.v1.IDescribeWorkerResponse);
|
|
40015
|
+
|
|
40016
|
+
/** DescribeWorkerResponse workerInfo. */
|
|
40017
|
+
public workerInfo?: (temporal.api.worker.v1.IWorkerInfo|null);
|
|
40018
|
+
|
|
40019
|
+
/**
|
|
40020
|
+
* Creates a new DescribeWorkerResponse instance using the specified properties.
|
|
40021
|
+
* @param [properties] Properties to set
|
|
40022
|
+
* @returns DescribeWorkerResponse instance
|
|
40023
|
+
*/
|
|
40024
|
+
public static create(properties?: temporal.api.workflowservice.v1.IDescribeWorkerResponse): temporal.api.workflowservice.v1.DescribeWorkerResponse;
|
|
40025
|
+
|
|
40026
|
+
/**
|
|
40027
|
+
* Encodes the specified DescribeWorkerResponse message. Does not implicitly {@link temporal.api.workflowservice.v1.DescribeWorkerResponse.verify|verify} messages.
|
|
40028
|
+
* @param message DescribeWorkerResponse message or plain object to encode
|
|
40029
|
+
* @param [writer] Writer to encode to
|
|
40030
|
+
* @returns Writer
|
|
40031
|
+
*/
|
|
40032
|
+
public static encode(message: temporal.api.workflowservice.v1.IDescribeWorkerResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
40033
|
+
|
|
40034
|
+
/**
|
|
40035
|
+
* Encodes the specified DescribeWorkerResponse message, length delimited. Does not implicitly {@link temporal.api.workflowservice.v1.DescribeWorkerResponse.verify|verify} messages.
|
|
40036
|
+
* @param message DescribeWorkerResponse message or plain object to encode
|
|
40037
|
+
* @param [writer] Writer to encode to
|
|
40038
|
+
* @returns Writer
|
|
40039
|
+
*/
|
|
40040
|
+
public static encodeDelimited(message: temporal.api.workflowservice.v1.IDescribeWorkerResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
40041
|
+
|
|
40042
|
+
/**
|
|
40043
|
+
* Decodes a DescribeWorkerResponse message from the specified reader or buffer.
|
|
40044
|
+
* @param reader Reader or buffer to decode from
|
|
40045
|
+
* @param [length] Message length if known beforehand
|
|
40046
|
+
* @returns DescribeWorkerResponse
|
|
40047
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
40048
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
40049
|
+
*/
|
|
40050
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.workflowservice.v1.DescribeWorkerResponse;
|
|
40051
|
+
|
|
40052
|
+
/**
|
|
40053
|
+
* Decodes a DescribeWorkerResponse message from the specified reader or buffer, length delimited.
|
|
40054
|
+
* @param reader Reader or buffer to decode from
|
|
40055
|
+
* @returns DescribeWorkerResponse
|
|
40056
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
40057
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
40058
|
+
*/
|
|
40059
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.workflowservice.v1.DescribeWorkerResponse;
|
|
40060
|
+
|
|
40061
|
+
/**
|
|
40062
|
+
* Creates a DescribeWorkerResponse message from a plain object. Also converts values to their respective internal types.
|
|
40063
|
+
* @param object Plain object
|
|
40064
|
+
* @returns DescribeWorkerResponse
|
|
40065
|
+
*/
|
|
40066
|
+
public static fromObject(object: { [k: string]: any }): temporal.api.workflowservice.v1.DescribeWorkerResponse;
|
|
40067
|
+
|
|
40068
|
+
/**
|
|
40069
|
+
* Creates a plain object from a DescribeWorkerResponse message. Also converts values to other types if specified.
|
|
40070
|
+
* @param message DescribeWorkerResponse
|
|
40071
|
+
* @param [options] Conversion options
|
|
40072
|
+
* @returns Plain object
|
|
40073
|
+
*/
|
|
40074
|
+
public static toObject(message: temporal.api.workflowservice.v1.DescribeWorkerResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
40075
|
+
|
|
40076
|
+
/**
|
|
40077
|
+
* Converts this DescribeWorkerResponse to JSON.
|
|
40078
|
+
* @returns JSON object
|
|
40079
|
+
*/
|
|
40080
|
+
public toJSON(): { [k: string]: any };
|
|
40081
|
+
|
|
40082
|
+
/**
|
|
40083
|
+
* Gets the default type url for DescribeWorkerResponse
|
|
40084
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
40085
|
+
* @returns The default type url
|
|
40086
|
+
*/
|
|
40087
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
40088
|
+
}
|
|
40089
|
+
|
|
39603
40090
|
/**
|
|
39604
40091
|
* WorkflowService API defines how Temporal SDKs and other clients interact with the Temporal server
|
|
39605
40092
|
* to create and interact with workflows and activities.
|
|
@@ -40345,7 +40832,8 @@ export namespace temporal {
|
|
|
40345
40832
|
public listArchivedWorkflowExecutions(request: temporal.api.workflowservice.v1.IListArchivedWorkflowExecutionsRequest): Promise<temporal.api.workflowservice.v1.ListArchivedWorkflowExecutionsResponse>;
|
|
40346
40833
|
|
|
40347
40834
|
/**
|
|
40348
|
-
* ScanWorkflowExecutions
|
|
40835
|
+
* ScanWorkflowExecutions _was_ a visibility API to list large amount of workflow executions in a specific namespace without order.
|
|
40836
|
+
* It has since been deprecated in favor of `ListWorkflowExecutions` and rewritten to use `ListWorkflowExecutions` internally.
|
|
40349
40837
|
*
|
|
40350
40838
|
* Deprecated: Replaced with `ListWorkflowExecutions`.
|
|
40351
40839
|
* (-- api-linter: core::0127::http-annotation=disabled
|
|
@@ -40356,7 +40844,8 @@ export namespace temporal {
|
|
|
40356
40844
|
public scanWorkflowExecutions(request: temporal.api.workflowservice.v1.IScanWorkflowExecutionsRequest, callback: temporal.api.workflowservice.v1.WorkflowService.ScanWorkflowExecutionsCallback): void;
|
|
40357
40845
|
|
|
40358
40846
|
/**
|
|
40359
|
-
* ScanWorkflowExecutions
|
|
40847
|
+
* ScanWorkflowExecutions _was_ a visibility API to list large amount of workflow executions in a specific namespace without order.
|
|
40848
|
+
* It has since been deprecated in favor of `ListWorkflowExecutions` and rewritten to use `ListWorkflowExecutions` internally.
|
|
40360
40849
|
*
|
|
40361
40850
|
* Deprecated: Replaced with `ListWorkflowExecutions`.
|
|
40362
40851
|
* (-- api-linter: core::0127::http-annotation=disabled
|
|
@@ -41122,6 +41611,22 @@ export namespace temporal {
|
|
|
41122
41611
|
*/
|
|
41123
41612
|
public updateWorkerDeploymentVersionMetadata(request: temporal.api.workflowservice.v1.IUpdateWorkerDeploymentVersionMetadataRequest): Promise<temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse>;
|
|
41124
41613
|
|
|
41614
|
+
/**
|
|
41615
|
+
* Set/unset the ManagerIdentity of a Worker Deployment.
|
|
41616
|
+
* Experimental. This API might significantly change or be removed in a future release.
|
|
41617
|
+
* @param request SetWorkerDeploymentManagerRequest message or plain object
|
|
41618
|
+
* @param callback Node-style callback called with the error, if any, and SetWorkerDeploymentManagerResponse
|
|
41619
|
+
*/
|
|
41620
|
+
public setWorkerDeploymentManager(request: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerRequest, callback: temporal.api.workflowservice.v1.WorkflowService.SetWorkerDeploymentManagerCallback): void;
|
|
41621
|
+
|
|
41622
|
+
/**
|
|
41623
|
+
* Set/unset the ManagerIdentity of a Worker Deployment.
|
|
41624
|
+
* Experimental. This API might significantly change or be removed in a future release.
|
|
41625
|
+
* @param request SetWorkerDeploymentManagerRequest message or plain object
|
|
41626
|
+
* @returns Promise
|
|
41627
|
+
*/
|
|
41628
|
+
public setWorkerDeploymentManager(request: temporal.api.workflowservice.v1.ISetWorkerDeploymentManagerRequest): Promise<temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse>;
|
|
41629
|
+
|
|
41125
41630
|
/**
|
|
41126
41631
|
* Invokes the specified Update function on user Workflow code.
|
|
41127
41632
|
* @param request UpdateWorkflowExecutionRequest message or plain object
|
|
@@ -41595,6 +42100,20 @@ export namespace temporal {
|
|
|
41595
42100
|
* @returns Promise
|
|
41596
42101
|
*/
|
|
41597
42102
|
public updateWorkerConfig(request: temporal.api.workflowservice.v1.IUpdateWorkerConfigRequest): Promise<temporal.api.workflowservice.v1.UpdateWorkerConfigResponse>;
|
|
42103
|
+
|
|
42104
|
+
/**
|
|
42105
|
+
* DescribeWorker returns information about the specified worker.
|
|
42106
|
+
* @param request DescribeWorkerRequest message or plain object
|
|
42107
|
+
* @param callback Node-style callback called with the error, if any, and DescribeWorkerResponse
|
|
42108
|
+
*/
|
|
42109
|
+
public describeWorker(request: temporal.api.workflowservice.v1.IDescribeWorkerRequest, callback: temporal.api.workflowservice.v1.WorkflowService.DescribeWorkerCallback): void;
|
|
42110
|
+
|
|
42111
|
+
/**
|
|
42112
|
+
* DescribeWorker returns information about the specified worker.
|
|
42113
|
+
* @param request DescribeWorkerRequest message or plain object
|
|
42114
|
+
* @returns Promise
|
|
42115
|
+
*/
|
|
42116
|
+
public describeWorker(request: temporal.api.workflowservice.v1.IDescribeWorkerRequest): Promise<temporal.api.workflowservice.v1.DescribeWorkerResponse>;
|
|
41598
42117
|
}
|
|
41599
42118
|
|
|
41600
42119
|
namespace WorkflowService {
|
|
@@ -42075,6 +42594,13 @@ export namespace temporal {
|
|
|
42075
42594
|
*/
|
|
42076
42595
|
type UpdateWorkerDeploymentVersionMetadataCallback = (error: (Error|null), response?: temporal.api.workflowservice.v1.UpdateWorkerDeploymentVersionMetadataResponse) => void;
|
|
42077
42596
|
|
|
42597
|
+
/**
|
|
42598
|
+
* Callback as used by {@link temporal.api.workflowservice.v1.WorkflowService#setWorkerDeploymentManager}.
|
|
42599
|
+
* @param error Error, if any
|
|
42600
|
+
* @param [response] SetWorkerDeploymentManagerResponse
|
|
42601
|
+
*/
|
|
42602
|
+
type SetWorkerDeploymentManagerCallback = (error: (Error|null), response?: temporal.api.workflowservice.v1.SetWorkerDeploymentManagerResponse) => void;
|
|
42603
|
+
|
|
42078
42604
|
/**
|
|
42079
42605
|
* Callback as used by {@link temporal.api.workflowservice.v1.WorkflowService#updateWorkflowExecution}.
|
|
42080
42606
|
* @param error Error, if any
|
|
@@ -42242,6 +42768,13 @@ export namespace temporal {
|
|
|
42242
42768
|
* @param [response] UpdateWorkerConfigResponse
|
|
42243
42769
|
*/
|
|
42244
42770
|
type UpdateWorkerConfigCallback = (error: (Error|null), response?: temporal.api.workflowservice.v1.UpdateWorkerConfigResponse) => void;
|
|
42771
|
+
|
|
42772
|
+
/**
|
|
42773
|
+
* Callback as used by {@link temporal.api.workflowservice.v1.WorkflowService#describeWorker}.
|
|
42774
|
+
* @param error Error, if any
|
|
42775
|
+
* @param [response] DescribeWorkerResponse
|
|
42776
|
+
*/
|
|
42777
|
+
type DescribeWorkerCallback = (error: (Error|null), response?: temporal.api.workflowservice.v1.DescribeWorkerResponse) => void;
|
|
42245
42778
|
}
|
|
42246
42779
|
}
|
|
42247
42780
|
}
|
|
@@ -46325,6 +46858,14 @@ export namespace temporal {
|
|
|
46325
46858
|
* `SetWorkerDeploymentRampingVersion`.
|
|
46326
46859
|
*/
|
|
46327
46860
|
lastModifierIdentity?: (string|null);
|
|
46861
|
+
|
|
46862
|
+
/**
|
|
46863
|
+
* Identity of the client that has the exclusive right to make changes to this Worker Deployment.
|
|
46864
|
+
* Empty by default.
|
|
46865
|
+
* If this is set, clients whose identity does not match `manager_identity` will not be able to make changes
|
|
46866
|
+
* to this Worker Deployment. They can either set their own identity as the manager or unset the field to proceed.
|
|
46867
|
+
*/
|
|
46868
|
+
managerIdentity?: (string|null);
|
|
46328
46869
|
}
|
|
46329
46870
|
|
|
46330
46871
|
/**
|
|
@@ -46370,6 +46911,14 @@ export namespace temporal {
|
|
|
46370
46911
|
*/
|
|
46371
46912
|
public lastModifierIdentity: string;
|
|
46372
46913
|
|
|
46914
|
+
/**
|
|
46915
|
+
* Identity of the client that has the exclusive right to make changes to this Worker Deployment.
|
|
46916
|
+
* Empty by default.
|
|
46917
|
+
* If this is set, clients whose identity does not match `manager_identity` will not be able to make changes
|
|
46918
|
+
* to this Worker Deployment. They can either set their own identity as the manager or unset the field to proceed.
|
|
46919
|
+
*/
|
|
46920
|
+
public managerIdentity: string;
|
|
46921
|
+
|
|
46373
46922
|
/**
|
|
46374
46923
|
* Creates a new WorkerDeploymentInfo instance using the specified properties.
|
|
46375
46924
|
* @param [properties] Properties to set
|
|
@@ -62991,6 +63540,12 @@ export namespace temporal {
|
|
|
62991
63540
|
|
|
62992
63541
|
/** True if the namespace supports async update */
|
|
62993
63542
|
asyncUpdate?: (boolean|null);
|
|
63543
|
+
|
|
63544
|
+
/** True if the namespace supports worker heartbeats */
|
|
63545
|
+
workerHeartbeats?: (boolean|null);
|
|
63546
|
+
|
|
63547
|
+
/** True if the namespace supports reported problems search attribute */
|
|
63548
|
+
reportedProblemsSearchAttribute?: (boolean|null);
|
|
62994
63549
|
}
|
|
62995
63550
|
|
|
62996
63551
|
/** Namespace capability details. Should contain what features are enabled in a namespace. */
|
|
@@ -63011,6 +63566,12 @@ export namespace temporal {
|
|
|
63011
63566
|
/** True if the namespace supports async update */
|
|
63012
63567
|
public asyncUpdate: boolean;
|
|
63013
63568
|
|
|
63569
|
+
/** True if the namespace supports worker heartbeats */
|
|
63570
|
+
public workerHeartbeats: boolean;
|
|
63571
|
+
|
|
63572
|
+
/** True if the namespace supports reported problems search attribute */
|
|
63573
|
+
public reportedProblemsSearchAttribute: boolean;
|
|
63574
|
+
|
|
63014
63575
|
/**
|
|
63015
63576
|
* Creates a new Capabilities instance using the specified properties.
|
|
63016
63577
|
* @param [properties] Properties to set
|