public static interface CanalPacket.PacketOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
com.google.protobuf.ByteString |
getBody()
bytes body = 5; |
CanalPacket.Compression |
getCompression()
.com.alibaba.otter.canal.protocol.Compression compression = 4; |
CanalPacket.Packet.CompressionPresentCase |
getCompressionPresentCase() |
int |
getCompressionValue()
.com.alibaba.otter.canal.protocol.Compression compression = 4; |
int |
getMagicNumber()
int32 magic_number = 1; |
CanalPacket.Packet.MagicNumberPresentCase |
getMagicNumberPresentCase() |
CanalPacket.PacketType |
getType()
.com.alibaba.otter.canal.protocol.PacketType type = 3; |
int |
getTypeValue()
.com.alibaba.otter.canal.protocol.PacketType type = 3; |
int |
getVersion()
int32 version = 2; |
CanalPacket.Packet.VersionPresentCase |
getVersionPresentCase() |
int getMagicNumber()
int32 magic_number = 1;int getVersion()
int32 version = 2;int getTypeValue()
.com.alibaba.otter.canal.protocol.PacketType type = 3;CanalPacket.PacketType getType()
.com.alibaba.otter.canal.protocol.PacketType type = 3;int getCompressionValue()
.com.alibaba.otter.canal.protocol.Compression compression = 4;CanalPacket.Compression getCompression()
.com.alibaba.otter.canal.protocol.Compression compression = 4;com.google.protobuf.ByteString getBody()
bytes body = 5;CanalPacket.Packet.MagicNumberPresentCase getMagicNumberPresentCase()
CanalPacket.Packet.VersionPresentCase getVersionPresentCase()
CanalPacket.Packet.CompressionPresentCase getCompressionPresentCase()
Copyright © 2019. All rights reserved.