Send feedback
Class HttpJsonNetworksStub (1.65.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.65.0 keyboard_arrow_down
public class HttpJsonNetworksStub extends NetworksStub
REST stub implementation for the Networks service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonNetworksStub create ( ClientContext clientContext )
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonNetworksStub create ( ClientContext clientContext , HttpJsonStubCallableFactory callableFactory )
create(NetworksStubSettings settings)
public static final HttpJsonNetworksStub create ( NetworksStubSettings settings )
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors ()
Constructors
HttpJsonNetworksStub(NetworksStubSettings settings, ClientContext clientContext)
protected HttpJsonNetworksStub ( NetworksStubSettings settings , ClientContext clientContext )
Constructs an instance of HttpJsonNetworksStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
HttpJsonNetworksStub(NetworksStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonNetworksStub ( NetworksStubSettings settings , ClientContext clientContext , HttpJsonStubCallableFactory callableFactory )
Constructs an instance of HttpJsonNetworksStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
addPeeringCallable()
public UnaryCallable<AddPeeringNetworkRequest , Operation > addPeeringCallable ()
Overrides
addPeeringOperationCallable()
public OperationCallable<AddPeeringNetworkRequest , Operation , Operation > addPeeringOperationCallable ()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination ( long duration , TimeUnit unit )
close()
public final void close ()
Overrides
deleteCallable()
public UnaryCallable<DeleteNetworkRequest , Operation > deleteCallable ()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteNetworkRequest , Operation , Operation > deleteOperationCallable ()
Overrides
getCallable()
public UnaryCallable<GetNetworkRequest , Network > getCallable ()
Overrides
getEffectiveFirewallsCallable()
public UnaryCallable<GetEffectiveFirewallsNetworkRequest , NetworksGetEffectiveFirewallsResponse > getEffectiveFirewallsCallable ()
Overrides
insertCallable()
public UnaryCallable<InsertNetworkRequest , Operation > insertCallable ()
Overrides
insertOperationCallable()
public OperationCallable<InsertNetworkRequest , Operation , Operation > insertOperationCallable ()
Overrides
isShutdown()
public boolean isShutdown ()
isTerminated()
public boolean isTerminated ()
listCallable()
public UnaryCallable<ListNetworksRequest , NetworkList > listCallable ()
Overrides
listPagedCallable()
public UnaryCallable<ListNetworksRequest , NetworksClient . ListPagedResponse > listPagedCallable ()
Overrides
listPeeringRoutesCallable()
public UnaryCallable<ListPeeringRoutesNetworksRequest , ExchangedPeeringRoutesList > listPeeringRoutesCallable ()
Overrides
listPeeringRoutesPagedCallable()
public UnaryCallable<ListPeeringRoutesNetworksRequest , NetworksClient . ListPeeringRoutesPagedResponse > listPeeringRoutesPagedCallable ()
Overrides
patchCallable()
public UnaryCallable<PatchNetworkRequest , Operation > patchCallable ()
Overrides
patchOperationCallable()
public OperationCallable<PatchNetworkRequest , Operation , Operation > patchOperationCallable ()
Overrides
removePeeringCallable()
public UnaryCallable<RemovePeeringNetworkRequest , Operation > removePeeringCallable ()
Overrides
removePeeringOperationCallable()
public OperationCallable<RemovePeeringNetworkRequest , Operation , Operation > removePeeringOperationCallable ()
Overrides
shutdown()
shutdownNow()
public void shutdownNow ()
switchToCustomModeCallable()
public UnaryCallable<SwitchToCustomModeNetworkRequest , Operation > switchToCustomModeCallable ()
Overrides
switchToCustomModeOperationCallable()
public OperationCallable<SwitchToCustomModeNetworkRequest , Operation , Operation > switchToCustomModeOperationCallable ()
Overrides
updatePeeringCallable()
public UnaryCallable<UpdatePeeringNetworkRequest , Operation > updatePeeringCallable ()
Overrides
updatePeeringOperationCallable()
public OperationCallable<UpdatePeeringNetworkRequest , Operation , Operation > updatePeeringOperationCallable ()
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]