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

Commit

Permalink
chore: update gax-java dependency to 1.62 (#127)
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/fb4d0c25-9954-4a13-bd64-deb2f0d5f0d5/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 3c1c62a commit ec09194
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 33 deletions.
Expand Up @@ -16,11 +16,6 @@
package com.google.longrunning;

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 @@ -329,7 +324,8 @@ public void listOperations(
com.google.longrunning.ListOperationsRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.ListOperationsResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getListOperationsMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getListOperationsMethod(), responseObserver);
}

/**
Expand All @@ -344,7 +340,8 @@ public void listOperations(
public void getOperation(
com.google.longrunning.GetOperationRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnimplementedUnaryCall(getGetOperationMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getGetOperationMethod(), responseObserver);
}

/**
Expand All @@ -360,7 +357,8 @@ public void getOperation(
public void deleteOperation(
com.google.longrunning.DeleteOperationRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
asyncUnimplementedUnaryCall(getDeleteOperationMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getDeleteOperationMethod(), responseObserver);
}

/**
Expand All @@ -382,7 +380,8 @@ public void deleteOperation(
public void cancelOperation(
com.google.longrunning.CancelOperationRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
asyncUnimplementedUnaryCall(getCancelOperationMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getCancelOperationMethod(), responseObserver);
}

/**
Expand All @@ -403,40 +402,41 @@ public void cancelOperation(
public void waitOperation(
com.google.longrunning.WaitOperationRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnimplementedUnaryCall(getWaitOperationMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getWaitOperationMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getListOperationsMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.longrunning.ListOperationsRequest,
com.google.longrunning.ListOperationsResponse>(
this, METHODID_LIST_OPERATIONS)))
.addMethod(
getGetOperationMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.longrunning.GetOperationRequest, com.google.longrunning.Operation>(
this, METHODID_GET_OPERATION)))
.addMethod(
getDeleteOperationMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.longrunning.DeleteOperationRequest, com.google.protobuf.Empty>(
this, METHODID_DELETE_OPERATION)))
.addMethod(
getCancelOperationMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.longrunning.CancelOperationRequest, com.google.protobuf.Empty>(
this, METHODID_CANCEL_OPERATION)))
.addMethod(
getWaitOperationMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.longrunning.WaitOperationRequest,
com.google.longrunning.Operation>(this, METHODID_WAIT_OPERATION)))
Expand Down Expand Up @@ -487,7 +487,7 @@ public void listOperations(
com.google.longrunning.ListOperationsRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.ListOperationsResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListOperationsMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -505,7 +505,7 @@ public void listOperations(
public void getOperation(
com.google.longrunning.GetOperationRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetOperationMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -524,7 +524,7 @@ public void getOperation(
public void deleteOperation(
com.google.longrunning.DeleteOperationRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteOperationMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -549,7 +549,7 @@ public void deleteOperation(
public void cancelOperation(
com.google.longrunning.CancelOperationRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCancelOperationMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -573,7 +573,7 @@ public void cancelOperation(
public void waitOperation(
com.google.longrunning.WaitOperationRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getWaitOperationMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -623,7 +623,8 @@ protected OperationsBlockingStub build(
*/
public com.google.longrunning.ListOperationsResponse listOperations(
com.google.longrunning.ListOperationsRequest request) {
return blockingUnaryCall(getChannel(), getListOperationsMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListOperationsMethod(), getCallOptions(), request);
}

/**
Expand All @@ -637,7 +638,8 @@ public com.google.longrunning.ListOperationsResponse listOperations(
*/
public com.google.longrunning.Operation getOperation(
com.google.longrunning.GetOperationRequest request) {
return blockingUnaryCall(getChannel(), getGetOperationMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetOperationMethod(), getCallOptions(), request);
}

/**
Expand All @@ -652,7 +654,8 @@ public com.google.longrunning.Operation getOperation(
*/
public com.google.protobuf.Empty deleteOperation(
com.google.longrunning.DeleteOperationRequest request) {
return blockingUnaryCall(getChannel(), getDeleteOperationMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteOperationMethod(), getCallOptions(), request);
}

/**
Expand All @@ -673,7 +676,8 @@ public com.google.protobuf.Empty deleteOperation(
*/
public com.google.protobuf.Empty cancelOperation(
com.google.longrunning.CancelOperationRequest request) {
return blockingUnaryCall(getChannel(), getCancelOperationMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCancelOperationMethod(), getCallOptions(), request);
}

/**
Expand All @@ -693,7 +697,8 @@ public com.google.protobuf.Empty cancelOperation(
*/
public com.google.longrunning.Operation waitOperation(
com.google.longrunning.WaitOperationRequest request) {
return blockingUnaryCall(getChannel(), getWaitOperationMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getWaitOperationMethod(), getCallOptions(), request);
}
}

Expand Down Expand Up @@ -740,7 +745,7 @@ protected OperationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
public com.google.common.util.concurrent.ListenableFuture<
com.google.longrunning.ListOperationsResponse>
listOperations(com.google.longrunning.ListOperationsRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListOperationsMethod(), getCallOptions()), request);
}

Expand All @@ -755,7 +760,7 @@ protected OperationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
getOperation(com.google.longrunning.GetOperationRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetOperationMethod(), getCallOptions()), request);
}

Expand All @@ -771,7 +776,7 @@ protected OperationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteOperation(com.google.longrunning.DeleteOperationRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteOperationMethod(), getCallOptions()), request);
}

Expand All @@ -793,7 +798,7 @@ protected OperationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
cancelOperation(com.google.longrunning.CancelOperationRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCancelOperationMethod(), getCallOptions()), request);
}

Expand All @@ -814,7 +819,7 @@ protected OperationsFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
waitOperation(com.google.longrunning.WaitOperationRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getWaitOperationMethod(), getCallOptions()), request);
}
}
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-common-protos.git",
"sha": "ab15ed88eef42301af8b84519f3de6ff31cd473f"
"sha": "3c1c62aee618ea9958d31216dc84b2b6777b7584"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
"internalRef": "359781040"
"sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89",
"internalRef": "361377784"
}
},
{
Expand Down

0 comments on commit ec09194

Please sign in to comment.