org.apache.hadoop.hbase.protobuf.generated
Enum RegionServerStatusProtos.RegionStateTransition.TransitionCode

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

public static enum RegionServerStatusProtos.RegionStateTransition.TransitionCode
extends Enum<RegionServerStatusProtos.RegionStateTransition.TransitionCode>
implements com.google.protobuf.ProtocolMessageEnum

Protobuf enum RegionStateTransition.TransitionCode


Enum Constant Summary
CLOSED
          CLOSED = 2;
FAILED_OPEN
          FAILED_OPEN = 1;
MERGE_PONR
          MERGE_PONR = 6;
MERGE_REVERTED
          MERGE_REVERTED = 10;
MERGED
          MERGED = 8;
OPENED
          OPENED = 0;
READY_TO_MERGE
          READY_TO_MERGE = 4;
READY_TO_SPLIT
          READY_TO_SPLIT = 3;
SPLIT
          SPLIT = 7;
SPLIT_PONR
          SPLIT_PONR = 5;
SPLIT_REVERTED
          SPLIT_REVERTED = 9;
 
Field Summary
static int CLOSED_VALUE
          CLOSED = 2;
static int FAILED_OPEN_VALUE
          FAILED_OPEN = 1;
static int MERGE_PONR_VALUE
          MERGE_PONR = 6;
static int MERGE_REVERTED_VALUE
          MERGE_REVERTED = 10;
static int MERGED_VALUE
          MERGED = 8;
static int OPENED_VALUE
          OPENED = 0;
static int READY_TO_MERGE_VALUE
          READY_TO_MERGE = 4;
static int READY_TO_SPLIT_VALUE
          READY_TO_SPLIT = 3;
static int SPLIT_PONR_VALUE
          SPLIT_PONR = 5;
static int SPLIT_REVERTED_VALUE
          SPLIT_REVERTED = 9;
static int SPLIT_VALUE
          SPLIT = 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<RegionServerStatusProtos.RegionStateTransition.TransitionCode> internalGetValueMap()
           
static RegionServerStatusProtos.RegionStateTransition.TransitionCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
           
static RegionServerStatusProtos.RegionStateTransition.TransitionCode valueOf(int value)
           
static RegionServerStatusProtos.RegionStateTransition.TransitionCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RegionServerStatusProtos.RegionStateTransition.TransitionCode[] 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

OPENED

public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode OPENED
OPENED = 0;


FAILED_OPEN

public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode FAILED_OPEN
FAILED_OPEN = 1;


CLOSED

public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode CLOSED
CLOSED = 2;
 No failed_close, in which case region server will abort 
 


READY_TO_SPLIT

public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode READY_TO_SPLIT
READY_TO_SPLIT = 3;
 Ask master for ok to split/merge region(s) 
 


READY_TO_MERGE

public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode READY_TO_MERGE
READY_TO_MERGE = 4;


SPLIT_PONR

public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode SPLIT_PONR
SPLIT_PONR = 5;


MERGE_PONR

public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode MERGE_PONR
MERGE_PONR = 6;


SPLIT

public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode SPLIT
SPLIT = 7;


MERGED

public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode MERGED
MERGED = 8;


SPLIT_REVERTED

public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode SPLIT_REVERTED
SPLIT_REVERTED = 9;


MERGE_REVERTED

public static final RegionServerStatusProtos.RegionStateTransition.TransitionCode MERGE_REVERTED
MERGE_REVERTED = 10;

Field Detail

OPENED_VALUE

public static final int OPENED_VALUE
OPENED = 0;

See Also:
Constant Field Values

FAILED_OPEN_VALUE

public static final int FAILED_OPEN_VALUE
FAILED_OPEN = 1;

See Also:
Constant Field Values

CLOSED_VALUE

public static final int CLOSED_VALUE
CLOSED = 2;
 No failed_close, in which case region server will abort 
 

See Also:
Constant Field Values

READY_TO_SPLIT_VALUE

public static final int READY_TO_SPLIT_VALUE
READY_TO_SPLIT = 3;
 Ask master for ok to split/merge region(s) 
 

See Also:
Constant Field Values

READY_TO_MERGE_VALUE

public static final int READY_TO_MERGE_VALUE
READY_TO_MERGE = 4;

See Also:
Constant Field Values

SPLIT_PONR_VALUE

public static final int SPLIT_PONR_VALUE
SPLIT_PONR = 5;

See Also:
Constant Field Values

MERGE_PONR_VALUE

public static final int MERGE_PONR_VALUE
MERGE_PONR = 6;

See Also:
Constant Field Values

SPLIT_VALUE

public static final int SPLIT_VALUE
SPLIT = 7;

See Also:
Constant Field Values

MERGED_VALUE

public static final int MERGED_VALUE
MERGED = 8;

See Also:
Constant Field Values

SPLIT_REVERTED_VALUE

public static final int SPLIT_REVERTED_VALUE
SPLIT_REVERTED = 9;

See Also:
Constant Field Values

MERGE_REVERTED_VALUE

public static final int MERGE_REVERTED_VALUE
MERGE_REVERTED = 10;

See Also:
Constant Field Values
Method Detail

values

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

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

valueOf

public static RegionServerStatusProtos.RegionStateTransition.TransitionCode 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 RegionServerStatusProtos.RegionStateTransition.TransitionCode valueOf(int value)

internalGetValueMap

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


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