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