public static enum BinlogOuterClass.BinlogType extends Enum<BinlogOuterClass.BinlogType> implements com.google.protobuf.ProtocolMessageEnum
binlog.BinlogType| 枚举常量和说明 |
|---|
Commit
has start_ts, commit_ts.
|
PostDDL
Obsolete field.
|
PreDDL
Obsolete field.
|
Prewrite
has start_ts, prewrite_key, prewrite_value.
|
Rollback
has start_ts.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
Commit_VALUE
has start_ts, commit_ts.
|
static int |
PostDDL_VALUE
Obsolete field.
|
static int |
PreDDL_VALUE
Obsolete field.
|
static int |
Prewrite_VALUE
has start_ts, prewrite_key, prewrite_value.
|
static int |
Rollback_VALUE
has start_ts.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static BinlogOuterClass.BinlogType |
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<BinlogOuterClass.BinlogType> |
internalGetValueMap() |
static BinlogOuterClass.BinlogType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BinlogOuterClass.BinlogType |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static BinlogOuterClass.BinlogType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static BinlogOuterClass.BinlogType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final BinlogOuterClass.BinlogType Prewrite
has start_ts, prewrite_key, prewrite_value.
Prewrite = 0;public static final BinlogOuterClass.BinlogType Commit
has start_ts, commit_ts.
Commit = 1;public static final BinlogOuterClass.BinlogType Rollback
has start_ts.
Rollback = 2;public static final BinlogOuterClass.BinlogType PreDDL
Obsolete field.
PreDDL = 3;public static final BinlogOuterClass.BinlogType PostDDL
Obsolete field.
PostDDL = 4;public static final int Prewrite_VALUE
has start_ts, prewrite_key, prewrite_value.
Prewrite = 0;public static final int Commit_VALUE
has start_ts, commit_ts.
Commit = 1;public static final int Rollback_VALUE
has start_ts.
Rollback = 2;public static final int PreDDL_VALUE
Obsolete field.
PreDDL = 3;public static final int PostDDL_VALUE
Obsolete field.
PostDDL = 4;public static BinlogOuterClass.BinlogType[] values()
for (BinlogOuterClass.BinlogType c : BinlogOuterClass.BinlogType.values()) System.out.println(c);
public static BinlogOuterClass.BinlogType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static BinlogOuterClass.BinlogType valueOf(int value)
forNumber(int) instead.public static BinlogOuterClass.BinlogType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<BinlogOuterClass.BinlogType> 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 BinlogOuterClass.BinlogType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 PingCAP. All rights reserved.