Package viam.app.mltraining.v1
Class MLTrainingServiceGrpc.MLTrainingServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<MLTrainingServiceGrpc.MLTrainingServiceBlockingStub>
viam.app.mltraining.v1.MLTrainingServiceGrpc.MLTrainingServiceBlockingStub
- Enclosing class:
- MLTrainingServiceGrpc
public static final class MLTrainingServiceGrpc.MLTrainingServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<MLTrainingServiceGrpc.MLTrainingServiceBlockingStub>
A stub to allow clients to do synchronous 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) CancelTrainingJob cancels a training job that has not yet completed.DeleteCompletedTrainingJob removes a completed training job from the database, whether the job succeeded or failed.GetTrainingJob retrieves a training job by its ID.GetTrainingJobLogs gets the logs for a given custom training job.ListTrainingJobs lists training jobs for a given organization ID and training status.SubmitCustomTrainingJob submits a custom training job request.SubmitTrainingJob submits a training job request.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.MLTrainingServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<MLTrainingServiceGrpc.MLTrainingServiceBlockingStub>
-
submitTrainingJob
public MlTraining.SubmitTrainingJobResponse submitTrainingJob(MlTraining.SubmitTrainingJobRequest request) SubmitTrainingJob submits a training job request.
-
submitCustomTrainingJob
public MlTraining.SubmitCustomTrainingJobResponse submitCustomTrainingJob(MlTraining.SubmitCustomTrainingJobRequest request) SubmitCustomTrainingJob submits a custom training job request.
-
getTrainingJob
GetTrainingJob retrieves a training job by its ID.
-
listTrainingJobs
public MlTraining.ListTrainingJobsResponse listTrainingJobs(MlTraining.ListTrainingJobsRequest request) ListTrainingJobs lists training jobs for a given organization ID and training status.
-
cancelTrainingJob
public MlTraining.CancelTrainingJobResponse cancelTrainingJob(MlTraining.CancelTrainingJobRequest request) CancelTrainingJob cancels a training job that has not yet completed.
-
deleteCompletedTrainingJob
public MlTraining.DeleteCompletedTrainingJobResponse deleteCompletedTrainingJob(MlTraining.DeleteCompletedTrainingJobRequest request) DeleteCompletedTrainingJob removes a completed training job from the database, whether the job succeeded or failed.
-
getTrainingJobLogs
public MlTraining.GetTrainingJobLogsResponse getTrainingJobLogs(MlTraining.GetTrainingJobLogsRequest request) GetTrainingJobLogs gets the logs for a given custom training job.
-