Class ModelServiceGrpc


  • @Generated(value="by gRPC proto compiler",
               comments="Source: google/cloud/retail/v2/model_service.proto")
    public final class ModelServiceGrpc
    extends Object
     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

      • getCreateModelMethod

        public static io.grpc.MethodDescriptor<CreateModelRequest,​com.google.longrunning.Operation> getCreateModelMethod()
      • getGetModelMethod

        public static io.grpc.MethodDescriptor<GetModelRequest,​Model> getGetModelMethod()
      • getPauseModelMethod

        public static io.grpc.MethodDescriptor<PauseModelRequest,​Model> getPauseModelMethod()
      • getResumeModelMethod

        public static io.grpc.MethodDescriptor<ResumeModelRequest,​Model> getResumeModelMethod()
      • getDeleteModelMethod

        public static io.grpc.MethodDescriptor<DeleteModelRequest,​com.google.protobuf.Empty> getDeleteModelMethod()
      • getUpdateModelMethod

        public static io.grpc.MethodDescriptor<UpdateModelRequest,​Model> getUpdateModelMethod()
      • getTuneModelMethod

        public static io.grpc.MethodDescriptor<TuneModelRequest,​com.google.longrunning.Operation> getTuneModelMethod()
      • newStub

        public static ModelServiceGrpc.ModelServiceStub newStub​(io.grpc.Channel channel)
        Creates a new async stub that supports all call types for the service
      • newBlockingStub

        public static ModelServiceGrpc.ModelServiceBlockingStub newBlockingStub​(io.grpc.Channel channel)
        Creates a new blocking-style stub that supports unary and streaming output calls on the service
      • newFutureStub

        public static ModelServiceGrpc.ModelServiceFutureStub newFutureStub​(io.grpc.Channel channel)
        Creates a new ListenableFuture-style stub that supports unary calls on the service
      • getServiceDescriptor

        public static io.grpc.ServiceDescriptor getServiceDescriptor()