Class VideoIntelligenceServiceGrpc.VideoIntelligenceServiceFutureStub (2.40.0)

public static final class VideoIntelligenceServiceGrpc.VideoIntelligenceServiceFutureStub extends AbstractFutureStub<VideoIntelligenceServiceGrpc.VideoIntelligenceServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service VideoIntelligenceService.

Service that implements the Video Intelligence API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > VideoIntelligenceServiceGrpc.VideoIntelligenceServiceFutureStub

Methods

annotateVideo(AnnotateVideoRequest request)

public ListenableFuture<Operation> annotateVideo(AnnotateVideoRequest request)

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).

Parameter
NameDescription
requestAnnotateVideoRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

protected VideoIntelligenceServiceGrpc.VideoIntelligenceServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
VideoIntelligenceServiceGrpc.VideoIntelligenceServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)