Package viam.app.v1
Class RobotServiceGrpc.RobotServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<RobotServiceGrpc.RobotServiceFutureStub>
viam.app.v1.RobotServiceGrpc.RobotServiceFutureStub
- Enclosing class:
- RobotServiceGrpc
public static final class RobotServiceGrpc.RobotServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<RobotServiceGrpc.RobotServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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 TypeMethodDescriptionprotected RobotServiceGrpc.RobotServiceFutureStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Robot.CertificateResponse>
certificate
(Robot.CertificateRequest request) Certificate requests the current robot certificatecom.google.common.util.concurrent.ListenableFuture<Robot.ConfigResponse>
config
(Robot.ConfigRequest request) Config requests the current robot configcom.google.common.util.concurrent.ListenableFuture<Robot.LogResponse>
log
(Robot.LogRequest request) Log insert log entries associated with the robot.com.google.common.util.concurrent.ListenableFuture<Robot.NeedsRestartResponse>
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.AbstractFutureStub
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.RobotServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<RobotServiceGrpc.RobotServiceFutureStub>
-
config
public com.google.common.util.concurrent.ListenableFuture<Robot.ConfigResponse> config(Robot.ConfigRequest request) Config requests the current robot config
-
certificate
public com.google.common.util.concurrent.ListenableFuture<Robot.CertificateResponse> certificate(Robot.CertificateRequest request) Certificate requests the current robot certificate
-
log
public com.google.common.util.concurrent.ListenableFuture<Robot.LogResponse> log(Robot.LogRequest request) Log insert log entries associated with the robot. Allows up to 1000 entries to be added in one request.
-
needsRestart
public com.google.common.util.concurrent.ListenableFuture<Robot.NeedsRestartResponse> needsRestart(Robot.NeedsRestartRequest request) NeedsRestart returns if the robot should restart and the interval it should check to restart.
-