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

    size = 0;
    if (((bitField0_ & 0x00000001) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartOffset());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndOffset());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(word_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, word_);
    }
    if (java.lang.Float.floatToRawIntBits(confidence_) != 0) {
      size += com.google.protobuf.CodedOutputStream.computeFloatSize(4, confidence_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(speakerLabel_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, speakerLabel_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<pre>
A distinct label is assigned for every speaker within the audio. This field
specifies which one of those speakers was detected to have spoken this
word. `speaker_label` is set if
[SpeakerDiarizationConfig][google.cloud.speech.v2.SpeakerDiarizationConfig]
is given and only in the top alternative.
</pre>

<code>string speaker_label = 6;</code>

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