code: public final Intent getIntent(IntentName name) {
  
      GetIntentRequest request =
          GetIntentRequest.newBuilder().setName(name == null ? null : name.toString()).build();
      return getIntent(request);
    }
docs: Retrieves the specified intent.
  
  <p>Sample code:
  
  <pre><code>
  try (IntentsClient intentsClient = IntentsClient.create()) {
  IntentName name = IntentName.of("[PROJECT]", "[INTENT]");
  Intent response = intentsClient.getIntent(name);
  }
  </code></pre>
  
  @param name Required. The name of the intent. Format: `projects/&lt;Project
  ID&gt;/agent/intents/&lt;Intent ID&gt;`.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails