Enum Class 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, 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
  • Enum Constant Details

    • 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;
    • WORKFLOW_EXECUTION_STATUS_PAUSED

      public static final WorkflowExecutionStatus WORKFLOW_EXECUTION_STATUS_PAUSED
      WORKFLOW_EXECUTION_STATUS_PAUSED = 8;
    • UNRECOGNIZED

      public static final WorkflowExecutionStatus UNRECOGNIZED
  • Field Details

    • WORKFLOW_EXECUTION_STATUS_UNSPECIFIED_VALUE

      public static final int WORKFLOW_EXECUTION_STATUS_UNSPECIFIED_VALUE
      WORKFLOW_EXECUTION_STATUS_UNSPECIFIED = 0;
      See Also:
    • 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:
    • WORKFLOW_EXECUTION_STATUS_COMPLETED_VALUE

      public static final int WORKFLOW_EXECUTION_STATUS_COMPLETED_VALUE
      WORKFLOW_EXECUTION_STATUS_COMPLETED = 2;
      See Also:
    • WORKFLOW_EXECUTION_STATUS_FAILED_VALUE

      public static final int WORKFLOW_EXECUTION_STATUS_FAILED_VALUE
      WORKFLOW_EXECUTION_STATUS_FAILED = 3;
      See Also:
    • WORKFLOW_EXECUTION_STATUS_CANCELED_VALUE

      public static final int WORKFLOW_EXECUTION_STATUS_CANCELED_VALUE
      WORKFLOW_EXECUTION_STATUS_CANCELED = 4;
      See Also:
    • WORKFLOW_EXECUTION_STATUS_TERMINATED_VALUE

      public static final int WORKFLOW_EXECUTION_STATUS_TERMINATED_VALUE
      WORKFLOW_EXECUTION_STATUS_TERMINATED = 5;
      See Also:
    • 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:
    • WORKFLOW_EXECUTION_STATUS_TIMED_OUT_VALUE

      public static final int WORKFLOW_EXECUTION_STATUS_TIMED_OUT_VALUE
      WORKFLOW_EXECUTION_STATUS_TIMED_OUT = 7;
      See Also:
    • WORKFLOW_EXECUTION_STATUS_PAUSED_VALUE

      public static final int WORKFLOW_EXECUTION_STATUS_PAUSED_VALUE
      WORKFLOW_EXECUTION_STATUS_PAUSED = 8;
      See Also:
  • Method Details

    • values

      public static WorkflowExecutionStatus[] 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

      public static WorkflowExecutionStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static WorkflowExecutionStatus valueOf(int value)
      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 name
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null