Class ClusterDiscoveryService

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

    public abstract class ClusterDiscoveryService
    extends Object
    implements com.google.protobuf.Service
     Return list of all clusters this proxy will load balance to.
     
    Protobuf service envoy.service.cluster.v3.ClusterDiscoveryService
    • Constructor Detail

      • ClusterDiscoveryService

        protected ClusterDiscoveryService()
    • Method Detail

      • streamClusters

        public abstract void streamClusters​(com.google.protobuf.RpcController controller,
                                            DiscoveryRequest request,
                                            com.google.protobuf.RpcCallback<DiscoveryResponse> done)
        rpc StreamClusters(stream .envoy.service.discovery.v3.DiscoveryRequest) returns (stream .envoy.service.discovery.v3.DiscoveryResponse);
      • deltaClusters

        public abstract void deltaClusters​(com.google.protobuf.RpcController controller,
                                           DeltaDiscoveryRequest request,
                                           com.google.protobuf.RpcCallback<DeltaDiscoveryResponse> done)
        rpc DeltaClusters(stream .envoy.service.discovery.v3.DeltaDiscoveryRequest) returns (stream .envoy.service.discovery.v3.DeltaDiscoveryResponse);
      • fetchClusters

        public abstract void fetchClusters​(com.google.protobuf.RpcController controller,
                                           DiscoveryRequest request,
                                           com.google.protobuf.RpcCallback<DiscoveryResponse> done)
        rpc FetchClusters(.envoy.service.discovery.v3.DiscoveryRequest) returns (.envoy.service.discovery.v3.DiscoveryResponse) { ... }
      • 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