public com.google.cloud.texttospeech.v1beta1.VoiceSelectionParams getVoice() {
      if (voiceBuilder_ == null) {
        return voice_ == null
            ? com.google.cloud.texttospeech.v1beta1.VoiceSelectionParams.getDefaultInstance()
            : voice_;
      } else {
        return voiceBuilder_.getMessage();
      }
    }
<pre>
Required. The desired voice of the synthesized audio.
</pre>

<code>
.google.cloud.texttospeech.v1beta1.VoiceSelectionParams voice = 5 [(.google.api.field_behavior) = REQUIRED];
</code>

@return The voice.
java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/SynthesizeLongAudioRequest.java