Interface AdvancedSettings.SpeechSettingsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AdvancedSettings.SpeechSettings,AdvancedSettings.SpeechSettings.Builder
- Enclosing class:
- AdvancedSettings
public static interface AdvancedSettings.SpeechSettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsModels(String key) Mapping from language to Speech-to-Text model.intSensitivity of the speech model that detects the end of speech.Deprecated.intMapping from language to Speech-to-Text model.Mapping from language to Speech-to-Text model.getModelsOrDefault(String key, String defaultValue) Mapping from language to Speech-to-Text model.getModelsOrThrow(String key) Mapping from language to Speech-to-Text model.com.google.protobuf.DurationTimeout before detecting no speech.com.google.protobuf.DurationOrBuilderTimeout before detecting no speech.booleanUse timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.booleanTimeout before detecting no speech.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEndpointerSensitivity
int getEndpointerSensitivity()Sensitivity of the speech model that detects the end of speech. Scale from 0 to 100.
int32 endpointer_sensitivity = 1;- Returns:
- The endpointerSensitivity.
-
hasNoSpeechTimeout
boolean hasNoSpeechTimeout()Timeout before detecting no speech.
.google.protobuf.Duration no_speech_timeout = 2;- Returns:
- Whether the noSpeechTimeout field is set.
-
getNoSpeechTimeout
com.google.protobuf.Duration getNoSpeechTimeout()Timeout before detecting no speech.
.google.protobuf.Duration no_speech_timeout = 2;- Returns:
- The noSpeechTimeout.
-
getNoSpeechTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getNoSpeechTimeoutOrBuilder()Timeout before detecting no speech.
.google.protobuf.Duration no_speech_timeout = 2; -
getUseTimeoutBasedEndpointing
boolean getUseTimeoutBasedEndpointing()Use timeout based endpointing, interpreting endpointer sensitivity as seconds of timeout value.
bool use_timeout_based_endpointing = 3;- Returns:
- The useTimeoutBasedEndpointing.
-
getModelsCount
int getModelsCount()Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
map<string, string> models = 5; -
containsModels
Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
map<string, string> models = 5; -
getModels
Deprecated.UsegetModelsMap()instead. -
getModelsMap
Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
map<string, string> models = 5; -
getModelsOrDefault
Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
map<string, string> models = 5; -
getModelsOrThrow
Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model will be selected for requests from its corresponding language. For more information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
map<string, string> models = 5;
-