Class MetricsReport
public sealed class MetricsReport : IMessage<MetricsReport>, IEquatable<MetricsReport>, IDeepCloneable<MetricsReport>, IBufferMessage, IMessage
- Inheritance
-
MetricsReport
- Implements
-
IMessage<MetricsReport>IDeepCloneable<MetricsReport>IBufferMessageIMessage
- Inherited Members
Constructors
MetricsReport()
public MetricsReport()
MetricsReport(MetricsReport)
public MetricsReport(MetricsReport other)
Parameters
otherMetricsReport
Fields
E2ELatencyFieldNumber
Field number for the "e2e_latency" field.
public const int E2ELatencyFieldNumber = 8
Field Value
EndOfTurnDelayFieldNumber
Field number for the "end_of_turn_delay" field.
public const int EndOfTurnDelayFieldNumber = 4
Field Value
LlmNodeTtftFieldNumber
Field number for the "llm_node_ttft" field.
public const int LlmNodeTtftFieldNumber = 6
Field Value
OnUserTurnCompletedDelayFieldNumber
Field number for the "on_user_turn_completed_delay" field.
public const int OnUserTurnCompletedDelayFieldNumber = 5
Field Value
StartedSpeakingAtFieldNumber
Field number for the "started_speaking_at" field.
public const int StartedSpeakingAtFieldNumber = 1
Field Value
StoppedSpeakingAtFieldNumber
Field number for the "stopped_speaking_at" field.
public const int StoppedSpeakingAtFieldNumber = 2
Field Value
TranscriptionDelayFieldNumber
Field number for the "transcription_delay" field.
public const int TranscriptionDelayFieldNumber = 3
Field Value
TtsNodeTtfbFieldNumber
Field number for the "tts_node_ttfb" field.
public const int TtsNodeTtfbFieldNumber = 7
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
E2ELatency
public double E2ELatency { get; set; }
Property Value
EndOfTurnDelay
public double EndOfTurnDelay { get; set; }
Property Value
HasE2ELatency
Gets whether the "e2e_latency" field is set
public bool HasE2ELatency { get; }
Property Value
HasEndOfTurnDelay
Gets whether the "end_of_turn_delay" field is set
public bool HasEndOfTurnDelay { get; }
Property Value
HasLlmNodeTtft
Gets whether the "llm_node_ttft" field is set
public bool HasLlmNodeTtft { get; }
Property Value
HasOnUserTurnCompletedDelay
Gets whether the "on_user_turn_completed_delay" field is set
public bool HasOnUserTurnCompletedDelay { get; }
Property Value
HasTranscriptionDelay
Gets whether the "transcription_delay" field is set
public bool HasTranscriptionDelay { get; }
Property Value
HasTtsNodeTtfb
Gets whether the "tts_node_ttfb" field is set
public bool HasTtsNodeTtfb { get; }
Property Value
LlmNodeTtft
public double LlmNodeTtft { get; set; }
Property Value
OnUserTurnCompletedDelay
public double OnUserTurnCompletedDelay { get; set; }
Property Value
Parser
public static MessageParser<MetricsReport> Parser { get; }
Property Value
- MessageParser<MetricsReport>
StartedSpeakingAt
public Timestamp StartedSpeakingAt { get; set; }
Property Value
- Timestamp
StoppedSpeakingAt
public Timestamp StoppedSpeakingAt { get; set; }
Property Value
- Timestamp
TranscriptionDelay
public double TranscriptionDelay { get; set; }
Property Value
TtsNodeTtfb
public double TtsNodeTtfb { 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.
ClearE2ELatency()
Clears the value of the "e2e_latency" field
public void ClearE2ELatency()
ClearEndOfTurnDelay()
Clears the value of the "end_of_turn_delay" field
public void ClearEndOfTurnDelay()
ClearLlmNodeTtft()
Clears the value of the "llm_node_ttft" field
public void ClearLlmNodeTtft()
ClearOnUserTurnCompletedDelay()
Clears the value of the "on_user_turn_completed_delay" field
public void ClearOnUserTurnCompletedDelay()
ClearTranscriptionDelay()
Clears the value of the "transcription_delay" field
public void ClearTranscriptionDelay()
ClearTtsNodeTtfb()
Clears the value of the "tts_node_ttfb" field
public void ClearTtsNodeTtfb()
Clone()
Creates a deep clone of this object.
public MetricsReport Clone()
Returns
- MetricsReport
A deep clone of this object.
Equals(MetricsReport)
public bool Equals(MetricsReport other)
Parameters
otherMetricsReport
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(MetricsReport)
Merges the given message into this one.
public void MergeFrom(MetricsReport other)
Parameters
otherMetricsReport
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.