Class CommandAck
java.lang.Object
org.apache.pulsar.common.api.proto.CommandAck
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllMessageIds
(Iterable<MessageIdData> messageIds) addAllProperties
(Iterable<KeyLongValue> properties) clear()
copyFrom
(CommandAck _other) long
getMessageIdAt
(int idx) int
int
getPropertyAt
(int idx) long
int
long
long
boolean
boolean
boolean
boolean
boolean
boolean
void
parseFrom
(byte[] a) void
parseFrom
(io.netty.buffer.ByteBuf _buffer, int _size) setAckType
(CommandAck.AckType ackType) setConsumerId
(long consumerId) setRequestId
(long requestId) setTxnidLeastBits
(long txnidLeastBits) setTxnidMostBits
(long txnidMostBits) setValidationError
(CommandAck.ValidationError validationError) byte[]
int
writeTo
(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
CommandAck
public CommandAck()
-
-
Method Details
-
hasConsumerId
public boolean hasConsumerId() -
getConsumerId
public long getConsumerId() -
setConsumerId
-
clearConsumerId
-
hasAckType
public boolean hasAckType() -
getAckType
-
setAckType
-
clearAckType
-
getMessageIdsCount
public int getMessageIdsCount() -
getMessageIdAt
-
getMessageIdsList
-
addMessageId
-
addAllMessageIds
-
clearMessageId
-
hasValidationError
public boolean hasValidationError() -
getValidationError
-
setValidationError
-
clearValidationError
-
getPropertiesCount
public int getPropertiesCount() -
getPropertyAt
-
getPropertiesList
-
addProperty
-
addAllProperties
-
clearProperties
-
hasTxnidLeastBits
public boolean hasTxnidLeastBits() -
getTxnidLeastBits
public long getTxnidLeastBits() -
setTxnidLeastBits
-
clearTxnidLeastBits
-
hasTxnidMostBits
public boolean hasTxnidMostBits() -
getTxnidMostBits
public long getTxnidMostBits() -
setTxnidMostBits
-
clearTxnidMostBits
-
hasRequestId
public boolean hasRequestId() -
getRequestId
public long getRequestId() -
setRequestId
-
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
-
copyFrom
-
toByteArray
public byte[] toByteArray() -
parseFrom
public void parseFrom(byte[] a)
-