Interface Document.TextAnchor.TextSegmentOrBuilder (2.57.0)

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

The endIndex.

getStartIndex()

public abstract long getStartIndex()

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

int64 start_index = 1;

Returns
Type Description
long

The startIndex.