Table of Contents

Class UpdateWorkerStatus

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

Constructors

UpdateWorkerStatus()

public UpdateWorkerStatus()

UpdateWorkerStatus(UpdateWorkerStatus)

public UpdateWorkerStatus(UpdateWorkerStatus other)

Parameters

other UpdateWorkerStatus

Fields

JobCountFieldNumber

Field number for the "job_count" field.

public const int JobCountFieldNumber = 4

Field Value

int

LoadFieldNumber

Field number for the "load" field.

public const int LoadFieldNumber = 3

Field Value

int

StatusFieldNumber

Field number for the "status" field.

public const int StatusFieldNumber = 1

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasStatus

Gets whether the "status" field is set

public bool HasStatus { get; }

Property Value

bool

JobCount

public uint JobCount { get; set; }

Property Value

uint

Load

optional string metadata = 2 [deprecated=true];

public float Load { get; set; }

Property Value

float

Parser

public static MessageParser<UpdateWorkerStatus> Parser { get; }

Property Value

MessageParser<UpdateWorkerStatus>

Status

public WorkerStatus Status { get; set; }

Property Value

WorkerStatus

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.

ClearStatus()

Clears the value of the "status" field

public void ClearStatus()

Clone()

Creates a deep clone of this object.

public UpdateWorkerStatus Clone()

Returns

UpdateWorkerStatus

A deep clone of this object.

Equals(UpdateWorkerStatus)

public bool Equals(UpdateWorkerStatus other)

Parameters

other UpdateWorkerStatus

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

Merges the given message into this one.

public void MergeFrom(UpdateWorkerStatus other)

Parameters

other UpdateWorkerStatus

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.