public Builder setSpeakerLabel(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      speakerLabel_ = value;
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
<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>

@param value The speakerLabel to set.
@return This builder for chaining.
java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/WordInfo.java