Skip to content

Commit 86c71f8

Browse files
docs: [documentai] update client libraries for Enterprise OCR add-ons (#9829)
* docs: update client libraries for Enterprise OCR add-ons PiperOrigin-RevId: 564763833 Source-Link: googleapis/googleapis@8d03450 Source-Link: https://github.com/googleapis/googleapis-gen/commit/a06479a4aa9fb213db52869bf8188bf31dec8758 Copy-Tag: eyJwIjoiamF2YS1kb2N1bWVudC1haS8uT3dsQm90LnlhbWwiLCJoIjoiYTA2NDc5YTRhYTlmYjIxM2RiNTI4NjliZjgxODhiZjMxZGVjODc1OCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 47f4031 commit 86c71f8

19 files changed

Lines changed: 3357 additions & 469 deletions

File tree

java-document-ai/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies:
4242
<dependency>
4343
<groupId>com.google.cloud</groupId>
4444
<artifactId>google-cloud-document-ai</artifactId>
45-
<version>2.28.0</version>
45+
<version>2.27.0</version>
4646
</dependency>
4747
```
4848

4949
If you are using Gradle without BOM, add this to your dependencies:
5050

5151
```Groovy
52-
implementation 'com.google.cloud:google-cloud-document-ai:2.28.0'
52+
implementation 'com.google.cloud:google-cloud-document-ai:2.27.0'
5353
```
5454

5555
If you are using SBT, add this to your dependencies:
5656

5757
```Scala
58-
libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.28.0"
58+
libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.27.0"
5959
```
6060
<!-- {x-version-update-end} -->
6161

java-document-ai/google-cloud-document-ai/src/main/resources/META-INF/native-image/com.google.cloud.documentai.v1beta3/reflect-config.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2816,6 +2816,24 @@
28162816
"allDeclaredClasses": true,
28172817
"allPublicClasses": true
28182818
},
2819+
{
2820+
"name": "com.google.cloud.documentai.v1beta3.OcrConfig$PremiumFeatures",
2821+
"queryAllDeclaredConstructors": true,
2822+
"queryAllPublicConstructors": true,
2823+
"queryAllDeclaredMethods": true,
2824+
"allPublicMethods": true,
2825+
"allDeclaredClasses": true,
2826+
"allPublicClasses": true
2827+
},
2828+
{
2829+
"name": "com.google.cloud.documentai.v1beta3.OcrConfig$PremiumFeatures$Builder",
2830+
"queryAllDeclaredConstructors": true,
2831+
"queryAllPublicConstructors": true,
2832+
"queryAllDeclaredMethods": true,
2833+
"allPublicMethods": true,
2834+
"allDeclaredClasses": true,
2835+
"allPublicClasses": true
2836+
},
28192837
{
28202838
"name": "com.google.cloud.documentai.v1beta3.ProcessOptions",
28212839
"queryAllDeclaredConstructors": true,
@@ -2834,6 +2852,24 @@
28342852
"allDeclaredClasses": true,
28352853
"allPublicClasses": true
28362854
},
2855+
{
2856+
"name": "com.google.cloud.documentai.v1beta3.ProcessOptions$IndividualPageSelector",
2857+
"queryAllDeclaredConstructors": true,
2858+
"queryAllPublicConstructors": true,
2859+
"queryAllDeclaredMethods": true,
2860+
"allPublicMethods": true,
2861+
"allDeclaredClasses": true,
2862+
"allPublicClasses": true
2863+
},
2864+
{
2865+
"name": "com.google.cloud.documentai.v1beta3.ProcessOptions$IndividualPageSelector$Builder",
2866+
"queryAllDeclaredConstructors": true,
2867+
"queryAllPublicConstructors": true,
2868+
"queryAllDeclaredMethods": true,
2869+
"allPublicMethods": true,
2870+
"allDeclaredClasses": true,
2871+
"allPublicClasses": true
2872+
},
28372873
{
28382874
"name": "com.google.cloud.documentai.v1beta3.ProcessRequest",
28392875
"queryAllDeclaredConstructors": true,

java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchProcessMetadata.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ public interface IndividualProcessStatusOrBuilder
426426
*
427427
* @deprecated
428428
* google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation
429-
* is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=550
429+
* is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=572
430430
* @return The humanReviewOperation.
431431
*/
432432
@java.lang.Deprecated
@@ -447,7 +447,7 @@ public interface IndividualProcessStatusOrBuilder
447447
*
448448
* @deprecated
449449
* google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation
450-
* is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=550
450+
* is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=572
451451
* @return The bytes for humanReviewOperation.
452452
*/
453453
@java.lang.Deprecated
@@ -713,7 +713,7 @@ public com.google.protobuf.ByteString getOutputGcsDestinationBytes() {
713713
*
714714
* @deprecated
715715
* google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation
716-
* is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=550
716+
* is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=572
717717
* @return The humanReviewOperation.
718718
*/
719719
@java.lang.Override
@@ -745,7 +745,7 @@ public java.lang.String getHumanReviewOperation() {
745745
*
746746
* @deprecated
747747
* google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation
748-
* is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=550
748+
* is deprecated. See google/cloud/documentai/v1beta3/document_processor_service.proto;l=572
749749
* @return The bytes for humanReviewOperation.
750750
*/
751751
@java.lang.Override
@@ -1724,7 +1724,7 @@ public Builder setOutputGcsDestinationBytes(com.google.protobuf.ByteString value
17241724
* @deprecated
17251725
* google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation
17261726
* is deprecated. See
1727-
* google/cloud/documentai/v1beta3/document_processor_service.proto;l=550
1727+
* google/cloud/documentai/v1beta3/document_processor_service.proto;l=572
17281728
* @return The humanReviewOperation.
17291729
*/
17301730
@java.lang.Deprecated
@@ -1756,7 +1756,7 @@ public java.lang.String getHumanReviewOperation() {
17561756
* @deprecated
17571757
* google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation
17581758
* is deprecated. See
1759-
* google/cloud/documentai/v1beta3/document_processor_service.proto;l=550
1759+
* google/cloud/documentai/v1beta3/document_processor_service.proto;l=572
17601760
* @return The bytes for humanReviewOperation.
17611761
*/
17621762
@java.lang.Deprecated
@@ -1788,7 +1788,7 @@ public com.google.protobuf.ByteString getHumanReviewOperationBytes() {
17881788
* @deprecated
17891789
* google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation
17901790
* is deprecated. See
1791-
* google/cloud/documentai/v1beta3/document_processor_service.proto;l=550
1791+
* google/cloud/documentai/v1beta3/document_processor_service.proto;l=572
17921792
* @param value The humanReviewOperation to set.
17931793
* @return This builder for chaining.
17941794
*/
@@ -1819,7 +1819,7 @@ public Builder setHumanReviewOperation(java.lang.String value) {
18191819
* @deprecated
18201820
* google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation
18211821
* is deprecated. See
1822-
* google/cloud/documentai/v1beta3/document_processor_service.proto;l=550
1822+
* google/cloud/documentai/v1beta3/document_processor_service.proto;l=572
18231823
* @return This builder for chaining.
18241824
*/
18251825
@java.lang.Deprecated
@@ -1846,7 +1846,7 @@ public Builder clearHumanReviewOperation() {
18461846
* @deprecated
18471847
* google.cloud.documentai.v1beta3.BatchProcessMetadata.IndividualProcessStatus.human_review_operation
18481848
* is deprecated. See
1849-
* google/cloud/documentai/v1beta3/document_processor_service.proto;l=550
1849+
* google/cloud/documentai/v1beta3/document_processor_service.proto;l=572
18501850
* @param value The bytes for humanReviewOperation to set.
18511851
* @return This builder for chaining.
18521852
*/

java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchProcessRequest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1834,7 +1834,7 @@ public com.google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig
18341834
* </code>
18351835
*
18361836
* @deprecated google.cloud.documentai.v1beta3.BatchProcessRequest.output_config is deprecated.
1837-
* See google/cloud/documentai/v1beta3/document_processor_service.proto;l=502
1837+
* See google/cloud/documentai/v1beta3/document_processor_service.proto;l=524
18381838
* @return Whether the outputConfig field is set.
18391839
*/
18401840
@java.lang.Override
@@ -1854,7 +1854,7 @@ public boolean hasOutputConfig() {
18541854
* </code>
18551855
*
18561856
* @deprecated google.cloud.documentai.v1beta3.BatchProcessRequest.output_config is deprecated.
1857-
* See google/cloud/documentai/v1beta3/document_processor_service.proto;l=502
1857+
* See google/cloud/documentai/v1beta3/document_processor_service.proto;l=524
18581858
* @return The outputConfig.
18591859
*/
18601860
@java.lang.Override
@@ -3232,7 +3232,7 @@ public Builder removeInputConfigs(int index) {
32323232
* </code>
32333233
*
32343234
* @deprecated google.cloud.documentai.v1beta3.BatchProcessRequest.output_config is deprecated.
3235-
* See google/cloud/documentai/v1beta3/document_processor_service.proto;l=502
3235+
* See google/cloud/documentai/v1beta3/document_processor_service.proto;l=524
32363236
* @return Whether the outputConfig field is set.
32373237
*/
32383238
@java.lang.Deprecated
@@ -3251,7 +3251,7 @@ public boolean hasOutputConfig() {
32513251
* </code>
32523252
*
32533253
* @deprecated google.cloud.documentai.v1beta3.BatchProcessRequest.output_config is deprecated.
3254-
* See google/cloud/documentai/v1beta3/document_processor_service.proto;l=502
3254+
* See google/cloud/documentai/v1beta3/document_processor_service.proto;l=524
32553255
* @return The outputConfig.
32563256
*/
32573257
@java.lang.Deprecated

java-document-ai/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/BatchProcessRequestOrBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ com.google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig getInpu
146146
* </code>
147147
*
148148
* @deprecated google.cloud.documentai.v1beta3.BatchProcessRequest.output_config is deprecated.
149-
* See google/cloud/documentai/v1beta3/document_processor_service.proto;l=502
149+
* See google/cloud/documentai/v1beta3/document_processor_service.proto;l=524
150150
* @return Whether the outputConfig field is set.
151151
*/
152152
@java.lang.Deprecated
@@ -163,7 +163,7 @@ com.google.cloud.documentai.v1beta3.BatchProcessRequest.BatchInputConfig getInpu
163163
* </code>
164164
*
165165
* @deprecated google.cloud.documentai.v1beta3.BatchProcessRequest.output_config is deprecated.
166-
* See google/cloud/documentai/v1beta3/document_processor_service.proto;l=502
166+
* See google/cloud/documentai/v1beta3/document_processor_service.proto;l=524
167167
* @return The outputConfig.
168168
*/
169169
@java.lang.Deprecated

0 commit comments

Comments
 (0)