XEventMetadataOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
XEventMetadata |
Metadata for an XEvent, corresponds to an event type and is shared by
all XEvents with the same metadata_id. |
XEventMetadata.Builder |
Metadata for an XEvent, corresponds to an event type and is shared by
all XEvents with the same metadata_id. |
|
Public Methods
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
abstract
long
|
getId()
XPlane.event_metadata map key.
|
abstract
com.google.protobuf.ByteString
|
getMetadata()
Additional metadata in serialized format.
|
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
abstract
XStat
|
getStats(int index)
XStats that are constant for all XEvents with the same metadata_id.
|
abstract
int
|
getStatsCount()
XStats that are constant for all XEvents with the same metadata_id.
|
abstract
List<XStat>
|
getStatsList()
XStats that are constant for all XEvents with the same metadata_id.
|
abstract
XStatOrBuilder
|
getStatsOrBuilder(int index)
XStats that are constant for all XEvents with the same metadata_id.
|
abstract
List<? extends XStatOrBuilder>
|
|
Public Methods
public
abstract
String
getDisplayName
()
Name of the event shown in trace viewer.
string display_name = 4;
public
abstract
com.google.protobuf.ByteString
getDisplayNameBytes
()
Name of the event shown in trace viewer.
string display_name = 4;
public
abstract
long
getId
()
XPlane.event_metadata map key.
int64 id = 1;
Additional metadata in serialized format.
bytes metadata = 3;
public
abstract
String
getName
()
Name of the event.
string name = 2;
public
abstract
com.google.protobuf.ByteString
getNameBytes
()
Name of the event.
string name = 2;
public
abstract
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
abstract
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
abstract
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
abstract
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
abstract
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;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# XEventMetadataOrBuilder\n\npublic interface **XEventMetadataOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [XEventMetadata](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventMetadata), [XEventMetadata.Builder](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventMetadata.Builder) |---------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------| | [XEventMetadata](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventMetadata) | ``` Metadata for an XEvent, corresponds to an event type and is shared by all XEvents with the same metadata_id. ``` | | [XEventMetadata.Builder](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventMetadata.Builder) | ``` Metadata for an XEvent, corresponds to an event type and is shared by all XEvents with the same metadata_id. ``` | |||\n\n### Public Methods\n\n|--------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract String | [getDisplayName](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventMetadataOrBuilder#getDisplayName())() ``` Name of the event shown in trace viewer. ``` |\n| abstract com.google.protobuf.ByteString | [getDisplayNameBytes](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventMetadataOrBuilder#getDisplayNameBytes())() ``` Name of the event shown in trace viewer. ``` |\n| abstract long | [getId](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventMetadataOrBuilder#getId())() ``` XPlane.event_metadata map key. ``` |\n| abstract com.google.protobuf.ByteString | [getMetadata](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventMetadataOrBuilder#getMetadata())() ``` Additional metadata in serialized format. ``` |\n| abstract String | [getName](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventMetadataOrBuilder#getName())() ``` Name of the event. ``` |\n| abstract com.google.protobuf.ByteString | [getNameBytes](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventMetadataOrBuilder#getNameBytes())() ``` Name of the event. ``` |\n| abstract [XStat](/jvm/api_docs/java/org/tensorflow/proto/profiler/XStat) | [getStats](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventMetadataOrBuilder#getStats(int))(int index) ``` XStats that are constant for all XEvents with the same metadata_id. ``` |\n| abstract int | [getStatsCount](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventMetadataOrBuilder#getStatsCount())() ``` XStats that are constant for all XEvents with the same metadata_id. ``` |\n| abstract List\\\u003c[XStat](/jvm/api_docs/java/org/tensorflow/proto/profiler/XStat)\\\u003e | [getStatsList](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventMetadataOrBuilder#getStatsList())() ``` XStats that are constant for all XEvents with the same metadata_id. ``` |\n| abstract [XStatOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/profiler/XStatOrBuilder) | [getStatsOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventMetadataOrBuilder#getStatsOrBuilder(int))(int index) ``` XStats that are constant for all XEvents with the same metadata_id. ``` |\n| abstract List\\\u003c? extends [XStatOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/profiler/XStatOrBuilder)\\\u003e | [getStatsOrBuilderList](/jvm/api_docs/java/org/tensorflow/proto/profiler/XEventMetadataOrBuilder#getStatsOrBuilderList())() ``` XStats that are constant for all XEvents with the same metadata_id. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract String\n**getDisplayName**\n()\n\n\u003cbr /\u003e\n\n```\n Name of the event shown in trace viewer.\n \n```\n`string display_name = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getDisplayNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Name of the event shown in trace viewer.\n \n```\n`string display_name = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract long\n**getId**\n()\n\n\u003cbr /\u003e\n\n```\n XPlane.event_metadata map key.\n \n```\n`int64 id = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getMetadata**\n()\n\n\u003cbr /\u003e\n\n```\n Additional metadata in serialized format.\n \n```\n`bytes metadata = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getName**\n()\n\n\u003cbr /\u003e\n\n```\n Name of the event.\n \n```\n`string name = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Name of the event.\n \n```\n`string name = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract [XStat](/jvm/api_docs/java/org/tensorflow/proto/profiler/XStat)\n**getStats**\n(int index)\n\n\u003cbr /\u003e\n\n```\n XStats that are constant for all XEvents with the same metadata_id.\n Each of these XStats should have a different metadata_id.\n \n```\n`repeated .tensorflow.profiler.XStat stats = 5;`\n\n\u003cbr /\u003e\n\n#### public abstract int\n**getStatsCount**\n()\n\n\u003cbr /\u003e\n\n```\n XStats that are constant for all XEvents with the same metadata_id.\n Each of these XStats should have a different metadata_id.\n \n```\n`repeated .tensorflow.profiler.XStat stats = 5;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003c[XStat](/jvm/api_docs/java/org/tensorflow/proto/profiler/XStat)\\\u003e\n**getStatsList**\n()\n\n\u003cbr /\u003e\n\n```\n XStats that are constant for all XEvents with the same metadata_id.\n Each of these XStats should have a different metadata_id.\n \n```\n`repeated .tensorflow.profiler.XStat stats = 5;`\n\n\u003cbr /\u003e\n\n#### public abstract [XStatOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/profiler/XStatOrBuilder)\n**getStatsOrBuilder**\n(int index)\n\n\u003cbr /\u003e\n\n```\n XStats that are constant for all XEvents with the same metadata_id.\n Each of these XStats should have a different metadata_id.\n \n```\n`repeated .tensorflow.profiler.XStat stats = 5;`\n\n\u003cbr /\u003e\n\n#### public abstract List\\\u003c? extends [XStatOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/profiler/XStatOrBuilder)\\\u003e\n**getStatsOrBuilderList**\n()\n\n\u003cbr /\u003e\n\n```\n XStats that are constant for all XEvents with the same metadata_id.\n Each of these XStats should have a different metadata_id.\n \n```\n`repeated .tensorflow.profiler.XStat stats = 5;`\n\n\u003cbr /\u003e"]]