Class PowerSensorServiceGrpc
java.lang.Object
com.viam.component.powersensor.v1.PowerSensorServiceGrpc
PowerSensorService services all power sensors associated with a robot
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
PowerSensorService services all power sensors associated with a robotstatic final class
A stub to allow clients to do synchronous rpc calls to service PowerSensorService.static final class
A stub to allow clients to do ListenableFuture-style rpc calls to service PowerSensorService.static class
Base class for the server implementation of the service PowerSensorService.static final class
A stub to allow clients to do asynchronous rpc calls to service PowerSensorService. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinition
static io.grpc.MethodDescriptor<Common.DoCommandRequest,
Common.DoCommandResponse> static io.grpc.MethodDescriptor<Powersensor.GetCurrentRequest,
Powersensor.GetCurrentResponse> static io.grpc.MethodDescriptor<Powersensor.GetPowerRequest,
Powersensor.GetPowerResponse> static io.grpc.MethodDescriptor<Common.GetReadingsRequest,
Common.GetReadingsResponse> static io.grpc.MethodDescriptor<Powersensor.GetVoltageRequest,
Powersensor.GetVoltageResponse> static io.grpc.ServiceDescriptor
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
-
getGetVoltageMethod
public static io.grpc.MethodDescriptor<Powersensor.GetVoltageRequest,Powersensor.GetVoltageResponse> getGetVoltageMethod() -
getGetCurrentMethod
public static io.grpc.MethodDescriptor<Powersensor.GetCurrentRequest,Powersensor.GetCurrentResponse> getGetCurrentMethod() -
getGetPowerMethod
public static io.grpc.MethodDescriptor<Powersensor.GetPowerRequest,Powersensor.GetPowerResponse> getGetPowerMethod() -
getGetReadingsMethod
public static io.grpc.MethodDescriptor<Common.GetReadingsRequest,Common.GetReadingsResponse> getGetReadingsMethod() -
getDoCommandMethod
public static io.grpc.MethodDescriptor<Common.DoCommandRequest,Common.DoCommandResponse> getDoCommandMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
public static PowerSensorServiceGrpc.PowerSensorServiceBlockingStub newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
public static PowerSensorServiceGrpc.PowerSensorServiceFutureStub newFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(PowerSensorServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-