Package p4.config.v1

Interface P4Types.SourceLocationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
P4Types.SourceLocation, P4Types.SourceLocation.Builder
Enclosing class:
P4Types

public static interface P4Types.SourceLocationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    int32 column = 3;
    Path to the source file (absolute or relative to the working directory).
    com.google.protobuf.ByteString
    Path to the source file (absolute or relative to the working directory).
    int
    Line and column numbers within the source file, 1-based.

    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

    • getFile

      String getFile()
       Path to the source file (absolute or relative to the working directory).
       
      string file = 1;
      Returns:
      The file.
    • getFileBytes

      com.google.protobuf.ByteString getFileBytes()
       Path to the source file (absolute or relative to the working directory).
       
      string file = 1;
      Returns:
      The bytes for file.
    • getLine

      int getLine()
       Line and column numbers within the source file, 1-based.
       
      int32 line = 2;
      Returns:
      The line.
    • getColumn

      int getColumn()
      int32 column = 3;
      Returns:
      The column.