Package com.viam.component.generic.v1
Class GenericServiceGrpc.GenericServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<GenericServiceGrpc.GenericServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<GenericServiceGrpc.GenericServiceBlockingV2Stub>
com.viam.component.generic.v1.GenericServiceGrpc.GenericServiceBlockingV2Stub
- Enclosing class:
GenericServiceGrpc
public static final class GenericServiceGrpc.GenericServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<GenericServiceGrpc.GenericServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service GenericService.
GenericService services all generic components associated with a robot
-
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 commandsgetGeometries(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configurationMethods 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 GenericServiceGrpc.GenericServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GenericServiceGrpc.GenericServiceBlockingV2Stub>
-
doCommand
public Common.DoCommandResponse doCommand(Common.DoCommandRequest request) throws io.grpc.StatusException DoCommand sends/receives arbitrary commands
- Throws:
io.grpc.StatusException
-
getGeometries
public Common.GetGeometriesResponse getGeometries(Common.GetGeometriesRequest request) throws io.grpc.StatusException GetGeometries returns the geometries of the component in their current configuration
- Throws:
io.grpc.StatusException
-