Interface Xplane.XEventOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
Xplane.XEvent, Xplane.XEvent.Builder
- Enclosing class:
Xplane
-
Method Summary
Modifier and TypeMethodDescriptionlongDuration of the event in picoseconds.longXEventMetadata.id of corresponding metadata.longNumber of occurrences of the event, if aggregated.longStart time of the event in picoseconds, as offset from XLine.timestamp_ns().getStats(int index) XStats associated with the event.intXStats associated with the event.XStats associated with the event.getStatsOrBuilder(int index) XStats associated with the event.List<? extends Xplane.XStatOrBuilder> XStats associated with the event.booleanNumber of occurrences of the event, if aggregated.booleanStart time of the event in picoseconds, as offset from XLine.timestamp_ns().Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
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
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
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()
-