Interface Resources.AttributeOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Resources.Attribute, Resources.Attribute.Builder
    Enclosing class:
    Resources

    public static interface Resources.AttributeOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getFormatFlags

        int getFormatFlags()
         A bitmask of types that this XML attribute accepts. Corresponds to the flags in the
         enum FormatFlags.
         
        uint32 format_flags = 1;
        Returns:
        The formatFlags.
      • getMinInt

        int getMinInt()
         The smallest integer allowed for this XML attribute. Only makes sense if the format includes
         FormatFlags::INTEGER.
         
        int32 min_int = 2;
        Returns:
        The minInt.
      • getMaxInt

        int getMaxInt()
         The largest integer allowed for this XML attribute. Only makes sense if the format includes
         FormatFlags::INTEGER.
         
        int32 max_int = 3;
        Returns:
        The maxInt.
      • getSymbolList

        java.util.List<Resources.Attribute.Symbol> getSymbolList()
         The set of enums/flags defined in this attribute. Only makes sense if the format includes
         either FormatFlags::ENUM or FormatFlags::FLAGS. Having both is an error.
         
        repeated .aapt.pb.Attribute.Symbol symbol = 4;
      • getSymbol

        Resources.Attribute.Symbol getSymbol​(int index)
         The set of enums/flags defined in this attribute. Only makes sense if the format includes
         either FormatFlags::ENUM or FormatFlags::FLAGS. Having both is an error.
         
        repeated .aapt.pb.Attribute.Symbol symbol = 4;
      • getSymbolCount

        int getSymbolCount()
         The set of enums/flags defined in this attribute. Only makes sense if the format includes
         either FormatFlags::ENUM or FormatFlags::FLAGS. Having both is an error.
         
        repeated .aapt.pb.Attribute.Symbol symbol = 4;
      • getSymbolOrBuilderList

        java.util.List<? extends Resources.Attribute.SymbolOrBuilder> getSymbolOrBuilderList()
         The set of enums/flags defined in this attribute. Only makes sense if the format includes
         either FormatFlags::ENUM or FormatFlags::FLAGS. Having both is an error.
         
        repeated .aapt.pb.Attribute.Symbol symbol = 4;
      • getSymbolOrBuilder

        Resources.Attribute.SymbolOrBuilder getSymbolOrBuilder​(int index)
         The set of enums/flags defined in this attribute. Only makes sense if the format includes
         either FormatFlags::ENUM or FormatFlags::FLAGS. Having both is an error.
         
        repeated .aapt.pb.Attribute.Symbol symbol = 4;