Enum Class 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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRETRY_STATE_CANCEL_REQUESTED = 7;RETRY_STATE_IN_PROGRESS = 1;RETRY_STATE_INTERNAL_SERVER_ERROR = 6;RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED = 4;RETRY_STATE_NON_RETRYABLE_FAILURE = 2;RETRY_STATE_RETRY_POLICY_NOT_SET = 5;RETRY_STATE_TIMEOUT = 3;RETRY_STATE_UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intRETRY_STATE_CANCEL_REQUESTED = 7;static final intRETRY_STATE_IN_PROGRESS = 1;static final intRETRY_STATE_INTERNAL_SERVER_ERROR = 6;static final intRETRY_STATE_MAXIMUM_ATTEMPTS_REACHED = 4;static final intRETRY_STATE_NON_RETRYABLE_FAILURE = 2;static final intRETRY_STATE_RETRY_POLICY_NOT_SET = 5;static final intRETRY_STATE_TIMEOUT = 3;static final intRETRY_STATE_UNSPECIFIED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic RetryStateforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<RetryState> static RetryStatevalueOf(int value) Deprecated.static RetryStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static RetryStateReturns the enum constant of this class with the specified name.static RetryState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RETRY_STATE_UNSPECIFIED
RETRY_STATE_UNSPECIFIED = 0; -
RETRY_STATE_IN_PROGRESS
RETRY_STATE_IN_PROGRESS = 1; -
RETRY_STATE_NON_RETRYABLE_FAILURE
RETRY_STATE_NON_RETRYABLE_FAILURE = 2; -
RETRY_STATE_TIMEOUT
RETRY_STATE_TIMEOUT = 3; -
RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED
RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED = 4; -
RETRY_STATE_RETRY_POLICY_NOT_SET
RETRY_STATE_RETRY_POLICY_NOT_SET = 5; -
RETRY_STATE_INTERNAL_SERVER_ERROR
RETRY_STATE_INTERNAL_SERVER_ERROR = 6; -
RETRY_STATE_CANCEL_REQUESTED
RETRY_STATE_CANCEL_REQUESTED = 7; -
UNRECOGNIZED
-
-
Field Details
-
RETRY_STATE_UNSPECIFIED_VALUE
public static final int RETRY_STATE_UNSPECIFIED_VALUERETRY_STATE_UNSPECIFIED = 0;- See Also:
-
RETRY_STATE_IN_PROGRESS_VALUE
public static final int RETRY_STATE_IN_PROGRESS_VALUERETRY_STATE_IN_PROGRESS = 1;- See Also:
-
RETRY_STATE_NON_RETRYABLE_FAILURE_VALUE
public static final int RETRY_STATE_NON_RETRYABLE_FAILURE_VALUERETRY_STATE_NON_RETRYABLE_FAILURE = 2;- See Also:
-
RETRY_STATE_TIMEOUT_VALUE
public static final int RETRY_STATE_TIMEOUT_VALUERETRY_STATE_TIMEOUT = 3;- See Also:
-
RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED_VALUE
public static final int RETRY_STATE_MAXIMUM_ATTEMPTS_REACHED_VALUERETRY_STATE_MAXIMUM_ATTEMPTS_REACHED = 4;- See Also:
-
RETRY_STATE_RETRY_POLICY_NOT_SET_VALUE
public static final int RETRY_STATE_RETRY_POLICY_NOT_SET_VALUERETRY_STATE_RETRY_POLICY_NOT_SET = 5;- See Also:
-
RETRY_STATE_INTERNAL_SERVER_ERROR_VALUE
public static final int RETRY_STATE_INTERNAL_SERVER_ERROR_VALUERETRY_STATE_INTERNAL_SERVER_ERROR = 6;- See Also:
-
RETRY_STATE_CANCEL_REQUESTED_VALUE
public static final int RETRY_STATE_CANCEL_REQUESTED_VALUERETRY_STATE_CANCEL_REQUESTED = 7;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- 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.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 nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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
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 nameNullPointerException- if the argument is null
-