public FieldInfo.Types.Format Format { get; set; }
The standard format of a field value. This does not explicitly configure
any API consumer, just documents the API's format for the field it is
applied to.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003e\u003ccode\u003eFieldInfo\u003c/code\u003e is a class providing rich semantic information about an API field, going beyond basic typing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFieldInfo\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enabling capabilities like deep cloning and message equality checks.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFieldInfo\u003c/code\u003e contains a \u003ccode\u003eFormat\u003c/code\u003e property to document the API's field value format, a \u003ccode\u003eDescriptor\u003c/code\u003e property to obtain its \u003ccode\u003eMessageDescriptor\u003c/code\u003e, and a \u003ccode\u003eParser\u003c/code\u003e property to get a \u003ccode\u003eMessageParser\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFieldInfo\u003c/code\u003e class contains methods to calculate the message size (\u003ccode\u003eCalculateSize\u003c/code\u003e), create a deep clone (\u003ccode\u003eClone\u003c/code\u003e), check equality (\u003ccode\u003eEquals\u003c/code\u003e), obtain the hash code (\u003ccode\u003eGetHashCode\u003c/code\u003e), merge from another message (\u003ccode\u003eMergeFrom\u003c/code\u003e), and serialize the message to a stream (\u003ccode\u003eWriteTo\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors, a parameterless one and one that accepts another FieldInfo object for initialization.\u003c/p\u003e\n"]]],[],null,["# Class FieldInfo (2.17.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.0 (latest)](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.FieldInfo)\n- [2.15.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.15.0/Google.Api.FieldInfo)\n- [2.10.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.10.0/Google.Api.FieldInfo)\n- [2.2.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.2.0/Google.Api.FieldInfo) \n\n public sealed class FieldInfo : IMessage\u003cFieldInfo\u003e, IEquatable\u003cFieldInfo\u003e, IDeepCloneable\u003cFieldInfo\u003e, IBufferMessage, IMessage\n\nRich semantic information of an API field beyond basic typing. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e FieldInfo \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FieldInfo](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.FieldInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FieldInfo](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.FieldInfo), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[FieldInfo](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.FieldInfo), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)\n\nNamespace\n---------\n\n[Google.Api](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api)\n\nAssembly\n--------\n\nGoogle.Api.CommonProtos.dll\n\nConstructors\n------------\n\n### FieldInfo()\n\n public FieldInfo()\n\n### FieldInfo(FieldInfo)\n\n public FieldInfo(FieldInfo other)\n\nFields\n------\n\n### FormatFieldNumber\n\n public const int FormatFieldNumber = 1\n\nField number for the \"format\" field.\n\n### ReferencedTypesFieldNumber\n\n public const int ReferencedTypesFieldNumber = 2\n\nField number for the \"referenced_types\" field.\n\nProperties\n----------\n\n### Descriptor\n\n public static MessageDescriptor Descriptor { get; }\n\n### Format\n\n public FieldInfo.Types.Format Format { get; set; }\n\nThe standard format of a field value. This does not explicitly configure\nany API consumer, just documents the API's format for the field it is\napplied to.\n\n### Parser\n\n public static MessageParser\u003cFieldInfo\u003e Parser { get; }\n\n### ReferencedTypes\n\n public RepeatedField\u003cTypeReference\u003e ReferencedTypes { get; }\n\nThe type(s) that the annotated, generic field may represent.\n\nCurrently, this must only be used on fields of type `google.protobuf.Any`.\nSupporting other generic types may be considered in the future.\n\nMethods\n-------\n\n### CalculateSize()\n\n public int CalculateSize()\n\n### Clone()\n\n public FieldInfo Clone()\n\n### Equals(FieldInfo)\n\n public bool Equals(FieldInfo other)\n\n### Equals(object)\n\n public override bool Equals(object other)\n\n**Overrides** \n[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object))\n\n### GetHashCode()\n\n public override int GetHashCode()\n\n**Overrides** \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)\n\n### MergeFrom(FieldInfo)\n\n public void MergeFrom(FieldInfo other)\n\n### MergeFrom(CodedInputStream)\n\n public void MergeFrom(CodedInputStream input)\n\n### ToString()\n\n public override string ToString()\n\n**Overrides** \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\n### WriteTo(CodedOutputStream)\n\n public void WriteTo(CodedOutputStream output)"]]