Class Document.Types.ShardInfo (1.5.0)

public sealed class ShardInfo : IMessage<Document.Types.ShardInfo>, IEquatable<Document.Types.ShardInfo>, IDeepCloneable<Document.Types.ShardInfo>, IBufferMessage, IMessage

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

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

ShardInfo()

public ShardInfo()

ShardInfo(Document.Types.ShardInfo)

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

Properties

ShardCount

public long ShardCount { get; set; }

Total number of shards.

Property Value
TypeDescription
Int64

ShardIndex

public long ShardIndex { get; set; }

The 0-based index of this shard.

Property Value
TypeDescription
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
TypeDescription
Int64