Class UpdateParticipantRequest
public sealed class UpdateParticipantRequest : IMessage<UpdateParticipantRequest>, IEquatable<UpdateParticipantRequest>, IDeepCloneable<UpdateParticipantRequest>, IBufferMessage, IMessage
- Inheritance
-
UpdateParticipantRequest
- Implements
-
IMessage<UpdateParticipantRequest>IDeepCloneable<UpdateParticipantRequest>IBufferMessageIMessage
- Inherited Members
Constructors
UpdateParticipantRequest()
public UpdateParticipantRequest()
UpdateParticipantRequest(UpdateParticipantRequest)
public UpdateParticipantRequest(UpdateParticipantRequest other)
Parameters
otherUpdateParticipantRequest
Fields
AttributesFieldNumber
Field number for the "attributes" field.
public const int AttributesFieldNumber = 6
Field Value
IdentityFieldNumber
Field number for the "identity" field.
public const int IdentityFieldNumber = 2
Field Value
MetadataFieldNumber
Field number for the "metadata" field.
public const int MetadataFieldNumber = 3
Field Value
NameFieldNumber
Field number for the "name" field.
public const int NameFieldNumber = 5
Field Value
PermissionFieldNumber
Field number for the "permission" field.
public const int PermissionFieldNumber = 4
Field Value
RoomFieldNumber
Field number for the "room" field.
public const int RoomFieldNumber = 1
Field Value
Properties
Attributes
attributes to update. it only updates attributes that have been set to delete attributes, set the value to an empty string
public MapField<string, string> Attributes { get; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Identity
public string Identity { get; set; }
Property Value
Metadata
metadata to update. skipping updates if left empty
public string Metadata { get; set; }
Property Value
Name
display name to update
public string Name { get; set; }
Property Value
Parser
public static MessageParser<UpdateParticipantRequest> Parser { get; }
Property Value
- MessageParser<UpdateParticipantRequest>
Permission
set to update the participant's permissions
public ParticipantPermission Permission { get; set; }
Property Value
Room
public string Room { 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 UpdateParticipantRequest Clone()
Returns
- UpdateParticipantRequest
A deep clone of this object.
Equals(UpdateParticipantRequest)
public bool Equals(UpdateParticipantRequest other)
Parameters
otherUpdateParticipantRequest
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(UpdateParticipantRequest)
Merges the given message into this one.
public void MergeFrom(UpdateParticipantRequest other)
Parameters
otherUpdateParticipantRequest
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.