public class GrpcVpcAccessServiceStub extends VpcAccessServiceStub
gRPC 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 GrpcVpcAccessServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcVpcAccessServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(VpcAccessServiceStubSettings settings)
public static final GrpcVpcAccessServiceStub create(VpcAccessServiceStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcVpcAccessServiceStub(VpcAccessServiceStubSettings settings, ClientContext clientContext)
protected GrpcVpcAccessServiceStub(VpcAccessServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcVpcAccessServiceStub, 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
GrpcVpcAccessServiceStub(VpcAccessServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcVpcAccessServiceStub(VpcAccessServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcVpcAccessServiceStub, 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
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
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
shutdown()
shutdownNow()
public void shutdownNow()