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