public static final class CanalEntry.Header extends com.google.protobuf.GeneratedMessage implements CanalEntry.HeaderOrBuilder
com.alibaba.otter.canal.protocol.Header
message Header*
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CanalEntry.Header.Builder
Protobuf type
com.alibaba.otter.canal.protocol.Header
message Header*
|
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| 限定符和类型 | 字段和说明 |
|---|---|
static int |
EVENTLENGTH_FIELD_NUMBER |
static int |
EVENTTYPE_FIELD_NUMBER |
static int |
EXECUTETIME_FIELD_NUMBER |
static int |
GTID_FIELD_NUMBER |
static int |
LOGFILENAME_FIELD_NUMBER |
static int |
LOGFILEOFFSET_FIELD_NUMBER |
static com.google.protobuf.Parser<CanalEntry.Header> |
PARSER |
static int |
PROPS_FIELD_NUMBER |
static int |
SCHEMANAME_FIELD_NUMBER |
static int |
SERVERENCODE_FIELD_NUMBER |
static int |
SERVERID_FIELD_NUMBER |
static int |
SOURCETYPE_FIELD_NUMBER |
static int |
TABLENAME_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
static CanalEntry.Header |
getDefaultInstance() |
CanalEntry.Header |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getEventLength()
optional int64 eventLength = 10;
每个event的长度*
|
CanalEntry.EventType |
getEventType()
optional .com.alibaba.otter.canal.protocol.EventType eventType = 11 [default = UPDATE];
数据变更类型*
|
long |
getExecuteTime()
optional int64 executeTime = 6;
变更数据的执行时间 *
|
java.lang.String |
getGtid()
optional string gtid = 13;
当前事务的gitd*
|
com.google.protobuf.ByteString |
getGtidBytes()
optional string gtid = 13;
当前事务的gitd*
|
java.lang.String |
getLogfileName()
optional string logfileName = 2;
binlog/redolog 文件名*
|
com.google.protobuf.ByteString |
getLogfileNameBytes()
optional string logfileName = 2;
binlog/redolog 文件名*
|
long |
getLogfileOffset()
optional int64 logfileOffset = 3;
binlog/redolog 文件的偏移位置*
|
com.google.protobuf.Parser<CanalEntry.Header> |
getParserForType() |
CanalEntry.Pair |
getProps(int index)
repeated .com.alibaba.otter.canal.protocol.Pair props = 12;
预留扩展*
|
int |
getPropsCount()
repeated .com.alibaba.otter.canal.protocol.Pair props = 12;
预留扩展*
|
java.util.List<CanalEntry.Pair> |
getPropsList()
repeated .com.alibaba.otter.canal.protocol.Pair props = 12;
预留扩展*
|
CanalEntry.PairOrBuilder |
getPropsOrBuilder(int index)
repeated .com.alibaba.otter.canal.protocol.Pair props = 12;
预留扩展*
|
java.util.List<? extends CanalEntry.PairOrBuilder> |
getPropsOrBuilderList()
repeated .com.alibaba.otter.canal.protocol.Pair props = 12;
预留扩展*
|
java.lang.String |
getSchemaName()
optional string schemaName = 8;
变更数据的schemaname*
|
com.google.protobuf.ByteString |
getSchemaNameBytes()
optional string schemaName = 8;
变更数据的schemaname*
|
int |
getSerializedSize() |
java.lang.String |
getServerenCode()
optional string serverenCode = 5;
变更数据的编码 *
|
com.google.protobuf.ByteString |
getServerenCodeBytes()
optional string serverenCode = 5;
变更数据的编码 *
|
long |
getServerId()
optional int64 serverId = 4;
服务端serverId*
|
CanalEntry.Type |
getSourceType()
optional .com.alibaba.otter.canal.protocol.Type sourceType = 7 [default = MYSQL];
变更数据的来源*
|
java.lang.String |
getTableName()
optional string tableName = 9;
变更数据的tablename*
|
com.google.protobuf.ByteString |
getTableNameBytes()
optional string tableName = 9;
变更数据的tablename*
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getVersion()
optional int32 version = 1 [default = 1];
协议的版本号*
|
boolean |
hasEventLength()
optional int64 eventLength = 10;
每个event的长度*
|
boolean |
hasEventType()
optional .com.alibaba.otter.canal.protocol.EventType eventType = 11 [default = UPDATE];
数据变更类型*
|
boolean |
hasExecuteTime()
optional int64 executeTime = 6;
变更数据的执行时间 *
|
boolean |
hasGtid()
optional string gtid = 13;
当前事务的gitd*
|
boolean |
hasLogfileName()
optional string logfileName = 2;
binlog/redolog 文件名*
|
boolean |
hasLogfileOffset()
optional int64 logfileOffset = 3;
binlog/redolog 文件的偏移位置*
|
boolean |
hasSchemaName()
optional string schemaName = 8;
变更数据的schemaname*
|
boolean |
hasServerenCode()
optional string serverenCode = 5;
变更数据的编码 *
|
boolean |
hasServerId()
optional int64 serverId = 4;
服务端serverId*
|
boolean |
hasSourceType()
optional .com.alibaba.otter.canal.protocol.Type sourceType = 7 [default = MYSQL];
变更数据的来源*
|
boolean |
hasTableName()
optional string tableName = 9;
变更数据的tablename*
|
boolean |
hasVersion()
optional int32 version = 1 [default = 1];
协议的版本号*
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CanalEntry.Header.Builder |
newBuilder() |
static CanalEntry.Header.Builder |
newBuilder(CanalEntry.Header prototype) |
CanalEntry.Header.Builder |
newBuilderForType() |
protected CanalEntry.Header.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static CanalEntry.Header |
parseDelimitedFrom(java.io.InputStream input) |
static CanalEntry.Header |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanalEntry.Header |
parseFrom(byte[] data) |
static CanalEntry.Header |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanalEntry.Header |
parseFrom(com.google.protobuf.ByteString data) |
static CanalEntry.Header |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanalEntry.Header |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CanalEntry.Header |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanalEntry.Header |
parseFrom(java.io.InputStream input) |
static CanalEntry.Header |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CanalEntry.Header.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static com.google.protobuf.Parser<CanalEntry.Header> PARSER
public static final int VERSION_FIELD_NUMBER
public static final int LOGFILENAME_FIELD_NUMBER
public static final int LOGFILEOFFSET_FIELD_NUMBER
public static final int SERVERID_FIELD_NUMBER
public static final int SERVERENCODE_FIELD_NUMBER
public static final int EXECUTETIME_FIELD_NUMBER
public static final int SOURCETYPE_FIELD_NUMBER
public static final int SCHEMANAME_FIELD_NUMBER
public static final int TABLENAME_FIELD_NUMBER
public static final int EVENTLENGTH_FIELD_NUMBER
public static final int EVENTTYPE_FIELD_NUMBER
public static final int PROPS_FIELD_NUMBER
public static final int GTID_FIELD_NUMBER
public static CanalEntry.Header getDefaultInstance()
public CanalEntry.Header getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<CanalEntry.Header> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessagepublic boolean hasVersion()
optional int32 version = 1 [default = 1];
协议的版本号*
hasVersion 在接口中 CanalEntry.HeaderOrBuilderpublic int getVersion()
optional int32 version = 1 [default = 1];
协议的版本号*
getVersion 在接口中 CanalEntry.HeaderOrBuilderpublic boolean hasLogfileName()
optional string logfileName = 2;
binlog/redolog 文件名*
hasLogfileName 在接口中 CanalEntry.HeaderOrBuilderpublic java.lang.String getLogfileName()
optional string logfileName = 2;
binlog/redolog 文件名*
getLogfileName 在接口中 CanalEntry.HeaderOrBuilderpublic com.google.protobuf.ByteString getLogfileNameBytes()
optional string logfileName = 2;
binlog/redolog 文件名*
public boolean hasLogfileOffset()
optional int64 logfileOffset = 3;
binlog/redolog 文件的偏移位置*
hasLogfileOffset 在接口中 CanalEntry.HeaderOrBuilderpublic long getLogfileOffset()
optional int64 logfileOffset = 3;
binlog/redolog 文件的偏移位置*
getLogfileOffset 在接口中 CanalEntry.HeaderOrBuilderpublic boolean hasServerId()
optional int64 serverId = 4;
服务端serverId*
hasServerId 在接口中 CanalEntry.HeaderOrBuilderpublic long getServerId()
optional int64 serverId = 4;
服务端serverId*
getServerId 在接口中 CanalEntry.HeaderOrBuilderpublic boolean hasServerenCode()
optional string serverenCode = 5;
变更数据的编码 *
hasServerenCode 在接口中 CanalEntry.HeaderOrBuilderpublic java.lang.String getServerenCode()
optional string serverenCode = 5;
变更数据的编码 *
getServerenCode 在接口中 CanalEntry.HeaderOrBuilderpublic com.google.protobuf.ByteString getServerenCodeBytes()
optional string serverenCode = 5;
变更数据的编码 *
public boolean hasExecuteTime()
optional int64 executeTime = 6;
变更数据的执行时间 *
hasExecuteTime 在接口中 CanalEntry.HeaderOrBuilderpublic long getExecuteTime()
optional int64 executeTime = 6;
变更数据的执行时间 *
getExecuteTime 在接口中 CanalEntry.HeaderOrBuilderpublic boolean hasSourceType()
optional .com.alibaba.otter.canal.protocol.Type sourceType = 7 [default = MYSQL];
变更数据的来源*
hasSourceType 在接口中 CanalEntry.HeaderOrBuilderpublic CanalEntry.Type getSourceType()
optional .com.alibaba.otter.canal.protocol.Type sourceType = 7 [default = MYSQL];
变更数据的来源*
getSourceType 在接口中 CanalEntry.HeaderOrBuilderpublic boolean hasSchemaName()
optional string schemaName = 8;
变更数据的schemaname*
hasSchemaName 在接口中 CanalEntry.HeaderOrBuilderpublic java.lang.String getSchemaName()
optional string schemaName = 8;
变更数据的schemaname*
getSchemaName 在接口中 CanalEntry.HeaderOrBuilderpublic com.google.protobuf.ByteString getSchemaNameBytes()
optional string schemaName = 8;
变更数据的schemaname*
getSchemaNameBytes 在接口中 CanalEntry.HeaderOrBuilderpublic boolean hasTableName()
optional string tableName = 9;
变更数据的tablename*
hasTableName 在接口中 CanalEntry.HeaderOrBuilderpublic java.lang.String getTableName()
optional string tableName = 9;
变更数据的tablename*
getTableName 在接口中 CanalEntry.HeaderOrBuilderpublic com.google.protobuf.ByteString getTableNameBytes()
optional string tableName = 9;
变更数据的tablename*
getTableNameBytes 在接口中 CanalEntry.HeaderOrBuilderpublic boolean hasEventLength()
optional int64 eventLength = 10;
每个event的长度*
hasEventLength 在接口中 CanalEntry.HeaderOrBuilderpublic long getEventLength()
optional int64 eventLength = 10;
每个event的长度*
getEventLength 在接口中 CanalEntry.HeaderOrBuilderpublic boolean hasEventType()
optional .com.alibaba.otter.canal.protocol.EventType eventType = 11 [default = UPDATE];
数据变更类型*
hasEventType 在接口中 CanalEntry.HeaderOrBuilderpublic CanalEntry.EventType getEventType()
optional .com.alibaba.otter.canal.protocol.EventType eventType = 11 [default = UPDATE];
数据变更类型*
getEventType 在接口中 CanalEntry.HeaderOrBuilderpublic java.util.List<CanalEntry.Pair> getPropsList()
repeated .com.alibaba.otter.canal.protocol.Pair props = 12;
预留扩展*
getPropsList 在接口中 CanalEntry.HeaderOrBuilderpublic java.util.List<? extends CanalEntry.PairOrBuilder> getPropsOrBuilderList()
repeated .com.alibaba.otter.canal.protocol.Pair props = 12;
预留扩展*
public int getPropsCount()
repeated .com.alibaba.otter.canal.protocol.Pair props = 12;
预留扩展*
getPropsCount 在接口中 CanalEntry.HeaderOrBuilderpublic CanalEntry.Pair getProps(int index)
repeated .com.alibaba.otter.canal.protocol.Pair props = 12;
预留扩展*
getProps 在接口中 CanalEntry.HeaderOrBuilderpublic CanalEntry.PairOrBuilder getPropsOrBuilder(int index)
repeated .com.alibaba.otter.canal.protocol.Pair props = 12;
预留扩展*
getPropsOrBuilder 在接口中 CanalEntry.HeaderOrBuilderpublic boolean hasGtid()
optional string gtid = 13;
当前事务的gitd*
hasGtid 在接口中 CanalEntry.HeaderOrBuilderpublic java.lang.String getGtid()
optional string gtid = 13;
当前事务的gitd*
getGtid 在接口中 CanalEntry.HeaderOrBuilderpublic com.google.protobuf.ByteString getGtidBytes()
optional string gtid = 13;
当前事务的gitd*
getGtidBytes 在接口中 CanalEntry.HeaderOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessagejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageprotected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
writeReplace 在类中 com.google.protobuf.GeneratedMessagejava.io.ObjectStreamExceptionpublic static CanalEntry.Header parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanalEntry.Header parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanalEntry.Header parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanalEntry.Header parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanalEntry.Header parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CanalEntry.Header parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CanalEntry.Header parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CanalEntry.Header parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CanalEntry.Header parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CanalEntry.Header parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CanalEntry.Header.Builder newBuilder()
public CanalEntry.Header.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static CanalEntry.Header.Builder newBuilder(CanalEntry.Header prototype)
public CanalEntry.Header.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected CanalEntry.Header.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageCopyright © 2021. All rights reserved.