public sealed class Document.Types.ShardInfo : IMessage<Document.Types.ShardInfo>, IEquatable<Document.Types.ShardInfo>, IDeepCloneable<Document.Types.ShardInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Document AI v1 API class Document.Types.ShardInfo.
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 provides documentation for the \u003ccode\u003eDocument.Types.ShardInfo\u003c/code\u003e class within the Google Cloud Document AI v1 API, detailing its role in handling document sharding.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eShardInfo\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes links to various versions of the API, ranging from the latest \u003ccode\u003e3.19.0\u003c/code\u003e down to \u003ccode\u003e1.0.0\u003c/code\u003e, showing the evolution of the class over time.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eShardInfo\u003c/code\u003e class has properties such as \u003ccode\u003eShardCount\u003c/code\u003e, \u003ccode\u003eShardIndex\u003c/code\u003e, and \u003ccode\u003eTextOffset\u003c/code\u003e, which provide specific details about each shard's position and relation to the whole document.\u003c/p\u003e\n"],["\u003cp\u003eThe page provides two constructors for creating a \u003ccode\u003eShardInfo\u003c/code\u003e object: a default constructor and a copy constructor that takes another \u003ccode\u003eShardInfo\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]