Interface TextLocator.PositionOrBuilder (3.55.0)

public static interface TextLocator.PositionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getColumn()

public abstract int getColumn()

The column within the line, starting with 1, where the byte is positioned. This is a byte index even though the text is UTF-8.

int32 column = 2;

Returns
Type Description
int

The column.

getLine()

public abstract int getLine()

The line, starting with 1, where the byte is positioned.

int32 line = 1;

Returns
Type Description
int

The line.