google-cloud-document_ai-v1beta3 0.34.0 → 0.35.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: 44682722a5b9f6f74fb2034c626ea008a66369cdc256523482db23d78b3d1248
4
- data.tar.gz: c72bc0cc86cd9c34dbffa9811fece6007812aff17cbb647e2cd14e7a3c2bc0d3
3
+ metadata.gz: c6d445c364277f7d3d0773bd227a923466efe7c1044eb0f75d361e45288a4754
4
+ data.tar.gz: fff41de4ca11a467a2d7e850c56b7fd8a1b86e13b5e18048b636713070710b85
5
5
  SHA512:
6
- metadata.gz: 0ff453b6f4d259e612370b34fcc25e3d1fd1596af290029e29878cc1e48c11027d755b4f1d5060582210ec41186804ced37a20e4eba30b1c446ab636228adf4a
7
- data.tar.gz: 69c379eaabbbb4f411395dcacfae6e393a0da5bcc0252aab311bf66b162c410af73bf04e588306c5a07df921ec1aa5d167ab1c5eb1df33257b89a9ed3ced1021
6
+ metadata.gz: 8a7f234346911a26d48306884ebcdb42f60427885d1be05dd965e9fb789efbae13fefb62131d8cff57bfaf1bb87ace7df124e9da15aaa3c8255fb8d7f2facd3c
7
+ data.tar.gz: 375bae08247846a0cfaae432ffe79c64846ff308c3b85636af804d5e38113309f569c87e03d38d5db10be6134ac6cf0026e917816d9eca41c50b175572dd862b
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DocumentAI
23
23
  module V1beta3
24
- VERSION = "0.34.0"
24
+ VERSION = "0.35.0"
25
25
  end
26
26
  end
27
27
  end
@@ -16,7 +16,7 @@ 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\"\xd1X\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\x12Q\n\x0f\x64ocument_layout\x18\x11 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.Document.DocumentLayout\x12S\n\x10\x63hunked_document\x18\x12 \x01(\x0b\x32\x39.google.cloud.documentai.v1beta3.Document.ChunkedDocument\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\x1a\xd9\x0c\n\x0e\x44ocumentLayout\x12\\\n\x06\x62locks\x18\x01 \x03(\x0b\x32L.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock\x1a\xe8\x0b\n\x13\x44ocumentLayoutBlock\x12r\n\ntext_block\x18\x02 \x01(\x0b\x32\\.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockH\x00\x12t\n\x0btable_block\x18\x03 \x01(\x0b\x32].google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlockH\x00\x12r\n\nlist_block\x18\x04 \x01(\x0b\x32\\.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlockH\x00\x12\x10\n\x08\x62lock_id\x18\x01 \x01(\t\x12n\n\tpage_span\x18\x05 \x01(\x0b\x32[.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan\x1a\x36\n\x0eLayoutPageSpan\x12\x12\n\npage_start\x18\x01 \x01(\x05\x12\x10\n\x08page_end\x18\x02 \x01(\x05\x1a\x8b\x01\n\x0fLayoutTextBlock\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\\\n\x06\x62locks\x18\x03 \x03(\x0b\x32L.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock\x1a\x85\x02\n\x10LayoutTableBlock\x12p\n\x0bheader_rows\x18\x01 \x03(\x0b\x32[.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow\x12n\n\tbody_rows\x18\x02 \x03(\x0b\x32[.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow\x12\x0f\n\x07\x63\x61ption\x18\x03 \x01(\t\x1a}\n\x0eLayoutTableRow\x12k\n\x05\x63\x65lls\x18\x01 \x03(\x0b\x32\\.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell\x1a\x93\x01\n\x0fLayoutTableCell\x12\\\n\x06\x62locks\x18\x01 \x03(\x0b\x32L.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock\x12\x10\n\x08row_span\x18\x02 \x01(\x05\x12\x10\n\x08\x63ol_span\x18\x03 \x01(\x05\x1a\x93\x01\n\x0fLayoutListBlock\x12r\n\x0clist_entries\x18\x01 \x03(\x0b\x32\\.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry\x12\x0c\n\x04type\x18\x02 \x01(\t\x1ao\n\x0fLayoutListEntry\x12\\\n\x06\x62locks\x18\x01 \x03(\x0b\x32L.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlockB\x07\n\x05\x62lock\x1a\xc2\x02\n\x0f\x43hunkedDocument\x12O\n\x06\x63hunks\x18\x01 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk\x1a\xdd\x01\n\x05\x43hunk\x12\x10\n\x08\x63hunk_id\x18\x01 \x01(\t\x12\x18\n\x10source_block_ids\x18\x02 \x03(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12`\n\tpage_span\x18\x04 \x01(\x0b\x32M.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan\x1a\x35\n\rChunkPageSpan\x12\x12\n\npage_start\x18\x01 \x01(\x05\x12\x10\n\x08page_end\x18\x02 \x01(\x05\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\"\xa7\\\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\x12Q\n\x0f\x64ocument_layout\x18\x11 \x01(\x0b\x32\x38.google.cloud.documentai.v1beta3.Document.DocumentLayout\x12S\n\x10\x63hunked_document\x18\x12 \x01(\x0b\x32\x39.google.cloud.documentai.v1beta3.Document.ChunkedDocument\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\x1a\xd9\x0c\n\x0e\x44ocumentLayout\x12\\\n\x06\x62locks\x18\x01 \x03(\x0b\x32L.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock\x1a\xe8\x0b\n\x13\x44ocumentLayoutBlock\x12r\n\ntext_block\x18\x02 \x01(\x0b\x32\\.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTextBlockH\x00\x12t\n\x0btable_block\x18\x03 \x01(\x0b\x32].google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableBlockH\x00\x12r\n\nlist_block\x18\x04 \x01(\x0b\x32\\.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutListBlockH\x00\x12\x10\n\x08\x62lock_id\x18\x01 \x01(\t\x12n\n\tpage_span\x18\x05 \x01(\x0b\x32[.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutPageSpan\x1a\x36\n\x0eLayoutPageSpan\x12\x12\n\npage_start\x18\x01 \x01(\x05\x12\x10\n\x08page_end\x18\x02 \x01(\x05\x1a\x8b\x01\n\x0fLayoutTextBlock\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\\\n\x06\x62locks\x18\x03 \x03(\x0b\x32L.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock\x1a\x85\x02\n\x10LayoutTableBlock\x12p\n\x0bheader_rows\x18\x01 \x03(\x0b\x32[.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow\x12n\n\tbody_rows\x18\x02 \x03(\x0b\x32[.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableRow\x12\x0f\n\x07\x63\x61ption\x18\x03 \x01(\t\x1a}\n\x0eLayoutTableRow\x12k\n\x05\x63\x65lls\x18\x01 \x03(\x0b\x32\\.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutTableCell\x1a\x93\x01\n\x0fLayoutTableCell\x12\\\n\x06\x62locks\x18\x01 \x03(\x0b\x32L.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock\x12\x10\n\x08row_span\x18\x02 \x01(\x05\x12\x10\n\x08\x63ol_span\x18\x03 \x01(\x05\x1a\x93\x01\n\x0fLayoutListBlock\x12r\n\x0clist_entries\x18\x01 \x03(\x0b\x32\\.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlock.LayoutListEntry\x12\x0c\n\x04type\x18\x02 \x01(\t\x1ao\n\x0fLayoutListEntry\x12\\\n\x06\x62locks\x18\x01 \x03(\x0b\x32L.google.cloud.documentai.v1beta3.Document.DocumentLayout.DocumentLayoutBlockB\x07\n\x05\x62lock\x1a\x98\x06\n\x0f\x43hunkedDocument\x12O\n\x06\x63hunks\x18\x01 \x03(\x0b\x32?.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk\x1a\xb3\x05\n\x05\x43hunk\x12\x10\n\x08\x63hunk_id\x18\x01 \x01(\t\x12\x18\n\x10source_block_ids\x18\x02 \x03(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12`\n\tpage_span\x18\x04 \x01(\x0b\x32M.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan\x12\x65\n\x0cpage_headers\x18\x05 \x03(\x0b\x32O.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader\x12\x65\n\x0cpage_footers\x18\x06 \x03(\x0b\x32O.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter\x1a\x35\n\rChunkPageSpan\x12\x12\n\npage_start\x18\x01 \x01(\x05\x12\x10\n\x08page_end\x18\x02 \x01(\x05\x1a\x81\x01\n\x0f\x43hunkPageHeader\x12\x0c\n\x04text\x18\x01 \x01(\t\x12`\n\tpage_span\x18\x02 \x01(\x0b\x32M.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan\x1a\x81\x01\n\x0f\x43hunkPageFooter\x12\x0c\n\x04text\x18\x01 \x01(\t\x12`\n\tpage_span\x18\x02 \x01(\x0b\x32M.google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpanB\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
 
@@ -108,6 +108,8 @@ module Google
108
108
  Document::ChunkedDocument = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Document.ChunkedDocument").msgclass
109
109
  Document::ChunkedDocument::Chunk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk").msgclass
110
110
  Document::ChunkedDocument::Chunk::ChunkPageSpan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageSpan").msgclass
111
+ Document::ChunkedDocument::Chunk::ChunkPageHeader = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageHeader").msgclass
112
+ Document::ChunkedDocument::Chunk::ChunkPageFooter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.Document.ChunkedDocument.Chunk.ChunkPageFooter").msgclass
111
113
  RevisionRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.RevisionRef").msgclass
112
114
  RevisionRef::RevisionCase = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.documentai.v1beta3.RevisionRef.RevisionCase").enummodule
113
115
  end
@@ -460,16 +460,16 @@ module Google
460
460
  # Whether the text is underlined.
461
461
  # @!attribute [rw] strikeout
462
462
  # @return [::Boolean]
463
- # Whether the text is strikethrough.
463
+ # Whether the text is strikethrough. This feature is not supported yet.
464
464
  # @!attribute [rw] subscript
465
465
  # @return [::Boolean]
466
- # Whether the text is a subscript.
466
+ # Whether the text is a subscript. This feature is not supported yet.
467
467
  # @!attribute [rw] superscript
468
468
  # @return [::Boolean]
469
- # Whether the text is a superscript.
469
+ # Whether the text is a superscript. This feature is not supported yet.
470
470
  # @!attribute [rw] smallcaps
471
471
  # @return [::Boolean]
472
- # Whether the text is in small caps.
472
+ # Whether the text is in small caps. This feature is not supported yet.
473
473
  # @!attribute [rw] font_weight
474
474
  # @return [::Integer]
475
475
  # TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy).
@@ -1192,6 +1192,7 @@ module Google
1192
1192
  # ID of the chunk.
1193
1193
  # @!attribute [rw] source_block_ids
1194
1194
  # @return [::Array<::String>]
1195
+ # DO NOT USE.
1195
1196
  # List of all parsed documents layout source blocks used to generate the
1196
1197
  # chunk.
1197
1198
  # @!attribute [rw] content
@@ -1200,6 +1201,12 @@ module Google
1200
1201
  # @!attribute [rw] page_span
1201
1202
  # @return [::Google::Cloud::DocumentAI::V1beta3::Document::ChunkedDocument::Chunk::ChunkPageSpan]
1202
1203
  # Page span of the chunk.
1204
+ # @!attribute [rw] page_headers
1205
+ # @return [::Array<::Google::Cloud::DocumentAI::V1beta3::Document::ChunkedDocument::Chunk::ChunkPageHeader>]
1206
+ # Page headers associated with the chunk.
1207
+ # @!attribute [rw] page_footers
1208
+ # @return [::Array<::Google::Cloud::DocumentAI::V1beta3::Document::ChunkedDocument::Chunk::ChunkPageFooter>]
1209
+ # Page footers associated with the chunk.
1203
1210
  class Chunk
1204
1211
  include ::Google::Protobuf::MessageExts
1205
1212
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1215,6 +1222,30 @@ module Google
1215
1222
  include ::Google::Protobuf::MessageExts
1216
1223
  extend ::Google::Protobuf::MessageExts::ClassMethods
1217
1224
  end
1225
+
1226
+ # Represents the page header associated with the chunk.
1227
+ # @!attribute [rw] text
1228
+ # @return [::String]
1229
+ # Header in text format.
1230
+ # @!attribute [rw] page_span
1231
+ # @return [::Google::Cloud::DocumentAI::V1beta3::Document::ChunkedDocument::Chunk::ChunkPageSpan]
1232
+ # Page span of the header.
1233
+ class ChunkPageHeader
1234
+ include ::Google::Protobuf::MessageExts
1235
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1236
+ end
1237
+
1238
+ # Represents the page footer associated with the chunk.
1239
+ # @!attribute [rw] text
1240
+ # @return [::String]
1241
+ # Footer in text format.
1242
+ # @!attribute [rw] page_span
1243
+ # @return [::Google::Cloud::DocumentAI::V1beta3::Document::ChunkedDocument::Chunk::ChunkPageSpan]
1244
+ # Page span of the footer.
1245
+ class ChunkPageFooter
1246
+ include ::Google::Protobuf::MessageExts
1247
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1248
+ end
1218
1249
  end
1219
1250
  end
1220
1251
  end
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.34.0
4
+ version: 0.35.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-04-19 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common