public static class JobServiceSettings.Builder extends ClientSettings.Builder<JobServiceSettings,JobServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(JobServiceSettings settings) |
protected |
Builder(JobServiceStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
JobServiceSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
UnaryCallSettings.Builder<com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest,Empty> |
batchDeleteJobsSettings()
Returns the builder for the settings used for calls to batchDeleteJobs.
|
JobServiceSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.talent.v4beta1.CreateJobRequest,com.google.cloud.talent.v4beta1.Job> |
createJobSettings()
Returns the builder for the settings used for calls to createJob.
|
UnaryCallSettings.Builder<com.google.cloud.talent.v4beta1.DeleteJobRequest,Empty> |
deleteJobSettings()
Returns the builder for the settings used for calls to deleteJob.
|
UnaryCallSettings.Builder<com.google.cloud.talent.v4beta1.GetJobRequest,com.google.cloud.talent.v4beta1.Job> |
getJobSettings()
Returns the builder for the settings used for calls to getJob.
|
JobServiceStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<com.google.cloud.talent.v4beta1.ListJobsRequest,com.google.cloud.talent.v4beta1.ListJobsResponse,JobServiceClient.ListJobsPagedResponse> |
listJobsSettings()
Returns the builder for the settings used for calls to listJobs.
|
PagedCallSettings.Builder<com.google.cloud.talent.v4beta1.SearchJobsRequest,com.google.cloud.talent.v4beta1.SearchJobsResponse,JobServiceClient.SearchJobsForAlertPagedResponse> |
searchJobsForAlertSettings()
Returns the builder for the settings used for calls to searchJobsForAlert.
|
PagedCallSettings.Builder<com.google.cloud.talent.v4beta1.SearchJobsRequest,com.google.cloud.talent.v4beta1.SearchJobsResponse,JobServiceClient.SearchJobsPagedResponse> |
searchJobsSettings()
Returns the builder for the settings used for calls to searchJobs.
|
UnaryCallSettings.Builder<com.google.cloud.talent.v4beta1.UpdateJobRequest,com.google.cloud.talent.v4beta1.Job> |
updateJobSettings()
Returns the builder for the settings used for calls to updateJob.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(JobServiceSettings settings)
protected Builder(JobServiceStubSettings.Builder stubSettings)
public JobServiceStubSettings.Builder getStubSettingsBuilder()
public JobServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<com.google.cloud.talent.v4beta1.CreateJobRequest,com.google.cloud.talent.v4beta1.Job> createJobSettings()
public UnaryCallSettings.Builder<com.google.cloud.talent.v4beta1.GetJobRequest,com.google.cloud.talent.v4beta1.Job> getJobSettings()
public UnaryCallSettings.Builder<com.google.cloud.talent.v4beta1.UpdateJobRequest,com.google.cloud.talent.v4beta1.Job> updateJobSettings()
public UnaryCallSettings.Builder<com.google.cloud.talent.v4beta1.DeleteJobRequest,Empty> deleteJobSettings()
public PagedCallSettings.Builder<com.google.cloud.talent.v4beta1.ListJobsRequest,com.google.cloud.talent.v4beta1.ListJobsResponse,JobServiceClient.ListJobsPagedResponse> listJobsSettings()
public UnaryCallSettings.Builder<com.google.cloud.talent.v4beta1.BatchDeleteJobsRequest,Empty> batchDeleteJobsSettings()
public PagedCallSettings.Builder<com.google.cloud.talent.v4beta1.SearchJobsRequest,com.google.cloud.talent.v4beta1.SearchJobsResponse,JobServiceClient.SearchJobsPagedResponse> searchJobsSettings()
public PagedCallSettings.Builder<com.google.cloud.talent.v4beta1.SearchJobsRequest,com.google.cloud.talent.v4beta1.SearchJobsResponse,JobServiceClient.SearchJobsForAlertPagedResponse> searchJobsForAlertSettings()
public JobServiceSettings build() throws IOException
build
in class ClientSettings.Builder<JobServiceSettings,JobServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.