Class CommandEndTxn
java.lang.Object
org.apache.pulsar.common.api.proto.CommandEndTxn
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclear()copyFrom(CommandEndTxn _other) longintlonglongbooleanbooleanbooleanbooleanvoidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) setRequestId(long requestId) setTxnAction(TxnAction txnAction) setTxnidLeastBits(long txnidLeastBits) setTxnidMostBits(long txnidMostBits) byte[]intwriteTo(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
CommandEndTxn
public CommandEndTxn()
-
-
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
-
hasTxnAction
public boolean hasTxnAction() -
getTxnAction
-
setTxnAction
-
clearTxnAction
-
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)
-