Table of Contents

Class AgentSessionEvent.Types.FunctionToolsExecuted

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

Constructors

FunctionToolsExecuted()

public FunctionToolsExecuted()

FunctionToolsExecuted(FunctionToolsExecuted)

public FunctionToolsExecuted(AgentSessionEvent.Types.FunctionToolsExecuted other)

Parameters

other AgentSessionEvent.Types.FunctionToolsExecuted

Fields

FunctionCallOutputsFieldNumber

Field number for the "function_call_outputs" field.

public const int FunctionCallOutputsFieldNumber = 2

Field Value

int

FunctionCallsFieldNumber

Field number for the "function_calls" field.

public const int FunctionCallsFieldNumber = 1

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

FunctionCallOutputs

public RepeatedField<FunctionCallOutput> FunctionCallOutputs { get; }

Property Value

RepeatedField<FunctionCallOutput>

FunctionCalls

public RepeatedField<FunctionCall> FunctionCalls { get; }

Property Value

RepeatedField<FunctionCall>

Parser

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

Property Value

MessageParser<AgentSessionEvent.Types.FunctionToolsExecuted>

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

Returns

AgentSessionEvent.Types.FunctionToolsExecuted

A deep clone of this object.

Equals(FunctionToolsExecuted)

public bool Equals(AgentSessionEvent.Types.FunctionToolsExecuted other)

Parameters

other AgentSessionEvent.Types.FunctionToolsExecuted

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

Merges the given message into this one.

public void MergeFrom(AgentSessionEvent.Types.FunctionToolsExecuted other)

Parameters

other AgentSessionEvent.Types.FunctionToolsExecuted

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.