Package com.viam.robot.v1
Class RobotServiceGrpc.RobotServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<RobotServiceGrpc.RobotServiceBlockingStub>
com.viam.robot.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.
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 TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) DiscoverComponents returns the list of discovered component configurations.GetCloudMetadata returns app-related information about the robot.GetMachineStatus returns the current status of the robot.getOperations
(Robot.GetOperationsRequest request) getSessions
(Robot.GetSessionsRequest request) getStatus
(Robot.GetStatusRequest request) Deprecated.getVersion
(Robot.GetVersionRequest request) GetVersion returns version information about the robot.log
(Robot.LogRequest request) Log sends logs to be logged by this robot.resourceNames
(Robot.ResourceNamesRequest request) ResourceNames returns the list of all resources.ResourceRPCSubtypes returns the list of all resource types.restartModule
(Robot.RestartModuleRequest request) SendSessionHeartbeat sends a heartbeat to the given session.shutdown
(Robot.ShutdownRequest request) Shutdown shuts down the robot.startSession
(Robot.StartSessionRequest request) StartSession creates a new session that expects at least one heartbeat within the returned window.stopAll
(Robot.StopAllRequest request) StopAll will stop all current and outstanding operations for the robot and stops all actuators and movementstreamStatus
(Robot.StreamStatusRequest request) Deprecated.transformPCD
(Robot.TransformPCDRequest request) transformPose
(Robot.TransformPoseRequest request) 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>
-
getOperations
-
getSessions
-
resourceNames
ResourceNames returns the list of all resources.
-
resourceRPCSubtypes
public Robot.ResourceRPCSubtypesResponse resourceRPCSubtypes(Robot.ResourceRPCSubtypesRequest request) ResourceRPCSubtypes returns the list of all resource types.
-
cancelOperation
-
blockForOperation
-
discoverComponents
DiscoverComponents returns the list of discovered component configurations.
-
frameSystemConfig
-
transformPose
-
transformPCD
-
getStatus
Deprecated.GetStatus returns the list of all statuses requested. An empty request signifies all resources.
-
streamStatus
@Deprecated public Iterator<Robot.StreamStatusResponse> streamStatus(Robot.StreamStatusRequest request) Deprecated.StreamStatus periodically sends the status of all statuses requested. An empty request signifies all resources.
-
stopAll
StopAll will stop all current and outstanding operations for the robot and stops all actuators and movement
-
startSession
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 Robot.SendSessionHeartbeatResponse sendSessionHeartbeat(Robot.SendSessionHeartbeatRequest request) SendSessionHeartbeat sends a heartbeat to the given session. If the session has expired, a SESSION_EXPIRED error will be returned.
-
log
Log sends logs to be logged by this robot. Currently used for module logging.
-
getCloudMetadata
GetCloudMetadata returns app-related information about the robot.
-
restartModule
-
shutdown
Shutdown shuts down the robot.
-
getMachineStatus
GetMachineStatus returns the current status of the robot.
-
getVersion
GetVersion returns version information about the robot.
-