Package io.envoyproxy.envoy.api.v2
Class EndpointDiscoveryService
- java.lang.Object
-
- io.envoyproxy.envoy.api.v2.EndpointDiscoveryService
-
- All Implemented Interfaces:
com.google.protobuf.Service
- Direct Known Subclasses:
EndpointDiscoveryService.Stub
public abstract class EndpointDiscoveryService extends Object implements com.google.protobuf.Service
Protobuf serviceenvoy.api.v2.EndpointDiscoveryService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEndpointDiscoveryService.BlockingInterfacestatic interfaceEndpointDiscoveryService.Interfacestatic classEndpointDiscoveryService.Stub
-
Constructor Summary
Constructors Modifier Constructor Description protectedEndpointDiscoveryService()
-
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 voiddeltaEndpoints(com.google.protobuf.RpcController controller, DeltaDiscoveryRequest request, com.google.protobuf.RpcCallback<DeltaDiscoveryResponse> done)rpc DeltaEndpoints(stream .envoy.api.v2.DeltaDiscoveryRequest) returns (stream .envoy.api.v2.DeltaDiscoveryResponse);abstract voidfetchEndpoints(com.google.protobuf.RpcController controller, DiscoveryRequest request, com.google.protobuf.RpcCallback<DiscoveryResponse> done)rpc FetchEndpoints(.envoy.api.v2.DiscoveryRequest) returns (.envoy.api.v2.DiscoveryResponse) { ... }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 EndpointDiscoveryService.BlockingInterfacenewBlockingStub(com.google.protobuf.BlockingRpcChannel channel)static com.google.protobuf.BlockingServicenewReflectiveBlockingService(EndpointDiscoveryService.BlockingInterface impl)static com.google.protobuf.ServicenewReflectiveService(EndpointDiscoveryService.Interface impl)static EndpointDiscoveryService.StubnewStub(com.google.protobuf.RpcChannel channel)abstract voidstreamEndpoints(com.google.protobuf.RpcController controller, DiscoveryRequest request, com.google.protobuf.RpcCallback<DiscoveryResponse> done)The resource_names field in DiscoveryRequest specifies a list of clusters to subscribe to updates for.
-
-
-
Method Detail
-
newReflectiveService
public static com.google.protobuf.Service newReflectiveService(EndpointDiscoveryService.Interface impl)
-
newReflectiveBlockingService
public static com.google.protobuf.BlockingService newReflectiveBlockingService(EndpointDiscoveryService.BlockingInterface impl)
-
streamEndpoints
public abstract void streamEndpoints(com.google.protobuf.RpcController controller, DiscoveryRequest request, com.google.protobuf.RpcCallback<DiscoveryResponse> done)The resource_names field in DiscoveryRequest specifies a list of clusters to subscribe to updates for.
rpc StreamEndpoints(stream .envoy.api.v2.DiscoveryRequest) returns (stream .envoy.api.v2.DiscoveryResponse);
-
deltaEndpoints
public abstract void deltaEndpoints(com.google.protobuf.RpcController controller, DeltaDiscoveryRequest request, com.google.protobuf.RpcCallback<DeltaDiscoveryResponse> done)rpc DeltaEndpoints(stream .envoy.api.v2.DeltaDiscoveryRequest) returns (stream .envoy.api.v2.DeltaDiscoveryResponse);
-
fetchEndpoints
public abstract void fetchEndpoints(com.google.protobuf.RpcController controller, DiscoveryRequest request, com.google.protobuf.RpcCallback<DiscoveryResponse> done)rpc FetchEndpoints(.envoy.api.v2.DiscoveryRequest) returns (.envoy.api.v2.DiscoveryResponse) { ... }
-
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 EndpointDiscoveryService.Stub newStub(com.google.protobuf.RpcChannel channel)
-
newBlockingStub
public static EndpointDiscoveryService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
-
-