public static enum Kvrpcpb.Op extends Enum<Kvrpcpb.Op> implements com.google.protobuf.ProtocolMessageEnum
kvrpcpb.Op| 枚举常量和说明 |
|---|
CheckNotExists
CheckNotExists = 6; |
Del
Del = 1; |
Insert
insert operation has a constraint that key should not exist before.
|
Lock
Lock = 2; |
PessimisticLock
PessimisticLock = 5; |
Put
Put = 0; |
Rollback
Rollback = 3; |
UNRECOGNIZED |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CheckNotExists_VALUE
CheckNotExists = 6; |
static int |
Del_VALUE
Del = 1; |
static int |
Insert_VALUE
insert operation has a constraint that key should not exist before.
|
static int |
Lock_VALUE
Lock = 2; |
static int |
PessimisticLock_VALUE
PessimisticLock = 5; |
static int |
Put_VALUE
Put = 0; |
static int |
Rollback_VALUE
Rollback = 3; |
| 限定符和类型 | 方法和说明 |
|---|---|
static Kvrpcpb.Op |
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<Kvrpcpb.Op> |
internalGetValueMap() |
static Kvrpcpb.Op |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Kvrpcpb.Op |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static Kvrpcpb.Op |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Kvrpcpb.Op[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Kvrpcpb.Op Put
Put = 0;public static final Kvrpcpb.Op Del
Del = 1;public static final Kvrpcpb.Op Lock
Lock = 2;public static final Kvrpcpb.Op Rollback
Rollback = 3;public static final Kvrpcpb.Op Insert
insert operation has a constraint that key should not exist before.
Insert = 4;public static final Kvrpcpb.Op PessimisticLock
PessimisticLock = 5;public static final Kvrpcpb.Op CheckNotExists
CheckNotExists = 6;public static final Kvrpcpb.Op UNRECOGNIZED
public static final int Put_VALUE
Put = 0;public static final int Del_VALUE
Del = 1;public static final int Lock_VALUE
Lock = 2;public static final int Rollback_VALUE
Rollback = 3;public static final int Insert_VALUE
insert operation has a constraint that key should not exist before.
Insert = 4;public static final int PessimisticLock_VALUE
PessimisticLock = 5;public static final int CheckNotExists_VALUE
CheckNotExists = 6;public static Kvrpcpb.Op[] values()
for (Kvrpcpb.Op c : Kvrpcpb.Op.values()) System.out.println(c);
public static Kvrpcpb.Op valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static Kvrpcpb.Op valueOf(int value)
forNumber(int) instead.public static Kvrpcpb.Op forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Kvrpcpb.Op> 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 Kvrpcpb.Op valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 PingCAP. All rights reserved.