public static enum BinlogOuterClass.MutationType extends Enum<BinlogOuterClass.MutationType> implements com.google.protobuf.ProtocolMessageEnum
binlog.MutationType
Enum Constant and Description |
---|
DeleteID
Obsolete field.
|
DeletePK
Obsolete field.
|
DeleteRow
DeleteRow = 4; |
Insert
Insert = 0; |
Update
Update = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
DeleteID_VALUE
Obsolete field.
|
static int |
DeletePK_VALUE
Obsolete field.
|
static int |
DeleteRow_VALUE
DeleteRow = 4; |
static int |
Insert_VALUE
Insert = 0; |
static int |
Update_VALUE
Update = 1; |
Modifier and Type | Method and Description |
---|---|
static BinlogOuterClass.MutationType |
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.MutationType> |
internalGetValueMap() |
static BinlogOuterClass.MutationType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BinlogOuterClass.MutationType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BinlogOuterClass.MutationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinlogOuterClass.MutationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinlogOuterClass.MutationType Insert
Insert = 0;
public static final BinlogOuterClass.MutationType Update
Update = 1;
public static final BinlogOuterClass.MutationType DeleteID
Obsolete field.
DeleteID = 2;
public static final BinlogOuterClass.MutationType DeletePK
Obsolete field.
DeletePK = 3;
public static final BinlogOuterClass.MutationType DeleteRow
DeleteRow = 4;
public static final int Insert_VALUE
Insert = 0;
public static final int Update_VALUE
Update = 1;
public static final int DeleteID_VALUE
Obsolete field.
DeleteID = 2;
public static final int DeletePK_VALUE
Obsolete field.
DeletePK = 3;
public static final int DeleteRow_VALUE
DeleteRow = 4;
public static BinlogOuterClass.MutationType[] values()
for (BinlogOuterClass.MutationType c : BinlogOuterClass.MutationType.values()) System.out.println(c);
public static BinlogOuterClass.MutationType 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 BinlogOuterClass.MutationType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static BinlogOuterClass.MutationType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BinlogOuterClass.MutationType> 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 BinlogOuterClass.MutationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 PingCAP. All rights reserved.