Interface TextLocator.PositionOrBuilder (3.4.4)

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
TypeDescription
int

The column.

getLine()

public abstract int getLine()

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

int32 line = 1;

Returns
TypeDescription
int

The line.