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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonVpcAccessServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(VpcAccessServiceStubSettings settings)
public static final HttpJsonVpcAccessServiceStub create(VpcAccessServiceStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createConnectorCallable()
public UnaryCallable<CreateConnectorRequest,Operation> createConnectorCallable()
Returns
Overrides
createConnectorOperationCallable()
public OperationCallable<CreateConnectorRequest,Connector,OperationMetadata> createConnectorOperationCallable()
Returns
Overrides
deleteConnectorCallable()
public UnaryCallable<DeleteConnectorRequest,Operation> deleteConnectorCallable()
Returns
Overrides
deleteConnectorOperationCallable()
public OperationCallable<DeleteConnectorRequest,Empty,OperationMetadata> deleteConnectorOperationCallable()
Returns
Overrides
getConnectorCallable()
public UnaryCallable<GetConnectorRequest,Connector> getConnectorCallable()
Returns
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listConnectorsCallable()
public UnaryCallable<ListConnectorsRequest,ListConnectorsResponse> listConnectorsCallable()
Returns
Overrides
listConnectorsPagedCallable()
public UnaryCallable<ListConnectorsRequest,VpcAccessServiceClient.ListConnectorsPagedResponse> listConnectorsPagedCallable()
Returns
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()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()