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 page provides documentation for the `Document.Types.ShardInfo` class within the Google Cloud Document AI v1 API, detailing its role in handling document sharding."],["The `Document.Types.ShardInfo` class is used to provide information about individual shards of a large document, including the shard's index, total shard count, and text offset."],["The latest version available is 3.19.0, and documentation for version 3.18.0 as well as previous versions of the API from 1.0.0 onwards is accessible here."],["The `ShardInfo` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits members from the `object` class."],["`ShardInfo` has three properties,`ShardCount`, `ShardIndex`, and `TextOffset`, which are all of the `long` type and are used to get information about the document shard."]]],[]]