Class LabelServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<LabelServiceSettings,LabelServiceSettings.Builder>
-
- com.google.ads.googleads.v10.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
Constructors Modifier Constructor Description protectedBuilder()protectedBuilder(LabelServiceSettings settings)protectedBuilder(LabelServiceStubSettings.Builder stubSettings)protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LabelServiceSettings.BuilderapplyToAllUnaryMethods(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.LabelServiceSettingsbuild()LabelServiceStubSettings.BuildergetStubSettingsBuilder()com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateLabelsRequest,MutateLabelsResponse>mutateLabelsSettings()Returns the builder for the settings used for calls to mutateLabels.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, 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(LabelServiceSettings settings)
-
Builder
protected Builder(LabelServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public LabelServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public LabelServiceSettings.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.
-
mutateLabelsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateLabelsRequest,MutateLabelsResponse> mutateLabelsSettings()
Returns the builder for the settings used for calls to mutateLabels.
-
build
public LabelServiceSettings build() throws java.io.IOException
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<LabelServiceSettings,LabelServiceSettings.Builder>- Throws:
java.io.IOException
-
-