Class CommandFlow
java.lang.Object
org.apache.pulsar.common.api.proto.CommandFlow
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclear()copyFrom(CommandFlow _other) longintintbooleanbooleanvoidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) setConsumerId(long consumerId) setMessagePermits(int messagePermits) byte[]intwriteTo(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
CommandFlow
public CommandFlow()
-
-
Method Details
-
hasConsumerId
public boolean hasConsumerId() -
getConsumerId
public long getConsumerId() -
setConsumerId
-
clearConsumerId
-
hasMessagePermits
public boolean hasMessagePermits() -
getMessagePermits
public int getMessagePermits() -
setMessagePermits
-
clearMessagePermits
-
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)
-