Class AnalyticsServiceSettings.Builder (2.45.0)

public static class AnalyticsServiceSettings.Builder extends ClientSettings.Builder<AnalyticsServiceSettings,AnalyticsServiceSettings.Builder>

Builder for AnalyticsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AnalyticsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AnalyticsServiceSettings settings)

protected Builder(AnalyticsServiceSettings settings)
Parameter
Name Description
settings AnalyticsServiceSettings

Builder(AnalyticsServiceStubSettings.Builder stubSettings)

protected Builder(AnalyticsServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings AnalyticsServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public AnalyticsServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
AnalyticsServiceSettings.Builder

build()

public AnalyticsServiceSettings build()
Returns
Type Description
AnalyticsServiceSettings
Overrides
Exceptions
Type Description
IOException

exportAnalyticsMetricsOperationSettings()

public OperationCallSettings.Builder<ExportAnalyticsMetricsRequest,ExportAnalyticsMetricsResponse,ExportMetadata> exportAnalyticsMetricsOperationSettings()

Returns the builder for the settings used for calls to exportAnalyticsMetrics.

Returns
Type Description
Builder<ExportAnalyticsMetricsRequest,ExportAnalyticsMetricsResponse,ExportMetadata>

exportAnalyticsMetricsSettings()

public UnaryCallSettings.Builder<ExportAnalyticsMetricsRequest,Operation> exportAnalyticsMetricsSettings()

Returns the builder for the settings used for calls to exportAnalyticsMetrics.

Returns
Type Description
Builder<ExportAnalyticsMetricsRequest,Operation>

getStubSettingsBuilder()

public AnalyticsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
AnalyticsServiceStubSettings.Builder