Class ReportErrorsServiceSettings.Builder (0.153.0-beta)

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

Builder for ReportErrorsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ReportErrorsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ReportErrorsServiceSettings settings)

protected Builder(ReportErrorsServiceSettings settings)
Parameter
NameDescription
settingsReportErrorsServiceSettings

Builder(ReportErrorsServiceStubSettings.Builder stubSettings)

protected Builder(ReportErrorsServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsReportErrorsServiceStubSettings.Builder

Methods

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

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

build()

public ReportErrorsServiceSettings build()
Returns
TypeDescription
ReportErrorsServiceSettings
Overrides
Exceptions
TypeDescription
IOException

getStubSettingsBuilder()

public ReportErrorsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ReportErrorsServiceStubSettings.Builder

reportErrorEventSettings()

public UnaryCallSettings.Builder<ReportErrorEventRequest,ReportErrorEventResponse> reportErrorEventSettings()

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

Returns
TypeDescription
Builder<ReportErrorEventRequest,ReportErrorEventResponse>