Class MessageIdData
java.lang.Object
org.apache.pulsar.common.api.proto.MessageIdData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAckSet(long ackSet) clear()copyFrom(MessageIdData _other) longgetAckSetAt(int idx) intintintlonglongintintbooleanbooleanbooleanbooleanbooleanbooleanvoidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) setBatchIndex(int batchIndex) setBatchSize(int batchSize) setEntryId(long entryId) setLedgerId(long ledgerId) setPartition(int partition) byte[]intwriteTo(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
MessageIdData
public MessageIdData()
-
-
Method Details
-
hasLedgerId
public boolean hasLedgerId() -
getLedgerId
public long getLedgerId() -
setLedgerId
-
clearLedgerId
-
hasEntryId
public boolean hasEntryId() -
getEntryId
public long getEntryId() -
setEntryId
-
clearEntryId
-
hasPartition
public boolean hasPartition() -
getPartition
public int getPartition() -
setPartition
-
clearPartition
-
hasBatchIndex
public boolean hasBatchIndex() -
getBatchIndex
public int getBatchIndex() -
setBatchIndex
-
clearBatchIndex
-
getAckSetsCount
public int getAckSetsCount() -
getAckSetAt
public long getAckSetAt(int idx) -
addAckSet
public void addAckSet(long ackSet) -
clearAckSet
-
hasBatchSize
public boolean hasBatchSize() -
getBatchSize
public int getBatchSize() -
setBatchSize
-
clearBatchSize
-
hasFirstChunkMessageId
public boolean hasFirstChunkMessageId() -
getFirstChunkMessageId
-
setFirstChunkMessageId
-
clearFirstChunkMessageId
-
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)
-