public static class NetworkStubSettings.Builder extends StubSettings.Builder<NetworkStubSettings,NetworkStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(NetworkStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
UnaryCallSettings.Builder<AddPeeringNetworkHttpRequest,Operation> |
addPeeringNetworkSettings()
Returns the builder for the settings used for calls to addPeeringNetwork.
|
NetworkStubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
NetworkStubSettings |
build() |
UnaryCallSettings.Builder<DeleteNetworkHttpRequest,Operation> |
deleteNetworkSettings()
Returns the builder for the settings used for calls to deleteNetwork.
|
UnaryCallSettings.Builder<GetNetworkHttpRequest,Network> |
getNetworkSettings()
Returns the builder for the settings used for calls to getNetwork.
|
UnaryCallSettings.Builder<InsertNetworkHttpRequest,Operation> |
insertNetworkSettings()
Returns the builder for the settings used for calls to insertNetwork.
|
PagedCallSettings.Builder<ListNetworksHttpRequest,NetworkList,NetworkClient.ListNetworksPagedResponse> |
listNetworksSettings()
Returns the builder for the settings used for calls to listNetworks.
|
UnaryCallSettings.Builder<PatchNetworkHttpRequest,Operation> |
patchNetworkSettings()
Returns the builder for the settings used for calls to patchNetwork.
|
UnaryCallSettings.Builder<RemovePeeringNetworkHttpRequest,Operation> |
removePeeringNetworkSettings()
Returns the builder for the settings used for calls to removePeeringNetwork.
|
UnaryCallSettings.Builder<SwitchToCustomModeNetworkHttpRequest,Operation> |
switchToCustomModeNetworkSettings()
Returns the builder for the settings used for calls to switchToCustomModeNetwork.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(NetworkStubSettings settings)
public NetworkStubSettings.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 com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 NetworkStubSettings build() throws IOException
build
in class StubSettings.Builder<NetworkStubSettings,NetworkStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.