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-03-24 UTC."],[[["The `Document.Types.ShardInfo` class is part of the Cloud Document AI v1beta3 API and is used to provide details about document sharding."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the base object class."],["The `ShardInfo` class contains three properties: `ShardCount` (total number of shards), `ShardIndex` (0-based index of the current shard), and `TextOffset` (starting index of the shard's text within the complete document)."],["There are two constructors available for creating `ShardInfo` objects, one being the basic default, and the other one allowing you to copy a pre-existing instance of the class."],["The latest version of the API is `2.0.0-beta23`, and there are older versions listed, such as `2.0.0-beta22` and `1.0.0-beta04`, all of which are linked to the documentation for the `ShardInfo` class."]]],[]]