public static class JobServiceSettings.Builder extends ClientSettings.Builder<JobServiceSettings,JobServiceSettings.Builder>
Builder for JobServiceSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(JobServiceSettings settings)
protected Builder(JobServiceSettings settings)
Builder(JobServiceStubSettings.Builder stubSettings)
protected Builder(JobServiceStubSettings.Builder stubSettings)
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.
batchCreateJobsOperationSettings()
public OperationCallSettings.Builder<BatchCreateJobsRequest,JobOperationResult,BatchOperationMetadata> batchCreateJobsOperationSettings()
Returns the builder for the settings used for calls to batchCreateJobs.
batchCreateJobsSettings()
public UnaryCallSettings.Builder<BatchCreateJobsRequest,Operation> batchCreateJobsSettings()
Returns the builder for the settings used for calls to batchCreateJobs.
batchDeleteJobsSettings()
public UnaryCallSettings.Builder<BatchDeleteJobsRequest,Empty> batchDeleteJobsSettings()
Returns the builder for the settings used for calls to batchDeleteJobs.
batchUpdateJobsOperationSettings()
public OperationCallSettings.Builder<BatchUpdateJobsRequest,JobOperationResult,BatchOperationMetadata> batchUpdateJobsOperationSettings()
Returns the builder for the settings used for calls to batchUpdateJobs.
batchUpdateJobsSettings()
public UnaryCallSettings.Builder<BatchUpdateJobsRequest,Operation> batchUpdateJobsSettings()
Returns the builder for the settings used for calls to batchUpdateJobs.
build()
public JobServiceSettings build()
Overrides
createJobSettings()
public UnaryCallSettings.Builder<CreateJobRequest,Job> createJobSettings()
Returns the builder for the settings used for calls to createJob.
deleteJobSettings()
public UnaryCallSettings.Builder<DeleteJobRequest,Empty> deleteJobSettings()
Returns the builder for the settings used for calls to deleteJob.
getJobSettings()
public UnaryCallSettings.Builder<GetJobRequest,Job> getJobSettings()
Returns the builder for the settings used for calls to getJob.
getStubSettingsBuilder()
public JobServiceStubSettings.Builder getStubSettingsBuilder()
listJobsSettings()
public PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,JobServiceClient.ListJobsPagedResponse> listJobsSettings()
Returns the builder for the settings used for calls to listJobs.
searchJobsForAlertSettings()
public PagedCallSettings.Builder<SearchJobsRequest,SearchJobsResponse,JobServiceClient.SearchJobsForAlertPagedResponse> searchJobsForAlertSettings()
Returns the builder for the settings used for calls to searchJobsForAlert.
searchJobsSettings()
public PagedCallSettings.Builder<SearchJobsRequest,SearchJobsResponse,JobServiceClient.SearchJobsPagedResponse> searchJobsSettings()
Returns the builder for the settings used for calls to searchJobs.
updateJobSettings()
public UnaryCallSettings.Builder<UpdateJobRequest,Job> updateJobSettings()
Returns the builder for the settings used for calls to updateJob.