Class CommandCloseProducer
- java.lang.Object
-
- org.apache.pulsar.common.api.proto.CommandCloseProducer
-
public final class CommandCloseProducer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CommandCloseProducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandCloseProducerclear()CommandCloseProducerclearProducerId()CommandCloseProducerclearRequestId()CommandCloseProducercopyFrom(CommandCloseProducer _other)longgetProducerId()longgetRequestId()intgetSerializedSize()booleanhasProducerId()booleanhasRequestId()voidparseFrom(byte[] a)voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size)CommandCloseProducersetProducerId(long producerId)CommandCloseProducersetRequestId(long requestId)byte[]toByteArray()intwriteTo(io.netty.buffer.ByteBuf _b)
-
-
-
Method Detail
-
hasProducerId
public boolean hasProducerId()
-
getProducerId
public long getProducerId()
-
setProducerId
public CommandCloseProducer setProducerId(long producerId)
-
clearProducerId
public CommandCloseProducer clearProducerId()
-
hasRequestId
public boolean hasRequestId()
-
getRequestId
public long getRequestId()
-
setRequestId
public CommandCloseProducer setRequestId(long requestId)
-
clearRequestId
public CommandCloseProducer clearRequestId()
-
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 CommandCloseProducer clear()
-
copyFrom
public CommandCloseProducer copyFrom(CommandCloseProducer _other)
-
toByteArray
public byte[] toByteArray()
-
parseFrom
public void parseFrom(byte[] a)
-
-