@Override protected void handlePartitionResponse(CommandPartitionedTopicMetadataResponse lookupResult) { if (log.isDebugEnabled()) { log.debug("Received Broker Partition response: {}", lookupResult.getPartitions()); requestFuture.complete(new LookupDataResult(lookupResult.getPartitions()));
@Override protected void handlePartitionResponse(CommandPartitionedTopicMetadataResponse lookupResult) { if (log.isDebugEnabled()) { log.debug("Received Broker Partition response: {}", lookupResult.getPartitions()); requestFuture.complete(new LookupDataResult(lookupResult.getPartitions()));
public Builder mergeFrom(org.apache.pulsar.common.api.proto.PulsarApi.CommandPartitionedTopicMetadataResponse other) { if (other == org.apache.pulsar.common.api.proto.PulsarApi.CommandPartitionedTopicMetadataResponse.getDefaultInstance()) return this; if (other.hasPartitions()) { setPartitions(other.getPartitions()); } if (other.hasRequestId()) { setRequestId(other.getRequestId()); } if (other.hasResponse()) { setResponse(other.getResponse()); } if (other.hasError()) { setError(other.getError()); } if (other.hasMessage()) { setMessage(other.getMessage()); } return this; }
public Builder mergeFrom(org.apache.pulsar.common.api.proto.PulsarApi.CommandPartitionedTopicMetadataResponse other) { if (other == org.apache.pulsar.common.api.proto.PulsarApi.CommandPartitionedTopicMetadataResponse.getDefaultInstance()) return this; if (other.hasPartitions()) { setPartitions(other.getPartitions()); } if (other.hasRequestId()) { setRequestId(other.getRequestId()); } if (other.hasResponse()) { setResponse(other.getResponse()); } if (other.hasError()) { setError(other.getError()); } if (other.hasMessage()) { setMessage(other.getMessage()); } return this; }