Class AclConfigServiceStubSettings.Builder (0.35.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
NameDescription
clientContextClientContext

Builder(AclConfigServiceStubSettings settings)

protected Builder(AclConfigServiceStubSettings settings)
Parameter
NameDescription
settingsAclConfigServiceStubSettings

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

build()

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

unaryMethodSettingsBuilders()

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