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"]],[["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-19 UTC."],[[["\u003cp\u003eThe latest version available for the \u003ccode\u003eDocument.Types.ShardInfo\u003c/code\u003e class in the Cloud Document AI v1 API is 3.19.0, with links provided for previous versions dating back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDocument.Types.ShardInfo\u003c/code\u003e is a class used to detail the specifics of document sharding when a large document is broken down into several shards.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, enabling it to interact with various functionalities within the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eDocument.Types.ShardInfo\u003c/code\u003e has three main properties: \u003ccode\u003eShardCount\u003c/code\u003e to represent the total amount of shards, \u003ccode\u003eShardIndex\u003c/code\u003e to mark the 0 based index of a given shard, and \u003ccode\u003eTextOffset\u003c/code\u003e to mark the index of the first character in the document text.\u003c/p\u003e\n"]]],[],null,[]]