code: public final void deleteIntent(String name) {
  
      DeleteIntentRequest request = DeleteIntentRequest.newBuilder().setName(name).build();
      deleteIntent(request);
    }
docs: Deletes the specified intent and its direct or indirect followup intents.
  
  <p>Sample code:
  
  <pre><code>
  try (IntentsClient intentsClient = IntentsClient.create()) {
  IntentName name = IntentName.of("[PROJECT]", "[INTENT]");
  intentsClient.deleteIntent(name.toString());
  }
  </code></pre>
  
  @param name Required. The name of the intent to delete. If this intent has direct or indirect
  followup intents, we also delete them.
  <p>Format: `projects/&lt;Project ID&gt;/agent/intents/&lt;Intent ID&gt;`.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails