Class Xplane.XEvent
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.profiler.Xplane.XEvent
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, Xplane.XEventOrBuilder
- Enclosing class:
Xplane
public static final class Xplane.XEvent
extends GeneratedMessageV3
implements Xplane.XEventOrBuilder
An XEvent is a trace event, optionally annotated with XStats. Next ID: 6Protobuf type
tensorflow.profiler.XEvent- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn XEvent is a trace event, optionally annotated with XStats.static enumNested classes/interfaces inherited from class GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>, GeneratedMessageV3.ExtendableMessage<MessageType>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterNested classes/interfaces inherited from class AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Xplane.XEventstatic final Descriptors.DescriptorlongDuration 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().intgetStats(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.final UnknownFieldSetinthashCode()booleanNumber of occurrences of the event, if aggregated.booleanStart time of the event in picoseconds, as offset from XLine.timestamp_ns().protected GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Xplane.XEvent.Builderstatic Xplane.XEvent.BuildernewBuilder(Xplane.XEvent prototype) protected Xplane.XEvent.Builderprotected Objectstatic Xplane.XEventparseDelimitedFrom(InputStream input) static Xplane.XEventparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static Xplane.XEventparseFrom(byte[] data) static Xplane.XEventparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static Xplane.XEventparseFrom(ByteString data) static Xplane.XEventparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static Xplane.XEventparseFrom(CodedInputStream input) static Xplane.XEventparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static Xplane.XEventparseFrom(InputStream input) static Xplane.XEventparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static Xplane.XEventparseFrom(ByteBuffer data) static Xplane.XEventparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<Xplane.XEvent> parser()voidwriteTo(CodedOutputStream output) Methods inherited from class GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
METADATA_ID_FIELD_NUMBER
public static final int METADATA_ID_FIELD_NUMBER- See Also:
-
OFFSET_PS_FIELD_NUMBER
public static final int OFFSET_PS_FIELD_NUMBER- See Also:
-
NUM_OCCURRENCES_FIELD_NUMBER
public static final int NUM_OCCURRENCES_FIELD_NUMBER- See Also:
-
DURATION_PS_FIELD_NUMBER
public static final int DURATION_PS_FIELD_NUMBER- See Also:
-
STATS_FIELD_NUMBER
public static final int STATS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getDataCase
- Specified by:
getDataCasein interfaceXplane.XEventOrBuilder
-
getMetadataId
public long getMetadataId()XEventMetadata.id of corresponding metadata.
int64 metadata_id = 1;- Specified by:
getMetadataIdin interfaceXplane.XEventOrBuilder- Returns:
- The metadataId.
-
hasOffsetPs
public boolean hasOffsetPs()Start time of the event in picoseconds, as offset from XLine.timestamp_ns().
int64 offset_ps = 2;- Specified by:
hasOffsetPsin interfaceXplane.XEventOrBuilder- Returns:
- Whether the offsetPs field is set.
-
getOffsetPs
public long getOffsetPs()Start time of the event in picoseconds, as offset from XLine.timestamp_ns().
int64 offset_ps = 2;- Specified by:
getOffsetPsin interfaceXplane.XEventOrBuilder- Returns:
- The offsetPs.
-
hasNumOccurrences
public boolean hasNumOccurrences()Number of occurrences of the event, if aggregated.
int64 num_occurrences = 5;- Specified by:
hasNumOccurrencesin interfaceXplane.XEventOrBuilder- Returns:
- Whether the numOccurrences field is set.
-
getNumOccurrences
public long getNumOccurrences()Number of occurrences of the event, if aggregated.
int64 num_occurrences = 5;- Specified by:
getNumOccurrencesin interfaceXplane.XEventOrBuilder- Returns:
- The numOccurrences.
-
getDurationPs
public long getDurationPs()Duration of the event in picoseconds. Can be zero for an instant event.
int64 duration_ps = 3;- Specified by:
getDurationPsin interfaceXplane.XEventOrBuilder- Returns:
- The durationPs.
-
getStatsList
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;- Specified by:
getStatsListin interfaceXplane.XEventOrBuilder
-
getStatsOrBuilderList
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;- Specified by:
getStatsOrBuilderListin interfaceXplane.XEventOrBuilder
-
getStatsCount
public int getStatsCount()XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;- Specified by:
getStatsCountin interfaceXplane.XEventOrBuilder
-
getStats
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;- Specified by:
getStatsin interfaceXplane.XEventOrBuilder
-
getStatsOrBuilder
XStats associated with the event. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 4;- Specified by:
getStatsOrBuilderin interfaceXplane.XEventOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Xplane.XEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Xplane.XEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Xplane.XEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Xplane.XEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Xplane.XEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Xplane.XEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
- Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-