From 9e455da910a4353cef13a2d273f9174602a7265f Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 8 Nov 2022 17:18:21 +0000 Subject: [PATCH] chore: Set `rest_numeric_enums = False` for all gapic rules explicitly (#509) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 485623855 Source-Link: https://togithub.com/googleapis/googleapis/commit/807125e7953e32535710924fe4bf0362ac93754d Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/c4ddd6d651da69658a4762c5eafff5cd8f0e25c5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzRkZGQ2ZDY1MWRhNjk2NThhNDc2MmM1ZWFmZmY1Y2Q4ZjBlMjVjNSJ9 --- .../analytics/admin/v1alpha/AnalyticsAdminServiceClient.java | 5 +---- .../analytics/admin/v1beta/AnalyticsAdminServiceClient.java | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java index d60a1c150d79..49d5db402a6d 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1alpha/AnalyticsAdminServiceClient.java @@ -122,10 +122,7 @@ * // - It may require specifying regional endpoints when creating the service client as shown in * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * AnalyticsAdminServiceSettings analyticsAdminServiceSettings = - * AnalyticsAdminServiceSettings.newBuilder() - * .setTransportChannelProvider( - * AnalyticsAdminServiceSettings.defaultHttpJsonTransportProviderBuilder().build()) - * .build(); + * AnalyticsAdminServiceSettings.newHttpJsonBuilder().build(); * AnalyticsAdminServiceClient analyticsAdminServiceClient = * AnalyticsAdminServiceClient.create(analyticsAdminServiceSettings); * } diff --git a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java index 19338cdcf0e8..3fa1624b72c1 100644 --- a/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java +++ b/java-analytics-admin/google-analytics-admin/src/main/java/com/google/analytics/admin/v1beta/AnalyticsAdminServiceClient.java @@ -122,10 +122,7 @@ * // - It may require specifying regional endpoints when creating the service client as shown in * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * AnalyticsAdminServiceSettings analyticsAdminServiceSettings = - * AnalyticsAdminServiceSettings.newBuilder() - * .setTransportChannelProvider( - * AnalyticsAdminServiceSettings.defaultHttpJsonTransportProviderBuilder().build()) - * .build(); + * AnalyticsAdminServiceSettings.newHttpJsonBuilder().build(); * AnalyticsAdminServiceClient analyticsAdminServiceClient = * AnalyticsAdminServiceClient.create(analyticsAdminServiceSettings); * }