public class HttpJsonTargetVpnGatewaysStub extends TargetVpnGatewaysStub
REST stub implementation for the TargetVpnGateways service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonTargetVpnGatewaysStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonTargetVpnGatewaysStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(TargetVpnGatewaysStubSettings settings)
public static final HttpJsonTargetVpnGatewaysStub create(TargetVpnGatewaysStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonTargetVpnGatewaysStub(TargetVpnGatewaysStubSettings settings, ClientContext clientContext)
protected HttpJsonTargetVpnGatewaysStub(TargetVpnGatewaysStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonTargetVpnGatewaysStub, 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
HttpJsonTargetVpnGatewaysStub(TargetVpnGatewaysStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonTargetVpnGatewaysStub(TargetVpnGatewaysStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonTargetVpnGatewaysStub, 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
aggregatedListCallable()
public UnaryCallable<AggregatedListTargetVpnGatewaysRequest,TargetVpnGatewayAggregatedList> aggregatedListCallable()
Returns
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListTargetVpnGatewaysRequest,TargetVpnGatewaysClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteTargetVpnGatewayRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteTargetVpnGatewayRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetTargetVpnGatewayRequest,TargetVpnGateway> getCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertTargetVpnGatewayRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertTargetVpnGatewayRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListTargetVpnGatewaysRequest,TargetVpnGatewayList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListTargetVpnGatewaysRequest,TargetVpnGatewaysClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsTargetVpnGatewayRequest,Operation> setLabelsCallable()
Returns
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsTargetVpnGatewayRequest,Operation,Operation> setLabelsOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()