Class CommandFlow
- java.lang.Object
-
- org.apache.pulsar.common.api.proto.CommandFlow
-
public final class CommandFlow extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CommandFlow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandFlowclear()CommandFlowclearConsumerId()CommandFlowclearMessagePermits()CommandFlowcopyFrom(CommandFlow _other)longgetConsumerId()intgetMessagePermits()intgetSerializedSize()booleanhasConsumerId()booleanhasMessagePermits()voidparseFrom(byte[] a)voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size)CommandFlowsetConsumerId(long consumerId)CommandFlowsetMessagePermits(int messagePermits)byte[]toByteArray()intwriteTo(io.netty.buffer.ByteBuf _b)
-
-
-
Method Detail
-
hasConsumerId
public boolean hasConsumerId()
-
getConsumerId
public long getConsumerId()
-
setConsumerId
public CommandFlow setConsumerId(long consumerId)
-
clearConsumerId
public CommandFlow clearConsumerId()
-
hasMessagePermits
public boolean hasMessagePermits()
-
getMessagePermits
public int getMessagePermits()
-
setMessagePermits
public CommandFlow setMessagePermits(int messagePermits)
-
clearMessagePermits
public CommandFlow 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
public CommandFlow clear()
-
copyFrom
public CommandFlow copyFrom(CommandFlow _other)
-
toByteArray
public byte[] toByteArray()
-
parseFrom
public void parseFrom(byte[] a)
-
-