Table of Contents

Class SIPDispatchRuleUpdate

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

Constructors

SIPDispatchRuleUpdate()

public SIPDispatchRuleUpdate()

SIPDispatchRuleUpdate(SIPDispatchRuleUpdate)

public SIPDispatchRuleUpdate(SIPDispatchRuleUpdate other)

Parameters

other SIPDispatchRuleUpdate

Fields

AttributesFieldNumber

Field number for the "attributes" field.

public const int AttributesFieldNumber = 5

Field Value

int

MediaEncryptionFieldNumber

Field number for the "media_encryption" field.

public const int MediaEncryptionFieldNumber = 6

Field Value

int

MediaFieldNumber

Field number for the "media" field.

public const int MediaFieldNumber = 7

Field Value

int

MetadataFieldNumber

Field number for the "metadata" field.

public const int MetadataFieldNumber = 4

Field Value

int

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 3

Field Value

int

RuleFieldNumber

Field number for the "rule" field.

public const int RuleFieldNumber = 2

Field Value

int

TrunkIdsFieldNumber

Field number for the "trunk_ids" field.

public const int TrunkIdsFieldNumber = 1

Field Value

int

Properties

Attributes

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

Property Value

MapField<string, string>

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasMediaEncryption

Gets whether the "media_encryption" field is set

[Obsolete]
public bool HasMediaEncryption { get; }

Property Value

bool

HasMetadata

Gets whether the "metadata" field is set

public bool HasMetadata { get; }

Property Value

bool

HasName

Gets whether the "name" field is set

public bool HasName { get; }

Property Value

bool

Media

public SIPMediaConfig Media { get; set; }

Property Value

SIPMediaConfig

MediaEncryption

[Obsolete]
public SIPMediaEncryption MediaEncryption { get; set; }

Property Value

SIPMediaEncryption

Metadata

public string Metadata { get; set; }

Property Value

string

Name

public string Name { get; set; }

Property Value

string

Parser

public static MessageParser<SIPDispatchRuleUpdate> Parser { get; }

Property Value

MessageParser<SIPDispatchRuleUpdate>

Rule

public SIPDispatchRule Rule { get; set; }

Property Value

SIPDispatchRule

TrunkIds

public ListUpdate TrunkIds { get; set; }

Property Value

ListUpdate

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.

ClearMediaEncryption()

Clears the value of the "media_encryption" field

[Obsolete]
public void ClearMediaEncryption()

ClearMetadata()

Clears the value of the "metadata" field

public void ClearMetadata()

ClearName()

Clears the value of the "name" field

public void ClearName()

Clone()

Creates a deep clone of this object.

public SIPDispatchRuleUpdate Clone()

Returns

SIPDispatchRuleUpdate

A deep clone of this object.

Equals(SIPDispatchRuleUpdate)

public bool Equals(SIPDispatchRuleUpdate other)

Parameters

other SIPDispatchRuleUpdate

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

Merges the given message into this one.

public void MergeFrom(SIPDispatchRuleUpdate other)

Parameters

other SIPDispatchRuleUpdate

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.