org.apache.tez.dag.api.records
Enum DAGProtos.DAGStatusStateProto

java.lang.Object
  extended by java.lang.Enum<DAGProtos.DAGStatusStateProto>
      extended by org.apache.tez.dag.api.records.DAGProtos.DAGStatusStateProto
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<DAGProtos.DAGStatusStateProto>
Enclosing class:
DAGProtos

public static enum DAGProtos.DAGStatusStateProto
extends Enum<DAGProtos.DAGStatusStateProto>
implements com.google.protobuf.ProtocolMessageEnum

Protobuf enum DAGStatusStateProto


Enum Constant Summary
DAG_ERROR
          DAG_ERROR = 6;
DAG_FAILED
          DAG_FAILED = 5;
DAG_INITING
          DAG_INITING = 1;
DAG_KILLED
          DAG_KILLED = 4;
DAG_RUNNING
          DAG_RUNNING = 2;
DAG_SUBMITTED
          DAG_SUBMITTED = 0;
DAG_SUCCEEDED
          DAG_SUCCEEDED = 3;
DAG_TERMINATING
          DAG_TERMINATING = 7;
 
Field Summary
static int DAG_ERROR_VALUE
          DAG_ERROR = 6;
static int DAG_FAILED_VALUE
          DAG_FAILED = 5;
static int DAG_INITING_VALUE
          DAG_INITING = 1;
static int DAG_KILLED_VALUE
          DAG_KILLED = 4;
static int DAG_RUNNING_VALUE
          DAG_RUNNING = 2;
static int DAG_SUBMITTED_VALUE
          DAG_SUBMITTED = 0;
static int DAG_SUCCEEDED_VALUE
          DAG_SUCCEEDED = 3;
static int DAG_TERMINATING_VALUE
          DAG_TERMINATING = 7;
 
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<DAGProtos.DAGStatusStateProto> internalGetValueMap()
           
static DAGProtos.DAGStatusStateProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static DAGProtos.DAGStatusStateProto valueOf(int value)
           
static DAGProtos.DAGStatusStateProto valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DAGProtos.DAGStatusStateProto[] 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

DAG_SUBMITTED

public static final DAGProtos.DAGStatusStateProto DAG_SUBMITTED
DAG_SUBMITTED = 0;


DAG_INITING

public static final DAGProtos.DAGStatusStateProto DAG_INITING
DAG_INITING = 1;


DAG_RUNNING

public static final DAGProtos.DAGStatusStateProto DAG_RUNNING
DAG_RUNNING = 2;


DAG_SUCCEEDED

public static final DAGProtos.DAGStatusStateProto DAG_SUCCEEDED
DAG_SUCCEEDED = 3;


DAG_KILLED

public static final DAGProtos.DAGStatusStateProto DAG_KILLED
DAG_KILLED = 4;


DAG_FAILED

public static final DAGProtos.DAGStatusStateProto DAG_FAILED
DAG_FAILED = 5;


DAG_ERROR

public static final DAGProtos.DAGStatusStateProto DAG_ERROR
DAG_ERROR = 6;


DAG_TERMINATING

public static final DAGProtos.DAGStatusStateProto DAG_TERMINATING
DAG_TERMINATING = 7;

Field Detail

DAG_SUBMITTED_VALUE

public static final int DAG_SUBMITTED_VALUE
DAG_SUBMITTED = 0;

See Also:
Constant Field Values

DAG_INITING_VALUE

public static final int DAG_INITING_VALUE
DAG_INITING = 1;

See Also:
Constant Field Values

DAG_RUNNING_VALUE

public static final int DAG_RUNNING_VALUE
DAG_RUNNING = 2;

See Also:
Constant Field Values

DAG_SUCCEEDED_VALUE

public static final int DAG_SUCCEEDED_VALUE
DAG_SUCCEEDED = 3;

See Also:
Constant Field Values

DAG_KILLED_VALUE

public static final int DAG_KILLED_VALUE
DAG_KILLED = 4;

See Also:
Constant Field Values

DAG_FAILED_VALUE

public static final int DAG_FAILED_VALUE
DAG_FAILED = 5;

See Also:
Constant Field Values

DAG_ERROR_VALUE

public static final int DAG_ERROR_VALUE
DAG_ERROR = 6;

See Also:
Constant Field Values

DAG_TERMINATING_VALUE

public static final int DAG_TERMINATING_VALUE
DAG_TERMINATING = 7;

See Also:
Constant Field Values
Method Detail

values

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

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

valueOf

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

internalGetValueMap

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


Copyright © 2014 Apache Software Foundation. All rights reserved.