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

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

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