public class HttpJsonExternalVpnGatewaysStub extends ExternalVpnGatewaysStub
REST stub implementation for the ExternalVpnGateways service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonExternalVpnGatewaysStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonExternalVpnGatewaysStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(ExternalVpnGatewaysStubSettings settings)
public static final HttpJsonExternalVpnGatewaysStub create(ExternalVpnGatewaysStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonExternalVpnGatewaysStub(ExternalVpnGatewaysStubSettings settings, ClientContext clientContext)
protected HttpJsonExternalVpnGatewaysStub(ExternalVpnGatewaysStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonExternalVpnGatewaysStub, 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.
HttpJsonExternalVpnGatewaysStub(ExternalVpnGatewaysStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonExternalVpnGatewaysStub(ExternalVpnGatewaysStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonExternalVpnGatewaysStub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteExternalVpnGatewayRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteExternalVpnGatewayRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetExternalVpnGatewayRequest,ExternalVpnGateway> getCallable()
Overrides
insertCallable()
public UnaryCallable<InsertExternalVpnGatewayRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertExternalVpnGatewayRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListExternalVpnGatewaysRequest,ExternalVpnGatewayList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListExternalVpnGatewaysRequest,ExternalVpnGatewaysClient.ListPagedResponse> listPagedCallable()
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsExternalVpnGatewayRequest,Operation> setLabelsCallable()
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsExternalVpnGatewayRequest,Operation,Operation> setLabelsOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsExternalVpnGatewayRequest,TestPermissionsResponse> testIamPermissionsCallable()
Overrides