Interface SpeechToTextConfigOrBuilder (4.3.1)

public interface SpeechToTextConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSpeechModelVariant()

public abstract SpeechModelVariant getSpeechModelVariant()

Optional. 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.

.google.cloud.dialogflow.v2beta1.SpeechModelVariant speech_model_variant = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
SpeechModelVariant

The speechModelVariant.

getSpeechModelVariantValue()

public abstract int getSpeechModelVariantValue()

Optional. 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.

.google.cloud.dialogflow.v2beta1.SpeechModelVariant speech_model_variant = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for speechModelVariant.