speakerTag property

  1. @TagNumber(5)
int speakerTag

Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from '1' to diarization_speaker_count. speaker_tag is set if enable_speaker_diarization = 'true' and only in the top alternative.

Implementation

@$pb.TagNumber(5)
$core.int get speakerTag => $_getIZ(4);
  1. @TagNumber(5)
void speakerTag=(int v)

Implementation

@$pb.TagNumber(5)
set speakerTag($core.int v) {
  $_setSignedInt32(4, v);
}