public static class NetworkSettings.Builder extends ClientSettings.Builder<NetworkSettings,NetworkSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(NetworkSettings settings) |
protected |
Builder(NetworkStubSettings.Builder stubSettings) |
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(NetworkSettings settings)
protected Builder(NetworkStubSettings.Builder stubSettings)
public NetworkStubSettings.Builder getStubSettingsBuilder()
public NetworkSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<AddPeeringNetworkHttpRequest,Operation> addPeeringNetworkSettings()
public UnaryCallSettings.Builder<DeleteNetworkHttpRequest,Operation> deleteNetworkSettings()
public UnaryCallSettings.Builder<GetNetworkHttpRequest,Network> getNetworkSettings()
public UnaryCallSettings.Builder<InsertNetworkHttpRequest,Operation> insertNetworkSettings()
public PagedCallSettings.Builder<ListNetworksHttpRequest,NetworkList,NetworkClient.ListNetworksPagedResponse> listNetworksSettings()
public UnaryCallSettings.Builder<PatchNetworkHttpRequest,Operation> patchNetworkSettings()
public UnaryCallSettings.Builder<RemovePeeringNetworkHttpRequest,Operation> removePeeringNetworkSettings()
public UnaryCallSettings.Builder<SwitchToCustomModeNetworkHttpRequest,Operation> switchToCustomModeNetworkSettings()
public NetworkSettings build() throws IOException
build
in class ClientSettings.Builder<NetworkSettings,NetworkSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.