public static enum YarnApplication.State extends java.lang.Enum<YarnApplication.State> implements ProtocolMessageEnum
The application state, corresponding to <code>YarnProtos.YarnApplicationStateProto</code>.Protobuf enum
google.cloud.dataproc.v1.YarnApplication.State
Enum Constant and Description |
---|
ACCEPTED
Status is ACCEPTED.
|
FAILED
Status is FAILED.
|
FINISHED
Status is FINISHED.
|
KILLED
Status is KILLED.
|
NEW
Status is NEW.
|
NEW_SAVING
Status is NEW_SAVING.
|
RUNNING
Status is RUNNING.
|
STATE_UNSPECIFIED
Status is unspecified.
|
SUBMITTED
Status is SUBMITTED.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ACCEPTED_VALUE
Status is ACCEPTED.
|
static int |
FAILED_VALUE
Status is FAILED.
|
static int |
FINISHED_VALUE
Status is FINISHED.
|
static int |
KILLED_VALUE
Status is KILLED.
|
static int |
NEW_SAVING_VALUE
Status is NEW_SAVING.
|
static int |
NEW_VALUE
Status is NEW.
|
static int |
RUNNING_VALUE
Status is RUNNING.
|
static int |
STATE_UNSPECIFIED_VALUE
Status is unspecified.
|
static int |
SUBMITTED_VALUE
Status is SUBMITTED.
|
Modifier and Type | Method and Description |
---|---|
static YarnApplication.State |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<YarnApplication.State> |
internalGetValueMap() |
static YarnApplication.State |
valueOf(Descriptors.EnumValueDescriptor desc) |
static YarnApplication.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static YarnApplication.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static YarnApplication.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YarnApplication.State STATE_UNSPECIFIED
Status is unspecified.
STATE_UNSPECIFIED = 0;
public static final YarnApplication.State NEW
Status is NEW.
NEW = 1;
public static final YarnApplication.State NEW_SAVING
Status is NEW_SAVING.
NEW_SAVING = 2;
public static final YarnApplication.State SUBMITTED
Status is SUBMITTED.
SUBMITTED = 3;
public static final YarnApplication.State ACCEPTED
Status is ACCEPTED.
ACCEPTED = 4;
public static final YarnApplication.State RUNNING
Status is RUNNING.
RUNNING = 5;
public static final YarnApplication.State FINISHED
Status is FINISHED.
FINISHED = 6;
public static final YarnApplication.State FAILED
Status is FAILED.
FAILED = 7;
public static final YarnApplication.State KILLED
Status is KILLED.
KILLED = 8;
public static final YarnApplication.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Status is unspecified.
STATE_UNSPECIFIED = 0;
public static final int NEW_VALUE
Status is NEW.
NEW = 1;
public static final int NEW_SAVING_VALUE
Status is NEW_SAVING.
NEW_SAVING = 2;
public static final int SUBMITTED_VALUE
Status is SUBMITTED.
SUBMITTED = 3;
public static final int ACCEPTED_VALUE
Status is ACCEPTED.
ACCEPTED = 4;
public static final int RUNNING_VALUE
Status is RUNNING.
RUNNING = 5;
public static final int FINISHED_VALUE
Status is FINISHED.
FINISHED = 6;
public static final int FAILED_VALUE
Status is FAILED.
FAILED = 7;
public static final int KILLED_VALUE
Status is KILLED.
KILLED = 8;
public static YarnApplication.State[] values()
for (YarnApplication.State c : YarnApplication.State.values()) System.out.println(c);
public static YarnApplication.State valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static YarnApplication.State valueOf(int value)
forNumber(int)
instead.public static YarnApplication.State forNumber(int value)
public static Internal.EnumLiteMap<YarnApplication.State> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static YarnApplication.State valueOf(Descriptors.EnumValueDescriptor desc)