Class InterconnectRemoteLocationsSettings.Builder (1.37.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
NameDescription
clientContextClientContext

Builder(InterconnectRemoteLocationsSettings settings)

protected Builder(InterconnectRemoteLocationsSettings settings)
Parameter
NameDescription
settingsInterconnectRemoteLocationsSettings

Builder(InterconnectRemoteLocationsStubSettings.Builder stubSettings)

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

build()

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

getSettings()

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

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

Returns
TypeDescription
Builder<GetInterconnectRemoteLocationRequest,InterconnectRemoteLocation>

getStubSettingsBuilder()

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

listSettings()

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

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

Returns
TypeDescription
Builder<ListInterconnectRemoteLocationsRequest,InterconnectRemoteLocationList,ListPagedResponse>