XEventMetadata.Builder

public static final class XEventMetadata.Builder

 Metadata for an XEvent, corresponds to an event type and is shared by
 all XEvents with the same metadata_id.
 Next ID: 6
 
Protobuf type tensorflow.profiler.XEventMetadata

Public Methods

XEventMetadata.Builder
addAllStats(Iterable<? extends XStat> values)
 XStats that are constant for all XEvents with the same metadata_id.
XEventMetadata.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
XEventMetadata.Builder
addStats(XStat value)
 XStats that are constant for all XEvents with the same metadata_id.
XEventMetadata.Builder
addStats(XStat.Builder builderForValue)
 XStats that are constant for all XEvents with the same metadata_id.
XEventMetadata.Builder
addStats(int index, XStat value)
 XStats that are constant for all XEvents with the same metadata_id.
XEventMetadata.Builder
addStats(int index, XStat.Builder builderForValue)
 XStats that are constant for all XEvents with the same metadata_id.
XStat.Builder
addStatsBuilder(int index)
 XStats that are constant for all XEvents with the same metadata_id.
XStat.Builder
addStatsBuilder()
 XStats that are constant for all XEvents with the same metadata_id.
XEventMetadata
build()
XEventMetadata
XEventMetadata.Builder
clear()
XEventMetadata.Builder
clearDisplayName()
 Name of the event shown in trace viewer.
XEventMetadata.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
XEventMetadata.Builder
clearId()
 XPlane.event_metadata map key.
XEventMetadata.Builder
clearMetadata()
 Additional metadata in serialized format.
XEventMetadata.Builder
clearName()
 Name of the event.
XEventMetadata.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
XEventMetadata.Builder
clearStats()
 XStats that are constant for all XEvents with the same metadata_id.
XEventMetadata.Builder
clone()
XEventMetadata
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
String
getDisplayName()
 Name of the event shown in trace viewer.
com.google.protobuf.ByteString
getDisplayNameBytes()
 Name of the event shown in trace viewer.
long
getId()
 XPlane.event_metadata map key.
com.google.protobuf.ByteString
getMetadata()
 Additional metadata in serialized format.
String
getName()
 Name of the event.
com.google.protobuf.ByteString
getNameBytes()
 Name of the event.
XStat
getStats(int index)
 XStats that are constant for all XEvents with the same metadata_id.
XStat.Builder
getStatsBuilder(int index)
 XStats that are constant for all XEvents with the same metadata_id.
List<XStat.Builder>
getStatsBuilderList()
 XStats that are constant for all XEvents with the same metadata_id.
int
getStatsCount()
 XStats that are constant for all XEvents with the same metadata_id.
List<XStat>
getStatsList()
 XStats that are constant for all XEvents with the same metadata_id.
XStatOrBuilder
getStatsOrBuilder(int index)
 XStats that are constant for all XEvents with the same metadata_id.
List<? extends XStatOrBuilder>
getStatsOrBuilderList()
 XStats that are constant for all XEvents with the same metadata_id.
final boolean
XEventMetadata.Builder
mergeFrom(com.google.protobuf.Message other)
XEventMetadata.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final XEventMetadata.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
XEventMetadata.Builder
removeStats(int index)
 XStats that are constant for all XEvents with the same metadata_id.
XEventMetadata.Builder
setDisplayName(String value)
 Name of the event shown in trace viewer.
XEventMetadata.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
 Name of the event shown in trace viewer.
XEventMetadata.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
XEventMetadata.Builder
setId(long value)
 XPlane.event_metadata map key.
XEventMetadata.Builder
setMetadata(com.google.protobuf.ByteString value)
 Additional metadata in serialized format.
XEventMetadata.Builder
setName(String value)
 Name of the event.
XEventMetadata.Builder
setNameBytes(com.google.protobuf.ByteString value)
 Name of the event.
XEventMetadata.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
XEventMetadata.Builder
setStats(int index, XStat.Builder builderForValue)
 XStats that are constant for all XEvents with the same metadata_id.
XEventMetadata.Builder
setStats(int index, XStat value)
 XStats that are constant for all XEvents with the same metadata_id.
final XEventMetadata.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

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

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

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

public XEventMetadata.Builder addStats (XStat value)

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

public XEventMetadata.Builder addStats (XStat.Builder builderForValue)

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

public XEventMetadata.Builder addStats (int index, XStat value)

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

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

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

public XStat.Builder addStatsBuilder (int index)

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

public XStat.Builder addStatsBuilder ()

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

public XEventMetadata build ()

public XEventMetadata buildPartial ()

public XEventMetadata.Builder clear ()

public XEventMetadata.Builder clearDisplayName ()

 Name of the event shown in trace viewer.
 
string display_name = 4;

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

public XEventMetadata.Builder clearId ()

 XPlane.event_metadata map key.
 
int64 id = 1;

public XEventMetadata.Builder clearMetadata ()

 Additional metadata in serialized format.
 
bytes metadata = 3;

public XEventMetadata.Builder clearName ()

 Name of the event.
 
string name = 2;

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

public XEventMetadata.Builder clearStats ()

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

public XEventMetadata.Builder clone ()

public XEventMetadata getDefaultInstanceForType ()

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

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

public String getDisplayName ()

 Name of the event shown in trace viewer.
 
string display_name = 4;

public com.google.protobuf.ByteString getDisplayNameBytes ()

 Name of the event shown in trace viewer.
 
string display_name = 4;

public long getId ()

 XPlane.event_metadata map key.
 
int64 id = 1;

public com.google.protobuf.ByteString getMetadata ()

 Additional metadata in serialized format.
 
bytes metadata = 3;

public String getName ()

 Name of the event.
 
string name = 2;

public com.google.protobuf.ByteString getNameBytes ()

 Name of the event.
 
string name = 2;

public XStat getStats (int index)

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

public XStat.Builder getStatsBuilder (int index)

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

public List<XStat.Builder> getStatsBuilderList ()

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

public int getStatsCount ()

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

public List<XStat> getStatsList ()

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

public XStatOrBuilder getStatsOrBuilder (int index)

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

public List<? extends XStatOrBuilder> getStatsOrBuilderList ()

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

public final boolean isInitialized ()

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

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

Throws
IOException

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

public XEventMetadata.Builder removeStats (int index)

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

public XEventMetadata.Builder setDisplayName (String value)

 Name of the event shown in trace viewer.
 
string display_name = 4;

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

 Name of the event shown in trace viewer.
 
string display_name = 4;

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

public XEventMetadata.Builder setId (long value)

 XPlane.event_metadata map key.
 
int64 id = 1;

public XEventMetadata.Builder setMetadata (com.google.protobuf.ByteString value)

 Additional metadata in serialized format.
 
bytes metadata = 3;

public XEventMetadata.Builder setName (String value)

 Name of the event.
 
string name = 2;

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

 Name of the event.
 
string name = 2;

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

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

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

public XEventMetadata.Builder setStats (int index, XStat value)

 XStats that are constant for all XEvents with the same metadata_id.
 Each of these XStats should have a different metadata_id.
 
repeated .tensorflow.profiler.XStat stats = 5;

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