Class RoleServiceSettings.Builder (0.14.0)

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

Builder for RoleServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RoleServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(RoleServiceSettings settings)

protected Builder(RoleServiceSettings settings)
Parameter
Name Description
settings RoleServiceSettings

Builder(RoleServiceStubSettings.Builder stubSettings)

protected Builder(RoleServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings RoleServiceStubSettings.Builder

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

getRoleSettings()

public UnaryCallSettings.Builder<GetRoleRequest,Role> getRoleSettings()

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

Returns
Type Description
Builder<GetRoleRequest,Role>

getStubSettingsBuilder()

public RoleServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
RoleServiceStubSettings.Builder

listRolesSettings()

public PagedCallSettings.Builder<ListRolesRequest,ListRolesResponse,RoleServiceClient.ListRolesPagedResponse> listRolesSettings()

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

Returns
Type Description
Builder<ListRolesRequest,ListRolesResponse,ListRolesPagedResponse>