Class AdGroupServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<AdGroupServiceSettings,AdGroupServiceSettings.Builder>
com.google.ads.googleads.v18.services.AdGroupServiceSettings.Builder
- Enclosing class:
- AdGroupServiceSettings
public static class AdGroupServiceSettings.Builder
extends com.google.api.gax.rpc.ClientSettings.Builder<AdGroupServiceSettings,AdGroupServiceSettings.Builder>
Builder for AdGroupServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(AdGroupServiceSettings settings) protectedBuilder(AdGroupServiceStubSettings.Builder stubSettings) protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(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<MutateAdGroupsRequest,MutateAdGroupsResponse> Returns the builder for the settings used for calls to mutateAdGroups.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 AdGroupServiceSettings.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.
-
mutateAdGroupsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateAdGroupsRequest,MutateAdGroupsResponse> mutateAdGroupsSettings()Returns the builder for the settings used for calls to mutateAdGroups. -
build
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<AdGroupServiceSettings,AdGroupServiceSettings.Builder> - Throws:
IOException
-