org.apache.hadoop.yarn.proto
Enum YarnServerResourceManagerServiceProtos.RMAppStateProto

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

public static enum YarnServerResourceManagerServiceProtos.RMAppStateProto
extends Enum<YarnServerResourceManagerServiceProtos.RMAppStateProto>
implements com.google.protobuf.ProtocolMessageEnum

Protobuf enum hadoop.yarn.RMAppStateProto


Enum Constant Summary
RMAPP_ACCEPTED
          RMAPP_ACCEPTED = 4;
RMAPP_FAILED
          RMAPP_FAILED = 9;
RMAPP_FINAL_SAVING
          RMAPP_FINAL_SAVING = 6;
RMAPP_FINISHED
          RMAPP_FINISHED = 8;
RMAPP_FINISHING
          RMAPP_FINISHING = 7;
RMAPP_KILLED
          RMAPP_KILLED = 10;
RMAPP_NEW
          RMAPP_NEW = 1;
RMAPP_NEW_SAVING
          RMAPP_NEW_SAVING = 2;
RMAPP_RUNNING
          RMAPP_RUNNING = 5;
RMAPP_SUBMITTED
          RMAPP_SUBMITTED = 3;
 
Field Summary
static int RMAPP_ACCEPTED_VALUE
          RMAPP_ACCEPTED = 4;
static int RMAPP_FAILED_VALUE
          RMAPP_FAILED = 9;
static int RMAPP_FINAL_SAVING_VALUE
          RMAPP_FINAL_SAVING = 6;
static int RMAPP_FINISHED_VALUE
          RMAPP_FINISHED = 8;
static int RMAPP_FINISHING_VALUE
          RMAPP_FINISHING = 7;
static int RMAPP_KILLED_VALUE
          RMAPP_KILLED = 10;
static int RMAPP_NEW_SAVING_VALUE
          RMAPP_NEW_SAVING = 2;
static int RMAPP_NEW_VALUE
          RMAPP_NEW = 1;
static int RMAPP_RUNNING_VALUE
          RMAPP_RUNNING = 5;
static int RMAPP_SUBMITTED_VALUE
          RMAPP_SUBMITTED = 3;
 
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<YarnServerResourceManagerServiceProtos.RMAppStateProto> internalGetValueMap()
           
static YarnServerResourceManagerServiceProtos.RMAppStateProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static YarnServerResourceManagerServiceProtos.RMAppStateProto valueOf(int value)
           
static YarnServerResourceManagerServiceProtos.RMAppStateProto valueOf(String name)
          Returns the enum constant of this type with the specified name.
static YarnServerResourceManagerServiceProtos.RMAppStateProto[] 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

RMAPP_NEW

public static final YarnServerResourceManagerServiceProtos.RMAppStateProto RMAPP_NEW
RMAPP_NEW = 1;


RMAPP_NEW_SAVING

public static final YarnServerResourceManagerServiceProtos.RMAppStateProto RMAPP_NEW_SAVING
RMAPP_NEW_SAVING = 2;


RMAPP_SUBMITTED

public static final YarnServerResourceManagerServiceProtos.RMAppStateProto RMAPP_SUBMITTED
RMAPP_SUBMITTED = 3;


RMAPP_ACCEPTED

public static final YarnServerResourceManagerServiceProtos.RMAppStateProto RMAPP_ACCEPTED
RMAPP_ACCEPTED = 4;


RMAPP_RUNNING

public static final YarnServerResourceManagerServiceProtos.RMAppStateProto RMAPP_RUNNING
RMAPP_RUNNING = 5;


RMAPP_FINAL_SAVING

public static final YarnServerResourceManagerServiceProtos.RMAppStateProto RMAPP_FINAL_SAVING
RMAPP_FINAL_SAVING = 6;


RMAPP_FINISHING

public static final YarnServerResourceManagerServiceProtos.RMAppStateProto RMAPP_FINISHING
RMAPP_FINISHING = 7;


RMAPP_FINISHED

public static final YarnServerResourceManagerServiceProtos.RMAppStateProto RMAPP_FINISHED
RMAPP_FINISHED = 8;


RMAPP_FAILED

public static final YarnServerResourceManagerServiceProtos.RMAppStateProto RMAPP_FAILED
RMAPP_FAILED = 9;


RMAPP_KILLED

public static final YarnServerResourceManagerServiceProtos.RMAppStateProto RMAPP_KILLED
RMAPP_KILLED = 10;

Field Detail

RMAPP_NEW_VALUE

public static final int RMAPP_NEW_VALUE
RMAPP_NEW = 1;

See Also:
Constant Field Values

RMAPP_NEW_SAVING_VALUE

public static final int RMAPP_NEW_SAVING_VALUE
RMAPP_NEW_SAVING = 2;

See Also:
Constant Field Values

RMAPP_SUBMITTED_VALUE

public static final int RMAPP_SUBMITTED_VALUE
RMAPP_SUBMITTED = 3;

See Also:
Constant Field Values

RMAPP_ACCEPTED_VALUE

public static final int RMAPP_ACCEPTED_VALUE
RMAPP_ACCEPTED = 4;

See Also:
Constant Field Values

RMAPP_RUNNING_VALUE

public static final int RMAPP_RUNNING_VALUE
RMAPP_RUNNING = 5;

See Also:
Constant Field Values

RMAPP_FINAL_SAVING_VALUE

public static final int RMAPP_FINAL_SAVING_VALUE
RMAPP_FINAL_SAVING = 6;

See Also:
Constant Field Values

RMAPP_FINISHING_VALUE

public static final int RMAPP_FINISHING_VALUE
RMAPP_FINISHING = 7;

See Also:
Constant Field Values

RMAPP_FINISHED_VALUE

public static final int RMAPP_FINISHED_VALUE
RMAPP_FINISHED = 8;

See Also:
Constant Field Values

RMAPP_FAILED_VALUE

public static final int RMAPP_FAILED_VALUE
RMAPP_FAILED = 9;

See Also:
Constant Field Values

RMAPP_KILLED_VALUE

public static final int RMAPP_KILLED_VALUE
RMAPP_KILLED = 10;

See Also:
Constant Field Values
Method Detail

values

public static YarnServerResourceManagerServiceProtos.RMAppStateProto[] 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 (YarnServerResourceManagerServiceProtos.RMAppStateProto c : YarnServerResourceManagerServiceProtos.RMAppStateProto.values())
    System.out.println(c);

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

valueOf

public static YarnServerResourceManagerServiceProtos.RMAppStateProto 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 YarnServerResourceManagerServiceProtos.RMAppStateProto valueOf(int value)

internalGetValueMap

public static com.google.protobuf.Internal.EnumLiteMap<YarnServerResourceManagerServiceProtos.RMAppStateProto> 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 YarnServerResourceManagerServiceProtos.RMAppStateProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)


Copyright © 2014 Apache Software Foundation. All Rights Reserved.