Class AudienceServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<AudienceServiceSettings,AudienceServiceSettings.Builder>
-
- com.google.ads.googleads.v14.services.AudienceServiceSettings.Builder
-
- Enclosing class:
- AudienceServiceSettings
public static class AudienceServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<AudienceServiceSettings,AudienceServiceSettings.Builder>
Builder for AudienceServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(AudienceServiceSettings settings)
protected
Builder(AudienceServiceStubSettings.Builder stubSettings)
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AudienceServiceSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,java.lang.Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.AudienceServiceSettings
build()
AudienceServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateAudiencesRequest,MutateAudiencesResponse>
mutateAudiencesSettings()
Returns the builder for the settings used for calls to mutateAudiences.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws java.io.IOException
- Throws:
java.io.IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(AudienceServiceSettings settings)
-
Builder
protected Builder(AudienceServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public AudienceServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public AudienceServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,java.lang.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.
-
mutateAudiencesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateAudiencesRequest,MutateAudiencesResponse> mutateAudiencesSettings()
Returns the builder for the settings used for calls to mutateAudiences.
-
build
public AudienceServiceSettings build() throws java.io.IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<AudienceServiceSettings,AudienceServiceSettings.Builder>
- Throws:
java.io.IOException
-
-