@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(1, getStartTime());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(2, getEndTime());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(word_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, word_);
    }
    if (java.lang.Float.floatToRawIntBits(confidence_) != 0) {
      output.writeFloat(4, confidence_);
    }
    if (speakerTag_ != 0) {
      output.writeInt32(5, speakerTag_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(speakerLabel_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, speakerLabel_);
    }
    getUnknownFields().writeTo(output);
  }
<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-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/WordInfo.java