Class LabelServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<LabelServiceSettings,LabelServiceSettings.Builder>
com.google.ads.googleads.v18.services.LabelServiceSettings.Builder
- Enclosing class:
- LabelServiceSettings
public static class LabelServiceSettings.Builder
extends com.google.api.gax.rpc.ClientSettings.Builder<LabelServiceSettings,LabelServiceSettings.Builder>
Builder for LabelServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(LabelServiceSettings settings) protectedBuilder(LabelServiceStubSettings.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<MutateLabelsRequest,MutateLabelsResponse> Returns the builder for the settings used for calls to mutateLabels.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 LabelServiceSettings.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.
-
mutateLabelsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateLabelsRequest,MutateLabelsResponse> mutateLabelsSettings()Returns the builder for the settings used for calls to mutateLabels. -
build
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<LabelServiceSettings,LabelServiceSettings.Builder> - Throws:
IOException
-