Documentation ¶
Index ¶
- Variables
- type AllowNew
- type Array
- type Array_Element
- func (*Array_Element) Descriptor() ([]byte, []int)deprecated
- func (x *Array_Element) GetComment() string
- func (x *Array_Element) GetItem() *Item
- func (x *Array_Element) GetSource() *Source
- func (*Array_Element) ProtoMessage()
- func (x *Array_Element) ProtoReflect() protoreflect.Message
- func (x *Array_Element) Reset()
- func (x *Array_Element) String() string
- type Attribute
- func (*Attribute) Descriptor() ([]byte, []int)deprecated
- func (x *Attribute) GetFormatFlags() uint32
- func (x *Attribute) GetMaxInt() int32
- func (x *Attribute) GetMinInt() int32
- func (x *Attribute) GetSymbol() []*Attribute_Symbol
- func (*Attribute) ProtoMessage()
- func (x *Attribute) ProtoReflect() protoreflect.Message
- func (x *Attribute) Reset()
- func (x *Attribute) String() string
- type Attribute_FormatFlags
- func (Attribute_FormatFlags) Descriptor() protoreflect.EnumDescriptor
- func (x Attribute_FormatFlags) Enum() *Attribute_FormatFlags
- func (Attribute_FormatFlags) EnumDescriptor() ([]byte, []int)deprecated
- func (x Attribute_FormatFlags) Number() protoreflect.EnumNumber
- func (x Attribute_FormatFlags) String() string
- func (Attribute_FormatFlags) Type() protoreflect.EnumType
- type Attribute_Symbol
- func (*Attribute_Symbol) Descriptor() ([]byte, []int)deprecated
- func (x *Attribute_Symbol) GetComment() string
- func (x *Attribute_Symbol) GetName() *Reference
- func (x *Attribute_Symbol) GetSource() *Source
- func (x *Attribute_Symbol) GetType() uint32
- func (x *Attribute_Symbol) GetValue() uint32
- func (*Attribute_Symbol) ProtoMessage()
- func (x *Attribute_Symbol) ProtoReflect() protoreflect.Message
- func (x *Attribute_Symbol) Reset()
- func (x *Attribute_Symbol) String() string
- type Boolean
- type CompoundValue
- func (*CompoundValue) Descriptor() ([]byte, []int)deprecated
- func (x *CompoundValue) GetArray() *Array
- func (x *CompoundValue) GetAttr() *Attribute
- func (x *CompoundValue) GetMacro() *MacroBody
- func (x *CompoundValue) GetPlural() *Plural
- func (x *CompoundValue) GetStyle() *Style
- func (x *CompoundValue) GetStyleable() *Styleable
- func (m *CompoundValue) GetValue() isCompoundValue_Value
- func (*CompoundValue) ProtoMessage()
- func (x *CompoundValue) ProtoReflect() protoreflect.Message
- func (x *CompoundValue) Reset()
- func (x *CompoundValue) String() string
- type CompoundValue_Array
- type CompoundValue_Attr
- type CompoundValue_Macro
- type CompoundValue_Plural
- type CompoundValue_Style
- type CompoundValue_Styleable
- type ConfigValue
- func (*ConfigValue) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigValue) GetConfig() *Configuration
- func (x *ConfigValue) GetValue() *Value
- func (*ConfigValue) ProtoMessage()
- func (x *ConfigValue) ProtoReflect() protoreflect.Message
- func (x *ConfigValue) Reset()
- func (x *ConfigValue) String() string
- type Configuration
- func (*Configuration) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration) GetDensity() uint32
- func (x *Configuration) GetHdr() Configuration_Hdr
- func (x *Configuration) GetKeyboard() Configuration_Keyboard
- func (x *Configuration) GetKeysHidden() Configuration_KeysHidden
- func (x *Configuration) GetLayoutDirection() Configuration_LayoutDirection
- func (x *Configuration) GetLocale() string
- func (x *Configuration) GetMcc() uint32
- func (x *Configuration) GetMnc() uint32
- func (x *Configuration) GetNavHidden() Configuration_NavHidden
- func (x *Configuration) GetNavigation() Configuration_Navigation
- func (x *Configuration) GetOrientation() Configuration_Orientation
- func (x *Configuration) GetProduct() string
- func (x *Configuration) GetScreenHeight() uint32
- func (x *Configuration) GetScreenHeightDp() uint32
- func (x *Configuration) GetScreenLayoutLong() Configuration_ScreenLayoutLong
- func (x *Configuration) GetScreenLayoutSize() Configuration_ScreenLayoutSize
- func (x *Configuration) GetScreenRound() Configuration_ScreenRound
- func (x *Configuration) GetScreenWidth() uint32
- func (x *Configuration) GetScreenWidthDp() uint32
- func (x *Configuration) GetSdkVersion() uint32
- func (x *Configuration) GetSmallestScreenWidthDp() uint32
- func (x *Configuration) GetTouchscreen() Configuration_Touchscreen
- func (x *Configuration) GetUiModeNight() Configuration_UiModeNight
- func (x *Configuration) GetUiModeType() Configuration_UiModeType
- func (x *Configuration) GetWideColorGamut() Configuration_WideColorGamut
- func (*Configuration) ProtoMessage()
- func (x *Configuration) ProtoReflect() protoreflect.Message
- func (x *Configuration) Reset()
- func (x *Configuration) String() string
- type Configuration_Hdr
- func (Configuration_Hdr) Descriptor() protoreflect.EnumDescriptor
- func (x Configuration_Hdr) Enum() *Configuration_Hdr
- func (Configuration_Hdr) EnumDescriptor() ([]byte, []int)deprecated
- func (x Configuration_Hdr) Number() protoreflect.EnumNumber
- func (x Configuration_Hdr) String() string
- func (Configuration_Hdr) Type() protoreflect.EnumType
- type Configuration_Keyboard
- func (Configuration_Keyboard) Descriptor() protoreflect.EnumDescriptor
- func (x Configuration_Keyboard) Enum() *Configuration_Keyboard
- func (Configuration_Keyboard) EnumDescriptor() ([]byte, []int)deprecated
- func (x Configuration_Keyboard) Number() protoreflect.EnumNumber
- func (x Configuration_Keyboard) String() string
- func (Configuration_Keyboard) Type() protoreflect.EnumType
- type Configuration_KeysHidden
- func (Configuration_KeysHidden) Descriptor() protoreflect.EnumDescriptor
- func (x Configuration_KeysHidden) Enum() *Configuration_KeysHidden
- func (Configuration_KeysHidden) EnumDescriptor() ([]byte, []int)deprecated
- func (x Configuration_KeysHidden) Number() protoreflect.EnumNumber
- func (x Configuration_KeysHidden) String() string
- func (Configuration_KeysHidden) Type() protoreflect.EnumType
- type Configuration_LayoutDirection
- func (Configuration_LayoutDirection) Descriptor() protoreflect.EnumDescriptor
- func (x Configuration_LayoutDirection) Enum() *Configuration_LayoutDirection
- func (Configuration_LayoutDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x Configuration_LayoutDirection) Number() protoreflect.EnumNumber
- func (x Configuration_LayoutDirection) String() string
- func (Configuration_LayoutDirection) Type() protoreflect.EnumType
- type Configuration_NavHidden
- func (Configuration_NavHidden) Descriptor() protoreflect.EnumDescriptor
- func (x Configuration_NavHidden) Enum() *Configuration_NavHidden
- func (Configuration_NavHidden) EnumDescriptor() ([]byte, []int)deprecated
- func (x Configuration_NavHidden) Number() protoreflect.EnumNumber
- func (x Configuration_NavHidden) String() string
- func (Configuration_NavHidden) Type() protoreflect.EnumType
- type Configuration_Navigation
- func (Configuration_Navigation) Descriptor() protoreflect.EnumDescriptor
- func (x Configuration_Navigation) Enum() *Configuration_Navigation
- func (Configuration_Navigation) EnumDescriptor() ([]byte, []int)deprecated
- func (x Configuration_Navigation) Number() protoreflect.EnumNumber
- func (x Configuration_Navigation) String() string
- func (Configuration_Navigation) Type() protoreflect.EnumType
- type Configuration_Orientation
- func (Configuration_Orientation) Descriptor() protoreflect.EnumDescriptor
- func (x Configuration_Orientation) Enum() *Configuration_Orientation
- func (Configuration_Orientation) EnumDescriptor() ([]byte, []int)deprecated
- func (x Configuration_Orientation) Number() protoreflect.EnumNumber
- func (x Configuration_Orientation) String() string
- func (Configuration_Orientation) Type() protoreflect.EnumType
- type Configuration_ScreenLayoutLong
- func (Configuration_ScreenLayoutLong) Descriptor() protoreflect.EnumDescriptor
- func (x Configuration_ScreenLayoutLong) Enum() *Configuration_ScreenLayoutLong
- func (Configuration_ScreenLayoutLong) EnumDescriptor() ([]byte, []int)deprecated
- func (x Configuration_ScreenLayoutLong) Number() protoreflect.EnumNumber
- func (x Configuration_ScreenLayoutLong) String() string
- func (Configuration_ScreenLayoutLong) Type() protoreflect.EnumType
- type Configuration_ScreenLayoutSize
- func (Configuration_ScreenLayoutSize) Descriptor() protoreflect.EnumDescriptor
- func (x Configuration_ScreenLayoutSize) Enum() *Configuration_ScreenLayoutSize
- func (Configuration_ScreenLayoutSize) EnumDescriptor() ([]byte, []int)deprecated
- func (x Configuration_ScreenLayoutSize) Number() protoreflect.EnumNumber
- func (x Configuration_ScreenLayoutSize) String() string
- func (Configuration_ScreenLayoutSize) Type() protoreflect.EnumType
- type Configuration_ScreenRound
- func (Configuration_ScreenRound) Descriptor() protoreflect.EnumDescriptor
- func (x Configuration_ScreenRound) Enum() *Configuration_ScreenRound
- func (Configuration_ScreenRound) EnumDescriptor() ([]byte, []int)deprecated
- func (x Configuration_ScreenRound) Number() protoreflect.EnumNumber
- func (x Configuration_ScreenRound) String() string
- func (Configuration_ScreenRound) Type() protoreflect.EnumType
- type Configuration_Touchscreen
- func (Configuration_Touchscreen) Descriptor() protoreflect.EnumDescriptor
- func (x Configuration_Touchscreen) Enum() *Configuration_Touchscreen
- func (Configuration_Touchscreen) EnumDescriptor() ([]byte, []int)deprecated
- func (x Configuration_Touchscreen) Number() protoreflect.EnumNumber
- func (x Configuration_Touchscreen) String() string
- func (Configuration_Touchscreen) Type() protoreflect.EnumType
- type Configuration_UiModeNight
- func (Configuration_UiModeNight) Descriptor() protoreflect.EnumDescriptor
- func (x Configuration_UiModeNight) Enum() *Configuration_UiModeNight
- func (Configuration_UiModeNight) EnumDescriptor() ([]byte, []int)deprecated
- func (x Configuration_UiModeNight) Number() protoreflect.EnumNumber
- func (x Configuration_UiModeNight) String() string
- func (Configuration_UiModeNight) Type() protoreflect.EnumType
- type Configuration_UiModeType
- func (Configuration_UiModeType) Descriptor() protoreflect.EnumDescriptor
- func (x Configuration_UiModeType) Enum() *Configuration_UiModeType
- func (Configuration_UiModeType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Configuration_UiModeType) Number() protoreflect.EnumNumber
- func (x Configuration_UiModeType) String() string
- func (Configuration_UiModeType) Type() protoreflect.EnumType
- type Configuration_WideColorGamut
- func (Configuration_WideColorGamut) Descriptor() protoreflect.EnumDescriptor
- func (x Configuration_WideColorGamut) Enum() *Configuration_WideColorGamut
- func (Configuration_WideColorGamut) EnumDescriptor() ([]byte, []int)deprecated
- func (x Configuration_WideColorGamut) Number() protoreflect.EnumNumber
- func (x Configuration_WideColorGamut) String() string
- func (Configuration_WideColorGamut) Type() protoreflect.EnumType
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Entry) GetAllowNew() *AllowNew
- func (x *Entry) GetConfigValue() []*ConfigValue
- func (x *Entry) GetEntryId() *EntryId
- func (x *Entry) GetName() string
- func (x *Entry) GetOverlayableItem() *OverlayableItem
- func (x *Entry) GetStagedId() *StagedId
- func (x *Entry) GetVisibility() *Visibility
- func (*Entry) ProtoMessage()
- func (x *Entry) ProtoReflect() protoreflect.Message
- func (x *Entry) Reset()
- func (x *Entry) String() string
- type EntryId
- type FileReference
- func (*FileReference) Descriptor() ([]byte, []int)deprecated
- func (x *FileReference) GetPath() string
- func (x *FileReference) GetType() FileReference_Type
- func (*FileReference) ProtoMessage()
- func (x *FileReference) ProtoReflect() protoreflect.Message
- func (x *FileReference) Reset()
- func (x *FileReference) String() string
- type FileReference_Type
- func (FileReference_Type) Descriptor() protoreflect.EnumDescriptor
- func (x FileReference_Type) Enum() *FileReference_Type
- func (FileReference_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x FileReference_Type) Number() protoreflect.EnumNumber
- func (x FileReference_Type) String() string
- func (FileReference_Type) Type() protoreflect.EnumType
- type Id
- type Item
- func (*Item) Descriptor() ([]byte, []int)deprecated
- func (x *Item) GetFile() *FileReference
- func (x *Item) GetId() *Id
- func (x *Item) GetPrim() *Primitive
- func (x *Item) GetRawStr() *RawString
- func (x *Item) GetRef() *Reference
- func (x *Item) GetStr() *String
- func (x *Item) GetStyledStr() *StyledString
- func (m *Item) GetValue() isItem_Value
- func (*Item) ProtoMessage()
- func (x *Item) ProtoReflect() protoreflect.Message
- func (x *Item) Reset()
- func (x *Item) String() string
- type Item_File
- type Item_Id
- type Item_Prim
- type Item_RawStr
- type Item_Ref
- type Item_Str
- type Item_StyledStr
- type MacroBody
- func (*MacroBody) Descriptor() ([]byte, []int)deprecated
- func (x *MacroBody) GetNamespaceStack() []*NamespaceAlias
- func (x *MacroBody) GetRawString() string
- func (x *MacroBody) GetSource() *SourcePosition
- func (x *MacroBody) GetStyleString() *StyleString
- func (x *MacroBody) GetUntranslatableSections() []*UntranslatableSection
- func (*MacroBody) ProtoMessage()
- func (x *MacroBody) ProtoReflect() protoreflect.Message
- func (x *MacroBody) Reset()
- func (x *MacroBody) String() string
- type NamespaceAlias
- func (*NamespaceAlias) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceAlias) GetIsPrivate() bool
- func (x *NamespaceAlias) GetPackageName() string
- func (x *NamespaceAlias) GetPrefix() string
- func (*NamespaceAlias) ProtoMessage()
- func (x *NamespaceAlias) ProtoReflect() protoreflect.Message
- func (x *NamespaceAlias) Reset()
- func (x *NamespaceAlias) String() string
- type Overlayable
- func (*Overlayable) Descriptor() ([]byte, []int)deprecated
- func (x *Overlayable) GetActor() string
- func (x *Overlayable) GetName() string
- func (x *Overlayable) GetSource() *Source
- func (*Overlayable) ProtoMessage()
- func (x *Overlayable) ProtoReflect() protoreflect.Message
- func (x *Overlayable) Reset()
- func (x *Overlayable) String() string
- type OverlayableItem
- func (*OverlayableItem) Descriptor() ([]byte, []int)deprecated
- func (x *OverlayableItem) GetComment() string
- func (x *OverlayableItem) GetOverlayableIdx() uint32
- func (x *OverlayableItem) GetPolicy() []OverlayableItem_Policy
- func (x *OverlayableItem) GetSource() *Source
- func (*OverlayableItem) ProtoMessage()
- func (x *OverlayableItem) ProtoReflect() protoreflect.Message
- func (x *OverlayableItem) Reset()
- func (x *OverlayableItem) String() string
- type OverlayableItem_Policy
- func (OverlayableItem_Policy) Descriptor() protoreflect.EnumDescriptor
- func (x OverlayableItem_Policy) Enum() *OverlayableItem_Policy
- func (OverlayableItem_Policy) EnumDescriptor() ([]byte, []int)deprecated
- func (x OverlayableItem_Policy) Number() protoreflect.EnumNumber
- func (x OverlayableItem_Policy) String() string
- func (OverlayableItem_Policy) Type() protoreflect.EnumType
- type Package
- func (*Package) Descriptor() ([]byte, []int)deprecated
- func (x *Package) GetPackageId() *PackageId
- func (x *Package) GetPackageName() string
- func (x *Package) GetType() []*Type
- func (*Package) ProtoMessage()
- func (x *Package) ProtoReflect() protoreflect.Message
- func (x *Package) Reset()
- func (x *Package) String() string
- type PackageId
- type Plural
- type Plural_Arity
- func (Plural_Arity) Descriptor() protoreflect.EnumDescriptor
- func (x Plural_Arity) Enum() *Plural_Arity
- func (Plural_Arity) EnumDescriptor() ([]byte, []int)deprecated
- func (x Plural_Arity) Number() protoreflect.EnumNumber
- func (x Plural_Arity) String() string
- func (Plural_Arity) Type() protoreflect.EnumType
- type Plural_Entry
- func (*Plural_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Plural_Entry) GetArity() Plural_Arity
- func (x *Plural_Entry) GetComment() string
- func (x *Plural_Entry) GetItem() *Item
- func (x *Plural_Entry) GetSource() *Source
- func (*Plural_Entry) ProtoMessage()
- func (x *Plural_Entry) ProtoReflect() protoreflect.Message
- func (x *Plural_Entry) Reset()
- func (x *Plural_Entry) String() string
- type Primitive
- func (*Primitive) Descriptor() ([]byte, []int)deprecated
- func (x *Primitive) GetBooleanValue() bool
- func (x *Primitive) GetColorArgb4Value() uint32
- func (x *Primitive) GetColorArgb8Value() uint32
- func (x *Primitive) GetColorRgb4Value() uint32
- func (x *Primitive) GetColorRgb8Value() uint32
- func (x *Primitive) GetDimensionValue() uint32
- func (x *Primitive) GetDimensionValueDeprecated() float32deprecated
- func (x *Primitive) GetEmptyValue() *Primitive_EmptyType
- func (x *Primitive) GetFloatValue() float32
- func (x *Primitive) GetFractionValue() uint32
- func (x *Primitive) GetFractionValueDeprecated() float32deprecated
- func (x *Primitive) GetIntDecimalValue() int32
- func (x *Primitive) GetIntHexadecimalValue() uint32
- func (x *Primitive) GetNullValue() *Primitive_NullType
- func (m *Primitive) GetOneofValue() isPrimitive_OneofValue
- func (*Primitive) ProtoMessage()
- func (x *Primitive) ProtoReflect() protoreflect.Message
- func (x *Primitive) Reset()
- func (x *Primitive) String() string
- type Primitive_BooleanValue
- type Primitive_ColorArgb4Value
- type Primitive_ColorArgb8Value
- type Primitive_ColorRgb4Value
- type Primitive_ColorRgb8Value
- type Primitive_DimensionValue
- type Primitive_DimensionValueDeprecated
- type Primitive_EmptyType
- type Primitive_EmptyValue
- type Primitive_FloatValue
- type Primitive_FractionValue
- type Primitive_FractionValueDeprecated
- type Primitive_IntDecimalValue
- type Primitive_IntHexadecimalValue
- type Primitive_NullType
- type Primitive_NullValue
- type RawString
- type Reference
- func (*Reference) Descriptor() ([]byte, []int)deprecated
- func (x *Reference) GetAllowRaw() bool
- func (x *Reference) GetId() uint32
- func (x *Reference) GetIsDynamic() *Boolean
- func (x *Reference) GetName() string
- func (x *Reference) GetPrivate() bool
- func (x *Reference) GetType() Reference_Type
- func (x *Reference) GetTypeFlags() uint32
- func (*Reference) ProtoMessage()
- func (x *Reference) ProtoReflect() protoreflect.Message
- func (x *Reference) Reset()
- func (x *Reference) String() string
- type Reference_Type
- func (Reference_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Reference_Type) Enum() *Reference_Type
- func (Reference_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Reference_Type) Number() protoreflect.EnumNumber
- func (x Reference_Type) String() string
- func (Reference_Type) Type() protoreflect.EnumType
- type ResourceTable
- func (*ResourceTable) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceTable) GetOverlayable() []*Overlayable
- func (x *ResourceTable) GetPackage() []*Package
- func (x *ResourceTable) GetSourcePool() *StringPool
- func (x *ResourceTable) GetToolFingerprint() []*ToolFingerprint
- func (*ResourceTable) ProtoMessage()
- func (x *ResourceTable) ProtoReflect() protoreflect.Message
- func (x *ResourceTable) Reset()
- func (x *ResourceTable) String() string
- type Source
- type SourcePosition
- func (*SourcePosition) Descriptor() ([]byte, []int)deprecated
- func (x *SourcePosition) GetColumnNumber() uint32
- func (x *SourcePosition) GetLineNumber() uint32
- func (*SourcePosition) ProtoMessage()
- func (x *SourcePosition) ProtoReflect() protoreflect.Message
- func (x *SourcePosition) Reset()
- func (x *SourcePosition) String() string
- type StagedId
- type String
- type StringPool
- type Style
- func (*Style) Descriptor() ([]byte, []int)deprecated
- func (x *Style) GetEntry() []*Style_Entry
- func (x *Style) GetParent() *Reference
- func (x *Style) GetParentSource() *Source
- func (*Style) ProtoMessage()
- func (x *Style) ProtoReflect() protoreflect.Message
- func (x *Style) Reset()
- func (x *Style) String() string
- type StyleString
- func (*StyleString) Descriptor() ([]byte, []int)deprecated
- func (x *StyleString) GetSpans() []*StyleString_Span
- func (x *StyleString) GetStr() string
- func (*StyleString) ProtoMessage()
- func (x *StyleString) ProtoReflect() protoreflect.Message
- func (x *StyleString) Reset()
- func (x *StyleString) String() string
- type StyleString_Span
- func (*StyleString_Span) Descriptor() ([]byte, []int)deprecated
- func (x *StyleString_Span) GetEndIndex() uint32
- func (x *StyleString_Span) GetName() string
- func (x *StyleString_Span) GetStartIndex() uint32
- func (*StyleString_Span) ProtoMessage()
- func (x *StyleString_Span) ProtoReflect() protoreflect.Message
- func (x *StyleString_Span) Reset()
- func (x *StyleString_Span) String() string
- type Style_Entry
- func (*Style_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Style_Entry) GetComment() string
- func (x *Style_Entry) GetItem() *Item
- func (x *Style_Entry) GetKey() *Reference
- func (x *Style_Entry) GetSource() *Source
- func (*Style_Entry) ProtoMessage()
- func (x *Style_Entry) ProtoReflect() protoreflect.Message
- func (x *Style_Entry) Reset()
- func (x *Style_Entry) String() string
- type Styleable
- type Styleable_Entry
- func (*Styleable_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Styleable_Entry) GetAttr() *Reference
- func (x *Styleable_Entry) GetComment() string
- func (x *Styleable_Entry) GetSource() *Source
- func (*Styleable_Entry) ProtoMessage()
- func (x *Styleable_Entry) ProtoReflect() protoreflect.Message
- func (x *Styleable_Entry) Reset()
- func (x *Styleable_Entry) String() string
- type StyledString
- func (*StyledString) Descriptor() ([]byte, []int)deprecated
- func (x *StyledString) GetSpan() []*StyledString_Span
- func (x *StyledString) GetValue() string
- func (*StyledString) ProtoMessage()
- func (x *StyledString) ProtoReflect() protoreflect.Message
- func (x *StyledString) Reset()
- func (x *StyledString) String() string
- type StyledString_Span
- func (*StyledString_Span) Descriptor() ([]byte, []int)deprecated
- func (x *StyledString_Span) GetFirstChar() uint32
- func (x *StyledString_Span) GetLastChar() uint32
- func (x *StyledString_Span) GetTag() string
- func (*StyledString_Span) ProtoMessage()
- func (x *StyledString_Span) ProtoReflect() protoreflect.Message
- func (x *StyledString_Span) Reset()
- func (x *StyledString_Span) String() string
- type ToolFingerprint
- func (*ToolFingerprint) Descriptor() ([]byte, []int)deprecated
- func (x *ToolFingerprint) GetTool() string
- func (x *ToolFingerprint) GetVersion() string
- func (*ToolFingerprint) ProtoMessage()
- func (x *ToolFingerprint) ProtoReflect() protoreflect.Message
- func (x *ToolFingerprint) Reset()
- func (x *ToolFingerprint) String() string
- type Type
- type TypeId
- type UntranslatableSection
- func (*UntranslatableSection) Descriptor() ([]byte, []int)deprecated
- func (x *UntranslatableSection) GetEndIndex() uint64
- func (x *UntranslatableSection) GetStartIndex() uint64
- func (*UntranslatableSection) ProtoMessage()
- func (x *UntranslatableSection) ProtoReflect() protoreflect.Message
- func (x *UntranslatableSection) Reset()
- func (x *UntranslatableSection) String() string
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetComment() string
- func (x *Value) GetCompoundValue() *CompoundValue
- func (x *Value) GetItem() *Item
- func (x *Value) GetSource() *Source
- func (m *Value) GetValue() isValue_Value
- func (x *Value) GetWeak() bool
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type Value_CompoundValue
- type Value_Item
- type Visibility
- func (*Visibility) Descriptor() ([]byte, []int)deprecated
- func (x *Visibility) GetComment() string
- func (x *Visibility) GetLevel() Visibility_Level
- func (x *Visibility) GetSource() *Source
- func (x *Visibility) GetStagedApi() bool
- func (*Visibility) ProtoMessage()
- func (x *Visibility) ProtoReflect() protoreflect.Message
- func (x *Visibility) Reset()
- func (x *Visibility) String() string
- type Visibility_Level
- func (Visibility_Level) Descriptor() protoreflect.EnumDescriptor
- func (x Visibility_Level) Enum() *Visibility_Level
- func (Visibility_Level) EnumDescriptor() ([]byte, []int)deprecated
- func (x Visibility_Level) Number() protoreflect.EnumNumber
- func (x Visibility_Level) String() string
- func (Visibility_Level) Type() protoreflect.EnumType
- type XmlAttribute
- func (*XmlAttribute) Descriptor() ([]byte, []int)deprecated
- func (x *XmlAttribute) GetCompiledItem() *Item
- func (x *XmlAttribute) GetName() string
- func (x *XmlAttribute) GetNamespaceUri() string
- func (x *XmlAttribute) GetResourceId() uint32
- func (x *XmlAttribute) GetSource() *SourcePosition
- func (x *XmlAttribute) GetValue() string
- func (*XmlAttribute) ProtoMessage()
- func (x *XmlAttribute) ProtoReflect() protoreflect.Message
- func (x *XmlAttribute) Reset()
- func (x *XmlAttribute) String() string
- type XmlElement
- func (*XmlElement) Descriptor() ([]byte, []int)deprecated
- func (x *XmlElement) GetAttribute() []*XmlAttribute
- func (x *XmlElement) GetChild() []*XmlNode
- func (x *XmlElement) GetName() string
- func (x *XmlElement) GetNamespaceDeclaration() []*XmlNamespace
- func (x *XmlElement) GetNamespaceUri() string
- func (*XmlElement) ProtoMessage()
- func (x *XmlElement) ProtoReflect() protoreflect.Message
- func (x *XmlElement) Reset()
- func (x *XmlElement) String() string
- type XmlNamespace
- func (*XmlNamespace) Descriptor() ([]byte, []int)deprecated
- func (x *XmlNamespace) GetPrefix() string
- func (x *XmlNamespace) GetSource() *SourcePosition
- func (x *XmlNamespace) GetUri() string
- func (*XmlNamespace) ProtoMessage()
- func (x *XmlNamespace) ProtoReflect() protoreflect.Message
- func (x *XmlNamespace) Reset()
- func (x *XmlNamespace) String() string
- type XmlNode
- func (*XmlNode) Descriptor() ([]byte, []int)deprecated
- func (x *XmlNode) GetElement() *XmlElement
- func (m *XmlNode) GetNode() isXmlNode_Node
- func (x *XmlNode) GetSource() *SourcePosition
- func (x *XmlNode) GetText() string
- func (*XmlNode) ProtoMessage()
- func (x *XmlNode) ProtoReflect() protoreflect.Message
- func (x *XmlNode) Reset()
- func (x *XmlNode) String() string
- type XmlNode_Element
- type XmlNode_Text
Constants ¶
This section is empty.
Variables ¶
var ( Configuration_LayoutDirection_name = map[int32]string{ 0: "LAYOUT_DIRECTION_UNSET", 1: "LAYOUT_DIRECTION_LTR", 2: "LAYOUT_DIRECTION_RTL", } Configuration_LayoutDirection_value = map[string]int32{ "LAYOUT_DIRECTION_UNSET": 0, "LAYOUT_DIRECTION_LTR": 1, "LAYOUT_DIRECTION_RTL": 2, } )
Enum value maps for Configuration_LayoutDirection.
var ( Configuration_ScreenLayoutSize_name = map[int32]string{ 0: "SCREEN_LAYOUT_SIZE_UNSET", 1: "SCREEN_LAYOUT_SIZE_SMALL", 2: "SCREEN_LAYOUT_SIZE_NORMAL", 3: "SCREEN_LAYOUT_SIZE_LARGE", 4: "SCREEN_LAYOUT_SIZE_XLARGE", } Configuration_ScreenLayoutSize_value = map[string]int32{ "SCREEN_LAYOUT_SIZE_UNSET": 0, "SCREEN_LAYOUT_SIZE_SMALL": 1, "SCREEN_LAYOUT_SIZE_NORMAL": 2, "SCREEN_LAYOUT_SIZE_LARGE": 3, "SCREEN_LAYOUT_SIZE_XLARGE": 4, } )
Enum value maps for Configuration_ScreenLayoutSize.
var ( Configuration_ScreenLayoutLong_name = map[int32]string{ 0: "SCREEN_LAYOUT_LONG_UNSET", 1: "SCREEN_LAYOUT_LONG_LONG", 2: "SCREEN_LAYOUT_LONG_NOTLONG", } Configuration_ScreenLayoutLong_value = map[string]int32{ "SCREEN_LAYOUT_LONG_UNSET": 0, "SCREEN_LAYOUT_LONG_LONG": 1, "SCREEN_LAYOUT_LONG_NOTLONG": 2, } )
Enum value maps for Configuration_ScreenLayoutLong.
var ( Configuration_ScreenRound_name = map[int32]string{ 0: "SCREEN_ROUND_UNSET", 1: "SCREEN_ROUND_ROUND", 2: "SCREEN_ROUND_NOTROUND", } Configuration_ScreenRound_value = map[string]int32{ "SCREEN_ROUND_UNSET": 0, "SCREEN_ROUND_ROUND": 1, "SCREEN_ROUND_NOTROUND": 2, } )
Enum value maps for Configuration_ScreenRound.
var ( Configuration_WideColorGamut_name = map[int32]string{ 0: "WIDE_COLOR_GAMUT_UNSET", 1: "WIDE_COLOR_GAMUT_WIDECG", 2: "WIDE_COLOR_GAMUT_NOWIDECG", } Configuration_WideColorGamut_value = map[string]int32{ "WIDE_COLOR_GAMUT_UNSET": 0, "WIDE_COLOR_GAMUT_WIDECG": 1, "WIDE_COLOR_GAMUT_NOWIDECG": 2, } )
Enum value maps for Configuration_WideColorGamut.
var ( Configuration_Hdr_name = map[int32]string{ 0: "HDR_UNSET", 1: "HDR_HIGHDR", 2: "HDR_LOWDR", } Configuration_Hdr_value = map[string]int32{ "HDR_UNSET": 0, "HDR_HIGHDR": 1, "HDR_LOWDR": 2, } )
Enum value maps for Configuration_Hdr.
var ( Configuration_Orientation_name = map[int32]string{ 0: "ORIENTATION_UNSET", 1: "ORIENTATION_PORT", 2: "ORIENTATION_LAND", 3: "ORIENTATION_SQUARE", } Configuration_Orientation_value = map[string]int32{ "ORIENTATION_UNSET": 0, "ORIENTATION_PORT": 1, "ORIENTATION_LAND": 2, "ORIENTATION_SQUARE": 3, } )
Enum value maps for Configuration_Orientation.
var ( Configuration_UiModeType_name = map[int32]string{ 0: "UI_MODE_TYPE_UNSET", 1: "UI_MODE_TYPE_NORMAL", 2: "UI_MODE_TYPE_DESK", 3: "UI_MODE_TYPE_CAR", 4: "UI_MODE_TYPE_TELEVISION", 5: "UI_MODE_TYPE_APPLIANCE", 6: "UI_MODE_TYPE_WATCH", 7: "UI_MODE_TYPE_VRHEADSET", } Configuration_UiModeType_value = map[string]int32{ "UI_MODE_TYPE_UNSET": 0, "UI_MODE_TYPE_NORMAL": 1, "UI_MODE_TYPE_DESK": 2, "UI_MODE_TYPE_CAR": 3, "UI_MODE_TYPE_TELEVISION": 4, "UI_MODE_TYPE_APPLIANCE": 5, "UI_MODE_TYPE_WATCH": 6, "UI_MODE_TYPE_VRHEADSET": 7, } )
Enum value maps for Configuration_UiModeType.
var ( Configuration_UiModeNight_name = map[int32]string{ 0: "UI_MODE_NIGHT_UNSET", 1: "UI_MODE_NIGHT_NIGHT", 2: "UI_MODE_NIGHT_NOTNIGHT", } Configuration_UiModeNight_value = map[string]int32{ "UI_MODE_NIGHT_UNSET": 0, "UI_MODE_NIGHT_NIGHT": 1, "UI_MODE_NIGHT_NOTNIGHT": 2, } )
Enum value maps for Configuration_UiModeNight.
var ( Configuration_Touchscreen_name = map[int32]string{ 0: "TOUCHSCREEN_UNSET", 1: "TOUCHSCREEN_NOTOUCH", 2: "TOUCHSCREEN_STYLUS", 3: "TOUCHSCREEN_FINGER", } Configuration_Touchscreen_value = map[string]int32{ "TOUCHSCREEN_UNSET": 0, "TOUCHSCREEN_NOTOUCH": 1, "TOUCHSCREEN_STYLUS": 2, "TOUCHSCREEN_FINGER": 3, } )
Enum value maps for Configuration_Touchscreen.
var ( Configuration_KeysHidden_name = map[int32]string{ 0: "KEYS_HIDDEN_UNSET", 1: "KEYS_HIDDEN_KEYSEXPOSED", 2: "KEYS_HIDDEN_KEYSHIDDEN", 3: "KEYS_HIDDEN_KEYSSOFT", } Configuration_KeysHidden_value = map[string]int32{ "KEYS_HIDDEN_UNSET": 0, "KEYS_HIDDEN_KEYSEXPOSED": 1, "KEYS_HIDDEN_KEYSHIDDEN": 2, "KEYS_HIDDEN_KEYSSOFT": 3, } )
Enum value maps for Configuration_KeysHidden.
var ( Configuration_Keyboard_name = map[int32]string{ 0: "KEYBOARD_UNSET", 1: "KEYBOARD_NOKEYS", 2: "KEYBOARD_QWERTY", 3: "KEYBOARD_TWELVEKEY", } Configuration_Keyboard_value = map[string]int32{ "KEYBOARD_UNSET": 0, "KEYBOARD_NOKEYS": 1, "KEYBOARD_QWERTY": 2, "KEYBOARD_TWELVEKEY": 3, } )
Enum value maps for Configuration_Keyboard.
var (0: "NAV_HIDDEN_UNSET", 1: "NAV_HIDDEN_NAVEXPOSED", 2: "NAV_HIDDEN_NAVHIDDEN", } "NAV_HIDDEN_UNSET": 0, "NAV_HIDDEN_NAVEXPOSED": 1, "NAV_HIDDEN_NAVHIDDEN": 2, } )
Enum value maps for Configuration_NavHidden.
var (0: "NAVIGATION_UNSET", 1: "NAVIGATION_NONAV", 2: "NAVIGATION_DPAD", 3: "NAVIGATION_TRACKBALL", 4: "NAVIGATION_WHEEL", } "NAVIGATION_UNSET": 0, "NAVIGATION_NONAV": 1, "NAVIGATION_DPAD": 2, "NAVIGATION_TRACKBALL": 3, "NAVIGATION_WHEEL": 4, } )
Enum value maps for Configuration_Navigation.
var ( Visibility_Level_name = map[int32]string{ 0: "UNKNOWN", 1: "PRIVATE", 2: "PUBLIC", } Visibility_Level_value = map[string]int32{ "UNKNOWN": 0, "PRIVATE": 1, "PUBLIC": 2, } )
Enum value maps for Visibility_Level.
var ( OverlayableItem_Policy_name = map[int32]string{ 0: "NONE", 1: "PUBLIC", 2: "SYSTEM", 3: "VENDOR", 4: "PRODUCT", 5: "SIGNATURE", 6: "ODM", 7: "OEM", 8: "ACTOR", 9: "CONFIG_SIGNATURE", } OverlayableItem_Policy_value = map[string]int32{ "NONE": 0, "PUBLIC": 1, "SYSTEM": 2, "VENDOR": 3, "PRODUCT": 4, "SIGNATURE": 5, "ODM": 6, "OEM": 7, "ACTOR": 8, "CONFIG_SIGNATURE": 9, } )
Enum value maps for OverlayableItem_Policy.
var ( Reference_Type_name = map[int32]string{ 0: "REFERENCE", 1: "ATTRIBUTE", } Reference_Type_value = map[string]int32{ "REFERENCE": 0, "ATTRIBUTE": 1, } )
Enum value maps for Reference_Type.
var ( FileReference_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "PNG", 2: "BINARY_XML", 3: "PROTO_XML", } FileReference_Type_value = map[string]int32{ "UNKNOWN": 0, "PNG": 1, "BINARY_XML": 2, "PROTO_XML": 3, } )
Enum value maps for FileReference_Type.
var ( Attribute_FormatFlags_name = map[int32]string{ 0: "NONE", 65535: "ANY", 1: "REFERENCE", 2: "STRING", 4: "INTEGER", 8: "BOOLEAN", 16: "COLOR", 32: "FLOAT", 64: "DIMENSION", 128: "FRACTION", 65536: "ENUM", 131072: "FLAGS", } Attribute_FormatFlags_value = map[string]int32{ "NONE": 0, "ANY": 65535, "REFERENCE": 1, "STRING": 2, "INTEGER": 4, "BOOLEAN": 8, "COLOR": 16, "FLOAT": 32, "DIMENSION": 64, "FRACTION": 128, "ENUM": 65536, "FLAGS": 131072, } )
Enum value maps for Attribute_FormatFlags.
var ( Plural_Arity_name = map[int32]string{ 0: "ZERO", 1: "ONE", 2: "TWO", 3: "FEW", 4: "MANY", 5: "OTHER", } Plural_Arity_value = map[string]int32{ "ZERO": 0, "ONE": 1, "TWO": 2, "FEW": 3, "MANY": 4, "OTHER": 5, } )
Enum value maps for Plural_Arity.
var File_Configuration_proto protoreflect.FileDescriptor
var File_Resources_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AllowNew ¶
type AllowNew struct { // Where this was defined in source. Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // Any comment associated with the declaration. Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // contains filtered or unexported fields }
Whether a resource comes from a compile-time overlay and is explicitly allowed to not overlay an existing resource.
func (*AllowNew) Descriptor
deprecated
func (*AllowNew) GetComment ¶
func (*AllowNew) ProtoMessage ¶
func (*AllowNew) ProtoMessage()
func (*AllowNew) ProtoReflect ¶
func (x *AllowNew) ProtoReflect() protoreflect.Message
type Array ¶
type Array struct { // The list of array elements. Element []*Array_Element `protobuf:"bytes,1,rep,name=element,proto3" json:"element,omitempty"` // contains filtered or unexported fields }
A value that represents an array of resource values.
func (*Array) Descriptor
deprecated
func (*Array) GetElement ¶
func (x *Array) GetElement() []*Array_Element
func (*Array) ProtoMessage ¶
func (*Array) ProtoMessage()
func (*Array) ProtoReflect ¶
func (x *Array) ProtoReflect() protoreflect.Message
type Array_Element ¶
type Array_Element struct { // Where the element was defined. Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // Any comments associated with the element. Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // The value assigned to this element. Item *Item `protobuf:"bytes,3,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
A single element of the array.
func (*Array_Element) Descriptor
deprecated
func (*Array_Element) Descriptor() ([]byte, []int)
Deprecated: Use Array_Element.ProtoReflect.Descriptor instead.
func (*Array_Element) GetComment ¶
func (x *Array_Element) GetComment() string
func (*Array_Element) GetItem ¶
func (x *Array_Element) GetItem() *Item
func (*Array_Element) GetSource ¶
func (x *Array_Element) GetSource() *Source
func (*Array_Element) ProtoMessage ¶
func (*Array_Element) ProtoMessage()
func (*Array_Element) ProtoReflect ¶
func (x *Array_Element) ProtoReflect() protoreflect.Message
func (*Array_Element) Reset ¶
func (x *Array_Element) Reset()
func (*Array_Element) String ¶
func (x *Array_Element) String() string
type Attribute ¶
type Attribute struct { // A bitmask of types that this XML attribute accepts. Corresponds to the flags in the // enum FormatFlags. FormatFlags uint32 `protobuf:"varint,1,opt,name=format_flags,json=formatFlags,proto3" json:"format_flags,omitempty"` // The smallest integer allowed for this XML attribute. Only makes sense if the format includes // FormatFlags::INTEGER. MinInt int32 `protobuf:"varint,2,opt,name=min_int,json=minInt,proto3" json:"min_int,omitempty"` // The largest integer allowed for this XML attribute. Only makes sense if the format includes // FormatFlags::INTEGER. MaxInt int32 `protobuf:"varint,3,opt,name=max_int,json=maxInt,proto3" json:"max_int,omitempty"` // 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. Symbol []*Attribute_Symbol `protobuf:"bytes,4,rep,name=symbol,proto3" json:"symbol,omitempty"` // contains filtered or unexported fields }
A value that represents an XML attribute and what values it accepts.
func (*Attribute) Descriptor
deprecated
func (*Attribute) GetFormatFlags ¶
func (*Attribute) GetSymbol ¶
func (x *Attribute) GetSymbol() []*Attribute_Symbol
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) ProtoReflect ¶
func (x *Attribute) ProtoReflect() protoreflect.Message
type Attribute_FormatFlags ¶
type Attribute_FormatFlags int32
Bitmask of formats allowed for an attribute.
const ( Attribute_NONE Attribute_FormatFlags = 0 // Proto3 requires a default of 0. Attribute_ANY Attribute_FormatFlags = 65535 // Allows any type except ENUM and FLAGS. Attribute_REFERENCE Attribute_FormatFlags = 1 // Allows Reference values. Attribute_STRING Attribute_FormatFlags = 2 // Allows String/StyledString values. Attribute_INTEGER Attribute_FormatFlags = 4 // Allows any integer BinaryPrimitive values. Attribute_BOOLEAN Attribute_FormatFlags = 8 // Allows any boolean BinaryPrimitive values. Attribute_COLOR Attribute_FormatFlags = 16 // Allows any color BinaryPrimitive values. Attribute_FLOAT Attribute_FormatFlags = 32 // Allows any float BinaryPrimitive values. Attribute_DIMENSION Attribute_FormatFlags = 64 // Allows any dimension BinaryPrimitive values. Attribute_FRACTION Attribute_FormatFlags = 128 // Allows any fraction BinaryPrimitive values. Attribute_ENUM Attribute_FormatFlags = 65536 // Allows enums that are defined in the Attribute's symbols. // ENUM and FLAGS cannot BOTH be set. Attribute_FLAGS Attribute_FormatFlags = 131072 // Allows flags that are defined in the Attribute's symbols. )
func (Attribute_FormatFlags) Descriptor ¶
func (Attribute_FormatFlags) Descriptor() protoreflect.EnumDescriptor
func (Attribute_FormatFlags) Enum ¶
func (x Attribute_FormatFlags) Enum() *Attribute_FormatFlags
func (Attribute_FormatFlags) EnumDescriptor
deprecated
func (Attribute_FormatFlags) EnumDescriptor() ([]byte, []int)
Deprecated: Use Attribute_FormatFlags.Descriptor instead.
func (Attribute_FormatFlags) Number ¶
func (x Attribute_FormatFlags) Number() protoreflect.EnumNumber
func (Attribute_FormatFlags) String ¶
func (x Attribute_FormatFlags) String() string
func (Attribute_FormatFlags) Type ¶
func (Attribute_FormatFlags) Type() protoreflect.EnumType
type Attribute_Symbol ¶
type Attribute_Symbol struct { // Where the enum/flag item was defined. Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // Any comments associated with the enum or flag. Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // The name of the enum/flag as a reference. Enums/flag items are generated as ID resource // values. Name *Reference `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // The value of the enum/flag. Value uint32 `protobuf:"varint,4,opt,name=value,proto3" json:"value,omitempty"` // The data type of the enum/flag as defined in android::Res_value. Type uint32 `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
A Symbol used to represent an enum or a flag.
func (*Attribute_Symbol) Descriptor
deprecated
func (*Attribute_Symbol) Descriptor() ([]byte, []int)
Deprecated: Use Attribute_Symbol.ProtoReflect.Descriptor instead.
func (*Attribute_Symbol) GetComment ¶
func (x *Attribute_Symbol) GetComment() string
func (*Attribute_Symbol) GetName ¶
func (x *Attribute_Symbol) GetName() *Reference
func (*Attribute_Symbol) GetSource ¶
func (x *Attribute_Symbol) GetSource() *Source
func (*Attribute_Symbol) GetType ¶
func (x *Attribute_Symbol) GetType() uint32
func (*Attribute_Symbol) GetValue ¶
func (x *Attribute_Symbol) GetValue() uint32
func (*Attribute_Symbol) ProtoMessage ¶
func (*Attribute_Symbol) ProtoMessage()
func (*Attribute_Symbol) ProtoReflect ¶
func (x *Attribute_Symbol) ProtoReflect() protoreflect.Message
func (*Attribute_Symbol) Reset ¶
func (x *Attribute_Symbol) Reset()
func (*Attribute_Symbol) String ¶
func (x *Attribute_Symbol) String() string
type Boolean ¶
type Boolean struct { Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Message holding a boolean, so it can be optionally encoded.
func (*Boolean) Descriptor
deprecated
func (*Boolean) ProtoMessage ¶
func (*Boolean) ProtoMessage()
func (*Boolean) ProtoReflect ¶
func (x *Boolean) ProtoReflect() protoreflect.Message
type CompoundValue ¶
type CompoundValue struct { // Types that are assignable to Value: // *CompoundValue_Attr // *CompoundValue_Style // *CompoundValue_Styleable // *CompoundValue_Array // *CompoundValue_Plural // *CompoundValue_Macro Value isCompoundValue_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
A CompoundValue is an abstract type. It represents a value that is a made of other values. These can only usually appear as top-level resources. The concrete type is one of the types below. Only one can be set.
func (*CompoundValue) Descriptor
deprecated
func (*CompoundValue) Descriptor() ([]byte, []int)
Deprecated: Use CompoundValue.ProtoReflect.Descriptor instead.
func (*CompoundValue) GetArray ¶
func (x *CompoundValue) GetArray() *Array
func (*CompoundValue) GetAttr ¶
func (x *CompoundValue) GetAttr() *Attribute
func (*CompoundValue) GetMacro ¶
func (x *CompoundValue) GetMacro() *MacroBody
func (*CompoundValue) GetPlural ¶
func (x *CompoundValue) GetPlural() *Plural
func (*CompoundValue) GetStyle ¶
func (x *CompoundValue) GetStyle() *Style
func (*CompoundValue) GetStyleable ¶
func (x *CompoundValue) GetStyleable() *Styleable
func (*CompoundValue) GetValue ¶
func (m *CompoundValue) GetValue() isCompoundValue_Value
func (*CompoundValue) ProtoMessage ¶
func (*CompoundValue) ProtoMessage()
func (*CompoundValue) ProtoReflect ¶
func (x *CompoundValue) ProtoReflect() protoreflect.Message
func (*CompoundValue) Reset ¶
func (x *CompoundValue) Reset()
func (*CompoundValue) String ¶
func (x *CompoundValue) String() string
type CompoundValue_Array ¶
type CompoundValue_Array struct {
Array *Array `protobuf:"bytes,4,opt,name=array,proto3,oneof"`
}
type CompoundValue_Attr ¶
type CompoundValue_Attr struct {
Attr *Attribute `protobuf:"bytes,1,opt,name=attr,proto3,oneof"`
}
type CompoundValue_Macro ¶
type CompoundValue_Macro struct {
Macro *MacroBody `protobuf:"bytes,6,opt,name=macro,proto3,oneof"`
}
type CompoundValue_Plural ¶
type CompoundValue_Plural struct {
Plural *Plural `protobuf:"bytes,5,opt,name=plural,proto3,oneof"`
}
type CompoundValue_Style ¶
type CompoundValue_Style struct {
Style *Style `protobuf:"bytes,2,opt,name=style,proto3,oneof"`
}
type CompoundValue_Styleable ¶
type CompoundValue_Styleable struct {
Styleable *Styleable `protobuf:"bytes,3,opt,name=styleable,proto3,oneof"`
}
type ConfigValue ¶
type ConfigValue struct { Config *Configuration `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A Configuration/Value pair.
func (*ConfigValue) Descriptor
deprecated
func (*ConfigValue) Descriptor() ([]byte, []int)
Deprecated: Use ConfigValue.ProtoReflect.Descriptor instead.
func (*ConfigValue) GetConfig ¶
func (x *ConfigValue) GetConfig() *Configuration
func (*ConfigValue) GetValue ¶
func (x *ConfigValue) GetValue() *Value
func (*ConfigValue) ProtoMessage ¶
func (*ConfigValue) ProtoMessage()
func (*ConfigValue) ProtoReflect ¶
func (x *ConfigValue) ProtoReflect() protoreflect.Message
func (*ConfigValue) Reset ¶
func (x *ConfigValue) Reset()
func (*ConfigValue) String ¶
func (x *ConfigValue) String() string
type Configuration ¶
type Configuration struct { // Mobile country code. Mcc uint32 `protobuf:"varint,1,opt,name=mcc,proto3" json:"mcc,omitempty"` // Mobile network code. Mnc uint32 `protobuf:"varint,2,opt,name=mnc,proto3" json:"mnc,omitempty"` // BCP-47 locale tag. Locale string `protobuf:"bytes,3,opt,name=locale,proto3" json:"locale,omitempty"` // Left-to-right, right-to-left... LayoutDirection Configuration_LayoutDirection `` /* 150-byte string literal not displayed */ // Screen width in pixels. Prefer screen_width_dp. ScreenWidth uint32 `protobuf:"varint,5,opt,name=screen_width,json=screenWidth,proto3" json:"screen_width,omitempty"` // Screen height in pixels. Prefer screen_height_dp. ScreenHeight uint32 `protobuf:"varint,6,opt,name=screen_height,json=screenHeight,proto3" json:"screen_height,omitempty"` // Screen width in density independent pixels (dp). ScreenWidthDp uint32 `protobuf:"varint,7,opt,name=screen_width_dp,json=screenWidthDp,proto3" json:"screen_width_dp,omitempty"` // Screen height in density independent pixels (dp). ScreenHeightDp uint32 `protobuf:"varint,8,opt,name=screen_height_dp,json=screenHeightDp,proto3" json:"screen_height_dp,omitempty"` // The smallest screen dimension, regardless of orientation, in dp. SmallestScreenWidthDp uint32 `` /* 129-byte string literal not displayed */ // Whether the device screen is classified as small, normal, large, xlarge. ScreenLayoutSize Configuration_ScreenLayoutSize `` /* 157-byte string literal not displayed */ // Whether the device screen is long. ScreenLayoutLong Configuration_ScreenLayoutLong `` /* 157-byte string literal not displayed */ // Whether the screen is round (Android Wear). ScreenRound Configuration_ScreenRound `` /* 135-byte string literal not displayed */ // Whether the screen supports wide color gamut. WideColorGamut Configuration_WideColorGamut `` /* 149-byte string literal not displayed */ // Whether the screen has high dynamic range. Hdr Configuration_Hdr `protobuf:"varint,14,opt,name=hdr,proto3,enum=aapt.pb.Configuration_Hdr" json:"hdr,omitempty"` // Which orientation the device is in (portrait, landscape). Orientation Configuration_Orientation `protobuf:"varint,15,opt,name=orientation,proto3,enum=aapt.pb.Configuration_Orientation" json:"orientation,omitempty"` // Which type of UI mode the device is in (television, car, etc.). UiModeType Configuration_UiModeType `` /* 133-byte string literal not displayed */ // Whether the device is in night mode. UiModeNight Configuration_UiModeNight `` /* 137-byte string literal not displayed */ // The device's screen density in dots-per-inch (dpi). Density uint32 `protobuf:"varint,18,opt,name=density,proto3" json:"density,omitempty"` // Whether a touchscreen exists, supports a stylus, or finger. Touchscreen Configuration_Touchscreen `protobuf:"varint,19,opt,name=touchscreen,proto3,enum=aapt.pb.Configuration_Touchscreen" json:"touchscreen,omitempty"` // Whether the keyboard hardware keys are currently hidden, exposed, or // if the keyboard is a software keyboard. KeysHidden Configuration_KeysHidden `` /* 131-byte string literal not displayed */ // The type of keyboard present (none, QWERTY, 12-key). Keyboard Configuration_Keyboard `protobuf:"varint,21,opt,name=keyboard,proto3,enum=aapt.pb.Configuration_Keyboard" json:"keyboard,omitempty"` NavHidden Configuration_NavHidden `` /* 127-byte string literal not displayed */ // (trackball, wheel, dpad, etc.). Navigation Configuration_Navigation `protobuf:"varint,23,opt,name=navigation,proto3,enum=aapt.pb.Configuration_Navigation" json:"navigation,omitempty"` // The minimum SDK version of the device. SdkVersion uint32 `protobuf:"varint,24,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"` Product string `protobuf:"bytes,25,opt,name=product,proto3" json:"product,omitempty"` // contains filtered or unexported fields }
A description of the requirements a device must have in order for a resource to be matched and selected.
func (*Configuration) Descriptor
deprecated
func (*Configuration) Descriptor() ([]byte, []int)
Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) GetDensity ¶
func (x *Configuration) GetDensity() uint32
func (*Configuration) GetHdr ¶
func (x *Configuration) GetHdr() Configuration_Hdr
func (*Configuration) GetKeyboard ¶
func (x *Configuration) GetKeyboard() Configuration_Keyboard
func (*Configuration) GetKeysHidden ¶
func (x *Configuration) GetKeysHidden() Configuration_KeysHidden
func (*Configuration) GetLayoutDirection ¶
func (x *Configuration) GetLayoutDirection() Configuration_LayoutDirection
func (*Configuration) GetLocale ¶
func (x *Configuration) GetLocale() string
func (*Configuration) GetMcc ¶
func (x *Configuration) GetMcc() uint32
func (*Configuration) GetMnc ¶
func (x *Configuration) GetMnc() uint32
func (*Configuration) GetNavHidden ¶
func (x *Configuration) GetNavHidden() Configuration_NavHidden
func (*Configuration) GetNavigation ¶
func (x *Configuration) GetNavigation() Configuration_Navigation
func (*Configuration) GetOrientation ¶
func (x *Configuration) GetOrientation() Configuration_Orientation
func (*Configuration) GetProduct ¶
func (x *Configuration) GetProduct() string
func (*Configuration) GetScreenHeight ¶
func (x *Configuration) GetScreenHeight() uint32
func (*Configuration) GetScreenHeightDp ¶
func (x *Configuration) GetScreenHeightDp() uint32
func (*Configuration) GetScreenLayoutLong ¶
func (x *Configuration) GetScreenLayoutLong() Configuration_ScreenLayoutLong
func (*Configuration) GetScreenLayoutSize ¶
func (x *Configuration) GetScreenLayoutSize() Configuration_ScreenLayoutSize
func (*Configuration) GetScreenRound ¶
func (x *Configuration) GetScreenRound() Configuration_ScreenRound
func (*Configuration) GetScreenWidth ¶
func (x *Configuration) GetScreenWidth() uint32
func (*Configuration) GetScreenWidthDp ¶
func (x *Configuration) GetScreenWidthDp() uint32
func (*Configuration) GetSdkVersion ¶
func (x *Configuration) GetSdkVersion() uint32
func (*Configuration) GetSmallestScreenWidthDp ¶
func (x *Configuration) GetSmallestScreenWidthDp() uint32
func (*Configuration) GetTouchscreen ¶
func (x *Configuration) GetTouchscreen() Configuration_Touchscreen
func (*Configuration) GetUiModeNight ¶
func (x *Configuration) GetUiModeNight() Configuration_UiModeNight
func (*Configuration) GetUiModeType ¶
func (x *Configuration) GetUiModeType() Configuration_UiModeType
func (*Configuration) GetWideColorGamut ¶
func (x *Configuration) GetWideColorGamut() Configuration_WideColorGamut
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) ProtoReflect ¶
func (x *Configuration) ProtoReflect() protoreflect.Message
func (*Configuration) Reset ¶
func (x *Configuration) Reset()
func (*Configuration) String ¶
func (x *Configuration) String() string
type Configuration_Hdr ¶
type Configuration_Hdr int32
const ( Configuration_HDR_UNSET Configuration_Hdr = 0 Configuration_HDR_HIGHDR Configuration_Hdr = 1 Configuration_HDR_LOWDR Configuration_Hdr = 2 )
func (Configuration_Hdr) Descriptor ¶
func (Configuration_Hdr) Descriptor() protoreflect.EnumDescriptor
func (Configuration_Hdr) Enum ¶
func (x Configuration_Hdr) Enum() *Configuration_Hdr
func (Configuration_Hdr) EnumDescriptor
deprecated
func (Configuration_Hdr) EnumDescriptor() ([]byte, []int)
Deprecated: Use Configuration_Hdr.Descriptor instead.
func (Configuration_Hdr) Number ¶
func (x Configuration_Hdr) Number() protoreflect.EnumNumber
func (Configuration_Hdr) String ¶
func (x Configuration_Hdr) String() string
func (Configuration_Hdr) Type ¶
func (Configuration_Hdr) Type() protoreflect.EnumType
type Configuration_Keyboard ¶
type Configuration_Keyboard int32
const ( Configuration_KEYBOARD_UNSET Configuration_Keyboard = 0 Configuration_KEYBOARD_NOKEYS Configuration_Keyboard = 1 Configuration_KEYBOARD_QWERTY Configuration_Keyboard = 2 Configuration_KEYBOARD_TWELVEKEY Configuration_Keyboard = 3 )
func (Configuration_Keyboard) Descriptor ¶
func (Configuration_Keyboard) Descriptor() protoreflect.EnumDescriptor
func (Configuration_Keyboard) Enum ¶
func (x Configuration_Keyboard) Enum() *Configuration_Keyboard
func (Configuration_Keyboard) EnumDescriptor
deprecated
func (Configuration_Keyboard) EnumDescriptor() ([]byte, []int)
Deprecated: Use Configuration_Keyboard.Descriptor instead.
func (Configuration_Keyboard) Number ¶
func (x Configuration_Keyboard) Number() protoreflect.EnumNumber
func (Configuration_Keyboard) String ¶
func (x Configuration_Keyboard) String() string
func (Configuration_Keyboard) Type ¶
func (Configuration_Keyboard) Type() protoreflect.EnumType
type Configuration_KeysHidden ¶
type Configuration_KeysHidden int32
const ( Configuration_KEYS_HIDDEN_UNSET Configuration_KeysHidden = 0 Configuration_KEYS_HIDDEN_KEYSEXPOSED Configuration_KeysHidden = 1 Configuration_KEYS_HIDDEN_KEYSHIDDEN Configuration_KeysHidden = 2 Configuration_KEYS_HIDDEN_KEYSSOFT Configuration_KeysHidden = 3 )
func (Configuration_KeysHidden) Descriptor ¶
func (Configuration_KeysHidden) Descriptor() protoreflect.EnumDescriptor
func (Configuration_KeysHidden) Enum ¶
func (x Configuration_KeysHidden) Enum() *Configuration_KeysHidden
func (Configuration_KeysHidden) EnumDescriptor
deprecated
func (Configuration_KeysHidden) EnumDescriptor() ([]byte, []int)
Deprecated: Use Configuration_KeysHidden.Descriptor instead.
func (Configuration_KeysHidden) Number ¶
func (x Configuration_KeysHidden) Number() protoreflect.EnumNumber
func (Configuration_KeysHidden) String ¶
func (x Configuration_KeysHidden) String() string
func (Configuration_KeysHidden) Type ¶
func (Configuration_KeysHidden) Type() protoreflect.EnumType
type Configuration_LayoutDirection ¶
type Configuration_LayoutDirection int32
const ( Configuration_LAYOUT_DIRECTION_UNSET Configuration_LayoutDirection = 0 Configuration_LAYOUT_DIRECTION_LTR Configuration_LayoutDirection = 1 Configuration_LAYOUT_DIRECTION_RTL Configuration_LayoutDirection = 2 )
func (Configuration_LayoutDirection) Descriptor ¶
func (Configuration_LayoutDirection) Descriptor() protoreflect.EnumDescriptor
func (Configuration_LayoutDirection) Enum ¶
func (x Configuration_LayoutDirection) Enum() *Configuration_LayoutDirection
func (Configuration_LayoutDirection) EnumDescriptor
deprecated
func (Configuration_LayoutDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use Configuration_LayoutDirection.Descriptor instead.
func (Configuration_LayoutDirection) Number ¶
func (x Configuration_LayoutDirection) Number() protoreflect.EnumNumber
func (Configuration_LayoutDirection) String ¶
func (x Configuration_LayoutDirection) String() string
func (Configuration_LayoutDirection) Type ¶
func (Configuration_LayoutDirection) Type() protoreflect.EnumType
type Configuration_NavHidden ¶
type Configuration_NavHidden int32
const ( Configuration_NAV_HIDDEN_UNSET Configuration_NavHidden = 0 Configuration_NAV_HIDDEN_NAVEXPOSED Configuration_NavHidden = 1 Configuration_NAV_HIDDEN_NAVHIDDEN Configuration_NavHidden = 2 )
func (Configuration_NavHidden) Descriptor ¶
func (Configuration_NavHidden) Descriptor() protoreflect.EnumDescriptor
func (Configuration_NavHidden) Enum ¶
func (x Configuration_NavHidden) Enum() *Configuration_NavHidden
func (Configuration_NavHidden) EnumDescriptor
deprecated
func (Configuration_NavHidden) EnumDescriptor() ([]byte, []int)
Deprecated: Use Configuration_NavHidden.Descriptor instead.
func (Configuration_NavHidden) Number ¶
func (x Configuration_NavHidden) Number() protoreflect.EnumNumber
func (Configuration_NavHidden) String ¶
func (x Configuration_NavHidden) String() string
func (Configuration_NavHidden) Type ¶
func (Configuration_NavHidden) Type() protoreflect.EnumType
type Configuration_Navigation ¶
type Configuration_Navigation int32
const ( Configuration_NAVIGATION_UNSET Configuration_Navigation = 0 Configuration_NAVIGATION_NONAV Configuration_Navigation = 1 Configuration_NAVIGATION_DPAD Configuration_Navigation = 2 Configuration_NAVIGATION_TRACKBALL Configuration_Navigation = 3 Configuration_NAVIGATION_WHEEL Configuration_Navigation = 4 )
func (Configuration_Navigation) Descriptor ¶
func (Configuration_Navigation) Descriptor() protoreflect.EnumDescriptor
func (Configuration_Navigation) Enum ¶
func (x Configuration_Navigation) Enum() *Configuration_Navigation
func (Configuration_Navigation) EnumDescriptor
deprecated
func (Configuration_Navigation) EnumDescriptor() ([]byte, []int)
Deprecated: Use Configuration_Navigation.Descriptor instead.
func (Configuration_Navigation) Number ¶
func (x Configuration_Navigation) Number() protoreflect.EnumNumber
func (Configuration_Navigation) String ¶
func (x Configuration_Navigation) String() string
func (Configuration_Navigation) Type ¶
func (Configuration_Navigation) Type() protoreflect.EnumType
type Configuration_Orientation ¶
type Configuration_Orientation int32
const ( Configuration_ORIENTATION_UNSET Configuration_Orientation = 0 Configuration_ORIENTATION_PORT Configuration_Orientation = 1 Configuration_ORIENTATION_LAND Configuration_Orientation = 2 Configuration_ORIENTATION_SQUARE Configuration_Orientation = 3 )
func (Configuration_Orientation) Descriptor ¶
func (Configuration_Orientation) Descriptor() protoreflect.EnumDescriptor
func (Configuration_Orientation) Enum ¶
func (x Configuration_Orientation) Enum() *Configuration_Orientation
func (Configuration_Orientation) EnumDescriptor
deprecated
func (Configuration_Orientation) EnumDescriptor() ([]byte, []int)
Deprecated: Use Configuration_Orientation.Descriptor instead.
func (Configuration_Orientation) Number ¶
func (x Configuration_Orientation) Number() protoreflect.EnumNumber
func (Configuration_Orientation) String ¶
func (x Configuration_Orientation) String() string
func (Configuration_Orientation) Type ¶
func (Configuration_Orientation) Type() protoreflect.EnumType
type Configuration_ScreenLayoutLong ¶
type Configuration_ScreenLayoutLong int32
const ( Configuration_SCREEN_LAYOUT_LONG_UNSET Configuration_ScreenLayoutLong = 0 Configuration_SCREEN_LAYOUT_LONG_LONG Configuration_ScreenLayoutLong = 1 Configuration_SCREEN_LAYOUT_LONG_NOTLONG Configuration_ScreenLayoutLong = 2 )
func (Configuration_ScreenLayoutLong) Descriptor ¶
func (Configuration_ScreenLayoutLong) Descriptor() protoreflect.EnumDescriptor
func (Configuration_ScreenLayoutLong) Enum ¶
func (x Configuration_ScreenLayoutLong) Enum() *Configuration_ScreenLayoutLong
func (Configuration_ScreenLayoutLong) EnumDescriptor
deprecated
func (Configuration_ScreenLayoutLong) EnumDescriptor() ([]byte, []int)
Deprecated: Use Configuration_ScreenLayoutLong.Descriptor instead.
func (Configuration_ScreenLayoutLong) Number ¶
func (x Configuration_ScreenLayoutLong) Number() protoreflect.EnumNumber
func (Configuration_ScreenLayoutLong) String ¶
func (x Configuration_ScreenLayoutLong) String() string
func (Configuration_ScreenLayoutLong) Type ¶
func (Configuration_ScreenLayoutLong) Type() protoreflect.EnumType
type Configuration_ScreenLayoutSize ¶
type Configuration_ScreenLayoutSize int32
const ( Configuration_SCREEN_LAYOUT_SIZE_UNSET Configuration_ScreenLayoutSize = 0 Configuration_SCREEN_LAYOUT_SIZE_SMALL Configuration_ScreenLayoutSize = 1 Configuration_SCREEN_LAYOUT_SIZE_NORMAL Configuration_ScreenLayoutSize = 2 Configuration_SCREEN_LAYOUT_SIZE_LARGE Configuration_ScreenLayoutSize = 3 Configuration_SCREEN_LAYOUT_SIZE_XLARGE Configuration_ScreenLayoutSize = 4 )
func (Configuration_ScreenLayoutSize) Descriptor ¶
func (Configuration_ScreenLayoutSize) Descriptor() protoreflect.EnumDescriptor
func (Configuration_ScreenLayoutSize) Enum ¶
func (x Configuration_ScreenLayoutSize) Enum() *Configuration_ScreenLayoutSize
func (Configuration_ScreenLayoutSize) EnumDescriptor
deprecated
func (Configuration_ScreenLayoutSize) EnumDescriptor() ([]byte, []int)
Deprecated: Use Configuration_ScreenLayoutSize.Descriptor instead.
func (Configuration_ScreenLayoutSize) Number ¶
func (x Configuration_ScreenLayoutSize) Number() protoreflect.EnumNumber
func (Configuration_ScreenLayoutSize) String ¶
func (x Configuration_ScreenLayoutSize) String() string
func (Configuration_ScreenLayoutSize) Type ¶
func (Configuration_ScreenLayoutSize) Type() protoreflect.EnumType
type Configuration_ScreenRound ¶
type Configuration_ScreenRound int32
const ( Configuration_SCREEN_ROUND_UNSET Configuration_ScreenRound = 0 Configuration_SCREEN_ROUND_ROUND Configuration_ScreenRound = 1 Configuration_SCREEN_ROUND_NOTROUND Configuration_ScreenRound = 2 )
func (Configuration_ScreenRound) Descriptor ¶
func (Configuration_ScreenRound) Descriptor() protoreflect.EnumDescriptor
func (Configuration_ScreenRound) Enum ¶
func (x Configuration_ScreenRound) Enum() *Configuration_ScreenRound
func (Configuration_ScreenRound) EnumDescriptor
deprecated
func (Configuration_ScreenRound) EnumDescriptor() ([]byte, []int)
Deprecated: Use Configuration_ScreenRound.Descriptor instead.
func (Configuration_ScreenRound) Number ¶
func (x Configuration_ScreenRound) Number() protoreflect.EnumNumber
func (Configuration_ScreenRound) String ¶
func (x Configuration_ScreenRound) String() string
func (Configuration_ScreenRound) Type ¶
func (Configuration_ScreenRound) Type() protoreflect.EnumType
type Configuration_Touchscreen ¶
type Configuration_Touchscreen int32
const ( Configuration_TOUCHSCREEN_UNSET Configuration_Touchscreen = 0 Configuration_TOUCHSCREEN_NOTOUCH Configuration_Touchscreen = 1 Configuration_TOUCHSCREEN_STYLUS Configuration_Touchscreen = 2 Configuration_TOUCHSCREEN_FINGER Configuration_Touchscreen = 3 )
func (Configuration_Touchscreen) Descriptor ¶
func (Configuration_Touchscreen) Descriptor() protoreflect.EnumDescriptor
func (Configuration_Touchscreen) Enum ¶
func (x Configuration_Touchscreen) Enum() *Configuration_Touchscreen
func (Configuration_Touchscreen) EnumDescriptor
deprecated
func (Configuration_Touchscreen) EnumDescriptor() ([]byte, []int)
Deprecated: Use Configuration_Touchscreen.Descriptor instead.
func (Configuration_Touchscreen) Number ¶
func (x Configuration_Touchscreen) Number() protoreflect.EnumNumber
func (Configuration_Touchscreen) String ¶
func (x Configuration_Touchscreen) String() string
func (Configuration_Touchscreen) Type ¶
func (Configuration_Touchscreen) Type() protoreflect.EnumType
type Configuration_UiModeNight ¶
type Configuration_UiModeNight int32
const ( Configuration_UI_MODE_NIGHT_UNSET Configuration_UiModeNight = 0 Configuration_UI_MODE_NIGHT_NIGHT Configuration_UiModeNight = 1 Configuration_UI_MODE_NIGHT_NOTNIGHT Configuration_UiModeNight = 2 )
func (Configuration_UiModeNight) Descriptor ¶
func (Configuration_UiModeNight) Descriptor() protoreflect.EnumDescriptor
func (Configuration_UiModeNight) Enum ¶
func (x Configuration_UiModeNight) Enum() *Configuration_UiModeNight
func (Configuration_UiModeNight) EnumDescriptor
deprecated
func (Configuration_UiModeNight) EnumDescriptor() ([]byte, []int)
Deprecated: Use Configuration_UiModeNight.Descriptor instead.
func (Configuration_UiModeNight) Number ¶
func (x Configuration_UiModeNight) Number() protoreflect.EnumNumber
func (Configuration_UiModeNight) String ¶
func (x Configuration_UiModeNight) String() string
func (Configuration_UiModeNight) Type ¶
func (Configuration_UiModeNight) Type() protoreflect.EnumType
type Configuration_UiModeType ¶
type Configuration_UiModeType int32
const ( Configuration_UI_MODE_TYPE_UNSET Configuration_UiModeType = 0 Configuration_UI_MODE_TYPE_NORMAL Configuration_UiModeType = 1 Configuration_UI_MODE_TYPE_DESK Configuration_UiModeType = 2 Configuration_UI_MODE_TYPE_CAR Configuration_UiModeType = 3 Configuration_UI_MODE_TYPE_TELEVISION Configuration_UiModeType = 4 Configuration_UI_MODE_TYPE_APPLIANCE Configuration_UiModeType = 5 Configuration_UI_MODE_TYPE_WATCH Configuration_UiModeType = 6 Configuration_UI_MODE_TYPE_VRHEADSET Configuration_UiModeType = 7 )
func (Configuration_UiModeType) Descriptor ¶
func (Configuration_UiModeType) Descriptor() protoreflect.EnumDescriptor
func (Configuration_UiModeType) Enum ¶
func (x Configuration_UiModeType) Enum() *Configuration_UiModeType
func (Configuration_UiModeType) EnumDescriptor
deprecated
func (Configuration_UiModeType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Configuration_UiModeType.Descriptor instead.
func (Configuration_UiModeType) Number ¶
func (x Configuration_UiModeType) Number() protoreflect.EnumNumber
func (Configuration_UiModeType) String ¶
func (x Configuration_UiModeType) String() string
func (Configuration_UiModeType) Type ¶
func (Configuration_UiModeType) Type() protoreflect.EnumType
type Configuration_WideColorGamut ¶
type Configuration_WideColorGamut int32
const ( Configuration_WIDE_COLOR_GAMUT_UNSET Configuration_WideColorGamut = 0 Configuration_WIDE_COLOR_GAMUT_WIDECG Configuration_WideColorGamut = 1 Configuration_WIDE_COLOR_GAMUT_NOWIDECG Configuration_WideColorGamut = 2 )
func (Configuration_WideColorGamut) Descriptor ¶
func (Configuration_WideColorGamut) Descriptor() protoreflect.EnumDescriptor
func (Configuration_WideColorGamut) Enum ¶
func (x Configuration_WideColorGamut) Enum() *Configuration_WideColorGamut
func (Configuration_WideColorGamut) EnumDescriptor
deprecated
func (Configuration_WideColorGamut) EnumDescriptor() ([]byte, []int)
Deprecated: Use Configuration_WideColorGamut.Descriptor instead.
func (Configuration_WideColorGamut) Number ¶
func (x Configuration_WideColorGamut) Number() protoreflect.EnumNumber
func (Configuration_WideColorGamut) String ¶
func (x Configuration_WideColorGamut) String() string
func (Configuration_WideColorGamut) Type ¶
func (Configuration_WideColorGamut) Type() protoreflect.EnumType
type Entry ¶
type Entry struct { // The ID of this entry. Together with the package ID and type ID, this forms a full resource ID // of the form 0xPPTTEEEE, where PP is the package ID, TT is the type ID, and EEEE is the entry // ID. // This may not be set if no ID was assigned. EntryId *EntryId `protobuf:"bytes,1,opt,name=entry_id,json=entryId,proto3" json:"entry_id,omitempty"` // The name of this entry. This corresponds to the 'entry' part of a full resource name of the // form package:type/entry. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The visibility of this entry (public, private, undefined). Visibility *Visibility `protobuf:"bytes,3,opt,name=visibility,proto3" json:"visibility,omitempty"` // Whether this resource, when originating from a compile-time overlay, is allowed to NOT overlay // any existing resources. AllowNew *AllowNew `protobuf:"bytes,4,opt,name=allow_new,json=allowNew,proto3" json:"allow_new,omitempty"` // Whether this resource can be overlaid by a runtime resource overlay (RRO). OverlayableItem *OverlayableItem `protobuf:"bytes,5,opt,name=overlayable_item,json=overlayableItem,proto3" json:"overlayable_item,omitempty"` // The set of values defined for this entry, each corresponding to a different // configuration/variant. ConfigValue []*ConfigValue `protobuf:"bytes,6,rep,name=config_value,json=configValue,proto3" json:"config_value,omitempty"` // The staged resource ID of this finalized resource. StagedId *StagedId `protobuf:"bytes,7,opt,name=staged_id,json=stagedId,proto3" json:"staged_id,omitempty"` // contains filtered or unexported fields }
An entry declaration. An entry has a full resource ID that is the combination of package ID, type ID, and its own entry ID. An entry on its own has no value, but values are defined for various configurations/variants.
func (*Entry) Descriptor
deprecated
func (*Entry) GetAllowNew ¶
func (*Entry) GetConfigValue ¶
func (x *Entry) GetConfigValue() []*ConfigValue
func (*Entry) GetEntryId ¶
func (*Entry) GetOverlayableItem ¶
func (x *Entry) GetOverlayableItem() *OverlayableItem
func (*Entry) GetStagedId ¶
func (*Entry) GetVisibility ¶
func (x *Entry) GetVisibility() *Visibility
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) ProtoReflect ¶
func (x *Entry) ProtoReflect() protoreflect.Message
type EntryId ¶
type EntryId struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
An entry ID in the range [0x0000, 0xffff].
func (*EntryId) Descriptor
deprecated
func (*EntryId) ProtoMessage ¶
func (*EntryId) ProtoMessage()
func (*EntryId) ProtoReflect ¶
func (x *EntryId) ProtoReflect() protoreflect.Message
type FileReference ¶
type FileReference struct { // Path to a file within the APK (typically res/type-config/entry.ext). Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // The type of file this path points to. For UAM bundle, this cannot be // BINARY_XML. Type FileReference_Type `protobuf:"varint,2,opt,name=type,proto3,enum=aapt.pb.FileReference_Type" json:"type,omitempty"` // contains filtered or unexported fields }
A value that is a reference to an external entity, like an XML file or a PNG.
func (*FileReference) Descriptor
deprecated
func (*FileReference) Descriptor() ([]byte, []int)
Deprecated: Use FileReference.ProtoReflect.Descriptor instead.
func (*FileReference) GetPath ¶
func (x *FileReference) GetPath() string
func (*FileReference) GetType ¶
func (x *FileReference) GetType() FileReference_Type
func (*FileReference) ProtoMessage ¶
func (*FileReference) ProtoMessage()
func (*FileReference) ProtoReflect ¶
func (x *FileReference) ProtoReflect() protoreflect.Message
func (*FileReference) Reset ¶
func (x *FileReference) Reset()
func (*FileReference) String ¶
func (x *FileReference) String() string
type FileReference_Type ¶
type FileReference_Type int32
const ( FileReference_UNKNOWN FileReference_Type = 0 FileReference_PNG FileReference_Type = 1 FileReference_BINARY_XML FileReference_Type = 2 FileReference_PROTO_XML FileReference_Type = 3 )
func (FileReference_Type) Descriptor ¶
func (FileReference_Type) Descriptor() protoreflect.EnumDescriptor
func (FileReference_Type) Enum ¶
func (x FileReference_Type) Enum() *FileReference_Type
func (FileReference_Type) EnumDescriptor
deprecated
func (FileReference_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use FileReference_Type.Descriptor instead.
func (FileReference_Type) Number ¶
func (x FileReference_Type) Number() protoreflect.EnumNumber
func (FileReference_Type) String ¶
func (x FileReference_Type) String() string
func (FileReference_Type) Type ¶
func (FileReference_Type) Type() protoreflect.EnumType
type Id ¶
type Id struct {
// contains filtered or unexported fields
}
A value that represents an ID. This is just a placeholder, as ID values are used to occupy a resource ID (0xPPTTEEEE) as a unique identifier. Their value is unimportant.
func (*Id) Descriptor
deprecated
func (*Id) ProtoMessage ¶
func (*Id) ProtoMessage()
func (*Id) ProtoReflect ¶
func (x *Id) ProtoReflect() protoreflect.Message
type Item ¶
type Item struct { // Types that are assignable to Value: // *Item_Ref // *Item_Str // *Item_RawStr // *Item_StyledStr // *Item_File // *Item_Id // *Item_Prim Value isItem_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
An Item is an abstract type. It represents a value that can appear inline in many places, such as XML attribute values or on the right hand side of style attribute definitions. The concrete type is one of the types below. Only one can be set.
func (*Item) Descriptor
deprecated
func (*Item) GetFile ¶
func (x *Item) GetFile() *FileReference
func (*Item) GetStyledStr ¶
func (x *Item) GetStyledStr() *StyledString
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) ProtoReflect ¶
func (x *Item) ProtoReflect() protoreflect.Message
type Item_File ¶
type Item_File struct {
File *FileReference `protobuf:"bytes,5,opt,name=file,proto3,oneof"`
}
type Item_Prim ¶
type Item_Prim struct {
Prim *Primitive `protobuf:"bytes,7,opt,name=prim,proto3,oneof"`
}
type Item_RawStr ¶
type Item_RawStr struct {
RawStr *RawString `protobuf:"bytes,3,opt,name=raw_str,json=rawStr,proto3,oneof"`
}
type Item_Ref ¶
type Item_Ref struct {
Ref *Reference `protobuf:"bytes,1,opt,name=ref,proto3,oneof"`
}
type Item_StyledStr ¶
type Item_StyledStr struct {
StyledStr *StyledString `protobuf:"bytes,4,opt,name=styled_str,json=styledStr,proto3,oneof"`
}
type MacroBody ¶
type MacroBody struct { RawString string `protobuf:"bytes,1,opt,name=raw_string,json=rawString,proto3" json:"raw_string,omitempty"` StyleString *StyleString `protobuf:"bytes,2,opt,name=style_string,json=styleString,proto3" json:"style_string,omitempty"` UntranslatableSections []*UntranslatableSection `` /* 127-byte string literal not displayed */ NamespaceStack []*NamespaceAlias `protobuf:"bytes,4,rep,name=namespace_stack,json=namespaceStack,proto3" json:"namespace_stack,omitempty"` Source *SourcePosition `protobuf:"bytes,5,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
func (*MacroBody) Descriptor
deprecated
func (*MacroBody) GetNamespaceStack ¶
func (x *MacroBody) GetNamespaceStack() []*NamespaceAlias
func (*MacroBody) GetRawString ¶
func (*MacroBody) GetSource ¶
func (x *MacroBody) GetSource() *SourcePosition
func (*MacroBody) GetStyleString ¶
func (x *MacroBody) GetStyleString() *StyleString
func (*MacroBody) GetUntranslatableSections ¶
func (x *MacroBody) GetUntranslatableSections() []*UntranslatableSection
func (*MacroBody) ProtoMessage ¶
func (*MacroBody) ProtoMessage()
func (*MacroBody) ProtoReflect ¶
func (x *MacroBody) ProtoReflect() protoreflect.Message
type NamespaceAlias ¶
type NamespaceAlias struct { Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` IsPrivate bool `protobuf:"varint,3,opt,name=is_private,json=isPrivate,proto3" json:"is_private,omitempty"` // contains filtered or unexported fields }
func (*NamespaceAlias) Descriptor
deprecated
func (*NamespaceAlias) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceAlias.ProtoReflect.Descriptor instead.
func (*NamespaceAlias) GetIsPrivate ¶
func (x *NamespaceAlias) GetIsPrivate() bool
func (*NamespaceAlias) GetPackageName ¶
func (x *NamespaceAlias) GetPackageName() string
func (*NamespaceAlias) GetPrefix ¶
func (x *NamespaceAlias) GetPrefix() string
func (*NamespaceAlias) ProtoMessage ¶
func (*NamespaceAlias) ProtoMessage()
func (*NamespaceAlias) ProtoReflect ¶
func (x *NamespaceAlias) ProtoReflect() protoreflect.Message
func (*NamespaceAlias) Reset ¶
func (x *NamespaceAlias) Reset()
func (*NamespaceAlias) String ¶
func (x *NamespaceAlias) String() string
type Overlayable ¶
type Overlayable struct { // The name of the <overlayable>. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The location of the <overlayable> declaration in the source. Source *Source `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // The component responsible for enabling and disabling overlays targeting this <overlayable>. Actor string `protobuf:"bytes,3,opt,name=actor,proto3" json:"actor,omitempty"` // contains filtered or unexported fields }
Represents a set of overlayable resources.
func (*Overlayable) Descriptor
deprecated
func (*Overlayable) Descriptor() ([]byte, []int)
Deprecated: Use Overlayable.ProtoReflect.Descriptor instead.
func (*Overlayable) GetActor ¶
func (x *Overlayable) GetActor() string
func (*Overlayable) GetName ¶
func (x *Overlayable) GetName() string
func (*Overlayable) GetSource ¶
func (x *Overlayable) GetSource() *Source
func (*Overlayable) ProtoMessage ¶
func (*Overlayable) ProtoMessage()
func (*Overlayable) ProtoReflect ¶
func (x *Overlayable) ProtoReflect() protoreflect.Message
func (*Overlayable) Reset ¶
func (x *Overlayable) Reset()
func (*Overlayable) String ¶
func (x *Overlayable) String() string
type OverlayableItem ¶
type OverlayableItem struct { // The location of the <item> declaration in source. Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // Any comment associated with the declaration. Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // The policy defined by the enclosing <policy> tag of this <item>. Policy []OverlayableItem_Policy `protobuf:"varint,3,rep,packed,name=policy,proto3,enum=aapt.pb.OverlayableItem_Policy" json:"policy,omitempty"` // The index into overlayable list that points to the <overlayable> tag that contains // this <item>. OverlayableIdx uint32 `protobuf:"varint,4,opt,name=overlayable_idx,json=overlayableIdx,proto3" json:"overlayable_idx,omitempty"` // contains filtered or unexported fields }
Represents an overlayable <item> declaration within an <overlayable> tag.
func (*OverlayableItem) Descriptor
deprecated
func (*OverlayableItem) Descriptor() ([]byte, []int)
Deprecated: Use OverlayableItem.ProtoReflect.Descriptor instead.
func (*OverlayableItem) GetComment ¶
func (x *OverlayableItem) GetComment() string
func (*OverlayableItem) GetOverlayableIdx ¶
func (x *OverlayableItem) GetOverlayableIdx() uint32
func (*OverlayableItem) GetPolicy ¶
func (x *OverlayableItem) GetPolicy() []OverlayableItem_Policy
func (*OverlayableItem) GetSource ¶
func (x *OverlayableItem) GetSource() *Source
func (*OverlayableItem) ProtoMessage ¶
func (*OverlayableItem) ProtoMessage()
func (*OverlayableItem) ProtoReflect ¶
func (x *OverlayableItem) ProtoReflect() protoreflect.Message
func (*OverlayableItem) Reset ¶
func (x *OverlayableItem) Reset()
func (*OverlayableItem) String ¶
func (x *OverlayableItem) String() string
type OverlayableItem_Policy ¶
type OverlayableItem_Policy int32
const ( OverlayableItem_NONE OverlayableItem_Policy = 0 OverlayableItem_PUBLIC OverlayableItem_Policy = 1 OverlayableItem_SYSTEM OverlayableItem_Policy = 2 OverlayableItem_VENDOR OverlayableItem_Policy = 3 OverlayableItem_PRODUCT OverlayableItem_Policy = 4 OverlayableItem_SIGNATURE OverlayableItem_Policy = 5 OverlayableItem_ODM OverlayableItem_Policy = 6 OverlayableItem_OEM OverlayableItem_Policy = 7 OverlayableItem_ACTOR OverlayableItem_Policy = 8 OverlayableItem_CONFIG_SIGNATURE OverlayableItem_Policy = 9 )
func (OverlayableItem_Policy) Descriptor ¶
func (OverlayableItem_Policy) Descriptor() protoreflect.EnumDescriptor
func (OverlayableItem_Policy) Enum ¶
func (x OverlayableItem_Policy) Enum() *OverlayableItem_Policy
func (OverlayableItem_Policy) EnumDescriptor
deprecated
func (OverlayableItem_Policy) EnumDescriptor() ([]byte, []int)
Deprecated: Use OverlayableItem_Policy.Descriptor instead.
func (OverlayableItem_Policy) Number ¶
func (x OverlayableItem_Policy) Number() protoreflect.EnumNumber
func (OverlayableItem_Policy) String ¶
func (x OverlayableItem_Policy) String() string
func (OverlayableItem_Policy) Type ¶
func (OverlayableItem_Policy) Type() protoreflect.EnumType
type Package ¶
type Package struct { // The package ID of this package, in the range [0x00, 0xff]. // - ID 0x00 is reserved for shared libraries, or when the ID is assigned at run-time. // - ID 0x01 is reserved for the 'android' package (framework). // - ID range [0x02, 0x7f) is reserved for auto-assignment to shared libraries at run-time. // - ID 0x7f is reserved for the application package. // - IDs > 0x7f are reserved for the application as well and are treated as feature splits. // This may not be set if no ID was assigned. PackageId *PackageId `protobuf:"bytes,1,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"` // The Java compatible Android package name of the app. PackageName string `protobuf:"bytes,2,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"` // The series of types defined by the package. Type []*Type `protobuf:"bytes,3,rep,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
Defines resources for an Android package.
func (*Package) Descriptor
deprecated
func (*Package) GetPackageId ¶
func (*Package) GetPackageName ¶
func (*Package) ProtoMessage ¶
func (*Package) ProtoMessage()
func (*Package) ProtoReflect ¶
func (x *Package) ProtoReflect() protoreflect.Message
type PackageId ¶
type PackageId struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
A package ID in the range [0x00, 0xff].
func (*PackageId) Descriptor
deprecated
func (*PackageId) ProtoMessage ¶
func (*PackageId) ProtoMessage()
func (*PackageId) ProtoReflect ¶
func (x *PackageId) ProtoReflect() protoreflect.Message
type Plural ¶
type Plural struct { // The set of arity/plural mappings. Entry []*Plural_Entry `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"` // contains filtered or unexported fields }
A value that represents a string and its many variations based on plurality.
func (*Plural) Descriptor
deprecated
func (*Plural) GetEntry ¶
func (x *Plural) GetEntry() []*Plural_Entry
func (*Plural) ProtoMessage ¶
func (*Plural) ProtoMessage()
func (*Plural) ProtoReflect ¶
func (x *Plural) ProtoReflect() protoreflect.Message
type Plural_Arity ¶
type Plural_Arity int32
The arity of the plural.
const ( Plural_ZERO Plural_Arity = 0 Plural_ONE Plural_Arity = 1 Plural_TWO Plural_Arity = 2 Plural_FEW Plural_Arity = 3 Plural_MANY Plural_Arity = 4 Plural_OTHER Plural_Arity = 5 )
func (Plural_Arity) Descriptor ¶
func (Plural_Arity) Descriptor() protoreflect.EnumDescriptor
func (Plural_Arity) Enum ¶
func (x Plural_Arity) Enum() *Plural_Arity
func (Plural_Arity) EnumDescriptor
deprecated
func (Plural_Arity) EnumDescriptor() ([]byte, []int)
Deprecated: Use Plural_Arity.Descriptor instead.
func (Plural_Arity) Number ¶
func (x Plural_Arity) Number() protoreflect.EnumNumber
func (Plural_Arity) String ¶
func (x Plural_Arity) String() string
func (Plural_Arity) Type ¶
func (Plural_Arity) Type() protoreflect.EnumType
type Plural_Entry ¶
type Plural_Entry struct { // Where the plural was defined. Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // Any comments associated with the plural. Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // The arity of the plural. Arity Plural_Arity `protobuf:"varint,3,opt,name=arity,proto3,enum=aapt.pb.Plural_Arity" json:"arity,omitempty"` // The value assigned to this plural. Item *Item `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
The plural value for a given arity.
func (*Plural_Entry) Descriptor
deprecated
func (*Plural_Entry) Descriptor() ([]byte, []int)
Deprecated: Use Plural_Entry.ProtoReflect.Descriptor instead.
func (*Plural_Entry) GetArity ¶
func (x *Plural_Entry) GetArity() Plural_Arity
func (*Plural_Entry) GetComment ¶
func (x *Plural_Entry) GetComment() string
func (*Plural_Entry) GetItem ¶
func (x *Plural_Entry) GetItem() *Item
func (*Plural_Entry) GetSource ¶
func (x *Plural_Entry) GetSource() *Source
func (*Plural_Entry) ProtoMessage ¶
func (*Plural_Entry) ProtoMessage()
func (*Plural_Entry) ProtoReflect ¶
func (x *Plural_Entry) ProtoReflect() protoreflect.Message
func (*Plural_Entry) Reset ¶
func (x *Plural_Entry) Reset()
func (*Plural_Entry) String ¶
func (x *Plural_Entry) String() string
type Primitive ¶
type Primitive struct { // Types that are assignable to OneofValue: // *Primitive_NullValue // *Primitive_EmptyValue // *Primitive_FloatValue // *Primitive_DimensionValue // *Primitive_FractionValue // *Primitive_IntDecimalValue // *Primitive_IntHexadecimalValue // *Primitive_BooleanValue // *Primitive_ColorArgb8Value // *Primitive_ColorRgb8Value // *Primitive_ColorArgb4Value // *Primitive_ColorRgb4Value // *Primitive_DimensionValueDeprecated // *Primitive_FractionValueDeprecated OneofValue isPrimitive_OneofValue `protobuf_oneof:"oneof_value"` // contains filtered or unexported fields }
A value that represents a primitive data type (float, int, boolean, etc.). Refer to Res_value in ResourceTypes.h for info on types and formatting
func (*Primitive) Descriptor
deprecated
func (*Primitive) GetBooleanValue ¶
func (*Primitive) GetColorArgb4Value ¶
func (*Primitive) GetColorArgb8Value ¶
func (*Primitive) GetColorRgb4Value ¶
func (*Primitive) GetColorRgb8Value ¶
func (*Primitive) GetDimensionValue ¶
func (*Primitive) GetDimensionValueDeprecated
deprecated
func (*Primitive) GetEmptyValue ¶
func (x *Primitive) GetEmptyValue() *Primitive_EmptyType
func (*Primitive) GetFloatValue ¶
func (*Primitive) GetFractionValue ¶
func (*Primitive) GetFractionValueDeprecated
deprecated
func (*Primitive) GetIntDecimalValue ¶
func (*Primitive) GetIntHexadecimalValue ¶
func (*Primitive) GetNullValue ¶
func (x *Primitive) GetNullValue() *Primitive_NullType
func (*Primitive) GetOneofValue ¶
func (m *Primitive) GetOneofValue() isPrimitive_OneofValue
func (*Primitive) ProtoMessage ¶
func (*Primitive) ProtoMessage()
func (*Primitive) ProtoReflect ¶
func (x *Primitive) ProtoReflect() protoreflect.Message
type Primitive_BooleanValue ¶
type Primitive_BooleanValue struct {
BooleanValue bool `protobuf:"varint,8,opt,name=boolean_value,json=booleanValue,proto3,oneof"`
}
type Primitive_ColorArgb4Value ¶
type Primitive_ColorArgb4Value struct {
ColorArgb4Value uint32 `protobuf:"varint,11,opt,name=color_argb4_value,json=colorArgb4Value,proto3,oneof"`
}
type Primitive_ColorArgb8Value ¶
type Primitive_ColorArgb8Value struct {
ColorArgb8Value uint32 `protobuf:"varint,9,opt,name=color_argb8_value,json=colorArgb8Value,proto3,oneof"`
}
type Primitive_ColorRgb4Value ¶
type Primitive_ColorRgb4Value struct {
ColorRgb4Value uint32 `protobuf:"varint,12,opt,name=color_rgb4_value,json=colorRgb4Value,proto3,oneof"`
}
type Primitive_ColorRgb8Value ¶
type Primitive_ColorRgb8Value struct {
ColorRgb8Value uint32 `protobuf:"varint,10,opt,name=color_rgb8_value,json=colorRgb8Value,proto3,oneof"`
}
type Primitive_DimensionValue ¶
type Primitive_DimensionValue struct {
DimensionValue uint32 `protobuf:"varint,13,opt,name=dimension_value,json=dimensionValue,proto3,oneof"`
}
type Primitive_DimensionValueDeprecated ¶
type Primitive_DimensionValueDeprecated struct { // Deprecated: Do not use. DimensionValueDeprecated float32 `protobuf:"fixed32,4,opt,name=dimension_value_deprecated,json=dimensionValueDeprecated,proto3,oneof"` }
type Primitive_EmptyType ¶
type Primitive_EmptyType struct {
// contains filtered or unexported fields
}
func (*Primitive_EmptyType) Descriptor
deprecated
func (*Primitive_EmptyType) Descriptor() ([]byte, []int)
Deprecated: Use Primitive_EmptyType.ProtoReflect.Descriptor instead.
func (*Primitive_EmptyType) ProtoMessage ¶
func (*Primitive_EmptyType) ProtoMessage()
func (*Primitive_EmptyType) ProtoReflect ¶
func (x *Primitive_EmptyType) ProtoReflect() protoreflect.Message
func (*Primitive_EmptyType) Reset ¶
func (x *Primitive_EmptyType) Reset()
func (*Primitive_EmptyType) String ¶
func (x *Primitive_EmptyType) String() string
type Primitive_EmptyValue ¶
type Primitive_EmptyValue struct {
EmptyValue *Primitive_EmptyType `protobuf:"bytes,2,opt,name=empty_value,json=emptyValue,proto3,oneof"`
}
type Primitive_FloatValue ¶
type Primitive_FloatValue struct {
FloatValue float32 `protobuf:"fixed32,3,opt,name=float_value,json=floatValue,proto3,oneof"`
}
type Primitive_FractionValue ¶
type Primitive_FractionValue struct {
FractionValue uint32 `protobuf:"varint,14,opt,name=fraction_value,json=fractionValue,proto3,oneof"`
}
type Primitive_FractionValueDeprecated ¶
type Primitive_FractionValueDeprecated struct { // Deprecated: Do not use. FractionValueDeprecated float32 `protobuf:"fixed32,5,opt,name=fraction_value_deprecated,json=fractionValueDeprecated,proto3,oneof"` }
type Primitive_IntDecimalValue ¶
type Primitive_IntDecimalValue struct {
IntDecimalValue int32 `protobuf:"varint,6,opt,name=int_decimal_value,json=intDecimalValue,proto3,oneof"`
}
type Primitive_IntHexadecimalValue ¶
type Primitive_IntHexadecimalValue struct {
IntHexadecimalValue uint32 `protobuf:"varint,7,opt,name=int_hexadecimal_value,json=intHexadecimalValue,proto3,oneof"`
}
type Primitive_NullType ¶
type Primitive_NullType struct {
// contains filtered or unexported fields
}
func (*Primitive_NullType) Descriptor
deprecated
func (*Primitive_NullType) Descriptor() ([]byte, []int)
Deprecated: Use Primitive_NullType.ProtoReflect.Descriptor instead.
func (*Primitive_NullType) ProtoMessage ¶
func (*Primitive_NullType) ProtoMessage()
func (*Primitive_NullType) ProtoReflect ¶
func (x *Primitive_NullType) ProtoReflect() protoreflect.Message
func (*Primitive_NullType) Reset ¶
func (x *Primitive_NullType) Reset()
func (*Primitive_NullType) String ¶
func (x *Primitive_NullType) String() string
type Primitive_NullValue ¶
type Primitive_NullValue struct {
NullValue *Primitive_NullType `protobuf:"bytes,1,opt,name=null_value,json=nullValue,proto3,oneof"`
}
type RawString ¶
type RawString struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A value that is a raw string, which is unescaped/uninterpreted. This is typically used to represent the value of a style attribute before the attribute is compiled and the set of allowed values is known.
func (*RawString) Descriptor
deprecated
func (*RawString) ProtoMessage ¶
func (*RawString) ProtoMessage()
func (*RawString) ProtoReflect ¶
func (x *RawString) ProtoReflect() protoreflect.Message
type Reference ¶
type Reference struct { Type Reference_Type `protobuf:"varint,1,opt,name=type,proto3,enum=aapt.pb.Reference_Type" json:"type,omitempty"` // The resource ID (0xPPTTEEEE) of the resource being referred. This is optional. Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // The name of the resource being referred. This is optional if the resource ID is set. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Whether this reference is referencing a private resource (@*package:type/entry). Private bool `protobuf:"varint,4,opt,name=private,proto3" json:"private,omitempty"` // Whether this reference is dynamic. IsDynamic *Boolean `protobuf:"bytes,5,opt,name=is_dynamic,json=isDynamic,proto3" json:"is_dynamic,omitempty"` // The type flags used when compiling the reference. Used for substituting the contents of macros. TypeFlags uint32 `protobuf:"varint,6,opt,name=type_flags,json=typeFlags,proto3" json:"type_flags,omitempty"` // Whether raw string values would have been accepted in place of this reference definition. Used // for substituting the contents of macros. AllowRaw bool `protobuf:"varint,7,opt,name=allow_raw,json=allowRaw,proto3" json:"allow_raw,omitempty"` // contains filtered or unexported fields }
A value that is a reference to another resource. This reference can be by name or resource ID.
func (*Reference) Descriptor
deprecated
func (*Reference) GetAllowRaw ¶
func (*Reference) GetIsDynamic ¶
func (*Reference) GetPrivate ¶
func (*Reference) GetType ¶
func (x *Reference) GetType() Reference_Type
func (*Reference) GetTypeFlags ¶
func (*Reference) ProtoMessage ¶
func (*Reference) ProtoMessage()
func (*Reference) ProtoReflect ¶
func (x *Reference) ProtoReflect() protoreflect.Message
type Reference_Type ¶
type Reference_Type int32
const ( // A plain reference (@package:type/entry). Reference_REFERENCE Reference_Type = 0 // A reference to a theme attribute (?package:type/entry). Reference_ATTRIBUTE Reference_Type = 1 )
func (Reference_Type) Descriptor ¶
func (Reference_Type) Descriptor() protoreflect.EnumDescriptor
func (Reference_Type) Enum ¶
func (x Reference_Type) Enum() *Reference_Type
func (Reference_Type) EnumDescriptor
deprecated
func (Reference_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Reference_Type.Descriptor instead.
func (Reference_Type) Number ¶
func (x Reference_Type) Number() protoreflect.EnumNumber
func (Reference_Type) String ¶
func (x Reference_Type) String() string
func (Reference_Type) Type ¶
func (Reference_Type) Type() protoreflect.EnumType
type ResourceTable ¶
type ResourceTable struct { // The string pool containing source paths referenced throughout the resource table. This does // not end up in the final binary ARSC file. SourcePool *StringPool `protobuf:"bytes,1,opt,name=source_pool,json=sourcePool,proto3" json:"source_pool,omitempty"` // Resource definitions corresponding to an Android package. Package []*Package `protobuf:"bytes,2,rep,name=package,proto3" json:"package,omitempty"` // The <overlayable> declarations within the resource table. Overlayable []*Overlayable `protobuf:"bytes,3,rep,name=overlayable,proto3" json:"overlayable,omitempty"` // The version fingerprints of the tools that built the resource table. ToolFingerprint []*ToolFingerprint `protobuf:"bytes,4,rep,name=tool_fingerprint,json=toolFingerprint,proto3" json:"tool_fingerprint,omitempty"` // contains filtered or unexported fields }
Top level message representing a resource table.
func (*ResourceTable) Descriptor
deprecated
func (*ResourceTable) Descriptor() ([]byte, []int)
Deprecated: Use ResourceTable.ProtoReflect.Descriptor instead.
func (*ResourceTable) GetOverlayable ¶
func (x *ResourceTable) GetOverlayable() []*Overlayable
func (*ResourceTable) GetPackage ¶
func (x *ResourceTable) GetPackage() []*Package
func (*ResourceTable) GetSourcePool ¶
func (x *ResourceTable) GetSourcePool() *StringPool
func (*ResourceTable) GetToolFingerprint ¶
func (x *ResourceTable) GetToolFingerprint() []*ToolFingerprint
func (*ResourceTable) ProtoMessage ¶
func (*ResourceTable) ProtoMessage()
func (*ResourceTable) ProtoReflect ¶
func (x *ResourceTable) ProtoReflect() protoreflect.Message
func (*ResourceTable) Reset ¶
func (x *ResourceTable) Reset()
func (*ResourceTable) String ¶
func (x *ResourceTable) String() string
type Source ¶
type Source struct { // The index of the string path within the source string pool of a ResourceTable. PathIdx uint32 `protobuf:"varint,1,opt,name=path_idx,json=pathIdx,proto3" json:"path_idx,omitempty"` Position *SourcePosition `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` // contains filtered or unexported fields }
Developer friendly source file information for an entity in the resource table.
func (*Source) Descriptor
deprecated
func (*Source) GetPathIdx ¶
func (*Source) GetPosition ¶
func (x *Source) GetPosition() *SourcePosition
func (*Source) ProtoMessage ¶
func (*Source) ProtoMessage()
func (*Source) ProtoReflect ¶
func (x *Source) ProtoReflect() protoreflect.Message
type SourcePosition ¶
type SourcePosition struct { LineNumber uint32 `protobuf:"varint,1,opt,name=line_number,json=lineNumber,proto3" json:"line_number,omitempty"` ColumnNumber uint32 `protobuf:"varint,2,opt,name=column_number,json=columnNumber,proto3" json:"column_number,omitempty"` // contains filtered or unexported fields }
The position of a declared entity within a file.
func (*SourcePosition) Descriptor
deprecated
func (*SourcePosition) Descriptor() ([]byte, []int)
Deprecated: Use SourcePosition.ProtoReflect.Descriptor instead.
func (*SourcePosition) GetColumnNumber ¶
func (x *SourcePosition) GetColumnNumber() uint32
func (*SourcePosition) GetLineNumber ¶
func (x *SourcePosition) GetLineNumber() uint32
func (*SourcePosition) ProtoMessage ¶
func (*SourcePosition) ProtoMessage()
func (*SourcePosition) ProtoReflect ¶
func (x *SourcePosition) ProtoReflect() protoreflect.Message
func (*SourcePosition) Reset ¶
func (x *SourcePosition) Reset()
func (*SourcePosition) String ¶
func (x *SourcePosition) String() string
type StagedId ¶
type StagedId struct { Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` StagedId uint32 `protobuf:"varint,2,opt,name=staged_id,json=stagedId,proto3" json:"staged_id,omitempty"` // contains filtered or unexported fields }
The staged resource ID definition of a finalized resource.
func (*StagedId) Descriptor
deprecated
func (*StagedId) GetStagedId ¶
func (*StagedId) ProtoMessage ¶
func (*StagedId) ProtoMessage()
func (*StagedId) ProtoReflect ¶
func (x *StagedId) ProtoReflect() protoreflect.Message
type String ¶
type String struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
A value that is a string.
func (*String) Descriptor
deprecated
func (*String) ProtoMessage ¶
func (*String) ProtoMessage()
func (*String) ProtoReflect ¶
func (x *String) ProtoReflect() protoreflect.Message
type StringPool ¶
type StringPool struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
A string pool that wraps the binary form of the C++ class android::ResStringPool.
func (*StringPool) Descriptor
deprecated
func (*StringPool) Descriptor() ([]byte, []int)
Deprecated: Use StringPool.ProtoReflect.Descriptor instead.
func (*StringPool) GetData ¶
func (x *StringPool) GetData() []byte
func (*StringPool) ProtoMessage ¶
func (*StringPool) ProtoMessage()
func (*StringPool) ProtoReflect ¶
func (x *StringPool) ProtoReflect() protoreflect.Message
func (*StringPool) Reset ¶
func (x *StringPool) Reset()
func (*StringPool) String ¶
func (x *StringPool) String() string
type Style ¶
type Style struct { // The optinal style from which this style inherits attributes. Parent *Reference `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The source file information of the parent inheritance declaration. ParentSource *Source `protobuf:"bytes,2,opt,name=parent_source,json=parentSource,proto3" json:"parent_source,omitempty"` // The set of XML attribute/value pairs for this style. Entry []*Style_Entry `protobuf:"bytes,3,rep,name=entry,proto3" json:"entry,omitempty"` // contains filtered or unexported fields }
A value that represents a style.
func (*Style) Descriptor
deprecated
func (*Style) GetEntry ¶
func (x *Style) GetEntry() []*Style_Entry
func (*Style) GetParentSource ¶
func (*Style) ProtoMessage ¶
func (*Style) ProtoMessage()
func (*Style) ProtoReflect ¶
func (x *Style) ProtoReflect() protoreflect.Message
type StyleString ¶
type StyleString struct { Str string `protobuf:"bytes,1,opt,name=str,proto3" json:"str,omitempty"` Spans []*StyleString_Span `protobuf:"bytes,2,rep,name=spans,proto3" json:"spans,omitempty"` // contains filtered or unexported fields }
func (*StyleString) Descriptor
deprecated
func (*StyleString) Descriptor() ([]byte, []int)
Deprecated: Use StyleString.ProtoReflect.Descriptor instead.
func (*StyleString) GetSpans ¶
func (x *StyleString) GetSpans() []*StyleString_Span
func (*StyleString) GetStr ¶
func (x *StyleString) GetStr() string
func (*StyleString) ProtoMessage ¶
func (*StyleString) ProtoMessage()
func (*StyleString) ProtoReflect ¶
func (x *StyleString) ProtoReflect() protoreflect.Message
func (*StyleString) Reset ¶
func (x *StyleString) Reset()
func (*StyleString) String ¶
func (x *StyleString) String() string
type StyleString_Span ¶
type StyleString_Span struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` StartIndex uint32 `protobuf:"varint,2,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"` EndIndex uint32 `protobuf:"varint,3,opt,name=end_index,json=endIndex,proto3" json:"end_index,omitempty"` // contains filtered or unexported fields }
func (*StyleString_Span) Descriptor
deprecated
func (*StyleString_Span) Descriptor() ([]byte, []int)
Deprecated: Use StyleString_Span.ProtoReflect.Descriptor instead.
func (*StyleString_Span) GetEndIndex ¶
func (x *StyleString_Span) GetEndIndex() uint32
func (*StyleString_Span) GetName ¶
func (x *StyleString_Span) GetName() string
func (*StyleString_Span) GetStartIndex ¶
func (x *StyleString_Span) GetStartIndex() uint32
func (*StyleString_Span) ProtoMessage ¶
func (*StyleString_Span) ProtoMessage()
func (*StyleString_Span) ProtoReflect ¶
func (x *StyleString_Span) ProtoReflect() protoreflect.Message
func (*StyleString_Span) Reset ¶
func (x *StyleString_Span) Reset()
func (*StyleString_Span) String ¶
func (x *StyleString_Span) String() string
type Style_Entry ¶
type Style_Entry struct { // Where the entry was defined. Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // Any comments associated with the entry. Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // A reference to the XML attribute. Key *Reference `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // The Item defined for this XML attribute. Item *Item `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
An XML attribute/value pair defined in the style.
func (*Style_Entry) Descriptor
deprecated
func (*Style_Entry) Descriptor() ([]byte, []int)
Deprecated: Use Style_Entry.ProtoReflect.Descriptor instead.
func (*Style_Entry) GetComment ¶
func (x *Style_Entry) GetComment() string
func (*Style_Entry) GetItem ¶
func (x *Style_Entry) GetItem() *Item
func (*Style_Entry) GetKey ¶
func (x *Style_Entry) GetKey() *Reference
func (*Style_Entry) GetSource ¶
func (x *Style_Entry) GetSource() *Source
func (*Style_Entry) ProtoMessage ¶
func (*Style_Entry) ProtoMessage()
func (*Style_Entry) ProtoReflect ¶
func (x *Style_Entry) ProtoReflect() protoreflect.Message
func (*Style_Entry) Reset ¶
func (x *Style_Entry) Reset()
func (*Style_Entry) String ¶
func (x *Style_Entry) String() string
type Styleable ¶
type Styleable struct { // The set of attribute declarations. Entry []*Styleable_Entry `protobuf:"bytes,1,rep,name=entry,proto3" json:"entry,omitempty"` // contains filtered or unexported fields }
A value that represents a <declare-styleable> XML resource. These are not real resources and only end up as Java fields in the generated R.java. They do not end up in the binary ARSC file.
func (*Styleable) Descriptor
deprecated
func (*Styleable) GetEntry ¶
func (x *Styleable) GetEntry() []*Styleable_Entry
func (*Styleable) ProtoMessage ¶
func (*Styleable) ProtoMessage()
func (*Styleable) ProtoReflect ¶
func (x *Styleable) ProtoReflect() protoreflect.Message
type Styleable_Entry ¶
type Styleable_Entry struct { // Where the attribute was defined within the <declare-styleable> block. Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // Any comments associated with the declaration. Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // The reference to the attribute. Attr *Reference `protobuf:"bytes,3,opt,name=attr,proto3" json:"attr,omitempty"` // contains filtered or unexported fields }
An attribute defined for this styleable.
func (*Styleable_Entry) Descriptor
deprecated
func (*Styleable_Entry) Descriptor() ([]byte, []int)
Deprecated: Use Styleable_Entry.ProtoReflect.Descriptor instead.
func (*Styleable_Entry) GetAttr ¶
func (x *Styleable_Entry) GetAttr() *Reference
func (*Styleable_Entry) GetComment ¶
func (x *Styleable_Entry) GetComment() string
func (*Styleable_Entry) GetSource ¶
func (x *Styleable_Entry) GetSource() *Source
func (*Styleable_Entry) ProtoMessage ¶
func (*Styleable_Entry) ProtoMessage()
func (*Styleable_Entry) ProtoReflect ¶
func (x *Styleable_Entry) ProtoReflect() protoreflect.Message
func (*Styleable_Entry) Reset ¶
func (x *Styleable_Entry) Reset()
func (*Styleable_Entry) String ¶
func (x *Styleable_Entry) String() string
type StyledString ¶
type StyledString struct { // The raw text of the string. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Span []*StyledString_Span `protobuf:"bytes,2,rep,name=span,proto3" json:"span,omitempty"` // contains filtered or unexported fields }
A string with styling information, like html tags that specify boldness, italics, etc.
func (*StyledString) Descriptor
deprecated
func (*StyledString) Descriptor() ([]byte, []int)
Deprecated: Use StyledString.ProtoReflect.Descriptor instead.
func (*StyledString) GetSpan ¶
func (x *StyledString) GetSpan() []*StyledString_Span
func (*StyledString) GetValue ¶
func (x *StyledString) GetValue() string
func (*StyledString) ProtoMessage ¶
func (*StyledString) ProtoMessage()
func (*StyledString) ProtoReflect ¶
func (x *StyledString) ProtoReflect() protoreflect.Message
func (*StyledString) Reset ¶
func (x *StyledString) Reset()
func (*StyledString) String ¶
func (x *StyledString) String() string
type StyledString_Span ¶
type StyledString_Span struct { // The name of the tag, and its attributes, encoded as follows: // tag_name;attr1=value1;attr2=value2;[...] Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` // The first character position this span applies to, in UTF-16 offset. FirstChar uint32 `protobuf:"varint,2,opt,name=first_char,json=firstChar,proto3" json:"first_char,omitempty"` // The last character position this span applies to, in UTF-16 offset. LastChar uint32 `protobuf:"varint,3,opt,name=last_char,json=lastChar,proto3" json:"last_char,omitempty"` // contains filtered or unexported fields }
A Span marks a region of the string text that is styled.
func (*StyledString_Span) Descriptor
deprecated
func (*StyledString_Span) Descriptor() ([]byte, []int)
Deprecated: Use StyledString_Span.ProtoReflect.Descriptor instead.
func (*StyledString_Span) GetFirstChar ¶
func (x *StyledString_Span) GetFirstChar() uint32
func (*StyledString_Span) GetLastChar ¶
func (x *StyledString_Span) GetLastChar() uint32
func (*StyledString_Span) GetTag ¶
func (x *StyledString_Span) GetTag() string
func (*StyledString_Span) ProtoMessage ¶
func (*StyledString_Span) ProtoMessage()
func (*StyledString_Span) ProtoReflect ¶
func (x *StyledString_Span) ProtoReflect() protoreflect.Message
func (*StyledString_Span) Reset ¶
func (x *StyledString_Span) Reset()
func (*StyledString_Span) String ¶
func (x *StyledString_Span) String() string
type ToolFingerprint ¶
type ToolFingerprint struct { Tool string `protobuf:"bytes,1,opt,name=tool,proto3" json:"tool,omitempty"` Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
The name and version fingerprint of a build tool.
func (*ToolFingerprint) Descriptor
deprecated
func (*ToolFingerprint) Descriptor() ([]byte, []int)
Deprecated: Use ToolFingerprint.ProtoReflect.Descriptor instead.
func (*ToolFingerprint) GetTool ¶
func (x *ToolFingerprint) GetTool() string
func (*ToolFingerprint) GetVersion ¶
func (x *ToolFingerprint) GetVersion() string
func (*ToolFingerprint) ProtoMessage ¶
func (*ToolFingerprint) ProtoMessage()
func (*ToolFingerprint) ProtoReflect ¶
func (x *ToolFingerprint) ProtoReflect() protoreflect.Message
func (*ToolFingerprint) Reset ¶
func (x *ToolFingerprint) Reset()
func (*ToolFingerprint) String ¶
func (x *ToolFingerprint) String() string
type Type ¶
type Type struct { // The ID of the type. This may not be set if no ID was assigned. TypeId *TypeId `protobuf:"bytes,1,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` // The name of the type. This corresponds to the 'type' part of a full resource name of the form // package:type/entry. The set of legal type names is listed in Resource.cpp. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The entries defined for this type. Entry []*Entry `protobuf:"bytes,3,rep,name=entry,proto3" json:"entry,omitempty"` // contains filtered or unexported fields }
A set of resources grouped under a common type. Such types include string, layout, xml, dimen, attr, etc. This maps to the second part of a resource identifier in Java (R.type.entry).
func (*Type) Descriptor
deprecated
func (*Type) ProtoMessage ¶
func (*Type) ProtoMessage()
func (*Type) ProtoReflect ¶
func (x *Type) ProtoReflect() protoreflect.Message
type TypeId ¶
type TypeId struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
A type ID in the range [0x01, 0xff].
func (*TypeId) Descriptor
deprecated
func (*TypeId) ProtoMessage ¶
func (*TypeId) ProtoMessage()
func (*TypeId) ProtoReflect ¶
func (x *TypeId) ProtoReflect() protoreflect.Message
type UntranslatableSection ¶
type UntranslatableSection struct { StartIndex uint64 `protobuf:"varint,1,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"` EndIndex uint64 `protobuf:"varint,2,opt,name=end_index,json=endIndex,proto3" json:"end_index,omitempty"` // contains filtered or unexported fields }
func (*UntranslatableSection) Descriptor
deprecated
func (*UntranslatableSection) Descriptor() ([]byte, []int)
Deprecated: Use UntranslatableSection.ProtoReflect.Descriptor instead.
func (*UntranslatableSection) GetEndIndex ¶
func (x *UntranslatableSection) GetEndIndex() uint64
func (*UntranslatableSection) GetStartIndex ¶
func (x *UntranslatableSection) GetStartIndex() uint64
func (*UntranslatableSection) ProtoMessage ¶
func (*UntranslatableSection) ProtoMessage()
func (*UntranslatableSection) ProtoReflect ¶
func (x *UntranslatableSection) ProtoReflect() protoreflect.Message
func (*UntranslatableSection) Reset ¶
func (x *UntranslatableSection) Reset()
func (*UntranslatableSection) String ¶
func (x *UntranslatableSection) String() string
type Value ¶
type Value struct { // Where the value was defined. Source *Source `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // Any comment associated with the value. Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"` // Whether the value can be overridden. Weak bool `protobuf:"varint,3,opt,name=weak,proto3" json:"weak,omitempty"` // The value is either an Item or a CompoundValue. // // Types that are assignable to Value: // *Value_Item // *Value_CompoundValue Value isValue_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
The generic meta-data for every value in a resource table.
func (*Value) Descriptor
deprecated
func (*Value) GetComment ¶
func (*Value) GetCompoundValue ¶
func (x *Value) GetCompoundValue() *CompoundValue
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type Value_CompoundValue ¶
type Value_CompoundValue struct {
CompoundValue *CompoundValue `protobuf:"bytes,5,opt,name=compound_value,json=compoundValue,proto3,oneof"`
}
type Value_Item ¶
type Value_Item struct {
Item *Item `protobuf:"bytes,4,opt,name=item,proto3,oneof"`
}
type Visibility ¶
type Visibility struct { Level Visibility_Level `protobuf:"varint,1,opt,name=level,proto3,enum=aapt.pb.Visibility_Level" json:"level,omitempty"` // The path at which this entry's visibility was defined (eg. public.xml). Source *Source `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // The comment associated with the <public> tag. Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"` // Indicates that the resource id may change across builds and that the public R.java identifier // for this resource should not be final. This is set to `true` for resources in `staging-group` // tags. StagedApi bool `protobuf:"varint,4,opt,name=staged_api,json=stagedApi,proto3" json:"staged_api,omitempty"` // contains filtered or unexported fields }
The Visibility of a symbol/entry (public, private, undefined).
func (*Visibility) Descriptor
deprecated
func (*Visibility) Descriptor() ([]byte, []int)
Deprecated: Use Visibility.ProtoReflect.Descriptor instead.
func (*Visibility) GetComment ¶
func (x *Visibility) GetComment() string
func (*Visibility) GetLevel ¶
func (x *Visibility) GetLevel() Visibility_Level
func (*Visibility) GetSource ¶
func (x *Visibility) GetSource() *Source
func (*Visibility) GetStagedApi ¶
func (x *Visibility) GetStagedApi() bool
func (*Visibility) ProtoMessage ¶
func (*Visibility) ProtoMessage()
func (*Visibility) ProtoReflect ¶
func (x *Visibility) ProtoReflect() protoreflect.Message
func (*Visibility) Reset ¶
func (x *Visibility) Reset()
func (*Visibility) String ¶
func (x *Visibility) String() string
type Visibility_Level ¶
type Visibility_Level int32
The visibility of the resource outside of its package.
const ( // No visibility was explicitly specified. This is typically treated as private. // The distinction is important when two separate R.java files are generated: a public and // private one. An unknown visibility, in this case, would cause the resource to be omitted // from either R.java. Visibility_UNKNOWN Visibility_Level = 0 // A resource was explicitly marked as private. This means the resource can not be accessed // outside of its package unless the @*package:type/entry notation is used (the asterisk being // the private accessor). If two R.java files are generated (private + public), the resource // will only be emitted to the private R.java file. Visibility_PRIVATE Visibility_Level = 1 // A resource was explicitly marked as public. This means the resource can be accessed // from any package, and is emitted into all R.java files, public and private. Visibility_PUBLIC Visibility_Level = 2 )
func (Visibility_Level) Descriptor ¶
func (Visibility_Level) Descriptor() protoreflect.EnumDescriptor
func (Visibility_Level) Enum ¶
func (x Visibility_Level) Enum() *Visibility_Level
func (Visibility_Level) EnumDescriptor
deprecated
func (Visibility_Level) EnumDescriptor() ([]byte, []int)
Deprecated: Use Visibility_Level.Descriptor instead.
func (Visibility_Level) Number ¶
func (x Visibility_Level) Number() protoreflect.EnumNumber
func (Visibility_Level) String ¶
func (x Visibility_Level) String() string
func (Visibility_Level) Type ¶
func (Visibility_Level) Type() protoreflect.EnumType
type XmlAttribute ¶
type XmlAttribute struct { NamespaceUri string `protobuf:"bytes,1,opt,name=namespace_uri,json=namespaceUri,proto3" json:"namespace_uri,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // Source line and column info. Source *SourcePosition `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"` // The optional resource ID (0xPPTTEEEE) of the attribute. ResourceId uint32 `protobuf:"varint,5,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // The optional interpreted/compiled version of the `value` string. CompiledItem *Item `protobuf:"bytes,6,opt,name=compiled_item,json=compiledItem,proto3" json:"compiled_item,omitempty"` // contains filtered or unexported fields }
An attribute defined on an XmlElement (android:text="...").
func (*XmlAttribute) Descriptor
deprecated
func (*XmlAttribute) Descriptor() ([]byte, []int)
Deprecated: Use XmlAttribute.ProtoReflect.Descriptor instead.
func (*XmlAttribute) GetCompiledItem ¶
func (x *XmlAttribute) GetCompiledItem() *Item
func (*XmlAttribute) GetName ¶
func (x *XmlAttribute) GetName() string
func (*XmlAttribute) GetNamespaceUri ¶
func (x *XmlAttribute) GetNamespaceUri() string
func (*XmlAttribute) GetResourceId ¶
func (x *XmlAttribute) GetResourceId() uint32
func (*XmlAttribute) GetSource ¶
func (x *XmlAttribute) GetSource() *SourcePosition
func (*XmlAttribute) GetValue ¶
func (x *XmlAttribute) GetValue() string
func (*XmlAttribute) ProtoMessage ¶
func (*XmlAttribute) ProtoMessage()
func (*XmlAttribute) ProtoReflect ¶
func (x *XmlAttribute) ProtoReflect() protoreflect.Message
func (*XmlAttribute) Reset ¶
func (x *XmlAttribute) Reset()
func (*XmlAttribute) String ¶
func (x *XmlAttribute) String() string
type XmlElement ¶
type XmlElement struct { // Namespaces defined on this element. NamespaceDeclaration []*XmlNamespace `protobuf:"bytes,1,rep,name=namespace_declaration,json=namespaceDeclaration,proto3" json:"namespace_declaration,omitempty"` // The namespace URI of this element. NamespaceUri string `protobuf:"bytes,2,opt,name=namespace_uri,json=namespaceUri,proto3" json:"namespace_uri,omitempty"` // The name of this element. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // The attributes of this element. Attribute []*XmlAttribute `protobuf:"bytes,4,rep,name=attribute,proto3" json:"attribute,omitempty"` // The children of this element. Child []*XmlNode `protobuf:"bytes,5,rep,name=child,proto3" json:"child,omitempty"` // contains filtered or unexported fields }
An <element> in an XML document.
func (*XmlElement) Descriptor
deprecated
func (*XmlElement) Descriptor() ([]byte, []int)
Deprecated: Use XmlElement.ProtoReflect.Descriptor instead.
func (*XmlElement) GetAttribute ¶
func (x *XmlElement) GetAttribute() []*XmlAttribute
func (*XmlElement) GetChild ¶
func (x *XmlElement) GetChild() []*XmlNode
func (*XmlElement) GetName ¶
func (x *XmlElement) GetName() string
func (*XmlElement) GetNamespaceDeclaration ¶
func (x *XmlElement) GetNamespaceDeclaration() []*XmlNamespace
func (*XmlElement) GetNamespaceUri ¶
func (x *XmlElement) GetNamespaceUri() string
func (*XmlElement) ProtoMessage ¶
func (*XmlElement) ProtoMessage()
func (*XmlElement) ProtoReflect ¶
func (x *XmlElement) ProtoReflect() protoreflect.Message
func (*XmlElement) Reset ¶
func (x *XmlElement) Reset()
func (*XmlElement) String ¶
func (x *XmlElement) String() string
type XmlNamespace ¶
type XmlNamespace struct { Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // Source line and column info. Source *SourcePosition `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
A namespace declaration on an XmlElement (xmlns:android="http://...").
func (*XmlNamespace) Descriptor
deprecated
func (*XmlNamespace) Descriptor() ([]byte, []int)
Deprecated: Use XmlNamespace.ProtoReflect.Descriptor instead.
func (*XmlNamespace) GetPrefix ¶
func (x *XmlNamespace) GetPrefix() string
func (*XmlNamespace) GetSource ¶
func (x *XmlNamespace) GetSource() *SourcePosition
func (*XmlNamespace) GetUri ¶
func (x *XmlNamespace) GetUri() string
func (*XmlNamespace) ProtoMessage ¶
func (*XmlNamespace) ProtoMessage()
func (*XmlNamespace) ProtoReflect ¶
func (x *XmlNamespace) ProtoReflect() protoreflect.Message
func (*XmlNamespace) Reset ¶
func (x *XmlNamespace) Reset()
func (*XmlNamespace) String ¶
func (x *XmlNamespace) String() string
type XmlNode ¶
type XmlNode struct { // Types that are assignable to Node: // *XmlNode_Element // *XmlNode_Text Node isXmlNode_Node `protobuf_oneof:"node"` // Source line and column info. Source *SourcePosition `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
Defines an abstract XmlNode that must be either an XmlElement, or a text node represented by a string.
func (*XmlNode) Descriptor
deprecated
func (*XmlNode) GetElement ¶
func (x *XmlNode) GetElement() *XmlElement
func (*XmlNode) GetSource ¶
func (x *XmlNode) GetSource() *SourcePosition
func (*XmlNode) ProtoMessage ¶
func (*XmlNode) ProtoMessage()
func (*XmlNode) ProtoReflect ¶
func (x *XmlNode) ProtoReflect() protoreflect.Message
type XmlNode_Element ¶
type XmlNode_Element struct {
Element *XmlElement `protobuf:"bytes,1,opt,name=element,proto3,oneof"`
}
type XmlNode_Text ¶
type XmlNode_Text struct {
Text string `protobuf:"bytes,2,opt,name=text,proto3,oneof"`
}