@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig)) {
      return super.equals(obj);
    }
    com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig other =
        (com.google.cloud.videointelligence.v1p3beta1.SpeechTranscriptionConfig) obj;

    if (!getLanguageCode().equals(other.getLanguageCode())) return false;
    if (getMaxAlternatives() != other.getMaxAlternatives()) return false;
    if (getFilterProfanity() != other.getFilterProfanity()) return false;
    if (!getSpeechContextsList().equals(other.getSpeechContextsList())) return false;
    if (getEnableAutomaticPunctuation() != other.getEnableAutomaticPunctuation()) return false;
    if (!getAudioTracksList().equals(other.getAudioTracksList())) return false;
    if (getEnableSpeakerDiarization() != other.getEnableSpeakerDiarization()) return false;
    if (getDiarizationSpeakerCount() != other.getDiarizationSpeakerCount()) return false;
    if (getEnableWordConfidence() != other.getEnableWordConfidence()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<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