XStatMetadata

public final class XStatMetadata

 Metadata for an XStat, corresponds to a stat type and is shared by all
 XStats with the same metadata_id.
 Next ID: 4
 
Protobuf type tensorflow.profiler.XStatMetadata

Nested Classes

class XStatMetadata.Builder
 Metadata for an XStat, corresponds to a stat type and is shared by all
 XStats with the same metadata_id. 

Constants

int DESCRIPTION_FIELD_NUMBER
int ID_FIELD_NUMBER
int NAME_FIELD_NUMBER

Public Methods

boolean
equals (Object obj)
static XStatMetadata
XStatMetadata
String
getDescription ()
 Description of the stat (might be long).
com.google.protobuf.ByteString
getDescriptionBytes ()
 Description of the stat (might be long).
final static com.google.protobuf.Descriptors.Descriptor
long
getId ()
 XPlane.stat_metadata map key.
String
getName ()
 Name of the stat (should be short).
com.google.protobuf.ByteString
getNameBytes ()
 Name of the stat (should be short).
int
final com.google.protobuf.UnknownFieldSet
int
final boolean
static XStatMetadata.Builder
static XStatMetadata.Builder
XStatMetadata.Builder
static XStatMetadata
parseDelimitedFrom (InputStream input)
static XStatMetadata
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static XStatMetadata
parseFrom (ByteBuffer data)
static XStatMetadata
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static XStatMetadata
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static XStatMetadata
parseFrom (com.google.protobuf.CodedInputStream input)
static XStatMetadata
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static XStatMetadata
parseFrom (com.google.protobuf.ByteString data)
static XStatMetadata
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static XStatMetadata
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
XStatMetadata.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int DESCRIPTION_FIELD_NUMBER

Constant Value: 3

public static final int ID_FIELD_NUMBER

Constant Value: 1

public static final int NAME_FIELD_NUMBER

Constant Value: 2

Public Methods

public boolean equals (Object obj)

public static XStatMetadata getDefaultInstance ()

public XStatMetadata getDefaultInstanceForType ()

public String getDescription ()

 Description of the stat (might be long).
 
string description = 3;

public com.google.protobuf.ByteString getDescriptionBytes ()

 Description of the stat (might be long).
 
string description = 3;

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

public long getId ()

 XPlane.stat_metadata map key.
 
int64 id = 1;

public String getName ()

 Name of the stat (should be short).
 Two XStatMetadata with different id should have different names.
 
string name = 2;

public com.google.protobuf.ByteString getNameBytes ()

 Name of the stat (should be short).
 Two XStatMetadata with different id should have different names.
 
string name = 2;

public getParserForType ()

public int getSerializedSize ()

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

public final boolean isInitialized ()

public static XStatMetadata.Builder newBuilder ( XStatMetadata prototype)

public static XStatMetadata.Builder newBuilder ()

public XStatMetadata.Builder newBuilderForType ()

public static XStatMetadata parseDelimitedFrom (InputStream input)

Throws
IOException

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

Throws
IOException

public static XStatMetadata parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

public static parser ()

public XStatMetadata.Builder toBuilder