Class InterconnectLocationsSettings.Builder (1.53.0)

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

Builder for InterconnectLocationsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > InterconnectLocationsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(InterconnectLocationsSettings settings)

protected Builder(InterconnectLocationsSettings settings)
Parameter
Name Description
settings InterconnectLocationsSettings

Builder(InterconnectLocationsStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getSettings()

public UnaryCallSettings.Builder<GetInterconnectLocationRequest,InterconnectLocation> getSettings()

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

Returns
Type Description
Builder<GetInterconnectLocationRequest,InterconnectLocation>

getStubSettingsBuilder()

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

listSettings()

public PagedCallSettings.Builder<ListInterconnectLocationsRequest,InterconnectLocationList,InterconnectLocationsClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListInterconnectLocationsRequest,InterconnectLocationList,ListPagedResponse>