public static enum AdminProtos.GetRegionInfoResponse.CompactionState extends Enum<AdminProtos.GetRegionInfoResponse.CompactionState> implements com.google.protobuf.ProtocolMessageEnum
GetRegionInfoResponse.CompactionState
Enum Constant and Description |
---|
MAJOR
MAJOR = 2; |
MAJOR_AND_MINOR
MAJOR_AND_MINOR = 3; |
MINOR
MINOR = 1; |
NONE
NONE = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
MAJOR_AND_MINOR_VALUE
MAJOR_AND_MINOR = 3; |
static int |
MAJOR_VALUE
MAJOR = 2; |
static int |
MINOR_VALUE
MINOR = 1; |
static int |
NONE_VALUE
NONE = 0; |
Modifier and Type | Method and Description |
---|---|
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<AdminProtos.GetRegionInfoResponse.CompactionState> |
internalGetValueMap() |
static AdminProtos.GetRegionInfoResponse.CompactionState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AdminProtos.GetRegionInfoResponse.CompactionState |
valueOf(int value) |
static AdminProtos.GetRegionInfoResponse.CompactionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdminProtos.GetRegionInfoResponse.CompactionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdminProtos.GetRegionInfoResponse.CompactionState NONE
NONE = 0;
public static final AdminProtos.GetRegionInfoResponse.CompactionState MINOR
MINOR = 1;
public static final AdminProtos.GetRegionInfoResponse.CompactionState MAJOR
MAJOR = 2;
public static final AdminProtos.GetRegionInfoResponse.CompactionState MAJOR_AND_MINOR
MAJOR_AND_MINOR = 3;
public static final int NONE_VALUE
NONE = 0;
public static final int MINOR_VALUE
MINOR = 1;
public static final int MAJOR_VALUE
MAJOR = 2;
public static final int MAJOR_AND_MINOR_VALUE
MAJOR_AND_MINOR = 3;
public static AdminProtos.GetRegionInfoResponse.CompactionState[] values()
for (AdminProtos.GetRegionInfoResponse.CompactionState c : AdminProtos.GetRegionInfoResponse.CompactionState.values()) System.out.println(c);
public static AdminProtos.GetRegionInfoResponse.CompactionState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static AdminProtos.GetRegionInfoResponse.CompactionState valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<AdminProtos.GetRegionInfoResponse.CompactionState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static AdminProtos.GetRegionInfoResponse.CompactionState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.