Interface Document.ShardInfoOrBuilder (2.58.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
Type Description
long

The shardCount.

getShardIndex()

public abstract long getShardIndex()

The 0-based index of this shard.

int64 shard_index = 1;

Returns
Type Description
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
Type Description
long

The textOffset.