Class CommandFlow
java.lang.Object
org.apache.pulsar.common.api.proto.CommandFlow
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclear()
copyFrom
(CommandFlow _other) long
int
int
boolean
boolean
void
parseFrom
(byte[] a) void
parseFrom
(io.netty.buffer.ByteBuf _buffer, int _size) setConsumerId
(long consumerId) setMessagePermits
(int messagePermits) byte[]
int
writeTo
(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)
-