Class AuthorizedDomainsSettings.Builder (2.45.0)

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

Builder for AuthorizedDomainsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AuthorizedDomainsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AuthorizedDomainsSettings settings)

protected Builder(AuthorizedDomainsSettings settings)
Parameter
Name Description
settings AuthorizedDomainsSettings

Builder(AuthorizedDomainsStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getStubSettingsBuilder()

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

listAuthorizedDomainsSettings()

public PagedCallSettings.Builder<ListAuthorizedDomainsRequest,ListAuthorizedDomainsResponse,AuthorizedDomainsClient.ListAuthorizedDomainsPagedResponse> listAuthorizedDomainsSettings()

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

Returns
Type Description
Builder<ListAuthorizedDomainsRequest,ListAuthorizedDomainsResponse,ListAuthorizedDomainsPagedResponse>