Package viam.app.mltraining.v1
Class MLTrainingServiceGrpc.MLTrainingServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<MLTrainingServiceGrpc.MLTrainingServiceFutureStub>
viam.app.mltraining.v1.MLTrainingServiceGrpc.MLTrainingServiceFutureStub
- Enclosing class:
- MLTrainingServiceGrpc
public static final class MLTrainingServiceGrpc.MLTrainingServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<MLTrainingServiceGrpc.MLTrainingServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service MLTrainingService.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<MlTraining.CancelTrainingJobResponse>
CancelTrainingJob cancels a training job that has not yet completed.com.google.common.util.concurrent.ListenableFuture<MlTraining.DeleteCompletedTrainingJobResponse>
DeleteCompletedTrainingJob removes a completed training job from the database, whether the job succeeded or failed.com.google.common.util.concurrent.ListenableFuture<MlTraining.GetTrainingJobResponse>
GetTrainingJob retrieves a training job by its ID.com.google.common.util.concurrent.ListenableFuture<MlTraining.GetTrainingJobLogsResponse>
GetTrainingJobLogs gets the logs for a given custom training job.com.google.common.util.concurrent.ListenableFuture<MlTraining.ListTrainingJobsResponse>
ListTrainingJobs lists training jobs for a given organization ID and training status.com.google.common.util.concurrent.ListenableFuture<MlTraining.SubmitCustomTrainingJobResponse>
SubmitCustomTrainingJob submits a custom training job request.com.google.common.util.concurrent.ListenableFuture<MlTraining.SubmitTrainingJobResponse>
SubmitTrainingJob submits a training job request.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected MLTrainingServiceGrpc.MLTrainingServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<MLTrainingServiceGrpc.MLTrainingServiceFutureStub>
-
submitTrainingJob
public com.google.common.util.concurrent.ListenableFuture<MlTraining.SubmitTrainingJobResponse> submitTrainingJob(MlTraining.SubmitTrainingJobRequest request) SubmitTrainingJob submits a training job request.
-
submitCustomTrainingJob
public com.google.common.util.concurrent.ListenableFuture<MlTraining.SubmitCustomTrainingJobResponse> submitCustomTrainingJob(MlTraining.SubmitCustomTrainingJobRequest request) SubmitCustomTrainingJob submits a custom training job request.
-
getTrainingJob
public com.google.common.util.concurrent.ListenableFuture<MlTraining.GetTrainingJobResponse> getTrainingJob(MlTraining.GetTrainingJobRequest request) GetTrainingJob retrieves a training job by its ID.
-
listTrainingJobs
public com.google.common.util.concurrent.ListenableFuture<MlTraining.ListTrainingJobsResponse> listTrainingJobs(MlTraining.ListTrainingJobsRequest request) ListTrainingJobs lists training jobs for a given organization ID and training status.
-
cancelTrainingJob
public com.google.common.util.concurrent.ListenableFuture<MlTraining.CancelTrainingJobResponse> cancelTrainingJob(MlTraining.CancelTrainingJobRequest request) CancelTrainingJob cancels a training job that has not yet completed.
-
deleteCompletedTrainingJob
public com.google.common.util.concurrent.ListenableFuture<MlTraining.DeleteCompletedTrainingJobResponse> deleteCompletedTrainingJob(MlTraining.DeleteCompletedTrainingJobRequest request) DeleteCompletedTrainingJob removes a completed training job from the database, whether the job succeeded or failed.
-
getTrainingJobLogs
public com.google.common.util.concurrent.ListenableFuture<MlTraining.GetTrainingJobLogsResponse> getTrainingJobLogs(MlTraining.GetTrainingJobLogsRequest request) GetTrainingJobLogs gets the logs for a given custom training job.
-