Class VideoIntelligenceServiceGrpc.VideoIntelligenceServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<VideoIntelligenceServiceGrpc.VideoIntelligenceServiceStub>
com.google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceGrpc.VideoIntelligenceServiceStub
- Enclosing class:
- VideoIntelligenceServiceGrpc
public static final class VideoIntelligenceServiceGrpc.VideoIntelligenceServiceStub
extends io.grpc.stub.AbstractAsyncStub<VideoIntelligenceServiceGrpc.VideoIntelligenceServiceStub>
A stub to allow clients to do asynchronous rpc calls to service VideoIntelligenceService.
Service that implements Google Cloud Video Intelligence API.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionvoidannotateVideo(AnnotateVideoRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Performs asynchronous video annotation.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected VideoIntelligenceServiceGrpc.VideoIntelligenceServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<VideoIntelligenceServiceGrpc.VideoIntelligenceServiceStub>
-
annotateVideo
public void annotateVideo(AnnotateVideoRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Performs asynchronous video annotation. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `AnnotateVideoProgress` (progress). `Operation.response` contains `AnnotateVideoResponse` (results).
-