Class EventReportingService

  • All Implemented Interfaces:
    com.google.protobuf.Service
    Direct Known Subclasses:
    EventReportingService.Stub

    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
    • Constructor Detail

      • EventReportingService

        protected EventReportingService()
    • Method Detail

      • streamEvents

        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);
      • getDescriptor

        public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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:
        callMethod in interface com.google.protobuf.Service
      • getRequestPrototype

        public final com.google.protobuf.Message getRequestPrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getRequestPrototype in interface com.google.protobuf.Service
      • getResponsePrototype

        public final com.google.protobuf.Message getResponsePrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getResponsePrototype in interface com.google.protobuf.Service