Class JobServiceSettings.Builder (3.5.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
NameDescription
clientContextClientContext

Builder(JobServiceSettings settings)

protected Builder(JobServiceSettings settings)
Parameter
NameDescription
settingsJobServiceSettings

Builder(JobServiceStubSettings.Builder stubSettings)

protected Builder(JobServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsJobServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
JobServiceSettings.Builder

build()

public JobServiceSettings build()
Returns
TypeDescription
JobServiceSettings
Overrides Exceptions
TypeDescription
IOException

cancelBatchPredictionJobSettings()

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

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

Returns
TypeDescription
Builder<CancelBatchPredictionJobRequest,Empty>

cancelCustomJobSettings()

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

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

Returns
TypeDescription
Builder<CancelCustomJobRequest,Empty>

cancelDataLabelingJobSettings()

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

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

Returns
TypeDescription
Builder<CancelDataLabelingJobRequest,Empty>

cancelHyperparameterTuningJobSettings()

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

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

Returns
TypeDescription
Builder<CancelHyperparameterTuningJobRequest,Empty>

createBatchPredictionJobSettings()

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

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

Returns
TypeDescription
Builder<CreateBatchPredictionJobRequest,BatchPredictionJob>

createCustomJobSettings()

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

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

Returns
TypeDescription
Builder<CreateCustomJobRequest,CustomJob>

createDataLabelingJobSettings()

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

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

Returns
TypeDescription
Builder<CreateDataLabelingJobRequest,DataLabelingJob>

createHyperparameterTuningJobSettings()

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

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

Returns
TypeDescription
Builder<CreateHyperparameterTuningJobRequest,HyperparameterTuningJob>

createModelDeploymentMonitoringJobSettings()

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

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

Returns
TypeDescription
Builder<CreateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob>

deleteBatchPredictionJobOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteBatchPredictionJobRequest,Empty,DeleteOperationMetadata>

deleteBatchPredictionJobSettings()

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

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

Returns
TypeDescription
Builder<DeleteBatchPredictionJobRequest,Operation>

deleteCustomJobOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteCustomJobRequest,Empty,DeleteOperationMetadata>

deleteCustomJobSettings()

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

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

Returns
TypeDescription
Builder<DeleteCustomJobRequest,Operation>

deleteDataLabelingJobOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteDataLabelingJobRequest,Empty,DeleteOperationMetadata>

deleteDataLabelingJobSettings()

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

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

Returns
TypeDescription
Builder<DeleteDataLabelingJobRequest,Operation>

deleteHyperparameterTuningJobOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteHyperparameterTuningJobRequest,Empty,DeleteOperationMetadata>

deleteHyperparameterTuningJobSettings()

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

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

Returns
TypeDescription
Builder<DeleteHyperparameterTuningJobRequest,Operation>

deleteModelDeploymentMonitoringJobOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteModelDeploymentMonitoringJobRequest,Empty,DeleteOperationMetadata>

deleteModelDeploymentMonitoringJobSettings()

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

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

Returns
TypeDescription
Builder<DeleteModelDeploymentMonitoringJobRequest,Operation>

getBatchPredictionJobSettings()

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

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

Returns
TypeDescription
Builder<GetBatchPredictionJobRequest,BatchPredictionJob>

getCustomJobSettings()

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

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

Returns
TypeDescription
Builder<GetCustomJobRequest,CustomJob>

getDataLabelingJobSettings()

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

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

Returns
TypeDescription
Builder<GetDataLabelingJobRequest,DataLabelingJob>

getHyperparameterTuningJobSettings()

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

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

Returns
TypeDescription
Builder<GetHyperparameterTuningJobRequest,HyperparameterTuningJob>

getIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<GetModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob>

getStubSettingsBuilder()

public JobServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
JobServiceStubSettings.Builder

listBatchPredictionJobsSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListModelDeploymentMonitoringJobsRequest,ListModelDeploymentMonitoringJobsResponse,ListModelDeploymentMonitoringJobsPagedResponse>

pauseModelDeploymentMonitoringJobSettings()

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

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

Returns
TypeDescription
Builder<PauseModelDeploymentMonitoringJobRequest,Empty>

resumeModelDeploymentMonitoringJobSettings()

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

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

Returns
TypeDescription
Builder<ResumeModelDeploymentMonitoringJobRequest,Empty>

searchModelDeploymentMonitoringStatsAnomaliesSettings()

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

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

Returns
TypeDescription
Builder<SearchModelDeploymentMonitoringStatsAnomaliesRequest,SearchModelDeploymentMonitoringStatsAnomaliesResponse,SearchModelDeploymentMonitoringStatsAnomaliesPagedResponse>

setIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<UpdateModelDeploymentMonitoringJobRequest,ModelDeploymentMonitoringJob,UpdateModelDeploymentMonitoringJobOperationMetadata>

updateModelDeploymentMonitoringJobSettings()

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

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

Returns
TypeDescription
Builder<UpdateModelDeploymentMonitoringJobRequest,Operation>