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

Commit

Permalink
chore: update gax-java dependency to 1.62 (#463)
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/de8b7308-42e1-491a-9337-882343eb7261/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 7630275 commit 5ad191b
Show file tree
Hide file tree
Showing 4 changed files with 105 additions and 102 deletions.
Expand Up @@ -16,14 +16,6 @@
package com.google.cloud.speech.v1;

import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
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.asyncBidiStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;

/**
*
Expand Down Expand Up @@ -236,7 +228,7 @@ public void recognize(
com.google.cloud.speech.v1.RecognizeRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.speech.v1.RecognizeResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getRecognizeMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRecognizeMethod(), responseObserver);
}

/**
Expand All @@ -254,7 +246,8 @@ public void recognize(
public void longRunningRecognize(
com.google.cloud.speech.v1.LongRunningRecognizeRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnimplementedUnaryCall(getLongRunningRecognizeMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getLongRunningRecognizeMethod(), responseObserver);
}

/**
Expand All @@ -269,27 +262,28 @@ public void longRunningRecognize(
streamingRecognize(
io.grpc.stub.StreamObserver<com.google.cloud.speech.v1.StreamingRecognizeResponse>
responseObserver) {
return asyncUnimplementedStreamingCall(getStreamingRecognizeMethod(), responseObserver);
return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(
getStreamingRecognizeMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getRecognizeMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.speech.v1.RecognizeRequest,
com.google.cloud.speech.v1.RecognizeResponse>(this, METHODID_RECOGNIZE)))
.addMethod(
getLongRunningRecognizeMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.speech.v1.LongRunningRecognizeRequest,
com.google.longrunning.Operation>(this, METHODID_LONG_RUNNING_RECOGNIZE)))
.addMethod(
getStreamingRecognizeMethod(),
asyncBidiStreamingCall(
io.grpc.stub.ServerCalls.asyncBidiStreamingCall(
new MethodHandlers<
com.google.cloud.speech.v1.StreamingRecognizeRequest,
com.google.cloud.speech.v1.StreamingRecognizeResponse>(
Expand Down Expand Up @@ -327,7 +321,7 @@ public void recognize(
com.google.cloud.speech.v1.RecognizeRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.speech.v1.RecognizeResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRecognizeMethod(), getCallOptions()), request, responseObserver);
}

Expand All @@ -346,7 +340,7 @@ public void recognize(
public void longRunningRecognize(
com.google.cloud.speech.v1.LongRunningRecognizeRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getLongRunningRecognizeMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -364,7 +358,7 @@ public void longRunningRecognize(
streamingRecognize(
io.grpc.stub.StreamObserver<com.google.cloud.speech.v1.StreamingRecognizeResponse>
responseObserver) {
return asyncBidiStreamingCall(
return io.grpc.stub.ClientCalls.asyncBidiStreamingCall(
getChannel().newCall(getStreamingRecognizeMethod(), getCallOptions()), responseObserver);
}
}
Expand Down Expand Up @@ -397,7 +391,8 @@ protected SpeechBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions
*/
public com.google.cloud.speech.v1.RecognizeResponse recognize(
com.google.cloud.speech.v1.RecognizeRequest request) {
return blockingUnaryCall(getChannel(), getRecognizeMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRecognizeMethod(), getCallOptions(), request);
}

/**
Expand All @@ -414,7 +409,7 @@ public com.google.cloud.speech.v1.RecognizeResponse recognize(
*/
public com.google.longrunning.Operation longRunningRecognize(
com.google.cloud.speech.v1.LongRunningRecognizeRequest request) {
return blockingUnaryCall(
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getLongRunningRecognizeMethod(), getCallOptions(), request);
}
}
Expand Down Expand Up @@ -448,7 +443,8 @@ protected SpeechFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.speech.v1.RecognizeResponse>
recognize(com.google.cloud.speech.v1.RecognizeRequest request) {
return futureUnaryCall(getChannel().newCall(getRecognizeMethod(), getCallOptions()), request);
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRecognizeMethod(), getCallOptions()), request);
}

/**
Expand All @@ -465,7 +461,7 @@ protected SpeechFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
longRunningRecognize(com.google.cloud.speech.v1.LongRunningRecognizeRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getLongRunningRecognizeMethod(), getCallOptions()), request);
}
}
Expand Down

0 comments on commit 5ad191b

Please sign in to comment.