Class IncentiveServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<IncentiveServiceSettings,IncentiveServiceSettings.Builder>
com.google.ads.googleads.v23.services.IncentiveServiceSettings.Builder
- Enclosing class:
- IncentiveServiceSettings
public static class IncentiveServiceSettings.Builder
extends com.google.api.gax.rpc.ClientSettings.Builder<IncentiveServiceSettings,IncentiveServiceSettings.Builder>
Builder for IncentiveServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(IncentiveServiceSettings settings) protectedBuilder(IncentiveServiceStubSettings.Builder stubSettings) protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.api.gax.rpc.UnaryCallSettings.Builder<ApplyIncentiveRequest,ApplyIncentiveResponse> Returns the builder for the settings used for calls to applyIncentive.applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()com.google.api.gax.rpc.UnaryCallSettings.Builder<FetchIncentiveRequest,FetchIncentiveResponse> Returns the builder for the settings used for calls to fetchIncentive.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
protected Builder(com.google.api.gax.rpc.ClientContext clientContext) -
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public IncentiveServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
fetchIncentiveSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<FetchIncentiveRequest,FetchIncentiveResponse> fetchIncentiveSettings()Returns the builder for the settings used for calls to fetchIncentive. -
applyIncentiveSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ApplyIncentiveRequest,ApplyIncentiveResponse> applyIncentiveSettings()Returns the builder for the settings used for calls to applyIncentive. -
build
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<IncentiveServiceSettings,IncentiveServiceSettings.Builder> - Throws:
IOException
-