code: public final Topic getTopic(String topic) {
  
      GetTopicRequest request = GetTopicRequest.newBuilder().setTopic(topic).build();
      return getTopic(request);
    }
docs: Gets the configuration of a topic.
  
  <p>Sample code:
  
  <pre><code>
  try (TopicAdminClient topicAdminClient = TopicAdminClient.create()) {
  ProjectTopicName topic = ProjectTopicName.of("[PROJECT]", "[TOPIC]");
  Topic response = topicAdminClient.getTopic(topic.toString());
  }
  </code></pre>
  
  @param topic The name of the topic to get. Format is `projects/{project}/topics/{topic}`.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails