public UnaryCallSettings.Builder<LeaseTasksRequest, LeaseTasksResponse> leaseTasksSettings() {
      return getStubSettingsBuilder().leaseTasksSettings();
    }
Returns the builder for the settings used for calls to leaseTasks.
java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java