Class AnalyticsStat
public sealed class AnalyticsStat : IMessage<AnalyticsStat>, IEquatable<AnalyticsStat>, IDeepCloneable<AnalyticsStat>, IBufferMessage, IMessage
- Inheritance
-
AnalyticsStat
- Implements
-
IMessage<AnalyticsStat>IDeepCloneable<AnalyticsStat>IBufferMessageIMessage
- Inherited Members
Constructors
AnalyticsStat()
public AnalyticsStat()
AnalyticsStat(AnalyticsStat)
public AnalyticsStat(AnalyticsStat other)
Parameters
otherAnalyticsStat
Fields
AnalyticsKeyFieldNumber
Field number for the "analytics_key" field.
public const int AnalyticsKeyFieldNumber = 1
Field Value
IdFieldNumber
Field number for the "id" field.
public const int IdFieldNumber = 14
Field Value
KindFieldNumber
Field number for the "kind" field.
public const int KindFieldNumber = 2
Field Value
MedianScoreFieldNumber
Field number for the "median_score" field.
public const int MedianScoreFieldNumber = 13
Field Value
MimeFieldNumber
Field number for the "mime" field.
public const int MimeFieldNumber = 11
Field Value
MinScoreFieldNumber
Field number for the "min_score" field.
public const int MinScoreFieldNumber = 12
Field Value
NodeFieldNumber
Field number for the "node" field.
public const int NodeFieldNumber = 4
Field Value
ParticipantIdFieldNumber
Field number for the "participant_id" field.
public const int ParticipantIdFieldNumber = 7
Field Value
RoomIdFieldNumber
Field number for the "room_id" field.
public const int RoomIdFieldNumber = 5
Field Value
RoomNameFieldNumber
Field number for the "room_name" field.
public const int RoomNameFieldNumber = 6
Field Value
ScoreFieldNumber
Field number for the "score" field.
public const int ScoreFieldNumber = 9
Field Value
StreamsFieldNumber
Field number for the "streams" field.
public const int StreamsFieldNumber = 10
Field Value
TimeStampFieldNumber
Field number for the "time_stamp" field.
public const int TimeStampFieldNumber = 3
Field Value
TrackIdFieldNumber
Field number for the "track_id" field.
public const int TrackIdFieldNumber = 8
Field Value
Properties
AnalyticsKey
public string AnalyticsKey { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Id
unique id for this stat
public string Id { get; set; }
Property Value
Kind
public StreamType Kind { get; set; }
Property Value
MedianScore
public float MedianScore { get; set; }
Property Value
Mime
public string Mime { get; set; }
Property Value
MinScore
public float MinScore { get; set; }
Property Value
Node
public string Node { get; set; }
Property Value
Parser
public static MessageParser<AnalyticsStat> Parser { get; }
Property Value
- MessageParser<AnalyticsStat>
ParticipantId
public string ParticipantId { get; set; }
Property Value
RoomId
public string RoomId { get; set; }
Property Value
RoomName
public string RoomName { get; set; }
Property Value
Score
average score
public float Score { get; set; }
Property Value
Streams
public RepeatedField<AnalyticsStream> Streams { get; }
Property Value
- RepeatedField<AnalyticsStream>
TimeStamp
public Timestamp TimeStamp { get; set; }
Property Value
- Timestamp
TrackId
public string TrackId { 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 AnalyticsStat Clone()
Returns
- AnalyticsStat
A deep clone of this object.
Equals(AnalyticsStat)
public bool Equals(AnalyticsStat other)
Parameters
otherAnalyticsStat
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(AnalyticsStat)
Merges the given message into this one.
public void MergeFrom(AnalyticsStat other)
Parameters
otherAnalyticsStat
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.