google-cloud-document_ai-v1beta3 0.30.1 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5efa233337ab86564a4444403104776c49fb284b747032bdd0c265fbbad750aa
4
- data.tar.gz: 397800f89bf66549138a8b1507e177bfd3f2119a7c8d740584942e8343ae0ae3
3
+ metadata.gz: 5945a20f16c32b1f0ec5597473ec40a01c7e5500677a4931688eb2965c7851a2
4
+ data.tar.gz: 02def60483a3a214ed18aa067334d3d86ee5c8e569cb2475012ed5c81d22f66f
5
5
  SHA512:
6
- metadata.gz: c19c52d0603fe711284937d2f6e5c7f9bf8f4b6555b0b5d9d1bf8a0b95e213cb8b97f182f7237f810f4b975cbd6c6c2a79d2ceeca0f912f9a7d7065e0fe87182
7
- data.tar.gz: 15541d521b4847cbdfeef9fdfc0c34080169f3f373a59607c2b3663b6c7099b265512837620926cd630aac096ecbee05fbde1f63ee532153ea1b8128a99ca3f4
6
+ metadata.gz: e384227ab8f0d44f8473b9f151e849d5b806b6ef620871c2a5b8e5ea315c8b913c7bf18b7574d5c4dc1d54352a5e63e1199ca1cc15c56c89819f4eeeb7be05e9
7
+ data.tar.gz: 53ba0718bc2f0325abb9982be1062f99cc9a90193e3460e8717fd1c7e1a0f3bdcca93eda24e852cb0612e702826240056803b391d1edf43551974fe0afa40b26
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DocumentAI
23
23
  module V1beta3
24
- VERSION = "0.30.1"
24
+ VERSION = "0.31.0"
25
25
  end
26
26
  end
27
27
  end
@@ -11,7 +11,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
12
12
  begin
13
13
  pool.add_serialized_file(descriptor_data)
14
- rescue TypeError => e
14
+ rescue TypeError
15
15
  # Compatibility code: will be removed in the next major version.
16
16
  require 'google/protobuf/descriptor_pb'
17
17
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -11,13 +11,13 @@ require 'google/cloud/documentai/v1beta3/document_io_pb'
11
11
  require 'google/cloud/documentai/v1beta3/document_schema_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n-google/cloud/documentai/v1beta3/dataset.proto\x12\x1fgoogle.cloud.documentai.v1beta3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/documentai/v1beta3/document.proto\x1a\x31google/cloud/documentai/v1beta3/document_io.proto\x1a\x35google/cloud/documentai/v1beta3/document_schema.proto\"\xe2\x07\n\x07\x44\x61taset\x12\\\n\x12gcs_managed_config\x18\x03 \x01(\x0b\x32\x39.google.cloud.documentai.v1beta3.Dataset.GCSManagedConfigB\x03\xe0\x41\x01H\x00\x12j\n\x19\x64ocument_warehouse_config\x18\x05 \x01(\x0b\x32@.google.cloud.documentai.v1beta3.Dataset.DocumentWarehouseConfigB\x03\xe0\x41\x01H\x00\x12h\n\x18unmanaged_dataset_config\x18\x06 \x01(\x0b\x32?.google.cloud.documentai.v1beta3.Dataset.UnmanagedDatasetConfigB\x03\xe0\x41\x01H\x00\x12\x66\n\x17spanner_indexing_config\x18\x04 \x01(\x0b\x32>.google.cloud.documentai.v1beta3.Dataset.SpannerIndexingConfigB\x03\xe0\x41\x01H\x01\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x42\n\x05state\x18\x02 \x01(\x0e\x32..google.cloud.documentai.v1beta3.Dataset.StateB\x03\xe0\x41\x02\x1aW\n\x10GCSManagedConfig\x12\x43\n\ngcs_prefix\x18\x01 \x01(\x0b\x32*.google.cloud.documentai.v1beta3.GcsPrefixB\x03\xe0\x41\x02\x1ar\n\x17\x44ocumentWarehouseConfig\x12\x17\n\ncollection\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12>\n\x06schema\x18\x02 \x01(\tB.\xe0\x41\x03\xfa\x41(\n&contentwarehouse.googleapis.com/Schema\x1a\x18\n\x16UnmanagedDatasetConfig\x1a\x17\n\x15SpannerIndexingConfig\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rUNINITIALIZED\x10\x01\x12\x10\n\x0cINITIALIZING\x10\x02\x12\x0f\n\x0bINITIALIZED\x10\x03:n\xea\x41k\n!documentai.googleapis.com/Dataset\x12\x46projects/{project}/locations/{location}/processors/{processor}/datasetB\x10\n\x0estorage_sourceB\x11\n\x0findexing_source\"\x86\x03\n\nDocumentId\x12^\n\x12gcs_managed_doc_id\x18\x01 \x01(\x0b\x32@.google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentIdH\x00\x12[\n\x10unmanaged_doc_id\x18\x04 \x01(\x0b\x32?.google.cloud.documentai.v1beta3.DocumentId.UnmanagedDocumentIdH\x00\x12\x42\n\x0crevision_ref\x18\x03 \x01(\x0b\x32,.google.cloud.documentai.v1beta3.RevisionRef\x1a\x43\n\x14GCSManagedDocumentId\x12\x14\n\x07gcs_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\tcw_doc_id\x18\x02 \x01(\tB\x02\x18\x01\x1a*\n\x13UnmanagedDocumentId\x12\x13\n\x06\x64oc_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\x06\n\x04type\"\xf1\x01\n\rDatasetSchema\x12\x0c\n\x04name\x18\x01 \x01(\t\x12M\n\x0f\x64ocument_schema\x18\x03 \x01(\x0b\x32/.google.cloud.documentai.v1beta3.DocumentSchemaB\x03\xe0\x41\x01:\x82\x01\xea\x41\x7f\n\'documentai.googleapis.com/DatasetSchema\x12Tprojects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema\"\x87\x02\n\x15\x42\x61tchDatasetDocuments\x12o\n\x17individual_document_ids\x18\x01 \x01(\x0b\x32L.google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIdsH\x00\x12\x10\n\x06\x66ilter\x18\x02 \x01(\tH\x00\x1a_\n\x15IndividualDocumentIds\x12\x46\n\x0c\x64ocument_ids\x18\x01 \x03(\x0b\x32+.google.cloud.documentai.v1beta3.DocumentIdB\x03\xe0\x41\x02\x42\n\n\x08\x63riteriaB\xc8\x02\n#com.google.cloud.documentai.v1beta3B\x0c\x44\x61tasetProtoP\x01ZCcloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb\xaa\x02\x1fGoogle.Cloud.DocumentAI.V1Beta3\xca\x02\x1fGoogle\\Cloud\\DocumentAI\\V1beta3\xea\x02\"Google::Cloud::DocumentAI::V1beta3\xea\x41\x62\n&contentwarehouse.googleapis.com/Schema\x12\x38projects/{project}/locations/{location}/schemas/{schema}b\x06proto3"
14
+ descriptor_data = "\n-google/cloud/documentai/v1beta3/dataset.proto\x12\x1fgoogle.cloud.documentai.v1beta3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/documentai/v1beta3/document.proto\x1a\x31google/cloud/documentai/v1beta3/document_io.proto\x1a\x35google/cloud/documentai/v1beta3/document_schema.proto\"\xea\x07\n\x07\x44\x61taset\x12]\n\x12gcs_managed_config\x18\x03 \x01(\x0b\x32\x39.google.cloud.documentai.v1beta3.Dataset.GCSManagedConfigB\x04\xe2\x41\x01\x01H\x00\x12k\n\x19\x64ocument_warehouse_config\x18\x05 \x01(\x0b\x32@.google.cloud.documentai.v1beta3.Dataset.DocumentWarehouseConfigB\x04\xe2\x41\x01\x01H\x00\x12i\n\x18unmanaged_dataset_config\x18\x06 \x01(\x0b\x32?.google.cloud.documentai.v1beta3.Dataset.UnmanagedDatasetConfigB\x04\xe2\x41\x01\x01H\x00\x12g\n\x17spanner_indexing_config\x18\x04 \x01(\x0b\x32>.google.cloud.documentai.v1beta3.Dataset.SpannerIndexingConfigB\x04\xe2\x41\x01\x01H\x01\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x43\n\x05state\x18\x02 \x01(\x0e\x32..google.cloud.documentai.v1beta3.Dataset.StateB\x04\xe2\x41\x01\x02\x1aX\n\x10GCSManagedConfig\x12\x44\n\ngcs_prefix\x18\x01 \x01(\x0b\x32*.google.cloud.documentai.v1beta3.GcsPrefixB\x04\xe2\x41\x01\x02\x1at\n\x17\x44ocumentWarehouseConfig\x12\x18\n\ncollection\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12?\n\x06schema\x18\x02 \x01(\tB/\xe2\x41\x01\x03\xfa\x41(\n&contentwarehouse.googleapis.com/Schema\x1a\x18\n\x16UnmanagedDatasetConfig\x1a\x17\n\x15SpannerIndexingConfig\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rUNINITIALIZED\x10\x01\x12\x10\n\x0cINITIALIZING\x10\x02\x12\x0f\n\x0bINITIALIZED\x10\x03:n\xea\x41k\n!documentai.googleapis.com/Dataset\x12\x46projects/{project}/locations/{location}/processors/{processor}/datasetB\x10\n\x0estorage_sourceB\x11\n\x0findexing_source\"\x88\x03\n\nDocumentId\x12^\n\x12gcs_managed_doc_id\x18\x01 \x01(\x0b\x32@.google.cloud.documentai.v1beta3.DocumentId.GCSManagedDocumentIdH\x00\x12[\n\x10unmanaged_doc_id\x18\x04 \x01(\x0b\x32?.google.cloud.documentai.v1beta3.DocumentId.UnmanagedDocumentIdH\x00\x12\x42\n\x0crevision_ref\x18\x03 \x01(\x0b\x32,.google.cloud.documentai.v1beta3.RevisionRef\x1a\x44\n\x14GCSManagedDocumentId\x12\x15\n\x07gcs_uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x15\n\tcw_doc_id\x18\x02 \x01(\tB\x02\x18\x01\x1a+\n\x13UnmanagedDocumentId\x12\x14\n\x06\x64oc_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x42\x06\n\x04type\"\xf2\x01\n\rDatasetSchema\x12\x0c\n\x04name\x18\x01 \x01(\t\x12N\n\x0f\x64ocument_schema\x18\x03 \x01(\x0b\x32/.google.cloud.documentai.v1beta3.DocumentSchemaB\x04\xe2\x41\x01\x01:\x82\x01\xea\x41\x7f\n\'documentai.googleapis.com/DatasetSchema\x12Tprojects/{project}/locations/{location}/processors/{processor}/dataset/datasetSchema\"\x88\x02\n\x15\x42\x61tchDatasetDocuments\x12o\n\x17individual_document_ids\x18\x01 \x01(\x0b\x32L.google.cloud.documentai.v1beta3.BatchDatasetDocuments.IndividualDocumentIdsH\x00\x12\x10\n\x06\x66ilter\x18\x02 \x01(\tH\x00\x1a`\n\x15IndividualDocumentIds\x12G\n\x0c\x64ocument_ids\x18\x01 \x03(\x0b\x32+.google.cloud.documentai.v1beta3.DocumentIdB\x04\xe2\x41\x01\x02\x42\n\n\x08\x63riteriaB\xc8\x02\n#com.google.cloud.documentai.v1beta3B\x0c\x44\x61tasetProtoP\x01ZCcloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb\xaa\x02\x1fGoogle.Cloud.DocumentAI.V1Beta3\xca\x02\x1fGoogle\\Cloud\\DocumentAI\\V1beta3\xea\x02\"Google::Cloud::DocumentAI::V1beta3\xea\x41\x62\n&contentwarehouse.googleapis.com/Schema\x12\x38projects/{project}/locations/{location}/schemas/{schema}b\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
18
18
  begin
19
19
  pool.add_serialized_file(descriptor_data)
20
- rescue TypeError => e
20
+ rescue TypeError
21
21
  # Compatibility code: will be removed in the next major version.
22
22
  require 'google/protobuf/descriptor_pb'
23
23
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -13,7 +13,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
 
14
14
  begin
15
15
  pool.add_serialized_file(descriptor_data)
16
- rescue TypeError => e
16
+ rescue TypeError
17
17
  # Compatibility code: will be removed in the next major version.
18
18
  require 'google/protobuf/descriptor_pb'
19
19
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -16,13 +16,13 @@ require 'google/type/money_pb'
16
16
  require 'google/type/postal_address_pb'
17
17
 
18
18
 
19
- descriptor_data = "\n.google/cloud/documentai/v1beta3/document.proto\x12\x1fgoogle.cloud.documentai.v1beta3\x1a\x1fgoogle/api/field_behavior.proto\x1a-google/cloud/documentai/v1beta3/barcode.proto\x1a.google/cloud/documentai/v1beta3/geometry.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x17google/type/color.proto\x1a\x16google/type/date.proto\x1a\x1agoogle/type/datetime.proto\x1a\x17google/type/money.proto\x1a google/type/postal_address.proto\"\x88H\n\x08\x44ocument\x12\x12\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x16\n\x07\x63ontent\x18\x02 \x01(\x0c\x42\x03\xe0\x41\x01H\x00\x12\x11\n\tmime_type\x18\x03 \x01(\t\x12\x11\n\x04text\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12H\n\x0btext_styles\x18\x05 \x03(\x0b\x32/.google.cloud.documentai.v1beta3.Document.StyleB\x02\x18\x01\x12=\n\x05pages\x18\x06 \x03(\x0b\x32..google.cloud.documentai.v1beta3.Document.Page\x12\x42\n\x08\x65ntities\x18\x07 \x03(\x0b\x32\x30.google.cloud.documentai.v1beta3.Document.Entity\x12R\n\x10\x65ntity_relations\x18\x08 \x03(\x0b\x32\x38.google.cloud.documentai.v1beta3.Document.EntityRelation\x12J\n\x0ctext_changes\x18\x0e \x03(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.TextChange\x12G\n\nshard_info\x18\t \x01(\x0b\x32\x33.google.cloud.documentai.v1beta3.Document.ShardInfo\x12!\n\x05\x65rror\x18\n \x01(\x0b\x32\x12.google.rpc.Status\x12\x45\n\trevisions\x18\r \x03(\x0b\x32\x32.google.cloud.documentai.v1beta3.Document.Revision\x1aJ\n\tShardInfo\x12\x13\n\x0bshard_index\x18\x01 \x01(\x03\x12\x13\n\x0bshard_count\x18\x02 \x01(\x03\x12\x13\n\x0btext_offset\x18\x03 \x01(\x03\x1a\xef\x02\n\x05Style\x12I\n\x0btext_anchor\x18\x01 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.TextAnchor\x12!\n\x05\x63olor\x18\x02 \x01(\x0b\x32\x12.google.type.Color\x12,\n\x10\x62\x61\x63kground_color\x18\x03 \x01(\x0b\x32\x12.google.type.Color\x12\x13\n\x0b\x66ont_weight\x18\x04 \x01(\t\x12\x12\n\ntext_style\x18\x05 \x01(\t\x12\x17\n\x0ftext_decoration\x18\x06 \x01(\t\x12K\n\tfont_size\x18\x07 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.Document.Style.FontSize\x12\x13\n\x0b\x66ont_family\x18\x08 \x01(\t\x1a&\n\x08\x46ontSize\x12\x0c\n\x04size\x18\x01 \x01(\x02\x12\x0c\n\x04unit\x18\x02 \x01(\t\x1a\xd0+\n\x04Page\x12\x13\n\x0bpage_number\x18\x01 \x01(\x05\x12\x43\n\x05image\x18\r \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.Page.Image\x12I\n\ntransforms\x18\x0e \x03(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Matrix\x12K\n\tdimension\x18\x02 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.Document.Page.Dimension\x12\x45\n\x06layout\x18\x03 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12[\n\x12\x64\x65tected_languages\x18\x04 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x12\x44\n\x06\x62locks\x18\x05 \x03(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.Page.Block\x12L\n\nparagraphs\x18\x06 \x03(\x0b\x32\x38.google.cloud.documentai.v1beta3.Document.Page.Paragraph\x12\x42\n\x05lines\x18\x07 \x03(\x0b\x32\x33.google.cloud.documentai.v1beta3.Document.Page.Line\x12\x44\n\x06tokens\x18\x08 \x03(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.Page.Token\x12U\n\x0fvisual_elements\x18\t \x03(\x0b\x32<.google.cloud.documentai.v1beta3.Document.Page.VisualElement\x12\x44\n\x06tables\x18\n \x03(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.Page.Table\x12M\n\x0b\x66orm_fields\x18\x0b \x03(\x0b\x32\x38.google.cloud.documentai.v1beta3.Document.Page.FormField\x12\x46\n\x07symbols\x18\x0c \x03(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Symbol\x12Y\n\x11\x64\x65tected_barcodes\x18\x0f \x03(\x0b\x32>.google.cloud.documentai.v1beta3.Document.Page.DetectedBarcode\x12_\n\x14image_quality_scores\x18\x11 \x01(\x0b\x32\x41.google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores\x12L\n\nprovenance\x18\x10 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.ProvenanceB\x02\x18\x01\x1a\x38\n\tDimension\x12\r\n\x05width\x18\x01 \x01(\x02\x12\x0e\n\x06height\x18\x02 \x01(\x02\x12\x0c\n\x04unit\x18\x03 \x01(\t\x1aJ\n\x05Image\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\x0c\x12\x11\n\tmime_type\x18\x02 \x01(\t\x12\r\n\x05width\x18\x03 \x01(\x05\x12\x0e\n\x06height\x18\x04 \x01(\x05\x1a@\n\x06Matrix\x12\x0c\n\x04rows\x18\x01 \x01(\x05\x12\x0c\n\x04\x63ols\x18\x02 \x01(\x05\x12\x0c\n\x04type\x18\x03 \x01(\x05\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x1a\xec\x02\n\x06Layout\x12I\n\x0btext_anchor\x18\x01 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.TextAnchor\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x12\x44\n\rbounding_poly\x18\x03 \x01(\x0b\x32-.google.cloud.documentai.v1beta3.BoundingPoly\x12V\n\x0borientation\x18\x04 \x01(\x0e\x32\x41.google.cloud.documentai.v1beta3.Document.Page.Layout.Orientation\"e\n\x0bOrientation\x12\x1b\n\x17ORIENTATION_UNSPECIFIED\x10\x00\x12\x0b\n\x07PAGE_UP\x10\x01\x12\x0e\n\nPAGE_RIGHT\x10\x02\x12\r\n\tPAGE_DOWN\x10\x03\x12\r\n\tPAGE_LEFT\x10\x04\x1a\xf9\x01\n\x05\x42lock\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12[\n\x12\x64\x65tected_languages\x18\x02 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x12L\n\nprovenance\x18\x03 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.ProvenanceB\x02\x18\x01\x1a\xfd\x01\n\tParagraph\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12[\n\x12\x64\x65tected_languages\x18\x02 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x12L\n\nprovenance\x18\x03 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.ProvenanceB\x02\x18\x01\x1a\xf8\x01\n\x04Line\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12[\n\x12\x64\x65tected_languages\x18\x02 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x12L\n\nprovenance\x18\x03 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.ProvenanceB\x02\x18\x01\x1a\xbc\x07\n\x05Token\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12Z\n\x0e\x64\x65tected_break\x18\x02 \x01(\x0b\x32\x42.google.cloud.documentai.v1beta3.Document.Page.Token.DetectedBreak\x12[\n\x12\x64\x65tected_languages\x18\x03 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x12L\n\nprovenance\x18\x04 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.ProvenanceB\x02\x18\x01\x12R\n\nstyle_info\x18\x05 \x01(\x0b\x32>.google.cloud.documentai.v1beta3.Document.Page.Token.StyleInfo\x1a\xab\x01\n\rDetectedBreak\x12U\n\x04type\x18\x01 \x01(\x0e\x32G.google.cloud.documentai.v1beta3.Document.Page.Token.DetectedBreak.Type\"C\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05SPACE\x10\x01\x12\x0e\n\nWIDE_SPACE\x10\x02\x12\n\n\x06HYPHEN\x10\x03\x1a\xe2\x02\n\tStyleInfo\x12\x11\n\tfont_size\x18\x01 \x01(\x05\x12\x17\n\x0fpixel_font_size\x18\x02 \x01(\x01\x12\x16\n\x0eletter_spacing\x18\x03 \x01(\x01\x12\x11\n\tfont_type\x18\x04 \x01(\t\x12\x0c\n\x04\x62old\x18\x05 \x01(\x08\x12\x0e\n\x06italic\x18\x06 \x01(\x08\x12\x12\n\nunderlined\x18\x07 \x01(\x08\x12\x11\n\tstrikeout\x18\x08 \x01(\x08\x12\x11\n\tsubscript\x18\t \x01(\x08\x12\x13\n\x0bsuperscript\x18\n \x01(\x08\x12\x11\n\tsmallcaps\x18\x0b \x01(\x08\x12\x13\n\x0b\x66ont_weight\x18\x0c \x01(\x05\x12\x13\n\x0bhandwritten\x18\r \x01(\x08\x12&\n\ntext_color\x18\x0e \x01(\x0b\x32\x12.google.type.Color\x12,\n\x10\x62\x61\x63kground_color\x18\x0f \x01(\x0b\x32\x12.google.type.Color\x1a\xac\x01\n\x06Symbol\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12[\n\x12\x64\x65tected_languages\x18\x02 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x1a\xc1\x01\n\rVisualElement\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12\x0c\n\x04type\x18\x02 \x01(\t\x12[\n\x12\x64\x65tected_languages\x18\x03 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x1a\xd0\x05\n\x05Table\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12R\n\x0bheader_rows\x18\x02 \x03(\x0b\x32=.google.cloud.documentai.v1beta3.Document.Page.Table.TableRow\x12P\n\tbody_rows\x18\x03 \x03(\x0b\x32=.google.cloud.documentai.v1beta3.Document.Page.Table.TableRow\x12[\n\x12\x64\x65tected_languages\x18\x04 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x12L\n\nprovenance\x18\x05 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.ProvenanceB\x02\x18\x01\x1aY\n\x08TableRow\x12M\n\x05\x63\x65lls\x18\x01 \x03(\x0b\x32>.google.cloud.documentai.v1beta3.Document.Page.Table.TableCell\x1a\xd3\x01\n\tTableCell\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12\x10\n\x08row_span\x18\x02 \x01(\x05\x12\x10\n\x08\x63ol_span\x18\x03 \x01(\x05\x12[\n\x12\x64\x65tected_languages\x18\x04 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x1a\xff\x03\n\tFormField\x12I\n\nfield_name\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12J\n\x0b\x66ield_value\x18\x02 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12`\n\x17name_detected_languages\x18\x03 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x12\x61\n\x18value_detected_languages\x18\x04 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x12\x12\n\nvalue_type\x18\x05 \x01(\t\x12\x1a\n\x12\x63orrected_key_text\x18\x06 \x01(\t\x12\x1c\n\x14\x63orrected_value_text\x18\x07 \x01(\t\x12H\n\nprovenance\x18\x08 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.Provenance\x1a\x93\x01\n\x0f\x44\x65tectedBarcode\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12\x39\n\x07\x62\x61rcode\x18\x02 \x01(\x0b\x32(.google.cloud.documentai.v1beta3.Barcode\x1a=\n\x10\x44\x65tectedLanguage\x12\x15\n\rlanguage_code\x18\x01 \x01(\t\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x1a\xcb\x01\n\x12ImageQualityScores\x12\x15\n\rquality_score\x18\x01 \x01(\x02\x12j\n\x10\x64\x65tected_defects\x18\x02 \x03(\x0b\x32P.google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect\x1a\x32\n\x0e\x44\x65tectedDefect\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x1a\xe9\x06\n\x06\x45ntity\x12N\n\x0btext_anchor\x18\x01 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.TextAnchorB\x03\xe0\x41\x01\x12\x11\n\x04type\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cmention_text\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nmention_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x17\n\nconfidence\x18\x05 \x01(\x02\x42\x03\xe0\x41\x01\x12N\n\x0bpage_anchor\x18\x06 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.PageAnchorB\x03\xe0\x41\x01\x12\x0f\n\x02id\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12_\n\x10normalized_value\x18\t \x01(\x0b\x32@.google.cloud.documentai.v1beta3.Document.Entity.NormalizedValueB\x03\xe0\x41\x01\x12I\n\nproperties\x18\n \x03(\x0b\x32\x30.google.cloud.documentai.v1beta3.Document.EntityB\x03\xe0\x41\x01\x12M\n\nprovenance\x18\x0b \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.ProvenanceB\x03\xe0\x41\x01\x12\x15\n\x08redacted\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01\x1a\xbb\x02\n\x0fNormalizedValue\x12)\n\x0bmoney_value\x18\x02 \x01(\x0b\x32\x12.google.type.MoneyH\x00\x12\'\n\ndate_value\x18\x03 \x01(\x0b\x32\x11.google.type.DateH\x00\x12/\n\x0e\x64\x61tetime_value\x18\x04 \x01(\x0b\x32\x15.google.type.DateTimeH\x00\x12\x33\n\raddress_value\x18\x05 \x01(\x0b\x32\x1a.google.type.PostalAddressH\x00\x12\x17\n\rboolean_value\x18\x06 \x01(\x08H\x00\x12\x17\n\rinteger_value\x18\x07 \x01(\x05H\x00\x12\x15\n\x0b\x66loat_value\x18\x08 \x01(\x02H\x00\x12\x11\n\x04text\x18\x01 \x01(\tB\x03\xe0\x41\x01\x42\x12\n\x10structured_value\x1aI\n\x0e\x45ntityRelation\x12\x12\n\nsubject_id\x18\x01 \x01(\t\x12\x11\n\tobject_id\x18\x02 \x01(\t\x12\x10\n\x08relation\x18\x03 \x01(\t\x1a\xad\x01\n\nTextAnchor\x12W\n\rtext_segments\x18\x01 \x03(\x0b\x32@.google.cloud.documentai.v1beta3.Document.TextAnchor.TextSegment\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x1a\x35\n\x0bTextSegment\x12\x13\n\x0bstart_index\x18\x01 \x01(\x03\x12\x11\n\tend_index\x18\x02 \x01(\x03\x1a\xe7\x03\n\nPageAnchor\x12O\n\tpage_refs\x18\x01 \x03(\x0b\x32<.google.cloud.documentai.v1beta3.Document.PageAnchor.PageRef\x1a\x87\x03\n\x07PageRef\x12\x11\n\x04page\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x61\n\x0blayout_type\x18\x02 \x01(\x0e\x32G.google.cloud.documentai.v1beta3.Document.PageAnchor.PageRef.LayoutTypeB\x03\xe0\x41\x01\x12\x18\n\tlayout_id\x18\x03 \x01(\tB\x05\x18\x01\xe0\x41\x01\x12I\n\rbounding_poly\x18\x04 \x01(\x0b\x32-.google.cloud.documentai.v1beta3.BoundingPolyB\x03\xe0\x41\x01\x12\x17\n\nconfidence\x18\x05 \x01(\x02\x42\x03\xe0\x41\x01\"\x87\x01\n\nLayoutType\x12\x1b\n\x17LAYOUT_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x42LOCK\x10\x01\x12\r\n\tPARAGRAPH\x10\x02\x12\x08\n\x04LINE\x10\x03\x12\t\n\x05TOKEN\x10\x04\x12\x12\n\x0eVISUAL_ELEMENT\x10\x05\x12\t\n\x05TABLE\x10\x06\x12\x0e\n\nFORM_FIELD\x10\x07\x1a\xb2\x03\n\nProvenance\x12\x14\n\x08revision\x18\x01 \x01(\x05\x42\x02\x18\x01\x12\x0e\n\x02id\x18\x02 \x01(\x05\x42\x02\x18\x01\x12L\n\x07parents\x18\x03 \x03(\x0b\x32;.google.cloud.documentai.v1beta3.Document.Provenance.Parent\x12P\n\x04type\x18\x04 \x01(\x0e\x32\x42.google.cloud.documentai.v1beta3.Document.Provenance.OperationType\x1a\x39\n\x06Parent\x12\x10\n\x08revision\x18\x01 \x01(\x05\x12\r\n\x05index\x18\x03 \x01(\x05\x12\x0e\n\x02id\x18\x02 \x01(\x05\x42\x02\x18\x01\"\xa2\x01\n\rOperationType\x12\x1e\n\x1aOPERATION_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06REMOVE\x10\x02\x12\n\n\x06UPDATE\x10\x07\x12\x0b\n\x07REPLACE\x10\x03\x12\x16\n\x0e\x45VAL_REQUESTED\x10\x04\x1a\x02\x08\x01\x12\x15\n\rEVAL_APPROVED\x10\x05\x1a\x02\x08\x01\x12\x14\n\x0c\x45VAL_SKIPPED\x10\x06\x1a\x02\x08\x01\x1a\xaa\x02\n\x08Revision\x12\x0f\n\x05\x61gent\x18\x04 \x01(\tH\x00\x12\x13\n\tprocessor\x18\x05 \x01(\tH\x00\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\x06parent\x18\x02 \x03(\x05\x42\x02\x18\x01\x12\x12\n\nparent_ids\x18\x07 \x03(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12T\n\x0chuman_review\x18\x06 \x01(\x0b\x32>.google.cloud.documentai.v1beta3.Document.Revision.HumanReview\x1a\x33\n\x0bHumanReview\x12\r\n\x05state\x18\x01 \x01(\t\x12\x15\n\rstate_message\x18\x02 \x01(\tB\x08\n\x06source\x1a\xbb\x01\n\nTextChange\x12I\n\x0btext_anchor\x18\x01 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.TextAnchor\x12\x14\n\x0c\x63hanged_text\x18\x02 \x01(\t\x12L\n\nprovenance\x18\x03 \x03(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.ProvenanceB\x02\x18\x01\x42\x08\n\x06source\"\x9b\x02\n\x0bRevisionRef\x12R\n\rrevision_case\x18\x01 \x01(\x0e\x32\x39.google.cloud.documentai.v1beta3.RevisionRef.RevisionCaseH\x00\x12\x15\n\x0brevision_id\x18\x02 \x01(\tH\x00\x12\"\n\x18latest_processor_version\x18\x03 \x01(\tH\x00\"s\n\x0cRevisionCase\x12\x1d\n\x19REVISION_CASE_UNSPECIFIED\x10\x00\x12\x17\n\x13LATEST_HUMAN_REVIEW\x10\x01\x12\x14\n\x10LATEST_TIMESTAMP\x10\x02\x12\x15\n\x11\x42\x41SE_OCR_REVISION\x10\x03\x42\x08\n\x06sourceB\xe4\x01\n#com.google.cloud.documentai.v1beta3B\rDocumentProtoP\x01ZCcloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb\xaa\x02\x1fGoogle.Cloud.DocumentAI.V1Beta3\xca\x02\x1fGoogle\\Cloud\\DocumentAI\\V1beta3\xea\x02\"Google::Cloud::DocumentAI::V1beta3b\x06proto3"
19
+ descriptor_data = "\n.google/cloud/documentai/v1beta3/document.proto\x12\x1fgoogle.cloud.documentai.v1beta3\x1a\x1fgoogle/api/field_behavior.proto\x1a-google/cloud/documentai/v1beta3/barcode.proto\x1a.google/cloud/documentai/v1beta3/geometry.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x17google/type/color.proto\x1a\x16google/type/date.proto\x1a\x1agoogle/type/datetime.proto\x1a\x17google/type/money.proto\x1a google/type/postal_address.proto\"\x9cH\n\x08\x44ocument\x12\x13\n\x03uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01H\x00\x12\x17\n\x07\x63ontent\x18\x02 \x01(\x0c\x42\x04\xe2\x41\x01\x01H\x00\x12\x11\n\tmime_type\x18\x03 \x01(\t\x12\x12\n\x04text\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12H\n\x0btext_styles\x18\x05 \x03(\x0b\x32/.google.cloud.documentai.v1beta3.Document.StyleB\x02\x18\x01\x12=\n\x05pages\x18\x06 \x03(\x0b\x32..google.cloud.documentai.v1beta3.Document.Page\x12\x42\n\x08\x65ntities\x18\x07 \x03(\x0b\x32\x30.google.cloud.documentai.v1beta3.Document.Entity\x12R\n\x10\x65ntity_relations\x18\x08 \x03(\x0b\x32\x38.google.cloud.documentai.v1beta3.Document.EntityRelation\x12J\n\x0ctext_changes\x18\x0e \x03(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.TextChange\x12G\n\nshard_info\x18\t \x01(\x0b\x32\x33.google.cloud.documentai.v1beta3.Document.ShardInfo\x12!\n\x05\x65rror\x18\n \x01(\x0b\x32\x12.google.rpc.Status\x12\x45\n\trevisions\x18\r \x03(\x0b\x32\x32.google.cloud.documentai.v1beta3.Document.Revision\x1aJ\n\tShardInfo\x12\x13\n\x0bshard_index\x18\x01 \x01(\x03\x12\x13\n\x0bshard_count\x18\x02 \x01(\x03\x12\x13\n\x0btext_offset\x18\x03 \x01(\x03\x1a\xef\x02\n\x05Style\x12I\n\x0btext_anchor\x18\x01 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.TextAnchor\x12!\n\x05\x63olor\x18\x02 \x01(\x0b\x32\x12.google.type.Color\x12,\n\x10\x62\x61\x63kground_color\x18\x03 \x01(\x0b\x32\x12.google.type.Color\x12\x13\n\x0b\x66ont_weight\x18\x04 \x01(\t\x12\x12\n\ntext_style\x18\x05 \x01(\t\x12\x17\n\x0ftext_decoration\x18\x06 \x01(\t\x12K\n\tfont_size\x18\x07 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.Document.Style.FontSize\x12\x13\n\x0b\x66ont_family\x18\x08 \x01(\t\x1a&\n\x08\x46ontSize\x12\x0c\n\x04size\x18\x01 \x01(\x02\x12\x0c\n\x04unit\x18\x02 \x01(\t\x1a\xd0+\n\x04Page\x12\x13\n\x0bpage_number\x18\x01 \x01(\x05\x12\x43\n\x05image\x18\r \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.Page.Image\x12I\n\ntransforms\x18\x0e \x03(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Matrix\x12K\n\tdimension\x18\x02 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.Document.Page.Dimension\x12\x45\n\x06layout\x18\x03 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12[\n\x12\x64\x65tected_languages\x18\x04 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x12\x44\n\x06\x62locks\x18\x05 \x03(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.Page.Block\x12L\n\nparagraphs\x18\x06 \x03(\x0b\x32\x38.google.cloud.documentai.v1beta3.Document.Page.Paragraph\x12\x42\n\x05lines\x18\x07 \x03(\x0b\x32\x33.google.cloud.documentai.v1beta3.Document.Page.Line\x12\x44\n\x06tokens\x18\x08 \x03(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.Page.Token\x12U\n\x0fvisual_elements\x18\t \x03(\x0b\x32<.google.cloud.documentai.v1beta3.Document.Page.VisualElement\x12\x44\n\x06tables\x18\n \x03(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.Page.Table\x12M\n\x0b\x66orm_fields\x18\x0b \x03(\x0b\x32\x38.google.cloud.documentai.v1beta3.Document.Page.FormField\x12\x46\n\x07symbols\x18\x0c \x03(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Symbol\x12Y\n\x11\x64\x65tected_barcodes\x18\x0f \x03(\x0b\x32>.google.cloud.documentai.v1beta3.Document.Page.DetectedBarcode\x12_\n\x14image_quality_scores\x18\x11 \x01(\x0b\x32\x41.google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores\x12L\n\nprovenance\x18\x10 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.ProvenanceB\x02\x18\x01\x1a\x38\n\tDimension\x12\r\n\x05width\x18\x01 \x01(\x02\x12\x0e\n\x06height\x18\x02 \x01(\x02\x12\x0c\n\x04unit\x18\x03 \x01(\t\x1aJ\n\x05Image\x12\x0f\n\x07\x63ontent\x18\x01 \x01(\x0c\x12\x11\n\tmime_type\x18\x02 \x01(\t\x12\r\n\x05width\x18\x03 \x01(\x05\x12\x0e\n\x06height\x18\x04 \x01(\x05\x1a@\n\x06Matrix\x12\x0c\n\x04rows\x18\x01 \x01(\x05\x12\x0c\n\x04\x63ols\x18\x02 \x01(\x05\x12\x0c\n\x04type\x18\x03 \x01(\x05\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x1a\xec\x02\n\x06Layout\x12I\n\x0btext_anchor\x18\x01 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.TextAnchor\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x12\x44\n\rbounding_poly\x18\x03 \x01(\x0b\x32-.google.cloud.documentai.v1beta3.BoundingPoly\x12V\n\x0borientation\x18\x04 \x01(\x0e\x32\x41.google.cloud.documentai.v1beta3.Document.Page.Layout.Orientation\"e\n\x0bOrientation\x12\x1b\n\x17ORIENTATION_UNSPECIFIED\x10\x00\x12\x0b\n\x07PAGE_UP\x10\x01\x12\x0e\n\nPAGE_RIGHT\x10\x02\x12\r\n\tPAGE_DOWN\x10\x03\x12\r\n\tPAGE_LEFT\x10\x04\x1a\xf9\x01\n\x05\x42lock\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12[\n\x12\x64\x65tected_languages\x18\x02 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x12L\n\nprovenance\x18\x03 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.ProvenanceB\x02\x18\x01\x1a\xfd\x01\n\tParagraph\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12[\n\x12\x64\x65tected_languages\x18\x02 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x12L\n\nprovenance\x18\x03 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.ProvenanceB\x02\x18\x01\x1a\xf8\x01\n\x04Line\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12[\n\x12\x64\x65tected_languages\x18\x02 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x12L\n\nprovenance\x18\x03 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.ProvenanceB\x02\x18\x01\x1a\xbc\x07\n\x05Token\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12Z\n\x0e\x64\x65tected_break\x18\x02 \x01(\x0b\x32\x42.google.cloud.documentai.v1beta3.Document.Page.Token.DetectedBreak\x12[\n\x12\x64\x65tected_languages\x18\x03 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x12L\n\nprovenance\x18\x04 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.ProvenanceB\x02\x18\x01\x12R\n\nstyle_info\x18\x05 \x01(\x0b\x32>.google.cloud.documentai.v1beta3.Document.Page.Token.StyleInfo\x1a\xab\x01\n\rDetectedBreak\x12U\n\x04type\x18\x01 \x01(\x0e\x32G.google.cloud.documentai.v1beta3.Document.Page.Token.DetectedBreak.Type\"C\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05SPACE\x10\x01\x12\x0e\n\nWIDE_SPACE\x10\x02\x12\n\n\x06HYPHEN\x10\x03\x1a\xe2\x02\n\tStyleInfo\x12\x11\n\tfont_size\x18\x01 \x01(\x05\x12\x17\n\x0fpixel_font_size\x18\x02 \x01(\x01\x12\x16\n\x0eletter_spacing\x18\x03 \x01(\x01\x12\x11\n\tfont_type\x18\x04 \x01(\t\x12\x0c\n\x04\x62old\x18\x05 \x01(\x08\x12\x0e\n\x06italic\x18\x06 \x01(\x08\x12\x12\n\nunderlined\x18\x07 \x01(\x08\x12\x11\n\tstrikeout\x18\x08 \x01(\x08\x12\x11\n\tsubscript\x18\t \x01(\x08\x12\x13\n\x0bsuperscript\x18\n \x01(\x08\x12\x11\n\tsmallcaps\x18\x0b \x01(\x08\x12\x13\n\x0b\x66ont_weight\x18\x0c \x01(\x05\x12\x13\n\x0bhandwritten\x18\r \x01(\x08\x12&\n\ntext_color\x18\x0e \x01(\x0b\x32\x12.google.type.Color\x12,\n\x10\x62\x61\x63kground_color\x18\x0f \x01(\x0b\x32\x12.google.type.Color\x1a\xac\x01\n\x06Symbol\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12[\n\x12\x64\x65tected_languages\x18\x02 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x1a\xc1\x01\n\rVisualElement\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12\x0c\n\x04type\x18\x02 \x01(\t\x12[\n\x12\x64\x65tected_languages\x18\x03 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x1a\xd0\x05\n\x05Table\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12R\n\x0bheader_rows\x18\x02 \x03(\x0b\x32=.google.cloud.documentai.v1beta3.Document.Page.Table.TableRow\x12P\n\tbody_rows\x18\x03 \x03(\x0b\x32=.google.cloud.documentai.v1beta3.Document.Page.Table.TableRow\x12[\n\x12\x64\x65tected_languages\x18\x04 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x12L\n\nprovenance\x18\x05 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.ProvenanceB\x02\x18\x01\x1aY\n\x08TableRow\x12M\n\x05\x63\x65lls\x18\x01 \x03(\x0b\x32>.google.cloud.documentai.v1beta3.Document.Page.Table.TableCell\x1a\xd3\x01\n\tTableCell\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12\x10\n\x08row_span\x18\x02 \x01(\x05\x12\x10\n\x08\x63ol_span\x18\x03 \x01(\x05\x12[\n\x12\x64\x65tected_languages\x18\x04 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x1a\xff\x03\n\tFormField\x12I\n\nfield_name\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12J\n\x0b\x66ield_value\x18\x02 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12`\n\x17name_detected_languages\x18\x03 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x12\x61\n\x18value_detected_languages\x18\x04 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.Page.DetectedLanguage\x12\x12\n\nvalue_type\x18\x05 \x01(\t\x12\x1a\n\x12\x63orrected_key_text\x18\x06 \x01(\t\x12\x1c\n\x14\x63orrected_value_text\x18\x07 \x01(\t\x12H\n\nprovenance\x18\x08 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.Provenance\x1a\x93\x01\n\x0f\x44\x65tectedBarcode\x12\x45\n\x06layout\x18\x01 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.Document.Page.Layout\x12\x39\n\x07\x62\x61rcode\x18\x02 \x01(\x0b\x32(.google.cloud.documentai.v1beta3.Barcode\x1a=\n\x10\x44\x65tectedLanguage\x12\x15\n\rlanguage_code\x18\x01 \x01(\t\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x1a\xcb\x01\n\x12ImageQualityScores\x12\x15\n\rquality_score\x18\x01 \x01(\x02\x12j\n\x10\x64\x65tected_defects\x18\x02 \x03(\x0b\x32P.google.cloud.documentai.v1beta3.Document.Page.ImageQualityScores.DetectedDefect\x1a\x32\n\x0e\x44\x65tectedDefect\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x12\n\nconfidence\x18\x02 \x01(\x02\x1a\xf5\x06\n\x06\x45ntity\x12O\n\x0btext_anchor\x18\x01 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.TextAnchorB\x04\xe2\x41\x01\x01\x12\x12\n\x04type\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1a\n\x0cmention_text\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\nmention_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x18\n\nconfidence\x18\x05 \x01(\x02\x42\x04\xe2\x41\x01\x01\x12O\n\x0bpage_anchor\x18\x06 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.PageAnchorB\x04\xe2\x41\x01\x01\x12\x10\n\x02id\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01\x12`\n\x10normalized_value\x18\t \x01(\x0b\x32@.google.cloud.documentai.v1beta3.Document.Entity.NormalizedValueB\x04\xe2\x41\x01\x01\x12J\n\nproperties\x18\n \x03(\x0b\x32\x30.google.cloud.documentai.v1beta3.Document.EntityB\x04\xe2\x41\x01\x01\x12N\n\nprovenance\x18\x0b \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.ProvenanceB\x04\xe2\x41\x01\x01\x12\x16\n\x08redacted\x18\x0c \x01(\x08\x42\x04\xe2\x41\x01\x01\x1a\xbc\x02\n\x0fNormalizedValue\x12)\n\x0bmoney_value\x18\x02 \x01(\x0b\x32\x12.google.type.MoneyH\x00\x12\'\n\ndate_value\x18\x03 \x01(\x0b\x32\x11.google.type.DateH\x00\x12/\n\x0e\x64\x61tetime_value\x18\x04 \x01(\x0b\x32\x15.google.type.DateTimeH\x00\x12\x33\n\raddress_value\x18\x05 \x01(\x0b\x32\x1a.google.type.PostalAddressH\x00\x12\x17\n\rboolean_value\x18\x06 \x01(\x08H\x00\x12\x17\n\rinteger_value\x18\x07 \x01(\x05H\x00\x12\x15\n\x0b\x66loat_value\x18\x08 \x01(\x02H\x00\x12\x12\n\x04text\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x42\x12\n\x10structured_value\x1aI\n\x0e\x45ntityRelation\x12\x12\n\nsubject_id\x18\x01 \x01(\t\x12\x11\n\tobject_id\x18\x02 \x01(\t\x12\x10\n\x08relation\x18\x03 \x01(\t\x1a\xad\x01\n\nTextAnchor\x12W\n\rtext_segments\x18\x01 \x03(\x0b\x32@.google.cloud.documentai.v1beta3.Document.TextAnchor.TextSegment\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\x1a\x35\n\x0bTextSegment\x12\x13\n\x0bstart_index\x18\x01 \x01(\x03\x12\x11\n\tend_index\x18\x02 \x01(\x03\x1a\xec\x03\n\nPageAnchor\x12O\n\tpage_refs\x18\x01 \x03(\x0b\x32<.google.cloud.documentai.v1beta3.Document.PageAnchor.PageRef\x1a\x8c\x03\n\x07PageRef\x12\x12\n\x04page\x18\x01 \x01(\x03\x42\x04\xe2\x41\x01\x02\x12\x62\n\x0blayout_type\x18\x02 \x01(\x0e\x32G.google.cloud.documentai.v1beta3.Document.PageAnchor.PageRef.LayoutTypeB\x04\xe2\x41\x01\x01\x12\x19\n\tlayout_id\x18\x03 \x01(\tB\x06\x18\x01\xe2\x41\x01\x01\x12J\n\rbounding_poly\x18\x04 \x01(\x0b\x32-.google.cloud.documentai.v1beta3.BoundingPolyB\x04\xe2\x41\x01\x01\x12\x18\n\nconfidence\x18\x05 \x01(\x02\x42\x04\xe2\x41\x01\x01\"\x87\x01\n\nLayoutType\x12\x1b\n\x17LAYOUT_TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05\x42LOCK\x10\x01\x12\r\n\tPARAGRAPH\x10\x02\x12\x08\n\x04LINE\x10\x03\x12\t\n\x05TOKEN\x10\x04\x12\x12\n\x0eVISUAL_ELEMENT\x10\x05\x12\t\n\x05TABLE\x10\x06\x12\x0e\n\nFORM_FIELD\x10\x07\x1a\xb2\x03\n\nProvenance\x12\x14\n\x08revision\x18\x01 \x01(\x05\x42\x02\x18\x01\x12\x0e\n\x02id\x18\x02 \x01(\x05\x42\x02\x18\x01\x12L\n\x07parents\x18\x03 \x03(\x0b\x32;.google.cloud.documentai.v1beta3.Document.Provenance.Parent\x12P\n\x04type\x18\x04 \x01(\x0e\x32\x42.google.cloud.documentai.v1beta3.Document.Provenance.OperationType\x1a\x39\n\x06Parent\x12\x10\n\x08revision\x18\x01 \x01(\x05\x12\r\n\x05index\x18\x03 \x01(\x05\x12\x0e\n\x02id\x18\x02 \x01(\x05\x42\x02\x18\x01\"\xa2\x01\n\rOperationType\x12\x1e\n\x1aOPERATION_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\n\n\x06REMOVE\x10\x02\x12\n\n\x06UPDATE\x10\x07\x12\x0b\n\x07REPLACE\x10\x03\x12\x16\n\x0e\x45VAL_REQUESTED\x10\x04\x1a\x02\x08\x01\x12\x15\n\rEVAL_APPROVED\x10\x05\x1a\x02\x08\x01\x12\x14\n\x0c\x45VAL_SKIPPED\x10\x06\x1a\x02\x08\x01\x1a\xaa\x02\n\x08Revision\x12\x0f\n\x05\x61gent\x18\x04 \x01(\tH\x00\x12\x13\n\tprocessor\x18\x05 \x01(\tH\x00\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\x06parent\x18\x02 \x03(\x05\x42\x02\x18\x01\x12\x12\n\nparent_ids\x18\x07 \x03(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12T\n\x0chuman_review\x18\x06 \x01(\x0b\x32>.google.cloud.documentai.v1beta3.Document.Revision.HumanReview\x1a\x33\n\x0bHumanReview\x12\r\n\x05state\x18\x01 \x01(\t\x12\x15\n\rstate_message\x18\x02 \x01(\tB\x08\n\x06source\x1a\xbb\x01\n\nTextChange\x12I\n\x0btext_anchor\x18\x01 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.TextAnchor\x12\x14\n\x0c\x63hanged_text\x18\x02 \x01(\t\x12L\n\nprovenance\x18\x03 \x03(\x0b\x32\x34.google.cloud.documentai.v1beta3.Document.ProvenanceB\x02\x18\x01\x42\x08\n\x06source\"\x9b\x02\n\x0bRevisionRef\x12R\n\rrevision_case\x18\x01 \x01(\x0e\x32\x39.google.cloud.documentai.v1beta3.RevisionRef.RevisionCaseH\x00\x12\x15\n\x0brevision_id\x18\x02 \x01(\tH\x00\x12\"\n\x18latest_processor_version\x18\x03 \x01(\tH\x00\"s\n\x0cRevisionCase\x12\x1d\n\x19REVISION_CASE_UNSPECIFIED\x10\x00\x12\x17\n\x13LATEST_HUMAN_REVIEW\x10\x01\x12\x14\n\x10LATEST_TIMESTAMP\x10\x02\x12\x15\n\x11\x42\x41SE_OCR_REVISION\x10\x03\x42\x08\n\x06sourceB\xe4\x01\n#com.google.cloud.documentai.v1beta3B\rDocumentProtoP\x01ZCcloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb\xaa\x02\x1fGoogle.Cloud.DocumentAI.V1Beta3\xca\x02\x1fGoogle\\Cloud\\DocumentAI\\V1beta3\xea\x02\"Google::Cloud::DocumentAI::V1beta3b\x06proto3"
20
20
 
21
21
  pool = Google::Protobuf::DescriptorPool.generated_pool
22
22
 
23
23
  begin
24
24
  pool.add_serialized_file(descriptor_data)
25
- rescue TypeError => e
25
+ rescue TypeError
26
26
  # Compatibility code: will be removed in the next major version.
27
27
  require 'google/protobuf/descriptor_pb'
28
28
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -22,13 +22,13 @@ require 'google/protobuf/timestamp_pb'
22
22
  require 'google/rpc/status_pb'
23
23
 
24
24
 
25
- descriptor_data = "\n@google/cloud/documentai/v1beta3/document_processor_service.proto\x12\x1fgoogle.cloud.documentai.v1beta3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/documentai/v1beta3/document.proto\x1a\x31google/cloud/documentai/v1beta3/document_io.proto\x1a\x35google/cloud/documentai/v1beta3/document_schema.proto\x1a\x30google/cloud/documentai/v1beta3/evaluation.proto\x1a\x38google/cloud/documentai/v1beta3/operation_metadata.proto\x1a/google/cloud/documentai/v1beta3/processor.proto\x1a\x34google/cloud/documentai/v1beta3/processor_type.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xf1\x02\n\x0eProcessOptions\x12j\n\x18individual_page_selector\x18\x05 \x01(\x0b\x32\x46.google.cloud.documentai.v1beta3.ProcessOptions.IndividualPageSelectorH\x00\x12\x14\n\nfrom_start\x18\x06 \x01(\x05H\x00\x12\x12\n\x08\x66rom_end\x18\x07 \x01(\x05H\x00\x12>\n\nocr_config\x18\x01 \x01(\x0b\x32*.google.cloud.documentai.v1beta3.OcrConfig\x12M\n\x0fschema_override\x18\x08 \x01(\x0b\x32/.google.cloud.documentai.v1beta3.DocumentSchemaB\x03\xe0\x41\x01\x1a,\n\x16IndividualPageSelector\x12\x12\n\x05pages\x18\x01 \x03(\x05\x42\x03\xe0\x41\x01\x42\x0c\n\npage_range\"\xdb\x03\n\x0eProcessRequest\x12\x44\n\x0finline_document\x18\x04 \x01(\x0b\x32).google.cloud.documentai.v1beta3.DocumentH\x00\x12\x44\n\x0craw_document\x18\x05 \x01(\x0b\x32,.google.cloud.documentai.v1beta3.RawDocumentH\x00\x12\x44\n\x0cgcs_document\x18\x08 \x01(\x0b\x32,.google.cloud.documentai.v1beta3.GcsDocumentH\x00\x12\x17\n\x04name\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12?\n\x08\x64ocument\x18\x02 \x01(\x0b\x32).google.cloud.documentai.v1beta3.DocumentB\x02\x18\x01\x12\x19\n\x11skip_human_review\x18\x03 \x01(\x08\x12.\n\nfield_mask\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12H\n\x0fprocess_options\x18\x07 \x01(\x0b\x32/.google.cloud.documentai.v1beta3.ProcessOptionsB\x08\n\x06source\"\xf3\x01\n\x11HumanReviewStatus\x12G\n\x05state\x18\x01 \x01(\x0e\x32\x38.google.cloud.documentai.v1beta3.HumanReviewStatus.State\x12\x15\n\rstate_message\x18\x02 \x01(\t\x12\x1e\n\x16human_review_operation\x18\x03 \x01(\t\"^\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07SKIPPED\x10\x01\x12\x15\n\x11VALIDATION_PASSED\x10\x02\x12\x0f\n\x0bIN_PROGRESS\x10\x03\x12\t\n\x05\x45RROR\x10\x04\"\xc3\x01\n\x0fProcessResponse\x12;\n\x08\x64ocument\x18\x01 \x01(\x0b\x32).google.cloud.documentai.v1beta3.Document\x12\"\n\x16human_review_operation\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x13human_review_status\x18\x03 \x01(\x0b\x32\x32.google.cloud.documentai.v1beta3.HumanReviewStatus\"\xf5\x04\n\x13\x42\x61tchProcessRequest\x12\x17\n\x04name\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12`\n\rinput_configs\x18\x02 \x03(\x0b\x32\x45.google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfigB\x02\x18\x01\x12\x61\n\routput_config\x18\x03 \x01(\x0b\x32\x46.google.cloud.documentai.v1beta3.BatchProcessRequest.BatchOutputConfigB\x02\x18\x01\x12S\n\x0finput_documents\x18\x05 \x01(\x0b\x32:.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig\x12U\n\x16\x64ocument_output_config\x18\x06 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.DocumentOutputConfig\x12\x19\n\x11skip_human_review\x18\x04 \x01(\x08\x12H\n\x0fprocess_options\x18\x07 \x01(\x0b\x32/.google.cloud.documentai.v1beta3.ProcessOptions\x1a=\n\x10\x42\x61tchInputConfig\x12\x12\n\ngcs_source\x18\x01 \x01(\t\x12\x11\n\tmime_type\x18\x02 \x01(\t:\x02\x18\x01\x1a\x30\n\x11\x42\x61tchOutputConfig\x12\x17\n\x0fgcs_destination\x18\x01 \x01(\t:\x02\x18\x01\"\x16\n\x14\x42\x61tchProcessResponse\"\xb2\x05\n\x14\x42\x61tchProcessMetadata\x12J\n\x05state\x18\x01 \x01(\x0e\x32;.google.cloud.documentai.v1beta3.BatchProcessMetadata.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\x12r\n\x1bindividual_process_statuses\x18\x05 \x03(\x0b\x32M.google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus\x1a\xec\x01\n\x17IndividualProcessStatus\x12\x18\n\x10input_gcs_source\x18\x01 \x01(\t\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x12\x1e\n\x16output_gcs_destination\x18\x03 \x01(\t\x12\"\n\x16human_review_operation\x18\x04 \x01(\tB\x02\x18\x01\x12O\n\x13human_review_status\x18\x05 \x01(\x0b\x32\x32.google.cloud.documentai.v1beta3.HumanReviewStatus\"r\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07WAITING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\x0e\n\nCANCELLING\x10\x04\x12\r\n\tCANCELLED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\"]\n\x1a\x46\x65tchProcessorTypesRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'documentai.googleapis.com/ProcessorType\"f\n\x1b\x46\x65tchProcessorTypesResponse\x12G\n\x0fprocessor_types\x18\x01 \x03(\x0b\x32..google.cloud.documentai.v1beta3.ProcessorType\"\x83\x01\n\x19ListProcessorTypesRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\x12\'documentai.googleapis.com/ProcessorType\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"~\n\x1aListProcessorTypesResponse\x12G\n\x0fprocessor_types\x18\x01 \x03(\x0b\x32..google.cloud.documentai.v1beta3.ProcessorType\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"{\n\x15ListProcessorsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#documentai.googleapis.com/Processor\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"q\n\x16ListProcessorsResponse\x12>\n\nprocessors\x18\x01 \x03(\x0b\x32*.google.cloud.documentai.v1beta3.Processor\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"X\n\x17GetProcessorTypeRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'documentai.googleapis.com/ProcessorType\"P\n\x13GetProcessorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#documentai.googleapis.com/Processor\"^\n\x1aGetProcessorVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\"\x89\x01\n\x1cListProcessorVersionsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*documentai.googleapis.com/ProcessorVersion\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x87\x01\n\x1dListProcessorVersionsResponse\x12M\n\x12processor_versions\x18\x01 \x03(\x0b\x32\x31.google.cloud.documentai.v1beta3.ProcessorVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"a\n\x1d\x44\x65leteProcessorVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\"s\n\x1e\x44\x65leteProcessorVersionMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"a\n\x1d\x44\x65ployProcessorVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\" \n\x1e\x44\x65ployProcessorVersionResponse\"s\n\x1e\x44\x65ployProcessorVersionMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"c\n\x1fUndeployProcessorVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\"\"\n UndeployProcessorVersionResponse\"u\n UndeployProcessorVersionMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"\x99\x01\n\x16\x43reateProcessorRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#documentai.googleapis.com/Processor\x12\x42\n\tprocessor\x18\x02 \x01(\x0b\x32*.google.cloud.documentai.v1beta3.ProcessorB\x03\xe0\x41\x02\"S\n\x16\x44\x65leteProcessorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#documentai.googleapis.com/Processor\"l\n\x17\x44\x65leteProcessorMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x05 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"S\n\x16\x45nableProcessorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#documentai.googleapis.com/Processor\"\x19\n\x17\x45nableProcessorResponse\"l\n\x17\x45nableProcessorMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x05 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"T\n\x17\x44isableProcessorRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#documentai.googleapis.com/Processor\"\x1a\n\x18\x44isableProcessorResponse\"m\n\x18\x44isableProcessorMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x05 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"\xba\x01\n!SetDefaultProcessorVersionRequest\x12>\n\tprocessor\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#documentai.googleapis.com/Processor\x12U\n\x19\x64\x65\x66\x61ult_processor_version\x18\x02 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\"$\n\"SetDefaultProcessorVersionResponse\"w\n\"SetDefaultProcessorVersionMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"\xe3\x07\n\x1cTrainProcessorVersionRequest\x12\x8b\x01\n\"custom_document_extraction_options\x18\x05 \x01(\x0b\x32].google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptionsH\x00\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#documentai.googleapis.com/Processor\x12Q\n\x11processor_version\x18\x02 \x01(\x0b\x32\x31.google.cloud.documentai.v1beta3.ProcessorVersionB\x03\xe0\x41\x02\x12M\n\x0f\x64ocument_schema\x18\n \x01(\x0b\x32/.google.cloud.documentai.v1beta3.DocumentSchemaB\x03\xe0\x41\x01\x12`\n\ninput_data\x18\x04 \x01(\x0b\x32G.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputDataB\x03\xe0\x41\x01\x12#\n\x16\x62\x61se_processor_version\x18\x08 \x01(\tB\x03\xe0\x41\x01\x1a\xb7\x01\n\tInputData\x12V\n\x12training_documents\x18\x03 \x01(\x0b\x32:.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig\x12R\n\x0etest_documents\x18\x04 \x01(\x0b\x32:.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig\x1a\x81\x02\n\x1f\x43ustomDocumentExtractionOptions\x12\x85\x01\n\x0ftraining_method\x18\x03 \x01(\x0e\x32l.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod\"V\n\x0eTrainingMethod\x12\x1f\n\x1bTRAINING_METHOD_UNSPECIFIED\x10\x00\x12\x0f\n\x0bMODEL_BASED\x10\x01\x12\x12\n\x0eTEMPLATE_BASED\x10\x02\x42\x11\n\x0fprocessor_flags\":\n\x1dTrainProcessorVersionResponse\x12\x19\n\x11processor_version\x18\x01 \x01(\t\"\x86\x04\n\x1dTrainProcessorVersionMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\x12u\n\x1btraining_dataset_validation\x18\x02 \x01(\x0b\x32P.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation\x12q\n\x17test_dataset_validation\x18\x03 \x01(\x0b\x32P.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation\x1a\xa7\x01\n\x11\x44\x61tasetValidation\x12\x1c\n\x14\x64ocument_error_count\x18\x03 \x01(\x05\x12\x1b\n\x13\x64\x61taset_error_count\x18\x04 \x01(\x05\x12+\n\x0f\x64ocument_errors\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12*\n\x0e\x64\x61taset_errors\x18\x02 \x03(\x0b\x32\x12.google.rpc.Status\"\xde\x03\n\x15ReviewDocumentRequest\x12\x44\n\x0finline_document\x18\x04 \x01(\x0b\x32).google.cloud.documentai.v1beta3.DocumentH\x00\x12P\n\x13human_review_config\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+documentai.googleapis.com/HumanReviewConfig\x12?\n\x08\x64ocument\x18\x02 \x01(\x0b\x32).google.cloud.documentai.v1beta3.DocumentB\x02\x18\x01\x12 \n\x18\x65nable_schema_validation\x18\x03 \x01(\x08\x12Q\n\x08priority\x18\x05 \x01(\x0e\x32?.google.cloud.documentai.v1beta3.ReviewDocumentRequest.Priority\x12H\n\x0f\x64ocument_schema\x18\x06 \x01(\x0b\x32/.google.cloud.documentai.v1beta3.DocumentSchema\"#\n\x08Priority\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\n\n\x06URGENT\x10\x01\x42\x08\n\x06source\"\xd6\x01\n\x16ReviewDocumentResponse\x12\x17\n\x0fgcs_destination\x18\x01 \x01(\t\x12L\n\x05state\x18\x02 \x01(\x0e\x32=.google.cloud.documentai.v1beta3.ReviewDocumentResponse.State\x12\x18\n\x10rejection_reason\x18\x03 \x01(\t\";\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08REJECTED\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\"\xc0\x03\n\x1fReviewDocumentOperationMetadata\x12U\n\x05state\x18\x01 \x01(\x0e\x32\x46.google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.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\x12Q\n\x0f\x63ommon_metadata\x18\x05 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\x12\x13\n\x0bquestion_id\x18\x06 \x01(\t\"e\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\x0e\n\nCANCELLING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tCANCELLED\x10\x05\"\xcf\x01\n\x1f\x45valuateProcessorVersionRequest\x12M\n\x11processor_version\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\x12]\n\x14\x65valuation_documents\x18\x03 \x01(\x0b\x32:.google.cloud.documentai.v1beta3.BatchDocumentsInputConfigB\x03\xe0\x41\x01\"u\n EvaluateProcessorVersionMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"6\n EvaluateProcessorVersionResponse\x12\x12\n\nevaluation\x18\x02 \x01(\t\"R\n\x14GetEvaluationRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$documentai.googleapis.com/Evaluation\"\x83\x01\n\x16ListEvaluationsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"t\n\x17ListEvaluationsResponse\x12@\n\x0b\x65valuations\x18\x01 \x03(\x0b\x32+.google.cloud.documentai.v1beta3.Evaluation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb0\x03\n\x1dImportProcessorVersionRequest\x12S\n\x18processor_version_source\x18\x02 \x01(\tB/\xfa\x41,\n*documentai.googleapis.com/ProcessorVersionH\x00\x12\x8a\x01\n!external_processor_version_source\x18\x03 \x01(\x0b\x32].google.cloud.documentai.v1beta3.ImportProcessorVersionRequest.ExternalProcessorVersionSourceH\x00\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*documentai.googleapis.com/ProcessorVersion\x1a_\n\x1e\x45xternalProcessorVersionSource\x12\x1e\n\x11processor_version\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1d\n\x10service_endpoint\x18\x02 \x01(\tB\x03\xe0\x41\x01\x42\x08\n\x06source\"l\n\x1eImportProcessorVersionResponse\x12J\n\x11processor_version\x18\x01 \x01(\tB/\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\"s\n\x1eImportProcessorVersionMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata2\xeb.\n\x18\x44ocumentProcessorService\x12\x9b\x02\n\x0fProcessDocument\x12/.google.cloud.documentai.v1beta3.ProcessRequest\x1a\x30.google.cloud.documentai.v1beta3.ProcessResponse\"\xa4\x01\x82\xd3\xe4\x93\x02\x96\x01\";/v1beta3/{name=projects/*/locations/*/processors/*}:process:\x01*ZT\"O/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}:process:\x01*\xda\x41\x04name\x12\xcc\x02\n\x15\x42\x61tchProcessDocuments\x12\x34.google.cloud.documentai.v1beta3.BatchProcessRequest\x1a\x1d.google.longrunning.Operation\"\xdd\x01\x82\xd3\xe4\x93\x02\xa0\x01\"@/v1beta3/{name=projects/*/locations/*/processors/*}:batchProcess:\x01*ZY\"T/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}:batchProcess:\x01*\xda\x41\x04name\xca\x41,\n\x14\x42\x61tchProcessResponse\x12\x14\x42\x61tchProcessMetadata\x12\xdf\x01\n\x13\x46\x65tchProcessorTypes\x12;.google.cloud.documentai.v1beta3.FetchProcessorTypesRequest\x1a<.google.cloud.documentai.v1beta3.FetchProcessorTypesResponse\"M\x82\xd3\xe4\x93\x02>\x12</v1beta3/{parent=projects/*/locations/*}:fetchProcessorTypes\xda\x41\x06parent\x12\xd7\x01\n\x12ListProcessorTypes\x12:.google.cloud.documentai.v1beta3.ListProcessorTypesRequest\x1a;.google.cloud.documentai.v1beta3.ListProcessorTypesResponse\"H\x82\xd3\xe4\x93\x02\x39\x12\x37/v1beta3/{parent=projects/*/locations/*}/processorTypes\xda\x41\x06parent\x12\xc4\x01\n\x10GetProcessorType\x12\x38.google.cloud.documentai.v1beta3.GetProcessorTypeRequest\x1a..google.cloud.documentai.v1beta3.ProcessorType\"F\x82\xd3\xe4\x93\x02\x39\x12\x37/v1beta3/{name=projects/*/locations/*/processorTypes/*}\xda\x41\x04name\x12\xc7\x01\n\x0eListProcessors\x12\x36.google.cloud.documentai.v1beta3.ListProcessorsRequest\x1a\x37.google.cloud.documentai.v1beta3.ListProcessorsResponse\"D\x82\xd3\xe4\x93\x02\x35\x12\x33/v1beta3/{parent=projects/*/locations/*}/processors\xda\x41\x06parent\x12\xb4\x01\n\x0cGetProcessor\x12\x34.google.cloud.documentai.v1beta3.GetProcessorRequest\x1a*.google.cloud.documentai.v1beta3.Processor\"B\x82\xd3\xe4\x93\x02\x35\x12\x33/v1beta3/{name=projects/*/locations/*/processors/*}\xda\x41\x04name\x12\xac\x02\n\x15TrainProcessorVersion\x12=.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\x82\xd3\xe4\x93\x02R\"M/v1beta3/{parent=projects/*/locations/*/processors/*}/processorVersions:train:\x01*\xda\x41\x18parent,processor_version\xca\x41>\n\x1dTrainProcessorVersionResponse\x12\x1dTrainProcessorVersionMetadata\x12\xdd\x01\n\x13GetProcessorVersion\x12;.google.cloud.documentai.v1beta3.GetProcessorVersionRequest\x1a\x31.google.cloud.documentai.v1beta3.ProcessorVersion\"V\x82\xd3\xe4\x93\x02I\x12G/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}\xda\x41\x04name\x12\xf0\x01\n\x15ListProcessorVersions\x12=.google.cloud.documentai.v1beta3.ListProcessorVersionsRequest\x1a>.google.cloud.documentai.v1beta3.ListProcessorVersionsResponse\"X\x82\xd3\xe4\x93\x02I\x12G/v1beta3/{parent=projects/*/locations/*/processors/*}/processorVersions\xda\x41\x06parent\x12\x8a\x02\n\x16\x44\x65leteProcessorVersion\x12>.google.cloud.documentai.v1beta3.DeleteProcessorVersionRequest\x1a\x1d.google.longrunning.Operation\"\x90\x01\x82\xd3\xe4\x93\x02I*G/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}\xda\x41\x04name\xca\x41\x37\n\x15google.protobuf.Empty\x12\x1e\x44\x65leteProcessorVersionMetadata\x12\x9d\x02\n\x16\x44\x65ployProcessorVersion\x12>.google.cloud.documentai.v1beta3.DeployProcessorVersionRequest\x1a\x1d.google.longrunning.Operation\"\xa3\x01\x82\xd3\xe4\x93\x02S\"N/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}:deploy:\x01*\xda\x41\x04name\xca\x41@\n\x1e\x44\x65ployProcessorVersionResponse\x12\x1e\x44\x65ployProcessorVersionMetadata\x12\xa7\x02\n\x18UndeployProcessorVersion\x12@.google.cloud.documentai.v1beta3.UndeployProcessorVersionRequest\x1a\x1d.google.longrunning.Operation\"\xa9\x01\x82\xd3\xe4\x93\x02U\"P/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}:undeploy:\x01*\xda\x41\x04name\xca\x41\x44\n UndeployProcessorVersionResponse\x12 UndeployProcessorVersionMetadata\x12\xd1\x01\n\x0f\x43reateProcessor\x12\x37.google.cloud.documentai.v1beta3.CreateProcessorRequest\x1a*.google.cloud.documentai.v1beta3.Processor\"Y\x82\xd3\xe4\x93\x02@\"3/v1beta3/{parent=projects/*/locations/*}/processors:\tprocessor\xda\x41\x10parent,processor\x12\xe0\x01\n\x0f\x44\x65leteProcessor\x12\x37.google.cloud.documentai.v1beta3.DeleteProcessorRequest\x1a\x1d.google.longrunning.Operation\"u\x82\xd3\xe4\x93\x02\x35*3/v1beta3/{name=projects/*/locations/*/processors/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteProcessorMetadata\x12\xe5\x01\n\x0f\x45nableProcessor\x12\x37.google.cloud.documentai.v1beta3.EnableProcessorRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02?\":/v1beta3/{name=projects/*/locations/*/processors/*}:enable:\x01*\xca\x41\x32\n\x17\x45nableProcessorResponse\x12\x17\x45nableProcessorMetadata\x12\xea\x01\n\x10\x44isableProcessor\x12\x38.google.cloud.documentai.v1beta3.DisableProcessorRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02@\";/v1beta3/{name=projects/*/locations/*/processors/*}:disable:\x01*\xca\x41\x34\n\x18\x44isableProcessorResponse\x12\x18\x44isableProcessorMetadata\x12\xab\x02\n\x1aSetDefaultProcessorVersion\x12\x42.google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest\x1a\x1d.google.longrunning.Operation\"\xa9\x01\x82\xd3\xe4\x93\x02X\"S/v1beta3/{processor=projects/*/locations/*/processors/*}:setDefaultProcessorVersion:\x01*\xca\x41H\n\"SetDefaultProcessorVersionResponse\x12\"SetDefaultProcessorVersionMetadata\x12\xaa\x02\n\x0eReviewDocument\x12\x36.google.cloud.documentai.v1beta3.ReviewDocumentRequest\x1a\x1d.google.longrunning.Operation\"\xc0\x01\x82\xd3\xe4\x93\x02h\"c/v1beta3/{human_review_config=projects/*/locations/*/processors/*/humanReviewConfig}:reviewDocument:\x01*\xda\x41\x13human_review_config\xca\x41\x39\n\x16ReviewDocumentResponse\x12\x1fReviewDocumentOperationMetadata\x12\xd1\x02\n\x18\x45valuateProcessorVersion\x12@.google.cloud.documentai.v1beta3.EvaluateProcessorVersionRequest\x1a\x1d.google.longrunning.Operation\"\xd3\x01\x82\xd3\xe4\x93\x02r\"m/v1beta3/{processor_version=projects/*/locations/*/processors/*/processorVersions/*}:evaluateProcessorVersion:\x01*\xda\x41\x11processor_version\xca\x41\x44\n EvaluateProcessorVersionResponse\x12 EvaluateProcessorVersionMetadata\x12\xd9\x01\n\rGetEvaluation\x12\x35.google.cloud.documentai.v1beta3.GetEvaluationRequest\x1a+.google.cloud.documentai.v1beta3.Evaluation\"d\x82\xd3\xe4\x93\x02W\x12U/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*/evaluations/*}\xda\x41\x04name\x12\xec\x01\n\x0fListEvaluations\x12\x37.google.cloud.documentai.v1beta3.ListEvaluationsRequest\x1a\x38.google.cloud.documentai.v1beta3.ListEvaluationsResponse\"f\x82\xd3\xe4\x93\x02W\x12U/v1beta3/{parent=projects/*/locations/*/processors/*/processorVersions/*}/evaluations\xda\x41\x06parent\x12\xaf\x02\n\x16ImportProcessorVersion\x12>.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest\x1a\x1d.google.longrunning.Operation\"\xb5\x01\x82\xd3\xe4\x93\x02\x63\"^/v1beta3/{parent=projects/*/locations/*/processors/*}/processorVersions:importProcessorVersion:\x01*\xda\x41\x06parent\xca\x41@\n\x1eImportProcessorVersionResponse\x12\x1eImportProcessorVersionMetadata\x1aM\xca\x41\x19\x64ocumentai.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc3\x03\n#com.google.cloud.documentai.v1beta3B\x1a\x44ocumentAiProcessorServiceP\x01ZCcloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb\xaa\x02\x1fGoogle.Cloud.DocumentAI.V1Beta3\xca\x02\x1fGoogle\\Cloud\\DocumentAI\\V1beta3\xea\x02\"Google::Cloud::DocumentAI::V1beta3\xea\x41\x7f\n+documentai.googleapis.com/HumanReviewConfig\x12Pprojects/{project}/locations/{location}/processors/{processor}/humanReviewConfig\xea\x41M\n\"documentai.googleapis.com/Location\x12\'projects/{project}/locations/{location}b\x06proto3"
25
+ descriptor_data = "\n@google/cloud/documentai/v1beta3/document_processor_service.proto\x12\x1fgoogle.cloud.documentai.v1beta3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a.google/cloud/documentai/v1beta3/document.proto\x1a\x31google/cloud/documentai/v1beta3/document_io.proto\x1a\x35google/cloud/documentai/v1beta3/document_schema.proto\x1a\x30google/cloud/documentai/v1beta3/evaluation.proto\x1a\x38google/cloud/documentai/v1beta3/operation_metadata.proto\x1a/google/cloud/documentai/v1beta3/processor.proto\x1a\x34google/cloud/documentai/v1beta3/processor_type.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xf3\x02\n\x0eProcessOptions\x12j\n\x18individual_page_selector\x18\x05 \x01(\x0b\x32\x46.google.cloud.documentai.v1beta3.ProcessOptions.IndividualPageSelectorH\x00\x12\x14\n\nfrom_start\x18\x06 \x01(\x05H\x00\x12\x12\n\x08\x66rom_end\x18\x07 \x01(\x05H\x00\x12>\n\nocr_config\x18\x01 \x01(\x0b\x32*.google.cloud.documentai.v1beta3.OcrConfig\x12N\n\x0fschema_override\x18\x08 \x01(\x0b\x32/.google.cloud.documentai.v1beta3.DocumentSchemaB\x04\xe2\x41\x01\x01\x1a-\n\x16IndividualPageSelector\x12\x13\n\x05pages\x18\x01 \x03(\x05\x42\x04\xe2\x41\x01\x01\x42\x0c\n\npage_range\"\xdc\x03\n\x0eProcessRequest\x12\x44\n\x0finline_document\x18\x04 \x01(\x0b\x32).google.cloud.documentai.v1beta3.DocumentH\x00\x12\x44\n\x0craw_document\x18\x05 \x01(\x0b\x32,.google.cloud.documentai.v1beta3.RawDocumentH\x00\x12\x44\n\x0cgcs_document\x18\x08 \x01(\x0b\x32,.google.cloud.documentai.v1beta3.GcsDocumentH\x00\x12\x18\n\x04name\x18\x01 \x01(\tB\n\xe2\x41\x01\x02\xfa\x41\x03\n\x01*\x12?\n\x08\x64ocument\x18\x02 \x01(\x0b\x32).google.cloud.documentai.v1beta3.DocumentB\x02\x18\x01\x12\x19\n\x11skip_human_review\x18\x03 \x01(\x08\x12.\n\nfield_mask\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12H\n\x0fprocess_options\x18\x07 \x01(\x0b\x32/.google.cloud.documentai.v1beta3.ProcessOptionsB\x08\n\x06source\"\xf3\x01\n\x11HumanReviewStatus\x12G\n\x05state\x18\x01 \x01(\x0e\x32\x38.google.cloud.documentai.v1beta3.HumanReviewStatus.State\x12\x15\n\rstate_message\x18\x02 \x01(\t\x12\x1e\n\x16human_review_operation\x18\x03 \x01(\t\"^\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07SKIPPED\x10\x01\x12\x15\n\x11VALIDATION_PASSED\x10\x02\x12\x0f\n\x0bIN_PROGRESS\x10\x03\x12\t\n\x05\x45RROR\x10\x04\"\xc3\x01\n\x0fProcessResponse\x12;\n\x08\x64ocument\x18\x01 \x01(\x0b\x32).google.cloud.documentai.v1beta3.Document\x12\"\n\x16human_review_operation\x18\x02 \x01(\tB\x02\x18\x01\x12O\n\x13human_review_status\x18\x03 \x01(\x0b\x32\x32.google.cloud.documentai.v1beta3.HumanReviewStatus\"\xf6\x04\n\x13\x42\x61tchProcessRequest\x12\x18\n\x04name\x18\x01 \x01(\tB\n\xe2\x41\x01\x02\xfa\x41\x03\n\x01*\x12`\n\rinput_configs\x18\x02 \x03(\x0b\x32\x45.google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfigB\x02\x18\x01\x12\x61\n\routput_config\x18\x03 \x01(\x0b\x32\x46.google.cloud.documentai.v1beta3.BatchProcessRequest.BatchOutputConfigB\x02\x18\x01\x12S\n\x0finput_documents\x18\x05 \x01(\x0b\x32:.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig\x12U\n\x16\x64ocument_output_config\x18\x06 \x01(\x0b\x32\x35.google.cloud.documentai.v1beta3.DocumentOutputConfig\x12\x19\n\x11skip_human_review\x18\x04 \x01(\x08\x12H\n\x0fprocess_options\x18\x07 \x01(\x0b\x32/.google.cloud.documentai.v1beta3.ProcessOptions\x1a=\n\x10\x42\x61tchInputConfig\x12\x12\n\ngcs_source\x18\x01 \x01(\t\x12\x11\n\tmime_type\x18\x02 \x01(\t:\x02\x18\x01\x1a\x30\n\x11\x42\x61tchOutputConfig\x12\x17\n\x0fgcs_destination\x18\x01 \x01(\t:\x02\x18\x01\"\x16\n\x14\x42\x61tchProcessResponse\"\xb2\x05\n\x14\x42\x61tchProcessMetadata\x12J\n\x05state\x18\x01 \x01(\x0e\x32;.google.cloud.documentai.v1beta3.BatchProcessMetadata.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\x12r\n\x1bindividual_process_statuses\x18\x05 \x03(\x0b\x32M.google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus\x1a\xec\x01\n\x17IndividualProcessStatus\x12\x18\n\x10input_gcs_source\x18\x01 \x01(\t\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x12\x1e\n\x16output_gcs_destination\x18\x03 \x01(\t\x12\"\n\x16human_review_operation\x18\x04 \x01(\tB\x02\x18\x01\x12O\n\x13human_review_status\x18\x05 \x01(\x0b\x32\x32.google.cloud.documentai.v1beta3.HumanReviewStatus\"r\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07WAITING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\x0e\n\nCANCELLING\x10\x04\x12\r\n\tCANCELLED\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\"^\n\x1a\x46\x65tchProcessorTypesRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\x12\'documentai.googleapis.com/ProcessorType\"f\n\x1b\x46\x65tchProcessorTypesResponse\x12G\n\x0fprocessor_types\x18\x01 \x03(\x0b\x32..google.cloud.documentai.v1beta3.ProcessorType\"\x84\x01\n\x19ListProcessorTypesRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\x12\'documentai.googleapis.com/ProcessorType\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"~\n\x1aListProcessorTypesResponse\x12G\n\x0fprocessor_types\x18\x01 \x03(\x0b\x32..google.cloud.documentai.v1beta3.ProcessorType\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"|\n\x15ListProcessorsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\x12#documentai.googleapis.com/Processor\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"q\n\x16ListProcessorsResponse\x12>\n\nprocessors\x18\x01 \x03(\x0b\x32*.google.cloud.documentai.v1beta3.Processor\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"Y\n\x17GetProcessorTypeRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\n\'documentai.googleapis.com/ProcessorType\"Q\n\x13GetProcessorRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\n#documentai.googleapis.com/Processor\"_\n\x1aGetProcessorVersionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\"\x8a\x01\n\x1cListProcessorVersionsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\x12*documentai.googleapis.com/ProcessorVersion\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x87\x01\n\x1dListProcessorVersionsResponse\x12M\n\x12processor_versions\x18\x01 \x03(\x0b\x32\x31.google.cloud.documentai.v1beta3.ProcessorVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"b\n\x1d\x44\x65leteProcessorVersionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\"s\n\x1e\x44\x65leteProcessorVersionMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"b\n\x1d\x44\x65ployProcessorVersionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\" \n\x1e\x44\x65ployProcessorVersionResponse\"s\n\x1e\x44\x65ployProcessorVersionMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"d\n\x1fUndeployProcessorVersionRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\"\"\n UndeployProcessorVersionResponse\"u\n UndeployProcessorVersionMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"\x9b\x01\n\x16\x43reateProcessorRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\x12#documentai.googleapis.com/Processor\x12\x43\n\tprocessor\x18\x02 \x01(\x0b\x32*.google.cloud.documentai.v1beta3.ProcessorB\x04\xe2\x41\x01\x02\"T\n\x16\x44\x65leteProcessorRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\n#documentai.googleapis.com/Processor\"l\n\x17\x44\x65leteProcessorMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x05 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"T\n\x16\x45nableProcessorRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\n#documentai.googleapis.com/Processor\"\x19\n\x17\x45nableProcessorResponse\"l\n\x17\x45nableProcessorMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x05 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"U\n\x17\x44isableProcessorRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\n#documentai.googleapis.com/Processor\"\x1a\n\x18\x44isableProcessorResponse\"m\n\x18\x44isableProcessorMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x05 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"\xbc\x01\n!SetDefaultProcessorVersionRequest\x12?\n\tprocessor\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\n#documentai.googleapis.com/Processor\x12V\n\x19\x64\x65\x66\x61ult_processor_version\x18\x02 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\"$\n\"SetDefaultProcessorVersionResponse\"w\n\"SetDefaultProcessorVersionMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"\xe8\x07\n\x1cTrainProcessorVersionRequest\x12\x8b\x01\n\"custom_document_extraction_options\x18\x05 \x01(\x0b\x32].google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptionsH\x00\x12<\n\x06parent\x18\x01 \x01(\tB,\xe2\x41\x01\x02\xfa\x41%\n#documentai.googleapis.com/Processor\x12R\n\x11processor_version\x18\x02 \x01(\x0b\x32\x31.google.cloud.documentai.v1beta3.ProcessorVersionB\x04\xe2\x41\x01\x02\x12N\n\x0f\x64ocument_schema\x18\n \x01(\x0b\x32/.google.cloud.documentai.v1beta3.DocumentSchemaB\x04\xe2\x41\x01\x01\x12\x61\n\ninput_data\x18\x04 \x01(\x0b\x32G.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.InputDataB\x04\xe2\x41\x01\x01\x12$\n\x16\x62\x61se_processor_version\x18\x08 \x01(\tB\x04\xe2\x41\x01\x01\x1a\xb7\x01\n\tInputData\x12V\n\x12training_documents\x18\x03 \x01(\x0b\x32:.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig\x12R\n\x0etest_documents\x18\x04 \x01(\x0b\x32:.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig\x1a\x81\x02\n\x1f\x43ustomDocumentExtractionOptions\x12\x85\x01\n\x0ftraining_method\x18\x03 \x01(\x0e\x32l.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest.CustomDocumentExtractionOptions.TrainingMethod\"V\n\x0eTrainingMethod\x12\x1f\n\x1bTRAINING_METHOD_UNSPECIFIED\x10\x00\x12\x0f\n\x0bMODEL_BASED\x10\x01\x12\x12\n\x0eTEMPLATE_BASED\x10\x02\x42\x11\n\x0fprocessor_flags\":\n\x1dTrainProcessorVersionResponse\x12\x19\n\x11processor_version\x18\x01 \x01(\t\"\x86\x04\n\x1dTrainProcessorVersionMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\x12u\n\x1btraining_dataset_validation\x18\x02 \x01(\x0b\x32P.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation\x12q\n\x17test_dataset_validation\x18\x03 \x01(\x0b\x32P.google.cloud.documentai.v1beta3.TrainProcessorVersionMetadata.DatasetValidation\x1a\xa7\x01\n\x11\x44\x61tasetValidation\x12\x1c\n\x14\x64ocument_error_count\x18\x03 \x01(\x05\x12\x1b\n\x13\x64\x61taset_error_count\x18\x04 \x01(\x05\x12+\n\x0f\x64ocument_errors\x18\x01 \x03(\x0b\x32\x12.google.rpc.Status\x12*\n\x0e\x64\x61taset_errors\x18\x02 \x03(\x0b\x32\x12.google.rpc.Status\"\xdf\x03\n\x15ReviewDocumentRequest\x12\x44\n\x0finline_document\x18\x04 \x01(\x0b\x32).google.cloud.documentai.v1beta3.DocumentH\x00\x12Q\n\x13human_review_config\x18\x01 \x01(\tB4\xe2\x41\x01\x02\xfa\x41-\n+documentai.googleapis.com/HumanReviewConfig\x12?\n\x08\x64ocument\x18\x02 \x01(\x0b\x32).google.cloud.documentai.v1beta3.DocumentB\x02\x18\x01\x12 \n\x18\x65nable_schema_validation\x18\x03 \x01(\x08\x12Q\n\x08priority\x18\x05 \x01(\x0e\x32?.google.cloud.documentai.v1beta3.ReviewDocumentRequest.Priority\x12H\n\x0f\x64ocument_schema\x18\x06 \x01(\x0b\x32/.google.cloud.documentai.v1beta3.DocumentSchema\"#\n\x08Priority\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\n\n\x06URGENT\x10\x01\x42\x08\n\x06source\"\xd6\x01\n\x16ReviewDocumentResponse\x12\x17\n\x0fgcs_destination\x18\x01 \x01(\t\x12L\n\x05state\x18\x02 \x01(\x0e\x32=.google.cloud.documentai.v1beta3.ReviewDocumentResponse.State\x12\x18\n\x10rejection_reason\x18\x03 \x01(\t\";\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08REJECTED\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\"\xc0\x03\n\x1fReviewDocumentOperationMetadata\x12U\n\x05state\x18\x01 \x01(\x0e\x32\x46.google.cloud.documentai.v1beta3.ReviewDocumentOperationMetadata.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\x12Q\n\x0f\x63ommon_metadata\x18\x05 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\x12\x13\n\x0bquestion_id\x18\x06 \x01(\t\"e\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\x0e\n\nCANCELLING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\r\n\tCANCELLED\x10\x05\"\xd1\x01\n\x1f\x45valuateProcessorVersionRequest\x12N\n\x11processor_version\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\x12^\n\x14\x65valuation_documents\x18\x03 \x01(\x0b\x32:.google.cloud.documentai.v1beta3.BatchDocumentsInputConfigB\x04\xe2\x41\x01\x01\"u\n EvaluateProcessorVersionMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"6\n EvaluateProcessorVersionResponse\x12\x12\n\nevaluation\x18\x02 \x01(\t\"S\n\x14GetEvaluationRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe2\x41\x01\x02\xfa\x41&\n$documentai.googleapis.com/Evaluation\"\x84\x01\n\x16ListEvaluationsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"t\n\x17ListEvaluationsResponse\x12@\n\x0b\x65valuations\x18\x01 \x03(\x0b\x32+.google.cloud.documentai.v1beta3.Evaluation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb3\x03\n\x1dImportProcessorVersionRequest\x12S\n\x18processor_version_source\x18\x02 \x01(\tB/\xfa\x41,\n*documentai.googleapis.com/ProcessorVersionH\x00\x12\x8a\x01\n!external_processor_version_source\x18\x03 \x01(\x0b\x32].google.cloud.documentai.v1beta3.ImportProcessorVersionRequest.ExternalProcessorVersionSourceH\x00\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\x12*documentai.googleapis.com/ProcessorVersion\x1a\x61\n\x1e\x45xternalProcessorVersionSource\x12\x1f\n\x11processor_version\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1e\n\x10service_endpoint\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x42\x08\n\x06source\"l\n\x1eImportProcessorVersionResponse\x12J\n\x11processor_version\x18\x01 \x01(\tB/\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\"s\n\x1eImportProcessorVersionMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata2\xeb.\n\x18\x44ocumentProcessorService\x12\x9b\x02\n\x0fProcessDocument\x12/.google.cloud.documentai.v1beta3.ProcessRequest\x1a\x30.google.cloud.documentai.v1beta3.ProcessResponse\"\xa4\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02\x96\x01\";/v1beta3/{name=projects/*/locations/*/processors/*}:process:\x01*ZT\"O/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}:process:\x01*\x12\xcc\x02\n\x15\x42\x61tchProcessDocuments\x12\x34.google.cloud.documentai.v1beta3.BatchProcessRequest\x1a\x1d.google.longrunning.Operation\"\xdd\x01\xca\x41,\n\x14\x42\x61tchProcessResponse\x12\x14\x42\x61tchProcessMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\xa0\x01\"@/v1beta3/{name=projects/*/locations/*/processors/*}:batchProcess:\x01*ZY\"T/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}:batchProcess:\x01*\x12\xdf\x01\n\x13\x46\x65tchProcessorTypes\x12;.google.cloud.documentai.v1beta3.FetchProcessorTypesRequest\x1a<.google.cloud.documentai.v1beta3.FetchProcessorTypesResponse\"M\xda\x41\x06parent\x82\xd3\xe4\x93\x02>\x12</v1beta3/{parent=projects/*/locations/*}:fetchProcessorTypes\x12\xd7\x01\n\x12ListProcessorTypes\x12:.google.cloud.documentai.v1beta3.ListProcessorTypesRequest\x1a;.google.cloud.documentai.v1beta3.ListProcessorTypesResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1beta3/{parent=projects/*/locations/*}/processorTypes\x12\xc4\x01\n\x10GetProcessorType\x12\x38.google.cloud.documentai.v1beta3.GetProcessorTypeRequest\x1a..google.cloud.documentai.v1beta3.ProcessorType\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\x12\x37/v1beta3/{name=projects/*/locations/*/processorTypes/*}\x12\xc7\x01\n\x0eListProcessors\x12\x36.google.cloud.documentai.v1beta3.ListProcessorsRequest\x1a\x37.google.cloud.documentai.v1beta3.ListProcessorsResponse\"D\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x35\x12\x33/v1beta3/{parent=projects/*/locations/*}/processors\x12\xb4\x01\n\x0cGetProcessor\x12\x34.google.cloud.documentai.v1beta3.GetProcessorRequest\x1a*.google.cloud.documentai.v1beta3.Processor\"B\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35\x12\x33/v1beta3/{name=projects/*/locations/*/processors/*}\x12\xac\x02\n\x15TrainProcessorVersion\x12=.google.cloud.documentai.v1beta3.TrainProcessorVersionRequest\x1a\x1d.google.longrunning.Operation\"\xb4\x01\xca\x41>\n\x1dTrainProcessorVersionResponse\x12\x1dTrainProcessorVersionMetadata\xda\x41\x18parent,processor_version\x82\xd3\xe4\x93\x02R\"M/v1beta3/{parent=projects/*/locations/*/processors/*}/processorVersions:train:\x01*\x12\xdd\x01\n\x13GetProcessorVersion\x12;.google.cloud.documentai.v1beta3.GetProcessorVersionRequest\x1a\x31.google.cloud.documentai.v1beta3.ProcessorVersion\"V\xda\x41\x04name\x82\xd3\xe4\x93\x02I\x12G/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}\x12\xf0\x01\n\x15ListProcessorVersions\x12=.google.cloud.documentai.v1beta3.ListProcessorVersionsRequest\x1a>.google.cloud.documentai.v1beta3.ListProcessorVersionsResponse\"X\xda\x41\x06parent\x82\xd3\xe4\x93\x02I\x12G/v1beta3/{parent=projects/*/locations/*/processors/*}/processorVersions\x12\x8a\x02\n\x16\x44\x65leteProcessorVersion\x12>.google.cloud.documentai.v1beta3.DeleteProcessorVersionRequest\x1a\x1d.google.longrunning.Operation\"\x90\x01\xca\x41\x37\n\x15google.protobuf.Empty\x12\x1e\x44\x65leteProcessorVersionMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02I*G/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}\x12\x9d\x02\n\x16\x44\x65ployProcessorVersion\x12>.google.cloud.documentai.v1beta3.DeployProcessorVersionRequest\x1a\x1d.google.longrunning.Operation\"\xa3\x01\xca\x41@\n\x1e\x44\x65ployProcessorVersionResponse\x12\x1e\x44\x65ployProcessorVersionMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02S\"N/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}:deploy:\x01*\x12\xa7\x02\n\x18UndeployProcessorVersion\x12@.google.cloud.documentai.v1beta3.UndeployProcessorVersionRequest\x1a\x1d.google.longrunning.Operation\"\xa9\x01\xca\x41\x44\n UndeployProcessorVersionResponse\x12 UndeployProcessorVersionMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02U\"P/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*}:undeploy:\x01*\x12\xd1\x01\n\x0f\x43reateProcessor\x12\x37.google.cloud.documentai.v1beta3.CreateProcessorRequest\x1a*.google.cloud.documentai.v1beta3.Processor\"Y\xda\x41\x10parent,processor\x82\xd3\xe4\x93\x02@\"3/v1beta3/{parent=projects/*/locations/*}/processors:\tprocessor\x12\xe0\x01\n\x0f\x44\x65leteProcessor\x12\x37.google.cloud.documentai.v1beta3.DeleteProcessorRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteProcessorMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x35*3/v1beta3/{name=projects/*/locations/*/processors/*}\x12\xe5\x01\n\x0f\x45nableProcessor\x12\x37.google.cloud.documentai.v1beta3.EnableProcessorRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x32\n\x17\x45nableProcessorResponse\x12\x17\x45nableProcessorMetadata\x82\xd3\xe4\x93\x02?\":/v1beta3/{name=projects/*/locations/*/processors/*}:enable:\x01*\x12\xea\x01\n\x10\x44isableProcessor\x12\x38.google.cloud.documentai.v1beta3.DisableProcessorRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x34\n\x18\x44isableProcessorResponse\x12\x18\x44isableProcessorMetadata\x82\xd3\xe4\x93\x02@\";/v1beta3/{name=projects/*/locations/*/processors/*}:disable:\x01*\x12\xab\x02\n\x1aSetDefaultProcessorVersion\x12\x42.google.cloud.documentai.v1beta3.SetDefaultProcessorVersionRequest\x1a\x1d.google.longrunning.Operation\"\xa9\x01\xca\x41H\n\"SetDefaultProcessorVersionResponse\x12\"SetDefaultProcessorVersionMetadata\x82\xd3\xe4\x93\x02X\"S/v1beta3/{processor=projects/*/locations/*/processors/*}:setDefaultProcessorVersion:\x01*\x12\xaa\x02\n\x0eReviewDocument\x12\x36.google.cloud.documentai.v1beta3.ReviewDocumentRequest\x1a\x1d.google.longrunning.Operation\"\xc0\x01\xca\x41\x39\n\x16ReviewDocumentResponse\x12\x1fReviewDocumentOperationMetadata\xda\x41\x13human_review_config\x82\xd3\xe4\x93\x02h\"c/v1beta3/{human_review_config=projects/*/locations/*/processors/*/humanReviewConfig}:reviewDocument:\x01*\x12\xd1\x02\n\x18\x45valuateProcessorVersion\x12@.google.cloud.documentai.v1beta3.EvaluateProcessorVersionRequest\x1a\x1d.google.longrunning.Operation\"\xd3\x01\xca\x41\x44\n EvaluateProcessorVersionResponse\x12 EvaluateProcessorVersionMetadata\xda\x41\x11processor_version\x82\xd3\xe4\x93\x02r\"m/v1beta3/{processor_version=projects/*/locations/*/processors/*/processorVersions/*}:evaluateProcessorVersion:\x01*\x12\xd9\x01\n\rGetEvaluation\x12\x35.google.cloud.documentai.v1beta3.GetEvaluationRequest\x1a+.google.cloud.documentai.v1beta3.Evaluation\"d\xda\x41\x04name\x82\xd3\xe4\x93\x02W\x12U/v1beta3/{name=projects/*/locations/*/processors/*/processorVersions/*/evaluations/*}\x12\xec\x01\n\x0fListEvaluations\x12\x37.google.cloud.documentai.v1beta3.ListEvaluationsRequest\x1a\x38.google.cloud.documentai.v1beta3.ListEvaluationsResponse\"f\xda\x41\x06parent\x82\xd3\xe4\x93\x02W\x12U/v1beta3/{parent=projects/*/locations/*/processors/*/processorVersions/*}/evaluations\x12\xaf\x02\n\x16ImportProcessorVersion\x12>.google.cloud.documentai.v1beta3.ImportProcessorVersionRequest\x1a\x1d.google.longrunning.Operation\"\xb5\x01\xca\x41@\n\x1eImportProcessorVersionResponse\x12\x1eImportProcessorVersionMetadata\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x63\"^/v1beta3/{parent=projects/*/locations/*/processors/*}/processorVersions:importProcessorVersion:\x01*\x1aM\xca\x41\x19\x64ocumentai.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc3\x03\n#com.google.cloud.documentai.v1beta3B\x1a\x44ocumentAiProcessorServiceP\x01ZCcloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb\xaa\x02\x1fGoogle.Cloud.DocumentAI.V1Beta3\xca\x02\x1fGoogle\\Cloud\\DocumentAI\\V1beta3\xea\x02\"Google::Cloud::DocumentAI::V1beta3\xea\x41\x7f\n+documentai.googleapis.com/HumanReviewConfig\x12Pprojects/{project}/locations/{location}/processors/{processor}/humanReviewConfig\xea\x41M\n\"documentai.googleapis.com/Location\x12\'projects/{project}/locations/{location}b\x06proto3"
26
26
 
27
27
  pool = Google::Protobuf::DescriptorPool.generated_pool
28
28
 
29
29
  begin
30
30
  pool.add_serialized_file(descriptor_data)
31
- rescue TypeError => e
31
+ rescue TypeError
32
32
  # Compatibility code: will be removed in the next major version.
33
33
  require 'google/protobuf/descriptor_pb'
34
34
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -11,7 +11,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
12
12
  begin
13
13
  pool.add_serialized_file(descriptor_data)
14
- rescue TypeError => e
14
+ rescue TypeError
15
15
  # Compatibility code: will be removed in the next major version.
16
16
  require 'google/protobuf/descriptor_pb'
17
17
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -17,13 +17,13 @@ require 'google/protobuf/field_mask_pb'
17
17
  require 'google/rpc/status_pb'
18
18
 
19
19
 
20
- descriptor_data = "\n6google/cloud/documentai/v1beta3/document_service.proto\x12\x1fgoogle.cloud.documentai.v1beta3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/documentai/v1beta3/dataset.proto\x1a.google/cloud/documentai/v1beta3/document.proto\x1a\x31google/cloud/documentai/v1beta3/document_io.proto\x1a\x38google/cloud/documentai/v1beta3/operation_metadata.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"\x87\x01\n\x14UpdateDatasetRequest\x12>\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32(.google.cloud.documentai.v1beta3.DatasetB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"s\n\x1eUpdateDatasetOperationMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"\xdf\x04\n\x16ImportDocumentsRequest\x12:\n\x07\x64\x61taset\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!documentai.googleapis.com/Dataset\x12\x7f\n\x1e\x62\x61tch_documents_import_configs\x18\x04 \x03(\x0b\x32R.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfigB\x03\xe0\x41\x02\x1a\x87\x03\n\x1a\x42\x61tchDocumentsImportConfig\x12J\n\rdataset_split\x18\x02 \x01(\x0e\x32\x31.google.cloud.documentai.v1beta3.DatasetSplitTypeH\x00\x12\x7f\n\x11\x61uto_split_config\x18\x03 \x01(\x0b\x32\x62.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfigH\x00\x12V\n\x12\x62\x61tch_input_config\x18\x01 \x01(\x0b\x32:.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig\x1a/\n\x0f\x41utoSplitConfig\x12\x1c\n\x14training_split_ratio\x18\x01 \x01(\x02\x42\x13\n\x11split_type_config\"\x19\n\x17ImportDocumentsResponse\"\x80\x05\n\x17ImportDocumentsMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\x12s\n\x1aindividual_import_statuses\x18\x02 \x03(\x0b\x32O.google.cloud.documentai.v1beta3.ImportDocumentsMetadata.IndividualImportStatus\x12\x7f\n import_config_validation_results\x18\x04 \x03(\x0b\x32U.google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResult\x12\x1c\n\x14total_document_count\x18\x03 \x01(\x05\x1a\x9f\x01\n\x16IndividualImportStatus\x12\x18\n\x10input_gcs_source\x18\x01 \x01(\t\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x12G\n\x12output_document_id\x18\x04 \x01(\x0b\x32+.google.cloud.documentai.v1beta3.DocumentId\x1a\\\n\x1cImportConfigValidationResult\x12\x18\n\x10input_gcs_source\x18\x01 \x01(\t\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\"\x8e\x02\n\x12GetDocumentRequest\x12:\n\x07\x64\x61taset\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!documentai.googleapis.com/Dataset\x12\x45\n\x0b\x64ocument_id\x18\x02 \x01(\x0b\x32+.google.cloud.documentai.v1beta3.DocumentIdB\x03\xe0\x41\x02\x12-\n\tread_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x46\n\npage_range\x18\x04 \x01(\x0b\x32\x32.google.cloud.documentai.v1beta3.DocumentPageRange\"R\n\x13GetDocumentResponse\x12;\n\x08\x64ocument\x18\x01 \x01(\x0b\x32).google.cloud.documentai.v1beta3.Document\"\xc1\x01\n\x14ListDocumentsRequest\x12:\n\x07\x64\x61taset\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!documentai.googleapis.com/Dataset\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1e\n\x11return_total_size\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04skip\x18\x08 \x01(\x05\x42\x03\xe0\x41\x01\"\x92\x01\n\x15ListDocumentsResponse\x12L\n\x11\x64ocument_metadata\x18\x01 \x03(\x0b\x32\x31.google.cloud.documentai.v1beta3.DocumentMetadata\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"\x8b\x01\n\x1b\x42\x61tchDeleteDocumentsRequest\x12\x14\n\x07\x64\x61taset\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12V\n\x11\x64\x61taset_documents\x18\x03 \x01(\x0b\x32\x36.google.cloud.documentai.v1beta3.BatchDatasetDocumentsB\x03\xe0\x41\x02\"\x1e\n\x1c\x42\x61tchDeleteDocumentsResponse\"\xb9\x03\n\x1c\x42\x61tchDeleteDocumentsMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\x12\x83\x01\n individual_batch_delete_statuses\x18\x02 \x03(\x0b\x32Y.google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus\x12\x1c\n\x14total_document_count\x18\x03 \x01(\x05\x12\x1c\n\x14\x65rror_document_count\x18\x04 \x01(\x05\x1a\x83\x01\n\x1bIndividualBatchDeleteStatus\x12@\n\x0b\x64ocument_id\x18\x01 \x01(\x0b\x32+.google.cloud.documentai.v1beta3.DocumentId\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\"u\n\x17GetDatasetSchemaRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'documentai.googleapis.com/DatasetSchema\x12\x1b\n\x13visible_fields_only\x18\x02 \x01(\x08\"\x9a\x01\n\x1aUpdateDatasetSchemaRequest\x12K\n\x0e\x64\x61taset_schema\x18\x01 \x01(\x0b\x32..google.cloud.documentai.v1beta3.DatasetSchemaB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"/\n\x11\x44ocumentPageRange\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\"\x97\x02\n\x10\x44ocumentMetadata\x12@\n\x0b\x64ocument_id\x18\x01 \x01(\x0b\x32+.google.cloud.documentai.v1beta3.DocumentId\x12\x12\n\npage_count\x18\x02 \x01(\x05\x12G\n\x0c\x64\x61taset_type\x18\x03 \x01(\x0e\x32\x31.google.cloud.documentai.v1beta3.DatasetSplitType\x12N\n\x0elabeling_state\x18\x05 \x01(\x0e\x32\x36.google.cloud.documentai.v1beta3.DocumentLabelingState\x12\x14\n\x0c\x64isplay_name\x18\x06 \x01(\t*\x85\x01\n\x10\x44\x61tasetSplitType\x12\"\n\x1e\x44\x41TASET_SPLIT_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13\x44\x41TASET_SPLIT_TRAIN\x10\x01\x12\x16\n\x12\x44\x41TASET_SPLIT_TEST\x10\x02\x12\x1c\n\x18\x44\x41TASET_SPLIT_UNASSIGNED\x10\x03*\x89\x01\n\x15\x44ocumentLabelingState\x12\'\n#DOCUMENT_LABELING_STATE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x44OCUMENT_LABELED\x10\x01\x12\x16\n\x12\x44OCUMENT_UNLABELED\x10\x02\x12\x19\n\x15\x44OCUMENT_AUTO_LABELED\x10\x03\x32\xb3\x0e\n\x0f\x44ocumentService\x12\xfe\x01\n\rUpdateDataset\x12\x35.google.cloud.documentai.v1beta3.UpdateDatasetRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\x82\xd3\xe4\x93\x02N2C/v1beta3/{dataset.name=projects/*/locations/*/processors/*/dataset}:\x07\x64\x61taset\xda\x41\x13\x64\x61taset,update_mask\xca\x41)\n\x07\x44\x61taset\x12\x1eUpdateDatasetOperationMetadata\x12\x84\x02\n\x0fImportDocuments\x12\x37.google.cloud.documentai.v1beta3.ImportDocumentsRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\x82\xd3\xe4\x93\x02S\"N/v1beta3/{dataset=projects/*/locations/*/processors/*/dataset}:importDocuments:\x01*\xda\x41\x07\x64\x61taset\xca\x41\x32\n\x17ImportDocumentsResponse\x12\x17ImportDocumentsMetadata\x12\xd6\x01\n\x0bGetDocument\x12\x33.google.cloud.documentai.v1beta3.GetDocumentRequest\x1a\x34.google.cloud.documentai.v1beta3.GetDocumentResponse\"\\\x82\xd3\xe4\x93\x02L\x12J/v1beta3/{dataset=projects/*/locations/*/processors/*/dataset}:getDocument\xda\x41\x07\x64\x61taset\x12\xe1\x01\n\rListDocuments\x12\x35.google.cloud.documentai.v1beta3.ListDocumentsRequest\x1a\x36.google.cloud.documentai.v1beta3.ListDocumentsResponse\"a\x82\xd3\xe4\x93\x02Q\"L/v1beta3/{dataset=projects/*/locations/*/processors/*/dataset}:listDocuments:\x01*\xda\x41\x07\x64\x61taset\x12\x9d\x02\n\x14\x42\x61tchDeleteDocuments\x12<.google.cloud.documentai.v1beta3.BatchDeleteDocumentsRequest\x1a\x1d.google.longrunning.Operation\"\xa7\x01\x82\xd3\xe4\x93\x02X\"S/v1beta3/{dataset=projects/*/locations/*/processors/*/dataset}:batchDeleteDocuments:\x01*\xda\x41\x07\x64\x61taset\xca\x41<\n\x1c\x42\x61tchDeleteDocumentsResponse\x12\x1c\x42\x61tchDeleteDocumentsMetadata\x12\xd6\x01\n\x10GetDatasetSchema\x12\x38.google.cloud.documentai.v1beta3.GetDatasetSchemaRequest\x1a..google.cloud.documentai.v1beta3.DatasetSchema\"X\x82\xd3\xe4\x93\x02K\x12I/v1beta3/{name=projects/*/locations/*/processors/*/dataset/datasetSchema}\xda\x41\x04name\x12\x92\x02\n\x13UpdateDatasetSchema\x12;.google.cloud.documentai.v1beta3.UpdateDatasetSchemaRequest\x1a..google.cloud.documentai.v1beta3.DatasetSchema\"\x8d\x01\x82\xd3\xe4\x93\x02j2X/v1beta3/{dataset_schema.name=projects/*/locations/*/processors/*/dataset/datasetSchema}:\x0e\x64\x61taset_schema\xda\x41\x1a\x64\x61taset_schema,update_mask\x1aM\xca\x41\x19\x64ocumentai.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf0\x01\n#com.google.cloud.documentai.v1beta3B\x19\x44ocumentAiDocumentServiceP\x01ZCcloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb\xaa\x02\x1fGoogle.Cloud.DocumentAI.V1Beta3\xca\x02\x1fGoogle\\Cloud\\DocumentAI\\V1beta3\xea\x02\"Google::Cloud::DocumentAI::V1beta3b\x06proto3"
20
+ descriptor_data = "\n6google/cloud/documentai/v1beta3/document_service.proto\x12\x1fgoogle.cloud.documentai.v1beta3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/documentai/v1beta3/dataset.proto\x1a.google/cloud/documentai/v1beta3/document.proto\x1a\x31google/cloud/documentai/v1beta3/document_io.proto\x1a\x38google/cloud/documentai/v1beta3/operation_metadata.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"\x88\x01\n\x14UpdateDatasetRequest\x12?\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32(.google.cloud.documentai.v1beta3.DatasetB\x04\xe2\x41\x01\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"s\n\x1eUpdateDatasetOperationMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\"\xe2\x04\n\x16ImportDocumentsRequest\x12;\n\x07\x64\x61taset\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!documentai.googleapis.com/Dataset\x12\x80\x01\n\x1e\x62\x61tch_documents_import_configs\x18\x04 \x03(\x0b\x32R.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfigB\x04\xe2\x41\x01\x02\x1a\x87\x03\n\x1a\x42\x61tchDocumentsImportConfig\x12J\n\rdataset_split\x18\x02 \x01(\x0e\x32\x31.google.cloud.documentai.v1beta3.DatasetSplitTypeH\x00\x12\x7f\n\x11\x61uto_split_config\x18\x03 \x01(\x0b\x32\x62.google.cloud.documentai.v1beta3.ImportDocumentsRequest.BatchDocumentsImportConfig.AutoSplitConfigH\x00\x12V\n\x12\x62\x61tch_input_config\x18\x01 \x01(\x0b\x32:.google.cloud.documentai.v1beta3.BatchDocumentsInputConfig\x1a/\n\x0f\x41utoSplitConfig\x12\x1c\n\x14training_split_ratio\x18\x01 \x01(\x02\x42\x13\n\x11split_type_config\"\x19\n\x17ImportDocumentsResponse\"\x80\x05\n\x17ImportDocumentsMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\x12s\n\x1aindividual_import_statuses\x18\x02 \x03(\x0b\x32O.google.cloud.documentai.v1beta3.ImportDocumentsMetadata.IndividualImportStatus\x12\x7f\n import_config_validation_results\x18\x04 \x03(\x0b\x32U.google.cloud.documentai.v1beta3.ImportDocumentsMetadata.ImportConfigValidationResult\x12\x1c\n\x14total_document_count\x18\x03 \x01(\x05\x1a\x9f\x01\n\x16IndividualImportStatus\x12\x18\n\x10input_gcs_source\x18\x01 \x01(\t\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\x12G\n\x12output_document_id\x18\x04 \x01(\x0b\x32+.google.cloud.documentai.v1beta3.DocumentId\x1a\\\n\x1cImportConfigValidationResult\x12\x18\n\x10input_gcs_source\x18\x01 \x01(\t\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\"\x90\x02\n\x12GetDocumentRequest\x12;\n\x07\x64\x61taset\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!documentai.googleapis.com/Dataset\x12\x46\n\x0b\x64ocument_id\x18\x02 \x01(\x0b\x32+.google.cloud.documentai.v1beta3.DocumentIdB\x04\xe2\x41\x01\x02\x12-\n\tread_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x46\n\npage_range\x18\x04 \x01(\x0b\x32\x32.google.cloud.documentai.v1beta3.DocumentPageRange\"R\n\x13GetDocumentResponse\x12;\n\x08\x64ocument\x18\x01 \x01(\x0b\x32).google.cloud.documentai.v1beta3.Document\"\xc5\x01\n\x14ListDocumentsRequest\x12;\n\x07\x64\x61taset\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!documentai.googleapis.com/Dataset\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x14\n\x06\x66ilter\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1f\n\x11return_total_size\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x12\n\x04skip\x18\x08 \x01(\x05\x42\x04\xe2\x41\x01\x01\"\x92\x01\n\x15ListDocumentsResponse\x12L\n\x11\x64ocument_metadata\x18\x01 \x03(\x0b\x32\x31.google.cloud.documentai.v1beta3.DocumentMetadata\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"\x8d\x01\n\x1b\x42\x61tchDeleteDocumentsRequest\x12\x15\n\x07\x64\x61taset\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12W\n\x11\x64\x61taset_documents\x18\x03 \x01(\x0b\x32\x36.google.cloud.documentai.v1beta3.BatchDatasetDocumentsB\x04\xe2\x41\x01\x02\"\x1e\n\x1c\x42\x61tchDeleteDocumentsResponse\"\xb9\x03\n\x1c\x42\x61tchDeleteDocumentsMetadata\x12Q\n\x0f\x63ommon_metadata\x18\x01 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.CommonOperationMetadata\x12\x83\x01\n individual_batch_delete_statuses\x18\x02 \x03(\x0b\x32Y.google.cloud.documentai.v1beta3.BatchDeleteDocumentsMetadata.IndividualBatchDeleteStatus\x12\x1c\n\x14total_document_count\x18\x03 \x01(\x05\x12\x1c\n\x14\x65rror_document_count\x18\x04 \x01(\x05\x1a\x83\x01\n\x1bIndividualBatchDeleteStatus\x12@\n\x0b\x64ocument_id\x18\x01 \x01(\x0b\x32+.google.cloud.documentai.v1beta3.DocumentId\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\"v\n\x17GetDatasetSchemaRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe2\x41\x01\x02\xfa\x41)\n\'documentai.googleapis.com/DatasetSchema\x12\x1b\n\x13visible_fields_only\x18\x02 \x01(\x08\"\x9b\x01\n\x1aUpdateDatasetSchemaRequest\x12L\n\x0e\x64\x61taset_schema\x18\x01 \x01(\x0b\x32..google.cloud.documentai.v1beta3.DatasetSchemaB\x04\xe2\x41\x01\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"/\n\x11\x44ocumentPageRange\x12\r\n\x05start\x18\x01 \x01(\x05\x12\x0b\n\x03\x65nd\x18\x02 \x01(\x05\"\x97\x02\n\x10\x44ocumentMetadata\x12@\n\x0b\x64ocument_id\x18\x01 \x01(\x0b\x32+.google.cloud.documentai.v1beta3.DocumentId\x12\x12\n\npage_count\x18\x02 \x01(\x05\x12G\n\x0c\x64\x61taset_type\x18\x03 \x01(\x0e\x32\x31.google.cloud.documentai.v1beta3.DatasetSplitType\x12N\n\x0elabeling_state\x18\x05 \x01(\x0e\x32\x36.google.cloud.documentai.v1beta3.DocumentLabelingState\x12\x14\n\x0c\x64isplay_name\x18\x06 \x01(\t*\x85\x01\n\x10\x44\x61tasetSplitType\x12\"\n\x1e\x44\x41TASET_SPLIT_TYPE_UNSPECIFIED\x10\x00\x12\x17\n\x13\x44\x41TASET_SPLIT_TRAIN\x10\x01\x12\x16\n\x12\x44\x41TASET_SPLIT_TEST\x10\x02\x12\x1c\n\x18\x44\x41TASET_SPLIT_UNASSIGNED\x10\x03*\x89\x01\n\x15\x44ocumentLabelingState\x12\'\n#DOCUMENT_LABELING_STATE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x44OCUMENT_LABELED\x10\x01\x12\x16\n\x12\x44OCUMENT_UNLABELED\x10\x02\x12\x19\n\x15\x44OCUMENT_AUTO_LABELED\x10\x03\x32\xb3\x0e\n\x0f\x44ocumentService\x12\xfe\x01\n\rUpdateDataset\x12\x35.google.cloud.documentai.v1beta3.UpdateDatasetRequest\x1a\x1d.google.longrunning.Operation\"\x96\x01\xca\x41)\n\x07\x44\x61taset\x12\x1eUpdateDatasetOperationMetadata\xda\x41\x13\x64\x61taset,update_mask\x82\xd3\xe4\x93\x02N2C/v1beta3/{dataset.name=projects/*/locations/*/processors/*/dataset}:\x07\x64\x61taset\x12\x84\x02\n\x0fImportDocuments\x12\x37.google.cloud.documentai.v1beta3.ImportDocumentsRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\xca\x41\x32\n\x17ImportDocumentsResponse\x12\x17ImportDocumentsMetadata\xda\x41\x07\x64\x61taset\x82\xd3\xe4\x93\x02S\"N/v1beta3/{dataset=projects/*/locations/*/processors/*/dataset}:importDocuments:\x01*\x12\xd6\x01\n\x0bGetDocument\x12\x33.google.cloud.documentai.v1beta3.GetDocumentRequest\x1a\x34.google.cloud.documentai.v1beta3.GetDocumentResponse\"\\\xda\x41\x07\x64\x61taset\x82\xd3\xe4\x93\x02L\x12J/v1beta3/{dataset=projects/*/locations/*/processors/*/dataset}:getDocument\x12\xe1\x01\n\rListDocuments\x12\x35.google.cloud.documentai.v1beta3.ListDocumentsRequest\x1a\x36.google.cloud.documentai.v1beta3.ListDocumentsResponse\"a\xda\x41\x07\x64\x61taset\x82\xd3\xe4\x93\x02Q\"L/v1beta3/{dataset=projects/*/locations/*/processors/*/dataset}:listDocuments:\x01*\x12\x9d\x02\n\x14\x42\x61tchDeleteDocuments\x12<.google.cloud.documentai.v1beta3.BatchDeleteDocumentsRequest\x1a\x1d.google.longrunning.Operation\"\xa7\x01\xca\x41<\n\x1c\x42\x61tchDeleteDocumentsResponse\x12\x1c\x42\x61tchDeleteDocumentsMetadata\xda\x41\x07\x64\x61taset\x82\xd3\xe4\x93\x02X\"S/v1beta3/{dataset=projects/*/locations/*/processors/*/dataset}:batchDeleteDocuments:\x01*\x12\xd6\x01\n\x10GetDatasetSchema\x12\x38.google.cloud.documentai.v1beta3.GetDatasetSchemaRequest\x1a..google.cloud.documentai.v1beta3.DatasetSchema\"X\xda\x41\x04name\x82\xd3\xe4\x93\x02K\x12I/v1beta3/{name=projects/*/locations/*/processors/*/dataset/datasetSchema}\x12\x92\x02\n\x13UpdateDatasetSchema\x12;.google.cloud.documentai.v1beta3.UpdateDatasetSchemaRequest\x1a..google.cloud.documentai.v1beta3.DatasetSchema\"\x8d\x01\xda\x41\x1a\x64\x61taset_schema,update_mask\x82\xd3\xe4\x93\x02j2X/v1beta3/{dataset_schema.name=projects/*/locations/*/processors/*/dataset/datasetSchema}:\x0e\x64\x61taset_schema\x1aM\xca\x41\x19\x64ocumentai.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xf0\x01\n#com.google.cloud.documentai.v1beta3B\x19\x44ocumentAiDocumentServiceP\x01ZCcloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb\xaa\x02\x1fGoogle.Cloud.DocumentAI.V1Beta3\xca\x02\x1fGoogle\\Cloud\\DocumentAI\\V1beta3\xea\x02\"Google::Cloud::DocumentAI::V1beta3b\x06proto3"
21
21
 
22
22
  pool = Google::Protobuf::DescriptorPool.generated_pool
23
23
 
24
24
  begin
25
25
  pool.add_serialized_file(descriptor_data)
26
- rescue TypeError => e
26
+ rescue TypeError
27
27
  # Compatibility code: will be removed in the next major version.
28
28
  require 'google/protobuf/descriptor_pb'
29
29
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -14,7 +14,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
15
15
  begin
16
16
  pool.add_serialized_file(descriptor_data)
17
- rescue TypeError => e
17
+ rescue TypeError
18
18
  # Compatibility code: will be removed in the next major version.
19
19
  require 'google/protobuf/descriptor_pb'
20
20
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -11,7 +11,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
12
12
  begin
13
13
  pool.add_serialized_file(descriptor_data)
14
- rescue TypeError => e
14
+ rescue TypeError
15
15
  # Compatibility code: will be removed in the next major version.
16
16
  require 'google/protobuf/descriptor_pb'
17
17
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -13,7 +13,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
13
13
 
14
14
  begin
15
15
  pool.add_serialized_file(descriptor_data)
16
- rescue TypeError => e
16
+ rescue TypeError
17
17
  # Compatibility code: will be removed in the next major version.
18
18
  require 'google/protobuf/descriptor_pb'
19
19
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -11,13 +11,13 @@ require 'google/cloud/documentai/v1beta3/evaluation_pb'
11
11
  require 'google/protobuf/timestamp_pb'
12
12
 
13
13
 
14
- descriptor_data = "\n/google/cloud/documentai/v1beta3/processor.proto\x12\x1fgoogle.cloud.documentai.v1beta3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/documentai/v1beta3/document_schema.proto\x1a\x30google/cloud/documentai/v1beta3/evaluation.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc9\x07\n\x10ProcessorVersion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12H\n\x0f\x64ocument_schema\x18\x0c \x01(\x0b\x32/.google.cloud.documentai.v1beta3.DocumentSchema\x12\x46\n\x05state\x18\x06 \x01(\x0e\x32\x37.google.cloud.documentai.v1beta3.ProcessorVersion.State\x12/\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12O\n\x11latest_evaluation\x18\x08 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.EvaluationReference\x12\x14\n\x0ckms_key_name\x18\t \x01(\t\x12\x1c\n\x14kms_key_version_name\x18\n \x01(\t\x12\x1b\n\x0egoogle_managed\x18\x0b \x01(\x08\x42\x03\xe0\x41\x03\x12[\n\x10\x64\x65precation_info\x18\r \x01(\x0b\x32\x41.google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo\x1a\x9f\x01\n\x0f\x44\x65precationInfo\x12\x34\n\x10\x64\x65precation_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12V\n\x1dreplacement_processor_version\x18\x02 \x01(\tB/\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\"\x93\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44\x45PLOYED\x10\x01\x12\r\n\tDEPLOYING\x10\x02\x12\x0e\n\nUNDEPLOYED\x10\x03\x12\x0f\n\x0bUNDEPLOYING\x10\x04\x12\x0c\n\x08\x43REATING\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\n\n\x06\x46\x41ILED\x10\x07\x12\r\n\tIMPORTING\x10\x08:\x96\x01\xea\x41\x92\x01\n*documentai.googleapis.com/ProcessorVersion\x12\x64projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}\"r\n\x15ProcessorVersionAlias\x12\r\n\x05\x61lias\x18\x01 \x01(\t\x12J\n\x11processor_version\x18\x02 \x01(\tB/\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\"\x92\x05\n\tProcessor\x12\x14\n\x04name\x18\x01 \x01(\tB\x06\xe0\x41\x05\xe0\x41\x03\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x44\n\x05state\x18\x04 \x01(\x0e\x32\x30.google.cloud.documentai.v1beta3.Processor.StateB\x03\xe0\x41\x03\x12R\n\x19\x64\x65\x66\x61ult_processor_version\x18\t \x01(\tB/\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\x12^\n\x19processor_version_aliases\x18\n \x03(\x0b\x32\x36.google.cloud.documentai.v1beta3.ProcessorVersionAliasB\x03\xe0\x41\x03\x12 \n\x10process_endpoint\x18\x06 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x05\x12/\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0ckms_key_name\x18\x08 \x01(\t\"~\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\x0c\n\x08\x45NABLING\x10\x03\x12\r\n\tDISABLING\x10\x04\x12\x0c\n\x08\x43REATING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x0c\n\x08\x44\x45LETING\x10\x07:h\xea\x41\x65\n#documentai.googleapis.com/Processor\x12>projects/{project}/locations/{location}/processors/{processor}B\xea\x01\n#com.google.cloud.documentai.v1beta3B\x13\x44ocumentAiProcessorP\x01ZCcloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb\xaa\x02\x1fGoogle.Cloud.DocumentAI.V1Beta3\xca\x02\x1fGoogle\\Cloud\\DocumentAI\\V1beta3\xea\x02\"Google::Cloud::DocumentAI::V1beta3b\x06proto3"
14
+ descriptor_data = "\n/google/cloud/documentai/v1beta3/processor.proto\x12\x1fgoogle.cloud.documentai.v1beta3\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x35google/cloud/documentai/v1beta3/document_schema.proto\x1a\x30google/cloud/documentai/v1beta3/evaluation.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfc\x08\n\x10ProcessorVersion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12H\n\x0f\x64ocument_schema\x18\x0c \x01(\x0b\x32/.google.cloud.documentai.v1beta3.DocumentSchema\x12\x46\n\x05state\x18\x06 \x01(\x0e\x32\x37.google.cloud.documentai.v1beta3.ProcessorVersion.State\x12/\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12O\n\x11latest_evaluation\x18\x08 \x01(\x0b\x32\x34.google.cloud.documentai.v1beta3.EvaluationReference\x12\x14\n\x0ckms_key_name\x18\t \x01(\t\x12\x1c\n\x14kms_key_version_name\x18\n \x01(\t\x12\x1c\n\x0egoogle_managed\x18\x0b \x01(\x08\x42\x04\xe2\x41\x01\x03\x12[\n\x10\x64\x65precation_info\x18\r \x01(\x0b\x32\x41.google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo\x12U\n\nmodel_type\x18\x0f \x01(\x0e\x32;.google.cloud.documentai.v1beta3.ProcessorVersion.ModelTypeB\x04\xe2\x41\x01\x03\x1a\x9f\x01\n\x0f\x44\x65precationInfo\x12\x34\n\x10\x64\x65precation_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12V\n\x1dreplacement_processor_version\x18\x02 \x01(\tB/\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\"\x93\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44\x45PLOYED\x10\x01\x12\r\n\tDEPLOYING\x10\x02\x12\x0e\n\nUNDEPLOYED\x10\x03\x12\x0f\n\x0bUNDEPLOYING\x10\x04\x12\x0c\n\x08\x43REATING\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\n\n\x06\x46\x41ILED\x10\x07\x12\r\n\tIMPORTING\x10\x08\"Y\n\tModelType\x12\x1a\n\x16MODEL_TYPE_UNSPECIFIED\x10\x00\x12\x19\n\x15MODEL_TYPE_GENERATIVE\x10\x01\x12\x15\n\x11MODEL_TYPE_CUSTOM\x10\x02:\x96\x01\xea\x41\x92\x01\n*documentai.googleapis.com/ProcessorVersion\x12\x64projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processor_version}\"r\n\x15ProcessorVersionAlias\x12\r\n\x05\x61lias\x18\x01 \x01(\t\x12J\n\x11processor_version\x18\x02 \x01(\tB/\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\"\x92\x05\n\tProcessor\x12\x13\n\x04name\x18\x01 \x01(\tB\x05\xe2\x41\x02\x05\x03\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x45\n\x05state\x18\x04 \x01(\x0e\x32\x30.google.cloud.documentai.v1beta3.Processor.StateB\x04\xe2\x41\x01\x03\x12R\n\x19\x64\x65\x66\x61ult_processor_version\x18\t \x01(\tB/\xfa\x41,\n*documentai.googleapis.com/ProcessorVersion\x12_\n\x19processor_version_aliases\x18\n \x03(\x0b\x32\x36.google.cloud.documentai.v1beta3.ProcessorVersionAliasB\x04\xe2\x41\x01\x03\x12\x1f\n\x10process_endpoint\x18\x06 \x01(\tB\x05\xe2\x41\x02\x03\x05\x12/\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0ckms_key_name\x18\x08 \x01(\t\"~\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\x0c\n\x08\x45NABLING\x10\x03\x12\r\n\tDISABLING\x10\x04\x12\x0c\n\x08\x43REATING\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\x0c\n\x08\x44\x45LETING\x10\x07:h\xea\x41\x65\n#documentai.googleapis.com/Processor\x12>projects/{project}/locations/{location}/processors/{processor}B\xea\x01\n#com.google.cloud.documentai.v1beta3B\x13\x44ocumentAiProcessorP\x01ZCcloud.google.com/go/documentai/apiv1beta3/documentaipb;documentaipb\xaa\x02\x1fGoogle.Cloud.DocumentAI.V1Beta3\xca\x02\x1fGoogle\\Cloud\\DocumentAI\\V1beta3\xea\x02\"Google::Cloud::DocumentAI::V1beta3b\x06proto3"
15
15
 
16
16
  pool = Google::Protobuf::DescriptorPool.generated_pool
17
17
 
18
18
  begin
19
19
  pool.add_serialized_file(descriptor_data)
20
- rescue TypeError => e
20
+ rescue TypeError
21
21
  # Compatibility code: will be removed in the next major version.
22
22
  require 'google/protobuf/descriptor_pb'
23
23
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -47,6 +47,7 @@ module Google
47
47
  ProcessorVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.ProcessorVersion").msgclass
48
48
  ProcessorVersion::DeprecationInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.ProcessorVersion.DeprecationInfo").msgclass
49
49
  ProcessorVersion::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.ProcessorVersion.State").enummodule
50
+ ProcessorVersion::ModelType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.ProcessorVersion.ModelType").enummodule
50
51
  ProcessorVersionAlias = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.ProcessorVersionAlias").msgclass
51
52
  Processor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Processor").msgclass
52
53
  Processor::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Processor.State").enummodule
@@ -14,7 +14,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
15
15
  begin
16
16
  pool.add_serialized_file(descriptor_data)
17
- rescue TypeError => e
17
+ rescue TypeError
18
18
  # Compatibility code: will be removed in the next major version.
19
19
  require 'google/protobuf/descriptor_pb'
20
20
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
@@ -57,6 +57,9 @@ module Google
57
57
  # @!attribute [rw] deprecation_info
58
58
  # @return [::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::DeprecationInfo]
59
59
  # If set, information about the eventual deprecation of this version.
60
+ # @!attribute [r] model_type
61
+ # @return [::Google::Cloud::DocumentAI::V1beta3::ProcessorVersion::ModelType]
62
+ # Output only. The model type of this processor version.
60
63
  class ProcessorVersion
61
64
  include ::Google::Protobuf::MessageExts
62
65
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -102,6 +105,18 @@ module Google
102
105
  # The processor version is being imported.
103
106
  IMPORTING = 8
104
107
  end
108
+
109
+ # The possible model types of the processor version.
110
+ module ModelType
111
+ # The processor version has unspecified model type.
112
+ MODEL_TYPE_UNSPECIFIED = 0
113
+
114
+ # The processor version has generative model type.
115
+ MODEL_TYPE_GENERATIVE = 1
116
+
117
+ # The processor version has custom model type.
118
+ MODEL_TYPE_CUSTOM = 2
119
+ end
105
120
  end
106
121
 
107
122
  # Contains the alias and the aliased resource name of processor version.
@@ -129,7 +129,8 @@ module Google
129
129
  #
130
130
  # Note: this functionality is not currently available in the official
131
131
  # protobuf release, and it is not used for type URLs beginning with
132
- # type.googleapis.com.
132
+ # type.googleapis.com. As of May 2023, there are no widely used type server
133
+ # implementations and no plans to implement one.
133
134
  #
134
135
  # Schemes other than `http`, `https` (or the empty scheme) might be
135
136
  # used with implementation specific semantics.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-document_ai-v1beta3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.1
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-12 00:00:00.000000000 Z
11
+ date: 2024-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common