public static interface SpeechToTextConfig.GeminiAsrConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getEndOfSpeechSensitivity()
public abstract SpeechToTextConfig.GeminiAsrConfig.EndSensitivity getEndOfSpeechSensitivity()Optional. End of speech sensitivity.
.google.cloud.dialogflow.v2.SpeechToTextConfig.GeminiAsrConfig.EndSensitivity end_of_speech_sensitivity = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SpeechToTextConfig.GeminiAsrConfig.EndSensitivity |
The endOfSpeechSensitivity. |
getEndOfSpeechSensitivityValue()
public abstract int getEndOfSpeechSensitivityValue()Optional. End of speech sensitivity.
.google.cloud.dialogflow.v2.SpeechToTextConfig.GeminiAsrConfig.EndSensitivity end_of_speech_sensitivity = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for endOfSpeechSensitivity. |
getPrefixPaddingMs()
public abstract int getPrefixPaddingMs()Optional. The required duration of detected speech before start-of-speech is committed.
int32 prefix_padding_ms = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The prefixPaddingMs. |
getSilenceDurationMs()
public abstract int getSilenceDurationMs()Optional. The required duration of detected silence (or non-speech) before end-of-speech is committed.
int32 silence_duration_ms = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The silenceDurationMs. |
getStartOfSpeechSensitivity()
public abstract SpeechToTextConfig.GeminiAsrConfig.StartSensitivity getStartOfSpeechSensitivity()Optional. Start of speech sensitivity.
.google.cloud.dialogflow.v2.SpeechToTextConfig.GeminiAsrConfig.StartSensitivity start_of_speech_sensitivity = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SpeechToTextConfig.GeminiAsrConfig.StartSensitivity |
The startOfSpeechSensitivity. |
getStartOfSpeechSensitivityValue()
public abstract int getStartOfSpeechSensitivityValue()Optional. Start of speech sensitivity.
.google.cloud.dialogflow.v2.SpeechToTextConfig.GeminiAsrConfig.StartSensitivity start_of_speech_sensitivity = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for startOfSpeechSensitivity. |