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