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: googleapis/googleapis-gen@e04cea2
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: googleapis/googleapis-gen@9f6775c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWY2Nzc1Y2FiMTk1ODk4MmI4ODk2N2E0M2U1ZTgwNmFmMGYxMzVkYiJ9
  • Loading branch information
gcf-owl-bot[bot] committed 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.