public static enum YarnProtos.YarnApplicationStateProto extends Enum<YarnProtos.YarnApplicationStateProto> implements com.google.protobuf.ProtocolMessageEnum
hadoop.yarn.YarnApplicationStateProto| Enum Constant and Description |
|---|
ACCEPTED
ACCEPTED = 4; |
FAILED
FAILED = 7; |
FINISHED
FINISHED = 6; |
KILLED
KILLED = 8; |
NEW
NEW = 1; |
NEW_SAVING
NEW_SAVING = 2; |
RUNNING
RUNNING = 5; |
SUBMITTED
SUBMITTED = 3; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCEPTED_VALUE
ACCEPTED = 4; |
static int |
FAILED_VALUE
FAILED = 7; |
static int |
FINISHED_VALUE
FINISHED = 6; |
static int |
KILLED_VALUE
KILLED = 8; |
static int |
NEW_SAVING_VALUE
NEW_SAVING = 2; |
static int |
NEW_VALUE
NEW = 1; |
static int |
RUNNING_VALUE
RUNNING = 5; |
static int |
SUBMITTED_VALUE
SUBMITTED = 3; |
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<YarnProtos.YarnApplicationStateProto> |
internalGetValueMap() |
static YarnProtos.YarnApplicationStateProto |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static YarnProtos.YarnApplicationStateProto |
valueOf(int value) |
static YarnProtos.YarnApplicationStateProto |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YarnProtos.YarnApplicationStateProto[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YarnProtos.YarnApplicationStateProto NEW
NEW = 1;public static final YarnProtos.YarnApplicationStateProto NEW_SAVING
NEW_SAVING = 2;public static final YarnProtos.YarnApplicationStateProto SUBMITTED
SUBMITTED = 3;public static final YarnProtos.YarnApplicationStateProto ACCEPTED
ACCEPTED = 4;public static final YarnProtos.YarnApplicationStateProto RUNNING
RUNNING = 5;public static final YarnProtos.YarnApplicationStateProto FINISHED
FINISHED = 6;public static final YarnProtos.YarnApplicationStateProto FAILED
FAILED = 7;public static final YarnProtos.YarnApplicationStateProto KILLED
KILLED = 8;public static final int NEW_VALUE
NEW = 1;public static final int NEW_SAVING_VALUE
NEW_SAVING = 2;public static final int SUBMITTED_VALUE
SUBMITTED = 3;public static final int ACCEPTED_VALUE
ACCEPTED = 4;public static final int RUNNING_VALUE
RUNNING = 5;public static final int FINISHED_VALUE
FINISHED = 6;public static final int FAILED_VALUE
FAILED = 7;public static final int KILLED_VALUE
KILLED = 8;public static YarnProtos.YarnApplicationStateProto[] values()
for (YarnProtos.YarnApplicationStateProto c : YarnProtos.YarnApplicationStateProto.values()) System.out.println(c);
public static YarnProtos.YarnApplicationStateProto 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static YarnProtos.YarnApplicationStateProto valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<YarnProtos.YarnApplicationStateProto> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static YarnProtos.YarnApplicationStateProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018 CERN. All Rights Reserved.