Class ReportServiceSettings.Builder (0.2.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

exportSavedReportOperationSettings()

public OperationCallSettings.Builder<ExportSavedReportRequest,ExportSavedReportResponse,ExportSavedReportMetadata> exportSavedReportOperationSettings()

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

Returns
Type Description
Builder<ExportSavedReportRequest,ExportSavedReportResponse,ExportSavedReportMetadata>

exportSavedReportSettings()

public UnaryCallSettings.Builder<ExportSavedReportRequest,Operation> exportSavedReportSettings()

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

Returns
Type Description
Builder<ExportSavedReportRequest,Operation>

getStubSettingsBuilder()

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