Package viam.app.v1
Interface RobotServiceGrpc.AsyncService
- All Known Implementing Classes:
RobotServiceGrpc.RobotServiceImplBase
- Enclosing class:
- RobotServiceGrpc
public static interface RobotServiceGrpc.AsyncService
RobotService is used by robots to retrieve configs, report logs, etc...
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
certificate
(Robot.CertificateRequest request, io.grpc.stub.StreamObserver<Robot.CertificateResponse> responseObserver) Certificate requests the current robot certificatedefault void
config
(Robot.ConfigRequest request, io.grpc.stub.StreamObserver<Robot.ConfigResponse> responseObserver) Config requests the current robot configdefault void
log
(Robot.LogRequest request, io.grpc.stub.StreamObserver<Robot.LogResponse> responseObserver) Log insert log entries associated with the robot.default 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.
-
Method Details
-
config
default void config(Robot.ConfigRequest request, io.grpc.stub.StreamObserver<Robot.ConfigResponse> responseObserver) Config requests the current robot config
-
certificate
default void certificate(Robot.CertificateRequest request, io.grpc.stub.StreamObserver<Robot.CertificateResponse> responseObserver) Certificate requests the current robot certificate
-
log
default 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
default 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.
-