public static class NetworkSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<NetworkSettings,NetworkSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(NetworkSettings settings) |
protected |
Builder(NetworkStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallSettings.Builder<AddPeeringNetworkHttpRequest,Operation> |
addPeeringNetworkSettings()
Returns the builder for the settings used for calls to addPeeringNetwork.
|
NetworkSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
NetworkSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNetworkHttpRequest,Operation> |
deleteNetworkSettings()
Returns the builder for the settings used for calls to deleteNetwork.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNetworkHttpRequest,Network> |
getNetworkSettings()
Returns the builder for the settings used for calls to getNetwork.
|
NetworkStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertNetworkHttpRequest,Operation> |
insertNetworkSettings()
Returns the builder for the settings used for calls to insertNetwork.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListNetworksHttpRequest,NetworkList,NetworkClient.ListNetworksPagedResponse> |
listNetworksSettings()
Returns the builder for the settings used for calls to listNetworks.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchNetworkHttpRequest,Operation> |
patchNetworkSettings()
Returns the builder for the settings used for calls to patchNetwork.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<RemovePeeringNetworkHttpRequest,Operation> |
removePeeringNetworkSettings()
Returns the builder for the settings used for calls to removePeeringNetwork.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<SwitchToCustomModeNetworkHttpRequest,Operation> |
switchToCustomModeNetworkSettings()
Returns the builder for the settings used for calls to switchToCustomModeNetwork.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePeeringNetworkHttpRequest,Operation> |
updatePeeringNetworkSettings()
Returns the builder for the settings used for calls to updatePeeringNetwork.
|
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(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(NetworkSettings settings)
protected Builder(NetworkStubSettings.Builder stubSettings)
public NetworkStubSettings.Builder getStubSettingsBuilder()
public NetworkSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddPeeringNetworkHttpRequest,Operation> addPeeringNetworkSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNetworkHttpRequest,Operation> deleteNetworkSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNetworkHttpRequest,Network> getNetworkSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertNetworkHttpRequest,Operation> insertNetworkSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListNetworksHttpRequest,NetworkList,NetworkClient.ListNetworksPagedResponse> listNetworksSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchNetworkHttpRequest,Operation> patchNetworkSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemovePeeringNetworkHttpRequest,Operation> removePeeringNetworkSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SwitchToCustomModeNetworkHttpRequest,Operation> switchToCustomModeNetworkSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePeeringNetworkHttpRequest,Operation> updatePeeringNetworkSettings()
public NetworkSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<NetworkSettings,NetworkSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.