Class AssetServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<AssetServiceSettings,AssetServiceSettings.Builder>
-
- com.google.ads.googleads.v14.services.AssetServiceSettings.Builder
-
- Enclosing class:
- AssetServiceSettings
public static class AssetServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<AssetServiceSettings,AssetServiceSettings.Builder>
Builder for AssetServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(AssetServiceSettings settings)
protected
Builder(AssetServiceStubSettings.Builder stubSettings)
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetServiceSettings.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.AssetServiceSettings
build()
AssetServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateAssetsRequest,MutateAssetsResponse>
mutateAssetsSettings()
Returns the builder for the settings used for calls to mutateAssets.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, 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(AssetServiceSettings settings)
-
Builder
protected Builder(AssetServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public AssetServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public AssetServiceSettings.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.
-
mutateAssetsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MutateAssetsRequest,MutateAssetsResponse> mutateAssetsSettings()
Returns the builder for the settings used for calls to mutateAssets.
-
build
public AssetServiceSettings build() throws java.io.IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<AssetServiceSettings,AssetServiceSettings.Builder>
- Throws:
java.io.IOException
-
-