Class InterconnectLocationsStubSettings.Builder (1.58.0)

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

Builder for InterconnectLocationsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > InterconnectLocationsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(InterconnectLocationsStubSettings settings)

protected Builder(InterconnectLocationsStubSettings settings)
Parameter
Name Description
settings InterconnectLocationsStubSettings

Methods

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

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

build()

public InterconnectLocationsStubSettings build()
Returns
Type Description
InterconnectLocationsStubSettings
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>

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>

unaryMethodSettingsBuilders()

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