public abstract class RouteDiscoveryService extends Object implements com.google.protobuf.Service
The resource_names field in DiscoveryRequest specifies a route configuration. This allows an Envoy configuration with multiple HTTP listeners (and associated HTTP connection manager filters) to use different route configurations. Each listener will bind its HTTP connection manager filter to a route table via this identifier.Protobuf service
envoy.api.v2.RouteDiscoveryService| Modifier and Type | Class and Description |
|---|---|
static interface |
RouteDiscoveryService.BlockingInterface |
static interface |
RouteDiscoveryService.Interface |
static class |
RouteDiscoveryService.Stub |
| Modifier | Constructor and Description |
|---|---|
protected |
RouteDiscoveryService() |
| Modifier and Type | Method and Description |
|---|---|
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) |
abstract void |
deltaRoutes(com.google.protobuf.RpcController controller,
DeltaDiscoveryRequest request,
com.google.protobuf.RpcCallback<DeltaDiscoveryResponse> done)
rpc DeltaRoutes(stream .envoy.api.v2.DeltaDiscoveryRequest) returns (stream .envoy.api.v2.DeltaDiscoveryResponse); |
abstract void |
fetchRoutes(com.google.protobuf.RpcController controller,
DiscoveryRequest request,
com.google.protobuf.RpcCallback<DiscoveryResponse> done)
rpc FetchRoutes(.envoy.api.v2.DiscoveryRequest) returns (.envoy.api.v2.DiscoveryResponse) { ... } |
static com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.ServiceDescriptor |
getDescriptorForType() |
com.google.protobuf.Message |
getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
com.google.protobuf.Message |
getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method) |
static RouteDiscoveryService.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(RouteDiscoveryService.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(RouteDiscoveryService.Interface impl) |
static RouteDiscoveryService.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
abstract void |
streamRoutes(com.google.protobuf.RpcController controller,
DiscoveryRequest request,
com.google.protobuf.RpcCallback<DiscoveryResponse> done)
rpc StreamRoutes(stream .envoy.api.v2.DiscoveryRequest) returns (stream .envoy.api.v2.DiscoveryResponse); |
public static com.google.protobuf.Service newReflectiveService(RouteDiscoveryService.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(RouteDiscoveryService.BlockingInterface impl)
public abstract void streamRoutes(com.google.protobuf.RpcController controller,
DiscoveryRequest request,
com.google.protobuf.RpcCallback<DiscoveryResponse> done)
rpc StreamRoutes(stream .envoy.api.v2.DiscoveryRequest) returns (stream .envoy.api.v2.DiscoveryResponse);public abstract void deltaRoutes(com.google.protobuf.RpcController controller,
DeltaDiscoveryRequest request,
com.google.protobuf.RpcCallback<DeltaDiscoveryResponse> done)
rpc DeltaRoutes(stream .envoy.api.v2.DeltaDiscoveryRequest) returns (stream .envoy.api.v2.DeltaDiscoveryResponse);public abstract void fetchRoutes(com.google.protobuf.RpcController controller,
DiscoveryRequest request,
com.google.protobuf.RpcCallback<DiscoveryResponse> done)
rpc FetchRoutes(.envoy.api.v2.DiscoveryRequest) returns (.envoy.api.v2.DiscoveryResponse) { ... }public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Servicepublic final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
callMethod in interface com.google.protobuf.Servicepublic final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype in interface com.google.protobuf.Servicepublic final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype in interface com.google.protobuf.Servicepublic static RouteDiscoveryService.Stub newStub(com.google.protobuf.RpcChannel channel)
public static RouteDiscoveryService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2018–2021 The Envoy Project. All rights reserved.