Class AnalyticsServiceStubSettings.Builder (2.47.0)

public static class AnalyticsServiceStubSettings.Builder extends StubSettings.Builder<AnalyticsServiceStubSettings,AnalyticsServiceStubSettings.Builder>

Builder for AnalyticsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AnalyticsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AnalyticsServiceStubSettings settings)

protected Builder(AnalyticsServiceStubSettings settings)
Parameter
Name Description
settings AnalyticsServiceStubSettings

Methods

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

public AnalyticsServiceStubSettings.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
AnalyticsServiceStubSettings.Builder

build()

public AnalyticsServiceStubSettings build()
Returns
Type Description
AnalyticsServiceStubSettings
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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>