Class Resources.Style.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Builder>
com.android.aapt.Resources.Style.Builder
All Implemented Interfaces:
Resources.StyleOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Resources.Style

public static final class Resources.Style.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Builder> implements Resources.StyleOrBuilder
 A value that represents a style.
 
Protobuf type aapt.pb.Style
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Builder>
    • clear

      public Resources.Style.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Builder>
    • getDefaultInstanceForType

      public Resources.Style getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Resources.Style build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Resources.Style buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Resources.Style.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Resources.Style.Builder>
    • mergeFrom

      public Resources.Style.Builder mergeFrom(Resources.Style other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Builder>
    • mergeFrom

      public Resources.Style.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Resources.Style.Builder>
      Throws:
      IOException
    • hasParent

      public boolean hasParent()
       The optinal style from which this style inherits attributes.
       
      .aapt.pb.Reference parent = 1;
      Specified by:
      hasParent in interface Resources.StyleOrBuilder
      Returns:
      Whether the parent field is set.
    • getParent

      public Resources.Reference getParent()
       The optinal style from which this style inherits attributes.
       
      .aapt.pb.Reference parent = 1;
      Specified by:
      getParent in interface Resources.StyleOrBuilder
      Returns:
      The parent.
    • setParent

      public Resources.Style.Builder setParent(Resources.Reference value)
       The optinal style from which this style inherits attributes.
       
      .aapt.pb.Reference parent = 1;
    • setParent

      public Resources.Style.Builder setParent(Resources.Reference.Builder builderForValue)
       The optinal style from which this style inherits attributes.
       
      .aapt.pb.Reference parent = 1;
    • mergeParent

      public Resources.Style.Builder mergeParent(Resources.Reference value)
       The optinal style from which this style inherits attributes.
       
      .aapt.pb.Reference parent = 1;
    • clearParent

      public Resources.Style.Builder clearParent()
       The optinal style from which this style inherits attributes.
       
      .aapt.pb.Reference parent = 1;
    • getParentBuilder

      public Resources.Reference.Builder getParentBuilder()
       The optinal style from which this style inherits attributes.
       
      .aapt.pb.Reference parent = 1;
    • getParentOrBuilder

      public Resources.ReferenceOrBuilder getParentOrBuilder()
       The optinal style from which this style inherits attributes.
       
      .aapt.pb.Reference parent = 1;
      Specified by:
      getParentOrBuilder in interface Resources.StyleOrBuilder
    • hasParentSource

      public boolean hasParentSource()
       The source file information of the parent inheritance declaration.
       
      .aapt.pb.Source parent_source = 2;
      Specified by:
      hasParentSource in interface Resources.StyleOrBuilder
      Returns:
      Whether the parentSource field is set.
    • getParentSource

      public Resources.Source getParentSource()
       The source file information of the parent inheritance declaration.
       
      .aapt.pb.Source parent_source = 2;
      Specified by:
      getParentSource in interface Resources.StyleOrBuilder
      Returns:
      The parentSource.
    • setParentSource

      public Resources.Style.Builder setParentSource(Resources.Source value)
       The source file information of the parent inheritance declaration.
       
      .aapt.pb.Source parent_source = 2;
    • setParentSource

      public Resources.Style.Builder setParentSource(Resources.Source.Builder builderForValue)
       The source file information of the parent inheritance declaration.
       
      .aapt.pb.Source parent_source = 2;
    • mergeParentSource

      public Resources.Style.Builder mergeParentSource(Resources.Source value)
       The source file information of the parent inheritance declaration.
       
      .aapt.pb.Source parent_source = 2;
    • clearParentSource

      public Resources.Style.Builder clearParentSource()
       The source file information of the parent inheritance declaration.
       
      .aapt.pb.Source parent_source = 2;
    • getParentSourceBuilder

      public Resources.Source.Builder getParentSourceBuilder()
       The source file information of the parent inheritance declaration.
       
      .aapt.pb.Source parent_source = 2;
    • getParentSourceOrBuilder

      public Resources.SourceOrBuilder getParentSourceOrBuilder()
       The source file information of the parent inheritance declaration.
       
      .aapt.pb.Source parent_source = 2;
      Specified by:
      getParentSourceOrBuilder in interface Resources.StyleOrBuilder
    • getEntryList

      public List<Resources.Style.Entry> getEntryList()
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
      Specified by:
      getEntryList in interface Resources.StyleOrBuilder
    • getEntryCount

      public int getEntryCount()
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
      Specified by:
      getEntryCount in interface Resources.StyleOrBuilder
    • getEntry

      public Resources.Style.Entry getEntry(int index)
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
      Specified by:
      getEntry in interface Resources.StyleOrBuilder
    • setEntry

      public Resources.Style.Builder setEntry(int index, Resources.Style.Entry value)
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
    • setEntry

      public Resources.Style.Builder setEntry(int index, Resources.Style.Entry.Builder builderForValue)
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
    • addEntry

       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
    • addEntry

      public Resources.Style.Builder addEntry(int index, Resources.Style.Entry value)
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
    • addEntry

      public Resources.Style.Builder addEntry(Resources.Style.Entry.Builder builderForValue)
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
    • addEntry

      public Resources.Style.Builder addEntry(int index, Resources.Style.Entry.Builder builderForValue)
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
    • addAllEntry

      public Resources.Style.Builder addAllEntry(Iterable<? extends Resources.Style.Entry> values)
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
    • clearEntry

      public Resources.Style.Builder clearEntry()
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
    • removeEntry

      public Resources.Style.Builder removeEntry(int index)
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
    • getEntryBuilder

      public Resources.Style.Entry.Builder getEntryBuilder(int index)
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
    • getEntryOrBuilder

      public Resources.Style.EntryOrBuilder getEntryOrBuilder(int index)
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
      Specified by:
      getEntryOrBuilder in interface Resources.StyleOrBuilder
    • getEntryOrBuilderList

      public List<? extends Resources.Style.EntryOrBuilder> getEntryOrBuilderList()
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
      Specified by:
      getEntryOrBuilderList in interface Resources.StyleOrBuilder
    • addEntryBuilder

      public Resources.Style.Entry.Builder addEntryBuilder()
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
    • addEntryBuilder

      public Resources.Style.Entry.Builder addEntryBuilder(int index)
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
    • getEntryBuilderList

      public List<Resources.Style.Entry.Builder> getEntryBuilderList()
       The set of XML attribute/value pairs for this style.
       
      repeated .aapt.pb.Style.Entry entry = 3;
    • setUnknownFields

      public final Resources.Style.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Builder>
    • mergeUnknownFields

      public final Resources.Style.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Builder>