@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 and Type | Field and Description |
---|---|
static com.google.api.gax.httpjson.ApiMethodDescriptor<AggregatedListVpnTunnelsHttpRequest,VpnTunnelAggregatedList> |
aggregatedListVpnTunnelsMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteVpnTunnelHttpRequest,Operation> |
deleteVpnTunnelMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<GetVpnTunnelHttpRequest,VpnTunnel> |
getVpnTunnelMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<InsertVpnTunnelHttpRequest,Operation> |
insertVpnTunnelMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<ListVpnTunnelsHttpRequest,VpnTunnelList> |
listVpnTunnelsMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonVpnTunnelStub(VpnTunnelStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonVpnTunnelStub, using the given settings.
|
protected |
HttpJsonVpnTunnelStub(VpnTunnelStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonVpnTunnelStub, using the given settings.
|
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<AggregatedListVpnTunnelsHttpRequest,VpnTunnelAggregatedList> aggregatedListVpnTunnelsMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteVpnTunnelHttpRequest,Operation> deleteVpnTunnelMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetVpnTunnelHttpRequest,VpnTunnel> getVpnTunnelMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<InsertVpnTunnelHttpRequest,Operation> insertVpnTunnelMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListVpnTunnelsHttpRequest,VpnTunnelList> listVpnTunnelsMethodDescriptor
protected HttpJsonVpnTunnelStub(VpnTunnelStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonVpnTunnelStub(VpnTunnelStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonVpnTunnelStub create(VpnTunnelStubSettings settings) throws IOException
IOException
public static final HttpJsonVpnTunnelStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonVpnTunnelStub 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<AggregatedListVpnTunnelsHttpRequest,VpnTunnelClient.AggregatedListVpnTunnelsPagedResponse> aggregatedListVpnTunnelsPagedCallable()
aggregatedListVpnTunnelsPagedCallable
in class VpnTunnelStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<AggregatedListVpnTunnelsHttpRequest,VpnTunnelAggregatedList> aggregatedListVpnTunnelsCallable()
aggregatedListVpnTunnelsCallable
in class VpnTunnelStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<DeleteVpnTunnelHttpRequest,Operation> deleteVpnTunnelCallable()
deleteVpnTunnelCallable
in class VpnTunnelStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetVpnTunnelHttpRequest,VpnTunnel> getVpnTunnelCallable()
getVpnTunnelCallable
in class VpnTunnelStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<InsertVpnTunnelHttpRequest,Operation> insertVpnTunnelCallable()
insertVpnTunnelCallable
in class VpnTunnelStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListVpnTunnelsHttpRequest,VpnTunnelClient.ListVpnTunnelsPagedResponse> listVpnTunnelsPagedCallable()
listVpnTunnelsPagedCallable
in class VpnTunnelStub
@BetaApi public com.google.api.gax.rpc.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.