code: @BetaApi(
        "The surface for long-running operations is not stable yet and may change in the future.")
    public final OperationFuture<Empty, Struct> batchDeleteIntentsAsync(
        String parent, List<Intent> intents) {
  
      BatchDeleteIntentsRequest request =
          BatchDeleteIntentsRequest.newBuilder().setParent(parent).addAllIntents(intents).build();
      return batchDeleteIntentsAsync(request);
    }
docs: Deletes intents in the specified agent.
  
  <p>Operation &lt;response: [google.protobuf.Empty][google.protobuf.Empty]&gt;
  
  <p>Sample code:
  
  <pre><code>
  try (IntentsClient intentsClient = IntentsClient.create()) {
  ProjectAgentName parent = ProjectAgentName.of("[PROJECT]");
  List&lt;Intent&gt; intents = new ArrayList&lt;&gt;();
  intentsClient.batchDeleteIntentsAsync(parent.toString(), intents).get();
  }
  </code></pre>
  
  @param parent Required. The name of the agent to delete all entities types for. Format:
  `projects/&lt;Project ID&gt;/agent`.
  @param intents Required. The collection of intents to delete. Only intent `name` must be filled
  in.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails