org.hbase.async.generated
Enum ZooKeeperPB.ReplicationState.State
java.lang.Object
java.lang.Enum<ZooKeeperPB.ReplicationState.State>
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
ENABLED
public static final ZooKeeperPB.ReplicationState.State ENABLED
ENABLED = 0;
DISABLED
public static final ZooKeeperPB.ReplicationState.State DISABLED
DISABLED = 1;
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
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