Skip to content

Commit bb976f8

Browse files
chore: Integrate new gapic-generator-java and rules_gapic (#762)
- [ ] 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
1 parent f7e6fba commit bb976f8

File tree

4 files changed

+2
-11
lines changed

4 files changed

+2
-11
lines changed

java-scheduler/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/CloudSchedulerClient.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import com.google.api.core.ApiFuture;
2020
import com.google.api.core.ApiFutures;
21-
import com.google.api.core.BetaApi;
2221
import com.google.api.gax.core.BackgroundResource;
2322
import com.google.api.gax.paging.AbstractFixedSizeCollection;
2423
import com.google.api.gax.paging.AbstractPage;
@@ -125,7 +124,6 @@ public static final CloudSchedulerClient create(CloudSchedulerSettings settings)
125124
* Constructs an instance of CloudSchedulerClient, using the given stub for making calls. This is
126125
* for advanced usage - prefer using create(CloudSchedulerSettings).
127126
*/
128-
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
129127
public static final CloudSchedulerClient create(CloudSchedulerStub stub) {
130128
return new CloudSchedulerClient(stub);
131129
}
@@ -140,7 +138,6 @@ protected CloudSchedulerClient(CloudSchedulerSettings settings) throws IOExcepti
140138
this.stub = ((CloudSchedulerStubSettings) settings.getStubSettings()).createStub();
141139
}
142140

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

153-
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
154150
public CloudSchedulerStub getStub() {
155151
return stub;
156152
}
@@ -283,7 +279,7 @@ public final UnaryCallable<ListJobsRequest, ListJobsPagedResponse> listJobsPaged
283279
* .build();
284280
* while (true) {
285281
* ListJobsResponse response = cloudSchedulerClient.listJobsCallable().call(request);
286-
* for (Job element : response.getResponsesList()) {
282+
* for (Job element : response.getJobsList()) {
287283
* // doThingsWith(element);
288284
* }
289285
* String nextPageToken = response.getNextPageToken();

java-scheduler/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1/stub/CloudSchedulerStubSettings.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ public UnaryCallSettings<RunJobRequest, Job> runJobSettings() {
204204
return runJobSettings;
205205
}
206206

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

java-scheduler/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/CloudSchedulerClient.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ public static final CloudSchedulerClient create(CloudSchedulerSettings settings)
126126
* Constructs an instance of CloudSchedulerClient, using the given stub for making calls. This is
127127
* for advanced usage - prefer using create(CloudSchedulerSettings).
128128
*/
129-
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
130129
public static final CloudSchedulerClient create(CloudSchedulerStub stub) {
131130
return new CloudSchedulerClient(stub);
132131
}
@@ -141,7 +140,6 @@ protected CloudSchedulerClient(CloudSchedulerSettings settings) throws IOExcepti
141140
this.stub = ((CloudSchedulerStubSettings) settings.getStubSettings()).createStub();
142141
}
143142

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

154-
@BetaApi("A restructuring of stub classes is planned, so this may break in the future")
155152
public CloudSchedulerStub getStub() {
156153
return stub;
157154
}
@@ -284,7 +281,7 @@ public final UnaryCallable<ListJobsRequest, ListJobsPagedResponse> listJobsPaged
284281
* .build();
285282
* while (true) {
286283
* ListJobsResponse response = cloudSchedulerClient.listJobsCallable().call(request);
287-
* for (Job element : response.getResponsesList()) {
284+
* for (Job element : response.getJobsList()) {
288285
* // doThingsWith(element);
289286
* }
290287
* String nextPageToken = response.getNextPageToken();

java-scheduler/google-cloud-scheduler/src/main/java/com/google/cloud/scheduler/v1beta1/stub/CloudSchedulerStubSettings.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ public UnaryCallSettings<RunJobRequest, Job> runJobSettings() {
205205
return runJobSettings;
206206
}
207207

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

0 commit comments

Comments
 (0)