Class CommandAck
java.lang.Object
org.apache.pulsar.common.api.proto.CommandAck
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllMessageIds(Iterable<MessageIdData> messageIds) addAllProperties(Iterable<KeyLongValue> properties) clear()copyFrom(CommandAck _other) longgetMessageIdAt(int idx) intintgetPropertyAt(int idx) longintlonglongbooleanbooleanbooleanbooleanbooleanbooleanvoidparseFrom(byte[] a) voidparseFrom(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[]intwriteTo(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)
-