code: public final KnowledgeBase getKnowledgeBase(KnowledgeBaseName name) {
  
      GetKnowledgeBaseRequest request =
          GetKnowledgeBaseRequest.newBuilder().setName(name == null ? null : name.toString()).build();
      return getKnowledgeBase(request);
    }
docs: Retrieves the specified knowledge base.
  
  <p>Sample code:
  
  <pre><code>
  try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
  KnowledgeBaseName name = KnowledgeBaseName.of("[PROJECT]", "[KNOWLEDGE_BASE]");
  KnowledgeBase response = knowledgeBasesClient.getKnowledgeBase(name);
  }
  </code></pre>
  
  @param name Required. The name of the knowledge base to retrieve. Format `projects/&lt;Project
  ID&gt;/knowledgeBases/&lt;Knowledge Base ID&gt;`.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails