public static final class
XPlane.Builder
An XPlane is a container of parallel timelines (XLines), generated by a profiling source or by post-processing one or more XPlanes. Next ID: 7
tensorflow.profiler.XPlane
Public Methods
XPlane.Builder | |
XPlane.Builder | |
XPlane.Builder | |
XPlane.Builder | |
XPlane.Builder | |
XPlane.Builder | |
XLine.Builder |
addLinesBuilder()
Parallel timelines grouped in this plane. |
XLine.Builder |
addLinesBuilder(int index)
Parallel timelines grouped in this plane. |
XPlane.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
XPlane.Builder | |
XPlane.Builder | |
XPlane.Builder | |
XPlane.Builder | |
XStat.Builder |
addStatsBuilder(int index)
XStats associated with this plane, e.g. |
XStat.Builder |
addStatsBuilder()
XStats associated with this plane, e.g. |
XPlane |
build()
|
XPlane | |
XPlane.Builder |
clear()
|
XPlane.Builder | |
XPlane.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
XPlane.Builder |
clearId()
int64 id = 1;
|
XPlane.Builder |
clearLines()
Parallel timelines grouped in this plane. |
XPlane.Builder |
clearName()
Name of this line. |
XPlane.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
XPlane.Builder | |
XPlane.Builder |
clearStats()
XStats associated with this plane, e.g. |
XPlane.Builder |
clone()
|
boolean |
containsEventMetadata(long key)
XEventMetadata map, each entry uses the XEventMetadata.id as key. |
boolean |
containsStatMetadata(long key)
XStatMetadata map, each entry uses the XStatMetadata.id as key. |
XPlane | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Map<Long, XEventMetadata> |
getEventMetadata()
Use
getEventMetadataMap() instead. |
int |
getEventMetadataCount()
XEventMetadata map, each entry uses the XEventMetadata.id as key. |
Map<Long, XEventMetadata> |
getEventMetadataMap()
XEventMetadata map, each entry uses the XEventMetadata.id as key. |
XEventMetadata |
getEventMetadataOrDefault(long key, XEventMetadata defaultValue)
XEventMetadata map, each entry uses the XEventMetadata.id as key. |
XEventMetadata |
getEventMetadataOrThrow(long key)
XEventMetadata map, each entry uses the XEventMetadata.id as key. |
long |
getId()
int64 id = 1;
|
XLine |
getLines(int index)
Parallel timelines grouped in this plane. |
XLine.Builder |
getLinesBuilder(int index)
Parallel timelines grouped in this plane. |
List<XLine.Builder> |
getLinesBuilderList()
Parallel timelines grouped in this plane. |
int |
getLinesCount()
Parallel timelines grouped in this plane. |
List<XLine> |
getLinesList()
Parallel timelines grouped in this plane. |
XLineOrBuilder |
getLinesOrBuilder(int index)
Parallel timelines grouped in this plane. |
List<? extends XLineOrBuilder> |
getLinesOrBuilderList()
Parallel timelines grouped in this plane. |
Map<Long, XEventMetadata> |
getMutableEventMetadata()
Use alternate mutation accessors instead.
|
Map<Long, XStatMetadata> |
getMutableStatMetadata()
Use alternate mutation accessors instead.
|
String |
getName()
Name of this line. |
com.google.protobuf.ByteString |
getNameBytes()
Name of this line. |
Map<Long, XStatMetadata> |
getStatMetadata()
Use
getStatMetadataMap() instead. |
int |
getStatMetadataCount()
XStatMetadata map, each entry uses the XStatMetadata.id as key. |
Map<Long, XStatMetadata> |
getStatMetadataMap()
XStatMetadata map, each entry uses the XStatMetadata.id as key. |
XStatMetadata |
getStatMetadataOrDefault(long key, XStatMetadata defaultValue)
XStatMetadata map, each entry uses the XStatMetadata.id as key. |
XStatMetadata |
getStatMetadataOrThrow(long key)
XStatMetadata map, each entry uses the XStatMetadata.id as key. |
XStat |
getStats(int index)
XStats associated with this plane, e.g. |
XStat.Builder |
getStatsBuilder(int index)
XStats associated with this plane, e.g. |
List<XStat.Builder> |
getStatsBuilderList()
XStats associated with this plane, e.g. |
int |
getStatsCount()
XStats associated with this plane, e.g. |
List<XStat> |
getStatsList()
XStats associated with this plane, e.g. |
XStatOrBuilder |
getStatsOrBuilder(int index)
XStats associated with this plane, e.g. |
List<? extends XStatOrBuilder> |
getStatsOrBuilderList()
XStats associated with this plane, e.g. |
final boolean | |
XPlane.Builder |
mergeFrom(com.google.protobuf.Message other)
|
XPlane.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
final XPlane.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
XPlane.Builder |
putAllEventMetadata(Map<Long, XEventMetadata> values)
XEventMetadata map, each entry uses the XEventMetadata.id as key. |
XPlane.Builder |
putAllStatMetadata(Map<Long, XStatMetadata> values)
XStatMetadata map, each entry uses the XStatMetadata.id as key. |
XPlane.Builder |
putEventMetadata(long key, XEventMetadata value)
XEventMetadata map, each entry uses the XEventMetadata.id as key. |
XPlane.Builder |
putStatMetadata(long key, XStatMetadata value)
XStatMetadata map, each entry uses the XStatMetadata.id as key. |
XPlane.Builder |
removeEventMetadata(long key)
XEventMetadata map, each entry uses the XEventMetadata.id as key. |
XPlane.Builder |
removeLines(int index)
Parallel timelines grouped in this plane. |
XPlane.Builder |
removeStatMetadata(long key)
XStatMetadata map, each entry uses the XStatMetadata.id as key. |
XPlane.Builder |
removeStats(int index)
XStats associated with this plane, e.g. |
XPlane.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
XPlane.Builder |
setId(long value)
int64 id = 1;
|
XPlane.Builder | |
XPlane.Builder | |
XPlane.Builder |
setName(String value)
Name of this line. |
XPlane.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of this line. |
XPlane.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
XPlane.Builder | |
XPlane.Builder | |
final XPlane.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public XPlane.Builder addAllLines (Iterable<? extends XLine> values)
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public XPlane.Builder addAllStats (Iterable<? extends XStat> values)
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;
public XPlane.Builder addLines (XLine value)
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public XPlane.Builder addLines (int index, XLine.Builder builderForValue)
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public XPlane.Builder addLines (XLine.Builder builderForValue)
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public XPlane.Builder addLines (int index, XLine value)
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public XLine.Builder addLinesBuilder ()
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public XLine.Builder addLinesBuilder (int index)
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public XPlane.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public XPlane.Builder addStats (XStat value)
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;
public XPlane.Builder addStats (XStat.Builder builderForValue)
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;
public XPlane.Builder addStats (int index, XStat value)
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;
public XPlane.Builder addStats (int index, XStat.Builder builderForValue)
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;
public XStat.Builder addStatsBuilder (int index)
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;
public XStat.Builder addStatsBuilder ()
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;
public XPlane.Builder clearLines ()
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public XPlane.Builder clearStats ()
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;
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;
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;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public int getEventMetadataCount ()
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;
public Map<Long, XEventMetadata> 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;
public XEventMetadata getEventMetadataOrDefault (long key, 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;
public XEventMetadata getEventMetadataOrThrow (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;
public long getId ()
int64 id = 1;
public XLine getLines (int index)
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public XLine.Builder getLinesBuilder (int index)
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public List<XLine.Builder> getLinesBuilderList ()
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
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;
public List<XLine> getLinesList ()
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public XLineOrBuilder getLinesOrBuilder (int index)
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public List<? extends XLineOrBuilder> getLinesOrBuilderList ()
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public Map<Long, XEventMetadata> getMutableEventMetadata ()
Use alternate mutation accessors instead.
public String getName ()
Name of this line.
string name = 2;
public com.google.protobuf.ByteString getNameBytes ()
Name of this line.
string name = 2;
public int getStatMetadataCount ()
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;
public Map<Long, XStatMetadata> 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;
public XStatMetadata getStatMetadataOrDefault (long key, XStatMetadata defaultValue)
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;
public XStatMetadata getStatMetadataOrThrow (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;
public XStat getStats (int index)
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;
public XStat.Builder getStatsBuilder (int index)
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;
public List<XStat.Builder> getStatsBuilderList ()
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;
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;
public List<XStat> 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;
public XStatOrBuilder getStatsOrBuilder (int index)
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;
public List<? extends XStatOrBuilder> 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;
public final boolean isInitialized ()
public XPlane.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public XPlane.Builder putAllEventMetadata (Map<Long, XEventMetadata> values)
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;
public XPlane.Builder putAllStatMetadata (Map<Long, XStatMetadata> values)
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;
public XPlane.Builder putEventMetadata (long key, XEventMetadata value)
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;
public XPlane.Builder putStatMetadata (long key, XStatMetadata value)
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;
public XPlane.Builder removeEventMetadata (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;
public XPlane.Builder removeLines (int index)
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public XPlane.Builder removeStatMetadata (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;
public XPlane.Builder removeStats (int index)
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;
public XPlane.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public XPlane.Builder setLines (int index, XLine.Builder builderForValue)
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public XPlane.Builder setLines (int index, XLine value)
Parallel timelines grouped in this plane. XLines with the same id are effectively the same timeline.
repeated .tensorflow.profiler.XLine lines = 3;
public XPlane.Builder setNameBytes (com.google.protobuf.ByteString value)
Name of this line.
string name = 2;
public XPlane.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public XPlane.Builder setStats (int index, XStat.Builder builderForValue)
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;
public XPlane.Builder setStats (int index, XStat value)
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;