Class CommandEndTxn
- java.lang.Object
-
- org.apache.pulsar.common.api.proto.CommandEndTxn
-
public final class CommandEndTxn extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CommandEndTxn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandEndTxnclear()CommandEndTxnclearRequestId()CommandEndTxnclearTxnAction()CommandEndTxnclearTxnidLeastBits()CommandEndTxnclearTxnidMostBits()CommandEndTxncopyFrom(CommandEndTxn _other)longgetRequestId()intgetSerializedSize()TxnActiongetTxnAction()longgetTxnidLeastBits()longgetTxnidMostBits()booleanhasRequestId()booleanhasTxnAction()booleanhasTxnidLeastBits()booleanhasTxnidMostBits()voidparseFrom(byte[] a)voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size)CommandEndTxnsetRequestId(long requestId)CommandEndTxnsetTxnAction(TxnAction txnAction)CommandEndTxnsetTxnidLeastBits(long txnidLeastBits)CommandEndTxnsetTxnidMostBits(long txnidMostBits)byte[]toByteArray()intwriteTo(io.netty.buffer.ByteBuf _b)
-
-
-
Method Detail
-
hasRequestId
public boolean hasRequestId()
-
getRequestId
public long getRequestId()
-
setRequestId
public CommandEndTxn setRequestId(long requestId)
-
clearRequestId
public CommandEndTxn clearRequestId()
-
hasTxnidLeastBits
public boolean hasTxnidLeastBits()
-
getTxnidLeastBits
public long getTxnidLeastBits()
-
setTxnidLeastBits
public CommandEndTxn setTxnidLeastBits(long txnidLeastBits)
-
clearTxnidLeastBits
public CommandEndTxn clearTxnidLeastBits()
-
hasTxnidMostBits
public boolean hasTxnidMostBits()
-
getTxnidMostBits
public long getTxnidMostBits()
-
setTxnidMostBits
public CommandEndTxn setTxnidMostBits(long txnidMostBits)
-
clearTxnidMostBits
public CommandEndTxn clearTxnidMostBits()
-
hasTxnAction
public boolean hasTxnAction()
-
getTxnAction
public TxnAction getTxnAction()
-
setTxnAction
public CommandEndTxn setTxnAction(TxnAction txnAction)
-
clearTxnAction
public CommandEndTxn 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
public CommandEndTxn clear()
-
copyFrom
public CommandEndTxn copyFrom(CommandEndTxn _other)
-
toByteArray
public byte[] toByteArray()
-
parseFrom
public void parseFrom(byte[] a)
-
-