public final class MessageIdData extends Object
| Constructor and Description |
|---|
MessageIdData() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAckSet(long ackSet) |
MessageIdData |
clear() |
MessageIdData |
clearAckSet() |
MessageIdData |
clearBatchIndex() |
MessageIdData |
clearBatchSize() |
MessageIdData |
clearEntryId() |
MessageIdData |
clearLedgerId() |
MessageIdData |
clearPartition() |
MessageIdData |
copyFrom(MessageIdData _other) |
long |
getAckSetAt(int idx) |
int |
getAckSetsCount() |
int |
getBatchIndex() |
int |
getBatchSize() |
long |
getEntryId() |
long |
getLedgerId() |
int |
getPartition() |
int |
getSerializedSize() |
boolean |
hasBatchIndex() |
boolean |
hasBatchSize() |
boolean |
hasEntryId() |
boolean |
hasLedgerId() |
boolean |
hasPartition() |
void |
parseFrom(byte[] a) |
void |
parseFrom(io.netty.buffer.ByteBuf _buffer,
int _size) |
MessageIdData |
setBatchIndex(int batchIndex) |
MessageIdData |
setBatchSize(int batchSize) |
MessageIdData |
setEntryId(long entryId) |
MessageIdData |
setLedgerId(long ledgerId) |
MessageIdData |
setPartition(int partition) |
byte[] |
toByteArray() |
int |
writeTo(io.netty.buffer.ByteBuf _b) |
public boolean hasLedgerId()
public long getLedgerId()
public MessageIdData setLedgerId(long ledgerId)
public MessageIdData clearLedgerId()
public boolean hasEntryId()
public long getEntryId()
public MessageIdData setEntryId(long entryId)
public MessageIdData clearEntryId()
public boolean hasPartition()
public int getPartition()
public MessageIdData setPartition(int partition)
public MessageIdData clearPartition()
public boolean hasBatchIndex()
public int getBatchIndex()
public MessageIdData setBatchIndex(int batchIndex)
public MessageIdData clearBatchIndex()
public int getAckSetsCount()
public long getAckSetAt(int idx)
public void addAckSet(long ackSet)
public MessageIdData clearAckSet()
public boolean hasBatchSize()
public int getBatchSize()
public MessageIdData setBatchSize(int batchSize)
public MessageIdData clearBatchSize()
public int writeTo(io.netty.buffer.ByteBuf _b)
public int getSerializedSize()
public void parseFrom(io.netty.buffer.ByteBuf _buffer,
int _size)
public MessageIdData clear()
public MessageIdData copyFrom(MessageIdData _other)
public byte[] toByteArray()
public void parseFrom(byte[] a)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.