public static final class ModelServiceGrpc.ModelServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<ModelServiceGrpc.ModelServiceBlockingStub>
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.
| Modifier and Type | Method and Description |
|---|---|
protected ModelServiceGrpc.ModelServiceBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.longrunning.Operation |
createModel(CreateModelRequest request)
Creates a new model.
|
com.google.protobuf.Empty |
deleteModel(DeleteModelRequest request)
Deletes an existing model.
|
ListModelsResponse |
listModels(ListModelsRequest request)
Lists all the models linked to this event store.
|
Model |
pauseModel(PauseModelRequest request)
Pauses the training of an existing model.
|
Model |
resumeModel(ResumeModelRequest request)
Resumes the training of an existing model.
|
com.google.longrunning.Operation |
tuneModel(TuneModelRequest request)
Tunes an existing model.
|
Model |
updateModel(UpdateModelRequest request)
Update of model metadata.
|
protected ModelServiceGrpc.ModelServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<ModelServiceGrpc.ModelServiceBlockingStub>public com.google.longrunning.Operation createModel(CreateModelRequest request)
Creates a new model.
public Model pauseModel(PauseModelRequest request)
Pauses the training of an existing model.
public Model resumeModel(ResumeModelRequest request)
Resumes the training of an existing model.
public com.google.protobuf.Empty deleteModel(DeleteModelRequest request)
Deletes an existing model.
public ListModelsResponse listModels(ListModelsRequest request)
Lists all the models linked to this event store.
public Model updateModel(UpdateModelRequest request)
Update of model metadata. Only fields that currently can be updated are: `filtering_option` and `periodic_tuning_state`. If other values are provided, this API method ignores them.
public com.google.longrunning.Operation tuneModel(TuneModelRequest request)
Tunes an existing model.
Copyright © 2022 Google LLC. All rights reserved.