# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/datalabeling_v1beta1/proto/human_annotation_config.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.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
    name="google/cloud/datalabeling_v1beta1/proto/human_annotation_config.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(
        '\nEgoogle/cloud/datalabeling_v1beta1/proto/human_annotation_config.proto\x12!google.cloud.datalabeling.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto"\xac\x02\n\x15HumanAnnotationConfig\x12\x13\n\x0binstruction\x18\x01 \x01(\t\x12&\n\x1e\x61nnotated_dataset_display_name\x18\x02 \x01(\t\x12%\n\x1d\x61nnotated_dataset_description\x18\x03 \x01(\t\x12\x13\n\x0blabel_group\x18\x04 \x01(\t\x12\x15\n\rlanguage_code\x18\x05 \x01(\t\x12\x15\n\rreplica_count\x18\x06 \x01(\x05\x12\x34\n\x11question_duration\x18\x07 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1a\n\x12\x63ontributor_emails\x18\t \x03(\t\x12\x1a\n\x12user_email_address\x18\n \x01(\t"\xae\x01\n\x19ImageClassificationConfig\x12\x1b\n\x13\x61nnotation_spec_set\x18\x01 \x01(\t\x12\x19\n\x11\x61llow_multi_label\x18\x02 \x01(\x08\x12Y\n\x17\x61nswer_aggregation_type\x18\x03 \x01(\x0e\x32\x38.google.cloud.datalabeling.v1beta1.StringAggregationType"N\n\x12\x42oundingPolyConfig\x12\x1b\n\x13\x61nnotation_spec_set\x18\x01 \x01(\t\x12\x1b\n\x13instruction_message\x18\x02 \x01(\t"J\n\x0ePolylineConfig\x12\x1b\n\x13\x61nnotation_spec_set\x18\x01 \x01(\t\x12\x1b\n\x13instruction_message\x18\x02 \x01(\t"N\n\x12SegmentationConfig\x12\x1b\n\x13\x61nnotation_spec_set\x18\x01 \x01(\t\x12\x1b\n\x13instruction_message\x18\x02 \x01(\t"\x87\x02\n\x19VideoClassificationConfig\x12y\n\x1b\x61nnotation_spec_set_configs\x18\x01 \x03(\x0b\x32T.google.cloud.datalabeling.v1beta1.VideoClassificationConfig.AnnotationSpecSetConfig\x12\x1c\n\x14\x61pply_shot_detection\x18\x02 \x01(\x08\x1aQ\n\x17\x41nnotationSpecSetConfig\x12\x1b\n\x13\x61nnotation_spec_set\x18\x01 \x01(\t\x12\x19\n\x11\x61llow_multi_label\x18\x02 \x01(\x08"S\n\x15ObjectDetectionConfig\x12\x1b\n\x13\x61nnotation_spec_set\x18\x01 \x01(\t\x12\x1d\n\x15\x65xtraction_frame_rate\x18\x03 \x01(\x01"3\n\x14ObjectTrackingConfig\x12\x1b\n\x13\x61nnotation_spec_set\x18\x01 \x01(\t"+\n\x0b\x45ventConfig\x12\x1c\n\x14\x61nnotation_spec_sets\x18\x01 \x03(\t"\xa0\x01\n\x18TextClassificationConfig\x12\x19\n\x11\x61llow_multi_label\x18\x01 \x01(\x08\x12\x1b\n\x13\x61nnotation_spec_set\x18\x02 \x01(\t\x12L\n\x10sentiment_config\x18\x03 \x01(\x0b\x32\x32.google.cloud.datalabeling.v1beta1.SentimentConfig";\n\x0fSentimentConfig\x12(\n enable_label_sentiment_selection\x18\x01 \x01(\x08"9\n\x1aTextEntityExtractionConfig\x12\x1b\n\x13\x61nnotation_spec_set\x18\x01 \x01(\t*{\n\x15StringAggregationType\x12\'\n#STRING_AGGREGATION_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rMAJORITY_VOTE\x10\x01\x12\x12\n\x0eUNANIMOUS_VOTE\x10\x02\x12\x12\n\x0eNO_AGGREGATION\x10\x03\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_protobuf_dot_duration__pb2.DESCRIPTOR,
    ],
)

_STRINGAGGREGATIONTYPE = _descriptor.EnumDescriptor(
    name="StringAggregationType",
    full_name="google.cloud.datalabeling.v1beta1.StringAggregationType",
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name="STRING_AGGREGATION_TYPE_UNSPECIFIED",
            index=0,
            number=0,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="MAJORITY_VOTE", index=1, number=1, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="UNANIMOUS_VOTE", index=2, number=2, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="NO_AGGREGATION", index=3, number=3, serialized_options=None, type=None
        ),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=1618,
    serialized_end=1741,
)
_sym_db.RegisterEnumDescriptor(_STRINGAGGREGATIONTYPE)

StringAggregationType = enum_type_wrapper.EnumTypeWrapper(_STRINGAGGREGATIONTYPE)
STRING_AGGREGATION_TYPE_UNSPECIFIED = 0
MAJORITY_VOTE = 1
UNANIMOUS_VOTE = 2
NO_AGGREGATION = 3


_HUMANANNOTATIONCONFIG = _descriptor.Descriptor(
    name="HumanAnnotationConfig",
    full_name="google.cloud.datalabeling.v1beta1.HumanAnnotationConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="instruction",
            full_name="google.cloud.datalabeling.v1beta1.HumanAnnotationConfig.instruction",
            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="annotated_dataset_display_name",
            full_name="google.cloud.datalabeling.v1beta1.HumanAnnotationConfig.annotated_dataset_display_name",
            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="annotated_dataset_description",
            full_name="google.cloud.datalabeling.v1beta1.HumanAnnotationConfig.annotated_dataset_description",
            index=2,
            number=3,
            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="label_group",
            full_name="google.cloud.datalabeling.v1beta1.HumanAnnotationConfig.label_group",
            index=3,
            number=4,
            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="language_code",
            full_name="google.cloud.datalabeling.v1beta1.HumanAnnotationConfig.language_code",
            index=4,
            number=5,
            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="replica_count",
            full_name="google.cloud.datalabeling.v1beta1.HumanAnnotationConfig.replica_count",
            index=5,
            number=6,
            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="question_duration",
            full_name="google.cloud.datalabeling.v1beta1.HumanAnnotationConfig.question_duration",
            index=6,
            number=7,
            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="contributor_emails",
            full_name="google.cloud.datalabeling.v1beta1.HumanAnnotationConfig.contributor_emails",
            index=7,
            number=9,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="user_email_address",
            full_name="google.cloud.datalabeling.v1beta1.HumanAnnotationConfig.user_email_address",
            index=8,
            number=10,
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=171,
    serialized_end=471,
)


_IMAGECLASSIFICATIONCONFIG = _descriptor.Descriptor(
    name="ImageClassificationConfig",
    full_name="google.cloud.datalabeling.v1beta1.ImageClassificationConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="annotation_spec_set",
            full_name="google.cloud.datalabeling.v1beta1.ImageClassificationConfig.annotation_spec_set",
            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="allow_multi_label",
            full_name="google.cloud.datalabeling.v1beta1.ImageClassificationConfig.allow_multi_label",
            index=1,
            number=2,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="answer_aggregation_type",
            full_name="google.cloud.datalabeling.v1beta1.ImageClassificationConfig.answer_aggregation_type",
            index=2,
            number=3,
            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=474,
    serialized_end=648,
)


_BOUNDINGPOLYCONFIG = _descriptor.Descriptor(
    name="BoundingPolyConfig",
    full_name="google.cloud.datalabeling.v1beta1.BoundingPolyConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="annotation_spec_set",
            full_name="google.cloud.datalabeling.v1beta1.BoundingPolyConfig.annotation_spec_set",
            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="instruction_message",
            full_name="google.cloud.datalabeling.v1beta1.BoundingPolyConfig.instruction_message",
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=650,
    serialized_end=728,
)


_POLYLINECONFIG = _descriptor.Descriptor(
    name="PolylineConfig",
    full_name="google.cloud.datalabeling.v1beta1.PolylineConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="annotation_spec_set",
            full_name="google.cloud.datalabeling.v1beta1.PolylineConfig.annotation_spec_set",
            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="instruction_message",
            full_name="google.cloud.datalabeling.v1beta1.PolylineConfig.instruction_message",
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=730,
    serialized_end=804,
)


_SEGMENTATIONCONFIG = _descriptor.Descriptor(
    name="SegmentationConfig",
    full_name="google.cloud.datalabeling.v1beta1.SegmentationConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="annotation_spec_set",
            full_name="google.cloud.datalabeling.v1beta1.SegmentationConfig.annotation_spec_set",
            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="instruction_message",
            full_name="google.cloud.datalabeling.v1beta1.SegmentationConfig.instruction_message",
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=806,
    serialized_end=884,
)


_VIDEOCLASSIFICATIONCONFIG_ANNOTATIONSPECSETCONFIG = _descriptor.Descriptor(
    name="AnnotationSpecSetConfig",
    full_name="google.cloud.datalabeling.v1beta1.VideoClassificationConfig.AnnotationSpecSetConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="annotation_spec_set",
            full_name="google.cloud.datalabeling.v1beta1.VideoClassificationConfig.AnnotationSpecSetConfig.annotation_spec_set",
            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="allow_multi_label",
            full_name="google.cloud.datalabeling.v1beta1.VideoClassificationConfig.AnnotationSpecSetConfig.allow_multi_label",
            index=1,
            number=2,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            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=1069,
    serialized_end=1150,
)

_VIDEOCLASSIFICATIONCONFIG = _descriptor.Descriptor(
    name="VideoClassificationConfig",
    full_name="google.cloud.datalabeling.v1beta1.VideoClassificationConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="annotation_spec_set_configs",
            full_name="google.cloud.datalabeling.v1beta1.VideoClassificationConfig.annotation_spec_set_configs",
            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="apply_shot_detection",
            full_name="google.cloud.datalabeling.v1beta1.VideoClassificationConfig.apply_shot_detection",
            index=1,
            number=2,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[_VIDEOCLASSIFICATIONCONFIG_ANNOTATIONSPECSETCONFIG],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=887,
    serialized_end=1150,
)


_OBJECTDETECTIONCONFIG = _descriptor.Descriptor(
    name="ObjectDetectionConfig",
    full_name="google.cloud.datalabeling.v1beta1.ObjectDetectionConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="annotation_spec_set",
            full_name="google.cloud.datalabeling.v1beta1.ObjectDetectionConfig.annotation_spec_set",
            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="extraction_frame_rate",
            full_name="google.cloud.datalabeling.v1beta1.ObjectDetectionConfig.extraction_frame_rate",
            index=1,
            number=3,
            type=1,
            cpp_type=5,
            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=1152,
    serialized_end=1235,
)


_OBJECTTRACKINGCONFIG = _descriptor.Descriptor(
    name="ObjectTrackingConfig",
    full_name="google.cloud.datalabeling.v1beta1.ObjectTrackingConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="annotation_spec_set",
            full_name="google.cloud.datalabeling.v1beta1.ObjectTrackingConfig.annotation_spec_set",
            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,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1237,
    serialized_end=1288,
)


_EVENTCONFIG = _descriptor.Descriptor(
    name="EventConfig",
    full_name="google.cloud.datalabeling.v1beta1.EventConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="annotation_spec_sets",
            full_name="google.cloud.datalabeling.v1beta1.EventConfig.annotation_spec_sets",
            index=0,
            number=1,
            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=1290,
    serialized_end=1333,
)


_TEXTCLASSIFICATIONCONFIG = _descriptor.Descriptor(
    name="TextClassificationConfig",
    full_name="google.cloud.datalabeling.v1beta1.TextClassificationConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="allow_multi_label",
            full_name="google.cloud.datalabeling.v1beta1.TextClassificationConfig.allow_multi_label",
            index=0,
            number=1,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            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_set",
            full_name="google.cloud.datalabeling.v1beta1.TextClassificationConfig.annotation_spec_set",
            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="sentiment_config",
            full_name="google.cloud.datalabeling.v1beta1.TextClassificationConfig.sentiment_config",
            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=[],
    serialized_start=1336,
    serialized_end=1496,
)


_SENTIMENTCONFIG = _descriptor.Descriptor(
    name="SentimentConfig",
    full_name="google.cloud.datalabeling.v1beta1.SentimentConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="enable_label_sentiment_selection",
            full_name="google.cloud.datalabeling.v1beta1.SentimentConfig.enable_label_sentiment_selection",
            index=0,
            number=1,
            type=8,
            cpp_type=7,
            label=1,
            has_default_value=False,
            default_value=False,
            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=1498,
    serialized_end=1557,
)


_TEXTENTITYEXTRACTIONCONFIG = _descriptor.Descriptor(
    name="TextEntityExtractionConfig",
    full_name="google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="annotation_spec_set",
            full_name="google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig.annotation_spec_set",
            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,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1559,
    serialized_end=1616,
)

_HUMANANNOTATIONCONFIG.fields_by_name[
    "question_duration"
].message_type = google_dot_protobuf_dot_duration__pb2._DURATION
_IMAGECLASSIFICATIONCONFIG.fields_by_name[
    "answer_aggregation_type"
].enum_type = _STRINGAGGREGATIONTYPE
_VIDEOCLASSIFICATIONCONFIG_ANNOTATIONSPECSETCONFIG.containing_type = (
    _VIDEOCLASSIFICATIONCONFIG
)
_VIDEOCLASSIFICATIONCONFIG.fields_by_name[
    "annotation_spec_set_configs"
].message_type = _VIDEOCLASSIFICATIONCONFIG_ANNOTATIONSPECSETCONFIG
_TEXTCLASSIFICATIONCONFIG.fields_by_name[
    "sentiment_config"
].message_type = _SENTIMENTCONFIG
DESCRIPTOR.message_types_by_name["HumanAnnotationConfig"] = _HUMANANNOTATIONCONFIG
DESCRIPTOR.message_types_by_name[
    "ImageClassificationConfig"
] = _IMAGECLASSIFICATIONCONFIG
DESCRIPTOR.message_types_by_name["BoundingPolyConfig"] = _BOUNDINGPOLYCONFIG
DESCRIPTOR.message_types_by_name["PolylineConfig"] = _POLYLINECONFIG
DESCRIPTOR.message_types_by_name["SegmentationConfig"] = _SEGMENTATIONCONFIG
DESCRIPTOR.message_types_by_name[
    "VideoClassificationConfig"
] = _VIDEOCLASSIFICATIONCONFIG
DESCRIPTOR.message_types_by_name["ObjectDetectionConfig"] = _OBJECTDETECTIONCONFIG
DESCRIPTOR.message_types_by_name["ObjectTrackingConfig"] = _OBJECTTRACKINGCONFIG
DESCRIPTOR.message_types_by_name["EventConfig"] = _EVENTCONFIG
DESCRIPTOR.message_types_by_name["TextClassificationConfig"] = _TEXTCLASSIFICATIONCONFIG
DESCRIPTOR.message_types_by_name["SentimentConfig"] = _SENTIMENTCONFIG
DESCRIPTOR.message_types_by_name[
    "TextEntityExtractionConfig"
] = _TEXTENTITYEXTRACTIONCONFIG
DESCRIPTOR.enum_types_by_name["StringAggregationType"] = _STRINGAGGREGATIONTYPE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

HumanAnnotationConfig = _reflection.GeneratedProtocolMessageType(
    "HumanAnnotationConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_HUMANANNOTATIONCONFIG,
        __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2",
        __doc__="""Configuration for how human labeling task should be done.
  
  
  Attributes:
      instruction:
          Required. Instruction resource name.
      annotated_dataset_display_name:
          Required. A human-readable name for AnnotatedDataset defined
          by users. Maximum of 64 characters .
      annotated_dataset_description:
          Optional. A human-readable description for AnnotatedDataset.
          The description can be up to 10000 characters long.
      label_group:
          Optional. A human-readable label used to logically group
          labeling tasks. This string must match the regular expression
          ``[a-zA-Z\\d_-]{0,128}``.
      language_code:
          Optional. The Language of this question, as a `BCP-47
          <https://www.rfc-editor.org/rfc/bcp/bcp47.txt>`__. Default
          value is en-US. Only need to set this when task is language
          related. For example, French text classification.
      replica_count:
          Optional. Replication of questions. Each question will be sent
          to up to this number of contributors to label. Aggregated
          answers will be returned. Default is set to 1. For image
          related labeling, valid values are 1, 3, 5.
      question_duration:
          Optional. Maximum duration for contributors to answer a
          question. Default is 1800 seconds.
      contributor_emails:
          Optional. If you want your own labeling contributors to manage
          and work on this labeling request, you can set these
          contributors here. We will give them access to the question
          types in crowdcompute. Note that these emails must be
          registered in crowdcompute worker UI: https://crowd-
          compute.appspot.com/
      user_email_address:
          Email of the user who started the labeling task and should be
          notified by email. If empty no notification will be sent.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.HumanAnnotationConfig)
    ),
)
_sym_db.RegisterMessage(HumanAnnotationConfig)

ImageClassificationConfig = _reflection.GeneratedProtocolMessageType(
    "ImageClassificationConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_IMAGECLASSIFICATIONCONFIG,
        __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2",
        __doc__="""Config for image classification human labeling task.
  
  
  Attributes:
      annotation_spec_set:
          Required. Annotation spec set resource name.
      allow_multi_label:
          Optional. If allow\_multi\_label is true, contributors are
          able to choose multiple labels for one image.
      answer_aggregation_type:
          Optional. The type of how to aggregate answers.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.ImageClassificationConfig)
    ),
)
_sym_db.RegisterMessage(ImageClassificationConfig)

BoundingPolyConfig = _reflection.GeneratedProtocolMessageType(
    "BoundingPolyConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_BOUNDINGPOLYCONFIG,
        __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2",
        __doc__="""Config for image bounding poly (and bounding box) human labeling task.
  
  
  Attributes:
      annotation_spec_set:
          Required. Annotation spec set resource name.
      instruction_message:
          Optional. Instruction message showed on contributors UI.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.BoundingPolyConfig)
    ),
)
_sym_db.RegisterMessage(BoundingPolyConfig)

PolylineConfig = _reflection.GeneratedProtocolMessageType(
    "PolylineConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_POLYLINECONFIG,
        __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2",
        __doc__="""Config for image polyline human labeling task.
  
  
  Attributes:
      annotation_spec_set:
          Required. Annotation spec set resource name.
      instruction_message:
          Optional. Instruction message showed on contributors UI.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.PolylineConfig)
    ),
)
_sym_db.RegisterMessage(PolylineConfig)

SegmentationConfig = _reflection.GeneratedProtocolMessageType(
    "SegmentationConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_SEGMENTATIONCONFIG,
        __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2",
        __doc__="""Config for image segmentation
  
  
  Attributes:
      annotation_spec_set:
          Required. Annotation spec set resource name. format: projects/
          {project\_id}/annotationSpecSets/{annotation\_spec\_set\_id}
      instruction_message:
          Instruction message showed on labelers UI.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.SegmentationConfig)
    ),
)
_sym_db.RegisterMessage(SegmentationConfig)

VideoClassificationConfig = _reflection.GeneratedProtocolMessageType(
    "VideoClassificationConfig",
    (_message.Message,),
    dict(
        AnnotationSpecSetConfig=_reflection.GeneratedProtocolMessageType(
            "AnnotationSpecSetConfig",
            (_message.Message,),
            dict(
                DESCRIPTOR=_VIDEOCLASSIFICATIONCONFIG_ANNOTATIONSPECSETCONFIG,
                __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2",
                __doc__="""Annotation spec set with the setting of allowing multi labels or not.
    
    
    Attributes:
        annotation_spec_set:
            Required. Annotation spec set resource name.
        allow_multi_label:
            Optional. If allow\_multi\_label is true, contributors are
            able to choose multiple labels from one annotation spec set.
    """,
                # @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.VideoClassificationConfig.AnnotationSpecSetConfig)
            ),
        ),
        DESCRIPTOR=_VIDEOCLASSIFICATIONCONFIG,
        __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2",
        __doc__="""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.
  
  
  Attributes:
      annotation_spec_set_configs:
          Required. The list of annotation spec set configs. Since
          watching a video clip takes much longer time than an image, we
          support label with multiple AnnotationSpecSet at the same
          time. Labels in each AnnotationSpecSet will be shown in a
          group to contributors. Contributors can select one or more
          (depending on whether to allow multi label) from each group.
      apply_shot_detection:
          Optional. Option to apply shot detection on the video.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.VideoClassificationConfig)
    ),
)
_sym_db.RegisterMessage(VideoClassificationConfig)
_sym_db.RegisterMessage(VideoClassificationConfig.AnnotationSpecSetConfig)

ObjectDetectionConfig = _reflection.GeneratedProtocolMessageType(
    "ObjectDetectionConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_OBJECTDETECTIONCONFIG,
        __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2",
        __doc__="""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.
  
  
  Attributes:
      annotation_spec_set:
          Required. Annotation spec set resource name.
      extraction_frame_rate:
          Required. Number of frames per second to be extracted from the
          video.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.ObjectDetectionConfig)
    ),
)
_sym_db.RegisterMessage(ObjectDetectionConfig)

ObjectTrackingConfig = _reflection.GeneratedProtocolMessageType(
    "ObjectTrackingConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_OBJECTTRACKINGCONFIG,
        __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2",
        __doc__="""Config for video object tracking human labeling task.
  
  
  Attributes:
      annotation_spec_set:
          Required. Annotation spec set resource name.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.ObjectTrackingConfig)
    ),
)
_sym_db.RegisterMessage(ObjectTrackingConfig)

EventConfig = _reflection.GeneratedProtocolMessageType(
    "EventConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_EVENTCONFIG,
        __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2",
        __doc__="""Config for video event human labeling task.
  
  
  Attributes:
      annotation_spec_sets:
          Required. The list of annotation spec set resource name.
          Similar to video classification, we support selecting event
          from multiple AnnotationSpecSet at the same time.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.EventConfig)
    ),
)
_sym_db.RegisterMessage(EventConfig)

TextClassificationConfig = _reflection.GeneratedProtocolMessageType(
    "TextClassificationConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_TEXTCLASSIFICATIONCONFIG,
        __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2",
        __doc__="""Config for text classification human labeling task.
  
  
  Attributes:
      allow_multi_label:
          Optional. If allow\_multi\_label is true, contributors are
          able to choose multiple labels for one text segment.
      annotation_spec_set:
          Required. Annotation spec set resource name.
      sentiment_config:
          Optional. Configs for sentiment selection.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.TextClassificationConfig)
    ),
)
_sym_db.RegisterMessage(TextClassificationConfig)

SentimentConfig = _reflection.GeneratedProtocolMessageType(
    "SentimentConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_SENTIMENTCONFIG,
        __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2",
        __doc__="""Config for setting up sentiments.
  
  
  Attributes:
      enable_label_sentiment_selection:
          If set to true, contributors will have the option to select
          sentiment of the label they selected, to mark it as negative
          or positive label. Default is false.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.SentimentConfig)
    ),
)
_sym_db.RegisterMessage(SentimentConfig)

TextEntityExtractionConfig = _reflection.GeneratedProtocolMessageType(
    "TextEntityExtractionConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_TEXTENTITYEXTRACTIONCONFIG,
        __module__="google.cloud.datalabeling_v1beta1.proto.human_annotation_config_pb2",
        __doc__="""Config for text entity extraction human labeling task.
  
  
  Attributes:
      annotation_spec_set:
          Required. Annotation spec set resource name.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.datalabeling.v1beta1.TextEntityExtractionConfig)
    ),
)
_sym_db.RegisterMessage(TextEntityExtractionConfig)


DESCRIPTOR._options = None
# @@protoc_insertion_point(module_scope)
