Skip to content

Commit

Permalink
fix: [documentai] Add service_yaml_parameters to java_gapic_library
Browse files Browse the repository at this point in the history
… targets (#9200)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 515423972

Source-Link: https://togithub.com/googleapis/googleapis/commit/b5b457107dc6a34527f9304e44363611313674d0

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/806347af5bd3f5d1e9c6d85ccf489d5dbc5ef667
Copy-Tag: eyJwIjoiamF2YS1kb2N1bWVudC1haS8uT3dsQm90LnlhbWwiLCJoIjoiODA2MzQ3YWY1YmQzZjVkMWU5YzZkODVjY2Y0ODlkNWRiYzVlZjY2NyJ9

BEGIN_NESTED_COMMIT
feat: [documentai] added hints.language_hints field in OcrConfig
feat: added enable_image_quality_scores field in OcrConfig
feat: added enable_symbol field in OcrConfig

PiperOrigin-RevId: 515136707

Source-Link: https://togithub.com/googleapis/googleapis/commit/236be30123b2c02c9d534b3be0537b2ca911b806

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/363303fbb0351b14301b88db2cbb6e60c9049a09
Copy-Tag: eyJwIjoiamF2YS1kb2N1bWVudC1haS8uT3dsQm90LnlhbWwiLCJoIjoiMzYzMzAzZmJiMDM1MWIxNDMwMWI4OGRiMmNiYjZlNjBjOTA0OWEwOSJ9
END_NESTED_COMMIT
  • Loading branch information
gcf-owl-bot[bot] committed Mar 13, 2023
1 parent 169bba9 commit a293c4e
Show file tree
Hide file tree
Showing 7 changed files with 1,445 additions and 24 deletions.
2 changes: 0 additions & 2 deletions java-document-ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Java idiomatic client for [Document AI][product-docs].

If you are using Maven, add this to your pom.xml file:

<!--- {x-version-update-start:google-cloud-document-ai:released} -->

```xml
<dependency>
Expand All @@ -35,7 +34,6 @@ If you are using SBT, add this to your dependencies:
```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-document-ai" % "2.16.0"
```
<!--- {x-version-update-end} -->

## Authentication

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

/**
* The interfaces provided are listed below, along with usage samples.
* A client to Cloud Document AI API
*
* <p>The interfaces provided are listed below, along with usage samples.
*
* <p>======================= DocumentUnderstandingServiceClient =======================
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
*/

/**
* The interfaces provided are listed below, along with usage samples.
* A client to Cloud Document AI API
*
* <p>The interfaces provided are listed below, along with usage samples.
*
* <p>======================= DocumentUnderstandingServiceClient =======================
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_documentai_v1beta3_OcrConfig_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_documentai_v1beta3_OcrConfig_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_cloud_documentai_v1beta3_OcrConfig_Hints_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_documentai_v1beta3_OcrConfig_Hints_fieldAccessorTable;

public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
Expand Down Expand Up @@ -94,15 +98,19 @@ 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\"L"
+ "\n\tOcrConfig\022!\n\031enable_native_pdf_parsing"
+ "\030\003 \001(\010\022\034\n\024advanced_ocr_options\030\005 \003(\tB\346\001\n"
+ "#com.google.cloud.documentai.v1beta3B\017Do"
+ "cumentIoProtoP\001ZCcloud.google.com/go/doc"
+ "umentai/apiv1beta3/documentaipb;document"
+ "aipb\252\002\037Google.Cloud.DocumentAI.V1Beta3\312\002"
+ "\037Google\\Cloud\\DocumentAI\\V1beta3\352\002\"Googl"
+ "e::Cloud::DocumentAI::V1beta3b\006proto3"
+ "\022\025\n\rpages_overlap\030\002 \001(\005B\r\n\013destination\"\352"
+ "\001\n\tOcrConfig\022?\n\005hints\030\002 \001(\01320.google.clo"
+ "ud.documentai.v1beta3.OcrConfig.Hints\022!\n"
+ "\031enable_native_pdf_parsing\030\003 \001(\010\022#\n\033enab"
+ "le_image_quality_scores\030\004 \001(\010\022\034\n\024advance"
+ "d_ocr_options\030\005 \003(\t\022\025\n\renable_symbol\030\006 \001"
+ "(\010\032\037\n\005Hints\022\026\n\016language_hints\030\001 \003(\tB\346\001\n#"
+ "com.google.cloud.documentai.v1beta3B\017Doc"
+ "umentIoProtoP\001ZCcloud.google.com/go/docu"
+ "mentai/apiv1beta3/documentaipb;documenta"
+ "ipb\252\002\037Google.Cloud.DocumentAI.V1Beta3\312\002\037"
+ "Google\\Cloud\\DocumentAI\\V1beta3\352\002\"Google"
+ "::Cloud::DocumentAI::V1beta3b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down Expand Up @@ -184,7 +192,21 @@ 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", "AdvancedOcrOptions",
"Hints",
"EnableNativePdfParsing",
"EnableImageQualityScores",
"AdvancedOcrOptions",
"EnableSymbol",
});
internal_static_google_cloud_documentai_v1beta3_OcrConfig_Hints_descriptor =
internal_static_google_cloud_documentai_v1beta3_OcrConfig_descriptor
.getNestedTypes()
.get(0);
internal_static_google_cloud_documentai_v1beta3_OcrConfig_Hints_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_documentai_v1beta3_OcrConfig_Hints_descriptor,
new java.lang.String[] {
"LanguageHints",
});
com.google.protobuf.FieldMaskProto.getDescriptor();
}
Expand Down
Loading

0 comments on commit a293c4e

Please sign in to comment.