Send feedback
Class ModelServiceGrpc (2.64.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class ModelServiceGrpc
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.
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value
Type
Description
String
Static Methods
bindService(ModelServiceGrpc.AsyncService service)
public static final ServerServiceDefinition bindService ( ModelServiceGrpc . AsyncService service )
Returns
Type
Description
io.grpc.ServerServiceDefinition
getCreateModelMethod()
public static MethodDescriptor<CreateModelRequest , Operation > getCreateModelMethod ()
getDeleteModelMethod()
public static MethodDescriptor<DeleteModelRequest , Empty > getDeleteModelMethod ()
getGetModelMethod()
public static MethodDescriptor<GetModelRequest , Model > getGetModelMethod ()
getListModelsMethod()
public static MethodDescriptor<ListModelsRequest , ListModelsResponse > getListModelsMethod ()
getPauseModelMethod()
public static MethodDescriptor<PauseModelRequest , Model > getPauseModelMethod ()
getResumeModelMethod()
public static MethodDescriptor<ResumeModelRequest , Model > getResumeModelMethod ()
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor ()
Returns
Type
Description
io.grpc.ServiceDescriptor
getTuneModelMethod()
public static MethodDescriptor<TuneModelRequest , Operation > getTuneModelMethod ()
getUpdateModelMethod()
public static MethodDescriptor<UpdateModelRequest , Model > getUpdateModelMethod ()
newBlockingStub(Channel channel)
public static ModelServiceGrpc . ModelServiceBlockingStub newBlockingStub ( Channel channel )
Creates a new blocking-style stub that supports unary and streaming output calls on the service
Parameter
Name
Description
channel
io.grpc.Channel
newBlockingV2Stub(Channel channel)
public static ModelServiceGrpc . ModelServiceBlockingV2Stub newBlockingV2Stub ( Channel channel )
Creates a new blocking-style stub that supports all types of calls on the service
Parameter
Name
Description
channel
io.grpc.Channel
newFutureStub(Channel channel)
public static ModelServiceGrpc . ModelServiceFutureStub newFutureStub ( Channel channel )
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter
Name
Description
channel
io.grpc.Channel
newStub(Channel channel)
public static ModelServiceGrpc . ModelServiceStub newStub ( Channel channel )
Creates a new async stub that supports all call types for the service
Parameter
Name
Description
channel
io.grpc.Channel
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[]]