Struct gapi_grpc::google::cloud::dialogflow::v2beta1::SpeechToTextConfig[][src]

pub struct SpeechToTextConfig {
    pub speech_model_variant: i32,
}

Configures speech transcription for [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile].

Fields

speech_model_variant: i32

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][google.cloud.dialogflow.v2beta1.AnalyzeContentRequest] and [StreamingAnalyzeContentRequest][google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest] request.

Implementations

impl SpeechToTextConfig[src]

pub fn speech_model_variant(&self) -> SpeechModelVariant[src]

Returns the enum value of speech_model_variant, or the default if the field is set to an invalid enum value.

pub fn set_speech_model_variant(&mut self, value: SpeechModelVariant)[src]

Sets speech_model_variant to the provided enum value.

Trait Implementations

impl Clone for SpeechToTextConfig[src]

impl Debug for SpeechToTextConfig[src]

impl Default for SpeechToTextConfig[src]

impl Message for SpeechToTextConfig[src]

impl PartialEq<SpeechToTextConfig> for SpeechToTextConfig[src]

impl StructuralPartialEq for SpeechToTextConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for SpeechToTextConfig

impl Send for SpeechToTextConfig

impl Sync for SpeechToTextConfig

impl Unpin for SpeechToTextConfig

impl UnwindSafe for SpeechToTextConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]