Package com.google.cloud.hadoop.util
Enum ErrorTypeExtractor.ErrorType
- java.lang.Object
-
- java.lang.Enum<ErrorTypeExtractor.ErrorType>
-
- com.google.cloud.hadoop.util.ErrorTypeExtractor.ErrorType
-
- All Implemented Interfaces:
Serializable,Comparable<ErrorTypeExtractor.ErrorType>
- Enclosing interface:
- ErrorTypeExtractor
public static enum ErrorTypeExtractor.ErrorType extends Enum<ErrorTypeExtractor.ErrorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALREADY_EXISTSFAILED_PRECONDITIONINTERNALNOT_FOUNDOUT_OF_RANGERESOURCE_EXHAUSTEDUNAVAILABLEUNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorTypeExtractor.ErrorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ErrorTypeExtractor.ErrorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_FOUND
public static final ErrorTypeExtractor.ErrorType NOT_FOUND
-
OUT_OF_RANGE
public static final ErrorTypeExtractor.ErrorType OUT_OF_RANGE
-
ALREADY_EXISTS
public static final ErrorTypeExtractor.ErrorType ALREADY_EXISTS
-
FAILED_PRECONDITION
public static final ErrorTypeExtractor.ErrorType FAILED_PRECONDITION
-
INTERNAL
public static final ErrorTypeExtractor.ErrorType INTERNAL
-
RESOURCE_EXHAUSTED
public static final ErrorTypeExtractor.ErrorType RESOURCE_EXHAUSTED
-
UNAVAILABLE
public static final ErrorTypeExtractor.ErrorType UNAVAILABLE
-
UNKNOWN
public static final ErrorTypeExtractor.ErrorType UNKNOWN
-
-
Method Detail
-
values
public static ErrorTypeExtractor.ErrorType[] 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 (ErrorTypeExtractor.ErrorType c : ErrorTypeExtractor.ErrorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorTypeExtractor.ErrorType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-