public abstract class EventReportingService extends Object implements com.google.protobuf.Service
[#not-implemented-hide:] Service for streaming different types of events from Envoy to a server. The examples of such events may be health check or outlier detection events.Protobuf service
envoy.service.event_reporting.v2alpha.EventReportingService| Modifier and Type | Class and Description |
|---|---|
static interface |
EventReportingService.BlockingInterface |
static interface |
EventReportingService.Interface |
static class |
EventReportingService.Stub |
| Modifier | Constructor and Description |
|---|---|
protected |
EventReportingService() |
| 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) |
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 EventReportingService.BlockingInterface |
newBlockingStub(com.google.protobuf.BlockingRpcChannel channel) |
static com.google.protobuf.BlockingService |
newReflectiveBlockingService(EventReportingService.BlockingInterface impl) |
static com.google.protobuf.Service |
newReflectiveService(EventReportingService.Interface impl) |
static EventReportingService.Stub |
newStub(com.google.protobuf.RpcChannel channel) |
abstract void |
streamEvents(com.google.protobuf.RpcController controller,
StreamEventsRequest request,
com.google.protobuf.RpcCallback<StreamEventsResponse> done)
Envoy will connect and send StreamEventsRequest messages forever.
|
public static com.google.protobuf.Service newReflectiveService(EventReportingService.Interface impl)
public static com.google.protobuf.BlockingService newReflectiveBlockingService(EventReportingService.BlockingInterface impl)
public abstract void streamEvents(com.google.protobuf.RpcController controller,
StreamEventsRequest request,
com.google.protobuf.RpcCallback<StreamEventsResponse> done)
Envoy will connect and send StreamEventsRequest messages forever. The management server may send StreamEventsResponse to configure event stream. See below. This API is designed for high throughput with the expectation that it might be lossy.
rpc StreamEvents(stream .envoy.service.event_reporting.v2alpha.StreamEventsRequest) returns (stream .envoy.service.event_reporting.v2alpha.StreamEventsResponse);public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Servicepublic 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.Servicepublic final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getRequestPrototype in interface com.google.protobuf.Servicepublic final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
getResponsePrototype in interface com.google.protobuf.Servicepublic static EventReportingService.Stub newStub(com.google.protobuf.RpcChannel channel)
public static EventReportingService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
Copyright © 2018–2021 The Envoy Project. All rights reserved.