Class RatchetSharedKeyResponse
public sealed class RatchetSharedKeyResponse : Google.Protobuf.IMessage<RatchetSharedKeyResponse>, Google.Protobuf.IBufferMessage
- Inheritance
-
RatchetSharedKeyResponse
- Implements
-
IBufferMessage
- Extension Methods
Constructors
RatchetSharedKeyResponse()
public RatchetSharedKeyResponse()
RatchetSharedKeyResponse(RatchetSharedKeyResponse)
public RatchetSharedKeyResponse(RatchetSharedKeyResponse other)
Parameters
otherRatchetSharedKeyResponse
Fields
NewKeyFieldNumber
Field number for the "new_key" field.
public const int NewKeyFieldNumber = 1
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasNewKey
Gets whether the "new_key" field is set
public bool HasNewKey { get; }
Property Value
NewKey
public Google.Protobuf.ByteString NewKey { get; set; }
Property Value
- ByteString
Parser
public static Google.Protobuf.MessageParser<RatchetSharedKeyResponse> Parser { get; }
Property Value
- MessageParser<RatchetSharedKeyResponse>
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearNewKey()
Clears the value of the "new_key" field
public void ClearNewKey()
Clone()
public RatchetSharedKeyResponse Clone()
Returns
Equals(RatchetSharedKeyResponse)
public bool Equals(RatchetSharedKeyResponse other)
Parameters
otherRatchetSharedKeyResponse
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(RatchetSharedKeyResponse)
public void MergeFrom(RatchetSharedKeyResponse other)
Parameters
otherRatchetSharedKeyResponse
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream