Enum RetryState

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, java.io.Serializable, java.lang.Comparable<RetryState>

    @Generated(value="protoc",
               comments="annotations:RetryState.java.pb.meta")
    public enum RetryState
    extends java.lang.Enum<RetryState>
    implements com.google.protobuf.ProtocolMessageEnum
    Protobuf enum temporal.api.enums.v1.RetryState
    • Enum Constant Detail

      • RETRY_STATE_UNSPECIFIED

        public static final RetryState RETRY_STATE_UNSPECIFIED
        RETRY_STATE_UNSPECIFIED = 0;
      • RETRY_STATE_IN_PROGRESS

        public static final RetryState RETRY_STATE_IN_PROGRESS
        RETRY_STATE_IN_PROGRESS = 1;
      • RETRY_STATE_NON_RETRYABLE_FAILURE

        public static final RetryState RETRY_STATE_NON_RETRYABLE_FAILURE
        RETRY_STATE_NON_RETRYABLE_FAILURE = 2;
      • RETRY_STATE_TIMEOUT

        public static final RetryState RETRY_STATE_TIMEOUT
        RETRY_STATE_TIMEOUT = 3;
      • RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED

        public static final RetryState RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED
        RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED = 4;
      • RETRY_STATE_RETRY_POLICY_NOT_SET

        public static final RetryState RETRY_STATE_RETRY_POLICY_NOT_SET
        RETRY_STATE_RETRY_POLICY_NOT_SET = 5;
      • RETRY_STATE_INTERNAL_SERVER_ERROR

        public static final RetryState RETRY_STATE_INTERNAL_SERVER_ERROR
        RETRY_STATE_INTERNAL_SERVER_ERROR = 6;
      • RETRY_STATE_CANCEL_REQUESTED

        public static final RetryState RETRY_STATE_CANCEL_REQUESTED
        RETRY_STATE_CANCEL_REQUESTED = 7;
      • UNRECOGNIZED

        public static final RetryState UNRECOGNIZED
    • Field Detail

      • RETRY_STATE_UNSPECIFIED_VALUE

        public static final int RETRY_STATE_UNSPECIFIED_VALUE
        RETRY_STATE_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • RETRY_STATE_IN_PROGRESS_VALUE

        public static final int RETRY_STATE_IN_PROGRESS_VALUE
        RETRY_STATE_IN_PROGRESS = 1;
        See Also:
        Constant Field Values
      • RETRY_STATE_NON_RETRYABLE_FAILURE_VALUE

        public static final int RETRY_STATE_NON_RETRYABLE_FAILURE_VALUE
        RETRY_STATE_NON_RETRYABLE_FAILURE = 2;
        See Also:
        Constant Field Values
      • RETRY_STATE_TIMEOUT_VALUE

        public static final int RETRY_STATE_TIMEOUT_VALUE
        RETRY_STATE_TIMEOUT = 3;
        See Also:
        Constant Field Values
      • RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED_VALUE

        public static final int RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED_VALUE
        RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED = 4;
        See Also:
        Constant Field Values
      • RETRY_STATE_RETRY_POLICY_NOT_SET_VALUE

        public static final int RETRY_STATE_RETRY_POLICY_NOT_SET_VALUE
        RETRY_STATE_RETRY_POLICY_NOT_SET = 5;
        See Also:
        Constant Field Values
      • RETRY_STATE_INTERNAL_SERVER_ERROR_VALUE

        public static final int RETRY_STATE_INTERNAL_SERVER_ERROR_VALUE
        RETRY_STATE_INTERNAL_SERVER_ERROR = 6;
        See Also:
        Constant Field Values
      • RETRY_STATE_CANCEL_REQUESTED_VALUE

        public static final int RETRY_STATE_CANCEL_REQUESTED_VALUE
        RETRY_STATE_CANCEL_REQUESTED = 7;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static RetryState[] 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 (RetryState c : RetryState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RetryState 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 RetryState 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 RetryState 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<RetryState> 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 RetryState 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