Interface Resources.OverlayableItemOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getComment()
      Any comment associated with the declaration.
      com.google.protobuf.ByteString getCommentBytes()
      Any comment associated with the declaration.
      int getOverlayableIdx()
      The index into overlayable list that points to the <overlayable> tag that contains this <item>.
      Resources.OverlayableItem.Policy getPolicy​(int index)
      The policy defined by the enclosing <policy> tag of this <item>.
      int getPolicyCount()
      The policy defined by the enclosing <policy> tag of this <item>.
      java.util.List<Resources.OverlayableItem.Policy> getPolicyList()
      The policy defined by the enclosing <policy> tag of this <item>.
      int getPolicyValue​(int index)
      The policy defined by the enclosing <policy> tag of this <item>.
      java.util.List<java.lang.Integer> getPolicyValueList()
      The policy defined by the enclosing <policy> tag of this <item>.
      Resources.Source getSource()
      The location of the <item> declaration in source.
      Resources.SourceOrBuilder getSourceOrBuilder()
      The location of the <item> declaration in source.
      boolean hasSource()
      The location of the <item> declaration in source.
      • 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

      • hasSource

        boolean hasSource()
         The location of the <item> declaration in source.
         
        .aapt.pb.Source source = 1;
        Returns:
        Whether the source field is set.
      • getSource

        Resources.Source getSource()
         The location of the <item> declaration in source.
         
        .aapt.pb.Source source = 1;
        Returns:
        The source.
      • getSourceOrBuilder

        Resources.SourceOrBuilder getSourceOrBuilder()
         The location of the <item> declaration in source.
         
        .aapt.pb.Source source = 1;
      • getComment

        java.lang.String getComment()
         Any comment associated with the declaration.
         
        string comment = 2;
        Returns:
        The comment.
      • getCommentBytes

        com.google.protobuf.ByteString getCommentBytes()
         Any comment associated with the declaration.
         
        string comment = 2;
        Returns:
        The bytes for comment.
      • getPolicyList

        java.util.List<Resources.OverlayableItem.Policy> getPolicyList()
         The policy defined by the enclosing <policy> tag of this <item>.
         
        repeated .aapt.pb.OverlayableItem.Policy policy = 3;
        Returns:
        A list containing the policy.
      • getPolicyCount

        int getPolicyCount()
         The policy defined by the enclosing <policy> tag of this <item>.
         
        repeated .aapt.pb.OverlayableItem.Policy policy = 3;
        Returns:
        The count of policy.
      • getPolicy

        Resources.OverlayableItem.Policy getPolicy​(int index)
         The policy defined by the enclosing <policy> tag of this <item>.
         
        repeated .aapt.pb.OverlayableItem.Policy policy = 3;
        Parameters:
        index - The index of the element to return.
        Returns:
        The policy at the given index.
      • getPolicyValueList

        java.util.List<java.lang.Integer> getPolicyValueList()
         The policy defined by the enclosing <policy> tag of this <item>.
         
        repeated .aapt.pb.OverlayableItem.Policy policy = 3;
        Returns:
        A list containing the enum numeric values on the wire for policy.
      • getPolicyValue

        int getPolicyValue​(int index)
         The policy defined by the enclosing <policy> tag of this <item>.
         
        repeated .aapt.pb.OverlayableItem.Policy policy = 3;
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of policy at the given index.
      • getOverlayableIdx

        int getOverlayableIdx()
         The index into overlayable list that points to the <overlayable> tag that contains
         this <item>.
         
        uint32 overlayable_idx = 4;
        Returns:
        The overlayableIdx.