Interface Xplane.XEventOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
Xplane.XEvent, Xplane.XEvent.Builder
Enclosing class:
Xplane

public static interface Xplane.XEventOrBuilder extends MessageOrBuilder
  • Method Details

    • getMetadataId

      long getMetadataId()
      XEventMetadata.id of corresponding metadata.
      
      int64 metadata_id = 1;
      Returns:
      The metadataId.
    • hasOffsetPs

      boolean hasOffsetPs()
      Start time of the event in picoseconds, as offset from
      XLine.timestamp_ns().
      
      int64 offset_ps = 2;
      Returns:
      Whether the offsetPs field is set.
    • getOffsetPs

      long getOffsetPs()
      Start time of the event in picoseconds, as offset from
      XLine.timestamp_ns().
      
      int64 offset_ps = 2;
      Returns:
      The offsetPs.
    • hasNumOccurrences

      boolean hasNumOccurrences()
      Number of occurrences of the event, if aggregated.
      
      int64 num_occurrences = 5;
      Returns:
      Whether the numOccurrences field is set.
    • getNumOccurrences

      long getNumOccurrences()
      Number of occurrences of the event, if aggregated.
      
      int64 num_occurrences = 5;
      Returns:
      The numOccurrences.
    • getDurationPs

      long getDurationPs()
      Duration of the event in picoseconds. Can be zero for an instant event.
      
      int64 duration_ps = 3;
      Returns:
      The durationPs.
    • getStatsList

      List<Xplane.XStat> getStatsList()
      XStats associated with the event.
      Each of these XStats should have a different metadata_id.
      
      repeated .tensorflow.profiler.XStat stats = 4;
    • getStats

      Xplane.XStat getStats(int index)
      XStats associated with the event.
      Each of these XStats should have a different metadata_id.
      
      repeated .tensorflow.profiler.XStat stats = 4;
    • getStatsCount

      int getStatsCount()
      XStats associated with the event.
      Each of these XStats should have a different metadata_id.
      
      repeated .tensorflow.profiler.XStat stats = 4;
    • getStatsOrBuilderList

      List<? extends Xplane.XStatOrBuilder> getStatsOrBuilderList()
      XStats associated with the event.
      Each of these XStats should have a different metadata_id.
      
      repeated .tensorflow.profiler.XStat stats = 4;
    • getStatsOrBuilder

      Xplane.XStatOrBuilder getStatsOrBuilder(int index)
      XStats associated with the event.
      Each of these XStats should have a different metadata_id.
      
      repeated .tensorflow.profiler.XStat stats = 4;
    • getDataCase

      Xplane.XEvent.DataCase getDataCase()