Class GoalServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<GoalServiceSettings,GoalServiceSettings.Builder>
com.google.ads.googleads.v22.services.GoalServiceSettings.Builder
- Enclosing class:
- GoalServiceSettings
public static class GoalServiceSettings.Builder
extends com.google.api.gax.rpc.ClientSettings.Builder<GoalServiceSettings,GoalServiceSettings.Builder>
Builder for GoalServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(GoalServiceSettings settings) protectedBuilder(GoalServiceStubSettings.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<MutateGoalsRequest,MutateGoalsResponse> Returns the builder for the settings used for calls to mutateGoals.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 GoalServiceSettings.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.
-
mutateGoalsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateGoalsRequest,MutateGoalsResponse> mutateGoalsSettings()Returns the builder for the settings used for calls to mutateGoals. -
build
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<GoalServiceSettings,GoalServiceSettings.Builder> - Throws:
IOException
-