Table of Contents

Class AgentDispatch

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

Constructors

AgentDispatch()

public AgentDispatch()

AgentDispatch(AgentDispatch)

public AgentDispatch(AgentDispatch other)

Parameters

other AgentDispatch

Fields

AgentNameFieldNumber

Field number for the "agent_name" field.

public const int AgentNameFieldNumber = 2

Field Value

int

DeploymentFieldNumber

Field number for the "deployment" field.

public const int DeploymentFieldNumber = 7

Field Value

int

IdFieldNumber

Field number for the "id" field.

public const int IdFieldNumber = 1

Field Value

int

MetadataFieldNumber

Field number for the "metadata" field.

public const int MetadataFieldNumber = 4

Field Value

int

RestartPolicyFieldNumber

Field number for the "restart_policy" field.

public const int RestartPolicyFieldNumber = 6

Field Value

int

RoomFieldNumber

Field number for the "room" field.

public const int RoomFieldNumber = 3

Field Value

int

StateFieldNumber

Field number for the "state" field.

public const int StateFieldNumber = 5

Field Value

int

Properties

AgentName

public string AgentName { get; set; }

Property Value

string

Deployment

public string Deployment { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Id

public string Id { get; set; }

Property Value

string

Metadata

public string Metadata { get; set; }

Property Value

string

Parser

public static MessageParser<AgentDispatch> Parser { get; }

Property Value

MessageParser<AgentDispatch>

RestartPolicy

cloud only

public JobRestartPolicy RestartPolicy { get; set; }

Property Value

JobRestartPolicy

Room

public string Room { get; set; }

Property Value

string

State

public AgentDispatchState State { get; set; }

Property Value

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

Returns

AgentDispatch

A deep clone of this object.

Equals(AgentDispatch)

public bool Equals(AgentDispatch other)

Parameters

other AgentDispatch

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

Merges the given message into this one.

public void MergeFrom(AgentDispatch other)

Parameters

other AgentDispatch

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.