Package com.viam.service.navigation.v1
Class NavigationServiceGrpc.NavigationServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<NavigationServiceGrpc.NavigationServiceStub>
com.viam.service.navigation.v1.NavigationServiceGrpc.NavigationServiceStub
- Enclosing class:
- NavigationServiceGrpc
public static final class NavigationServiceGrpc.NavigationServiceStub
extends io.grpc.stub.AbstractAsyncStub<NavigationServiceGrpc.NavigationServiceStub>
A stub to allow clients to do asynchronous rpc calls to service NavigationService.
A NavigationService declares the gRPC contract for a Navigation service
-
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
addWaypoint
(Navigation.AddWaypointRequest request, io.grpc.stub.StreamObserver<Navigation.AddWaypointResponse> responseObserver) build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
doCommand
(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commandsvoid
getLocation
(Navigation.GetLocationRequest request, io.grpc.stub.StreamObserver<Navigation.GetLocationResponse> responseObserver) void
getMode
(Navigation.GetModeRequest request, io.grpc.stub.StreamObserver<Navigation.GetModeResponse> responseObserver) void
getObstacles
(Navigation.GetObstaclesRequest request, io.grpc.stub.StreamObserver<Navigation.GetObstaclesResponse> responseObserver) void
getPaths
(Navigation.GetPathsRequest request, io.grpc.stub.StreamObserver<Navigation.GetPathsResponse> responseObserver) void
getProperties
(Navigation.GetPropertiesRequest request, io.grpc.stub.StreamObserver<Navigation.GetPropertiesResponse> responseObserver) GetProperties returns properties of the current navigation service, including the map_type being operated on.void
getWaypoints
(Navigation.GetWaypointsRequest request, io.grpc.stub.StreamObserver<Navigation.GetWaypointsResponse> responseObserver) void
removeWaypoint
(Navigation.RemoveWaypointRequest request, io.grpc.stub.StreamObserver<Navigation.RemoveWaypointResponse> responseObserver) void
setMode
(Navigation.SetModeRequest request, io.grpc.stub.StreamObserver<Navigation.SetModeResponse> 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 NavigationServiceGrpc.NavigationServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<NavigationServiceGrpc.NavigationServiceStub>
-
doCommand
public void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commands
-