Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
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