Cloud Document AI v1beta3 API - Class Document.Types.ShardInfo (2.0.0-beta19)

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 v1beta3 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.

Inheritance

object > Document.Types.ShardInfo

Namespace

Google.Cloud.DocumentAI.V1Beta3

Assembly

Google.Cloud.DocumentAI.V1Beta3.dll

Constructors

ShardInfo()

public ShardInfo()

ShardInfo(ShardInfo)

public ShardInfo(Document.Types.ShardInfo other)
Parameter
NameDescription
otherDocumentTypesShardInfo

Properties

ShardCount

public long ShardCount { get; set; }

Total number of shards.

Property Value
TypeDescription
long

ShardIndex

public long ShardIndex { get; set; }

The 0-based index of this shard.

Property Value
TypeDescription
long

TextOffset

public long TextOffset { get; set; }

The index of the first character in [Document.text][google.cloud.documentai.v1beta3.Document.text] in the overall document global text.

Property Value
TypeDescription
long