public static enum HadoopJob.DriverCase extends Enum<HadoopJob.DriverCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
Enum Constant and Description |
---|
DRIVER_NOT_SET |
MAIN_CLASS |
MAIN_JAR_FILE_URI |
Modifier and Type | Method and Description |
---|---|
static HadoopJob.DriverCase |
forNumber(int value) |
int |
getNumber() |
static HadoopJob.DriverCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HadoopJob.DriverCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HadoopJob.DriverCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HadoopJob.DriverCase MAIN_JAR_FILE_URI
public static final HadoopJob.DriverCase MAIN_CLASS
public static final HadoopJob.DriverCase DRIVER_NOT_SET
public static HadoopJob.DriverCase[] values()
for (HadoopJob.DriverCase c : HadoopJob.DriverCase.values()) System.out.println(c);
public static HadoopJob.DriverCase valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Deprecated public static HadoopJob.DriverCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static HadoopJob.DriverCase forNumber(int value)
public int getNumber()
getNumber
in interface AbstractMessageLite.InternalOneOfEnum
getNumber
in interface Internal.EnumLite
Copyright © 2022 Google LLC. All rights reserved.