From b0f06c2ceba1840205bb162af872f0643be1faf6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 8 Mar 2021 08:41:30 -0800 Subject: [PATCH] chore: update gax-java dependency to 1.62 (#339) PiperOrigin-RevId: 361377784 Source-Author: Google APIs Source-Date: Sat Mar 6 21:09:41 2021 -0800 Source-Repo: googleapis/googleapis Source-Sha: 0e915217fb5261c1e57bfaf0e16ee5c7feaaba89 Source-Link: https://github.com/googleapis/googleapis/commit/0e915217fb5261c1e57bfaf0e16ee5c7feaaba89 --- .../connection/v1/ConnectionServiceGrpc.java | 97 ++++++++-------- .../v1beta1/ConnectionServiceGrpc.java | 108 ++++++++++-------- synth.metadata | 10 +- 3 files changed, 115 insertions(+), 100 deletions(-) diff --git a/grpc-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionServiceGrpc.java b/grpc-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionServiceGrpc.java index 5d6ec98d..8d1cedc3 100644 --- a/grpc-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionServiceGrpc.java +++ b/grpc-google-cloud-bigqueryconnection-v1/src/main/java/com/google/cloud/bigquery/connection/v1/ConnectionServiceGrpc.java @@ -16,11 +16,6 @@ package com.google.cloud.bigquery.connection.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; /** * @@ -456,7 +451,8 @@ public void createConnection( com.google.cloud.bigquery.connection.v1.CreateConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateConnectionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateConnectionMethod(), responseObserver); } /** @@ -470,7 +466,8 @@ public void getConnection( com.google.cloud.bigquery.connection.v1.GetConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetConnectionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetConnectionMethod(), responseObserver); } /** @@ -484,7 +481,8 @@ public void listConnections( com.google.cloud.bigquery.connection.v1.ListConnectionsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getListConnectionsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListConnectionsMethod(), responseObserver); } /** @@ -499,7 +497,8 @@ public void updateConnection( com.google.cloud.bigquery.connection.v1.UpdateConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateConnectionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateConnectionMethod(), responseObserver); } /** @@ -512,7 +511,8 @@ public void updateConnection( public void deleteConnection( com.google.cloud.bigquery.connection.v1.DeleteConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteConnectionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteConnectionMethod(), responseObserver); } /** @@ -527,7 +527,8 @@ public void deleteConnection( public void getIamPolicy( com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); } /** @@ -542,7 +543,8 @@ public void getIamPolicy( public void setIamPolicy( com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** @@ -561,7 +563,8 @@ public void testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } @java.lang.Override @@ -569,53 +572,53 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateConnectionMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1.CreateConnectionRequest, com.google.cloud.bigquery.connection.v1.Connection>( this, METHODID_CREATE_CONNECTION))) .addMethod( getGetConnectionMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1.GetConnectionRequest, com.google.cloud.bigquery.connection.v1.Connection>( this, METHODID_GET_CONNECTION))) .addMethod( getListConnectionsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1.ListConnectionsRequest, com.google.cloud.bigquery.connection.v1.ListConnectionsResponse>( this, METHODID_LIST_CONNECTIONS))) .addMethod( getUpdateConnectionMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1.UpdateConnectionRequest, com.google.cloud.bigquery.connection.v1.Connection>( this, METHODID_UPDATE_CONNECTION))) .addMethod( getDeleteConnectionMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1.DeleteConnectionRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_CONNECTION))) .addMethod( getGetIamPolicyMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( this, METHODID_GET_IAM_POLICY))) .addMethod( getSetIamPolicyMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( this, METHODID_SET_IAM_POLICY))) .addMethod( getTestIamPermissionsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>( @@ -654,7 +657,7 @@ public void createConnection( com.google.cloud.bigquery.connection.v1.CreateConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateConnectionMethod(), getCallOptions()), request, responseObserver); @@ -671,7 +674,7 @@ public void getConnection( com.google.cloud.bigquery.connection.v1.GetConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetConnectionMethod(), getCallOptions()), request, responseObserver); @@ -688,7 +691,7 @@ public void listConnections( com.google.cloud.bigquery.connection.v1.ListConnectionsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListConnectionsMethod(), getCallOptions()), request, responseObserver); @@ -706,7 +709,7 @@ public void updateConnection( com.google.cloud.bigquery.connection.v1.UpdateConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateConnectionMethod(), getCallOptions()), request, responseObserver); @@ -722,7 +725,7 @@ public void updateConnection( public void deleteConnection( com.google.cloud.bigquery.connection.v1.DeleteConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteConnectionMethod(), getCallOptions()), request, responseObserver); @@ -740,7 +743,7 @@ public void deleteConnection( public void getIamPolicy( com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); @@ -758,7 +761,7 @@ public void getIamPolicy( public void setIamPolicy( com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); @@ -780,7 +783,7 @@ public void testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); @@ -816,7 +819,7 @@ protected ConnectionServiceBlockingStub build( */ public com.google.cloud.bigquery.connection.v1.Connection createConnection( com.google.cloud.bigquery.connection.v1.CreateConnectionRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateConnectionMethod(), getCallOptions(), request); } @@ -829,7 +832,8 @@ public com.google.cloud.bigquery.connection.v1.Connection createConnection( */ public com.google.cloud.bigquery.connection.v1.Connection getConnection( com.google.cloud.bigquery.connection.v1.GetConnectionRequest request) { - return blockingUnaryCall(getChannel(), getGetConnectionMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConnectionMethod(), getCallOptions(), request); } /** @@ -841,7 +845,8 @@ public com.google.cloud.bigquery.connection.v1.Connection getConnection( */ public com.google.cloud.bigquery.connection.v1.ListConnectionsResponse listConnections( com.google.cloud.bigquery.connection.v1.ListConnectionsRequest request) { - return blockingUnaryCall(getChannel(), getListConnectionsMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListConnectionsMethod(), getCallOptions(), request); } /** @@ -854,7 +859,7 @@ public com.google.cloud.bigquery.connection.v1.ListConnectionsResponse listConne */ public com.google.cloud.bigquery.connection.v1.Connection updateConnection( com.google.cloud.bigquery.connection.v1.UpdateConnectionRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateConnectionMethod(), getCallOptions(), request); } @@ -867,7 +872,7 @@ public com.google.cloud.bigquery.connection.v1.Connection updateConnection( */ public com.google.protobuf.Empty deleteConnection( com.google.cloud.bigquery.connection.v1.DeleteConnectionRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteConnectionMethod(), getCallOptions(), request); } @@ -881,7 +886,8 @@ public com.google.protobuf.Empty deleteConnection( * */ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return blockingUnaryCall(getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); } /** @@ -894,7 +900,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque * */ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return blockingUnaryCall(getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); } /** @@ -911,7 +918,7 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque */ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } } @@ -945,7 +952,7 @@ protected ConnectionServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.connection.v1.Connection> createConnection(com.google.cloud.bigquery.connection.v1.CreateConnectionRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateConnectionMethod(), getCallOptions()), request); } @@ -959,7 +966,7 @@ protected ConnectionServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.connection.v1.Connection> getConnection(com.google.cloud.bigquery.connection.v1.GetConnectionRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetConnectionMethod(), getCallOptions()), request); } @@ -973,7 +980,7 @@ protected ConnectionServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.connection.v1.ListConnectionsResponse> listConnections(com.google.cloud.bigquery.connection.v1.ListConnectionsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListConnectionsMethod(), getCallOptions()), request); } @@ -988,7 +995,7 @@ protected ConnectionServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.connection.v1.Connection> updateConnection(com.google.cloud.bigquery.connection.v1.UpdateConnectionRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateConnectionMethod(), getCallOptions()), request); } @@ -1001,7 +1008,7 @@ protected ConnectionServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture deleteConnection(com.google.cloud.bigquery.connection.v1.DeleteConnectionRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteConnectionMethod(), getCallOptions()), request); } @@ -1016,7 +1023,7 @@ protected ConnectionServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); } @@ -1031,7 +1038,7 @@ protected ConnectionServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); } @@ -1050,7 +1057,7 @@ protected ConnectionServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.iam.v1.TestIamPermissionsResponse> testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); } } diff --git a/grpc-google-cloud-bigqueryconnection-v1beta1/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceGrpc.java b/grpc-google-cloud-bigqueryconnection-v1beta1/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceGrpc.java index 16d093ef..cd47a7b2 100644 --- a/grpc-google-cloud-bigqueryconnection-v1beta1/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceGrpc.java +++ b/grpc-google-cloud-bigqueryconnection-v1beta1/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceGrpc.java @@ -16,11 +16,6 @@ package com.google.cloud.bigquery.connection.v1beta1; 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; /** * @@ -533,7 +528,8 @@ public void createConnection( io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> responseObserver) { - asyncUnimplementedUnaryCall(getCreateConnectionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateConnectionMethod(), responseObserver); } /** @@ -548,7 +544,8 @@ public void getConnection( io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> responseObserver) { - asyncUnimplementedUnaryCall(getGetConnectionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetConnectionMethod(), responseObserver); } /** @@ -564,7 +561,8 @@ public void listConnections( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .ListConnectionsResponse> responseObserver) { - asyncUnimplementedUnaryCall(getListConnectionsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListConnectionsMethod(), responseObserver); } /** @@ -581,7 +579,8 @@ public void updateConnection( io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> responseObserver) { - asyncUnimplementedUnaryCall(getUpdateConnectionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateConnectionMethod(), responseObserver); } /** @@ -596,7 +595,8 @@ public void updateConnectionCredential( .UpdateConnectionCredentialRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateConnectionCredentialMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateConnectionCredentialMethod(), responseObserver); } /** @@ -610,7 +610,8 @@ public void deleteConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.DeleteConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteConnectionMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteConnectionMethod(), responseObserver); } /** @@ -625,7 +626,8 @@ public void deleteConnection( public void getIamPolicy( com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); } /** @@ -640,7 +642,8 @@ public void getIamPolicy( public void setIamPolicy( com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); } /** @@ -659,7 +662,8 @@ public void testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); } @java.lang.Override @@ -667,7 +671,7 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateConnectionMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .CreateConnectionRequest, @@ -675,7 +679,7 @@ public final io.grpc.ServerServiceDefinition bindService() { this, METHODID_CREATE_CONNECTION))) .addMethod( getGetConnectionMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .GetConnectionRequest, @@ -683,7 +687,7 @@ public final io.grpc.ServerServiceDefinition bindService() { this, METHODID_GET_CONNECTION))) .addMethod( getListConnectionsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .ListConnectionsRequest, @@ -691,7 +695,7 @@ public final io.grpc.ServerServiceDefinition bindService() { .ListConnectionsResponse>(this, METHODID_LIST_CONNECTIONS))) .addMethod( getUpdateConnectionMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionRequest, @@ -699,33 +703,33 @@ public final io.grpc.ServerServiceDefinition bindService() { this, METHODID_UPDATE_CONNECTION))) .addMethod( getUpdateConnectionCredentialMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionCredentialRequest, com.google.protobuf.Empty>(this, METHODID_UPDATE_CONNECTION_CREDENTIAL))) .addMethod( getDeleteConnectionMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .DeleteConnectionRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_CONNECTION))) .addMethod( getGetIamPolicyMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( this, METHODID_GET_IAM_POLICY))) .addMethod( getSetIamPolicyMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( this, METHODID_SET_IAM_POLICY))) .addMethod( getTestIamPermissionsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>( @@ -766,7 +770,7 @@ public void createConnection( io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateConnectionMethod(), getCallOptions()), request, responseObserver); @@ -784,7 +788,7 @@ public void getConnection( io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetConnectionMethod(), getCallOptions()), request, responseObserver); @@ -803,7 +807,7 @@ public void listConnections( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .ListConnectionsResponse> responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListConnectionsMethod(), getCallOptions()), request, responseObserver); @@ -823,7 +827,7 @@ public void updateConnection( io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateConnectionMethod(), getCallOptions()), request, responseObserver); @@ -841,7 +845,7 @@ public void updateConnectionCredential( .UpdateConnectionCredentialRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateConnectionCredentialMethod(), getCallOptions()), request, responseObserver); @@ -858,7 +862,7 @@ public void deleteConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.DeleteConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteConnectionMethod(), getCallOptions()), request, responseObserver); @@ -876,7 +880,7 @@ public void deleteConnection( public void getIamPolicy( com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); @@ -894,7 +898,7 @@ public void getIamPolicy( public void setIamPolicy( com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); @@ -916,7 +920,7 @@ public void testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); @@ -953,7 +957,7 @@ protected ConnectionServiceBlockingStub build( public com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection createConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.CreateConnectionRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateConnectionMethod(), getCallOptions(), request); } @@ -966,7 +970,8 @@ public com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection c */ public com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection getConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.GetConnectionRequest request) { - return blockingUnaryCall(getChannel(), getGetConnectionMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetConnectionMethod(), getCallOptions(), request); } /** @@ -980,7 +985,8 @@ public com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection g listConnections( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsRequest request) { - return blockingUnaryCall(getChannel(), getListConnectionsMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListConnectionsMethod(), getCallOptions(), request); } /** @@ -994,7 +1000,7 @@ public com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection g public com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection updateConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.UpdateConnectionRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateConnectionMethod(), getCallOptions(), request); } @@ -1009,7 +1015,7 @@ public com.google.protobuf.Empty updateConnectionCredential( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionCredentialRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateConnectionCredentialMethod(), getCallOptions(), request); } @@ -1023,7 +1029,7 @@ public com.google.protobuf.Empty updateConnectionCredential( public com.google.protobuf.Empty deleteConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.DeleteConnectionRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteConnectionMethod(), getCallOptions(), request); } @@ -1037,7 +1043,8 @@ public com.google.protobuf.Empty deleteConnection( * */ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return blockingUnaryCall(getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); } /** @@ -1050,7 +1057,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque * */ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return blockingUnaryCall(getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); } /** @@ -1067,7 +1075,7 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque */ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } } @@ -1103,7 +1111,7 @@ protected ConnectionServiceFutureStub build( createConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.CreateConnectionRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateConnectionMethod(), getCallOptions()), request); } @@ -1119,7 +1127,7 @@ protected ConnectionServiceFutureStub build( getConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.GetConnectionRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetConnectionMethod(), getCallOptions()), request); } @@ -1135,7 +1143,7 @@ protected ConnectionServiceFutureStub build( listConnections( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListConnectionsMethod(), getCallOptions()), request); } @@ -1152,7 +1160,7 @@ protected ConnectionServiceFutureStub build( updateConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.UpdateConnectionRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateConnectionMethod(), getCallOptions()), request); } @@ -1168,7 +1176,7 @@ protected ConnectionServiceFutureStub build( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionCredentialRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateConnectionCredentialMethod(), getCallOptions()), request); } @@ -1183,7 +1191,7 @@ protected ConnectionServiceFutureStub build( deleteConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.DeleteConnectionRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteConnectionMethod(), getCallOptions()), request); } @@ -1198,7 +1206,7 @@ protected ConnectionServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); } @@ -1213,7 +1221,7 @@ protected ConnectionServiceFutureStub build( */ public com.google.common.util.concurrent.ListenableFuture setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); } @@ -1232,7 +1240,7 @@ protected ConnectionServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.iam.v1.TestIamPermissionsResponse> testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); } } diff --git a/synth.metadata b/synth.metadata index 29dc3d4a..5f876b90 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,23 +4,23 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-bigqueryconnection.git", - "sha": "eb4cd1f5b7c15e39c670cc2d1dfae408874a7f95" + "sha": "6c80285b9a0f2da92cb04018be9b0317126e4aec" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "3befd26ca55723d3e8111909331eac1249837987", - "internalRef": "360805639" + "sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89", + "internalRef": "361377784" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "3befd26ca55723d3e8111909331eac1249837987", - "internalRef": "360805639" + "sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89", + "internalRef": "361377784" } }, {