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