XStat

public final class XStat

 An XStat is a named value associated with an XEvent, e.g., a performance
 counter value, a metric computed by a formula applied over nested XEvents
 and XStats.
 Next ID: 8
 
Protobuf type tensorflow.profiler.XStat

Nested Classes

class XStat.Builder
 An XStat is a named value associated with an XEvent, e.g., a performance
 counter value, a metric computed by a formula applied over nested XEvents
 and XStats. 
enum XStat.ValueCase  

Constants

int BYTES_VALUE_FIELD_NUMBER
int DOUBLE_VALUE_FIELD_NUMBER
int INT64_VALUE_FIELD_NUMBER
int METADATA_ID_FIELD_NUMBER
int REF_VALUE_FIELD_NUMBER
int STR_VALUE_FIELD_NUMBER
int UINT64_VALUE_FIELD_NUMBER

Public Methods

boolean
equals(Object obj)
com.google.protobuf.ByteString
getBytesValue()
bytes bytes_value = 6;
static XStat
XStat
final static com.google.protobuf.Descriptors.Descriptor
double
getDoubleValue()
double double_value = 2;
long
getInt64Value()
int64 int64_value = 4;
long
getMetadataId()
 XStatMetadata.id of corresponding metadata.
long
getRefValue()
 A string value that stored in XStatMetadata::name.
int
String
getStrValue()
string str_value = 5;
com.google.protobuf.ByteString
getStrValueBytes()
string str_value = 5;
long
getUint64Value()
uint64 uint64_value = 3;
final com.google.protobuf.UnknownFieldSet
XStat.ValueCase
int
final boolean
static XStat.Builder
static XStat.Builder
newBuilder(XStat prototype)
XStat.Builder
static XStat
parseDelimitedFrom(InputStream input)
static XStat
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static XStat
parseFrom(ByteBuffer data)
static XStat
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static XStat
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static XStat
parseFrom(com.google.protobuf.CodedInputStream input)
static XStat
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static XStat
parseFrom(com.google.protobuf.ByteString data)
static XStat
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static XStat
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
XStat.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int BYTES_VALUE_FIELD_NUMBER

Constant Value: 6

public static final int DOUBLE_VALUE_FIELD_NUMBER

Constant Value: 2

public static final int INT64_VALUE_FIELD_NUMBER

Constant Value: 4

public static final int METADATA_ID_FIELD_NUMBER

Constant Value: 1

public static final int REF_VALUE_FIELD_NUMBER

Constant Value: 7

public static final int STR_VALUE_FIELD_NUMBER

Constant Value: 5

public static final int UINT64_VALUE_FIELD_NUMBER

Constant Value: 3

Public Methods

public boolean equals (Object obj)

public com.google.protobuf.ByteString getBytesValue ()

bytes bytes_value = 6;

public static XStat getDefaultInstance ()

public XStat getDefaultInstanceForType ()

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

public double getDoubleValue ()

double double_value = 2;

public long getInt64Value ()

int64 int64_value = 4;

public long getMetadataId ()

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

public getParserForType ()

public long getRefValue ()

 A string value that stored in XStatMetadata::name.
 
uint64 ref_value = 7;

public int getSerializedSize ()

public String getStrValue ()

string str_value = 5;

public com.google.protobuf.ByteString getStrValueBytes ()

string str_value = 5;

public long getUint64Value ()

uint64 uint64_value = 3;

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

public XStat.ValueCase getValueCase ()

public int hashCode ()

public final boolean isInitialized ()

public static XStat.Builder newBuilder ()

public static XStat.Builder newBuilder (XStat prototype)

public XStat.Builder newBuilderForType ()

public static XStat parseDelimitedFrom (InputStream input)

Throws
IOException

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

Throws
IOException

public static XStat parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

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

Throws
InvalidProtocolBufferException

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

Throws
IOException

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

Throws
InvalidProtocolBufferException

public static parser ()

public XStat.Builder toBuilder ()

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

Throws
IOException