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