Class CommandAddPartitionToTxn
java.lang.Object
org.apache.pulsar.common.api.proto.CommandAddPartitionToTxn
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllPartitions
(Iterable<String> partitions) void
addPartition
(String partition) clear()
copyFrom
(CommandAddPartitionToTxn _other) getPartitionAt
(int idx) int
long
int
long
long
boolean
boolean
boolean
void
parseFrom
(byte[] a) void
parseFrom
(io.netty.buffer.ByteBuf _buffer, int _size) setRequestId
(long requestId) setTxnidLeastBits
(long txnidLeastBits) setTxnidMostBits
(long txnidMostBits) byte[]
int
writeTo
(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
CommandAddPartitionToTxn
public CommandAddPartitionToTxn()
-
-
Method Details
-
hasRequestId
public boolean hasRequestId() -
getRequestId
public long getRequestId() -
setRequestId
-
clearRequestId
-
hasTxnidLeastBits
public boolean hasTxnidLeastBits() -
getTxnidLeastBits
public long getTxnidLeastBits() -
setTxnidLeastBits
-
clearTxnidLeastBits
-
hasTxnidMostBits
public boolean hasTxnidMostBits() -
getTxnidMostBits
public long getTxnidMostBits() -
setTxnidMostBits
-
clearTxnidMostBits
-
getPartitionsCount
public int getPartitionsCount() -
getPartitionAt
-
getPartitionsList
-
addPartition
-
addAllPartitions
-
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
-
copyFrom
-
toByteArray
public byte[] toByteArray() -
parseFrom
public void parseFrom(byte[] a)
-