Class AclConfigServiceSettings.Builder (0.35.0)

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

Builder for AclConfigServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AclConfigServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(AclConfigServiceSettings settings)

protected Builder(AclConfigServiceSettings settings)
Parameter
NameDescription
settingsAclConfigServiceSettings

Builder(AclConfigServiceStubSettings.Builder stubSettings)

protected Builder(AclConfigServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsAclConfigServiceStubSettings.Builder

Methods

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

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

build()

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

getAclConfigSettings()

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

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

Returns
TypeDescription
Builder<GetAclConfigRequest,AclConfig>

getStubSettingsBuilder()

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

updateAclConfigSettings()

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

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

Returns
TypeDescription
Builder<UpdateAclConfigRequest,AclConfig>