Package tensorflow.serving
Class SessionServiceGrpc
java.lang.Object
tensorflow.serving.SessionServiceGrpc
@Generated(value="by gRPC proto compiler (version 1.30.0)",
comments="Source: tensorflow_serving/apis/session_service.proto")
public final class SessionServiceGrpc
extends java.lang.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 Classes Modifier and Type Class Description static classSessionServiceGrpc.SessionServiceBlockingStubSessionService defines a service with which a client can interact to execute Tensorflow model inference.static classSessionServiceGrpc.SessionServiceFutureStubSessionService defines a service with which a client can interact to execute Tensorflow model inference.static classSessionServiceGrpc.SessionServiceImplBaseSessionService defines a service with which a client can interact to execute Tensorflow model inference.static classSessionServiceGrpc.SessionServiceStubSessionService defines a service with which a client can interact to execute Tensorflow model inference. -
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE_NAME -
Method Summary
Modifier and Type Method Description static io.grpc.ServiceDescriptorgetServiceDescriptor()static io.grpc.MethodDescriptor<SessionServiceOuterClass.SessionRunRequest,SessionServiceOuterClass.SessionRunResponse>getSessionRunMethod()static SessionServiceGrpc.SessionServiceBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic SessionServiceGrpc.SessionServiceFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic SessionServiceGrpc.SessionServiceStubnewStub(io.grpc.Channel channel)Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAME- See Also:
- Constant Field Values
-
-
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 -
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 -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-