public static final 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. Next ID: 8
tensorflow.profiler.XStat
Public Methods
XStat.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
XStat |
build()
|
XStat | |
XStat.Builder |
clear()
|
XStat.Builder |
clearBytesValue()
bytes bytes_value = 6;
|
XStat.Builder |
clearDoubleValue()
double double_value = 2;
|
XStat.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
|
XStat.Builder |
clearInt64Value()
int64 int64_value = 4;
|
XStat.Builder |
clearMetadataId()
XStatMetadata.id of corresponding metadata. |
XStat.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
XStat.Builder |
clearRefValue()
A string value that stored in XStatMetadata::name. |
XStat.Builder |
clearStrValue()
string str_value = 5;
|
XStat.Builder |
clearUint64Value()
uint64 uint64_value = 3;
|
XStat.Builder | |
XStat.Builder |
clone()
|
com.google.protobuf.ByteString |
getBytesValue()
bytes bytes_value = 6;
|
XStat | |
final static com.google.protobuf.Descriptors.Descriptor | |
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. |
String |
getStrValue()
string str_value = 5;
|
com.google.protobuf.ByteString |
getStrValueBytes()
string str_value = 5;
|
long |
getUint64Value()
uint64 uint64_value = 3;
|
XStat.ValueCase | |
final boolean | |
XStat.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
XStat.Builder |
mergeFrom(com.google.protobuf.Message other)
|
final XStat.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
XStat.Builder |
setBytesValue(com.google.protobuf.ByteString value)
bytes bytes_value = 6;
|
XStat.Builder |
setDoubleValue(double value)
double double_value = 2;
|
XStat.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
XStat.Builder |
setInt64Value(long value)
int64 int64_value = 4;
|
XStat.Builder |
setMetadataId(long value)
XStatMetadata.id of corresponding metadata. |
XStat.Builder |
setRefValue(long value)
A string value that stored in XStatMetadata::name. |
XStat.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
XStat.Builder |
setStrValue(String value)
string str_value = 5;
|
XStat.Builder |
setStrValueBytes(com.google.protobuf.ByteString value)
string str_value = 5;
|
XStat.Builder |
setUint64Value(long value)
uint64 uint64_value = 3;
|
final XStat.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public XStat.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public XStat.Builder clearMetadataId ()
XStatMetadata.id of corresponding metadata.
int64 metadata_id = 1;
public XStat.Builder clearRefValue ()
A string value that stored in XStatMetadata::name.
uint64 ref_value = 7;
public com.google.protobuf.ByteString getBytesValue ()
bytes bytes_value = 6;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
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 long getRefValue ()
A string value that stored in XStatMetadata::name.
uint64 ref_value = 7;
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 boolean isInitialized ()
public XStat.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public XStat.Builder setMetadataId (long value)
XStatMetadata.id of corresponding metadata.
int64 metadata_id = 1;
public XStat.Builder setRefValue (long value)
A string value that stored in XStatMetadata::name.
uint64 ref_value = 7;