Class CustomerClientServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<CustomerClientServiceSettings,CustomerClientServiceSettings.Builder>
-
- com.google.ads.googleads.v9.services.CustomerClientServiceSettings.Builder
-
- Enclosing class:
- CustomerClientServiceSettings
public static class CustomerClientServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<CustomerClientServiceSettings,CustomerClientServiceSettings.Builder>
Builder for CustomerClientServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()protectedBuilder(CustomerClientServiceSettings settings)protectedBuilder(CustomerClientServiceStubSettings.Builder stubSettings)protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomerClientServiceSettings.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.CustomerClientServiceSettingsbuild()com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCustomerClientRequest,CustomerClient>getCustomerClientSettings()Returns the builder for the settings used for calls to getCustomerClient.CustomerClientServiceStubSettings.BuildergetStubSettingsBuilder()-
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(CustomerClientServiceSettings settings)
-
Builder
protected Builder(CustomerClientServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public CustomerClientServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public CustomerClientServiceSettings.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.
-
getCustomerClientSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetCustomerClientRequest,CustomerClient> getCustomerClientSettings()
Returns the builder for the settings used for calls to getCustomerClient.
-
build
public CustomerClientServiceSettings build() throws java.io.IOException
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<CustomerClientServiceSettings,CustomerClientServiceSettings.Builder>- Throws:
java.io.IOException
-
-