Package io.envoyproxy.envoy.api.v2
Class EndpointDiscoveryServiceGrpc.EndpointDiscoveryServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<EndpointDiscoveryServiceGrpc.EndpointDiscoveryServiceStub>
io.envoyproxy.envoy.api.v2.EndpointDiscoveryServiceGrpc.EndpointDiscoveryServiceStub
- Enclosing class:
- EndpointDiscoveryServiceGrpc
public static final class EndpointDiscoveryServiceGrpc.EndpointDiscoveryServiceStub
extends io.grpc.stub.AbstractAsyncStub<EndpointDiscoveryServiceGrpc.EndpointDiscoveryServiceStub>
A stub to allow clients to do asynchronous rpc calls to service EndpointDiscoveryService.
-
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>deltaEndpoints(io.grpc.stub.StreamObserver<DeltaDiscoveryResponse> responseObserver) voidfetchEndpoints(DiscoveryRequest request, io.grpc.stub.StreamObserver<DiscoveryResponse> responseObserver) io.grpc.stub.StreamObserver<DiscoveryRequest>streamEndpoints(io.grpc.stub.StreamObserver<DiscoveryResponse> responseObserver) The resource_names field in DiscoveryRequest specifies a list of clusters to subscribe to updates for.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 EndpointDiscoveryServiceGrpc.EndpointDiscoveryServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<EndpointDiscoveryServiceGrpc.EndpointDiscoveryServiceStub>
-
streamEndpoints
public io.grpc.stub.StreamObserver<DiscoveryRequest> streamEndpoints(io.grpc.stub.StreamObserver<DiscoveryResponse> responseObserver) The resource_names field in DiscoveryRequest specifies a list of clusters to subscribe to updates for.
-
deltaEndpoints
public io.grpc.stub.StreamObserver<DeltaDiscoveryRequest> deltaEndpoints(io.grpc.stub.StreamObserver<DeltaDiscoveryResponse> responseObserver) -
fetchEndpoints
public void fetchEndpoints(DiscoveryRequest request, io.grpc.stub.StreamObserver<DiscoveryResponse> responseObserver)
-