Enum Class WorkflowExecutionStatus
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<WorkflowExecutionStatus>,Constable
@Generated(value="protoc",
comments="annotations:WorkflowExecutionStatus.java.pb.meta")
public enum WorkflowExecutionStatus
extends 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 enum temporal.api.enums.v1.WorkflowExecutionStatus-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWORKFLOW_EXECUTION_STATUS_CANCELED = 4;WORKFLOW_EXECUTION_STATUS_COMPLETED = 2;WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW = 6;WORKFLOW_EXECUTION_STATUS_FAILED = 3;WORKFLOW_EXECUTION_STATUS_PAUSED = 8;Value 1 is hardcoded in SQL persistence.WORKFLOW_EXECUTION_STATUS_TERMINATED = 5;WORKFLOW_EXECUTION_STATUS_TIMED_OUT = 7;WORKFLOW_EXECUTION_STATUS_UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intWORKFLOW_EXECUTION_STATUS_CANCELED = 4;static final intWORKFLOW_EXECUTION_STATUS_COMPLETED = 2;static final intWORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW = 6;static final intWORKFLOW_EXECUTION_STATUS_FAILED = 3;static final intWORKFLOW_EXECUTION_STATUS_PAUSED = 8;static final intValue 1 is hardcoded in SQL persistence.static final intWORKFLOW_EXECUTION_STATUS_TERMINATED = 5;static final intWORKFLOW_EXECUTION_STATUS_TIMED_OUT = 7;static final intWORKFLOW_EXECUTION_STATUS_UNSPECIFIED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkflowExecutionStatusforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<WorkflowExecutionStatus> static WorkflowExecutionStatusvalueOf(int value) Deprecated.static WorkflowExecutionStatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static WorkflowExecutionStatusReturns the enum constant of this class with the specified name.static WorkflowExecutionStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WORKFLOW_EXECUTION_STATUS_UNSPECIFIED
WORKFLOW_EXECUTION_STATUS_UNSPECIFIED = 0; -
WORKFLOW_EXECUTION_STATUS_RUNNING
Value 1 is hardcoded in SQL persistence.
WORKFLOW_EXECUTION_STATUS_RUNNING = 1; -
WORKFLOW_EXECUTION_STATUS_COMPLETED
WORKFLOW_EXECUTION_STATUS_COMPLETED = 2; -
WORKFLOW_EXECUTION_STATUS_FAILED
WORKFLOW_EXECUTION_STATUS_FAILED = 3; -
WORKFLOW_EXECUTION_STATUS_CANCELED
WORKFLOW_EXECUTION_STATUS_CANCELED = 4; -
WORKFLOW_EXECUTION_STATUS_TERMINATED
WORKFLOW_EXECUTION_STATUS_TERMINATED = 5; -
WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW
WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW = 6; -
WORKFLOW_EXECUTION_STATUS_TIMED_OUT
WORKFLOW_EXECUTION_STATUS_TIMED_OUT = 7; -
WORKFLOW_EXECUTION_STATUS_PAUSED
WORKFLOW_EXECUTION_STATUS_PAUSED = 8; -
UNRECOGNIZED
-
-
Field Details
-
WORKFLOW_EXECUTION_STATUS_UNSPECIFIED_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_UNSPECIFIED_VALUEWORKFLOW_EXECUTION_STATUS_UNSPECIFIED = 0;- See Also:
-
WORKFLOW_EXECUTION_STATUS_RUNNING_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_RUNNING_VALUEValue 1 is hardcoded in SQL persistence.
WORKFLOW_EXECUTION_STATUS_RUNNING = 1;- See Also:
-
WORKFLOW_EXECUTION_STATUS_COMPLETED_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_COMPLETED_VALUEWORKFLOW_EXECUTION_STATUS_COMPLETED = 2;- See Also:
-
WORKFLOW_EXECUTION_STATUS_FAILED_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_FAILED_VALUEWORKFLOW_EXECUTION_STATUS_FAILED = 3;- See Also:
-
WORKFLOW_EXECUTION_STATUS_CANCELED_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_CANCELED_VALUEWORKFLOW_EXECUTION_STATUS_CANCELED = 4;- See Also:
-
WORKFLOW_EXECUTION_STATUS_TERMINATED_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_TERMINATED_VALUEWORKFLOW_EXECUTION_STATUS_TERMINATED = 5;- See Also:
-
WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW_VALUEWORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW = 6;- See Also:
-
WORKFLOW_EXECUTION_STATUS_TIMED_OUT_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_TIMED_OUT_VALUEWORKFLOW_EXECUTION_STATUS_TIMED_OUT = 7;- See Also:
-
WORKFLOW_EXECUTION_STATUS_PAUSED_VALUE
public static final int WORKFLOW_EXECUTION_STATUS_PAUSED_VALUEWORKFLOW_EXECUTION_STATUS_PAUSED = 8;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 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.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-