Class CommandConsumerStats
- java.lang.Object
-
- org.apache.pulsar.common.api.proto.CommandConsumerStats
-
public final class CommandConsumerStats extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CommandConsumerStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandConsumerStatsclear()CommandConsumerStatsclearConsumerId()CommandConsumerStatsclearRequestId()CommandConsumerStatscopyFrom(CommandConsumerStats _other)longgetConsumerId()longgetRequestId()intgetSerializedSize()booleanhasConsumerId()booleanhasRequestId()voidparseFrom(byte[] a)voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size)CommandConsumerStatssetConsumerId(long consumerId)CommandConsumerStatssetRequestId(long requestId)byte[]toByteArray()intwriteTo(io.netty.buffer.ByteBuf _b)
-
-
-
Method Detail
-
hasRequestId
public boolean hasRequestId()
-
getRequestId
public long getRequestId()
-
setRequestId
public CommandConsumerStats setRequestId(long requestId)
-
clearRequestId
public CommandConsumerStats clearRequestId()
-
hasConsumerId
public boolean hasConsumerId()
-
getConsumerId
public long getConsumerId()
-
setConsumerId
public CommandConsumerStats setConsumerId(long consumerId)
-
clearConsumerId
public CommandConsumerStats clearConsumerId()
-
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 CommandConsumerStats clear()
-
copyFrom
public CommandConsumerStats copyFrom(CommandConsumerStats _other)
-
toByteArray
public byte[] toByteArray()
-
parseFrom
public void parseFrom(byte[] a)
-
-