@java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(languageCode_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, languageCode_);
    }
    if (maxAlternatives_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, maxAlternatives_);
    }
    if (filterProfanity_ != false) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, filterProfanity_);
    }
    for (int i = 0; i < speechContexts_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, speechContexts_.get(i));
    }
    if (enableAutomaticPunctuation_ != false) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, enableAutomaticPunctuation_);
    }
    {
      int dataSize = 0;
      for (int i = 0; i < audioTracks_.size(); i++) {
        dataSize +=
            com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(audioTracks_.getInt(i));
      }
      size += dataSize;
      if (!getAudioTracksList().isEmpty()) {
        size += 1;
        size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
      }
      audioTracksMemoizedSerializedSize = dataSize;
    }
    if (enableSpeakerDiarization_ != false) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(7, enableSpeakerDiarization_);
    }
    if (diarizationSpeakerCount_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, diarizationSpeakerCount_);
    }
    if (enableWordConfidence_ != false) {
      size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, enableWordConfidence_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<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-v1/src/main/java/com/google/cloud/videointelligence/v1/SpeechTranscriptionConfig.java