Skip to content

Commit

Permalink
feat: [documentai] added advanced_ocr_options field in OcrConfig (#9042)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Feb 2, 2023
1 parent bab24c3 commit f845147
Show file tree
Hide file tree
Showing 5 changed files with 345 additions and 13 deletions.
6 changes: 3 additions & 3 deletions java-document-ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-document-ai</artifactId>
<version>2.12.0</version>
<version>2.13.0</version>
</dependency>
```

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

```Groovy
implementation 'com.google.cloud:google-cloud-document-ai:2.12.0'
implementation 'com.google.cloud:google-cloud-document-ai:2.13.0'
```

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

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

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ ".cloud.documentai.v1beta3.DocumentOutput"
+ "Config.GcsOutputConfig.ShardingConfig\032@\n"
+ "\016ShardingConfig\022\027\n\017pages_per_shard\030\001 \001(\005"
+ "\022\025\n\rpages_overlap\030\002 \001(\005B\r\n\013destination\"."
+ "\022\025\n\rpages_overlap\030\002 \001(\005B\r\n\013destination\"L"
+ "\n\tOcrConfig\022!\n\031enable_native_pdf_parsing"
+ "\030\003 \001(\010B\354\001\n#com.google.cloud.documentai.v"
+ "1beta3B\017DocumentIoProtoP\001ZIgoogle.golang"
+ ".org/genproto/googleapis/cloud/documenta"
+ "i/v1beta3;documentai\252\002\037Google.Cloud.Docu"
+ "mentAI.V1Beta3\312\002\037Google\\Cloud\\DocumentAI"
+ "\\V1beta3\352\002\"Google::Cloud::DocumentAI::V1"
+ "beta3b\006proto3"
+ "\030\003 \001(\010\022\034\n\024advanced_ocr_options\030\005 \003(\tB\354\001\n"
+ "#com.google.cloud.documentai.v1beta3B\017Do"
+ "cumentIoProtoP\001ZIgoogle.golang.org/genpr"
+ "oto/googleapis/cloud/documentai/v1beta3;"
+ "documentai\252\002\037Google.Cloud.DocumentAI.V1B"
+ "eta3\312\002\037Google\\Cloud\\DocumentAI\\V1beta3\352\002"
+ "\"Google::Cloud::DocumentAI::V1beta3b\006pro"
+ "to3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down Expand Up @@ -184,7 +185,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_documentai_v1beta3_OcrConfig_descriptor,
new java.lang.String[] {
"EnableNativePdfParsing",
"EnableNativePdfParsing", "AdvancedOcrOptions",
});
com.google.protobuf.FieldMaskProto.getDescriptor();
}
Expand Down
Loading

0 comments on commit f845147

Please sign in to comment.