Interface Document.TextAnchor.TextSegmentOrBuilder (2.6.2)

Stay organized with collections Save and categorize content based on your preferences.
public static interface Document.TextAnchor.TextSegmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndIndex()

public abstract long getEndIndex()

TextSegment half open end UTF-8 char index in the Document.text.

int64 end_index = 2;

Returns
TypeDescription
long

The endIndex.

getStartIndex()

public abstract long getStartIndex()

TextSegment start UTF-8 char index in the Document.text.

int64 start_index = 1;

Returns
TypeDescription
long

The startIndex.