Class BetaAnalyticsDataStubSettings.Builder (0.50.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>

createAudienceExportOperationSettings()

public OperationCallSettings.Builder<CreateAudienceExportRequest,AudienceExport,AudienceExportMetadata> createAudienceExportOperationSettings()

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

Returns
TypeDescription
Builder<CreateAudienceExportRequest,AudienceExport,AudienceExportMetadata>

createAudienceExportSettings()

public UnaryCallSettings.Builder<CreateAudienceExportRequest,Operation> createAudienceExportSettings()

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

Returns
TypeDescription
Builder<CreateAudienceExportRequest,Operation>

getAudienceExportSettings()

public UnaryCallSettings.Builder<GetAudienceExportRequest,AudienceExport> getAudienceExportSettings()

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

Returns
TypeDescription
Builder<GetAudienceExportRequest,AudienceExport>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getMetadataSettings()

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

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

Returns
TypeDescription
Builder<GetMetadataRequest,Metadata>

listAudienceExportsSettings()

public PagedCallSettings.Builder<ListAudienceExportsRequest,ListAudienceExportsResponse,BetaAnalyticsDataClient.ListAudienceExportsPagedResponse> listAudienceExportsSettings()

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

Returns
TypeDescription
Builder<ListAudienceExportsRequest,ListAudienceExportsResponse,ListAudienceExportsPagedResponse>

queryAudienceExportSettings()

public UnaryCallSettings.Builder<QueryAudienceExportRequest,QueryAudienceExportResponse> queryAudienceExportSettings()

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

Returns
TypeDescription
Builder<QueryAudienceExportRequest,QueryAudienceExportResponse>

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<?,?>>