Class RatchetKeyRequest
public sealed class RatchetKeyRequest : Google.Protobuf.IMessage<RatchetKeyRequest>, Google.Protobuf.IBufferMessage
- Inheritance
-
RatchetKeyRequest
- Implements
-
IBufferMessage
- Extension Methods
Constructors
RatchetKeyRequest()
public RatchetKeyRequest()
RatchetKeyRequest(RatchetKeyRequest)
public RatchetKeyRequest(RatchetKeyRequest other)
Parameters
otherRatchetKeyRequest
Fields
KeyIndexFieldNumber
Field number for the "key_index" field.
public const int KeyIndexFieldNumber = 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
HasKeyIndex
Gets whether the "key_index" field is set
public bool HasKeyIndex { get; }
Property Value
HasParticipantIdentity
Gets whether the "participant_identity" field is set
public bool HasParticipantIdentity { get; }
Property Value
KeyIndex
public int KeyIndex { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<RatchetKeyRequest> Parser { get; }
Property Value
- MessageParser<RatchetKeyRequest>
ParticipantIdentity
public string ParticipantIdentity { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearKeyIndex()
Clears the value of the "key_index" field
public void ClearKeyIndex()
ClearParticipantIdentity()
Clears the value of the "participant_identity" field
public void ClearParticipantIdentity()
Clone()
public RatchetKeyRequest Clone()
Returns
Equals(RatchetKeyRequest)
public bool Equals(RatchetKeyRequest other)
Parameters
otherRatchetKeyRequest
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(RatchetKeyRequest)
public void MergeFrom(RatchetKeyRequest other)
Parameters
otherRatchetKeyRequest
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream