public sealed class Field : IMessage<StructType.Types.Field>, IEquatable<StructType.Types.Field>, IDeepCloneable<StructType.Types.Field>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class StructType.Types.Field.
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\u003eThe \u003ccode\u003eStructType.Types.Field\u003c/code\u003e class represents a single field within a struct for the Google Cloud Spanner v1 API, as detailed in the reference documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is \u003ccode\u003e5.0.0-beta05\u003c/code\u003e, with various versions including stable releases from \u003ccode\u003e4.6.0\u003c/code\u003e to \u003ccode\u003e4.0.0\u003c/code\u003e and \u003ccode\u003e3.15.1\u003c/code\u003e to \u003ccode\u003e3.5.0\u003c/code\u003e available, demonstrating the evolution of the API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eField\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties for \u003ccode\u003eName\u003c/code\u003e, representing the field's name, and \u003ccode\u003eType\u003c/code\u003e, representing the field's data type, both essential for understanding the structure of the field.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available for the \u003ccode\u003eField\u003c/code\u003e class: the default \u003ccode\u003eField()\u003c/code\u003e constructor and the \u003ccode\u003eField(StructType.Types.Field other)\u003c/code\u003e constructor that allows for creation using another \u003ccode\u003eStructType.Types.Field\u003c/code\u003e as a template.\u003c/p\u003e\n"]]],[],null,[]]