Send feedback
Class ModelServiceGrpc.ModelServiceStub (3.4.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.4.1 keyboard_arrow_down
public static final class ModelServiceGrpc . ModelServiceStub extends AbstractAsyncStub<ModelServiceGrpc . ModelServiceStub >
A service for managing Vertex AI's machine learning Models.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
ModelServiceGrpc.ModelServiceStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<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 void batchImportModelEvaluationSlices ( BatchImportModelEvaluationSlicesRequest request , StreamObserver<BatchImportModelEvaluationSlicesResponse> responseObserver )
Imports a list of externally generated ModelEvaluationSlice.
Parameters
protected ModelServiceGrpc . ModelServiceStub 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 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
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
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
public void getModel ( GetModelRequest request , StreamObserver<Model> responseObserver )
Parameters
public void getModelEvaluation ( GetModelEvaluationRequest request , StreamObserver<ModelEvaluation> responseObserver )
Parameters
public void getModelEvaluationSlice ( GetModelEvaluationSliceRequest request , StreamObserver<ModelEvaluationSlice> responseObserver )
Gets a ModelEvaluationSlice.
Parameters
public void importModelEvaluation ( ImportModelEvaluationRequest request , StreamObserver<ModelEvaluation> responseObserver )
Imports an externally generated ModelEvaluation.
Parameters
public void listModelEvaluationSlices ( ListModelEvaluationSlicesRequest request , StreamObserver<ListModelEvaluationSlicesResponse> responseObserver )
Lists ModelEvaluationSlices in a ModelEvaluation.
Parameters
public void listModelEvaluations ( ListModelEvaluationsRequest request , StreamObserver<ListModelEvaluationsResponse> responseObserver )
Lists ModelEvaluations in a Model.
Parameters
public void listModelVersions ( ListModelVersionsRequest request , StreamObserver<ListModelVersionsResponse> responseObserver )
Lists versions of the specified model.
Parameters
public void listModels ( ListModelsRequest request , StreamObserver<ListModelsResponse> responseObserver )
Lists Models in a Location.
Parameters
public void mergeVersionAliases ( MergeVersionAliasesRequest request , StreamObserver<Model> responseObserver )
Merges a set of aliases for a Model version.
Parameters
public void updateExplanationDataset ( UpdateExplanationDatasetRequest request , StreamObserver<Operation> responseObserver )
Incrementally update the dataset used for an examples model.
Parameters
public void updateModel ( UpdateModelRequest request , StreamObserver<Model> responseObserver )
Parameters
public void uploadModel ( UploadModelRequest request , StreamObserver<Operation> responseObserver )
Uploads a Model artifact into Vertex AI.
Parameters
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]