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-03-21 UTC."],[[["This webpage provides documentation for the `Document.Types.ShardInfo` class within the Google Cloud Document AI v1 API, with the current version being 3.16.0, and the latest being 3.19.0."],["`Document.Types.ShardInfo` is used to detail the sharding of large documents, indicating which shard a given document piece is part of."],["The `ShardInfo` class implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` for handling document shard information."],["Key properties of the `ShardInfo` class include `ShardCount`, `ShardIndex`, and `TextOffset`, providing information about the total number of shards, the index of the current shard, and the text offset within the document."],["The page also contains previous versions of the Document AI v1 API class `Document.Types.ShardInfo`, all the way back to version 1.0.0."]]],[]]