org.apache.hadoop.yarn.proto
Enum YarnServerCommonProtos.NodeActionProto

java.lang.Object
  extended by java.lang.Enum<YarnServerCommonProtos.NodeActionProto>
      extended by org.apache.hadoop.yarn.proto.YarnServerCommonProtos.NodeActionProto
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<YarnServerCommonProtos.NodeActionProto>
Enclosing class:
YarnServerCommonProtos

public static enum YarnServerCommonProtos.NodeActionProto
extends Enum<YarnServerCommonProtos.NodeActionProto>
implements com.google.protobuf.ProtocolMessageEnum

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

NORMAL

public static final YarnServerCommonProtos.NodeActionProto NORMAL
NORMAL = 0;


RESYNC

public static final YarnServerCommonProtos.NodeActionProto RESYNC
RESYNC = 1;


SHUTDOWN

public static final YarnServerCommonProtos.NodeActionProto SHUTDOWN
SHUTDOWN = 2;

Field Detail

NORMAL_VALUE

public static final int NORMAL_VALUE
NORMAL = 0;

See Also:
Constant Field Values

RESYNC_VALUE

public static final int RESYNC_VALUE
RESYNC = 1;

See Also:
Constant Field Values

SHUTDOWN_VALUE

public static final int SHUTDOWN_VALUE
SHUTDOWN = 2;

See Also:
Constant Field Values
Method Detail

values

public static YarnServerCommonProtos.NodeActionProto[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (YarnServerCommonProtos.NodeActionProto c : YarnServerCommonProtos.NodeActionProto.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static YarnServerCommonProtos.NodeActionProto valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getNumber

public final int getNumber()
Specified by:
getNumber in interface com.google.protobuf.Internal.EnumLite
Specified by:
getNumber in interface com.google.protobuf.ProtocolMessageEnum

valueOf

public static YarnServerCommonProtos.NodeActionProto valueOf(int value)

internalGetValueMap

public static com.google.protobuf.Internal.EnumLiteMap<YarnServerCommonProtos.NodeActionProto> internalGetValueMap()

getValueDescriptor

public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
Specified by:
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum

getDescriptorForType

public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum

getDescriptor

public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()

valueOf

public static YarnServerCommonProtos.NodeActionProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.