Documentation ¶
Index ¶
- Variables
- type ContinueAsNewInitiator
- func (ContinueAsNewInitiator) Descriptor() protoreflect.EnumDescriptor
- func (x ContinueAsNewInitiator) Enum() *ContinueAsNewInitiator
- func (ContinueAsNewInitiator) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContinueAsNewInitiator) Number() protoreflect.EnumNumber
- func (x ContinueAsNewInitiator) String() string
- func (ContinueAsNewInitiator) Type() protoreflect.EnumType
- type HistoryEventFilterType
- func (HistoryEventFilterType) Descriptor() protoreflect.EnumDescriptor
- func (x HistoryEventFilterType) Enum() *HistoryEventFilterType
- func (HistoryEventFilterType) EnumDescriptor() ([]byte, []int)deprecated
- func (x HistoryEventFilterType) Number() protoreflect.EnumNumber
- func (x HistoryEventFilterType) String() string
- func (HistoryEventFilterType) Type() protoreflect.EnumType
- type ParentClosePolicy
- func (ParentClosePolicy) Descriptor() protoreflect.EnumDescriptor
- func (x ParentClosePolicy) Enum() *ParentClosePolicy
- func (ParentClosePolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x ParentClosePolicy) Number() protoreflect.EnumNumber
- func (x ParentClosePolicy) String() string
- func (ParentClosePolicy) Type() protoreflect.EnumType
- type PendingActivityState
- func (PendingActivityState) Descriptor() protoreflect.EnumDescriptor
- func (x PendingActivityState) Enum() *PendingActivityState
- func (PendingActivityState) EnumDescriptor() ([]byte, []int)deprecated
- func (x PendingActivityState) Number() protoreflect.EnumNumber
- func (x PendingActivityState) String() string
- func (PendingActivityState) Type() protoreflect.EnumType
- type PendingWorkflowTaskState
- func (PendingWorkflowTaskState) Descriptor() protoreflect.EnumDescriptor
- func (x PendingWorkflowTaskState) Enum() *PendingWorkflowTaskState
- func (PendingWorkflowTaskState) EnumDescriptor() ([]byte, []int)deprecated
- func (x PendingWorkflowTaskState) Number() protoreflect.EnumNumber
- func (x PendingWorkflowTaskState) String() string
- func (PendingWorkflowTaskState) Type() protoreflect.EnumType
- type RetryState
- type TimeoutType
- func (TimeoutType) Descriptor() protoreflect.EnumDescriptor
- func (x TimeoutType) Enum() *TimeoutType
- func (TimeoutType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TimeoutType) Number() protoreflect.EnumNumber
- func (x TimeoutType) String() string
- func (TimeoutType) Type() protoreflect.EnumType
- type WorkflowExecutionStatus
- func (WorkflowExecutionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x WorkflowExecutionStatus) Enum() *WorkflowExecutionStatus
- func (WorkflowExecutionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkflowExecutionStatus) Number() protoreflect.EnumNumber
- func (x WorkflowExecutionStatus) String() string
- func (WorkflowExecutionStatus) Type() protoreflect.EnumType
- type WorkflowIdReusePolicy
- func (WorkflowIdReusePolicy) Descriptor() protoreflect.EnumDescriptor
- func (x WorkflowIdReusePolicy) Enum() *WorkflowIdReusePolicy
- func (WorkflowIdReusePolicy) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkflowIdReusePolicy) Number() protoreflect.EnumNumber
- func (x WorkflowIdReusePolicy) String() string
- func (WorkflowIdReusePolicy) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( WorkflowIdReusePolicy_name = map[int32]string{ 0: "WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED", 1: "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE", 2: "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY", 3: "WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE", 4: "WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING", } WorkflowIdReusePolicy_value = map[string]int32{ "WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED": 0, "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE": 1, "WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY": 2, "WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE": 3, "WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING": 4, } )
Enum value maps for WorkflowIdReusePolicy.
var ( ParentClosePolicy_name = map[int32]string{ 0: "PARENT_CLOSE_POLICY_UNSPECIFIED", 1: "PARENT_CLOSE_POLICY_TERMINATE", 2: "PARENT_CLOSE_POLICY_ABANDON", 3: "PARENT_CLOSE_POLICY_REQUEST_CANCEL", } ParentClosePolicy_value = map[string]int32{ "PARENT_CLOSE_POLICY_UNSPECIFIED": 0, "PARENT_CLOSE_POLICY_TERMINATE": 1, "PARENT_CLOSE_POLICY_ABANDON": 2, "PARENT_CLOSE_POLICY_REQUEST_CANCEL": 3, } )
Enum value maps for ParentClosePolicy.
var ( ContinueAsNewInitiator_name = map[int32]string{ 0: "CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED", 1: "CONTINUE_AS_NEW_INITIATOR_WORKFLOW", 2: "CONTINUE_AS_NEW_INITIATOR_RETRY", 3: "CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE", } ContinueAsNewInitiator_value = map[string]int32{ "CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED": 0, "CONTINUE_AS_NEW_INITIATOR_WORKFLOW": 1, "CONTINUE_AS_NEW_INITIATOR_RETRY": 2, "CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE": 3, } )
Enum value maps for ContinueAsNewInitiator.
var ( WorkflowExecutionStatus_name = map[int32]string{ 0: "WORKFLOW_EXECUTION_STATUS_UNSPECIFIED", 1: "WORKFLOW_EXECUTION_STATUS_RUNNING", 2: "WORKFLOW_EXECUTION_STATUS_COMPLETED", 3: "WORKFLOW_EXECUTION_STATUS_FAILED", 4: "WORKFLOW_EXECUTION_STATUS_CANCELED", 5: "WORKFLOW_EXECUTION_STATUS_TERMINATED", 6: "WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW", 7: "WORKFLOW_EXECUTION_STATUS_TIMED_OUT", } WorkflowExecutionStatus_value = map[string]int32{ "WORKFLOW_EXECUTION_STATUS_UNSPECIFIED": 0, "WORKFLOW_EXECUTION_STATUS_RUNNING": 1, "WORKFLOW_EXECUTION_STATUS_COMPLETED": 2, "WORKFLOW_EXECUTION_STATUS_FAILED": 3, "WORKFLOW_EXECUTION_STATUS_CANCELED": 4, "WORKFLOW_EXECUTION_STATUS_TERMINATED": 5, "WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW": 6, "WORKFLOW_EXECUTION_STATUS_TIMED_OUT": 7, } )
Enum value maps for WorkflowExecutionStatus.
var ( PendingActivityState_name = map[int32]string{ 0: "PENDING_ACTIVITY_STATE_UNSPECIFIED", 1: "PENDING_ACTIVITY_STATE_SCHEDULED", 2: "PENDING_ACTIVITY_STATE_STARTED", 3: "PENDING_ACTIVITY_STATE_CANCEL_REQUESTED", } PendingActivityState_value = map[string]int32{ "PENDING_ACTIVITY_STATE_UNSPECIFIED": 0, "PENDING_ACTIVITY_STATE_SCHEDULED": 1, "PENDING_ACTIVITY_STATE_STARTED": 2, "PENDING_ACTIVITY_STATE_CANCEL_REQUESTED": 3, } )
Enum value maps for PendingActivityState.
var ( PendingWorkflowTaskState_name = map[int32]string{ 0: "PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED", 1: "PENDING_WORKFLOW_TASK_STATE_SCHEDULED", 2: "PENDING_WORKFLOW_TASK_STATE_STARTED", } PendingWorkflowTaskState_value = map[string]int32{ "PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED": 0, "PENDING_WORKFLOW_TASK_STATE_SCHEDULED": 1, "PENDING_WORKFLOW_TASK_STATE_STARTED": 2, } )
Enum value maps for PendingWorkflowTaskState.
var ( HistoryEventFilterType_name = map[int32]string{ 0: "HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED", 1: "HISTORY_EVENT_FILTER_TYPE_ALL_EVENT", 2: "HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT", } HistoryEventFilterType_value = map[string]int32{ "HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED": 0, "HISTORY_EVENT_FILTER_TYPE_ALL_EVENT": 1, "HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT": 2, } )
Enum value maps for HistoryEventFilterType.
var ( RetryState_name = map[int32]string{ 0: "RETRY_STATE_UNSPECIFIED", 1: "RETRY_STATE_IN_PROGRESS", 2: "RETRY_STATE_NON_RETRYABLE_FAILURE", 3: "RETRY_STATE_TIMEOUT", 4: "RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED", 5: "RETRY_STATE_RETRY_POLICY_NOT_SET", 6: "RETRY_STATE_INTERNAL_SERVER_ERROR", 7: "RETRY_STATE_CANCEL_REQUESTED", } RetryState_value = map[string]int32{ "RETRY_STATE_UNSPECIFIED": 0, "RETRY_STATE_IN_PROGRESS": 1, "RETRY_STATE_NON_RETRYABLE_FAILURE": 2, "RETRY_STATE_TIMEOUT": 3, "RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED": 4, "RETRY_STATE_RETRY_POLICY_NOT_SET": 5, "RETRY_STATE_INTERNAL_SERVER_ERROR": 6, "RETRY_STATE_CANCEL_REQUESTED": 7, } )
Enum value maps for RetryState.
var ( TimeoutType_name = map[int32]string{ 0: "TIMEOUT_TYPE_UNSPECIFIED", 1: "TIMEOUT_TYPE_START_TO_CLOSE", 2: "TIMEOUT_TYPE_SCHEDULE_TO_START", 3: "TIMEOUT_TYPE_SCHEDULE_TO_CLOSE", 4: "TIMEOUT_TYPE_HEARTBEAT", } TimeoutType_value = map[string]int32{ "TIMEOUT_TYPE_UNSPECIFIED": 0, "TIMEOUT_TYPE_START_TO_CLOSE": 1, "TIMEOUT_TYPE_SCHEDULE_TO_START": 2, "TIMEOUT_TYPE_SCHEDULE_TO_CLOSE": 3, "TIMEOUT_TYPE_HEARTBEAT": 4, } )
Enum value maps for TimeoutType.
var File_temporal_api_enums_v1_workflow_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ContinueAsNewInitiator ¶
type ContinueAsNewInitiator int32
const ( ContinueAsNewInitiator_CONTINUE_AS_NEW_INITIATOR_UNSPECIFIED ContinueAsNewInitiator = 0 // The workflow itself requested to continue as new ContinueAsNewInitiator_CONTINUE_AS_NEW_INITIATOR_WORKFLOW ContinueAsNewInitiator = 1 // The workflow continued as new because it is retrying ContinueAsNewInitiator_CONTINUE_AS_NEW_INITIATOR_RETRY ContinueAsNewInitiator = 2 // The workflow continued as new because cron has triggered a new execution ContinueAsNewInitiator_CONTINUE_AS_NEW_INITIATOR_CRON_SCHEDULE ContinueAsNewInitiator = 3 )
func (ContinueAsNewInitiator) Descriptor ¶
func (ContinueAsNewInitiator) Descriptor() protoreflect.EnumDescriptor
func (ContinueAsNewInitiator) Enum ¶
func (x ContinueAsNewInitiator) Enum() *ContinueAsNewInitiator
func (ContinueAsNewInitiator) EnumDescriptor
deprecated
func (ContinueAsNewInitiator) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContinueAsNewInitiator.Descriptor instead.
func (ContinueAsNewInitiator) Number ¶
func (x ContinueAsNewInitiator) Number() protoreflect.EnumNumber
func (ContinueAsNewInitiator) String ¶
func (x ContinueAsNewInitiator) String() string
func (ContinueAsNewInitiator) Type ¶
func (ContinueAsNewInitiator) Type() protoreflect.EnumType
type HistoryEventFilterType ¶
type HistoryEventFilterType int32
const ( HistoryEventFilterType_HISTORY_EVENT_FILTER_TYPE_UNSPECIFIED HistoryEventFilterType = 0 HistoryEventFilterType_HISTORY_EVENT_FILTER_TYPE_ALL_EVENT HistoryEventFilterType = 1 HistoryEventFilterType_HISTORY_EVENT_FILTER_TYPE_CLOSE_EVENT HistoryEventFilterType = 2 )
func (HistoryEventFilterType) Descriptor ¶
func (HistoryEventFilterType) Descriptor() protoreflect.EnumDescriptor
func (HistoryEventFilterType) Enum ¶
func (x HistoryEventFilterType) Enum() *HistoryEventFilterType
func (HistoryEventFilterType) EnumDescriptor
deprecated
func (HistoryEventFilterType) EnumDescriptor() ([]byte, []int)
Deprecated: Use HistoryEventFilterType.Descriptor instead.
func (HistoryEventFilterType) Number ¶
func (x HistoryEventFilterType) Number() protoreflect.EnumNumber
func (HistoryEventFilterType) String ¶
func (x HistoryEventFilterType) String() string
func (HistoryEventFilterType) Type ¶
func (HistoryEventFilterType) Type() protoreflect.EnumType
type ParentClosePolicy ¶
type ParentClosePolicy int32
Defines how child workflows will react to their parent completing
const ( ParentClosePolicy_PARENT_CLOSE_POLICY_UNSPECIFIED ParentClosePolicy = 0 // The child workflow will also terminate ParentClosePolicy_PARENT_CLOSE_POLICY_TERMINATE ParentClosePolicy = 1 // The child workflow will do nothing ParentClosePolicy_PARENT_CLOSE_POLICY_ABANDON ParentClosePolicy = 2 // Cancellation will be requested of the child workflow ParentClosePolicy_PARENT_CLOSE_POLICY_REQUEST_CANCEL ParentClosePolicy = 3 )
func (ParentClosePolicy) Descriptor ¶
func (ParentClosePolicy) Descriptor() protoreflect.EnumDescriptor
func (ParentClosePolicy) Enum ¶
func (x ParentClosePolicy) Enum() *ParentClosePolicy
func (ParentClosePolicy) EnumDescriptor
deprecated
func (ParentClosePolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use ParentClosePolicy.Descriptor instead.
func (ParentClosePolicy) Number ¶
func (x ParentClosePolicy) Number() protoreflect.EnumNumber
func (ParentClosePolicy) String ¶
func (x ParentClosePolicy) String() string
func (ParentClosePolicy) Type ¶
func (ParentClosePolicy) Type() protoreflect.EnumType
type PendingActivityState ¶
type PendingActivityState int32
const ( PendingActivityState_PENDING_ACTIVITY_STATE_UNSPECIFIED PendingActivityState = 0 PendingActivityState_PENDING_ACTIVITY_STATE_SCHEDULED PendingActivityState = 1 PendingActivityState_PENDING_ACTIVITY_STATE_STARTED PendingActivityState = 2 PendingActivityState_PENDING_ACTIVITY_STATE_CANCEL_REQUESTED PendingActivityState = 3 )
func (PendingActivityState) Descriptor ¶
func (PendingActivityState) Descriptor() protoreflect.EnumDescriptor
func (PendingActivityState) Enum ¶
func (x PendingActivityState) Enum() *PendingActivityState
func (PendingActivityState) EnumDescriptor
deprecated
func (PendingActivityState) EnumDescriptor() ([]byte, []int)
Deprecated: Use PendingActivityState.Descriptor instead.
func (PendingActivityState) Number ¶
func (x PendingActivityState) Number() protoreflect.EnumNumber
func (PendingActivityState) String ¶
func (x PendingActivityState) String() string
func (PendingActivityState) Type ¶
func (PendingActivityState) Type() protoreflect.EnumType
type PendingWorkflowTaskState ¶
type PendingWorkflowTaskState int32
const ( PendingWorkflowTaskState_PENDING_WORKFLOW_TASK_STATE_UNSPECIFIED PendingWorkflowTaskState = 0 PendingWorkflowTaskState_PENDING_WORKFLOW_TASK_STATE_SCHEDULED PendingWorkflowTaskState = 1 PendingWorkflowTaskState_PENDING_WORKFLOW_TASK_STATE_STARTED PendingWorkflowTaskState = 2 )
func (PendingWorkflowTaskState) Descriptor ¶
func (PendingWorkflowTaskState) Descriptor() protoreflect.EnumDescriptor
func (PendingWorkflowTaskState) Enum ¶
func (x PendingWorkflowTaskState) Enum() *PendingWorkflowTaskState
func (PendingWorkflowTaskState) EnumDescriptor
deprecated
func (PendingWorkflowTaskState) EnumDescriptor() ([]byte, []int)
Deprecated: Use PendingWorkflowTaskState.Descriptor instead.
func (PendingWorkflowTaskState) Number ¶
func (x PendingWorkflowTaskState) Number() protoreflect.EnumNumber
func (PendingWorkflowTaskState) String ¶
func (x PendingWorkflowTaskState) String() string
func (PendingWorkflowTaskState) Type ¶
func (PendingWorkflowTaskState) Type() protoreflect.EnumType
type RetryState ¶
type RetryState int32
const ( RetryState_RETRY_STATE_UNSPECIFIED RetryState = 0 RetryState_RETRY_STATE_IN_PROGRESS RetryState = 1 RetryState_RETRY_STATE_NON_RETRYABLE_FAILURE RetryState = 2 RetryState_RETRY_STATE_TIMEOUT RetryState = 3 RetryState_RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED RetryState = 4 RetryState_RETRY_STATE_RETRY_POLICY_NOT_SET RetryState = 5 RetryState_RETRY_STATE_INTERNAL_SERVER_ERROR RetryState = 6 RetryState_RETRY_STATE_CANCEL_REQUESTED RetryState = 7 )
func (RetryState) Descriptor ¶
func (RetryState) Descriptor() protoreflect.EnumDescriptor
func (RetryState) Enum ¶
func (x RetryState) Enum() *RetryState
func (RetryState) EnumDescriptor
deprecated
func (RetryState) EnumDescriptor() ([]byte, []int)
Deprecated: Use RetryState.Descriptor instead.
func (RetryState) Number ¶
func (x RetryState) Number() protoreflect.EnumNumber
func (RetryState) String ¶
func (x RetryState) String() string
func (RetryState) Type ¶
func (RetryState) Type() protoreflect.EnumType
type TimeoutType ¶
type TimeoutType int32
const ( TimeoutType_TIMEOUT_TYPE_UNSPECIFIED TimeoutType = 0 TimeoutType_TIMEOUT_TYPE_START_TO_CLOSE TimeoutType = 1 TimeoutType_TIMEOUT_TYPE_SCHEDULE_TO_START TimeoutType = 2 TimeoutType_TIMEOUT_TYPE_SCHEDULE_TO_CLOSE TimeoutType = 3 TimeoutType_TIMEOUT_TYPE_HEARTBEAT TimeoutType = 4 )
func (TimeoutType) Descriptor ¶
func (TimeoutType) Descriptor() protoreflect.EnumDescriptor
func (TimeoutType) Enum ¶
func (x TimeoutType) Enum() *TimeoutType
func (TimeoutType) EnumDescriptor
deprecated
func (TimeoutType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TimeoutType.Descriptor instead.
func (TimeoutType) Number ¶
func (x TimeoutType) Number() protoreflect.EnumNumber
func (TimeoutType) String ¶
func (x TimeoutType) String() string
func (TimeoutType) Type ¶
func (TimeoutType) Type() protoreflect.EnumType
type WorkflowExecutionStatus ¶
type WorkflowExecutionStatus int32
(-- api-linter: core::0216::synonyms=disabled
aip.dev/not-precedent: There is WorkflowExecutionState already in another package. --)
const ( WorkflowExecutionStatus_WORKFLOW_EXECUTION_STATUS_UNSPECIFIED WorkflowExecutionStatus = 0 // Value 1 is hardcoded in SQL persistence. WorkflowExecutionStatus_WORKFLOW_EXECUTION_STATUS_RUNNING WorkflowExecutionStatus = 1 WorkflowExecutionStatus_WORKFLOW_EXECUTION_STATUS_COMPLETED WorkflowExecutionStatus = 2 WorkflowExecutionStatus_WORKFLOW_EXECUTION_STATUS_FAILED WorkflowExecutionStatus = 3 WorkflowExecutionStatus_WORKFLOW_EXECUTION_STATUS_CANCELED WorkflowExecutionStatus = 4 WorkflowExecutionStatus_WORKFLOW_EXECUTION_STATUS_TERMINATED WorkflowExecutionStatus = 5 WorkflowExecutionStatus_WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW WorkflowExecutionStatus = 6 WorkflowExecutionStatus_WORKFLOW_EXECUTION_STATUS_TIMED_OUT WorkflowExecutionStatus = 7 )
func (WorkflowExecutionStatus) Descriptor ¶
func (WorkflowExecutionStatus) Descriptor() protoreflect.EnumDescriptor
func (WorkflowExecutionStatus) Enum ¶
func (x WorkflowExecutionStatus) Enum() *WorkflowExecutionStatus
func (WorkflowExecutionStatus) EnumDescriptor
deprecated
func (WorkflowExecutionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkflowExecutionStatus.Descriptor instead.
func (WorkflowExecutionStatus) Number ¶
func (x WorkflowExecutionStatus) Number() protoreflect.EnumNumber
func (WorkflowExecutionStatus) String ¶
func (x WorkflowExecutionStatus) String() string
func (WorkflowExecutionStatus) Type ¶
func (WorkflowExecutionStatus) Type() protoreflect.EnumType
type WorkflowIdReusePolicy ¶
type WorkflowIdReusePolicy int32
Defines how new runs of a workflow with a particular ID may or may not be allowed. Note that it is *never* valid to have two actively running instances of the same workflow id.
const ( WorkflowIdReusePolicy_WORKFLOW_ID_REUSE_POLICY_UNSPECIFIED WorkflowIdReusePolicy = 0 // Allow starting a workflow execution using the same workflow id. WorkflowIdReusePolicy_WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE WorkflowIdReusePolicy = 1 // Allow starting a workflow execution using the same workflow id, only when the last // execution's final state is one of [terminated, cancelled, timed out, failed]. WorkflowIdReusePolicy_WORKFLOW_ID_REUSE_POLICY_ALLOW_DUPLICATE_FAILED_ONLY WorkflowIdReusePolicy = 2 // Do not permit re-use of the workflow id for this workflow. Future start workflow requests // could potentially change the policy, allowing re-use of the workflow id. WorkflowIdReusePolicy_WORKFLOW_ID_REUSE_POLICY_REJECT_DUPLICATE WorkflowIdReusePolicy = 3 // If a workflow is running using the same workflow ID, terminate it and start a new one. // If no running workflow, then the behavior is the same as ALLOW_DUPLICATE WorkflowIdReusePolicy_WORKFLOW_ID_REUSE_POLICY_TERMINATE_IF_RUNNING WorkflowIdReusePolicy = 4 )
func (WorkflowIdReusePolicy) Descriptor ¶
func (WorkflowIdReusePolicy) Descriptor() protoreflect.EnumDescriptor
func (WorkflowIdReusePolicy) Enum ¶
func (x WorkflowIdReusePolicy) Enum() *WorkflowIdReusePolicy
func (WorkflowIdReusePolicy) EnumDescriptor
deprecated
func (WorkflowIdReusePolicy) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkflowIdReusePolicy.Descriptor instead.
func (WorkflowIdReusePolicy) Number ¶
func (x WorkflowIdReusePolicy) Number() protoreflect.EnumNumber
func (WorkflowIdReusePolicy) String ¶
func (x WorkflowIdReusePolicy) String() string
func (WorkflowIdReusePolicy) Type ¶
func (WorkflowIdReusePolicy) Type() protoreflect.EnumType