Class TimeSeriesMetric
public sealed class TimeSeriesMetric : IMessage<TimeSeriesMetric>, IEquatable<TimeSeriesMetric>, IDeepCloneable<TimeSeriesMetric>, IBufferMessage, IMessage
- Inheritance
-
TimeSeriesMetric
- Implements
-
IMessage<TimeSeriesMetric>IDeepCloneable<TimeSeriesMetric>IBufferMessageIMessage
- Inherited Members
Constructors
TimeSeriesMetric()
public TimeSeriesMetric()
TimeSeriesMetric(TimeSeriesMetric)
public TimeSeriesMetric(TimeSeriesMetric other)
Parameters
otherTimeSeriesMetric
Fields
LabelFieldNumber
Field number for the "label" field.
public const int LabelFieldNumber = 1
Field Value
ParticipantIdentityFieldNumber
Field number for the "participant_identity" field.
public const int ParticipantIdentityFieldNumber = 2
Field Value
RidFieldNumber
Field number for the "rid" field.
public const int RidFieldNumber = 5
Field Value
SamplesFieldNumber
Field number for the "samples" field.
public const int SamplesFieldNumber = 4
Field Value
TrackSidFieldNumber
Field number for the "track_sid" field.
public const int TrackSidFieldNumber = 3
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Label
Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index
in the str_data field of MetricsBatch
public uint Label { get; set; }
Property Value
Parser
public static MessageParser<TimeSeriesMetric> Parser { get; }
Property Value
- MessageParser<TimeSeriesMetric>
ParticipantIdentity
index into str_data
public uint ParticipantIdentity { get; set; }
Property Value
Rid
index into 'str_data'
public uint Rid { get; set; }
Property Value
Samples
public RepeatedField<MetricSample> Samples { get; }
Property Value
- RepeatedField<MetricSample>
TrackSid
index into str_data
public uint TrackSid { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
Clone()
Creates a deep clone of this object.
public TimeSeriesMetric Clone()
Returns
- TimeSeriesMetric
A deep clone of this object.
Equals(TimeSeriesMetric)
public bool Equals(TimeSeriesMetric other)
Parameters
otherTimeSeriesMetric
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(TimeSeriesMetric)
Merges the given message into this one.
public void MergeFrom(TimeSeriesMetric other)
Parameters
otherTimeSeriesMetric
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.