#[non_exhaustive]pub enum EndpointingSensitivity {
Unspecified,
Standard,
Supershort,
Short,
UnknownValue(UnknownValue),
}Expand description
Endpointing sensitivity is intended for applications that want to minimize result latency, possibly at the expense of quality. Some utterances may be broken up into multiple fragments.
§Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Unspecified
If no value is specified, the values for ENDPOINTING_SENSITIVITY_STANDARD will be used.
Standard
Standard sensitivity, no optimization for latency.
Supershort
Super short sensitivity, optimized for super short utterances like single words (“Yes”, “No”, “Hello”, etc.) or a single phrase, command or short query (e.g. “check balance”, “five dollars”, “call Mom”).
Short
Short sensitivity, optimized for short utterances like single sentences. (e.g. “Remind me to call the dentist tomorrow morning at nine”, “Navigate to the nearest coffee shop that is currently open”)
UnknownValue(UnknownValue)
If set, the enum was initialized with an unknown value.
Applications can examine the value using EndpointingSensitivity::value or EndpointingSensitivity::name.
Implementations§
Trait Implementations§
Source§impl Clone for EndpointingSensitivity
impl Clone for EndpointingSensitivity
Source§fn clone(&self) -> EndpointingSensitivity
fn clone(&self) -> EndpointingSensitivity
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EndpointingSensitivity
impl Debug for EndpointingSensitivity
Source§impl Default for EndpointingSensitivity
impl Default for EndpointingSensitivity
Source§impl<'de> Deserialize<'de> for EndpointingSensitivity
impl<'de> Deserialize<'de> for EndpointingSensitivity
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl Display for EndpointingSensitivity
impl Display for EndpointingSensitivity
Source§impl From<&str> for EndpointingSensitivity
impl From<&str> for EndpointingSensitivity
Source§impl From<i32> for EndpointingSensitivity
impl From<i32> for EndpointingSensitivity
Source§impl PartialEq for EndpointingSensitivity
impl PartialEq for EndpointingSensitivity
Source§impl Serialize for EndpointingSensitivity
impl Serialize for EndpointingSensitivity
impl StructuralPartialEq for EndpointingSensitivity
Auto Trait Implementations§
impl Freeze for EndpointingSensitivity
impl RefUnwindSafe for EndpointingSensitivity
impl Send for EndpointingSensitivity
impl Sync for EndpointingSensitivity
impl Unpin for EndpointingSensitivity
impl UnsafeUnpin for EndpointingSensitivity
impl UnwindSafe for EndpointingSensitivity
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request