Class JobServiceGrpc.JobServiceStub

  • Enclosing class:
    JobServiceGrpc

    public static final class JobServiceGrpc.JobServiceStub
    extends io.grpc.stub.AbstractAsyncStub<JobServiceGrpc.JobServiceStub>
    A stub to allow clients to do asynchronous rpc calls to service JobService.
     A service for creating and managing Vertex AI's jobs.
     
    • Method Detail

      • createCustomJob

        public void createCustomJob​(CreateCustomJobRequest request,
                                    io.grpc.stub.StreamObserver<CustomJob> responseObserver)
         Creates a CustomJob. A created CustomJob right away
         will be attempted to be run.
         
      • getCustomJob

        public void getCustomJob​(GetCustomJobRequest request,
                                 io.grpc.stub.StreamObserver<CustomJob> responseObserver)
         Gets a CustomJob.
         
      • deleteCustomJob

        public void deleteCustomJob​(DeleteCustomJobRequest request,
                                    io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes a CustomJob.
         
      • cancelCustomJob

        public void cancelCustomJob​(CancelCustomJobRequest request,
                                    io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Cancels a CustomJob.
         Starts asynchronous cancellation on the CustomJob. The server
         makes a best effort to cancel the job, but success is not
         guaranteed. Clients can use
         [JobService.GetCustomJob][google.cloud.aiplatform.v1.JobService.GetCustomJob]
         or other methods to check whether the cancellation succeeded or whether the
         job completed despite cancellation. On successful cancellation,
         the CustomJob is not deleted; instead it becomes a job with
         a [CustomJob.error][google.cloud.aiplatform.v1.CustomJob.error] value with
         a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
         `Code.CANCELLED`, and
         [CustomJob.state][google.cloud.aiplatform.v1.CustomJob.state] is set to
         `CANCELLED`.
         
      • deleteDataLabelingJob

        public void deleteDataLabelingJob​(DeleteDataLabelingJobRequest request,
                                          io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes a DataLabelingJob.
         
      • cancelDataLabelingJob

        public void cancelDataLabelingJob​(CancelDataLabelingJobRequest request,
                                          io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Cancels a DataLabelingJob. Success of cancellation is not guaranteed.
         
      • deleteHyperparameterTuningJob

        public void deleteHyperparameterTuningJob​(DeleteHyperparameterTuningJobRequest request,
                                                  io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes a HyperparameterTuningJob.
         
      • cancelHyperparameterTuningJob

        public void cancelHyperparameterTuningJob​(CancelHyperparameterTuningJobRequest request,
                                                  io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Cancels a HyperparameterTuningJob.
         Starts asynchronous cancellation on the HyperparameterTuningJob. The server
         makes a best effort to cancel the job, but success is not
         guaranteed. Clients can use
         [JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob]
         or other methods to check whether the cancellation succeeded or whether the
         job completed despite cancellation. On successful cancellation,
         the HyperparameterTuningJob is not deleted; instead it becomes a job with
         a
         [HyperparameterTuningJob.error][google.cloud.aiplatform.v1.HyperparameterTuningJob.error]
         value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
         corresponding to `Code.CANCELLED`, and
         [HyperparameterTuningJob.state][google.cloud.aiplatform.v1.HyperparameterTuningJob.state]
         is set to `CANCELLED`.
         
      • createNasJob

        public void createNasJob​(CreateNasJobRequest request,
                                 io.grpc.stub.StreamObserver<NasJob> responseObserver)
         Creates a NasJob
         
      • getNasJob

        public void getNasJob​(GetNasJobRequest request,
                              io.grpc.stub.StreamObserver<NasJob> responseObserver)
         Gets a NasJob
         
      • deleteNasJob

        public void deleteNasJob​(DeleteNasJobRequest request,
                                 io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes a NasJob.
         
      • cancelNasJob

        public void cancelNasJob​(CancelNasJobRequest request,
                                 io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Cancels a NasJob.
         Starts asynchronous cancellation on the NasJob. The server
         makes a best effort to cancel the job, but success is not
         guaranteed. Clients can use
         [JobService.GetNasJob][google.cloud.aiplatform.v1.JobService.GetNasJob] or
         other methods to check whether the cancellation succeeded or whether the
         job completed despite cancellation. On successful cancellation,
         the NasJob is not deleted; instead it becomes a job with
         a [NasJob.error][google.cloud.aiplatform.v1.NasJob.error] value with a
         [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
         `Code.CANCELLED`, and
         [NasJob.state][google.cloud.aiplatform.v1.NasJob.state] is set to
         `CANCELLED`.
         
      • createBatchPredictionJob

        public void createBatchPredictionJob​(CreateBatchPredictionJobRequest request,
                                             io.grpc.stub.StreamObserver<BatchPredictionJob> responseObserver)
         Creates a BatchPredictionJob. A BatchPredictionJob once created will
         right away be attempted to start.
         
      • deleteBatchPredictionJob

        public void deleteBatchPredictionJob​(DeleteBatchPredictionJobRequest request,
                                             io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes a BatchPredictionJob. Can only be called on jobs that already
         finished.
         
      • cancelBatchPredictionJob

        public void cancelBatchPredictionJob​(CancelBatchPredictionJobRequest request,
                                             io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Cancels a BatchPredictionJob.
         Starts asynchronous cancellation on the BatchPredictionJob. The server
         makes the best effort to cancel the job, but success is not
         guaranteed. Clients can use
         [JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob]
         or other methods to check whether the cancellation succeeded or whether the
         job completed despite cancellation. On a successful cancellation,
         the BatchPredictionJob is not deleted;instead its
         [BatchPredictionJob.state][google.cloud.aiplatform.v1.BatchPredictionJob.state]
         is set to `CANCELLED`. Any files already outputted by the job are not
         deleted.
         
      • updateModelDeploymentMonitoringJob

        public void updateModelDeploymentMonitoringJob​(UpdateModelDeploymentMonitoringJobRequest request,
                                                       io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Updates a ModelDeploymentMonitoringJob.
         
      • deleteModelDeploymentMonitoringJob

        public void deleteModelDeploymentMonitoringJob​(DeleteModelDeploymentMonitoringJobRequest request,
                                                       io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Deletes a ModelDeploymentMonitoringJob.
         
      • pauseModelDeploymentMonitoringJob

        public void pauseModelDeploymentMonitoringJob​(PauseModelDeploymentMonitoringJobRequest request,
                                                      io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Pauses a ModelDeploymentMonitoringJob. If the job is running, the server
         makes a best effort to cancel the job. Will mark
         [ModelDeploymentMonitoringJob.state][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.state]
         to 'PAUSED'.
         
      • resumeModelDeploymentMonitoringJob

        public void resumeModelDeploymentMonitoringJob​(ResumeModelDeploymentMonitoringJobRequest request,
                                                       io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Resumes a paused ModelDeploymentMonitoringJob. It will start to run from
         next scheduled time. A deleted ModelDeploymentMonitoringJob can't be
         resumed.