public static class CloudSchedulerSettings.Builder extends ClientSettings.Builder<CloudSchedulerSettings,CloudSchedulerSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(CloudSchedulerSettings settings) |
protected |
Builder(CloudSchedulerStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
CloudSchedulerSettings.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.
|
CloudSchedulerSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.scheduler.v1beta1.CreateJobRequest,com.google.cloud.scheduler.v1beta1.Job> |
createJobSettings()
Returns the builder for the settings used for calls to createJob.
|
UnaryCallSettings.Builder<com.google.cloud.scheduler.v1beta1.DeleteJobRequest,Empty> |
deleteJobSettings()
Returns the builder for the settings used for calls to deleteJob.
|
UnaryCallSettings.Builder<com.google.cloud.scheduler.v1beta1.GetJobRequest,com.google.cloud.scheduler.v1beta1.Job> |
getJobSettings()
Returns the builder for the settings used for calls to getJob.
|
CloudSchedulerStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<com.google.cloud.scheduler.v1beta1.ListJobsRequest,com.google.cloud.scheduler.v1beta1.ListJobsResponse,CloudSchedulerClient.ListJobsPagedResponse> |
listJobsSettings()
Returns the builder for the settings used for calls to listJobs.
|
UnaryCallSettings.Builder<com.google.cloud.scheduler.v1beta1.PauseJobRequest,com.google.cloud.scheduler.v1beta1.Job> |
pauseJobSettings()
Returns the builder for the settings used for calls to pauseJob.
|
UnaryCallSettings.Builder<com.google.cloud.scheduler.v1beta1.ResumeJobRequest,com.google.cloud.scheduler.v1beta1.Job> |
resumeJobSettings()
Returns the builder for the settings used for calls to resumeJob.
|
UnaryCallSettings.Builder<com.google.cloud.scheduler.v1beta1.RunJobRequest,com.google.cloud.scheduler.v1beta1.Job> |
runJobSettings()
Returns the builder for the settings used for calls to runJob.
|
UnaryCallSettings.Builder<com.google.cloud.scheduler.v1beta1.UpdateJobRequest,com.google.cloud.scheduler.v1beta1.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(CloudSchedulerSettings settings)
protected Builder(CloudSchedulerStubSettings.Builder stubSettings)
public CloudSchedulerStubSettings.Builder getStubSettingsBuilder()
public CloudSchedulerSettings.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 PagedCallSettings.Builder<com.google.cloud.scheduler.v1beta1.ListJobsRequest,com.google.cloud.scheduler.v1beta1.ListJobsResponse,CloudSchedulerClient.ListJobsPagedResponse> listJobsSettings()
public UnaryCallSettings.Builder<com.google.cloud.scheduler.v1beta1.GetJobRequest,com.google.cloud.scheduler.v1beta1.Job> getJobSettings()
public UnaryCallSettings.Builder<com.google.cloud.scheduler.v1beta1.CreateJobRequest,com.google.cloud.scheduler.v1beta1.Job> createJobSettings()
public UnaryCallSettings.Builder<com.google.cloud.scheduler.v1beta1.UpdateJobRequest,com.google.cloud.scheduler.v1beta1.Job> updateJobSettings()
public UnaryCallSettings.Builder<com.google.cloud.scheduler.v1beta1.DeleteJobRequest,Empty> deleteJobSettings()
public UnaryCallSettings.Builder<com.google.cloud.scheduler.v1beta1.PauseJobRequest,com.google.cloud.scheduler.v1beta1.Job> pauseJobSettings()
public UnaryCallSettings.Builder<com.google.cloud.scheduler.v1beta1.ResumeJobRequest,com.google.cloud.scheduler.v1beta1.Job> resumeJobSettings()
public UnaryCallSettings.Builder<com.google.cloud.scheduler.v1beta1.RunJobRequest,com.google.cloud.scheduler.v1beta1.Job> runJobSettings()
public CloudSchedulerSettings build() throws IOException
build
in class ClientSettings.Builder<CloudSchedulerSettings,CloudSchedulerSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.