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

Stay organized with collections Save and categorize content based on your preferences.
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

GoogleCloudGoogle.Cloud.DocumentAIV1Beta3

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