Class InterconnectRemoteLocationsSettings.Builder (1.54.0)

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

Builder for InterconnectRemoteLocationsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > InterconnectRemoteLocationsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(InterconnectRemoteLocationsSettings settings)

protected Builder(InterconnectRemoteLocationsSettings settings)
Parameter
Name Description
settings InterconnectRemoteLocationsSettings

Builder(InterconnectRemoteLocationsStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

getSettings()

public UnaryCallSettings.Builder<GetInterconnectRemoteLocationRequest,InterconnectRemoteLocation> getSettings()

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

Returns
Type Description
Builder<GetInterconnectRemoteLocationRequest,InterconnectRemoteLocation>

getStubSettingsBuilder()

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

listSettings()

public PagedCallSettings.Builder<ListInterconnectRemoteLocationsRequest,InterconnectRemoteLocationList,InterconnectRemoteLocationsClient.ListPagedResponse> listSettings()

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

Returns
Type Description
Builder<ListInterconnectRemoteLocationsRequest,InterconnectRemoteLocationList,ListPagedResponse>