Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f845147

Browse files
feat: [documentai] added advanced_ocr_options field in OcrConfig (googleapis#9042)
* feat: added advanced_ocr_options field in OcrConfig PiperOrigin-RevId: 504600937 Source-Link: googleapis/googleapis@91bee51 Source-Link: https://github.com/googleapis/googleapis-gen/commit/70424b9457d15ed852a0a0b9a4f032f2b309b32c Copy-Tag: eyJwIjoiamF2YS1kb2N1bWVudC1haS8uT3dsQm90LnlhbWwiLCJoIjoiNzA0MjRiOTQ1N2QxNWVkODUyYTBhMGI5YTRmMDMyZjJiMzA5YjMyYyJ9 * 🦉 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 bab24c3 commit f845147

File tree

5 files changed

+345
-13
lines changed

5 files changed

+345
-13
lines changed

java-document-ai/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
1919
<dependency>
2020
<groupId>com.google.cloud</groupId>
2121
<artifactId>google-cloud-document-ai</artifactId>
22-
<version>2.12.0</version>
22+
<version>2.13.0</version>
2323
</dependency>
2424
```
2525

2626
If you are using Gradle without BOM, add this to your dependencies:
2727

2828
```Groovy
29-
implementation 'com.google.cloud:google-cloud-document-ai:2.12.0'
29+
implementation 'com.google.cloud:google-cloud-document-ai:2.13.0'
3030
```
3131

3232
If you are using SBT, add this to your dependencies:
3333

3434
```Scala
35-
libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.12.0"
35+
libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.13.0"
3636
```
3737

3838
## Authentication

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

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
9494
+ ".cloud.documentai.v1beta3.DocumentOutput"
9595
+ "Config.GcsOutputConfig.ShardingConfig\032@\n"
9696
+ "\016ShardingConfig\022\027\n\017pages_per_shard\030\001 \001(\005"
97-
+ "\022\025\n\rpages_overlap\030\002 \001(\005B\r\n\013destination\"."
97+
+ "\022\025\n\rpages_overlap\030\002 \001(\005B\r\n\013destination\"L"
9898
+ "\n\tOcrConfig\022!\n\031enable_native_pdf_parsing"
99-
+ "\030\003 \001(\010B\354\001\n#com.google.cloud.documentai.v"
100-
+ "1beta3B\017DocumentIoProtoP\001ZIgoogle.golang"
101-
+ ".org/genproto/googleapis/cloud/documenta"
102-
+ "i/v1beta3;documentai\252\002\037Google.Cloud.Docu"
103-
+ "mentAI.V1Beta3\312\002\037Google\\Cloud\\DocumentAI"
104-
+ "\\V1beta3\352\002\"Google::Cloud::DocumentAI::V1"
105-
+ "beta3b\006proto3"
99+
+ "\030\003 \001(\010\022\034\n\024advanced_ocr_options\030\005 \003(\tB\354\001\n"
100+
+ "#com.google.cloud.documentai.v1beta3B\017Do"
101+
+ "cumentIoProtoP\001ZIgoogle.golang.org/genpr"
102+
+ "oto/googleapis/cloud/documentai/v1beta3;"
103+
+ "documentai\252\002\037Google.Cloud.DocumentAI.V1B"
104+
+ "eta3\312\002\037Google\\Cloud\\DocumentAI\\V1beta3\352\002"
105+
+ "\"Google::Cloud::DocumentAI::V1beta3b\006pro"
106+
+ "to3"
106107
};
107108
descriptor =
108109
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -184,7 +185,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
184185
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
185186
internal_static_google_cloud_documentai_v1beta3_OcrConfig_descriptor,
186187
new java.lang.String[] {
187-
"EnableNativePdfParsing",
188+
"EnableNativePdfParsing", "AdvancedOcrOptions",
188189
});
189190
com.google.protobuf.FieldMaskProto.getDescriptor();
190191
}

0 commit comments

Comments
 (0)