XEventMetadata

public final class XEventMetadata

 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

Nested Classes

class XEventMetadata.Builder
 Metadata for an XEvent, corresponds to an event type and is shared by
 all XEvents with the same metadata_id. 

Constants

int DISPLAY_NAME_FIELD_NUMBER
int ID_FIELD_NUMBER
int METADATA_FIELD_NUMBER
int NAME_FIELD_NUMBER
int STATS_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
static XEventMetadata
XEventMetadata
final static 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.
int
XStat
getStats(int index)
 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 com.google.protobuf.UnknownFieldSet
int
final boolean
static XEventMetadata.Builder
static XEventMetadata.Builder
XEventMetadata.Builder
static XEventMetadata
parseDelimitedFrom(InputStream input)
static XEventMetadata
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static XEventMetadata
parseFrom(ByteBuffer data)
static XEventMetadata
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static XEventMetadata
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static XEventMetadata
parseFrom(com.google.protobuf.CodedInputStream input)
static XEventMetadata
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static XEventMetadata
parseFrom(com.google.protobuf.ByteString data)
static XEventMetadata
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static XEventMetadata
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
XEventMetadata.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int DISPLAY_NAME_FIELD_NUMBER

Constant Value: 4

public static final int ID_FIELD_NUMBER

Constant Value: 1

public static final int METADATA_FIELD_NUMBER

Constant Value: 3

public static final int NAME_FIELD_NUMBER

Constant Value: 2

public static final int STATS_FIELD_NUMBER

Constant Value: 5

Public Methods

public boolean equals (Object obj)

public static XEventMetadata getDefaultInstance ()

public XEventMetadata getDefaultInstanceForType ()

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

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 getParserForType ()

public int getSerializedSize ()

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 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 com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static XEventMetadata.Builder newBuilder (XEventMetadata prototype)

public static XEventMetadata.Builder newBuilder ()

public XEventMetadata.Builder newBuilderForType ()

public static XEventMetadata parseDelimitedFrom (InputStream input)

Throws
IOException

public static XEventMetadata parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static XEventMetadata parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static XEventMetadata parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static XEventMetadata parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static XEventMetadata parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static XEventMetadata parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static XEventMetadata parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static XEventMetadata parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static XEventMetadata parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public XEventMetadata.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException