Class Xplane.XLine.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Xplane.XLine.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Xplane.XLine.Builder>
org.tensorflow.proto.profiler.Xplane.XLine.Builder
- All Implemented Interfaces:
Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable, Xplane.XLineOrBuilder
- Enclosing class:
Xplane.XLine
public static final class Xplane.XLine.Builder
extends GeneratedMessageV3.Builder<Xplane.XLine.Builder>
implements Xplane.XLineOrBuilder
An XLine is a timeline of trace events (XEvents). Next ID: 12Protobuf type
tensorflow.profiler.XLine-
Method Summary
Modifier and TypeMethodDescriptionaddAllEvents(Iterable<? extends Xplane.XEvent> values) XEvents within the same XLine should not overlap in time, but they can be nested.addEvents(int index, Xplane.XEvent value) XEvents within the same XLine should not overlap in time, but they can be nested.addEvents(int index, Xplane.XEvent.Builder builderForValue) XEvents within the same XLine should not overlap in time, but they can be nested.addEvents(Xplane.XEvent value) XEvents within the same XLine should not overlap in time, but they can be nested.addEvents(Xplane.XEvent.Builder builderForValue) XEvents within the same XLine should not overlap in time, but they can be nested.XEvents within the same XLine should not overlap in time, but they can be nested.addEventsBuilder(int index) XEvents within the same XLine should not overlap in time, but they can be nested.addRepeatedField(Descriptors.FieldDescriptor field, Object value) build()clear()Display id of this line.Name of this XLine to display in trace viewer.Profiling duration for this line in picoseconds.XEvents within the same XLine should not overlap in time, but they can be nested.clearId()Id of this line, can be repeated within an XPlane.Name of this XLine.Start time of this line in nanoseconds since the UNIX epoch.clone()static final Descriptors.DescriptorlongDisplay id of this line.Name of this XLine to display in trace viewer.Name of this XLine to display in trace viewer.longProfiling duration for this line in picoseconds.getEvents(int index) XEvents within the same XLine should not overlap in time, but they can be nested.getEventsBuilder(int index) XEvents within the same XLine should not overlap in time, but they can be nested.XEvents within the same XLine should not overlap in time, but they can be nested.intXEvents within the same XLine should not overlap in time, but they can be nested.XEvents within the same XLine should not overlap in time, but they can be nested.getEventsOrBuilder(int index) XEvents within the same XLine should not overlap in time, but they can be nested.List<? extends Xplane.XEventOrBuilder> XEvents within the same XLine should not overlap in time, but they can be nested.longgetId()Id of this line, can be repeated within an XPlane.getName()Name of this XLine.Name of this XLine.longStart time of this line in nanoseconds since the UNIX epoch.protected GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) mergeFrom(Xplane.XLine other) final Xplane.XLine.BuildermergeUnknownFields(UnknownFieldSet unknownFields) removeEvents(int index) XEvents within the same XLine should not overlap in time, but they can be nested.setDisplayId(long value) Display id of this line.setDisplayName(String value) Name of this XLine to display in trace viewer.setDisplayNameBytes(ByteString value) Name of this XLine to display in trace viewer.setDurationPs(long value) Profiling duration for this line in picoseconds.setEvents(int index, Xplane.XEvent value) XEvents within the same XLine should not overlap in time, but they can be nested.setEvents(int index, Xplane.XEvent.Builder builderForValue) XEvents within the same XLine should not overlap in time, but they can be nested.setField(Descriptors.FieldDescriptor field, Object value) setId(long value) Id of this line, can be repeated within an XPlane.Name of this XLine.setNameBytes(ByteString value) Name of this XLine.setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) setTimestampNs(long value) Start time of this line in nanoseconds since the UNIX epoch.final Xplane.XLine.BuildersetUnknownFields(UnknownFieldSet unknownFields) Methods inherited from class GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface MessageLite.Builder
mergeFromMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<Xplane.XLine.Builder>
-
clear
- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<Xplane.XLine.Builder>
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<Xplane.XLine.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<Xplane.XLine.Builder>
-
setField
- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<Xplane.XLine.Builder>
-
clearField
- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<Xplane.XLine.Builder>
-
clearOneof
- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<Xplane.XLine.Builder>
-
setRepeatedField
public Xplane.XLine.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<Xplane.XLine.Builder>
-
addRepeatedField
- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<Xplane.XLine.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<Xplane.XLine.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<Xplane.XLine.Builder>
-
mergeFrom
public Xplane.XLine.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<Xplane.XLine.Builder>- Throws:
IOException
-
getId
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;- Specified by:
getIdin interfaceXplane.XLineOrBuilder- Returns:
- The id.
-
setId
Id of this line, can be repeated within an XPlane. All XLines with the same id are effectively the same timeline.
int64 id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getDisplayId
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;- Specified by:
getDisplayIdin interfaceXplane.XLineOrBuilder- Returns:
- The displayId.
-
setDisplayId
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;- Parameters:
value- The displayId to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getName
Name of this XLine.
string name = 2;- Specified by:
getNamein interfaceXplane.XLineOrBuilder- Returns:
- The name.
-
getNameBytes
Name of this XLine.
string name = 2;- Specified by:
getNameBytesin interfaceXplane.XLineOrBuilder- Returns:
- The bytes for name.
-
setName
Name of this XLine.
string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of this XLine.
string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
Name of this XLine.
string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Name of this XLine to display in trace viewer.
string display_name = 11;- Specified by:
getDisplayNamein interfaceXplane.XLineOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
Name of this XLine to display in trace viewer.
string display_name = 11;- Specified by:
getDisplayNameBytesin interfaceXplane.XLineOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Name of this XLine to display in trace viewer.
string display_name = 11;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Name of this XLine to display in trace viewer.
string display_name = 11;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Name of this XLine to display in trace viewer.
string display_name = 11;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getTimestampNs
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;- Specified by:
getTimestampNsin interfaceXplane.XLineOrBuilder- Returns:
- The timestampNs.
-
setTimestampNs
Start time of this line in nanoseconds since the UNIX epoch. XEvent.offset_ps is relative to this timestamp.
int64 timestamp_ns = 3;- Parameters:
value- The timestampNs to set.- Returns:
- This builder for chaining.
-
clearTimestampNs
Start time of this line in nanoseconds since the UNIX epoch. XEvent.offset_ps is relative to this timestamp.
int64 timestamp_ns = 3;- Returns:
- This builder for chaining.
-
getDurationPs
public long getDurationPs()Profiling duration for this line in picoseconds.
int64 duration_ps = 9;- Specified by:
getDurationPsin interfaceXplane.XLineOrBuilder- Returns:
- The durationPs.
-
setDurationPs
Profiling duration for this line in picoseconds.
int64 duration_ps = 9;- Parameters:
value- The durationPs to set.- Returns:
- This builder for chaining.
-
clearDurationPs
Profiling duration for this line in picoseconds.
int64 duration_ps = 9;- Returns:
- This builder for chaining.
-
getEventsList
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4;- Specified by:
getEventsListin interfaceXplane.XLineOrBuilder
-
getEventsCount
public int getEventsCount()XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4;- Specified by:
getEventsCountin interfaceXplane.XLineOrBuilder
-
getEvents
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4;- Specified by:
getEventsin interfaceXplane.XLineOrBuilder
-
setEvents
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4; -
setEvents
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4; -
addEvents
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4; -
addEvents
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4; -
addEvents
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4; -
addEvents
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4; -
addAllEvents
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4; -
clearEvents
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4; -
removeEvents
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4; -
getEventsBuilder
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4; -
getEventsOrBuilder
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4;- Specified by:
getEventsOrBuilderin interfaceXplane.XLineOrBuilder
-
getEventsOrBuilderList
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4;- Specified by:
getEventsOrBuilderListin interfaceXplane.XLineOrBuilder
-
addEventsBuilder
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4; -
addEventsBuilder
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4; -
getEventsBuilderList
XEvents within the same XLine should not overlap in time, but they can be nested.
repeated .tensorflow.profiler.XEvent events = 4; -
setUnknownFields
- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<Xplane.XLine.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<Xplane.XLine.Builder>
-