Package io.temporal.api.enums.v1
Enum WorkflowExecutionStatus
- java.lang.Object
-
- java.lang.Enum<WorkflowExecutionStatus>
-
- io.temporal.api.enums.v1.WorkflowExecutionStatus
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<WorkflowExecutionStatus>
@Generated(value="protoc", comments="annotations:WorkflowExecutionStatus.java.pb.meta") public enum WorkflowExecutionStatus extends java.lang.Enum<WorkflowExecutionStatus> implements com.google.protobuf.ProtocolMessageEnum(-- api-linter: core::0216::synonyms=disabled aip.dev/not-precedent: There is WorkflowExecutionState already in another package. --)Protobuf enumtemporal.api.enums.v1.WorkflowExecutionStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UNRECOGNIZEDWORKFLOW_EXECUTION_STATUS_CANCELEDWORKFLOW_EXECUTION_STATUS_CANCELED = 4;WORKFLOW_EXECUTION_STATUS_COMPLETEDWORKFLOW_EXECUTION_STATUS_COMPLETED = 2;WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEWWORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW = 6;WORKFLOW_EXECUTION_STATUS_FAILEDWORKFLOW_EXECUTION_STATUS_FAILED = 3;WORKFLOW_EXECUTION_STATUS_RUNNINGValue 1 is hardcoded in SQL persistence.WORKFLOW_EXECUTION_STATUS_TERMINATEDWORKFLOW_EXECUTION_STATUS_TERMINATED = 5;WORKFLOW_EXECUTION_STATUS_TIMED_OUTWORKFLOW_EXECUTION_STATUS_TIMED_OUT = 7;WORKFLOW_EXECUTION_STATUS_UNSPECIFIEDWORKFLOW_EXECUTION_STATUS_UNSPECIFIED = 0;
-
Field Summary
Fields Modifier and Type Field Description static intWORKFLOW_EXECUTION_STATUS_CANCELED_VALUEWORKFLOW_EXECUTION_STATUS_CANCELED = 4;static intWORKFLOW_EXECUTION_STATUS_COMPLETED_VALUEWORKFLOW_EXECUTION_STATUS_COMPLETED = 2;static intWORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW_VALUEWORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW = 6;static intWORKFLOW_EXECUTION_STATUS_FAILED_VALUEWORKFLOW_EXECUTION_STATUS_FAILED = 3;static intWORKFLOW_EXECUTION_STATUS_RUNNING_VALUEValue 1 is hardcoded in SQL persistence.static intWORKFLOW_EXECUTION_STATUS_TERMINATED_VALUEWORKFLOW_EXECUTION_STATUS_TERMINATED = 5;static intWORKFLOW_EXECUTION_STATUS_TIMED_OUT_VALUEWORKFLOW_EXECUTION_STATUS_TIMED_OUT = 7;static intWORKFLOW_EXECUTION_STATUS_UNSPECIFIED_VALUEWORKFLOW_EXECUTION_STATUS_UNSPECIFIED = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static WorkflowExecutionStatusforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<WorkflowExecutionStatus>internalGetValueMap()static WorkflowExecutionStatusvalueOf(int value)Deprecated.static WorkflowExecutionStatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static WorkflowExecutionStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WorkflowExecutionStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WORKFLOW_EXECUTION_STATUS_UNSPECIFIED
public static final WorkflowExecutionStatus WORKFLOW_EXECUTION_STATUS_UNSPECIFIED
WORKFLOW_EXECUTION_STATUS_UNSPECIFIED = 0;
-
WORKFLOW_EXECUTION_STATUS_RUNNING
public static final WorkflowExecutionStatus WORKFLOW_EXECUTION_STATUS_RUNNING
Value 1 is hardcoded in SQL persistence.
WORKFLOW_EXECUTION_STATUS_RUNNING = 1;
-
WORKFLOW_EXECUTION_STATUS_COMPLETED
public static final WorkflowExecutionStatus WORKFLOW_EXECUTION_STATUS_COMPLETED
WORKFLOW_EXECUTION_STATUS_COMPLETED = 2;
-
WORKFLOW_EXECUTION_STATUS_FAILED
public static final WorkflowExecutionStatus WORKFLOW_EXECUTION_STATUS_FAILED
WORKFLOW_EXECUTION_STATUS_FAILED = 3;
-
WORKFLOW_EXECUTION_STATUS_CANCELED
public static final WorkflowExecutionStatus WORKFLOW_EXECUTION_STATUS_CANCELED
WORKFLOW_EXECUTION_STATUS_CANCELED = 4;
-
WORKFLOW_EXECUTION_STATUS_TERMINATED
public static final WorkflowExecutionStatus WORKFLOW_EXECUTION_STATUS_TERMINATED
WORKFLOW_EXECUTION_STATUS_TERMINATED = 5;
-
WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW
public static final WorkflowExecutionStatus WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW
WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW = 6;
-
WORKFLOW_EXECUTION_STATUS_TIMED_OUT
public static final WorkflowExecutionStatus WORKFLOW_EXECUTION_STATUS_TIMED_OUT
WORKFLOW_EXECUTION_STATUS_TIMED_OUT = 7;
-
UNRECOGNIZED
public static final WorkflowExecutionStatus UNRECOGNIZED
-
-
Field Detail
-
WORKFLOW_EXECUTION_STATUS_UNSPECIFIED_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_UNSPECIFIED_VALUE
WORKFLOW_EXECUTION_STATUS_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
WORKFLOW_EXECUTION_STATUS_RUNNING_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_RUNNING_VALUE
Value 1 is hardcoded in SQL persistence.
WORKFLOW_EXECUTION_STATUS_RUNNING = 1;- See Also:
- Constant Field Values
-
WORKFLOW_EXECUTION_STATUS_COMPLETED_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_COMPLETED_VALUE
WORKFLOW_EXECUTION_STATUS_COMPLETED = 2;- See Also:
- Constant Field Values
-
WORKFLOW_EXECUTION_STATUS_FAILED_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_FAILED_VALUE
WORKFLOW_EXECUTION_STATUS_FAILED = 3;- See Also:
- Constant Field Values
-
WORKFLOW_EXECUTION_STATUS_CANCELED_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_CANCELED_VALUE
WORKFLOW_EXECUTION_STATUS_CANCELED = 4;- See Also:
- Constant Field Values
-
WORKFLOW_EXECUTION_STATUS_TERMINATED_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_TERMINATED_VALUE
WORKFLOW_EXECUTION_STATUS_TERMINATED = 5;- See Also:
- Constant Field Values
-
WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW_VALUE
WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW = 6;- See Also:
- Constant Field Values
-
WORKFLOW_EXECUTION_STATUS_TIMED_OUT_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_TIMED_OUT_VALUE
WORKFLOW_EXECUTION_STATUS_TIMED_OUT = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static WorkflowExecutionStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WorkflowExecutionStatus c : WorkflowExecutionStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkflowExecutionStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static WorkflowExecutionStatus valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static WorkflowExecutionStatus forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<WorkflowExecutionStatus> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static WorkflowExecutionStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-