Package com.google.cloud.compute.v1
Class NetworksSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<NetworksSettings,NetworksSettings.Builder>
-
- com.google.cloud.compute.v1.NetworksSettings.Builder
-
- Enclosing class:
- NetworksSettings
public static class NetworksSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<NetworksSettings,NetworksSettings.Builder>
Builder for NetworksSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(NetworksSettings settings)
protected
Builder(NetworksStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.OperationCallSettings.Builder<AddPeeringNetworkRequest,Operation,Operation>
addPeeringOperationSettings()
Returns the builder for the settings used for calls to addPeering.com.google.api.gax.rpc.UnaryCallSettings.Builder<AddPeeringNetworkRequest,Operation>
addPeeringSettings()
Returns the builder for the settings used for calls to addPeering.NetworksSettings.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.NetworksSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteNetworkRequest,Operation,Operation>
deleteOperationSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNetworkRequest,Operation>
deleteSettings()
Returns the builder for the settings used for calls to delete.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEffectiveFirewallsNetworkRequest,NetworksGetEffectiveFirewallsResponse>
getEffectiveFirewallsSettings()
Returns the builder for the settings used for calls to getEffectiveFirewalls.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNetworkRequest,Network>
getSettings()
Returns the builder for the settings used for calls to get.NetworksStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.OperationCallSettings.Builder<InsertNetworkRequest,Operation,Operation>
insertOperationSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertNetworkRequest,Operation>
insertSettings()
Returns the builder for the settings used for calls to insert.com.google.api.gax.rpc.PagedCallSettings.Builder<ListPeeringRoutesNetworksRequest,ExchangedPeeringRoutesList,NetworksClient.ListPeeringRoutesPagedResponse>
listPeeringRoutesSettings()
Returns the builder for the settings used for calls to listPeeringRoutes.com.google.api.gax.rpc.PagedCallSettings.Builder<ListNetworksRequest,NetworkList,NetworksClient.ListPagedResponse>
listSettings()
Returns the builder for the settings used for calls to list.com.google.api.gax.rpc.OperationCallSettings.Builder<PatchNetworkRequest,Operation,Operation>
patchOperationSettings()
Returns the builder for the settings used for calls to patch.com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchNetworkRequest,Operation>
patchSettings()
Returns the builder for the settings used for calls to patch.com.google.api.gax.rpc.OperationCallSettings.Builder<RemovePeeringNetworkRequest,Operation,Operation>
removePeeringOperationSettings()
Returns the builder for the settings used for calls to removePeering.com.google.api.gax.rpc.UnaryCallSettings.Builder<RemovePeeringNetworkRequest,Operation>
removePeeringSettings()
Returns the builder for the settings used for calls to removePeering.com.google.api.gax.rpc.OperationCallSettings.Builder<SwitchToCustomModeNetworkRequest,Operation,Operation>
switchToCustomModeOperationSettings()
Returns the builder for the settings used for calls to switchToCustomMode.com.google.api.gax.rpc.UnaryCallSettings.Builder<SwitchToCustomModeNetworkRequest,Operation>
switchToCustomModeSettings()
Returns the builder for the settings used for calls to switchToCustomMode.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdatePeeringNetworkRequest,Operation,Operation>
updatePeeringOperationSettings()
Returns the builder for the settings used for calls to updatePeering.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePeeringNetworkRequest,Operation>
updatePeeringSettings()
Returns the builder for the settings used for calls to updatePeering.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(NetworksSettings settings)
-
Builder
protected Builder(NetworksStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public NetworksStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public NetworksSettings.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.Note: This method does not support applying settings to streaming methods.
-
addPeeringSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddPeeringNetworkRequest,Operation> addPeeringSettings()
Returns the builder for the settings used for calls to addPeering.
-
addPeeringOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<AddPeeringNetworkRequest,Operation,Operation> addPeeringOperationSettings()
Returns the builder for the settings used for calls to addPeering.
-
deleteSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteNetworkRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
-
deleteOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteNetworkRequest,Operation,Operation> deleteOperationSettings()
Returns the builder for the settings used for calls to delete.
-
getSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetNetworkRequest,Network> getSettings()
Returns the builder for the settings used for calls to get.
-
getEffectiveFirewallsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEffectiveFirewallsNetworkRequest,NetworksGetEffectiveFirewallsResponse> getEffectiveFirewallsSettings()
Returns the builder for the settings used for calls to getEffectiveFirewalls.
-
insertSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<InsertNetworkRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
-
insertOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<InsertNetworkRequest,Operation,Operation> insertOperationSettings()
Returns the builder for the settings used for calls to insert.
-
listSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListNetworksRequest,NetworkList,NetworksClient.ListPagedResponse> listSettings()
Returns the builder for the settings used for calls to list.
-
listPeeringRoutesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListPeeringRoutesNetworksRequest,ExchangedPeeringRoutesList,NetworksClient.ListPeeringRoutesPagedResponse> listPeeringRoutesSettings()
Returns the builder for the settings used for calls to listPeeringRoutes.
-
patchSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PatchNetworkRequest,Operation> patchSettings()
Returns the builder for the settings used for calls to patch.
-
patchOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<PatchNetworkRequest,Operation,Operation> patchOperationSettings()
Returns the builder for the settings used for calls to patch.
-
removePeeringSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RemovePeeringNetworkRequest,Operation> removePeeringSettings()
Returns the builder for the settings used for calls to removePeering.
-
removePeeringOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<RemovePeeringNetworkRequest,Operation,Operation> removePeeringOperationSettings()
Returns the builder for the settings used for calls to removePeering.
-
switchToCustomModeSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<SwitchToCustomModeNetworkRequest,Operation> switchToCustomModeSettings()
Returns the builder for the settings used for calls to switchToCustomMode.
-
switchToCustomModeOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<SwitchToCustomModeNetworkRequest,Operation,Operation> switchToCustomModeOperationSettings()
Returns the builder for the settings used for calls to switchToCustomMode.
-
updatePeeringSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdatePeeringNetworkRequest,Operation> updatePeeringSettings()
Returns the builder for the settings used for calls to updatePeering.
-
updatePeeringOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdatePeeringNetworkRequest,Operation,Operation> updatePeeringOperationSettings()
Returns the builder for the settings used for calls to updatePeering.
-
build
public NetworksSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<NetworksSettings,NetworksSettings.Builder>
- Throws:
IOException
-
-