public final UnaryCallable<DeleteQueueRequest, Empty> deleteQueueCallable() {
    return stub.deleteQueueCallable();
  }
Deletes a queue.

<p>This command will delete the queue even if it has tasks in it.

<p>Note: If you delete a queue, a queue with the same name can't be created for 7 days.

<p>WARNING: Using this method may have unintended side effects if you are using an App Engine
`queue.yaml` or `queue.xml` file to manage your queues. Read [Overview of Queue Management and
queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using this method.

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (CloudTasksClient cloudTasksClient = CloudTasksClient.create()) {
  DeleteQueueRequest request =
      DeleteQueueRequest.newBuilder()
          .setName(QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]").toString())
          .build();
  ApiFuture<Empty> future = cloudTasksClient.deleteQueueCallable().futureCall(request);
  // Do something.
  future.get();
}
}</pre>
java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java