Class ModelServiceGrpc.ModelServiceFutureStub (2.5.3)

public static final class ModelServiceGrpc.ModelServiceFutureStub extends AbstractFutureStub<ModelServiceGrpc.ModelServiceFutureStub>

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ModelServiceGrpc.ModelServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

deleteModel(DeleteModelRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<Operation>

exportModel(ExportModelRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<Operation>

getModel(GetModelRequest request)

public ListenableFuture<Model> getModel(GetModelRequest request)

Gets a Model.

Parameter
NameDescription
requestGetModelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Model>

getModelEvaluation(GetModelEvaluationRequest request)

public ListenableFuture<ModelEvaluation> getModelEvaluation(GetModelEvaluationRequest request)

Gets a ModelEvaluation.

Parameter
NameDescription
requestGetModelEvaluationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ModelEvaluation>

getModelEvaluationSlice(GetModelEvaluationSliceRequest request)

public ListenableFuture<ModelEvaluationSlice> getModelEvaluationSlice(GetModelEvaluationSliceRequest request)

Gets a ModelEvaluationSlice.

Parameter
NameDescription
requestGetModelEvaluationSliceRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ModelEvaluationSlice>

listModelEvaluationSlices(ListModelEvaluationSlicesRequest request)

public ListenableFuture<ListModelEvaluationSlicesResponse> listModelEvaluationSlices(ListModelEvaluationSlicesRequest request)

Lists ModelEvaluationSlices in a ModelEvaluation.

Parameter
NameDescription
requestListModelEvaluationSlicesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListModelEvaluationSlicesResponse>

listModelEvaluations(ListModelEvaluationsRequest request)

public ListenableFuture<ListModelEvaluationsResponse> listModelEvaluations(ListModelEvaluationsRequest request)

Lists ModelEvaluations in a Model.

Parameter
NameDescription
requestListModelEvaluationsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListModelEvaluationsResponse>

listModels(ListModelsRequest request)

public ListenableFuture<ListModelsResponse> listModels(ListModelsRequest request)

Lists Models in a Location.

Parameter
NameDescription
requestListModelsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListModelsResponse>

updateModel(UpdateModelRequest request)

public ListenableFuture<Model> updateModel(UpdateModelRequest request)

Updates a Model.

Parameter
NameDescription
requestUpdateModelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Model>

uploadModel(UploadModelRequest request)

public ListenableFuture<Operation> uploadModel(UploadModelRequest request)

Uploads a Model artifact into Vertex AI.

Parameter
NameDescription
requestUploadModelRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>