Class HttpJsonVpcAccessServiceStub (2.56.0)

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.

Inheritance

java.lang.Object > VpcAccessServiceStub > HttpJsonVpcAccessServiceStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonVpcAccessServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonVpcAccessServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonVpcAccessServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonVpcAccessServiceStub
Exceptions
Type Description
IOException

create(VpcAccessServiceStubSettings settings)

public static final HttpJsonVpcAccessServiceStub create(VpcAccessServiceStubSettings settings)
Parameter
Name Description
settings VpcAccessServiceStubSettings
Returns
Type Description
HttpJsonVpcAccessServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

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
Name Description
settings VpcAccessServiceStubSettings
clientContext ClientContext

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
Name Description
settings VpcAccessServiceStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createConnectorCallable()

public UnaryCallable<CreateConnectorRequest,Operation> createConnectorCallable()
Returns
Type Description
UnaryCallable<CreateConnectorRequest,Operation>
Overrides

createConnectorOperationCallable()

public OperationCallable<CreateConnectorRequest,Connector,OperationMetadata> createConnectorOperationCallable()
Returns
Type Description
OperationCallable<CreateConnectorRequest,Connector,OperationMetadata>
Overrides

deleteConnectorCallable()

public UnaryCallable<DeleteConnectorRequest,Operation> deleteConnectorCallable()
Returns
Type Description
UnaryCallable<DeleteConnectorRequest,Operation>
Overrides

deleteConnectorOperationCallable()

public OperationCallable<DeleteConnectorRequest,Empty,OperationMetadata> deleteConnectorOperationCallable()
Returns
Type Description
OperationCallable<DeleteConnectorRequest,Empty,OperationMetadata>
Overrides

getConnectorCallable()

public UnaryCallable<GetConnectorRequest,Connector> getConnectorCallable()
Returns
Type Description
UnaryCallable<GetConnectorRequest,Connector>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listConnectorsCallable()

public UnaryCallable<ListConnectorsRequest,ListConnectorsResponse> listConnectorsCallable()
Returns
Type Description
UnaryCallable<ListConnectorsRequest,ListConnectorsResponse>
Overrides

listConnectorsPagedCallable()

public UnaryCallable<ListConnectorsRequest,VpcAccessServiceClient.ListConnectorsPagedResponse> listConnectorsPagedCallable()
Returns
Type Description
UnaryCallable<ListConnectorsRequest,ListConnectorsPagedResponse>
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
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()