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