Class BenchmarksServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<BenchmarksServiceSettings,BenchmarksServiceSettings.Builder>
com.google.ads.googleads.v23.services.BenchmarksServiceSettings.Builder
- Enclosing class:
- BenchmarksServiceSettings
public static class BenchmarksServiceSettings.Builder
extends com.google.api.gax.rpc.ClientSettings.Builder<BenchmarksServiceSettings,BenchmarksServiceSettings.Builder>
Builder for BenchmarksServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(BenchmarksServiceSettings settings) protectedBuilder(BenchmarksServiceStubSettings.Builder stubSettings) protectedBuilder(com.google.api.gax.rpc.ClientContext clientContext) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()com.google.api.gax.rpc.UnaryCallSettings.Builder<GenerateBenchmarksMetricsRequest,GenerateBenchmarksMetricsResponse> Returns the builder for the settings used for calls to generateBenchmarksMetrics.com.google.api.gax.rpc.UnaryCallSettings.Builder<ListBenchmarksAvailableDatesRequest,ListBenchmarksAvailableDatesResponse> Returns the builder for the settings used for calls to listBenchmarksAvailableDates.com.google.api.gax.rpc.UnaryCallSettings.Builder<ListBenchmarksLocationsRequest,ListBenchmarksLocationsResponse> Returns the builder for the settings used for calls to listBenchmarksLocations.com.google.api.gax.rpc.UnaryCallSettings.Builder<ListBenchmarksProductsRequest,ListBenchmarksProductsResponse> Returns the builder for the settings used for calls to listBenchmarksProducts.com.google.api.gax.rpc.UnaryCallSettings.Builder<ListBenchmarksSourcesRequest,ListBenchmarksSourcesResponse> Returns the builder for the settings used for calls to listBenchmarksSources.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext) -
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public BenchmarksServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?, ?>, 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.
-
listBenchmarksAvailableDatesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ListBenchmarksAvailableDatesRequest,ListBenchmarksAvailableDatesResponse> listBenchmarksAvailableDatesSettings()Returns the builder for the settings used for calls to listBenchmarksAvailableDates. -
listBenchmarksLocationsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ListBenchmarksLocationsRequest,ListBenchmarksLocationsResponse> listBenchmarksLocationsSettings()Returns the builder for the settings used for calls to listBenchmarksLocations. -
listBenchmarksProductsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ListBenchmarksProductsRequest,ListBenchmarksProductsResponse> listBenchmarksProductsSettings()Returns the builder for the settings used for calls to listBenchmarksProducts. -
listBenchmarksSourcesSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ListBenchmarksSourcesRequest,ListBenchmarksSourcesResponse> listBenchmarksSourcesSettings()Returns the builder for the settings used for calls to listBenchmarksSources. -
generateBenchmarksMetricsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GenerateBenchmarksMetricsRequest,GenerateBenchmarksMetricsResponse> generateBenchmarksMetricsSettings()Returns the builder for the settings used for calls to generateBenchmarksMetrics. -
build
- Specified by:
buildin classcom.google.api.gax.rpc.ClientSettings.Builder<BenchmarksServiceSettings,BenchmarksServiceSettings.Builder> - Throws:
IOException
-