Class ReportErrorsServiceSettings.Builder (0.173.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
Name Description
clientContext ClientContext

Builder(ReportErrorsServiceSettings settings)

protected Builder(ReportErrorsServiceSettings settings)
Parameter
Name Description
settings ReportErrorsServiceSettings

Builder(ReportErrorsServiceStubSettings.Builder stubSettings)

protected Builder(ReportErrorsServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ReportErrorsServiceStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
ReportErrorsServiceSettings.Builder

build()

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

getStubSettingsBuilder()

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

reportErrorEventSettings()

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

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

Returns
Type Description
Builder<ReportErrorEventRequest,ReportErrorEventResponse>