Class VpcAccessServiceGrpc (2.40.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
TypeDescription
String

Static Methods

bindService(VpcAccessServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(VpcAccessServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceVpcAccessServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateConnectorMethod()

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

getDeleteConnectorMethod()

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

getGetConnectorMethod()

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

getListConnectorsMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
VpcAccessServiceGrpc.VpcAccessServiceStub