org.apache.hadoop.hbase.protobuf.generated
Enum HBaseProtos.RegionSpecifier.RegionSpecifierType
java.lang.Object
java.lang.Enum<HBaseProtos.RegionSpecifier.RegionSpecifierType>
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.RegionSpecifierType
- All Implemented Interfaces:
- com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<HBaseProtos.RegionSpecifier.RegionSpecifierType>
- Enclosing class:
- HBaseProtos.RegionSpecifier
public static enum HBaseProtos.RegionSpecifier.RegionSpecifierType
- extends Enum<HBaseProtos.RegionSpecifier.RegionSpecifierType>
- implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum RegionSpecifier.RegionSpecifierType
REGION_NAME
public static final HBaseProtos.RegionSpecifier.RegionSpecifierType REGION_NAME
REGION_NAME = 1;
<tablename>,<startkey>,<regionId>.<encodedName>
ENCODED_REGION_NAME
public static final HBaseProtos.RegionSpecifier.RegionSpecifierType ENCODED_REGION_NAME
ENCODED_REGION_NAME = 2;
hash of <tablename>,<startkey>,<regionId>
REGION_NAME_VALUE
public static final int REGION_NAME_VALUE
REGION_NAME = 1;
<tablename>,<startkey>,<regionId>.<encodedName>
- See Also:
- Constant Field Values
ENCODED_REGION_NAME_VALUE
public static final int ENCODED_REGION_NAME_VALUE
ENCODED_REGION_NAME = 2;
hash of <tablename>,<startkey>,<regionId>
- See Also:
- Constant Field Values
values
public static HBaseProtos.RegionSpecifier.RegionSpecifierType[] 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 (HBaseProtos.RegionSpecifier.RegionSpecifierType c : HBaseProtos.RegionSpecifier.RegionSpecifierType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static HBaseProtos.RegionSpecifier.RegionSpecifierType 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 HBaseProtos.RegionSpecifier.RegionSpecifierType valueOf(int value)
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<HBaseProtos.RegionSpecifier.RegionSpecifierType> 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 HBaseProtos.RegionSpecifier.RegionSpecifierType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.