Class JobServiceSettings.Builder (3.44.0)

public static class JobServiceSettings.Builder extends ClientSettings.Builder<JobServiceSettings,JobServiceSettings.Builder>

Builder for JobServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > JobServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(JobServiceSettings settings)

protected Builder(JobServiceSettings settings)
Parameter
Name Description
settings JobServiceSettings

Builder(JobServiceStubSettings.Builder stubSettings)

protected Builder(JobServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings JobServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public JobServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
JobServiceSettings.Builder

build()

public JobServiceSettings build()
Returns
Type Description
JobServiceSettings
Overrides
Exceptions
Type Description
IOException

cancelBatchPredictionJobSettings()

public UnaryCallSettings.Builder<CancelBatchPredictionJobRequest,Empty> cancelBatchPredictionJobSettings()

Returns the builder for the settings used for calls to cancelBatchPredictionJob.

Returns
Type Description
Builder<CancelBatchPredictionJobRequest,Empty>

cancelCustomJobSettings()

public UnaryCallSettings.Builder<CancelCustomJobRequest,Empty> cancelCustomJobSettings()

Returns the builder for the settings used for calls to cancelCustomJob.

Returns
Type Description
Builder<CancelCustomJobRequest,Empty>

cancelDataLabelingJobSettings()

public UnaryCallSettings.Builder<CancelDataLabelingJobRequest,Empty> cancelDataLabelingJobSettings()

Returns the builder for the settings used for calls to cancelDataLabelingJob.

Returns
Type Description
Builder<CancelDataLabelingJobRequest,Empty>

cancelHyperparameterTuningJobSettings()

public UnaryCallSettings.Builder<CancelHyperparameterTuningJobRequest,Empty> cancelHyperparameterTuningJobSettings()

Returns the builder for the settings used for calls to cancelHyperparameterTuningJob.

Returns
Type Description
Builder<CancelHyperparameterTuningJobRequest,Empty>

cancelNasJobSettings()

public UnaryCallSettings.Builder<CancelNasJobRequest,Empty> cancelNasJobSettings()

Returns the builder for the settings used for calls to cancelNasJob.

Returns
Type Description
Builder<CancelNasJobRequest,Empty>

createBatchPredictionJobSettings()

public UnaryCallSettings.Builder<CreateBatchPredictionJobRequest,BatchPredictionJob> createBatchPredictionJobSettings()

Returns the builder for the settings used for calls to createBatchPredictionJob.

Returns
Type Description
Builder<CreateBatchPredictionJobRequest,BatchPredictionJob>

createCustomJobSettings()

public UnaryCallSettings.Builder<CreateCustomJobRequest,CustomJob> createCustomJobSettings()

Returns the builder for the settings used for calls to createCustomJob.

Returns
Type Description
Builder<CreateCustomJobRequest,CustomJob>

createDataLabelingJobSettings()

public UnaryCallSettings.Builder<CreateDataLabelingJobRequest,DataLabelingJob> createDataLabelingJobSettings()

Returns the builder for the settings used for calls to createDataLabelingJob.

Returns
Type Description
Builder<CreateDataLabelingJobRequest,DataLabelingJob>

createHyperparameterTuningJobSettings()

public UnaryCallSettings.Builder<CreateHyperparameterTuningJobRequest,HyperparameterTuningJob> createHyperparameterTuningJobSettings()

Returns the builder for the settings used for calls to createHyperparameterTuningJob.

Returns
Type Description
Builder<CreateHyperparameterTuningJobRequest,HyperparameterTuningJob>

createModelDeploymentMonitoringJobSettings()

public UnaryCallSettings.Builder<CreateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob> createModelDeploymentMonitoringJobSettings()

Returns the builder for the settings used for calls to createModelDeploymentMonitoringJob.

Returns
Type Description
Builder<CreateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob>

createNasJobSettings()

public UnaryCallSettings.Builder<CreateNasJobRequest,NasJob> createNasJobSettings()

Returns the builder for the settings used for calls to createNasJob.

Returns
Type Description
Builder<CreateNasJobRequest,NasJob>

deleteBatchPredictionJobOperationSettings()

public OperationCallSettings.Builder<DeleteBatchPredictionJobRequest,Empty,DeleteOperationMetadata> deleteBatchPredictionJobOperationSettings()

Returns the builder for the settings used for calls to deleteBatchPredictionJob.

Returns
Type Description
Builder<DeleteBatchPredictionJobRequest,Empty,DeleteOperationMetadata>

deleteBatchPredictionJobSettings()

public UnaryCallSettings.Builder<DeleteBatchPredictionJobRequest,Operation> deleteBatchPredictionJobSettings()

Returns the builder for the settings used for calls to deleteBatchPredictionJob.

Returns
Type Description
Builder<DeleteBatchPredictionJobRequest,Operation>

deleteCustomJobOperationSettings()

public OperationCallSettings.Builder<DeleteCustomJobRequest,Empty,DeleteOperationMetadata> deleteCustomJobOperationSettings()

Returns the builder for the settings used for calls to deleteCustomJob.

Returns
Type Description
Builder<DeleteCustomJobRequest,Empty,DeleteOperationMetadata>

deleteCustomJobSettings()

public UnaryCallSettings.Builder<DeleteCustomJobRequest,Operation> deleteCustomJobSettings()

Returns the builder for the settings used for calls to deleteCustomJob.

Returns
Type Description
Builder<DeleteCustomJobRequest,Operation>

deleteDataLabelingJobOperationSettings()

public OperationCallSettings.Builder<DeleteDataLabelingJobRequest,Empty,DeleteOperationMetadata> deleteDataLabelingJobOperationSettings()

Returns the builder for the settings used for calls to deleteDataLabelingJob.

Returns
Type Description
Builder<DeleteDataLabelingJobRequest,Empty,DeleteOperationMetadata>

deleteDataLabelingJobSettings()

public UnaryCallSettings.Builder<DeleteDataLabelingJobRequest,Operation> deleteDataLabelingJobSettings()

Returns the builder for the settings used for calls to deleteDataLabelingJob.

Returns
Type Description
Builder<DeleteDataLabelingJobRequest,Operation>

deleteHyperparameterTuningJobOperationSettings()

public OperationCallSettings.Builder<DeleteHyperparameterTuningJobRequest,Empty,DeleteOperationMetadata> deleteHyperparameterTuningJobOperationSettings()

Returns the builder for the settings used for calls to deleteHyperparameterTuningJob.

Returns
Type Description
Builder<DeleteHyperparameterTuningJobRequest,Empty,DeleteOperationMetadata>

deleteHyperparameterTuningJobSettings()

public UnaryCallSettings.Builder<DeleteHyperparameterTuningJobRequest,Operation> deleteHyperparameterTuningJobSettings()

Returns the builder for the settings used for calls to deleteHyperparameterTuningJob.

Returns
Type Description
Builder<DeleteHyperparameterTuningJobRequest,Operation>

deleteModelDeploymentMonitoringJobOperationSettings()

public OperationCallSettings.Builder<DeleteModelDeploymentMonitoringJobRequest,Empty,DeleteOperationMetadata> deleteModelDeploymentMonitoringJobOperationSettings()

Returns the builder for the settings used for calls to deleteModelDeploymentMonitoringJob.

Returns
Type Description
Builder<DeleteModelDeploymentMonitoringJobRequest,Empty,DeleteOperationMetadata>

deleteModelDeploymentMonitoringJobSettings()

public UnaryCallSettings.Builder<DeleteModelDeploymentMonitoringJobRequest,Operation> deleteModelDeploymentMonitoringJobSettings()

Returns the builder for the settings used for calls to deleteModelDeploymentMonitoringJob.

Returns
Type Description
Builder<DeleteModelDeploymentMonitoringJobRequest,Operation>

deleteNasJobOperationSettings()

public OperationCallSettings.Builder<DeleteNasJobRequest,Empty,DeleteOperationMetadata> deleteNasJobOperationSettings()

Returns the builder for the settings used for calls to deleteNasJob.

Returns
Type Description
Builder<DeleteNasJobRequest,Empty,DeleteOperationMetadata>

deleteNasJobSettings()

public UnaryCallSettings.Builder<DeleteNasJobRequest,Operation> deleteNasJobSettings()

Returns the builder for the settings used for calls to deleteNasJob.

Returns
Type Description
Builder<DeleteNasJobRequest,Operation>

getBatchPredictionJobSettings()

public UnaryCallSettings.Builder<GetBatchPredictionJobRequest,BatchPredictionJob> getBatchPredictionJobSettings()

Returns the builder for the settings used for calls to getBatchPredictionJob.

Returns
Type Description
Builder<GetBatchPredictionJobRequest,BatchPredictionJob>

getCustomJobSettings()

public UnaryCallSettings.Builder<GetCustomJobRequest,CustomJob> getCustomJobSettings()

Returns the builder for the settings used for calls to getCustomJob.

Returns
Type Description
Builder<GetCustomJobRequest,CustomJob>

getDataLabelingJobSettings()

public UnaryCallSettings.Builder<GetDataLabelingJobRequest,DataLabelingJob> getDataLabelingJobSettings()

Returns the builder for the settings used for calls to getDataLabelingJob.

Returns
Type Description
Builder<GetDataLabelingJobRequest,DataLabelingJob>

getHyperparameterTuningJobSettings()

public UnaryCallSettings.Builder<GetHyperparameterTuningJobRequest,HyperparameterTuningJob> getHyperparameterTuningJobSettings()

Returns the builder for the settings used for calls to getHyperparameterTuningJob.

Returns
Type Description
Builder<GetHyperparameterTuningJobRequest,HyperparameterTuningJob>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

Returns the builder for the settings used for calls to getIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getModelDeploymentMonitoringJobSettings()

public UnaryCallSettings.Builder<GetModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob> getModelDeploymentMonitoringJobSettings()

Returns the builder for the settings used for calls to getModelDeploymentMonitoringJob.

Returns
Type Description
Builder<GetModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob>

getNasJobSettings()

public UnaryCallSettings.Builder<GetNasJobRequest,NasJob> getNasJobSettings()

Returns the builder for the settings used for calls to getNasJob.

Returns
Type Description
Builder<GetNasJobRequest,NasJob>

getNasTrialDetailSettings()

public UnaryCallSettings.Builder<GetNasTrialDetailRequest,NasTrialDetail> getNasTrialDetailSettings()

Returns the builder for the settings used for calls to getNasTrialDetail.

Returns
Type Description
Builder<GetNasTrialDetailRequest,NasTrialDetail>

getStubSettingsBuilder()

public JobServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
JobServiceStubSettings.Builder

listBatchPredictionJobsSettings()

public PagedCallSettings.Builder<ListBatchPredictionJobsRequest,ListBatchPredictionJobsResponse,JobServiceClient.ListBatchPredictionJobsPagedResponse> listBatchPredictionJobsSettings()

Returns the builder for the settings used for calls to listBatchPredictionJobs.

Returns
Type Description
Builder<ListBatchPredictionJobsRequest,ListBatchPredictionJobsResponse,ListBatchPredictionJobsPagedResponse>

listCustomJobsSettings()

public PagedCallSettings.Builder<ListCustomJobsRequest,ListCustomJobsResponse,JobServiceClient.ListCustomJobsPagedResponse> listCustomJobsSettings()

Returns the builder for the settings used for calls to listCustomJobs.

Returns
Type Description
Builder<ListCustomJobsRequest,ListCustomJobsResponse,ListCustomJobsPagedResponse>

listDataLabelingJobsSettings()

public PagedCallSettings.Builder<ListDataLabelingJobsRequest,ListDataLabelingJobsResponse,JobServiceClient.ListDataLabelingJobsPagedResponse> listDataLabelingJobsSettings()

Returns the builder for the settings used for calls to listDataLabelingJobs.

Returns
Type Description
Builder<ListDataLabelingJobsRequest,ListDataLabelingJobsResponse,ListDataLabelingJobsPagedResponse>

listHyperparameterTuningJobsSettings()

public PagedCallSettings.Builder<ListHyperparameterTuningJobsRequest,ListHyperparameterTuningJobsResponse,JobServiceClient.ListHyperparameterTuningJobsPagedResponse> listHyperparameterTuningJobsSettings()

Returns the builder for the settings used for calls to listHyperparameterTuningJobs.

Returns
Type Description
Builder<ListHyperparameterTuningJobsRequest,ListHyperparameterTuningJobsResponse,ListHyperparameterTuningJobsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,JobServiceClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listModelDeploymentMonitoringJobsSettings()

public PagedCallSettings.Builder<ListModelDeploymentMonitoringJobsRequest,ListModelDeploymentMonitoringJobsResponse,JobServiceClient.ListModelDeploymentMonitoringJobsPagedResponse> listModelDeploymentMonitoringJobsSettings()

Returns the builder for the settings used for calls to listModelDeploymentMonitoringJobs.

Returns
Type Description
Builder<ListModelDeploymentMonitoringJobsRequest,ListModelDeploymentMonitoringJobsResponse,ListModelDeploymentMonitoringJobsPagedResponse>

listNasJobsSettings()

public PagedCallSettings.Builder<ListNasJobsRequest,ListNasJobsResponse,JobServiceClient.ListNasJobsPagedResponse> listNasJobsSettings()

Returns the builder for the settings used for calls to listNasJobs.

Returns
Type Description
Builder<ListNasJobsRequest,ListNasJobsResponse,ListNasJobsPagedResponse>

listNasTrialDetailsSettings()

public PagedCallSettings.Builder<ListNasTrialDetailsRequest,ListNasTrialDetailsResponse,JobServiceClient.ListNasTrialDetailsPagedResponse> listNasTrialDetailsSettings()

Returns the builder for the settings used for calls to listNasTrialDetails.

Returns
Type Description
Builder<ListNasTrialDetailsRequest,ListNasTrialDetailsResponse,ListNasTrialDetailsPagedResponse>

pauseModelDeploymentMonitoringJobSettings()

public UnaryCallSettings.Builder<PauseModelDeploymentMonitoringJobRequest,Empty> pauseModelDeploymentMonitoringJobSettings()

Returns the builder for the settings used for calls to pauseModelDeploymentMonitoringJob.

Returns
Type Description
Builder<PauseModelDeploymentMonitoringJobRequest,Empty>

resumeModelDeploymentMonitoringJobSettings()

public UnaryCallSettings.Builder<ResumeModelDeploymentMonitoringJobRequest,Empty> resumeModelDeploymentMonitoringJobSettings()

Returns the builder for the settings used for calls to resumeModelDeploymentMonitoringJob.

Returns
Type Description
Builder<ResumeModelDeploymentMonitoringJobRequest,Empty>

searchModelDeploymentMonitoringStatsAnomaliesSettings()

public PagedCallSettings.Builder<SearchModelDeploymentMonitoringStatsAnomaliesRequest,SearchModelDeploymentMonitoringStatsAnomaliesResponse,JobServiceClient.SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse> searchModelDeploymentMonitoringStatsAnomaliesSettings()

Returns the builder for the settings used for calls to searchModelDeploymentMonitoringStatsAnomalies.

Returns
Type Description
Builder<SearchModelDeploymentMonitoringStatsAnomaliesRequest,SearchModelDeploymentMonitoringStatsAnomaliesResponse,SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

Returns the builder for the settings used for calls to setIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

Returns the builder for the settings used for calls to testIamPermissions.

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateModelDeploymentMonitoringJobOperationSettings()

public OperationCallSettings.Builder<UpdateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob,UpdateModelDeploymentMonitoringJobOperationMetadata> updateModelDeploymentMonitoringJobOperationSettings()

Returns the builder for the settings used for calls to updateModelDeploymentMonitoringJob.

Returns
Type Description
Builder<UpdateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob,UpdateModelDeploymentMonitoringJobOperationMetadata>

updateModelDeploymentMonitoringJobSettings()

public UnaryCallSettings.Builder<UpdateModelDeploymentMonitoringJobRequest,Operation> updateModelDeploymentMonitoringJobSettings()

Returns the builder for the settings used for calls to updateModelDeploymentMonitoringJob.

Returns
Type Description
Builder<UpdateModelDeploymentMonitoringJobRequest,Operation>