package google.cloud.datalabeling.v1beta1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service DataLabelingService

data_labeling_service.proto:38

message AnnotatedDataset

dataset.proto:187

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.

Used as response type in: DataLabelingService.GetAnnotatedDataset

Used as field type in: ListAnnotatedDatasetsResponse

message AnnotatedDatasetMetadata

dataset.proto:242

Metadata on AnnotatedDataset.

Used in: AnnotatedDataset

message Annotation

annotation.proto:40

Annotation for Example. Each example may have one or more annotations. For example in image classification problem, each image might have one or more labels. We call labels binded with this image an Annotation.

Used in: Example

message AnnotationMetadata

annotation.proto:322

Additional information associated with the annotation.

Used in: Annotation

enum AnnotationSentiment

annotation.proto:61

Used in: Annotation

enum AnnotationSource

annotation.proto:30

Specifies where is the answer from.

Used in: AnnotatedDataset, Annotation

message AnnotationSpec

annotation_spec_set.proto:51

Container of information related to one annotation spec.

Used in: AnnotationSpecSet, ConfusionMatrix.ConfusionMatrixEntry, ConfusionMatrix.Row, ImageBoundingPolyAnnotation, ImageClassificationAnnotation, ImagePolylineAnnotation, ImageSegmentationAnnotation, PrCurve, TextClassificationAnnotation, TextEntityExtractionAnnotation, VideoClassificationAnnotation, VideoEventAnnotation, VideoObjectTrackingAnnotation

message AnnotationSpecSet

annotation_spec_set.proto:29

AnnotationSpecSet is a collection of label definitions. For example, in image classification tasks, we define a set of labels, this set is called AnnotationSpecSet. AnnotationSpecSet is immutable upon creation.

Used as response type in: DataLabelingService.CreateAnnotationSpecSet, DataLabelingService.GetAnnotationSpecSet

Used as field type in: CreateAnnotationSpecSetRequest, ListAnnotationSpecSetsResponse

enum AnnotationType

annotation.proto:71

Used in: AnnotatedDataset, Evaluation, InputConfig

message AnnotationValue

annotation.proto:116

Annotation value for an example.

Used in: Annotation

message Attempt

evaluation_job.proto:147

Records a failed attempt.

Used in: EvaluationJob

message BigQuerySource

dataset.proto:127

The BigQuery location for the input content.

Used in: InputConfig

message BoundingBoxEvaluationOptions

evaluation.proto:67

Options regarding evaluation between bounding boxes.

Used in: EvaluationConfig

message BoundingPoly

annotation.proto:179

A bounding polygon in the image.

Used in: ImageBoundingPolyAnnotation, ObjectTrackingFrame

message BoundingPolyConfig

human_annotation_config.proto:101

Config for image bounding poly (and bounding box) human labeling task.

Used in: AnnotatedDatasetMetadata, EvaluationJobConfig, LabelImageRequest

message ClassificationMetadata

dataset.proto:111

Metadata for classification annotations.

Used in: InputConfig

message ClassificationMetrics

evaluation.proto:81

Used in: EvaluationMetrics

message ConfusionMatrix

evaluation.proto:148

Confusion matrix of the model running the classification. Not applicable when label filtering is specified in evaluation option.

Used in: ClassificationMetrics

message ConfusionMatrix.ConfusionMatrixEntry

evaluation.proto:149

Used in: Row

message ConfusionMatrix.Row

evaluation.proto:158

A row in the confusion matrix.

Used in: ConfusionMatrix

message CreateInstructionMetadata

operations.proto:221

Metadata of a CreateInstruction operation.

message CsvInstruction

instruction.proto:74

Instruction from a CSV file.

Used in: Instruction

message DataItem

dataset.proto:166

DataItem is a piece of data, without annotation. For example, an image.

Used as response type in: DataLabelingService.GetDataItem

Used as field type in: ListDataItemsResponse

enum DataType

dataset.proto:30

Used in: InputConfig, Instruction

message Dataset

dataset.proto:44

Dataset is the resource to hold your data. You can request multiple labeling tasks for a dataset while each one will generate an AnnotatedDataset.

Used as response type in: DataLabelingService.CreateDataset, DataLabelingService.GetDataset

Used as field type in: CreateDatasetRequest, ListDatasetsResponse

message Evaluation

evaluation.proto:31

Describes an evaluation between 2 annotated datasets. Created by an evaluation plan.

Used as response type in: DataLabelingService.GetEvaluation

Used as field type in: SearchEvaluationsResponse

message EvaluationConfig

evaluation.proto:59

Used in: Evaluation, EvaluationJobConfig

message EvaluationJob

evaluation_job.proto:33

Defines an evaluation job that is triggered periodically to generate evaluations.

Used as response type in: DataLabelingService.CreateEvaluationJob, DataLabelingService.GetEvaluationJob, DataLabelingService.UpdateEvaluationJob

Used as field type in: CreateEvaluationJobRequest, ListEvaluationJobsResponse, UpdateEvaluationJobRequest

enum EvaluationJob.State

evaluation_job.proto:35

State of the job.

Used in: EvaluationJob

message EvaluationJobAlertConfig

evaluation_job.proto:137

Used in: EvaluationJobConfig

message EvaluationJobConfig

evaluation_job.proto:90

Used in: EvaluationJob

message EvaluationMetrics

evaluation.proto:72

Used in: Evaluation

message EventConfig

human_annotation_config.proto:176

Config for video event human labeling task.

Used in: AnnotatedDatasetMetadata, LabelVideoRequest

message Example

dataset.proto:283

An Example is a piece of data and its annotation. For example, an image with label "house".

Used as response type in: DataLabelingService.GetExample

Used as field type in: ListExamplesResponse, SearchExampleComparisonsResponse.ExampleComparison

message ExportDataOperationMetadata

operations.proto:77

Metadata of an ExportData operation.

message ExportDataOperationResponse

operations.proto:43

Response used for ExportDataset longrunning operation.

message GcsDestination

dataset.proto:149

Export destination of the data.Only gcs path is allowed in output_uri.

Used in: OutputConfig

message GcsFolderDestination

dataset.proto:160

Export folder destination of the data.

Used in: OutputConfig

message GcsSource

dataset.proto:117

Source of the Cloud Storage file to be imported.

Used in: InputConfig

message HumanAnnotationConfig

human_annotation_config.proto:41

Configuration for how human labeling task should be done.

Used in: AnnotatedDatasetMetadata, EvaluationJobConfig, LabelImageBoundingBoxOperationMetadata, LabelImageBoundingPolyOperationMetadata, LabelImageClassificationOperationMetadata, LabelImageOrientedBoundingBoxOperationMetadata, LabelImagePolylineOperationMetadata, LabelImageRequest, LabelImageSegmentationOperationMetadata, LabelTextClassificationOperationMetadata, LabelTextEntityExtractionOperationMetadata, LabelTextRequest, LabelVideoClassificationOperationMetadata, LabelVideoEventOperationMetadata, LabelVideoObjectDetectionOperationMetadata, LabelVideoObjectTrackingOperationMetadata, LabelVideoRequest

message ImageBoundingPolyAnnotation

annotation.proto:192

Image bounding poly annotation. It represents a polygon including bounding box in the image.

Used in: AnnotationValue

message ImageClassificationAnnotation

annotation.proto:152

Image classification annotation definition.

Used in: AnnotationValue

message ImageClassificationConfig

human_annotation_config.proto:88

Config for image classification human labeling task.

Used in: AnnotatedDatasetMetadata, EvaluationJobConfig, LabelImageRequest

message ImagePayload

data_payloads.proto:29

Container of information about an image.

Used in: DataItem, Example

message ImagePolylineAnnotation

annotation.proto:218

A polyline for the image annotation.

Used in: AnnotationValue

message ImageSegmentationAnnotation

annotation.proto:230

Image segmentation annotation.

Used in: AnnotationValue

message ImportDataOperationMetadata

operations.proto:62

Metadata of an ImportData operation.

message ImportDataOperationResponse

operations.proto:31

Response used for ImportData longrunning operation.

message InputConfig

dataset.proto:73

The configuration of input data, including data type, location, etc.

Used in: Dataset, EvaluationJobConfig, ImportDataRequest

message Instruction

instruction.proto:34

Instruction of how to perform the labeling task for human operators. Currently two types of instruction are supported - CSV file and PDF. One of the two types instruction must be provided. CSV file is only supported for image classification task. Instructions for other task should be provided as PDF. For image classification, CSV and PDF can be provided at the same time.

Used as response type in: DataLabelingService.GetInstruction

Used as field type in: CreateInstructionRequest, ListInstructionsResponse

message LabelImageBoundingBoxOperationMetadata

operations.proto:155

Details of a LabelImageBoundingBox operation metadata.

Used in: LabelOperationMetadata

message LabelImageBoundingPolyOperationMetadata

operations.proto:167

Details of LabelImageBoundingPoly operation metadata.

Used in: LabelOperationMetadata

message LabelImageClassificationOperationMetadata

operations.proto:149

Metadata of a LabelImageClassification operation.

Used in: LabelOperationMetadata

message LabelImageOrientedBoundingBoxOperationMetadata

operations.proto:161

Details of a LabelImageOrientedBoundingBox operation metadata.

Used in: LabelOperationMetadata

message LabelImagePolylineOperationMetadata

operations.proto:173

Details of LabelImagePolyline operation metadata.

Used in: LabelOperationMetadata

enum LabelImageRequest.Feature

data_labeling_service.proto:504

Image labeling task feature.

Used in: LabelImageRequest

message LabelImageSegmentationOperationMetadata

operations.proto:179

Details of a LabelImageSegmentation operation metadata.

Used in: LabelOperationMetadata

message LabelOperationMetadata

operations.proto:93

Metadata of a labeling operation, such as LabelImage or LabelVideo. Next tag: 18

message LabelStats

dataset.proto:232

Statistics about annotation specs.

Used in: AnnotatedDataset, ExportDataOperationResponse

message LabelTextClassificationOperationMetadata

operations.proto:209

Details of a LabelTextClassification operation metadata.

Used in: LabelOperationMetadata

message LabelTextEntityExtractionOperationMetadata

operations.proto:215

Details of a LabelTextEntityExtraction operation metadata.

Used in: LabelOperationMetadata

enum LabelTextRequest.Feature

data_labeling_service.proto:622

Text labeling task feature.

Used in: LabelTextRequest

message LabelVideoClassificationOperationMetadata

operations.proto:185

Details of a LabelVideoClassification operation metadata.

Used in: LabelOperationMetadata

message LabelVideoEventOperationMetadata

operations.proto:203

Details of a LabelVideoEvent operation metadata.

Used in: LabelOperationMetadata

message LabelVideoObjectDetectionOperationMetadata

operations.proto:191

Details of a LabelVideoObjectDetection operation metadata.

Used in: LabelOperationMetadata

message LabelVideoObjectTrackingOperationMetadata

operations.proto:197

Details of a LabelVideoObjectTracking operation metadata.

Used in: LabelOperationMetadata

enum LabelVideoRequest.Feature

data_labeling_service.proto:568

Video labeling task feature.

Used in: LabelVideoRequest

message NormalizedBoundingPoly

annotation.proto:185

Normalized bounding polygon.

Used in: ImageBoundingPolyAnnotation, ObjectTrackingFrame

message NormalizedPolyline

annotation.proto:212

Normalized polyline.

Used in: ImagePolylineAnnotation

message NormalizedVertex

annotation.proto:170

A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.

Used in: NormalizedBoundingPoly, NormalizedPolyline

message ObjectDetectionConfig

human_annotation_config.proto:161

Config for video object detection human labeling task. Object detection will be conducted on the images extracted from the video, and those objects will be labeled with bounding boxes. User need to specify the number of images to be extracted per second as the extraction frame rate.

Used in: AnnotatedDatasetMetadata, EvaluationJobConfig, LabelVideoRequest

message ObjectDetectionMetrics

evaluation.proto:88

Used in: EvaluationMetrics

message ObjectTrackingConfig

human_annotation_config.proto:170

Config for video object tracking human labeling task.

Used in: AnnotatedDatasetMetadata, EvaluationJobConfig, LabelVideoRequest

message ObjectTrackingFrame

annotation.proto:288

Video frame level annotation for object detection and tracking.

Used in: VideoObjectTrackingAnnotation

message OperatorMetadata

annotation.proto:328

General information useful for labels coming from contributors.

Used in: AnnotationMetadata

message OutputConfig

dataset.proto:134

The configuration of output data.

Used in: ExportDataOperationResponse, ExportDataRequest

message PdfInstruction

instruction.proto:80

Instruction from a PDF file.

Used in: Instruction

message Polyline

annotation.proto:206

A line with multiple line segments.

Used in: ImagePolylineAnnotation

message PolylineConfig

human_annotation_config.proto:110

Config for image polyline human labeling task.

Used in: AnnotatedDatasetMetadata, LabelImageRequest

message PrCurve

evaluation.proto:93

Used in: ClassificationMetrics, ObjectDetectionMetrics

message PrCurve.ConfidenceMetricsEntry

evaluation.proto:94

Used in: PrCurve

message SearchExampleComparisonsResponse.ExampleComparison

data_labeling_service.proto:877

Example comparisons containing annotation comparison between groundtruth and predictions.

Used in: SearchExampleComparisonsResponse

message SegmentationConfig

human_annotation_config.proto:119

Config for image segmentation

Used in: AnnotatedDatasetMetadata, LabelImageRequest

message SentimentConfig

human_annotation_config.proto:197

Config for setting up sentiments.

Used in: TextClassificationConfig

message SequentialSegment

annotation.proto:259

Start and end position in a sequence (e.g. text segment).

Used in: TextEntityExtractionAnnotation

enum StringAggregationType

human_annotation_config.proto:27

Used in: ImageClassificationConfig

message TextClassificationAnnotation

annotation.proto:244

Text classification annotation.

Used in: AnnotationValue

message TextClassificationConfig

human_annotation_config.proto:184

Config for text classification human labeling task.

Used in: AnnotatedDatasetMetadata, EvaluationJobConfig, LabelTextRequest

message TextEntityExtractionAnnotation

annotation.proto:250

Text entity extraction annotation.

Used in: AnnotationValue

message TextEntityExtractionConfig

human_annotation_config.proto:205

Config for text entity extraction human labeling task.

Used in: AnnotatedDatasetMetadata, LabelTextRequest

message TextMetadata

dataset.proto:103

Metadata for the text.

Used in: InputConfig

message TextPayload

data_payloads.proto:44

Container of information about a piece of text.

Used in: DataItem, Example

message TimeSegment

annotation.proto:268

A time period inside of an example that has a time dimension (e.g. video).

Used in: VideoClassificationAnnotation, VideoEventAnnotation, VideoObjectTrackingAnnotation

message Vertex

annotation.proto:159

A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.

Used in: BoundingPoly, Polyline

message VideoClassificationAnnotation

annotation.proto:279

Video classification annotation.

Used in: AnnotationValue

message VideoClassificationConfig

human_annotation_config.proto:133

Config for video classification human labeling task. Currently two types of video classification are supported: 1. Assign labels on the entire video. 2. Split the video into multiple video clips based on camera shot, and assign labels on each video clip.

Used in: AnnotatedDatasetMetadata, EvaluationJobConfig, LabelVideoRequest

message VideoClassificationConfig.AnnotationSpecSetConfig

human_annotation_config.proto:135

Annotation spec set with the setting of allowing multi labels or not.

Used in: VideoClassificationConfig

message VideoEventAnnotation

annotation.proto:313

Video event annotation.

Used in: AnnotationValue

message VideoObjectTrackingAnnotation

annotation.proto:301

Video object tracking annotation.

Used in: AnnotationValue

message VideoPayload

data_payloads.proto:60

Container of information of a video.

Used in: DataItem, Example

message VideoThumbnail

data_payloads.proto:50

Container of information of a video thumbnail.

Used in: VideoPayload