Table of Contents

Class DataSelector

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

Constructors

DataSelector()

public DataSelector()

DataSelector(DataSelector)

public DataSelector(DataSelector other)

Parameters

other DataSelector

Fields

ParticipantIdentityFieldNumber

Field number for the "participant_identity" field.

public const int ParticipantIdentityFieldNumber = 2

Field Value

int

TopicFieldNumber

Field number for the "topic" field.

public const int TopicFieldNumber = 3

Field Value

int

TrackIdFieldNumber

Field number for the "track_id" field.

public const int TrackIdFieldNumber = 1

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasParticipantIdentity

Gets whether the "participant_identity" field is set

public bool HasParticipantIdentity { get; }

Property Value

bool

HasTopic

Gets whether the "topic" field is set

public bool HasTopic { get; }

Property Value

bool

HasTrackId

Gets whether the "track_id" field is set

public bool HasTrackId { get; }

Property Value

bool

MatchCase

public DataSelector.MatchOneofCase MatchCase { get; }

Property Value

DataSelector.MatchOneofCase

Parser

public static MessageParser<DataSelector> Parser { get; }

Property Value

MessageParser<DataSelector>

ParticipantIdentity

public string ParticipantIdentity { get; set; }

Property Value

string

Topic

public string Topic { get; set; }

Property Value

string

TrackId

public string TrackId { get; set; }

Property Value

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.

ClearMatch()

public void ClearMatch()

ClearParticipantIdentity()

Clears the value of the oneof if it's currently set to "participant_identity"

public void ClearParticipantIdentity()

ClearTopic()

Clears the value of the oneof if it's currently set to "topic"

public void ClearTopic()

ClearTrackId()

Clears the value of the oneof if it's currently set to "track_id"

public void ClearTrackId()

Clone()

Creates a deep clone of this object.

public DataSelector Clone()

Returns

DataSelector

A deep clone of this object.

Equals(DataSelector)

public bool Equals(DataSelector other)

Parameters

other DataSelector

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

Merges the given message into this one.

public void MergeFrom(DataSelector other)

Parameters

other DataSelector

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.