public static class JobServiceStubSettings.Builder extends StubSettings.Builder<JobServiceStubSettings,JobServiceStubSettings.Builder>
Builder for JobServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(JobServiceStubSettings settings)
protected Builder(JobServiceStubSettings settings)
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.
batchCreateJobsOperationSettings()
public OperationCallSettings.Builder<BatchCreateJobsRequest,BatchCreateJobsResponse,BatchOperationMetadata> batchCreateJobsOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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.
batchDeleteJobsOperationSettings()
public OperationCallSettings.Builder<BatchDeleteJobsRequest,BatchDeleteJobsResponse,BatchOperationMetadata> batchDeleteJobsOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to batchDeleteJobs.
batchDeleteJobsSettings()
public UnaryCallSettings.Builder<BatchDeleteJobsRequest,Operation> batchDeleteJobsSettings()
Returns the builder for the settings used for calls to batchDeleteJobs.
batchUpdateJobsOperationSettings()
public OperationCallSettings.Builder<BatchUpdateJobsRequest,BatchUpdateJobsResponse,BatchOperationMetadata> batchUpdateJobsOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
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 JobServiceStubSettings 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.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getJobSettings()
public UnaryCallSettings.Builder<GetJobRequest,Job> getJobSettings()
Returns the builder for the settings used for calls to getJob.
listJobsSettings()
public PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,JobServiceClient.ListJobsPagedResponse> listJobsSettings()
Returns the builder for the settings used for calls to listJobs.
searchJobsForAlertSettings()
public UnaryCallSettings.Builder<SearchJobsRequest,SearchJobsResponse> searchJobsForAlertSettings()
Returns the builder for the settings used for calls to searchJobsForAlert.
searchJobsSettings()
public UnaryCallSettings.Builder<SearchJobsRequest,SearchJobsResponse> searchJobsSettings()
Returns the builder for the settings used for calls to searchJobs.
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.