Package tensorflow.serving
Class ModelServiceGrpc
java.lang.Object
tensorflow.serving.ModelServiceGrpc
ModelService provides methods to query and update the state of the server, e.g. which models/versions are being served.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceModelService provides methods to query and update the state of the server, e.g. which models/versions are being served.static final classA stub to allow clients to do limited synchronous rpc calls to service ModelService.static final classA stub to allow clients to do synchronous rpc calls to service ModelService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service ModelService.static classBase class for the server implementation of the service ModelService.static final classA stub to allow clients to do asynchronous rpc calls to service ModelService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(ModelServiceGrpc.AsyncService service) static io.grpc.MethodDescriptor<GetModelStatus.GetModelStatusRequest, GetModelStatus.GetModelStatusResponse> static io.grpc.MethodDescriptor<ModelManagement.ReloadConfigRequest, ModelManagement.ReloadConfigResponse> 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
-
getGetModelStatusMethod
public static io.grpc.MethodDescriptor<GetModelStatus.GetModelStatusRequest,GetModelStatus.GetModelStatusResponse> getGetModelStatusMethod() -
getHandleReloadConfigRequestMethod
public static io.grpc.MethodDescriptor<ModelManagement.ReloadConfigRequest,ModelManagement.ReloadConfigResponse> getHandleReloadConfigRequestMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static ModelServiceGrpc.ModelServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
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(ModelServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-