Class JobServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<JobServiceStubSettings,JobServiceStubSettings.Builder>
-
- com.google.cloud.talent.v4beta1.stub.JobServiceStubSettings.Builder
-
- Enclosing class:
- JobServiceStubSettings
public static class JobServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<JobServiceStubSettings,JobServiceStubSettings.Builder>
Builder for JobServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(JobServiceStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobServiceStubSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.com.google.api.gax.rpc.OperationCallSettings.Builder<BatchCreateJobsRequest,JobOperationResult,BatchOperationMetadata>
batchCreateJobsOperationSettings()
Returns the builder for the settings used for calls to batchCreateJobs.com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchCreateJobsRequest,com.google.longrunning.Operation>
batchCreateJobsSettings()
Returns the builder for the settings used for calls to batchCreateJobs.com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchDeleteJobsRequest,com.google.protobuf.Empty>
batchDeleteJobsSettings()
Returns the builder for the settings used for calls to batchDeleteJobs.com.google.api.gax.rpc.OperationCallSettings.Builder<BatchUpdateJobsRequest,JobOperationResult,BatchOperationMetadata>
batchUpdateJobsOperationSettings()
Returns the builder for the settings used for calls to batchUpdateJobs.com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchUpdateJobsRequest,com.google.longrunning.Operation>
batchUpdateJobsSettings()
Returns the builder for the settings used for calls to batchUpdateJobs.JobServiceStubSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateJobRequest,Job>
createJobSettings()
Returns the builder for the settings used for calls to createJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteJobRequest,com.google.protobuf.Empty>
deleteJobSettings()
Returns the builder for the settings used for calls to deleteJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetJobRequest,Job>
getJobSettings()
Returns the builder for the settings used for calls to getJob.com.google.api.gax.rpc.PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,JobServiceClient.ListJobsPagedResponse>
listJobsSettings()
Returns the builder for the settings used for calls to listJobs.com.google.api.gax.rpc.PagedCallSettings.Builder<SearchJobsRequest,SearchJobsResponse,JobServiceClient.SearchJobsForAlertPagedResponse>
searchJobsForAlertSettings()
Returns the builder for the settings used for calls to searchJobsForAlert.com.google.api.gax.rpc.PagedCallSettings.Builder<SearchJobsRequest,SearchJobsResponse,JobServiceClient.SearchJobsPagedResponse>
searchJobsSettings()
Returns the builder for the settings used for calls to searchJobs.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateJobRequest,Job>
updateJobSettings()
Returns the builder for the settings used for calls to updateJob.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(JobServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public JobServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
createJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateJobRequest,Job> createJobSettings()
Returns the builder for the settings used for calls to createJob.
-
batchCreateJobsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchCreateJobsRequest,com.google.longrunning.Operation> batchCreateJobsSettings()
Returns the builder for the settings used for calls to batchCreateJobs.
-
batchCreateJobsOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<BatchCreateJobsRequest,JobOperationResult,BatchOperationMetadata> batchCreateJobsOperationSettings()
Returns the builder for the settings used for calls to batchCreateJobs.
-
getJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetJobRequest,Job> getJobSettings()
Returns the builder for the settings used for calls to getJob.
-
updateJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateJobRequest,Job> updateJobSettings()
Returns the builder for the settings used for calls to updateJob.
-
batchUpdateJobsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchUpdateJobsRequest,com.google.longrunning.Operation> batchUpdateJobsSettings()
Returns the builder for the settings used for calls to batchUpdateJobs.
-
batchUpdateJobsOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<BatchUpdateJobsRequest,JobOperationResult,BatchOperationMetadata> batchUpdateJobsOperationSettings()
Returns the builder for the settings used for calls to batchUpdateJobs.
-
deleteJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteJobRequest,com.google.protobuf.Empty> deleteJobSettings()
Returns the builder for the settings used for calls to deleteJob.
-
batchDeleteJobsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchDeleteJobsRequest,com.google.protobuf.Empty> batchDeleteJobsSettings()
Returns the builder for the settings used for calls to batchDeleteJobs.
-
listJobsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,JobServiceClient.ListJobsPagedResponse> listJobsSettings()
Returns the builder for the settings used for calls to listJobs.
-
searchJobsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<SearchJobsRequest,SearchJobsResponse,JobServiceClient.SearchJobsPagedResponse> searchJobsSettings()
Returns the builder for the settings used for calls to searchJobs.
-
searchJobsForAlertSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<SearchJobsRequest,SearchJobsResponse,JobServiceClient.SearchJobsForAlertPagedResponse> searchJobsForAlertSettings()
Returns the builder for the settings used for calls to searchJobsForAlert.
-
build
public JobServiceStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<JobServiceStubSettings,JobServiceStubSettings.Builder>
- Throws:
IOException
-
-