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 page provides documentation for the \u003ccode\u003eDocument.Types.ShardInfo\u003c/code\u003e class within the Google Cloud Document AI v1 API, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDocument.Types.ShardInfo\u003c/code\u003e is designed to provide information about sharding in large documents, breaking it down into the index, count, and offset of shards.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists available versions of the \u003ccode\u003eDocument.Types.ShardInfo\u003c/code\u003e class, ranging from the latest version 3.19.0 down to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe listed \u003ccode\u003eDocument.Types.ShardInfo\u003c/code\u003e class implements several interfaces, including IMessage, IEquatable, IDeepCloneable, and IBufferMessage, and has inherited members such as GetHashCode, GetType, and ToString.\u003c/p\u003e\n"],["\u003cp\u003eThe ShardInfo class has 3 properties that can be set, ShardCount, ShardIndex and TextOffset, all of type \u003ccode\u003elong\u003c/code\u003e, to indicate the number of shards, the index of a particular shard, and the index of the first character in the \u003ccode\u003eDocument.text\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]