Interface Document.ShardInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Document.ShardInfo
,Document.ShardInfo.Builder
- Enclosing class:
- Document
public static interface Document.ShardInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getShardCount()
Total number of shards.long
getShardIndex()
The 0-based index of this shard.long
getTextOffset()
The index of the first character in [Document.text][google.cloud.documentai.v1beta2.Document.text] in the overall document global text.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getShardIndex
long getShardIndex()
The 0-based index of this shard.
int64 shard_index = 1;
- Returns:
- The shardIndex.
-
getShardCount
long getShardCount()
Total number of shards.
int64 shard_count = 2;
- Returns:
- The shardCount.
-
getTextOffset
long getTextOffset()
The index of the first character in [Document.text][google.cloud.documentai.v1beta2.Document.text] in the overall document global text.
int64 text_offset = 3;
- Returns:
- The textOffset.
-
-