Package tensorflow.serving
Class PredictionServiceGrpc
java.lang.Object
tensorflow.serving.PredictionServiceGrpc
open source marker; do not remove PredictionService provides access to machine-learned models loaded by model_servers.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceopen source marker; do not remove PredictionService provides access to machine-learned models loaded by model_servers.static final classA stub to allow clients to do limited synchronous rpc calls to service PredictionService.static final classA stub to allow clients to do synchronous rpc calls to service PredictionService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service PredictionService.static classBase class for the server implementation of the service PredictionService.static final classA stub to allow clients to do asynchronous rpc calls to service PredictionService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<Classification.ClassificationRequest, Classification.ClassificationResponse> static io.grpc.MethodDescriptor<GetModelMetadata.GetModelMetadataRequest, GetModelMetadata.GetModelMetadataResponse> static io.grpc.MethodDescriptor<Inference.MultiInferenceRequest, Inference.MultiInferenceResponse> static io.grpc.MethodDescriptor<Predict.PredictRequest, Predict.PredictResponse> static io.grpc.MethodDescriptor<RegressionOuterClass.RegressionRequest, RegressionOuterClass.RegressionResponse> 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
-
getClassifyMethod
public static io.grpc.MethodDescriptor<Classification.ClassificationRequest,Classification.ClassificationResponse> getClassifyMethod() -
getRegressMethod
public static io.grpc.MethodDescriptor<RegressionOuterClass.RegressionRequest,RegressionOuterClass.RegressionResponse> getRegressMethod() -
getPredictMethod
public static io.grpc.MethodDescriptor<Predict.PredictRequest,Predict.PredictResponse> getPredictMethod() -
getMultiInferenceMethod
public static io.grpc.MethodDescriptor<Inference.MultiInferenceRequest,Inference.MultiInferenceResponse> getMultiInferenceMethod() -
getGetModelMetadataMethod
public static io.grpc.MethodDescriptor<GetModelMetadata.GetModelMetadataRequest,GetModelMetadata.GetModelMetadataResponse> getGetModelMetadataMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static PredictionServiceGrpc.PredictionServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
public static PredictionServiceGrpc.PredictionServiceBlockingStub newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
public static PredictionServiceGrpc.PredictionServiceFutureStub 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(PredictionServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-