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 Summary

    Modifier and Type
    Method
    Description
    int
    A bitmask of types that this XML attribute accepts.
    int
    The largest integer allowed for this XML attribute.
    int
    The smallest integer allowed for this XML attribute.
    getSymbol(int index)
    The set of enums/flags defined in this attribute.
    int
    The set of enums/flags defined in this attribute.
    The set of enums/flags defined in this attribute.
    getSymbolOrBuilder(int index)
    The set of enums/flags defined in this attribute.
    The set of enums/flags defined in this attribute.

    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 Details

    • 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

       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

      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;