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 CommandConsumerStats
clear()
CommandConsumerStats
clearConsumerId()
CommandConsumerStats
clearRequestId()
CommandConsumerStats
copyFrom(CommandConsumerStats _other)
long
getConsumerId()
long
getRequestId()
int
getSerializedSize()
boolean
hasConsumerId()
boolean
hasRequestId()
void
parseFrom(byte[] a)
void
parseFrom(io.netty.buffer.ByteBuf _buffer, int _size)
CommandConsumerStats
setConsumerId(long consumerId)
CommandConsumerStats
setRequestId(long requestId)
byte[]
toByteArray()
int
writeTo(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)
-
-