Table of Contents

Class AgentSessionEvent.Types.EotPrediction

Namespace
Livekit.Agent
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll
public sealed class AgentSessionEvent.Types.EotPrediction : IMessage<AgentSessionEvent.Types.EotPrediction>, IEquatable<AgentSessionEvent.Types.EotPrediction>, IDeepCloneable<AgentSessionEvent.Types.EotPrediction>, IBufferMessage, IMessage
Inheritance
AgentSessionEvent.Types.EotPrediction
Implements
IBufferMessage
IMessage
Inherited Members

Constructors

EotPrediction()

public EotPrediction()

EotPrediction(EotPrediction)

public EotPrediction(AgentSessionEvent.Types.EotPrediction other)

Parameters

other AgentSessionEvent.Types.EotPrediction

Fields

DelayFieldNumber

Field number for the "delay" field.

public const int DelayFieldNumber = 4

Field Value

int

InferenceDurationFieldNumber

Field number for the "inference_duration" field.

public const int InferenceDurationFieldNumber = 3

Field Value

int

ProbabilityFieldNumber

Field number for the "probability" field.

public const int ProbabilityFieldNumber = 1

Field Value

int

ThresholdFieldNumber

Field number for the "threshold" field.

public const int ThresholdFieldNumber = 2

Field Value

int

Properties

Delay

public Duration Delay { get; set; }

Property Value

Duration

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

InferenceDuration

public Duration InferenceDuration { get; set; }

Property Value

Duration

Parser

public static MessageParser<AgentSessionEvent.Types.EotPrediction> Parser { get; }

Property Value

MessageParser<AgentSessionEvent.Types.EotPrediction>

Probability

public float Probability { get; set; }

Property Value

float

Threshold

public float Threshold { get; set; }

Property Value

float

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 AgentSessionEvent.Types.EotPrediction Clone()

Returns

AgentSessionEvent.Types.EotPrediction

A deep clone of this object.

Equals(EotPrediction)

public bool Equals(AgentSessionEvent.Types.EotPrediction other)

Parameters

other AgentSessionEvent.Types.EotPrediction

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(EotPrediction)

Merges the given message into this one.

public void MergeFrom(AgentSessionEvent.Types.EotPrediction other)

Parameters

other AgentSessionEvent.Types.EotPrediction

Remarks

See the user guide for precise merge semantics.

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.