Class UpdateSIPDispatchRuleRequest
public sealed class UpdateSIPDispatchRuleRequest : IMessage<UpdateSIPDispatchRuleRequest>, IEquatable<UpdateSIPDispatchRuleRequest>, IDeepCloneable<UpdateSIPDispatchRuleRequest>, IBufferMessage, IMessage
- Inheritance
-
UpdateSIPDispatchRuleRequest
- Implements
-
IMessage<UpdateSIPDispatchRuleRequest>IDeepCloneable<UpdateSIPDispatchRuleRequest>IBufferMessageIMessage
- Inherited Members
Constructors
UpdateSIPDispatchRuleRequest()
public UpdateSIPDispatchRuleRequest()
UpdateSIPDispatchRuleRequest(UpdateSIPDispatchRuleRequest)
public UpdateSIPDispatchRuleRequest(UpdateSIPDispatchRuleRequest other)
Parameters
Fields
ReplaceFieldNumber
Field number for the "replace" field.
public const int ReplaceFieldNumber = 2
Field Value
SipDispatchRuleIdFieldNumber
Field number for the "sip_dispatch_rule_id" field.
public const int SipDispatchRuleIdFieldNumber = 1
Field Value
UpdateFieldNumber
Field number for the "update" field.
public const int UpdateFieldNumber = 3
Field Value
Properties
ActionCase
public UpdateSIPDispatchRuleRequest.ActionOneofCase ActionCase { get; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Parser
public static MessageParser<UpdateSIPDispatchRuleRequest> Parser { get; }
Property Value
- MessageParser<UpdateSIPDispatchRuleRequest>
Replace
public SIPDispatchRuleInfo Replace { get; set; }
Property Value
SipDispatchRuleId
public string SipDispatchRuleId { get; set; }
Property Value
Update
public SIPDispatchRuleUpdate Update { 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.
ClearAction()
public void ClearAction()
Clone()
Creates a deep clone of this object.
public UpdateSIPDispatchRuleRequest Clone()
Returns
- UpdateSIPDispatchRuleRequest
A deep clone of this object.
Equals(UpdateSIPDispatchRuleRequest)
public bool Equals(UpdateSIPDispatchRuleRequest other)
Parameters
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(UpdateSIPDispatchRuleRequest)
Merges the given message into this one.
public void MergeFrom(UpdateSIPDispatchRuleRequest other)
Parameters
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.