Class VideoIntelligenceServiceGrpc.VideoIntelligenceServiceStub (2.48.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 the 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
Name Description
request AnnotateVideoRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

build(Channel channel, CallOptions callOptions)

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