-
Notifications
You must be signed in to change notification settings - Fork 298
Expand file tree
/
Copy pathclient.go
More file actions
1854 lines (1576 loc) · 91.2 KB
/
client.go
File metadata and controls
1854 lines (1576 loc) · 91.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//go:generate mockgen -copyright_file ../LICENSE -package client -source client.go -destination client_mock.go
// Package client is used by external programs to communicate with Temporal service.
//
// NOTE: DO NOT USE THIS API INSIDE OF ANY WORKFLOW CODE!!!
package client
import (
"context"
"crypto/tls"
"io"
commonpb "go.temporal.io/api/common/v1"
enumspb "go.temporal.io/api/enums/v1"
historypb "go.temporal.io/api/history/v1"
"go.temporal.io/api/operatorservice/v1"
"go.temporal.io/api/workflowservice/v1"
"go.temporal.io/sdk/converter"
"go.temporal.io/sdk/internal"
"go.temporal.io/sdk/internal/common/metrics"
)
// DeploymentReachability specifies which category of tasks may reach a worker
// associated with a deployment, simplifying safe decommission.
//
// Deprecated: Use [WorkerDeploymentVersionDrainageStatus]
type DeploymentReachability = internal.DeploymentReachability
const (
// DeploymentReachabilityUnspecified - Reachability level not specified.
//
// Deprecated: Use [WorkerDeploymentVersionDrainageStatus]
DeploymentReachabilityUnspecified = internal.DeploymentReachabilityUnspecified
// DeploymentReachabilityReachable - The deployment is reachable by new
// and/or open workflows. The deployment cannot be decommissioned safely.
//
// Deprecated: Use [WorkerDeploymentVersionDrainageStatus]
DeploymentReachabilityReachable = internal.DeploymentReachabilityReachable
// DeploymentReachabilityClosedWorkflows - The deployment is not reachable
// by new or open workflows, but might be still needed by
// Queries sent to closed workflows. The deployment can be decommissioned
// safely if user does not query closed workflows.
//
// Deprecated: Use [WorkerDeploymentVersionDrainageStatus]
DeploymentReachabilityClosedWorkflows = internal.DeploymentReachabilityClosedWorkflows
// DeploymentReachabilityUnreachable - The deployment is not reachable by
// any workflow because all the workflows who needed this
// deployment are out of the retention period. The deployment can be
// decommissioned safely.
//
// Deprecated: Use [WorkerDeploymentVersionDrainageStatus]
DeploymentReachabilityUnreachable = internal.DeploymentReachabilityUnreachable
)
// WorkerDeploymentVersionDrainageStatus specifies the drainage status for a Worker
// Deployment Version enabling users to decide when they can safely decommission this
// Version.
//
// NOTE: Experimental
type WorkerDeploymentVersionDrainageStatus = internal.WorkerDeploymentVersionDrainageStatus
const (
// WorkerDeploymentVersionDrainageStatusUnspecified - Drainage status not specified.
//
// NOTE: Experimental
WorkerDeploymentVersionDrainageStatusUnspecified = internal.WorkerDeploymentVersionDrainageStatusUnspecified
// WorkerDeploymentVersionDrainageStatusDraining - The Worker Deployment Version is not
// used by new workflows, but it is still used by open pinned workflows.
// This Version cannot be decommissioned safely.
//
// NOTE: Experimental
WorkerDeploymentVersionDrainageStatusDraining = internal.WorkerDeploymentVersionDrainageStatusDraining
// WorkerDeploymentVersionDrainageStatusDrained - The Worker Deployment Version is not
// used by new or open workflows, but it might still be needed to execute
// Queries sent to closed workflows. This Version can be decommissioned safely if the user
// does not expect to query closed workflows. In some cases this requires waiting for some
// time after it is drained to guarantee no pending queries.
//
// NOTE: Experimental
WorkerDeploymentVersionDrainageStatusDrained = internal.WorkerDeploymentVersionDrainageStatusDrained
)
// WorkerVersioningMode specifies whether the workflows processed by this
// worker use the worker's Version. The Temporal Server will use this worker's
// choice when dispatching tasks to it.
//
// NOTE: Experimental
type WorkerVersioningMode = internal.WorkerVersioningMode
const (
// WorkerVersioningModeUnspecified - Versioning mode not reported.
//
// NOTE: Experimental
WorkerVersioningModeUnspecified = internal.WorkerVersioningModeUnspecified
// WorkerVersioningModeUnversioned - Workers with this mode are not
// distinguished from each other for task routing, even if they
// have different versions.
//
// NOTE: Experimental
WorkerVersioningModeUnversioned = internal.WorkerVersioningModeUnversioned
// WorkerVersioningModeVersioned - Workers with this mode are part of a
// Worker Deployment Version which is a combination of a deployment name
// and a build id.
//
// Each Deployment Version is distinguished from other Versions for task
// routing, and users can configure the Temporal Server to send tasks to a
// particular Version.
//
// NOTE: Experimental
WorkerVersioningModeVersioned = internal.WorkerVersioningModeVersioned
)
// TaskReachability specifies which category of tasks may reach a worker on a versioned task queue.
// Used both in a reachability query and its response.
//
// Deprecated: Use [BuildIDTaskReachability]
type TaskReachability = internal.TaskReachability
const (
// TaskReachabilityUnspecified indicates the reachability was not specified
TaskReachabilityUnspecified = internal.TaskReachabilityUnspecified
// TaskReachabilityNewWorkflows indicates the Build Id might be used by new workflows
TaskReachabilityNewWorkflows = internal.TaskReachabilityNewWorkflows
// TaskReachabilityExistingWorkflows indicates the Build Id might be used by open workflows
// and/or closed workflows.
TaskReachabilityExistingWorkflows = internal.TaskReachabilityExistingWorkflows
// TaskReachabilityOpenWorkflows indicates the Build Id might be used by open workflows.
TaskReachabilityOpenWorkflows = internal.TaskReachabilityOpenWorkflows
// TaskReachabilityClosedWorkflows indicates the Build Id might be used by closed workflows
TaskReachabilityClosedWorkflows = internal.TaskReachabilityClosedWorkflows
)
// TaskQueueType specifies which category of tasks are associated with a queue.
// WARNING: Worker versioning is currently experimental
type TaskQueueType = internal.TaskQueueType
const (
// TaskQueueTypeUnspecified indicates the task queue type was not specified.
TaskQueueTypeUnspecified = internal.TaskQueueTypeUnspecified
// TaskQueueTypeWorkflow indicates the task queue is used for dispatching workflow tasks.
TaskQueueTypeWorkflow = internal.TaskQueueTypeWorkflow
// TaskQueueTypeActivity indicates the task queue is used for delivering activity tasks.
TaskQueueTypeActivity = internal.TaskQueueTypeActivity
// TaskQueueTypeNexus indicates the task queue is used for dispatching Nexus requests.
TaskQueueTypeNexus = internal.TaskQueueTypeNexus
)
// BuildIDTaskReachability specifies which category of tasks may reach a versioned worker of a certain Build ID.
//
// NOTE: future activities who inherit their workflow's Build ID but not its task queue will not be
// accounted for reachability as server cannot know if they'll happen as they do not use
// assignment rules of their task queue. Same goes for Child Workflows or Continue-As-New Workflows
// who inherit the parent/previous workflow's Build ID but not its task queue. In those cases, make
// sure to query reachability for the parent/previous workflow's task queue as well.
// WARNING: Worker versioning is currently experimental
type BuildIDTaskReachability = internal.BuildIDTaskReachability
const (
// BuildIDTaskReachabilityUnspecified indicates that task reachability was not reported.
BuildIDTaskReachabilityUnspecified = internal.BuildIDTaskReachabilityUnspecified
// BuildIDTaskReachabilityReachable indicates that this Build ID may be used by new workflows or activities
// (based on versioning rules), or there are open workflows or backlogged activities assigned to it.
BuildIDTaskReachabilityReachable = internal.BuildIDTaskReachabilityReachable
// BuildIDTaskReachabilityClosedWorkflowsOnly specifies that this Build ID does not have open workflows
// and is not reachable by new workflows, but MAY have closed workflows within the namespace retention period.
// Not applicable to activity-only task queues.
BuildIDTaskReachabilityClosedWorkflowsOnly = internal.BuildIDTaskReachabilityClosedWorkflowsOnly
// BuildIDTaskReachabilityUnreachable indicates that this Build ID is not used for new executions, nor
// it has been used by any existing execution within the retention period.
BuildIDTaskReachabilityUnreachable = internal.BuildIDTaskReachabilityUnreachable
)
// WorkflowUpdateStage indicates the stage of an update request.
type WorkflowUpdateStage = internal.WorkflowUpdateStage
const (
// WorkflowUpdateStageUnspecified indicates the wait stage was not specified
WorkflowUpdateStageUnspecified = internal.WorkflowUpdateStageUnspecified
// WorkflowUpdateStageAdmitted indicates the update is admitted
WorkflowUpdateStageAdmitted = internal.WorkflowUpdateStageAdmitted
// WorkflowUpdateStageAccepted indicates the update is accepted
WorkflowUpdateStageAccepted = internal.WorkflowUpdateStageAccepted
// WorkflowUpdateStageCompleted indicates the update is completed
WorkflowUpdateStageCompleted = internal.WorkflowUpdateStageCompleted
)
const (
// DefaultHostPort is the host:port which is used if not passed with options.
DefaultHostPort = internal.LocalHostPort
// DefaultNamespace is the namespace name which is used if not passed with options.
DefaultNamespace = internal.DefaultNamespace
// QueryTypeStackTrace is the build in query type for Client.QueryWorkflow() call. Use this query type to get the call
// stack of the workflow. The result will be a string encoded in the converter.EncodedValue.
QueryTypeStackTrace string = internal.QueryTypeStackTrace
// QueryTypeOpenSessions is the build in query type for Client.QueryWorkflow() call. Use this query type to get all open
// sessions in the workflow. The result will be a list of SessionInfo encoded in the converter.EncodedValue.
QueryTypeOpenSessions string = internal.QueryTypeOpenSessions
// UnversionedBuildID is a stand-in for a Build Id for unversioned Workers.
// WARNING: Worker versioning is currently experimental
UnversionedBuildID string = internal.UnversionedBuildID
)
type (
// Options are optional parameters for Client creation.
Options = internal.ClientOptions
// ConnectionOptions are optional parameters that can be specified in ClientOptions
ConnectionOptions = internal.ConnectionOptions
// Credentials are optional credentials that can be specified in ClientOptions.
Credentials = internal.Credentials
// StartWorkflowOptions configuration parameters for starting a workflow execution.
StartWorkflowOptions = internal.StartWorkflowOptions
// CompleteActivityByIDOptions provides options for CompleteActivityByIDWithOptions.
CompleteActivityByIDOptions = internal.CompleteActivityByIDOptions
// RecordActivityHeartbeatByIDOptions provides options for RecordActivityHeartbeatByIDWithOptions.
RecordActivityHeartbeatByIDOptions = internal.RecordActivityHeartbeatByIDOptions
// CompleteActivityOptions provides options for CompleteActivityWithOptions.
CompleteActivityOptions = internal.CompleteActivityOptions
// CompleteActivityByActivityIDOptions provides options for CompleteActivityByActivityIDWithOptions.
CompleteActivityByActivityIDOptions = internal.CompleteActivityByActivityIDOptions
// RecordActivityHeartbeatOptions provides options for RecordActivityHeartbeatWithOptions.
RecordActivityHeartbeatOptions = internal.RecordActivityHeartbeatOptions
// WithStartWorkflowOperation defines how to start a workflow when using UpdateWithStartWorkflow.
// See [client.Client.NewWithStartWorkflowOperation] and [client.Client.UpdateWithStartWorkflow].
WithStartWorkflowOperation = internal.WithStartWorkflowOperation
// HistoryEventIterator is a iterator which can return history events.
HistoryEventIterator = internal.HistoryEventIterator
// WorkflowRun represents a started non child workflow.
WorkflowRun = internal.WorkflowRun
// WorkflowRunGetOptions are options for WorkflowRun.GetWithOptions.
WorkflowRunGetOptions = internal.WorkflowRunGetOptions
// QueryWorkflowWithOptionsRequest defines the request to QueryWorkflowWithOptions.
QueryWorkflowWithOptionsRequest = internal.QueryWorkflowWithOptionsRequest
// QueryWorkflowWithOptionsResponse defines the response to QueryWorkflowWithOptions.
QueryWorkflowWithOptionsResponse = internal.QueryWorkflowWithOptionsResponse
// WorkflowExecutionDescription defines the response to DescribeWorkflow.
WorkflowExecutionDescription = internal.WorkflowExecutionDescription
// WorkflowExecutionMetadata defines common workflow information across multiple calls.
WorkflowExecutionMetadata = internal.WorkflowExecutionMetadata
// CheckHealthRequest is a request for Client.CheckHealth.
CheckHealthRequest = internal.CheckHealthRequest
// CheckHealthResponse is a response for Client.CheckHealth.
CheckHealthResponse = internal.CheckHealthResponse
// ScheduleRange represents a set of integer values.
ScheduleRange = internal.ScheduleRange
// ScheduleCalendarSpec is an event specification relative to the calendar.
ScheduleCalendarSpec = internal.ScheduleCalendarSpec
// ScheduleIntervalSpec describes periods a schedules action should occur.
ScheduleIntervalSpec = internal.ScheduleIntervalSpec
// ScheduleSpec describes when a schedules action should occur.
ScheduleSpec = internal.ScheduleSpec
// SchedulePolicies describes the current polcies of a schedule.
SchedulePolicies = internal.SchedulePolicies
// ScheduleState describes the current state of a schedule.
ScheduleState = internal.ScheduleState
// ScheduleBackfill desribes a time periods and policy and takes Actions as if that time passed by right now, all at once.
ScheduleBackfill = internal.ScheduleBackfill
// ScheduleAction is the interface for all actions a schedule can take.
ScheduleAction = internal.ScheduleAction
// ScheduleWorkflowAction is the implementation of ScheduleAction to start a workflow.
ScheduleWorkflowAction = internal.ScheduleWorkflowAction
// ScheduleOptions configuration parameters for creating a schedule.
ScheduleOptions = internal.ScheduleOptions
// ScheduleClient is the interface with the server to create and get handles to schedules.
ScheduleClient = internal.ScheduleClient
// ScheduleListOptions are configuration parameters for listing schedules.
ScheduleListOptions = internal.ScheduleListOptions
// ScheduleListIterator is a iterator which can return created schedules.
ScheduleListIterator = internal.ScheduleListIterator
// ScheduleListEntry is a result from ScheduleListEntry.
ScheduleListEntry = internal.ScheduleListEntry
// ScheduleUpdateOptions are configuration parameters for updating a schedule.
ScheduleUpdateOptions = internal.ScheduleUpdateOptions
// ScheduleHandle represents a created schedule.
ScheduleHandle = internal.ScheduleHandle
// ScheduleActionResult describes when a schedule action took place.
ScheduleActionResult = internal.ScheduleActionResult
// ScheduleWorkflowExecution contains details on a workflows execution stared by a schedule.
ScheduleWorkflowExecution = internal.ScheduleWorkflowExecution
// ScheduleInfo describes other information about a schedule.
ScheduleInfo = internal.ScheduleInfo
// ScheduleDescription describes the current Schedule details from ScheduleHandle.Describe.
ScheduleDescription = internal.ScheduleDescription
// Schedule describes a created schedule.
Schedule = internal.Schedule
// ScheduleUpdate describes the desired new schedule from ScheduleHandle.Update.
ScheduleUpdate = internal.ScheduleUpdate
// ScheduleUpdateInput describes the current state of the schedule to be updated.
ScheduleUpdateInput = internal.ScheduleUpdateInput
// ScheduleTriggerOptions configure the parameters for triggering a schedule.
ScheduleTriggerOptions = internal.ScheduleTriggerOptions
// SchedulePauseOptions configure the parameters for pausing a schedule.
SchedulePauseOptions = internal.SchedulePauseOptions
// ScheduleUnpauseOptions configure the parameters for unpausing a schedule.
ScheduleUnpauseOptions = internal.ScheduleUnpauseOptions
// ScheduleBackfillOptions configure the parameters for backfilling a schedule.
ScheduleBackfillOptions = internal.ScheduleBackfillOptions
// UpdateWorkflowOptions encapsulates the parameters for
// sending an update to a workflow execution.
UpdateWorkflowOptions = internal.UpdateWorkflowOptions
// UpdateWithStartWorkflowOptions encapsulates the parameters used by UpdateWithStartWorkflow.
// See [client.Client.UpdateWithStartWorkflow] and [client.Client.NewWithStartWorkflowOperation].
UpdateWithStartWorkflowOptions = internal.UpdateWithStartWorkflowOptions
// WorkerDeploymentDescribeOptions provides options for [WorkerDeploymentHandle.Describe].
//
// NOTE: Experimental
WorkerDeploymentDescribeOptions = internal.WorkerDeploymentDescribeOptions
// WorkerDeploymentVersionSummary provides a brief description of a Version.
//
// NOTE: Experimental
WorkerDeploymentVersionSummary = internal.WorkerDeploymentVersionSummary
// WorkerDeploymentInfo provides information about a Worker Deployment.
//
// NOTE: Experimental
WorkerDeploymentInfo = internal.WorkerDeploymentInfo
// WorkerDeploymentDescribeResponse is the response type for [WorkerDeploymentHandle.Describe].
//
// NOTE: Experimental
WorkerDeploymentDescribeResponse = internal.WorkerDeploymentDescribeResponse
// WorkerDeploymentSetCurrentVersionOptions provides options for
// [WorkerDeploymentHandle.SetCurrentVersion].
//
// NOTE: Experimental
WorkerDeploymentSetCurrentVersionOptions = internal.WorkerDeploymentSetCurrentVersionOptions
// WorkerDeploymentSetCurrentVersionResponse is the response for
// [WorkerDeploymentHandle.SetCurrentVersion].
//
// NOTE: Experimental
WorkerDeploymentSetCurrentVersionResponse = internal.WorkerDeploymentSetCurrentVersionResponse
// WorkerDeploymentSetRampingVersionOptions provides options for
// [WorkerDeploymentHandle.SetRampingVersion].
//
// NOTE: Experimental
WorkerDeploymentSetRampingVersionOptions = internal.WorkerDeploymentSetRampingVersionOptions
// WorkerDeploymentSetRampingVersionResponse is the response for
// [WorkerDeploymentHandle.SetRampingVersion].
//
// NOTE: Experimental
WorkerDeploymentSetRampingVersionResponse = internal.WorkerDeploymentSetRampingVersionResponse
// WorkerDeploymentSetManagerIdentityOptions provides options for
// [WorkerDeploymentHandle.SetManagerIdentity].
//
// NOTE: Experimental
WorkerDeploymentSetManagerIdentityOptions = internal.WorkerDeploymentSetManagerIdentityOptions
// WorkerDeploymentSetManagerIdentityResponse is the response for
// [WorkerDeploymentHandle.SetManagerIdentity].
//
// NOTE: Experimental
WorkerDeploymentSetManagerIdentityResponse = internal.WorkerDeploymentSetManagerIdentityResponse
// WorkerDeploymentDescribeVersionOptions provides options for
// [WorkerDeploymentHandle.DescribeVersion].
//
// NOTE: Experimental
WorkerDeploymentDescribeVersionOptions = internal.WorkerDeploymentDescribeVersionOptions
// WorkerDeploymentTaskQueueInfo describes properties of the Task Queues involved
// in a Deployment Version.
//
// NOTE: Experimental
WorkerDeploymentTaskQueueInfo = internal.WorkerDeploymentTaskQueueInfo
// WorkerDeploymentVersionDrainageInfo describes drainage properties of a Deployment Version.
// This enables users to safely decide when they can decommission a Version.
//
// NOTE: Experimental
WorkerDeploymentVersionDrainageInfo = internal.WorkerDeploymentVersionDrainageInfo
// WorkerDeploymentVersionInfo provides information about a Worker Deployment Version.
//
// NOTE: Experimental
WorkerDeploymentVersionInfo = internal.WorkerDeploymentVersionInfo
// WorkerDeploymentVersionDescription is the response for
// [WorkerDeploymentHandle.DescribeVersion].
//
// NOTE: Experimental
WorkerDeploymentVersionDescription = internal.WorkerDeploymentVersionDescription
// WorkerDeploymentDeleteVersionOptions provides options for
// [WorkerDeploymentHandle.DeleteVersion].
//
// NOTE: Experimental
WorkerDeploymentDeleteVersionOptions = internal.WorkerDeploymentDeleteVersionOptions
// WorkerDeploymentDeleteVersionResponse is the response for
// [WorkerDeploymentHandle.DeleteVersion].
//
// NOTE: Experimental
WorkerDeploymentDeleteVersionResponse = internal.WorkerDeploymentDeleteVersionResponse
// WorkerDeploymentMetadataUpdate modifies user-defined metadata entries that describe
// a Version.
//
// NOTE: Experimental
WorkerDeploymentMetadataUpdate = internal.WorkerDeploymentMetadataUpdate
// WorkerDeploymentUpdateVersionMetadataOptions provides options for
// [WorkerDeploymentHandle.UpdateVersionMetadata].
//
// NOTE: Experimental
WorkerDeploymentUpdateVersionMetadataOptions = internal.WorkerDeploymentUpdateVersionMetadataOptions
// WorkerDeploymentUpdateVersionMetadataResponse is the response for
// [WorkerDeploymentHandle.UpdateVersionMetadata].
//
// NOTE: Experimental
WorkerDeploymentUpdateVersionMetadataResponse = internal.WorkerDeploymentUpdateVersionMetadataResponse
// WorkerDeploymentHandle is a handle to a Worker Deployment.
//
// NOTE: Experimental
WorkerDeploymentHandle = internal.WorkerDeploymentHandle
// WorkerDeploymentListOptions are the parameters for configuring listing Worker Deployments.
//
// NOTE: Experimental
WorkerDeploymentListOptions = internal.WorkerDeploymentListOptions
// WorkerDeploymentRoutingConfig describes when new or existing Workflow Tasks are
// executed with this Worker Deployment.
//
// NOTE: Experimental
WorkerDeploymentRoutingConfig = internal.WorkerDeploymentRoutingConfig
// WorkerDeploymentListEntry is a subset of fields from [WorkerDeploymentInfo].
//
// NOTE: Experimental
WorkerDeploymentListEntry = internal.WorkerDeploymentListEntry
// WorkerDeploymentListIterator is an iterator for deployments.
//
// NOTE: Experimental
WorkerDeploymentListIterator = internal.WorkerDeploymentListIterator
// WorkerDeploymentDeleteOptions provides options for [WorkerDeploymentClient.Delete].
//
// NOTE: Experimental
WorkerDeploymentDeleteOptions = internal.WorkerDeploymentDeleteOptions
// WorkerDeploymentDeleteResponse is the response for [WorkerDeploymentClient.Delete].
//
// NOTE: Experimental
WorkerDeploymentDeleteResponse = internal.WorkerDeploymentDeleteResponse
// WorkerDeploymentClient is the client that manages Worker Deployments.
//
// NOTE: Experimental
WorkerDeploymentClient = internal.WorkerDeploymentClient
// Deployment identifies a set of workers. This identifier combines
// the deployment series name with their Build ID.
//
// Deprecated: Use the new Worker Deployment API
Deployment = internal.Deployment
// DeploymentTaskQueueInfo describes properties of the Task Queues involved
// in a deployment.
//
// Deprecated: Use [WorkerDeploymentTaskQueueInfo]
DeploymentTaskQueueInfo = internal.DeploymentTaskQueueInfo
// DeploymentInfo holds information associated with
// workers in this deployment.
// Workers can poll multiple task queues in a single deployment,
// which are listed in this message.
//
// Deprecated: Use [WorkerDeploymentInfo]
DeploymentInfo = internal.DeploymentInfo
// DeploymentListEntry is a subset of fields from DeploymentInfo.
//
// Deprecated: Use [WorkerDeploymentListEntry]
DeploymentListEntry = internal.DeploymentListEntry
// DeploymentListIterator is an iterator for deployments.
//
// Deprecated: Use [WorkerDeploymentListIterator]
DeploymentListIterator = internal.DeploymentListIterator
// DeploymentListOptions are the parameters for configuring listing deployments.
//
// Deprecated: Use [WorkerDeploymentListOptions]
DeploymentListOptions = internal.DeploymentListOptions
// DeploymentReachabilityInfo extends DeploymentInfo with reachability information.
//
// Deprecated: Use [WorkerDeploymentVersionDrainageInfo]
DeploymentReachabilityInfo = internal.DeploymentReachabilityInfo
// DeploymentMetadataUpdate modifies user-defined metadata entries that describe
// a deployment.
//
// Deprecated: Use [WorkerDeploymentMetadataUpdate]
DeploymentMetadataUpdate = internal.DeploymentMetadataUpdate
// DeploymentDescribeOptions provides options for [DeploymentClient.Describe].
//
// Deprecated: Use [WorkerDeploymentDescribeOptions]
DeploymentDescribeOptions = internal.DeploymentDescribeOptions
// DeploymentDescription is the response type for [DeploymentClient.Describe].
//
// Deprecated: Use [WorkerDeploymentDescribeResponse]
DeploymentDescription = internal.DeploymentDescription
// DeploymentGetReachabilityOptions provides options for [DeploymentClient.GetReachability].
//
// Deprecated: Use [WorkerDeploymentDescribeResponse]
DeploymentGetReachabilityOptions = internal.DeploymentGetReachabilityOptions
// DeploymentGetCurrentOptions provides options for [DeploymentClient.GetCurrent].
//
// Deprecated: Use [WorkerDeploymentDescribeOptions]
DeploymentGetCurrentOptions = internal.DeploymentGetCurrentOptions
// DeploymentGetCurrentResponse is the response type for [DeploymentClient.GetCurrent].
//
// Deprecated: Use [WorkerDeploymentDescribeResponse]
DeploymentGetCurrentResponse = internal.DeploymentGetCurrentResponse
// DeploymentSetCurrentOptions provides options for [DeploymentClient.SetCurrent].
//
// Deprecated: Use [WorkerDeploymentSetCurrentVersionOptions]
DeploymentSetCurrentOptions = internal.DeploymentSetCurrentOptions
// DeploymentSetCurrentResponse is the response type for [DeploymentClient.SetCurrent].
//
// Deprecated: Use [WorkerDeploymentSetCurrentVersionResponse]
DeploymentSetCurrentResponse = internal.DeploymentSetCurrentResponse
// DeploymentClient is the server interface to manage deployments.
//
// Deprecated: Use [WorkerDeploymentClient]
DeploymentClient = internal.DeploymentClient
// UpdateWorkflowExecutionOptionsRequest is a request for [client.Client.UpdateWorkflowExecutionOptions].
//
// NOTE: Experimental
UpdateWorkflowExecutionOptionsRequest = internal.UpdateWorkflowExecutionOptionsRequest
// WorkflowExecutionOptions contains a set of properties of an existing workflow
// that can be overriden using [client.Client.UpdateWorkflowExecutionOptions].
//
// NOTE: Experimental
WorkflowExecutionOptions = internal.WorkflowExecutionOptions
// WorkflowExecutionOptionsChanges describes changes to [WorkflowExecutionOptions]
// in the [client.Client.UpdateWorkflowExecutionOptions] API.
//
// NOTE: Experimental
WorkflowExecutionOptionsChanges = internal.WorkflowExecutionOptionsChanges
// VersioningOverrideChange sets or removes a versioning override when used with
// [WorkflowExecutionOptionsChanges].
//
// NOTE: Experimental
VersioningOverrideChange = internal.VersioningOverrideChange
// VersioningOverride is a property in [WorkflowExecutionOptions] that changes the versioning
// configuration of a specific workflow execution.
//
// If set, it takes precedence over the Versioning Behavior provided with workflow type
// registration, or default worker options.
//
// NOTE: Experimental
VersioningOverride = internal.VersioningOverride
// PinnedVersioningOverride means the workflow will be pinned to a specific deployment version.
//
// NOTE: Experimental
PinnedVersioningOverride = internal.PinnedVersioningOverride
// AutoUpgradeVersioningOverride means the workflow will auto-upgrade to the current deployment
// version on the next workflow task.
//
// NOTE: Experimental
AutoUpgradeVersioningOverride = internal.AutoUpgradeVersioningOverride
// WorkflowUpdateHandle represents a running or completed workflow
// execution update and gives the holder access to the outcome of the same.
WorkflowUpdateHandle = internal.WorkflowUpdateHandle
// GetWorkflowUpdateHandleOptions encapsulates the parameters needed to unambiguously
// refer to a Workflow Update
GetWorkflowUpdateHandleOptions = internal.GetWorkflowUpdateHandleOptions
// UpdateWorkerBuildIdCompatibilityOptions is the input to Client.UpdateWorkerBuildIdCompatibility.
//
// Deprecated: Use [UpdateWorkerVersioningRulesOptions] with the new worker versioning api.
UpdateWorkerBuildIdCompatibilityOptions = internal.UpdateWorkerBuildIdCompatibilityOptions
// GetWorkerBuildIdCompatibilityOptions is the input to Client.GetWorkerBuildIdCompatibility.
//
// Deprecated: Use [GetWorkerVersioningOptions] with the new worker versioning api.
GetWorkerBuildIdCompatibilityOptions = internal.GetWorkerBuildIdCompatibilityOptions
// WorkerBuildIDVersionSets is the response for Client.GetWorkerBuildIdCompatibility.
//
// Deprecated: Replaced by the new worker versioning api.
WorkerBuildIDVersionSets = internal.WorkerBuildIDVersionSets
// BuildIDOpAddNewIDInNewDefaultSet is an operation for UpdateWorkerBuildIdCompatibilityOptions
// to add a new BuildID in a new default set.
//
// Deprecated: Replaced by the new worker versioning api.
BuildIDOpAddNewIDInNewDefaultSet = internal.BuildIDOpAddNewIDInNewDefaultSet
// BuildIDOpAddNewCompatibleVersion is an operation for UpdateWorkerBuildIdCompatibilityOptions
// to add a new BuildID to an existing compatible set.
//
// Deprecated: Replaced by the new worker versioning api.
BuildIDOpAddNewCompatibleVersion = internal.BuildIDOpAddNewCompatibleVersion
// BuildIDOpPromoteSet is an operation for UpdateWorkerBuildIdCompatibilityOptions to promote a
// set to be the default set by targeting an existing BuildID.
//
// Deprecated: Replaced by the new worker versioning api.
BuildIDOpPromoteSet = internal.BuildIDOpPromoteSet
// BuildIDOpPromoteIDWithinSet is an operation for UpdateWorkerBuildIdCompatibilityOptions to
// promote a BuildID within a set to be the default.
//
// Deprecated: Replaced by the new worker versioning api.
BuildIDOpPromoteIDWithinSet = internal.BuildIDOpPromoteIDWithinSet
// GetWorkerTaskReachabilityOptions is the input to Client.GetWorkerTaskReachability.
//
// Deprecated: Use [DescribeTaskQueueEnhancedOptions] with the new worker versioning api.
GetWorkerTaskReachabilityOptions = internal.GetWorkerTaskReachabilityOptions
// WorkerTaskReachability is the response for Client.GetWorkerTaskReachability.
//
// Deprecated: Replaced by the new worker versioning api.
WorkerTaskReachability = internal.WorkerTaskReachability
// BuildIDReachability describes the reachability of a buildID
//
// Deprecated: Replaced by the new worker versioning api.
BuildIDReachability = internal.BuildIDReachability
// TaskQueueReachability Describes how the Build ID may be reachable from the task queue.
//
// Deprecated: Replaced by the new worker versioning api.
TaskQueueReachability = internal.TaskQueueReachability
// DescribeTaskQueueEnhancedOptions is the input to [client.Client.DescribeTaskQueueEnhanced].
DescribeTaskQueueEnhancedOptions = internal.DescribeTaskQueueEnhancedOptions
// TaskQueueVersionSelection is a task queue filter based on versioning.
// It is an optional component of [DescribeTaskQueueEnhancedOptions].
// WARNING: Worker versioning is currently experimental.
TaskQueueVersionSelection = internal.TaskQueueVersionSelection
// TaskQueueDescription is the response to [client.Client.DescribeTaskQueueEnhanced].
TaskQueueDescription = internal.TaskQueueDescription
// TaskQueueVersionInfo includes task queue information per Build ID.
// It is part of [TaskQueueDescription].
//
// Deprecated: Use [TaskQueueVersioningInfo]
TaskQueueVersionInfo = internal.TaskQueueVersionInfo
// TaskQueueVersioningInfo provides worker deployment configuration for this
// task queue.
// It is part of [Client.TaskQueueDescription].
//
// NOTE: Experimental
TaskQueueVersioningInfo = internal.TaskQueueVersioningInfo
// TaskQueueTypeInfo specifies task queue information per task type and Build ID.
// It is included in [TaskQueueVersionInfo].
TaskQueueTypeInfo = internal.TaskQueueTypeInfo
// TaskQueuePollerInfo provides information about a worker/client polling a task queue.
// It is used by [TaskQueueTypeInfo].
TaskQueuePollerInfo = internal.TaskQueuePollerInfo
// TaskQueueStats contains statistics about task queue backlog and activity.
//
// For workflow task queue type, this result is partial because tasks sent to sticky queues are not included. Read
// comments above each metric to understand the impact of sticky queue exclusion on that metric accuracy.
TaskQueueStats = internal.TaskQueueStats
// WorkerVersionCapabilities includes a worker's build identifier
// and whether it is choosing to use the versioning feature.
// It is an optional component of [TaskQueuePollerInfo].
// WARNING: Worker versioning is currently experimental.
WorkerVersionCapabilities = internal.WorkerVersionCapabilities
// UpdateWorkerVersioningRulesOptions is the input to [client.Client.UpdateWorkerVersioningRules].
//
// Deprecated: Build-id based versioning is deprecated in favor of worker deployment based versioning and will be removed soon.
//
// WARNING: Worker versioning is currently experimental.
UpdateWorkerVersioningRulesOptions = internal.UpdateWorkerVersioningRulesOptions //lint:ignore SA1019 transitioning to Worker Deployments
// VersioningConflictToken is a conflict token to serialize calls to [client.Client.UpdateWorkerVersioningRules].
// An update with an old token fails with `serviceerror.FailedPrecondition`.
// The current token can be obtained with [client.Client.GetWorkerVersioningRules],
// or returned by a successful [client.Client.UpdateWorkerVersioningRules].
//
// Deprecated: Build-id based versioning is deprecated in favor of worker deployment based versioning and will be removed soon.
//
// WARNING: Worker versioning is currently experimental.
VersioningConflictToken = internal.VersioningConflictToken //lint:ignore SA1019 transitioning to Worker Deployments
// VersioningRampByPercentage is a VersionRamp that sends a proportion of the traffic
// to the target Build ID.
//
// Deprecated: Build-id based versioning is deprecated in favor of worker deployment based versioning and will be removed soon.
//
// WARNING: Worker versioning is currently experimental.
VersioningRampByPercentage = internal.VersioningRampByPercentage //lint:ignore SA1019 transitioning to Worker Deployments
// VersioningAssignmentRule is a BuildID assigment rule for a task queue.
// Assignment rules only affect new workflows.
//
// Deprecated: Build-id based versioning is deprecated in favor of worker deployment based versioning and will be removed soon.
//
// WARNING: Worker versioning is currently experimental.
VersioningAssignmentRule = internal.VersioningAssignmentRule //lint:ignore SA1019 transitioning to Worker Deployments
// VersioningAssignmentRuleWithTimestamp contains an assignment rule annotated
// by the server with its creation time.
//
// Deprecated: Build-id based versioning is deprecated in favor of worker deployment based versioning and will be removed soon.
//
// WARNING: Worker versioning is currently experimental.
VersioningAssignmentRuleWithTimestamp = internal.VersioningAssignmentRuleWithTimestamp //lint:ignore SA1019 transitioning to Worker Deployments
// VersioningRedirectRule is a BuildID redirect rule for a task queue.
// It changes the behavior of currently running workflows and new ones.
//
// Deprecated: Build-id based versioning is deprecated in favor of worker deployment based versioning and will be removed soon.
//
// WARNING: Worker versioning is currently experimental.
VersioningRedirectRule = internal.VersioningRedirectRule //lint:ignore SA1019 transitioning to Worker Deployments
// VersioningRedirectRuleWithTimestamp contains a redirect rule annotated
// by the server with its creation time.
//
// Deprecated: Build-id based versioning is deprecated in favor of worker deployment based versioning and will be removed soon.
//
// WARNING: Worker versioning is currently experimental.
VersioningRedirectRuleWithTimestamp = internal.VersioningRedirectRuleWithTimestamp //lint:ignore SA1019 transitioning to Worker Deployments
// VersioningOperationInsertAssignmentRule is an operation for UpdateWorkerVersioningRulesOptions
// that inserts the rule to the list of assignment rules for this Task Queue.
// The rules are evaluated in order, starting from index 0. The first
// applicable rule will be applied and the rest will be ignored.
// By default, the new rule is inserted at the beginning of the list
// (index 0). If the given index is too larger the rule will be
// inserted at the end of the list.
//
// Deprecated: Build-id based versioning is deprecated in favor of worker deployment based versioning and will be removed soon.
//
// WARNING: Worker versioning is currently experimental.
VersioningOperationInsertAssignmentRule = internal.VersioningOperationInsertAssignmentRule //lint:ignore SA1019 transitioning to Worker Deployments
// VersioningOperationReplaceAssignmentRule is an operation for UpdateWorkerVersioningRulesOptions
// that replaces the assignment rule at a given index. By default presence of one
// unconditional rule, i.e., no hint filter or ramp, is enforced, otherwise
// the delete operation will be rejected. Set `force` to true to
// bypass this validation.
//
// Deprecated: Build-id based versioning is deprecated in favor of worker deployment based versioning and will be removed soon.
//
// WARNING: Worker versioning is currently experimental.
VersioningOperationReplaceAssignmentRule = internal.VersioningOperationReplaceAssignmentRule //lint:ignore SA1019 transitioning to Worker Deployments
// VersioningOperationDeleteAssignmentRule is an operation for UpdateWorkerVersioningRulesOptions
// that deletes the assignment rule at a given index. By default presence of one
// unconditional rule, i.e., no hint filter or ramp, is enforced, otherwise
// the delete operation will be rejected. Set `force` to true to
// bypass this validation.
//
// Deprecated: Build-id based versioning is deprecated in favor of worker deployment based versioning and will be removed soon.
//
// WARNING: Worker versioning is currently experimental.
VersioningOperationDeleteAssignmentRule = internal.VersioningOperationDeleteAssignmentRule //lint:ignore SA1019 transitioning to Worker Deployments
// VersioningOperationAddRedirectRule is an operation for UpdateWorkerVersioningRulesOptions
// that adds the rule to the list of redirect rules for this Task Queue. There
// can be at most one redirect rule for each distinct Source BuildID.
//
// Deprecated: Build-id based versioning is deprecated in favor of worker deployment based versioning and will be removed soon.
//
// WARNING: Worker versioning is currently experimental.
VersioningOperationAddRedirectRule = internal.VersioningOperationAddRedirectRule //lint:ignore SA1019 transitioning to Worker Deployments
// VersioningOperationReplaceRedirectRule is an operation for UpdateWorkerVersioningRulesOptions
// that replaces the routing rule with the given source BuildID.
//
// Deprecated: Build-id based versioning is deprecated in favor of worker deployment based versioning and will be removed soon.
//
// WARNING: Worker versioning is currently experimental.
VersioningOperationReplaceRedirectRule = internal.VersioningOperationReplaceRedirectRule //lint:ignore SA1019 transitioning to Worker Deployments
// VersioningOperationDeleteRedirectRule is an operation for UpdateWorkerVersioningRulesOptions
// that deletes the routing rule with the given source Build ID.
//
// Deprecated: Build-id based versioning is deprecated in favor of worker deployment based versioning and will be removed soon.
//
// WARNING: Worker versioning is currently experimental.
VersioningOperationDeleteRedirectRule = internal.VersioningOperationDeleteRedirectRule //lint:ignore SA1019 transitioning to Worker Deployments
// VersioningOperationCommitBuildID is an operation for UpdateWorkerVersioningRulesOptions
// that completes the rollout of a BuildID and cleanup unnecessary rules possibly
// created during a gradual rollout. Specifically, this command will make the following changes
// atomically:
// 1. Adds an assignment rule (with full ramp) for the target Build ID at
// the end of the list.
// 2. Removes all previously added assignment rules to the given target
// Build ID (if any).
// 3. Removes any fully-ramped assignment rule for other Build IDs.
//
// To prevent committing invalid Build IDs, we reject the request if no
// pollers have been seen recently for this Build ID. Use the `force`
// option to disable this validation.
//
// Deprecated: Build-id based versioning is deprecated in favor of worker deployment based versioning and will be removed soon.
//
// WARNING: Worker versioning is currently experimental.
VersioningOperationCommitBuildID = internal.VersioningOperationCommitBuildID //lint:ignore SA1019 transitioning to Worker Deployments
// GetWorkerVersioningOptions is the input to [client.Client.GetWorkerVersioningRules].
//
// Deprecated: Build-id based versioning is deprecated in favor of worker deployment based versioning and will be removed soon.
//
// WARNING: Worker versioning is currently experimental.
GetWorkerVersioningOptions = internal.GetWorkerVersioningOptions //lint:ignore SA1019 transitioning to Worker Deployments
// WorkerVersioningRules is the response for [client.Client.GetWorkerVersioningRules].
//
// Deprecated: Build-id based versioning is deprecated in favor of worker deployment based versioning and will be removed soon.
//
// WARNING: Worker versioning is currently experimental.
WorkerVersioningRules = internal.WorkerVersioningRules //lint:ignore SA1019 transitioning to Worker Deployments
// WorkflowUpdateServiceTimeoutOrCanceledError is an error that occurs when an update call times out or is cancelled.
//
// Note, this is not related to any general concept of timing out or cancelling a running update, this is only related to the client call itself.
WorkflowUpdateServiceTimeoutOrCanceledError = internal.WorkflowUpdateServiceTimeoutOrCanceledError
// StartActivityOptions contains configuration parameters for starting an activity execution from the client.
// ID and TaskQueue are required. At least one of ScheduleToCloseTimeout or StartToCloseTimeout is required.
// Other parameters are optional.
//
// NOTE: Experimental
StartActivityOptions = internal.ClientStartActivityOptions
// GetActivityHandleOptions contains input for GetActivityHandle call.
// ActivityID and RunID are required.
//
// NOTE: Experimental
GetActivityHandleOptions = internal.ClientGetActivityHandleOptions
// ListActivitiesOptions contains input for ListActivities call.
//
// NOTE: Experimental
ListActivitiesOptions = internal.ClientListActivitiesOptions
// ListActivitiesResult contains the result of the ListActivities call.
//
// NOTE: Experimental
ListActivitiesResult = internal.ClientListActivitiesResult
// CountActivitiesOptions contains input for CountActivities call.
//
// NOTE: Experimental
CountActivitiesOptions = internal.ClientCountActivitiesOptions
// CountActivitiesResult contains the result of the CountActivities call.
//
// NOTE: Experimental
CountActivitiesResult = internal.ClientCountActivitiesResult
// CountActivitiesAggregationGroup contains groups of activities if
// CountActivityExecutions is grouped by a field.
// The list might not be complete, and the counts of each group is approximate.
//
// NOTE: Experimental
CountActivitiesAggregationGroup = internal.ClientCountActivitiesAggregationGroup
// ActivityHandle represents a running or completed standalone activity execution.
// It can be used to get the result, describe, cancel, or terminate the activity.
//
// NOTE: Experimental
ActivityHandle = internal.ClientActivityHandle
// ActivityExecutionInfo contains information about an activity execution.
// This is returned by ListActivities and embedded in ClientActivityExecutionDescription.
//
// NOTE: Experimental
ActivityExecutionInfo = internal.ClientActivityExecutionInfo
// ActivityExecutionDescription contains detailed information about an activity execution.
// This is returned by ClientActivityHandle.Describe.
//
// NOTE: Experimental
ActivityExecutionDescription = internal.ClientActivityExecutionDescription
// DescribeActivityOptions contains options for ClientActivityHandle.Describe call.
// For future compatibility, currently unused.
//
// NOTE: Experimental
DescribeActivityOptions = internal.ClientDescribeActivityOptions
// CancelActivityOptions contains options for ClientActivityHandle.Cancel call.
//
// NOTE: Experimental
CancelActivityOptions = internal.ClientCancelActivityOptions
// TerminateActivityOptions contains options for ClientActivityHandle.Terminate call.
//
// NOTE: Experimental
TerminateActivityOptions = internal.ClientTerminateActivityOptions
// StartNexusOperationOptions contains configuration parameters for starting a Nexus operation execution.
//
// NOTE: Experimental
StartNexusOperationOptions = internal.ClientStartNexusOperationOptions
// NexusClientOptions contains options for creating a NexusClient.
//
// NOTE: Experimental
NexusClientOptions = internal.ClientNexusClientOptions
// NexusClient is the client for starting Nexus operations bound to a specific endpoint and service.
// This is for standalone Nexus operations outside of workflow context.
// For Nexus operations within workflows, use workflow.NexusClient.