Interface ManifestProto.CompilationUnitOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getGeneratedByAnnotationProcessor()
      Whether the source was generated by an annotation processor
      java.lang.String getPath()
      The path to the compilation unit
      com.google.protobuf.ByteString getPathBytes()
      The path to the compilation unit
      java.lang.String getPkg()
      The package of the source file
      com.google.protobuf.ByteString getPkgBytes()
      The package of the source file
      java.lang.String getTopLevel​(int index)
      The list of top-level types in the compilation unit
      com.google.protobuf.ByteString getTopLevelBytes​(int index)
      The list of top-level types in the compilation unit
      int getTopLevelCount()
      The list of top-level types in the compilation unit
      java.util.List<java.lang.String> getTopLevelList()
      The list of top-level types in the compilation unit
      boolean hasGeneratedByAnnotationProcessor()
      Whether the source was generated by an annotation processor
      boolean hasPath()
      The path to the compilation unit
      boolean hasPkg()
      The package of the source 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

      • hasPath

        boolean hasPath()
         The path to the compilation unit
         
        optional string path = 1;
        Returns:
        Whether the path field is set.
      • getPath

        java.lang.String getPath()
         The path to the compilation unit
         
        optional string path = 1;
        Returns:
        The path.
      • getPathBytes

        com.google.protobuf.ByteString getPathBytes()
         The path to the compilation unit
         
        optional string path = 1;
        Returns:
        The bytes for path.
      • hasPkg

        boolean hasPkg()
         The package of the source file
         
        optional string pkg = 2;
        Returns:
        Whether the pkg field is set.
      • getPkg

        java.lang.String getPkg()
         The package of the source file
         
        optional string pkg = 2;
        Returns:
        The pkg.
      • getPkgBytes

        com.google.protobuf.ByteString getPkgBytes()
         The package of the source file
         
        optional string pkg = 2;
        Returns:
        The bytes for pkg.
      • hasGeneratedByAnnotationProcessor

        boolean hasGeneratedByAnnotationProcessor()
         Whether the source was generated by an annotation processor
         
        optional bool generated_by_annotation_processor = 3;
        Returns:
        Whether the generatedByAnnotationProcessor field is set.
      • getGeneratedByAnnotationProcessor

        boolean getGeneratedByAnnotationProcessor()
         Whether the source was generated by an annotation processor
         
        optional bool generated_by_annotation_processor = 3;
        Returns:
        The generatedByAnnotationProcessor.
      • getTopLevelList

        java.util.List<java.lang.String> getTopLevelList()
         The list of top-level types in the compilation unit
         
        repeated string top_level = 4;
        Returns:
        A list containing the topLevel.
      • getTopLevelCount

        int getTopLevelCount()
         The list of top-level types in the compilation unit
         
        repeated string top_level = 4;
        Returns:
        The count of topLevel.
      • getTopLevel

        java.lang.String getTopLevel​(int index)
         The list of top-level types in the compilation unit
         
        repeated string top_level = 4;
        Parameters:
        index - The index of the element to return.
        Returns:
        The topLevel at the given index.
      • getTopLevelBytes

        com.google.protobuf.ByteString getTopLevelBytes​(int index)
         The list of top-level types in the compilation unit
         
        repeated string top_level = 4;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the topLevel at the given index.