Table of Contents

Class SIPInboundTrunkUpdate

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

Constructors

SIPInboundTrunkUpdate()

public SIPInboundTrunkUpdate()

SIPInboundTrunkUpdate(SIPInboundTrunkUpdate)

public SIPInboundTrunkUpdate(SIPInboundTrunkUpdate other)

Parameters

other SIPInboundTrunkUpdate

Fields

AllowedAddressesFieldNumber

Field number for the "allowed_addresses" field.

public const int AllowedAddressesFieldNumber = 2

Field Value

int

AllowedNumbersFieldNumber

Field number for the "allowed_numbers" field.

public const int AllowedNumbersFieldNumber = 3

Field Value

int

AuthPasswordFieldNumber

Field number for the "auth_password" field.

public const int AuthPasswordFieldNumber = 5

Field Value

int

AuthRealmFieldNumber

Field number for the "auth_realm" field.

public const int AuthRealmFieldNumber = 9

Field Value

int

AuthUsernameFieldNumber

Field number for the "auth_username" field.

public const int AuthUsernameFieldNumber = 4

Field Value

int

MediaEncryptionFieldNumber

Field number for the "media_encryption" field.

public const int MediaEncryptionFieldNumber = 8

Field Value

int

MetadataFieldNumber

Field number for the "metadata" field.

public const int MetadataFieldNumber = 7

Field Value

int

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 6

Field Value

int

NumbersFieldNumber

Field number for the "numbers" field.

public const int NumbersFieldNumber = 1

Field Value

int

Properties

AllowedAddresses

public ListUpdate AllowedAddresses { get; set; }

Property Value

ListUpdate

AllowedNumbers

public ListUpdate AllowedNumbers { get; set; }

Property Value

ListUpdate

AuthPassword

public string AuthPassword { get; set; }

Property Value

string

AuthRealm

public string AuthRealm { get; set; }

Property Value

string

AuthUsername

public string AuthUsername { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

HasAuthPassword

Gets whether the "auth_password" field is set

public bool HasAuthPassword { get; }

Property Value

bool

HasAuthRealm

Gets whether the "auth_realm" field is set

public bool HasAuthRealm { get; }

Property Value

bool

HasAuthUsername

Gets whether the "auth_username" field is set

public bool HasAuthUsername { get; }

Property Value

bool

HasMediaEncryption

Gets whether the "media_encryption" field is set

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

MediaEncryption

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

Numbers

public ListUpdate Numbers { get; set; }

Property Value

ListUpdate

Parser

public static MessageParser<SIPInboundTrunkUpdate> Parser { get; }

Property Value

MessageParser<SIPInboundTrunkUpdate>

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.

ClearAuthPassword()

Clears the value of the "auth_password" field

public void ClearAuthPassword()

ClearAuthRealm()

Clears the value of the "auth_realm" field

public void ClearAuthRealm()

ClearAuthUsername()

Clears the value of the "auth_username" field

public void ClearAuthUsername()

ClearMediaEncryption()

Clears the value of the "media_encryption" field

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

Returns

SIPInboundTrunkUpdate

A deep clone of this object.

Equals(SIPInboundTrunkUpdate)

public bool Equals(SIPInboundTrunkUpdate other)

Parameters

other SIPInboundTrunkUpdate

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

Merges the given message into this one.

public void MergeFrom(SIPInboundTrunkUpdate other)

Parameters

other SIPInboundTrunkUpdate

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.