Table of Contents

Class AgentSessionEvent.Types.ToolExecutionUpdated

Namespace
Livekit.Agent
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll

Per-call tool lifecycle. One flat update per occurrence: a call started -> progress updates while it runs (CallUpdated) -> the single terminal entry (Ended), with the deferred reply voicing buffered updates advancing separately (ReplyUpdated).

public sealed class AgentSessionEvent.Types.ToolExecutionUpdated : IMessage<AgentSessionEvent.Types.ToolExecutionUpdated>, IEquatable<AgentSessionEvent.Types.ToolExecutionUpdated>, IDeepCloneable<AgentSessionEvent.Types.ToolExecutionUpdated>, IBufferMessage, IMessage
Inheritance
AgentSessionEvent.Types.ToolExecutionUpdated
Implements
IBufferMessage
IMessage
Inherited Members

Constructors

ToolExecutionUpdated()

public ToolExecutionUpdated()

ToolExecutionUpdated(ToolExecutionUpdated)

public ToolExecutionUpdated(AgentSessionEvent.Types.ToolExecutionUpdated other)

Parameters

other AgentSessionEvent.Types.ToolExecutionUpdated

Fields

CallUpdatedFieldNumber

Field number for the "call_updated" field.

public const int CallUpdatedFieldNumber = 2

Field Value

int

EndedFieldNumber

Field number for the "ended" field.

public const int EndedFieldNumber = 4

Field Value

int

ReplyUpdatedFieldNumber

Field number for the "reply_updated" field.

public const int ReplyUpdatedFieldNumber = 3

Field Value

int

StartedFieldNumber

Field number for the "started" field.

public const int StartedFieldNumber = 1

Field Value

int

Properties

CallUpdated

public AgentSessionEvent.Types.ToolExecutionUpdated.Types.CallUpdated CallUpdated { get; set; }

Property Value

AgentSessionEvent.Types.ToolExecutionUpdated.Types.CallUpdated

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Ended

public AgentSessionEvent.Types.ToolExecutionUpdated.Types.Ended Ended { get; set; }

Property Value

AgentSessionEvent.Types.ToolExecutionUpdated.Types.Ended

Parser

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

Property Value

MessageParser<AgentSessionEvent.Types.ToolExecutionUpdated>

ReplyUpdated

public AgentSessionEvent.Types.ToolExecutionUpdated.Types.ReplyUpdated ReplyUpdated { get; set; }

Property Value

AgentSessionEvent.Types.ToolExecutionUpdated.Types.ReplyUpdated

Started

public AgentSessionEvent.Types.ToolExecutionUpdated.Types.Started Started { get; set; }

Property Value

AgentSessionEvent.Types.ToolExecutionUpdated.Types.Started

UpdateCase

public AgentSessionEvent.Types.ToolExecutionUpdated.UpdateOneofCase UpdateCase { get; }

Property Value

AgentSessionEvent.Types.ToolExecutionUpdated.UpdateOneofCase

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.

ClearUpdate()

public void ClearUpdate()

Clone()

Creates a deep clone of this object.

public AgentSessionEvent.Types.ToolExecutionUpdated Clone()

Returns

AgentSessionEvent.Types.ToolExecutionUpdated

A deep clone of this object.

Equals(ToolExecutionUpdated)

public bool Equals(AgentSessionEvent.Types.ToolExecutionUpdated other)

Parameters

other AgentSessionEvent.Types.ToolExecutionUpdated

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

Merges the given message into this one.

public void MergeFrom(AgentSessionEvent.Types.ToolExecutionUpdated other)

Parameters

other AgentSessionEvent.Types.ToolExecutionUpdated

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.