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

batchCreateJobsOperationSettings()

public OperationCallSettings.Builder<BatchCreateJobsRequest,JobOperationResult,BatchOperationMetadata> batchCreateJobsOperationSettings()

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

Returns
Type Description
Builder<BatchCreateJobsRequest,JobOperationResult,BatchOperationMetadata>

batchCreateJobsSettings()

public UnaryCallSettings.Builder<BatchCreateJobsRequest,Operation> batchCreateJobsSettings()

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

Returns
Type Description
Builder<BatchCreateJobsRequest,Operation>

batchDeleteJobsSettings()

public UnaryCallSettings.Builder<BatchDeleteJobsRequest,Empty> batchDeleteJobsSettings()

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

Returns
Type Description
Builder<BatchDeleteJobsRequest,Empty>

batchUpdateJobsOperationSettings()

public OperationCallSettings.Builder<BatchUpdateJobsRequest,JobOperationResult,BatchOperationMetadata> batchUpdateJobsOperationSettings()

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

Returns
Type Description
Builder<BatchUpdateJobsRequest,JobOperationResult,BatchOperationMetadata>

batchUpdateJobsSettings()

public UnaryCallSettings.Builder<BatchUpdateJobsRequest,Operation> batchUpdateJobsSettings()

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

Returns
Type Description
Builder<BatchUpdateJobsRequest,Operation>

build()

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

createJobSettings()

public UnaryCallSettings.Builder<CreateJobRequest,Job> createJobSettings()

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

Returns
Type Description
Builder<CreateJobRequest,Job>

deleteJobSettings()

public UnaryCallSettings.Builder<DeleteJobRequest,Empty> deleteJobSettings()

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

Returns
Type Description
Builder<DeleteJobRequest,Empty>

getJobSettings()

public UnaryCallSettings.Builder<GetJobRequest,Job> getJobSettings()

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

Returns
Type Description
Builder<GetJobRequest,Job>

getStubSettingsBuilder()

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

listJobsSettings()

public PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,JobServiceClient.ListJobsPagedResponse> listJobsSettings()

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

Returns
Type Description
Builder<ListJobsRequest,ListJobsResponse,ListJobsPagedResponse>

searchJobsForAlertSettings()

public PagedCallSettings.Builder<SearchJobsRequest,SearchJobsResponse,JobServiceClient.SearchJobsForAlertPagedResponse> searchJobsForAlertSettings()

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

Returns
Type Description
Builder<SearchJobsRequest,SearchJobsResponse,SearchJobsForAlertPagedResponse>

searchJobsSettings()

public PagedCallSettings.Builder<SearchJobsRequest,SearchJobsResponse,JobServiceClient.SearchJobsPagedResponse> searchJobsSettings()

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

Returns
Type Description
Builder<SearchJobsRequest,SearchJobsResponse,SearchJobsPagedResponse>

updateJobSettings()

public UnaryCallSettings.Builder<UpdateJobRequest,Job> updateJobSettings()

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

Returns
Type Description
Builder<UpdateJobRequest,Job>