public interface SpeechToTextConfigOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
SpeechModelVariant |
getSpeechModelVariant()
The speech model used in speech to text.
|
int |
getSpeechModelVariantValue()
The speech model used in speech to text.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
int getSpeechModelVariantValue()
The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in [AnalyzeContentRequest][google.cloud.dialogflow.v2.AnalyzeContentRequest] and [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest] request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error.
.google.cloud.dialogflow.v2.SpeechModelVariant speech_model_variant = 1;
SpeechModelVariant getSpeechModelVariant()
The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in [AnalyzeContentRequest][google.cloud.dialogflow.v2.AnalyzeContentRequest] and [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2.StreamingAnalyzeContentRequest] request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error.
.google.cloud.dialogflow.v2.SpeechModelVariant speech_model_variant = 1;
Copyright © 2022 Google LLC. All rights reserved.