Struct google_api_proto::google::cloud::datalabeling::v1beta1::AnnotatedDataset
source · pub struct AnnotatedDataset {
pub name: String,
pub display_name: String,
pub description: String,
pub annotation_source: i32,
pub annotation_type: i32,
pub example_count: i64,
pub completed_example_count: i64,
pub label_stats: Option<LabelStats>,
pub create_time: Option<Timestamp>,
pub metadata: Option<AnnotatedDatasetMetadata>,
pub blocking_resources: Vec<String>,
}
Expand description
AnnotatedDataset is a set holding annotations for data in a Dataset. Each labeling task will generate an AnnotatedDataset under the Dataset that the task is requested for.
Fields§
§name: String
Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}
display_name: String
Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters.
description: String
Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters.
annotation_source: i32
Output only. Source of the annotation.
annotation_type: i32
Output only. Type of the annotation. It is specified when starting labeling task.
example_count: i64
Output only. Number of examples in the annotated dataset.
completed_example_count: i64
Output only. Number of examples that have annotation in the annotated dataset.
label_stats: Option<LabelStats>
Output only. Per label statistics.
create_time: Option<Timestamp>
Output only. Time the AnnotatedDataset was created.
metadata: Option<AnnotatedDatasetMetadata>
Output only. Additional information about AnnotatedDataset.
blocking_resources: Vec<String>
Output only. The names of any related resources that are blocking changes to the annotated dataset.
Implementations§
source§impl AnnotatedDataset
impl AnnotatedDataset
sourcepub fn annotation_source(&self) -> AnnotationSource
pub fn annotation_source(&self) -> AnnotationSource
Returns the enum value of annotation_source
, or the default if the field is set to an invalid enum value.
sourcepub fn set_annotation_source(&mut self, value: AnnotationSource)
pub fn set_annotation_source(&mut self, value: AnnotationSource)
Sets annotation_source
to the provided enum value.
sourcepub fn annotation_type(&self) -> AnnotationType
pub fn annotation_type(&self) -> AnnotationType
Returns the enum value of annotation_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_annotation_type(&mut self, value: AnnotationType)
pub fn set_annotation_type(&mut self, value: AnnotationType)
Sets annotation_type
to the provided enum value.
Trait Implementations§
source§impl Clone for AnnotatedDataset
impl Clone for AnnotatedDataset
source§fn clone(&self) -> AnnotatedDataset
fn clone(&self) -> AnnotatedDataset
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnnotatedDataset
impl Debug for AnnotatedDataset
source§impl Default for AnnotatedDataset
impl Default for AnnotatedDataset
source§impl Message for AnnotatedDataset
impl Message for AnnotatedDataset
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 AnnotatedDataset
impl PartialEq for AnnotatedDataset
source§fn eq(&self, other: &AnnotatedDataset) -> bool
fn eq(&self, other: &AnnotatedDataset) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnnotatedDataset
Auto Trait Implementations§
impl Freeze for AnnotatedDataset
impl RefUnwindSafe for AnnotatedDataset
impl Send for AnnotatedDataset
impl Sync for AnnotatedDataset
impl Unpin for AnnotatedDataset
impl UnwindSafe for AnnotatedDataset
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