Package com.google.cloud.dataproc.v1
Enum PrestoJob.QueriesCase
- java.lang.Object
-
- java.lang.Enum<PrestoJob.QueriesCase>
-
- com.google.cloud.dataproc.v1.PrestoJob.QueriesCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<PrestoJob.QueriesCase>
- Enclosing class:
- PrestoJob
public static enum PrestoJob.QueriesCase extends Enum<PrestoJob.QueriesCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description QUERIES_NOT_SET
QUERY_FILE_URI
QUERY_LIST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PrestoJob.QueriesCase
forNumber(int value)
int
getNumber()
static PrestoJob.QueriesCase
valueOf(int value)
Deprecated.static PrestoJob.QueriesCase
valueOf(String name)
Returns the enum constant of this type with the specified name.static PrestoJob.QueriesCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUERY_FILE_URI
public static final PrestoJob.QueriesCase QUERY_FILE_URI
-
QUERY_LIST
public static final PrestoJob.QueriesCase QUERY_LIST
-
QUERIES_NOT_SET
public static final PrestoJob.QueriesCase QUERIES_NOT_SET
-
-
Method Detail
-
values
public static PrestoJob.QueriesCase[] 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 (PrestoJob.QueriesCase c : PrestoJob.QueriesCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PrestoJob.QueriesCase 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
-
valueOf
@Deprecated public static PrestoJob.QueriesCase valueOf(int value)
Deprecated.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:
value
- 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
-
forNumber
public static PrestoJob.QueriesCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-