XEvent.Builder

public static final class XEvent.Builder

 An XEvent is a trace event, optionally annotated with XStats.
 Next ID: 6
 
tensorflow.profiler.XEvent tipo tensorflow.profiler.XEvent

Métodos Públicos

XEvent.Builder
addAllStats (Iterable <? extends XStat > valores)
 XStats associated with the event.
XEvent.Builder
addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
XEvent.Builder
addStats (valor XStat )
 XStats associated with the event.
XEvent.Builder
addStats ( XStat.Builder builderForValue)
 XStats associated with the event.
XEvent.Builder
addStats (índice int, valor XStat )
 XStats associated with the event.
XEvent.Builder
addStats (int index, XStat.Builder builderForValue)
 XStats associated with the event.
XStat.Builder
addStatsBuilder (índice interno )
 XStats associated with the event.
XStat.Builder
addStatsBuilder ()
 XStats associated with the event.
XEvent
build ()
XEvent
XEvent.Builder
limpar ()
XEvent.Builder
XEvent.Builder
clearDurationPs ()
 Duration of the event in picoseconds.
XEvent.Builder
clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)
XEvent.Builder
clearMetadataId ()
 XEventMetadata.id of corresponding metadata.
XEvent.Builder
clearNumOccurrences ()
 Number of occurrences of the event, if aggregated.
XEvent.Builder
clearOffsetPs ()
 Start time of the event in picoseconds, as offset from
 XLine.timestamp_ns().
XEvent.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
XEvent.Builder
clearStats ()
 XStats associated with the event.
XEvent.Builder
clone ()
XEvent.DataCase
XEvent
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
longo
getDurationPs ()
 Duration of the event in picoseconds.
longo
getMetadataId ()
 XEventMetadata.id of corresponding metadata.
longo
getNumOccurrences ()
 Number of occurrences of the event, if aggregated.
longo
getOffsetPs ()
 Start time of the event in picoseconds, as offset from
 XLine.timestamp_ns().
XStat
getStats (índice int)
 XStats associated with the event.
XStat.Builder
getStatsBuilder (índice interno )
 XStats associated with the event.
List < XStat.Builder >
getStatsBuilderList ()
 XStats associated with the event.
int
getStatsCount ()
 XStats associated with the event.
Lista < XStat >
getStatsList ()
 XStats associated with the event.
XStatOrBuilder
getStatsOrBuilder (índice interno )
 XStats associated with the event.
Lista <? estende XStatOrBuilder >
getStatsOrBuilderList ()
 XStats associated with the event.
final booleano
XEvent.Builder
mergeFrom (com.google.protobuf.Message other)
XEvent.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
XEvent.Builder final
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
XEvent.Builder
removeStats (índice interno )
 XStats associated with the event.
XEvent.Builder
setDurationPs (valor longo)
 Duration of the event in picoseconds.
XEvent.Builder
setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
XEvent.Builder
setMetadataId (valor longo)
 XEventMetadata.id of corresponding metadata.
XEvent.Builder
setNumOccurrences (valor longo)
 Number of occurrences of the event, if aggregated.
XEvent.Builder
setOffsetPs (valor longo)
 Start time of the event in picoseconds, as offset from
 XLine.timestamp_ns().
XEvent.Builder
setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
XEvent.Builder
setStats (int index, XStat.Builder builderForValue)
 XStats associated with the event.
XEvent.Builder
setStats (índice int, valor XStat )
 XStats associated with the event.
XEvent.Builder final
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Métodos herdados

Métodos Públicos

public XEvent.Builder addAllStats (Iterable <? extends XStat > values)

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

public XEvent.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

public XEvent.Builder addStats (valor XStat )

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

public XEvent.Builder addStats ( XStat.Builder builderForValue)

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

public XEvent.Builder addStats (índice int, valor XStat )

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

public XEvent.Builder addStats (int index, XStat.Builder builderForValue)

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

public XStat.Builder addStatsBuilder (índice interno )

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

public XStat.Builder addStatsBuilder ()

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

construção XEvent pública ()

public XEvent buildPartial ()

public XEvent.Builder clear ()

public XEvent.Builder clearData ()

public XEvent.Builder clearDurationPs ()

 Duration of the event in picoseconds. Can be zero for an instant event.
 
int64 duration_ps = 3;

public XEvent.Builder clearField (campo com.google.protobuf.Descriptors.FieldDescriptor)

public XEvent.Builder clearMetadataId ()

 XEventMetadata.id of corresponding metadata.
 
int64 metadata_id = 1;

public XEvent.Builder clearNumOccurrences ()

 Number of occurrences of the event, if aggregated.
 
int64 num_occurrences = 5;

public XEvent.Builder clearOffsetPs ()

 Start time of the event in picoseconds, as offset from
 XLine.timestamp_ns().
 
int64 offset_ps = 2;

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

public XEvent.Builder clearStats ()

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

clone public XEvent.Builder ()

public XEvent.DataCase getDataCase ()

public XEvent getDefaultInstanceForType ()

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

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

public long getDurationPs ()

 Duration of the event in picoseconds. Can be zero for an instant event.
 
int64 duration_ps = 3;

public long getMetadataId ()

 XEventMetadata.id of corresponding metadata.
 
int64 metadata_id = 1;

public long getNumOccurrences ()

 Number of occurrences of the event, if aggregated.
 
int64 num_occurrences = 5;

public long getOffsetPs ()

 Start time of the event in picoseconds, as offset from
 XLine.timestamp_ns().
 
int64 offset_ps = 2;

public XStat getStats (índice int)

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

public XStat.Builder getStatsBuilder (índice interno )

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

public List < XStat.Builder > getStatsBuilderList ()

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

public int getStatsCount ()

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

public List < XStat > getStatsList ()

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

public XStatOrBuilder getStatsOrBuilder (índice interno )

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

Lista pública <? estende XStatOrBuilder > getStatsOrBuilderList ()

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

public final boolean isInitialized ()

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

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

Lança
IOException

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

public XEvent.Builder removeStats (índice int)

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

public XEvent.Builder setDurationPs (valor longo)

 Duration of the event in picoseconds. Can be zero for an instant event.
 
int64 duration_ps = 3;

public XEvent.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)

public XEvent.Builder setMetadataId (valor longo)

 XEventMetadata.id of corresponding metadata.
 
int64 metadata_id = 1;

public XEvent.Builder setNumOccurrences (valor longo)

 Number of occurrences of the event, if aggregated.
 
int64 num_occurrences = 5;

public XEvent.Builder setOffsetPs (valor longo)

 Start time of the event in picoseconds, as offset from
 XLine.timestamp_ns().
 
int64 offset_ps = 2;

public XEvent.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)

public XEvent.Builder setStats (int index, XStat.Builder builderForValue)

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

public XEvent.Builder setStats (índice int, valor XStat )

 XStats associated with the event.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 4;

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