Package io.envoyproxy.envoy.api.v2
Class ClusterDiscoveryServiceGrpc.ClusterDiscoveryServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ClusterDiscoveryServiceGrpc.ClusterDiscoveryServiceStub>
io.envoyproxy.envoy.api.v2.ClusterDiscoveryServiceGrpc.ClusterDiscoveryServiceStub
- Enclosing class:
- ClusterDiscoveryServiceGrpc
public static final class ClusterDiscoveryServiceGrpc.ClusterDiscoveryServiceStub
extends io.grpc.stub.AbstractAsyncStub<ClusterDiscoveryServiceGrpc.ClusterDiscoveryServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ClusterDiscoveryService.
Return list of all clusters this proxy will load balance to.
-
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>deltaClusters(io.grpc.stub.StreamObserver<DeltaDiscoveryResponse> responseObserver) voidfetchClusters(DiscoveryRequest request, io.grpc.stub.StreamObserver<DiscoveryResponse> responseObserver) io.grpc.stub.StreamObserver<DiscoveryRequest>streamClusters(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 ClusterDiscoveryServiceGrpc.ClusterDiscoveryServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ClusterDiscoveryServiceGrpc.ClusterDiscoveryServiceStub>
-
streamClusters
public io.grpc.stub.StreamObserver<DiscoveryRequest> streamClusters(io.grpc.stub.StreamObserver<DiscoveryResponse> responseObserver) -
deltaClusters
public io.grpc.stub.StreamObserver<DeltaDiscoveryRequest> deltaClusters(io.grpc.stub.StreamObserver<DeltaDiscoveryResponse> responseObserver) -
fetchClusters
public void fetchClusters(DiscoveryRequest request, io.grpc.stub.StreamObserver<DiscoveryResponse> responseObserver)
-