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

Commit 18e8180

Browse files
chore: update gax-java dependency to 1.62
PiperOrigin-RevId: 361377784 Source-Author: Google APIs <[email protected]> Source-Date: Sat Mar 6 21:09:41 2021 -0800 Source-Repo: googleapis/googleapis Source-Sha: 0e915217fb5261c1e57bfaf0e16ee5c7feaaba89 Source-Link: googleapis/googleapis@0e91521
1 parent a045a84 commit 18e8180

4 files changed

Lines changed: 42 additions & 47 deletions

File tree

grpc-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceGrpc.java

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
package com.google.devtools.clouderrorreporting.v1beta1;
1717

1818
import static io.grpc.MethodDescriptor.generateFullMethodName;
19-
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
20-
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
21-
import static io.grpc.stub.ClientCalls.futureUnaryCall;
22-
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
23-
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
2419

2520
/**
2621
*
@@ -195,7 +190,7 @@ public void getGroup(
195190
com.google.devtools.clouderrorreporting.v1beta1.GetGroupRequest request,
196191
io.grpc.stub.StreamObserver<com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup>
197192
responseObserver) {
198-
asyncUnimplementedUnaryCall(getGetGroupMethod(), responseObserver);
193+
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetGroupMethod(), responseObserver);
199194
}
200195

201196
/**
@@ -210,22 +205,23 @@ public void updateGroup(
210205
com.google.devtools.clouderrorreporting.v1beta1.UpdateGroupRequest request,
211206
io.grpc.stub.StreamObserver<com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup>
212207
responseObserver) {
213-
asyncUnimplementedUnaryCall(getUpdateGroupMethod(), responseObserver);
208+
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
209+
getUpdateGroupMethod(), responseObserver);
214210
}
215211

216212
@java.lang.Override
217213
public final io.grpc.ServerServiceDefinition bindService() {
218214
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
219215
.addMethod(
220216
getGetGroupMethod(),
221-
asyncUnaryCall(
217+
io.grpc.stub.ServerCalls.asyncUnaryCall(
222218
new MethodHandlers<
223219
com.google.devtools.clouderrorreporting.v1beta1.GetGroupRequest,
224220
com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup>(
225221
this, METHODID_GET_GROUP)))
226222
.addMethod(
227223
getUpdateGroupMethod(),
228-
asyncUnaryCall(
224+
io.grpc.stub.ServerCalls.asyncUnaryCall(
229225
new MethodHandlers<
230226
com.google.devtools.clouderrorreporting.v1beta1.UpdateGroupRequest,
231227
com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup>(
@@ -264,7 +260,7 @@ public void getGroup(
264260
com.google.devtools.clouderrorreporting.v1beta1.GetGroupRequest request,
265261
io.grpc.stub.StreamObserver<com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup>
266262
responseObserver) {
267-
asyncUnaryCall(
263+
io.grpc.stub.ClientCalls.asyncUnaryCall(
268264
getChannel().newCall(getGetGroupMethod(), getCallOptions()), request, responseObserver);
269265
}
270266

@@ -280,7 +276,7 @@ public void updateGroup(
280276
com.google.devtools.clouderrorreporting.v1beta1.UpdateGroupRequest request,
281277
io.grpc.stub.StreamObserver<com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup>
282278
responseObserver) {
283-
asyncUnaryCall(
279+
io.grpc.stub.ClientCalls.asyncUnaryCall(
284280
getChannel().newCall(getUpdateGroupMethod(), getCallOptions()),
285281
request,
286282
responseObserver);
@@ -316,7 +312,8 @@ protected ErrorGroupServiceBlockingStub build(
316312
*/
317313
public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup getGroup(
318314
com.google.devtools.clouderrorreporting.v1beta1.GetGroupRequest request) {
319-
return blockingUnaryCall(getChannel(), getGetGroupMethod(), getCallOptions(), request);
315+
return io.grpc.stub.ClientCalls.blockingUnaryCall(
316+
getChannel(), getGetGroupMethod(), getCallOptions(), request);
320317
}
321318

322319
/**
@@ -329,7 +326,8 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup getGroup(
329326
*/
330327
public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup updateGroup(
331328
com.google.devtools.clouderrorreporting.v1beta1.UpdateGroupRequest request) {
332-
return blockingUnaryCall(getChannel(), getUpdateGroupMethod(), getCallOptions(), request);
329+
return io.grpc.stub.ClientCalls.blockingUnaryCall(
330+
getChannel(), getUpdateGroupMethod(), getCallOptions(), request);
333331
}
334332
}
335333

@@ -362,7 +360,8 @@ protected ErrorGroupServiceFutureStub build(
362360
public com.google.common.util.concurrent.ListenableFuture<
363361
com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup>
364362
getGroup(com.google.devtools.clouderrorreporting.v1beta1.GetGroupRequest request) {
365-
return futureUnaryCall(getChannel().newCall(getGetGroupMethod(), getCallOptions()), request);
363+
return io.grpc.stub.ClientCalls.futureUnaryCall(
364+
getChannel().newCall(getGetGroupMethod(), getCallOptions()), request);
366365
}
367366

368367
/**
@@ -376,7 +375,7 @@ protected ErrorGroupServiceFutureStub build(
376375
public com.google.common.util.concurrent.ListenableFuture<
377376
com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup>
378377
updateGroup(com.google.devtools.clouderrorreporting.v1beta1.UpdateGroupRequest request) {
379-
return futureUnaryCall(
378+
return io.grpc.stub.ClientCalls.futureUnaryCall(
380379
getChannel().newCall(getUpdateGroupMethod(), getCallOptions()), request);
381380
}
382381
}

grpc-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceGrpc.java

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
package com.google.devtools.clouderrorreporting.v1beta1;
1717

1818
import static io.grpc.MethodDescriptor.generateFullMethodName;
19-
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
20-
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
21-
import static io.grpc.stub.ClientCalls.futureUnaryCall;
22-
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
23-
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
2419

2520
/**
2621
*
@@ -245,7 +240,8 @@ public void listGroupStats(
245240
io.grpc.stub.StreamObserver<
246241
com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse>
247242
responseObserver) {
248-
asyncUnimplementedUnaryCall(getListGroupStatsMethod(), responseObserver);
243+
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
244+
getListGroupStatsMethod(), responseObserver);
249245
}
250246

251247
/**
@@ -260,7 +256,7 @@ public void listEvents(
260256
io.grpc.stub.StreamObserver<
261257
com.google.devtools.clouderrorreporting.v1beta1.ListEventsResponse>
262258
responseObserver) {
263-
asyncUnimplementedUnaryCall(getListEventsMethod(), responseObserver);
259+
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListEventsMethod(), responseObserver);
264260
}
265261

266262
/**
@@ -275,29 +271,30 @@ public void deleteEvents(
275271
io.grpc.stub.StreamObserver<
276272
com.google.devtools.clouderrorreporting.v1beta1.DeleteEventsResponse>
277273
responseObserver) {
278-
asyncUnimplementedUnaryCall(getDeleteEventsMethod(), responseObserver);
274+
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
275+
getDeleteEventsMethod(), responseObserver);
279276
}
280277

281278
@java.lang.Override
282279
public final io.grpc.ServerServiceDefinition bindService() {
283280
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
284281
.addMethod(
285282
getListGroupStatsMethod(),
286-
asyncUnaryCall(
283+
io.grpc.stub.ServerCalls.asyncUnaryCall(
287284
new MethodHandlers<
288285
com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest,
289286
com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse>(
290287
this, METHODID_LIST_GROUP_STATS)))
291288
.addMethod(
292289
getListEventsMethod(),
293-
asyncUnaryCall(
290+
io.grpc.stub.ServerCalls.asyncUnaryCall(
294291
new MethodHandlers<
295292
com.google.devtools.clouderrorreporting.v1beta1.ListEventsRequest,
296293
com.google.devtools.clouderrorreporting.v1beta1.ListEventsResponse>(
297294
this, METHODID_LIST_EVENTS)))
298295
.addMethod(
299296
getDeleteEventsMethod(),
300-
asyncUnaryCall(
297+
io.grpc.stub.ServerCalls.asyncUnaryCall(
301298
new MethodHandlers<
302299
com.google.devtools.clouderrorreporting.v1beta1.DeleteEventsRequest,
303300
com.google.devtools.clouderrorreporting.v1beta1.DeleteEventsResponse>(
@@ -338,7 +335,7 @@ public void listGroupStats(
338335
io.grpc.stub.StreamObserver<
339336
com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse>
340337
responseObserver) {
341-
asyncUnaryCall(
338+
io.grpc.stub.ClientCalls.asyncUnaryCall(
342339
getChannel().newCall(getListGroupStatsMethod(), getCallOptions()),
343340
request,
344341
responseObserver);
@@ -356,7 +353,7 @@ public void listEvents(
356353
io.grpc.stub.StreamObserver<
357354
com.google.devtools.clouderrorreporting.v1beta1.ListEventsResponse>
358355
responseObserver) {
359-
asyncUnaryCall(
356+
io.grpc.stub.ClientCalls.asyncUnaryCall(
360357
getChannel().newCall(getListEventsMethod(), getCallOptions()), request, responseObserver);
361358
}
362359

@@ -372,7 +369,7 @@ public void deleteEvents(
372369
io.grpc.stub.StreamObserver<
373370
com.google.devtools.clouderrorreporting.v1beta1.DeleteEventsResponse>
374371
responseObserver) {
375-
asyncUnaryCall(
372+
io.grpc.stub.ClientCalls.asyncUnaryCall(
376373
getChannel().newCall(getDeleteEventsMethod(), getCallOptions()),
377374
request,
378375
responseObserver);
@@ -409,7 +406,8 @@ protected ErrorStatsServiceBlockingStub build(
409406
*/
410407
public com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse listGroupStats(
411408
com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest request) {
412-
return blockingUnaryCall(getChannel(), getListGroupStatsMethod(), getCallOptions(), request);
409+
return io.grpc.stub.ClientCalls.blockingUnaryCall(
410+
getChannel(), getListGroupStatsMethod(), getCallOptions(), request);
413411
}
414412

415413
/**
@@ -421,7 +419,8 @@ public com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse li
421419
*/
422420
public com.google.devtools.clouderrorreporting.v1beta1.ListEventsResponse listEvents(
423421
com.google.devtools.clouderrorreporting.v1beta1.ListEventsRequest request) {
424-
return blockingUnaryCall(getChannel(), getListEventsMethod(), getCallOptions(), request);
422+
return io.grpc.stub.ClientCalls.blockingUnaryCall(
423+
getChannel(), getListEventsMethod(), getCallOptions(), request);
425424
}
426425

427426
/**
@@ -433,7 +432,8 @@ public com.google.devtools.clouderrorreporting.v1beta1.ListEventsResponse listEv
433432
*/
434433
public com.google.devtools.clouderrorreporting.v1beta1.DeleteEventsResponse deleteEvents(
435434
com.google.devtools.clouderrorreporting.v1beta1.DeleteEventsRequest request) {
436-
return blockingUnaryCall(getChannel(), getDeleteEventsMethod(), getCallOptions(), request);
435+
return io.grpc.stub.ClientCalls.blockingUnaryCall(
436+
getChannel(), getDeleteEventsMethod(), getCallOptions(), request);
437437
}
438438
}
439439

@@ -468,7 +468,7 @@ protected ErrorStatsServiceFutureStub build(
468468
com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse>
469469
listGroupStats(
470470
com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest request) {
471-
return futureUnaryCall(
471+
return io.grpc.stub.ClientCalls.futureUnaryCall(
472472
getChannel().newCall(getListGroupStatsMethod(), getCallOptions()), request);
473473
}
474474

@@ -482,7 +482,7 @@ protected ErrorStatsServiceFutureStub build(
482482
public com.google.common.util.concurrent.ListenableFuture<
483483
com.google.devtools.clouderrorreporting.v1beta1.ListEventsResponse>
484484
listEvents(com.google.devtools.clouderrorreporting.v1beta1.ListEventsRequest request) {
485-
return futureUnaryCall(
485+
return io.grpc.stub.ClientCalls.futureUnaryCall(
486486
getChannel().newCall(getListEventsMethod(), getCallOptions()), request);
487487
}
488488

@@ -496,7 +496,7 @@ protected ErrorStatsServiceFutureStub build(
496496
public com.google.common.util.concurrent.ListenableFuture<
497497
com.google.devtools.clouderrorreporting.v1beta1.DeleteEventsResponse>
498498
deleteEvents(com.google.devtools.clouderrorreporting.v1beta1.DeleteEventsRequest request) {
499-
return futureUnaryCall(
499+
return io.grpc.stub.ClientCalls.futureUnaryCall(
500500
getChannel().newCall(getDeleteEventsMethod(), getCallOptions()), request);
501501
}
502502
}

grpc-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceGrpc.java

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
package com.google.devtools.clouderrorreporting.v1beta1;
1717

1818
import static io.grpc.MethodDescriptor.generateFullMethodName;
19-
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
20-
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
21-
import static io.grpc.stub.ClientCalls.futureUnaryCall;
22-
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
23-
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
2419

2520
/**
2621
*
@@ -162,15 +157,16 @@ public void reportErrorEvent(
162157
io.grpc.stub.StreamObserver<
163158
com.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse>
164159
responseObserver) {
165-
asyncUnimplementedUnaryCall(getReportErrorEventMethod(), responseObserver);
160+
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
161+
getReportErrorEventMethod(), responseObserver);
166162
}
167163

168164
@java.lang.Override
169165
public final io.grpc.ServerServiceDefinition bindService() {
170166
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
171167
.addMethod(
172168
getReportErrorEventMethod(),
173-
asyncUnaryCall(
169+
io.grpc.stub.ServerCalls.asyncUnaryCall(
174170
new MethodHandlers<
175171
com.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequest,
176172
com.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse>(
@@ -222,7 +218,7 @@ public void reportErrorEvent(
222218
io.grpc.stub.StreamObserver<
223219
com.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse>
224220
responseObserver) {
225-
asyncUnaryCall(
221+
io.grpc.stub.ClientCalls.asyncUnaryCall(
226222
getChannel().newCall(getReportErrorEventMethod(), getCallOptions()),
227223
request,
228224
responseObserver);
@@ -271,7 +267,7 @@ protected ReportErrorsServiceBlockingStub build(
271267
public com.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse
272268
reportErrorEvent(
273269
com.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequest request) {
274-
return blockingUnaryCall(
270+
return io.grpc.stub.ClientCalls.blockingUnaryCall(
275271
getChannel(), getReportErrorEventMethod(), getCallOptions(), request);
276272
}
277273
}
@@ -319,7 +315,7 @@ protected ReportErrorsServiceFutureStub build(
319315
com.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse>
320316
reportErrorEvent(
321317
com.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequest request) {
322-
return futureUnaryCall(
318+
return io.grpc.stub.ClientCalls.futureUnaryCall(
323319
getChannel().newCall(getReportErrorEventMethod(), getCallOptions()), request);
324320
}
325321
}

synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "3befd26ca55723d3e8111909331eac1249837987",
15-
"internalRef": "360805639"
14+
"sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89",
15+
"internalRef": "361377784"
1616
}
1717
},
1818
{

0 commit comments

Comments
 (0)