Package com.google.cloud.retail.v2beta
Class ModelServiceGrpc
- java.lang.Object
-
- com.google.cloud.retail.v2beta.ModelServiceGrpc
-
@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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ModelServiceGrpc.AsyncService
Service for performing CRUD operations on models.static class
ModelServiceGrpc.ModelServiceBlockingStub
A stub to allow clients to do synchronous rpc calls to service ModelService.static class
ModelServiceGrpc.ModelServiceFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service ModelService.static class
ModelServiceGrpc.ModelServiceImplBase
Base class for the server implementation of the service ModelService.static class
ModelServiceGrpc.ModelServiceStub
A stub to allow clients to do asynchronous rpc calls to service ModelService.
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinition
bindService(ModelServiceGrpc.AsyncService service)
static io.grpc.MethodDescriptor<CreateModelRequest,com.google.longrunning.Operation>
getCreateModelMethod()
static io.grpc.MethodDescriptor<DeleteModelRequest,com.google.protobuf.Empty>
getDeleteModelMethod()
static io.grpc.MethodDescriptor<GetModelRequest,Model>
getGetModelMethod()
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 servicestatic ModelServiceGrpc.ModelServiceFutureStub
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic ModelServiceGrpc.ModelServiceStub
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
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()
-
getListModelsMethod
public static io.grpc.MethodDescriptor<ListModelsRequest,ListModelsResponse> getListModelsMethod()
-
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
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(ModelServiceGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-