public sealed class ShardInfo : IMessage<Document.Types.ShardInfo>, IEquatable<Document.Types.ShardInfo>, IDeepCloneable<Document.Types.ShardInfo>, IBufferMessage, IMessage
For a large document, sharding may be performed to produce several
document shards. Each document shard contains this field to detail which
shard it is.
[[["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."],[[["The webpage provides documentation for the `ShardInfo` class within the `Google.Cloud.DocumentAI.V1` namespace, detailing how to manage document shards."],["`ShardInfo` is used to provide details about a specific shard when a large document is divided into multiple parts, implementing interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class offers properties like `ShardCount`, `ShardIndex`, and `TextOffset` to define the total number of shards, the index of the current shard, and the starting character index of the shard's text within the complete document's text, respectively."],["There are two constructors provided, a default one (`ShardInfo()`) and another one that takes an existing `Document.Types.ShardInfo` object as a parameter (`ShardInfo(Document.Types.ShardInfo other)`), for easier creation of shards."],["The webpage also contains a comprehensive list of prior versions from the latest version (3.19.0) to the oldest version (1.0.0) of the documented class, and every version in between."]]],[]]