Class AclConfigServiceStubSettings.Builder (0.45.0)

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

Builder for AclConfigServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AclConfigServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AclConfigServiceStubSettings settings)

protected Builder(AclConfigServiceStubSettings settings)
Parameter
Name Description
settings AclConfigServiceStubSettings

Methods

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

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

build()

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

getAclConfigSettings()

public UnaryCallSettings.Builder<GetAclConfigRequest,AclConfig> getAclConfigSettings()

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

Returns
Type Description
Builder<GetAclConfigRequest,AclConfig>

unaryMethodSettingsBuilders()

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

updateAclConfigSettings()

public UnaryCallSettings.Builder<UpdateAclConfigRequest,AclConfig> updateAclConfigSettings()

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

Returns
Type Description
Builder<UpdateAclConfigRequest,AclConfig>