Skip to content

Commit 052aca8

Browse files
chore: Set rest_numeric_enums = False for all gapic rules explicitly (#807)
- [ ] 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
1 parent 6adc86f commit 052aca8

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

java-bigqueryconnection/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceClient.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,7 @@
125125
* // - It may require specifying regional endpoints when creating the service client as shown in
126126
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
127127
* ConnectionServiceSettings connectionServiceSettings =
128-
* ConnectionServiceSettings.newBuilder()
129-
* .setTransportChannelProvider(
130-
* ConnectionServiceSettings.defaultHttpJsonTransportProviderBuilder().build())
131-
* .build();
128+
* ConnectionServiceSettings.newHttpJsonBuilder().build();
132129
* ConnectionServiceClient connectionServiceClient =
133130
* ConnectionServiceClient.create(connectionServiceSettings);
134131
* }</pre>

java-bigqueryconnection/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigqueryconnection/v1/ConnectionServiceClient.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,7 @@
139139
* // - It may require specifying regional endpoints when creating the service client as shown in
140140
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
141141
* ConnectionServiceSettings connectionServiceSettings =
142-
* ConnectionServiceSettings.newBuilder()
143-
* .setTransportChannelProvider(
144-
* ConnectionServiceSettings.defaultHttpJsonTransportProviderBuilder().build())
145-
* .build();
142+
* ConnectionServiceSettings.newHttpJsonBuilder().build();
146143
* ConnectionServiceClient connectionServiceClient =
147144
* ConnectionServiceClient.create(connectionServiceSettings);
148145
* }</pre>

0 commit comments

Comments
 (0)