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