XLine.Builder

public static final class XLine.Builder

 An XLine is a timeline of trace events (XEvents).
 Next ID: 12
 
Protobuf type tensorflow.profiler.XLine

Public Methods

XLine.Builder
addAllEvents(Iterable<? extends XEvent> values)
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
XLine.Builder
addEvents(int index, XEvent.Builder builderForValue)
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
XLine.Builder
addEvents(XEvent.Builder builderForValue)
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
XLine.Builder
addEvents(int index, XEvent value)
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
XLine.Builder
addEvents(XEvent value)
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
XEvent.Builder
addEventsBuilder(int index)
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
XEvent.Builder
addEventsBuilder()
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
XLine.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
XLine
build()
XLine
XLine.Builder
clear()
XLine.Builder
clearDisplayId()
 Display id of this line.
XLine.Builder
clearDisplayName()
 Name of this XLine to display in trace viewer.
XLine.Builder
clearDurationPs()
 Profiling duration for this line in picoseconds.
XLine.Builder
clearEvents()
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
XLine.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
XLine.Builder
clearId()
 Id of this line, can be repeated within an XPlane.
XLine.Builder
clearName()
 Name of this XLine.
XLine.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
XLine.Builder
clearTimestampNs()
 Start time of this line in nanoseconds since the UNIX epoch.
XLine.Builder
clone()
XLine
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
getDisplayId()
 Display id of this line.
String
getDisplayName()
 Name of this XLine to display in trace viewer.
com.google.protobuf.ByteString
getDisplayNameBytes()
 Name of this XLine to display in trace viewer.
long
getDurationPs()
 Profiling duration for this line in picoseconds.
XEvent
getEvents(int index)
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
XEvent.Builder
getEventsBuilder(int index)
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
List<XEvent.Builder>
getEventsBuilderList()
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
int
getEventsCount()
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
List<XEvent>
getEventsList()
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
XEventOrBuilder
getEventsOrBuilder(int index)
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
List<? extends XEventOrBuilder>
getEventsOrBuilderList()
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
long
getId()
 Id of this line, can be repeated within an XPlane.
String
getName()
 Name of this XLine.
com.google.protobuf.ByteString
getNameBytes()
 Name of this XLine.
long
getTimestampNs()
 Start time of this line in nanoseconds since the UNIX epoch.
final boolean
XLine.Builder
mergeFrom(com.google.protobuf.Message other)
XLine.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final XLine.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
XLine.Builder
removeEvents(int index)
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
XLine.Builder
setDisplayId(long value)
 Display id of this line.
XLine.Builder
setDisplayName(String value)
 Name of this XLine to display in trace viewer.
XLine.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
 Name of this XLine to display in trace viewer.
XLine.Builder
setDurationPs(long value)
 Profiling duration for this line in picoseconds.
XLine.Builder
setEvents(int index, XEvent value)
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
XLine.Builder
setEvents(int index, XEvent.Builder builderForValue)
 XEvents within the same XLine should not overlap in time, but they can be
 nested.
XLine.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
XLine.Builder
setId(long value)
 Id of this line, can be repeated within an XPlane.
XLine.Builder
setName(String value)
 Name of this XLine.
XLine.Builder
setNameBytes(com.google.protobuf.ByteString value)
 Name of this XLine.
XLine.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
XLine.Builder
setTimestampNs(long value)
 Start time of this line in nanoseconds since the UNIX epoch.
final XLine.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public XLine.Builder addAllEvents (Iterable<? extends XEvent> values)

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public XLine.Builder addEvents (int index, XEvent.Builder builderForValue)

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public XLine.Builder addEvents (XEvent.Builder builderForValue)

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public XLine.Builder addEvents (int index, XEvent value)

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public XLine.Builder addEvents (XEvent value)

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public XEvent.Builder addEventsBuilder (int index)

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public XEvent.Builder addEventsBuilder ()

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public XLine.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public XLine build ()

public XLine buildPartial ()

public XLine.Builder clear ()

public XLine.Builder clearDisplayId ()

 Display id of this line. Multiple lines with the same display_id are
 grouped together in the same trace viewer row.
 
int64 display_id = 10;

public XLine.Builder clearDisplayName ()

 Name of this XLine to display in trace viewer.
 
string display_name = 11;

public XLine.Builder clearDurationPs ()

 Profiling duration for this line in picoseconds.
 
int64 duration_ps = 9;

public XLine.Builder clearEvents ()

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public XLine.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public XLine.Builder clearId ()

 Id of this line, can be repeated within an XPlane. All XLines with the
 same id are effectively the same timeline.
 
int64 id = 1;

public XLine.Builder clearName ()

 Name of this XLine.
 
string name = 2;

public XLine.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public XLine.Builder clearTimestampNs ()

 Start time of this line in nanoseconds since the UNIX epoch.
 XEvent.offset_ps is relative to this timestamp.
 
int64 timestamp_ns = 3;

public XLine.Builder clone ()

public XLine getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public long getDisplayId ()

 Display id of this line. Multiple lines with the same display_id are
 grouped together in the same trace viewer row.
 
int64 display_id = 10;

public String getDisplayName ()

 Name of this XLine to display in trace viewer.
 
string display_name = 11;

public com.google.protobuf.ByteString getDisplayNameBytes ()

 Name of this XLine to display in trace viewer.
 
string display_name = 11;

public long getDurationPs ()

 Profiling duration for this line in picoseconds.
 
int64 duration_ps = 9;

public XEvent getEvents (int index)

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public XEvent.Builder getEventsBuilder (int index)

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public List<XEvent.Builder> getEventsBuilderList ()

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public int getEventsCount ()

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public List<XEvent> getEventsList ()

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public XEventOrBuilder getEventsOrBuilder (int index)

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public List<? extends XEventOrBuilder> getEventsOrBuilderList ()

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public long getId ()

 Id of this line, can be repeated within an XPlane. All XLines with the
 same id are effectively the same timeline.
 
int64 id = 1;

public String getName ()

 Name of this XLine.
 
string name = 2;

public com.google.protobuf.ByteString getNameBytes ()

 Name of this XLine.
 
string name = 2;

public long getTimestampNs ()

 Start time of this line in nanoseconds since the UNIX epoch.
 XEvent.offset_ps is relative to this timestamp.
 
int64 timestamp_ns = 3;

public final boolean isInitialized ()

public XLine.Builder mergeFrom (com.google.protobuf.Message other)

public XLine.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public final XLine.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public XLine.Builder removeEvents (int index)

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public XLine.Builder setDisplayId (long value)

 Display id of this line. Multiple lines with the same display_id are
 grouped together in the same trace viewer row.
 
int64 display_id = 10;

public XLine.Builder setDisplayName (String value)

 Name of this XLine to display in trace viewer.
 
string display_name = 11;

public XLine.Builder setDisplayNameBytes (com.google.protobuf.ByteString value)

 Name of this XLine to display in trace viewer.
 
string display_name = 11;

public XLine.Builder setDurationPs (long value)

 Profiling duration for this line in picoseconds.
 
int64 duration_ps = 9;

public XLine.Builder setEvents (int index, XEvent value)

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public XLine.Builder setEvents (int index, XEvent.Builder builderForValue)

 XEvents within the same XLine should not overlap in time, but they can be
 nested.
 
repeated .tensorflow.profiler.XEvent events = 4;

public XLine.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public XLine.Builder setId (long value)

 Id of this line, can be repeated within an XPlane. All XLines with the
 same id are effectively the same timeline.
 
int64 id = 1;

public XLine.Builder setName (String value)

 Name of this XLine.
 
string name = 2;

public XLine.Builder setNameBytes (com.google.protobuf.ByteString value)

 Name of this XLine.
 
string name = 2;

public XLine.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public XLine.Builder setTimestampNs (long value)

 Start time of this line in nanoseconds since the UNIX epoch.
 XEvent.offset_ps is relative to this timestamp.
 
int64 timestamp_ns = 3;

public final XLine.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)