Class Xplane.XPlane
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.profiler.Xplane.XPlane
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, Xplane.XPlaneOrBuilder
- Enclosing class:
Xplane
public static final class Xplane.XPlane
extends GeneratedMessageV3
implements Xplane.XPlaneOrBuilder
An XPlane is a container of parallel timelines (XLines), generated by a profiling source or by post-processing one or more XPlanes. Next ID: 7Protobuf type
tensorflow.profiler.XPlane- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn XPlane is a container of parallel timelines (XLines), generated by a profiling source or by post-processing one or more XPlanes.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 TypeMethodDescriptionbooleancontainsEventMetadata(long key) XEventMetadata map, each entry uses the XEventMetadata.id as key.booleancontainsStatMetadata(long key) XStatMetadata map, each entry uses the XStatMetadata.id as key.booleanstatic Xplane.XPlanestatic final Descriptors.DescriptorDeprecated.intXEventMetadata map, each entry uses the XEventMetadata.id as key.XEventMetadata map, each entry uses the XEventMetadata.id as key.getEventMetadataOrDefault(long key, Xplane.XEventMetadata defaultValue) XEventMetadata map, each entry uses the XEventMetadata.id as key.getEventMetadataOrThrow(long key) XEventMetadata map, each entry uses the XEventMetadata.id as key.longgetId()int64 id = 1;getLines(int index) Parallel timelines grouped in this plane.intParallel timelines grouped in this plane.Parallel timelines grouped in this plane.getLinesOrBuilder(int index) Parallel timelines grouped in this plane.List<? extends Xplane.XLineOrBuilder> Parallel timelines grouped in this plane.getName()Name of this XPlane.Name of this XPlane.intDeprecated.intXStatMetadata map, each entry uses the XStatMetadata.id as key.XStatMetadata map, each entry uses the XStatMetadata.id as key.getStatMetadataOrDefault(long key, Xplane.XStatMetadata defaultValue) XStatMetadata map, each entry uses the XStatMetadata.id as key.getStatMetadataOrThrow(long key) XStatMetadata map, each entry uses the XStatMetadata.id as key.getStats(int index) XStats associated with this plane, e.g. device capabilities.intXStats associated with this plane, e.g. device capabilities.XStats associated with this plane, e.g. device capabilities.getStatsOrBuilder(int index) XStats associated with this plane, e.g. device capabilities.List<? extends Xplane.XStatOrBuilder> XStats associated with this plane, e.g. device capabilities.final UnknownFieldSetinthashCode()protected GeneratedMessageV3.FieldAccessorTableprotected MapFieldinternalGetMapField(int number) final booleanstatic Xplane.XPlane.Builderstatic Xplane.XPlane.BuildernewBuilder(Xplane.XPlane prototype) protected Xplane.XPlane.Builderprotected Objectstatic Xplane.XPlaneparseDelimitedFrom(InputStream input) static Xplane.XPlaneparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static Xplane.XPlaneparseFrom(byte[] data) static Xplane.XPlaneparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static Xplane.XPlaneparseFrom(ByteString data) static Xplane.XPlaneparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static Xplane.XPlaneparseFrom(CodedInputStream input) static Xplane.XPlaneparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static Xplane.XPlaneparseFrom(InputStream input) static Xplane.XPlaneparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static Xplane.XPlaneparseFrom(ByteBuffer data) static Xplane.XPlaneparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<Xplane.XPlane> 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, 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:
-
LINES_FIELD_NUMBER
public static final int LINES_FIELD_NUMBER- See Also:
-
EVENT_METADATA_FIELD_NUMBER
public static final int EVENT_METADATA_FIELD_NUMBER- See Also:
-
STAT_METADATA_FIELD_NUMBER
public static final int STAT_METADATA_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
-
internalGetMapField
- Overrides:
internalGetMapFieldin classGeneratedMessageV3
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getId
public long getId()int64 id = 1;- Specified by:
getIdin interfaceXplane.XPlaneOrBuilder- Returns:
- The id.
-
getName
Name of this XPlane.
string name = 2;- Specified by:
getNamein interfaceXplane.XPlaneOrBuilder- Returns:
- The name.
-
getNameBytes
Name of this XPlane.
string name = 2;- Specified by:
getNameBytesin interfaceXplane.XPlaneOrBuilder- Returns:
- The bytes for name.
-
getLinesList
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;- Specified by:
getLinesListin interfaceXplane.XPlaneOrBuilder
-
getLinesOrBuilderList
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;- Specified by:
getLinesOrBuilderListin interfaceXplane.XPlaneOrBuilder
-
getLinesCount
public int getLinesCount()Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;- Specified by:
getLinesCountin interfaceXplane.XPlaneOrBuilder
-
getLines
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;- Specified by:
getLinesin interfaceXplane.XPlaneOrBuilder
-
getLinesOrBuilder
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;- Specified by:
getLinesOrBuilderin interfaceXplane.XPlaneOrBuilder
-
getEventMetadataCount
public int getEventMetadataCount()Description copied from interface:Xplane.XPlaneOrBuilderXEventMetadata map, each entry uses the XEventMetadata.id as key. This map should be used for events that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XEventMetadata> event_metadata = 4;- Specified by:
getEventMetadataCountin interfaceXplane.XPlaneOrBuilder
-
containsEventMetadata
public boolean containsEventMetadata(long key) XEventMetadata map, each entry uses the XEventMetadata.id as key. This map should be used for events that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XEventMetadata> event_metadata = 4;- Specified by:
containsEventMetadatain interfaceXplane.XPlaneOrBuilder
-
getEventMetadata
Deprecated.UsegetEventMetadataMap()instead.- Specified by:
getEventMetadatain interfaceXplane.XPlaneOrBuilder
-
getEventMetadataMap
XEventMetadata map, each entry uses the XEventMetadata.id as key. This map should be used for events that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XEventMetadata> event_metadata = 4;- Specified by:
getEventMetadataMapin interfaceXplane.XPlaneOrBuilder
-
getEventMetadataOrDefault
public Xplane.XEventMetadata getEventMetadataOrDefault(long key, Xplane.XEventMetadata defaultValue) XEventMetadata map, each entry uses the XEventMetadata.id as key. This map should be used for events that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XEventMetadata> event_metadata = 4;- Specified by:
getEventMetadataOrDefaultin interfaceXplane.XPlaneOrBuilder
-
getEventMetadataOrThrow
XEventMetadata map, each entry uses the XEventMetadata.id as key. This map should be used for events that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XEventMetadata> event_metadata = 4;- Specified by:
getEventMetadataOrThrowin interfaceXplane.XPlaneOrBuilder
-
getStatMetadataCount
public int getStatMetadataCount()Description copied from interface:Xplane.XPlaneOrBuilderXStatMetadata map, each entry uses the XStatMetadata.id as key. This map should be used for stats that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XStatMetadata> stat_metadata = 5;- Specified by:
getStatMetadataCountin interfaceXplane.XPlaneOrBuilder
-
containsStatMetadata
public boolean containsStatMetadata(long key) XStatMetadata map, each entry uses the XStatMetadata.id as key. This map should be used for stats that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XStatMetadata> stat_metadata = 5;- Specified by:
containsStatMetadatain interfaceXplane.XPlaneOrBuilder
-
getStatMetadata
Deprecated.UsegetStatMetadataMap()instead.- Specified by:
getStatMetadatain interfaceXplane.XPlaneOrBuilder
-
getStatMetadataMap
XStatMetadata map, each entry uses the XStatMetadata.id as key. This map should be used for stats that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XStatMetadata> stat_metadata = 5;- Specified by:
getStatMetadataMapin interfaceXplane.XPlaneOrBuilder
-
getStatMetadataOrDefault
XStatMetadata map, each entry uses the XStatMetadata.id as key. This map should be used for stats that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XStatMetadata> stat_metadata = 5;- Specified by:
getStatMetadataOrDefaultin interfaceXplane.XPlaneOrBuilder
-
getStatMetadataOrThrow
XStatMetadata map, each entry uses the XStatMetadata.id as key. This map should be used for stats that share the same ID over the whole XPlane.
map<int64, .tensorflow.profiler.XStatMetadata> stat_metadata = 5;- Specified by:
getStatMetadataOrThrowin interfaceXplane.XPlaneOrBuilder
-
getStatsList
XStats associated with this plane, e.g. device capabilities. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 6;- Specified by:
getStatsListin interfaceXplane.XPlaneOrBuilder
-
getStatsOrBuilderList
XStats associated with this plane, e.g. device capabilities. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 6;- Specified by:
getStatsOrBuilderListin interfaceXplane.XPlaneOrBuilder
-
getStatsCount
public int getStatsCount()XStats associated with this plane, e.g. device capabilities. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 6;- Specified by:
getStatsCountin interfaceXplane.XPlaneOrBuilder
-
getStats
XStats associated with this plane, e.g. device capabilities. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 6;- Specified by:
getStatsin interfaceXplane.XPlaneOrBuilder
-
getStatsOrBuilder
XStats associated with this plane, e.g. device capabilities. Each of these XStats should have a different metadata_id.
repeated .tensorflow.profiler.XStat stats = 6;- Specified by:
getStatsOrBuilderin interfaceXplane.XPlaneOrBuilder
-
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.XPlane parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Xplane.XPlane parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Xplane.XPlane parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Xplane.XPlane parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Xplane.XPlane parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Xplane.XPlane 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
-