public sealed class ShardInfo : IMessage<Document.Types.ShardInfo>, IEquatable<Document.Types.ShardInfo>, IDeepCloneable<Document.Types.ShardInfo>, IBufferMessage, IMessage
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-21 UTC."],[[["This webpage details the `ShardInfo` class within the `Google.Cloud.DocumentAI.V1` namespace, which is used for describing document shards when large documents are split."],["The `ShardInfo` class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `Object`."],["The class offers two constructors: a default constructor `ShardInfo()` and another one `ShardInfo(Document.Types.ShardInfo other)` that takes a `Document.Types.ShardInfo` parameter."],["Key properties of the `ShardInfo` class include `ShardCount` (total shards), `ShardIndex` (the shard's index), and `TextOffset` (the starting character index of this shard in the full document's text)."],["This page provides documentation for versions ranging from 1.0.0 up to the latest 3.19.0, and can be found via links to each respective version."]]],[]]