Skip to content

Commit a293c4e

Browse files
fix: [documentai] Add service_yaml_parameters to java_gapic_library 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
1 parent 169bba9 commit a293c4e

File tree

7 files changed

+1445
-24
lines changed

7 files changed

+1445
-24
lines changed

java-document-ai/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Java idiomatic client for [Document AI][product-docs].
1414

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

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

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

4038
## Authentication
4139

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta1/package-info.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
*/
1616

1717
/**
18-
* The interfaces provided are listed below, along with usage samples.
18+
* A client to Cloud Document AI API
19+
*
20+
* <p>The interfaces provided are listed below, along with usage samples.
1921
*
2022
* <p>======================= DocumentUnderstandingServiceClient =======================
2123
*

java-document-ai/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/package-info.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
*/
1616

1717
/**
18-
* The interfaces provided are listed below, along with usage samples.
18+
* A client to Cloud Document AI API
19+
*
20+
* <p>The interfaces provided are listed below, along with usage samples.
1921
*
2022
* <p>======================= DocumentUnderstandingServiceClient =======================
2123
*

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

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
6363
internal_static_google_cloud_documentai_v1beta3_OcrConfig_descriptor;
6464
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
6565
internal_static_google_cloud_documentai_v1beta3_OcrConfig_fieldAccessorTable;
66+
static final com.google.protobuf.Descriptors.Descriptor
67+
internal_static_google_cloud_documentai_v1beta3_OcrConfig_Hints_descriptor;
68+
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
69+
internal_static_google_cloud_documentai_v1beta3_OcrConfig_Hints_fieldAccessorTable;
6670

6771
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
6872
return descriptor;
@@ -94,15 +98,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
9498
+ ".cloud.documentai.v1beta3.DocumentOutput"
9599
+ "Config.GcsOutputConfig.ShardingConfig\032@\n"
96100
+ "\016ShardingConfig\022\027\n\017pages_per_shard\030\001 \001(\005"
97-
+ "\022\025\n\rpages_overlap\030\002 \001(\005B\r\n\013destination\"L"
98-
+ "\n\tOcrConfig\022!\n\031enable_native_pdf_parsing"
99-
+ "\030\003 \001(\010\022\034\n\024advanced_ocr_options\030\005 \003(\tB\346\001\n"
100-
+ "#com.google.cloud.documentai.v1beta3B\017Do"
101-
+ "cumentIoProtoP\001ZCcloud.google.com/go/doc"
102-
+ "umentai/apiv1beta3/documentaipb;document"
103-
+ "aipb\252\002\037Google.Cloud.DocumentAI.V1Beta3\312\002"
104-
+ "\037Google\\Cloud\\DocumentAI\\V1beta3\352\002\"Googl"
105-
+ "e::Cloud::DocumentAI::V1beta3b\006proto3"
101+
+ "\022\025\n\rpages_overlap\030\002 \001(\005B\r\n\013destination\"\352"
102+
+ "\001\n\tOcrConfig\022?\n\005hints\030\002 \001(\01320.google.clo"
103+
+ "ud.documentai.v1beta3.OcrConfig.Hints\022!\n"
104+
+ "\031enable_native_pdf_parsing\030\003 \001(\010\022#\n\033enab"
105+
+ "le_image_quality_scores\030\004 \001(\010\022\034\n\024advance"
106+
+ "d_ocr_options\030\005 \003(\t\022\025\n\renable_symbol\030\006 \001"
107+
+ "(\010\032\037\n\005Hints\022\026\n\016language_hints\030\001 \003(\tB\346\001\n#"
108+
+ "com.google.cloud.documentai.v1beta3B\017Doc"
109+
+ "umentIoProtoP\001ZCcloud.google.com/go/docu"
110+
+ "mentai/apiv1beta3/documentaipb;documenta"
111+
+ "ipb\252\002\037Google.Cloud.DocumentAI.V1Beta3\312\002\037"
112+
+ "Google\\Cloud\\DocumentAI\\V1beta3\352\002\"Google"
113+
+ "::Cloud::DocumentAI::V1beta3b\006proto3"
106114
};
107115
descriptor =
108116
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -184,7 +192,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
184192
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
185193
internal_static_google_cloud_documentai_v1beta3_OcrConfig_descriptor,
186194
new java.lang.String[] {
187-
"EnableNativePdfParsing", "AdvancedOcrOptions",
195+
"Hints",
196+
"EnableNativePdfParsing",
197+
"EnableImageQualityScores",
198+
"AdvancedOcrOptions",
199+
"EnableSymbol",
200+
});
201+
internal_static_google_cloud_documentai_v1beta3_OcrConfig_Hints_descriptor =
202+
internal_static_google_cloud_documentai_v1beta3_OcrConfig_descriptor
203+
.getNestedTypes()
204+
.get(0);
205+
internal_static_google_cloud_documentai_v1beta3_OcrConfig_Hints_fieldAccessorTable =
206+
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
207+
internal_static_google_cloud_documentai_v1beta3_OcrConfig_Hints_descriptor,
208+
new java.lang.String[] {
209+
"LanguageHints",
188210
});
189211
com.google.protobuf.FieldMaskProto.getDescriptor();
190212
}

0 commit comments

Comments
 (0)