public sealed class 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 page provides documentation for the `Document.Types.ShardInfo` class within the Google Cloud Document AI v1 API, detailing its purpose in handling document sharding."],["The `ShardInfo` class, implemented as part of the `Google.Cloud.DocumentAI.V1` namespace, enables the division of large documents into multiple shards and is available in versions 1.0.0 through the latest 3.19.0."],["Key properties of the `ShardInfo` class include `ShardCount`, which specifies the total number of shards, `ShardIndex`, which defines the index of the current shard, and `TextOffset`, which indicates the starting character index within the document's global text."],["The class also implements multiple interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, for protobuf support and deep cloning."],["The `ShardInfo` class has two constructors, one being a parameterless constructor and the other taking an object of the same type as a parameter."]]],[]]