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(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<com.google.cloud.scheduler.v1.CreateJobRequest,com.google.cloud.scheduler.v1.Job> |
createJobSettings()
Returns the builder for the settings used for calls to createJob.
|
UnaryCallSettings.Builder<com.google.cloud.scheduler.v1.DeleteJobRequest,Empty> |
deleteJobSettings()
Returns the builder for the settings used for calls to deleteJob.
|
UnaryCallSettings.Builder<com.google.cloud.scheduler.v1.GetJobRequest,com.google.cloud.scheduler.v1.Job> |
getJobSettings()
Returns the builder for the settings used for calls to getJob.
|
PagedCallSettings.Builder<com.google.cloud.scheduler.v1.ListJobsRequest,com.google.cloud.scheduler.v1.ListJobsResponse,CloudSchedulerClient.ListJobsPagedResponse> |
listJobsSettings()
Returns the builder for the settings used for calls to listJobs.
|
UnaryCallSettings.Builder<com.google.cloud.scheduler.v1.PauseJobRequest,com.google.cloud.scheduler.v1.Job> |
pauseJobSettings()
Returns the builder for the settings used for calls to pauseJob.
|
UnaryCallSettings.Builder<com.google.cloud.scheduler.v1.ResumeJobRequest,com.google.cloud.scheduler.v1.Job> |
resumeJobSettings()
Returns the builder for the settings used for calls to resumeJob.
|
UnaryCallSettings.Builder<com.google.cloud.scheduler.v1.RunJobRequest,com.google.cloud.scheduler.v1.Job> |
runJobSettings()
Returns the builder for the settings used for calls to runJob.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
UnaryCallSettings.Builder<com.google.cloud.scheduler.v1.UpdateJobRequest,com.google.cloud.scheduler.v1.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(CloudSchedulerStubSettings settings)
public CloudSchedulerStubSettings.Builder applyToAllUnaryMethods(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 PagedCallSettings.Builder<com.google.cloud.scheduler.v1.ListJobsRequest,com.google.cloud.scheduler.v1.ListJobsResponse,CloudSchedulerClient.ListJobsPagedResponse> listJobsSettings()
public UnaryCallSettings.Builder<com.google.cloud.scheduler.v1.GetJobRequest,com.google.cloud.scheduler.v1.Job> getJobSettings()
public UnaryCallSettings.Builder<com.google.cloud.scheduler.v1.CreateJobRequest,com.google.cloud.scheduler.v1.Job> createJobSettings()
public UnaryCallSettings.Builder<com.google.cloud.scheduler.v1.UpdateJobRequest,com.google.cloud.scheduler.v1.Job> updateJobSettings()
public UnaryCallSettings.Builder<com.google.cloud.scheduler.v1.DeleteJobRequest,Empty> deleteJobSettings()
public UnaryCallSettings.Builder<com.google.cloud.scheduler.v1.PauseJobRequest,com.google.cloud.scheduler.v1.Job> pauseJobSettings()
public UnaryCallSettings.Builder<com.google.cloud.scheduler.v1.ResumeJobRequest,com.google.cloud.scheduler.v1.Job> resumeJobSettings()
public UnaryCallSettings.Builder<com.google.cloud.scheduler.v1.RunJobRequest,com.google.cloud.scheduler.v1.Job> runJobSettings()
public CloudSchedulerStubSettings build() throws IOException
build
in class StubSettings.Builder<CloudSchedulerStubSettings,CloudSchedulerStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.