Package com.viam.component.motor.v1
Class MotorServiceGrpc
java.lang.Object
com.viam.component.motor.v1.MotorServiceGrpc
A MotorService maintains all motors associated with a robot
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
A MotorService maintains all motors associated with a robotstatic final class
A stub to allow clients to do synchronous rpc calls to service MotorService.static final class
A stub to allow clients to do ListenableFuture-style rpc calls to service MotorService.static class
Base class for the server implementation of the service MotorService.static final class
A stub to allow clients to do asynchronous rpc calls to service MotorService. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinition
bindService
(MotorServiceGrpc.AsyncService service) static io.grpc.MethodDescriptor<Common.DoCommandRequest,
Common.DoCommandResponse> static io.grpc.MethodDescriptor<Common.GetGeometriesRequest,
Common.GetGeometriesResponse> static io.grpc.MethodDescriptor<Motor.GetPositionRequest,
Motor.GetPositionResponse> static io.grpc.MethodDescriptor<Motor.GetPropertiesRequest,
Motor.GetPropertiesResponse> static io.grpc.MethodDescriptor<Motor.GoForRequest,
Motor.GoForResponse> static io.grpc.MethodDescriptor<Motor.GoToRequest,
Motor.GoToResponse> static io.grpc.MethodDescriptor<Motor.IsMovingRequest,
Motor.IsMovingResponse> static io.grpc.MethodDescriptor<Motor.IsPoweredRequest,
Motor.IsPoweredResponse> static io.grpc.MethodDescriptor<Motor.ResetZeroPositionRequest,
Motor.ResetZeroPositionResponse> static io.grpc.ServiceDescriptor
static io.grpc.MethodDescriptor<Motor.SetPowerRequest,
Motor.SetPowerResponse> static io.grpc.MethodDescriptor<Motor.SetRPMRequest,
Motor.SetRPMResponse> static io.grpc.MethodDescriptor<Motor.StopRequest,
Motor.StopResponse> newBlockingStub
(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub
(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub
(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getSetPowerMethod
public static io.grpc.MethodDescriptor<Motor.SetPowerRequest,Motor.SetPowerResponse> getSetPowerMethod() -
getGoForMethod
-
getGoToMethod
-
getSetRPMMethod
-
getResetZeroPositionMethod
public static io.grpc.MethodDescriptor<Motor.ResetZeroPositionRequest,Motor.ResetZeroPositionResponse> getResetZeroPositionMethod() -
getGetPositionMethod
public static io.grpc.MethodDescriptor<Motor.GetPositionRequest,Motor.GetPositionResponse> getGetPositionMethod() -
getGetPropertiesMethod
public static io.grpc.MethodDescriptor<Motor.GetPropertiesRequest,Motor.GetPropertiesResponse> getGetPropertiesMethod() -
getStopMethod
-
getIsPoweredMethod
public static io.grpc.MethodDescriptor<Motor.IsPoweredRequest,Motor.IsPoweredResponse> getIsPoweredMethod() -
getIsMovingMethod
public static io.grpc.MethodDescriptor<Motor.IsMovingRequest,Motor.IsMovingResponse> getIsMovingMethod() -
getDoCommandMethod
public static io.grpc.MethodDescriptor<Common.DoCommandRequest,Common.DoCommandResponse> getDoCommandMethod() -
getGetGeometriesMethod
public static io.grpc.MethodDescriptor<Common.GetGeometriesRequest,Common.GetGeometriesResponse> getGetGeometriesMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(MotorServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-