Enum 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 enum temporal.api.enums.v1.WorkflowExecutionStatus
    • 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;
    • 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 name
        java.lang.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 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 name
        java.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:
        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 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 name
        java.lang.NullPointerException - if the argument is null