Class CustomerServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<CustomerServiceSettings,CustomerServiceSettings.Builder>
-
- com.google.ads.googleads.v10.services.CustomerServiceSettings.Builder
-
- Enclosing class:
- CustomerServiceSettings
public static class CustomerServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<CustomerServiceSettings,CustomerServiceSettings.Builder>
Builder for CustomerServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()protectedBuilder(CustomerServiceSettings settings)protectedBuilder(CustomerServiceStubSettings.Builder stubSettings)protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomerServiceSettings.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.CustomerServiceSettingsbuild()com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCustomerClientRequest,CreateCustomerClientResponse>createCustomerClientSettings()Returns the builder for the settings used for calls to createCustomerClient.CustomerServiceStubSettings.BuildergetStubSettingsBuilder()com.google.api.gax.rpc.UnaryCallSettings.Builder<ListAccessibleCustomersRequest,ListAccessibleCustomersResponse>listAccessibleCustomersSettings()Returns the builder for the settings used for calls to listAccessibleCustomers.com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateCustomerRequest,MutateCustomerResponse>mutateCustomerSettings()Returns the builder for the settings used for calls to mutateCustomer.-
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(CustomerServiceSettings settings)
-
Builder
protected Builder(CustomerServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public CustomerServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public CustomerServiceSettings.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.
-
mutateCustomerSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateCustomerRequest,MutateCustomerResponse> mutateCustomerSettings()
Returns the builder for the settings used for calls to mutateCustomer.
-
listAccessibleCustomersSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ListAccessibleCustomersRequest,ListAccessibleCustomersResponse> listAccessibleCustomersSettings()
Returns the builder for the settings used for calls to listAccessibleCustomers.
-
createCustomerClientSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateCustomerClientRequest,CreateCustomerClientResponse> createCustomerClientSettings()
Returns the builder for the settings used for calls to createCustomerClient.
-
build
public CustomerServiceSettings build() throws java.io.IOException
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<CustomerServiceSettings,CustomerServiceSettings.Builder>- Throws:
java.io.IOException
-
-