Skip to content

Commit 9bbe190

Browse files
authored
Regenerate java clients, bump proto-/grpc-artifacts dependency versions (#3173)
* Regenerate java clients, bump proto-/grpc-artifacts dependency versions * .
1 parent d94eb19 commit 9bbe190

30 files changed

Lines changed: 137 additions & 88 deletions

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2202,7 +2202,7 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
22022202
}
22032203

22042204
@Override
2205-
public final void close() throws Exception {
2205+
public final void close() {
22062206
stub.close();
22072207
}
22082208

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableInstanceAdminSettings.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ public BigtableInstanceAdminStubSettings.Builder getStubSettingsBuilder() {
307307
return ((BigtableInstanceAdminStubSettings.Builder) getStubSettings());
308308
}
309309

310+
// NEXT_MAJOR_VER: remove 'throws Exception'
310311
/**
311312
* Applies the given settings updater function to all of the unary API methods in this service.
312313
*

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,7 @@ public final UnaryCallable<DeleteSnapshotRequest, Empty> deleteSnapshotCallable(
18261826
}
18271827

18281828
@Override
1829-
public final void close() throws Exception {
1829+
public final void close() {
18301830
stub.close();
18311831
}
18321832

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/BigtableTableAdminSettings.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ public BigtableTableAdminStubSettings.Builder getStubSettingsBuilder() {
255255
return ((BigtableTableAdminStubSettings.Builder) getStubSettings());
256256
}
257257

258+
// NEXT_MAJOR_VER: remove 'throws Exception'
258259
/**
259260
* Applies the given settings updater function to all of the unary API methods in this service.
260261
*

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStub.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,4 +173,7 @@ public UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
173173
testIamPermissionsCallable() {
174174
throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()");
175175
}
176+
177+
@Override
178+
public abstract void close();
176179
}

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableInstanceAdminStubSettings.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -866,6 +866,7 @@ protected Builder(BigtableInstanceAdminStubSettings settings) {
866866
testIamPermissionsSettings);
867867
}
868868

869+
// NEXT_MAJOR_VER: remove 'throws Exception'
869870
/**
870871
* Applies the given settings updater function to all of the unary API methods in this service.
871872
*

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStub.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,7 @@ public UnaryCallable<ListSnapshotsRequest, ListSnapshotsResponse> listSnapshotsC
136136
public UnaryCallable<DeleteSnapshotRequest, Empty> deleteSnapshotCallable() {
137137
throw new UnsupportedOperationException("Not implemented: deleteSnapshotCallable()");
138138
}
139+
140+
@Override
141+
public abstract void close();
139142
}

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/BigtableTableAdminStubSettings.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,7 @@ protected Builder(BigtableTableAdminStubSettings settings) {
704704
deleteSnapshotSettings);
705705
}
706706

707+
// NEXT_MAJOR_VER: remove 'throws Exception'
707708
/**
708709
* Applies the given settings updater function to all of the unary API methods in this service.
709710
*

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableInstanceAdminStub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ public UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() {
755755
}
756756

757757
@Override
758-
public final void close() throws Exception {
758+
public final void close() {
759759
shutdown();
760760
}
761761

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/admin/v2/stub/GrpcBigtableTableAdminStub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ public UnaryCallable<DeleteSnapshotRequest, Empty> deleteSnapshotCallable() {
573573
}
574574

575575
@Override
576-
public final void close() throws Exception {
576+
public final void close() {
577577
shutdown();
578578
}
579579

0 commit comments

Comments
 (0)