|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<YarnServerCommonProtos.NodeActionProto>
org.apache.hadoop.yarn.proto.YarnServerCommonProtos.NodeActionProto
public static enum YarnServerCommonProtos.NodeActionProto
Protobuf enum hadoop.yarn.NodeActionProto
| Enum Constant Summary | |
|---|---|
NORMAL
NORMAL = 0; |
|
RESYNC
RESYNC = 1; |
|
SHUTDOWN
SHUTDOWN = 2; |
|
| Field Summary | |
|---|---|
static int |
NORMAL_VALUE
NORMAL = 0; |
static int |
RESYNC_VALUE
RESYNC = 1; |
static int |
SHUTDOWN_VALUE
SHUTDOWN = 2; |
| Method Summary | |
|---|---|
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<YarnServerCommonProtos.NodeActionProto> |
internalGetValueMap()
|
static YarnServerCommonProtos.NodeActionProto |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
|
static YarnServerCommonProtos.NodeActionProto |
valueOf(int value)
|
static YarnServerCommonProtos.NodeActionProto |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static YarnServerCommonProtos.NodeActionProto[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final YarnServerCommonProtos.NodeActionProto NORMAL
NORMAL = 0;
public static final YarnServerCommonProtos.NodeActionProto RESYNC
RESYNC = 1;
public static final YarnServerCommonProtos.NodeActionProto SHUTDOWN
SHUTDOWN = 2;
| Field Detail |
|---|
public static final int NORMAL_VALUE
NORMAL = 0;
public static final int RESYNC_VALUE
RESYNC = 1;
public static final int SHUTDOWN_VALUE
SHUTDOWN = 2;
| Method Detail |
|---|
public static YarnServerCommonProtos.NodeActionProto[] values()
for (YarnServerCommonProtos.NodeActionProto c : YarnServerCommonProtos.NodeActionProto.values()) System.out.println(c);
public static YarnServerCommonProtos.NodeActionProto valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnumpublic static YarnServerCommonProtos.NodeActionProto valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<YarnServerCommonProtos.NodeActionProto> 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 YarnServerCommonProtos.NodeActionProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||