Class VpcAccessServiceGrpc (2.44.0)

public final class VpcAccessServiceGrpc

Serverless VPC Access API allows users to create and manage connectors for App Engine, Cloud Functions and Cloud Run to have internal connections to Virtual Private Cloud networks.

Inheritance

java.lang.Object > VpcAccessServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(VpcAccessServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(VpcAccessServiceGrpc.AsyncService service)
Parameter
Name Description
service VpcAccessServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateConnectorMethod()

public static MethodDescriptor<CreateConnectorRequest,Operation> getCreateConnectorMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateConnectorRequest,Operation>

getDeleteConnectorMethod()

public static MethodDescriptor<DeleteConnectorRequest,Operation> getDeleteConnectorMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteConnectorRequest,Operation>

getGetConnectorMethod()

public static MethodDescriptor<GetConnectorRequest,Connector> getGetConnectorMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetConnectorRequest,Connector>

getListConnectorsMethod()

public static MethodDescriptor<ListConnectorsRequest,ListConnectorsResponse> getListConnectorsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListConnectorsRequest,ListConnectorsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static VpcAccessServiceGrpc.VpcAccessServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
VpcAccessServiceGrpc.VpcAccessServiceBlockingStub

newFutureStub(Channel channel)

public static VpcAccessServiceGrpc.VpcAccessServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
VpcAccessServiceGrpc.VpcAccessServiceFutureStub

newStub(Channel channel)

public static VpcAccessServiceGrpc.VpcAccessServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
VpcAccessServiceGrpc.VpcAccessServiceStub