Class PowerSensorServiceGrpc
java.lang.Object
com.viam.component.powersensor.v1.PowerSensorServiceGrpc
PowerSensorService services all power sensors associated with a robot
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacePowerSensorService services all power sensors associated with a robotstatic final classA stub to allow clients to do limited synchronous rpc calls to service PowerSensorService.static final classA stub to allow clients to do synchronous rpc calls to service PowerSensorService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service PowerSensorService.static classBase class for the server implementation of the service PowerSensorService.static final classA stub to allow clients to do asynchronous rpc calls to service PowerSensorService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic 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.ServiceDescriptornewBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of 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 -
newBlockingV2Stub
public static PowerSensorServiceGrpc.PowerSensorServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on 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()
-