Struct google_api_proto::google::cloud::speech::v1::ListCustomClassesRequest
source · pub struct ListCustomClassesRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
}
Expand description
Message sent by the client for the ListCustomClasses
method.
Fields§
§parent: String
Required. The parent, which owns this collection of custom classes. Format:
projects/{project}/locations/{location}/customClasses
Speech-to-Text supports three locations: global
, us
(US North America),
and eu
(Europe). If you are calling the speech.googleapis.com
endpoint, use the global
location. To specify a region, use a
regional endpoint
with matching us
or eu
location value.
page_size: i32
The maximum number of custom classes to return. The service may return fewer than this value. If unspecified, at most 50 custom classes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
page_token: String
A page token, received from a previous ListCustomClass
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListCustomClass
must
match the call that provided the page token.
Trait Implementations§
source§impl Clone for ListCustomClassesRequest
impl Clone for ListCustomClassesRequest
source§fn clone(&self) -> ListCustomClassesRequest
fn clone(&self) -> ListCustomClassesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListCustomClassesRequest
impl Debug for ListCustomClassesRequest
source§impl Default for ListCustomClassesRequest
impl Default for ListCustomClassesRequest
source§impl Message for ListCustomClassesRequest
impl Message for ListCustomClassesRequest
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 ListCustomClassesRequest
impl PartialEq for ListCustomClassesRequest
source§fn eq(&self, other: &ListCustomClassesRequest) -> bool
fn eq(&self, other: &ListCustomClassesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListCustomClassesRequest
Auto Trait Implementations§
impl Freeze for ListCustomClassesRequest
impl RefUnwindSafe for ListCustomClassesRequest
impl Send for ListCustomClassesRequest
impl Sync for ListCustomClassesRequest
impl Unpin for ListCustomClassesRequest
impl UnwindSafe for ListCustomClassesRequest
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