org.apache.tez.dag.api.client.rpc
Enum DAGClientAMProtocolRPC.TezSessionStatusProto

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

public static enum DAGClientAMProtocolRPC.TezSessionStatusProto
extends Enum<DAGClientAMProtocolRPC.TezSessionStatusProto>
implements com.google.protobuf.ProtocolMessageEnum

Protobuf enum TezSessionStatusProto


Enum Constant Summary
INITIALIZING
          INITIALIZING = 0;
READY
          READY = 1;
RUNNING
          RUNNING = 2;
SHUTDOWN
          SHUTDOWN = 3;
 
Field Summary
static int INITIALIZING_VALUE
          INITIALIZING = 0;
static int READY_VALUE
          READY = 1;
static int RUNNING_VALUE
          RUNNING = 2;
static int SHUTDOWN_VALUE
          SHUTDOWN = 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<DAGClientAMProtocolRPC.TezSessionStatusProto> internalGetValueMap()
           
static DAGClientAMProtocolRPC.TezSessionStatusProto valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static DAGClientAMProtocolRPC.TezSessionStatusProto valueOf(int value)
           
static DAGClientAMProtocolRPC.TezSessionStatusProto valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DAGClientAMProtocolRPC.TezSessionStatusProto[] 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

INITIALIZING

public static final DAGClientAMProtocolRPC.TezSessionStatusProto INITIALIZING
INITIALIZING = 0;


READY

public static final DAGClientAMProtocolRPC.TezSessionStatusProto READY
READY = 1;


RUNNING

public static final DAGClientAMProtocolRPC.TezSessionStatusProto RUNNING
RUNNING = 2;


SHUTDOWN

public static final DAGClientAMProtocolRPC.TezSessionStatusProto SHUTDOWN
SHUTDOWN = 3;

Field Detail

INITIALIZING_VALUE

public static final int INITIALIZING_VALUE
INITIALIZING = 0;

See Also:
Constant Field Values

READY_VALUE

public static final int READY_VALUE
READY = 1;

See Also:
Constant Field Values

RUNNING_VALUE

public static final int RUNNING_VALUE
RUNNING = 2;

See Also:
Constant Field Values

SHUTDOWN_VALUE

public static final int SHUTDOWN_VALUE
SHUTDOWN = 3;

See Also:
Constant Field Values
Method Detail

values

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

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

valueOf

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

internalGetValueMap

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


Copyright © 2014 Apache Software Foundation. All rights reserved.