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 segment of text output, derived from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eIt implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities for message handling, equality checks, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTextSpan\u003c/code\u003e objects can be constructed with no arguments or with another \u003ccode\u003eTextSpan\u003c/code\u003e object as a parameter, to make a deep clone of the object.\u003c/p\u003e\n"],["\u003cp\u003eIt has two properties: \u003ccode\u003eBeginOffset\u003c/code\u003e, which is an integer representing the start position of the text in the original document, and \u003ccode\u003eContent\u003c/code\u003e, which is a string representing the text content itself.\u003c/p\u003e\n"],["\u003cp\u003eThe object's inheritance chain, as well as the assembly and namespace, are shown to be: \u003ccode\u003eObject > TextSpan\u003c/code\u003e; \u003ccode\u003eGoogle.Cloud.Language.V1.dll\u003c/code\u003e; \u003ccode\u003eGoogle.Cloud.Language.V1\u003c/code\u003e, respectively.\u003c/p\u003e\n"]]],[],null,[]]