public static interface CanalPacket.GetOrBuilder
extends com.google.protobuf.MessageOrBuilder
| 限定符和类型 | 方法和说明 |
|---|---|
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; |
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:天
|
boolean hasDestination()
optional string destination = 1;java.lang.String getDestination()
optional string destination = 1;com.google.protobuf.ByteString getDestinationBytes()
optional string destination = 1;boolean hasClientId()
optional string client_id = 2;java.lang.String getClientId()
optional string client_id = 2;com.google.protobuf.ByteString getClientIdBytes()
optional string client_id = 2;boolean hasFetchSize()
optional int32 fetch_size = 3;int getFetchSize()
optional int32 fetch_size = 3;boolean hasTimeout()
optional int64 timeout = 4 [default = -1];
默认-1时代表不控制
long getTimeout()
optional int64 timeout = 4 [default = -1];
默认-1时代表不控制
boolean hasUnit()
optional int32 unit = 5 [default = 2];
数字类型,0:纳秒,1:毫秒,2:微秒,3:秒,4:分钟,5:小时,6:天
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 getAutoAck()
optional bool auto_ack = 6 [default = false];
是否自动ack
Copyright © 2018. All Rights Reserved.