Class CloudSchedulerSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<CloudSchedulerSettings,CloudSchedulerSettings.Builder>
com.google.cloud.scheduler.v1beta1.CloudSchedulerSettings.Builder
- Enclosing class:
- CloudSchedulerSettings
public static class CloudSchedulerSettings.Builder
extends ClientSettings.Builder<CloudSchedulerSettings,CloudSchedulerSettings.Builder>
Builder for CloudSchedulerSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(CloudSchedulerSettings settings) protectedBuilder(CloudSchedulerStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createJob.UnaryCallSettings.Builder<DeleteJobRequest,com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteJob.Returns the builder for the settings used for calls to getJob.Returns the builder for the settings used for calls to getLocation.PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse, CloudSchedulerClient.ListJobsPagedResponse> Returns the builder for the settings used for calls to listJobs.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, CloudSchedulerClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.Returns the builder for the settings used for calls to pauseJob.Returns the builder for the settings used for calls to resumeJob.Returns the builder for the settings used for calls to runJob.Returns the builder for the settings used for calls to updateJob.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public CloudSchedulerSettings.Builder applyToAllUnaryMethods(ApiFunction<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.
-
listJobsSettings
public PagedCallSettings.Builder<ListJobsRequest,ListJobsResponse, listJobsSettings()CloudSchedulerClient.ListJobsPagedResponse> Returns the builder for the settings used for calls to listJobs. -
getJobSettings
Returns the builder for the settings used for calls to getJob. -
createJobSettings
Returns the builder for the settings used for calls to createJob. -
updateJobSettings
Returns the builder for the settings used for calls to updateJob. -
deleteJobSettings
Returns the builder for the settings used for calls to deleteJob. -
pauseJobSettings
Returns the builder for the settings used for calls to pauseJob. -
resumeJobSettings
Returns the builder for the settings used for calls to resumeJob. -
runJobSettings
Returns the builder for the settings used for calls to runJob. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()CloudSchedulerClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classClientSettings.Builder<CloudSchedulerSettings,CloudSchedulerSettings.Builder> - Throws:
IOException
-