Class CommandPartitionedTopicMetadataResponse
java.lang.Object
org.apache.pulsar.common.api.proto.CommandPartitionedTopicMetadataResponse
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclear()
getError()
int
long
int
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) setPartitions
(int partitions) setRequestId
(long requestId) byte[]
int
writeTo
(io.netty.buffer.ByteBuf _b)
-
Constructor Details
-
CommandPartitionedTopicMetadataResponse
public CommandPartitionedTopicMetadataResponse()
-
-
Method Details
-
hasPartitions
public boolean hasPartitions() -
getPartitions
public int getPartitions() -
setPartitions
-
clearPartitions
-
hasRequestId
public boolean hasRequestId() -
getRequestId
public long getRequestId() -
setRequestId
-
clearRequestId
-
hasResponse
public boolean hasResponse() -
getResponse
-
setResponse
public CommandPartitionedTopicMetadataResponse setResponse(CommandPartitionedTopicMetadataResponse.LookupType response) -
clearResponse
-
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
public CommandPartitionedTopicMetadataResponse copyFrom(CommandPartitionedTopicMetadataResponse _other) -
toByteArray
public byte[] toByteArray() -
parseFrom
public void parseFrom(byte[] a)
-