public static enum QuotaProtos.ThrottleType extends Enum<QuotaProtos.ThrottleType> implements com.google.protobuf.ProtocolMessageEnum
hbase.pb.ThrottleType| 枚举常量和说明 |
|---|
READ_NUMBER
READ_NUMBER = 5; |
READ_SIZE
READ_SIZE = 6; |
REQUEST_NUMBER
REQUEST_NUMBER = 1; |
REQUEST_SIZE
REQUEST_SIZE = 2; |
WRITE_NUMBER
WRITE_NUMBER = 3; |
WRITE_SIZE
WRITE_SIZE = 4; |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
READ_NUMBER_VALUE
READ_NUMBER = 5; |
static int |
READ_SIZE_VALUE
READ_SIZE = 6; |
static int |
REQUEST_NUMBER_VALUE
REQUEST_NUMBER = 1; |
static int |
REQUEST_SIZE_VALUE
REQUEST_SIZE = 2; |
static int |
WRITE_NUMBER_VALUE
WRITE_NUMBER = 3; |
static int |
WRITE_SIZE_VALUE
WRITE_SIZE = 4; |
| 限定符和类型 | 方法和说明 |
|---|---|
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<QuotaProtos.ThrottleType> |
internalGetValueMap() |
static QuotaProtos.ThrottleType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static QuotaProtos.ThrottleType |
valueOf(int value) |
static QuotaProtos.ThrottleType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static QuotaProtos.ThrottleType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final QuotaProtos.ThrottleType REQUEST_NUMBER
REQUEST_NUMBER = 1;public static final QuotaProtos.ThrottleType REQUEST_SIZE
REQUEST_SIZE = 2;public static final QuotaProtos.ThrottleType WRITE_NUMBER
WRITE_NUMBER = 3;public static final QuotaProtos.ThrottleType WRITE_SIZE
WRITE_SIZE = 4;public static final QuotaProtos.ThrottleType READ_NUMBER
READ_NUMBER = 5;public static final QuotaProtos.ThrottleType READ_SIZE
READ_SIZE = 6;public static final int REQUEST_NUMBER_VALUE
REQUEST_NUMBER = 1;public static final int REQUEST_SIZE_VALUE
REQUEST_SIZE = 2;public static final int WRITE_NUMBER_VALUE
WRITE_NUMBER = 3;public static final int WRITE_SIZE_VALUE
WRITE_SIZE = 4;public static final int READ_NUMBER_VALUE
READ_NUMBER = 5;public static final int READ_SIZE_VALUE
READ_SIZE = 6;public static QuotaProtos.ThrottleType[] values()
for (QuotaProtos.ThrottleType c : QuotaProtos.ThrottleType.values()) System.out.println(c);
public static QuotaProtos.ThrottleType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static QuotaProtos.ThrottleType valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<QuotaProtos.ThrottleType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static QuotaProtos.ThrottleType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2007–2019. All rights reserved.