Class ModelServiceGrpc.ModelServiceFutureStub

  • Enclosing class:
    ModelServiceGrpc

    public static final class ModelServiceGrpc.ModelServiceFutureStub
    extends io.grpc.stub.AbstractFutureStub<ModelServiceGrpc.ModelServiceFutureStub>
    A stub to allow clients to do ListenableFuture-style rpc calls to service ModelService.
     A service for managing Vertex AI's machine learning Models.
     
    • Method Detail

      • uploadModel

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> uploadModel​(UploadModelRequest request)
         Uploads a Model artifact into Vertex AI.
         
      • getModel

        public com.google.common.util.concurrent.ListenableFuture<Model> getModel​(GetModelRequest request)
         Gets a Model.
         
      • updateModel

        public com.google.common.util.concurrent.ListenableFuture<Model> updateModel​(UpdateModelRequest request)
         Updates a Model.
         
      • updateExplanationDataset

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateExplanationDataset​(UpdateExplanationDatasetRequest request)
         Incrementally update the dataset used for an examples model.
         
      • deleteModel

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteModel​(DeleteModelRequest request)
         Deletes a Model.
         A model cannot be deleted if any
         [Endpoint][google.cloud.aiplatform.v1.Endpoint] resource has a
         [DeployedModel][google.cloud.aiplatform.v1.DeployedModel] based on the
         model in its
         [deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models]
         field.
         
      • deleteModelVersion

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteModelVersion​(DeleteModelVersionRequest request)
         Deletes a Model version.
         Model version can only be deleted if there are no
         [DeployedModels][google.cloud.aiplatform.v1.DeployedModel] created from it.
         Deleting the only version in the Model is not allowed. Use
         [DeleteModel][google.cloud.aiplatform.v1.ModelService.DeleteModel] for
         deleting the Model instead.
         
      • mergeVersionAliases

        public com.google.common.util.concurrent.ListenableFuture<Model> mergeVersionAliases​(MergeVersionAliasesRequest request)
         Merges a set of aliases for a Model version.
         
      • exportModel

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.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][google.cloud.aiplatform.v1.Model.supported_export_formats].
         
      • copyModel

        public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> copyModel​(CopyModelRequest request)
         Copies an already existing Vertex AI Model into the specified Location.
         The source Model must exist in the same Project.
         When copying custom Models, the users themselves are responsible for
         [Model.metadata][google.cloud.aiplatform.v1.Model.metadata] content to be
         region-agnostic, as well as making sure that any resources (e.g. files) it
         depends on remain accessible.