org.apache.hadoop.hbase.protobuf.generated
Enum ClusterStatusProtos.RegionState.State

java.lang.Object
  extended by java.lang.Enum<ClusterStatusProtos.RegionState.State>
      extended by org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ClusterStatusProtos.RegionState.State>
Enclosing class:
ClusterStatusProtos.RegionState

public static enum ClusterStatusProtos.RegionState.State
extends Enum<ClusterStatusProtos.RegionState.State>
implements com.google.protobuf.ProtocolMessageEnum


Enum Constant Summary
CLOSED
           
CLOSING
           
FAILED_CLOSE
           
FAILED_OPEN
           
OFFLINE
           
OPEN
           
OPENING
           
PENDING_CLOSE
           
PENDING_OPEN
           
SPLIT
           
SPLITTING
           
 
Field Summary
static int CLOSED_VALUE
           
static int CLOSING_VALUE
           
static int FAILED_CLOSE_VALUE
           
static int FAILED_OPEN_VALUE
           
static int OFFLINE_VALUE
           
static int OPEN_VALUE
           
static int OPENING_VALUE
           
static int PENDING_CLOSE_VALUE
           
static int PENDING_OPEN_VALUE
           
static int SPLIT_VALUE
           
static int SPLITTING_VALUE
           
 
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<ClusterStatusProtos.RegionState.State> internalGetValueMap()
           
static ClusterStatusProtos.RegionState.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static ClusterStatusProtos.RegionState.State valueOf(int value)
           
static ClusterStatusProtos.RegionState.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ClusterStatusProtos.RegionState.State[] 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

OFFLINE

public static final ClusterStatusProtos.RegionState.State OFFLINE

PENDING_OPEN

public static final ClusterStatusProtos.RegionState.State PENDING_OPEN

OPENING

public static final ClusterStatusProtos.RegionState.State OPENING

OPEN

public static final ClusterStatusProtos.RegionState.State OPEN

PENDING_CLOSE

public static final ClusterStatusProtos.RegionState.State PENDING_CLOSE

CLOSING

public static final ClusterStatusProtos.RegionState.State CLOSING

CLOSED

public static final ClusterStatusProtos.RegionState.State CLOSED

SPLITTING

public static final ClusterStatusProtos.RegionState.State SPLITTING

SPLIT

public static final ClusterStatusProtos.RegionState.State SPLIT

FAILED_OPEN

public static final ClusterStatusProtos.RegionState.State FAILED_OPEN

FAILED_CLOSE

public static final ClusterStatusProtos.RegionState.State FAILED_CLOSE
Field Detail

OFFLINE_VALUE

public static final int OFFLINE_VALUE
See Also:
Constant Field Values

PENDING_OPEN_VALUE

public static final int PENDING_OPEN_VALUE
See Also:
Constant Field Values

OPENING_VALUE

public static final int OPENING_VALUE
See Also:
Constant Field Values

OPEN_VALUE

public static final int OPEN_VALUE
See Also:
Constant Field Values

PENDING_CLOSE_VALUE

public static final int PENDING_CLOSE_VALUE
See Also:
Constant Field Values

CLOSING_VALUE

public static final int CLOSING_VALUE
See Also:
Constant Field Values

CLOSED_VALUE

public static final int CLOSED_VALUE
See Also:
Constant Field Values

SPLITTING_VALUE

public static final int SPLITTING_VALUE
See Also:
Constant Field Values

SPLIT_VALUE

public static final int SPLIT_VALUE
See Also:
Constant Field Values

FAILED_OPEN_VALUE

public static final int FAILED_OPEN_VALUE
See Also:
Constant Field Values

FAILED_CLOSE_VALUE

public static final int FAILED_CLOSE_VALUE
See Also:
Constant Field Values
Method Detail

values

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

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

valueOf

public static ClusterStatusProtos.RegionState.State 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 ClusterStatusProtos.RegionState.State valueOf(int value)

internalGetValueMap

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


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.