public final class ModelServiceGrpc
Service for performing CRUD operations on models.
Recommendation models contain all the metadata necessary to generate a set of
models for the Predict()
API. A model is queried
indirectly via a ServingConfig, which associates a model with a
given Placement (e.g. Frequently Bought Together on Home Page).
This service allows you to do the following:
- Initiate training of a model.
- Pause training of an existing model.
- List all the available models along with their metadata.
- Control their tuning schedule.
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value |
Type |
Description |
String |
|
Static Methods
bindService(ModelServiceGrpc.AsyncService service)
public static final ServerServiceDefinition bindService(ModelServiceGrpc.AsyncService service)
Returns |
Type |
Description |
io.grpc.ServerServiceDefinition |
|
getCreateModelMethod()
public static MethodDescriptor<CreateModelRequest,Operation> getCreateModelMethod()
getDeleteModelMethod()
public static MethodDescriptor<DeleteModelRequest,Empty> getDeleteModelMethod()
getGetModelMethod()
public static MethodDescriptor<GetModelRequest,Model> getGetModelMethod()
getListModelsMethod()
public static MethodDescriptor<ListModelsRequest,ListModelsResponse> getListModelsMethod()
getPauseModelMethod()
public static MethodDescriptor<PauseModelRequest,Model> getPauseModelMethod()
getResumeModelMethod()
public static MethodDescriptor<ResumeModelRequest,Model> getResumeModelMethod()
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns |
Type |
Description |
io.grpc.ServiceDescriptor |
|
getTuneModelMethod()
public static MethodDescriptor<TuneModelRequest,Operation> getTuneModelMethod()
getUpdateModelMethod()
public static MethodDescriptor<UpdateModelRequest,Model> getUpdateModelMethod()
newBlockingStub(Channel channel)
public static ModelServiceGrpc.ModelServiceBlockingStub newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|
newFutureStub(Channel channel)
public static ModelServiceGrpc.ModelServiceFutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|
newStub(Channel channel)
public static ModelServiceGrpc.ModelServiceStub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|