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, part of the Google Cloud Natural Language v1 API, represents a segment of text output.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, demonstrating its role within the broader API structure.\u003c/p\u003e\n"],["\u003cp\u003eIt provides two constructors: a default constructor and one that creates a \u003ccode\u003eTextSpan\u003c/code\u003e instance from another \u003ccode\u003eTextSpan\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTextSpan\u003c/code\u003e objects contain two primary properties: \u003ccode\u003eBeginOffset\u003c/code\u003e, an integer indicating the starting position of the text in the original document, and \u003ccode\u003eContent\u003c/code\u003e, a string holding the text itself.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.7.0 and the list contains the available versions from 2.2.0 all the way up to 3.7.0.\u003c/p\u003e\n"]]],[],null,[]]