Package com.google.cloud.hadoop.util
Enum GcsJsonApiEvent.EventType
- java.lang.Object
-
- java.lang.Enum<GcsJsonApiEvent.EventType>
-
- com.google.cloud.hadoop.util.GcsJsonApiEvent.EventType
-
- All Implemented Interfaces:
Serializable,Comparable<GcsJsonApiEvent.EventType>
- Enclosing class:
- GcsJsonApiEvent
public static enum GcsJsonApiEvent.EventType extends Enum<GcsJsonApiEvent.EventType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACKOFFEXCEPTIONRESPONSERETRY_SKIPPEDSTARTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GcsJsonApiEvent.EventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static GcsJsonApiEvent.EventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BACKOFF
public static final GcsJsonApiEvent.EventType BACKOFF
-
EXCEPTION
public static final GcsJsonApiEvent.EventType EXCEPTION
-
RESPONSE
public static final GcsJsonApiEvent.EventType RESPONSE
-
RETRY_SKIPPED
public static final GcsJsonApiEvent.EventType RETRY_SKIPPED
-
STARTED
public static final GcsJsonApiEvent.EventType STARTED
-
-
Method Detail
-
values
public static GcsJsonApiEvent.EventType[] 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 (GcsJsonApiEvent.EventType c : GcsJsonApiEvent.EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GcsJsonApiEvent.EventType 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
-
-