Class BetaAnalyticsDataStubSettings.Builder (0.20.0)

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

Builder for BetaAnalyticsDataStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > BetaAnalyticsDataStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(BetaAnalyticsDataStubSettings settings)

protected Builder(BetaAnalyticsDataStubSettings settings)
Parameter
NameDescription
settingsBetaAnalyticsDataStubSettings

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Methods

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

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

batchRunPivotReportsSettings()

public UnaryCallSettings.Builder<BatchRunPivotReportsRequest,BatchRunPivotReportsResponse> batchRunPivotReportsSettings()

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

Returns
TypeDescription
Builder<BatchRunPivotReportsRequest,BatchRunPivotReportsResponse>

batchRunReportsSettings()

public UnaryCallSettings.Builder<BatchRunReportsRequest,BatchRunReportsResponse> batchRunReportsSettings()

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

Returns
TypeDescription
Builder<BatchRunReportsRequest,BatchRunReportsResponse>

build()

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

checkCompatibilitySettings()

public UnaryCallSettings.Builder<CheckCompatibilityRequest,CheckCompatibilityResponse> checkCompatibilitySettings()

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

Returns
TypeDescription
Builder<CheckCompatibilityRequest,CheckCompatibilityResponse>

getMetadataSettings()

public UnaryCallSettings.Builder<GetMetadataRequest,Metadata> getMetadataSettings()

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

Returns
TypeDescription
Builder<GetMetadataRequest,Metadata>

runPivotReportSettings()

public UnaryCallSettings.Builder<RunPivotReportRequest,RunPivotReportResponse> runPivotReportSettings()

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

Returns
TypeDescription
Builder<RunPivotReportRequest,RunPivotReportResponse>

runRealtimeReportSettings()

public UnaryCallSettings.Builder<RunRealtimeReportRequest,RunRealtimeReportResponse> runRealtimeReportSettings()

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

Returns
TypeDescription
Builder<RunRealtimeReportRequest,RunRealtimeReportResponse>

runReportSettings()

public UnaryCallSettings.Builder<RunReportRequest,RunReportResponse> runReportSettings()

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

Returns
TypeDescription
Builder<RunReportRequest,RunReportResponse>

unaryMethodSettingsBuilders()

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