Package com.google.cloud.speech.v2
Interface SpeakerDiarizationConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SpeakerDiarizationConfig
,SpeakerDiarizationConfig.Builder
public interface SpeakerDiarizationConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMaxSpeakerCount()
Required.int
getMinSpeakerCount()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMinSpeakerCount
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:
- The minSpeakerCount.
-
getMaxSpeakerCount
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:
- The maxSpeakerCount.
-
-