org.hbase.async.generated
Enum ZooKeeperPB.ReplicationState.State

java.lang.Object
  extended by java.lang.Enum<ZooKeeperPB.ReplicationState.State>
      extended by org.hbase.async.generated.ZooKeeperPB.ReplicationState.State
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, Serializable, Comparable<ZooKeeperPB.ReplicationState.State>
Enclosing class:
ZooKeeperPB.ReplicationState

public static enum ZooKeeperPB.ReplicationState.State
extends Enum<ZooKeeperPB.ReplicationState.State>
implements com.google.protobuf.Internal.EnumLite

Protobuf enum ReplicationState.State


Enum Constant Summary
DISABLED
          DISABLED = 1;
ENABLED
          ENABLED = 0;
 
Field Summary
static int DISABLED_VALUE
          DISABLED = 1;
static int ENABLED_VALUE
          ENABLED = 0;
 
Method Summary
 int getNumber()
           
static com.google.protobuf.Internal.EnumLiteMap<ZooKeeperPB.ReplicationState.State> internalGetValueMap()
           
static ZooKeeperPB.ReplicationState.State valueOf(int value)
           
static ZooKeeperPB.ReplicationState.State valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ZooKeeperPB.ReplicationState.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

ENABLED

public static final ZooKeeperPB.ReplicationState.State ENABLED
ENABLED = 0;


DISABLED

public static final ZooKeeperPB.ReplicationState.State DISABLED
DISABLED = 1;

Field Detail

ENABLED_VALUE

public static final int ENABLED_VALUE
ENABLED = 0;

See Also:
Constant Field Values

DISABLED_VALUE

public static final int DISABLED_VALUE
DISABLED = 1;

See Also:
Constant Field Values
Method Detail

values

public static ZooKeeperPB.ReplicationState.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 (ZooKeeperPB.ReplicationState.State c : ZooKeeperPB.ReplicationState.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 ZooKeeperPB.ReplicationState.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

valueOf

public static ZooKeeperPB.ReplicationState.State valueOf(int value)

internalGetValueMap

public static com.google.protobuf.Internal.EnumLiteMap<ZooKeeperPB.ReplicationState.State> internalGetValueMap()


Copyright © 2010-2015, The Async HBase Authors