Class ModelServiceGrpc.ModelServiceBlockingStub (2.7.4)

public static final class ModelServiceGrpc.ModelServiceBlockingStub extends AbstractBlockingStub<ModelServiceGrpc.ModelServiceBlockingStub>

A service for managing Vertex AI's machine learning Models.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > ModelServiceGrpc.ModelServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected ModelServiceGrpc.ModelServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ModelServiceGrpc.ModelServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

deleteModel(DeleteModelRequest request)

public Operation deleteModel(DeleteModelRequest request)

Deletes a Model. A model cannot be deleted if any Endpoint resource has a DeployedModel based on the model in its deployed_models field.

Parameter
NameDescription
requestDeleteModelRequest
Returns
TypeDescription
Operation

exportModel(ExportModelRequest request)

public Operation exportModel(ExportModelRequest request)

Exports a trained, exportable Model to a location specified by the user. A Model is considered to be exportable if it has at least one supported export format.

Parameter
NameDescription
requestExportModelRequest
Returns
TypeDescription
Operation

getModel(GetModelRequest request)

public Model getModel(GetModelRequest request)

Gets a Model.

Parameter
NameDescription
requestGetModelRequest
Returns
TypeDescription
Model

getModelEvaluation(GetModelEvaluationRequest request)

public ModelEvaluation getModelEvaluation(GetModelEvaluationRequest request)

Gets a ModelEvaluation.

Parameter
NameDescription
requestGetModelEvaluationRequest
Returns
TypeDescription
ModelEvaluation

getModelEvaluationSlice(GetModelEvaluationSliceRequest request)

public ModelEvaluationSlice getModelEvaluationSlice(GetModelEvaluationSliceRequest request)

Gets a ModelEvaluationSlice.

Parameter
NameDescription
requestGetModelEvaluationSliceRequest
Returns
TypeDescription
ModelEvaluationSlice

listModelEvaluationSlices(ListModelEvaluationSlicesRequest request)

public ListModelEvaluationSlicesResponse listModelEvaluationSlices(ListModelEvaluationSlicesRequest request)

Lists ModelEvaluationSlices in a ModelEvaluation.

Parameter
NameDescription
requestListModelEvaluationSlicesRequest
Returns
TypeDescription
ListModelEvaluationSlicesResponse

listModelEvaluations(ListModelEvaluationsRequest request)

public ListModelEvaluationsResponse listModelEvaluations(ListModelEvaluationsRequest request)

Lists ModelEvaluations in a Model.

Parameter
NameDescription
requestListModelEvaluationsRequest
Returns
TypeDescription
ListModelEvaluationsResponse

listModels(ListModelsRequest request)

public ListModelsResponse listModels(ListModelsRequest request)

Lists Models in a Location.

Parameter
NameDescription
requestListModelsRequest
Returns
TypeDescription
ListModelsResponse

updateModel(UpdateModelRequest request)

public Model updateModel(UpdateModelRequest request)

Updates a Model.

Parameter
NameDescription
requestUpdateModelRequest
Returns
TypeDescription
Model

uploadModel(UploadModelRequest request)

public Operation uploadModel(UploadModelRequest request)

Uploads a Model artifact into Vertex AI.

Parameter
NameDescription
requestUploadModelRequest
Returns
TypeDescription
Operation