- 4.50.0 (latest)
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.7.0
- 4.6.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.0
- 3.0.0
- 2.6.1
- 2.5.9
- 2.4.0
- 2.3.0
- 2.2.15
public interface SpeakerDiarizationConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getEnableSpeakerDiarization()
public abstract boolean getEnableSpeakerDiarization()
If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_tag provided in the WordInfo.
bool enable_speaker_diarization = 1;
Returns | |
---|---|
Type | Description |
boolean | The enableSpeakerDiarization. |
getMaxSpeakerCount()
public abstract int getMaxSpeakerCount()
Maximum number of speakers in the conversation. This range gives you more flexibility by allowing the system to automatically determine the correct number of speakers. If not set, the default value is 6.
int32 max_speaker_count = 3;
Returns | |
---|---|
Type | Description |
int | The maxSpeakerCount. |
getMinSpeakerCount()
public abstract int getMinSpeakerCount()
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. If not set, the default value is 2.
int32 min_speaker_count = 2;
Returns | |
---|---|
Type | Description |
int | The minSpeakerCount. |
getSpeakerTag() (deprecated)
public abstract int getSpeakerTag()
Deprecated. google.cloud.speech.v1p1beta1.SpeakerDiarizationConfig.speaker_tag is deprecated. See google/cloud/speech/v1p1beta1/cloud_speech.proto;l=503
Output only. Unused.
int32 speaker_tag = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The speakerTag. |