Class ReportServiceStubSettings.Builder (0.6.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

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>

unaryMethodSettingsBuilders()

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