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\u003eThis webpage documents the \u003ccode\u003eShardInfo\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1\u003c/code\u003e namespace, which provides details about document sharding.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eShardInfo\u003c/code\u003e 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, and has inheritance from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the \u003ccode\u003eShardInfo\u003c/code\u003e class is 3.19.0, and the page lists several prior versions all the way back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains three properties: \u003ccode\u003eShardCount\u003c/code\u003e, \u003ccode\u003eShardIndex\u003c/code\u003e, and \u003ccode\u003eTextOffset\u003c/code\u003e, all of which are of type \u003ccode\u003eInt64\u003c/code\u003e, providing information about the total number of shards, the index of the current shard, and the text offset, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eShardInfo\u003c/code\u003e class also includes two constructors, one default and another which takes a \u003ccode\u003eDocument.Types.ShardInfo\u003c/code\u003e object as an argument, allowing for new objects to be instantiated or cloned.\u003c/p\u003e\n"]]],[],null,[]]