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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage provides reference documentation for the `TextSpan` class within the Google Cloud Natural Language v1 API."],["The `TextSpan` class, representing a piece of text, is available in multiple versions, from 2.2.0 up to the latest 3.7.0."],["`TextSpan` implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, making it versatile for various text manipulation tasks."],["The class has properties like `BeginOffset` and `Content` to help users understand the exact location and content of the output text within the original document."],["There are two constructors available, a basic `TextSpan()` and an overloaded `TextSpan(TextSpan other)` which allows for the cloning of an existing `TextSpan` object."]]],[]]