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, detailing its role in handling document sharding."],["The `ShardInfo` class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `object`."],["The documentation includes links to various versions of the API, ranging from the latest `3.19.0` down to `1.0.0`, showing the evolution of the class over time."],["The `ShardInfo` class has properties such as `ShardCount`, `ShardIndex`, and `TextOffset`, which provide specific details about each shard's position and relation to the whole document."],["The page provides two constructors for creating a `ShardInfo` object: a default constructor and a copy constructor that takes another `ShardInfo` instance."]]],[]]