Class AggregatedDiscoveryService
- java.lang.Object
-
- io.envoyproxy.envoy.service.discovery.v3.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 serviceenvoy.service.discovery.v3.AggregatedDiscoveryService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAggregatedDiscoveryService.BlockingInterfacestatic interfaceAggregatedDiscoveryService.Interfacestatic classAggregatedDiscoveryService.Stub
-
Constructor Summary
Constructors Modifier Constructor Description protectedAggregatedDiscoveryService()
-
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 voiddeltaAggregatedResources(com.google.protobuf.RpcController controller, DeltaDiscoveryRequest request, com.google.protobuf.RpcCallback<DeltaDiscoveryResponse> done)rpc DeltaAggregatedResources(stream .envoy.service.discovery.v3.DeltaDiscoveryRequest) returns (stream .envoy.service.discovery.v3.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 AggregatedDiscoveryService.BlockingInterfacenewBlockingStub(com.google.protobuf.BlockingRpcChannel channel)static com.google.protobuf.BlockingServicenewReflectiveBlockingService(AggregatedDiscoveryService.BlockingInterface impl)static com.google.protobuf.ServicenewReflectiveService(AggregatedDiscoveryService.Interface impl)static AggregatedDiscoveryService.StubnewStub(com.google.protobuf.RpcChannel channel)abstract voidstreamAggregatedResources(com.google.protobuf.RpcController controller, DiscoveryRequest request, com.google.protobuf.RpcCallback<DiscoveryResponse> done)This is a gRPC-only API.
-
-
-
Method Detail
-
newReflectiveService
public static com.google.protobuf.Service newReflectiveService(AggregatedDiscoveryService.Interface impl)
-
newReflectiveBlockingService
public static com.google.protobuf.BlockingService newReflectiveBlockingService(AggregatedDiscoveryService.BlockingInterface impl)
-
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.service.discovery.v3.DiscoveryRequest) returns (stream .envoy.service.discovery.v3.DiscoveryResponse);
-
deltaAggregatedResources
public abstract void deltaAggregatedResources(com.google.protobuf.RpcController controller, DeltaDiscoveryRequest request, com.google.protobuf.RpcCallback<DeltaDiscoveryResponse> done)rpc DeltaAggregatedResources(stream .envoy.service.discovery.v3.DeltaDiscoveryRequest) returns (stream .envoy.service.discovery.v3.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 AggregatedDiscoveryService.Stub newStub(com.google.protobuf.RpcChannel channel)
-
newBlockingStub
public static AggregatedDiscoveryService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
-
-