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

    if (hasStartTime() != other.hasStartTime()) return false;
    if (hasStartTime()) {
      if (!getStartTime().equals(other.getStartTime())) return false;
    }
    if (hasEndTime() != other.hasEndTime()) return false;
    if (hasEndTime()) {
      if (!getEndTime().equals(other.getEndTime())) return false;
    }
    if (!getWord().equals(other.getWord())) return false;
    if (java.lang.Float.floatToIntBits(getConfidence())
        != java.lang.Float.floatToIntBits(other.getConfidence())) return false;
    if (getSpeakerTag() != other.getSpeakerTag()) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Output only. A distinct integer value is assigned for every speaker within
the audio. This field specifies which one of those speakers was detected to
have spoken this word. Value ranges from 1 up to diarization_speaker_count,
and is only set if speaker diarization is enabled.
</pre>

<code>int32 speaker_tag = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>

@return The speakerTag.
java-video-intelligence/proto-google-cloud-video-intelligence-v1/src/main/java/com/google/cloud/videointelligence/v1/WordInfo.java