Class CommandAddPartitionToTxnResponse
java.lang.Object
org.apache.pulsar.common.api.proto.CommandAddPartitionToTxnResponse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclear()getError()longintlonglongbooleanhasError()booleanbooleanbooleanbooleanvoidparseFrom(byte[] a) voidparseFrom(io.netty.buffer.ByteBuf _buffer, int _size) setError(ServerError error) setMessage(String message) setRequestId(long requestId) setTxnidLeastBits(long txnidLeastBits) setTxnidMostBits(long txnidMostBits) byte[]intwriteTo(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
CommandAddPartitionToTxnResponse
public CommandAddPartitionToTxnResponse()
-
-
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)
-