Date: Fri, 14 May 2021 12:12:06 -0700
Subject: [PATCH 07/22] feat: Use non-regionalized default host name for
documentai.googleapis.com (#476)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/314d186f-5257-43ad-9396-ff1623c83eb2/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
PiperOrigin-RevId: 373516134
Source-Link: https://github.com/googleapis/googleapis/commit/b29fb6b9fcdf3bc67487fa22ab7783915023041e
---
.../v1/DocumentProcessorServiceSettings.java | 2 +-
.../DocumentProcessorServiceStubSettings.java | 4 +-
.../DocumentProcessorServiceSettings.java | 2 +-
.../DocumentProcessorServiceStubSettings.java | 4 +-
.../v1/DocumentAiProcessorService.java | 34 ++++++++---------
.../v1/document_processor_service.proto | 2 +-
.../v1beta3/DocumentAiProcessorService.java | 38 +++++++++----------
.../v1beta3/document_processor_service.proto | 2 +-
synth.metadata | 16 ++++----
9 files changed, 52 insertions(+), 52 deletions(-)
diff --git a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java
index bbb6d64e..77513d68 100644
--- a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java
+++ b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/DocumentProcessorServiceSettings.java
@@ -40,7 +40,7 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (us-documentai.googleapis.com) and default port (443) are used.
+ *
- The default service address (documentai.googleapis.com) and default port (443) are used.
*
- Credentials are acquired automatically through Application Default Credentials.
*
- Retries are configured for idempotent methods but not for non-idempotent methods.
*
diff --git a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java
index 05d7553e..83648289 100644
--- a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java
+++ b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1/stub/DocumentProcessorServiceStubSettings.java
@@ -60,7 +60,7 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (us-documentai.googleapis.com) and default port (443) are used.
+ *
- The default service address (documentai.googleapis.com) and default port (443) are used.
*
- Credentials are acquired automatically through Application Default Credentials.
*
- Retries are configured for idempotent methods but not for non-idempotent methods.
*
@@ -150,7 +150,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
/** Returns the default service endpoint. */
public static String getDefaultEndpoint() {
- return "us-documentai.googleapis.com:443";
+ return "documentai.googleapis.com:443";
}
/** Returns the default service scopes. */
diff --git a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceSettings.java b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceSettings.java
index 9d28863c..02121ae1 100644
--- a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceSettings.java
+++ b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/DocumentProcessorServiceSettings.java
@@ -40,7 +40,7 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (us-documentai.googleapis.com) and default port (443) are used.
+ *
- The default service address (documentai.googleapis.com) and default port (443) are used.
*
- Credentials are acquired automatically through Application Default Credentials.
*
- Retries are configured for idempotent methods but not for non-idempotent methods.
*
diff --git a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java
index 80da61bf..0509b2af 100644
--- a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java
+++ b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta3/stub/DocumentProcessorServiceStubSettings.java
@@ -60,7 +60,7 @@
* The default instance has everything set to sensible defaults:
*
*
- * - The default service address (us-documentai.googleapis.com) and default port (443) are used.
+ *
- The default service address (documentai.googleapis.com) and default port (443) are used.
*
- Credentials are acquired automatically through Application Default Credentials.
*
- Retries are configured for idempotent methods but not for non-idempotent methods.
*
@@ -151,7 +151,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
/** Returns the default service endpoint. */
public static String getDefaultEndpoint() {
- return "us-documentai.googleapis.com:443";
+ return "documentai.googleapis.com:443";
}
/** Returns the default service scopes. */
diff --git a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java
index 22d937b1..1f1f4304 100644
--- a/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java
+++ b/proto-google-cloud-document-ai-v1/src/main/java/com/google/cloud/documentai/v1/DocumentAiProcessorService.java
@@ -146,7 +146,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "/\n\013update_time\030\004 \001(\0132\032.google.protobuf.T"
+ "imestamp\"e\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000"
+ "\022\013\n\007RUNNING\020\001\022\016\n\nCANCELLING\020\002\022\r\n\tSUCCEED"
- + "ED\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCELLED\020\0052\256\006\n\030Docu"
+ + "ED\020\003\022\n\n\006FAILED\020\004\022\r\n\tCANCELLED\020\0052\253\006\n\030Docu"
+ "mentProcessorService\022\264\001\n\017ProcessDocument"
+ "\022*.google.cloud.documentai.v1.ProcessReq"
+ "uest\032+.google.cloud.documentai.v1.Proces"
@@ -165,22 +165,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ssors/*/humanReviewConfig}:reviewDocumen"
+ "t:\001*\332A\023human_review_config\312A9\n\026ReviewDoc"
+ "umentResponse\022\037ReviewDocumentOperationMe"
- + "tadata\032P\312A\034us-documentai.googleapis.com\322"
- + "A.https://www.googleapis.com/auth/cloud-"
- + "platformB\230\004\n\036com.google.cloud.documentai"
- + ".v1B\032DocumentAiProcessorServiceP\001ZDgoogl"
- + "e.golang.org/genproto/googleapis/cloud/d"
- + "ocumentai/v1;documentai\252\002\032Google.Cloud.D"
- + "ocumentAI.V1\312\002\032Google\\Cloud\\DocumentAI\\V"
- + "1\352\002\035Google::Cloud::DocumentAI::V1\352AM\n\"do"
- + "cumentai.googleapis.com/Location\022\'projec"
- + "ts/{project}/locations/{location}\352Ae\n#do"
- + "cumentai.googleapis.com/Processor\022>proje"
- + "cts/{project}/locations/{location}/proce"
- + "ssors/{processor}\352A\177\n+documentai.googlea"
- + "pis.com/HumanReviewConfig\022Pprojects/{pro"
- + "ject}/locations/{location}/processors/{p"
- + "rocessor}/humanReviewConfigb\006proto3"
+ + "tadata\032M\312A\031documentai.googleapis.com\322A.h"
+ + "ttps://www.googleapis.com/auth/cloud-pla"
+ + "tformB\230\004\n\036com.google.cloud.documentai.v1"
+ + "B\032DocumentAiProcessorServiceP\001ZDgoogle.g"
+ + "olang.org/genproto/googleapis/cloud/docu"
+ + "mentai/v1;documentai\252\002\032Google.Cloud.Docu"
+ + "mentAI.V1\312\002\032Google\\Cloud\\DocumentAI\\V1\352\002"
+ + "\035Google::Cloud::DocumentAI::V1\352AM\n\"docum"
+ + "entai.googleapis.com/Location\022\'projects/"
+ + "{project}/locations/{location}\352Ae\n#docum"
+ + "entai.googleapis.com/Processor\022>projects"
+ + "/{project}/locations/{location}/processo"
+ + "rs/{processor}\352A\177\n+documentai.googleapis"
+ + ".com/HumanReviewConfig\022Pprojects/{projec"
+ + "t}/locations/{location}/processors/{proc"
+ + "essor}/humanReviewConfigb\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto b/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto
index 0d3e872c..033b3cb7 100644
--- a/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto
+++ b/proto-google-cloud-document-ai-v1/src/main/proto/google/cloud/documentai/v1/document_processor_service.proto
@@ -52,7 +52,7 @@ option (google.api.resource_definition) = {
// AI such as natural language, computer vision, and translation to extract
// structured information from unstructured or semi-structured documents.
service DocumentProcessorService {
- option (google.api.default_host) = "us-documentai.googleapis.com";
+ option (google.api.default_host) = "documentai.googleapis.com";
option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
// Processes a single document.
diff --git a/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java b/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java
index 03f9f7aa..7a732929 100644
--- a/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java
+++ b/proto-google-cloud-document-ai-v1beta3/src/main/java/com/google/cloud/documentai/v1beta3/DocumentAiProcessorService.java
@@ -177,7 +177,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ime\030\004 \001(\0132\032.google.protobuf.Timestamp\"e\n"
+ "\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING"
+ "\020\001\022\016\n\nCANCELLING\020\002\022\r\n\tSUCCEEDED\020\003\022\n\n\006FAI"
- + "LED\020\004\022\r\n\tCANCELLED\020\0052\322\006\n\030DocumentProcess"
+ + "LED\020\004\022\r\n\tCANCELLED\020\0052\317\006\n\030DocumentProcess"
+ "orService\022\303\001\n\017ProcessDocument\022/.google.c"
+ "loud.documentai.v1beta3.ProcessRequest\0320"
+ ".google.cloud.documentai.v1beta3.Process"
@@ -196,24 +196,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "jects/*/locations/*/processors/*/humanRe"
+ "viewConfig}:reviewDocument:\001*\332A\023human_re"
+ "view_config\312A9\n\026ReviewDocumentResponse\022\037"
- + "ReviewDocumentOperationMetadata\032P\312A\034us-d"
- + "ocumentai.googleapis.com\322A.https://www.g"
- + "oogleapis.com/auth/cloud-platformB\261\004\n#co"
- + "m.google.cloud.documentai.v1beta3B\032Docum"
- + "entAiProcessorServiceP\001ZIgoogle.golang.o"
- + "rg/genproto/googleapis/cloud/documentai/"
- + "v1beta3;documentai\252\002\037Google.Cloud.Docume"
- + "ntAI.V1Beta3\312\002\037Google\\Cloud\\DocumentAI\\V"
- + "1beta3\352\002\"Google::Cloud::DocumentAI::V1be"
- + "ta3\352AM\n\"documentai.googleapis.com/Locati"
- + "on\022\'projects/{project}/locations/{locati"
- + "on}\352Ae\n#documentai.googleapis.com/Proces"
- + "sor\022>projects/{project}/locations/{locat"
- + "ion}/processors/{processor}\352A\177\n+document"
- + "ai.googleapis.com/HumanReviewConfig\022Ppro"
- + "jects/{project}/locations/{location}/pro"
- + "cessors/{processor}/humanReviewConfigb\006p"
- + "roto3"
+ + "ReviewDocumentOperationMetadata\032M\312A\031docu"
+ + "mentai.googleapis.com\322A.https://www.goog"
+ + "leapis.com/auth/cloud-platformB\261\004\n#com.g"
+ + "oogle.cloud.documentai.v1beta3B\032Document"
+ + "AiProcessorServiceP\001ZIgoogle.golang.org/"
+ + "genproto/googleapis/cloud/documentai/v1b"
+ + "eta3;documentai\252\002\037Google.Cloud.DocumentA"
+ + "I.V1Beta3\312\002\037Google\\Cloud\\DocumentAI\\V1be"
+ + "ta3\352\002\"Google::Cloud::DocumentAI::V1beta3"
+ + "\352AM\n\"documentai.googleapis.com/Location\022"
+ + "\'projects/{project}/locations/{location}"
+ + "\352Ae\n#documentai.googleapis.com/Processor"
+ + "\022>projects/{project}/locations/{location"
+ + "}/processors/{processor}\352A\177\n+documentai."
+ + "googleapis.com/HumanReviewConfig\022Pprojec"
+ + "ts/{project}/locations/{location}/proces"
+ + "sors/{processor}/humanReviewConfigb\006prot"
+ + "o3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto b/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto
index 7c37b406..d69689f7 100644
--- a/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto
+++ b/proto-google-cloud-document-ai-v1beta3/src/main/proto/google/cloud/documentai/v1beta3/document_processor_service.proto
@@ -57,7 +57,7 @@ option (google.api.resource_definition) = {
// AI such as natural language, computer vision, and translation to extract
// structured information from unstructured or semi-structured documents.
service DocumentProcessorService {
- option (google.api.default_host) = "us-documentai.googleapis.com";
+ option (google.api.default_host) = "documentai.googleapis.com";
option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
// Processes a single document.
diff --git a/synth.metadata b/synth.metadata
index 5f1ab82a..b9b86b13 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -11,32 +11,32 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "7713e2e860003a84b35b701de29dd0769795e1e3",
- "internalRef": "370513265"
+ "sha": "b29fb6b9fcdf3bc67487fa22ab7783915023041e",
+ "internalRef": "373516134"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "7713e2e860003a84b35b701de29dd0769795e1e3",
- "internalRef": "370513265"
+ "sha": "b29fb6b9fcdf3bc67487fa22ab7783915023041e",
+ "internalRef": "373516134"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "7713e2e860003a84b35b701de29dd0769795e1e3",
- "internalRef": "370513265"
+ "sha": "b29fb6b9fcdf3bc67487fa22ab7783915023041e",
+ "internalRef": "373516134"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "7713e2e860003a84b35b701de29dd0769795e1e3",
- "internalRef": "370513265"
+ "sha": "b29fb6b9fcdf3bc67487fa22ab7783915023041e",
+ "internalRef": "373516134"
}
},
{
From 6c0b7e2d141c48d8275ddf9ed68ddd1c41aab3a5 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Mon, 17 May 2021 03:46:06 +0200
Subject: [PATCH 08/22] chore(deps): update dependency
com.google.cloud:libraries-bom to v20.4.0 (#485)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `20.3.0` -> `20.4.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai).
---
samples/snippets/pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 87fb62f6..8db70a97 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -30,7 +30,7 @@
com.google.cloud
libraries-bom
- 20.3.0
+ 20.4.0
pom
import
From 27db930f326dea37c17fec9a685aa83d5659a14a Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Sun, 16 May 2021 18:58:05 -0700
Subject: [PATCH 09/22] chore: regenerate README (#486)
This PR was generated using Autosynth. :rainbow:
Log from Synthtool
```
2021-05-17 01:48:14,166 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-document-ai/.github/readme/synth.py.
On branch autosynth-readme
nothing to commit, working tree clean
2021-05-17 01:48:15,513 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata.
```
Full log will be available here:
https://source.cloud.google.com/results/invocations/370bd197-c8c2-4966-bc86-2d7fdf5b9775/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
---
.github/readme/synth.metadata/synth.metadata | 2 +-
README.md | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata
index ef6b97d3..116541a8 100644
--- a/.github/readme/synth.metadata/synth.metadata
+++ b/.github/readme/synth.metadata/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-document-ai.git",
- "sha": "6f9e49beaa0dad41fc044f883f4eb213696e533c"
+ "sha": "6c0b7e2d141c48d8275ddf9ed68ddd1c41aab3a5"
}
},
{
diff --git a/README.md b/README.md
index d29cd00a..bb60b59a 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
com.google.cloud
libraries-bom
- 20.3.0
+ 20.4.0
pom
import
@@ -49,7 +49,7 @@ If you are using Maven without BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies
```Groovy
-implementation platform('com.google.cloud:libraries-bom:20.3.0')
+implementation platform('com.google.cloud:libraries-bom:20.4.0')
compile 'com.google.cloud:google-cloud-document-ai'
```
From c4cb6ec92f03a0c57b648780f9967c4affb9e74d Mon Sep 17 00:00:00 2001
From: Neenu Shaji
Date: Mon, 17 May 2021 12:37:16 -0400
Subject: [PATCH 10/22] feat: release 1.0.0 (#475)
Release-As: 1.0.0
---
.repo-metadata.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.repo-metadata.json b/.repo-metadata.json
index 88fcbaeb..825687b1 100644
--- a/.repo-metadata.json
+++ b/.repo-metadata.json
@@ -5,7 +5,7 @@
"client_documentation": "https://googleapis.dev/java/google-cloud-document-ai/latest/index.html",
"api_description": "allows developers to unlock insights from your documents with machine learning.",
"issue_tracker": "https://issuetracker.google.com/savedsearches/559755",
- "release_level": "beta",
+ "release_level": "ga",
"language": "java",
"repo": "googleapis/java-document-ai",
"repo_short": "java-document-ai",
From 9ed8d8b56896093a473844b9cd5208cf3348a427 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Mon, 17 May 2021 09:46:02 -0700
Subject: [PATCH 11/22] chore: regenerate README (#487)
This PR was generated using Autosynth. :rainbow:
Log from Synthtool
```
2021-05-17 16:39:36,905 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-document-ai/.github/readme/synth.py.
On branch autosynth-readme
nothing to commit, working tree clean
2021-05-17 16:39:38,279 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata.
```
Full log will be available here:
https://source.cloud.google.com/results/invocations/9036b21d-ee98-4d14-a853-08cc6374d0d2/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
---
.github/readme/synth.metadata/synth.metadata | 2 +-
README.md | 8 +-------
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata
index 116541a8..7edffe68 100644
--- a/.github/readme/synth.metadata/synth.metadata
+++ b/.github/readme/synth.metadata/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-document-ai.git",
- "sha": "6c0b7e2d141c48d8275ddf9ed68ddd1c41aab3a5"
+ "sha": "c4cb6ec92f03a0c57b648780f9967c4affb9e74d"
}
},
{
diff --git a/README.md b/README.md
index bb60b59a..b0905563 100644
--- a/README.md
+++ b/README.md
@@ -8,9 +8,6 @@ Java idiomatic client for [Document AI][product-docs].
- [Product Documentation][product-docs]
- [Client Library Documentation][javadocs]
-> Note: This client is a work-in-progress, and may occasionally
-> make backwards-incompatible changes.
-
## Quickstart
If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
@@ -132,9 +129,6 @@ Java 7 or above is required for using this client.
This library follows [Semantic Versioning](http://semver.org/).
-It is currently in major version zero (``0.y.z``), which means that anything may change at any time
-and the public API should not be considered stable.
-
## Contributing
@@ -174,7 +168,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-document-ai/java8-win.html
[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-document-ai/java11.svg
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-document-ai/java11.html
-[stability-image]: https://img.shields.io/badge/stability-beta-yellow
+[stability-image]: https://img.shields.io/badge/stability-ga-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-document-ai.svg
[maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-document-ai&core=gav
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
From b0a4905c2c8fecc523dcd38cd839f22a878946e8 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Mon, 17 May 2021 15:16:26 -0700
Subject: [PATCH 12/22] chore: add changelog to cloud-rad (#488)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/78b18b33-2328-44a1-8838-3decd7e08ca2/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
Source-Link: https://github.com/googleapis/synthtool/commit/c86c7a60985644eab557949363a38301d40d78d2
---
.kokoro/release/publish_javadoc11.sh | 2 ++
synth.metadata | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh
index 5ee4d1ad..79b440d2 100755
--- a/.kokoro/release/publish_javadoc11.sh
+++ b/.kokoro/release/publish_javadoc11.sh
@@ -42,6 +42,8 @@ mvn clean site -B -q -P docFX
# copy README to docfx-yml dir and rename index.md
cp README.md target/docfx-yml/index.md
+# copy CHANGELOG to docfx-yml dir and rename history.md
+cp CHANGELOG.md target/docfx-yml/history.md
pushd target/docfx-yml
diff --git a/synth.metadata b/synth.metadata
index b9b86b13..c6885cab 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-document-ai.git",
- "sha": "c93874dbb1c6747982c92be352eacbfc8fe3e110"
+ "sha": "9ed8d8b56896093a473844b9cd5208cf3348a427"
}
},
{
@@ -43,7 +43,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "4f4b1b9b8d8b52f1e9e4a76165896debce5ab7f1"
+ "sha": "c86c7a60985644eab557949363a38301d40d78d2"
}
}
],
From 0f2808e78337a196108907d19805c77a5278c6b1 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Wed, 19 May 2021 07:20:04 -0700
Subject: [PATCH 13/22] feat: add `gcf-owl-bot[bot]` to `ignoreAuthors` (#490)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/b187e2b3-946b-49e5-ae14-df276c52a354/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
Source-Link: https://github.com/googleapis/synthtool/commit/7332178a11ddddc91188dc0f25bca1ccadcaa6c6
---
.github/generated-files-bot.yml | 1 +
synth.metadata | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/.github/generated-files-bot.yml b/.github/generated-files-bot.yml
index 47c2ba13..c644a24e 100644
--- a/.github/generated-files-bot.yml
+++ b/.github/generated-files-bot.yml
@@ -9,3 +9,4 @@ ignoreAuthors:
- 'renovate-bot'
- 'yoshi-automation'
- 'release-please[bot]'
+- 'gcf-owl-bot[bot]'
diff --git a/synth.metadata b/synth.metadata
index c6885cab..bf02775e 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-document-ai.git",
- "sha": "9ed8d8b56896093a473844b9cd5208cf3348a427"
+ "sha": "b0a4905c2c8fecc523dcd38cd839f22a878946e8"
}
},
{
@@ -43,7 +43,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "c86c7a60985644eab557949363a38301d40d78d2"
+ "sha": "7332178a11ddddc91188dc0f25bca1ccadcaa6c6"
}
}
],
From fe100b03943f74fb4b883c9d12af49acbe22bd24 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Wed, 19 May 2021 17:08:06 +0200
Subject: [PATCH 14/22] deps: update dependency
com.google.cloud:google-cloud-shared-dependencies to v1.2.0 (#489)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `1.1.0` -> `1.2.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
googleapis/java-shared-dependencies
### [`v1.2.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#120-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare110v120-2021-05-18)
[Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v1.1.0...v1.2.0)
##### Dependencies
- update dependency com.google.api-client:google-api-client-bom to v1.31.5 ([#353](https://www.github.com/googleapis/java-shared-dependencies/issues/353)) ([8d72ab0](https://www.github.com/googleapis/java-shared-dependencies/commit/8d72ab003e08c864aedc17fc190ba26f393bf0c7))
- update dependency com.google.errorprone:error_prone_annotations to v2.7.1 ([#360](https://www.github.com/googleapis/java-shared-dependencies/issues/360)) ([8f952d0](https://www.github.com/googleapis/java-shared-dependencies/commit/8f952d05745358fc426a1a2dcb688da5d5010239))
- update dependency com.google.protobuf:protobuf-bom to v3.17.0 ([#355](https://www.github.com/googleapis/java-shared-dependencies/issues/355)) ([09858fb](https://www.github.com/googleapis/java-shared-dependencies/commit/09858fb4f1b78a77e828501597d20df4db0ebfcf))
- update dependency io.grpc:grpc-bom to v1.37.1 ([#359](https://www.github.com/googleapis/java-shared-dependencies/issues/359)) ([bc9869e](https://www.github.com/googleapis/java-shared-dependencies/commit/bc9869e914314f951afd69f2acae95c414398f43))
- update google.common-protos.version to v2.2.1 ([#358](https://www.github.com/googleapis/java-shared-dependencies/issues/358)) ([a3ed764](https://www.github.com/googleapis/java-shared-dependencies/commit/a3ed764a0e5143ee323d4b69c9747b8265d349e2))
- update iam.version to v1.0.14 ([#352](https://www.github.com/googleapis/java-shared-dependencies/issues/352)) ([bea9a01](https://www.github.com/googleapis/java-shared-dependencies/commit/bea9a01788ac1332a4bc7e06574ef5701700fe90))
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai).
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 50afb6cd..23be9e9e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -116,7 +116,7 @@
com.google.cloud
google-cloud-shared-dependencies
- 1.1.0
+ 1.2.0
pom
import
From 06bd1f278663823679902abbdfecffda51007e08 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Wed, 19 May 2021 23:02:21 +0200
Subject: [PATCH 15/22] build(deps): update dependency
com.google.cloud:google-cloud-shared-config to v0.12.0 (#491)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `0.11.2` -> `0.12.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Configuration
📅 **Schedule**: At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box.
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai).
---
google-cloud-document-ai-bom/pom.xml | 2 +-
pom.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/google-cloud-document-ai-bom/pom.xml b/google-cloud-document-ai-bom/pom.xml
index 61e4f40b..15792f0c 100644
--- a/google-cloud-document-ai-bom/pom.xml
+++ b/google-cloud-document-ai-bom/pom.xml
@@ -8,7 +8,7 @@
com.google.cloud
google-cloud-shared-config
- 0.11.2
+ 0.12.0
Google Cloud Document AI BOM
diff --git a/pom.xml b/pom.xml
index 23be9e9e..e2bd5f32 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,7 +14,7 @@
com.google.cloud
google-cloud-shared-config
- 0.11.2
+ 0.12.0
From 5cfb4310fd4bd74672db62521f9c0b7074540578 Mon Sep 17 00:00:00 2001
From: Mike <45373284+munkhuushmgl@users.noreply.github.com>
Date: Thu, 20 May 2021 09:24:53 -0700
Subject: [PATCH 16/22] chore: increased timeout again attemp #2 (#492)
* chore: increased timeout again attemp #2
* added missing part
---
.../src/main/java/documentai/v1/BatchProcessDocument.java | 2 +-
.../src/main/java/documentai/v1beta2/BatchParseFormBeta.java | 2 +-
.../src/main/java/documentai/v1beta2/BatchParseTableBeta.java | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/samples/snippets/src/main/java/documentai/v1/BatchProcessDocument.java b/samples/snippets/src/main/java/documentai/v1/BatchProcessDocument.java
index 0a853a0c..efee05e6 100644
--- a/samples/snippets/src/main/java/documentai/v1/BatchProcessDocument.java
+++ b/samples/snippets/src/main/java/documentai/v1/BatchProcessDocument.java
@@ -106,7 +106,7 @@ public static void batchProcessDocument(
// Note: first request to the service takes longer than subsequent
// requests.
System.out.println("Waiting for operation to complete...");
- future.get(180, TimeUnit.SECONDS);
+ future.get(240, TimeUnit.SECONDS);
System.out.println("Document processing complete.");
diff --git a/samples/snippets/src/main/java/documentai/v1beta2/BatchParseFormBeta.java b/samples/snippets/src/main/java/documentai/v1beta2/BatchParseFormBeta.java
index ed61ad37..fe1efb75 100644
--- a/samples/snippets/src/main/java/documentai/v1beta2/BatchParseFormBeta.java
+++ b/samples/snippets/src/main/java/documentai/v1beta2/BatchParseFormBeta.java
@@ -128,7 +128,7 @@ public static void batchParseFormGcs(
// Wait for operation to complete.
System.out.println("Waiting for operation to complete...");
- future.get(300, TimeUnit.SECONDS);
+ future.get(360, TimeUnit.SECONDS);
System.out.println("Document processing complete.");
diff --git a/samples/snippets/src/main/java/documentai/v1beta2/BatchParseTableBeta.java b/samples/snippets/src/main/java/documentai/v1beta2/BatchParseTableBeta.java
index dacaed95..bef60315 100644
--- a/samples/snippets/src/main/java/documentai/v1beta2/BatchParseTableBeta.java
+++ b/samples/snippets/src/main/java/documentai/v1beta2/BatchParseTableBeta.java
@@ -131,7 +131,7 @@ public static void batchParseTableGcs(
// Wait for operation to complete.
System.out.println("Waiting for operation to complete...");
- future.get(300, TimeUnit.SECONDS);
+ future.get(360, TimeUnit.SECONDS);
System.out.println("Document processing complete.");
From e548a13db18af133659f363d04bb5ce93a1ed7b5 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Thu, 20 May 2021 15:32:25 -0700
Subject: [PATCH 17/22] chore: dump maven version along with java (#493)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/ec292f35-0c90-4d21-9ddf-bea9ded8aba2/targets
- [ ] To automatically regenerate this PR, check this box. (May take up to 24 hours.)
Source-Link: https://github.com/googleapis/synthtool/commit/8eae0234a16b26c2ff616d305dbd9786c8b10a47
---
.kokoro/build.sh | 4 ++--
synth.metadata | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.kokoro/build.sh b/.kokoro/build.sh
index 56f57083..f7ef5acd 100755
--- a/.kokoro/build.sh
+++ b/.kokoro/build.sh
@@ -23,8 +23,8 @@ cd ${scriptDir}/..
# include common functions
source ${scriptDir}/common.sh
-# Print out Java version
-java -version
+# Print out Maven & Java version
+mvn -version
echo ${JOB_TYPE}
# attempt to install 3 times with exponential backoff (starting with 10 seconds)
diff --git a/synth.metadata b/synth.metadata
index bf02775e..4951d7f3 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-document-ai.git",
- "sha": "b0a4905c2c8fecc523dcd38cd839f22a878946e8"
+ "sha": "5cfb4310fd4bd74672db62521f9c0b7074540578"
}
},
{
@@ -43,7 +43,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "7332178a11ddddc91188dc0f25bca1ccadcaa6c6"
+ "sha": "8eae0234a16b26c2ff616d305dbd9786c8b10a47"
}
}
],
From 4c9f22e42a2b044c51fb185be3c1883bbc9382ea Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Wed, 26 May 2021 03:02:36 +0200
Subject: [PATCH 18/22] test(deps): update dependency com.google.truth:truth to
v1.1.3 (#496)
---
samples/install-without-bom/pom.xml | 2 +-
samples/snapshot/pom.xml | 2 +-
samples/snippets/pom.xml | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 6af6fdd2..9013f7cd 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -46,7 +46,7 @@
com.google.truth
truth
- 1.1.2
+ 1.1.3
test