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