[][src]Struct gcp_client::google::cloud::datalabeling::v1beta1::AnnotatedDataset

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>,
}

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

impl AnnotatedDataset[src]

pub fn annotation_source(&self) -> AnnotationSource[src]

Returns the enum value of annotation_source, or the default if the field is set to an invalid enum value.

pub fn set_annotation_source(&mut self, value: AnnotationSource)[src]

Sets annotation_source to the provided enum value.

pub fn annotation_type(&self) -> AnnotationType[src]

Returns the enum value of annotation_type, or the default if the field is set to an invalid enum value.

pub fn set_annotation_type(&mut self, value: AnnotationType)[src]

Sets annotation_type to the provided enum value.

Trait Implementations

impl Clone for AnnotatedDataset[src]

impl Debug for AnnotatedDataset[src]

impl Default for AnnotatedDataset[src]

impl Message for AnnotatedDataset[src]

impl PartialEq<AnnotatedDataset> for AnnotatedDataset[src]

impl StructuralPartialEq for AnnotatedDataset[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]