Package tensorflow.serving
Class SessionServiceGrpc
java.lang.Object
tensorflow.serving.SessionServiceGrpc
@Generated(value="by gRPC proto compiler (version 1.70.0)",
comments="Source: tensorflow_serving/apis/session_service.proto")
public final class SessionServiceGrpc
extends Object
SessionService defines a service with which a client can interact to execute Tensorflow model inference. The SessionService::SessionRun method is similar to MasterService::RunStep of Tensorflow, except that all sessions are ready to run, and you request a specific model/session with ModelSpec.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceSessionService defines a service with which a client can interact to execute Tensorflow model inference.static final classA stub to allow clients to do limited synchronous rpc calls to service SessionService.static final classA stub to allow clients to do synchronous rpc calls to service SessionService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service SessionService.static classBase class for the server implementation of the service SessionService.static final classA stub to allow clients to do asynchronous rpc calls to service SessionService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<SessionServiceOuterClass.SessionRunRequest, SessionServiceOuterClass.SessionRunResponse> newBlockingStub(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
-
getSessionRunMethod
public static io.grpc.MethodDescriptor<SessionServiceOuterClass.SessionRunRequest,SessionServiceOuterClass.SessionRunResponse> getSessionRunMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static SessionServiceGrpc.SessionServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
public static SessionServiceGrpc.SessionServiceBlockingStub 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(SessionServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-