Package com.google.monitoring.v3
Interface TextLocator.PositionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TextLocator.Position
,TextLocator.Position.Builder
- Enclosing class:
- TextLocator
public static interface TextLocator.PositionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getColumn()
The column within the line, starting with 1, where the byte is positioned.int
getLine()
The line, starting with 1, where the byte is positioned.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLine
int getLine()
The line, starting with 1, where the byte is positioned.
int32 line = 1;
- Returns:
- The line.
-
getColumn
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:
- The column.
-
-