Class JobServiceStubSettings.Builder (2.53.0)

public static class JobServiceStubSettings.Builder extends StubSettings.Builder<JobServiceStubSettings,JobServiceStubSettings.Builder>

Builder for JobServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > JobServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(JobServiceStubSettings settings)

protected Builder(JobServiceStubSettings settings)
Parameter
Name Description
settings JobServiceStubSettings

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public JobServiceStubSettings.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
JobServiceStubSettings.Builder

batchCreateJobsOperationSettings()

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

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

Returns
Type Description
Builder<BatchCreateJobsRequest,BatchCreateJobsResponse,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>

batchDeleteJobsOperationSettings()

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

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

Returns
Type Description
Builder<BatchDeleteJobsRequest,BatchDeleteJobsResponse,BatchOperationMetadata>

batchDeleteJobsSettings()

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

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

Returns
Type Description
Builder<BatchDeleteJobsRequest,Operation>

batchUpdateJobsOperationSettings()

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

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

Returns
Type Description
Builder<BatchUpdateJobsRequest,BatchUpdateJobsResponse,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 JobServiceStubSettings build()
Returns
Type Description
JobServiceStubSettings
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>

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 UnaryCallSettings.Builder<SearchJobsRequest,SearchJobsResponse> searchJobsForAlertSettings()

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

Returns
Type Description
Builder<SearchJobsRequest,SearchJobsResponse>

searchJobsSettings()

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

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

Returns
Type Description
Builder<SearchJobsRequest,SearchJobsResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateJobSettings()

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

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

Returns
Type Description
Builder<UpdateJobRequest,Job>