public static final class CanalPacket.Get extends com.google.protobuf.GeneratedMessage implements CanalPacket.GetOrBuilder
com.alibaba.otter.canal.protocol.Get
PullRequest
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CanalPacket.Get.Builder
Protobuf type
com.alibaba.otter.canal.protocol.Get
PullRequest
|
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, 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 |
AUTO_ACK_FIELD_NUMBER |
static int |
CLIENT_ID_FIELD_NUMBER |
static int |
DESTINATION_FIELD_NUMBER |
static int |
FETCH_SIZE_FIELD_NUMBER |
static com.google.protobuf.Parser<CanalPacket.Get> |
PARSER |
static int |
TIMEOUT_FIELD_NUMBER |
static int |
UNIT_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
getAutoAck()
optional bool auto_ack = 6 [default = false];
是否自动ack
|
java.lang.String |
getClientId()
optional string client_id = 2; |
com.google.protobuf.ByteString |
getClientIdBytes()
optional string client_id = 2; |
static CanalPacket.Get |
getDefaultInstance() |
CanalPacket.Get |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getDestination()
optional string destination = 1; |
com.google.protobuf.ByteString |
getDestinationBytes()
optional string destination = 1; |
int |
getFetchSize()
optional int32 fetch_size = 3; |
com.google.protobuf.Parser<CanalPacket.Get> |
getParserForType() |
int |
getSerializedSize() |
long |
getTimeout()
optional int64 timeout = 4 [default = -1];
默认-1时代表不控制
|
int |
getUnit()
optional int32 unit = 5 [default = 2];
数字类型,0:纳秒,1:毫秒,2:微秒,3:秒,4:分钟,5:小时,6:天
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAutoAck()
optional bool auto_ack = 6 [default = false];
是否自动ack
|
boolean |
hasClientId()
optional string client_id = 2; |
boolean |
hasDestination()
optional string destination = 1; |
boolean |
hasFetchSize()
optional int32 fetch_size = 3; |
boolean |
hasTimeout()
optional int64 timeout = 4 [default = -1];
默认-1时代表不控制
|
boolean |
hasUnit()
optional int32 unit = 5 [default = 2];
数字类型,0:纳秒,1:毫秒,2:微秒,3:秒,4:分钟,5:小时,6:天
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CanalPacket.Get.Builder |
newBuilder() |
static CanalPacket.Get.Builder |
newBuilder(CanalPacket.Get prototype) |
CanalPacket.Get.Builder |
newBuilderForType() |
protected CanalPacket.Get.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static CanalPacket.Get |
parseDelimitedFrom(java.io.InputStream input) |
static CanalPacket.Get |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanalPacket.Get |
parseFrom(byte[] data) |
static CanalPacket.Get |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanalPacket.Get |
parseFrom(com.google.protobuf.ByteString data) |
static CanalPacket.Get |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanalPacket.Get |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CanalPacket.Get |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CanalPacket.Get |
parseFrom(java.io.InputStream input) |
static CanalPacket.Get |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CanalPacket.Get.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static com.google.protobuf.Parser<CanalPacket.Get> PARSER
public static final int DESTINATION_FIELD_NUMBER
public static final int CLIENT_ID_FIELD_NUMBER
public static final int FETCH_SIZE_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
public static final int UNIT_FIELD_NUMBER
public static final int AUTO_ACK_FIELD_NUMBER
public static CanalPacket.Get getDefaultInstance()
public CanalPacket.Get 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<CanalPacket.Get> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessagepublic boolean hasDestination()
optional string destination = 1;hasDestination 在接口中 CanalPacket.GetOrBuilderpublic java.lang.String getDestination()
optional string destination = 1;getDestination 在接口中 CanalPacket.GetOrBuilderpublic com.google.protobuf.ByteString getDestinationBytes()
optional string destination = 1;getDestinationBytes 在接口中 CanalPacket.GetOrBuilderpublic boolean hasClientId()
optional string client_id = 2;hasClientId 在接口中 CanalPacket.GetOrBuilderpublic java.lang.String getClientId()
optional string client_id = 2;getClientId 在接口中 CanalPacket.GetOrBuilderpublic com.google.protobuf.ByteString getClientIdBytes()
optional string client_id = 2;getClientIdBytes 在接口中 CanalPacket.GetOrBuilderpublic boolean hasFetchSize()
optional int32 fetch_size = 3;hasFetchSize 在接口中 CanalPacket.GetOrBuilderpublic int getFetchSize()
optional int32 fetch_size = 3;getFetchSize 在接口中 CanalPacket.GetOrBuilderpublic boolean hasTimeout()
optional int64 timeout = 4 [default = -1];
默认-1时代表不控制
hasTimeout 在接口中 CanalPacket.GetOrBuilderpublic long getTimeout()
optional int64 timeout = 4 [default = -1];
默认-1时代表不控制
getTimeout 在接口中 CanalPacket.GetOrBuilderpublic boolean hasUnit()
optional int32 unit = 5 [default = 2];
数字类型,0:纳秒,1:毫秒,2:微秒,3:秒,4:分钟,5:小时,6:天
hasUnit 在接口中 CanalPacket.GetOrBuilderpublic int getUnit()
optional int32 unit = 5 [default = 2];
数字类型,0:纳秒,1:毫秒,2:微秒,3:秒,4:分钟,5:小时,6:天
getUnit 在接口中 CanalPacket.GetOrBuilderpublic boolean hasAutoAck()
optional bool auto_ack = 6 [default = false];
是否自动ack
hasAutoAck 在接口中 CanalPacket.GetOrBuilderpublic boolean getAutoAck()
optional bool auto_ack = 6 [default = false];
是否自动ack
getAutoAck 在接口中 CanalPacket.GetOrBuilderpublic 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.AbstractMessagejava.io.IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.AbstractMessageprotected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
writeReplace 在类中 com.google.protobuf.GeneratedMessagejava.io.ObjectStreamExceptionpublic static CanalPacket.Get parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanalPacket.Get parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanalPacket.Get parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanalPacket.Get parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CanalPacket.Get parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CanalPacket.Get parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CanalPacket.Get parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CanalPacket.Get parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CanalPacket.Get parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CanalPacket.Get parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CanalPacket.Get.Builder newBuilder()
public CanalPacket.Get.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static CanalPacket.Get.Builder newBuilder(CanalPacket.Get prototype)
public CanalPacket.Get.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected CanalPacket.Get.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageCopyright © 2018. All Rights Reserved.