Package io.temporal.api.enums.v1
Enum 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,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.ProtocolMessageEnumProtobuf enumtemporal.api.enums.v1.RetryState
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RETRY_STATE_CANCEL_REQUESTEDRETRY_STATE_CANCEL_REQUESTED = 7;RETRY_STATE_IN_PROGRESSRETRY_STATE_IN_PROGRESS = 1;RETRY_STATE_INTERNAL_SERVER_ERRORRETRY_STATE_INTERNAL_SERVER_ERROR = 6;RETRY_STATE_MAXIMUM_ATTEMPTS_REACHEDRETRY_STATE_MAXIMUM_ATTEMPTS_REACHED = 4;RETRY_STATE_NON_RETRYABLE_FAILURERETRY_STATE_NON_RETRYABLE_FAILURE = 2;RETRY_STATE_RETRY_POLICY_NOT_SETRETRY_STATE_RETRY_POLICY_NOT_SET = 5;RETRY_STATE_TIMEOUTRETRY_STATE_TIMEOUT = 3;RETRY_STATE_UNSPECIFIEDRETRY_STATE_UNSPECIFIED = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intRETRY_STATE_CANCEL_REQUESTED_VALUERETRY_STATE_CANCEL_REQUESTED = 7;static intRETRY_STATE_IN_PROGRESS_VALUERETRY_STATE_IN_PROGRESS = 1;static intRETRY_STATE_INTERNAL_SERVER_ERROR_VALUERETRY_STATE_INTERNAL_SERVER_ERROR = 6;static intRETRY_STATE_MAXIMUM_ATTEMPTS_REACHED_VALUERETRY_STATE_MAXIMUM_ATTEMPTS_REACHED = 4;static intRETRY_STATE_NON_RETRYABLE_FAILURE_VALUERETRY_STATE_NON_RETRYABLE_FAILURE = 2;static intRETRY_STATE_RETRY_POLICY_NOT_SET_VALUERETRY_STATE_RETRY_POLICY_NOT_SET = 5;static intRETRY_STATE_TIMEOUT_VALUERETRY_STATE_TIMEOUT = 3;static intRETRY_STATE_UNSPECIFIED_VALUERETRY_STATE_UNSPECIFIED = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RetryStateforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<RetryState>internalGetValueMap()static RetryStatevalueOf(int value)Deprecated.static RetryStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static RetryStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RetryState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
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 namejava.lang.NullPointerException- 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 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 namejava.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:
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 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 namejava.lang.NullPointerException- if the argument is null
-
-