Send feedback
  
   
 
  
    
      Class JobServiceStub (3.79.0) 
  
  
  
   
  
    
  
  
    
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    Beta 
    
    This library is covered by the Pre-GA Offerings Terms 
    of the  Terms of Service. Pre-GA libraries might have limited support,
    and changes to pre-GA libraries might not be compatible with other pre-GA versions.
    For more information, see the
    launch stage descriptions .
    
   
  
    
public   abstract   class  JobServiceStub   implements   BackgroundResource  
  Base stub class for the JobService service API.
 
This class is for advanced usage and reflects the underlying API directly.
Constructors
   
  Methods
   
  
    
public   UnaryCallable<CancelBatchPredictionJobRequest , Empty >  cancelBatchPredictionJobCallable ()  
  
  
    
public   UnaryCallable<CancelCustomJobRequest , Empty >  cancelCustomJobCallable ()  
  
  
    
public   UnaryCallable<CancelDataLabelingJobRequest , Empty >  cancelDataLabelingJobCallable ()  
  
  
    
public   UnaryCallable<CancelHyperparameterTuningJobRequest , Empty >  cancelHyperparameterTuningJobCallable ()  
  
  
    
public   UnaryCallable<CancelNasJobRequest , Empty >  cancelNasJobCallable ()  
  
  
    
public   abstract   void   close ()  
  
    
public   UnaryCallable<CreateBatchPredictionJobRequest , BatchPredictionJob >  createBatchPredictionJobCallable ()  
  
  
    
public   UnaryCallable<CreateCustomJobRequest , CustomJob >  createCustomJobCallable ()  
  
  
    
public   UnaryCallable<CreateDataLabelingJobRequest , DataLabelingJob >  createDataLabelingJobCallable ()  
  
  
    
public   UnaryCallable<CreateHyperparameterTuningJobRequest , HyperparameterTuningJob >  createHyperparameterTuningJobCallable ()  
  
  
    
public   UnaryCallable<CreateModelDeploymentMonitoringJobRequest , ModelDeploymentMonitoringJob >  createModelDeploymentMonitoringJobCallable ()  
  
  
    
public   UnaryCallable<CreateNasJobRequest , NasJob >  createNasJobCallable ()  
  
  
    
public   UnaryCallable<DeleteBatchPredictionJobRequest , Operation >  deleteBatchPredictionJobCallable ()  
  
  
    
public   OperationCallable<DeleteBatchPredictionJobRequest , Empty , DeleteOperationMetadata >  deleteBatchPredictionJobOperationCallable ()  
  
  
    
public   UnaryCallable<DeleteCustomJobRequest , Operation >  deleteCustomJobCallable ()  
  
  
    
public   OperationCallable<DeleteCustomJobRequest , Empty , DeleteOperationMetadata >  deleteCustomJobOperationCallable ()  
  
  
    
public   UnaryCallable<DeleteDataLabelingJobRequest , Operation >  deleteDataLabelingJobCallable ()  
  
  
    
public   OperationCallable<DeleteDataLabelingJobRequest , Empty , DeleteOperationMetadata >  deleteDataLabelingJobOperationCallable ()  
  
  
    
public   UnaryCallable<DeleteHyperparameterTuningJobRequest , Operation >  deleteHyperparameterTuningJobCallable ()  
  
  
    
public   OperationCallable<DeleteHyperparameterTuningJobRequest , Empty , DeleteOperationMetadata >  deleteHyperparameterTuningJobOperationCallable ()  
  
  
    
public   UnaryCallable<DeleteModelDeploymentMonitoringJobRequest , Operation >  deleteModelDeploymentMonitoringJobCallable ()  
  
  
    
public   OperationCallable<DeleteModelDeploymentMonitoringJobRequest , Empty , DeleteOperationMetadata >  deleteModelDeploymentMonitoringJobOperationCallable ()  
  
  
    
public   UnaryCallable<DeleteNasJobRequest , Operation >  deleteNasJobCallable ()  
  
  
    
public   OperationCallable<DeleteNasJobRequest , Empty , DeleteOperationMetadata >  deleteNasJobOperationCallable ()  
  
  
    
public   UnaryCallable<GetBatchPredictionJobRequest , BatchPredictionJob >  getBatchPredictionJobCallable ()  
  
  
    
public   UnaryCallable<GetCustomJobRequest , CustomJob >  getCustomJobCallable ()  
  
  
    
public   UnaryCallable<GetDataLabelingJobRequest , DataLabelingJob >  getDataLabelingJobCallable ()  
  
  
    
public   UnaryCallable<GetHyperparameterTuningJobRequest , HyperparameterTuningJob >  getHyperparameterTuningJobCallable ()  
  
  
    
public   UnaryCallable<GetIamPolicyRequest , Policy >  getIamPolicyCallable ()  
  
    
      
        Returns  
      
        Type Description  
      
        UnaryCallable <com.google.iam.v1.GetIamPolicyRequest ,com.google.iam.v1.Policy > 
     
  
  
    
public   UnaryCallable<GetLocationRequest , Location >  getLocationCallable ()  
  
    
      
        Returns  
      
        Type Description  
      
        UnaryCallable <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location > 
     
  
  
    
public   UnaryCallable<GetModelDeploymentMonitoringJobRequest , ModelDeploymentMonitoringJob >  getModelDeploymentMonitoringJobCallable ()  
  
  
    
public   UnaryCallable<GetNasJobRequest , NasJob >  getNasJobCallable ()  
  
  
    
public   UnaryCallable<GetNasTrialDetailRequest , NasTrialDetail >  getNasTrialDetailCallable ()  
  
  
    
public   OperationsStub   getOperationsStub ()  
  
  
    
public   UnaryCallable<ListBatchPredictionJobsRequest , ListBatchPredictionJobsResponse >  listBatchPredictionJobsCallable ()  
  
  listBatchPredictionJobsPagedCallable() 
  
    
public   UnaryCallable<ListBatchPredictionJobsRequest , JobServiceClient . ListBatchPredictionJobsPagedResponse >  listBatchPredictionJobsPagedCallable ()  
  
  
    
public   UnaryCallable<ListCustomJobsRequest , ListCustomJobsResponse >  listCustomJobsCallable ()  
  
  listCustomJobsPagedCallable() 
  
    
public   UnaryCallable<ListCustomJobsRequest , JobServiceClient . ListCustomJobsPagedResponse >  listCustomJobsPagedCallable ()  
  
  
    
public   UnaryCallable<ListDataLabelingJobsRequest , ListDataLabelingJobsResponse >  listDataLabelingJobsCallable ()  
  
  listDataLabelingJobsPagedCallable() 
  
    
public   UnaryCallable<ListDataLabelingJobsRequest , JobServiceClient . ListDataLabelingJobsPagedResponse >  listDataLabelingJobsPagedCallable ()  
  
  
    
public   UnaryCallable<ListHyperparameterTuningJobsRequest , ListHyperparameterTuningJobsResponse >  listHyperparameterTuningJobsCallable ()  
  
  listHyperparameterTuningJobsPagedCallable() 
  
    
public   UnaryCallable<ListHyperparameterTuningJobsRequest , JobServiceClient . ListHyperparameterTuningJobsPagedResponse >  listHyperparameterTuningJobsPagedCallable ()  
  
  
    
public   UnaryCallable<ListLocationsRequest , ListLocationsResponse >  listLocationsCallable ()  
  
    
      
        Returns  
      
        Type Description  
      
        UnaryCallable <com.google.cloud.location.ListLocationsRequest ,com.google.cloud.location.ListLocationsResponse > 
     
  
  listLocationsPagedCallable() 
  
    
public   UnaryCallable<ListLocationsRequest , JobServiceClient . ListLocationsPagedResponse >  listLocationsPagedCallable ()  
  
  
    
public   UnaryCallable<ListModelDeploymentMonitoringJobsRequest , ListModelDeploymentMonitoringJobsResponse >  listModelDeploymentMonitoringJobsCallable ()  
  
  listModelDeploymentMonitoringJobsPagedCallable() 
  
    
public   UnaryCallable<ListModelDeploymentMonitoringJobsRequest , JobServiceClient . ListModelDeploymentMonitoringJobsPagedResponse >  listModelDeploymentMonitoringJobsPagedCallable ()  
  
  
    
public   UnaryCallable<ListNasJobsRequest , ListNasJobsResponse >  listNasJobsCallable ()  
  
  listNasJobsPagedCallable() 
  
    
public   UnaryCallable<ListNasJobsRequest , JobServiceClient . ListNasJobsPagedResponse >  listNasJobsPagedCallable ()  
  
  
    
public   UnaryCallable<ListNasTrialDetailsRequest , ListNasTrialDetailsResponse >  listNasTrialDetailsCallable ()  
  
  listNasTrialDetailsPagedCallable() 
  
    
public   UnaryCallable<ListNasTrialDetailsRequest , JobServiceClient . ListNasTrialDetailsPagedResponse >  listNasTrialDetailsPagedCallable ()  
  
  
    
public   UnaryCallable<PauseModelDeploymentMonitoringJobRequest , Empty >  pauseModelDeploymentMonitoringJobCallable ()  
  
  
    
public   UnaryCallable<ResumeModelDeploymentMonitoringJobRequest , Empty >  resumeModelDeploymentMonitoringJobCallable ()  
  
  
    
public   UnaryCallable<SearchModelDeploymentMonitoringStatsAnomaliesRequest , SearchModelDeploymentMonitoringStatsAnomaliesResponse >  searchModelDeploymentMonitoringStatsAnomaliesCallable ()  
  
  searchModelDeploymentMonitoringStatsAnomaliesPagedCallable() 
  
    
public   UnaryCallable<SearchModelDeploymentMonitoringStatsAnomaliesRequest , JobServiceClient . SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse >  searchModelDeploymentMonitoringStatsAnomaliesPagedCallable ()  
  
  
    
public   UnaryCallable<SetIamPolicyRequest , Policy >  setIamPolicyCallable ()  
  
    
      
        Returns  
      
        Type Description  
      
        UnaryCallable <com.google.iam.v1.SetIamPolicyRequest ,com.google.iam.v1.Policy > 
     
  
  
    
public   UnaryCallable<TestIamPermissionsRequest , TestIamPermissionsResponse >  testIamPermissionsCallable ()  
  
    
      
        Returns  
      
        Type Description  
      
        UnaryCallable <com.google.iam.v1.TestIamPermissionsRequest ,com.google.iam.v1.TestIamPermissionsResponse > 
     
  
  
    
public   UnaryCallable<UpdateModelDeploymentMonitoringJobRequest , Operation >  updateModelDeploymentMonitoringJobCallable ()  
  
  
    
public   OperationCallable<UpdateModelDeploymentMonitoringJobRequest , ModelDeploymentMonitoringJob , UpdateModelDeploymentMonitoringJobOperationMetadata >  updateModelDeploymentMonitoringJobOperationCallable ()  
  
 
     
    
  
  
  
     
  
    
    
      
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]