Package viam.app.v1
Class RobotServiceGrpc.RobotServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<RobotServiceGrpc.RobotServiceStub>
viam.app.v1.RobotServiceGrpc.RobotServiceStub
- Enclosing class:
- RobotServiceGrpc
public static final class RobotServiceGrpc.RobotServiceStub
extends io.grpc.stub.AbstractAsyncStub<RobotServiceGrpc.RobotServiceStub>
A stub to allow clients to do asynchronous 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.RobotServiceStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
certificate
(Robot.CertificateRequest request, io.grpc.stub.StreamObserver<Robot.CertificateResponse> responseObserver) Certificate requests the current robot certificatevoid
config
(Robot.ConfigRequest request, io.grpc.stub.StreamObserver<Robot.ConfigResponse> responseObserver) Config requests the current robot configvoid
log
(Robot.LogRequest request, io.grpc.stub.StreamObserver<Robot.LogResponse> responseObserver) Log insert log entries associated with the robot.void
needsRestart
(Robot.NeedsRestartRequest request, io.grpc.stub.StreamObserver<Robot.NeedsRestartResponse> responseObserver) NeedsRestart returns if the robot should restart and the interval it should check to restart.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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.RobotServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<RobotServiceGrpc.RobotServiceStub>
-
config
public void config(Robot.ConfigRequest request, io.grpc.stub.StreamObserver<Robot.ConfigResponse> responseObserver) Config requests the current robot config
-
certificate
public void certificate(Robot.CertificateRequest request, io.grpc.stub.StreamObserver<Robot.CertificateResponse> responseObserver) Certificate requests the current robot certificate
-
log
public void log(Robot.LogRequest request, io.grpc.stub.StreamObserver<Robot.LogResponse> responseObserver) Log insert log entries associated with the robot. Allows up to 1000 entries to be added in one request.
-
needsRestart
public void needsRestart(Robot.NeedsRestartRequest request, io.grpc.stub.StreamObserver<Robot.NeedsRestartResponse> responseObserver) NeedsRestart returns if the robot should restart and the interval it should check to restart.
-