Class AuthorizedDomainsSettings.Builder (2.1.10)

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
NameDescription
clientContextClientContext

Builder(AuthorizedDomainsSettings settings)

protected Builder(AuthorizedDomainsSettings settings)
Parameter
NameDescription
settingsAuthorizedDomainsSettings

Builder(AuthorizedDomainsStubSettings.Builder stubSettings)

protected Builder(AuthorizedDomainsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsAuthorizedDomainsStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
AuthorizedDomainsSettings.Builder

build()

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

getStubSettingsBuilder()

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

listAuthorizedDomainsSettings()

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

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

Returns
TypeDescription
Builder<ListAuthorizedDomainsRequest,ListAuthorizedDomainsResponse,ListAuthorizedDomainsPagedResponse>