Table of Contents

Class RoomAgentDispatch

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

Constructors

RoomAgentDispatch()

public RoomAgentDispatch()

RoomAgentDispatch(RoomAgentDispatch)

public RoomAgentDispatch(RoomAgentDispatch other)

Parameters

other RoomAgentDispatch

Fields

AgentNameFieldNumber

Field number for the "agent_name" field.

public const int AgentNameFieldNumber = 1

Field Value

int

DeploymentFieldNumber

Field number for the "deployment" field.

public const int DeploymentFieldNumber = 4

Field Value

int

MetadataFieldNumber

Field number for the "metadata" field.

public const int MetadataFieldNumber = 2

Field Value

int

RestartPolicyFieldNumber

Field number for the "restart_policy" field.

public const int RestartPolicyFieldNumber = 3

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

Metadata

public string Metadata { get; set; }

Property Value

string

Parser

public static MessageParser<RoomAgentDispatch> Parser { get; }

Property Value

MessageParser<RoomAgentDispatch>

RestartPolicy

cloud only

public JobRestartPolicy RestartPolicy { get; set; }

Property Value

JobRestartPolicy

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

Returns

RoomAgentDispatch

A deep clone of this object.

Equals(RoomAgentDispatch)

public bool Equals(RoomAgentDispatch other)

Parameters

other RoomAgentDispatch

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

Merges the given message into this one.

public void MergeFrom(RoomAgentDispatch other)

Parameters

other RoomAgentDispatch

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.