Interface Resources.ReferenceOrBuilder

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

    public static interface Resources.ReferenceOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getAllowRaw()
      Whether raw string values would have been accepted in place of this reference definition.
      int getId()
      The resource ID (0xPPTTEEEE) of the resource being referred.
      Resources.Boolean getIsDynamic()
      Whether this reference is dynamic.
      Resources.BooleanOrBuilder getIsDynamicOrBuilder()
      Whether this reference is dynamic.
      java.lang.String getName()
      The name of the resource being referred.
      com.google.protobuf.ByteString getNameBytes()
      The name of the resource being referred.
      boolean getPrivate()
      Whether this reference is referencing a private resource (@*package:type/entry).
      Resources.Reference.Type getType()
      .aapt.pb.Reference.Type type = 1;
      int getTypeFlags()
      The type flags used when compiling the reference.
      int getTypeValue()
      .aapt.pb.Reference.Type type = 1;
      boolean hasIsDynamic()
      Whether this reference is dynamic.
      • 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

      • getTypeValue

        int getTypeValue()
        .aapt.pb.Reference.Type type = 1;
        Returns:
        The enum numeric value on the wire for type.
      • getId

        int getId()
         The resource ID (0xPPTTEEEE) of the resource being referred. This is optional.
         
        uint32 id = 2;
        Returns:
        The id.
      • getName

        java.lang.String getName()
         The name of the resource being referred. This is optional if the resource ID is set.
         
        string name = 3;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name of the resource being referred. This is optional if the resource ID is set.
         
        string name = 3;
        Returns:
        The bytes for name.
      • getPrivate

        boolean getPrivate()
         Whether this reference is referencing a private resource (@*package:type/entry).
         
        bool private = 4;
        Returns:
        The private.
      • hasIsDynamic

        boolean hasIsDynamic()
         Whether this reference is dynamic.
         
        .aapt.pb.Boolean is_dynamic = 5;
        Returns:
        Whether the isDynamic field is set.
      • getIsDynamic

        Resources.Boolean getIsDynamic()
         Whether this reference is dynamic.
         
        .aapt.pb.Boolean is_dynamic = 5;
        Returns:
        The isDynamic.
      • getIsDynamicOrBuilder

        Resources.BooleanOrBuilder getIsDynamicOrBuilder()
         Whether this reference is dynamic.
         
        .aapt.pb.Boolean is_dynamic = 5;
      • getTypeFlags

        int getTypeFlags()
         The type flags used when compiling the reference. Used for substituting the contents of macros.
         
        uint32 type_flags = 6;
        Returns:
        The typeFlags.
      • getAllowRaw

        boolean getAllowRaw()
         Whether raw string values would have been accepted in place of this reference definition. Used
         for substituting the contents of macros.
         
        bool allow_raw = 7;
        Returns:
        The allowRaw.