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

batchCreateJobsOperationSettings()

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

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

Returns
TypeDescription
Builder<BatchCreateJobsRequest,BatchCreateJobsResponse,BatchOperationMetadata>

batchCreateJobsSettings()

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

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

Returns
TypeDescription
Builder<BatchCreateJobsRequest,Operation>

batchDeleteJobsOperationSettings()

public OperationCallSettings.Builder<BatchDeleteJobsRequest,BatchDeleteJobsResponse,BatchOperationMetadata> batchDeleteJobsOperationSettings()

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

Returns
TypeDescription
Builder<BatchDeleteJobsRequest,BatchDeleteJobsResponse,BatchOperationMetadata>

batchDeleteJobsSettings()

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

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

Returns
TypeDescription
Builder<BatchDeleteJobsRequest,Operation>

batchUpdateJobsOperationSettings()

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

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

Returns
TypeDescription
Builder<BatchUpdateJobsRequest,BatchUpdateJobsResponse,BatchOperationMetadata>

batchUpdateJobsSettings()

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

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

Returns
TypeDescription
Builder<BatchUpdateJobsRequest,Operation>

build()

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

createJobSettings()

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

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

Returns
TypeDescription
Builder<CreateJobRequest,Job>

deleteJobSettings()

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

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

Returns
TypeDescription
Builder<DeleteJobRequest,Empty>

getJobSettings()

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

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

Returns
TypeDescription
Builder<GetJobRequest,Job>

getStubSettingsBuilder()

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

listJobsSettings()

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

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

Returns
TypeDescription
Builder<ListJobsRequest,ListJobsResponse,ListJobsPagedResponse>

searchJobsForAlertSettings()

public UnaryCallSettings.Builder<SearchJobsRequest,SearchJobsResponse> searchJobsForAlertSettings()

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

Returns
TypeDescription
Builder<SearchJobsRequest,SearchJobsResponse>

searchJobsSettings()

public UnaryCallSettings.Builder<SearchJobsRequest,SearchJobsResponse> searchJobsSettings()

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

Returns
TypeDescription
Builder<SearchJobsRequest,SearchJobsResponse>

updateJobSettings()

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

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

Returns
TypeDescription
Builder<UpdateJobRequest,Job>