org.apache.hadoop.yarn.proto
Enum YarnProtos.YarnApplicationAttemptStateProto

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

public static enum YarnProtos.YarnApplicationAttemptStateProto
extends Enum<YarnProtos.YarnApplicationAttemptStateProto>
implements com.google.protobuf.ProtocolMessageEnum

Protobuf enum hadoop.yarn.YarnApplicationAttemptStateProto


Enum Constant Summary
APP_ATTEMPT_ALLOCATED
          APP_ATTEMPT_ALLOCATED = 5;
APP_ATTEMPT_ALLOCATED_SAVING
          APP_ATTEMPT_ALLOCATED_SAVING = 4;
APP_ATTEMPT_FAILED
          APP_ATTEMPT_FAILED = 7;
APP_ATTEMPT_FINISHED
          APP_ATTEMPT_FINISHED = 10;
APP_ATTEMPT_FINISHING
          APP_ATTEMPT_FINISHING = 9;
APP_ATTEMPT_KILLED
          APP_ATTEMPT_KILLED = 11;
APP_ATTEMPT_LAUNCHED
          APP_ATTEMPT_LAUNCHED = 6;
APP_ATTEMPT_NEW
          APP_ATTEMPT_NEW = 1;
APP_ATTEMPT_RUNNING
          APP_ATTEMPT_RUNNING = 8;
APP_ATTEMPT_SCHEDULED
          APP_ATTEMPT_SCHEDULED = 3;
APP_ATTEMPT_SUBMITTED
          APP_ATTEMPT_SUBMITTED = 2;
 
Field Summary
static int APP_ATTEMPT_ALLOCATED_SAVING_VALUE
          APP_ATTEMPT_ALLOCATED_SAVING = 4;
static int APP_ATTEMPT_ALLOCATED_VALUE
          APP_ATTEMPT_ALLOCATED = 5;
static int APP_ATTEMPT_FAILED_VALUE
          APP_ATTEMPT_FAILED = 7;
static int APP_ATTEMPT_FINISHED_VALUE
          APP_ATTEMPT_FINISHED = 10;
static int APP_ATTEMPT_FINISHING_VALUE
          APP_ATTEMPT_FINISHING = 9;
static int APP_ATTEMPT_KILLED_VALUE
          APP_ATTEMPT_KILLED = 11;
static int APP_ATTEMPT_LAUNCHED_VALUE
          APP_ATTEMPT_LAUNCHED = 6;
static int APP_ATTEMPT_NEW_VALUE
          APP_ATTEMPT_NEW = 1;
static int APP_ATTEMPT_RUNNING_VALUE
          APP_ATTEMPT_RUNNING = 8;
static int APP_ATTEMPT_SCHEDULED_VALUE
          APP_ATTEMPT_SCHEDULED = 3;
static int APP_ATTEMPT_SUBMITTED_VALUE
          APP_ATTEMPT_SUBMITTED = 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<YarnProtos.YarnApplicationAttemptStateProto> internalGetValueMap()
           
static YarnProtos.YarnApplicationAttemptStateProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static YarnProtos.YarnApplicationAttemptStateProto valueOf(int value)
           
static YarnProtos.YarnApplicationAttemptStateProto valueOf(String name)
          Returns the enum constant of this type with the specified name.
static YarnProtos.YarnApplicationAttemptStateProto[] 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

APP_ATTEMPT_NEW

public static final YarnProtos.YarnApplicationAttemptStateProto APP_ATTEMPT_NEW
APP_ATTEMPT_NEW = 1;


APP_ATTEMPT_SUBMITTED

public static final YarnProtos.YarnApplicationAttemptStateProto APP_ATTEMPT_SUBMITTED
APP_ATTEMPT_SUBMITTED = 2;


APP_ATTEMPT_SCHEDULED

public static final YarnProtos.YarnApplicationAttemptStateProto APP_ATTEMPT_SCHEDULED
APP_ATTEMPT_SCHEDULED = 3;


APP_ATTEMPT_ALLOCATED_SAVING

public static final YarnProtos.YarnApplicationAttemptStateProto APP_ATTEMPT_ALLOCATED_SAVING
APP_ATTEMPT_ALLOCATED_SAVING = 4;


APP_ATTEMPT_ALLOCATED

public static final YarnProtos.YarnApplicationAttemptStateProto APP_ATTEMPT_ALLOCATED
APP_ATTEMPT_ALLOCATED = 5;


APP_ATTEMPT_LAUNCHED

public static final YarnProtos.YarnApplicationAttemptStateProto APP_ATTEMPT_LAUNCHED
APP_ATTEMPT_LAUNCHED = 6;


APP_ATTEMPT_FAILED

public static final YarnProtos.YarnApplicationAttemptStateProto APP_ATTEMPT_FAILED
APP_ATTEMPT_FAILED = 7;


APP_ATTEMPT_RUNNING

public static final YarnProtos.YarnApplicationAttemptStateProto APP_ATTEMPT_RUNNING
APP_ATTEMPT_RUNNING = 8;


APP_ATTEMPT_FINISHING

public static final YarnProtos.YarnApplicationAttemptStateProto APP_ATTEMPT_FINISHING
APP_ATTEMPT_FINISHING = 9;


APP_ATTEMPT_FINISHED

public static final YarnProtos.YarnApplicationAttemptStateProto APP_ATTEMPT_FINISHED
APP_ATTEMPT_FINISHED = 10;


APP_ATTEMPT_KILLED

public static final YarnProtos.YarnApplicationAttemptStateProto APP_ATTEMPT_KILLED
APP_ATTEMPT_KILLED = 11;

Field Detail

APP_ATTEMPT_NEW_VALUE

public static final int APP_ATTEMPT_NEW_VALUE
APP_ATTEMPT_NEW = 1;

See Also:
Constant Field Values

APP_ATTEMPT_SUBMITTED_VALUE

public static final int APP_ATTEMPT_SUBMITTED_VALUE
APP_ATTEMPT_SUBMITTED = 2;

See Also:
Constant Field Values

APP_ATTEMPT_SCHEDULED_VALUE

public static final int APP_ATTEMPT_SCHEDULED_VALUE
APP_ATTEMPT_SCHEDULED = 3;

See Also:
Constant Field Values

APP_ATTEMPT_ALLOCATED_SAVING_VALUE

public static final int APP_ATTEMPT_ALLOCATED_SAVING_VALUE
APP_ATTEMPT_ALLOCATED_SAVING = 4;

See Also:
Constant Field Values

APP_ATTEMPT_ALLOCATED_VALUE

public static final int APP_ATTEMPT_ALLOCATED_VALUE
APP_ATTEMPT_ALLOCATED = 5;

See Also:
Constant Field Values

APP_ATTEMPT_LAUNCHED_VALUE

public static final int APP_ATTEMPT_LAUNCHED_VALUE
APP_ATTEMPT_LAUNCHED = 6;

See Also:
Constant Field Values

APP_ATTEMPT_FAILED_VALUE

public static final int APP_ATTEMPT_FAILED_VALUE
APP_ATTEMPT_FAILED = 7;

See Also:
Constant Field Values

APP_ATTEMPT_RUNNING_VALUE

public static final int APP_ATTEMPT_RUNNING_VALUE
APP_ATTEMPT_RUNNING = 8;

See Also:
Constant Field Values

APP_ATTEMPT_FINISHING_VALUE

public static final int APP_ATTEMPT_FINISHING_VALUE
APP_ATTEMPT_FINISHING = 9;

See Also:
Constant Field Values

APP_ATTEMPT_FINISHED_VALUE

public static final int APP_ATTEMPT_FINISHED_VALUE
APP_ATTEMPT_FINISHED = 10;

See Also:
Constant Field Values

APP_ATTEMPT_KILLED_VALUE

public static final int APP_ATTEMPT_KILLED_VALUE
APP_ATTEMPT_KILLED = 11;

See Also:
Constant Field Values
Method Detail

values

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

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

valueOf

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

internalGetValueMap

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


Copyright © 2014 Apache Software Foundation. All Rights Reserved.