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