public enum StoreType extends Enum<StoreType> implements org.tikv.shade.com.google.protobuf.ProtocolMessageEnum
tipb.StoreType| 枚举常量和说明 |
|---|
tidb
tidb = 1; |
tiflash
tiflash = 3; |
tikv
tikv = 2; |
UNRECOGNIZED |
unspecified
unspecified = 0; |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
tidb_VALUE
tidb = 1; |
static int |
tiflash_VALUE
tiflash = 3; |
static int |
tikv_VALUE
tikv = 2; |
static int |
unspecified_VALUE
unspecified = 0; |
| 限定符和类型 | 方法和说明 |
|---|---|
static StoreType |
forNumber(int value) |
static org.tikv.shade.com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
org.tikv.shade.com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
org.tikv.shade.com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static org.tikv.shade.com.google.protobuf.Internal.EnumLiteMap<StoreType> |
internalGetValueMap() |
static StoreType |
valueOf(org.tikv.shade.com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StoreType |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static StoreType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static StoreType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final StoreType unspecified
unspecified = 0;public static final StoreType tidb
tidb = 1;public static final StoreType tikv
tikv = 2;public static final StoreType tiflash
tiflash = 3;public static final StoreType UNRECOGNIZED
public static final int unspecified_VALUE
unspecified = 0;public static final int tidb_VALUE
tidb = 1;public static final int tikv_VALUE
tikv = 2;public static final int tiflash_VALUE
tiflash = 3;public static StoreType[] values()
for (StoreType c : StoreType.values()) System.out.println(c);
public static StoreType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 org.tikv.shade.com.google.protobuf.Internal.EnumLitegetNumber 在接口中 org.tikv.shade.com.google.protobuf.ProtocolMessageEnum@Deprecated public static StoreType valueOf(int value)
forNumber(int) instead.public static StoreType forNumber(int value)
public static org.tikv.shade.com.google.protobuf.Internal.EnumLiteMap<StoreType> internalGetValueMap()
public final org.tikv.shade.com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 org.tikv.shade.com.google.protobuf.ProtocolMessageEnumpublic final org.tikv.shade.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 org.tikv.shade.com.google.protobuf.ProtocolMessageEnumpublic static final org.tikv.shade.com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static StoreType valueOf(org.tikv.shade.com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 PingCAP. All rights reserved.