Table of Contents

Class AgentDispatchState

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll
public sealed class AgentDispatchState : IMessage<AgentDispatchState>, IEquatable<AgentDispatchState>, IDeepCloneable<AgentDispatchState>, IBufferMessage, IMessage
Inheritance
AgentDispatchState
Implements
IDeepCloneable<AgentDispatchState>
IBufferMessage
IMessage
Inherited Members

Constructors

AgentDispatchState()

public AgentDispatchState()

AgentDispatchState(AgentDispatchState)

public AgentDispatchState(AgentDispatchState other)

Parameters

other AgentDispatchState

Fields

CreatedAtFieldNumber

Field number for the "created_at" field.

public const int CreatedAtFieldNumber = 2

Field Value

int

DeletedAtFieldNumber

Field number for the "deleted_at" field.

public const int DeletedAtFieldNumber = 3

Field Value

int

JobsFieldNumber

Field number for the "jobs" field.

public const int JobsFieldNumber = 1

Field Value

int

Properties

CreatedAt

public long CreatedAt { get; set; }

Property Value

long

DeletedAt

public long DeletedAt { get; set; }

Property Value

long

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Jobs

For dispatches of tyoe JT_ROOM, there will be at most 1 job. For dispatches of type JT_PUBLISHER, there will be 1 per publisher.

public RepeatedField<Job> Jobs { get; }

Property Value

RepeatedField<Job>

Parser

public static MessageParser<AgentDispatchState> Parser { get; }

Property Value

MessageParser<AgentDispatchState>

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

Returns

AgentDispatchState

A deep clone of this object.

Equals(AgentDispatchState)

public bool Equals(AgentDispatchState other)

Parameters

other AgentDispatchState

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

Merges the given message into this one.

public void MergeFrom(AgentDispatchState other)

Parameters

other AgentDispatchState

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.