Class JobServiceSettings.Builder (3.59.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.

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.

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.

createHyperparameterTuningJobSettings()

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

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

createModelDeploymentMonitoringJobSettings()

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

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

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.

deleteBatchPredictionJobSettings()

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

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

deleteCustomJobOperationSettings()

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

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

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.

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.

deleteHyperparameterTuningJobSettings()

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

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

deleteModelDeploymentMonitoringJobOperationSettings()

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

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

deleteModelDeploymentMonitoringJobSettings()

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

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

deleteNasJobOperationSettings()

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

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

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.

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.

getHyperparameterTuningJobSettings()

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

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

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.

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.

listCustomJobsSettings()

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

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

listDataLabelingJobsSettings()

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

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

listHyperparameterTuningJobsSettings()

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

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

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.

listNasJobsSettings()

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

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

listNasTrialDetailsSettings()

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

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

pauseModelDeploymentMonitoringJobSettings()

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

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

resumeModelDeploymentMonitoringJobSettings()

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

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

searchModelDeploymentMonitoringStatsAnomaliesSettings()

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

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

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.

updateModelDeploymentMonitoringJobSettings()

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

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