Class CommandWatchTopicListSuccess
java.lang.Object
org.apache.pulsar.common.api.proto.CommandWatchTopicListSuccess
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTopics
(Iterable<String> topics) void
clear()
copyFrom
(CommandWatchTopicListSuccess _other) long
int
getTopicAt
(int idx) int
long
boolean
boolean
boolean
void
parseFrom
(byte[] a) void
parseFrom
(io.netty.buffer.ByteBuf _buffer, int _size) setRequestId
(long requestId) setTopicsHash
(String topicsHash) setWatcherId
(long watcherId) byte[]
int
writeTo
(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
CommandWatchTopicListSuccess
public CommandWatchTopicListSuccess()
-
-
Method Details
-
hasRequestId
public boolean hasRequestId() -
getRequestId
public long getRequestId() -
setRequestId
-
clearRequestId
-
hasWatcherId
public boolean hasWatcherId() -
getWatcherId
public long getWatcherId() -
setWatcherId
-
clearWatcherId
-
getTopicsCount
public int getTopicsCount() -
getTopicAt
-
getTopicsList
-
addTopic
-
addAllTopics
-
clearTopic
-
hasTopicsHash
public boolean hasTopicsHash() -
getTopicsHash
-
setTopicsHash
-
clearTopicsHash
-
writeTo
public int writeTo(io.netty.buffer.ByteBuf _b) -
getSerializedSize
public int getSerializedSize() -
parseFrom
public void parseFrom(io.netty.buffer.ByteBuf _buffer, int _size) -
clear
-
copyFrom
-
toByteArray
public byte[] toByteArray() -
parseFrom
public void parseFrom(byte[] a)
-