# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/documentai_v1beta1/proto/document_understanding.proto

import sys

_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
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.api import client_pb2 as google_dot_api_dot_client__pb2
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
from google.cloud.documentai_v1beta1.proto import (
    geometry_pb2 as google_dot_cloud_dot_documentai__v1beta1_dot_proto_dot_geometry__pb2,
)
from google.longrunning import (
    operations_pb2 as google_dot_longrunning_dot_operations__pb2,
)
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
    name="google/cloud/documentai_v1beta1/proto/document_understanding.proto",
    package="google.cloud.documentai.v1beta1",
    syntax="proto3",
    serialized_options=_b(
        "\n#com.google.cloud.documentai.v1beta1B\017DocumentAiProtoP\001ZIgoogle.golang.org/genproto/googleapis/cloud/documentai/v1beta1;documentai"
    ),
    serialized_pb=_b(
        '\nBgoogle/cloud/documentai_v1beta1/proto/document_understanding.proto\x12\x1fgoogle.cloud.documentai.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x34google/cloud/documentai_v1beta1/proto/geometry.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto"~\n\x1c\x42\x61tchProcessDocumentsRequest\x12N\n\x08requests\x18\x01 \x03(\x0b\x32\x37.google.cloud.documentai.v1beta1.ProcessDocumentRequestB\x03\xe0\x41\x02\x12\x0e\n\x06parent\x18\x02 \x01(\t"\x8e\x04\n\x16ProcessDocumentRequest\x12G\n\x0cinput_config\x18\x01 \x01(\x0b\x32,.google.cloud.documentai.v1beta1.InputConfigB\x03\xe0\x41\x02\x12I\n\routput_config\x18\x02 \x01(\x0b\x32-.google.cloud.documentai.v1beta1.OutputConfigB\x03\xe0\x41\x02\x12\x15\n\rdocument_type\x18\x03 \x01(\t\x12W\n\x17table_extraction_params\x18\x04 \x01(\x0b\x32\x36.google.cloud.documentai.v1beta1.TableExtractionParams\x12U\n\x16\x66orm_extraction_params\x18\x05 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta1.FormExtractionParams\x12Y\n\x18\x65ntity_extraction_params\x18\x06 \x01(\x0b\x32\x37.google.cloud.documentai.v1beta1.EntityExtractionParams\x12>\n\nocr_params\x18\x07 \x01(\x0b\x32*.google.cloud.documentai.v1beta1.OcrParams"l\n\x1d\x42\x61tchProcessDocumentsResponse\x12K\n\tresponses\x18\x01 \x03(\x0b\x32\x38.google.cloud.documentai.v1beta1.ProcessDocumentResponse"\xa3\x01\n\x17ProcessDocumentResponse\x12\x42\n\x0cinput_config\x18\x01 \x01(\x0b\x32,.google.cloud.documentai.v1beta1.InputConfig\x12\x44\n\routput_config\x18\x02 \x01(\x0b\x32-.google.cloud.documentai.v1beta1.OutputConfig"#\n\tOcrParams\x12\x16\n\x0elanguage_hints\x18\x01 \x03(\t"\xab\x01\n\x15TableExtractionParams\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12O\n\x11table_bound_hints\x18\x02 \x03(\x0b\x32/.google.cloud.documentai.v1beta1.TableBoundHintB\x03\xe0\x41\x01\x12\x19\n\x0cheader_hints\x18\x03 \x03(\tB\x03\xe0\x41\x01\x12\x15\n\rmodel_version\x18\x04 \x01(\t"o\n\x0eTableBoundHint\x12\x18\n\x0bpage_number\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\x12\x43\n\x0c\x62ounding_box\x18\x02 \x01(\x0b\x32-.google.cloud.documentai.v1beta1.BoundingPoly"\x8f\x01\n\x14\x46ormExtractionParams\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12O\n\x14key_value_pair_hints\x18\x02 \x03(\x0b\x32\x31.google.cloud.documentai.v1beta1.KeyValuePairHint\x12\x15\n\rmodel_version\x18\x03 \x01(\t"4\n\x10KeyValuePairHint\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x13\n\x0bvalue_types\x18\x02 \x03(\t"@\n\x16\x45ntityExtractionParams\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x15\n\rmodel_version\x18\x02 \x01(\t"q\n\x0bInputConfig\x12@\n\ngcs_source\x18\x01 \x01(\x0b\x32*.google.cloud.documentai.v1beta1.GcsSourceH\x00\x12\x16\n\tmime_type\x18\x02 \x01(\tB\x03\xe0\x41\x02\x42\x08\n\x06source"\x82\x01\n\x0cOutputConfig\x12J\n\x0fgcs_destination\x18\x01 \x01(\x0b\x32/.google.cloud.documentai.v1beta1.GcsDestinationH\x00\x12\x17\n\x0fpages_per_shard\x18\x02 \x01(\x05\x42\r\n\x0b\x64\x65stination"\x1d\n\tGcsSource\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02""\n\x0eGcsDestination\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02"\xc7\x02\n\x11OperationMetadata\x12G\n\x05state\x18\x01 \x01(\x0e\x32\x38.google.cloud.documentai.v1beta1.OperationMetadata.State\x12\x15\n\rstate_message\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp"p\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x41\x43\x43\x45PTED\x10\x01\x12\x0b\n\x07WAITING\x10\x02\x12\x0b\n\x07RUNNING\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\x12\r\n\tCANCELLED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x32\xac\x03\n\x1c\x44ocumentUnderstandingService\x12\xbc\x02\n\x15\x42\x61tchProcessDocuments\x12=.google.cloud.documentai.v1beta1.BatchProcessDocumentsRequest\x1a\x1d.google.longrunning.Operation"\xc4\x01\x82\xd3\xe4\x93\x02~"?/v1beta1/{parent=projects/*/locations/*}/documents:batchProcess:\x01*Z8"3/v1beta1/{parent=projects/*}/documents:batchProcess:\x01*\xda\x41\x08requests\xca\x41\x32\n\x1d\x42\x61tchProcessDocumentsResponse\x12\x11OperationMetadata\x1aM\xca\x41\x19\x64ocumentai.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x83\x01\n#com.google.cloud.documentai.v1beta1B\x0f\x44ocumentAiProtoP\x01ZIgoogle.golang.org/genproto/googleapis/cloud/documentai/v1beta1;documentaib\x06proto3'
    ),
    dependencies=[
        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
        google_dot_api_dot_client__pb2.DESCRIPTOR,
        google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,
        google_dot_cloud_dot_documentai__v1beta1_dot_proto_dot_geometry__pb2.DESCRIPTOR,
        google_dot_longrunning_dot_operations__pb2.DESCRIPTOR,
        google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,
    ],
)


_OPERATIONMETADATA_STATE = _descriptor.EnumDescriptor(
    name="State",
    full_name="google.cloud.documentai.v1beta1.OperationMetadata.State",
    filename=None,
    file=DESCRIPTOR,
    values=[
        _descriptor.EnumValueDescriptor(
            name="STATE_UNSPECIFIED",
            index=0,
            number=0,
            serialized_options=None,
            type=None,
        ),
        _descriptor.EnumValueDescriptor(
            name="ACCEPTED", index=1, number=1, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="WAITING", index=2, number=2, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="RUNNING", index=3, number=3, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="SUCCEEDED", index=4, number=4, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="CANCELLED", index=5, number=5, serialized_options=None, type=None
        ),
        _descriptor.EnumValueDescriptor(
            name="FAILED", index=6, number=6, serialized_options=None, type=None
        ),
    ],
    containing_type=None,
    serialized_options=None,
    serialized_start=2369,
    serialized_end=2481,
)
_sym_db.RegisterEnumDescriptor(_OPERATIONMETADATA_STATE)


_BATCHPROCESSDOCUMENTSREQUEST = _descriptor.Descriptor(
    name="BatchProcessDocumentsRequest",
    full_name="google.cloud.documentai.v1beta1.BatchProcessDocumentsRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="requests",
            full_name="google.cloud.documentai.v1beta1.BatchProcessDocumentsRequest.requests",
            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=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="parent",
            full_name="google.cloud.documentai.v1beta1.BatchProcessDocumentsRequest.parent",
            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=315,
    serialized_end=441,
)


_PROCESSDOCUMENTREQUEST = _descriptor.Descriptor(
    name="ProcessDocumentRequest",
    full_name="google.cloud.documentai.v1beta1.ProcessDocumentRequest",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="input_config",
            full_name="google.cloud.documentai.v1beta1.ProcessDocumentRequest.input_config",
            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=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="output_config",
            full_name="google.cloud.documentai.v1beta1.ProcessDocumentRequest.output_config",
            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=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="document_type",
            full_name="google.cloud.documentai.v1beta1.ProcessDocumentRequest.document_type",
            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="table_extraction_params",
            full_name="google.cloud.documentai.v1beta1.ProcessDocumentRequest.table_extraction_params",
            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="form_extraction_params",
            full_name="google.cloud.documentai.v1beta1.ProcessDocumentRequest.form_extraction_params",
            index=4,
            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="entity_extraction_params",
            full_name="google.cloud.documentai.v1beta1.ProcessDocumentRequest.entity_extraction_params",
            index=5,
            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,
        ),
        _descriptor.FieldDescriptor(
            name="ocr_params",
            full_name="google.cloud.documentai.v1beta1.ProcessDocumentRequest.ocr_params",
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=444,
    serialized_end=970,
)


_BATCHPROCESSDOCUMENTSRESPONSE = _descriptor.Descriptor(
    name="BatchProcessDocumentsResponse",
    full_name="google.cloud.documentai.v1beta1.BatchProcessDocumentsResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="responses",
            full_name="google.cloud.documentai.v1beta1.BatchProcessDocumentsResponse.responses",
            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=972,
    serialized_end=1080,
)


_PROCESSDOCUMENTRESPONSE = _descriptor.Descriptor(
    name="ProcessDocumentResponse",
    full_name="google.cloud.documentai.v1beta1.ProcessDocumentResponse",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="input_config",
            full_name="google.cloud.documentai.v1beta1.ProcessDocumentResponse.input_config",
            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="output_config",
            full_name="google.cloud.documentai.v1beta1.ProcessDocumentResponse.output_config",
            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=1083,
    serialized_end=1246,
)


_OCRPARAMS = _descriptor.Descriptor(
    name="OcrParams",
    full_name="google.cloud.documentai.v1beta1.OcrParams",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="language_hints",
            full_name="google.cloud.documentai.v1beta1.OcrParams.language_hints",
            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=1248,
    serialized_end=1283,
)


_TABLEEXTRACTIONPARAMS = _descriptor.Descriptor(
    name="TableExtractionParams",
    full_name="google.cloud.documentai.v1beta1.TableExtractionParams",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="enabled",
            full_name="google.cloud.documentai.v1beta1.TableExtractionParams.enabled",
            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="table_bound_hints",
            full_name="google.cloud.documentai.v1beta1.TableExtractionParams.table_bound_hints",
            index=1,
            number=2,
            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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="header_hints",
            full_name="google.cloud.documentai.v1beta1.TableExtractionParams.header_hints",
            index=2,
            number=3,
            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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="model_version",
            full_name="google.cloud.documentai.v1beta1.TableExtractionParams.model_version",
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1286,
    serialized_end=1457,
)


_TABLEBOUNDHINT = _descriptor.Descriptor(
    name="TableBoundHint",
    full_name="google.cloud.documentai.v1beta1.TableBoundHint",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="page_number",
            full_name="google.cloud.documentai.v1beta1.TableBoundHint.page_number",
            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=_b("\340A\001"),
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="bounding_box",
            full_name="google.cloud.documentai.v1beta1.TableBoundHint.bounding_box",
            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=1459,
    serialized_end=1570,
)


_FORMEXTRACTIONPARAMS = _descriptor.Descriptor(
    name="FormExtractionParams",
    full_name="google.cloud.documentai.v1beta1.FormExtractionParams",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="enabled",
            full_name="google.cloud.documentai.v1beta1.FormExtractionParams.enabled",
            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="key_value_pair_hints",
            full_name="google.cloud.documentai.v1beta1.FormExtractionParams.key_value_pair_hints",
            index=1,
            number=2,
            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="model_version",
            full_name="google.cloud.documentai.v1beta1.FormExtractionParams.model_version",
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=1573,
    serialized_end=1716,
)


_KEYVALUEPAIRHINT = _descriptor.Descriptor(
    name="KeyValuePairHint",
    full_name="google.cloud.documentai.v1beta1.KeyValuePairHint",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="key",
            full_name="google.cloud.documentai.v1beta1.KeyValuePairHint.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_types",
            full_name="google.cloud.documentai.v1beta1.KeyValuePairHint.value_types",
            index=1,
            number=2,
            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=1718,
    serialized_end=1770,
)


_ENTITYEXTRACTIONPARAMS = _descriptor.Descriptor(
    name="EntityExtractionParams",
    full_name="google.cloud.documentai.v1beta1.EntityExtractionParams",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="enabled",
            full_name="google.cloud.documentai.v1beta1.EntityExtractionParams.enabled",
            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="model_version",
            full_name="google.cloud.documentai.v1beta1.EntityExtractionParams.model_version",
            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=1772,
    serialized_end=1836,
)


_INPUTCONFIG = _descriptor.Descriptor(
    name="InputConfig",
    full_name="google.cloud.documentai.v1beta1.InputConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="gcs_source",
            full_name="google.cloud.documentai.v1beta1.InputConfig.gcs_source",
            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="mime_type",
            full_name="google.cloud.documentai.v1beta1.InputConfig.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=_b("\340A\002"),
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[
        _descriptor.OneofDescriptor(
            name="source",
            full_name="google.cloud.documentai.v1beta1.InputConfig.source",
            index=0,
            containing_type=None,
            fields=[],
        )
    ],
    serialized_start=1838,
    serialized_end=1951,
)


_OUTPUTCONFIG = _descriptor.Descriptor(
    name="OutputConfig",
    full_name="google.cloud.documentai.v1beta1.OutputConfig",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="gcs_destination",
            full_name="google.cloud.documentai.v1beta1.OutputConfig.gcs_destination",
            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="pages_per_shard",
            full_name="google.cloud.documentai.v1beta1.OutputConfig.pages_per_shard",
            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=[
        _descriptor.OneofDescriptor(
            name="destination",
            full_name="google.cloud.documentai.v1beta1.OutputConfig.destination",
            index=0,
            containing_type=None,
            fields=[],
        )
    ],
    serialized_start=1954,
    serialized_end=2084,
)


_GCSSOURCE = _descriptor.Descriptor(
    name="GcsSource",
    full_name="google.cloud.documentai.v1beta1.GcsSource",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="uri",
            full_name="google.cloud.documentai.v1beta1.GcsSource.uri",
            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=_b("\340A\002"),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2086,
    serialized_end=2115,
)


_GCSDESTINATION = _descriptor.Descriptor(
    name="GcsDestination",
    full_name="google.cloud.documentai.v1beta1.GcsDestination",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="uri",
            full_name="google.cloud.documentai.v1beta1.GcsDestination.uri",
            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=_b("\340A\002"),
            file=DESCRIPTOR,
        )
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2117,
    serialized_end=2151,
)


_OPERATIONMETADATA = _descriptor.Descriptor(
    name="OperationMetadata",
    full_name="google.cloud.documentai.v1beta1.OperationMetadata",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="state",
            full_name="google.cloud.documentai.v1beta1.OperationMetadata.state",
            index=0,
            number=1,
            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="state_message",
            full_name="google.cloud.documentai.v1beta1.OperationMetadata.state_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,
        ),
        _descriptor.FieldDescriptor(
            name="create_time",
            full_name="google.cloud.documentai.v1beta1.OperationMetadata.create_time",
            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="update_time",
            full_name="google.cloud.documentai.v1beta1.OperationMetadata.update_time",
            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,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[_OPERATIONMETADATA_STATE],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=2154,
    serialized_end=2481,
)

_BATCHPROCESSDOCUMENTSREQUEST.fields_by_name[
    "requests"
].message_type = _PROCESSDOCUMENTREQUEST
_PROCESSDOCUMENTREQUEST.fields_by_name["input_config"].message_type = _INPUTCONFIG
_PROCESSDOCUMENTREQUEST.fields_by_name["output_config"].message_type = _OUTPUTCONFIG
_PROCESSDOCUMENTREQUEST.fields_by_name[
    "table_extraction_params"
].message_type = _TABLEEXTRACTIONPARAMS
_PROCESSDOCUMENTREQUEST.fields_by_name[
    "form_extraction_params"
].message_type = _FORMEXTRACTIONPARAMS
_PROCESSDOCUMENTREQUEST.fields_by_name[
    "entity_extraction_params"
].message_type = _ENTITYEXTRACTIONPARAMS
_PROCESSDOCUMENTREQUEST.fields_by_name["ocr_params"].message_type = _OCRPARAMS
_BATCHPROCESSDOCUMENTSRESPONSE.fields_by_name[
    "responses"
].message_type = _PROCESSDOCUMENTRESPONSE
_PROCESSDOCUMENTRESPONSE.fields_by_name["input_config"].message_type = _INPUTCONFIG
_PROCESSDOCUMENTRESPONSE.fields_by_name["output_config"].message_type = _OUTPUTCONFIG
_TABLEEXTRACTIONPARAMS.fields_by_name[
    "table_bound_hints"
].message_type = _TABLEBOUNDHINT
_TABLEBOUNDHINT.fields_by_name[
    "bounding_box"
].message_type = (
    google_dot_cloud_dot_documentai__v1beta1_dot_proto_dot_geometry__pb2._BOUNDINGPOLY
)
_FORMEXTRACTIONPARAMS.fields_by_name[
    "key_value_pair_hints"
].message_type = _KEYVALUEPAIRHINT
_INPUTCONFIG.fields_by_name["gcs_source"].message_type = _GCSSOURCE
_INPUTCONFIG.oneofs_by_name["source"].fields.append(
    _INPUTCONFIG.fields_by_name["gcs_source"]
)
_INPUTCONFIG.fields_by_name[
    "gcs_source"
].containing_oneof = _INPUTCONFIG.oneofs_by_name["source"]
_OUTPUTCONFIG.fields_by_name["gcs_destination"].message_type = _GCSDESTINATION
_OUTPUTCONFIG.oneofs_by_name["destination"].fields.append(
    _OUTPUTCONFIG.fields_by_name["gcs_destination"]
)
_OUTPUTCONFIG.fields_by_name[
    "gcs_destination"
].containing_oneof = _OUTPUTCONFIG.oneofs_by_name["destination"]
_OPERATIONMETADATA.fields_by_name["state"].enum_type = _OPERATIONMETADATA_STATE
_OPERATIONMETADATA.fields_by_name[
    "create_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_OPERATIONMETADATA.fields_by_name[
    "update_time"
].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP
_OPERATIONMETADATA_STATE.containing_type = _OPERATIONMETADATA
DESCRIPTOR.message_types_by_name[
    "BatchProcessDocumentsRequest"
] = _BATCHPROCESSDOCUMENTSREQUEST
DESCRIPTOR.message_types_by_name["ProcessDocumentRequest"] = _PROCESSDOCUMENTREQUEST
DESCRIPTOR.message_types_by_name[
    "BatchProcessDocumentsResponse"
] = _BATCHPROCESSDOCUMENTSRESPONSE
DESCRIPTOR.message_types_by_name["ProcessDocumentResponse"] = _PROCESSDOCUMENTRESPONSE
DESCRIPTOR.message_types_by_name["OcrParams"] = _OCRPARAMS
DESCRIPTOR.message_types_by_name["TableExtractionParams"] = _TABLEEXTRACTIONPARAMS
DESCRIPTOR.message_types_by_name["TableBoundHint"] = _TABLEBOUNDHINT
DESCRIPTOR.message_types_by_name["FormExtractionParams"] = _FORMEXTRACTIONPARAMS
DESCRIPTOR.message_types_by_name["KeyValuePairHint"] = _KEYVALUEPAIRHINT
DESCRIPTOR.message_types_by_name["EntityExtractionParams"] = _ENTITYEXTRACTIONPARAMS
DESCRIPTOR.message_types_by_name["InputConfig"] = _INPUTCONFIG
DESCRIPTOR.message_types_by_name["OutputConfig"] = _OUTPUTCONFIG
DESCRIPTOR.message_types_by_name["GcsSource"] = _GCSSOURCE
DESCRIPTOR.message_types_by_name["GcsDestination"] = _GCSDESTINATION
DESCRIPTOR.message_types_by_name["OperationMetadata"] = _OPERATIONMETADATA
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

BatchProcessDocumentsRequest = _reflection.GeneratedProtocolMessageType(
    "BatchProcessDocumentsRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_BATCHPROCESSDOCUMENTSREQUEST,
        __module__="google.cloud.documentai_v1beta1.proto.document_understanding_pb2",
        __doc__="""Request to batch process documents as an asynchronous operation.
  
  
  Attributes:
      requests:
          Required. Individual requests for each document.
      parent:
          Target project and location to make a call.  Format:
          ``projects/{project-id}/locations/{location-id}``.  If no
          location is specified, a region will be chosen automatically.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.documentai.v1beta1.BatchProcessDocumentsRequest)
    ),
)
_sym_db.RegisterMessage(BatchProcessDocumentsRequest)

ProcessDocumentRequest = _reflection.GeneratedProtocolMessageType(
    "ProcessDocumentRequest",
    (_message.Message,),
    dict(
        DESCRIPTOR=_PROCESSDOCUMENTREQUEST,
        __module__="google.cloud.documentai_v1beta1.proto.document_understanding_pb2",
        __doc__="""Request to process one document.
  
  
  Attributes:
      input_config:
          Required. Information about the input file.
      output_config:
          Required. The desired output location.
      document_type:
          Specifies a known document type for deeper structure
          detection. Valid   values are currently "general" and
          "invoice". If not provided,   "general" is used as default.
          If any other value is given, the request is   rejected.
      table_extraction_params:
          Controls table extraction behavior. If not specified, the
          system will decide reasonable defaults.
      form_extraction_params:
          Controls form extraction behavior. If not specified, the
          system will decide reasonable defaults.
      entity_extraction_params:
          Controls entity extraction behavior. If not specified, the
          system will decide reasonable defaults.
      ocr_params:
          Controls OCR behavior. If not specified, the system will
          decide reasonable defaults.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.documentai.v1beta1.ProcessDocumentRequest)
    ),
)
_sym_db.RegisterMessage(ProcessDocumentRequest)

BatchProcessDocumentsResponse = _reflection.GeneratedProtocolMessageType(
    "BatchProcessDocumentsResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_BATCHPROCESSDOCUMENTSRESPONSE,
        __module__="google.cloud.documentai_v1beta1.proto.document_understanding_pb2",
        __doc__="""Response to an batch document processing request. This is returned in
  the LRO Operation after the operation is complete.
  
  
  Attributes:
      responses:
          Responses for each individual document.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.documentai.v1beta1.BatchProcessDocumentsResponse)
    ),
)
_sym_db.RegisterMessage(BatchProcessDocumentsResponse)

ProcessDocumentResponse = _reflection.GeneratedProtocolMessageType(
    "ProcessDocumentResponse",
    (_message.Message,),
    dict(
        DESCRIPTOR=_PROCESSDOCUMENTRESPONSE,
        __module__="google.cloud.documentai_v1beta1.proto.document_understanding_pb2",
        __doc__="""Response to a single document processing request.
  
  
  Attributes:
      input_config:
          Information about the input file. This is the same as the
          corresponding input config in the request.
      output_config:
          The output location of the parsed responses. The responses are
          written to this location as JSON-serialized ``Document``
          objects.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.documentai.v1beta1.ProcessDocumentResponse)
    ),
)
_sym_db.RegisterMessage(ProcessDocumentResponse)

OcrParams = _reflection.GeneratedProtocolMessageType(
    "OcrParams",
    (_message.Message,),
    dict(
        DESCRIPTOR=_OCRPARAMS,
        __module__="google.cloud.documentai_v1beta1.proto.document_understanding_pb2",
        __doc__="""Parameters to control Optical Character Recognition (OCR) behavior.
  
  
  Attributes:
      language_hints:
          List of languages to use for OCR. In most cases, an empty
          value yields the best results since it enables automatic
          language detection. For languages based on the Latin alphabet,
          setting ``language_hints`` is not needed. In rare cases, when
          the language of the text in the image is known, setting a hint
          will help get better results (although it will be a
          significant hindrance if the hint is wrong). Document
          processing returns an error if one or more of the specified
          languages is not one of the supported languages.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.documentai.v1beta1.OcrParams)
    ),
)
_sym_db.RegisterMessage(OcrParams)

TableExtractionParams = _reflection.GeneratedProtocolMessageType(
    "TableExtractionParams",
    (_message.Message,),
    dict(
        DESCRIPTOR=_TABLEEXTRACTIONPARAMS,
        __module__="google.cloud.documentai_v1beta1.proto.document_understanding_pb2",
        __doc__="""Parameters to control table extraction behavior.
  
  
  Attributes:
      enabled:
          Whether to enable table extraction.
      table_bound_hints:
          Optional. Table bounding box hints that can be provided to
          complex cases which our algorithm cannot locate the table(s)
          in.
      header_hints:
          Optional. Table header hints. The extraction will bias towards
          producing these terms as table headers, which may improve
          accuracy.
      model_version:
          Model version of the table extraction system. Default is
          "builtin/stable". Specify "builtin/latest" for the latest
          model.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.documentai.v1beta1.TableExtractionParams)
    ),
)
_sym_db.RegisterMessage(TableExtractionParams)

TableBoundHint = _reflection.GeneratedProtocolMessageType(
    "TableBoundHint",
    (_message.Message,),
    dict(
        DESCRIPTOR=_TABLEBOUNDHINT,
        __module__="google.cloud.documentai_v1beta1.proto.document_understanding_pb2",
        __doc__="""A hint for a table bounding box on the page for table parsing.
  
  
  Attributes:
      page_number:
          Optional. Page number for multi-paged inputs this hint applies
          to. If not provided, this hint will apply to all pages by
          default. This value is 1-based.
      bounding_box:
          Bounding box hint for a table on this page. The coordinates
          must be normalized to [0,1] and the bounding box must be an
          axis-aligned rectangle.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.documentai.v1beta1.TableBoundHint)
    ),
)
_sym_db.RegisterMessage(TableBoundHint)

FormExtractionParams = _reflection.GeneratedProtocolMessageType(
    "FormExtractionParams",
    (_message.Message,),
    dict(
        DESCRIPTOR=_FORMEXTRACTIONPARAMS,
        __module__="google.cloud.documentai_v1beta1.proto.document_understanding_pb2",
        __doc__="""Parameters to control form extraction behavior.
  
  
  Attributes:
      enabled:
          Whether to enable form extraction.
      key_value_pair_hints:
          User can provide pairs of (key text, value type) to improve
          the parsing result.  For example, if a document has a field
          called "Date" that holds a date value and a field called
          "Amount" that may hold either a currency value (e.g.,
          "$500.00") or a simple number value (e.g., "20"), you could
          use the following hints: [ {"key": "Date", value\_types: [
          "DATE"]}, {"key": "Amount", "value\_types": [ "PRICE",
          "NUMBER" ]} ]  If the value type is unknown, but you want to
          provide hints for the keys, you can leave the value\_types
          field blank. e.g. {"key": "Date", "value\_types": []}
      model_version:
          Model version of the form extraction system. Default is
          "builtin/stable". Specify "builtin/latest" for the latest
          model.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.documentai.v1beta1.FormExtractionParams)
    ),
)
_sym_db.RegisterMessage(FormExtractionParams)

KeyValuePairHint = _reflection.GeneratedProtocolMessageType(
    "KeyValuePairHint",
    (_message.Message,),
    dict(
        DESCRIPTOR=_KEYVALUEPAIRHINT,
        __module__="google.cloud.documentai_v1beta1.proto.document_understanding_pb2",
        __doc__="""User-provided hint for key value pair.
  
  
  Attributes:
      key:
          The key text for the hint.
      value_types:
          Type of the value. This is case-insensitive, and could be one
          of: ADDRESS, LOCATION, ORGANIZATION, PERSON, PHONE\_NUMBER,
          ID, NUMBER, EMAIL, PRICE, TERMS, DATE, NAME. Types not in this
          list will be ignored.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.documentai.v1beta1.KeyValuePairHint)
    ),
)
_sym_db.RegisterMessage(KeyValuePairHint)

EntityExtractionParams = _reflection.GeneratedProtocolMessageType(
    "EntityExtractionParams",
    (_message.Message,),
    dict(
        DESCRIPTOR=_ENTITYEXTRACTIONPARAMS,
        __module__="google.cloud.documentai_v1beta1.proto.document_understanding_pb2",
        __doc__="""Parameters to control entity extraction behavior.
  
  
  Attributes:
      enabled:
          Whether to enable entity extraction.
      model_version:
          Model version of the entity extraction. Default is
          "builtin/stable". Specify "builtin/latest" for the latest
          model.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.documentai.v1beta1.EntityExtractionParams)
    ),
)
_sym_db.RegisterMessage(EntityExtractionParams)

InputConfig = _reflection.GeneratedProtocolMessageType(
    "InputConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_INPUTCONFIG,
        __module__="google.cloud.documentai_v1beta1.proto.document_understanding_pb2",
        __doc__="""The desired input location and metadata.
  
  
  Attributes:
      source:
          Required.
      gcs_source:
          The Google Cloud Storage location to read the input from. This
          must be a single file.
      mime_type:
          Required. Mimetype of the input. Current supported mimetypes
          are application/pdf, image/tiff, and image/gif.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.documentai.v1beta1.InputConfig)
    ),
)
_sym_db.RegisterMessage(InputConfig)

OutputConfig = _reflection.GeneratedProtocolMessageType(
    "OutputConfig",
    (_message.Message,),
    dict(
        DESCRIPTOR=_OUTPUTCONFIG,
        __module__="google.cloud.documentai_v1beta1.proto.document_understanding_pb2",
        __doc__="""The desired output location and metadata.
  
  
  Attributes:
      destination:
          Required.
      gcs_destination:
          The Google Cloud Storage location to write the output to.
      pages_per_shard:
          The max number of pages to include into each output Document
          shard JSON on Google Cloud Storage.  The valid range is [1,
          100]. If not specified, the default value is 20.  For example,
          for one pdf file with 100 pages, 100 parsed pages will be
          produced. If ``pages_per_shard`` = 20, then 5 Document shard
          JSON files each containing 20 parsed pages will be written
          under the prefix [OutputConfig.gcs\_destination.uri][] and
          suffix pages-x-to-y.json where x and y are 1-indexed page
          numbers.  Example GCS outputs with 157 pages and
          pages\_per\_shard = 50:  pages-001-to-050.json
          pages-051-to-100.json pages-101-to-150.json
          pages-151-to-157.json
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.documentai.v1beta1.OutputConfig)
    ),
)
_sym_db.RegisterMessage(OutputConfig)

GcsSource = _reflection.GeneratedProtocolMessageType(
    "GcsSource",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GCSSOURCE,
        __module__="google.cloud.documentai_v1beta1.proto.document_understanding_pb2",
        __doc__="""The Google Cloud Storage location where the input file will be read
  from.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.documentai.v1beta1.GcsSource)
    ),
)
_sym_db.RegisterMessage(GcsSource)

GcsDestination = _reflection.GeneratedProtocolMessageType(
    "GcsDestination",
    (_message.Message,),
    dict(
        DESCRIPTOR=_GCSDESTINATION,
        __module__="google.cloud.documentai_v1beta1.proto.document_understanding_pb2",
        __doc__="""The Google Cloud Storage location where the output file will be written
  to.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.documentai.v1beta1.GcsDestination)
    ),
)
_sym_db.RegisterMessage(GcsDestination)

OperationMetadata = _reflection.GeneratedProtocolMessageType(
    "OperationMetadata",
    (_message.Message,),
    dict(
        DESCRIPTOR=_OPERATIONMETADATA,
        __module__="google.cloud.documentai_v1beta1.proto.document_understanding_pb2",
        __doc__="""Contains metadata for the BatchProcessDocuments operation.
  
  
  Attributes:
      state:
          The state of the current batch processing.
      state_message:
          A message providing more details about the current state of
          processing.
      create_time:
          The creation time of the operation.
      update_time:
          The last update time of the operation.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.documentai.v1beta1.OperationMetadata)
    ),
)
_sym_db.RegisterMessage(OperationMetadata)


DESCRIPTOR._options = None
_BATCHPROCESSDOCUMENTSREQUEST.fields_by_name["requests"]._options = None
_PROCESSDOCUMENTREQUEST.fields_by_name["input_config"]._options = None
_PROCESSDOCUMENTREQUEST.fields_by_name["output_config"]._options = None
_TABLEEXTRACTIONPARAMS.fields_by_name["table_bound_hints"]._options = None
_TABLEEXTRACTIONPARAMS.fields_by_name["header_hints"]._options = None
_TABLEBOUNDHINT.fields_by_name["page_number"]._options = None
_INPUTCONFIG.fields_by_name["mime_type"]._options = None
_GCSSOURCE.fields_by_name["uri"]._options = None
_GCSDESTINATION.fields_by_name["uri"]._options = None

_DOCUMENTUNDERSTANDINGSERVICE = _descriptor.ServiceDescriptor(
    name="DocumentUnderstandingService",
    full_name="google.cloud.documentai.v1beta1.DocumentUnderstandingService",
    file=DESCRIPTOR,
    index=0,
    serialized_options=_b(
        "\312A\031documentai.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform"
    ),
    serialized_start=2484,
    serialized_end=2912,
    methods=[
        _descriptor.MethodDescriptor(
            name="BatchProcessDocuments",
            full_name="google.cloud.documentai.v1beta1.DocumentUnderstandingService.BatchProcessDocuments",
            index=0,
            containing_service=None,
            input_type=_BATCHPROCESSDOCUMENTSREQUEST,
            output_type=google_dot_longrunning_dot_operations__pb2._OPERATION,
            serialized_options=_b(
                '\202\323\344\223\002~"?/v1beta1/{parent=projects/*/locations/*}/documents:batchProcess:\001*Z8"3/v1beta1/{parent=projects/*}/documents:batchProcess:\001*\332A\010requests\312A2\n\035BatchProcessDocumentsResponse\022\021OperationMetadata'
            ),
        )
    ],
)
_sym_db.RegisterServiceDescriptor(_DOCUMENTUNDERSTANDINGSERVICE)

DESCRIPTOR.services_by_name[
    "DocumentUnderstandingService"
] = _DOCUMENTUNDERSTANDINGSERVICE

# @@protoc_insertion_point(module_scope)
