public static enum Pdpb.QueryKind extends Enum<Pdpb.QueryKind> implements com.google.protobuf.ProtocolMessageEnum
pdpb.QueryKind| 枚举常量和说明 |
|---|
AcquirePessimisticLock
AcquirePessimisticLock = 9; |
Commit
Commit = 10; |
Coprocessor
Coprocessor = 4; |
Delete
Delete = 5; |
DeleteRange
DeleteRange = 6; |
GC
GC = 1; |
Get
Get = 2; |
Others
Others = 0; |
Prewrite
Prewrite = 8; |
Put
Put = 7; |
Rollback
Rollback = 11; |
Scan
Scan = 3; |
UNRECOGNIZED |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
AcquirePessimisticLock_VALUE
AcquirePessimisticLock = 9; |
static int |
Commit_VALUE
Commit = 10; |
static int |
Coprocessor_VALUE
Coprocessor = 4; |
static int |
Delete_VALUE
Delete = 5; |
static int |
DeleteRange_VALUE
DeleteRange = 6; |
static int |
GC_VALUE
GC = 1; |
static int |
Get_VALUE
Get = 2; |
static int |
Others_VALUE
Others = 0; |
static int |
Prewrite_VALUE
Prewrite = 8; |
static int |
Put_VALUE
Put = 7; |
static int |
Rollback_VALUE
Rollback = 11; |
static int |
Scan_VALUE
Scan = 3; |
| 限定符和类型 | 方法和说明 |
|---|---|
static Pdpb.QueryKind |
forNumber(int value) |
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<Pdpb.QueryKind> |
internalGetValueMap() |
static Pdpb.QueryKind |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Pdpb.QueryKind |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static Pdpb.QueryKind |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Pdpb.QueryKind[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Pdpb.QueryKind Others
Others = 0;public static final Pdpb.QueryKind GC
GC = 1;public static final Pdpb.QueryKind Get
Get = 2;public static final Pdpb.QueryKind Scan
Scan = 3;public static final Pdpb.QueryKind Coprocessor
Coprocessor = 4;public static final Pdpb.QueryKind Delete
Delete = 5;public static final Pdpb.QueryKind DeleteRange
DeleteRange = 6;public static final Pdpb.QueryKind Put
Put = 7;public static final Pdpb.QueryKind Prewrite
Prewrite = 8;public static final Pdpb.QueryKind AcquirePessimisticLock
AcquirePessimisticLock = 9;public static final Pdpb.QueryKind Commit
Commit = 10;public static final Pdpb.QueryKind Rollback
Rollback = 11;public static final Pdpb.QueryKind UNRECOGNIZED
public static final int Others_VALUE
Others = 0;public static final int GC_VALUE
GC = 1;public static final int Get_VALUE
Get = 2;public static final int Scan_VALUE
Scan = 3;public static final int Coprocessor_VALUE
Coprocessor = 4;public static final int Delete_VALUE
Delete = 5;public static final int DeleteRange_VALUE
DeleteRange = 6;public static final int Put_VALUE
Put = 7;public static final int Prewrite_VALUE
Prewrite = 8;public static final int AcquirePessimisticLock_VALUE
AcquirePessimisticLock = 9;public static final int Commit_VALUE
Commit = 10;public static final int Rollback_VALUE
Rollback = 11;public static Pdpb.QueryKind[] values()
for (Pdpb.QueryKind c : Pdpb.QueryKind.values()) System.out.println(c);
public static Pdpb.QueryKind valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static Pdpb.QueryKind valueOf(int value)
forNumber(int) instead.public static Pdpb.QueryKind forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Pdpb.QueryKind> 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 Pdpb.QueryKind valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 PingCAP. All rights reserved.