@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (encoding_
        != com.google.cloud.speech.v1.RecognitionConfig.AudioEncoding.ENCODING_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(1, encoding_);
    }
    if (sampleRateHertz_ != 0) {
      output.writeInt32(2, sampleRateHertz_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, languageCode_);
    }
    if (maxAlternatives_ != 0) {
      output.writeInt32(4, maxAlternatives_);
    }
    if (profanityFilter_ != false) {
      output.writeBool(5, profanityFilter_);
    }
    for (int i = 0; i < speechContexts_.size(); i++) {
      output.writeMessage(6, speechContexts_.get(i));
    }
    if (audioChannelCount_ != 0) {
      output.writeInt32(7, audioChannelCount_);
    }
    if (enableWordTimeOffsets_ != false) {
      output.writeBool(8, enableWordTimeOffsets_);
    }
    if (((bitField0_ & 0x00000020) != 0)) {
      output.writeMessage(9, getMetadata());
    }
    if (enableAutomaticPunctuation_ != false) {
      output.writeBool(11, enableAutomaticPunctuation_);
    }
    if (enableSeparateRecognitionPerChannel_ != false) {
      output.writeBool(12, enableSeparateRecognitionPerChannel_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(model_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 13, model_);
    }
    if (useEnhanced_ != false) {
      output.writeBool(14, useEnhanced_);
    }
    if (enableWordConfidence_ != false) {
      output.writeBool(15, enableWordConfidence_);
    }
    for (int i = 0; i < alternativeLanguageCodes_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(
          output, 18, alternativeLanguageCodes_.getRaw(i));
    }
    if (((bitField0_ & 0x00000010) != 0)) {
      output.writeMessage(19, getDiarizationConfig());
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(20, getAdaptation());
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      output.writeMessage(22, getEnableSpokenPunctuation());
    }
    if (((bitField0_ & 0x00000008) != 0)) {
      output.writeMessage(23, getEnableSpokenEmojis());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(24, getTranscriptNormalization());
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Set to true to use an enhanced model for speech recognition.
If `use_enhanced` is set to true and the `model` field is not set, then
an appropriate enhanced model is chosen if an enhanced model exists for
the audio.

If `use_enhanced` is true and an enhanced version of the specified model
does not exist, then the speech is recognized using the standard version
of the specified model.
</pre>

<code>bool use_enhanced = 14;</code>

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