@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,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonNetworkStub, using the given settings.
|
protected |
HttpJsonNetworkStub(NetworkStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonNetworkStub, using the given settings.
|
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<AddPeeringNetworkHttpRequest,Operation> addPeeringNetworkMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteNetworkHttpRequest,Operation> deleteNetworkMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetNetworkHttpRequest,Network> getNetworkMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<InsertNetworkHttpRequest,Operation> insertNetworkMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListNetworksHttpRequest,NetworkList> listNetworksMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<PatchNetworkHttpRequest,Operation> patchNetworkMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<RemovePeeringNetworkHttpRequest,Operation> removePeeringNetworkMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<SwitchToCustomModeNetworkHttpRequest,Operation> switchToCustomModeNetworkMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<UpdatePeeringNetworkHttpRequest,Operation> updatePeeringNetworkMethodDescriptor
protected HttpJsonNetworkStub(NetworkStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonNetworkStub(NetworkStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonNetworkStub create(NetworkStubSettings settings) throws IOException
IOException
public static final HttpJsonNetworkStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonNetworkStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public com.google.api.gax.rpc.UnaryCallable<AddPeeringNetworkHttpRequest,Operation> addPeeringNetworkCallable()
addPeeringNetworkCallable
in class NetworkStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<DeleteNetworkHttpRequest,Operation> deleteNetworkCallable()
deleteNetworkCallable
in class NetworkStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetNetworkHttpRequest,Network> getNetworkCallable()
getNetworkCallable
in class NetworkStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<InsertNetworkHttpRequest,Operation> insertNetworkCallable()
insertNetworkCallable
in class NetworkStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListNetworksHttpRequest,NetworkClient.ListNetworksPagedResponse> listNetworksPagedCallable()
listNetworksPagedCallable
in class NetworkStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListNetworksHttpRequest,NetworkList> listNetworksCallable()
listNetworksCallable
in class NetworkStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<PatchNetworkHttpRequest,Operation> patchNetworkCallable()
patchNetworkCallable
in class NetworkStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<RemovePeeringNetworkHttpRequest,Operation> removePeeringNetworkCallable()
removePeeringNetworkCallable
in class NetworkStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<SwitchToCustomModeNetworkHttpRequest,Operation> switchToCustomModeNetworkCallable()
switchToCustomModeNetworkCallable
in class NetworkStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<UpdatePeeringNetworkHttpRequest,Operation> updatePeeringNetworkCallable()
updatePeeringNetworkCallable
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.