From ea2f95a02af7de0c6a867b44aa3ec31fd7a0dac2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 16 Feb 2021 12:08:10 -0800 Subject: [PATCH] fix: do not retry on 13 INTERNAL (#396) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/a7d32ac5-d75c-4316-9418-8435525bdb8d/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 357022763 Source-Link: https://github.com/googleapis/googleapis/commit/3f914b89ae1ef459955f470f9ccb498314ad28d5 PiperOrigin-RevId: 351867503 Source-Link: https://github.com/googleapis/googleapis/commit/f1b2cc9c37f453c3b15e8945af32812f71634022 PiperOrigin-RevId: 350949863 Source-Link: https://github.com/googleapis/googleapis/commit/91e206bcfeaf8948ea03fe3cb1b7616108496cd3 PiperOrigin-RevId: 350067652 Source-Link: https://github.com/googleapis/googleapis/commit/ad3bb00ed7750cd0625b3a36e0e2eff29f778e4a PiperOrigin-RevId: 347036369 Source-Link: https://github.com/googleapis/googleapis/commit/6d65640b1fcbdf26ea76cb720de0ac138cae9bed PiperOrigin-RevId: 346440719 Source-Link: https://github.com/googleapis/googleapis/commit/85a5954183479a9a7c2641c013cd728b6fa9b7cd chore: migrate kms to the Java microgenerator chore: update gapic-generator-java to 0.0.11 chore: update gapic-generator-java to 0.0.16 chore: update gapic-generator-java to 0.0.18 chore: un-migrate kms from the Java microgenerator to the monolith --- .../cloud/kms/v1/stub/KeyManagementServiceStubSettings.java | 4 +--- synth.metadata | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/KeyManagementServiceStubSettings.java b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/KeyManagementServiceStubSettings.java index a408e089..2e60f128 100644 --- a/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/KeyManagementServiceStubSettings.java +++ b/google-cloud-kms/src/main/java/com/google/cloud/kms/v1/stub/KeyManagementServiceStubSettings.java @@ -718,9 +718,7 @@ public static class Builder "retry_policy_1_codes", ImmutableSet.copyOf( Lists.newArrayList( - StatusCode.Code.INTERNAL, - StatusCode.Code.UNAVAILABLE, - StatusCode.Code.DEADLINE_EXCEEDED))); + StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); definitions.put( "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList())); diff --git a/synth.metadata b/synth.metadata index 7a0954be..2030828d 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-kms.git", - "sha": "bf9209b84f26b6ab14905b8f0c36681d6f82c744" + "sha": "2d145998f3cd0ee5a02262f65df44f295350a8fa" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "3a935fab757e09c72afd4aa121147a4c97dccc3e", - "internalRef": "336931287" + "sha": "3f914b89ae1ef459955f470f9ccb498314ad28d5", + "internalRef": "357022763" } }, {