Package com.google.cloud.aiplatform.v1
Class JobServiceGrpc.JobServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<JobServiceGrpc.JobServiceBlockingStub>
-
- com.google.cloud.aiplatform.v1.JobServiceGrpc.JobServiceBlockingStub
-
- Enclosing class:
- JobServiceGrpc
public static final class JobServiceGrpc.JobServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<JobServiceGrpc.JobServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service JobService.A service for creating and managing Vertex AI's jobs.
-
-
Method Summary
-
-
-
Method Detail
-
build
protected JobServiceGrpc.JobServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<JobServiceGrpc.JobServiceBlockingStub>
-
createCustomJob
public CustomJob createCustomJob(CreateCustomJobRequest request)
Creates a CustomJob. A created CustomJob right away will be attempted to be run.
-
getCustomJob
public CustomJob getCustomJob(GetCustomJobRequest request)
Gets a CustomJob.
-
listCustomJobs
public ListCustomJobsResponse listCustomJobs(ListCustomJobsRequest request)
Lists CustomJobs in a Location.
-
deleteCustomJob
public com.google.longrunning.Operation deleteCustomJob(DeleteCustomJobRequest request)
Deletes a CustomJob.
-
cancelCustomJob
public com.google.protobuf.Empty cancelCustomJob(CancelCustomJobRequest request)
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`.
-
createDataLabelingJob
public DataLabelingJob createDataLabelingJob(CreateDataLabelingJobRequest request)
Creates a DataLabelingJob.
-
getDataLabelingJob
public DataLabelingJob getDataLabelingJob(GetDataLabelingJobRequest request)
Gets a DataLabelingJob.
-
listDataLabelingJobs
public ListDataLabelingJobsResponse listDataLabelingJobs(ListDataLabelingJobsRequest request)
Lists DataLabelingJobs in a Location.
-
deleteDataLabelingJob
public com.google.longrunning.Operation deleteDataLabelingJob(DeleteDataLabelingJobRequest request)
Deletes a DataLabelingJob.
-
cancelDataLabelingJob
public com.google.protobuf.Empty cancelDataLabelingJob(CancelDataLabelingJobRequest request)
Cancels a DataLabelingJob. Success of cancellation is not guaranteed.
-
createHyperparameterTuningJob
public HyperparameterTuningJob createHyperparameterTuningJob(CreateHyperparameterTuningJobRequest request)
Creates a HyperparameterTuningJob
-
getHyperparameterTuningJob
public HyperparameterTuningJob getHyperparameterTuningJob(GetHyperparameterTuningJobRequest request)
Gets a HyperparameterTuningJob
-
listHyperparameterTuningJobs
public ListHyperparameterTuningJobsResponse listHyperparameterTuningJobs(ListHyperparameterTuningJobsRequest request)
Lists HyperparameterTuningJobs in a Location.
-
deleteHyperparameterTuningJob
public com.google.longrunning.Operation deleteHyperparameterTuningJob(DeleteHyperparameterTuningJobRequest request)
Deletes a HyperparameterTuningJob.
-
cancelHyperparameterTuningJob
public com.google.protobuf.Empty cancelHyperparameterTuningJob(CancelHyperparameterTuningJobRequest request)
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 NasJob createNasJob(CreateNasJobRequest request)
Creates a NasJob
-
getNasJob
public NasJob getNasJob(GetNasJobRequest request)
Gets a NasJob
-
listNasJobs
public ListNasJobsResponse listNasJobs(ListNasJobsRequest request)
Lists NasJobs in a Location.
-
deleteNasJob
public com.google.longrunning.Operation deleteNasJob(DeleteNasJobRequest request)
Deletes a NasJob.
-
cancelNasJob
public com.google.protobuf.Empty cancelNasJob(CancelNasJobRequest request)
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`.
-
getNasTrialDetail
public NasTrialDetail getNasTrialDetail(GetNasTrialDetailRequest request)
Gets a NasTrialDetail.
-
listNasTrialDetails
public ListNasTrialDetailsResponse listNasTrialDetails(ListNasTrialDetailsRequest request)
List top NasTrialDetails of a NasJob.
-
createBatchPredictionJob
public BatchPredictionJob createBatchPredictionJob(CreateBatchPredictionJobRequest request)
Creates a BatchPredictionJob. A BatchPredictionJob once created will right away be attempted to start.
-
getBatchPredictionJob
public BatchPredictionJob getBatchPredictionJob(GetBatchPredictionJobRequest request)
Gets a BatchPredictionJob
-
listBatchPredictionJobs
public ListBatchPredictionJobsResponse listBatchPredictionJobs(ListBatchPredictionJobsRequest request)
Lists BatchPredictionJobs in a Location.
-
deleteBatchPredictionJob
public com.google.longrunning.Operation deleteBatchPredictionJob(DeleteBatchPredictionJobRequest request)
Deletes a BatchPredictionJob. Can only be called on jobs that already finished.
-
cancelBatchPredictionJob
public com.google.protobuf.Empty cancelBatchPredictionJob(CancelBatchPredictionJobRequest request)
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.
-
createModelDeploymentMonitoringJob
public ModelDeploymentMonitoringJob createModelDeploymentMonitoringJob(CreateModelDeploymentMonitoringJobRequest request)
Creates a ModelDeploymentMonitoringJob. It will run periodically on a configured interval.
-
searchModelDeploymentMonitoringStatsAnomalies
public SearchModelDeploymentMonitoringStatsAnomaliesResponse searchModelDeploymentMonitoringStatsAnomalies(SearchModelDeploymentMonitoringStatsAnomaliesRequest request)
Searches Model Monitoring Statistics generated within a given time window.
-
getModelDeploymentMonitoringJob
public ModelDeploymentMonitoringJob getModelDeploymentMonitoringJob(GetModelDeploymentMonitoringJobRequest request)
Gets a ModelDeploymentMonitoringJob.
-
listModelDeploymentMonitoringJobs
public ListModelDeploymentMonitoringJobsResponse listModelDeploymentMonitoringJobs(ListModelDeploymentMonitoringJobsRequest request)
Lists ModelDeploymentMonitoringJobs in a Location.
-
updateModelDeploymentMonitoringJob
public com.google.longrunning.Operation updateModelDeploymentMonitoringJob(UpdateModelDeploymentMonitoringJobRequest request)
Updates a ModelDeploymentMonitoringJob.
-
deleteModelDeploymentMonitoringJob
public com.google.longrunning.Operation deleteModelDeploymentMonitoringJob(DeleteModelDeploymentMonitoringJobRequest request)
Deletes a ModelDeploymentMonitoringJob.
-
pauseModelDeploymentMonitoringJob
public com.google.protobuf.Empty pauseModelDeploymentMonitoringJob(PauseModelDeploymentMonitoringJobRequest request)
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 com.google.protobuf.Empty resumeModelDeploymentMonitoringJob(ResumeModelDeploymentMonitoringJobRequest request)
Resumes a paused ModelDeploymentMonitoringJob. It will start to run from next scheduled time. A deleted ModelDeploymentMonitoringJob can't be resumed.
-
-