Table of Contents

Class ListUpdate

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll

ListUpdate is used for updated APIs where 'repeated string' field is modified.

public sealed class ListUpdate : IMessage<ListUpdate>, IEquatable<ListUpdate>, IDeepCloneable<ListUpdate>, IBufferMessage, IMessage
Inheritance
ListUpdate
Implements
IMessage<ListUpdate>
IDeepCloneable<ListUpdate>
IBufferMessage
IMessage
Inherited Members

Constructors

ListUpdate()

public ListUpdate()

ListUpdate(ListUpdate)

public ListUpdate(ListUpdate other)

Parameters

other ListUpdate

Fields

AddFieldNumber

Field number for the "add" field.

public const int AddFieldNumber = 2

Field Value

int

ClearFieldNumber

Field number for the "clear" field.

public const int ClearFieldNumber = 4

Field Value

int

RemoveFieldNumber

Field number for the "remove" field.

public const int RemoveFieldNumber = 3

Field Value

int

SetFieldNumber

Field number for the "set" field.

public const int SetFieldNumber = 1

Field Value

int

Properties

Add

append items to a list, avoiding duplicates

public RepeatedField<string> Add { get; }

Property Value

RepeatedField<string>

Clear

sets the list to an empty list

public bool Clear { get; set; }

Property Value

bool

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Parser

public static MessageParser<ListUpdate> Parser { get; }

Property Value

MessageParser<ListUpdate>

Remove

delete items from a list

public RepeatedField<string> Remove { get; }

Property Value

RepeatedField<string>

Set

set the field to a new list

public RepeatedField<string> Set { get; }

Property Value

RepeatedField<string>

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

Returns

ListUpdate

A deep clone of this object.

Equals(ListUpdate)

public bool Equals(ListUpdate other)

Parameters

other ListUpdate

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

Merges the given message into this one.

public void MergeFrom(ListUpdate other)

Parameters

other ListUpdate

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.