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 (#474)
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/2718da3c-b88a-48de-aced-8b584fdcf2da/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 e95b8f2 commit 03f261b
Show file tree
Hide file tree
Showing 9 changed files with 327 additions and 295 deletions.
Expand Up @@ -16,11 +16,6 @@
package com.google.cloud.dataproc.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 @@ -359,7 +354,8 @@ public void createAutoscalingPolicy(
com.google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.dataproc.v1.AutoscalingPolicy>
responseObserver) {
asyncUnimplementedUnaryCall(getCreateAutoscalingPolicyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getCreateAutoscalingPolicyMethod(), responseObserver);
}

/**
Expand All @@ -375,7 +371,8 @@ public void updateAutoscalingPolicy(
com.google.cloud.dataproc.v1.UpdateAutoscalingPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.dataproc.v1.AutoscalingPolicy>
responseObserver) {
asyncUnimplementedUnaryCall(getUpdateAutoscalingPolicyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getUpdateAutoscalingPolicyMethod(), responseObserver);
}

/**
Expand All @@ -389,7 +386,8 @@ public void getAutoscalingPolicy(
com.google.cloud.dataproc.v1.GetAutoscalingPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.dataproc.v1.AutoscalingPolicy>
responseObserver) {
asyncUnimplementedUnaryCall(getGetAutoscalingPolicyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getGetAutoscalingPolicyMethod(), responseObserver);
}

/**
Expand All @@ -403,7 +401,8 @@ public void listAutoscalingPolicies(
com.google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getListAutoscalingPoliciesMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getListAutoscalingPoliciesMethod(), responseObserver);
}

/**
Expand All @@ -417,43 +416,44 @@ public void listAutoscalingPolicies(
public void deleteAutoscalingPolicy(
com.google.cloud.dataproc.v1.DeleteAutoscalingPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
asyncUnimplementedUnaryCall(getDeleteAutoscalingPolicyMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getDeleteAutoscalingPolicyMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getCreateAutoscalingPolicyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest,
com.google.cloud.dataproc.v1.AutoscalingPolicy>(
this, METHODID_CREATE_AUTOSCALING_POLICY)))
.addMethod(
getUpdateAutoscalingPolicyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.dataproc.v1.UpdateAutoscalingPolicyRequest,
com.google.cloud.dataproc.v1.AutoscalingPolicy>(
this, METHODID_UPDATE_AUTOSCALING_POLICY)))
.addMethod(
getGetAutoscalingPolicyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.dataproc.v1.GetAutoscalingPolicyRequest,
com.google.cloud.dataproc.v1.AutoscalingPolicy>(
this, METHODID_GET_AUTOSCALING_POLICY)))
.addMethod(
getListAutoscalingPoliciesMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest,
com.google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse>(
this, METHODID_LIST_AUTOSCALING_POLICIES)))
.addMethod(
getDeleteAutoscalingPolicyMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.dataproc.v1.DeleteAutoscalingPolicyRequest,
com.google.protobuf.Empty>(this, METHODID_DELETE_AUTOSCALING_POLICY)))
Expand Down Expand Up @@ -492,7 +492,7 @@ public void createAutoscalingPolicy(
com.google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.dataproc.v1.AutoscalingPolicy>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateAutoscalingPolicyMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -511,7 +511,7 @@ public void updateAutoscalingPolicy(
com.google.cloud.dataproc.v1.UpdateAutoscalingPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.dataproc.v1.AutoscalingPolicy>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateAutoscalingPolicyMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -528,7 +528,7 @@ public void getAutoscalingPolicy(
com.google.cloud.dataproc.v1.GetAutoscalingPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.dataproc.v1.AutoscalingPolicy>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetAutoscalingPolicyMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -545,7 +545,7 @@ public void listAutoscalingPolicies(
com.google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListAutoscalingPoliciesMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -562,7 +562,7 @@ public void listAutoscalingPolicies(
public void deleteAutoscalingPolicy(
com.google.cloud.dataproc.v1.DeleteAutoscalingPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteAutoscalingPolicyMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -599,7 +599,7 @@ protected AutoscalingPolicyServiceBlockingStub build(
*/
public com.google.cloud.dataproc.v1.AutoscalingPolicy createAutoscalingPolicy(
com.google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateAutoscalingPolicyMethod(), getCallOptions(), request);
}

Expand All @@ -614,7 +614,7 @@ public com.google.cloud.dataproc.v1.AutoscalingPolicy createAutoscalingPolicy(
*/
public com.google.cloud.dataproc.v1.AutoscalingPolicy updateAutoscalingPolicy(
com.google.cloud.dataproc.v1.UpdateAutoscalingPolicyRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateAutoscalingPolicyMethod(), getCallOptions(), request);
}

Expand All @@ -627,7 +627,7 @@ public com.google.cloud.dataproc.v1.AutoscalingPolicy updateAutoscalingPolicy(
*/
public com.google.cloud.dataproc.v1.AutoscalingPolicy getAutoscalingPolicy(
com.google.cloud.dataproc.v1.GetAutoscalingPolicyRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetAutoscalingPolicyMethod(), getCallOptions(), request);
}

Expand All @@ -640,7 +640,7 @@ public com.google.cloud.dataproc.v1.AutoscalingPolicy getAutoscalingPolicy(
*/
public com.google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse listAutoscalingPolicies(
com.google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListAutoscalingPoliciesMethod(), getCallOptions(), request);
}

Expand All @@ -654,7 +654,7 @@ public com.google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse listAutoscal
*/
public com.google.protobuf.Empty deleteAutoscalingPolicy(
com.google.cloud.dataproc.v1.DeleteAutoscalingPolicyRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteAutoscalingPolicyMethod(), getCallOptions(), request);
}
}
Expand Down Expand Up @@ -691,7 +691,7 @@ protected AutoscalingPolicyServiceFutureStub build(
com.google.cloud.dataproc.v1.AutoscalingPolicy>
createAutoscalingPolicy(
com.google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateAutoscalingPolicyMethod(), getCallOptions()), request);
}

Expand All @@ -708,7 +708,7 @@ protected AutoscalingPolicyServiceFutureStub build(
com.google.cloud.dataproc.v1.AutoscalingPolicy>
updateAutoscalingPolicy(
com.google.cloud.dataproc.v1.UpdateAutoscalingPolicyRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateAutoscalingPolicyMethod(), getCallOptions()), request);
}

Expand All @@ -722,7 +722,7 @@ protected AutoscalingPolicyServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.dataproc.v1.AutoscalingPolicy>
getAutoscalingPolicy(com.google.cloud.dataproc.v1.GetAutoscalingPolicyRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetAutoscalingPolicyMethod(), getCallOptions()), request);
}

Expand All @@ -737,7 +737,7 @@ protected AutoscalingPolicyServiceFutureStub build(
com.google.cloud.dataproc.v1.ListAutoscalingPoliciesResponse>
listAutoscalingPolicies(
com.google.cloud.dataproc.v1.ListAutoscalingPoliciesRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListAutoscalingPoliciesMethod(), getCallOptions()), request);
}

Expand All @@ -752,7 +752,7 @@ protected AutoscalingPolicyServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteAutoscalingPolicy(
com.google.cloud.dataproc.v1.DeleteAutoscalingPolicyRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteAutoscalingPolicyMethod(), getCallOptions()), request);
}
}
Expand Down

0 comments on commit 03f261b

Please sign in to comment.