Class CommandAck

java.lang.Object
org.apache.pulsar.common.api.proto.CommandAck

public final class CommandAck extends Object
  • Constructor Details

    • CommandAck

      public CommandAck()
  • Method Details

    • hasConsumerId

      public boolean hasConsumerId()
    • getConsumerId

      public long getConsumerId()
    • setConsumerId

      public CommandAck setConsumerId(long consumerId)
    • clearConsumerId

      public CommandAck clearConsumerId()
    • hasAckType

      public boolean hasAckType()
    • getAckType

      public CommandAck.AckType getAckType()
    • setAckType

      public CommandAck setAckType(CommandAck.AckType ackType)
    • clearAckType

      public CommandAck clearAckType()
    • getMessageIdsCount

      public int getMessageIdsCount()
    • getMessageIdAt

      public MessageIdData getMessageIdAt(int idx)
    • getMessageIdsList

      public List<MessageIdData> getMessageIdsList()
    • addMessageId

      public MessageIdData addMessageId()
    • addAllMessageIds

      public CommandAck addAllMessageIds(Iterable<MessageIdData> messageIds)
    • clearMessageId

      public CommandAck clearMessageId()
    • hasValidationError

      public boolean hasValidationError()
    • getValidationError

      public CommandAck.ValidationError getValidationError()
    • setValidationError

      public CommandAck setValidationError(CommandAck.ValidationError validationError)
    • clearValidationError

      public CommandAck clearValidationError()
    • getPropertiesCount

      public int getPropertiesCount()
    • getPropertyAt

      public KeyLongValue getPropertyAt(int idx)
    • getPropertiesList

      public List<KeyLongValue> getPropertiesList()
    • addProperty

      public KeyLongValue addProperty()
    • addAllProperties

      public CommandAck addAllProperties(Iterable<KeyLongValue> properties)
    • clearProperties

      public CommandAck clearProperties()
    • hasTxnidLeastBits

      public boolean hasTxnidLeastBits()
    • getTxnidLeastBits

      public long getTxnidLeastBits()
    • setTxnidLeastBits

      public CommandAck setTxnidLeastBits(long txnidLeastBits)
    • clearTxnidLeastBits

      public CommandAck clearTxnidLeastBits()
    • hasTxnidMostBits

      public boolean hasTxnidMostBits()
    • getTxnidMostBits

      public long getTxnidMostBits()
    • setTxnidMostBits

      public CommandAck setTxnidMostBits(long txnidMostBits)
    • clearTxnidMostBits

      public CommandAck clearTxnidMostBits()
    • hasRequestId

      public boolean hasRequestId()
    • getRequestId

      public long getRequestId()
    • setRequestId

      public CommandAck setRequestId(long requestId)
    • clearRequestId

      public CommandAck 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 CommandAck clear()
    • copyFrom

      public CommandAck copyFrom(CommandAck _other)
    • toByteArray

      public byte[] toByteArray()
    • parseFrom

      public void parseFrom(byte[] a)