@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.speech.v1.WordInfo)) {
      return super.equals(obj);
    }
    com.google.cloud.speech.v1.WordInfo other = (com.google.cloud.speech.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 (!getSpeakerLabel().equals(other.getSpeakerLabel())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Output only. A label value assigned for every unique speaker within the
audio. This field specifies which speaker was detected to have spoken this
word. For some models, like medical_conversation this can be actual speaker
role, for example "patient" or "provider", but generally this would be a
number identifying a speaker. This field is only set if
enable_speaker_diarization = 'true' and only for the top alternative.
</pre>

<code>string speaker_label = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>

@return The bytes for speakerLabel.
java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/WordInfo.java