Class ReportServiceStubSettings.Builder (0.14.0)

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

Builder for ReportServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ReportServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ReportServiceStubSettings settings)

protected Builder(ReportServiceStubSettings settings)
Parameter
Name Description
settings ReportServiceStubSettings

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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

updateReportSettings()

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

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

Returns
Type Description
Builder<UpdateReportRequest,Report>