Class CloudSchedulerStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<CloudSchedulerStubSettings,CloudSchedulerStubSettings.Builder>
com.google.cloud.scheduler.v1.stub.CloudSchedulerStubSettings.Builder
- Enclosing class:
- CloudSchedulerStubSettings
public static class CloudSchedulerStubSettings.Builder
extends StubSettings.Builder<CloudSchedulerStubSettings,CloudSchedulerStubSettings.Builder>
Builder for CloudSchedulerStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(CloudSchedulerStubSettings settings) -
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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateJob.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public CloudSchedulerStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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 classStubSettings.Builder<CloudSchedulerStubSettings,CloudSchedulerStubSettings.Builder> - Throws:
IOException
-