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"]],[["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-19 UTC."],[[["\u003cp\u003eThe webpage provides documentation for the \u003ccode\u003eShardInfo\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1\u003c/code\u003e namespace, detailing how to manage document shards.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eShardInfo\u003c/code\u003e is used to provide details about a specific shard when a large document is divided into multiple parts, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties like \u003ccode\u003eShardCount\u003c/code\u003e, \u003ccode\u003eShardIndex\u003c/code\u003e, and \u003ccode\u003eTextOffset\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors provided, a default one (\u003ccode\u003eShardInfo()\u003c/code\u003e) and another one that takes an existing \u003ccode\u003eDocument.Types.ShardInfo\u003c/code\u003e object as a parameter (\u003ccode\u003eShardInfo(Document.Types.ShardInfo other)\u003c/code\u003e), for easier creation of shards.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\u003c/p\u003e\n"]]],[],null,[]]