From 4b686fce925d884113c454ae945697e71394d9c3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 8 Mar 2021 08:28:23 -0800 Subject: [PATCH] chore: update gax-java dependency to 1.62 (#210) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/b096316f-13b7-4a8e-84ef-7f6422d1caba/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 361377784 Source-Link: https://github.com/googleapis/googleapis/commit/0e915217fb5261c1e57bfaf0e16ee5c7feaaba89 --- .../cloud/workflows/v1beta/WorkflowsGrpc.java | 65 ++++++++++--------- java-workflows/synth.metadata | 6 +- 2 files changed, 38 insertions(+), 33 deletions(-) diff --git a/java-workflows/grpc-google-cloud-workflows-v1beta/src/main/java/com/google/cloud/workflows/v1beta/WorkflowsGrpc.java b/java-workflows/grpc-google-cloud-workflows-v1beta/src/main/java/com/google/cloud/workflows/v1beta/WorkflowsGrpc.java index 034db5f3e5a0..ce09db2db4a8 100644 --- a/java-workflows/grpc-google-cloud-workflows-v1beta/src/main/java/com/google/cloud/workflows/v1beta/WorkflowsGrpc.java +++ b/java-workflows/grpc-google-cloud-workflows-v1beta/src/main/java/com/google/cloud/workflows/v1beta/WorkflowsGrpc.java @@ -16,11 +16,6 @@ package com.google.cloud.workflows.v1beta; 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; /** * @@ -324,7 +319,8 @@ public void listWorkflows( com.google.cloud.workflows.v1beta.ListWorkflowsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListWorkflowsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListWorkflowsMethod(), responseObserver); } /** @@ -337,7 +333,8 @@ public void listWorkflows( public void getWorkflow( com.google.cloud.workflows.v1beta.GetWorkflowRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetWorkflowMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetWorkflowMethod(), responseObserver); } /** @@ -352,7 +349,8 @@ public void getWorkflow( public void createWorkflow( com.google.cloud.workflows.v1beta.CreateWorkflowRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateWorkflowMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateWorkflowMethod(), responseObserver); } /** @@ -367,7 +365,8 @@ public void createWorkflow( public void deleteWorkflow( com.google.cloud.workflows.v1beta.DeleteWorkflowRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteWorkflowMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteWorkflowMethod(), responseObserver); } /** @@ -384,7 +383,8 @@ public void deleteWorkflow( public void updateWorkflow( com.google.cloud.workflows.v1beta.UpdateWorkflowRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateWorkflowMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateWorkflowMethod(), responseObserver); } @java.lang.Override @@ -392,32 +392,32 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getListWorkflowsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.workflows.v1beta.ListWorkflowsRequest, com.google.cloud.workflows.v1beta.ListWorkflowsResponse>( this, METHODID_LIST_WORKFLOWS))) .addMethod( getGetWorkflowMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.workflows.v1beta.GetWorkflowRequest, com.google.cloud.workflows.v1beta.Workflow>(this, METHODID_GET_WORKFLOW))) .addMethod( getCreateWorkflowMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.workflows.v1beta.CreateWorkflowRequest, com.google.longrunning.Operation>(this, METHODID_CREATE_WORKFLOW))) .addMethod( getDeleteWorkflowMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.workflows.v1beta.DeleteWorkflowRequest, com.google.longrunning.Operation>(this, METHODID_DELETE_WORKFLOW))) .addMethod( getUpdateWorkflowMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.workflows.v1beta.UpdateWorkflowRequest, com.google.longrunning.Operation>(this, METHODID_UPDATE_WORKFLOW))) @@ -456,7 +456,7 @@ public void listWorkflows( com.google.cloud.workflows.v1beta.ListWorkflowsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListWorkflowsMethod(), getCallOptions()), request, responseObserver); @@ -472,7 +472,7 @@ public void listWorkflows( public void getWorkflow( com.google.cloud.workflows.v1beta.GetWorkflowRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetWorkflowMethod(), getCallOptions()), request, responseObserver); @@ -490,7 +490,7 @@ public void getWorkflow( public void createWorkflow( com.google.cloud.workflows.v1beta.CreateWorkflowRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateWorkflowMethod(), getCallOptions()), request, responseObserver); @@ -508,7 +508,7 @@ public void createWorkflow( public void deleteWorkflow( com.google.cloud.workflows.v1beta.DeleteWorkflowRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteWorkflowMethod(), getCallOptions()), request, responseObserver); @@ -528,7 +528,7 @@ public void deleteWorkflow( public void updateWorkflow( com.google.cloud.workflows.v1beta.UpdateWorkflowRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateWorkflowMethod(), getCallOptions()), request, responseObserver); @@ -566,7 +566,8 @@ protected WorkflowsBlockingStub build( */ public com.google.cloud.workflows.v1beta.ListWorkflowsResponse listWorkflows( com.google.cloud.workflows.v1beta.ListWorkflowsRequest request) { - return blockingUnaryCall(getChannel(), getListWorkflowsMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListWorkflowsMethod(), getCallOptions(), request); } /** @@ -578,7 +579,8 @@ public com.google.cloud.workflows.v1beta.ListWorkflowsResponse listWorkflows( */ public com.google.cloud.workflows.v1beta.Workflow getWorkflow( com.google.cloud.workflows.v1beta.GetWorkflowRequest request) { - return blockingUnaryCall(getChannel(), getGetWorkflowMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetWorkflowMethod(), getCallOptions(), request); } /** @@ -592,7 +594,8 @@ public com.google.cloud.workflows.v1beta.Workflow getWorkflow( */ public com.google.longrunning.Operation createWorkflow( com.google.cloud.workflows.v1beta.CreateWorkflowRequest request) { - return blockingUnaryCall(getChannel(), getCreateWorkflowMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateWorkflowMethod(), getCallOptions(), request); } /** @@ -606,7 +609,8 @@ public com.google.longrunning.Operation createWorkflow( */ public com.google.longrunning.Operation deleteWorkflow( com.google.cloud.workflows.v1beta.DeleteWorkflowRequest request) { - return blockingUnaryCall(getChannel(), getDeleteWorkflowMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteWorkflowMethod(), getCallOptions(), request); } /** @@ -622,7 +626,8 @@ public com.google.longrunning.Operation deleteWorkflow( */ public com.google.longrunning.Operation updateWorkflow( com.google.cloud.workflows.v1beta.UpdateWorkflowRequest request) { - return blockingUnaryCall(getChannel(), getUpdateWorkflowMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateWorkflowMethod(), getCallOptions(), request); } } @@ -657,7 +662,7 @@ protected WorkflowsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.workflows.v1beta.ListWorkflowsResponse> listWorkflows(com.google.cloud.workflows.v1beta.ListWorkflowsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListWorkflowsMethod(), getCallOptions()), request); } @@ -671,7 +676,7 @@ protected WorkflowsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.workflows.v1beta.Workflow> getWorkflow(com.google.cloud.workflows.v1beta.GetWorkflowRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetWorkflowMethod(), getCallOptions()), request); } @@ -686,7 +691,7 @@ protected WorkflowsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions */ public com.google.common.util.concurrent.ListenableFuture createWorkflow(com.google.cloud.workflows.v1beta.CreateWorkflowRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateWorkflowMethod(), getCallOptions()), request); } @@ -701,7 +706,7 @@ protected WorkflowsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions */ public com.google.common.util.concurrent.ListenableFuture deleteWorkflow(com.google.cloud.workflows.v1beta.DeleteWorkflowRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteWorkflowMethod(), getCallOptions()), request); } @@ -718,7 +723,7 @@ protected WorkflowsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions */ public com.google.common.util.concurrent.ListenableFuture updateWorkflow(com.google.cloud.workflows.v1beta.UpdateWorkflowRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateWorkflowMethod(), getCallOptions()), request); } } diff --git a/java-workflows/synth.metadata b/java-workflows/synth.metadata index f60c1ee04e77..4026ebb90eda 100644 --- a/java-workflows/synth.metadata +++ b/java-workflows/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-workflows.git", - "sha": "e8773bf284b88b1997d2c78897d880548521bf10" + "sha": "0850c750060d8425780c4d6e89bcb71b2e48bd19" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "3befd26ca55723d3e8111909331eac1249837987", - "internalRef": "360805639" + "sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89", + "internalRef": "361377784" } }, {