@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    getSerializedSize();
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, languageCode_);
    }
    if (maxAlternatives_ != 0) {
      output.writeInt32(2, maxAlternatives_);
    }
    if (filterProfanity_ != false) {
      output.writeBool(3, filterProfanity_);
    }
    for (int i = 0; i < speechContexts_.size(); i++) {
      output.writeMessage(4, speechContexts_.get(i));
    }
    if (enableAutomaticPunctuation_ != false) {
      output.writeBool(5, enableAutomaticPunctuation_);
    }
    if (getAudioTracksList().size() > 0) {
      output.writeUInt32NoTag(50);
      output.writeUInt32NoTag(audioTracksMemoizedSerializedSize);
    }
    for (int i = 0; i < audioTracks_.size(); i++) {
      output.writeInt32NoTag(audioTracks_.getInt(i));
    }
    if (enableSpeakerDiarization_ != false) {
      output.writeBool(7, enableSpeakerDiarization_);
    }
    if (diarizationSpeakerCount_ != 0) {
      output.writeInt32(8, diarizationSpeakerCount_);
    }
    if (enableWordConfidence_ != false) {
      output.writeBool(9, enableWordConfidence_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Optional. If `true`, the top result includes a list of words and the
confidence for those words. If `false`, no word-level confidence
information is returned. The default is `false`.
</pre>

<code>bool enable_word_confidence = 9 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The enableWordConfidence.
java-video-intelligence/proto-google-cloud-video-intelligence-v1p3beta1/src/main/java/com/google/cloud/videointelligence/v1p3beta1/SpeechTranscriptionConfig.java