code: public final Agent getAgent(ProjectName parent) {
  
      GetAgentRequest request =
          GetAgentRequest.newBuilder().setParent(parent == null ? null : parent.toString()).build();
      return getAgent(request);
    }
docs: Retrieves the specified agent.
  
  <p>Sample code:
  
  <pre><code>
  try (AgentsClient agentsClient = AgentsClient.create()) {
  ProjectName parent = ProjectName.of("[PROJECT]");
  Agent response = agentsClient.getAgent(parent);
  }
  </code></pre>
  
  @param parent Required. The project that the agent to fetch is associated with. Format:
  `projects/&lt;Project ID&gt;`.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails