Class ReportServiceSettings.Builder (0.11.0)

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

Builder for ReportServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ReportServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ReportServiceSettings settings)

protected Builder(ReportServiceSettings settings)
Parameter
Name Description
settings ReportServiceSettings

Builder(ReportServiceStubSettings.Builder stubSettings)

protected Builder(ReportServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ReportServiceStubSettings.Builder

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

public ReportServiceSettings build()
Returns
Type Description
ReportServiceSettings
Overrides
Exceptions
Type Description
IOException

createReportSettings()

public UnaryCallSettings.Builder<CreateReportRequest,Report> createReportSettings()

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

Returns
Type Description
Builder<CreateReportRequest,Report>

fetchReportResultRowsSettings()

public PagedCallSettings.Builder<FetchReportResultRowsRequest,FetchReportResultRowsResponse,ReportServiceClient.FetchReportResultRowsPagedResponse> fetchReportResultRowsSettings()

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

Returns
Type Description
Builder<FetchReportResultRowsRequest,FetchReportResultRowsResponse,FetchReportResultRowsPagedResponse>

getReportSettings()

public UnaryCallSettings.Builder<GetReportRequest,Report> getReportSettings()

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

Returns
Type Description
Builder<GetReportRequest,Report>

getStubSettingsBuilder()

public ReportServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ReportServiceStubSettings.Builder

listReportsSettings()

public PagedCallSettings.Builder<ListReportsRequest,ListReportsResponse,ReportServiceClient.ListReportsPagedResponse> listReportsSettings()

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

Returns
Type Description
Builder<ListReportsRequest,ListReportsResponse,ListReportsPagedResponse>

runReportOperationSettings()

public OperationCallSettings.Builder<RunReportRequest,RunReportResponse,RunReportMetadata> runReportOperationSettings()

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

Returns
Type Description
Builder<RunReportRequest,RunReportResponse,RunReportMetadata>

runReportSettings()

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

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

Returns
Type Description
Builder<RunReportRequest,Operation>

updateReportSettings()

public UnaryCallSettings.Builder<UpdateReportRequest,Report> updateReportSettings()

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

Returns
Type Description
Builder<UpdateReportRequest,Report>