public sealed class ShardInfo : IMessage<Document.Types.ShardInfo>, IEquatable<Document.Types.ShardInfo>, IDeepCloneable<Document.Types.ShardInfo>, IBufferMessage, IMessageReference 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.
Implements
IMessage<Document.Types.ShardInfo>, IEquatable<Document.Types.ShardInfo>, IDeepCloneable<Document.Types.ShardInfo>, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Assembly
Google.Cloud.DocumentAI.V1.dll
Constructors
ShardInfo()
public ShardInfo()ShardInfo(Document.Types.ShardInfo)
public ShardInfo(Document.Types.ShardInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
Document.Types.ShardInfo |
Properties
ShardCount
public long ShardCount { get; set; }Total number of shards.
| Property Value | |
|---|---|
| Type | Description |
Int64 |
|
ShardIndex
public long ShardIndex { get; set; }The 0-based index of this shard.
| Property Value | |
|---|---|
| Type | Description |
Int64 |
|
TextOffset
public long TextOffset { get; set; }The index of the first character in [Document.text][google.cloud.documentai.v1.Document.text] in the overall document global text.
| Property Value | |
|---|---|
| Type | Description |
Int64 |
|