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

Commit

Permalink
chore: update gax-java dependency to 1.62 (#391)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/8f966dc9-8611-4e71-a69b-4cc9a85e78af/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 361377784
Source-Link: googleapis/googleapis@0e91521
  • Loading branch information
yoshi-automation committed Mar 8, 2021
1 parent ca14e3f commit 668d88a
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 85 deletions.
Expand Up @@ -16,11 +16,6 @@
package com.google.recaptchaenterprise.v1;

import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;

/**
*
Expand Down Expand Up @@ -422,7 +417,8 @@ public void createAssessment(
com.google.recaptchaenterprise.v1.CreateAssessmentRequest request,
io.grpc.stub.StreamObserver<com.google.recaptchaenterprise.v1.Assessment>
responseObserver) {
asyncUnimplementedUnaryCall(getCreateAssessmentMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getCreateAssessmentMethod(), responseObserver);
}

/**
Expand All @@ -437,7 +433,8 @@ public void annotateAssessment(
com.google.recaptchaenterprise.v1.AnnotateAssessmentRequest request,
io.grpc.stub.StreamObserver<com.google.recaptchaenterprise.v1.AnnotateAssessmentResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getAnnotateAssessmentMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getAnnotateAssessmentMethod(), responseObserver);
}

/**
Expand All @@ -450,7 +447,7 @@ public void annotateAssessment(
public void createKey(
com.google.recaptchaenterprise.v1.CreateKeyRequest request,
io.grpc.stub.StreamObserver<com.google.recaptchaenterprise.v1.Key> responseObserver) {
asyncUnimplementedUnaryCall(getCreateKeyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateKeyMethod(), responseObserver);
}

/**
Expand All @@ -464,7 +461,7 @@ public void listKeys(
com.google.recaptchaenterprise.v1.ListKeysRequest request,
io.grpc.stub.StreamObserver<com.google.recaptchaenterprise.v1.ListKeysResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getListKeysMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListKeysMethod(), responseObserver);
}

/**
Expand All @@ -477,7 +474,7 @@ public void listKeys(
public void getKey(
com.google.recaptchaenterprise.v1.GetKeyRequest request,
io.grpc.stub.StreamObserver<com.google.recaptchaenterprise.v1.Key> responseObserver) {
asyncUnimplementedUnaryCall(getGetKeyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetKeyMethod(), responseObserver);
}

/**
Expand All @@ -490,7 +487,7 @@ public void getKey(
public void updateKey(
com.google.recaptchaenterprise.v1.UpdateKeyRequest request,
io.grpc.stub.StreamObserver<com.google.recaptchaenterprise.v1.Key> responseObserver) {
asyncUnimplementedUnaryCall(getUpdateKeyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateKeyMethod(), responseObserver);
}

/**
Expand All @@ -503,54 +500,54 @@ public void updateKey(
public void deleteKey(
com.google.recaptchaenterprise.v1.DeleteKeyRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
asyncUnimplementedUnaryCall(getDeleteKeyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteKeyMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getCreateAssessmentMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.recaptchaenterprise.v1.CreateAssessmentRequest,
com.google.recaptchaenterprise.v1.Assessment>(
this, METHODID_CREATE_ASSESSMENT)))
.addMethod(
getAnnotateAssessmentMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.recaptchaenterprise.v1.AnnotateAssessmentRequest,
com.google.recaptchaenterprise.v1.AnnotateAssessmentResponse>(
this, METHODID_ANNOTATE_ASSESSMENT)))
.addMethod(
getCreateKeyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.recaptchaenterprise.v1.CreateKeyRequest,
com.google.recaptchaenterprise.v1.Key>(this, METHODID_CREATE_KEY)))
.addMethod(
getListKeysMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.recaptchaenterprise.v1.ListKeysRequest,
com.google.recaptchaenterprise.v1.ListKeysResponse>(
this, METHODID_LIST_KEYS)))
.addMethod(
getGetKeyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.recaptchaenterprise.v1.GetKeyRequest,
com.google.recaptchaenterprise.v1.Key>(this, METHODID_GET_KEY)))
.addMethod(
getUpdateKeyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.recaptchaenterprise.v1.UpdateKeyRequest,
com.google.recaptchaenterprise.v1.Key>(this, METHODID_UPDATE_KEY)))
.addMethod(
getDeleteKeyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.recaptchaenterprise.v1.DeleteKeyRequest,
com.google.protobuf.Empty>(this, METHODID_DELETE_KEY)))
Expand Down Expand Up @@ -589,7 +586,7 @@ public void createAssessment(
com.google.recaptchaenterprise.v1.CreateAssessmentRequest request,
io.grpc.stub.StreamObserver<com.google.recaptchaenterprise.v1.Assessment>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateAssessmentMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -607,7 +604,7 @@ public void annotateAssessment(
com.google.recaptchaenterprise.v1.AnnotateAssessmentRequest request,
io.grpc.stub.StreamObserver<com.google.recaptchaenterprise.v1.AnnotateAssessmentResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAnnotateAssessmentMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -623,7 +620,7 @@ public void annotateAssessment(
public void createKey(
com.google.recaptchaenterprise.v1.CreateKeyRequest request,
io.grpc.stub.StreamObserver<com.google.recaptchaenterprise.v1.Key> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateKeyMethod(), getCallOptions()), request, responseObserver);
}

Expand All @@ -638,7 +635,7 @@ public void listKeys(
com.google.recaptchaenterprise.v1.ListKeysRequest request,
io.grpc.stub.StreamObserver<com.google.recaptchaenterprise.v1.ListKeysResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListKeysMethod(), getCallOptions()), request, responseObserver);
}

Expand All @@ -652,7 +649,7 @@ public void listKeys(
public void getKey(
com.google.recaptchaenterprise.v1.GetKeyRequest request,
io.grpc.stub.StreamObserver<com.google.recaptchaenterprise.v1.Key> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetKeyMethod(), getCallOptions()), request, responseObserver);
}

Expand All @@ -666,7 +663,7 @@ public void getKey(
public void updateKey(
com.google.recaptchaenterprise.v1.UpdateKeyRequest request,
io.grpc.stub.StreamObserver<com.google.recaptchaenterprise.v1.Key> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateKeyMethod(), getCallOptions()), request, responseObserver);
}

Expand All @@ -680,7 +677,7 @@ public void updateKey(
public void deleteKey(
com.google.recaptchaenterprise.v1.DeleteKeyRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteKeyMethod(), getCallOptions()), request, responseObserver);
}
}
Expand Down Expand Up @@ -714,7 +711,7 @@ protected RecaptchaEnterpriseServiceBlockingStub build(
*/
public com.google.recaptchaenterprise.v1.Assessment createAssessment(
com.google.recaptchaenterprise.v1.CreateAssessmentRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateAssessmentMethod(), getCallOptions(), request);
}

Expand All @@ -728,7 +725,7 @@ public com.google.recaptchaenterprise.v1.Assessment createAssessment(
*/
public com.google.recaptchaenterprise.v1.AnnotateAssessmentResponse annotateAssessment(
com.google.recaptchaenterprise.v1.AnnotateAssessmentRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAnnotateAssessmentMethod(), getCallOptions(), request);
}

Expand All @@ -741,7 +738,8 @@ public com.google.recaptchaenterprise.v1.AnnotateAssessmentResponse annotateAsse
*/
public com.google.recaptchaenterprise.v1.Key createKey(
com.google.recaptchaenterprise.v1.CreateKeyRequest request) {
return blockingUnaryCall(getChannel(), getCreateKeyMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateKeyMethod(), getCallOptions(), request);
}

/**
Expand All @@ -753,7 +751,8 @@ public com.google.recaptchaenterprise.v1.Key createKey(
*/
public com.google.recaptchaenterprise.v1.ListKeysResponse listKeys(
com.google.recaptchaenterprise.v1.ListKeysRequest request) {
return blockingUnaryCall(getChannel(), getListKeysMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListKeysMethod(), getCallOptions(), request);
}

/**
Expand All @@ -765,7 +764,8 @@ public com.google.recaptchaenterprise.v1.ListKeysResponse listKeys(
*/
public com.google.recaptchaenterprise.v1.Key getKey(
com.google.recaptchaenterprise.v1.GetKeyRequest request) {
return blockingUnaryCall(getChannel(), getGetKeyMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetKeyMethod(), getCallOptions(), request);
}

/**
Expand All @@ -777,7 +777,8 @@ public com.google.recaptchaenterprise.v1.Key getKey(
*/
public com.google.recaptchaenterprise.v1.Key updateKey(
com.google.recaptchaenterprise.v1.UpdateKeyRequest request) {
return blockingUnaryCall(getChannel(), getUpdateKeyMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateKeyMethod(), getCallOptions(), request);
}

/**
Expand All @@ -789,7 +790,8 @@ public com.google.recaptchaenterprise.v1.Key updateKey(
*/
public com.google.protobuf.Empty deleteKey(
com.google.recaptchaenterprise.v1.DeleteKeyRequest request) {
return blockingUnaryCall(getChannel(), getDeleteKeyMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteKeyMethod(), getCallOptions(), request);
}
}

Expand Down Expand Up @@ -823,7 +825,7 @@ protected RecaptchaEnterpriseServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.recaptchaenterprise.v1.Assessment>
createAssessment(com.google.recaptchaenterprise.v1.CreateAssessmentRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateAssessmentMethod(), getCallOptions()), request);
}

Expand All @@ -838,7 +840,7 @@ protected RecaptchaEnterpriseServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.recaptchaenterprise.v1.AnnotateAssessmentResponse>
annotateAssessment(com.google.recaptchaenterprise.v1.AnnotateAssessmentRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAnnotateAssessmentMethod(), getCallOptions()), request);
}

Expand All @@ -851,7 +853,8 @@ protected RecaptchaEnterpriseServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.recaptchaenterprise.v1.Key>
createKey(com.google.recaptchaenterprise.v1.CreateKeyRequest request) {
return futureUnaryCall(getChannel().newCall(getCreateKeyMethod(), getCallOptions()), request);
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateKeyMethod(), getCallOptions()), request);
}

/**
Expand All @@ -864,7 +867,8 @@ protected RecaptchaEnterpriseServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.recaptchaenterprise.v1.ListKeysResponse>
listKeys(com.google.recaptchaenterprise.v1.ListKeysRequest request) {
return futureUnaryCall(getChannel().newCall(getListKeysMethod(), getCallOptions()), request);
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListKeysMethod(), getCallOptions()), request);
}

/**
Expand All @@ -876,7 +880,8 @@ protected RecaptchaEnterpriseServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.recaptchaenterprise.v1.Key>
getKey(com.google.recaptchaenterprise.v1.GetKeyRequest request) {
return futureUnaryCall(getChannel().newCall(getGetKeyMethod(), getCallOptions()), request);
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetKeyMethod(), getCallOptions()), request);
}

/**
Expand All @@ -888,7 +893,8 @@ protected RecaptchaEnterpriseServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.recaptchaenterprise.v1.Key>
updateKey(com.google.recaptchaenterprise.v1.UpdateKeyRequest request) {
return futureUnaryCall(getChannel().newCall(getUpdateKeyMethod(), getCallOptions()), request);
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateKeyMethod(), getCallOptions()), request);
}

/**
Expand All @@ -900,7 +906,8 @@ protected RecaptchaEnterpriseServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteKey(
com.google.recaptchaenterprise.v1.DeleteKeyRequest request) {
return futureUnaryCall(getChannel().newCall(getDeleteKeyMethod(), getCallOptions()), request);
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteKeyMethod(), getCallOptions()), request);
}
}

Expand Down

0 comments on commit 668d88a

Please sign in to comment.