public static enum Cdcpb.ChangeDataRequest.KvAPI extends Enum<Cdcpb.ChangeDataRequest.KvAPI> implements com.google.protobuf.ProtocolMessageEnum
KvAPI specifies to capture data written by different KV API. See more details in https://github.com/tikv/rfcs/blob/master/text/0069-api-v2.md.Protobuf enum
cdcpb.ChangeDataRequest.KvAPI
Enum Constant and Description |
---|
RawKV
RawKV = 1; |
TiDB
TiDB = 0; |
TxnKV
TxnKV = 2; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
RawKV_VALUE
RawKV = 1; |
static int |
TiDB_VALUE
TiDB = 0; |
static int |
TxnKV_VALUE
TxnKV = 2; |
Modifier and Type | Method and Description |
---|---|
static Cdcpb.ChangeDataRequest.KvAPI |
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<Cdcpb.ChangeDataRequest.KvAPI> |
internalGetValueMap() |
static Cdcpb.ChangeDataRequest.KvAPI |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Cdcpb.ChangeDataRequest.KvAPI |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cdcpb.ChangeDataRequest.KvAPI |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cdcpb.ChangeDataRequest.KvAPI[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cdcpb.ChangeDataRequest.KvAPI TiDB
TiDB = 0;
public static final Cdcpb.ChangeDataRequest.KvAPI RawKV
RawKV = 1;
public static final Cdcpb.ChangeDataRequest.KvAPI TxnKV
TxnKV = 2;
public static final Cdcpb.ChangeDataRequest.KvAPI UNRECOGNIZED
public static final int TiDB_VALUE
TiDB = 0;
public static final int RawKV_VALUE
RawKV = 1;
public static final int TxnKV_VALUE
TxnKV = 2;
public static Cdcpb.ChangeDataRequest.KvAPI[] values()
for (Cdcpb.ChangeDataRequest.KvAPI c : Cdcpb.ChangeDataRequest.KvAPI.values()) System.out.println(c);
public static Cdcpb.ChangeDataRequest.KvAPI 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 Cdcpb.ChangeDataRequest.KvAPI valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Cdcpb.ChangeDataRequest.KvAPI forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Cdcpb.ChangeDataRequest.KvAPI> 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 Cdcpb.ChangeDataRequest.KvAPI valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 PingCAP. All rights reserved.