Package com.google.cloud.hadoop.util
Enum GcsJsonApiEvent.RequestType
- java.lang.Object
-
- java.lang.Enum<GcsJsonApiEvent.RequestType>
-
- com.google.cloud.hadoop.util.GcsJsonApiEvent.RequestType
-
- All Implemented Interfaces:
Serializable,Comparable<GcsJsonApiEvent.RequestType>
- Enclosing class:
- GcsJsonApiEvent
public static enum GcsJsonApiEvent.RequestType extends Enum<GcsJsonApiEvent.RequestType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GcsJsonApiEvent.RequestTypevalueOf(String name)Returns the enum constant of this type with the specified name.static GcsJsonApiEvent.RequestType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DELETE
public static final GcsJsonApiEvent.RequestType DELETE
-
GET_MEDIA
public static final GcsJsonApiEvent.RequestType GET_MEDIA
-
GET_METADATA
public static final GcsJsonApiEvent.RequestType GET_METADATA
-
GET_OTHER
public static final GcsJsonApiEvent.RequestType GET_OTHER
-
LIST_DIR
public static final GcsJsonApiEvent.RequestType LIST_DIR
-
LIST_FILE
public static final GcsJsonApiEvent.RequestType LIST_FILE
-
OTHER
public static final GcsJsonApiEvent.RequestType OTHER
-
PATCH
public static final GcsJsonApiEvent.RequestType PATCH
-
POST
public static final GcsJsonApiEvent.RequestType POST
-
PUT
public static final GcsJsonApiEvent.RequestType PUT
-
-
Method Detail
-
values
public static GcsJsonApiEvent.RequestType[] 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.RequestType c : GcsJsonApiEvent.RequestType.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.RequestType 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
-
-