Struct google_api_proto::google::cloud::visionai::v1::ListAnnotationsRequest
source · pub struct ListAnnotationsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
}
Expand description
Request message for GetAnnotation API.
Fields§
§parent: String
The parent, which owns this collection of annotations.
Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset}
page_size: i32
The maximum number of annotations to return. The service may return fewer than this value. If unspecified, at most 50 annotations 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 ListAnnotations
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListAnnotations
must
match the call that provided the page token.
filter: String
The filter applied to the returned list.
We only support filtering for the following fields:
partition.temporal_partition.start_time
,
partition.temporal_partition.end_time
, and key
.
For corpus of IMAGE type, only key
is supported.
Timestamps are specified in the RFC-3339 format, and only one restriction
may be applied per field, joined by conjunctions.
Format:
“partition.temporal_partition.start_time > “2012-04-21T11:30:00-04:00” AND
partition.temporal_partition.end_time < “2012-04-22T11:30:00-04:00” AND
key = “example_key”“
Trait Implementations§
source§impl Clone for ListAnnotationsRequest
impl Clone for ListAnnotationsRequest
source§fn clone(&self) -> ListAnnotationsRequest
fn clone(&self) -> ListAnnotationsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListAnnotationsRequest
impl Debug for ListAnnotationsRequest
source§impl Default for ListAnnotationsRequest
impl Default for ListAnnotationsRequest
source§impl Message for ListAnnotationsRequest
impl Message for ListAnnotationsRequest
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 ListAnnotationsRequest
impl PartialEq for ListAnnotationsRequest
source§fn eq(&self, other: &ListAnnotationsRequest) -> bool
fn eq(&self, other: &ListAnnotationsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListAnnotationsRequest
Auto Trait Implementations§
impl Freeze for ListAnnotationsRequest
impl RefUnwindSafe for ListAnnotationsRequest
impl Send for ListAnnotationsRequest
impl Sync for ListAnnotationsRequest
impl Unpin for ListAnnotationsRequest
impl UnwindSafe for ListAnnotationsRequest
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