Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 0bcfb55

Browse files
chore: Set rest_numeric_enums = False for all gapic rules explicitly (#1025)
* chore: Set `rest_numeric_enums = False` for all gapic rules explicitly PiperOrigin-RevId: 485623855 Source-Link: googleapis/googleapis@807125e Source-Link: https://github.com/googleapis/googleapis-gen/commit/c4ddd6d651da69658a4762c5eafff5cd8f0e25c5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzRkZGQ2ZDY1MWRhNjk2NThhNDc2MmM1ZWFmZmY1Y2Q4ZjBlMjVjNSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 3572f82 commit 0bcfb55

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceClient.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,7 @@
111111
* // - It may require specifying regional endpoints when creating the service client as shown in
112112
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
113113
* ErrorGroupServiceSettings errorGroupServiceSettings =
114-
* ErrorGroupServiceSettings.newBuilder()
115-
* .setTransportChannelProvider(
116-
* ErrorGroupServiceSettings.defaultHttpJsonTransportProviderBuilder().build())
117-
* .build();
114+
* ErrorGroupServiceSettings.newHttpJsonBuilder().build();
118115
* ErrorGroupServiceClient errorGroupServiceClient =
119116
* ErrorGroupServiceClient.create(errorGroupServiceSettings);
120117
* }</pre>

google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceClient.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,7 @@
120120
* // - It may require specifying regional endpoints when creating the service client as shown in
121121
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
122122
* ErrorStatsServiceSettings errorStatsServiceSettings =
123-
* ErrorStatsServiceSettings.newBuilder()
124-
* .setTransportChannelProvider(
125-
* ErrorStatsServiceSettings.defaultHttpJsonTransportProviderBuilder().build())
126-
* .build();
123+
* ErrorStatsServiceSettings.newHttpJsonBuilder().build();
127124
* ErrorStatsServiceClient errorStatsServiceClient =
128125
* ErrorStatsServiceClient.create(errorStatsServiceSettings);
129126
* }</pre>

google-cloud-errorreporting/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceClient.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,7 @@
113113
* // - It may require specifying regional endpoints when creating the service client as shown in
114114
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
115115
* ReportErrorsServiceSettings reportErrorsServiceSettings =
116-
* ReportErrorsServiceSettings.newBuilder()
117-
* .setTransportChannelProvider(
118-
* ReportErrorsServiceSettings.defaultHttpJsonTransportProviderBuilder().build())
119-
* .build();
116+
* ReportErrorsServiceSettings.newHttpJsonBuilder().build();
120117
* ReportErrorsServiceClient reportErrorsServiceClient =
121118
* ReportErrorsServiceClient.create(reportErrorsServiceSettings);
122119
* }</pre>

0 commit comments

Comments
 (0)