@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonNetworkStub extends NetworkStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonNetworkStub(NetworkStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonNetworkStub, using the given settings.
|
protected |
HttpJsonNetworkStub(NetworkStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonNetworkStub, using the given settings.
|
@InternalApi public static final ApiMethodDescriptor<AddPeeringNetworkHttpRequest,Operation> addPeeringNetworkMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<DeleteNetworkHttpRequest,Operation> deleteNetworkMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetNetworkHttpRequest,Network> getNetworkMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<InsertNetworkHttpRequest,Operation> insertNetworkMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<ListNetworksHttpRequest,NetworkList> listNetworksMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<PatchNetworkHttpRequest,Operation> patchNetworkMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<RemovePeeringNetworkHttpRequest,Operation> removePeeringNetworkMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<SwitchToCustomModeNetworkHttpRequest,Operation> switchToCustomModeNetworkMethodDescriptor
protected HttpJsonNetworkStub(NetworkStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonNetworkStub(NetworkStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonNetworkStub create(NetworkStubSettings settings) throws IOException
IOException
public static final HttpJsonNetworkStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonNetworkStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public UnaryCallable<AddPeeringNetworkHttpRequest,Operation> addPeeringNetworkCallable()
addPeeringNetworkCallable
in class NetworkStub
@BetaApi public UnaryCallable<DeleteNetworkHttpRequest,Operation> deleteNetworkCallable()
deleteNetworkCallable
in class NetworkStub
@BetaApi public UnaryCallable<GetNetworkHttpRequest,Network> getNetworkCallable()
getNetworkCallable
in class NetworkStub
@BetaApi public UnaryCallable<InsertNetworkHttpRequest,Operation> insertNetworkCallable()
insertNetworkCallable
in class NetworkStub
@BetaApi public UnaryCallable<ListNetworksHttpRequest,NetworkClient.ListNetworksPagedResponse> listNetworksPagedCallable()
listNetworksPagedCallable
in class NetworkStub
@BetaApi public UnaryCallable<ListNetworksHttpRequest,NetworkList> listNetworksCallable()
listNetworksCallable
in class NetworkStub
@BetaApi public UnaryCallable<PatchNetworkHttpRequest,Operation> patchNetworkCallable()
patchNetworkCallable
in class NetworkStub
@BetaApi public UnaryCallable<RemovePeeringNetworkHttpRequest,Operation> removePeeringNetworkCallable()
removePeeringNetworkCallable
in class NetworkStub
@BetaApi public UnaryCallable<SwitchToCustomModeNetworkHttpRequest,Operation> switchToCustomModeNetworkCallable()
switchToCustomModeNetworkCallable
in class NetworkStub
public final void close()
close
in interface AutoCloseable
close
in class NetworkStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.