docs: @Deprecated
    @SuppressWarnings({"deprecation"})
    public TimedEvents<io.opencensus.trace.NetworkEvent> getNetworkEvents() {
      TimedEvents<MessageEvent> timedEvents = getMessageEvents();
      List<TimedEvent<io.opencensus.trace.NetworkEvent>> networkEventsList =
          new ArrayList<TimedEvent<io.opencensus.trace.NetworkEvent>>();
      for (TimedEvent<MessageEvent> timedEvent : timedEvents.getEvents()) {
        networkEventsList.add(
            TimedEvent.<io.opencensus.trace.NetworkEvent>create(
                timedEvent.getTimestamp(),
                BaseMessageEventUtils.asNetworkEvent(timedEvent.getEvent())));
      }
      return TimedEvents.<io.opencensus.trace.NetworkEvent>create(
          networkEventsList, timedEvents.getDroppedEventsCount());
    }