Show / Hide Table of Contents

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
System.Object
Document.Types.ShardInfo
Implements
IMessage<Document.Types.ShardInfo>
System.IEquatable<Document.Types.ShardInfo>
IDeepCloneable<Document.Types.ShardInfo>
Google.Protobuf.IBufferMessage
IMessage
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.DocumentAI.V1Beta2
Assembly: Google.Cloud.DocumentAI.V1Beta2.dll
Syntax
public sealed class ShardInfo : IMessage<Document.Types.ShardInfo>, IEquatable<Document.Types.ShardInfo>, IDeepCloneable<Document.Types.ShardInfo>, IBufferMessage, IMessage

Constructors

ShardInfo()

Declaration
public ShardInfo()

ShardInfo(Document.Types.ShardInfo)

Declaration
public ShardInfo(Document.Types.ShardInfo other)
Parameters
Type Name Description
Document.Types.ShardInfo other

Properties

ShardCount

Total number of shards.

Declaration
public long ShardCount { get; set; }
Property Value
Type Description
System.Int64

ShardIndex

The 0-based index of this shard.

Declaration
public long ShardIndex { get; set; }
Property Value
Type Description
System.Int64

TextOffset

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

Declaration
public long TextOffset { get; set; }
Property Value
Type Description
System.Int64
Back to top