public static final TextToSpeechSettings create(TextToSpeechStubSettings stub)
      throws IOException {
    return new TextToSpeechSettings.Builder(stub.toBuilder()).build();
  }
Returns the object with the settings used for calls to streamingSynthesize.
java-texttospeech/google-cloud-texttospeech/src/main/java/com/google/cloud/texttospeech/v1beta1/TextToSpeechSettings.java