Table of Contents

Class AgentSessionEvent.Types.UserInputTranscribed

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

Constructors

UserInputTranscribed()

public UserInputTranscribed()

UserInputTranscribed(UserInputTranscribed)

public UserInputTranscribed(AgentSessionEvent.Types.UserInputTranscribed other)

Parameters

other AgentSessionEvent.Types.UserInputTranscribed

Fields

IsFinalFieldNumber

Field number for the "is_final" field.

public const int IsFinalFieldNumber = 2

Field Value

int

LanguageFieldNumber

Field number for the "language" field.

public const int LanguageFieldNumber = 3

Field Value

int

TranscriptFieldNumber

Field number for the "transcript" field.

public const int TranscriptFieldNumber = 1

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasLanguage

Gets whether the "language" field is set

public bool HasLanguage { get; }

Property Value

bool

IsFinal

public bool IsFinal { get; set; }

Property Value

bool

Language

public string Language { get; set; }

Property Value

string

Parser

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

Property Value

MessageParser<AgentSessionEvent.Types.UserInputTranscribed>

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.

ClearLanguage()

Clears the value of the "language" field

public void ClearLanguage()

Clone()

Creates a deep clone of this object.

public AgentSessionEvent.Types.UserInputTranscribed Clone()

Returns

AgentSessionEvent.Types.UserInputTranscribed

A deep clone of this object.

Equals(UserInputTranscribed)

public bool Equals(AgentSessionEvent.Types.UserInputTranscribed other)

Parameters

other AgentSessionEvent.Types.UserInputTranscribed

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

Merges the given message into this one.

public void MergeFrom(AgentSessionEvent.Types.UserInputTranscribed other)

Parameters

other AgentSessionEvent.Types.UserInputTranscribed

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.