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
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
public ListenableFuture<BatchImportModelEvaluationSlicesResponse> batchImportModelEvaluationSlices(BatchImportModelEvaluationSlicesRequest request)
Imports a list of externally generated ModelEvaluationSlice.
Parameter
Returns
protected ModelServiceGrpc.ModelServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
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
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
public ListenableFuture<Operation> deleteModelVersion(DeleteModelVersionRequest request)
Deletes a Model version.
Model version can only be deleted if there are no [DeployedModels][]
created from it. Deleting the only version in the Model is not allowed. Use
DeleteModel for deleting the Model instead.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
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
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
public ListenableFuture<Model> getModel(GetModelRequest request)
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Model> | |
public ListenableFuture<ModelEvaluation> getModelEvaluation(GetModelEvaluationRequest request)
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ModelEvaluation> | |
public ListenableFuture<ModelEvaluationSlice> getModelEvaluationSlice(GetModelEvaluationSliceRequest request)
Gets a ModelEvaluationSlice.
Parameter
Returns
public ListenableFuture<ModelEvaluation> importModelEvaluation(ImportModelEvaluationRequest request)
Imports an externally generated ModelEvaluation.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ModelEvaluation> | |
public ListenableFuture<ListModelEvaluationSlicesResponse> listModelEvaluationSlices(ListModelEvaluationSlicesRequest request)
Lists ModelEvaluationSlices in a ModelEvaluation.
Parameter
Returns
public ListenableFuture<ListModelEvaluationsResponse> listModelEvaluations(ListModelEvaluationsRequest request)
Lists ModelEvaluations in a Model.
Parameter
Returns
public ListenableFuture<ListModelVersionsResponse> listModelVersions(ListModelVersionsRequest request)
Lists versions of the specified model.
Parameter
Returns
public ListenableFuture<ListModelsResponse> listModels(ListModelsRequest request)
Lists Models in a Location.
Parameter
Returns
public ListenableFuture<Model> mergeVersionAliases(MergeVersionAliasesRequest request)
Merges a set of aliases for a Model version.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Model> | |
public ListenableFuture<Operation> updateExplanationDataset(UpdateExplanationDatasetRequest request)
Incrementally update the dataset used for an examples model.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |
public ListenableFuture<Model> updateModel(UpdateModelRequest request)
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Model> | |
public ListenableFuture<Operation> uploadModel(UploadModelRequest request)
Uploads a Model artifact into Vertex AI.
Parameter
Returns
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> | |