public abstract class AggregatedDiscoveryService extends Object implements com.google.protobuf.Service
See https://github.com/lyft/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.v3.AggregatedDiscoveryService
Modifier and Type | Class and Description |
---|---|
static interface |
AggregatedDiscoveryService.BlockingInterface |
static interface |
AggregatedDiscoveryService.Interface |
static class |
AggregatedDiscoveryService.Stub |
Modifier | Constructor and Description |
---|---|
protected |
AggregatedDiscoveryService() |
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 |
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); |
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 AggregatedDiscoveryService.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(AggregatedDiscoveryService.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(AggregatedDiscoveryService.Interface impl) |
static AggregatedDiscoveryService.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
abstract void |
streamAggregatedResources(com.google.protobuf.RpcController controller,
DiscoveryRequest request,
com.google.protobuf.RpcCallback<DiscoveryResponse> done)
This is a gRPC-only API.
|
public static com.google.protobuf.Service newReflectiveService(AggregatedDiscoveryService.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(AggregatedDiscoveryService.BlockingInterface impl)
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);
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);
public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Service
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)
callMethod
in interface com.google.protobuf.Service
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype
in interface com.google.protobuf.Service
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype
in interface com.google.protobuf.Service
public static AggregatedDiscoveryService.Stub newStub(com.google.protobuf.RpcChannel channel)
public static AggregatedDiscoveryService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2018–2021 The Envoy Project. All rights reserved.