Interface ModelServiceGrpc.AsyncService

  • All Known Implementing Classes:
    ModelServiceGrpc.ModelServiceImplBase
    Enclosing class:
    ModelServiceGrpc

    public static interface ModelServiceGrpc.AsyncService
     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.
     
    • Method Detail

      • createModel

        default void createModel​(CreateModelRequest request,
                                 io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a new model.
         
      • getModel

        default void getModel​(GetModelRequest request,
                              io.grpc.stub.StreamObserver<Model> responseObserver)
         Gets a model.
         
      • pauseModel

        default void pauseModel​(PauseModelRequest request,
                                io.grpc.stub.StreamObserver<Model> responseObserver)
         Pauses the training of an existing model.
         
      • resumeModel

        default void resumeModel​(ResumeModelRequest request,
                                 io.grpc.stub.StreamObserver<Model> responseObserver)
         Resumes the training of an existing model.
         
      • deleteModel

        default void deleteModel​(DeleteModelRequest request,
                                 io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Deletes an existing model.
         
      • listModels

        default void listModels​(ListModelsRequest request,
                                io.grpc.stub.StreamObserver<ListModelsResponse> responseObserver)
         Lists all the models linked to this event store.
         
      • updateModel

        default void updateModel​(UpdateModelRequest request,
                                 io.grpc.stub.StreamObserver<Model> responseObserver)
         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.
         
      • tuneModel

        default void tuneModel​(TuneModelRequest request,
                               io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Tunes an existing model.