Class SIPDispatchRuleDirect
public sealed class SIPDispatchRuleDirect : IMessage<SIPDispatchRuleDirect>, IEquatable<SIPDispatchRuleDirect>, IDeepCloneable<SIPDispatchRuleDirect>, IBufferMessage, IMessage
- Inheritance
-
SIPDispatchRuleDirect
- Implements
-
IMessage<SIPDispatchRuleDirect>IDeepCloneable<SIPDispatchRuleDirect>IBufferMessageIMessage
- Inherited Members
Constructors
SIPDispatchRuleDirect()
public SIPDispatchRuleDirect()
SIPDispatchRuleDirect(SIPDispatchRuleDirect)
public SIPDispatchRuleDirect(SIPDispatchRuleDirect other)
Parameters
otherSIPDispatchRuleDirect
Fields
PinFieldNumber
Field number for the "pin" field.
public const int PinFieldNumber = 2
Field Value
RoomNameFieldNumber
Field number for the "room_name" field.
public const int RoomNameFieldNumber = 1
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Parser
public static MessageParser<SIPDispatchRuleDirect> Parser { get; }
Property Value
- MessageParser<SIPDispatchRuleDirect>
Pin
Optional pin required to enter room
public string Pin { get; set; }
Property Value
RoomName
What room should call be directed into
public string RoomName { 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.
Clone()
Creates a deep clone of this object.
public SIPDispatchRuleDirect Clone()
Returns
- SIPDispatchRuleDirect
A deep clone of this object.
Equals(SIPDispatchRuleDirect)
public bool Equals(SIPDispatchRuleDirect other)
Parameters
otherSIPDispatchRuleDirect
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(SIPDispatchRuleDirect)
Merges the given message into this one.
public void MergeFrom(SIPDispatchRuleDirect other)
Parameters
otherSIPDispatchRuleDirect
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.