Class ErrorGroupServiceSettings.Builder (0.138.0-beta)

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

Builder for ErrorGroupServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ErrorGroupServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(ErrorGroupServiceSettings settings)

protected Builder(ErrorGroupServiceSettings settings)
Parameter
NameDescription
settingsErrorGroupServiceSettings

Builder(ErrorGroupServiceStubSettings.Builder stubSettings)

protected Builder(ErrorGroupServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsErrorGroupServiceStubSettings.Builder

Methods

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

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

build()

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

getGroupSettings()

public UnaryCallSettings.Builder<GetGroupRequest,ErrorGroup> getGroupSettings()

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

Returns
TypeDescription
Builder<GetGroupRequest,ErrorGroup>

getStubSettingsBuilder()

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

updateGroupSettings()

public UnaryCallSettings.Builder<UpdateGroupRequest,ErrorGroup> updateGroupSettings()

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

Returns
TypeDescription
Builder<UpdateGroupRequest,ErrorGroup>