Enum google_api_proto::google::cloud::speech::v2::operation_metadata::Request
source · pub enum Request {
Show 14 variants
BatchRecognizeRequest(BatchRecognizeRequest),
CreateRecognizerRequest(CreateRecognizerRequest),
UpdateRecognizerRequest(UpdateRecognizerRequest),
DeleteRecognizerRequest(DeleteRecognizerRequest),
UndeleteRecognizerRequest(UndeleteRecognizerRequest),
CreateCustomClassRequest(CreateCustomClassRequest),
UpdateCustomClassRequest(UpdateCustomClassRequest),
DeleteCustomClassRequest(DeleteCustomClassRequest),
UndeleteCustomClassRequest(UndeleteCustomClassRequest),
CreatePhraseSetRequest(CreatePhraseSetRequest),
UpdatePhraseSetRequest(UpdatePhraseSetRequest),
DeletePhraseSetRequest(DeletePhraseSetRequest),
UndeletePhraseSetRequest(UndeletePhraseSetRequest),
UpdateConfigRequest(UpdateConfigRequest),
}
Expand description
The request that spawned the Operation.
Variants§
BatchRecognizeRequest(BatchRecognizeRequest)
The BatchRecognizeRequest that spawned the Operation.
CreateRecognizerRequest(CreateRecognizerRequest)
The CreateRecognizerRequest that spawned the Operation.
UpdateRecognizerRequest(UpdateRecognizerRequest)
The UpdateRecognizerRequest that spawned the Operation.
DeleteRecognizerRequest(DeleteRecognizerRequest)
The DeleteRecognizerRequest that spawned the Operation.
UndeleteRecognizerRequest(UndeleteRecognizerRequest)
The UndeleteRecognizerRequest that spawned the Operation.
CreateCustomClassRequest(CreateCustomClassRequest)
The CreateCustomClassRequest that spawned the Operation.
UpdateCustomClassRequest(UpdateCustomClassRequest)
The UpdateCustomClassRequest that spawned the Operation.
DeleteCustomClassRequest(DeleteCustomClassRequest)
The DeleteCustomClassRequest that spawned the Operation.
UndeleteCustomClassRequest(UndeleteCustomClassRequest)
The UndeleteCustomClassRequest that spawned the Operation.
CreatePhraseSetRequest(CreatePhraseSetRequest)
The CreatePhraseSetRequest that spawned the Operation.
UpdatePhraseSetRequest(UpdatePhraseSetRequest)
The UpdatePhraseSetRequest that spawned the Operation.
DeletePhraseSetRequest(DeletePhraseSetRequest)
The DeletePhraseSetRequest that spawned the Operation.
UndeletePhraseSetRequest(UndeletePhraseSetRequest)
The UndeletePhraseSetRequest that spawned the Operation.
UpdateConfigRequest(UpdateConfigRequest)
The UpdateConfigRequest that spawned the Operation.
Implementations§
source§impl Request
impl Request
sourcepub fn merge(
field: &mut Option<Request>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Request>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl PartialEq for Request
impl PartialEq for Request
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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