public static class CloudSchedulerStubSettings.Builder extends StubSettings.Builder<CloudSchedulerStubSettings,CloudSchedulerStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(CloudSchedulerStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
CloudSchedulerStubSettings.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.
|
CloudSchedulerStubSettings |
build() |
UnaryCallSettings.Builder<CreateJobRequest,Job> |
createJobSettings()
Returns the builder for the settings used for calls to createJob.
|
UnaryCallSettings.Builder<DeleteJobRequest,Empty> |
deleteJobSettings()
Returns the builder for the settings used for calls to deleteJob.
|
UnaryCallSettings.Builder<GetJobRequest,Job> |
getJobSettings()
Returns the builder for the settings used for calls to getJob.
|
PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,CloudSchedulerClient.ListJobsPagedResponse> |
listJobsSettings()
Returns the builder for the settings used for calls to listJobs.
|
UnaryCallSettings.Builder<PauseJobRequest,Job> |
pauseJobSettings()
Returns the builder for the settings used for calls to pauseJob.
|
UnaryCallSettings.Builder<ResumeJobRequest,Job> |
resumeJobSettings()
Returns the builder for the settings used for calls to resumeJob.
|
UnaryCallSettings.Builder<RunJobRequest,Job> |
runJobSettings()
Returns the builder for the settings used for calls to runJob.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
UnaryCallSettings.Builder<UpdateJobRequest,Job> |
updateJobSettings()
Returns the builder for the settings used for calls to updateJob.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(CloudSchedulerStubSettings settings)
public CloudSchedulerStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse,CloudSchedulerClient.ListJobsPagedResponse> listJobsSettings()
public UnaryCallSettings.Builder<GetJobRequest,Job> getJobSettings()
public UnaryCallSettings.Builder<CreateJobRequest,Job> createJobSettings()
public UnaryCallSettings.Builder<UpdateJobRequest,Job> updateJobSettings()
public UnaryCallSettings.Builder<DeleteJobRequest,Empty> deleteJobSettings()
public UnaryCallSettings.Builder<PauseJobRequest,Job> pauseJobSettings()
public UnaryCallSettings.Builder<ResumeJobRequest,Job> resumeJobSettings()
public UnaryCallSettings.Builder<RunJobRequest,Job> runJobSettings()
public CloudSchedulerStubSettings build() throws IOException
build
in class StubSettings.Builder<CloudSchedulerStubSettings,CloudSchedulerStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.