Class ErrorGroupServiceStubSettings.Builder (0.170.0-beta)

public static class ErrorGroupServiceStubSettings.Builder extends StubSettings.Builder<ErrorGroupServiceStubSettings,ErrorGroupServiceStubSettings.Builder>

Builder for ErrorGroupServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ErrorGroupServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ErrorGroupServiceStubSettings settings)

protected Builder(ErrorGroupServiceStubSettings settings)
Parameter
Name Description
settings ErrorGroupServiceStubSettings

Methods

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

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

build()

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

getGroupSettings()

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

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

Returns
Type Description
Builder<GetGroupRequest,ErrorGroup>

unaryMethodSettingsBuilders()

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

updateGroupSettings()

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

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

Returns
Type Description
Builder<UpdateGroupRequest,ErrorGroup>