public UnaryCallSettings<GetTaskRequest, Task> getTaskSettings() {
    return ((CloudTasksStubSettings) getStubSettings()).getTaskSettings();
  }
Returns the object with the settings used for calls to getTask.
java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java