Interface Document.ShardInfoOrBuilder (2.15.0)

public static interface Document.ShardInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getShardCount()

public abstract long getShardCount()

Total number of shards.

int64 shard_count = 2;

Returns
TypeDescription
long

The shardCount.

getShardIndex()

public abstract long getShardIndex()

The 0-based index of this shard.

int64 shard_index = 1;

Returns
TypeDescription
long

The shardIndex.

getTextOffset()

public abstract long getTextOffset()

The index of the first character in Document.text in the overall document global text.

int64 text_offset = 3;

Returns
TypeDescription
long

The textOffset.