public static enum Pdpb.QueryKind extends Enum<Pdpb.QueryKind> implements com.google.protobuf.ProtocolMessageEnum
pdpb.QueryKind| Enum Constant and Description |
|---|
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 |
| Modifier and Type | Field and Description |
|---|---|
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; |
| Modifier and Type | Method and Description |
|---|---|
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)
Deprecated.
Use
forNumber(int) instead. |
static Pdpb.QueryKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Pdpb.QueryKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 - 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Pdpb.QueryKind valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Pdpb.QueryKind forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Pdpb.QueryKind> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Pdpb.QueryKind valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 PingCAP. All rights reserved.