Package com.google.cloud.dataproc.v1
Enum SparkSqlJob.QueriesCase
- java.lang.Object
-
- java.lang.Enum<SparkSqlJob.QueriesCase>
-
- com.google.cloud.dataproc.v1.SparkSqlJob.QueriesCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<SparkSqlJob.QueriesCase>
- Enclosing class:
- SparkSqlJob
public static enum SparkSqlJob.QueriesCase extends Enum<SparkSqlJob.QueriesCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description QUERIES_NOT_SETQUERY_FILE_URIQUERY_LIST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SparkSqlJob.QueriesCaseforNumber(int value)intgetNumber()static SparkSqlJob.QueriesCasevalueOf(int value)Deprecated.static SparkSqlJob.QueriesCasevalueOf(String name)Returns the enum constant of this type with the specified name.static SparkSqlJob.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 SparkSqlJob.QueriesCase QUERY_FILE_URI
-
QUERY_LIST
public static final SparkSqlJob.QueriesCase QUERY_LIST
-
QUERIES_NOT_SET
public static final SparkSqlJob.QueriesCase QUERIES_NOT_SET
-
-
Method Detail
-
values
public static SparkSqlJob.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 (SparkSqlJob.QueriesCase c : SparkSqlJob.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 SparkSqlJob.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 SparkSqlJob.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 SparkSqlJob.QueriesCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-