From af46f54f08047a59abe9b8b8b612acca55a429bf Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 8 Jul 2020 16:34:57 -0700 Subject: [PATCH] fix: update generated retry settings (#136) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/58020715-0b4b-44c4-95c1-cbec2e342b42/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 320087063 Source-Link: https://github.com/googleapis/googleapis/commit/519265ce99de513ee6f1b7e8d6f23ecd7c4d83cf --- .../stub/DocumentUnderstandingServiceStubSettings.java | 6 +++--- synth.metadata | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/DocumentUnderstandingServiceStubSettings.java b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/DocumentUnderstandingServiceStubSettings.java index 6816da9b..1922073f 100644 --- a/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/DocumentUnderstandingServiceStubSettings.java +++ b/google-cloud-document-ai/src/main/java/com/google/cloud/documentai/v1beta2/stub/DocumentUnderstandingServiceStubSettings.java @@ -228,10 +228,10 @@ public static class Builder .setInitialRetryDelay(Duration.ofMillis(100L)) .setRetryDelayMultiplier(1.3) .setMaxRetryDelay(Duration.ofMillis(60000L)) - .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(120000L)) .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(60000L)) - .setTotalTimeout(Duration.ofMillis(60000L)) + .setMaxRpcTimeout(Duration.ofMillis(120000L)) + .setTotalTimeout(Duration.ofMillis(120000L)) .build(); definitions.put("retry_policy_1_params", settings); settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build(); diff --git a/synth.metadata b/synth.metadata index fc70687a..541a49f6 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,23 +4,23 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-document-ai.git", - "sha": "d5b4aa361453b76bb702fa2d0aa076ca416c4d54" + "sha": "48a216a5ddaf8c249f85e3adfcdab2b8e795cc0e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0edf3ff6625f50cdcab5b3c40f2ef109bf73cef4", - "internalRef": "315961930" + "sha": "519265ce99de513ee6f1b7e8d6f23ecd7c4d83cf", + "internalRef": "320087063" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0edf3ff6625f50cdcab5b3c40f2ef109bf73cef4", - "internalRef": "315961930" + "sha": "519265ce99de513ee6f1b7e8d6f23ecd7c4d83cf", + "internalRef": "320087063" } }, {