Class CommandWatchTopicUpdate
java.lang.Object
org.apache.pulsar.common.api.proto.CommandWatchTopicUpdate
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllDeletedTopics(Iterable<String> deletedTopics) addAllNewTopics(Iterable<String> newTopics) voidaddDeletedTopic(String deletedTopic) voidaddNewTopic(String newTopic) clear()copyFrom(CommandWatchTopicUpdate _other) getDeletedTopicAt(int idx) intgetNewTopicAt(int idx) intintlongbooleanbooleanvoidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) setTopicsHash(String topicsHash) setWatcherId(long watcherId) byte[]intwriteTo(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)
-