Class AuthorizedDomainsStubSettings.Builder (2.49.0)

public static class AuthorizedDomainsStubSettings.Builder extends StubSettings.Builder<AuthorizedDomainsStubSettings,AuthorizedDomainsStubSettings.Builder>

Builder for AuthorizedDomainsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AuthorizedDomainsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AuthorizedDomainsStubSettings settings)

protected Builder(AuthorizedDomainsStubSettings settings)
Parameter
Name Description
settings AuthorizedDomainsStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>