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."],[[["The page provides documentation for the `Document.Types.ShardInfo` class within the Google Cloud Document AI v1 API, covering versions 1.0.0 through 3.19.0, with the latest release being 3.19.0."],["`Document.Types.ShardInfo` is designed for large documents that are split into multiple shards, and each document shard uses this class to detail its specific shard information."],["This class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the base `object` class, with multiple versions of the class being available in the documentation."],["The class includes properties like `ShardCount`, `ShardIndex`, and `TextOffset` to provide information about the total number of shards, the index of the current shard, and the text offset within the document, respectively, each as a `long` type."],["The available documentation includes a detailed description of the `ShardInfo` class constructor, which has two overloads allowing either an empty constructor, or one that is passed a Document.Types.ShardInfo object."]]],[]]