public com.google.protobuf.ByteString getSpeakerLabelBytes() {
      java.lang.Object ref = speakerLabel_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        speakerLabel_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
<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