Table of Contents

Class AgentSessionEvent.Types.AmdPrediction

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

Constructors

AmdPrediction()

public AmdPrediction()

AmdPrediction(AmdPrediction)

public AmdPrediction(AgentSessionEvent.Types.AmdPrediction other)

Parameters

other AgentSessionEvent.Types.AmdPrediction

Fields

CategoryFieldNumber

Field number for the "category" field.

public const int CategoryFieldNumber = 2

Field Value

int

DelayFieldNumber

Field number for the "delay" field.

public const int DelayFieldNumber = 5

Field Value

int

ReasonFieldNumber

Field number for the "reason" field.

public const int ReasonFieldNumber = 3

Field Value

int

SpeechDurationFieldNumber

Field number for the "speech_duration" field.

public const int SpeechDurationFieldNumber = 1

Field Value

int

TranscriptFieldNumber

Field number for the "transcript" field.

public const int TranscriptFieldNumber = 4

Field Value

int

Properties

Category

public AmdCategory Category { get; set; }

Property Value

AmdCategory

Delay

public Duration Delay { get; set; }

Property Value

Duration

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Parser

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

Property Value

MessageParser<AgentSessionEvent.Types.AmdPrediction>

Reason

public string Reason { get; set; }

Property Value

string

SpeechDuration

public Duration SpeechDuration { get; set; }

Property Value

Duration

Transcript

public string Transcript { get; set; }

Property Value

string

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.AmdPrediction Clone()

Returns

AgentSessionEvent.Types.AmdPrediction

A deep clone of this object.

Equals(AmdPrediction)

public bool Equals(AgentSessionEvent.Types.AmdPrediction other)

Parameters

other AgentSessionEvent.Types.AmdPrediction

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(AmdPrediction)

Merges the given message into this one.

public void MergeFrom(AgentSessionEvent.Types.AmdPrediction other)

Parameters

other AgentSessionEvent.Types.AmdPrediction

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.