Class VideoIntelligenceServiceGrpc.VideoIntelligenceServiceStub (2.23.0)

public static final class VideoIntelligenceServiceGrpc.VideoIntelligenceServiceStub extends AbstractAsyncStub<VideoIntelligenceServiceGrpc.VideoIntelligenceServiceStub>

A stub to allow clients to do asynchronous rpc calls to service VideoIntelligenceService.

Service that implements Google Cloud Video Intelligence API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > VideoIntelligenceServiceGrpc.VideoIntelligenceServiceStub

Methods

annotateVideo(AnnotateVideoRequest request, StreamObserver<Operation> responseObserver)

public void annotateVideo(AnnotateVideoRequest request, 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).

Parameters
NameDescription
requestAnnotateVideoRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

build(Channel channel, CallOptions callOptions)

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