Skip to content

Commit

Permalink
chore: Integrate new gapic-generator-java and rules_gapic (#762)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 454027580

Source-Link: googleapis/googleapis@1b22277

Source-Link: https://github.com/googleapis/googleapis-gen/commit/e04cea20d0d12eb5c3bdb360a9e72b654edcb638
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTA0Y2VhMjBkMGQxMmViNWMzYmRiMzYwYTllNzJiNjU0ZWRjYjYzOCJ9

chore(deps): upgrade gapic-generator-java to 2.8.0 and update gax-java to 2.18.1
PiperOrigin-RevId: 450543911

Source-Link: googleapis/googleapis@5528344

Source-Link: https://github.com/googleapis/googleapis-gen/commit/9f6775cab1958982b88967a43e5e806af0f135db
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWY2Nzc1Y2FiMTk1ODk4MmI4ODk2N2E0M2U1ZTgwNmFmMGYxMzVkYiJ9
  • Loading branch information
gcf-owl-bot[bot] authored Jun 13, 2022
1 parent f7e6fba commit bb976f8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.paging.AbstractFixedSizeCollection;
import com.google.api.gax.paging.AbstractPage;
Expand Down Expand Up @@ -125,7 +124,6 @@ public static final CloudSchedulerClient create(CloudSchedulerSettings settings)
* Constructs an instance of CloudSchedulerClient, using the given stub for making calls. This is
* for advanced usage - prefer using create(CloudSchedulerSettings).
*/
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public static final CloudSchedulerClient create(CloudSchedulerStub stub) {
return new CloudSchedulerClient(stub);
}
Expand All @@ -140,7 +138,6 @@ protected CloudSchedulerClient(CloudSchedulerSettings settings) throws IOExcepti
this.stub = ((CloudSchedulerStubSettings) settings.getStubSettings()).createStub();
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
protected CloudSchedulerClient(CloudSchedulerStub stub) {
this.settings = null;
this.stub = stub;
Expand All @@ -150,7 +147,6 @@ public final CloudSchedulerSettings getSettings() {
return settings;
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public CloudSchedulerStub getStub() {
return stub;
}
Expand Down Expand Up @@ -283,7 +279,7 @@ public final UnaryCallable<ListJobsRequest, ListJobsPagedResponse> listJobsPaged
* .build();
* while (true) {
* ListJobsResponse response = cloudSchedulerClient.listJobsCallable().call(request);
* for (Job element : response.getResponsesList()) {
* for (Job element : response.getJobsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ public UnaryCallSettings<RunJobRequest, Job> runJobSettings() {
return runJobSettings;
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public CloudSchedulerStub createStub() throws IOException {
if (getTransportChannelProvider()
.getTransportName()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ public static final CloudSchedulerClient create(CloudSchedulerSettings settings)
* Constructs an instance of CloudSchedulerClient, using the given stub for making calls. This is
* for advanced usage - prefer using create(CloudSchedulerSettings).
*/
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public static final CloudSchedulerClient create(CloudSchedulerStub stub) {
return new CloudSchedulerClient(stub);
}
Expand All @@ -141,7 +140,6 @@ protected CloudSchedulerClient(CloudSchedulerSettings settings) throws IOExcepti
this.stub = ((CloudSchedulerStubSettings) settings.getStubSettings()).createStub();
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
protected CloudSchedulerClient(CloudSchedulerStub stub) {
this.settings = null;
this.stub = stub;
Expand All @@ -151,7 +149,6 @@ public final CloudSchedulerSettings getSettings() {
return settings;
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public CloudSchedulerStub getStub() {
return stub;
}
Expand Down Expand Up @@ -284,7 +281,7 @@ public final UnaryCallable<ListJobsRequest, ListJobsPagedResponse> listJobsPaged
* .build();
* while (true) {
* ListJobsResponse response = cloudSchedulerClient.listJobsCallable().call(request);
* for (Job element : response.getResponsesList()) {
* for (Job element : response.getJobsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ public UnaryCallSettings<RunJobRequest, Job> runJobSettings() {
return runJobSettings;
}

@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public CloudSchedulerStub createStub() throws IOException {
if (getTransportChannelProvider()
.getTransportName()
Expand Down

0 comments on commit bb976f8

Please sign in to comment.