Class CommandNewTxn
java.lang.Object
org.apache.pulsar.common.api.proto.CommandNewTxn
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclear()copyFrom(CommandNewTxn _other) longintlonggetTcId()longbooleanbooleanhasTcId()booleanvoidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) setRequestId(long requestId) setTcId(long tcId) setTxnTtlSeconds(long txnTtlSeconds) byte[]intwriteTo(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
CommandNewTxn
public CommandNewTxn()
-
-
Method Details
-
hasRequestId
public boolean hasRequestId() -
getRequestId
public long getRequestId() -
setRequestId
-
clearRequestId
-
hasTxnTtlSeconds
public boolean hasTxnTtlSeconds() -
getTxnTtlSeconds
public long getTxnTtlSeconds() -
setTxnTtlSeconds
-
clearTxnTtlSeconds
-
hasTcId
public boolean hasTcId() -
getTcId
public long getTcId() -
setTcId
-
clearTcId
-
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)
-