Package viam.app.v1
Class RobotServiceGrpc.RobotServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<RobotServiceGrpc.RobotServiceBlockingStub>
viam.app.v1.RobotServiceGrpc.RobotServiceBlockingStub
- Enclosing class:
- RobotServiceGrpc
public static final class RobotServiceGrpc.RobotServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<RobotServiceGrpc.RobotServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service RobotService.
RobotService is used by robots to retrieve configs, report logs, etc...
-
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) certificate
(Robot.CertificateRequest request) Certificate requests the current robot certificateconfig
(Robot.ConfigRequest request) Config requests the current robot configlog
(Robot.LogRequest request) Log insert log entries associated with the robot.needsRestart
(Robot.NeedsRestartRequest request) NeedsRestart returns if the robot should restart and the interval it should check to restart.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected RobotServiceGrpc.RobotServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<RobotServiceGrpc.RobotServiceBlockingStub>
-
config
Config requests the current robot config
-
certificate
Certificate requests the current robot certificate
-
log
Log insert log entries associated with the robot. Allows up to 1000 entries to be added in one request.
-
needsRestart
NeedsRestart returns if the robot should restart and the interval it should check to restart.
-