From afcf63cc063c4e0f5159c3ac5dbe2d372c335beb Mon Sep 17 00:00:00 2001 From: cloud-java-bot <122572305+cloud-java-bot@users.noreply.github.com> Date: Sun, 17 Nov 2024 21:05:39 -0500 Subject: [PATCH] chore: Update generation configuration at Sun Nov 17 02:27:32 UTC 2024 (#1726) * chore: Update generation configuration at Sun Nov 17 02:27:32 UTC 2024 * chore: generate libraries at Sun Nov 17 02:28:03 UTC 2024 --- generation_config.yaml | 4 +- .../cloud/logging/v2/ConfigSettings.java | 2 +- .../v2/stub/ConfigServiceV2StubSettings.java | 70 +++++++++---------- .../v2/stub/LoggingServiceV2StubSettings.java | 24 +++---- .../v2/stub/MetricsServiceV2StubSettings.java | 18 ++--- 5 files changed, 59 insertions(+), 59 deletions(-) diff --git a/generation_config.yaml b/generation_config.yaml index 255442b46..ac782fce1 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,5 +1,5 @@ -gapic_generator_version: 2.49.0 -googleapis_commitish: 9b94dba2f7f4b601f8232bc3a3f6ef32665279b9 +gapic_generator_version: 2.50.0 +googleapis_commitish: 9077c0ed8bda4a52290bdde16a6df91944e59c0f libraries_bom_version: 26.50.0 libraries: - api_shortname: logging diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java index 4eb0e52de..a69c7662c 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/ConfigSettings.java @@ -151,7 +151,7 @@ * RetrySettings.newBuilder() * .setInitialRetryDelayDuration(Duration.ofMillis(500)) * .setRetryDelayMultiplier(1.5) - * .setMaxRetryDelay(Duration.ofMillis(5000)) + * .setMaxRetryDelayDuration(Duration.ofMillis(5000)) * .setTotalTimeoutDuration(Duration.ofHours(24)) * .build()); * configSettingsBuilder diff --git a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java index 34aa5816b..4eea4bbfe 100644 --- a/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java +++ b/google-cloud-logging/src/main/java/com/google/cloud/logging/v2/stub/ConfigServiceV2StubSettings.java @@ -101,9 +101,9 @@ import com.google.longrunning.Operation; import com.google.protobuf.Empty; import java.io.IOException; +import java.time.Duration; import java.util.List; import javax.annotation.Generated; -import org.threeten.bp.Duration; // AUTO-GENERATED DOCUMENTATION AND CLASS. /** @@ -172,7 +172,7 @@ * RetrySettings.newBuilder() * .setInitialRetryDelayDuration(Duration.ofMillis(500)) * .setRetryDelayMultiplier(1.5) - * .setMaxRetryDelay(Duration.ofMillis(5000)) + * .setMaxRetryDelayDuration(Duration.ofMillis(5000)) * .setTotalTimeoutDuration(Duration.ofHours(24)) * .build()); * configSettingsBuilder @@ -910,21 +910,21 @@ public static class Builder extends StubSettings.Builder