public sealed class Field : IMessage<StructType.Types.Field>, IEquatable<StructType.Types.Field>, IDeepCloneable<StructType.Types.Field>, IBufferMessage, IMessage
The name of the field. For reads, this is the column name. For
SQL queries, it is the column alias (e.g., "Word" in the
query "SELECT 'hello' AS Word"), or the column name (e.g.,
"ColName" in the query "SELECT ColName FROM Table"). Some
columns might have an empty name (e.g., "SELECT
UPPER(ColName)"). Note that a query result can contain
multiple fields with the same name.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eField\u003c/code\u003e class, which represents a single field within a struct in Google Cloud Spanner.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eField\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 functionality for message handling, equality comparison, deep cloning, and buffer message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists multiple versions of the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e library, ranging from version \u003ccode\u003e3.5.0\u003c/code\u003e to the latest beta version \u003ccode\u003e5.0.0-beta05\u003c/code\u003e, along with associated documentation links for each.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eField\u003c/code\u003e class has two constructors, one default and another which accepts an instance of \u003ccode\u003eStructType.Types.Field\u003c/code\u003e as parameter, allowing for the initialization of a \u003ccode\u003eField\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe key properties of the Field class are \u003ccode\u003eName\u003c/code\u003e, representing the column or alias name, and \u003ccode\u003eType\u003c/code\u003e, indicating the data type of the field.\u003c/p\u003e\n"]]],[],null,[]]