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

    Modifier and Type
    Method
    Description
    int
    The column within the line, starting with 1, where the byte is positioned.
    int
    The line, starting with 1, where the byte is positioned.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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.