code: public final SynthesizeSpeechResponse synthesizeSpeech(
        SynthesisInput input, VoiceSelectionParams voice, AudioConfig audioConfig) {
  
      SynthesizeSpeechRequest request =
          SynthesizeSpeechRequest.newBuilder()
              .setInput(input)
              .setVoice(voice)
              .setAudioConfig(audioConfig)
              .build();
      return synthesizeSpeech(request);
    }
docs: Synthesizes speech synchronously: receive results after all text input has been processed.
  
  <p>Sample code:
  
  <pre><code>
  try (TextToSpeechClient textToSpeechClient = TextToSpeechClient.create()) {
  SynthesisInput input = SynthesisInput.newBuilder().build();
  VoiceSelectionParams voice = VoiceSelectionParams.newBuilder().build();
  AudioConfig audioConfig = AudioConfig.newBuilder().build();
  SynthesizeSpeechResponse response = textToSpeechClient.synthesizeSpeech(input, voice, audioConfig);
  }
  </code></pre>
  
  @param input Required. The Synthesizer requires either plain text or SSML as input.
  @param voice Required. The desired voice of the synthesized audio.
  @param audioConfig Required. The configuration of the synthesized audio.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails