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