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 reference documentation for the \u003ccode\u003eDocument.Types.ShardInfo\u003c/code\u003e class in the Cloud Document AI v1 API, detailing its purpose in handling document sharding.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocument.Types.ShardInfo\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1\u003c/code\u003e namespace and is implemented across various versions, from 1.0.0 to the latest version, 3.19.0, and provides methods to use the ShardInfo, as well as which libraries it inherits from.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDocument.Types.ShardInfo\u003c/code\u003e has three properties: \u003ccode\u003eShardCount\u003c/code\u003e, which represents the total number of shards; \u003ccode\u003eShardIndex\u003c/code\u003e, which is the 0-based index of the shard; and \u003ccode\u003eTextOffset\u003c/code\u003e, which is the index of the first character in the global text.\u003c/p\u003e\n"],["\u003cp\u003eThe 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 also inherits members from the \u003ccode\u003eobject\u003c/code\u003e class, adding to its usability across projects.\u003c/p\u003e\n"],["\u003cp\u003eThe page allows users to navigate to different versions of the documentation, ranging from version 1.0.0 up to the most current 3.19.0, allowing for proper version selection and compatibility across projects.\u003c/p\u003e\n"]]],[],null,[]]