- 3.56.0 (latest)
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class ModelServiceGrpc.ModelServiceStub extends AbstractAsyncStub<ModelServiceGrpc.ModelServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ModelService.
A service for managing Vertex AI's machine learning Models.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ModelServiceGrpc.ModelServiceStubMethods
batchImportEvaluatedAnnotations(BatchImportEvaluatedAnnotationsRequest request, StreamObserver<BatchImportEvaluatedAnnotationsResponse> responseObserver)
public void batchImportEvaluatedAnnotations(BatchImportEvaluatedAnnotationsRequest request, StreamObserver<BatchImportEvaluatedAnnotationsResponse> responseObserver)
Imports a list of externally generated EvaluatedAnnotations.
Parameters | |
---|---|
Name | Description |
request | BatchImportEvaluatedAnnotationsRequest |
responseObserver | io.grpc.stub.StreamObserver<BatchImportEvaluatedAnnotationsResponse> |
batchImportModelEvaluationSlices(BatchImportModelEvaluationSlicesRequest request, StreamObserver<BatchImportModelEvaluationSlicesResponse> responseObserver)
public void batchImportModelEvaluationSlices(BatchImportModelEvaluationSlicesRequest request, StreamObserver<BatchImportModelEvaluationSlicesResponse> responseObserver)
Imports a list of externally generated ModelEvaluationSlice.
Parameters | |
---|---|
Name | Description |
request | BatchImportModelEvaluationSlicesRequest |
responseObserver | io.grpc.stub.StreamObserver<BatchImportModelEvaluationSlicesResponse> |
build(Channel channel, CallOptions callOptions)
protected ModelServiceGrpc.ModelServiceStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
ModelServiceGrpc.ModelServiceStub |
copyModel(CopyModelRequest request, StreamObserver<Operation> responseObserver)
public void copyModel(CopyModelRequest request, StreamObserver<Operation> responseObserver)
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 content to be region-agnostic, as well as making sure that any resources (e.g. files) it depends on remain accessible.
Parameters | |
---|---|
Name | Description |
request | CopyModelRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteModel(DeleteModelRequest request, StreamObserver<Operation> responseObserver)
public void deleteModel(DeleteModelRequest request, StreamObserver<Operation> responseObserver)
Deletes a Model. A model cannot be deleted if any Endpoint resource has a DeployedModel based on the model in its deployed_models field.
Parameters | |
---|---|
Name | Description |
request | DeleteModelRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteModelVersion(DeleteModelVersionRequest request, StreamObserver<Operation> responseObserver)
public void deleteModelVersion(DeleteModelVersionRequest request, StreamObserver<Operation> responseObserver)
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.
Parameters | |
---|---|
Name | Description |
request | DeleteModelVersionRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
exportModel(ExportModelRequest request, StreamObserver<Operation> responseObserver)
public void exportModel(ExportModelRequest request, StreamObserver<Operation> responseObserver)
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.
Parameters | |
---|---|
Name | Description |
request | ExportModelRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
getModel(GetModelRequest request, StreamObserver<Model> responseObserver)
public void getModel(GetModelRequest request, StreamObserver<Model> responseObserver)
Gets a Model.
Parameters | |
---|---|
Name | Description |
request | GetModelRequest |
responseObserver | io.grpc.stub.StreamObserver<Model> |
getModelEvaluation(GetModelEvaluationRequest request, StreamObserver<ModelEvaluation> responseObserver)
public void getModelEvaluation(GetModelEvaluationRequest request, StreamObserver<ModelEvaluation> responseObserver)
Gets a ModelEvaluation.
Parameters | |
---|---|
Name | Description |
request | GetModelEvaluationRequest |
responseObserver | io.grpc.stub.StreamObserver<ModelEvaluation> |
getModelEvaluationSlice(GetModelEvaluationSliceRequest request, StreamObserver<ModelEvaluationSlice> responseObserver)
public void getModelEvaluationSlice(GetModelEvaluationSliceRequest request, StreamObserver<ModelEvaluationSlice> responseObserver)
Gets a ModelEvaluationSlice.
Parameters | |
---|---|
Name | Description |
request | GetModelEvaluationSliceRequest |
responseObserver | io.grpc.stub.StreamObserver<ModelEvaluationSlice> |
importModelEvaluation(ImportModelEvaluationRequest request, StreamObserver<ModelEvaluation> responseObserver)
public void importModelEvaluation(ImportModelEvaluationRequest request, StreamObserver<ModelEvaluation> responseObserver)
Imports an externally generated ModelEvaluation.
Parameters | |
---|---|
Name | Description |
request | ImportModelEvaluationRequest |
responseObserver | io.grpc.stub.StreamObserver<ModelEvaluation> |
listModelEvaluationSlices(ListModelEvaluationSlicesRequest request, StreamObserver<ListModelEvaluationSlicesResponse> responseObserver)
public void listModelEvaluationSlices(ListModelEvaluationSlicesRequest request, StreamObserver<ListModelEvaluationSlicesResponse> responseObserver)
Lists ModelEvaluationSlices in a ModelEvaluation.
Parameters | |
---|---|
Name | Description |
request | ListModelEvaluationSlicesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListModelEvaluationSlicesResponse> |
listModelEvaluations(ListModelEvaluationsRequest request, StreamObserver<ListModelEvaluationsResponse> responseObserver)
public void listModelEvaluations(ListModelEvaluationsRequest request, StreamObserver<ListModelEvaluationsResponse> responseObserver)
Lists ModelEvaluations in a Model.
Parameters | |
---|---|
Name | Description |
request | ListModelEvaluationsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListModelEvaluationsResponse> |
listModelVersions(ListModelVersionsRequest request, StreamObserver<ListModelVersionsResponse> responseObserver)
public void listModelVersions(ListModelVersionsRequest request, StreamObserver<ListModelVersionsResponse> responseObserver)
Lists versions of the specified model.
Parameters | |
---|---|
Name | Description |
request | ListModelVersionsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListModelVersionsResponse> |
listModels(ListModelsRequest request, StreamObserver<ListModelsResponse> responseObserver)
public void listModels(ListModelsRequest request, StreamObserver<ListModelsResponse> responseObserver)
Lists Models in a Location.
Parameters | |
---|---|
Name | Description |
request | ListModelsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListModelsResponse> |
mergeVersionAliases(MergeVersionAliasesRequest request, StreamObserver<Model> responseObserver)
public void mergeVersionAliases(MergeVersionAliasesRequest request, StreamObserver<Model> responseObserver)
Merges a set of aliases for a Model version.
Parameters | |
---|---|
Name | Description |
request | MergeVersionAliasesRequest |
responseObserver | io.grpc.stub.StreamObserver<Model> |
updateModel(UpdateModelRequest request, StreamObserver<Model> responseObserver)
public void updateModel(UpdateModelRequest request, StreamObserver<Model> responseObserver)
Updates a Model.
Parameters | |
---|---|
Name | Description |
request | UpdateModelRequest |
responseObserver | io.grpc.stub.StreamObserver<Model> |
uploadModel(UploadModelRequest request, StreamObserver<Operation> responseObserver)
public void uploadModel(UploadModelRequest request, StreamObserver<Operation> responseObserver)
Uploads a Model artifact into Vertex AI.
Parameters | |
---|---|
Name | Description |
request | UploadModelRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |