Table of Contents

Class DebugMessage

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

Debug/trace payload carried over the remote session wire. Internal: surfaced only to the debugger/recorder, not to user code.

public sealed class DebugMessage : IMessage<DebugMessage>, IEquatable<DebugMessage>, IDeepCloneable<DebugMessage>, IBufferMessage, IMessage
Inheritance
DebugMessage
Implements
IMessage<DebugMessage>
IDeepCloneable<DebugMessage>
IBufferMessage
IMessage
Inherited Members

Constructors

DebugMessage()

public DebugMessage()

DebugMessage(DebugMessage)

public DebugMessage(DebugMessage other)

Parameters

other DebugMessage

Fields

PayloadFieldNumber

Field number for the "payload" field.

public const int PayloadFieldNumber = 1

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Parser

public static MessageParser<DebugMessage> Parser { get; }

Property Value

MessageParser<DebugMessage>

Payload

public Struct Payload { get; set; }

Property Value

Struct

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 DebugMessage Clone()

Returns

DebugMessage

A deep clone of this object.

Equals(DebugMessage)

public bool Equals(DebugMessage other)

Parameters

other DebugMessage

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

Merges the given message into this one.

public void MergeFrom(DebugMessage other)

Parameters

other DebugMessage

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.