Struct google_api_proto::google::cloud::speech::v2::BatchRecognizeFileMetadata
source · pub struct BatchRecognizeFileMetadata {
pub config: Option<RecognitionConfig>,
pub config_mask: Option<FieldMask>,
pub audio_source: Option<AudioSource>,
}
Expand description
Metadata about a single file in a batch for BatchRecognize.
Fields§
§config: Option<RecognitionConfig>
Features and audio metadata to use for the Automatic Speech Recognition. This field in combination with the [config_mask][google.cloud.speech.v2.BatchRecognizeFileMetadata.config_mask] field can be used to override parts of the [default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config] of the Recognizer resource as well as the [config][google.cloud.speech.v2.BatchRecognizeRequest.config] at the request level.
config_mask: Option<FieldMask>
The list of fields in
[config][google.cloud.speech.v2.BatchRecognizeFileMetadata.config] that
override the values in the
[default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config]
of the recognizer during this recognition request. If no mask is provided,
all non-default valued fields in
[config][google.cloud.speech.v2.BatchRecognizeFileMetadata.config] override
the values in the recognizer for this recognition request. If a mask is
provided, only the fields listed in the mask override the config in the
recognizer for this recognition request. If a wildcard (*
) is provided,
[config][google.cloud.speech.v2.BatchRecognizeFileMetadata.config]
completely overrides and replaces the config in the recognizer for this
recognition request.
audio_source: Option<AudioSource>
The audio source, which is a Google Cloud Storage URI.
Trait Implementations§
source§impl Clone for BatchRecognizeFileMetadata
impl Clone for BatchRecognizeFileMetadata
source§fn clone(&self) -> BatchRecognizeFileMetadata
fn clone(&self) -> BatchRecognizeFileMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchRecognizeFileMetadata
impl Debug for BatchRecognizeFileMetadata
source§impl Default for BatchRecognizeFileMetadata
impl Default for BatchRecognizeFileMetadata
source§impl Message for BatchRecognizeFileMetadata
impl Message for BatchRecognizeFileMetadata
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for BatchRecognizeFileMetadata
impl PartialEq for BatchRecognizeFileMetadata
source§fn eq(&self, other: &BatchRecognizeFileMetadata) -> bool
fn eq(&self, other: &BatchRecognizeFileMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchRecognizeFileMetadata
Auto Trait Implementations§
impl Freeze for BatchRecognizeFileMetadata
impl RefUnwindSafe for BatchRecognizeFileMetadata
impl Send for BatchRecognizeFileMetadata
impl Sync for BatchRecognizeFileMetadata
impl Unpin for BatchRecognizeFileMetadata
impl UnwindSafe for BatchRecognizeFileMetadata
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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