Class JobServiceStubSettings.Builder (2.35.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
NameDescription
clientContextClientContext

Builder(JobServiceStubSettings settings)

protected Builder(JobServiceStubSettings settings)
Parameter
NameDescription
settingsJobServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
JobServiceStubSettings.Builder

batchCreateJobsOperationSettings()

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

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

Returns
TypeDescription
Builder<BatchCreateJobsRequest,JobOperationResult,BatchOperationMetadata>

batchCreateJobsSettings()

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

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

Returns
TypeDescription
Builder<BatchCreateJobsRequest,Operation>

batchDeleteJobsSettings()

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

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

Returns
TypeDescription
Builder<BatchDeleteJobsRequest,Empty>

batchUpdateJobsOperationSettings()

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

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

Returns
TypeDescription
Builder<BatchUpdateJobsRequest,JobOperationResult,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 JobServiceStubSettings build()
Returns
TypeDescription
JobServiceStubSettings
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>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getJobSettings()

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

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

Returns
TypeDescription
Builder<GetJobRequest,Job>

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

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

Returns
TypeDescription
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
TypeDescription
Builder<SearchJobsRequest,SearchJobsResponse,SearchJobsPagedResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateJobRequest,Job>