public static class InterconnectLocationSettings.Builder extends ClientSettings.Builder<InterconnectLocationSettings,InterconnectLocationSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(InterconnectLocationSettings settings) |
protected |
Builder(InterconnectLocationStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
InterconnectLocationSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
InterconnectLocationSettings |
build() |
UnaryCallSettings.Builder<GetInterconnectLocationHttpRequest,InterconnectLocation> |
getInterconnectLocationSettings()
Returns the builder for the settings used for calls to getInterconnectLocation.
|
InterconnectLocationStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<ListInterconnectLocationsHttpRequest,InterconnectLocationList,InterconnectLocationClient.ListInterconnectLocationsPagedResponse> |
listInterconnectLocationsSettings()
Returns the builder for the settings used for calls to listInterconnectLocations.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(InterconnectLocationSettings settings)
protected Builder(InterconnectLocationStubSettings.Builder stubSettings)
public InterconnectLocationStubSettings.Builder getStubSettingsBuilder()
public InterconnectLocationSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<GetInterconnectLocationHttpRequest,InterconnectLocation> getInterconnectLocationSettings()
public PagedCallSettings.Builder<ListInterconnectLocationsHttpRequest,InterconnectLocationList,InterconnectLocationClient.ListInterconnectLocationsPagedResponse> listInterconnectLocationsSettings()
public InterconnectLocationSettings build() throws IOException
build
in class ClientSettings.Builder<InterconnectLocationSettings,InterconnectLocationSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.