Class ProductLinkServiceStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<ProductLinkServiceStubSettings,ProductLinkServiceStubSettings.Builder>
-
- com.google.ads.googleads.v15.services.stub.ProductLinkServiceStubSettings.Builder
-
- Enclosing class:
- ProductLinkServiceStubSettings
public static class ProductLinkServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ProductLinkServiceStubSettings,ProductLinkServiceStubSettings.Builder>
Builder for ProductLinkServiceStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()protectedBuilder(ProductLinkServiceStubSettings settings)protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProductLinkServiceStubSettings.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.ProductLinkServiceStubSettingsbuild()com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateProductLinkRequest,CreateProductLinkResponse>createProductLinkSettings()Returns the builder for the settings used for calls to createProductLink.java.lang.StringgetEndpoint()Returns the endpoint set by the user or the the service's default endpoint.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveProductLinkRequest,RemoveProductLinkResponse>removeProductLinkSettings()Returns the builder for the settings used for calls to removeProductLink.com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>unaryMethodSettingsBuilders()-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ProductLinkServiceStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ProductLinkServiceStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
createProductLinkSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateProductLinkRequest,CreateProductLinkResponse> createProductLinkSettings()
Returns the builder for the settings used for calls to createProductLink.
-
removeProductLinkSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemoveProductLinkRequest,RemoveProductLinkResponse> removeProductLinkSettings()
Returns the builder for the settings used for calls to removeProductLink.
-
getEndpoint
public java.lang.String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.- Overrides:
getEndpointin classcom.google.api.gax.rpc.StubSettings.Builder<ProductLinkServiceStubSettings,ProductLinkServiceStubSettings.Builder>
-
build
public ProductLinkServiceStubSettings build() throws java.io.IOException
- Specified by:
buildin classcom.google.api.gax.rpc.StubSettings.Builder<ProductLinkServiceStubSettings,ProductLinkServiceStubSettings.Builder>- Throws:
java.io.IOException
-
-