Class PolicyBasedRoutingServiceGrpc (1.42.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
Type Description
String

Static Methods

bindService(PolicyBasedRoutingServiceGrpc.AsyncService service)

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

getCreatePolicyBasedRouteMethod()

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

getDeletePolicyBasedRouteMethod()

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

getGetPolicyBasedRouteMethod()

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

getListPolicyBasedRoutesMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
PolicyBasedRoutingServiceGrpc.PolicyBasedRoutingServiceStub