Class SIPOutboundTrunkUpdate
public sealed class SIPOutboundTrunkUpdate : IMessage<SIPOutboundTrunkUpdate>, IEquatable<SIPOutboundTrunkUpdate>, IDeepCloneable<SIPOutboundTrunkUpdate>, IBufferMessage, IMessage
- Inheritance
-
SIPOutboundTrunkUpdate
- Implements
-
IMessage<SIPOutboundTrunkUpdate>IDeepCloneable<SIPOutboundTrunkUpdate>IBufferMessageIMessage
- Inherited Members
Constructors
SIPOutboundTrunkUpdate()
public SIPOutboundTrunkUpdate()
SIPOutboundTrunkUpdate(SIPOutboundTrunkUpdate)
public SIPOutboundTrunkUpdate(SIPOutboundTrunkUpdate other)
Parameters
otherSIPOutboundTrunkUpdate
Fields
AddressFieldNumber
Field number for the "address" field.
public const int AddressFieldNumber = 1
Field Value
AuthPasswordFieldNumber
Field number for the "auth_password" field.
public const int AuthPasswordFieldNumber = 5
Field Value
AuthUsernameFieldNumber
Field number for the "auth_username" field.
public const int AuthUsernameFieldNumber = 4
Field Value
DestinationCountryFieldNumber
Field number for the "destination_country" field.
public const int DestinationCountryFieldNumber = 9
Field Value
FromHostFieldNumber
Field number for the "from_host" field.
public const int FromHostFieldNumber = 10
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 = 3
Field Value
TransportFieldNumber
Field number for the "transport" field.
public const int TransportFieldNumber = 2
Field Value
Properties
Address
public string Address { get; set; }
Property Value
AuthPassword
public string AuthPassword { get; set; }
Property Value
AuthUsername
public string AuthUsername { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DestinationCountry
public string DestinationCountry { get; set; }
Property Value
FromHost
public string FromHost { get; set; }
Property Value
HasAddress
Gets whether the "address" field is set
public bool HasAddress { get; }
Property Value
HasAuthPassword
Gets whether the "auth_password" field is set
public bool HasAuthPassword { get; }
Property Value
HasAuthUsername
Gets whether the "auth_username" field is set
public bool HasAuthUsername { get; }
Property Value
HasDestinationCountry
Gets whether the "destination_country" field is set
public bool HasDestinationCountry { get; }
Property Value
HasFromHost
Gets whether the "from_host" field is set
public bool HasFromHost { 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
HasTransport
Gets whether the "transport" field is set
public bool HasTransport { 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<SIPOutboundTrunkUpdate> Parser { get; }
Property Value
- MessageParser<SIPOutboundTrunkUpdate>
Transport
public SIPTransport Transport { get; set; }
Property Value
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.
ClearAddress()
Clears the value of the "address" field
public void ClearAddress()
ClearAuthPassword()
Clears the value of the "auth_password" field
public void ClearAuthPassword()
ClearAuthUsername()
Clears the value of the "auth_username" field
public void ClearAuthUsername()
ClearDestinationCountry()
Clears the value of the "destination_country" field
public void ClearDestinationCountry()
ClearFromHost()
Clears the value of the "from_host" field
public void ClearFromHost()
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()
ClearTransport()
Clears the value of the "transport" field
public void ClearTransport()
Clone()
Creates a deep clone of this object.
public SIPOutboundTrunkUpdate Clone()
Returns
- SIPOutboundTrunkUpdate
A deep clone of this object.
Equals(SIPOutboundTrunkUpdate)
public bool Equals(SIPOutboundTrunkUpdate other)
Parameters
otherSIPOutboundTrunkUpdate
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(SIPOutboundTrunkUpdate)
Merges the given message into this one.
public void MergeFrom(SIPOutboundTrunkUpdate other)
Parameters
otherSIPOutboundTrunkUpdate
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.