Package com.google.cloud.hadoop.gcsio
Enum GoogleCloudStorageFileSystemOptions.ClientType
- java.lang.Object
-
- java.lang.Enum<GoogleCloudStorageFileSystemOptions.ClientType>
-
- com.google.cloud.hadoop.gcsio.GoogleCloudStorageFileSystemOptions.ClientType
-
- All Implemented Interfaces:
Serializable,Comparable<GoogleCloudStorageFileSystemOptions.ClientType>
- Enclosing class:
- GoogleCloudStorageFileSystemOptions
public static enum GoogleCloudStorageFileSystemOptions.ClientType extends Enum<GoogleCloudStorageFileSystemOptions.ClientType>
Cloud Storage client to use.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HTTP_API_CLIENTSTORAGE_CLIENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GoogleCloudStorageFileSystemOptions.ClientTypevalueOf(String name)Returns the enum constant of this type with the specified name.static GoogleCloudStorageFileSystemOptions.ClientType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTTP_API_CLIENT
public static final GoogleCloudStorageFileSystemOptions.ClientType HTTP_API_CLIENT
-
STORAGE_CLIENT
public static final GoogleCloudStorageFileSystemOptions.ClientType STORAGE_CLIENT
-
-
Method Detail
-
values
public static GoogleCloudStorageFileSystemOptions.ClientType[] 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 (GoogleCloudStorageFileSystemOptions.ClientType c : GoogleCloudStorageFileSystemOptions.ClientType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GoogleCloudStorageFileSystemOptions.ClientType 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
-
-