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