XStatMetadata.Builder

public static final class XStatMetadata.Builder

 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

Public Methods

XStatMetadata.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
XStatMetadata
build()
XStatMetadata
XStatMetadata.Builder
clear()
XStatMetadata.Builder
clearDescription()
 Description of the stat (might be long).
XStatMetadata.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
XStatMetadata.Builder
clearId()
 XPlane.stat_metadata map key.
XStatMetadata.Builder
clearName()
 Name of the stat (should be short).
XStatMetadata.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
XStatMetadata.Builder
clone()
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
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).
final boolean
XStatMetadata.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
XStatMetadata.Builder
mergeFrom(com.google.protobuf.Message other)
final XStatMetadata.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
XStatMetadata.Builder
setDescription(String value)
 Description of the stat (might be long).
XStatMetadata.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
 Description of the stat (might be long).
XStatMetadata.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
XStatMetadata.Builder
setId(long value)
 XPlane.stat_metadata map key.
XStatMetadata.Builder
setName(String value)
 Name of the stat (should be short).
XStatMetadata.Builder
setNameBytes(com.google.protobuf.ByteString value)
 Name of the stat (should be short).
XStatMetadata.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
final XStatMetadata.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods

Public Methods

public XStatMetadata.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public XStatMetadata build ()

public XStatMetadata buildPartial ()

public XStatMetadata.Builder clear ()

public XStatMetadata.Builder clearDescription ()

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

public XStatMetadata.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public XStatMetadata.Builder clearId ()

 XPlane.stat_metadata map key.
 
int64 id = 1;

public XStatMetadata.Builder clearName ()

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

public XStatMetadata.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public XStatMetadata.Builder clone ()

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 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

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 final boolean isInitialized ()

public XStatMetadata.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public XStatMetadata.Builder mergeFrom (com.google.protobuf.Message other)

public final XStatMetadata.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public XStatMetadata.Builder setDescription (String value)

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

public XStatMetadata.Builder setDescriptionBytes (com.google.protobuf.ByteString value)

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

public XStatMetadata.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public XStatMetadata.Builder setId (long value)

 XPlane.stat_metadata map key.
 
int64 id = 1;

public XStatMetadata.Builder setName (String value)

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

public XStatMetadata.Builder setNameBytes (com.google.protobuf.ByteString value)

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

public XStatMetadata.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public final XStatMetadata.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)