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

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

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

Protobuf enum hadoop.yarn.ContainerExitStatusProto


Enum Constant Summary
ABORTED
          ABORTED = -100;
DISKS_FAILED
          DISKS_FAILED = -101;
INVALID
          INVALID = -1000;
SUCCESS
          SUCCESS = 0;
 
Field Summary
static int ABORTED_VALUE
          ABORTED = -100;
static int DISKS_FAILED_VALUE
          DISKS_FAILED = -101;
static int INVALID_VALUE
          INVALID = -1000;
static int SUCCESS_VALUE
          SUCCESS = 0;
 
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.ContainerExitStatusProto> internalGetValueMap()
           
static YarnProtos.ContainerExitStatusProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static YarnProtos.ContainerExitStatusProto valueOf(int value)
           
static YarnProtos.ContainerExitStatusProto valueOf(String name)
          Returns the enum constant of this type with the specified name.
static YarnProtos.ContainerExitStatusProto[] 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

SUCCESS

public static final YarnProtos.ContainerExitStatusProto SUCCESS
SUCCESS = 0;


INVALID

public static final YarnProtos.ContainerExitStatusProto INVALID
INVALID = -1000;


ABORTED

public static final YarnProtos.ContainerExitStatusProto ABORTED
ABORTED = -100;


DISKS_FAILED

public static final YarnProtos.ContainerExitStatusProto DISKS_FAILED
DISKS_FAILED = -101;

Field Detail

SUCCESS_VALUE

public static final int SUCCESS_VALUE
SUCCESS = 0;

See Also:
Constant Field Values

INVALID_VALUE

public static final int INVALID_VALUE
INVALID = -1000;

See Also:
Constant Field Values

ABORTED_VALUE

public static final int ABORTED_VALUE
ABORTED = -100;

See Also:
Constant Field Values

DISKS_FAILED_VALUE

public static final int DISKS_FAILED_VALUE
DISKS_FAILED = -101;

See Also:
Constant Field Values
Method Detail

values

public static YarnProtos.ContainerExitStatusProto[] 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.ContainerExitStatusProto c : YarnProtos.ContainerExitStatusProto.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.ContainerExitStatusProto 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.ContainerExitStatusProto valueOf(int value)

internalGetValueMap

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


Copyright © 2014 Apache Software Foundation. All Rights Reserved.