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 v1beta3 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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDocument.Types.ShardInfo\u003c/code\u003e class provides details about individual shards of a large document when sharding is performed.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, within the \u003ccode\u003eGoogle.Cloud.DocumentAI.V1Beta3\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eShardInfo\u003c/code\u003e class includes properties such as \u003ccode\u003eShardCount\u003c/code\u003e, \u003ccode\u003eShardIndex\u003c/code\u003e, and \u003ccode\u003eTextOffset\u003c/code\u003e, which indicate the total number of shards, the index of the current shard, and the text offset within the overall document, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructor options for this class, one default and another accepting a \u003ccode\u003eDocument.Types.ShardInfo\u003c/code\u003e parameter, enabling the creation of new \u003ccode\u003eShardInfo\u003c/code\u003e instances.\u003c/p\u003e\n"]]],[],null,[]]