Class CommandWatchTopicUpdate
java.lang.Object
org.apache.pulsar.common.api.proto.CommandWatchTopicUpdate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllDeletedTopics
(Iterable<String> deletedTopics) addAllNewTopics
(Iterable<String> newTopics) void
addDeletedTopic
(String deletedTopic) void
addNewTopic
(String newTopic) clear()
copyFrom
(CommandWatchTopicUpdate _other) getDeletedTopicAt
(int idx) int
getNewTopicAt
(int idx) int
int
long
boolean
boolean
void
parseFrom
(byte[] a) void
parseFrom
(io.netty.buffer.ByteBuf _buffer, int _size) setTopicsHash
(String topicsHash) setWatcherId
(long watcherId) byte[]
int
writeTo
(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
CommandWatchTopicUpdate
public CommandWatchTopicUpdate()
-
-
Method Details
-
hasWatcherId
public boolean hasWatcherId() -
getWatcherId
public long getWatcherId() -
setWatcherId
-
clearWatcherId
-
getNewTopicsCount
public int getNewTopicsCount() -
getNewTopicAt
-
getNewTopicsList
-
addNewTopic
-
addAllNewTopics
-
clearNewTopics
-
getDeletedTopicsCount
public int getDeletedTopicsCount() -
getDeletedTopicAt
-
getDeletedTopicsList
-
addDeletedTopic
-
addAllDeletedTopics
-
clearDeletedTopics
-
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)
-