Class CommandAddPartitionToTxn
- java.lang.Object
-
- org.apache.pulsar.common.api.proto.CommandAddPartitionToTxn
-
public final class CommandAddPartitionToTxn extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CommandAddPartitionToTxn()
-
Method Summary
-
-
-
Method Detail
-
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 java.lang.String getPartitionAt(int idx)
-
getPartitionsList
public java.util.List<java.lang.String> getPartitionsList()
-
addPartition
public void addPartition(java.lang.String partition)
-
addAllPartitions
public CommandAddPartitionToTxn addAllPartitions(java.lang.Iterable<java.lang.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
public CommandAddPartitionToTxn copyFrom(CommandAddPartitionToTxn _other)
-
toByteArray
public byte[] toByteArray()
-
parseFrom
public void parseFrom(byte[] a)
-
-