@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonVpnTunnelStub extends VpnTunnelStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonVpnTunnelStub(VpnTunnelStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonVpnTunnelStub, using the given settings.
|
protected |
HttpJsonVpnTunnelStub(VpnTunnelStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonVpnTunnelStub, using the given settings.
|
@InternalApi public static final ApiMethodDescriptor<AggregatedListVpnTunnelsHttpRequest,VpnTunnelAggregatedList> aggregatedListVpnTunnelsMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<DeleteVpnTunnelHttpRequest,Operation> deleteVpnTunnelMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetVpnTunnelHttpRequest,VpnTunnel> getVpnTunnelMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<InsertVpnTunnelHttpRequest,Operation> insertVpnTunnelMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<ListVpnTunnelsHttpRequest,VpnTunnelList> listVpnTunnelsMethodDescriptor
protected HttpJsonVpnTunnelStub(VpnTunnelStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonVpnTunnelStub(VpnTunnelStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonVpnTunnelStub create(VpnTunnelStubSettings settings) throws IOException
IOException
public static final HttpJsonVpnTunnelStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonVpnTunnelStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public UnaryCallable<AggregatedListVpnTunnelsHttpRequest,VpnTunnelClient.AggregatedListVpnTunnelsPagedResponse> aggregatedListVpnTunnelsPagedCallable()
aggregatedListVpnTunnelsPagedCallable
in class VpnTunnelStub
@BetaApi public UnaryCallable<AggregatedListVpnTunnelsHttpRequest,VpnTunnelAggregatedList> aggregatedListVpnTunnelsCallable()
aggregatedListVpnTunnelsCallable
in class VpnTunnelStub
@BetaApi public UnaryCallable<DeleteVpnTunnelHttpRequest,Operation> deleteVpnTunnelCallable()
deleteVpnTunnelCallable
in class VpnTunnelStub
@BetaApi public UnaryCallable<GetVpnTunnelHttpRequest,VpnTunnel> getVpnTunnelCallable()
getVpnTunnelCallable
in class VpnTunnelStub
@BetaApi public UnaryCallable<InsertVpnTunnelHttpRequest,Operation> insertVpnTunnelCallable()
insertVpnTunnelCallable
in class VpnTunnelStub
@BetaApi public UnaryCallable<ListVpnTunnelsHttpRequest,VpnTunnelClient.ListVpnTunnelsPagedResponse> listVpnTunnelsPagedCallable()
listVpnTunnelsPagedCallable
in class VpnTunnelStub
@BetaApi public UnaryCallable<ListVpnTunnelsHttpRequest,VpnTunnelList> listVpnTunnelsCallable()
listVpnTunnelsCallable
in class VpnTunnelStub
public final void close()
close
in interface AutoCloseable
close
in class VpnTunnelStub
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.