Table of Contents

Class AvailabilityRequest

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

Constructors

AvailabilityRequest()

public AvailabilityRequest()

AvailabilityRequest(AvailabilityRequest)

public AvailabilityRequest(AvailabilityRequest other)

Parameters

other AvailabilityRequest

Fields

JobFieldNumber

Field number for the "job" field.

public const int JobFieldNumber = 1

Field Value

int

ResumingFieldNumber

Field number for the "resuming" field.

public const int ResumingFieldNumber = 2

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Job

public Job Job { get; set; }

Property Value

Job

Parser

public static MessageParser<AvailabilityRequest> Parser { get; }

Property Value

MessageParser<AvailabilityRequest>

Resuming

True when the job was previously assigned to another worker but has been migrated due to different reasons (e.g. worker failure, job migration)

public bool Resuming { get; set; }

Property Value

bool

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

Returns

AvailabilityRequest

A deep clone of this object.

Equals(AvailabilityRequest)

public bool Equals(AvailabilityRequest other)

Parameters

other AvailabilityRequest

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

Merges the given message into this one.

public void MergeFrom(AvailabilityRequest other)

Parameters

other AvailabilityRequest

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.