Enum Class RetryState

java.lang.Object
java.lang.Enum<RetryState>
io.temporal.api.enums.v1.RetryState
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<RetryState>, Constable

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

    • 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 Details

    • RETRY_STATE_UNSPECIFIED_VALUE

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

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

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

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

      public static final int RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED_VALUE
      RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED = 4;
      See Also:
    • 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:
    • RETRY_STATE_INTERNAL_SERVER_ERROR_VALUE

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

      public static final int RETRY_STATE_CANCEL_REQUESTED_VALUE
      RETRY_STATE_CANCEL_REQUESTED = 7;
      See Also:
  • Method Details

    • values

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