Package io.envoyproxy.envoy.api.v2
Class VirtualHostDiscoveryService
- java.lang.Object
-
- io.envoyproxy.envoy.api.v2.VirtualHostDiscoveryService
-
- All Implemented Interfaces:
com.google.protobuf.Service
- Direct Known Subclasses:
VirtualHostDiscoveryService.Stub
public abstract class VirtualHostDiscoveryService extends Object implements com.google.protobuf.Service
Virtual Host Discovery Service (VHDS) is used to dynamically update the list of virtual hosts for a given RouteConfiguration. If VHDS is configured a virtual host list update will be triggered during the processing of an HTTP request if a route for the request cannot be resolved. The :ref:`resource_names_subscribe <envoy_api_field_DeltaDiscoveryRequest.resource_names_subscribe>` field contains a list of virtual host names or aliases to track. The contents of an alias would be the contents of a *host* or *authority* header used to make an http request. An xDS server will match an alias to a virtual host based on the content of :ref:`domains' <envoy_api_field_route.VirtualHost.domains>` field. The *resource_names_unsubscribe* field contains a list of virtual host names that have been :ref:`unsubscribed <xds_protocol_unsubscribe>` from the routing table associated with the RouteConfiguration.
Protobuf serviceenvoy.api.v2.VirtualHostDiscoveryService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVirtualHostDiscoveryService.BlockingInterfacestatic interfaceVirtualHostDiscoveryService.Interfacestatic classVirtualHostDiscoveryService.Stub
-
Constructor Summary
Constructors Modifier Constructor Description protectedVirtualHostDiscoveryService()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcallMethod(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 voiddeltaVirtualHosts(com.google.protobuf.RpcController controller, DeltaDiscoveryRequest request, com.google.protobuf.RpcCallback<DeltaDiscoveryResponse> done)rpc DeltaVirtualHosts(stream .envoy.api.v2.DeltaDiscoveryRequest) returns (stream .envoy.api.v2.DeltaDiscoveryResponse);static com.google.protobuf.Descriptors.ServiceDescriptorgetDescriptor()com.google.protobuf.Descriptors.ServiceDescriptorgetDescriptorForType()com.google.protobuf.MessagegetRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)com.google.protobuf.MessagegetResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)static VirtualHostDiscoveryService.BlockingInterfacenewBlockingStub(com.google.protobuf.BlockingRpcChannel channel)static com.google.protobuf.BlockingServicenewReflectiveBlockingService(VirtualHostDiscoveryService.BlockingInterface impl)static com.google.protobuf.ServicenewReflectiveService(VirtualHostDiscoveryService.Interface impl)static VirtualHostDiscoveryService.StubnewStub(com.google.protobuf.RpcChannel channel)
-
-
-
Method Detail
-
newReflectiveService
public static com.google.protobuf.Service newReflectiveService(VirtualHostDiscoveryService.Interface impl)
-
newReflectiveBlockingService
public static com.google.protobuf.BlockingService newReflectiveBlockingService(VirtualHostDiscoveryService.BlockingInterface impl)
-
deltaVirtualHosts
public abstract void deltaVirtualHosts(com.google.protobuf.RpcController controller, DeltaDiscoveryRequest request, com.google.protobuf.RpcCallback<DeltaDiscoveryResponse> done)rpc DeltaVirtualHosts(stream .envoy.api.v2.DeltaDiscoveryRequest) returns (stream .envoy.api.v2.DeltaDiscoveryResponse);
-
getDescriptor
public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
-
getDescriptorForType
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Service
-
callMethod
public 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)- Specified by:
callMethodin interfacecom.google.protobuf.Service
-
getRequestPrototype
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
- Specified by:
getRequestPrototypein interfacecom.google.protobuf.Service
-
getResponsePrototype
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
- Specified by:
getResponsePrototypein interfacecom.google.protobuf.Service
-
newStub
public static VirtualHostDiscoveryService.Stub newStub(com.google.protobuf.RpcChannel channel)
-
newBlockingStub
public static VirtualHostDiscoveryService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
-
-