Class ParticipantDisconnected
public sealed class ParticipantDisconnected : Google.Protobuf.IMessage<ParticipantDisconnected>, Google.Protobuf.IBufferMessage
- Inheritance
-
ParticipantDisconnected
- Implements
-
IBufferMessage
- Extension Methods
Constructors
ParticipantDisconnected()
public ParticipantDisconnected()
ParticipantDisconnected(ParticipantDisconnected)
public ParticipantDisconnected(ParticipantDisconnected other)
Parameters
otherParticipantDisconnected
Fields
DisconnectReasonFieldNumber
Field number for the "disconnect_reason" field.
public const int DisconnectReasonFieldNumber = 2
Field Value
ParticipantIdentityFieldNumber
Field number for the "participant_identity" field.
public const int ParticipantIdentityFieldNumber = 1
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DisconnectReason
public DisconnectReason DisconnectReason { get; set; }
Property Value
HasDisconnectReason
Gets whether the "disconnect_reason" field is set
public bool HasDisconnectReason { get; }
Property Value
HasParticipantIdentity
Gets whether the "participant_identity" field is set
public bool HasParticipantIdentity { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<ParticipantDisconnected> Parser { get; }
Property Value
- MessageParser<ParticipantDisconnected>
ParticipantIdentity
public string ParticipantIdentity { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearDisconnectReason()
Clears the value of the "disconnect_reason" field
public void ClearDisconnectReason()
ClearParticipantIdentity()
Clears the value of the "participant_identity" field
public void ClearParticipantIdentity()
Clone()
public ParticipantDisconnected Clone()
Returns
Equals(ParticipantDisconnected)
public bool Equals(ParticipantDisconnected other)
Parameters
otherParticipantDisconnected
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(ParticipantDisconnected)
public void MergeFrom(ParticipantDisconnected other)
Parameters
otherParticipantDisconnected
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream