Class VideoIntelligenceServiceGrpc.VideoIntelligenceServiceFutureStub (2.54.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 Google Cloud 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
Name Description
request AnnotateVideoRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

protected VideoIntelligenceServiceGrpc.VideoIntelligenceServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
VideoIntelligenceServiceGrpc.VideoIntelligenceServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)