Class PolicyBasedRoutingServiceGrpc (1.32.0)

public final class PolicyBasedRoutingServiceGrpc

Policy-Based Routing allows GCP customers to specify flexibile routing policies for Layer 4 traffic traversing through the connected service.

Inheritance

java.lang.Object > PolicyBasedRoutingServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(PolicyBasedRoutingServiceGrpc.AsyncService service)

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

getCreatePolicyBasedRouteMethod()

public static MethodDescriptor<CreatePolicyBasedRouteRequest,Operation> getCreatePolicyBasedRouteMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreatePolicyBasedRouteRequest,Operation>

getDeletePolicyBasedRouteMethod()

public static MethodDescriptor<DeletePolicyBasedRouteRequest,Operation> getDeletePolicyBasedRouteMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeletePolicyBasedRouteRequest,Operation>

getGetPolicyBasedRouteMethod()

public static MethodDescriptor<GetPolicyBasedRouteRequest,PolicyBasedRoute> getGetPolicyBasedRouteMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetPolicyBasedRouteRequest,PolicyBasedRoute>

getListPolicyBasedRoutesMethod()

public static MethodDescriptor<ListPolicyBasedRoutesRequest,ListPolicyBasedRoutesResponse> getListPolicyBasedRoutesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListPolicyBasedRoutesRequest,ListPolicyBasedRoutesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceBlockingStub 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
PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceBlockingStub

newFutureStub(Channel channel)

public static PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceFutureStub

newStub(Channel channel)

public static PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceStub