From 4430f492ef6d93b42b45774a23162f4637638d89 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 15 Jun 2020 11:58:08 -0700 Subject: [PATCH] fix: migrate osconfig & agentendpoint to grpc_service_config (#55) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/de99c0b2-2a31-47d7-9319-d5e99cc10bf3/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 316127857 Source-Link: https://github.com/googleapis/googleapis/commit/77e7fa104755fbf38b02502fc406fd3bbac7afb6 --- .../v1/stub/OsConfigServiceStubSettings.java | 56 +++++++++---------- synth.metadata | 6 +- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java index d734fb4c..a1ce3b2c 100644 --- a/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java +++ b/google-cloud-os-config/src/main/java/com/google/cloud/osconfig/v1/stub/OsConfigServiceStubSettings.java @@ -498,11 +498,9 @@ public static class Builder extends StubSettings.Builder> definitions = ImmutableMap.builder(); definitions.put( - "idempotent", - ImmutableSet.copyOf( - Lists.newArrayList( - StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE))); - definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.newArrayList())); + "retry_policy_1_codes", + ImmutableSet.copyOf(Lists.newArrayList(StatusCode.Code.UNAVAILABLE))); + definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList())); RETRYABLE_CODE_DEFINITIONS = definitions.build(); } @@ -513,15 +511,17 @@ public static class Builder extends StubSettings.Builder