Class CommandAddPartitionToTxn

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

public final class CommandAddPartitionToTxn extends Object
  • Constructor Details

    • CommandAddPartitionToTxn

      public CommandAddPartitionToTxn()
  • Method Details

    • hasRequestId

      public boolean hasRequestId()
    • getRequestId

      public long getRequestId()
    • setRequestId

      public CommandAddPartitionToTxn setRequestId(long requestId)
    • clearRequestId

      public CommandAddPartitionToTxn clearRequestId()
    • hasTxnidLeastBits

      public boolean hasTxnidLeastBits()
    • getTxnidLeastBits

      public long getTxnidLeastBits()
    • setTxnidLeastBits

      public CommandAddPartitionToTxn setTxnidLeastBits(long txnidLeastBits)
    • clearTxnidLeastBits

      public CommandAddPartitionToTxn clearTxnidLeastBits()
    • hasTxnidMostBits

      public boolean hasTxnidMostBits()
    • getTxnidMostBits

      public long getTxnidMostBits()
    • setTxnidMostBits

      public CommandAddPartitionToTxn setTxnidMostBits(long txnidMostBits)
    • clearTxnidMostBits

      public CommandAddPartitionToTxn clearTxnidMostBits()
    • getPartitionsCount

      public int getPartitionsCount()
    • getPartitionAt

      public String getPartitionAt(int idx)
    • getPartitionsList

      public List<String> getPartitionsList()
    • addPartition

      public void addPartition(String partition)
    • addAllPartitions

      public CommandAddPartitionToTxn addAllPartitions(Iterable<String> partitions)
    • clearPartitions

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

    • toByteArray

      public byte[] toByteArray()
    • parseFrom

      public void parseFrom(byte[] a)