The API calculates the beginning offset of the content in the original
document according to the [EncodingType][google.cloud.language.v1.EncodingType] specified in the API request.
[[["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\u003eTextSpan\u003c/code\u003e class represents a piece of text output and is part of the \u003ccode\u003eGoogle.Cloud.Language.V1\u003c/code\u003e namespace, found within the \u003ccode\u003eGoogle.Cloud.Language.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTextSpan\u003c/code\u003e implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities for message handling, equality comparison, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors, a default \u003ccode\u003eTextSpan()\u003c/code\u003e constructor and another \u003ccode\u003eTextSpan(TextSpan other)\u003c/code\u003e constructor that facilitates copying properties from another instance.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eTextSpan\u003c/code\u003e are \u003ccode\u003eBeginOffset\u003c/code\u003e, an integer indicating the start of the text in the original document, and \u003ccode\u003eContent\u003c/code\u003e, a string containing the text itself.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eTextSpan\u003c/code\u003e is version 3.7.0, while version 2.2.0 is also documented here along with 8 other past versions.\u003c/p\u003e\n"]]],[],null,[]]