Interface SourceFileOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
SourceFile, SourceFile.Builder

public interface SourceFileOrBuilder extends MessageOrBuilder
  • Method Details

    • getFilePath

      String getFilePath()
      Path to the file.
      
      string file_path = 1;
      Returns:
      The filePath.
    • getFilePathBytes

      ByteString getFilePathBytes()
      Path to the file.
      
      string file_path = 1;
      Returns:
      The bytes for filePath.
    • getHostName

      String getHostName()
      Name of the host on which the file is located.
      
      string host_name = 2;
      Returns:
      The hostName.
    • getHostNameBytes

      ByteString getHostNameBytes()
      Name of the host on which the file is located.
      
      string host_name = 2;
      Returns:
      The bytes for hostName.
    • getLinesList

      List<String> getLinesList()
      Line-by-line content of the file.
      
      repeated string lines = 3;
      Returns:
      A list containing the lines.
    • getLinesCount

      int getLinesCount()
      Line-by-line content of the file.
      
      repeated string lines = 3;
      Returns:
      The count of lines.
    • getLines

      String getLines(int index)
      Line-by-line content of the file.
      
      repeated string lines = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The lines at the given index.
    • getLinesBytes

      ByteString getLinesBytes(int index)
      Line-by-line content of the file.
      
      repeated string lines = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the lines at the given index.