From b189a17ed0922392162065a5942a9c5273887e2c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 16 Mar 2021 14:44:07 +0000 Subject: [PATCH 01/19] chore: release 0.5.1-SNAPSHOT (#386) :robot: I have created a release \*beep\* \*boop\* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- google-cloud-document-ai-bom/pom.xml | 16 ++++++++-------- google-cloud-document-ai/pom.xml | 4 ++-- grpc-google-cloud-document-ai-v1beta1/pom.xml | 4 ++-- grpc-google-cloud-document-ai-v1beta2/pom.xml | 4 ++-- grpc-google-cloud-document-ai-v1beta3/pom.xml | 4 ++-- pom.xml | 14 +++++++------- proto-google-cloud-document-ai-v1beta1/pom.xml | 4 ++-- proto-google-cloud-document-ai-v1beta2/pom.xml | 4 ++-- proto-google-cloud-document-ai-v1beta3/pom.xml | 4 ++-- versions.txt | 14 +++++++------- 10 files changed, 36 insertions(+), 36 deletions(-) diff --git a/google-cloud-document-ai-bom/pom.xml b/google-cloud-document-ai-bom/pom.xml index c24a47ec..4779976f 100644 --- a/google-cloud-document-ai-bom/pom.xml +++ b/google-cloud-document-ai-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-document-ai-bom - 0.5.0 + 0.5.1-SNAPSHOT pom com.google.cloud @@ -61,37 +61,37 @@ com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.5.0 + 0.5.1-SNAPSHOT com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.5.0 + 0.5.1-SNAPSHOT com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.5.0 + 0.5.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.5.0 + 0.5.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.5.0 + 0.5.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.5.0 + 0.5.1-SNAPSHOT com.google.cloud google-cloud-document-ai - 0.5.0 + 0.5.1-SNAPSHOT diff --git a/google-cloud-document-ai/pom.xml b/google-cloud-document-ai/pom.xml index 7a7862fc..d113d3cb 100644 --- a/google-cloud-document-ai/pom.xml +++ b/google-cloud-document-ai/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-document-ai - 0.5.0 + 0.5.1-SNAPSHOT jar Google Cloud Document AI https://github.com/googleapis/java-document-ai @@ -11,7 +11,7 @@ com.google.cloud google-cloud-document-ai-parent - 0.5.0 + 0.5.1-SNAPSHOT google-cloud-document-ai diff --git a/grpc-google-cloud-document-ai-v1beta1/pom.xml b/grpc-google-cloud-document-ai-v1beta1/pom.xml index 6d627508..a5e83cda 100644 --- a/grpc-google-cloud-document-ai-v1beta1/pom.xml +++ b/grpc-google-cloud-document-ai-v1beta1/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.5.0 + 0.5.1-SNAPSHOT grpc-google-cloud-document-ai-v1beta1 GRPC library for grpc-google-cloud-document-ai-v1beta1 com.google.cloud google-cloud-document-ai-parent - 0.5.0 + 0.5.1-SNAPSHOT diff --git a/grpc-google-cloud-document-ai-v1beta2/pom.xml b/grpc-google-cloud-document-ai-v1beta2/pom.xml index 79af27d4..980877cd 100644 --- a/grpc-google-cloud-document-ai-v1beta2/pom.xml +++ b/grpc-google-cloud-document-ai-v1beta2/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.5.0 + 0.5.1-SNAPSHOT grpc-google-cloud-document-ai-v1beta2 GRPC library for grpc-google-cloud-document-ai-v1beta2 com.google.cloud google-cloud-document-ai-parent - 0.5.0 + 0.5.1-SNAPSHOT diff --git a/grpc-google-cloud-document-ai-v1beta3/pom.xml b/grpc-google-cloud-document-ai-v1beta3/pom.xml index d8412a3a..efa1194e 100644 --- a/grpc-google-cloud-document-ai-v1beta3/pom.xml +++ b/grpc-google-cloud-document-ai-v1beta3/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.5.0 + 0.5.1-SNAPSHOT grpc-google-cloud-document-ai-v1beta3 GRPC library for grpc-google-cloud-document-ai-v1beta3 com.google.cloud google-cloud-document-ai-parent - 0.5.0 + 0.5.1-SNAPSHOT diff --git a/pom.xml b/pom.xml index 70feb26d..d124542d 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-document-ai-parent pom - 0.5.0 + 0.5.1-SNAPSHOT Google Cloud Document AI Parent https://github.com/googleapis/java-document-ai @@ -70,32 +70,32 @@ com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.5.0 + 0.5.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.5.0 + 0.5.1-SNAPSHOT com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.5.0 + 0.5.1-SNAPSHOT com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.5.0 + 0.5.1-SNAPSHOT com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.5.0 + 0.5.1-SNAPSHOT com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.5.0 + 0.5.1-SNAPSHOT diff --git a/proto-google-cloud-document-ai-v1beta1/pom.xml b/proto-google-cloud-document-ai-v1beta1/pom.xml index eac29680..4f74e6df 100644 --- a/proto-google-cloud-document-ai-v1beta1/pom.xml +++ b/proto-google-cloud-document-ai-v1beta1/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.5.0 + 0.5.1-SNAPSHOT proto-google-cloud-document-ai-v1beta1 PROTO library for proto-google-cloud-document-ai-v1beta1 com.google.cloud google-cloud-document-ai-parent - 0.5.0 + 0.5.1-SNAPSHOT diff --git a/proto-google-cloud-document-ai-v1beta2/pom.xml b/proto-google-cloud-document-ai-v1beta2/pom.xml index 51d6ce6e..dbb8f94f 100644 --- a/proto-google-cloud-document-ai-v1beta2/pom.xml +++ b/proto-google-cloud-document-ai-v1beta2/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.5.0 + 0.5.1-SNAPSHOT proto-google-cloud-document-ai-v1beta2 PROTO library for proto-google-cloud-document-ai-v1beta2 com.google.cloud google-cloud-document-ai-parent - 0.5.0 + 0.5.1-SNAPSHOT diff --git a/proto-google-cloud-document-ai-v1beta3/pom.xml b/proto-google-cloud-document-ai-v1beta3/pom.xml index de68e8d6..f6a89c2c 100644 --- a/proto-google-cloud-document-ai-v1beta3/pom.xml +++ b/proto-google-cloud-document-ai-v1beta3/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.5.0 + 0.5.1-SNAPSHOT proto-google-cloud-document-ai-v1beta3 PROTO library for proto-google-cloud-document-ai-v1beta3 com.google.cloud google-cloud-document-ai-parent - 0.5.0 + 0.5.1-SNAPSHOT diff --git a/versions.txt b/versions.txt index 755b4b3b..bc4e5bd7 100644 --- a/versions.txt +++ b/versions.txt @@ -1,7 +1,7 @@ -proto-google-cloud-document-ai-v1beta1:0.5.0:0.5.0 -proto-google-cloud-document-ai-v1beta2:0.5.0:0.5.0 -proto-google-cloud-document-ai-v1beta3:0.5.0:0.5.0 -grpc-google-cloud-document-ai-v1beta1:0.5.0:0.5.0 -grpc-google-cloud-document-ai-v1beta2:0.5.0:0.5.0 -grpc-google-cloud-document-ai-v1beta3:0.5.0:0.5.0 -google-cloud-document-ai:0.5.0:0.5.0 +proto-google-cloud-document-ai-v1beta1:0.5.0:0.5.1-SNAPSHOT +proto-google-cloud-document-ai-v1beta2:0.5.0:0.5.1-SNAPSHOT +proto-google-cloud-document-ai-v1beta3:0.5.0:0.5.1-SNAPSHOT +grpc-google-cloud-document-ai-v1beta1:0.5.0:0.5.1-SNAPSHOT +grpc-google-cloud-document-ai-v1beta2:0.5.0:0.5.1-SNAPSHOT +grpc-google-cloud-document-ai-v1beta3:0.5.0:0.5.1-SNAPSHOT +google-cloud-document-ai:0.5.0:0.5.1-SNAPSHOT From bb75a88c380682da50f577b2e773f571588b872f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 17 Mar 2021 21:08:25 +0100 Subject: [PATCH 02/19] chore(deps): update dependency com.google.cloud:libraries-bom to v19.1.0 (#388) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `19.0.0` -> `19.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.1.0/compatibility-slim/19.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.1.0/confidence-slim/19.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 410e0bba..7a8b8f0f 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 19.0.0 + 19.1.0 pom import From 7ea5f43ee9081870fda6a71df6d62015c0ebfef6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 17 Mar 2021 13:42:13 -0700 Subject: [PATCH 03/19] chore: regenerate README (#389) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2021-03-17 20:13:45,364 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-document-ai/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working tree clean 2021-03-17 20:13:46,272 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/a4c81916-905d-4621-9b47-d8c37ee97f65/targets - [ ] To automatically regenerate this PR, check this box. --- .github/readme/synth.metadata/synth.metadata | 4 ++-- README.md | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 760f401e..075e322c 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-document-ai.git", - "sha": "037b92af61c60ea39fd7eff36479dc771b8d7d14" + "sha": "bb75a88c380682da50f577b2e773f571588b872f" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "2e7bd5cc66a3f0b90ce1c150eb35c89eeb9872d6" + "sha": "78437c732a60c64895778697b078497b0988346c" } } ] diff --git a/README.md b/README.md index d3096511..b45f3ca5 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 19.0.0 + 19.1.0 pom import @@ -49,18 +49,18 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -implementation platform('com.google.cloud:libraries-bom:19.0.0') +implementation platform('com.google.cloud:libraries-bom:19.1.0') compile 'com.google.cloud:google-cloud-document-ai' ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-document-ai:0.4.1' +compile 'com.google.cloud:google-cloud-document-ai:0.5.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "0.4.1" +libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "0.5.0" ``` ## Authentication From 62f71cb332a111a86f6147bbec6305fd198b8fca Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 19 Mar 2021 08:40:02 -0700 Subject: [PATCH 04/19] feat: add EVAL_SKIPPED value to the Provenance.OperationType enum in document.proto (#390) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/6cbf63d1-f6ef-4508-9254-f4e13e137312/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 363478455 Source-Link: https://github.com/googleapis/googleapis/commit/4fb2f3e141fb4a62c434e1964db0fd2f2763aa08 --- .../cloud/documentai/v1beta3/Document.java | 460 +++++++++--------- .../documentai/v1beta3/DocumentOrBuilder.java | 28 +- .../documentai/v1beta3/DocumentProto.java | 377 +++++++------- .../cloud/documentai/v1beta3/document.proto | 47 +- synth.metadata | 14 +- 5 files changed, 457 insertions(+), 469 deletions(-) diff --git a/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/Document.java b/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/Document.java index 28361fdc..7f325e7b 100644 --- a/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/Document.java +++ b/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/Document.java @@ -34101,11 +34101,13 @@ public interface EntityOrBuilder * * *
-     * Provenance of the entity.
+     * Optional. Provenance of the entity.
      * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
      * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the textAnchor field is set. */ @@ -34114,11 +34116,13 @@ public interface EntityOrBuilder * * *
-     * Provenance of the entity.
+     * Optional. Provenance of the entity.
      * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
      * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The textAnchor. */ @@ -34127,11 +34131,13 @@ public interface EntityOrBuilder * * *
-     * Provenance of the entity.
+     * Optional. Provenance of the entity.
      * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
      * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.cloud.documentai.v1beta3.Document.TextAnchorOrBuilder getTextAnchorOrBuilder(); @@ -34164,10 +34170,10 @@ public interface EntityOrBuilder * * *
-     * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+     * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
      * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The mentionText. */ @@ -34176,10 +34182,10 @@ public interface EntityOrBuilder * * *
-     * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+     * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
      * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for mentionText. */ @@ -34189,10 +34195,10 @@ public interface EntityOrBuilder * * *
-     * Deprecated.  Use `id` field instead.
+     * Optional. Deprecated.  Use `id` field instead.
      * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The mentionId. */ @@ -34201,10 +34207,10 @@ public interface EntityOrBuilder * * *
-     * Deprecated.  Use `id` field instead.
+     * Optional. Deprecated.  Use `id` field instead.
      * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for mentionId. */ @@ -34693,8 +34699,7 @@ public interface NormalizedValueOrBuilder * *
        * Money value. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
        * 
* * .google.type.Money money_value = 2; @@ -34707,8 +34712,7 @@ public interface NormalizedValueOrBuilder * *
        * Money value. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
        * 
* * .google.type.Money money_value = 2; @@ -34721,8 +34725,7 @@ public interface NormalizedValueOrBuilder * *
        * Money value. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
        * 
* * .google.type.Money money_value = 2; @@ -34734,8 +34737,7 @@ public interface NormalizedValueOrBuilder * *
        * Date value. Includes year, month, day. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
        * 
* * .google.type.Date date_value = 3; @@ -34748,8 +34750,7 @@ public interface NormalizedValueOrBuilder * *
        * Date value. Includes year, month, day. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
        * 
* * .google.type.Date date_value = 3; @@ -34762,8 +34763,7 @@ public interface NormalizedValueOrBuilder * *
        * Date value. Includes year, month, day. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
        * 
* * .google.type.Date date_value = 3; @@ -34775,8 +34775,7 @@ public interface NormalizedValueOrBuilder * *
        * DateTime value. Includes date, time, and timezone. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
        * 
* * .google.type.DateTime datetime_value = 4; @@ -34789,8 +34788,7 @@ public interface NormalizedValueOrBuilder * *
        * DateTime value. Includes date, time, and timezone. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
        * 
* * .google.type.DateTime datetime_value = 4; @@ -34803,8 +34801,7 @@ public interface NormalizedValueOrBuilder * *
        * DateTime value. Includes date, time, and timezone. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
        * 
* * .google.type.DateTime datetime_value = 4; @@ -34816,8 +34813,7 @@ public interface NormalizedValueOrBuilder * *
        * Postal address. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
        * 
* * .google.type.PostalAddress address_value = 5; @@ -34830,8 +34826,7 @@ public interface NormalizedValueOrBuilder * *
        * Postal address. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
        * 
* * .google.type.PostalAddress address_value = 5; @@ -34844,8 +34839,7 @@ public interface NormalizedValueOrBuilder * *
        * Postal address. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
        * 
* * .google.type.PostalAddress address_value = 5; @@ -35139,8 +35133,7 @@ public StructuredValueCase getStructuredValueCase() { * *
        * Money value. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
        * 
* * .google.type.Money money_value = 2; @@ -35156,8 +35149,7 @@ public boolean hasMoneyValue() { * *
        * Money value. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
        * 
* * .google.type.Money money_value = 2; @@ -35176,8 +35168,7 @@ public com.google.type.Money getMoneyValue() { * *
        * Money value. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
        * 
* * .google.type.Money money_value = 2; @@ -35196,8 +35187,7 @@ public com.google.type.MoneyOrBuilder getMoneyValueOrBuilder() { * *
        * Date value. Includes year, month, day. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
        * 
* * .google.type.Date date_value = 3; @@ -35213,8 +35203,7 @@ public boolean hasDateValue() { * *
        * Date value. Includes year, month, day. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
        * 
* * .google.type.Date date_value = 3; @@ -35233,8 +35222,7 @@ public com.google.type.Date getDateValue() { * *
        * Date value. Includes year, month, day. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
        * 
* * .google.type.Date date_value = 3; @@ -35253,8 +35241,7 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { * *
        * DateTime value. Includes date, time, and timezone. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
        * 
* * .google.type.DateTime datetime_value = 4; @@ -35270,8 +35257,7 @@ public boolean hasDatetimeValue() { * *
        * DateTime value. Includes date, time, and timezone. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
        * 
* * .google.type.DateTime datetime_value = 4; @@ -35290,8 +35276,7 @@ public com.google.type.DateTime getDatetimeValue() { * *
        * DateTime value. Includes date, time, and timezone. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
        * 
* * .google.type.DateTime datetime_value = 4; @@ -35310,8 +35295,7 @@ public com.google.type.DateTimeOrBuilder getDatetimeValueOrBuilder() { * *
        * Postal address. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
        * 
* * .google.type.PostalAddress address_value = 5; @@ -35327,8 +35311,7 @@ public boolean hasAddressValue() { * *
        * Postal address. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
        * 
* * .google.type.PostalAddress address_value = 5; @@ -35347,8 +35330,7 @@ public com.google.type.PostalAddress getAddressValue() { * *
        * Postal address. See also:
-       * https:
-       * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+       * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
        * 
* * .google.type.PostalAddress address_value = 5; @@ -35965,8 +35947,7 @@ public Builder clearStructuredValue() { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -35982,8 +35963,7 @@ public boolean hasMoneyValue() { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -36009,8 +35989,7 @@ public com.google.type.Money getMoneyValue() { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -36033,8 +36012,7 @@ public Builder setMoneyValue(com.google.type.Money value) { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -36054,8 +36032,7 @@ public Builder setMoneyValue(com.google.type.Money.Builder builderForValue) { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -36086,8 +36063,7 @@ public Builder mergeMoneyValue(com.google.type.Money value) { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -36113,8 +36089,7 @@ public Builder clearMoneyValue() { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -36127,8 +36102,7 @@ public com.google.type.Money.Builder getMoneyValueBuilder() { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -36149,8 +36123,7 @@ public com.google.type.MoneyOrBuilder getMoneyValueOrBuilder() { * *
          * Money value. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/money.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/money.proto
          * 
* * .google.type.Money money_value = 2; @@ -36186,8 +36159,7 @@ public com.google.type.MoneyOrBuilder getMoneyValueOrBuilder() { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36203,8 +36175,7 @@ public boolean hasDateValue() { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36230,8 +36201,7 @@ public com.google.type.Date getDateValue() { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36254,8 +36224,7 @@ public Builder setDateValue(com.google.type.Date value) { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36275,8 +36244,7 @@ public Builder setDateValue(com.google.type.Date.Builder builderForValue) { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36307,8 +36275,7 @@ public Builder mergeDateValue(com.google.type.Date value) { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36334,8 +36301,7 @@ public Builder clearDateValue() { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36348,8 +36314,7 @@ public com.google.type.Date.Builder getDateValueBuilder() { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36370,8 +36335,7 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { * *
          * Date value. Includes year, month, day. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/date.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/date.proto
          * 
* * .google.type.Date date_value = 3; @@ -36407,8 +36371,7 @@ public com.google.type.DateOrBuilder getDateValueOrBuilder() { * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36424,8 +36387,7 @@ public boolean hasDatetimeValue() { * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36451,8 +36413,7 @@ public com.google.type.DateTime getDatetimeValue() { * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36475,8 +36436,7 @@ public Builder setDatetimeValue(com.google.type.DateTime value) { * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36496,8 +36456,7 @@ public Builder setDatetimeValue(com.google.type.DateTime.Builder builderForValue * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36528,8 +36487,7 @@ public Builder mergeDatetimeValue(com.google.type.DateTime value) { * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36555,8 +36513,7 @@ public Builder clearDatetimeValue() { * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36569,8 +36526,7 @@ public com.google.type.DateTime.Builder getDatetimeValueBuilder() { * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36591,8 +36547,7 @@ public com.google.type.DateTimeOrBuilder getDatetimeValueOrBuilder() { * *
          * DateTime value. Includes date, time, and timezone. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto
          * 
* * .google.type.DateTime datetime_value = 4; @@ -36630,8 +36585,7 @@ public com.google.type.DateTimeOrBuilder getDatetimeValueOrBuilder() { * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -36647,8 +36601,7 @@ public boolean hasAddressValue() { * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -36674,8 +36627,7 @@ public com.google.type.PostalAddress getAddressValue() { * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -36698,8 +36650,7 @@ public Builder setAddressValue(com.google.type.PostalAddress value) { * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -36719,8 +36670,7 @@ public Builder setAddressValue(com.google.type.PostalAddress.Builder builderForV * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -36752,8 +36702,7 @@ public Builder mergeAddressValue(com.google.type.PostalAddress value) { * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -36779,8 +36728,7 @@ public Builder clearAddressValue() { * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -36793,8 +36741,7 @@ public com.google.type.PostalAddress.Builder getAddressValueBuilder() { * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -36815,8 +36762,7 @@ public com.google.type.PostalAddressOrBuilder getAddressValueOrBuilder() { * *
          * Postal address. See also:
-         * https:
-         * github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
+         * https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto
          * 
* * .google.type.PostalAddress address_value = 5; @@ -37112,11 +37058,13 @@ public com.google.protobuf.Parser getParserForType() { * * *
-     * Provenance of the entity.
+     * Optional. Provenance of the entity.
      * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
      * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the textAnchor field is set. */ @@ -37128,11 +37076,13 @@ public boolean hasTextAnchor() { * * *
-     * Provenance of the entity.
+     * Optional. Provenance of the entity.
      * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
      * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The textAnchor. */ @@ -37146,11 +37096,13 @@ public com.google.cloud.documentai.v1beta3.Document.TextAnchor getTextAnchor() { * * *
-     * Provenance of the entity.
+     * Optional. Provenance of the entity.
      * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
      * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.cloud.documentai.v1beta3.Document.TextAnchorOrBuilder @@ -37213,10 +37165,10 @@ public com.google.protobuf.ByteString getTypeBytes() { * * *
-     * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+     * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
      * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The mentionText. */ @@ -37236,10 +37188,10 @@ public java.lang.String getMentionText() { * * *
-     * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+     * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
      * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for mentionText. */ @@ -37262,10 +37214,10 @@ public com.google.protobuf.ByteString getMentionTextBytes() { * * *
-     * Deprecated.  Use `id` field instead.
+     * Optional. Deprecated.  Use `id` field instead.
      * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The mentionId. */ @@ -37285,10 +37237,10 @@ public java.lang.String getMentionId() { * * *
-     * Deprecated.  Use `id` field instead.
+     * Optional. Deprecated.  Use `id` field instead.
      * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for mentionId. */ @@ -38238,11 +38190,13 @@ public Builder mergeFrom( * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return Whether the textAnchor field is set. */ @@ -38253,11 +38207,13 @@ public boolean hasTextAnchor() { * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * * @return The textAnchor. */ @@ -38274,11 +38230,13 @@ public com.google.cloud.documentai.v1beta3.Document.TextAnchor getTextAnchor() { * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setTextAnchor(com.google.cloud.documentai.v1beta3.Document.TextAnchor value) { if (textAnchorBuilder_ == null) { @@ -38297,11 +38255,13 @@ public Builder setTextAnchor(com.google.cloud.documentai.v1beta3.Document.TextAn * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setTextAnchor( com.google.cloud.documentai.v1beta3.Document.TextAnchor.Builder builderForValue) { @@ -38318,11 +38278,13 @@ public Builder setTextAnchor( * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeTextAnchor( com.google.cloud.documentai.v1beta3.Document.TextAnchor value) { @@ -38346,11 +38308,13 @@ public Builder mergeTextAnchor( * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearTextAnchor() { if (textAnchorBuilder_ == null) { @@ -38367,11 +38331,13 @@ public Builder clearTextAnchor() { * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.documentai.v1beta3.Document.TextAnchor.Builder getTextAnchorBuilder() { @@ -38383,11 +38349,13 @@ public Builder clearTextAnchor() { * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.cloud.documentai.v1beta3.Document.TextAnchorOrBuilder getTextAnchorOrBuilder() { @@ -38403,11 +38371,13 @@ public Builder clearTextAnchor() { * * *
-       * Provenance of the entity.
+       * Optional. Provenance of the entity.
        * Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text].
        * 
* - * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1; + * + * .google.cloud.documentai.v1beta3.Document.TextAnchor text_anchor = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.documentai.v1beta3.Document.TextAnchor, @@ -38537,10 +38507,10 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { * * *
-       * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+       * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
        * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The mentionText. */ @@ -38559,10 +38529,10 @@ public java.lang.String getMentionText() { * * *
-       * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+       * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
        * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for mentionText. */ @@ -38581,10 +38551,10 @@ public com.google.protobuf.ByteString getMentionTextBytes() { * * *
-       * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+       * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
        * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The mentionText to set. * @return This builder for chaining. @@ -38602,10 +38572,10 @@ public Builder setMentionText(java.lang.String value) { * * *
-       * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+       * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
        * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -38619,10 +38589,10 @@ public Builder clearMentionText() { * * *
-       * Text value in the document e.g. `1600 Amphitheatre Pkwy`.
+       * Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`.
        * 
* - * string mention_text = 3; + * string mention_text = 3 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for mentionText to set. * @return This builder for chaining. @@ -38643,10 +38613,10 @@ public Builder setMentionTextBytes(com.google.protobuf.ByteString value) { * * *
-       * Deprecated.  Use `id` field instead.
+       * Optional. Deprecated.  Use `id` field instead.
        * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The mentionId. */ @@ -38665,10 +38635,10 @@ public java.lang.String getMentionId() { * * *
-       * Deprecated.  Use `id` field instead.
+       * Optional. Deprecated.  Use `id` field instead.
        * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for mentionId. */ @@ -38687,10 +38657,10 @@ public com.google.protobuf.ByteString getMentionIdBytes() { * * *
-       * Deprecated.  Use `id` field instead.
+       * Optional. Deprecated.  Use `id` field instead.
        * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The mentionId to set. * @return This builder for chaining. @@ -38708,10 +38678,10 @@ public Builder setMentionId(java.lang.String value) { * * *
-       * Deprecated.  Use `id` field instead.
+       * Optional. Deprecated.  Use `id` field instead.
        * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -38725,10 +38695,10 @@ public Builder clearMentionId() { * * *
-       * Deprecated.  Use `id` field instead.
+       * Optional. Deprecated.  Use `id` field instead.
        * 
* - * string mention_id = 4; + * string mention_id = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for mentionId to set. * @return This builder for chaining. @@ -46116,13 +46086,23 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { * * *
-       * Element is review and approved at human review, confidence will be set
-       * to 1.0
+       * Element is reviewed and approved at human review, confidence will be
+       * set to 1.0.
        * 
* * EVAL_APPROVED = 5; */ EVAL_APPROVED(5), + /** + * + * + *
+       * Element is skipped in the validation process.
+       * 
+ * + * EVAL_SKIPPED = 6; + */ + EVAL_SKIPPED(6), UNRECOGNIZED(-1), ; @@ -46180,13 +46160,23 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { * * *
-       * Element is review and approved at human review, confidence will be set
-       * to 1.0
+       * Element is reviewed and approved at human review, confidence will be
+       * set to 1.0.
        * 
* * EVAL_APPROVED = 5; */ public static final int EVAL_APPROVED_VALUE = 5; + /** + * + * + *
+       * Element is skipped in the validation process.
+       * 
+ * + * EVAL_SKIPPED = 6; + */ + public static final int EVAL_SKIPPED_VALUE = 6; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -46224,6 +46214,8 @@ public static OperationType forNumber(int value) { return EVAL_REQUESTED; case 5: return EVAL_APPROVED; + case 6: + return EVAL_SKIPPED; default: return null; } @@ -52948,14 +52940,14 @@ public SourceCase getSourceCase() { * * *
-   * Currently supports Google Cloud Storage URI of the form
+   * Optional. Currently supports Google Cloud Storage URI of the form
    *    `gs://bucket_name/object_name`. Object versioning is not supported.
    *    See [Google Cloud Storage Request
    *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
    *    info.
    * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return Whether the uri field is set. */ @@ -52966,14 +52958,14 @@ public boolean hasUri() { * * *
-   * Currently supports Google Cloud Storage URI of the form
+   * Optional. Currently supports Google Cloud Storage URI of the form
    *    `gs://bucket_name/object_name`. Object versioning is not supported.
    *    See [Google Cloud Storage Request
    *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
    *    info.
    * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The uri. */ @@ -52997,14 +52989,14 @@ public java.lang.String getUri() { * * *
-   * Currently supports Google Cloud Storage URI of the form
+   * Optional. Currently supports Google Cloud Storage URI of the form
    *    `gs://bucket_name/object_name`. Object versioning is not supported.
    *    See [Google Cloud Storage Request
    *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
    *    info.
    * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for uri. */ @@ -53030,12 +53022,12 @@ public com.google.protobuf.ByteString getUriBytes() { * * *
-   * Inline document content, represented as a stream of bytes.
+   * Optional. Inline document content, represented as a stream of bytes.
    * Note: As with all `bytes` fields, protobuffers use a pure binary
    * representation, whereas JSON representations use base64.
    * 
* - * bytes content = 2; + * bytes content = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return Whether the content field is set. */ @@ -53047,12 +53039,12 @@ public boolean hasContent() { * * *
-   * Inline document content, represented as a stream of bytes.
+   * Optional. Inline document content, represented as a stream of bytes.
    * Note: As with all `bytes` fields, protobuffers use a pure binary
    * representation, whereas JSON representations use base64.
    * 
* - * bytes content = 2; + * bytes content = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The content. */ @@ -53123,10 +53115,10 @@ public com.google.protobuf.ByteString getMimeTypeBytes() { * * *
-   * UTF-8 encoded text in reading order from the document.
+   * Optional. UTF-8 encoded text in reading order from the document.
    * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The text. */ @@ -53146,10 +53138,10 @@ public java.lang.String getText() { * * *
-   * UTF-8 encoded text in reading order from the document.
+   * Optional. UTF-8 encoded text in reading order from the document.
    * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for text. */ @@ -54508,14 +54500,14 @@ public Builder clearSource() { * * *
-     * Currently supports Google Cloud Storage URI of the form
+     * Optional. Currently supports Google Cloud Storage URI of the form
      *    `gs://bucket_name/object_name`. Object versioning is not supported.
      *    See [Google Cloud Storage Request
      *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
      *    info.
      * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return Whether the uri field is set. */ @@ -54527,14 +54519,14 @@ public boolean hasUri() { * * *
-     * Currently supports Google Cloud Storage URI of the form
+     * Optional. Currently supports Google Cloud Storage URI of the form
      *    `gs://bucket_name/object_name`. Object versioning is not supported.
      *    See [Google Cloud Storage Request
      *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
      *    info.
      * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The uri. */ @@ -54559,14 +54551,14 @@ public java.lang.String getUri() { * * *
-     * Currently supports Google Cloud Storage URI of the form
+     * Optional. Currently supports Google Cloud Storage URI of the form
      *    `gs://bucket_name/object_name`. Object versioning is not supported.
      *    See [Google Cloud Storage Request
      *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
      *    info.
      * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for uri. */ @@ -54591,14 +54583,14 @@ public com.google.protobuf.ByteString getUriBytes() { * * *
-     * Currently supports Google Cloud Storage URI of the form
+     * Optional. Currently supports Google Cloud Storage URI of the form
      *    `gs://bucket_name/object_name`. Object versioning is not supported.
      *    See [Google Cloud Storage Request
      *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
      *    info.
      * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The uri to set. * @return This builder for chaining. @@ -54616,14 +54608,14 @@ public Builder setUri(java.lang.String value) { * * *
-     * Currently supports Google Cloud Storage URI of the form
+     * Optional. Currently supports Google Cloud Storage URI of the form
      *    `gs://bucket_name/object_name`. Object versioning is not supported.
      *    See [Google Cloud Storage Request
      *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
      *    info.
      * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -54639,14 +54631,14 @@ public Builder clearUri() { * * *
-     * Currently supports Google Cloud Storage URI of the form
+     * Optional. Currently supports Google Cloud Storage URI of the form
      *    `gs://bucket_name/object_name`. Object versioning is not supported.
      *    See [Google Cloud Storage Request
      *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
      *    info.
      * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for uri to set. * @return This builder for chaining. @@ -54666,12 +54658,12 @@ public Builder setUriBytes(com.google.protobuf.ByteString value) { * * *
-     * Inline document content, represented as a stream of bytes.
+     * Optional. Inline document content, represented as a stream of bytes.
      * Note: As with all `bytes` fields, protobuffers use a pure binary
      * representation, whereas JSON representations use base64.
      * 
* - * bytes content = 2; + * bytes content = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return Whether the content field is set. */ @@ -54682,12 +54674,12 @@ public boolean hasContent() { * * *
-     * Inline document content, represented as a stream of bytes.
+     * Optional. Inline document content, represented as a stream of bytes.
      * Note: As with all `bytes` fields, protobuffers use a pure binary
      * representation, whereas JSON representations use base64.
      * 
* - * bytes content = 2; + * bytes content = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The content. */ @@ -54701,12 +54693,12 @@ public com.google.protobuf.ByteString getContent() { * * *
-     * Inline document content, represented as a stream of bytes.
+     * Optional. Inline document content, represented as a stream of bytes.
      * Note: As with all `bytes` fields, protobuffers use a pure binary
      * representation, whereas JSON representations use base64.
      * 
* - * bytes content = 2; + * bytes content = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The content to set. * @return This builder for chaining. @@ -54724,12 +54716,12 @@ public Builder setContent(com.google.protobuf.ByteString value) { * * *
-     * Inline document content, represented as a stream of bytes.
+     * Optional. Inline document content, represented as a stream of bytes.
      * Note: As with all `bytes` fields, protobuffers use a pure binary
      * representation, whereas JSON representations use base64.
      * 
* - * bytes content = 2; + * bytes content = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -54863,10 +54855,10 @@ public Builder setMimeTypeBytes(com.google.protobuf.ByteString value) { * * *
-     * UTF-8 encoded text in reading order from the document.
+     * Optional. UTF-8 encoded text in reading order from the document.
      * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The text. */ @@ -54885,10 +54877,10 @@ public java.lang.String getText() { * * *
-     * UTF-8 encoded text in reading order from the document.
+     * Optional. UTF-8 encoded text in reading order from the document.
      * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for text. */ @@ -54907,10 +54899,10 @@ public com.google.protobuf.ByteString getTextBytes() { * * *
-     * UTF-8 encoded text in reading order from the document.
+     * Optional. UTF-8 encoded text in reading order from the document.
      * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The text to set. * @return This builder for chaining. @@ -54928,10 +54920,10 @@ public Builder setText(java.lang.String value) { * * *
-     * UTF-8 encoded text in reading order from the document.
+     * Optional. UTF-8 encoded text in reading order from the document.
      * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -54945,10 +54937,10 @@ public Builder clearText() { * * *
-     * UTF-8 encoded text in reading order from the document.
+     * Optional. UTF-8 encoded text in reading order from the document.
      * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for text to set. * @return This builder for chaining. diff --git a/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentOrBuilder.java b/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentOrBuilder.java index e7c54a5f..a955c620 100644 --- a/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentOrBuilder.java +++ b/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentOrBuilder.java @@ -27,14 +27,14 @@ public interface DocumentOrBuilder * * *
-   * Currently supports Google Cloud Storage URI of the form
+   * Optional. Currently supports Google Cloud Storage URI of the form
    *    `gs://bucket_name/object_name`. Object versioning is not supported.
    *    See [Google Cloud Storage Request
    *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
    *    info.
    * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return Whether the uri field is set. */ @@ -43,14 +43,14 @@ public interface DocumentOrBuilder * * *
-   * Currently supports Google Cloud Storage URI of the form
+   * Optional. Currently supports Google Cloud Storage URI of the form
    *    `gs://bucket_name/object_name`. Object versioning is not supported.
    *    See [Google Cloud Storage Request
    *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
    *    info.
    * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The uri. */ @@ -59,14 +59,14 @@ public interface DocumentOrBuilder * * *
-   * Currently supports Google Cloud Storage URI of the form
+   * Optional. Currently supports Google Cloud Storage URI of the form
    *    `gs://bucket_name/object_name`. Object versioning is not supported.
    *    See [Google Cloud Storage Request
    *    URIs](https://cloud.google.com/storage/docs/reference-uris) for more
    *    info.
    * 
* - * string uri = 1; + * string uri = 1 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for uri. */ @@ -76,12 +76,12 @@ public interface DocumentOrBuilder * * *
-   * Inline document content, represented as a stream of bytes.
+   * Optional. Inline document content, represented as a stream of bytes.
    * Note: As with all `bytes` fields, protobuffers use a pure binary
    * representation, whereas JSON representations use base64.
    * 
* - * bytes content = 2; + * bytes content = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return Whether the content field is set. */ @@ -90,12 +90,12 @@ public interface DocumentOrBuilder * * *
-   * Inline document content, represented as a stream of bytes.
+   * Optional. Inline document content, represented as a stream of bytes.
    * Note: As with all `bytes` fields, protobuffers use a pure binary
    * representation, whereas JSON representations use base64.
    * 
* - * bytes content = 2; + * bytes content = 2 [(.google.api.field_behavior) = OPTIONAL]; * * @return The content. */ @@ -134,10 +134,10 @@ public interface DocumentOrBuilder * * *
-   * UTF-8 encoded text in reading order from the document.
+   * Optional. UTF-8 encoded text in reading order from the document.
    * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The text. */ @@ -146,10 +146,10 @@ public interface DocumentOrBuilder * * *
-   * UTF-8 encoded text in reading order from the document.
+   * Optional. UTF-8 encoded text in reading order from the document.
    * 
* - * string text = 4; + * string text = 4 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for text. */ diff --git a/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java b/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java index eda9a85d..44c81f92 100644 --- a/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java +++ b/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProto.java @@ -173,200 +173,201 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "proto\032\026google/type/date.proto\032\032google/ty" + "pe/datetime.proto\032\027google/type/money.pro" + "to\032 google/type/postal_address.proto\032\034go" - + "ogle/api/annotations.proto\"\241:\n\010Document\022" - + "\r\n\003uri\030\001 \001(\tH\000\022\021\n\007content\030\002 \001(\014H\000\022\021\n\tmim" - + "e_type\030\003 \001(\t\022\014\n\004text\030\004 \001(\t\022D\n\013text_style" - + "s\030\005 \003(\0132/.google.cloud.documentai.v1beta" - + "3.Document.Style\022=\n\005pages\030\006 \003(\0132..google" - + ".cloud.documentai.v1beta3.Document.Page\022" - + "B\n\010entities\030\007 \003(\01320.google.cloud.documen" - + "tai.v1beta3.Document.Entity\022R\n\020entity_re" - + "lations\030\010 \003(\01328.google.cloud.documentai." - + "v1beta3.Document.EntityRelation\022J\n\014text_" - + "changes\030\016 \003(\01324.google.cloud.documentai." - + "v1beta3.Document.TextChange\022G\n\nshard_inf" - + "o\030\t \001(\01323.google.cloud.documentai.v1beta" - + "3.Document.ShardInfo\022!\n\005error\030\n \001(\0132\022.go" - + "ogle.rpc.Status\022E\n\trevisions\030\r \003(\01322.goo" - + "gle.cloud.documentai.v1beta3.Document.Re" - + "vision\032J\n\tShardInfo\022\023\n\013shard_index\030\001 \001(\003" - + "\022\023\n\013shard_count\030\002 \001(\003\022\023\n\013text_offset\030\003 \001" - + "(\003\032\332\002\n\005Style\022I\n\013text_anchor\030\001 \001(\01324.goog" - + "le.cloud.documentai.v1beta3.Document.Tex" - + "tAnchor\022!\n\005color\030\002 \001(\0132\022.google.type.Col" - + "or\022,\n\020background_color\030\003 \001(\0132\022.google.ty" - + "pe.Color\022\023\n\013font_weight\030\004 \001(\t\022\022\n\ntext_st" - + "yle\030\005 \001(\t\022\027\n\017text_decoration\030\006 \001(\t\022K\n\tfo" - + "nt_size\030\007 \001(\01328.google.cloud.documentai." - + "v1beta3.Document.Style.FontSize\032&\n\010FontS" - + "ize\022\014\n\004size\030\001 \001(\002\022\014\n\004unit\030\002 \001(\t\032\320\037\n\004Page" - + "\022\023\n\013page_number\030\001 \001(\005\022C\n\005image\030\r \001(\01324.g" + + "ogle/api/annotations.proto\"\322:\n\010Document\022" + + "\022\n\003uri\030\001 \001(\tB\003\340A\001H\000\022\026\n\007content\030\002 \001(\014B\003\340A" + + "\001H\000\022\021\n\tmime_type\030\003 \001(\t\022\021\n\004text\030\004 \001(\tB\003\340A" + + "\001\022D\n\013text_styles\030\005 \003(\0132/.google.cloud.do" + + "cumentai.v1beta3.Document.Style\022=\n\005pages" + + "\030\006 \003(\0132..google.cloud.documentai.v1beta3" + + ".Document.Page\022B\n\010entities\030\007 \003(\01320.googl" + + "e.cloud.documentai.v1beta3.Document.Enti" + + "ty\022R\n\020entity_relations\030\010 \003(\01328.google.cl" + + "oud.documentai.v1beta3.Document.EntityRe" + + "lation\022J\n\014text_changes\030\016 \003(\01324.google.cl" + + "oud.documentai.v1beta3.Document.TextChan" + + "ge\022G\n\nshard_info\030\t \001(\01323.google.cloud.do" + + "cumentai.v1beta3.Document.ShardInfo\022!\n\005e" + + "rror\030\n \001(\0132\022.google.rpc.Status\022E\n\trevisi" + + "ons\030\r \003(\01322.google.cloud.documentai.v1be" + + "ta3.Document.Revision\032J\n\tShardInfo\022\023\n\013sh" + + "ard_index\030\001 \001(\003\022\023\n\013shard_count\030\002 \001(\003\022\023\n\013" + + "text_offset\030\003 \001(\003\032\332\002\n\005Style\022I\n\013text_anch" + + "or\030\001 \001(\01324.google.cloud.documentai.v1bet" + + "a3.Document.TextAnchor\022!\n\005color\030\002 \001(\0132\022." + + "google.type.Color\022,\n\020background_color\030\003 " + + "\001(\0132\022.google.type.Color\022\023\n\013font_weight\030\004" + + " \001(\t\022\022\n\ntext_style\030\005 \001(\t\022\027\n\017text_decorat" + + "ion\030\006 \001(\t\022K\n\tfont_size\030\007 \001(\01328.google.cl" + + "oud.documentai.v1beta3.Document.Style.Fo" + + "ntSize\032&\n\010FontSize\022\014\n\004size\030\001 \001(\002\022\014\n\004unit" + + "\030\002 \001(\t\032\320\037\n\004Page\022\023\n\013page_number\030\001 \001(\005\022C\n\005" + + "image\030\r \001(\01324.google.cloud.documentai.v1" + + "beta3.Document.Page.Image\022I\n\ntransforms\030" + + "\016 \003(\01325.google.cloud.documentai.v1beta3." + + "Document.Page.Matrix\022K\n\tdimension\030\002 \001(\0132" + + "8.google.cloud.documentai.v1beta3.Docume" + + "nt.Page.Dimension\022E\n\006layout\030\003 \001(\01325.goog" + + "le.cloud.documentai.v1beta3.Document.Pag" + + "e.Layout\022[\n\022detected_languages\030\004 \003(\0132?.g" + "oogle.cloud.documentai.v1beta3.Document." - + "Page.Image\022I\n\ntransforms\030\016 \003(\01325.google." - + "cloud.documentai.v1beta3.Document.Page.M" - + "atrix\022K\n\tdimension\030\002 \001(\01328.google.cloud." - + "documentai.v1beta3.Document.Page.Dimensi" - + "on\022E\n\006layout\030\003 \001(\01325.google.cloud.docume" - + "ntai.v1beta3.Document.Page.Layout\022[\n\022det" - + "ected_languages\030\004 \003(\0132?.google.cloud.doc" - + "umentai.v1beta3.Document.Page.DetectedLa" - + "nguage\022D\n\006blocks\030\005 \003(\01324.google.cloud.do" - + "cumentai.v1beta3.Document.Page.Block\022L\n\n" - + "paragraphs\030\006 \003(\01328.google.cloud.document" - + "ai.v1beta3.Document.Page.Paragraph\022B\n\005li" - + "nes\030\007 \003(\01323.google.cloud.documentai.v1be" - + "ta3.Document.Page.Line\022D\n\006tokens\030\010 \003(\01324" - + ".google.cloud.documentai.v1beta3.Documen" - + "t.Page.Token\022U\n\017visual_elements\030\t \003(\0132<." + + "Page.DetectedLanguage\022D\n\006blocks\030\005 \003(\01324." + "google.cloud.documentai.v1beta3.Document" - + ".Page.VisualElement\022D\n\006tables\030\n \003(\01324.go" + + ".Page.Block\022L\n\nparagraphs\030\006 \003(\01328.google" + + ".cloud.documentai.v1beta3.Document.Page." + + "Paragraph\022B\n\005lines\030\007 \003(\01323.google.cloud." + + "documentai.v1beta3.Document.Page.Line\022D\n" + + "\006tokens\030\010 \003(\01324.google.cloud.documentai." + + "v1beta3.Document.Page.Token\022U\n\017visual_el" + + "ements\030\t \003(\0132<.google.cloud.documentai.v" + + "1beta3.Document.Page.VisualElement\022D\n\006ta" + + "bles\030\n \003(\01324.google.cloud.documentai.v1b" + + "eta3.Document.Page.Table\022M\n\013form_fields\030" + + "\013 \003(\01328.google.cloud.documentai.v1beta3." + + "Document.Page.FormField\0328\n\tDimension\022\r\n\005" + + "width\030\001 \001(\002\022\016\n\006height\030\002 \001(\002\022\014\n\004unit\030\003 \001(" + + "\t\032J\n\005Image\022\017\n\007content\030\001 \001(\014\022\021\n\tmime_type" + + "\030\002 \001(\t\022\r\n\005width\030\003 \001(\005\022\016\n\006height\030\004 \001(\005\032@\n" + + "\006Matrix\022\014\n\004rows\030\001 \001(\005\022\014\n\004cols\030\002 \001(\005\022\014\n\004t" + + "ype\030\003 \001(\005\022\014\n\004data\030\004 \001(\014\032\354\002\n\006Layout\022I\n\013te" + + "xt_anchor\030\001 \001(\01324.google.cloud.documenta" + + "i.v1beta3.Document.TextAnchor\022\022\n\nconfide" + + "nce\030\002 \001(\002\022D\n\rbounding_poly\030\003 \001(\0132-.googl" + + "e.cloud.documentai.v1beta3.BoundingPoly\022" + + "V\n\013orientation\030\004 \001(\0162A.google.cloud.docu" + + "mentai.v1beta3.Document.Page.Layout.Orie" + + "ntation\"e\n\013Orientation\022\033\n\027ORIENTATION_UN" + + "SPECIFIED\020\000\022\013\n\007PAGE_UP\020\001\022\016\n\nPAGE_RIGHT\020\002" + + "\022\r\n\tPAGE_DOWN\020\003\022\r\n\tPAGE_LEFT\020\004\032\365\001\n\005Block" + + "\022E\n\006layout\030\001 \001(\01325.google.cloud.document" + + "ai.v1beta3.Document.Page.Layout\022[\n\022detec" + + "ted_languages\030\002 \003(\0132?.google.cloud.docum" + + "entai.v1beta3.Document.Page.DetectedLang" + + "uage\022H\n\nprovenance\030\003 \001(\01324.google.cloud." + + "documentai.v1beta3.Document.Provenance\032\371" + + "\001\n\tParagraph\022E\n\006layout\030\001 \001(\01325.google.cl" + + "oud.documentai.v1beta3.Document.Page.Lay" + + "out\022[\n\022detected_languages\030\002 \003(\0132?.google" + + ".cloud.documentai.v1beta3.Document.Page." + + "DetectedLanguage\022H\n\nprovenance\030\003 \001(\01324.g" + + "oogle.cloud.documentai.v1beta3.Document." + + "Provenance\032\364\001\n\004Line\022E\n\006layout\030\001 \001(\01325.go" + "ogle.cloud.documentai.v1beta3.Document.P" - + "age.Table\022M\n\013form_fields\030\013 \003(\01328.google." - + "cloud.documentai.v1beta3.Document.Page.F" - + "ormField\0328\n\tDimension\022\r\n\005width\030\001 \001(\002\022\016\n\006" - + "height\030\002 \001(\002\022\014\n\004unit\030\003 \001(\t\032J\n\005Image\022\017\n\007c" - + "ontent\030\001 \001(\014\022\021\n\tmime_type\030\002 \001(\t\022\r\n\005width" - + "\030\003 \001(\005\022\016\n\006height\030\004 \001(\005\032@\n\006Matrix\022\014\n\004rows" - + "\030\001 \001(\005\022\014\n\004cols\030\002 \001(\005\022\014\n\004type\030\003 \001(\005\022\014\n\004da" - + "ta\030\004 \001(\014\032\354\002\n\006Layout\022I\n\013text_anchor\030\001 \001(\013" - + "24.google.cloud.documentai.v1beta3.Docum" - + "ent.TextAnchor\022\022\n\nconfidence\030\002 \001(\002\022D\n\rbo" - + "unding_poly\030\003 \001(\0132-.google.cloud.documen" - + "tai.v1beta3.BoundingPoly\022V\n\013orientation\030" - + "\004 \001(\0162A.google.cloud.documentai.v1beta3." - + "Document.Page.Layout.Orientation\"e\n\013Orie" - + "ntation\022\033\n\027ORIENTATION_UNSPECIFIED\020\000\022\013\n\007" - + "PAGE_UP\020\001\022\016\n\nPAGE_RIGHT\020\002\022\r\n\tPAGE_DOWN\020\003" - + "\022\r\n\tPAGE_LEFT\020\004\032\365\001\n\005Block\022E\n\006layout\030\001 \001(" - + "\01325.google.cloud.documentai.v1beta3.Docu" - + "ment.Page.Layout\022[\n\022detected_languages\030\002" - + " \003(\0132?.google.cloud.documentai.v1beta3.D" - + "ocument.Page.DetectedLanguage\022H\n\nprovena" - + "nce\030\003 \001(\01324.google.cloud.documentai.v1be" - + "ta3.Document.Provenance\032\371\001\n\tParagraph\022E\n" - + "\006layout\030\001 \001(\01325.google.cloud.documentai." - + "v1beta3.Document.Page.Layout\022[\n\022detected" - + "_languages\030\002 \003(\0132?.google.cloud.document" - + "ai.v1beta3.Document.Page.DetectedLanguag" - + "e\022H\n\nprovenance\030\003 \001(\01324.google.cloud.doc" - + "umentai.v1beta3.Document.Provenance\032\364\001\n\004" - + "Line\022E\n\006layout\030\001 \001(\01325.google.cloud.docu" - + "mentai.v1beta3.Document.Page.Layout\022[\n\022d" - + "etected_languages\030\002 \003(\0132?.google.cloud.d" - + "ocumentai.v1beta3.Document.Page.Detected" - + "Language\022H\n\nprovenance\030\003 \001(\01324.google.cl" - + "oud.documentai.v1beta3.Document.Provenan" - + "ce\032\377\003\n\005Token\022E\n\006layout\030\001 \001(\01325.google.cl" + + "age.Layout\022[\n\022detected_languages\030\002 \003(\0132?" + + ".google.cloud.documentai.v1beta3.Documen" + + "t.Page.DetectedLanguage\022H\n\nprovenance\030\003 " + + "\001(\01324.google.cloud.documentai.v1beta3.Do" + + "cument.Provenance\032\377\003\n\005Token\022E\n\006layout\030\001 " + + "\001(\01325.google.cloud.documentai.v1beta3.Do" + + "cument.Page.Layout\022Z\n\016detected_break\030\002 \001" + + "(\0132B.google.cloud.documentai.v1beta3.Doc" + + "ument.Page.Token.DetectedBreak\022[\n\022detect" + + "ed_languages\030\003 \003(\0132?.google.cloud.docume" + + "ntai.v1beta3.Document.Page.DetectedLangu" + + "age\022H\n\nprovenance\030\004 \001(\01324.google.cloud.d" + + "ocumentai.v1beta3.Document.Provenance\032\253\001" + + "\n\rDetectedBreak\022U\n\004type\030\001 \001(\0162G.google.c" + + "loud.documentai.v1beta3.Document.Page.To" + + "ken.DetectedBreak.Type\"C\n\004Type\022\024\n\020TYPE_U" + + "NSPECIFIED\020\000\022\t\n\005SPACE\020\001\022\016\n\nWIDE_SPACE\020\002\022" + + "\n\n\006HYPHEN\020\003\032\301\001\n\rVisualElement\022E\n\006layout\030" + + "\001 \001(\01325.google.cloud.documentai.v1beta3." + + "Document.Page.Layout\022\014\n\004type\030\002 \001(\t\022[\n\022de" + + "tected_languages\030\003 \003(\0132?.google.cloud.do" + + "cumentai.v1beta3.Document.Page.DetectedL" + + "anguage\032\202\005\n\005Table\022E\n\006layout\030\001 \001(\01325.goog" + + "le.cloud.documentai.v1beta3.Document.Pag" + + "e.Layout\022R\n\013header_rows\030\002 \003(\0132=.google.c" + + "loud.documentai.v1beta3.Document.Page.Ta" + + "ble.TableRow\022P\n\tbody_rows\030\003 \003(\0132=.google" + + ".cloud.documentai.v1beta3.Document.Page." + + "Table.TableRow\022[\n\022detected_languages\030\004 \003" + + "(\0132?.google.cloud.documentai.v1beta3.Doc" + + "ument.Page.DetectedLanguage\032Y\n\010TableRow\022" + + "M\n\005cells\030\001 \003(\0132>.google.cloud.documentai" + + ".v1beta3.Document.Page.Table.TableCell\032\323" + + "\001\n\tTableCell\022E\n\006layout\030\001 \001(\01325.google.cl" + "oud.documentai.v1beta3.Document.Page.Lay" - + "out\022Z\n\016detected_break\030\002 \001(\0132B.google.clo" - + "ud.documentai.v1beta3.Document.Page.Toke" - + "n.DetectedBreak\022[\n\022detected_languages\030\003 " - + "\003(\0132?.google.cloud.documentai.v1beta3.Do" - + "cument.Page.DetectedLanguage\022H\n\nprovenan" - + "ce\030\004 \001(\01324.google.cloud.documentai.v1bet" - + "a3.Document.Provenance\032\253\001\n\rDetectedBreak" - + "\022U\n\004type\030\001 \001(\0162G.google.cloud.documentai" - + ".v1beta3.Document.Page.Token.DetectedBre" - + "ak.Type\"C\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\t\n" - + "\005SPACE\020\001\022\016\n\nWIDE_SPACE\020\002\022\n\n\006HYPHEN\020\003\032\301\001\n" - + "\rVisualElement\022E\n\006layout\030\001 \001(\01325.google." - + "cloud.documentai.v1beta3.Document.Page.L" - + "ayout\022\014\n\004type\030\002 \001(\t\022[\n\022detected_language" - + "s\030\003 \003(\0132?.google.cloud.documentai.v1beta" - + "3.Document.Page.DetectedLanguage\032\202\005\n\005Tab" - + "le\022E\n\006layout\030\001 \001(\01325.google.cloud.docume" - + "ntai.v1beta3.Document.Page.Layout\022R\n\013hea" - + "der_rows\030\002 \003(\0132=.google.cloud.documentai" - + ".v1beta3.Document.Page.Table.TableRow\022P\n" - + "\tbody_rows\030\003 \003(\0132=.google.cloud.document" - + "ai.v1beta3.Document.Page.Table.TableRow\022" + + "out\022\020\n\010row_span\030\002 \001(\005\022\020\n\010col_span\030\003 \001(\005\022" + "[\n\022detected_languages\030\004 \003(\0132?.google.clo" + "ud.documentai.v1beta3.Document.Page.Dete" - + "ctedLanguage\032Y\n\010TableRow\022M\n\005cells\030\001 \003(\0132" - + ">.google.cloud.documentai.v1beta3.Docume" - + "nt.Page.Table.TableCell\032\323\001\n\tTableCell\022E\n" - + "\006layout\030\001 \001(\01325.google.cloud.documentai." - + "v1beta3.Document.Page.Layout\022\020\n\010row_span" - + "\030\002 \001(\005\022\020\n\010col_span\030\003 \001(\005\022[\n\022detected_lan" - + "guages\030\004 \003(\0132?.google.cloud.documentai.v" - + "1beta3.Document.Page.DetectedLanguage\032\373\002" - + "\n\tFormField\022I\n\nfield_name\030\001 \001(\01325.google" - + ".cloud.documentai.v1beta3.Document.Page." - + "Layout\022J\n\013field_value\030\002 \001(\01325.google.clo" - + "ud.documentai.v1beta3.Document.Page.Layo" - + "ut\022`\n\027name_detected_languages\030\003 \003(\0132?.go" - + "ogle.cloud.documentai.v1beta3.Document.P" - + "age.DetectedLanguage\022a\n\030value_detected_l" - + "anguages\030\004 \003(\0132?.google.cloud.documentai" - + ".v1beta3.Document.Page.DetectedLanguage\022" - + "\022\n\nvalue_type\030\005 \001(\t\032=\n\020DetectedLanguage\022" - + "\025\n\rlanguage_code\030\001 \001(\t\022\022\n\nconfidence\030\002 \001" - + "(\002\032\245\006\n\006Entity\022I\n\013text_anchor\030\001 \001(\01324.goo" - + "gle.cloud.documentai.v1beta3.Document.Te" - + "xtAnchor\022\014\n\004type\030\002 \001(\t\022\024\n\014mention_text\030\003" - + " \001(\t\022\022\n\nmention_id\030\004 \001(\t\022\027\n\nconfidence\030\005" - + " \001(\002B\003\340A\001\022N\n\013page_anchor\030\006 \001(\01324.google." - + "cloud.documentai.v1beta3.Document.PageAn" - + "chorB\003\340A\001\022\017\n\002id\030\007 \001(\tB\003\340A\001\022_\n\020normalized" - + "_value\030\t \001(\0132@.google.cloud.documentai.v" - + "1beta3.Document.Entity.NormalizedValueB\003" - + "\340A\001\022I\n\nproperties\030\n \003(\01320.google.cloud.d" - + "ocumentai.v1beta3.Document.EntityB\003\340A\001\022M" - + "\n\nprovenance\030\013 \001(\01324.google.cloud.docume" - + "ntai.v1beta3.Document.ProvenanceB\003\340A\001\022\025\n" - + "\010redacted\030\014 \001(\010B\003\340A\001\032\213\002\n\017NormalizedValue" - + "\022)\n\013money_value\030\002 \001(\0132\022.google.type.Mone" - + "yH\000\022\'\n\ndate_value\030\003 \001(\0132\021.google.type.Da" - + "teH\000\022/\n\016datetime_value\030\004 \001(\0132\025.google.ty" - + "pe.DateTimeH\000\0223\n\raddress_value\030\005 \001(\0132\032.g" - + "oogle.type.PostalAddressH\000\022\027\n\rboolean_va" - + "lue\030\006 \001(\010H\000\022\021\n\004text\030\001 \001(\tB\003\340A\002B\022\n\020struct" - + "ured_value\032I\n\016EntityRelation\022\022\n\nsubject_" - + "id\030\001 \001(\t\022\021\n\tobject_id\030\002 \001(\t\022\020\n\010relation\030" - + "\003 \001(\t\032\255\001\n\nTextAnchor\022W\n\rtext_segments\030\001 " - + "\003(\0132@.google.cloud.documentai.v1beta3.Do" - + "cument.TextAnchor.TextSegment\022\017\n\007content" - + "\030\002 \001(\t\0325\n\013TextSegment\022\023\n\013start_index\030\001 \001" - + "(\003\022\021\n\tend_index\030\002 \001(\003\032\316\003\n\nPageAnchor\022O\n\t" - + "page_refs\030\001 \003(\0132<.google.cloud.documenta" - + "i.v1beta3.Document.PageAnchor.PageRef\032\356\002" - + "\n\007PageRef\022\021\n\004page\030\001 \001(\003B\003\340A\002\022a\n\013layout_t" - + "ype\030\002 \001(\0162G.google.cloud.documentai.v1be" - + "ta3.Document.PageAnchor.PageRef.LayoutTy" - + "peB\003\340A\001\022\030\n\tlayout_id\030\003 \001(\tB\005\030\001\340A\001\022I\n\rbou" - + "nding_poly\030\004 \001(\0132-.google.cloud.document" - + "ai.v1beta3.BoundingPolyB\003\340A\001\"\207\001\n\nLayoutT" - + "ype\022\033\n\027LAYOUT_TYPE_UNSPECIFIED\020\000\022\t\n\005BLOC" - + "K\020\001\022\r\n\tPARAGRAPH\020\002\022\010\n\004LINE\020\003\022\t\n\005TOKEN\020\004\022" - + "\022\n\016VISUAL_ELEMENT\020\005\022\t\n\005TABLE\020\006\022\016\n\nFORM_F" - + "IELD\020\007\032\354\002\n\nProvenance\022\020\n\010revision\030\001 \001(\005\022" - + "\n\n\002id\030\002 \001(\005\022L\n\007parents\030\003 \003(\0132;.google.cl" - + "oud.documentai.v1beta3.Document.Provenan" - + "ce.Parent\022P\n\004type\030\004 \001(\0162B.google.cloud.d" - + "ocumentai.v1beta3.Document.Provenance.Op" - + "erationType\032&\n\006Parent\022\020\n\010revision\030\001 \001(\005\022" - + "\n\n\002id\030\002 \001(\005\"x\n\rOperationType\022\036\n\032OPERATIO" - + "N_TYPE_UNSPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020" - + "\002\022\013\n\007REPLACE\020\003\022\022\n\016EVAL_REQUESTED\020\004\022\021\n\rEV" - + "AL_APPROVED\020\005\032\222\002\n\010Revision\022\017\n\005agent\030\004 \001(" - + "\tH\000\022\023\n\tprocessor\030\005 \001(\tH\000\022\n\n\002id\030\001 \001(\t\022\016\n\006" - + "parent\030\002 \003(\005\022/\n\013create_time\030\003 \001(\0132\032.goog" - + "le.protobuf.Timestamp\022T\n\014human_review\030\006 " - + "\001(\0132>.google.cloud.documentai.v1beta3.Do" - + "cument.Revision.HumanReview\0323\n\013HumanRevi" - + "ew\022\r\n\005state\030\001 \001(\t\022\025\n\rstate_message\030\002 \001(\t" - + "B\010\n\006source\032\267\001\n\nTextChange\022I\n\013text_anchor" - + "\030\001 \001(\01324.google.cloud.documentai.v1beta3" - + ".Document.TextAnchor\022\024\n\014changed_text\030\002 \001" - + "(\t\022H\n\nprovenance\030\003 \003(\01324.google.cloud.do" - + "cumentai.v1beta3.Document.ProvenanceB\010\n\006" - + "sourceB\352\001\n#com.google.cloud.documentai.v" - + "1beta3B\rDocumentProtoP\001ZIgoogle.golang.o" - + "rg/genproto/googleapis/cloud/documentai/" - + "v1beta3;documentai\252\002\037Google.Cloud.Docume" - + "ntAI.V1Beta3\312\002\037Google\\Cloud\\DocumentAI\\V" - + "1beta3\352\002\"Google::Cloud::DocumentAI::V1be" - + "ta3b\006proto3" + + "ctedLanguage\032\373\002\n\tFormField\022I\n\nfield_name" + + "\030\001 \001(\01325.google.cloud.documentai.v1beta3" + + ".Document.Page.Layout\022J\n\013field_value\030\002 \001" + + "(\01325.google.cloud.documentai.v1beta3.Doc" + + "ument.Page.Layout\022`\n\027name_detected_langu" + + "ages\030\003 \003(\0132?.google.cloud.documentai.v1b" + + "eta3.Document.Page.DetectedLanguage\022a\n\030v" + + "alue_detected_languages\030\004 \003(\0132?.google.c" + + "loud.documentai.v1beta3.Document.Page.De" + + "tectedLanguage\022\022\n\nvalue_type\030\005 \001(\t\032=\n\020De" + + "tectedLanguage\022\025\n\rlanguage_code\030\001 \001(\t\022\022\n" + + "\nconfidence\030\002 \001(\002\032\264\006\n\006Entity\022N\n\013text_anc" + + "hor\030\001 \001(\01324.google.cloud.documentai.v1be" + + "ta3.Document.TextAnchorB\003\340A\001\022\014\n\004type\030\002 \001" + + "(\t\022\031\n\014mention_text\030\003 \001(\tB\003\340A\001\022\027\n\nmention" + + "_id\030\004 \001(\tB\003\340A\001\022\027\n\nconfidence\030\005 \001(\002B\003\340A\001\022" + + "N\n\013page_anchor\030\006 \001(\01324.google.cloud.docu" + + "mentai.v1beta3.Document.PageAnchorB\003\340A\001\022" + + "\017\n\002id\030\007 \001(\tB\003\340A\001\022_\n\020normalized_value\030\t \001" + + "(\0132@.google.cloud.documentai.v1beta3.Doc" + + "ument.Entity.NormalizedValueB\003\340A\001\022I\n\npro" + + "perties\030\n \003(\01320.google.cloud.documentai." + + "v1beta3.Document.EntityB\003\340A\001\022M\n\nprovenan" + + "ce\030\013 \001(\01324.google.cloud.documentai.v1bet" + + "a3.Document.ProvenanceB\003\340A\001\022\025\n\010redacted\030" + + "\014 \001(\010B\003\340A\001\032\213\002\n\017NormalizedValue\022)\n\013money_" + + "value\030\002 \001(\0132\022.google.type.MoneyH\000\022\'\n\ndat" + + "e_value\030\003 \001(\0132\021.google.type.DateH\000\022/\n\016da" + + "tetime_value\030\004 \001(\0132\025.google.type.DateTim" + + "eH\000\0223\n\raddress_value\030\005 \001(\0132\032.google.type" + + ".PostalAddressH\000\022\027\n\rboolean_value\030\006 \001(\010H" + + "\000\022\021\n\004text\030\001 \001(\tB\003\340A\002B\022\n\020structured_value" + + "\032I\n\016EntityRelation\022\022\n\nsubject_id\030\001 \001(\t\022\021" + + "\n\tobject_id\030\002 \001(\t\022\020\n\010relation\030\003 \001(\t\032\255\001\n\n" + + "TextAnchor\022W\n\rtext_segments\030\001 \003(\0132@.goog" + + "le.cloud.documentai.v1beta3.Document.Tex" + + "tAnchor.TextSegment\022\017\n\007content\030\002 \001(\t\0325\n\013" + + "TextSegment\022\023\n\013start_index\030\001 \001(\003\022\021\n\tend_" + + "index\030\002 \001(\003\032\316\003\n\nPageAnchor\022O\n\tpage_refs\030" + + "\001 \003(\0132<.google.cloud.documentai.v1beta3." + + "Document.PageAnchor.PageRef\032\356\002\n\007PageRef\022" + + "\021\n\004page\030\001 \001(\003B\003\340A\002\022a\n\013layout_type\030\002 \001(\0162" + + "G.google.cloud.documentai.v1beta3.Docume" + + "nt.PageAnchor.PageRef.LayoutTypeB\003\340A\001\022\030\n" + + "\tlayout_id\030\003 \001(\tB\005\030\001\340A\001\022I\n\rbounding_poly" + + "\030\004 \001(\0132-.google.cloud.documentai.v1beta3" + + ".BoundingPolyB\003\340A\001\"\207\001\n\nLayoutType\022\033\n\027LAY" + + "OUT_TYPE_UNSPECIFIED\020\000\022\t\n\005BLOCK\020\001\022\r\n\tPAR" + + "AGRAPH\020\002\022\010\n\004LINE\020\003\022\t\n\005TOKEN\020\004\022\022\n\016VISUAL_" + + "ELEMENT\020\005\022\t\n\005TABLE\020\006\022\016\n\nFORM_FIELD\020\007\032\377\002\n" + + "\nProvenance\022\020\n\010revision\030\001 \001(\005\022\n\n\002id\030\002 \001(" + + "\005\022L\n\007parents\030\003 \003(\0132;.google.cloud.docume" + + "ntai.v1beta3.Document.Provenance.Parent\022" + + "P\n\004type\030\004 \001(\0162B.google.cloud.documentai." + + "v1beta3.Document.Provenance.OperationTyp" + + "e\032&\n\006Parent\022\020\n\010revision\030\001 \001(\005\022\n\n\002id\030\002 \001(" + + "\005\"\212\001\n\rOperationType\022\036\n\032OPERATION_TYPE_UN" + + "SPECIFIED\020\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\022\013\n\007REPL" + + "ACE\020\003\022\022\n\016EVAL_REQUESTED\020\004\022\021\n\rEVAL_APPROV" + + "ED\020\005\022\020\n\014EVAL_SKIPPED\020\006\032\222\002\n\010Revision\022\017\n\005a" + + "gent\030\004 \001(\tH\000\022\023\n\tprocessor\030\005 \001(\tH\000\022\n\n\002id\030" + + "\001 \001(\t\022\016\n\006parent\030\002 \003(\005\022/\n\013create_time\030\003 \001" + + "(\0132\032.google.protobuf.Timestamp\022T\n\014human_" + + "review\030\006 \001(\0132>.google.cloud.documentai.v" + + "1beta3.Document.Revision.HumanReview\0323\n\013" + + "HumanReview\022\r\n\005state\030\001 \001(\t\022\025\n\rstate_mess" + + "age\030\002 \001(\tB\010\n\006source\032\267\001\n\nTextChange\022I\n\013te" + + "xt_anchor\030\001 \001(\01324.google.cloud.documenta" + + "i.v1beta3.Document.TextAnchor\022\024\n\014changed" + + "_text\030\002 \001(\t\022H\n\nprovenance\030\003 \003(\01324.google" + + ".cloud.documentai.v1beta3.Document.Prove" + + "nanceB\010\n\006sourceB\352\001\n#com.google.cloud.doc" + + "umentai.v1beta3B\rDocumentProtoP\001ZIgoogle" + + ".golang.org/genproto/googleapis/cloud/do" + + "cumentai/v1beta3;documentai\252\002\037Google.Clo" + + "ud.DocumentAI.V1Beta3\312\002\037Google\\Cloud\\Doc" + + "umentAI\\V1beta3\352\002\"Google::Cloud::Documen" + + "tAI::V1beta3b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto b/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto index 0e14be61..e9345f01 100644 --- a/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto +++ b/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document.proto @@ -396,27 +396,19 @@ message Document { // known. If this field is present, the 'text' field is still populated. oneof structured_value { // Money value. See also: - // - // https: - // github.com/googleapis/googleapis/blob/master/google/type/money.proto + // https://github.com/googleapis/googleapis/blob/master/google/type/money.proto google.type.Money money_value = 2; // Date value. Includes year, month, day. See also: - // - // https: - // github.com/googleapis/googleapis/blob/master/google/type/date.proto + // https://github.com/googleapis/googleapis/blob/master/google/type/date.proto google.type.Date date_value = 3; // DateTime value. Includes date, time, and timezone. See also: - // - // https: - // github.com/googleapis/googleapis/blob/master/google/type/datetime.proto + // https://github.com/googleapis/googleapis/blob/master/google/type/datetime.proto google.type.DateTime datetime_value = 4; // Postal address. See also: - // - // https: - // github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto + // https://github.com/googleapis/googleapis/blob/master/google/type/postal_address.proto google.type.PostalAddress address_value = 5; // Boolean value. Can be used for entities with binary values, or for @@ -434,18 +426,18 @@ message Document { string text = 1 [(google.api.field_behavior) = REQUIRED]; } - // Provenance of the entity. + // Optional. Provenance of the entity. // Text anchor indexing into the [Document.text][google.cloud.documentai.v1beta3.Document.text]. - TextAnchor text_anchor = 1; + TextAnchor text_anchor = 1 [(google.api.field_behavior) = OPTIONAL]; // Entity type from a schema e.g. `Address`. string type = 2; - // Text value in the document e.g. `1600 Amphitheatre Pkwy`. - string mention_text = 3; + // Optional. Text value in the document e.g. `1600 Amphitheatre Pkwy`. + string mention_text = 3 [(google.api.field_behavior) = OPTIONAL]; - // Deprecated. Use `id` field instead. - string mention_id = 4; + // Optional. Deprecated. Use `id` field instead. + string mention_id = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. Confidence of detected Schema entity. Range [0, 1]. float confidence = 5 [(google.api.field_behavior) = OPTIONAL]; @@ -594,9 +586,12 @@ message Document { // Element is requested for human review. EVAL_REQUESTED = 4; - // Element is review and approved at human review, confidence will be set - // to 1.0 + // Element is reviewed and approved at human review, confidence will be + // set to 1.0. EVAL_APPROVED = 5; + + // Element is skipped in the validation process. + EVAL_SKIPPED = 6; } // The index of the revision that produced this element. @@ -669,17 +664,17 @@ message Document { // Original source document from the user. oneof source { - // Currently supports Google Cloud Storage URI of the form + // Optional. Currently supports Google Cloud Storage URI of the form // `gs://bucket_name/object_name`. Object versioning is not supported. // See [Google Cloud Storage Request // URIs](https://cloud.google.com/storage/docs/reference-uris) for more // info. - string uri = 1; + string uri = 1 [(google.api.field_behavior) = OPTIONAL]; - // Inline document content, represented as a stream of bytes. + // Optional. Inline document content, represented as a stream of bytes. // Note: As with all `bytes` fields, protobuffers use a pure binary // representation, whereas JSON representations use base64. - bytes content = 2; + bytes content = 2 [(google.api.field_behavior) = OPTIONAL]; } // An IANA published MIME type (also referred to as media type). For more @@ -687,8 +682,8 @@ message Document { // https://www.iana.org/assignments/media-types/media-types.xhtml. string mime_type = 3; - // UTF-8 encoded text in reading order from the document. - string text = 4; + // Optional. UTF-8 encoded text in reading order from the document. + string text = 4 [(google.api.field_behavior) = OPTIONAL]; // Styles for the [Document.text][google.cloud.documentai.v1beta3.Document.text]. repeated Style text_styles = 5; diff --git a/synth.metadata b/synth.metadata index 8a486dde..fa12646f 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,31 +4,31 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-document-ai.git", - "sha": "136d1178d13f3a2bd3f93be6106a97f04aa7bcae" + "sha": "7ea5f43ee9081870fda6a71df6d62015c0ebfef6" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "1305ca41d554eb0725237561e34129373bb8cbc1", - "internalRef": "362856902" + "sha": "4fb2f3e141fb4a62c434e1964db0fd2f2763aa08", + "internalRef": "363478455" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "1305ca41d554eb0725237561e34129373bb8cbc1", - "internalRef": "362856902" + "sha": "4fb2f3e141fb4a62c434e1964db0fd2f2763aa08", + "internalRef": "363478455" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "1305ca41d554eb0725237561e34129373bb8cbc1", - "internalRef": "362856902" + "sha": "4fb2f3e141fb4a62c434e1964db0fd2f2763aa08", + "internalRef": "363478455" } }, { From e23ea293c40bb57ea652667bf1284694c85861c5 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 19 Mar 2021 09:04:02 -0700 Subject: [PATCH 05/19] chore: regenerate README (#393) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2021-03-19 15:42:16,120 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-document-ai/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working tree clean 2021-03-19 15:42:17,061 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/760a706e-026c-450d-9a22-68d8bce32811/targets - [ ] To automatically regenerate this PR, check this box. --- .github/readme/synth.metadata/synth.metadata | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 075e322c..39aa7376 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-document-ai.git", - "sha": "bb75a88c380682da50f577b2e773f571588b872f" + "sha": "62f71cb332a111a86f6147bbec6305fd198b8fca" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "78437c732a60c64895778697b078497b0988346c" + "sha": "8b13da943497f75c5303700bff5aabdd85d939e0" } } ] diff --git a/README.md b/README.md index b45f3ca5..a2c99db0 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -implementation platform('com.google.cloud:libraries-bom:19.1.0') +implementation platform('com.google.cloud:libraries-bom:19.2.1') compile 'com.google.cloud:google-cloud-document-ai' ``` From 1ab217f656ca43585353ac030e16c9411e27362a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 19 Mar 2021 19:04:26 +0100 Subject: [PATCH 06/19] chore(deps): update dependency com.google.cloud:libraries-bom to v19.2.1 (#391) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `19.1.0` -> `19.2.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.2.1/compatibility-slim/19.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/19.2.1/confidence-slim/19.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 7a8b8f0f..89487a4d 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 19.1.0 + 19.2.1 pom import From b2166967b1664cedcc24bb913866c74bb858c5fe Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 19 Mar 2021 11:42:03 -0700 Subject: [PATCH 07/19] chore: regenerate README (#394) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2021-03-19 18:08:51,385 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-document-ai/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working tree clean 2021-03-19 18:08:52,262 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/a09ce768-86f9-4406-8847-91accbac5725/targets - [ ] To automatically regenerate this PR, check this box. --- .github/readme/synth.metadata/synth.metadata | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 39aa7376..6161db41 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-document-ai.git", - "sha": "62f71cb332a111a86f6147bbec6305fd198b8fca" + "sha": "1ab217f656ca43585353ac030e16c9411e27362a" } }, { diff --git a/README.md b/README.md index a2c99db0..012d9a20 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 19.1.0 + 19.2.1 pom import From 3e580acdde490ece1e59be28df8c8fe4047bfe0f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 23 Mar 2021 16:42:03 +0100 Subject: [PATCH 08/19] chore(deps): update dependency com.google.cloud:google-cloud-document-ai to v0.5.0 (#387) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-document-ai](https://togithub.com/googleapis/java-document-ai) | `0.4.1` -> `0.5.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-document-ai/0.5.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-document-ai/0.5.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-document-ai/0.5.0/compatibility-slim/0.4.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-document-ai/0.5.0/confidence-slim/0.4.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-document-ai ### [`v0.5.0`](https://togithub.com/googleapis/java-document-ai/blob/master/CHANGELOG.md#​050-httpswwwgithubcomgoogleapisjava-document-aicomparev041v050-2021-03-15) [Compare Source](https://togithub.com/googleapis/java-document-ai/compare/v0.4.1...v0.5.0) ##### ⚠ BREAKING CHANGES - remove the translation fields in document.proto ##### Features - **generator:** update protoc to v3.15.3 ([#​372](https://www.github.com/googleapis/java-document-ai/issues/372)) ([e98fa5a](https://www.github.com/googleapis/java-document-ai/commit/e98fa5a945dfbe41fc9ba52723986dcb2fe66b3e)) - remove the translation fields in document.proto ([#​382](https://www.github.com/googleapis/java-document-ai/issues/382)) ([06270f7](https://www.github.com/googleapis/java-document-ai/commit/06270f7b6a8e5e25f776236ee680a096bb842451)) - Update documentai/v1beta3 protos: add support for boolean normalized value ([#​358](https://www.github.com/googleapis/java-document-ai/issues/358)) ([2f341a1](https://www.github.com/googleapis/java-document-ai/commit/2f341a10d41f10a35f19eed20c7c6aa891f0569f)) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 ([#​383](https://www.github.com/googleapis/java-document-ai/issues/383)) ([b074e0b](https://www.github.com/googleapis/java-document-ai/commit/b074e0b4bf48b6b140cfe30158fde6a5a2ab1dfc)) - update dependency com.google.cloud:google-cloud-storage to v1.113.14 ([#​369](https://www.github.com/googleapis/java-document-ai/issues/369)) ([136d117](https://www.github.com/googleapis/java-document-ai/commit/136d1178d13f3a2bd3f93be6106a97f04aa7bcae)) ##### [0.4.1](https://www.github.com/googleapis/java-document-ai/compare/v0.4.0...v0.4.1) (2021-02-26) ##### Dependencies - update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.0 ([#​365](https://www.github.com/googleapis/java-document-ai/issues/365)) ([f9c5ac7](https://www.github.com/googleapis/java-document-ai/commit/f9c5ac7e904f0fba47fbdf21556aeced5b2478f5)) - update dependency com.google.cloud:google-cloud-storage to v1.113.11 ([#​357](https://www.github.com/googleapis/java-document-ai/issues/357)) ([6db90c7](https://www.github.com/googleapis/java-document-ai/commit/6db90c7fbf3b2aca39c050f39043393522fd4b31))
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 37867a52..a2285ba6 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-document-ai - 0.4.1 + 0.5.0 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 34072937..13d281af 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-document-ai - 0.4.1 + 0.5.0 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 89487a4d..53a6b466 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -41,7 +41,7 @@ com.google.cloud google-cloud-document-ai - 0.4.1 + 0.5.0 From 78cf173ac9041a5695ccdb4b95ceb93f89513b9d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 23 Mar 2021 09:10:04 -0700 Subject: [PATCH 09/19] chore: regenerate README (#395) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2021-03-23 15:44:22,922 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-document-ai/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working tree clean 2021-03-23 15:44:23,899 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/da257093-8a07-4f32-a8a8-622e97303b40/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) --- .github/readme/synth.metadata/synth.metadata | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 6161db41..56e3eddd 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-document-ai.git", - "sha": "1ab217f656ca43585353ac030e16c9411e27362a" + "sha": "3e580acdde490ece1e59be28df8c8fe4047bfe0f" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8b13da943497f75c5303700bff5aabdd85d939e0" + "sha": "c84c8f156e09702e1c8946bfb9746e6f5892cf27" } } ] diff --git a/README.md b/README.md index 012d9a20..58196f42 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud google-cloud-document-ai - 0.4.1 + 0.5.0 ``` @@ -42,7 +42,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-document-ai - 0.4.1 + 0.5.0 ``` From 563298ec68b261540fd77dd5e1f5da6a4ab460e3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 29 Mar 2021 13:02:03 -0700 Subject: [PATCH 10/19] chore(java): detect sample-secrets in build.sh (#396) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/d55a1379-0d11-4919-8fb9-7dd3f61a70ab/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef --- .kokoro/build.sh | 5 +++++ synth.metadata | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 3ad1501b..35220ed9 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -79,6 +79,11 @@ samples) if [[ -f ${SAMPLES_DIR}/pom.xml ]] then + for FILE in ${KOKORO_GFILE_DIR}/secret_manager/*-samples-secrets; do + [[ -f "$FILE" ]] || continue + source "$FILE" + done + pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ diff --git a/synth.metadata b/synth.metadata index fa12646f..9b1ebdac 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-document-ai.git", - "sha": "7ea5f43ee9081870fda6a71df6d62015c0ebfef6" + "sha": "78cf173ac9041a5695ccdb4b95ceb93f89513b9d" } }, { @@ -35,7 +35,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "0b064d767537e0675fc053e53fca473c5c701fb8" + "sha": "bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef" } } ], From 866eeb13971a804d1064b49c804a281de5554816 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 29 Mar 2021 18:21:52 -0700 Subject: [PATCH 11/19] chore: remove staging bucket v2 (#397) not needed since we removed v2 solution - https://github.com/googleapis/synthtool/pull/964 Source-Author: Emily Ball Source-Date: Mon Mar 29 14:47:37 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: 572ef8f70edd9041f5bcfa71511aed6aecfc2098 Source-Link: https://github.com/googleapis/synthtool/commit/572ef8f70edd9041f5bcfa71511aed6aecfc2098 --- .kokoro/release/publish_javadoc.sh | 5 ----- synth.metadata | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.kokoro/release/publish_javadoc.sh b/.kokoro/release/publish_javadoc.sh index d4af6753..bdff7f6c 100755 --- a/.kokoro/release/publish_javadoc.sh +++ b/.kokoro/release/publish_javadoc.sh @@ -24,11 +24,6 @@ if [[ -z "${STAGING_BUCKET}" ]]; then exit 1 fi -if [[ -z "${STAGING_BUCKET_V2}" ]]; then - echo "Need to set STAGING_BUCKET_V2 environment variable" - exit 1 -fi - # work from the git root directory pushd $(dirname "$0")/../../ diff --git a/synth.metadata b/synth.metadata index 9b1ebdac..a9e2c064 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-document-ai.git", - "sha": "78cf173ac9041a5695ccdb4b95ceb93f89513b9d" + "sha": "563298ec68b261540fd77dd5e1f5da6a4ab460e3" } }, { @@ -35,7 +35,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "bb854b6c048619e3be4e8b8ce8ed10aa74ea78ef" + "sha": "572ef8f70edd9041f5bcfa71511aed6aecfc2098" } } ], From 2bbb862c3b4f112ff299bfc2dcfb86f8caea0714 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 8 Apr 2021 15:04:03 +0200 Subject: [PATCH 12/19] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.22 (#400) --- samples/install-without-bom/pom.xml | 2 +- samples/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index a2285ba6..ca24673b 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.21 + 1.0.22 diff --git a/samples/pom.xml b/samples/pom.xml index 9fe9fd3c..b98c6cab 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -18,7 +18,7 @@ com.google.cloud.samples shared-configuration - 1.0.21 + 1.0.22 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 13d281af..09f54602 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.21 + 1.0.22 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 53a6b466..a07d08ab 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.21 + 1.0.22 From 4fb8e54ac70a568b81d5f9733c338dd302613cb0 Mon Sep 17 00:00:00 2001 From: Mike <45373284+munkhuushmgl@users.noreply.github.com> Date: Fri, 9 Apr 2021 11:04:19 -0700 Subject: [PATCH 13/19] chore: increased timeout len (#402) --- .../main/java/documentai/v1beta3/BatchProcessDocumentBeta.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/src/main/java/documentai/v1beta3/BatchProcessDocumentBeta.java b/samples/snippets/src/main/java/documentai/v1beta3/BatchProcessDocumentBeta.java index dfd615da..e0db24d0 100644 --- a/samples/snippets/src/main/java/documentai/v1beta3/BatchProcessDocumentBeta.java +++ b/samples/snippets/src/main/java/documentai/v1beta3/BatchProcessDocumentBeta.java @@ -98,7 +98,7 @@ public static void batchProcessDocument( // Note: first request to the service takes longer than subsequent // requests. System.out.println("Waiting for operation to complete..."); - future.get(120, TimeUnit.SECONDS); + future.get(180, TimeUnit.SECONDS); System.out.println("Document processing complete."); From 0e6ed58ede9331c27a8e6bd509334e223b499660 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 9 Apr 2021 22:36:08 +0200 Subject: [PATCH 14/19] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.0 (#406) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `0.20.1` -> `0.21.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.21.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.21.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.21.0/compatibility-slim/0.20.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/0.21.0/confidence-slim/0.20.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v0.21.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0210-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0201v0210-2021-04-09) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.20.1...v0.21.0) ##### Dependencies - update dependency com.google.auth:google-auth-library-bom to v0.25.0 ([#​310](https://www.github.com/googleapis/java-shared-dependencies/issues/310)) ([8f3a0f0](https://www.github.com/googleapis/java-shared-dependencies/commit/8f3a0f002b787f7b27cfe031654fa20bf342f839)) - update dependency com.google.auth:google-auth-library-bom to v0.25.2 ([#​311](https://www.github.com/googleapis/java-shared-dependencies/issues/311)) ([6c47a3e](https://www.github.com/googleapis/java-shared-dependencies/commit/6c47a3edbd9da04ba255487a66c0f3a41393217d)) - update dependency com.google.errorprone:error_prone_annotations to v2.6.0 ([#​315](https://www.github.com/googleapis/java-shared-dependencies/issues/315)) ([dc254ca](https://www.github.com/googleapis/java-shared-dependencies/commit/dc254ca7359b68fe9411f7b96130ffb416b45c6f)) - update dependency com.google.http-client:google-http-client-bom to v1.39.1 ([#​309](https://www.github.com/googleapis/java-shared-dependencies/issues/309)) ([37225e2](https://www.github.com/googleapis/java-shared-dependencies/commit/37225e2d1b32a618765391720b57ff29e7b8f7f9)) - update dependency com.google.http-client:google-http-client-bom to v1.39.2 ([#​321](https://www.github.com/googleapis/java-shared-dependencies/issues/321)) ([273c66d](https://www.github.com/googleapis/java-shared-dependencies/commit/273c66d374f7cd6040aac2f302fd1c1dc0f4a1c0)) - update dependency com.google.protobuf:protobuf-bom to v3.15.6 ([#​308](https://www.github.com/googleapis/java-shared-dependencies/issues/308)) ([b29dd05](https://www.github.com/googleapis/java-shared-dependencies/commit/b29dd0535f02b56607f64ba69e85d4d468902789)) - update dependency com.google.protobuf:protobuf-bom to v3.15.7 ([#​316](https://www.github.com/googleapis/java-shared-dependencies/issues/316)) ([9c00d77](https://www.github.com/googleapis/java-shared-dependencies/commit/9c00d7753c1f7b963deb9ad69dcfe24ba28da5a2)) - update dependency com.google.protobuf:protobuf-bom to v3.15.8 ([#​319](https://www.github.com/googleapis/java-shared-dependencies/issues/319)) ([15e5ae2](https://www.github.com/googleapis/java-shared-dependencies/commit/15e5ae2ef46eedcd790ffd8644677d36db5c63f9)) - update dependency io.grpc:grpc-bom to v1.37.0 ([#​313](https://www.github.com/googleapis/java-shared-dependencies/issues/313)) ([c599351](https://www.github.com/googleapis/java-shared-dependencies/commit/c5993511c7305e1ced42d73552a93a25dc5e1ac1)) - update gax.version to v1.63.0 ([#​318](https://www.github.com/googleapis/java-shared-dependencies/issues/318)) ([ba709da](https://www.github.com/googleapis/java-shared-dependencies/commit/ba709da6fb0e9bcfc83e663588336598737b46e4)) - update google.core.version to v1.94.4 ([#​305](https://www.github.com/googleapis/java-shared-dependencies/issues/305)) ([0d38f4c](https://www.github.com/googleapis/java-shared-dependencies/commit/0d38f4c9ffadcfd9446712b8bf0729399b0c9e91)) - update google.core.version to v1.94.5 ([#​320](https://www.github.com/googleapis/java-shared-dependencies/issues/320)) ([3439721](https://www.github.com/googleapis/java-shared-dependencies/commit/3439721da83a8b92d9c4b6ecfd158cfb1e1a0503)) - update guava to 30.1.1-android ([#​322](https://www.github.com/googleapis/java-shared-dependencies/issues/322)) ([a6b5d3b](https://www.github.com/googleapis/java-shared-dependencies/commit/a6b5d3b8ccfc352bf0d1678952ce3cd8b7a8361e)) - update iam.version to v1.0.11 ([#​304](https://www.github.com/googleapis/java-shared-dependencies/issues/304)) ([95a5264](https://www.github.com/googleapis/java-shared-dependencies/commit/95a526442b3d24c83782523d38dd3931e828d757)) ##### [0.20.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.20.0...v0.20.1) (2021-03-09) ##### Dependencies - update dependency com.fasterxml.jackson:jackson-bom to v2.12.2 ([#​301](https://www.github.com/googleapis/java-shared-dependencies/issues/301)) ([7c01eba](https://www.github.com/googleapis/java-shared-dependencies/commit/7c01ebabb6fd65b7404e56651b0ba27f505bb033)) - update dependency com.google.api-client:google-api-client-bom to v1.31.3 ([#​295](https://www.github.com/googleapis/java-shared-dependencies/issues/295)) ([a0774e9](https://www.github.com/googleapis/java-shared-dependencies/commit/a0774e9d62d00614142bc4c14214a83dda66d4ad)) - update dependency com.google.api.grpc:grpc-google-iam-v1 to v1.0.10 ([#​292](https://www.github.com/googleapis/java-shared-dependencies/issues/292)) ([b629789](https://www.github.com/googleapis/java-shared-dependencies/commit/b629789e3a1cc9a7308b829c034b09b06e24fc07)) - update dependency com.google.auth:google-auth-library-bom to v0.24.1 ([#​293](https://www.github.com/googleapis/java-shared-dependencies/issues/293)) ([d85ec34](https://www.github.com/googleapis/java-shared-dependencies/commit/d85ec347ccdd14dfdab10d365d2c2f8df3035e4d)) - update dependency com.google.protobuf:protobuf-bom to v3.15.3 ([#​294](https://www.github.com/googleapis/java-shared-dependencies/issues/294)) ([58c01aa](https://www.github.com/googleapis/java-shared-dependencies/commit/58c01aa076e2c4954986185f913bac2c51a1e6fb)) - update dependency com.google.protobuf:protobuf-bom to v3.15.5 ([#​302](https://www.github.com/googleapis/java-shared-dependencies/issues/302)) ([e9d5e6e](https://www.github.com/googleapis/java-shared-dependencies/commit/e9d5e6ee6039915da186315ceada673ac37b88d3)) - update google.core.version to v1.94.2 ([#​296](https://www.github.com/googleapis/java-shared-dependencies/issues/296)) ([af83b90](https://www.github.com/googleapis/java-shared-dependencies/commit/af83b901be0c03d507189999215d35345602fad7)) - update google.core.version to v1.94.3 ([#​300](https://www.github.com/googleapis/java-shared-dependencies/issues/300)) ([3e73176](https://www.github.com/googleapis/java-shared-dependencies/commit/3e73176af0b07dfe621163b301174b5b5820dfa2))
--- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d124542d..96d060e5 100644 --- a/pom.xml +++ b/pom.xml @@ -101,7 +101,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.20.1 + 0.21.0 pom import From dbfd471e6d6f3ac3f76275105cdb6ac0cb5095b0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 12 Apr 2021 07:22:27 -0700 Subject: [PATCH 15/19] build(java): skip javadoc tests during dependencies test (#408) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/1ac128c7-c081-46a7-b2ed-15b3a1132799/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) Source-Link: https://github.com/googleapis/synthtool/commit/5b0e1592dd7d70b485e157ea4b3eb1704ecbd015 --- .kokoro/dependencies.sh | 1 + synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index 0fb8c843..59d2aafc 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -33,6 +33,7 @@ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m" retry_with_backoff 3 10 \ mvn install -B -V -ntp \ -DskipTests=true \ + -Dmaven.javadoc.skip=true \ -Dclirr.skip=true mvn -B dependency:analyze -DfailOnWarning=true diff --git a/synth.metadata b/synth.metadata index a9e2c064..54216fa1 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-document-ai.git", - "sha": "563298ec68b261540fd77dd5e1f5da6a4ab460e3" + "sha": "0e6ed58ede9331c27a8e6bd509334e223b499660" } }, { @@ -35,7 +35,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "572ef8f70edd9041f5bcfa71511aed6aecfc2098" + "sha": "5b0e1592dd7d70b485e157ea4b3eb1704ecbd015" } } ], From d9fd380d28fd3095f99040b9023b18b32f45ff15 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 12 Apr 2021 08:10:08 -0700 Subject: [PATCH 16/19] chore: regenerate README (#409) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2021-04-12 14:26:44,812 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-document-ai/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working tree clean 2021-04-12 14:26:46,030 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/8b748b1c-62b4-4864-86e7-379ad4ccf14b/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) --- .github/readme/synth.metadata/synth.metadata | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 56e3eddd..74ddd301 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-document-ai.git", - "sha": "3e580acdde490ece1e59be28df8c8fe4047bfe0f" + "sha": "dbfd471e6d6f3ac3f76275105cdb6ac0cb5095b0" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "c84c8f156e09702e1c8946bfb9746e6f5892cf27" + "sha": "0a071b3460344886297a304253bf924aa68ddb7e" } } ] diff --git a/README.md b/README.md index 58196f42..6201cc13 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -implementation platform('com.google.cloud:libraries-bom:19.2.1') +implementation platform('com.google.cloud:libraries-bom:20.0.0') compile 'com.google.cloud:google-cloud-document-ai' ``` From ddc286a6cdeeff98469243b8dcf2d978f6239095 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 12 Apr 2021 17:28:37 +0200 Subject: [PATCH 17/19] chore(deps): update dependency com.google.cloud:libraries-bom to v20 (#410) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `19.2.1` -> `20.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.0.0/compatibility-slim/19.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/20.0.0/confidence-slim/19.2.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index a07d08ab..050fb960 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 19.2.1 + 20.0.0 pom import From 01ede4f5d2c687b10afc0271fa302c37be86a31f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 12 Apr 2021 08:50:35 -0700 Subject: [PATCH 18/19] chore: regenerate README (#411) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2021-04-12 15:30:57,808 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-document-ai/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working tree clean 2021-04-12 15:30:59,077 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/cc547adc-ad03-42fc-9045-8c4ce6e6cbf0/targets - [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.) --- .github/readme/synth.metadata/synth.metadata | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 74ddd301..a6bcf906 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-document-ai.git", - "sha": "dbfd471e6d6f3ac3f76275105cdb6ac0cb5095b0" + "sha": "ddc286a6cdeeff98469243b8dcf2d978f6239095" } }, { diff --git a/README.md b/README.md index 6201cc13..e89e7614 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 19.2.1 + 20.0.0 pom import From 709197f7ecd3758f435bb49ffc8c80f2e6aee503 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 12 Apr 2021 15:39:58 -0700 Subject: [PATCH 19/19] chore: release 0.6.0 (#392) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- CHANGELOG.md | 12 ++++++++++++ google-cloud-document-ai-bom/pom.xml | 16 ++++++++-------- google-cloud-document-ai/pom.xml | 4 ++-- grpc-google-cloud-document-ai-v1beta1/pom.xml | 4 ++-- grpc-google-cloud-document-ai-v1beta2/pom.xml | 4 ++-- grpc-google-cloud-document-ai-v1beta3/pom.xml | 4 ++-- pom.xml | 14 +++++++------- proto-google-cloud-document-ai-v1beta1/pom.xml | 4 ++-- proto-google-cloud-document-ai-v1beta2/pom.xml | 4 ++-- proto-google-cloud-document-ai-v1beta3/pom.xml | 4 ++-- versions.txt | 14 +++++++------- 11 files changed, 48 insertions(+), 36 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 957d0374..7b6a9a5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [0.6.0](https://www.github.com/googleapis/java-document-ai/compare/v0.5.0...v0.6.0) (2021-04-12) + + +### Features + +* add EVAL_SKIPPED value to the Provenance.OperationType enum in document.proto ([#390](https://www.github.com/googleapis/java-document-ai/issues/390)) ([62f71cb](https://www.github.com/googleapis/java-document-ai/commit/62f71cb332a111a86f6147bbec6305fd198b8fca)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.21.0 ([#406](https://www.github.com/googleapis/java-document-ai/issues/406)) ([0e6ed58](https://www.github.com/googleapis/java-document-ai/commit/0e6ed58ede9331c27a8e6bd509334e223b499660)) + ## [0.5.0](https://www.github.com/googleapis/java-document-ai/compare/v0.4.1...v0.5.0) (2021-03-15) diff --git a/google-cloud-document-ai-bom/pom.xml b/google-cloud-document-ai-bom/pom.xml index 4779976f..e1e09071 100644 --- a/google-cloud-document-ai-bom/pom.xml +++ b/google-cloud-document-ai-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-document-ai-bom - 0.5.1-SNAPSHOT + 0.6.0 pom com.google.cloud @@ -61,37 +61,37 @@ com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.5.1-SNAPSHOT + 0.6.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.5.1-SNAPSHOT + 0.6.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.5.1-SNAPSHOT + 0.6.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.5.1-SNAPSHOT + 0.6.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.5.1-SNAPSHOT + 0.6.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.5.1-SNAPSHOT + 0.6.0 com.google.cloud google-cloud-document-ai - 0.5.1-SNAPSHOT + 0.6.0
diff --git a/google-cloud-document-ai/pom.xml b/google-cloud-document-ai/pom.xml index d113d3cb..369936f3 100644 --- a/google-cloud-document-ai/pom.xml +++ b/google-cloud-document-ai/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-document-ai - 0.5.1-SNAPSHOT + 0.6.0 jar Google Cloud Document AI https://github.com/googleapis/java-document-ai @@ -11,7 +11,7 @@ com.google.cloud google-cloud-document-ai-parent - 0.5.1-SNAPSHOT + 0.6.0 google-cloud-document-ai diff --git a/grpc-google-cloud-document-ai-v1beta1/pom.xml b/grpc-google-cloud-document-ai-v1beta1/pom.xml index a5e83cda..15cdeda6 100644 --- a/grpc-google-cloud-document-ai-v1beta1/pom.xml +++ b/grpc-google-cloud-document-ai-v1beta1/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.5.1-SNAPSHOT + 0.6.0 grpc-google-cloud-document-ai-v1beta1 GRPC library for grpc-google-cloud-document-ai-v1beta1 com.google.cloud google-cloud-document-ai-parent - 0.5.1-SNAPSHOT + 0.6.0 diff --git a/grpc-google-cloud-document-ai-v1beta2/pom.xml b/grpc-google-cloud-document-ai-v1beta2/pom.xml index 980877cd..cc9bcf25 100644 --- a/grpc-google-cloud-document-ai-v1beta2/pom.xml +++ b/grpc-google-cloud-document-ai-v1beta2/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.5.1-SNAPSHOT + 0.6.0 grpc-google-cloud-document-ai-v1beta2 GRPC library for grpc-google-cloud-document-ai-v1beta2 com.google.cloud google-cloud-document-ai-parent - 0.5.1-SNAPSHOT + 0.6.0 diff --git a/grpc-google-cloud-document-ai-v1beta3/pom.xml b/grpc-google-cloud-document-ai-v1beta3/pom.xml index efa1194e..0cc19b24 100644 --- a/grpc-google-cloud-document-ai-v1beta3/pom.xml +++ b/grpc-google-cloud-document-ai-v1beta3/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.5.1-SNAPSHOT + 0.6.0 grpc-google-cloud-document-ai-v1beta3 GRPC library for grpc-google-cloud-document-ai-v1beta3 com.google.cloud google-cloud-document-ai-parent - 0.5.1-SNAPSHOT + 0.6.0 diff --git a/pom.xml b/pom.xml index 96d060e5..fd9fc867 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-document-ai-parent pom - 0.5.1-SNAPSHOT + 0.6.0 Google Cloud Document AI Parent https://github.com/googleapis/java-document-ai @@ -70,32 +70,32 @@ com.google.api.grpc grpc-google-cloud-document-ai-v1beta1 - 0.5.1-SNAPSHOT + 0.6.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta2 - 0.5.1-SNAPSHOT + 0.6.0 com.google.api.grpc grpc-google-cloud-document-ai-v1beta3 - 0.5.1-SNAPSHOT + 0.6.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.5.1-SNAPSHOT + 0.6.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.5.1-SNAPSHOT + 0.6.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.5.1-SNAPSHOT + 0.6.0 diff --git a/proto-google-cloud-document-ai-v1beta1/pom.xml b/proto-google-cloud-document-ai-v1beta1/pom.xml index 4f74e6df..0df9e1ea 100644 --- a/proto-google-cloud-document-ai-v1beta1/pom.xml +++ b/proto-google-cloud-document-ai-v1beta1/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta1 - 0.5.1-SNAPSHOT + 0.6.0 proto-google-cloud-document-ai-v1beta1 PROTO library for proto-google-cloud-document-ai-v1beta1 com.google.cloud google-cloud-document-ai-parent - 0.5.1-SNAPSHOT + 0.6.0 diff --git a/proto-google-cloud-document-ai-v1beta2/pom.xml b/proto-google-cloud-document-ai-v1beta2/pom.xml index dbb8f94f..6734facc 100644 --- a/proto-google-cloud-document-ai-v1beta2/pom.xml +++ b/proto-google-cloud-document-ai-v1beta2/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta2 - 0.5.1-SNAPSHOT + 0.6.0 proto-google-cloud-document-ai-v1beta2 PROTO library for proto-google-cloud-document-ai-v1beta2 com.google.cloud google-cloud-document-ai-parent - 0.5.1-SNAPSHOT + 0.6.0 diff --git a/proto-google-cloud-document-ai-v1beta3/pom.xml b/proto-google-cloud-document-ai-v1beta3/pom.xml index f6a89c2c..938df2c8 100644 --- a/proto-google-cloud-document-ai-v1beta3/pom.xml +++ b/proto-google-cloud-document-ai-v1beta3/pom.xml @@ -3,13 +3,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-document-ai-v1beta3 - 0.5.1-SNAPSHOT + 0.6.0 proto-google-cloud-document-ai-v1beta3 PROTO library for proto-google-cloud-document-ai-v1beta3 com.google.cloud google-cloud-document-ai-parent - 0.5.1-SNAPSHOT + 0.6.0 diff --git a/versions.txt b/versions.txt index bc4e5bd7..4941275c 100644 --- a/versions.txt +++ b/versions.txt @@ -1,7 +1,7 @@ -proto-google-cloud-document-ai-v1beta1:0.5.0:0.5.1-SNAPSHOT -proto-google-cloud-document-ai-v1beta2:0.5.0:0.5.1-SNAPSHOT -proto-google-cloud-document-ai-v1beta3:0.5.0:0.5.1-SNAPSHOT -grpc-google-cloud-document-ai-v1beta1:0.5.0:0.5.1-SNAPSHOT -grpc-google-cloud-document-ai-v1beta2:0.5.0:0.5.1-SNAPSHOT -grpc-google-cloud-document-ai-v1beta3:0.5.0:0.5.1-SNAPSHOT -google-cloud-document-ai:0.5.0:0.5.1-SNAPSHOT +proto-google-cloud-document-ai-v1beta1:0.6.0:0.6.0 +proto-google-cloud-document-ai-v1beta2:0.6.0:0.6.0 +proto-google-cloud-document-ai-v1beta3:0.6.0:0.6.0 +grpc-google-cloud-document-ai-v1beta1:0.6.0:0.6.0 +grpc-google-cloud-document-ai-v1beta2:0.6.0:0.6.0 +grpc-google-cloud-document-ai-v1beta3:0.6.0:0.6.0 +google-cloud-document-ai:0.6.0:0.6.0