@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/retail/v2beta/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.
| Modifier and Type | Class and Description |
|---|---|
static class |
ModelServiceGrpc.ModelServiceBlockingStub
Service for performing CRUD operations on models.
|
static class |
ModelServiceGrpc.ModelServiceFutureStub
Service for performing CRUD operations on models.
|
static class |
ModelServiceGrpc.ModelServiceImplBase
Service for performing CRUD operations on models.
|
static class |
ModelServiceGrpc.ModelServiceStub
Service for performing CRUD operations on models.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static io.grpc.MethodDescriptor<CreateModelRequest,com.google.longrunning.Operation> |
getCreateModelMethod() |
static io.grpc.MethodDescriptor<DeleteModelRequest,com.google.protobuf.Empty> |
getDeleteModelMethod() |
static io.grpc.MethodDescriptor<ListModelsRequest,ListModelsResponse> |
getListModelsMethod() |
static io.grpc.MethodDescriptor<PauseModelRequest,Model> |
getPauseModelMethod() |
static io.grpc.MethodDescriptor<ResumeModelRequest,Model> |
getResumeModelMethod() |
static io.grpc.ServiceDescriptor |
getServiceDescriptor() |
static io.grpc.MethodDescriptor<TuneModelRequest,com.google.longrunning.Operation> |
getTuneModelMethod() |
static io.grpc.MethodDescriptor<UpdateModelRequest,Model> |
getUpdateModelMethod() |
static ModelServiceGrpc.ModelServiceBlockingStub |
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
|
static ModelServiceGrpc.ModelServiceFutureStub |
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
|
static ModelServiceGrpc.ModelServiceStub |
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
|
public static final String SERVICE_NAME
public static io.grpc.MethodDescriptor<CreateModelRequest,com.google.longrunning.Operation> getCreateModelMethod()
public static io.grpc.MethodDescriptor<PauseModelRequest,Model> getPauseModelMethod()
public static io.grpc.MethodDescriptor<ResumeModelRequest,Model> getResumeModelMethod()
public static io.grpc.MethodDescriptor<DeleteModelRequest,com.google.protobuf.Empty> getDeleteModelMethod()
public static io.grpc.MethodDescriptor<ListModelsRequest,ListModelsResponse> getListModelsMethod()
public static io.grpc.MethodDescriptor<UpdateModelRequest,Model> getUpdateModelMethod()
public static io.grpc.MethodDescriptor<TuneModelRequest,com.google.longrunning.Operation> getTuneModelMethod()
public static ModelServiceGrpc.ModelServiceStub newStub(io.grpc.Channel channel)
public static ModelServiceGrpc.ModelServiceBlockingStub newBlockingStub(io.grpc.Channel channel)
public static ModelServiceGrpc.ModelServiceFutureStub newFutureStub(io.grpc.Channel channel)
public static io.grpc.ServiceDescriptor getServiceDescriptor()
Copyright © 2022 Google LLC. All rights reserved.