Package com.viam.robot.v1
Class RobotServiceGrpc.RobotServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<RobotServiceGrpc.RobotServiceStub>
com.viam.robot.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.
A RobotService encompasses all functionality of some robot comprised of parts, local and remote.
-
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 TypeMethodDescriptionvoid
blockForOperation
(Robot.BlockForOperationRequest request, io.grpc.stub.StreamObserver<Robot.BlockForOperationResponse> responseObserver) protected RobotServiceGrpc.RobotServiceStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
cancelOperation
(Robot.CancelOperationRequest request, io.grpc.stub.StreamObserver<Robot.CancelOperationResponse> responseObserver) void
discoverComponents
(Robot.DiscoverComponentsRequest request, io.grpc.stub.StreamObserver<Robot.DiscoverComponentsResponse> responseObserver) DiscoverComponents returns the list of discovered component configurations.void
frameSystemConfig
(Robot.FrameSystemConfigRequest request, io.grpc.stub.StreamObserver<Robot.FrameSystemConfigResponse> responseObserver) void
getCloudMetadata
(Robot.GetCloudMetadataRequest request, io.grpc.stub.StreamObserver<Robot.GetCloudMetadataResponse> responseObserver) GetCloudMetadata returns app-related information about the robot.void
getMachineStatus
(Robot.GetMachineStatusRequest request, io.grpc.stub.StreamObserver<Robot.GetMachineStatusResponse> responseObserver) GetMachineStatus returns the current status of the robot.void
getOperations
(Robot.GetOperationsRequest request, io.grpc.stub.StreamObserver<Robot.GetOperationsResponse> responseObserver) void
getSessions
(Robot.GetSessionsRequest request, io.grpc.stub.StreamObserver<Robot.GetSessionsResponse> responseObserver) void
getStatus
(Robot.GetStatusRequest request, io.grpc.stub.StreamObserver<Robot.GetStatusResponse> responseObserver) Deprecated.void
getVersion
(Robot.GetVersionRequest request, io.grpc.stub.StreamObserver<Robot.GetVersionResponse> responseObserver) GetVersion returns version information about the robot.void
log
(Robot.LogRequest request, io.grpc.stub.StreamObserver<Robot.LogResponse> responseObserver) Log sends logs to be logged by this robot.void
resourceNames
(Robot.ResourceNamesRequest request, io.grpc.stub.StreamObserver<Robot.ResourceNamesResponse> responseObserver) ResourceNames returns the list of all resources.void
resourceRPCSubtypes
(Robot.ResourceRPCSubtypesRequest request, io.grpc.stub.StreamObserver<Robot.ResourceRPCSubtypesResponse> responseObserver) ResourceRPCSubtypes returns the list of all resource types.void
restartModule
(Robot.RestartModuleRequest request, io.grpc.stub.StreamObserver<Robot.RestartModuleResponse> responseObserver) void
sendSessionHeartbeat
(Robot.SendSessionHeartbeatRequest request, io.grpc.stub.StreamObserver<Robot.SendSessionHeartbeatResponse> responseObserver) SendSessionHeartbeat sends a heartbeat to the given session.void
shutdown
(Robot.ShutdownRequest request, io.grpc.stub.StreamObserver<Robot.ShutdownResponse> responseObserver) Shutdown shuts down the robot.void
startSession
(Robot.StartSessionRequest request, io.grpc.stub.StreamObserver<Robot.StartSessionResponse> responseObserver) StartSession creates a new session that expects at least one heartbeat within the returned window.void
stopAll
(Robot.StopAllRequest request, io.grpc.stub.StreamObserver<Robot.StopAllResponse> responseObserver) StopAll will stop all current and outstanding operations for the robot and stops all actuators and movementvoid
streamStatus
(Robot.StreamStatusRequest request, io.grpc.stub.StreamObserver<Robot.StreamStatusResponse> responseObserver) Deprecated.void
transformPCD
(Robot.TransformPCDRequest request, io.grpc.stub.StreamObserver<Robot.TransformPCDResponse> responseObserver) void
transformPose
(Robot.TransformPoseRequest request, io.grpc.stub.StreamObserver<Robot.TransformPoseResponse> responseObserver) 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>
-
getOperations
public void getOperations(Robot.GetOperationsRequest request, io.grpc.stub.StreamObserver<Robot.GetOperationsResponse> responseObserver) -
getSessions
public void getSessions(Robot.GetSessionsRequest request, io.grpc.stub.StreamObserver<Robot.GetSessionsResponse> responseObserver) -
resourceNames
public void resourceNames(Robot.ResourceNamesRequest request, io.grpc.stub.StreamObserver<Robot.ResourceNamesResponse> responseObserver) ResourceNames returns the list of all resources.
-
resourceRPCSubtypes
public void resourceRPCSubtypes(Robot.ResourceRPCSubtypesRequest request, io.grpc.stub.StreamObserver<Robot.ResourceRPCSubtypesResponse> responseObserver) ResourceRPCSubtypes returns the list of all resource types.
-
cancelOperation
public void cancelOperation(Robot.CancelOperationRequest request, io.grpc.stub.StreamObserver<Robot.CancelOperationResponse> responseObserver) -
blockForOperation
public void blockForOperation(Robot.BlockForOperationRequest request, io.grpc.stub.StreamObserver<Robot.BlockForOperationResponse> responseObserver) -
discoverComponents
public void discoverComponents(Robot.DiscoverComponentsRequest request, io.grpc.stub.StreamObserver<Robot.DiscoverComponentsResponse> responseObserver) DiscoverComponents returns the list of discovered component configurations.
-
frameSystemConfig
public void frameSystemConfig(Robot.FrameSystemConfigRequest request, io.grpc.stub.StreamObserver<Robot.FrameSystemConfigResponse> responseObserver) -
transformPose
public void transformPose(Robot.TransformPoseRequest request, io.grpc.stub.StreamObserver<Robot.TransformPoseResponse> responseObserver) -
transformPCD
public void transformPCD(Robot.TransformPCDRequest request, io.grpc.stub.StreamObserver<Robot.TransformPCDResponse> responseObserver) -
getStatus
@Deprecated public void getStatus(Robot.GetStatusRequest request, io.grpc.stub.StreamObserver<Robot.GetStatusResponse> responseObserver) Deprecated.GetStatus returns the list of all statuses requested. An empty request signifies all resources.
-
streamStatus
@Deprecated public void streamStatus(Robot.StreamStatusRequest request, io.grpc.stub.StreamObserver<Robot.StreamStatusResponse> responseObserver) Deprecated.StreamStatus periodically sends the status of all statuses requested. An empty request signifies all resources.
-
stopAll
public void stopAll(Robot.StopAllRequest request, io.grpc.stub.StreamObserver<Robot.StopAllResponse> responseObserver) StopAll will stop all current and outstanding operations for the robot and stops all actuators and movement
-
startSession
public void startSession(Robot.StartSessionRequest request, io.grpc.stub.StreamObserver<Robot.StartSessionResponse> responseObserver) StartSession creates a new session that expects at least one heartbeat within the returned window. If the window lapses, any resources that have safety heart monitored methods, where this session was the last caller on the resource, will be stopped.
-
sendSessionHeartbeat
public void sendSessionHeartbeat(Robot.SendSessionHeartbeatRequest request, io.grpc.stub.StreamObserver<Robot.SendSessionHeartbeatResponse> responseObserver) SendSessionHeartbeat sends a heartbeat to the given session. If the session has expired, a SESSION_EXPIRED error will be returned.
-
log
public void log(Robot.LogRequest request, io.grpc.stub.StreamObserver<Robot.LogResponse> responseObserver) Log sends logs to be logged by this robot. Currently used for module logging.
-
getCloudMetadata
public void getCloudMetadata(Robot.GetCloudMetadataRequest request, io.grpc.stub.StreamObserver<Robot.GetCloudMetadataResponse> responseObserver) GetCloudMetadata returns app-related information about the robot.
-
restartModule
public void restartModule(Robot.RestartModuleRequest request, io.grpc.stub.StreamObserver<Robot.RestartModuleResponse> responseObserver) -
shutdown
public void shutdown(Robot.ShutdownRequest request, io.grpc.stub.StreamObserver<Robot.ShutdownResponse> responseObserver) Shutdown shuts down the robot.
-
getMachineStatus
public void getMachineStatus(Robot.GetMachineStatusRequest request, io.grpc.stub.StreamObserver<Robot.GetMachineStatusResponse> responseObserver) GetMachineStatus returns the current status of the robot.
-
getVersion
public void getVersion(Robot.GetVersionRequest request, io.grpc.stub.StreamObserver<Robot.GetVersionResponse> responseObserver) GetVersion returns version information about the robot.
-