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.
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.
Parameters
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.
Parameters
Methods
addPeeringCallable()
public UnaryCallable<AddPeeringNetworkRequest,Operation> addPeeringCallable()
Returns
Overrides
addPeeringOperationCallable()
public OperationCallable<AddPeeringNetworkRequest,Operation,Operation> addPeeringOperationCallable()
Returns
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
create(ClientContext clientContext)
public static final HttpJsonNetworksStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonNetworksStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(NetworksStubSettings settings)
public static final HttpJsonNetworksStub create(NetworksStubSettings settings)
Parameter
Returns
Exceptions
deleteCallable()
public UnaryCallable<DeleteNetworkRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteNetworkRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetNetworkRequest,Network> getCallable()
Returns
Overrides
getEffectiveFirewallsCallable()
public UnaryCallable<GetEffectiveFirewallsNetworkRequest,NetworksGetEffectiveFirewallsResponse> getEffectiveFirewallsCallable()
Returns
Overrides
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
insertCallable()
public UnaryCallable<InsertNetworkRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertNetworkRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListNetworksRequest,NetworkList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListNetworksRequest,NetworksClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
listPeeringRoutesCallable()
public UnaryCallable<ListPeeringRoutesNetworksRequest,ExchangedPeeringRoutesList> listPeeringRoutesCallable()
Returns
Overrides
listPeeringRoutesPagedCallable()
public UnaryCallable<ListPeeringRoutesNetworksRequest,NetworksClient.ListPeeringRoutesPagedResponse> listPeeringRoutesPagedCallable()
Returns
Overrides
patchCallable()
public UnaryCallable<PatchNetworkRequest,Operation> patchCallable()
Returns
Overrides
patchOperationCallable()
public OperationCallable<PatchNetworkRequest,Operation,Operation> patchOperationCallable()
Returns
Overrides
removePeeringCallable()
public UnaryCallable<RemovePeeringNetworkRequest,Operation> removePeeringCallable()
Returns
Overrides
removePeeringOperationCallable()
public OperationCallable<RemovePeeringNetworkRequest,Operation,Operation> removePeeringOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
switchToCustomModeCallable()
public UnaryCallable<SwitchToCustomModeNetworkRequest,Operation> switchToCustomModeCallable()
Returns
Overrides
switchToCustomModeOperationCallable()
public OperationCallable<SwitchToCustomModeNetworkRequest,Operation,Operation> switchToCustomModeOperationCallable()
Returns
Overrides
updatePeeringCallable()
public UnaryCallable<UpdatePeeringNetworkRequest,Operation> updatePeeringCallable()
Returns
Overrides
updatePeeringOperationCallable()
public OperationCallable<UpdatePeeringNetworkRequest,Operation,Operation> updatePeeringOperationCallable()
Returns
Overrides