Class AnalyticsServiceSettings.Builder (2.36.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
NameDescription
clientContextClientContext

Builder(AnalyticsServiceSettings settings)

protected Builder(AnalyticsServiceSettings settings)
Parameter
NameDescription
settingsAnalyticsServiceSettings

Builder(AnalyticsServiceStubSettings.Builder stubSettings)

protected Builder(AnalyticsServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsAnalyticsServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
AnalyticsServiceSettings.Builder

build()

public AnalyticsServiceSettings build()
Returns
TypeDescription
AnalyticsServiceSettings
Overrides
Exceptions
TypeDescription
IOException

exportAnalyticsMetricsOperationSettings()

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

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

Returns
TypeDescription
Builder<ExportAnalyticsMetricsRequest,ExportAnalyticsMetricsResponse,ExportMetadata>

exportAnalyticsMetricsSettings()

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

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

Returns
TypeDescription
Builder<ExportAnalyticsMetricsRequest,Operation>

getStubSettingsBuilder()

public AnalyticsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
AnalyticsServiceStubSettings.Builder