public UnaryCallSettings<PurgeQueueRequest, Queue> purgeQueueSettings() {
    return ((CloudTasksStubSettings) getStubSettings()).purgeQueueSettings();
  }
Returns the object with the settings used for calls to purgeQueue.
java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2/CloudTasksSettings.java