Package com.google.cloud.compute.v1.stub
Class NetworksStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<NetworksStubSettings,NetworksStubSettings.Builder>
-
- com.google.cloud.compute.v1.stub.NetworksStubSettings.Builder
-
- Enclosing class:
- NetworksStubSettings
public static class NetworksStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<NetworksStubSettings,NetworksStubSettings.Builder>
Builder for NetworksStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(NetworksStubSettings settings)
-
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.NetworksStubSettings.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.NetworksStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(NetworksStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public NetworksStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
addPeeringSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<AddPeeringNetworkRequest,Operation> addPeeringSettings()
Returns the builder for the settings used for calls to addPeering.
-
addPeeringOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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 NetworksStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<NetworksStubSettings,NetworksStubSettings.Builder>
- Throws:
IOException
-
-