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

Commit

Permalink
chore: update gax-java dependency to 1.62 (#339)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 361377784

Source-Author: Google APIs <noreply@google.com>
Source-Date: Sat Mar 6 21:09:41 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 0e915217fb5261c1e57bfaf0e16ee5c7feaaba89
Source-Link: googleapis/googleapis@0e91521
  • Loading branch information
yoshi-automation committed Mar 8, 2021
1 parent 6c80285 commit b0f06c2
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 100 deletions.
Expand Up @@ -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;

/**
*
Expand Down Expand Up @@ -456,7 +451,8 @@ public void createConnection(
com.google.cloud.bigquery.connection.v1.CreateConnectionRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.bigquery.connection.v1.Connection>
responseObserver) {
asyncUnimplementedUnaryCall(getCreateConnectionMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getCreateConnectionMethod(), responseObserver);
}

/**
Expand All @@ -470,7 +466,8 @@ public void getConnection(
com.google.cloud.bigquery.connection.v1.GetConnectionRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.bigquery.connection.v1.Connection>
responseObserver) {
asyncUnimplementedUnaryCall(getGetConnectionMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getGetConnectionMethod(), responseObserver);
}

/**
Expand All @@ -484,7 +481,8 @@ public void listConnections(
com.google.cloud.bigquery.connection.v1.ListConnectionsRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.bigquery.connection.v1.ListConnectionsResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getListConnectionsMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getListConnectionsMethod(), responseObserver);
}

/**
Expand All @@ -499,7 +497,8 @@ public void updateConnection(
com.google.cloud.bigquery.connection.v1.UpdateConnectionRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.bigquery.connection.v1.Connection>
responseObserver) {
asyncUnimplementedUnaryCall(getUpdateConnectionMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getUpdateConnectionMethod(), responseObserver);
}

/**
Expand All @@ -512,7 +511,8 @@ public void updateConnection(
public void deleteConnection(
com.google.cloud.bigquery.connection.v1.DeleteConnectionRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
asyncUnimplementedUnaryCall(getDeleteConnectionMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getDeleteConnectionMethod(), responseObserver);
}

/**
Expand All @@ -527,7 +527,8 @@ public void deleteConnection(
public void getIamPolicy(
com.google.iam.v1.GetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver) {
asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getGetIamPolicyMethod(), responseObserver);
}

/**
Expand All @@ -542,7 +543,8 @@ public void getIamPolicy(
public void setIamPolicy(
com.google.iam.v1.SetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver) {
asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getSetIamPolicyMethod(), responseObserver);
}

/**
Expand All @@ -561,61 +563,62 @@ public void testIamPermissions(
com.google.iam.v1.TestIamPermissionsRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getTestIamPermissionsMethod(), responseObserver);
}

@java.lang.Override
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>(
Expand Down Expand Up @@ -654,7 +657,7 @@ public void createConnection(
com.google.cloud.bigquery.connection.v1.CreateConnectionRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.bigquery.connection.v1.Connection>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateConnectionMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -671,7 +674,7 @@ public void getConnection(
com.google.cloud.bigquery.connection.v1.GetConnectionRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.bigquery.connection.v1.Connection>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetConnectionMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -688,7 +691,7 @@ public void listConnections(
com.google.cloud.bigquery.connection.v1.ListConnectionsRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.bigquery.connection.v1.ListConnectionsResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListConnectionsMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -706,7 +709,7 @@ public void updateConnection(
com.google.cloud.bigquery.connection.v1.UpdateConnectionRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.bigquery.connection.v1.Connection>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateConnectionMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -722,7 +725,7 @@ public void updateConnection(
public void deleteConnection(
com.google.cloud.bigquery.connection.v1.DeleteConnectionRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteConnectionMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -740,7 +743,7 @@ public void deleteConnection(
public void getIamPolicy(
com.google.iam.v1.GetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -758,7 +761,7 @@ public void getIamPolicy(
public void setIamPolicy(
com.google.iam.v1.SetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -780,7 +783,7 @@ public void testIamPermissions(
com.google.iam.v1.TestIamPermissionsRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -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);
}

Expand All @@ -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);
}

/**
Expand All @@ -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);
}

/**
Expand All @@ -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);
}

Expand All @@ -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);
}

Expand All @@ -881,7 +886,8 @@ public com.google.protobuf.Empty deleteConnection(
* </pre>
*/
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);
}

/**
Expand All @@ -894,7 +900,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
* </pre>
*/
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);
}

/**
Expand All @@ -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);
}
}
Expand Down Expand Up @@ -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);
}

Expand All @@ -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);
}

Expand All @@ -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);
}

Expand All @@ -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);
}

Expand All @@ -1001,7 +1008,7 @@ protected ConnectionServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteConnection(com.google.cloud.bigquery.connection.v1.DeleteConnectionRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteConnectionMethod(), getCallOptions()), request);
}

Expand All @@ -1016,7 +1023,7 @@ protected ConnectionServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request);
}

Expand All @@ -1031,7 +1038,7 @@ protected ConnectionServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request);
}

Expand All @@ -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);
}
}
Expand Down

0 comments on commit b0f06c2

Please sign in to comment.