Class AggregatedDiscoveryService

  • All Implemented Interfaces:
    com.google.protobuf.Service
    Direct Known Subclasses:
    AggregatedDiscoveryService.Stub

    public abstract class AggregatedDiscoveryService
    extends Object
    implements com.google.protobuf.Service
     See https://github.com/envoyproxy/envoy-api#apis for a description of the role of
     ADS and how it is intended to be used by a management server. ADS requests
     have the same structure as their singleton xDS counterparts, but can
     multiplex many resource types on a single stream. The type_url in the
     DiscoveryRequest/DiscoveryResponse provides sufficient information to recover
     the multiplexed singleton APIs at the Envoy instance and management server.
     
    Protobuf service envoy.service.discovery.v2.AggregatedDiscoveryService
    • Constructor Detail

      • AggregatedDiscoveryService

        protected AggregatedDiscoveryService()
    • Method Detail

      • streamAggregatedResources

        public abstract void streamAggregatedResources​(com.google.protobuf.RpcController controller,
                                                       DiscoveryRequest request,
                                                       com.google.protobuf.RpcCallback<DiscoveryResponse> done)
         This is a gRPC-only API.
         
        rpc StreamAggregatedResources(stream .envoy.api.v2.DiscoveryRequest) returns (stream .envoy.api.v2.DiscoveryResponse);
      • deltaAggregatedResources

        public abstract void deltaAggregatedResources​(com.google.protobuf.RpcController controller,
                                                      DeltaDiscoveryRequest request,
                                                      com.google.protobuf.RpcCallback<DeltaDiscoveryResponse> done)
        rpc DeltaAggregatedResources(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:
        getDescriptorForType in interface com.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:
        callMethod in interface com.google.protobuf.Service
      • getRequestPrototype

        public final com.google.protobuf.Message getRequestPrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getRequestPrototype in interface com.google.protobuf.Service
      • getResponsePrototype

        public final com.google.protobuf.Message getResponsePrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getResponsePrototype in interface com.google.protobuf.Service