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 (#434)
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/b096316f-13b7-4a8e-84ef-7f6422d1caba/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 91c2b29 commit db0cf0b
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 59 deletions.
Expand Up @@ -16,11 +16,6 @@
package com.google.cloud.videointelligence.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 @@ -150,15 +145,16 @@ public abstract static class VideoIntelligenceServiceImplBase implements io.grpc
public void annotateVideo(
com.google.cloud.videointelligence.v1.AnnotateVideoRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getAnnotateVideoMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getAnnotateVideoMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.videointelligence.v1.AnnotateVideoRequest,
com.google.longrunning.Operation>(this, METHODID_ANNOTATE_VIDEO)))
Expand Down Expand Up @@ -198,7 +194,7 @@ protected VideoIntelligenceServiceStub build(
public void annotateVideo(
com.google.cloud.videointelligence.v1.AnnotateVideoRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -237,7 +233,8 @@ protected VideoIntelligenceServiceBlockingStub build(
*/
public com.google.longrunning.Operation annotateVideo(
com.google.cloud.videointelligence.v1.AnnotateVideoRequest request) {
return blockingUnaryCall(getChannel(), getAnnotateVideoMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAnnotateVideoMethod(), getCallOptions(), request);
}
}

Expand Down Expand Up @@ -273,7 +270,7 @@ protected VideoIntelligenceServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
annotateVideo(com.google.cloud.videointelligence.v1.AnnotateVideoRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request);
}
}
Expand Down
Expand Up @@ -16,11 +16,6 @@
package com.google.cloud.videointelligence.v1beta2;

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 @@ -150,15 +145,16 @@ public abstract static class VideoIntelligenceServiceImplBase implements io.grpc
public void annotateVideo(
com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getAnnotateVideoMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getAnnotateVideoMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest,
com.google.longrunning.Operation>(this, METHODID_ANNOTATE_VIDEO)))
Expand Down Expand Up @@ -198,7 +194,7 @@ protected VideoIntelligenceServiceStub build(
public void annotateVideo(
com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -237,7 +233,8 @@ protected VideoIntelligenceServiceBlockingStub build(
*/
public com.google.longrunning.Operation annotateVideo(
com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request) {
return blockingUnaryCall(getChannel(), getAnnotateVideoMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAnnotateVideoMethod(), getCallOptions(), request);
}
}

Expand Down Expand Up @@ -273,7 +270,7 @@ protected VideoIntelligenceServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
annotateVideo(com.google.cloud.videointelligence.v1beta2.AnnotateVideoRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request);
}
}
Expand Down
Expand Up @@ -16,11 +16,6 @@
package com.google.cloud.videointelligence.v1p1beta1;

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 @@ -150,15 +145,16 @@ public abstract static class VideoIntelligenceServiceImplBase implements io.grpc
public void annotateVideo(
com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getAnnotateVideoMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getAnnotateVideoMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest,
com.google.longrunning.Operation>(this, METHODID_ANNOTATE_VIDEO)))
Expand Down Expand Up @@ -198,7 +194,7 @@ protected VideoIntelligenceServiceStub build(
public void annotateVideo(
com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -237,7 +233,8 @@ protected VideoIntelligenceServiceBlockingStub build(
*/
public com.google.longrunning.Operation annotateVideo(
com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request) {
return blockingUnaryCall(getChannel(), getAnnotateVideoMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAnnotateVideoMethod(), getCallOptions(), request);
}
}

Expand Down Expand Up @@ -273,7 +270,7 @@ protected VideoIntelligenceServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
annotateVideo(com.google.cloud.videointelligence.v1p1beta1.AnnotateVideoRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request);
}
}
Expand Down
Expand Up @@ -16,11 +16,6 @@
package com.google.cloud.videointelligence.v1p2beta1;

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 @@ -150,15 +145,16 @@ public abstract static class VideoIntelligenceServiceImplBase implements io.grpc
public void annotateVideo(
com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getAnnotateVideoMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getAnnotateVideoMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest,
com.google.longrunning.Operation>(this, METHODID_ANNOTATE_VIDEO)))
Expand Down Expand Up @@ -198,7 +194,7 @@ protected VideoIntelligenceServiceStub build(
public void annotateVideo(
com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -237,7 +233,8 @@ protected VideoIntelligenceServiceBlockingStub build(
*/
public com.google.longrunning.Operation annotateVideo(
com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request) {
return blockingUnaryCall(getChannel(), getAnnotateVideoMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAnnotateVideoMethod(), getCallOptions(), request);
}
}

Expand Down Expand Up @@ -273,7 +270,7 @@ protected VideoIntelligenceServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
annotateVideo(com.google.cloud.videointelligence.v1p2beta1.AnnotateVideoRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request);
}
}
Expand Down
Expand Up @@ -16,9 +16,6 @@
package com.google.cloud.videointelligence.v1p3beta1;

import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;

/**
*
Expand Down Expand Up @@ -161,15 +158,16 @@ public abstract static class StreamingVideoIntelligenceServiceImplBase
io.grpc.stub.StreamObserver<
com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse>
responseObserver) {
return asyncUnimplementedStreamingCall(getStreamingAnnotateVideoMethod(), responseObserver);
return io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall(
getStreamingAnnotateVideoMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getStreamingAnnotateVideoMethod(),
asyncBidiStreamingCall(
io.grpc.stub.ServerCalls.asyncBidiStreamingCall(
new MethodHandlers<
com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoRequest,
com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse>(
Expand Down Expand Up @@ -213,7 +211,7 @@ protected StreamingVideoIntelligenceServiceStub build(
io.grpc.stub.StreamObserver<
com.google.cloud.videointelligence.v1p3beta1.StreamingAnnotateVideoResponse>
responseObserver) {
return asyncBidiStreamingCall(
return io.grpc.stub.ClientCalls.asyncBidiStreamingCall(
getChannel().newCall(getStreamingAnnotateVideoMethod(), getCallOptions()),
responseObserver);
}
Expand Down
Expand Up @@ -16,11 +16,6 @@
package com.google.cloud.videointelligence.v1p3beta1;

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 @@ -150,15 +145,16 @@ public abstract static class VideoIntelligenceServiceImplBase implements io.grpc
public void annotateVideo(
com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnimplementedUnaryCall(getAnnotateVideoMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getAnnotateVideoMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getAnnotateVideoMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest,
com.google.longrunning.Operation>(this, METHODID_ANNOTATE_VIDEO)))
Expand Down Expand Up @@ -198,7 +194,7 @@ protected VideoIntelligenceServiceStub build(
public void annotateVideo(
com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request,
io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -237,7 +233,8 @@ protected VideoIntelligenceServiceBlockingStub build(
*/
public com.google.longrunning.Operation annotateVideo(
com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request) {
return blockingUnaryCall(getChannel(), getAnnotateVideoMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAnnotateVideoMethod(), getCallOptions(), request);
}
}

Expand Down Expand Up @@ -273,7 +270,7 @@ protected VideoIntelligenceServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation>
annotateVideo(com.google.cloud.videointelligence.v1p3beta1.AnnotateVideoRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAnnotateVideoMethod(), getCallOptions()), request);
}
}
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-video-intelligence.git",
"sha": "1c4504b7331df2709748632521a7477e4df95ae3"
"sha": "91c2b29c7a95bea83792ba6991760881fc9fa672"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "3befd26ca55723d3e8111909331eac1249837987",
"internalRef": "360805639"
"sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89",
"internalRef": "361377784"
}
},
{
Expand Down

0 comments on commit db0cf0b

Please sign in to comment.