Class Xplane.XEventMetadata
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.profiler.Xplane.XEventMetadata
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, Xplane.XEventMetadataOrBuilder
- Enclosing class:
Xplane
public static final class Xplane.XEventMetadata
extends GeneratedMessageV3
implements Xplane.XEventMetadataOrBuilder
Metadata for an XEvent, corresponds to an event type and is shared by all XEvents with the same metadata_id. Next ID: 7Protobuf type
tensorflow.profiler.XEventMetadata- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMetadata for an XEvent, corresponds to an event type and is shared by all XEvents with the same metadata_id.Nested 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 intstatic final intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetChildId(int index) XPlane.event_metadata map key for children events.intXPlane.event_metadata map key for children events.XPlane.event_metadata map key for children events.static Xplane.XEventMetadatastatic final Descriptors.DescriptorName of the event shown in trace viewer.Name of the event shown in trace viewer.longgetId()XPlane.event_metadata map key.Additional metadata in serialized format.getName()Name of the event.Name of the event.intgetStats(int index) XStats that are constant for all XEvents with the same metadata_id.intXStats that are constant for all XEvents with the same metadata_id.XStats that are constant for all XEvents with the same metadata_id.getStatsOrBuilder(int index) XStats that are constant for all XEvents with the same metadata_id.List<? extends Xplane.XStatOrBuilder> XStats that are constant for all XEvents with the same metadata_id.final UnknownFieldSetinthashCode()protected GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Xplane.XEventMetadata prototype) protected Xplane.XEventMetadata.Builderprotected Objectstatic Xplane.XEventMetadataparseDelimitedFrom(InputStream input) static Xplane.XEventMetadataparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static Xplane.XEventMetadataparseFrom(byte[] data) static Xplane.XEventMetadataparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static Xplane.XEventMetadataparseFrom(ByteString data) static Xplane.XEventMetadataparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static Xplane.XEventMetadataparseFrom(CodedInputStream input) static Xplane.XEventMetadataparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static Xplane.XEventMetadataparseFrom(InputStream input) static Xplane.XEventMetadataparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static Xplane.XEventMetadataparseFrom(ByteBuffer data) static Xplane.XEventMetadataparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<Xplane.XEventMetadata> 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
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
STATS_FIELD_NUMBER
public static final int STATS_FIELD_NUMBER- See Also:
-
CHILD_ID_FIELD_NUMBER
public static final int CHILD_ID_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getId
public long getId()XPlane.event_metadata map key.
int64 id = 1;- Specified by:
getIdin interfaceXplane.XEventMetadataOrBuilder- Returns:
- The id.
-
getName
Name of the event.
string name = 2;- Specified by:
getNamein interfaceXplane.XEventMetadataOrBuilder- Returns:
- The name.
-
getNameBytes
Name of the event.
string name = 2;- Specified by:
getNameBytesin interfaceXplane.XEventMetadataOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
Name of the event shown in trace viewer.
string display_name = 4;- Specified by:
getDisplayNamein interfaceXplane.XEventMetadataOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
Name of the event shown in trace viewer.
string display_name = 4;- Specified by:
getDisplayNameBytesin interfaceXplane.XEventMetadataOrBuilder- Returns:
- The bytes for displayName.
-
getMetadata
Additional metadata in serialized format.
bytes metadata = 3;- Specified by:
getMetadatain interfaceXplane.XEventMetadataOrBuilder- Returns:
- The metadata.
-
getStatsList
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5;- Specified by:
getStatsListin interfaceXplane.XEventMetadataOrBuilder
-
getStatsOrBuilderList
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5;- Specified by:
getStatsOrBuilderListin interfaceXplane.XEventMetadataOrBuilder
-
getStatsCount
public int getStatsCount()XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5;- Specified by:
getStatsCountin interfaceXplane.XEventMetadataOrBuilder
-
getStats
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5;- Specified by:
getStatsin interfaceXplane.XEventMetadataOrBuilder
-
getStatsOrBuilder
XStats that are constant for all XEvents with the same metadata_id. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 5;- Specified by:
getStatsOrBuilderin interfaceXplane.XEventMetadataOrBuilder
-
getChildIdList
XPlane.event_metadata map key for children events.
repeated int64 child_id = 6;- Specified by:
getChildIdListin interfaceXplane.XEventMetadataOrBuilder- Returns:
- A list containing the childId.
-
getChildIdCount
public int getChildIdCount()XPlane.event_metadata map key for children events.
repeated int64 child_id = 6;- Specified by:
getChildIdCountin interfaceXplane.XEventMetadataOrBuilder- Returns:
- The count of childId.
-
getChildId
public long getChildId(int index) XPlane.event_metadata map key for children events.
repeated int64 child_id = 6;- Specified by:
getChildIdin interfaceXplane.XEventMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The childId at the given index.
-
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
public static Xplane.XEventMetadata parseFrom(ByteBuffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static Xplane.XEventMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static Xplane.XEventMetadata parseFrom(ByteString data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static Xplane.XEventMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Xplane.XEventMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Xplane.XEventMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Xplane.XEventMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Xplane.XEventMetadata 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
-