Class AuthorizedDomainsStubSettings.Builder (2.35.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
NameDescription
clientContextClientContext

Builder(AuthorizedDomainsStubSettings settings)

protected Builder(AuthorizedDomainsStubSettings settings)
Parameter
NameDescription
settingsAuthorizedDomainsStubSettings

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

build()

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

getEndpoint()

public String getEndpoint()

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

Returns
TypeDescription
String
Overrides

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>

unaryMethodSettingsBuilders()

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