public static enum BinlogOuterClass.BinlogType extends Enum<BinlogOuterClass.BinlogType> implements com.google.protobuf.ProtocolMessageEnum
binlog.BinlogType| Enum Constant and Description |
|---|
Commit
has start_ts, commit_ts.
|
PostDDL
Obsolete field.
|
PreDDL
Obsolete field.
|
Prewrite
has start_ts, prewrite_key, prewrite_value.
|
Rollback
has start_ts.
|
| Modifier and Type | Field and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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)
Deprecated.
Use
forNumber(int) instead. |
static BinlogOuterClass.BinlogType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinlogOuterClass.BinlogType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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 - 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 BinlogOuterClass.BinlogType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BinlogOuterClass.BinlogType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BinlogOuterClass.BinlogType> 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 BinlogOuterClass.BinlogType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 PingCAP. All rights reserved.