Interface SpeechToTextConfigOrBuilder (4.8.5)

public interface SpeechToTextConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSpeechModelVariant()

public abstract 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 and 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.v2beta1.SpeechModelVariant speech_model_variant = 1;

Returns
TypeDescription
SpeechModelVariant

The speechModelVariant.

getSpeechModelVariantValue()

public abstract 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 and 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.v2beta1.SpeechModelVariant speech_model_variant = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for speechModelVariant.