public static enum Kvrpcpb.Action extends Enum<Kvrpcpb.Action> implements com.google.protobuf.ProtocolMessageEnum
kvrpcpb.Action
Enum Constant and Description |
---|
LockNotExistDoNothing
LockNotExistDoNothing = 5; |
LockNotExistRollback
LockNotExistRollback = 2; |
MinCommitTSPushed
MinCommitTSPushed = 3; |
NoAction
NoAction = 0; |
TTLExpirePessimisticRollback
TTLExpirePessimisticRollback = 4; |
TTLExpireRollback
TTLExpireRollback = 1; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
LockNotExistDoNothing_VALUE
LockNotExistDoNothing = 5; |
static int |
LockNotExistRollback_VALUE
LockNotExistRollback = 2; |
static int |
MinCommitTSPushed_VALUE
MinCommitTSPushed = 3; |
static int |
NoAction_VALUE
NoAction = 0; |
static int |
TTLExpirePessimisticRollback_VALUE
TTLExpirePessimisticRollback = 4; |
static int |
TTLExpireRollback_VALUE
TTLExpireRollback = 1; |
Modifier and Type | Method and Description |
---|---|
static Kvrpcpb.Action |
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.Action> |
internalGetValueMap() |
static Kvrpcpb.Action |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Kvrpcpb.Action |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Kvrpcpb.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Kvrpcpb.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Kvrpcpb.Action NoAction
NoAction = 0;
public static final Kvrpcpb.Action TTLExpireRollback
TTLExpireRollback = 1;
public static final Kvrpcpb.Action LockNotExistRollback
LockNotExistRollback = 2;
public static final Kvrpcpb.Action MinCommitTSPushed
MinCommitTSPushed = 3;
public static final Kvrpcpb.Action TTLExpirePessimisticRollback
TTLExpirePessimisticRollback = 4;
public static final Kvrpcpb.Action LockNotExistDoNothing
LockNotExistDoNothing = 5;
public static final Kvrpcpb.Action UNRECOGNIZED
public static final int NoAction_VALUE
NoAction = 0;
public static final int TTLExpireRollback_VALUE
TTLExpireRollback = 1;
public static final int LockNotExistRollback_VALUE
LockNotExistRollback = 2;
public static final int MinCommitTSPushed_VALUE
MinCommitTSPushed = 3;
public static final int TTLExpirePessimisticRollback_VALUE
TTLExpirePessimisticRollback = 4;
public static final int LockNotExistDoNothing_VALUE
LockNotExistDoNothing = 5;
public static Kvrpcpb.Action[] values()
for (Kvrpcpb.Action c : Kvrpcpb.Action.values()) System.out.println(c);
public static Kvrpcpb.Action 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static Kvrpcpb.Action valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Kvrpcpb.Action forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Kvrpcpb.Action> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Kvrpcpb.Action valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 PingCAP. All rights reserved.