Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class HttpJsonVpcAccessServiceStub extends VpcAccessServiceStub
REST stub implementation for the VpcAccessService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonVpcAccessServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonVpcAccessServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(VpcAccessServiceStubSettings settings)
public static final HttpJsonVpcAccessServiceStub create(VpcAccessServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonVpcAccessServiceStub(VpcAccessServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonVpcAccessServiceStub(VpcAccessServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonVpcAccessServiceStub, 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.
HttpJsonVpcAccessServiceStub(VpcAccessServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonVpcAccessServiceStub(VpcAccessServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonVpcAccessServiceStub, 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
createConnectorCallable()
public UnaryCallable<CreateConnectorRequest,Operation> createConnectorCallable()
Overrides
createConnectorOperationCallable()
public OperationCallable<CreateConnectorRequest,Connector,OperationMetadata> createConnectorOperationCallable()
Overrides
deleteConnectorCallable()
public UnaryCallable<DeleteConnectorRequest,Operation> deleteConnectorCallable()
Overrides
deleteConnectorOperationCallable()
public OperationCallable<DeleteConnectorRequest,Empty,OperationMetadata> deleteConnectorOperationCallable()
Overrides
getConnectorCallable()
public UnaryCallable<GetConnectorRequest,Connector> getConnectorCallable()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listConnectorsCallable()
public UnaryCallable<ListConnectorsRequest,ListConnectorsResponse> listConnectorsCallable()
Overrides
listConnectorsPagedCallable()
public UnaryCallable<ListConnectorsRequest,VpcAccessServiceClient.ListConnectorsPagedResponse> listConnectorsPagedCallable()
Overrides
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns Type Description UnaryCallable <com.google.cloud.location.ListLocationsRequest ,com.google.cloud.location.ListLocationsResponse >
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,VpcAccessServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()