Table of Contents

Class AvailabilityResponse

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

Constructors

AvailabilityResponse()

public AvailabilityResponse()

AvailabilityResponse(AvailabilityResponse)

public AvailabilityResponse(AvailabilityResponse other)

Parameters

other AvailabilityResponse

Fields

AvailableFieldNumber

Field number for the "available" field.

public const int AvailableFieldNumber = 2

Field Value

int

JobIdFieldNumber

Field number for the "job_id" field.

public const int JobIdFieldNumber = 1

Field Value

int

ParticipantAttributesFieldNumber

Field number for the "participant_attributes" field.

public const int ParticipantAttributesFieldNumber = 7

Field Value

int

ParticipantIdentityFieldNumber

Field number for the "participant_identity" field.

public const int ParticipantIdentityFieldNumber = 5

Field Value

int

ParticipantMetadataFieldNumber

Field number for the "participant_metadata" field.

public const int ParticipantMetadataFieldNumber = 6

Field Value

int

ParticipantNameFieldNumber

Field number for the "participant_name" field.

public const int ParticipantNameFieldNumber = 4

Field Value

int

SupportsResumeFieldNumber

Field number for the "supports_resume" field.

public const int SupportsResumeFieldNumber = 3

Field Value

int

TerminateFieldNumber

Field number for the "terminate" field.

public const int TerminateFieldNumber = 8

Field Value

int

Properties

Available

public bool Available { get; set; }

Property Value

bool

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

JobId

public string JobId { get; set; }

Property Value

string

Parser

public static MessageParser<AvailabilityResponse> Parser { get; }

Property Value

MessageParser<AvailabilityResponse>

ParticipantAttributes

NEXT_ID: 9

public MapField<string, string> ParticipantAttributes { get; }

Property Value

MapField<string, string>

ParticipantIdentity

public string ParticipantIdentity { get; set; }

Property Value

string

ParticipantMetadata

public string ParticipantMetadata { get; set; }

Property Value

string

ParticipantName

public string ParticipantName { get; set; }

Property Value

string

SupportsResume

public bool SupportsResume { get; set; }

Property Value

bool

Terminate

public bool Terminate { 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 AvailabilityResponse Clone()

Returns

AvailabilityResponse

A deep clone of this object.

Equals(AvailabilityResponse)

public bool Equals(AvailabilityResponse other)

Parameters

other AvailabilityResponse

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

Merges the given message into this one.

public void MergeFrom(AvailabilityResponse other)

Parameters

other AvailabilityResponse

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.