Class CommandPartitionedTopicMetadataResponse
- java.lang.Object
-
- org.apache.pulsar.common.api.proto.CommandPartitionedTopicMetadataResponse
-
public final class CommandPartitionedTopicMetadataResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommandPartitionedTopicMetadataResponse.LookupType
-
Constructor Summary
Constructors Constructor Description CommandPartitionedTopicMetadataResponse()
-
Method Summary
-
-
-
Method Detail
-
hasPartitions
public boolean hasPartitions()
-
getPartitions
public int getPartitions()
-
setPartitions
public CommandPartitionedTopicMetadataResponse setPartitions(int partitions)
-
clearPartitions
public CommandPartitionedTopicMetadataResponse clearPartitions()
-
hasRequestId
public boolean hasRequestId()
-
getRequestId
public long getRequestId()
-
setRequestId
public CommandPartitionedTopicMetadataResponse setRequestId(long requestId)
-
clearRequestId
public CommandPartitionedTopicMetadataResponse clearRequestId()
-
hasResponse
public boolean hasResponse()
-
getResponse
public CommandPartitionedTopicMetadataResponse.LookupType getResponse()
-
setResponse
public CommandPartitionedTopicMetadataResponse setResponse(CommandPartitionedTopicMetadataResponse.LookupType response)
-
clearResponse
public CommandPartitionedTopicMetadataResponse clearResponse()
-
hasError
public boolean hasError()
-
getError
public ServerError getError()
-
setError
public CommandPartitionedTopicMetadataResponse setError(ServerError error)
-
clearError
public CommandPartitionedTopicMetadataResponse clearError()
-
hasMessage
public boolean hasMessage()
-
getMessage
public java.lang.String getMessage()
-
setMessage
public CommandPartitionedTopicMetadataResponse setMessage(java.lang.String message)
-
clearMessage
public CommandPartitionedTopicMetadataResponse 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
public CommandPartitionedTopicMetadataResponse clear()
-
copyFrom
public CommandPartitionedTopicMetadataResponse copyFrom(CommandPartitionedTopicMetadataResponse _other)
-
toByteArray
public byte[] toByteArray()
-
parseFrom
public void parseFrom(byte[] a)
-
-