public final CloudTasksSettings getSettings() {
    return settings;
  }
Constructs an instance of CloudTasksClient, using the given settings. This is protected so that
it is easy to make a subclass, but otherwise, the static factory methods should be preferred.
java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksClient.java