Class SIPDispatchRuleUpdate
public sealed class SIPDispatchRuleUpdate : IMessage<SIPDispatchRuleUpdate>, IEquatable<SIPDispatchRuleUpdate>, IDeepCloneable<SIPDispatchRuleUpdate>, IBufferMessage, IMessage
- Inheritance
-
SIPDispatchRuleUpdate
- Implements
-
IMessage<SIPDispatchRuleUpdate>IDeepCloneable<SIPDispatchRuleUpdate>IBufferMessageIMessage
- Inherited Members
Constructors
SIPDispatchRuleUpdate()
public SIPDispatchRuleUpdate()
SIPDispatchRuleUpdate(SIPDispatchRuleUpdate)
public SIPDispatchRuleUpdate(SIPDispatchRuleUpdate other)
Parameters
otherSIPDispatchRuleUpdate
Fields
AttributesFieldNumber
Field number for the "attributes" field.
public const int AttributesFieldNumber = 5
Field Value
MediaEncryptionFieldNumber
Field number for the "media_encryption" field.
public const int MediaEncryptionFieldNumber = 6
Field Value
MediaFieldNumber
Field number for the "media" field.
public const int MediaFieldNumber = 7
Field Value
MetadataFieldNumber
Field number for the "metadata" field.
public const int MetadataFieldNumber = 4
Field Value
NameFieldNumber
Field number for the "name" field.
public const int NameFieldNumber = 3
Field Value
RuleFieldNumber
Field number for the "rule" field.
public const int RuleFieldNumber = 2
Field Value
TrunkIdsFieldNumber
Field number for the "trunk_ids" field.
public const int TrunkIdsFieldNumber = 1
Field Value
Properties
Attributes
public MapField<string, string> Attributes { get; }
Property Value
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
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
Media
public SIPMediaConfig Media { get; set; }
Property Value
MediaEncryption
[Obsolete]
public SIPMediaEncryption MediaEncryption { get; set; }
Property Value
Metadata
public string Metadata { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
Parser
public static MessageParser<SIPDispatchRuleUpdate> Parser { get; }
Property Value
- MessageParser<SIPDispatchRuleUpdate>
Rule
public SIPDispatchRule Rule { get; set; }
Property Value
TrunkIds
public ListUpdate TrunkIds { 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.
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
otherSIPDispatchRuleUpdate
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(SIPDispatchRuleUpdate)
Merges the given message into this one.
public void MergeFrom(SIPDispatchRuleUpdate other)
Parameters
otherSIPDispatchRuleUpdate
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.