public sealed class LabelDescriptor : Protobuf.IMessage<LabelDescriptor>, Protobuf.IBufferMessage
A description of a label.
Inheritance
Object >
LabelDescriptor
Namespace
Google.Api
Assembly
Google.Api.CommonProtos.dll
Constructors
LabelDescriptor()
LabelDescriptor(LabelDescriptor)
public LabelDescriptor(LabelDescriptor other)
Parameter
Fields
DescriptionFieldNumber
public const int DescriptionFieldNumber = 3
Field number for the "description" field.
Field Value
KeyFieldNumber
public const int KeyFieldNumber = 1
Field number for the "key" field.
Field Value
ValueTypeFieldNumber
public const int ValueTypeFieldNumber = 2
Field number for the "value_type" field.
Field Value
Properties
Description
public string Description { get; set; }
A human-readable description for the label.
Property Value
Descriptor
public static Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
Key
public string Key { get; set; }
Property Value
Parser
public static Protobuf.MessageParser<LabelDescriptor> Parser { get; }
Property Value
ValueType
public LabelDescriptor.Types.ValueType ValueType { get; set; }
The type of data that can be assigned to the label.
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
Clone()
public LabelDescriptor Clone()
Returns
Equals(LabelDescriptor)
public bool Equals(LabelDescriptor other)
Parameter
Returns
Equals(Object)
public override bool Equals(object other)
Parameter
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(LabelDescriptor)
public void MergeFrom(LabelDescriptor other)
Parameter
public void MergeFrom(Protobuf.CodedInputStream input)
Parameter
ToString()
public override string ToString()
Returns
WriteTo(Protobuf.CodedOutputStream)
public void WriteTo(Protobuf.CodedOutputStream output)
Parameter