Class IncentiveServiceStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<IncentiveServiceStubSettings,IncentiveServiceStubSettings.Builder>
com.google.ads.googleads.v23.services.stub.IncentiveServiceStubSettings.Builder
- Enclosing class:
- IncentiveServiceStubSettings
public static class IncentiveServiceStubSettings.Builder
extends com.google.api.gax.rpc.StubSettings.Builder<IncentiveServiceStubSettings,IncentiveServiceStubSettings.Builder>
Builder for IncentiveServiceStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(IncentiveServiceStubSettings settings) 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.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> 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
protected Builder(com.google.api.gax.rpc.ClientContext clientContext) -
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public IncentiveServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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.StubSettings.Builder<IncentiveServiceStubSettings,IncentiveServiceStubSettings.Builder> - Throws:
IOException
-