Struct google_api_proto::google::cloud::visionai::v1::ListCorporaRequest
source · pub struct ListCorporaRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
}
Expand description
Request message for ListCorpora.
Fields§
§parent: String
Required. The resource name of the project from which to list corpora.
page_size: i32
Requested page size. API may return fewer results than requested. If negative, INVALID_ARGUMENT error will be returned. If unspecified or 0, API will pick a default size, which is 10. If the requested page size is larger than the maximum size, API will pick use the maximum size, which is 20.
page_token: String
A token identifying a page of results for the server to return. Typically obtained via [ListCorporaResponse.next_page_token][google.cloud.visionai.v1.ListCorporaResponse.next_page_token] of the previous [Warehouse.ListCorpora][google.cloud.visionai.v1.Warehouse.ListCorpora] call.
filter: String
The filter applied to the returned corpora list.
Only the following restrictions are supported:
type=<Corpus.Type>
,
type!=<Corpus.Type>
.
Trait Implementations§
source§impl Clone for ListCorporaRequest
impl Clone for ListCorporaRequest
source§fn clone(&self) -> ListCorporaRequest
fn clone(&self) -> ListCorporaRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListCorporaRequest
impl Debug for ListCorporaRequest
source§impl Default for ListCorporaRequest
impl Default for ListCorporaRequest
source§impl Message for ListCorporaRequest
impl Message for ListCorporaRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for ListCorporaRequest
impl PartialEq for ListCorporaRequest
source§fn eq(&self, other: &ListCorporaRequest) -> bool
fn eq(&self, other: &ListCorporaRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListCorporaRequest
Auto Trait Implementations§
impl Freeze for ListCorporaRequest
impl RefUnwindSafe for ListCorporaRequest
impl Send for ListCorporaRequest
impl Sync for ListCorporaRequest
impl Unpin for ListCorporaRequest
impl UnwindSafe for ListCorporaRequest
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