Class SIPInboundTrunkUpdate
public sealed class SIPInboundTrunkUpdate : IMessage<SIPInboundTrunkUpdate>, IEquatable<SIPInboundTrunkUpdate>, IDeepCloneable<SIPInboundTrunkUpdate>, IBufferMessage, IMessage
- Inheritance
-
SIPInboundTrunkUpdate
- Implements
-
IMessage<SIPInboundTrunkUpdate>IDeepCloneable<SIPInboundTrunkUpdate>IBufferMessageIMessage
- Inherited Members
Constructors
SIPInboundTrunkUpdate()
public SIPInboundTrunkUpdate()
SIPInboundTrunkUpdate(SIPInboundTrunkUpdate)
public SIPInboundTrunkUpdate(SIPInboundTrunkUpdate other)
Parameters
otherSIPInboundTrunkUpdate
Fields
AllowedAddressesFieldNumber
Field number for the "allowed_addresses" field.
public const int AllowedAddressesFieldNumber = 2
Field Value
AllowedNumbersFieldNumber
Field number for the "allowed_numbers" field.
public const int AllowedNumbersFieldNumber = 3
Field Value
AuthPasswordFieldNumber
Field number for the "auth_password" field.
public const int AuthPasswordFieldNumber = 5
Field Value
AuthRealmFieldNumber
Field number for the "auth_realm" field.
public const int AuthRealmFieldNumber = 9
Field Value
AuthUsernameFieldNumber
Field number for the "auth_username" field.
public const int AuthUsernameFieldNumber = 4
Field Value
MediaEncryptionFieldNumber
Field number for the "media_encryption" field.
public const int MediaEncryptionFieldNumber = 8
Field Value
MetadataFieldNumber
Field number for the "metadata" field.
public const int MetadataFieldNumber = 7
Field Value
NameFieldNumber
Field number for the "name" field.
public const int NameFieldNumber = 6
Field Value
NumbersFieldNumber
Field number for the "numbers" field.
public const int NumbersFieldNumber = 1
Field Value
Properties
AllowedAddresses
public ListUpdate AllowedAddresses { get; set; }
Property Value
AllowedNumbers
public ListUpdate AllowedNumbers { get; set; }
Property Value
AuthPassword
public string AuthPassword { get; set; }
Property Value
AuthRealm
public string AuthRealm { get; set; }
Property Value
AuthUsername
public string AuthUsername { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasAuthPassword
Gets whether the "auth_password" field is set
public bool HasAuthPassword { get; }
Property Value
HasAuthRealm
Gets whether the "auth_realm" field is set
public bool HasAuthRealm { get; }
Property Value
HasAuthUsername
Gets whether the "auth_username" field is set
public bool HasAuthUsername { get; }
Property Value
HasMediaEncryption
Gets whether the "media_encryption" field is set
public bool HasMediaEncryption { get; }
Property Value
HasMetadata
Gets whether the "metadata" field is set
public bool HasMetadata { get; }
Property Value
HasName
Gets whether the "name" field is set
public bool HasName { get; }
Property Value
MediaEncryption
public SIPMediaEncryption MediaEncryption { get; set; }
Property Value
Metadata
public string Metadata { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
Numbers
public ListUpdate Numbers { get; set; }
Property Value
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
otherSIPInboundTrunkUpdate
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(SIPInboundTrunkUpdate)
Merges the given message into this one.
public void MergeFrom(SIPInboundTrunkUpdate other)
Parameters
otherSIPInboundTrunkUpdate
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.