Class CommandEndTxnOnPartitionResponse
java.lang.Object
org.apache.pulsar.common.api.proto.CommandEndTxnOnPartitionResponse
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclear()
getError()
long
int
long
long
boolean
hasError()
boolean
boolean
boolean
boolean
void
parseFrom
(byte[] a) void
parseFrom
(io.netty.buffer.ByteBuf _buffer, int _size) setError
(ServerError error) setMessage
(String message) setRequestId
(long requestId) setTxnidLeastBits
(long txnidLeastBits) setTxnidMostBits
(long txnidMostBits) byte[]
int
writeTo
(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
CommandEndTxnOnPartitionResponse
public CommandEndTxnOnPartitionResponse()
-
-
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
-
hasError
public boolean hasError() -
getError
-
setError
-
clearError
-
hasMessage
public boolean hasMessage() -
getMessage
-
setMessage
-
clearMessage
-
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)
-