Package com.viam.service.mlmodel.v1
Class MLModelServiceGrpc
java.lang.Object
com.viam.service.mlmodel.v1.MLModelServiceGrpc
MLModelService declares the gRPC contract for a service that takes in a map of input arrays/tensors, runs them through an ML inference engine, and outputs a map of array/tensors.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
MLModelService declares the gRPC contract for a service that takes in a map of input arrays/tensors, runs them through an ML inference engine, and outputs a map of array/tensors.static final class
A stub to allow clients to do synchronous rpc calls to service MLModelService.static final class
A stub to allow clients to do ListenableFuture-style rpc calls to service MLModelService.static class
Base class for the server implementation of the service MLModelService.static final class
A stub to allow clients to do asynchronous rpc calls to service MLModelService. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinition
static io.grpc.MethodDescriptor<Mlmodel.InferRequest,
Mlmodel.InferResponse> static io.grpc.MethodDescriptor<Mlmodel.MetadataRequest,
Mlmodel.MetadataResponse> 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
-
getInferMethod
-
getMetadataMethod
public static io.grpc.MethodDescriptor<Mlmodel.MetadataRequest,Mlmodel.MetadataResponse> getMetadataMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingStub
public static MLModelServiceGrpc.MLModelServiceBlockingStub newBlockingStub(io.grpc.Channel channel) 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(MLModelServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-