Class InterconnectLocationsSettings.Builder (1.12.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
NameDescription
clientContextClientContext

Builder(InterconnectLocationsSettings settings)

protected Builder(InterconnectLocationsSettings settings)
Parameter
NameDescription
settingsInterconnectLocationsSettings

Builder(InterconnectLocationsStubSettings.Builder stubSettings)

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

build()

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

getSettings()

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

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

Returns
TypeDescription
Builder<GetInterconnectLocationRequest,InterconnectLocation>

getStubSettingsBuilder()

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

listSettings()

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

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

Returns
TypeDescription
Builder<ListInterconnectLocationsRequest,InterconnectLocationList,ListPagedResponse>