Class: Google::Cloud::DocumentAI::V1beta3::Document::ShardInfo
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1beta3::Document::ShardInfo
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1beta3/document.rb
Overview
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.
Instance Attribute Summary collapse
-
#shard_count ⇒ ::Integer
Total number of shards.
-
#shard_index ⇒ ::Integer
The 0-based index of this shard.
-
#text_offset ⇒ ::Integer
The index of the first character in Document.text in the overall document global text.
Instance Attribute Details
#shard_count ⇒ ::Integer
Returns Total number of shards.
97 98 99 100 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 97 class ShardInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#shard_index ⇒ ::Integer
Returns The 0-based index of this shard.
97 98 99 100 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 97 class ShardInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text_offset ⇒ ::Integer
Returns The index of the first character in Document.text in the overall document global text.
97 98 99 100 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 97 class ShardInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |