Class ErrorGroupServiceStubSettings.Builder (0.123.4-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
NameDescription
clientContextClientContext

Builder(ErrorGroupServiceStubSettings settings)

protected Builder(ErrorGroupServiceStubSettings settings)
Parameter
NameDescription
settingsErrorGroupServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ErrorGroupServiceStubSettings.Builder

build()

public ErrorGroupServiceStubSettings build()
Returns
TypeDescription
ErrorGroupServiceStubSettings
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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateGroupRequest,ErrorGroup>