public static class JobServiceStubSettings.Builder extends StubSettings.Builder<JobServiceStubSettings,JobServiceStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(JobServiceStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
JobServiceStubSettings.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.
|
JobServiceStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(JobServiceStubSettings settings)
public JobServiceStubSettings.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 com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 JobServiceStubSettings build() throws IOException
build
in class StubSettings.Builder<JobServiceStubSettings,JobServiceStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.