Class BetaAnalyticsDataSettings.Builder (0.21.0)

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

Builder for BetaAnalyticsDataSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > BetaAnalyticsDataSettings.Builder

Constructors

Builder()

protected Builder()

Builder(BetaAnalyticsDataSettings settings)

protected Builder(BetaAnalyticsDataSettings settings)
Parameter
NameDescription
settingsBetaAnalyticsDataSettings

Builder(BetaAnalyticsDataStubSettings.Builder stubSettings)

protected Builder(BetaAnalyticsDataStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsBetaAnalyticsDataStubSettings.Builder

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Methods

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

public BetaAnalyticsDataSettings.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
BetaAnalyticsDataSettings.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 BetaAnalyticsDataSettings build()
Returns
TypeDescription
BetaAnalyticsDataSettings
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>

getStubSettingsBuilder()

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

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>