@java.lang.Override
  public com.google.cloud.texttospeech.v1beta1.AudioEncoding getAudioEncoding() {
    com.google.cloud.texttospeech.v1beta1.AudioEncoding result =
        com.google.cloud.texttospeech.v1beta1.AudioEncoding.forNumber(audioEncoding_);
    return result == null
        ? com.google.cloud.texttospeech.v1beta1.AudioEncoding.UNRECOGNIZED
        : result;
  }
<pre>
Required. The format of the audio byte stream.
For now, streaming only supports PCM and OGG_OPUS. All other encodings
will return an error.
</pre>

<code>
.google.cloud.texttospeech.v1beta1.AudioEncoding audio_encoding = 1 [(.google.api.field_behavior) = REQUIRED];
</code>

@return The audioEncoding.
java-texttospeech/proto-google-cloud-texttospeech-v1beta1/src/main/java/com/google/cloud/texttospeech/v1beta1/StreamingAudioConfig.java