public class HttpJsonVpnGatewaysStub extends VpnGatewaysStub
REST stub implementation for the VpnGateways service API.
This class is for advanced usage and reflects the underlying API directly.
Constructors
HttpJsonVpnGatewaysStub(VpnGatewaysStubSettings settings, ClientContext clientContext)
protected HttpJsonVpnGatewaysStub(VpnGatewaysStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonVpnGatewaysStub, 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
HttpJsonVpnGatewaysStub(VpnGatewaysStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonVpnGatewaysStub(VpnGatewaysStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonVpnGatewaysStub, 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<AggregatedListVpnGatewaysRequest,VpnGatewayAggregatedList> aggregatedListCallable()
Returns
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListVpnGatewaysRequest,VpnGatewaysClient.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
create(ClientContext clientContext)
public static final HttpJsonVpnGatewaysStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonVpnGatewaysStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(VpnGatewaysStubSettings settings)
public static final HttpJsonVpnGatewaysStub create(VpnGatewaysStubSettings settings)
Parameter
Returns
Exceptions
deleteCallable()
public UnaryCallable<DeleteVpnGatewayRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteVpnGatewayRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetVpnGatewayRequest,VpnGateway> getCallable()
Returns
Overrides
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
getStatusCallable()
public UnaryCallable<GetStatusVpnGatewayRequest,VpnGatewaysGetStatusResponse> getStatusCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertVpnGatewayRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertVpnGatewayRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListVpnGatewaysRequest,VpnGatewayList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListVpnGatewaysRequest,VpnGatewaysClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsVpnGatewayRequest,Operation> setLabelsCallable()
Returns
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsVpnGatewayRequest,Operation,Operation> setLabelsOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsVpnGatewayRequest,TestPermissionsResponse> testIamPermissionsCallable()
Returns
Overrides