public static enum YarnProtos.FinalApplicationStatusProto extends Enum<YarnProtos.FinalApplicationStatusProto> implements com.google.protobuf.ProtocolMessageEnum
hadoop.yarn.FinalApplicationStatusProto
Enum Constant and Description |
---|
APP_FAILED
APP_FAILED = 2; |
APP_KILLED
APP_KILLED = 3; |
APP_SUCCEEDED
APP_SUCCEEDED = 1; |
APP_UNDEFINED
APP_UNDEFINED = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
APP_FAILED_VALUE
APP_FAILED = 2; |
static int |
APP_KILLED_VALUE
APP_KILLED = 3; |
static int |
APP_SUCCEEDED_VALUE
APP_SUCCEEDED = 1; |
static int |
APP_UNDEFINED_VALUE
APP_UNDEFINED = 0; |
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.FinalApplicationStatusProto> |
internalGetValueMap() |
static YarnProtos.FinalApplicationStatusProto |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static YarnProtos.FinalApplicationStatusProto |
valueOf(int value) |
static YarnProtos.FinalApplicationStatusProto |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YarnProtos.FinalApplicationStatusProto[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YarnProtos.FinalApplicationStatusProto APP_UNDEFINED
APP_UNDEFINED = 0;
public static final YarnProtos.FinalApplicationStatusProto APP_SUCCEEDED
APP_SUCCEEDED = 1;
public static final YarnProtos.FinalApplicationStatusProto APP_FAILED
APP_FAILED = 2;
public static final YarnProtos.FinalApplicationStatusProto APP_KILLED
APP_KILLED = 3;
public static final int APP_UNDEFINED_VALUE
APP_UNDEFINED = 0;
public static final int APP_SUCCEEDED_VALUE
APP_SUCCEEDED = 1;
public static final int APP_FAILED_VALUE
APP_FAILED = 2;
public static final int APP_KILLED_VALUE
APP_KILLED = 3;
public static YarnProtos.FinalApplicationStatusProto[] values()
for (YarnProtos.FinalApplicationStatusProto c : YarnProtos.FinalApplicationStatusProto.values()) System.out.println(c);
public static YarnProtos.FinalApplicationStatusProto 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static YarnProtos.FinalApplicationStatusProto valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<YarnProtos.FinalApplicationStatusProto> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static YarnProtos.FinalApplicationStatusProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013 Apache Software Foundation. All rights reserved.