public static final class CanalPacket.Get.Builder extends com.google.protobuf.GeneratedMessage.Builder<CanalPacket.Get.Builder> implements CanalPacket.GetOrBuilder
com.alibaba.otter.canal.protocol.Get
PullRequest
| 限定符和类型 | 方法和说明 |
|---|---|
CanalPacket.Get |
build() |
CanalPacket.Get |
buildPartial() |
CanalPacket.Get.Builder |
clear() |
CanalPacket.Get.Builder |
clearAutoAck()
optional bool auto_ack = 6 [default = false];
是否自动ack
|
CanalPacket.Get.Builder |
clearClientId()
optional string client_id = 2; |
CanalPacket.Get.Builder |
clearDestination()
optional string destination = 1; |
CanalPacket.Get.Builder |
clearFetchSize()
optional int32 fetch_size = 3; |
CanalPacket.Get.Builder |
clearTimeout()
optional int64 timeout = 4 [default = -1];
默认-1时代表不控制
|
CanalPacket.Get.Builder |
clearUnit()
optional int32 unit = 5 [default = 2];
数字类型,0:纳秒,1:毫秒,2:微秒,3:秒,4:分钟,5:小时,6:天
|
CanalPacket.Get.Builder |
clone() |
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; |
CanalPacket.Get |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getDestination()
optional string destination = 1; |
com.google.protobuf.ByteString |
getDestinationBytes()
optional string destination = 1; |
int |
getFetchSize()
optional int32 fetch_size = 3; |
long |
getTimeout()
optional int64 timeout = 4 [default = -1];
默认-1时代表不控制
|
int |
getUnit()
optional int32 unit = 5 [default = 2];
数字类型,0:纳秒,1:毫秒,2:微秒,3:秒,4:分钟,5:小时,6:天
|
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() |
CanalPacket.Get.Builder |
mergeFrom(CanalPacket.Get other) |
CanalPacket.Get.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CanalPacket.Get.Builder |
mergeFrom(com.google.protobuf.Message other) |
CanalPacket.Get.Builder |
setAutoAck(boolean value)
optional bool auto_ack = 6 [default = false];
是否自动ack
|
CanalPacket.Get.Builder |
setClientId(java.lang.String value)
optional string client_id = 2; |
CanalPacket.Get.Builder |
setClientIdBytes(com.google.protobuf.ByteString value)
optional string client_id = 2; |
CanalPacket.Get.Builder |
setDestination(java.lang.String value)
optional string destination = 1; |
CanalPacket.Get.Builder |
setDestinationBytes(com.google.protobuf.ByteString value)
optional string destination = 1; |
CanalPacket.Get.Builder |
setFetchSize(int value)
optional int32 fetch_size = 3; |
CanalPacket.Get.Builder |
setTimeout(long value)
optional int64 timeout = 4 [default = -1];
默认-1时代表不控制
|
CanalPacket.Get.Builder |
setUnit(int value)
optional int32 unit = 5 [default = 2];
数字类型,0:纳秒,1:毫秒,2:微秒,3:秒,4:分钟,5:小时,6:天
|
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldspublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessage.Builder<CanalPacket.Get.Builder>public CanalPacket.Get.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessage.Builder<CanalPacket.Get.Builder>public CanalPacket.Get.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessage.Builder<CanalPacket.Get.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessage.Builder<CanalPacket.Get.Builder>public CanalPacket.Get getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic CanalPacket.Get build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic CanalPacket.Get buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic CanalPacket.Get.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<CanalPacket.Get.Builder>public CanalPacket.Get.Builder mergeFrom(CanalPacket.Get other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessage.Builder<CanalPacket.Get.Builder>public CanalPacket.Get.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<CanalPacket.Get.Builder>java.io.IOExceptionpublic 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 CanalPacket.Get.Builder setDestination(java.lang.String value)
optional string destination = 1;public CanalPacket.Get.Builder clearDestination()
optional string destination = 1;public CanalPacket.Get.Builder setDestinationBytes(com.google.protobuf.ByteString value)
optional string destination = 1;public 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 CanalPacket.Get.Builder setClientId(java.lang.String value)
optional string client_id = 2;public CanalPacket.Get.Builder clearClientId()
optional string client_id = 2;public CanalPacket.Get.Builder setClientIdBytes(com.google.protobuf.ByteString value)
optional string client_id = 2;public boolean hasFetchSize()
optional int32 fetch_size = 3;hasFetchSize 在接口中 CanalPacket.GetOrBuilderpublic int getFetchSize()
optional int32 fetch_size = 3;getFetchSize 在接口中 CanalPacket.GetOrBuilderpublic CanalPacket.Get.Builder setFetchSize(int value)
optional int32 fetch_size = 3;public CanalPacket.Get.Builder clearFetchSize()
optional int32 fetch_size = 3;public boolean hasTimeout()
optional int64 timeout = 4 [default = -1];
默认-1时代表不控制
hasTimeout 在接口中 CanalPacket.GetOrBuilderpublic long getTimeout()
optional int64 timeout = 4 [default = -1];
默认-1时代表不控制
getTimeout 在接口中 CanalPacket.GetOrBuilderpublic CanalPacket.Get.Builder setTimeout(long value)
optional int64 timeout = 4 [default = -1];
默认-1时代表不控制
public CanalPacket.Get.Builder clearTimeout()
optional int64 timeout = 4 [default = -1];
默认-1时代表不控制
public 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 CanalPacket.Get.Builder setUnit(int value)
optional int32 unit = 5 [default = 2];
数字类型,0:纳秒,1:毫秒,2:微秒,3:秒,4:分钟,5:小时,6:天
public CanalPacket.Get.Builder clearUnit()
optional int32 unit = 5 [default = 2];
数字类型,0:纳秒,1:毫秒,2:微秒,3:秒,4:分钟,5:小时,6:天
public 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 CanalPacket.Get.Builder setAutoAck(boolean value)
optional bool auto_ack = 6 [default = false];
是否自动ack
public CanalPacket.Get.Builder clearAutoAck()
optional bool auto_ack = 6 [default = false];
是否自动ack
Copyright © 2018. All Rights Reserved.