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
-
IBufferMessageIMessage
- Inherited Members
Constructors
ToolExecutionUpdated()
public ToolExecutionUpdated()
ToolExecutionUpdated(ToolExecutionUpdated)
public ToolExecutionUpdated(AgentSessionEvent.Types.ToolExecutionUpdated other)
Parameters
Fields
CallUpdatedFieldNumber
Field number for the "call_updated" field.
public const int CallUpdatedFieldNumber = 2
Field Value
EndedFieldNumber
Field number for the "ended" field.
public const int EndedFieldNumber = 4
Field Value
ReplyUpdatedFieldNumber
Field number for the "reply_updated" field.
public const int ReplyUpdatedFieldNumber = 3
Field Value
StartedFieldNumber
Field number for the "started" field.
public const int StartedFieldNumber = 1
Field Value
Properties
CallUpdated
public AgentSessionEvent.Types.ToolExecutionUpdated.Types.CallUpdated CallUpdated { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Ended
public AgentSessionEvent.Types.ToolExecutionUpdated.Types.Ended Ended { get; set; }
Property Value
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
Started
public AgentSessionEvent.Types.ToolExecutionUpdated.Types.Started Started { get; set; }
Property Value
UpdateCase
public AgentSessionEvent.Types.ToolExecutionUpdated.UpdateOneofCase UpdateCase { get; }
Property Value
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
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
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
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.