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