public Builder toBuilder() {
    return new Builder(this);
  }
Returns a builder containing all the values of this settings class.
java-tasks/google-cloud-tasks/src/main/java/com/google/cloud/tasks/v2beta2/CloudTasksSettings.java