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.
Implements
IMessageDocumentTypesShardInfo, IEquatableDocumentTypesShardInfo, IDeepCloneableDocumentTypesShardInfo, IBufferMessage, IMessageNamespace
Google.Cloud.DocumentAI.V1Assembly
Google.Cloud.DocumentAI.V1.dll
Constructors
ShardInfo()
public ShardInfo()
ShardInfo(ShardInfo)
public ShardInfo(Document.Types.ShardInfo other)
Parameter | |
---|---|
Name | Description |
other |
DocumentTypesShardInfo |
Properties
ShardCount
public long ShardCount { get; set; }
Total number of shards.
Property Value | |
---|---|
Type | Description |
long |
ShardIndex
public long ShardIndex { get; set; }
The 0-based index of this shard.
Property Value | |
---|---|
Type | Description |
long |
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 |
long |