package temporal.api.enums.v1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

enum ActivityExecutionStatus

activity.proto:17

Status of a standalone activity. The status is updated once, when the activity is originally scheduled, and again when the activity reaches a terminal status. (-- api-linter: core::0216::synonyms=disabled aip.dev/not-precedent: Named consistently with WorkflowExecutionStatus. --)

Used in: activity.v1.ActivityExecutionInfo, activity.v1.ActivityExecutionListInfo

enum ActivityIdConflictPolicy

activity.proto:75

Defines what to do when trying to start an activity with the same ID as a *running* activity. Note that it is *never* valid to have two running instances of the same activity ID. See `ActivityIdReusePolicy` for handling activity ID duplication with a *closed* activity.

Used in: workflowservice.v1.StartActivityExecutionRequest

enum ActivityIdReusePolicy

activity.proto:59

Defines whether to allow re-using an activity ID from a previously *closed* activity. If the request is denied, the server returns an `ActivityExecutionAlreadyStarted` error. See `ActivityIdConflictPolicy` for handling ID duplication with a *running* activity.

Used in: workflowservice.v1.StartActivityExecutionRequest

enum ApplicationErrorCategory

common.proto:95

Used in: failure.v1.ApplicationFailureInfo

enum ArchivalState

namespace.proto:19

Used in: namespace.v1.NamespaceConfig, workflowservice.v1.RegisterNamespaceRequest

enum BatchOperationState

batch_operation.proto:25

Used in: batch.v1.BatchOperationInfo, workflowservice.v1.DescribeBatchOperationResponse

enum BatchOperationType

batch_operation.proto:12

Used in: workflowservice.v1.DescribeBatchOperationResponse

enum BuildIdTaskReachability

task_queue.proto:81

Specifies which category of tasks may reach a versioned worker of a certain Build ID. Task Reachability is eventually consistent; there may be a delay (up to few minutes) until it converges to the most accurate value but it is designed in a way to take the more conservative side until it converges. For example REACHABLE is more conservative than CLOSED_WORKFLOWS_ONLY. 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.

Used in: taskqueue.v1.TaskQueueVersionInfo

enum CallbackState

common.proto:37

State of a callback.

Used in: callback.v1.CallbackInfo, workflow.v1.CallbackInfo

enum CancelExternalWorkflowExecutionFailedCause

failed_cause.proto:94

Used in: history.v1.RequestCancelExternalWorkflowExecutionFailedEventAttributes

enum CommandType

command_type.proto:13

Whenever this list of command types is changed do change the function shouldBufferEvent in mutableStateBuilder.go to make sure to do the correct event ordering.

Used in: command.v1.Command

enum ContinueAsNewInitiator

workflow.proto:60

Used in: command.v1.ContinueAsNewWorkflowExecutionCommandAttributes, history.v1.WorkflowExecutionContinuedAsNewEventAttributes, history.v1.WorkflowExecutionStartedEventAttributes

enum ContinueAsNewVersioningBehavior

workflow.proto:178

Experimental. Defines the versioning behavior to be used by the first task of a new workflow run in a continue-as-new chain.

Used in: command.v1.ContinueAsNewWorkflowExecutionCommandAttributes, deployment.v1.InheritedAutoUpgradeInfo, history.v1.WorkflowExecutionContinuedAsNewEventAttributes, workflow.v1.WorkflowExecutionVersioningInfo

enum DeploymentReachability

deployment.proto:14

Specify the reachability level for a deployment so users can decide if it is time to decommission the deployment.

Used in: workflowservice.v1.GetDeploymentReachabilityResponse

enum DescribeTaskQueueMode

task_queue.proto:96

Used in: workflowservice.v1.DescribeTaskQueueRequest

enum EncodingType

common.proto:12

Used in: common.v1.DataBlob

enum EventType

event_type.proto:13

Whenever this list of events is changed do change the function shouldBufferEvent in mutableStateBuilder.go to make sure to do the correct event ordering

Used in: common.v1.Link.WorkflowEvent.EventReference, common.v1.Link.WorkflowEvent.RequestIdReference, history.v1.HistoryEvent, workflow.v1.RequestIdInfo

enum HistoryEventFilterType

workflow.proto:102

Used in: workflowservice.v1.GetWorkflowExecutionHistoryRequest

enum IndexedValueType

common.proto:18

Used in: operatorservice.v1.AddSearchAttributesRequest, operatorservice.v1.ListSearchAttributesResponse, workflowservice.v1.GetSearchAttributesResponse

enum NamespaceState

namespace.proto:12

Used in: errordetails.v1.NamespaceInvalidStateFailure, namespace.v1.NamespaceInfo, namespace.v1.UpdateNamespaceInfo

enum NexusHandlerErrorRetryBehavior

nexus.proto:15

NexusHandlerErrorRetryBehavior allows nexus handlers to explicity set the retry behavior of a HandlerError. If not specified, retry behavior is determined from the error type. For example internal errors are not retryable by default unless specified otherwise.

Used in: failure.v1.NexusHandlerFailureInfo, nexus.v1.HandlerError

enum NexusOperationCancellationState

common.proto:69

State of a Nexus operation cancellation.

Used in: nexus.v1.NexusOperationExecutionCancellationInfo, workflow.v1.NexusOperationCancellationInfo

enum NexusOperationExecutionStatus

nexus.proto:28

Status of a standalone Nexus operation execution. The status is updated once, when the operation is originally scheduled, and again when the operation reaches a terminal status. (-- api-linter: core::0216::synonyms=disabled aip.dev/not-precedent: Named consistently with WorkflowExecutionStatus. --)

Used in: nexus.v1.NexusOperationExecutionInfo, nexus.v1.NexusOperationExecutionListInfo

enum NexusOperationIdConflictPolicy

nexus.proto:76

Defines what to do when trying to start a Nexus operation with the same ID as a *running* operation. Note that it is *never* valid to have two running instances of the same operation ID. See `NexusOperationIdReusePolicy` for handling operation ID duplication with a *closed* operation.

Used in: workflowservice.v1.StartNexusOperationExecutionRequest

enum NexusOperationIdReusePolicy

nexus.proto:60

Defines whether to allow re-using an operation ID from a previously *closed* Nexus operation. If the request is denied, the server returns a `NexusOperationAlreadyStarted` error. See `NexusOperationIdConflictPolicy` for handling ID duplication with a *running* operation.

Used in: workflowservice.v1.StartNexusOperationExecutionRequest

enum NexusOperationWaitStage

nexus.proto:48

Stage that can be specified when waiting on a nexus operation.

Used in: workflowservice.v1.PollNexusOperationExecutionRequest, workflowservice.v1.PollNexusOperationExecutionResponse

enum ParentClosePolicy

workflow.proto:50

Defines how child workflows will react to their parent completing

Used in: command.v1.StartChildWorkflowExecutionCommandAttributes, history.v1.StartChildWorkflowExecutionInitiatedEventAttributes, workflow.v1.PendingChildExecutionInfo

enum PendingActivityState

workflow.proto:85

Used in: activity.v1.ActivityExecutionInfo, workflow.v1.PendingActivityInfo

enum PendingNexusOperationState

common.proto:55

State of a pending Nexus operation.

Used in: nexus.v1.NexusOperationExecutionInfo, workflow.v1.PendingNexusOperationInfo

enum PendingWorkflowTaskState

workflow.proto:96

Used in: workflow.v1.PendingWorkflowTaskInfo

enum QueryRejectCondition

query.proto:18

Used in: workflowservice.v1.QueryWorkflowRequest

enum QueryResultType

query.proto:12

Used in: query.v1.WorkflowQueryResult, workflowservice.v1.RespondQueryTaskCompletedRequest

enum RateLimitSource

task_queue.proto:104

Source for the effective rate limit.

Used in: workflowservice.v1.DescribeTaskQueueResponse.EffectiveRateLimit

enum ReplicationState

namespace.proto:25

Used in: replication.v1.NamespaceReplicationConfig

enum ResetReapplyExcludeType

reset.proto:13

Event types to exclude when reapplying events beyond the reset point.

Used in: common.v1.ResetOptions, workflowservice.v1.ResetWorkflowExecutionRequest

enum ResetReapplyType

reset.proto:28

Deprecated: applications should use ResetReapplyExcludeType to specify exclusions from this set, and new event types should be added to ResetReapplyExcludeType instead of here.

Used in: batch.v1.BatchOperationReset, common.v1.ResetOptions, workflowservice.v1.ResetWorkflowExecutionRequest

enum ResetType

reset.proto:39

Deprecated, see temporal.api.common.v1.ResetOptions.

Used in: batch.v1.BatchOperationReset

enum ResourceExhaustedCause

failed_cause.proto:108

Used in: errordetails.v1.ResourceExhaustedFailure

enum ResourceExhaustedScope

failed_cause.proto:132

Used in: errordetails.v1.ResourceExhaustedFailure

enum RetryState

workflow.proto:108

Used in: failure.v1.ActivityFailureInfo, failure.v1.ChildWorkflowExecutionFailureInfo, history.v1.ActivityTaskFailedEventAttributes, history.v1.ActivityTaskTimedOutEventAttributes, history.v1.ChildWorkflowExecutionFailedEventAttributes, history.v1.ChildWorkflowExecutionTimedOutEventAttributes, history.v1.WorkflowExecutionFailedEventAttributes, history.v1.WorkflowExecutionTimedOutEventAttributes

enum RoutingConfigUpdateState

task_queue.proto:116

Indicates whether a change to the Routing Config has been propagated to all relevant Task Queues and their partitions.

Used in: deployment.v1.WorkerDeploymentInfo

enum ScheduleOverlapPolicy

schedule.proto:15

ScheduleOverlapPolicy controls what happens when a workflow would be started by a schedule, and is already running.

Used in: schedule.v1.BackfillRequest, schedule.v1.SchedulePolicies, schedule.v1.TriggerImmediatelyRequest

enum Severity

common.proto:29

Used in: version.v1.Alert

enum SignalExternalWorkflowExecutionFailedCause

failed_cause.proto:100

Used in: history.v1.SignalExternalWorkflowExecutionFailedEventAttributes

enum StartChildWorkflowExecutionFailedCause

failed_cause.proto:88

Used in: history.v1.StartChildWorkflowExecutionFailedEventAttributes

enum SuggestContinueAsNewReason

workflow.proto:209

SuggestContinueAsNewReason specifies why SuggestContinueAsNew is true.

Used in: history.v1.WorkflowTaskStartedEventAttributes

enum TaskQueueKind

task_queue.proto:12

Used in: taskqueue.v1.TaskQueue

enum TaskQueueType

task_queue.proto:41

Used in: compute.v1.ComputeConfigScalingGroup, compute.v1.ComputeConfigScalingGroupSummary, deployment.v1.DeploymentInfo.TaskQueueInfo, deployment.v1.WorkerDeploymentVersionInfo.VersionTaskQueueInfo, workflowservice.v1.DescribeTaskQueueRequest, workflowservice.v1.DescribeWorkerDeploymentVersionResponse.VersionTaskQueue, workflowservice.v1.ShutdownWorkerRequest, workflowservice.v1.UpdateTaskQueueConfigRequest

enum TaskReachability

task_queue.proto:54

Specifies which category of tasks may reach a worker on a versioned task queue. Used both in a reachability query and its response. Deprecated.

Used in: taskqueue.v1.TaskQueueReachability, workflowservice.v1.GetWorkerTaskReachabilityRequest

enum TimeoutType

workflow.proto:119

Used in: failure.v1.TimeoutFailureInfo, history.v1.WorkflowTaskTimedOutEventAttributes

enum UpdateAdmittedEventOrigin

update.proto:39

Records why a WorkflowExecutionUpdateAdmittedEvent was written to history. Note that not all admitted Updates result in this event.

Used in: history.v1.WorkflowExecutionUpdateAdmittedEventAttributes

enum UpdateWorkflowExecutionLifecycleStage

update.proto:21

UpdateWorkflowExecutionLifecycleStage is specified by clients invoking Workflow Updates and used to indicate to the server how long the client wishes to wait for a return value from the API. If any value other than UPDATE_WORKFLOW_EXECUTION_LIFECYCLE_STAGE_COMPLETED is sent by the client then the API will complete before the Update is finished and will return a handle to the running Update so that it can later be polled for completion. If specified stage wasn't reached before server timeout, server returns actual stage reached.

Used in: update.v1.WaitPolicy, workflowservice.v1.PollWorkflowExecutionUpdateResponse, workflowservice.v1.UpdateWorkflowExecutionResponse

enum VersionDrainageStatus

deployment.proto:33

(-- api-linter: core::0216::synonyms=disabled aip.dev/not-precedent: Call this status because it is . --) Specify the drainage status for a Worker Deployment Version so users can decide whether they can safely decommission the version.

Used in: deployment.v1.VersionDrainageInfo, deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary

enum VersioningBehavior

workflow.proto:131

Versioning Behavior specifies if and how a workflow execution moves between Worker Deployment Versions. The Versioning Behavior of a workflow execution is typically specified by the worker who completes the first task of the execution, but is also overridable manually for new and existing workflows (see VersioningOverride).

Used in: history.v1.WorkflowTaskCompletedEventAttributes, workflow.v1.VersioningOverride, workflow.v1.WorkflowExecutionVersioningInfo, workflowservice.v1.RespondWorkflowTaskCompletedRequest

enum WorkerDeploymentVersionStatus

deployment.proto:77

(-- api-linter: core::0216::synonyms=disabled aip.dev/not-precedent: Call this status because it is . --) Specify the status of a Worker Deployment Version.

Used in: deployment.v1.WorkerDeploymentInfo.WorkerDeploymentVersionSummary, deployment.v1.WorkerDeploymentVersionInfo

enum WorkerStatus

common.proto:103

(-- api-linter: core::0216::synonyms=disabled aip.dev/not-precedent: It seems we have both state and status, and status is a better fit for workers. --)

Used in: worker.v1.WorkerHeartbeat, worker.v1.WorkerListInfo

enum WorkerVersioningMode

deployment.proto:51

Versioning Mode of a worker is set by the app developer in the worker code, and specifies the behavior of the system in the following related aspects: - Whether or not Temporal Server considers this worker's version (Build ID) when dispatching tasks to it. - Whether or not the workflows processed by this worker are versioned using the worker's version.

Used in: deployment.v1.WorkerDeploymentOptions

enum WorkflowExecutionStatus

workflow.proto:72

(-- api-linter: core::0216::synonyms=disabled aip.dev/not-precedent: There is WorkflowExecutionState already in another package. --)

Used in: filter.v1.StatusFilter, query.v1.QueryRejected, schedule.v1.ScheduleActionResult, workflow.v1.WorkflowExecutionInfo, workflowservice.v1.StartWorkflowExecutionResponse

enum WorkflowIdConflictPolicy

workflow.proto:39

Defines what to do when trying to start a workflow with the same workflow id as a *running* workflow. Note that it is *never* valid to have two actively running instances of the same workflow id. See `WorkflowIdReusePolicy` for handling workflow id duplication with a *closed* workflow.

Used in: workflowservice.v1.SignalWithStartWorkflowExecutionRequest, workflowservice.v1.StartWorkflowExecutionRequest

enum WorkflowIdReusePolicy

workflow.proto:16

Defines whether to allow re-using a workflow id from a previously *closed* workflow. If the request is denied, the server returns a `WorkflowExecutionAlreadyStartedFailure` error. See `WorkflowIdConflictPolicy` for handling workflow id duplication with a *running* workflow.

Used in: command.v1.StartChildWorkflowExecutionCommandAttributes, history.v1.StartChildWorkflowExecutionInitiatedEventAttributes, workflow.v1.NewWorkflowExecutionInfo, workflowservice.v1.SignalWithStartWorkflowExecutionRequest, workflowservice.v1.StartWorkflowExecutionRequest

enum WorkflowRuleActionScope

common.proto:86

enum WorkflowTaskFailedCause

failed_cause.proto:14

Workflow tasks can fail for various reasons. Note that some of these reasons can only originate from the server, and some of them can only originate from the SDK/worker.

Used in: history.v1.WorkflowTaskFailedEventAttributes, workflowservice.v1.RespondQueryTaskCompletedRequest, workflowservice.v1.RespondWorkflowTaskFailedRequest