Interface SpeakerDiarizationConfigOrBuilder (4.22.0)

public interface SpeakerDiarizationConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxSpeakerCount()

public abstract int getMaxSpeakerCount()

Required. Maximum number of speakers in the conversation. Valid values are: 1-6. Must be >= min_speaker_count. This range gives you more flexibility by allowing the system to automatically determine the correct number of speakers.

int32 max_speaker_count = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The maxSpeakerCount.

getMinSpeakerCount()

public abstract int getMinSpeakerCount()

Required. Minimum number of speakers in the conversation. This range gives you more flexibility by allowing the system to automatically determine the correct number of speakers.

To fix the number of speakers detected in the audio, set min_speaker_count = max_speaker_count.

int32 min_speaker_count = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The minSpeakerCount.