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

Commit a4701c7

Browse files
feat!: release gapic-generator-java v2.0.0 (#33)
Committer: @miraleung PiperOrigin-RevId: 388535346 Source-Link: googleapis/googleapis@d9eaf41 Source-Link: https://github.com/googleapis/googleapis-gen/commit/976c5ab6f24b58c91fe04847ead1953f99d19e6a
1 parent cb7d8b9 commit a4701c7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

google-cloud-gke-connect-gateway/src/main/java/com/google/cloud/gkeconnect/gateway/v1beta1/GatewayServiceSettings.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -179,14 +179,13 @@ public GatewayServiceStubSettings.Builder getStubSettingsBuilder() {
179179
return ((GatewayServiceStubSettings.Builder) getStubSettings());
180180
}
181181

182-
// NEXT_MAJOR_VER: remove 'throws Exception'.
183182
/**
184183
* Applies the given settings updater function to all of the unary API methods in this service.
185184
*
186185
* <p>Note: This method does not support applying settings to streaming methods.
187186
*/
188187
public Builder applyToAllUnaryMethods(
189-
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception {
188+
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
190189
super.applyToAllUnaryMethods(
191190
getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
192191
return this;

google-cloud-gke-connect-gateway/src/main/java/com/google/cloud/gkeconnect/gateway/v1beta1/stub/GatewayServiceStubSettings.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -303,14 +303,13 @@ private static Builder initDefaults(Builder builder) {
303303
return builder;
304304
}
305305

306-
// NEXT_MAJOR_VER: remove 'throws Exception'.
307306
/**
308307
* Applies the given settings updater function to all of the unary API methods in this service.
309308
*
310309
* <p>Note: This method does not support applying settings to streaming methods.
311310
*/
312311
public Builder applyToAllUnaryMethods(
313-
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) throws Exception {
312+
ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) {
314313
super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater);
315314
return this;
316315
}

0 commit comments

Comments
 (0)