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

Commit

Permalink
chore: release gapic-generator-java v1.0.17
Browse files Browse the repository at this point in the history
Committer: @miraleung
PiperOrigin-RevId: 388499329

Source-Author: Google APIs <noreply@google.com>
Source-Date: Tue Aug 3 11:12:29 2021 -0700
Source-Repo: googleapis/googleapis
Source-Sha: bb0a090d9204110042ab5dee2ce9e06e8071ce54
Source-Link: googleapis/googleapis@bb0a090
  • Loading branch information
yoshi-automation committed Aug 5, 2021
1 parent 7931edb commit 9bb3941
Show file tree
Hide file tree
Showing 13 changed files with 89 additions and 17 deletions.
Expand Up @@ -275,7 +275,13 @@ public UnaryCallable<ListCompaniesRequest, ListCompaniesResponse> listCompaniesC

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down
Expand Up @@ -130,7 +130,13 @@ public UnaryCallable<CompleteQueryRequest, CompleteQueryResponse> completeQueryC

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down
Expand Up @@ -131,7 +131,13 @@ public UnaryCallable<CreateClientEventRequest, ClientEvent> createClientEventCal

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down
Expand Up @@ -481,7 +481,13 @@ public UnaryCallable<SearchJobsRequest, SearchJobsResponse> searchJobsForAlertCa

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down
Expand Up @@ -267,7 +267,13 @@ public UnaryCallable<ListTenantsRequest, ListTenantsPagedResponse> listTenantsPa

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down
Expand Up @@ -291,7 +291,13 @@ public UnaryCallable<DeleteApplicationRequest, Empty> deleteApplicationCallable(

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down
Expand Up @@ -277,7 +277,13 @@ public UnaryCallable<ListCompaniesRequest, ListCompaniesResponse> listCompaniesC

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down
Expand Up @@ -132,7 +132,13 @@ public UnaryCallable<CompleteQueryRequest, CompleteQueryResponse> completeQueryC

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down
Expand Up @@ -133,7 +133,13 @@ public UnaryCallable<CreateClientEventRequest, ClientEvent> createClientEventCal

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down
Expand Up @@ -490,7 +490,13 @@ public UnaryCallable<SearchJobsRequest, SearchJobsResponse> searchJobsForAlertCa

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down
Expand Up @@ -323,7 +323,13 @@ public UnaryCallable<SearchProfilesRequest, SearchProfilesResponse> searchProfil

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down
Expand Up @@ -269,7 +269,13 @@ public UnaryCallable<ListTenantsRequest, ListTenantsPagedResponse> listTenantsPa

@Override
public final void close() {
shutdown();
try {
backgroundResources.close();
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
throw new IllegalStateException("Failed to close resource", e);
}
}

@Override
Expand Down
10 changes: 5 additions & 5 deletions synth.metadata
Expand Up @@ -4,23 +4,23 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-talent.git",
"sha": "50b36946fe3a9da55450191c42fd367777735372"
"sha": "7931edb4617690db6a226501c0e89b0047cb5909"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "551681f25e36b11829e87e580281350461f4f3f5",
"internalRef": "379784268"
"sha": "bb0a090d9204110042ab5dee2ce9e06e8071ce54",
"internalRef": "388499329"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "551681f25e36b11829e87e580281350461f4f3f5",
"internalRef": "379784268"
"sha": "bb0a090d9204110042ab5dee2ce9e06e8071ce54",
"internalRef": "388499329"
}
},
{
Expand Down

0 comments on commit 9bb3941

Please sign in to comment.