Package io.envoyproxy.envoy.api.v2
Class ScopedRoutesDiscoveryServiceGrpc.ScopedRoutesDiscoveryServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ScopedRoutesDiscoveryServiceGrpc.ScopedRoutesDiscoveryServiceStub>
io.envoyproxy.envoy.api.v2.ScopedRoutesDiscoveryServiceGrpc.ScopedRoutesDiscoveryServiceStub
- Enclosing class:
- ScopedRoutesDiscoveryServiceGrpc
public static final class ScopedRoutesDiscoveryServiceGrpc.ScopedRoutesDiscoveryServiceStub
extends io.grpc.stub.AbstractAsyncStub<ScopedRoutesDiscoveryServiceGrpc.ScopedRoutesDiscoveryServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ScopedRoutesDiscoveryService.
The Scoped Routes Discovery Service (SRDS) API distributes :ref:`ScopedRouteConfiguration<envoy_api_msg.ScopedRouteConfiguration>` resources. Each ScopedRouteConfiguration resource represents a "routing scope" containing a mapping that allows the HTTP connection manager to dynamically assign a routing table (specified via a :ref:`RouteConfiguration<envoy_api_msg_RouteConfiguration>` message) to each HTTP request.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) io.grpc.stub.StreamObserver<DeltaDiscoveryRequest>deltaScopedRoutes(io.grpc.stub.StreamObserver<DeltaDiscoveryResponse> responseObserver) voidfetchScopedRoutes(DiscoveryRequest request, io.grpc.stub.StreamObserver<DiscoveryResponse> responseObserver) io.grpc.stub.StreamObserver<DiscoveryRequest>streamScopedRoutes(io.grpc.stub.StreamObserver<DiscoveryResponse> responseObserver) Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected ScopedRoutesDiscoveryServiceGrpc.ScopedRoutesDiscoveryServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ScopedRoutesDiscoveryServiceGrpc.ScopedRoutesDiscoveryServiceStub>
-
streamScopedRoutes
public io.grpc.stub.StreamObserver<DiscoveryRequest> streamScopedRoutes(io.grpc.stub.StreamObserver<DiscoveryResponse> responseObserver) -
deltaScopedRoutes
public io.grpc.stub.StreamObserver<DeltaDiscoveryRequest> deltaScopedRoutes(io.grpc.stub.StreamObserver<DeltaDiscoveryResponse> responseObserver) -
fetchScopedRoutes
public void fetchScopedRoutes(DiscoveryRequest request, io.grpc.stub.StreamObserver<DiscoveryResponse> responseObserver)
-