Interface SourceFileOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    SourceFile, SourceFile.Builder

    public interface SourceFileOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getFilePath()
      Path to the file.
      com.google.protobuf.ByteString getFilePathBytes()
      Path to the file.
      java.lang.String getHostName()
      Name of the host on which the file is located.
      com.google.protobuf.ByteString getHostNameBytes()
      Name of the host on which the file is located.
      java.lang.String getLines​(int index)
      Line-by-line content of the file.
      com.google.protobuf.ByteString getLinesBytes​(int index)
      Line-by-line content of the file.
      int getLinesCount()
      Line-by-line content of the file.
      java.util.List<java.lang.String> getLinesList()
      Line-by-line content of the file.
      • 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 Detail

      • getFilePath

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

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

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

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

        java.util.List<java.lang.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

        java.lang.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

        com.google.protobuf.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.