Table of Contents

Class AgentSessionEvent.Types.ToolExecutionUpdated.Types.Ended

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

the call's single terminal entry

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

Constructors

Ended()

public Ended()

Ended(Ended)

public Ended(AgentSessionEvent.Types.ToolExecutionUpdated.Types.Ended other)

Parameters

other AgentSessionEvent.Types.ToolExecutionUpdated.Types.Ended

Fields

CallIdFieldNumber

Field number for the "call_id" field.

public const int CallIdFieldNumber = 2

Field Value

int

IdFieldNumber

Field number for the "id" field.

public const int IdFieldNumber = 1

Field Value

int

MessageFieldNumber

Field number for the "message" field.

public const int MessageFieldNumber = 3

Field Value

int

StatusFieldNumber

Field number for the "status" field.

public const int StatusFieldNumber = 4

Field Value

int

Properties

CallId

public string CallId { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasMessage

Gets whether the "message" field is set

public bool HasMessage { get; }

Property Value

bool

Id

synthetic id: call_id (inline) or call_id_final (deferred)

public string Id { get; set; }

Property Value

string

Message

result text or error message; unset for cancelled / empty returns

public string Message { get; set; }

Property Value

string

Parser

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

Property Value

MessageParser<AgentSessionEvent.Types.ToolExecutionUpdated.Types.Ended>

Status

TC_DONE, TC_ERROR, or TC_CANCELLED

public ToolCallStatus Status { get; set; }

Property Value

ToolCallStatus

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.

ClearMessage()

Clears the value of the "message" field

public void ClearMessage()

Clone()

Creates a deep clone of this object.

public AgentSessionEvent.Types.ToolExecutionUpdated.Types.Ended Clone()

Returns

AgentSessionEvent.Types.ToolExecutionUpdated.Types.Ended

A deep clone of this object.

Equals(Ended)

public bool Equals(AgentSessionEvent.Types.ToolExecutionUpdated.Types.Ended other)

Parameters

other AgentSessionEvent.Types.ToolExecutionUpdated.Types.Ended

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

Merges the given message into this one.

public void MergeFrom(AgentSessionEvent.Types.ToolExecutionUpdated.Types.Ended other)

Parameters

other AgentSessionEvent.Types.ToolExecutionUpdated.Types.Ended

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.