# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/datalabeling_v1beta1/proto/annotation.proto
import sys
_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.cloud.datalabeling_v1beta1.proto import (
annotation_spec_set_pb2 as google_dot_cloud_dot_datalabeling__v1beta1_dot_proto_dot_annotation__spec__set__pb2,
)
from google.cloud.datalabeling_v1beta1.proto import (
data_payloads_pb2 as google_dot_cloud_dot_datalabeling__v1beta1_dot_proto_dot_data__payloads__pb2,
)
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name="google/cloud/datalabeling_v1beta1/proto/annotation.proto",
package="google.cloud.datalabeling.v1beta1",
syntax="proto3",
serialized_options=_b(
"\n%com.google.cloud.datalabeling.v1beta1P\001ZMgoogle.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1;datalabeling"
),
serialized_pb=_b(
'\n8google/cloud/datalabeling_v1beta1/proto/annotation.proto\x12!google.cloud.datalabeling.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x41google/cloud/datalabeling_v1beta1/proto/annotation_spec_set.proto\x1a;google/cloud/datalabeling_v1beta1/proto/data_payloads.proto\x1a\x1egoogle/protobuf/duration.proto"\xe2\x02\n\nAnnotation\x12\x0c\n\x04name\x18\x01 \x01(\t\x12N\n\x11\x61nnotation_source\x18\x02 \x01(\x0e\x32\x33.google.cloud.datalabeling.v1beta1.AnnotationSource\x12L\n\x10\x61nnotation_value\x18\x03 \x01(\x0b\x32\x32.google.cloud.datalabeling.v1beta1.AnnotationValue\x12R\n\x13\x61nnotation_metadata\x18\x04 \x01(\x0b\x32\x35.google.cloud.datalabeling.v1beta1.AnnotationMetadata\x12T\n\x14\x61nnotation_sentiment\x18\x06 \x01(\x0e\x32\x36.google.cloud.datalabeling.v1beta1.AnnotationSentiment"\xd1\x07\n\x0f\x41nnotationValue\x12k\n\x1fimage_classification_annotation\x18\x01 \x01(\x0b\x32@.google.cloud.datalabeling.v1beta1.ImageClassificationAnnotationH\x00\x12h\n\x1eimage_bounding_poly_annotation\x18\x02 \x01(\x0b\x32>.google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotationH\x00\x12_\n\x19image_polyline_annotation\x18\x08 \x01(\x0b\x32:.google.cloud.datalabeling.v1beta1.ImagePolylineAnnotationH\x00\x12g\n\x1dimage_segmentation_annotation\x18\t \x01(\x0b\x32>.google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotationH\x00\x12i\n\x1etext_classification_annotation\x18\x03 \x01(\x0b\x32?.google.cloud.datalabeling.v1beta1.TextClassificationAnnotationH\x00\x12n\n!text_entity_extraction_annotation\x18\n \x01(\x0b\x32\x41.google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotationH\x00\x12k\n\x1fvideo_classification_annotation\x18\x04 \x01(\x0b\x32@.google.cloud.datalabeling.v1beta1.VideoClassificationAnnotationH\x00\x12l\n video_object_tracking_annotation\x18\x05 \x01(\x0b\x32@.google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotationH\x00\x12Y\n\x16video_event_annotation\x18\x06 \x01(\x0b\x32\x37.google.cloud.datalabeling.v1beta1.VideoEventAnnotationH\x00\x42\x0c\n\nvalue_type"k\n\x1dImageClassificationAnnotation\x12J\n\x0f\x61nnotation_spec\x18\x01 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpec"\x1e\n\x06Vertex\x12\t\n\x01x\x18\x01 \x01(\x05\x12\t\n\x01y\x18\x02 \x01(\x05"(\n\x10NormalizedVertex\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02"K\n\x0c\x42oundingPoly\x12;\n\x08vertices\x18\x01 \x03(\x0b\x32).google.cloud.datalabeling.v1beta1.Vertex"j\n\x16NormalizedBoundingPoly\x12P\n\x13normalized_vertices\x18\x01 \x03(\x0b\x32\x33.google.cloud.datalabeling.v1beta1.NormalizedVertex"\xa2\x02\n\x1bImageBoundingPolyAnnotation\x12H\n\rbounding_poly\x18\x02 \x01(\x0b\x32/.google.cloud.datalabeling.v1beta1.BoundingPolyH\x00\x12]\n\x18normalized_bounding_poly\x18\x03 \x01(\x0b\x32\x39.google.cloud.datalabeling.v1beta1.NormalizedBoundingPolyH\x00\x12J\n\x0f\x61nnotation_spec\x18\x01 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpecB\x0e\n\x0c\x62ounded_area"G\n\x08Polyline\x12;\n\x08vertices\x18\x01 \x03(\x0b\x32).google.cloud.datalabeling.v1beta1.Vertex"f\n\x12NormalizedPolyline\x12P\n\x13normalized_vertices\x18\x01 \x03(\x0b\x32\x33.google.cloud.datalabeling.v1beta1.NormalizedVertex"\x84\x02\n\x17ImagePolylineAnnotation\x12?\n\x08polyline\x18\x02 \x01(\x0b\x32+.google.cloud.datalabeling.v1beta1.PolylineH\x00\x12T\n\x13normalized_polyline\x18\x03 \x01(\x0b\x32\x35.google.cloud.datalabeling.v1beta1.NormalizedPolylineH\x00\x12J\n\x0f\x61nnotation_spec\x18\x01 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpecB\x06\n\x04poly"\xa2\x02\n\x1bImageSegmentationAnnotation\x12o\n\x11\x61nnotation_colors\x18\x01 \x03(\x0b\x32T.google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation.AnnotationColorsEntry\x12\x11\n\tmime_type\x18\x02 \x01(\t\x12\x13\n\x0bimage_bytes\x18\x03 \x01(\x0c\x1aj\n\x15\x41nnotationColorsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12@\n\x05value\x18\x02 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpec:\x02\x38\x01"j\n\x1cTextClassificationAnnotation\x12J\n\x0f\x61nnotation_spec\x18\x01 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpec"\xbe\x01\n\x1eTextEntityExtractionAnnotation\x12J\n\x0f\x61nnotation_spec\x18\x01 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpec\x12P\n\x12sequential_segment\x18\x02 \x01(\x0b\x32\x34.google.cloud.datalabeling.v1beta1.SequentialSegment"/\n\x11SequentialSegment\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05"w\n\x0bTimeSegment\x12\x34\n\x11start_time_offset\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x32\n\x0f\x65nd_time_offset\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration"\xb1\x01\n\x1dVideoClassificationAnnotation\x12\x44\n\x0ctime_segment\x18\x01 \x01(\x0b\x32..google.cloud.datalabeling.v1beta1.TimeSegment\x12J\n\x0f\x61nnotation_spec\x18\x02 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpec"\xfe\x01\n\x13ObjectTrackingFrame\x12H\n\rbounding_poly\x18\x01 \x01(\x0b\x32/.google.cloud.datalabeling.v1beta1.BoundingPolyH\x00\x12]\n\x18normalized_bounding_poly\x18\x02 \x01(\x0b\x32\x39.google.cloud.datalabeling.v1beta1.NormalizedBoundingPolyH\x00\x12.\n\x0btime_offset\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x0e\n\x0c\x62ounded_area"\x89\x02\n\x1dVideoObjectTrackingAnnotation\x12J\n\x0f\x61nnotation_spec\x18\x01 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpec\x12\x44\n\x0ctime_segment\x18\x02 \x01(\x0b\x32..google.cloud.datalabeling.v1beta1.TimeSegment\x12V\n\x16object_tracking_frames\x18\x03 \x03(\x0b\x32\x36.google.cloud.datalabeling.v1beta1.ObjectTrackingFrame"\xa8\x01\n\x14VideoEventAnnotation\x12J\n\x0f\x61nnotation_spec\x18\x01 \x01(\x0b\x32\x31.google.cloud.datalabeling.v1beta1.AnnotationSpec\x12\x44\n\x0ctime_segment\x18\x02 \x01(\x0b\x32..google.cloud.datalabeling.v1beta1.TimeSegment"d\n\x12\x41nnotationMetadata\x12N\n\x11operator_metadata\x18\x02 \x01(\x0b\x32\x33.google.cloud.datalabeling.v1beta1.OperatorMetadata"]\n\x10OperatorMetadata\x12\r\n\x05score\x18\x01 \x01(\x02\x12\x13\n\x0btotal_votes\x18\x02 \x01(\x05\x12\x13\n\x0blabel_votes\x18\x03 \x01(\x05\x12\x10\n\x08\x63omments\x18\x04 \x03(\t*C\n\x10\x41nnotationSource\x12!\n\x1d\x41NNOTATION_SOURCE_UNSPECIFIED\x10\x00\x12\x0c\n\x08OPERATOR\x10\x03*W\n\x13\x41nnotationSentiment\x12$\n ANNOTATION_SENTIMENT_UNSPECIFIED\x10\x00\x12\x0c\n\x08NEGATIVE\x10\x01\x12\x0c\n\x08POSITIVE\x10\x02*\x91\x04\n\x0e\x41nnotationType\x12\x1f\n\x1b\x41NNOTATION_TYPE_UNSPECIFIED\x10\x00\x12#\n\x1fIMAGE_CLASSIFICATION_ANNOTATION\x10\x01\x12!\n\x1dIMAGE_BOUNDING_BOX_ANNOTATION\x10\x02\x12*\n&IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION\x10\r\x12"\n\x1eIMAGE_BOUNDING_POLY_ANNOTATION\x10\n\x12\x1d\n\x19IMAGE_POLYLINE_ANNOTATION\x10\x0b\x12!\n\x1dIMAGE_SEGMENTATION_ANNOTATION\x10\x0c\x12)\n%VIDEO_SHOTS_CLASSIFICATION_ANNOTATION\x10\x03\x12$\n VIDEO_OBJECT_TRACKING_ANNOTATION\x10\x04\x12%\n!VIDEO_OBJECT_DETECTION_ANNOTATION\x10\x05\x12\x1a\n\x16VIDEO_EVENT_ANNOTATION\x10\x06\x12"\n\x1eTEXT_CLASSIFICATION_ANNOTATION\x10\x08\x12%\n!TEXT_ENTITY_EXTRACTION_ANNOTATION\x10\t\x12%\n!GENERAL_CLASSIFICATION_ANNOTATION\x10\x0e\x42x\n%com.google.cloud.datalabeling.v1beta1P\x01ZMgoogle.golang.org/genproto/googleapis/cloud/datalabeling/v1beta1;datalabelingb\x06proto3'
),
dependencies=[
google_dot_api_dot_annotations__pb2.DESCRIPTOR,
google_dot_cloud_dot_datalabeling__v1beta1_dot_proto_dot_annotation__spec__set__pb2.DESCRIPTOR,
google_dot_cloud_dot_datalabeling__v1beta1_dot_proto_dot_data__payloads__pb2.DESCRIPTOR,
google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,
],
)
_ANNOTATIONSOURCE = _descriptor.EnumDescriptor(
name="AnnotationSource",
full_name="google.cloud.datalabeling.v1beta1.AnnotationSource",
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name="ANNOTATION_SOURCE_UNSPECIFIED",
index=0,
number=0,
serialized_options=None,
type=None,
),
_descriptor.EnumValueDescriptor(
name="OPERATOR", index=1, number=3, serialized_options=None, type=None
),
],
containing_type=None,
serialized_options=None,
serialized_start=4560,
serialized_end=4627,
)
_sym_db.RegisterEnumDescriptor(_ANNOTATIONSOURCE)
AnnotationSource = enum_type_wrapper.EnumTypeWrapper(_ANNOTATIONSOURCE)
_ANNOTATIONSENTIMENT = _descriptor.EnumDescriptor(
name="AnnotationSentiment",
full_name="google.cloud.datalabeling.v1beta1.AnnotationSentiment",
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name="ANNOTATION_SENTIMENT_UNSPECIFIED",
index=0,
number=0,
serialized_options=None,
type=None,
),
_descriptor.EnumValueDescriptor(
name="NEGATIVE", index=1, number=1, serialized_options=None, type=None
),
_descriptor.EnumValueDescriptor(
name="POSITIVE", index=2, number=2, serialized_options=None, type=None
),
],
containing_type=None,
serialized_options=None,
serialized_start=4629,
serialized_end=4716,
)
_sym_db.RegisterEnumDescriptor(_ANNOTATIONSENTIMENT)
AnnotationSentiment = enum_type_wrapper.EnumTypeWrapper(_ANNOTATIONSENTIMENT)
_ANNOTATIONTYPE = _descriptor.EnumDescriptor(
name="AnnotationType",
full_name="google.cloud.datalabeling.v1beta1.AnnotationType",
filename=None,
file=DESCRIPTOR,
values=[
_descriptor.EnumValueDescriptor(
name="ANNOTATION_TYPE_UNSPECIFIED",
index=0,
number=0,
serialized_options=None,
type=None,
),
_descriptor.EnumValueDescriptor(
name="IMAGE_CLASSIFICATION_ANNOTATION",
index=1,
number=1,
serialized_options=None,
type=None,
),
_descriptor.EnumValueDescriptor(
name="IMAGE_BOUNDING_BOX_ANNOTATION",
index=2,
number=2,
serialized_options=None,
type=None,
),
_descriptor.EnumValueDescriptor(
name="IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION",
index=3,
number=13,
serialized_options=None,
type=None,
),
_descriptor.EnumValueDescriptor(
name="IMAGE_BOUNDING_POLY_ANNOTATION",
index=4,
number=10,
serialized_options=None,
type=None,
),
_descriptor.EnumValueDescriptor(
name="IMAGE_POLYLINE_ANNOTATION",
index=5,
number=11,
serialized_options=None,
type=None,
),
_descriptor.EnumValueDescriptor(
name="IMAGE_SEGMENTATION_ANNOTATION",
index=6,
number=12,
serialized_options=None,
type=None,
),
_descriptor.EnumValueDescriptor(
name="VIDEO_SHOTS_CLASSIFICATION_ANNOTATION",
index=7,
number=3,
serialized_options=None,
type=None,
),
_descriptor.EnumValueDescriptor(
name="VIDEO_OBJECT_TRACKING_ANNOTATION",
index=8,
number=4,
serialized_options=None,
type=None,
),
_descriptor.EnumValueDescriptor(
name="VIDEO_OBJECT_DETECTION_ANNOTATION",
index=9,
number=5,
serialized_options=None,
type=None,
),
_descriptor.EnumValueDescriptor(
name="VIDEO_EVENT_ANNOTATION",
index=10,
number=6,
serialized_options=None,
type=None,
),
_descriptor.EnumValueDescriptor(
name="TEXT_CLASSIFICATION_ANNOTATION",
index=11,
number=8,
serialized_options=None,
type=None,
),
_descriptor.EnumValueDescriptor(
name="TEXT_ENTITY_EXTRACTION_ANNOTATION",
index=12,
number=9,
serialized_options=None,
type=None,
),
_descriptor.EnumValueDescriptor(
name="GENERAL_CLASSIFICATION_ANNOTATION",
index=13,
number=14,
serialized_options=None,
type=None,
),
],
containing_type=None,
serialized_options=None,
serialized_start=4719,
serialized_end=5248,
)
_sym_db.RegisterEnumDescriptor(_ANNOTATIONTYPE)
AnnotationType = enum_type_wrapper.EnumTypeWrapper(_ANNOTATIONTYPE)
ANNOTATION_SOURCE_UNSPECIFIED = 0
OPERATOR = 3
ANNOTATION_SENTIMENT_UNSPECIFIED = 0
NEGATIVE = 1
POSITIVE = 2
ANNOTATION_TYPE_UNSPECIFIED = 0
IMAGE_CLASSIFICATION_ANNOTATION = 1
IMAGE_BOUNDING_BOX_ANNOTATION = 2
IMAGE_ORIENTED_BOUNDING_BOX_ANNOTATION = 13
IMAGE_BOUNDING_POLY_ANNOTATION = 10
IMAGE_POLYLINE_ANNOTATION = 11
IMAGE_SEGMENTATION_ANNOTATION = 12
VIDEO_SHOTS_CLASSIFICATION_ANNOTATION = 3
VIDEO_OBJECT_TRACKING_ANNOTATION = 4
VIDEO_OBJECT_DETECTION_ANNOTATION = 5
VIDEO_EVENT_ANNOTATION = 6
TEXT_CLASSIFICATION_ANNOTATION = 8
TEXT_ENTITY_EXTRACTION_ANNOTATION = 9
GENERAL_CLASSIFICATION_ANNOTATION = 14
_ANNOTATION = _descriptor.Descriptor(
name="Annotation",
full_name="google.cloud.datalabeling.v1beta1.Annotation",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="name",
full_name="google.cloud.datalabeling.v1beta1.Annotation.name",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="annotation_source",
full_name="google.cloud.datalabeling.v1beta1.Annotation.annotation_source",
index=1,
number=2,
type=14,
cpp_type=8,
label=1,
has_default_value=False,
default_value=0,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="annotation_value",
full_name="google.cloud.datalabeling.v1beta1.Annotation.annotation_value",
index=2,
number=3,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="annotation_metadata",
full_name="google.cloud.datalabeling.v1beta1.Annotation.annotation_metadata",
index=3,
number=4,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="annotation_sentiment",
full_name="google.cloud.datalabeling.v1beta1.Annotation.annotation_sentiment",
index=4,
number=6,
type=14,
cpp_type=8,
label=1,
has_default_value=False,
default_value=0,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=286,
serialized_end=640,
)
_ANNOTATIONVALUE = _descriptor.Descriptor(
name="AnnotationValue",
full_name="google.cloud.datalabeling.v1beta1.AnnotationValue",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="image_classification_annotation",
full_name="google.cloud.datalabeling.v1beta1.AnnotationValue.image_classification_annotation",
index=0,
number=1,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="image_bounding_poly_annotation",
full_name="google.cloud.datalabeling.v1beta1.AnnotationValue.image_bounding_poly_annotation",
index=1,
number=2,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="image_polyline_annotation",
full_name="google.cloud.datalabeling.v1beta1.AnnotationValue.image_polyline_annotation",
index=2,
number=8,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="image_segmentation_annotation",
full_name="google.cloud.datalabeling.v1beta1.AnnotationValue.image_segmentation_annotation",
index=3,
number=9,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="text_classification_annotation",
full_name="google.cloud.datalabeling.v1beta1.AnnotationValue.text_classification_annotation",
index=4,
number=3,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="text_entity_extraction_annotation",
full_name="google.cloud.datalabeling.v1beta1.AnnotationValue.text_entity_extraction_annotation",
index=5,
number=10,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="video_classification_annotation",
full_name="google.cloud.datalabeling.v1beta1.AnnotationValue.video_classification_annotation",
index=6,
number=4,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="video_object_tracking_annotation",
full_name="google.cloud.datalabeling.v1beta1.AnnotationValue.video_object_tracking_annotation",
index=7,
number=5,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="video_event_annotation",
full_name="google.cloud.datalabeling.v1beta1.AnnotationValue.video_event_annotation",
index=8,
number=6,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name="value_type",
full_name="google.cloud.datalabeling.v1beta1.AnnotationValue.value_type",
index=0,
containing_type=None,
fields=[],
)
],
serialized_start=643,
serialized_end=1620,
)
_IMAGECLASSIFICATIONANNOTATION = _descriptor.Descriptor(
name="ImageClassificationAnnotation",
full_name="google.cloud.datalabeling.v1beta1.ImageClassificationAnnotation",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="annotation_spec",
full_name="google.cloud.datalabeling.v1beta1.ImageClassificationAnnotation.annotation_spec",
index=0,
number=1,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
)
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=1622,
serialized_end=1729,
)
_VERTEX = _descriptor.Descriptor(
name="Vertex",
full_name="google.cloud.datalabeling.v1beta1.Vertex",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="x",
full_name="google.cloud.datalabeling.v1beta1.Vertex.x",
index=0,
number=1,
type=5,
cpp_type=1,
label=1,
has_default_value=False,
default_value=0,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="y",
full_name="google.cloud.datalabeling.v1beta1.Vertex.y",
index=1,
number=2,
type=5,
cpp_type=1,
label=1,
has_default_value=False,
default_value=0,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=1731,
serialized_end=1761,
)
_NORMALIZEDVERTEX = _descriptor.Descriptor(
name="NormalizedVertex",
full_name="google.cloud.datalabeling.v1beta1.NormalizedVertex",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="x",
full_name="google.cloud.datalabeling.v1beta1.NormalizedVertex.x",
index=0,
number=1,
type=2,
cpp_type=6,
label=1,
has_default_value=False,
default_value=float(0),
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="y",
full_name="google.cloud.datalabeling.v1beta1.NormalizedVertex.y",
index=1,
number=2,
type=2,
cpp_type=6,
label=1,
has_default_value=False,
default_value=float(0),
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=1763,
serialized_end=1803,
)
_BOUNDINGPOLY = _descriptor.Descriptor(
name="BoundingPoly",
full_name="google.cloud.datalabeling.v1beta1.BoundingPoly",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="vertices",
full_name="google.cloud.datalabeling.v1beta1.BoundingPoly.vertices",
index=0,
number=1,
type=11,
cpp_type=10,
label=3,
has_default_value=False,
default_value=[],
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
)
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=1805,
serialized_end=1880,
)
_NORMALIZEDBOUNDINGPOLY = _descriptor.Descriptor(
name="NormalizedBoundingPoly",
full_name="google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="normalized_vertices",
full_name="google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly.normalized_vertices",
index=0,
number=1,
type=11,
cpp_type=10,
label=3,
has_default_value=False,
default_value=[],
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
)
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=1882,
serialized_end=1988,
)
_IMAGEBOUNDINGPOLYANNOTATION = _descriptor.Descriptor(
name="ImageBoundingPolyAnnotation",
full_name="google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="bounding_poly",
full_name="google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation.bounding_poly",
index=0,
number=2,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="normalized_bounding_poly",
full_name="google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation.normalized_bounding_poly",
index=1,
number=3,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="annotation_spec",
full_name="google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation.annotation_spec",
index=2,
number=1,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name="bounded_area",
full_name="google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation.bounded_area",
index=0,
containing_type=None,
fields=[],
)
],
serialized_start=1991,
serialized_end=2281,
)
_POLYLINE = _descriptor.Descriptor(
name="Polyline",
full_name="google.cloud.datalabeling.v1beta1.Polyline",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="vertices",
full_name="google.cloud.datalabeling.v1beta1.Polyline.vertices",
index=0,
number=1,
type=11,
cpp_type=10,
label=3,
has_default_value=False,
default_value=[],
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
)
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=2283,
serialized_end=2354,
)
_NORMALIZEDPOLYLINE = _descriptor.Descriptor(
name="NormalizedPolyline",
full_name="google.cloud.datalabeling.v1beta1.NormalizedPolyline",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="normalized_vertices",
full_name="google.cloud.datalabeling.v1beta1.NormalizedPolyline.normalized_vertices",
index=0,
number=1,
type=11,
cpp_type=10,
label=3,
has_default_value=False,
default_value=[],
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
)
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=2356,
serialized_end=2458,
)
_IMAGEPOLYLINEANNOTATION = _descriptor.Descriptor(
name="ImagePolylineAnnotation",
full_name="google.cloud.datalabeling.v1beta1.ImagePolylineAnnotation",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="polyline",
full_name="google.cloud.datalabeling.v1beta1.ImagePolylineAnnotation.polyline",
index=0,
number=2,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="normalized_polyline",
full_name="google.cloud.datalabeling.v1beta1.ImagePolylineAnnotation.normalized_polyline",
index=1,
number=3,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="annotation_spec",
full_name="google.cloud.datalabeling.v1beta1.ImagePolylineAnnotation.annotation_spec",
index=2,
number=1,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name="poly",
full_name="google.cloud.datalabeling.v1beta1.ImagePolylineAnnotation.poly",
index=0,
containing_type=None,
fields=[],
)
],
serialized_start=2461,
serialized_end=2721,
)
_IMAGESEGMENTATIONANNOTATION_ANNOTATIONCOLORSENTRY = _descriptor.Descriptor(
name="AnnotationColorsEntry",
full_name="google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation.AnnotationColorsEntry",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="key",
full_name="google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation.AnnotationColorsEntry.key",
index=0,
number=1,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="value",
full_name="google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation.AnnotationColorsEntry.value",
index=1,
number=2,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=_b("8\001"),
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=2908,
serialized_end=3014,
)
_IMAGESEGMENTATIONANNOTATION = _descriptor.Descriptor(
name="ImageSegmentationAnnotation",
full_name="google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="annotation_colors",
full_name="google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation.annotation_colors",
index=0,
number=1,
type=11,
cpp_type=10,
label=3,
has_default_value=False,
default_value=[],
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="mime_type",
full_name="google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation.mime_type",
index=1,
number=2,
type=9,
cpp_type=9,
label=1,
has_default_value=False,
default_value=_b("").decode("utf-8"),
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="image_bytes",
full_name="google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation.image_bytes",
index=2,
number=3,
type=12,
cpp_type=9,
label=1,
has_default_value=False,
default_value=_b(""),
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
],
extensions=[],
nested_types=[_IMAGESEGMENTATIONANNOTATION_ANNOTATIONCOLORSENTRY],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=2724,
serialized_end=3014,
)
_TEXTCLASSIFICATIONANNOTATION = _descriptor.Descriptor(
name="TextClassificationAnnotation",
full_name="google.cloud.datalabeling.v1beta1.TextClassificationAnnotation",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="annotation_spec",
full_name="google.cloud.datalabeling.v1beta1.TextClassificationAnnotation.annotation_spec",
index=0,
number=1,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
)
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=3016,
serialized_end=3122,
)
_TEXTENTITYEXTRACTIONANNOTATION = _descriptor.Descriptor(
name="TextEntityExtractionAnnotation",
full_name="google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="annotation_spec",
full_name="google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation.annotation_spec",
index=0,
number=1,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="sequential_segment",
full_name="google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation.sequential_segment",
index=1,
number=2,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=3125,
serialized_end=3315,
)
_SEQUENTIALSEGMENT = _descriptor.Descriptor(
name="SequentialSegment",
full_name="google.cloud.datalabeling.v1beta1.SequentialSegment",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="start",
full_name="google.cloud.datalabeling.v1beta1.SequentialSegment.start",
index=0,
number=1,
type=5,
cpp_type=1,
label=1,
has_default_value=False,
default_value=0,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="end",
full_name="google.cloud.datalabeling.v1beta1.SequentialSegment.end",
index=1,
number=2,
type=5,
cpp_type=1,
label=1,
has_default_value=False,
default_value=0,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=3317,
serialized_end=3364,
)
_TIMESEGMENT = _descriptor.Descriptor(
name="TimeSegment",
full_name="google.cloud.datalabeling.v1beta1.TimeSegment",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="start_time_offset",
full_name="google.cloud.datalabeling.v1beta1.TimeSegment.start_time_offset",
index=0,
number=1,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="end_time_offset",
full_name="google.cloud.datalabeling.v1beta1.TimeSegment.end_time_offset",
index=1,
number=2,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=3366,
serialized_end=3485,
)
_VIDEOCLASSIFICATIONANNOTATION = _descriptor.Descriptor(
name="VideoClassificationAnnotation",
full_name="google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="time_segment",
full_name="google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation.time_segment",
index=0,
number=1,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="annotation_spec",
full_name="google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation.annotation_spec",
index=1,
number=2,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=3488,
serialized_end=3665,
)
_OBJECTTRACKINGFRAME = _descriptor.Descriptor(
name="ObjectTrackingFrame",
full_name="google.cloud.datalabeling.v1beta1.ObjectTrackingFrame",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="bounding_poly",
full_name="google.cloud.datalabeling.v1beta1.ObjectTrackingFrame.bounding_poly",
index=0,
number=1,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="normalized_bounding_poly",
full_name="google.cloud.datalabeling.v1beta1.ObjectTrackingFrame.normalized_bounding_poly",
index=1,
number=2,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="time_offset",
full_name="google.cloud.datalabeling.v1beta1.ObjectTrackingFrame.time_offset",
index=2,
number=3,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[
_descriptor.OneofDescriptor(
name="bounded_area",
full_name="google.cloud.datalabeling.v1beta1.ObjectTrackingFrame.bounded_area",
index=0,
containing_type=None,
fields=[],
)
],
serialized_start=3668,
serialized_end=3922,
)
_VIDEOOBJECTTRACKINGANNOTATION = _descriptor.Descriptor(
name="VideoObjectTrackingAnnotation",
full_name="google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="annotation_spec",
full_name="google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation.annotation_spec",
index=0,
number=1,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="time_segment",
full_name="google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation.time_segment",
index=1,
number=2,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="object_tracking_frames",
full_name="google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation.object_tracking_frames",
index=2,
number=3,
type=11,
cpp_type=10,
label=3,
has_default_value=False,
default_value=[],
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=3925,
serialized_end=4190,
)
_VIDEOEVENTANNOTATION = _descriptor.Descriptor(
name="VideoEventAnnotation",
full_name="google.cloud.datalabeling.v1beta1.VideoEventAnnotation",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="annotation_spec",
full_name="google.cloud.datalabeling.v1beta1.VideoEventAnnotation.annotation_spec",
index=0,
number=1,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="time_segment",
full_name="google.cloud.datalabeling.v1beta1.VideoEventAnnotation.time_segment",
index=1,
number=2,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=4193,
serialized_end=4361,
)
_ANNOTATIONMETADATA = _descriptor.Descriptor(
name="AnnotationMetadata",
full_name="google.cloud.datalabeling.v1beta1.AnnotationMetadata",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="operator_metadata",
full_name="google.cloud.datalabeling.v1beta1.AnnotationMetadata.operator_metadata",
index=0,
number=2,
type=11,
cpp_type=10,
label=1,
has_default_value=False,
default_value=None,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
)
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=4363,
serialized_end=4463,
)
_OPERATORMETADATA = _descriptor.Descriptor(
name="OperatorMetadata",
full_name="google.cloud.datalabeling.v1beta1.OperatorMetadata",
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name="score",
full_name="google.cloud.datalabeling.v1beta1.OperatorMetadata.score",
index=0,
number=1,
type=2,
cpp_type=6,
label=1,
has_default_value=False,
default_value=float(0),
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="total_votes",
full_name="google.cloud.datalabeling.v1beta1.OperatorMetadata.total_votes",
index=1,
number=2,
type=5,
cpp_type=1,
label=1,
has_default_value=False,
default_value=0,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="label_votes",
full_name="google.cloud.datalabeling.v1beta1.OperatorMetadata.label_votes",
index=2,
number=3,
type=5,
cpp_type=1,
label=1,
has_default_value=False,
default_value=0,
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
_descriptor.FieldDescriptor(
name="comments",
full_name="google.cloud.datalabeling.v1beta1.OperatorMetadata.comments",
index=3,
number=4,
type=9,
cpp_type=9,
label=3,
has_default_value=False,
default_value=[],
message_type=None,
enum_type=None,
containing_type=None,
is_extension=False,
extension_scope=None,
serialized_options=None,
file=DESCRIPTOR,
),
],
extensions=[],
nested_types=[],
enum_types=[],
serialized_options=None,
is_extendable=False,
syntax="proto3",
extension_ranges=[],
oneofs=[],
serialized_start=4465,
serialized_end=4558,
)
_ANNOTATION.fields_by_name["annotation_source"].enum_type = _ANNOTATIONSOURCE
_ANNOTATION.fields_by_name["annotation_value"].message_type = _ANNOTATIONVALUE
_ANNOTATION.fields_by_name["annotation_metadata"].message_type = _ANNOTATIONMETADATA
_ANNOTATION.fields_by_name["annotation_sentiment"].enum_type = _ANNOTATIONSENTIMENT
_ANNOTATIONVALUE.fields_by_name[
"image_classification_annotation"
].message_type = _IMAGECLASSIFICATIONANNOTATION
_ANNOTATIONVALUE.fields_by_name[
"image_bounding_poly_annotation"
].message_type = _IMAGEBOUNDINGPOLYANNOTATION
_ANNOTATIONVALUE.fields_by_name[
"image_polyline_annotation"
].message_type = _IMAGEPOLYLINEANNOTATION
_ANNOTATIONVALUE.fields_by_name[
"image_segmentation_annotation"
].message_type = _IMAGESEGMENTATIONANNOTATION
_ANNOTATIONVALUE.fields_by_name[
"text_classification_annotation"
].message_type = _TEXTCLASSIFICATIONANNOTATION
_ANNOTATIONVALUE.fields_by_name[
"text_entity_extraction_annotation"
].message_type = _TEXTENTITYEXTRACTIONANNOTATION
_ANNOTATIONVALUE.fields_by_name[
"video_classification_annotation"
].message_type = _VIDEOCLASSIFICATIONANNOTATION
_ANNOTATIONVALUE.fields_by_name[
"video_object_tracking_annotation"
].message_type = _VIDEOOBJECTTRACKINGANNOTATION
_ANNOTATIONVALUE.fields_by_name[
"video_event_annotation"
].message_type = _VIDEOEVENTANNOTATION
_ANNOTATIONVALUE.oneofs_by_name["value_type"].fields.append(
_ANNOTATIONVALUE.fields_by_name["image_classification_annotation"]
)
_ANNOTATIONVALUE.fields_by_name[
"image_classification_annotation"
].containing_oneof = _ANNOTATIONVALUE.oneofs_by_name["value_type"]
_ANNOTATIONVALUE.oneofs_by_name["value_type"].fields.append(
_ANNOTATIONVALUE.fields_by_name["image_bounding_poly_annotation"]
)
_ANNOTATIONVALUE.fields_by_name[
"image_bounding_poly_annotation"
].containing_oneof = _ANNOTATIONVALUE.oneofs_by_name["value_type"]
_ANNOTATIONVALUE.oneofs_by_name["value_type"].fields.append(
_ANNOTATIONVALUE.fields_by_name["image_polyline_annotation"]
)
_ANNOTATIONVALUE.fields_by_name[
"image_polyline_annotation"
].containing_oneof = _ANNOTATIONVALUE.oneofs_by_name["value_type"]
_ANNOTATIONVALUE.oneofs_by_name["value_type"].fields.append(
_ANNOTATIONVALUE.fields_by_name["image_segmentation_annotation"]
)
_ANNOTATIONVALUE.fields_by_name[
"image_segmentation_annotation"
].containing_oneof = _ANNOTATIONVALUE.oneofs_by_name["value_type"]
_ANNOTATIONVALUE.oneofs_by_name["value_type"].fields.append(
_ANNOTATIONVALUE.fields_by_name["text_classification_annotation"]
)
_ANNOTATIONVALUE.fields_by_name[
"text_classification_annotation"
].containing_oneof = _ANNOTATIONVALUE.oneofs_by_name["value_type"]
_ANNOTATIONVALUE.oneofs_by_name["value_type"].fields.append(
_ANNOTATIONVALUE.fields_by_name["text_entity_extraction_annotation"]
)
_ANNOTATIONVALUE.fields_by_name[
"text_entity_extraction_annotation"
].containing_oneof = _ANNOTATIONVALUE.oneofs_by_name["value_type"]
_ANNOTATIONVALUE.oneofs_by_name["value_type"].fields.append(
_ANNOTATIONVALUE.fields_by_name["video_classification_annotation"]
)
_ANNOTATIONVALUE.fields_by_name[
"video_classification_annotation"
].containing_oneof = _ANNOTATIONVALUE.oneofs_by_name["value_type"]
_ANNOTATIONVALUE.oneofs_by_name["value_type"].fields.append(
_ANNOTATIONVALUE.fields_by_name["video_object_tracking_annotation"]
)
_ANNOTATIONVALUE.fields_by_name[
"video_object_tracking_annotation"
].containing_oneof = _ANNOTATIONVALUE.oneofs_by_name["value_type"]
_ANNOTATIONVALUE.oneofs_by_name["value_type"].fields.append(
_ANNOTATIONVALUE.fields_by_name["video_event_annotation"]
)
_ANNOTATIONVALUE.fields_by_name[
"video_event_annotation"
].containing_oneof = _ANNOTATIONVALUE.oneofs_by_name["value_type"]
_IMAGECLASSIFICATIONANNOTATION.fields_by_name[
"annotation_spec"
].message_type = (
google_dot_cloud_dot_datalabeling__v1beta1_dot_proto_dot_annotation__spec__set__pb2._ANNOTATIONSPEC
)
_BOUNDINGPOLY.fields_by_name["vertices"].message_type = _VERTEX
_NORMALIZEDBOUNDINGPOLY.fields_by_name[
"normalized_vertices"
].message_type = _NORMALIZEDVERTEX
_IMAGEBOUNDINGPOLYANNOTATION.fields_by_name[
"bounding_poly"
].message_type = _BOUNDINGPOLY
_IMAGEBOUNDINGPOLYANNOTATION.fields_by_name[
"normalized_bounding_poly"
].message_type = _NORMALIZEDBOUNDINGPOLY
_IMAGEBOUNDINGPOLYANNOTATION.fields_by_name[
"annotation_spec"
].message_type = (
google_dot_cloud_dot_datalabeling__v1beta1_dot_proto_dot_annotation__spec__set__pb2._ANNOTATIONSPEC
)
_IMAGEBOUNDINGPOLYANNOTATION.oneofs_by_name["bounded_area"].fields.append(
_IMAGEBOUNDINGPOLYANNOTATION.fields_by_name["bounding_poly"]
)
_IMAGEBOUNDINGPOLYANNOTATION.fields_by_name[
"bounding_poly"
].containing_oneof = _IMAGEBOUNDINGPOLYANNOTATION.oneofs_by_name["bounded_area"]
_IMAGEBOUNDINGPOLYANNOTATION.oneofs_by_name["bounded_area"].fields.append(
_IMAGEBOUNDINGPOLYANNOTATION.fields_by_name["normalized_bounding_poly"]
)
_IMAGEBOUNDINGPOLYANNOTATION.fields_by_name[
"normalized_bounding_poly"
].containing_oneof = _IMAGEBOUNDINGPOLYANNOTATION.oneofs_by_name["bounded_area"]
_POLYLINE.fields_by_name["vertices"].message_type = _VERTEX
_NORMALIZEDPOLYLINE.fields_by_name[
"normalized_vertices"
].message_type = _NORMALIZEDVERTEX
_IMAGEPOLYLINEANNOTATION.fields_by_name["polyline"].message_type = _POLYLINE
_IMAGEPOLYLINEANNOTATION.fields_by_name[
"normalized_polyline"
].message_type = _NORMALIZEDPOLYLINE
_IMAGEPOLYLINEANNOTATION.fields_by_name[
"annotation_spec"
].message_type = (
google_dot_cloud_dot_datalabeling__v1beta1_dot_proto_dot_annotation__spec__set__pb2._ANNOTATIONSPEC
)
_IMAGEPOLYLINEANNOTATION.oneofs_by_name["poly"].fields.append(
_IMAGEPOLYLINEANNOTATION.fields_by_name["polyline"]
)
_IMAGEPOLYLINEANNOTATION.fields_by_name[
"polyline"
].containing_oneof = _IMAGEPOLYLINEANNOTATION.oneofs_by_name["poly"]
_IMAGEPOLYLINEANNOTATION.oneofs_by_name["poly"].fields.append(
_IMAGEPOLYLINEANNOTATION.fields_by_name["normalized_polyline"]
)
_IMAGEPOLYLINEANNOTATION.fields_by_name[
"normalized_polyline"
].containing_oneof = _IMAGEPOLYLINEANNOTATION.oneofs_by_name["poly"]
_IMAGESEGMENTATIONANNOTATION_ANNOTATIONCOLORSENTRY.fields_by_name[
"value"
].message_type = (
google_dot_cloud_dot_datalabeling__v1beta1_dot_proto_dot_annotation__spec__set__pb2._ANNOTATIONSPEC
)
_IMAGESEGMENTATIONANNOTATION_ANNOTATIONCOLORSENTRY.containing_type = (
_IMAGESEGMENTATIONANNOTATION
)
_IMAGESEGMENTATIONANNOTATION.fields_by_name[
"annotation_colors"
].message_type = _IMAGESEGMENTATIONANNOTATION_ANNOTATIONCOLORSENTRY
_TEXTCLASSIFICATIONANNOTATION.fields_by_name[
"annotation_spec"
].message_type = (
google_dot_cloud_dot_datalabeling__v1beta1_dot_proto_dot_annotation__spec__set__pb2._ANNOTATIONSPEC
)
_TEXTENTITYEXTRACTIONANNOTATION.fields_by_name[
"annotation_spec"
].message_type = (
google_dot_cloud_dot_datalabeling__v1beta1_dot_proto_dot_annotation__spec__set__pb2._ANNOTATIONSPEC
)
_TEXTENTITYEXTRACTIONANNOTATION.fields_by_name[
"sequential_segment"
].message_type = _SEQUENTIALSEGMENT
_TIMESEGMENT.fields_by_name[
"start_time_offset"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_TIMESEGMENT.fields_by_name[
"end_time_offset"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_VIDEOCLASSIFICATIONANNOTATION.fields_by_name[
"time_segment"
].message_type = _TIMESEGMENT
_VIDEOCLASSIFICATIONANNOTATION.fields_by_name[
"annotation_spec"
].message_type = (
google_dot_cloud_dot_datalabeling__v1beta1_dot_proto_dot_annotation__spec__set__pb2._ANNOTATIONSPEC
)
_OBJECTTRACKINGFRAME.fields_by_name["bounding_poly"].message_type = _BOUNDINGPOLY
_OBJECTTRACKINGFRAME.fields_by_name[
"normalized_bounding_poly"
].message_type = _NORMALIZEDBOUNDINGPOLY
_OBJECTTRACKINGFRAME.fields_by_name[
"time_offset"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_OBJECTTRACKINGFRAME.oneofs_by_name["bounded_area"].fields.append(
_OBJECTTRACKINGFRAME.fields_by_name["bounding_poly"]
)
_OBJECTTRACKINGFRAME.fields_by_name[
"bounding_poly"
].containing_oneof = _OBJECTTRACKINGFRAME.oneofs_by_name["bounded_area"]
_OBJECTTRACKINGFRAME.oneofs_by_name["bounded_area"].fields.append(
_OBJECTTRACKINGFRAME.fields_by_name["normalized_bounding_poly"]
)
_OBJECTTRACKINGFRAME.fields_by_name[
"normalized_bounding_poly"
].containing_oneof = _OBJECTTRACKINGFRAME.oneofs_by_name["bounded_area"]
_VIDEOOBJECTTRACKINGANNOTATION.fields_by_name[
"annotation_spec"
].message_type = (
google_dot_cloud_dot_datalabeling__v1beta1_dot_proto_dot_annotation__spec__set__pb2._ANNOTATIONSPEC
)
_VIDEOOBJECTTRACKINGANNOTATION.fields_by_name[
"time_segment"
].message_type = _TIMESEGMENT
_VIDEOOBJECTTRACKINGANNOTATION.fields_by_name[
"object_tracking_frames"
].message_type = _OBJECTTRACKINGFRAME
_VIDEOEVENTANNOTATION.fields_by_name[
"annotation_spec"
].message_type = (
google_dot_cloud_dot_datalabeling__v1beta1_dot_proto_dot_annotation__spec__set__pb2._ANNOTATIONSPEC
)
_VIDEOEVENTANNOTATION.fields_by_name["time_segment"].message_type = _TIMESEGMENT
_ANNOTATIONMETADATA.fields_by_name["operator_metadata"].message_type = _OPERATORMETADATA
DESCRIPTOR.message_types_by_name["Annotation"] = _ANNOTATION
DESCRIPTOR.message_types_by_name["AnnotationValue"] = _ANNOTATIONVALUE
DESCRIPTOR.message_types_by_name[
"ImageClassificationAnnotation"
] = _IMAGECLASSIFICATIONANNOTATION
DESCRIPTOR.message_types_by_name["Vertex"] = _VERTEX
DESCRIPTOR.message_types_by_name["NormalizedVertex"] = _NORMALIZEDVERTEX
DESCRIPTOR.message_types_by_name["BoundingPoly"] = _BOUNDINGPOLY
DESCRIPTOR.message_types_by_name["NormalizedBoundingPoly"] = _NORMALIZEDBOUNDINGPOLY
DESCRIPTOR.message_types_by_name[
"ImageBoundingPolyAnnotation"
] = _IMAGEBOUNDINGPOLYANNOTATION
DESCRIPTOR.message_types_by_name["Polyline"] = _POLYLINE
DESCRIPTOR.message_types_by_name["NormalizedPolyline"] = _NORMALIZEDPOLYLINE
DESCRIPTOR.message_types_by_name["ImagePolylineAnnotation"] = _IMAGEPOLYLINEANNOTATION
DESCRIPTOR.message_types_by_name[
"ImageSegmentationAnnotation"
] = _IMAGESEGMENTATIONANNOTATION
DESCRIPTOR.message_types_by_name[
"TextClassificationAnnotation"
] = _TEXTCLASSIFICATIONANNOTATION
DESCRIPTOR.message_types_by_name[
"TextEntityExtractionAnnotation"
] = _TEXTENTITYEXTRACTIONANNOTATION
DESCRIPTOR.message_types_by_name["SequentialSegment"] = _SEQUENTIALSEGMENT
DESCRIPTOR.message_types_by_name["TimeSegment"] = _TIMESEGMENT
DESCRIPTOR.message_types_by_name[
"VideoClassificationAnnotation"
] = _VIDEOCLASSIFICATIONANNOTATION
DESCRIPTOR.message_types_by_name["ObjectTrackingFrame"] = _OBJECTTRACKINGFRAME
DESCRIPTOR.message_types_by_name[
"VideoObjectTrackingAnnotation"
] = _VIDEOOBJECTTRACKINGANNOTATION
DESCRIPTOR.message_types_by_name["VideoEventAnnotation"] = _VIDEOEVENTANNOTATION
DESCRIPTOR.message_types_by_name["AnnotationMetadata"] = _ANNOTATIONMETADATA
DESCRIPTOR.message_types_by_name["OperatorMetadata"] = _OPERATORMETADATA
DESCRIPTOR.enum_types_by_name["AnnotationSource"] = _ANNOTATIONSOURCE
DESCRIPTOR.enum_types_by_name["AnnotationSentiment"] = _ANNOTATIONSENTIMENT
DESCRIPTOR.enum_types_by_name["AnnotationType"] = _ANNOTATIONTYPE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Annotation = _reflection.GeneratedProtocolMessageType(
"Annotation",
(_message.Message,),
dict(
DESCRIPTOR=_ANNOTATION,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""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.
Attributes:
name:
Output only. Unique name of this annotation, format is: proje
cts/{project\_id}/datasets/{dataset\_id}/annotatedDatasets/{an
notated\_dataset}/examples/{example\_id}/annotations/{annotati
on\_id}
annotation_source:
Output only. The source of the annotation.
annotation_value:
Output only. This is the actual annotation value, e.g
classification, bounding box values are stored here.
annotation_metadata:
Output only. Annotation metadata, including information like
votes for labels.
annotation_sentiment:
Output only. Sentiment for this annotation.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.Annotation)
),
)
_sym_db.RegisterMessage(Annotation)
AnnotationValue = _reflection.GeneratedProtocolMessageType(
"AnnotationValue",
(_message.Message,),
dict(
DESCRIPTOR=_ANNOTATIONVALUE,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""Annotation value for an example.
Attributes:
image_classification_annotation:
Annotation value for image classification case.
image_bounding_poly_annotation:
Annotation value for image bounding box, oriented bounding box
and polygon cases.
image_polyline_annotation:
Annotation value for image polyline cases. Polyline here is
different from BoundingPoly. It is formed by line segments
connected to each other but not closed form(Bounding Poly).
The line segments can cross each other.
image_segmentation_annotation:
Annotation value for image segmentation.
text_classification_annotation:
Annotation value for text classification case.
text_entity_extraction_annotation:
Annotation value for text entity extraction case.
video_classification_annotation:
Annotation value for video classification case.
video_object_tracking_annotation:
Annotation value for video object detection and tracking case.
video_event_annotation:
Annotation value for video event case.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.AnnotationValue)
),
)
_sym_db.RegisterMessage(AnnotationValue)
ImageClassificationAnnotation = _reflection.GeneratedProtocolMessageType(
"ImageClassificationAnnotation",
(_message.Message,),
dict(
DESCRIPTOR=_IMAGECLASSIFICATIONANNOTATION,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""Image classification annotation definition.
Attributes:
annotation_spec:
Label of image.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.ImageClassificationAnnotation)
),
)
_sym_db.RegisterMessage(ImageClassificationAnnotation)
Vertex = _reflection.GeneratedProtocolMessageType(
"Vertex",
(_message.Message,),
dict(
DESCRIPTOR=_VERTEX,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""X coordinate.
Attributes:
y:
Y coordinate.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.Vertex)
),
)
_sym_db.RegisterMessage(Vertex)
NormalizedVertex = _reflection.GeneratedProtocolMessageType(
"NormalizedVertex",
(_message.Message,),
dict(
DESCRIPTOR=_NORMALIZEDVERTEX,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""X coordinate.
Attributes:
y:
Y coordinate.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.NormalizedVertex)
),
)
_sym_db.RegisterMessage(NormalizedVertex)
BoundingPoly = _reflection.GeneratedProtocolMessageType(
"BoundingPoly",
(_message.Message,),
dict(
DESCRIPTOR=_BOUNDINGPOLY,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""A bounding polygon in the image.
Attributes:
vertices:
The bounding polygon vertices.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.BoundingPoly)
),
)
_sym_db.RegisterMessage(BoundingPoly)
NormalizedBoundingPoly = _reflection.GeneratedProtocolMessageType(
"NormalizedBoundingPoly",
(_message.Message,),
dict(
DESCRIPTOR=_NORMALIZEDBOUNDINGPOLY,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""Normalized bounding polygon.
Attributes:
normalized_vertices:
The bounding polygon normalized vertices.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.NormalizedBoundingPoly)
),
)
_sym_db.RegisterMessage(NormalizedBoundingPoly)
ImageBoundingPolyAnnotation = _reflection.GeneratedProtocolMessageType(
"ImageBoundingPolyAnnotation",
(_message.Message,),
dict(
DESCRIPTOR=_IMAGEBOUNDINGPOLYANNOTATION,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""Image bounding poly annotation. It represents a polygon including
bounding box in the image.
Attributes:
bounded_area:
The region of the polygon. If it is a bounding box, it is
guaranteed to be four points.
annotation_spec:
Label of object in this bounding polygon.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.ImageBoundingPolyAnnotation)
),
)
_sym_db.RegisterMessage(ImageBoundingPolyAnnotation)
Polyline = _reflection.GeneratedProtocolMessageType(
"Polyline",
(_message.Message,),
dict(
DESCRIPTOR=_POLYLINE,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""A line with multiple line segments.
Attributes:
vertices:
The polyline vertices.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.Polyline)
),
)
_sym_db.RegisterMessage(Polyline)
NormalizedPolyline = _reflection.GeneratedProtocolMessageType(
"NormalizedPolyline",
(_message.Message,),
dict(
DESCRIPTOR=_NORMALIZEDPOLYLINE,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""Normalized polyline.
Attributes:
normalized_vertices:
The normalized polyline vertices.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.NormalizedPolyline)
),
)
_sym_db.RegisterMessage(NormalizedPolyline)
ImagePolylineAnnotation = _reflection.GeneratedProtocolMessageType(
"ImagePolylineAnnotation",
(_message.Message,),
dict(
DESCRIPTOR=_IMAGEPOLYLINEANNOTATION,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""A polyline for the image annotation.
Attributes:
annotation_spec:
Label of this polyline.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.ImagePolylineAnnotation)
),
)
_sym_db.RegisterMessage(ImagePolylineAnnotation)
ImageSegmentationAnnotation = _reflection.GeneratedProtocolMessageType(
"ImageSegmentationAnnotation",
(_message.Message,),
dict(
AnnotationColorsEntry=_reflection.GeneratedProtocolMessageType(
"AnnotationColorsEntry",
(_message.Message,),
dict(
DESCRIPTOR=_IMAGESEGMENTATIONANNOTATION_ANNOTATIONCOLORSENTRY,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2"
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation.AnnotationColorsEntry)
),
),
DESCRIPTOR=_IMAGESEGMENTATIONANNOTATION,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""Image segmentation annotation.
Attributes:
annotation_colors:
The mapping between rgb color and annotation spec. The key is
the rgb color represented in format of rgb(0, 0, 0). The value
is the AnnotationSpec.
mime_type:
Image format.
image_bytes:
A byte string of a full image's color map.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.ImageSegmentationAnnotation)
),
)
_sym_db.RegisterMessage(ImageSegmentationAnnotation)
_sym_db.RegisterMessage(ImageSegmentationAnnotation.AnnotationColorsEntry)
TextClassificationAnnotation = _reflection.GeneratedProtocolMessageType(
"TextClassificationAnnotation",
(_message.Message,),
dict(
DESCRIPTOR=_TEXTCLASSIFICATIONANNOTATION,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""Text classification annotation.
Attributes:
annotation_spec:
Label of the text.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.TextClassificationAnnotation)
),
)
_sym_db.RegisterMessage(TextClassificationAnnotation)
TextEntityExtractionAnnotation = _reflection.GeneratedProtocolMessageType(
"TextEntityExtractionAnnotation",
(_message.Message,),
dict(
DESCRIPTOR=_TEXTENTITYEXTRACTIONANNOTATION,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""Text entity extraction annotation.
Attributes:
annotation_spec:
Label of the text entities.
sequential_segment:
Position of the entity.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation)
),
)
_sym_db.RegisterMessage(TextEntityExtractionAnnotation)
SequentialSegment = _reflection.GeneratedProtocolMessageType(
"SequentialSegment",
(_message.Message,),
dict(
DESCRIPTOR=_SEQUENTIALSEGMENT,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""Start and end position in a sequence (e.g. text segment).
Attributes:
start:
Start position (inclusive).
end:
End position (exclusive).
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.SequentialSegment)
),
)
_sym_db.RegisterMessage(SequentialSegment)
TimeSegment = _reflection.GeneratedProtocolMessageType(
"TimeSegment",
(_message.Message,),
dict(
DESCRIPTOR=_TIMESEGMENT,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""A time period inside of an example that has a time dimension (e.g.
video).
Attributes:
start_time_offset:
Start of the time segment (inclusive), represented as the
duration since the example start.
end_time_offset:
End of the time segment (exclusive), represented as the
duration since the example start.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.TimeSegment)
),
)
_sym_db.RegisterMessage(TimeSegment)
VideoClassificationAnnotation = _reflection.GeneratedProtocolMessageType(
"VideoClassificationAnnotation",
(_message.Message,),
dict(
DESCRIPTOR=_VIDEOCLASSIFICATIONANNOTATION,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""Video classification annotation.
Attributes:
time_segment:
The time segment of the video to which the annotation applies.
annotation_spec:
Label of the segment specified by time\_segment.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.VideoClassificationAnnotation)
),
)
_sym_db.RegisterMessage(VideoClassificationAnnotation)
ObjectTrackingFrame = _reflection.GeneratedProtocolMessageType(
"ObjectTrackingFrame",
(_message.Message,),
dict(
DESCRIPTOR=_OBJECTTRACKINGFRAME,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""Video frame level annotation for object detection and tracking.
Attributes:
bounded_area:
The bounding box location of this object track for the frame.
time_offset:
The time offset of this frame relative to the beginning of the
video.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.ObjectTrackingFrame)
),
)
_sym_db.RegisterMessage(ObjectTrackingFrame)
VideoObjectTrackingAnnotation = _reflection.GeneratedProtocolMessageType(
"VideoObjectTrackingAnnotation",
(_message.Message,),
dict(
DESCRIPTOR=_VIDEOOBJECTTRACKINGANNOTATION,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""Video object tracking annotation.
Attributes:
annotation_spec:
Label of the object tracked in this annotation.
time_segment:
The time segment of the video to which object tracking
applies.
object_tracking_frames:
The list of frames where this object track appears.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.VideoObjectTrackingAnnotation)
),
)
_sym_db.RegisterMessage(VideoObjectTrackingAnnotation)
VideoEventAnnotation = _reflection.GeneratedProtocolMessageType(
"VideoEventAnnotation",
(_message.Message,),
dict(
DESCRIPTOR=_VIDEOEVENTANNOTATION,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""Video event annotation.
Attributes:
annotation_spec:
Label of the event in this annotation.
time_segment:
The time segment of the video to which the annotation applies.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.VideoEventAnnotation)
),
)
_sym_db.RegisterMessage(VideoEventAnnotation)
AnnotationMetadata = _reflection.GeneratedProtocolMessageType(
"AnnotationMetadata",
(_message.Message,),
dict(
DESCRIPTOR=_ANNOTATIONMETADATA,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""Additional information associated with the annotation.
Attributes:
operator_metadata:
Metadata related to human labeling.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.AnnotationMetadata)
),
)
_sym_db.RegisterMessage(AnnotationMetadata)
OperatorMetadata = _reflection.GeneratedProtocolMessageType(
"OperatorMetadata",
(_message.Message,),
dict(
DESCRIPTOR=_OPERATORMETADATA,
__module__="google.cloud.datalabeling_v1beta1.proto.annotation_pb2",
__doc__="""General information useful for labels coming from contributors.
Attributes:
score:
Confidence score corresponding to a label. For examle, if 3
contributors have answered the question and 2 of them agree on
the final label, the confidence score will be 0.67 (2/3).
total_votes:
The total number of contributors that answer this question.
label_votes:
The total number of contributors that choose this label.
comments:
Comments from contributors.
""",
# @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.OperatorMetadata)
),
)
_sym_db.RegisterMessage(OperatorMetadata)
DESCRIPTOR._options = None
_IMAGESEGMENTATIONANNOTATION_ANNOTATIONCOLORSENTRY._options = None
# @@protoc_insertion_point(module_scope)