@java.lang.Override
    public com.google.cloud.speech.v1.RecognitionConfig.AudioEncoding getEncoding() {
      com.google.cloud.speech.v1.RecognitionConfig.AudioEncoding result =
          com.google.cloud.speech.v1.RecognitionConfig.AudioEncoding.forNumber(encoding_);
      return result == null
          ? com.google.cloud.speech.v1.RecognitionConfig.AudioEncoding.UNRECOGNIZED
          : result;
    }
<pre>
Encoding of audio data sent in all `RecognitionAudio` messages.
This field is optional for `FLAC` and `WAV` audio files and required
for all other audio formats. For details, see
[AudioEncoding][google.cloud.speech.v1.RecognitionConfig.AudioEncoding].
</pre>

<code>.google.cloud.speech.v1.RecognitionConfig.AudioEncoding encoding = 1;</code>

@return The encoding.
java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/RecognitionConfig.java