Package com.viam.service.video.v1
Class VideoServiceGrpc.VideoServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<VideoServiceGrpc.VideoServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<VideoServiceGrpc.VideoServiceBlockingV2Stub>
com.viam.service.video.v1.VideoServiceGrpc.VideoServiceBlockingV2Stub
- Enclosing class:
VideoServiceGrpc
public static final class VideoServiceGrpc.VideoServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<VideoServiceGrpc.VideoServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service VideoService.
VideoService services video streaming and retrieval
-
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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandsio.grpc.stub.BlockingClientCall<?, Video.GetVideoResponse> getVideo(Video.GetVideoRequest request) GetVideo retrieves a video for a given time rangeMethods inherited from class io.grpc.stub.AbstractBlockingStub
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 VideoServiceGrpc.VideoServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<VideoServiceGrpc.VideoServiceBlockingV2Stub>
-
getVideo
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?,Video.GetVideoResponse> getVideo(Video.GetVideoRequest request) GetVideo retrieves a video for a given time range
-
doCommand
public Common.DoCommandResponse doCommand(Common.DoCommandRequest request) throws io.grpc.StatusException DoCommand sends/receives arbitrary commands
- Throws:
io.grpc.StatusException
-