1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: frameworks/base/tools/aapt2/Resources.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto
6 
7 #include <cstdint>
8 #include <limits>
9 #include <string>
10 
11 #include <google/protobuf/port_def.inc>
12 #if PROTOBUF_VERSION < 3021000
13 #error This file was generated by a newer version of protoc which is
14 #error incompatible with your Protocol Buffer headers. Please update
15 #error your headers.
16 #endif
17 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
18 #error This file was generated by an older version of protoc which is
19 #error incompatible with your Protocol Buffer headers. Please
20 #error regenerate this file with a newer version of protoc.
21 #endif
22 
23 #include <google/protobuf/port_undef.inc>
24 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arena.h>
26 #include <google/protobuf/arenastring.h>
27 #include <google/protobuf/generated_message_bases.h>
28 #include <google/protobuf/generated_message_util.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>  // IWYU pragma: export
33 #include <google/protobuf/extension_set.h>  // IWYU pragma: export
34 #include <google/protobuf/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.h>
36 #include "frameworks/base/tools/aapt2/Configuration.pb.h"
37 // @@protoc_insertion_point(includes)
38 #include <google/protobuf/port_def.inc>
39 #define PROTOBUF_INTERNAL_EXPORT_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto
40 PROTOBUF_NAMESPACE_OPEN
41 namespace internal {
42 class AnyMetadata;
43 }  // namespace internal
44 PROTOBUF_NAMESPACE_CLOSE
45 
46 // Internal implementation detail -- do not use these members.
47 struct TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto {
48   static const ::uint32_t offsets[];
49 };
50 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
51 namespace aapt {
52 namespace pb {
53 class AllowNew;
54 struct AllowNewDefaultTypeInternal;
55 extern AllowNewDefaultTypeInternal _AllowNew_default_instance_;
56 class Array;
57 struct ArrayDefaultTypeInternal;
58 extern ArrayDefaultTypeInternal _Array_default_instance_;
59 class Array_Element;
60 struct Array_ElementDefaultTypeInternal;
61 extern Array_ElementDefaultTypeInternal _Array_Element_default_instance_;
62 class Attribute;
63 struct AttributeDefaultTypeInternal;
64 extern AttributeDefaultTypeInternal _Attribute_default_instance_;
65 class Attribute_Symbol;
66 struct Attribute_SymbolDefaultTypeInternal;
67 extern Attribute_SymbolDefaultTypeInternal _Attribute_Symbol_default_instance_;
68 class Boolean;
69 struct BooleanDefaultTypeInternal;
70 extern BooleanDefaultTypeInternal _Boolean_default_instance_;
71 class CompoundValue;
72 struct CompoundValueDefaultTypeInternal;
73 extern CompoundValueDefaultTypeInternal _CompoundValue_default_instance_;
74 class ConfigValue;
75 struct ConfigValueDefaultTypeInternal;
76 extern ConfigValueDefaultTypeInternal _ConfigValue_default_instance_;
77 class DynamicRefTable;
78 struct DynamicRefTableDefaultTypeInternal;
79 extern DynamicRefTableDefaultTypeInternal _DynamicRefTable_default_instance_;
80 class Entry;
81 struct EntryDefaultTypeInternal;
82 extern EntryDefaultTypeInternal _Entry_default_instance_;
83 class EntryId;
84 struct EntryIdDefaultTypeInternal;
85 extern EntryIdDefaultTypeInternal _EntryId_default_instance_;
86 class FileReference;
87 struct FileReferenceDefaultTypeInternal;
88 extern FileReferenceDefaultTypeInternal _FileReference_default_instance_;
89 class Id;
90 struct IdDefaultTypeInternal;
91 extern IdDefaultTypeInternal _Id_default_instance_;
92 class Item;
93 struct ItemDefaultTypeInternal;
94 extern ItemDefaultTypeInternal _Item_default_instance_;
95 class MacroBody;
96 struct MacroBodyDefaultTypeInternal;
97 extern MacroBodyDefaultTypeInternal _MacroBody_default_instance_;
98 class NamespaceAlias;
99 struct NamespaceAliasDefaultTypeInternal;
100 extern NamespaceAliasDefaultTypeInternal _NamespaceAlias_default_instance_;
101 class Overlayable;
102 struct OverlayableDefaultTypeInternal;
103 extern OverlayableDefaultTypeInternal _Overlayable_default_instance_;
104 class OverlayableItem;
105 struct OverlayableItemDefaultTypeInternal;
106 extern OverlayableItemDefaultTypeInternal _OverlayableItem_default_instance_;
107 class Package;
108 struct PackageDefaultTypeInternal;
109 extern PackageDefaultTypeInternal _Package_default_instance_;
110 class PackageId;
111 struct PackageIdDefaultTypeInternal;
112 extern PackageIdDefaultTypeInternal _PackageId_default_instance_;
113 class Plural;
114 struct PluralDefaultTypeInternal;
115 extern PluralDefaultTypeInternal _Plural_default_instance_;
116 class Plural_Entry;
117 struct Plural_EntryDefaultTypeInternal;
118 extern Plural_EntryDefaultTypeInternal _Plural_Entry_default_instance_;
119 class Primitive;
120 struct PrimitiveDefaultTypeInternal;
121 extern PrimitiveDefaultTypeInternal _Primitive_default_instance_;
122 class Primitive_EmptyType;
123 struct Primitive_EmptyTypeDefaultTypeInternal;
124 extern Primitive_EmptyTypeDefaultTypeInternal _Primitive_EmptyType_default_instance_;
125 class Primitive_NullType;
126 struct Primitive_NullTypeDefaultTypeInternal;
127 extern Primitive_NullTypeDefaultTypeInternal _Primitive_NullType_default_instance_;
128 class RawString;
129 struct RawStringDefaultTypeInternal;
130 extern RawStringDefaultTypeInternal _RawString_default_instance_;
131 class Reference;
132 struct ReferenceDefaultTypeInternal;
133 extern ReferenceDefaultTypeInternal _Reference_default_instance_;
134 class ResourceTable;
135 struct ResourceTableDefaultTypeInternal;
136 extern ResourceTableDefaultTypeInternal _ResourceTable_default_instance_;
137 class Source;
138 struct SourceDefaultTypeInternal;
139 extern SourceDefaultTypeInternal _Source_default_instance_;
140 class SourcePosition;
141 struct SourcePositionDefaultTypeInternal;
142 extern SourcePositionDefaultTypeInternal _SourcePosition_default_instance_;
143 class StagedId;
144 struct StagedIdDefaultTypeInternal;
145 extern StagedIdDefaultTypeInternal _StagedId_default_instance_;
146 class String;
147 struct StringDefaultTypeInternal;
148 extern StringDefaultTypeInternal _String_default_instance_;
149 class StringPool;
150 struct StringPoolDefaultTypeInternal;
151 extern StringPoolDefaultTypeInternal _StringPool_default_instance_;
152 class Style;
153 struct StyleDefaultTypeInternal;
154 extern StyleDefaultTypeInternal _Style_default_instance_;
155 class StyleString;
156 struct StyleStringDefaultTypeInternal;
157 extern StyleStringDefaultTypeInternal _StyleString_default_instance_;
158 class StyleString_Span;
159 struct StyleString_SpanDefaultTypeInternal;
160 extern StyleString_SpanDefaultTypeInternal _StyleString_Span_default_instance_;
161 class Style_Entry;
162 struct Style_EntryDefaultTypeInternal;
163 extern Style_EntryDefaultTypeInternal _Style_Entry_default_instance_;
164 class Styleable;
165 struct StyleableDefaultTypeInternal;
166 extern StyleableDefaultTypeInternal _Styleable_default_instance_;
167 class Styleable_Entry;
168 struct Styleable_EntryDefaultTypeInternal;
169 extern Styleable_EntryDefaultTypeInternal _Styleable_Entry_default_instance_;
170 class StyledString;
171 struct StyledStringDefaultTypeInternal;
172 extern StyledStringDefaultTypeInternal _StyledString_default_instance_;
173 class StyledString_Span;
174 struct StyledString_SpanDefaultTypeInternal;
175 extern StyledString_SpanDefaultTypeInternal _StyledString_Span_default_instance_;
176 class ToolFingerprint;
177 struct ToolFingerprintDefaultTypeInternal;
178 extern ToolFingerprintDefaultTypeInternal _ToolFingerprint_default_instance_;
179 class Type;
180 struct TypeDefaultTypeInternal;
181 extern TypeDefaultTypeInternal _Type_default_instance_;
182 class TypeId;
183 struct TypeIdDefaultTypeInternal;
184 extern TypeIdDefaultTypeInternal _TypeId_default_instance_;
185 class UntranslatableSection;
186 struct UntranslatableSectionDefaultTypeInternal;
187 extern UntranslatableSectionDefaultTypeInternal _UntranslatableSection_default_instance_;
188 class Value;
189 struct ValueDefaultTypeInternal;
190 extern ValueDefaultTypeInternal _Value_default_instance_;
191 class Visibility;
192 struct VisibilityDefaultTypeInternal;
193 extern VisibilityDefaultTypeInternal _Visibility_default_instance_;
194 class XmlAttribute;
195 struct XmlAttributeDefaultTypeInternal;
196 extern XmlAttributeDefaultTypeInternal _XmlAttribute_default_instance_;
197 class XmlElement;
198 struct XmlElementDefaultTypeInternal;
199 extern XmlElementDefaultTypeInternal _XmlElement_default_instance_;
200 class XmlNamespace;
201 struct XmlNamespaceDefaultTypeInternal;
202 extern XmlNamespaceDefaultTypeInternal _XmlNamespace_default_instance_;
203 class XmlNode;
204 struct XmlNodeDefaultTypeInternal;
205 extern XmlNodeDefaultTypeInternal _XmlNode_default_instance_;
206 }  // namespace pb
207 }  // namespace aapt
208 PROTOBUF_NAMESPACE_OPEN
209 template<> ::aapt::pb::AllowNew* Arena::CreateMaybeMessage<::aapt::pb::AllowNew>(Arena*);
210 template<> ::aapt::pb::Array* Arena::CreateMaybeMessage<::aapt::pb::Array>(Arena*);
211 template<> ::aapt::pb::Array_Element* Arena::CreateMaybeMessage<::aapt::pb::Array_Element>(Arena*);
212 template<> ::aapt::pb::Attribute* Arena::CreateMaybeMessage<::aapt::pb::Attribute>(Arena*);
213 template<> ::aapt::pb::Attribute_Symbol* Arena::CreateMaybeMessage<::aapt::pb::Attribute_Symbol>(Arena*);
214 template<> ::aapt::pb::Boolean* Arena::CreateMaybeMessage<::aapt::pb::Boolean>(Arena*);
215 template<> ::aapt::pb::CompoundValue* Arena::CreateMaybeMessage<::aapt::pb::CompoundValue>(Arena*);
216 template<> ::aapt::pb::ConfigValue* Arena::CreateMaybeMessage<::aapt::pb::ConfigValue>(Arena*);
217 template<> ::aapt::pb::DynamicRefTable* Arena::CreateMaybeMessage<::aapt::pb::DynamicRefTable>(Arena*);
218 template<> ::aapt::pb::Entry* Arena::CreateMaybeMessage<::aapt::pb::Entry>(Arena*);
219 template<> ::aapt::pb::EntryId* Arena::CreateMaybeMessage<::aapt::pb::EntryId>(Arena*);
220 template<> ::aapt::pb::FileReference* Arena::CreateMaybeMessage<::aapt::pb::FileReference>(Arena*);
221 template<> ::aapt::pb::Id* Arena::CreateMaybeMessage<::aapt::pb::Id>(Arena*);
222 template<> ::aapt::pb::Item* Arena::CreateMaybeMessage<::aapt::pb::Item>(Arena*);
223 template<> ::aapt::pb::MacroBody* Arena::CreateMaybeMessage<::aapt::pb::MacroBody>(Arena*);
224 template<> ::aapt::pb::NamespaceAlias* Arena::CreateMaybeMessage<::aapt::pb::NamespaceAlias>(Arena*);
225 template<> ::aapt::pb::Overlayable* Arena::CreateMaybeMessage<::aapt::pb::Overlayable>(Arena*);
226 template<> ::aapt::pb::OverlayableItem* Arena::CreateMaybeMessage<::aapt::pb::OverlayableItem>(Arena*);
227 template<> ::aapt::pb::Package* Arena::CreateMaybeMessage<::aapt::pb::Package>(Arena*);
228 template<> ::aapt::pb::PackageId* Arena::CreateMaybeMessage<::aapt::pb::PackageId>(Arena*);
229 template<> ::aapt::pb::Plural* Arena::CreateMaybeMessage<::aapt::pb::Plural>(Arena*);
230 template<> ::aapt::pb::Plural_Entry* Arena::CreateMaybeMessage<::aapt::pb::Plural_Entry>(Arena*);
231 template<> ::aapt::pb::Primitive* Arena::CreateMaybeMessage<::aapt::pb::Primitive>(Arena*);
232 template<> ::aapt::pb::Primitive_EmptyType* Arena::CreateMaybeMessage<::aapt::pb::Primitive_EmptyType>(Arena*);
233 template<> ::aapt::pb::Primitive_NullType* Arena::CreateMaybeMessage<::aapt::pb::Primitive_NullType>(Arena*);
234 template<> ::aapt::pb::RawString* Arena::CreateMaybeMessage<::aapt::pb::RawString>(Arena*);
235 template<> ::aapt::pb::Reference* Arena::CreateMaybeMessage<::aapt::pb::Reference>(Arena*);
236 template<> ::aapt::pb::ResourceTable* Arena::CreateMaybeMessage<::aapt::pb::ResourceTable>(Arena*);
237 template<> ::aapt::pb::Source* Arena::CreateMaybeMessage<::aapt::pb::Source>(Arena*);
238 template<> ::aapt::pb::SourcePosition* Arena::CreateMaybeMessage<::aapt::pb::SourcePosition>(Arena*);
239 template<> ::aapt::pb::StagedId* Arena::CreateMaybeMessage<::aapt::pb::StagedId>(Arena*);
240 template<> ::aapt::pb::String* Arena::CreateMaybeMessage<::aapt::pb::String>(Arena*);
241 template<> ::aapt::pb::StringPool* Arena::CreateMaybeMessage<::aapt::pb::StringPool>(Arena*);
242 template<> ::aapt::pb::Style* Arena::CreateMaybeMessage<::aapt::pb::Style>(Arena*);
243 template<> ::aapt::pb::StyleString* Arena::CreateMaybeMessage<::aapt::pb::StyleString>(Arena*);
244 template<> ::aapt::pb::StyleString_Span* Arena::CreateMaybeMessage<::aapt::pb::StyleString_Span>(Arena*);
245 template<> ::aapt::pb::Style_Entry* Arena::CreateMaybeMessage<::aapt::pb::Style_Entry>(Arena*);
246 template<> ::aapt::pb::Styleable* Arena::CreateMaybeMessage<::aapt::pb::Styleable>(Arena*);
247 template<> ::aapt::pb::Styleable_Entry* Arena::CreateMaybeMessage<::aapt::pb::Styleable_Entry>(Arena*);
248 template<> ::aapt::pb::StyledString* Arena::CreateMaybeMessage<::aapt::pb::StyledString>(Arena*);
249 template<> ::aapt::pb::StyledString_Span* Arena::CreateMaybeMessage<::aapt::pb::StyledString_Span>(Arena*);
250 template<> ::aapt::pb::ToolFingerprint* Arena::CreateMaybeMessage<::aapt::pb::ToolFingerprint>(Arena*);
251 template<> ::aapt::pb::Type* Arena::CreateMaybeMessage<::aapt::pb::Type>(Arena*);
252 template<> ::aapt::pb::TypeId* Arena::CreateMaybeMessage<::aapt::pb::TypeId>(Arena*);
253 template<> ::aapt::pb::UntranslatableSection* Arena::CreateMaybeMessage<::aapt::pb::UntranslatableSection>(Arena*);
254 template<> ::aapt::pb::Value* Arena::CreateMaybeMessage<::aapt::pb::Value>(Arena*);
255 template<> ::aapt::pb::Visibility* Arena::CreateMaybeMessage<::aapt::pb::Visibility>(Arena*);
256 template<> ::aapt::pb::XmlAttribute* Arena::CreateMaybeMessage<::aapt::pb::XmlAttribute>(Arena*);
257 template<> ::aapt::pb::XmlElement* Arena::CreateMaybeMessage<::aapt::pb::XmlElement>(Arena*);
258 template<> ::aapt::pb::XmlNamespace* Arena::CreateMaybeMessage<::aapt::pb::XmlNamespace>(Arena*);
259 template<> ::aapt::pb::XmlNode* Arena::CreateMaybeMessage<::aapt::pb::XmlNode>(Arena*);
260 PROTOBUF_NAMESPACE_CLOSE
261 namespace aapt {
262 namespace pb {
263 
264 enum Visibility_Level : int {
265   Visibility_Level_UNKNOWN = 0,
266   Visibility_Level_PRIVATE = 1,
267   Visibility_Level_PUBLIC = 2,
268   Visibility_Level_Visibility_Level_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(),
269   Visibility_Level_Visibility_Level_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max()
270 };
271 bool Visibility_Level_IsValid(int value);
272 constexpr Visibility_Level Visibility_Level_Level_MIN = Visibility_Level_UNKNOWN;
273 constexpr Visibility_Level Visibility_Level_Level_MAX = Visibility_Level_PUBLIC;
274 constexpr int Visibility_Level_Level_ARRAYSIZE = Visibility_Level_Level_MAX + 1;
275 
276 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Visibility_Level_descriptor();
277 template<typename T>
Visibility_Level_Name(T enum_t_value)278 inline const std::string& Visibility_Level_Name(T enum_t_value) {
279   static_assert(::std::is_same<T, Visibility_Level>::value ||
280     ::std::is_integral<T>::value,
281     "Incorrect type passed to function Visibility_Level_Name.");
282   return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
283     Visibility_Level_descriptor(), enum_t_value);
284 }
Visibility_Level_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,Visibility_Level * value)285 inline bool Visibility_Level_Parse(
286     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Visibility_Level* value) {
287   return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Visibility_Level>(
288     Visibility_Level_descriptor(), name, value);
289 }
290 enum OverlayableItem_Policy : int {
291   OverlayableItem_Policy_NONE = 0,
292   OverlayableItem_Policy_PUBLIC = 1,
293   OverlayableItem_Policy_SYSTEM = 2,
294   OverlayableItem_Policy_VENDOR = 3,
295   OverlayableItem_Policy_PRODUCT = 4,
296   OverlayableItem_Policy_SIGNATURE = 5,
297   OverlayableItem_Policy_ODM = 6,
298   OverlayableItem_Policy_OEM = 7,
299   OverlayableItem_Policy_ACTOR = 8,
300   OverlayableItem_Policy_CONFIG_SIGNATURE = 9,
301   OverlayableItem_Policy_OverlayableItem_Policy_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(),
302   OverlayableItem_Policy_OverlayableItem_Policy_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max()
303 };
304 bool OverlayableItem_Policy_IsValid(int value);
305 constexpr OverlayableItem_Policy OverlayableItem_Policy_Policy_MIN = OverlayableItem_Policy_NONE;
306 constexpr OverlayableItem_Policy OverlayableItem_Policy_Policy_MAX = OverlayableItem_Policy_CONFIG_SIGNATURE;
307 constexpr int OverlayableItem_Policy_Policy_ARRAYSIZE = OverlayableItem_Policy_Policy_MAX + 1;
308 
309 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* OverlayableItem_Policy_descriptor();
310 template<typename T>
OverlayableItem_Policy_Name(T enum_t_value)311 inline const std::string& OverlayableItem_Policy_Name(T enum_t_value) {
312   static_assert(::std::is_same<T, OverlayableItem_Policy>::value ||
313     ::std::is_integral<T>::value,
314     "Incorrect type passed to function OverlayableItem_Policy_Name.");
315   return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
316     OverlayableItem_Policy_descriptor(), enum_t_value);
317 }
OverlayableItem_Policy_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,OverlayableItem_Policy * value)318 inline bool OverlayableItem_Policy_Parse(
319     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, OverlayableItem_Policy* value) {
320   return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<OverlayableItem_Policy>(
321     OverlayableItem_Policy_descriptor(), name, value);
322 }
323 enum Reference_Type : int {
324   Reference_Type_REFERENCE = 0,
325   Reference_Type_ATTRIBUTE = 1,
326   Reference_Type_Reference_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(),
327   Reference_Type_Reference_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max()
328 };
329 bool Reference_Type_IsValid(int value);
330 constexpr Reference_Type Reference_Type_Type_MIN = Reference_Type_REFERENCE;
331 constexpr Reference_Type Reference_Type_Type_MAX = Reference_Type_ATTRIBUTE;
332 constexpr int Reference_Type_Type_ARRAYSIZE = Reference_Type_Type_MAX + 1;
333 
334 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Reference_Type_descriptor();
335 template<typename T>
Reference_Type_Name(T enum_t_value)336 inline const std::string& Reference_Type_Name(T enum_t_value) {
337   static_assert(::std::is_same<T, Reference_Type>::value ||
338     ::std::is_integral<T>::value,
339     "Incorrect type passed to function Reference_Type_Name.");
340   return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
341     Reference_Type_descriptor(), enum_t_value);
342 }
Reference_Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,Reference_Type * value)343 inline bool Reference_Type_Parse(
344     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Reference_Type* value) {
345   return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Reference_Type>(
346     Reference_Type_descriptor(), name, value);
347 }
348 enum FileReference_Type : int {
349   FileReference_Type_UNKNOWN = 0,
350   FileReference_Type_PNG = 1,
351   FileReference_Type_BINARY_XML = 2,
352   FileReference_Type_PROTO_XML = 3,
353   FileReference_Type_FileReference_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(),
354   FileReference_Type_FileReference_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max()
355 };
356 bool FileReference_Type_IsValid(int value);
357 constexpr FileReference_Type FileReference_Type_Type_MIN = FileReference_Type_UNKNOWN;
358 constexpr FileReference_Type FileReference_Type_Type_MAX = FileReference_Type_PROTO_XML;
359 constexpr int FileReference_Type_Type_ARRAYSIZE = FileReference_Type_Type_MAX + 1;
360 
361 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* FileReference_Type_descriptor();
362 template<typename T>
FileReference_Type_Name(T enum_t_value)363 inline const std::string& FileReference_Type_Name(T enum_t_value) {
364   static_assert(::std::is_same<T, FileReference_Type>::value ||
365     ::std::is_integral<T>::value,
366     "Incorrect type passed to function FileReference_Type_Name.");
367   return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
368     FileReference_Type_descriptor(), enum_t_value);
369 }
FileReference_Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,FileReference_Type * value)370 inline bool FileReference_Type_Parse(
371     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FileReference_Type* value) {
372   return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<FileReference_Type>(
373     FileReference_Type_descriptor(), name, value);
374 }
375 enum Attribute_FormatFlags : int {
376   Attribute_FormatFlags_NONE = 0,
377   Attribute_FormatFlags_ANY = 65535,
378   Attribute_FormatFlags_REFERENCE = 1,
379   Attribute_FormatFlags_STRING = 2,
380   Attribute_FormatFlags_INTEGER = 4,
381   Attribute_FormatFlags_BOOLEAN = 8,
382   Attribute_FormatFlags_COLOR = 16,
383   Attribute_FormatFlags_FLOAT = 32,
384   Attribute_FormatFlags_DIMENSION = 64,
385   Attribute_FormatFlags_FRACTION = 128,
386   Attribute_FormatFlags_ENUM = 65536,
387   Attribute_FormatFlags_FLAGS = 131072,
388   Attribute_FormatFlags_Attribute_FormatFlags_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(),
389   Attribute_FormatFlags_Attribute_FormatFlags_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max()
390 };
391 bool Attribute_FormatFlags_IsValid(int value);
392 constexpr Attribute_FormatFlags Attribute_FormatFlags_FormatFlags_MIN = Attribute_FormatFlags_NONE;
393 constexpr Attribute_FormatFlags Attribute_FormatFlags_FormatFlags_MAX = Attribute_FormatFlags_FLAGS;
394 constexpr int Attribute_FormatFlags_FormatFlags_ARRAYSIZE = Attribute_FormatFlags_FormatFlags_MAX + 1;
395 
396 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Attribute_FormatFlags_descriptor();
397 template<typename T>
Attribute_FormatFlags_Name(T enum_t_value)398 inline const std::string& Attribute_FormatFlags_Name(T enum_t_value) {
399   static_assert(::std::is_same<T, Attribute_FormatFlags>::value ||
400     ::std::is_integral<T>::value,
401     "Incorrect type passed to function Attribute_FormatFlags_Name.");
402   return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
403     Attribute_FormatFlags_descriptor(), enum_t_value);
404 }
Attribute_FormatFlags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,Attribute_FormatFlags * value)405 inline bool Attribute_FormatFlags_Parse(
406     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Attribute_FormatFlags* value) {
407   return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Attribute_FormatFlags>(
408     Attribute_FormatFlags_descriptor(), name, value);
409 }
410 enum Plural_Arity : int {
411   Plural_Arity_ZERO = 0,
412   Plural_Arity_ONE = 1,
413   Plural_Arity_TWO = 2,
414   Plural_Arity_FEW = 3,
415   Plural_Arity_MANY = 4,
416   Plural_Arity_OTHER = 5,
417   Plural_Arity_Plural_Arity_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(),
418   Plural_Arity_Plural_Arity_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max()
419 };
420 bool Plural_Arity_IsValid(int value);
421 constexpr Plural_Arity Plural_Arity_Arity_MIN = Plural_Arity_ZERO;
422 constexpr Plural_Arity Plural_Arity_Arity_MAX = Plural_Arity_OTHER;
423 constexpr int Plural_Arity_Arity_ARRAYSIZE = Plural_Arity_Arity_MAX + 1;
424 
425 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Plural_Arity_descriptor();
426 template<typename T>
Plural_Arity_Name(T enum_t_value)427 inline const std::string& Plural_Arity_Name(T enum_t_value) {
428   static_assert(::std::is_same<T, Plural_Arity>::value ||
429     ::std::is_integral<T>::value,
430     "Incorrect type passed to function Plural_Arity_Name.");
431   return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
432     Plural_Arity_descriptor(), enum_t_value);
433 }
Plural_Arity_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,Plural_Arity * value)434 inline bool Plural_Arity_Parse(
435     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Plural_Arity* value) {
436   return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Plural_Arity>(
437     Plural_Arity_descriptor(), name, value);
438 }
439 // ===================================================================
440 
441 class StringPool final :
442     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.StringPool) */ {
443  public:
StringPool()444   inline StringPool() : StringPool(nullptr) {}
445   ~StringPool() override;
446   explicit PROTOBUF_CONSTEXPR StringPool(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
447 
448   StringPool(const StringPool& from);
StringPool(StringPool && from)449   StringPool(StringPool&& from) noexcept
450     : StringPool() {
451     *this = ::std::move(from);
452   }
453 
454   inline StringPool& operator=(const StringPool& from) {
455     if (this == &from) return *this;
456     CopyFrom(from);
457     return *this;
458   }
459   inline StringPool& operator=(StringPool&& from) noexcept {
460     if (this == &from) return *this;
461     if (GetOwningArena() == from.GetOwningArena()
462   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
463         && GetOwningArena() != nullptr
464   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
465     ) {
466       InternalSwap(&from);
467     } else {
468       CopyFrom(from);
469     }
470     return *this;
471   }
472 
descriptor()473   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
474     return GetDescriptor();
475   }
GetDescriptor()476   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
477     return default_instance().GetMetadata().descriptor;
478   }
GetReflection()479   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
480     return default_instance().GetMetadata().reflection;
481   }
default_instance()482   static const StringPool& default_instance() {
483     return *internal_default_instance();
484   }
internal_default_instance()485   static inline const StringPool* internal_default_instance() {
486     return reinterpret_cast<const StringPool*>(
487                &_StringPool_default_instance_);
488   }
489   static constexpr int kIndexInFileMessages =
490     0;
491 
swap(StringPool & a,StringPool & b)492   friend void swap(StringPool& a, StringPool& b) {
493     a.Swap(&b);
494   }
Swap(StringPool * other)495   inline void Swap(StringPool* other) {
496     if (other == this) return;
497   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
498     if (GetOwningArena() != nullptr &&
499         GetOwningArena() == other->GetOwningArena()) {
500    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
501     if (GetOwningArena() == other->GetOwningArena()) {
502   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
503       InternalSwap(other);
504     } else {
505       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
506     }
507   }
508   void UnsafeArenaSwap(StringPool* other) {
509     if (other == this) return;
510     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
511     InternalSwap(other);
512   }
513 
514   // implements Message ----------------------------------------------
515 
516   StringPool* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
517     return CreateMaybeMessage<StringPool>(arena);
518   }
519   StringPool* New() const {
520     return New(nullptr);
521   }
522   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
523   void CopyFrom(const StringPool& from);
524   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
525   void MergeFrom( const StringPool& from) {
526     StringPool::MergeImpl(*this, from);
527   }
528   private:
529   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
530   public:
531   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
532   bool IsInitialized() const final;
533 
534   size_t ByteSizeLong() const final;
535   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
536   ::uint8_t* _InternalSerialize(
537       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
538   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
539 
540   private:
541   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
542   void SharedDtor();
543   void SetCachedSize(int size) const final;
544   void InternalSwap(StringPool* other);
545 
546   private:
547   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
548   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
549     return "aapt.pb.StringPool";
550   }
551   protected:
552   explicit StringPool(::PROTOBUF_NAMESPACE_ID::Arena* arena,
553                        bool is_message_owned = false);
554   public:
555 
556   static const ClassData _class_data_;
557   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
558 
559   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
560 
561   // nested types ----------------------------------------------------
562 
563   // accessors -------------------------------------------------------
564 
565   enum : int {
566     kDataFieldNumber = 1,
567   };
568   // bytes data = 1;
569   void clear_data();
570   const std::string& data() const;
571   template <typename ArgT0 = const std::string&, typename... ArgT>
572   void set_data(ArgT0&& arg0, ArgT... args);
573   std::string* mutable_data();
574   PROTOBUF_NODISCARD std::string* release_data();
575   void set_allocated_data(std::string* data);
576   private:
577   const std::string& _internal_data() const;
578   inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value);
579   std::string* _internal_mutable_data();
580   public:
581 
582   // @@protoc_insertion_point(class_scope:aapt.pb.StringPool)
583  private:
584   class _Internal;
585 
586   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
587   typedef void InternalArenaConstructable_;
588   typedef void DestructorSkippable_;
589   struct Impl_ {
590     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
591     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
592   };
593   union { Impl_ _impl_; };
594   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
595 };
596 // -------------------------------------------------------------------
597 
598 class SourcePosition final :
599     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.SourcePosition) */ {
600  public:
SourcePosition()601   inline SourcePosition() : SourcePosition(nullptr) {}
602   ~SourcePosition() override;
603   explicit PROTOBUF_CONSTEXPR SourcePosition(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
604 
605   SourcePosition(const SourcePosition& from);
SourcePosition(SourcePosition && from)606   SourcePosition(SourcePosition&& from) noexcept
607     : SourcePosition() {
608     *this = ::std::move(from);
609   }
610 
611   inline SourcePosition& operator=(const SourcePosition& from) {
612     if (this == &from) return *this;
613     CopyFrom(from);
614     return *this;
615   }
616   inline SourcePosition& operator=(SourcePosition&& from) noexcept {
617     if (this == &from) return *this;
618     if (GetOwningArena() == from.GetOwningArena()
619   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
620         && GetOwningArena() != nullptr
621   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
622     ) {
623       InternalSwap(&from);
624     } else {
625       CopyFrom(from);
626     }
627     return *this;
628   }
629 
descriptor()630   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
631     return GetDescriptor();
632   }
GetDescriptor()633   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
634     return default_instance().GetMetadata().descriptor;
635   }
GetReflection()636   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
637     return default_instance().GetMetadata().reflection;
638   }
default_instance()639   static const SourcePosition& default_instance() {
640     return *internal_default_instance();
641   }
internal_default_instance()642   static inline const SourcePosition* internal_default_instance() {
643     return reinterpret_cast<const SourcePosition*>(
644                &_SourcePosition_default_instance_);
645   }
646   static constexpr int kIndexInFileMessages =
647     1;
648 
swap(SourcePosition & a,SourcePosition & b)649   friend void swap(SourcePosition& a, SourcePosition& b) {
650     a.Swap(&b);
651   }
Swap(SourcePosition * other)652   inline void Swap(SourcePosition* other) {
653     if (other == this) return;
654   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
655     if (GetOwningArena() != nullptr &&
656         GetOwningArena() == other->GetOwningArena()) {
657    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
658     if (GetOwningArena() == other->GetOwningArena()) {
659   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
660       InternalSwap(other);
661     } else {
662       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
663     }
664   }
665   void UnsafeArenaSwap(SourcePosition* other) {
666     if (other == this) return;
667     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
668     InternalSwap(other);
669   }
670 
671   // implements Message ----------------------------------------------
672 
673   SourcePosition* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
674     return CreateMaybeMessage<SourcePosition>(arena);
675   }
676   SourcePosition* New() const {
677     return New(nullptr);
678   }
679   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
680   void CopyFrom(const SourcePosition& from);
681   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
682   void MergeFrom( const SourcePosition& from) {
683     SourcePosition::MergeImpl(*this, from);
684   }
685   private:
686   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
687   public:
688   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
689   bool IsInitialized() const final;
690 
691   size_t ByteSizeLong() const final;
692   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
693   ::uint8_t* _InternalSerialize(
694       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
695   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
696 
697   private:
698   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
699   void SharedDtor();
700   void SetCachedSize(int size) const final;
701   void InternalSwap(SourcePosition* other);
702 
703   private:
704   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
705   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
706     return "aapt.pb.SourcePosition";
707   }
708   protected:
709   explicit SourcePosition(::PROTOBUF_NAMESPACE_ID::Arena* arena,
710                        bool is_message_owned = false);
711   public:
712 
713   static const ClassData _class_data_;
714   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
715 
716   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
717 
718   // nested types ----------------------------------------------------
719 
720   // accessors -------------------------------------------------------
721 
722   enum : int {
723     kLineNumberFieldNumber = 1,
724     kColumnNumberFieldNumber = 2,
725   };
726   // uint32 line_number = 1;
727   void clear_line_number();
728   ::uint32_t line_number() const;
729   void set_line_number(::uint32_t value);
730   private:
731   ::uint32_t _internal_line_number() const;
732   void _internal_set_line_number(::uint32_t value);
733   public:
734 
735   // uint32 column_number = 2;
736   void clear_column_number();
737   ::uint32_t column_number() const;
738   void set_column_number(::uint32_t value);
739   private:
740   ::uint32_t _internal_column_number() const;
741   void _internal_set_column_number(::uint32_t value);
742   public:
743 
744   // @@protoc_insertion_point(class_scope:aapt.pb.SourcePosition)
745  private:
746   class _Internal;
747 
748   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
749   typedef void InternalArenaConstructable_;
750   typedef void DestructorSkippable_;
751   struct Impl_ {
752     ::uint32_t line_number_;
753     ::uint32_t column_number_;
754     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
755   };
756   union { Impl_ _impl_; };
757   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
758 };
759 // -------------------------------------------------------------------
760 
761 class Source final :
762     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Source) */ {
763  public:
Source()764   inline Source() : Source(nullptr) {}
765   ~Source() override;
766   explicit PROTOBUF_CONSTEXPR Source(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
767 
768   Source(const Source& from);
Source(Source && from)769   Source(Source&& from) noexcept
770     : Source() {
771     *this = ::std::move(from);
772   }
773 
774   inline Source& operator=(const Source& from) {
775     if (this == &from) return *this;
776     CopyFrom(from);
777     return *this;
778   }
779   inline Source& operator=(Source&& from) noexcept {
780     if (this == &from) return *this;
781     if (GetOwningArena() == from.GetOwningArena()
782   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
783         && GetOwningArena() != nullptr
784   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
785     ) {
786       InternalSwap(&from);
787     } else {
788       CopyFrom(from);
789     }
790     return *this;
791   }
792 
descriptor()793   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
794     return GetDescriptor();
795   }
GetDescriptor()796   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
797     return default_instance().GetMetadata().descriptor;
798   }
GetReflection()799   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
800     return default_instance().GetMetadata().reflection;
801   }
default_instance()802   static const Source& default_instance() {
803     return *internal_default_instance();
804   }
internal_default_instance()805   static inline const Source* internal_default_instance() {
806     return reinterpret_cast<const Source*>(
807                &_Source_default_instance_);
808   }
809   static constexpr int kIndexInFileMessages =
810     2;
811 
swap(Source & a,Source & b)812   friend void swap(Source& a, Source& b) {
813     a.Swap(&b);
814   }
Swap(Source * other)815   inline void Swap(Source* other) {
816     if (other == this) return;
817   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
818     if (GetOwningArena() != nullptr &&
819         GetOwningArena() == other->GetOwningArena()) {
820    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
821     if (GetOwningArena() == other->GetOwningArena()) {
822   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
823       InternalSwap(other);
824     } else {
825       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
826     }
827   }
828   void UnsafeArenaSwap(Source* other) {
829     if (other == this) return;
830     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
831     InternalSwap(other);
832   }
833 
834   // implements Message ----------------------------------------------
835 
836   Source* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
837     return CreateMaybeMessage<Source>(arena);
838   }
839   Source* New() const {
840     return New(nullptr);
841   }
842   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
843   void CopyFrom(const Source& from);
844   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
845   void MergeFrom( const Source& from) {
846     Source::MergeImpl(*this, from);
847   }
848   private:
849   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
850   public:
851   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
852   bool IsInitialized() const final;
853 
854   size_t ByteSizeLong() const final;
855   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
856   ::uint8_t* _InternalSerialize(
857       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
858   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
859 
860   private:
861   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
862   void SharedDtor();
863   void SetCachedSize(int size) const final;
864   void InternalSwap(Source* other);
865 
866   private:
867   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
868   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
869     return "aapt.pb.Source";
870   }
871   protected:
872   explicit Source(::PROTOBUF_NAMESPACE_ID::Arena* arena,
873                        bool is_message_owned = false);
874   public:
875 
876   static const ClassData _class_data_;
877   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
878 
879   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
880 
881   // nested types ----------------------------------------------------
882 
883   // accessors -------------------------------------------------------
884 
885   enum : int {
886     kPositionFieldNumber = 2,
887     kPathIdxFieldNumber = 1,
888   };
889   // .aapt.pb.SourcePosition position = 2;
890   bool has_position() const;
891   private:
892   bool _internal_has_position() const;
893   public:
894   void clear_position();
895   const ::aapt::pb::SourcePosition& position() const;
896   PROTOBUF_NODISCARD ::aapt::pb::SourcePosition* release_position();
897   ::aapt::pb::SourcePosition* mutable_position();
898   void set_allocated_position(::aapt::pb::SourcePosition* position);
899   private:
900   const ::aapt::pb::SourcePosition& _internal_position() const;
901   ::aapt::pb::SourcePosition* _internal_mutable_position();
902   public:
903   void unsafe_arena_set_allocated_position(
904       ::aapt::pb::SourcePosition* position);
905   ::aapt::pb::SourcePosition* unsafe_arena_release_position();
906 
907   // uint32 path_idx = 1;
908   void clear_path_idx();
909   ::uint32_t path_idx() const;
910   void set_path_idx(::uint32_t value);
911   private:
912   ::uint32_t _internal_path_idx() const;
913   void _internal_set_path_idx(::uint32_t value);
914   public:
915 
916   // @@protoc_insertion_point(class_scope:aapt.pb.Source)
917  private:
918   class _Internal;
919 
920   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
921   typedef void InternalArenaConstructable_;
922   typedef void DestructorSkippable_;
923   struct Impl_ {
924     ::aapt::pb::SourcePosition* position_;
925     ::uint32_t path_idx_;
926     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
927   };
928   union { Impl_ _impl_; };
929   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
930 };
931 // -------------------------------------------------------------------
932 
933 class ToolFingerprint final :
934     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.ToolFingerprint) */ {
935  public:
ToolFingerprint()936   inline ToolFingerprint() : ToolFingerprint(nullptr) {}
937   ~ToolFingerprint() override;
938   explicit PROTOBUF_CONSTEXPR ToolFingerprint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
939 
940   ToolFingerprint(const ToolFingerprint& from);
ToolFingerprint(ToolFingerprint && from)941   ToolFingerprint(ToolFingerprint&& from) noexcept
942     : ToolFingerprint() {
943     *this = ::std::move(from);
944   }
945 
946   inline ToolFingerprint& operator=(const ToolFingerprint& from) {
947     if (this == &from) return *this;
948     CopyFrom(from);
949     return *this;
950   }
951   inline ToolFingerprint& operator=(ToolFingerprint&& from) noexcept {
952     if (this == &from) return *this;
953     if (GetOwningArena() == from.GetOwningArena()
954   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
955         && GetOwningArena() != nullptr
956   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
957     ) {
958       InternalSwap(&from);
959     } else {
960       CopyFrom(from);
961     }
962     return *this;
963   }
964 
descriptor()965   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
966     return GetDescriptor();
967   }
GetDescriptor()968   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
969     return default_instance().GetMetadata().descriptor;
970   }
GetReflection()971   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
972     return default_instance().GetMetadata().reflection;
973   }
default_instance()974   static const ToolFingerprint& default_instance() {
975     return *internal_default_instance();
976   }
internal_default_instance()977   static inline const ToolFingerprint* internal_default_instance() {
978     return reinterpret_cast<const ToolFingerprint*>(
979                &_ToolFingerprint_default_instance_);
980   }
981   static constexpr int kIndexInFileMessages =
982     3;
983 
swap(ToolFingerprint & a,ToolFingerprint & b)984   friend void swap(ToolFingerprint& a, ToolFingerprint& b) {
985     a.Swap(&b);
986   }
Swap(ToolFingerprint * other)987   inline void Swap(ToolFingerprint* other) {
988     if (other == this) return;
989   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
990     if (GetOwningArena() != nullptr &&
991         GetOwningArena() == other->GetOwningArena()) {
992    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
993     if (GetOwningArena() == other->GetOwningArena()) {
994   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
995       InternalSwap(other);
996     } else {
997       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
998     }
999   }
1000   void UnsafeArenaSwap(ToolFingerprint* other) {
1001     if (other == this) return;
1002     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1003     InternalSwap(other);
1004   }
1005 
1006   // implements Message ----------------------------------------------
1007 
1008   ToolFingerprint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1009     return CreateMaybeMessage<ToolFingerprint>(arena);
1010   }
1011   ToolFingerprint* New() const {
1012     return New(nullptr);
1013   }
1014   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1015   void CopyFrom(const ToolFingerprint& from);
1016   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1017   void MergeFrom( const ToolFingerprint& from) {
1018     ToolFingerprint::MergeImpl(*this, from);
1019   }
1020   private:
1021   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1022   public:
1023   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1024   bool IsInitialized() const final;
1025 
1026   size_t ByteSizeLong() const final;
1027   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1028   ::uint8_t* _InternalSerialize(
1029       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1030   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1031 
1032   private:
1033   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1034   void SharedDtor();
1035   void SetCachedSize(int size) const final;
1036   void InternalSwap(ToolFingerprint* other);
1037 
1038   private:
1039   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1040   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1041     return "aapt.pb.ToolFingerprint";
1042   }
1043   protected:
1044   explicit ToolFingerprint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1045                        bool is_message_owned = false);
1046   public:
1047 
1048   static const ClassData _class_data_;
1049   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1050 
1051   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1052 
1053   // nested types ----------------------------------------------------
1054 
1055   // accessors -------------------------------------------------------
1056 
1057   enum : int {
1058     kToolFieldNumber = 1,
1059     kVersionFieldNumber = 2,
1060   };
1061   // string tool = 1;
1062   void clear_tool();
1063   const std::string& tool() const;
1064   template <typename ArgT0 = const std::string&, typename... ArgT>
1065   void set_tool(ArgT0&& arg0, ArgT... args);
1066   std::string* mutable_tool();
1067   PROTOBUF_NODISCARD std::string* release_tool();
1068   void set_allocated_tool(std::string* tool);
1069   private:
1070   const std::string& _internal_tool() const;
1071   inline PROTOBUF_ALWAYS_INLINE void _internal_set_tool(const std::string& value);
1072   std::string* _internal_mutable_tool();
1073   public:
1074 
1075   // string version = 2;
1076   void clear_version();
1077   const std::string& version() const;
1078   template <typename ArgT0 = const std::string&, typename... ArgT>
1079   void set_version(ArgT0&& arg0, ArgT... args);
1080   std::string* mutable_version();
1081   PROTOBUF_NODISCARD std::string* release_version();
1082   void set_allocated_version(std::string* version);
1083   private:
1084   const std::string& _internal_version() const;
1085   inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value);
1086   std::string* _internal_mutable_version();
1087   public:
1088 
1089   // @@protoc_insertion_point(class_scope:aapt.pb.ToolFingerprint)
1090  private:
1091   class _Internal;
1092 
1093   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1094   typedef void InternalArenaConstructable_;
1095   typedef void DestructorSkippable_;
1096   struct Impl_ {
1097     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tool_;
1098     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_;
1099     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1100   };
1101   union { Impl_ _impl_; };
1102   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
1103 };
1104 // -------------------------------------------------------------------
1105 
1106 class DynamicRefTable final :
1107     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.DynamicRefTable) */ {
1108  public:
DynamicRefTable()1109   inline DynamicRefTable() : DynamicRefTable(nullptr) {}
1110   ~DynamicRefTable() override;
1111   explicit PROTOBUF_CONSTEXPR DynamicRefTable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1112 
1113   DynamicRefTable(const DynamicRefTable& from);
DynamicRefTable(DynamicRefTable && from)1114   DynamicRefTable(DynamicRefTable&& from) noexcept
1115     : DynamicRefTable() {
1116     *this = ::std::move(from);
1117   }
1118 
1119   inline DynamicRefTable& operator=(const DynamicRefTable& from) {
1120     if (this == &from) return *this;
1121     CopyFrom(from);
1122     return *this;
1123   }
1124   inline DynamicRefTable& operator=(DynamicRefTable&& from) noexcept {
1125     if (this == &from) return *this;
1126     if (GetOwningArena() == from.GetOwningArena()
1127   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1128         && GetOwningArena() != nullptr
1129   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1130     ) {
1131       InternalSwap(&from);
1132     } else {
1133       CopyFrom(from);
1134     }
1135     return *this;
1136   }
1137 
descriptor()1138   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1139     return GetDescriptor();
1140   }
GetDescriptor()1141   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1142     return default_instance().GetMetadata().descriptor;
1143   }
GetReflection()1144   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1145     return default_instance().GetMetadata().reflection;
1146   }
default_instance()1147   static const DynamicRefTable& default_instance() {
1148     return *internal_default_instance();
1149   }
internal_default_instance()1150   static inline const DynamicRefTable* internal_default_instance() {
1151     return reinterpret_cast<const DynamicRefTable*>(
1152                &_DynamicRefTable_default_instance_);
1153   }
1154   static constexpr int kIndexInFileMessages =
1155     4;
1156 
swap(DynamicRefTable & a,DynamicRefTable & b)1157   friend void swap(DynamicRefTable& a, DynamicRefTable& b) {
1158     a.Swap(&b);
1159   }
Swap(DynamicRefTable * other)1160   inline void Swap(DynamicRefTable* other) {
1161     if (other == this) return;
1162   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1163     if (GetOwningArena() != nullptr &&
1164         GetOwningArena() == other->GetOwningArena()) {
1165    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1166     if (GetOwningArena() == other->GetOwningArena()) {
1167   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1168       InternalSwap(other);
1169     } else {
1170       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1171     }
1172   }
1173   void UnsafeArenaSwap(DynamicRefTable* other) {
1174     if (other == this) return;
1175     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1176     InternalSwap(other);
1177   }
1178 
1179   // implements Message ----------------------------------------------
1180 
1181   DynamicRefTable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1182     return CreateMaybeMessage<DynamicRefTable>(arena);
1183   }
1184   DynamicRefTable* New() const {
1185     return New(nullptr);
1186   }
1187   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1188   void CopyFrom(const DynamicRefTable& from);
1189   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1190   void MergeFrom( const DynamicRefTable& from) {
1191     DynamicRefTable::MergeImpl(*this, from);
1192   }
1193   private:
1194   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1195   public:
1196   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1197   bool IsInitialized() const final;
1198 
1199   size_t ByteSizeLong() const final;
1200   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1201   ::uint8_t* _InternalSerialize(
1202       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1203   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1204 
1205   private:
1206   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1207   void SharedDtor();
1208   void SetCachedSize(int size) const final;
1209   void InternalSwap(DynamicRefTable* other);
1210 
1211   private:
1212   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1213   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1214     return "aapt.pb.DynamicRefTable";
1215   }
1216   protected:
1217   explicit DynamicRefTable(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1218                        bool is_message_owned = false);
1219   public:
1220 
1221   static const ClassData _class_data_;
1222   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1223 
1224   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1225 
1226   // nested types ----------------------------------------------------
1227 
1228   // accessors -------------------------------------------------------
1229 
1230   enum : int {
1231     kPackageNameFieldNumber = 2,
1232     kPackageIdFieldNumber = 1,
1233   };
1234   // string package_name = 2;
1235   void clear_package_name();
1236   const std::string& package_name() const;
1237   template <typename ArgT0 = const std::string&, typename... ArgT>
1238   void set_package_name(ArgT0&& arg0, ArgT... args);
1239   std::string* mutable_package_name();
1240   PROTOBUF_NODISCARD std::string* release_package_name();
1241   void set_allocated_package_name(std::string* package_name);
1242   private:
1243   const std::string& _internal_package_name() const;
1244   inline PROTOBUF_ALWAYS_INLINE void _internal_set_package_name(const std::string& value);
1245   std::string* _internal_mutable_package_name();
1246   public:
1247 
1248   // .aapt.pb.PackageId package_id = 1;
1249   bool has_package_id() const;
1250   private:
1251   bool _internal_has_package_id() const;
1252   public:
1253   void clear_package_id();
1254   const ::aapt::pb::PackageId& package_id() const;
1255   PROTOBUF_NODISCARD ::aapt::pb::PackageId* release_package_id();
1256   ::aapt::pb::PackageId* mutable_package_id();
1257   void set_allocated_package_id(::aapt::pb::PackageId* package_id);
1258   private:
1259   const ::aapt::pb::PackageId& _internal_package_id() const;
1260   ::aapt::pb::PackageId* _internal_mutable_package_id();
1261   public:
1262   void unsafe_arena_set_allocated_package_id(
1263       ::aapt::pb::PackageId* package_id);
1264   ::aapt::pb::PackageId* unsafe_arena_release_package_id();
1265 
1266   // @@protoc_insertion_point(class_scope:aapt.pb.DynamicRefTable)
1267  private:
1268   class _Internal;
1269 
1270   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1271   typedef void InternalArenaConstructable_;
1272   typedef void DestructorSkippable_;
1273   struct Impl_ {
1274     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr package_name_;
1275     ::aapt::pb::PackageId* package_id_;
1276     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1277   };
1278   union { Impl_ _impl_; };
1279   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
1280 };
1281 // -------------------------------------------------------------------
1282 
1283 class ResourceTable final :
1284     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.ResourceTable) */ {
1285  public:
ResourceTable()1286   inline ResourceTable() : ResourceTable(nullptr) {}
1287   ~ResourceTable() override;
1288   explicit PROTOBUF_CONSTEXPR ResourceTable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1289 
1290   ResourceTable(const ResourceTable& from);
ResourceTable(ResourceTable && from)1291   ResourceTable(ResourceTable&& from) noexcept
1292     : ResourceTable() {
1293     *this = ::std::move(from);
1294   }
1295 
1296   inline ResourceTable& operator=(const ResourceTable& from) {
1297     if (this == &from) return *this;
1298     CopyFrom(from);
1299     return *this;
1300   }
1301   inline ResourceTable& operator=(ResourceTable&& from) noexcept {
1302     if (this == &from) return *this;
1303     if (GetOwningArena() == from.GetOwningArena()
1304   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1305         && GetOwningArena() != nullptr
1306   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1307     ) {
1308       InternalSwap(&from);
1309     } else {
1310       CopyFrom(from);
1311     }
1312     return *this;
1313   }
1314 
descriptor()1315   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1316     return GetDescriptor();
1317   }
GetDescriptor()1318   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1319     return default_instance().GetMetadata().descriptor;
1320   }
GetReflection()1321   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1322     return default_instance().GetMetadata().reflection;
1323   }
default_instance()1324   static const ResourceTable& default_instance() {
1325     return *internal_default_instance();
1326   }
internal_default_instance()1327   static inline const ResourceTable* internal_default_instance() {
1328     return reinterpret_cast<const ResourceTable*>(
1329                &_ResourceTable_default_instance_);
1330   }
1331   static constexpr int kIndexInFileMessages =
1332     5;
1333 
swap(ResourceTable & a,ResourceTable & b)1334   friend void swap(ResourceTable& a, ResourceTable& b) {
1335     a.Swap(&b);
1336   }
Swap(ResourceTable * other)1337   inline void Swap(ResourceTable* other) {
1338     if (other == this) return;
1339   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1340     if (GetOwningArena() != nullptr &&
1341         GetOwningArena() == other->GetOwningArena()) {
1342    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1343     if (GetOwningArena() == other->GetOwningArena()) {
1344   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1345       InternalSwap(other);
1346     } else {
1347       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1348     }
1349   }
1350   void UnsafeArenaSwap(ResourceTable* other) {
1351     if (other == this) return;
1352     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1353     InternalSwap(other);
1354   }
1355 
1356   // implements Message ----------------------------------------------
1357 
1358   ResourceTable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1359     return CreateMaybeMessage<ResourceTable>(arena);
1360   }
1361   ResourceTable* New() const {
1362     return New(nullptr);
1363   }
1364   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1365   void CopyFrom(const ResourceTable& from);
1366   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1367   void MergeFrom( const ResourceTable& from) {
1368     ResourceTable::MergeImpl(*this, from);
1369   }
1370   private:
1371   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1372   public:
1373   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1374   bool IsInitialized() const final;
1375 
1376   size_t ByteSizeLong() const final;
1377   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1378   ::uint8_t* _InternalSerialize(
1379       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1380   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1381 
1382   private:
1383   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1384   void SharedDtor();
1385   void SetCachedSize(int size) const final;
1386   void InternalSwap(ResourceTable* other);
1387 
1388   private:
1389   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1390   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1391     return "aapt.pb.ResourceTable";
1392   }
1393   protected:
1394   explicit ResourceTable(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1395                        bool is_message_owned = false);
1396   public:
1397 
1398   static const ClassData _class_data_;
1399   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1400 
1401   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1402 
1403   // nested types ----------------------------------------------------
1404 
1405   // accessors -------------------------------------------------------
1406 
1407   enum : int {
1408     kPackageFieldNumber = 2,
1409     kOverlayableFieldNumber = 3,
1410     kToolFingerprintFieldNumber = 4,
1411     kDynamicRefTableFieldNumber = 5,
1412     kSourcePoolFieldNumber = 1,
1413   };
1414   // repeated .aapt.pb.Package package = 2;
1415   int package_size() const;
1416   private:
1417   int _internal_package_size() const;
1418   public:
1419   void clear_package();
1420   ::aapt::pb::Package* mutable_package(int index);
1421   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Package >*
1422       mutable_package();
1423   private:
1424   const ::aapt::pb::Package& _internal_package(int index) const;
1425   ::aapt::pb::Package* _internal_add_package();
1426   public:
1427   const ::aapt::pb::Package& package(int index) const;
1428   ::aapt::pb::Package* add_package();
1429   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Package >&
1430       package() const;
1431 
1432   // repeated .aapt.pb.Overlayable overlayable = 3;
1433   int overlayable_size() const;
1434   private:
1435   int _internal_overlayable_size() const;
1436   public:
1437   void clear_overlayable();
1438   ::aapt::pb::Overlayable* mutable_overlayable(int index);
1439   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Overlayable >*
1440       mutable_overlayable();
1441   private:
1442   const ::aapt::pb::Overlayable& _internal_overlayable(int index) const;
1443   ::aapt::pb::Overlayable* _internal_add_overlayable();
1444   public:
1445   const ::aapt::pb::Overlayable& overlayable(int index) const;
1446   ::aapt::pb::Overlayable* add_overlayable();
1447   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Overlayable >&
1448       overlayable() const;
1449 
1450   // repeated .aapt.pb.ToolFingerprint tool_fingerprint = 4;
1451   int tool_fingerprint_size() const;
1452   private:
1453   int _internal_tool_fingerprint_size() const;
1454   public:
1455   void clear_tool_fingerprint();
1456   ::aapt::pb::ToolFingerprint* mutable_tool_fingerprint(int index);
1457   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ToolFingerprint >*
1458       mutable_tool_fingerprint();
1459   private:
1460   const ::aapt::pb::ToolFingerprint& _internal_tool_fingerprint(int index) const;
1461   ::aapt::pb::ToolFingerprint* _internal_add_tool_fingerprint();
1462   public:
1463   const ::aapt::pb::ToolFingerprint& tool_fingerprint(int index) const;
1464   ::aapt::pb::ToolFingerprint* add_tool_fingerprint();
1465   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ToolFingerprint >&
1466       tool_fingerprint() const;
1467 
1468   // repeated .aapt.pb.DynamicRefTable dynamic_ref_table = 5;
1469   int dynamic_ref_table_size() const;
1470   private:
1471   int _internal_dynamic_ref_table_size() const;
1472   public:
1473   void clear_dynamic_ref_table();
1474   ::aapt::pb::DynamicRefTable* mutable_dynamic_ref_table(int index);
1475   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::DynamicRefTable >*
1476       mutable_dynamic_ref_table();
1477   private:
1478   const ::aapt::pb::DynamicRefTable& _internal_dynamic_ref_table(int index) const;
1479   ::aapt::pb::DynamicRefTable* _internal_add_dynamic_ref_table();
1480   public:
1481   const ::aapt::pb::DynamicRefTable& dynamic_ref_table(int index) const;
1482   ::aapt::pb::DynamicRefTable* add_dynamic_ref_table();
1483   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::DynamicRefTable >&
1484       dynamic_ref_table() const;
1485 
1486   // .aapt.pb.StringPool source_pool = 1;
1487   bool has_source_pool() const;
1488   private:
1489   bool _internal_has_source_pool() const;
1490   public:
1491   void clear_source_pool();
1492   const ::aapt::pb::StringPool& source_pool() const;
1493   PROTOBUF_NODISCARD ::aapt::pb::StringPool* release_source_pool();
1494   ::aapt::pb::StringPool* mutable_source_pool();
1495   void set_allocated_source_pool(::aapt::pb::StringPool* source_pool);
1496   private:
1497   const ::aapt::pb::StringPool& _internal_source_pool() const;
1498   ::aapt::pb::StringPool* _internal_mutable_source_pool();
1499   public:
1500   void unsafe_arena_set_allocated_source_pool(
1501       ::aapt::pb::StringPool* source_pool);
1502   ::aapt::pb::StringPool* unsafe_arena_release_source_pool();
1503 
1504   // @@protoc_insertion_point(class_scope:aapt.pb.ResourceTable)
1505  private:
1506   class _Internal;
1507 
1508   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1509   typedef void InternalArenaConstructable_;
1510   typedef void DestructorSkippable_;
1511   struct Impl_ {
1512     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Package > package_;
1513     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Overlayable > overlayable_;
1514     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ToolFingerprint > tool_fingerprint_;
1515     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::DynamicRefTable > dynamic_ref_table_;
1516     ::aapt::pb::StringPool* source_pool_;
1517     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1518   };
1519   union { Impl_ _impl_; };
1520   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
1521 };
1522 // -------------------------------------------------------------------
1523 
1524 class PackageId final :
1525     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.PackageId) */ {
1526  public:
PackageId()1527   inline PackageId() : PackageId(nullptr) {}
1528   ~PackageId() override;
1529   explicit PROTOBUF_CONSTEXPR PackageId(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1530 
1531   PackageId(const PackageId& from);
PackageId(PackageId && from)1532   PackageId(PackageId&& from) noexcept
1533     : PackageId() {
1534     *this = ::std::move(from);
1535   }
1536 
1537   inline PackageId& operator=(const PackageId& from) {
1538     if (this == &from) return *this;
1539     CopyFrom(from);
1540     return *this;
1541   }
1542   inline PackageId& operator=(PackageId&& from) noexcept {
1543     if (this == &from) return *this;
1544     if (GetOwningArena() == from.GetOwningArena()
1545   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1546         && GetOwningArena() != nullptr
1547   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1548     ) {
1549       InternalSwap(&from);
1550     } else {
1551       CopyFrom(from);
1552     }
1553     return *this;
1554   }
1555 
descriptor()1556   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1557     return GetDescriptor();
1558   }
GetDescriptor()1559   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1560     return default_instance().GetMetadata().descriptor;
1561   }
GetReflection()1562   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1563     return default_instance().GetMetadata().reflection;
1564   }
default_instance()1565   static const PackageId& default_instance() {
1566     return *internal_default_instance();
1567   }
internal_default_instance()1568   static inline const PackageId* internal_default_instance() {
1569     return reinterpret_cast<const PackageId*>(
1570                &_PackageId_default_instance_);
1571   }
1572   static constexpr int kIndexInFileMessages =
1573     6;
1574 
swap(PackageId & a,PackageId & b)1575   friend void swap(PackageId& a, PackageId& b) {
1576     a.Swap(&b);
1577   }
Swap(PackageId * other)1578   inline void Swap(PackageId* other) {
1579     if (other == this) return;
1580   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1581     if (GetOwningArena() != nullptr &&
1582         GetOwningArena() == other->GetOwningArena()) {
1583    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1584     if (GetOwningArena() == other->GetOwningArena()) {
1585   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1586       InternalSwap(other);
1587     } else {
1588       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1589     }
1590   }
1591   void UnsafeArenaSwap(PackageId* other) {
1592     if (other == this) return;
1593     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1594     InternalSwap(other);
1595   }
1596 
1597   // implements Message ----------------------------------------------
1598 
1599   PackageId* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1600     return CreateMaybeMessage<PackageId>(arena);
1601   }
1602   PackageId* New() const {
1603     return New(nullptr);
1604   }
1605   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1606   void CopyFrom(const PackageId& from);
1607   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1608   void MergeFrom( const PackageId& from) {
1609     PackageId::MergeImpl(*this, from);
1610   }
1611   private:
1612   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1613   public:
1614   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1615   bool IsInitialized() const final;
1616 
1617   size_t ByteSizeLong() const final;
1618   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1619   ::uint8_t* _InternalSerialize(
1620       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1621   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1622 
1623   private:
1624   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1625   void SharedDtor();
1626   void SetCachedSize(int size) const final;
1627   void InternalSwap(PackageId* other);
1628 
1629   private:
1630   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1631   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1632     return "aapt.pb.PackageId";
1633   }
1634   protected:
1635   explicit PackageId(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1636                        bool is_message_owned = false);
1637   public:
1638 
1639   static const ClassData _class_data_;
1640   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1641 
1642   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1643 
1644   // nested types ----------------------------------------------------
1645 
1646   // accessors -------------------------------------------------------
1647 
1648   enum : int {
1649     kIdFieldNumber = 1,
1650   };
1651   // uint32 id = 1;
1652   void clear_id();
1653   ::uint32_t id() const;
1654   void set_id(::uint32_t value);
1655   private:
1656   ::uint32_t _internal_id() const;
1657   void _internal_set_id(::uint32_t value);
1658   public:
1659 
1660   // @@protoc_insertion_point(class_scope:aapt.pb.PackageId)
1661  private:
1662   class _Internal;
1663 
1664   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1665   typedef void InternalArenaConstructable_;
1666   typedef void DestructorSkippable_;
1667   struct Impl_ {
1668     ::uint32_t id_;
1669     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1670   };
1671   union { Impl_ _impl_; };
1672   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
1673 };
1674 // -------------------------------------------------------------------
1675 
1676 class Package final :
1677     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Package) */ {
1678  public:
Package()1679   inline Package() : Package(nullptr) {}
1680   ~Package() override;
1681   explicit PROTOBUF_CONSTEXPR Package(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1682 
1683   Package(const Package& from);
Package(Package && from)1684   Package(Package&& from) noexcept
1685     : Package() {
1686     *this = ::std::move(from);
1687   }
1688 
1689   inline Package& operator=(const Package& from) {
1690     if (this == &from) return *this;
1691     CopyFrom(from);
1692     return *this;
1693   }
1694   inline Package& operator=(Package&& from) noexcept {
1695     if (this == &from) return *this;
1696     if (GetOwningArena() == from.GetOwningArena()
1697   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1698         && GetOwningArena() != nullptr
1699   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1700     ) {
1701       InternalSwap(&from);
1702     } else {
1703       CopyFrom(from);
1704     }
1705     return *this;
1706   }
1707 
descriptor()1708   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1709     return GetDescriptor();
1710   }
GetDescriptor()1711   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1712     return default_instance().GetMetadata().descriptor;
1713   }
GetReflection()1714   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1715     return default_instance().GetMetadata().reflection;
1716   }
default_instance()1717   static const Package& default_instance() {
1718     return *internal_default_instance();
1719   }
internal_default_instance()1720   static inline const Package* internal_default_instance() {
1721     return reinterpret_cast<const Package*>(
1722                &_Package_default_instance_);
1723   }
1724   static constexpr int kIndexInFileMessages =
1725     7;
1726 
swap(Package & a,Package & b)1727   friend void swap(Package& a, Package& b) {
1728     a.Swap(&b);
1729   }
Swap(Package * other)1730   inline void Swap(Package* other) {
1731     if (other == this) return;
1732   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1733     if (GetOwningArena() != nullptr &&
1734         GetOwningArena() == other->GetOwningArena()) {
1735    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1736     if (GetOwningArena() == other->GetOwningArena()) {
1737   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1738       InternalSwap(other);
1739     } else {
1740       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1741     }
1742   }
1743   void UnsafeArenaSwap(Package* other) {
1744     if (other == this) return;
1745     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1746     InternalSwap(other);
1747   }
1748 
1749   // implements Message ----------------------------------------------
1750 
1751   Package* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1752     return CreateMaybeMessage<Package>(arena);
1753   }
1754   Package* New() const {
1755     return New(nullptr);
1756   }
1757   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1758   void CopyFrom(const Package& from);
1759   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1760   void MergeFrom( const Package& from) {
1761     Package::MergeImpl(*this, from);
1762   }
1763   private:
1764   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1765   public:
1766   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1767   bool IsInitialized() const final;
1768 
1769   size_t ByteSizeLong() const final;
1770   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1771   ::uint8_t* _InternalSerialize(
1772       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1773   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1774 
1775   private:
1776   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1777   void SharedDtor();
1778   void SetCachedSize(int size) const final;
1779   void InternalSwap(Package* other);
1780 
1781   private:
1782   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1783   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1784     return "aapt.pb.Package";
1785   }
1786   protected:
1787   explicit Package(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1788                        bool is_message_owned = false);
1789   public:
1790 
1791   static const ClassData _class_data_;
1792   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1793 
1794   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1795 
1796   // nested types ----------------------------------------------------
1797 
1798   // accessors -------------------------------------------------------
1799 
1800   enum : int {
1801     kTypeFieldNumber = 3,
1802     kPackageNameFieldNumber = 2,
1803     kPackageIdFieldNumber = 1,
1804   };
1805   // repeated .aapt.pb.Type type = 3;
1806   int type_size() const;
1807   private:
1808   int _internal_type_size() const;
1809   public:
1810   void clear_type();
1811   ::aapt::pb::Type* mutable_type(int index);
1812   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Type >*
1813       mutable_type();
1814   private:
1815   const ::aapt::pb::Type& _internal_type(int index) const;
1816   ::aapt::pb::Type* _internal_add_type();
1817   public:
1818   const ::aapt::pb::Type& type(int index) const;
1819   ::aapt::pb::Type* add_type();
1820   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Type >&
1821       type() const;
1822 
1823   // string package_name = 2;
1824   void clear_package_name();
1825   const std::string& package_name() const;
1826   template <typename ArgT0 = const std::string&, typename... ArgT>
1827   void set_package_name(ArgT0&& arg0, ArgT... args);
1828   std::string* mutable_package_name();
1829   PROTOBUF_NODISCARD std::string* release_package_name();
1830   void set_allocated_package_name(std::string* package_name);
1831   private:
1832   const std::string& _internal_package_name() const;
1833   inline PROTOBUF_ALWAYS_INLINE void _internal_set_package_name(const std::string& value);
1834   std::string* _internal_mutable_package_name();
1835   public:
1836 
1837   // .aapt.pb.PackageId package_id = 1;
1838   bool has_package_id() const;
1839   private:
1840   bool _internal_has_package_id() const;
1841   public:
1842   void clear_package_id();
1843   const ::aapt::pb::PackageId& package_id() const;
1844   PROTOBUF_NODISCARD ::aapt::pb::PackageId* release_package_id();
1845   ::aapt::pb::PackageId* mutable_package_id();
1846   void set_allocated_package_id(::aapt::pb::PackageId* package_id);
1847   private:
1848   const ::aapt::pb::PackageId& _internal_package_id() const;
1849   ::aapt::pb::PackageId* _internal_mutable_package_id();
1850   public:
1851   void unsafe_arena_set_allocated_package_id(
1852       ::aapt::pb::PackageId* package_id);
1853   ::aapt::pb::PackageId* unsafe_arena_release_package_id();
1854 
1855   // @@protoc_insertion_point(class_scope:aapt.pb.Package)
1856  private:
1857   class _Internal;
1858 
1859   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1860   typedef void InternalArenaConstructable_;
1861   typedef void DestructorSkippable_;
1862   struct Impl_ {
1863     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Type > type_;
1864     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr package_name_;
1865     ::aapt::pb::PackageId* package_id_;
1866     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1867   };
1868   union { Impl_ _impl_; };
1869   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
1870 };
1871 // -------------------------------------------------------------------
1872 
1873 class TypeId final :
1874     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.TypeId) */ {
1875  public:
TypeId()1876   inline TypeId() : TypeId(nullptr) {}
1877   ~TypeId() override;
1878   explicit PROTOBUF_CONSTEXPR TypeId(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1879 
1880   TypeId(const TypeId& from);
TypeId(TypeId && from)1881   TypeId(TypeId&& from) noexcept
1882     : TypeId() {
1883     *this = ::std::move(from);
1884   }
1885 
1886   inline TypeId& operator=(const TypeId& from) {
1887     if (this == &from) return *this;
1888     CopyFrom(from);
1889     return *this;
1890   }
1891   inline TypeId& operator=(TypeId&& from) noexcept {
1892     if (this == &from) return *this;
1893     if (GetOwningArena() == from.GetOwningArena()
1894   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1895         && GetOwningArena() != nullptr
1896   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1897     ) {
1898       InternalSwap(&from);
1899     } else {
1900       CopyFrom(from);
1901     }
1902     return *this;
1903   }
1904 
descriptor()1905   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1906     return GetDescriptor();
1907   }
GetDescriptor()1908   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1909     return default_instance().GetMetadata().descriptor;
1910   }
GetReflection()1911   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1912     return default_instance().GetMetadata().reflection;
1913   }
default_instance()1914   static const TypeId& default_instance() {
1915     return *internal_default_instance();
1916   }
internal_default_instance()1917   static inline const TypeId* internal_default_instance() {
1918     return reinterpret_cast<const TypeId*>(
1919                &_TypeId_default_instance_);
1920   }
1921   static constexpr int kIndexInFileMessages =
1922     8;
1923 
swap(TypeId & a,TypeId & b)1924   friend void swap(TypeId& a, TypeId& b) {
1925     a.Swap(&b);
1926   }
Swap(TypeId * other)1927   inline void Swap(TypeId* other) {
1928     if (other == this) return;
1929   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1930     if (GetOwningArena() != nullptr &&
1931         GetOwningArena() == other->GetOwningArena()) {
1932    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1933     if (GetOwningArena() == other->GetOwningArena()) {
1934   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1935       InternalSwap(other);
1936     } else {
1937       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1938     }
1939   }
1940   void UnsafeArenaSwap(TypeId* other) {
1941     if (other == this) return;
1942     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1943     InternalSwap(other);
1944   }
1945 
1946   // implements Message ----------------------------------------------
1947 
1948   TypeId* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1949     return CreateMaybeMessage<TypeId>(arena);
1950   }
1951   TypeId* New() const {
1952     return New(nullptr);
1953   }
1954   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1955   void CopyFrom(const TypeId& from);
1956   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1957   void MergeFrom( const TypeId& from) {
1958     TypeId::MergeImpl(*this, from);
1959   }
1960   private:
1961   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1962   public:
1963   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1964   bool IsInitialized() const final;
1965 
1966   size_t ByteSizeLong() const final;
1967   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1968   ::uint8_t* _InternalSerialize(
1969       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1970   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1971 
1972   private:
1973   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1974   void SharedDtor();
1975   void SetCachedSize(int size) const final;
1976   void InternalSwap(TypeId* other);
1977 
1978   private:
1979   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1980   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1981     return "aapt.pb.TypeId";
1982   }
1983   protected:
1984   explicit TypeId(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1985                        bool is_message_owned = false);
1986   public:
1987 
1988   static const ClassData _class_data_;
1989   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1990 
1991   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1992 
1993   // nested types ----------------------------------------------------
1994 
1995   // accessors -------------------------------------------------------
1996 
1997   enum : int {
1998     kIdFieldNumber = 1,
1999   };
2000   // uint32 id = 1;
2001   void clear_id();
2002   ::uint32_t id() const;
2003   void set_id(::uint32_t value);
2004   private:
2005   ::uint32_t _internal_id() const;
2006   void _internal_set_id(::uint32_t value);
2007   public:
2008 
2009   // @@protoc_insertion_point(class_scope:aapt.pb.TypeId)
2010  private:
2011   class _Internal;
2012 
2013   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2014   typedef void InternalArenaConstructable_;
2015   typedef void DestructorSkippable_;
2016   struct Impl_ {
2017     ::uint32_t id_;
2018     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2019   };
2020   union { Impl_ _impl_; };
2021   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
2022 };
2023 // -------------------------------------------------------------------
2024 
2025 class Type final :
2026     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Type) */ {
2027  public:
Type()2028   inline Type() : Type(nullptr) {}
2029   ~Type() override;
2030   explicit PROTOBUF_CONSTEXPR Type(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2031 
2032   Type(const Type& from);
Type(Type && from)2033   Type(Type&& from) noexcept
2034     : Type() {
2035     *this = ::std::move(from);
2036   }
2037 
2038   inline Type& operator=(const Type& from) {
2039     if (this == &from) return *this;
2040     CopyFrom(from);
2041     return *this;
2042   }
2043   inline Type& operator=(Type&& from) noexcept {
2044     if (this == &from) return *this;
2045     if (GetOwningArena() == from.GetOwningArena()
2046   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2047         && GetOwningArena() != nullptr
2048   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
2049     ) {
2050       InternalSwap(&from);
2051     } else {
2052       CopyFrom(from);
2053     }
2054     return *this;
2055   }
2056 
descriptor()2057   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2058     return GetDescriptor();
2059   }
GetDescriptor()2060   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2061     return default_instance().GetMetadata().descriptor;
2062   }
GetReflection()2063   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2064     return default_instance().GetMetadata().reflection;
2065   }
default_instance()2066   static const Type& default_instance() {
2067     return *internal_default_instance();
2068   }
internal_default_instance()2069   static inline const Type* internal_default_instance() {
2070     return reinterpret_cast<const Type*>(
2071                &_Type_default_instance_);
2072   }
2073   static constexpr int kIndexInFileMessages =
2074     9;
2075 
swap(Type & a,Type & b)2076   friend void swap(Type& a, Type& b) {
2077     a.Swap(&b);
2078   }
Swap(Type * other)2079   inline void Swap(Type* other) {
2080     if (other == this) return;
2081   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2082     if (GetOwningArena() != nullptr &&
2083         GetOwningArena() == other->GetOwningArena()) {
2084    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
2085     if (GetOwningArena() == other->GetOwningArena()) {
2086   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
2087       InternalSwap(other);
2088     } else {
2089       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2090     }
2091   }
2092   void UnsafeArenaSwap(Type* other) {
2093     if (other == this) return;
2094     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2095     InternalSwap(other);
2096   }
2097 
2098   // implements Message ----------------------------------------------
2099 
2100   Type* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2101     return CreateMaybeMessage<Type>(arena);
2102   }
2103   Type* New() const {
2104     return New(nullptr);
2105   }
2106   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2107   void CopyFrom(const Type& from);
2108   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2109   void MergeFrom( const Type& from) {
2110     Type::MergeImpl(*this, from);
2111   }
2112   private:
2113   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2114   public:
2115   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2116   bool IsInitialized() const final;
2117 
2118   size_t ByteSizeLong() const final;
2119   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2120   ::uint8_t* _InternalSerialize(
2121       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2122   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2123 
2124   private:
2125   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2126   void SharedDtor();
2127   void SetCachedSize(int size) const final;
2128   void InternalSwap(Type* other);
2129 
2130   private:
2131   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2132   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2133     return "aapt.pb.Type";
2134   }
2135   protected:
2136   explicit Type(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2137                        bool is_message_owned = false);
2138   public:
2139 
2140   static const ClassData _class_data_;
2141   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2142 
2143   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2144 
2145   // nested types ----------------------------------------------------
2146 
2147   // accessors -------------------------------------------------------
2148 
2149   enum : int {
2150     kEntryFieldNumber = 3,
2151     kNameFieldNumber = 2,
2152     kTypeIdFieldNumber = 1,
2153   };
2154   // repeated .aapt.pb.Entry entry = 3;
2155   int entry_size() const;
2156   private:
2157   int _internal_entry_size() const;
2158   public:
2159   void clear_entry();
2160   ::aapt::pb::Entry* mutable_entry(int index);
2161   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Entry >*
2162       mutable_entry();
2163   private:
2164   const ::aapt::pb::Entry& _internal_entry(int index) const;
2165   ::aapt::pb::Entry* _internal_add_entry();
2166   public:
2167   const ::aapt::pb::Entry& entry(int index) const;
2168   ::aapt::pb::Entry* add_entry();
2169   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Entry >&
2170       entry() const;
2171 
2172   // string name = 2;
2173   void clear_name();
2174   const std::string& name() const;
2175   template <typename ArgT0 = const std::string&, typename... ArgT>
2176   void set_name(ArgT0&& arg0, ArgT... args);
2177   std::string* mutable_name();
2178   PROTOBUF_NODISCARD std::string* release_name();
2179   void set_allocated_name(std::string* name);
2180   private:
2181   const std::string& _internal_name() const;
2182   inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
2183   std::string* _internal_mutable_name();
2184   public:
2185 
2186   // .aapt.pb.TypeId type_id = 1;
2187   bool has_type_id() const;
2188   private:
2189   bool _internal_has_type_id() const;
2190   public:
2191   void clear_type_id();
2192   const ::aapt::pb::TypeId& type_id() const;
2193   PROTOBUF_NODISCARD ::aapt::pb::TypeId* release_type_id();
2194   ::aapt::pb::TypeId* mutable_type_id();
2195   void set_allocated_type_id(::aapt::pb::TypeId* type_id);
2196   private:
2197   const ::aapt::pb::TypeId& _internal_type_id() const;
2198   ::aapt::pb::TypeId* _internal_mutable_type_id();
2199   public:
2200   void unsafe_arena_set_allocated_type_id(
2201       ::aapt::pb::TypeId* type_id);
2202   ::aapt::pb::TypeId* unsafe_arena_release_type_id();
2203 
2204   // @@protoc_insertion_point(class_scope:aapt.pb.Type)
2205  private:
2206   class _Internal;
2207 
2208   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2209   typedef void InternalArenaConstructable_;
2210   typedef void DestructorSkippable_;
2211   struct Impl_ {
2212     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Entry > entry_;
2213     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
2214     ::aapt::pb::TypeId* type_id_;
2215     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2216   };
2217   union { Impl_ _impl_; };
2218   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
2219 };
2220 // -------------------------------------------------------------------
2221 
2222 class Visibility final :
2223     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Visibility) */ {
2224  public:
Visibility()2225   inline Visibility() : Visibility(nullptr) {}
2226   ~Visibility() override;
2227   explicit PROTOBUF_CONSTEXPR Visibility(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2228 
2229   Visibility(const Visibility& from);
Visibility(Visibility && from)2230   Visibility(Visibility&& from) noexcept
2231     : Visibility() {
2232     *this = ::std::move(from);
2233   }
2234 
2235   inline Visibility& operator=(const Visibility& from) {
2236     if (this == &from) return *this;
2237     CopyFrom(from);
2238     return *this;
2239   }
2240   inline Visibility& operator=(Visibility&& from) noexcept {
2241     if (this == &from) return *this;
2242     if (GetOwningArena() == from.GetOwningArena()
2243   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2244         && GetOwningArena() != nullptr
2245   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
2246     ) {
2247       InternalSwap(&from);
2248     } else {
2249       CopyFrom(from);
2250     }
2251     return *this;
2252   }
2253 
descriptor()2254   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2255     return GetDescriptor();
2256   }
GetDescriptor()2257   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2258     return default_instance().GetMetadata().descriptor;
2259   }
GetReflection()2260   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2261     return default_instance().GetMetadata().reflection;
2262   }
default_instance()2263   static const Visibility& default_instance() {
2264     return *internal_default_instance();
2265   }
internal_default_instance()2266   static inline const Visibility* internal_default_instance() {
2267     return reinterpret_cast<const Visibility*>(
2268                &_Visibility_default_instance_);
2269   }
2270   static constexpr int kIndexInFileMessages =
2271     10;
2272 
swap(Visibility & a,Visibility & b)2273   friend void swap(Visibility& a, Visibility& b) {
2274     a.Swap(&b);
2275   }
Swap(Visibility * other)2276   inline void Swap(Visibility* other) {
2277     if (other == this) return;
2278   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2279     if (GetOwningArena() != nullptr &&
2280         GetOwningArena() == other->GetOwningArena()) {
2281    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
2282     if (GetOwningArena() == other->GetOwningArena()) {
2283   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
2284       InternalSwap(other);
2285     } else {
2286       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2287     }
2288   }
2289   void UnsafeArenaSwap(Visibility* other) {
2290     if (other == this) return;
2291     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2292     InternalSwap(other);
2293   }
2294 
2295   // implements Message ----------------------------------------------
2296 
2297   Visibility* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2298     return CreateMaybeMessage<Visibility>(arena);
2299   }
2300   Visibility* New() const {
2301     return New(nullptr);
2302   }
2303   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2304   void CopyFrom(const Visibility& from);
2305   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2306   void MergeFrom( const Visibility& from) {
2307     Visibility::MergeImpl(*this, from);
2308   }
2309   private:
2310   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2311   public:
2312   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2313   bool IsInitialized() const final;
2314 
2315   size_t ByteSizeLong() const final;
2316   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2317   ::uint8_t* _InternalSerialize(
2318       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2319   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2320 
2321   private:
2322   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2323   void SharedDtor();
2324   void SetCachedSize(int size) const final;
2325   void InternalSwap(Visibility* other);
2326 
2327   private:
2328   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2329   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2330     return "aapt.pb.Visibility";
2331   }
2332   protected:
2333   explicit Visibility(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2334                        bool is_message_owned = false);
2335   public:
2336 
2337   static const ClassData _class_data_;
2338   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2339 
2340   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2341 
2342   // nested types ----------------------------------------------------
2343 
2344   typedef Visibility_Level Level;
2345   static constexpr Level UNKNOWN =
2346     Visibility_Level_UNKNOWN;
2347   static constexpr Level PRIVATE =
2348     Visibility_Level_PRIVATE;
2349   static constexpr Level PUBLIC =
2350     Visibility_Level_PUBLIC;
2351   static inline bool Level_IsValid(int value) {
2352     return Visibility_Level_IsValid(value);
2353   }
2354   static constexpr Level Level_MIN =
2355     Visibility_Level_Level_MIN;
2356   static constexpr Level Level_MAX =
2357     Visibility_Level_Level_MAX;
2358   static constexpr int Level_ARRAYSIZE =
2359     Visibility_Level_Level_ARRAYSIZE;
2360   static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
2361   Level_descriptor() {
2362     return Visibility_Level_descriptor();
2363   }
2364   template<typename T>
2365   static inline const std::string& Level_Name(T enum_t_value) {
2366     static_assert(::std::is_same<T, Level>::value ||
2367       ::std::is_integral<T>::value,
2368       "Incorrect type passed to function Level_Name.");
2369     return Visibility_Level_Name(enum_t_value);
2370   }
2371   static inline bool Level_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
2372       Level* value) {
2373     return Visibility_Level_Parse(name, value);
2374   }
2375 
2376   // accessors -------------------------------------------------------
2377 
2378   enum : int {
2379     kCommentFieldNumber = 3,
2380     kSourceFieldNumber = 2,
2381     kLevelFieldNumber = 1,
2382     kStagedApiFieldNumber = 4,
2383   };
2384   // string comment = 3;
2385   void clear_comment();
2386   const std::string& comment() const;
2387   template <typename ArgT0 = const std::string&, typename... ArgT>
2388   void set_comment(ArgT0&& arg0, ArgT... args);
2389   std::string* mutable_comment();
2390   PROTOBUF_NODISCARD std::string* release_comment();
2391   void set_allocated_comment(std::string* comment);
2392   private:
2393   const std::string& _internal_comment() const;
2394   inline PROTOBUF_ALWAYS_INLINE void _internal_set_comment(const std::string& value);
2395   std::string* _internal_mutable_comment();
2396   public:
2397 
2398   // .aapt.pb.Source source = 2;
2399   bool has_source() const;
2400   private:
2401   bool _internal_has_source() const;
2402   public:
2403   void clear_source();
2404   const ::aapt::pb::Source& source() const;
2405   PROTOBUF_NODISCARD ::aapt::pb::Source* release_source();
2406   ::aapt::pb::Source* mutable_source();
2407   void set_allocated_source(::aapt::pb::Source* source);
2408   private:
2409   const ::aapt::pb::Source& _internal_source() const;
2410   ::aapt::pb::Source* _internal_mutable_source();
2411   public:
2412   void unsafe_arena_set_allocated_source(
2413       ::aapt::pb::Source* source);
2414   ::aapt::pb::Source* unsafe_arena_release_source();
2415 
2416   // .aapt.pb.Visibility.Level level = 1;
2417   void clear_level();
2418   ::aapt::pb::Visibility_Level level() const;
2419   void set_level(::aapt::pb::Visibility_Level value);
2420   private:
2421   ::aapt::pb::Visibility_Level _internal_level() const;
2422   void _internal_set_level(::aapt::pb::Visibility_Level value);
2423   public:
2424 
2425   // bool staged_api = 4;
2426   void clear_staged_api();
2427   bool staged_api() const;
2428   void set_staged_api(bool value);
2429   private:
2430   bool _internal_staged_api() const;
2431   void _internal_set_staged_api(bool value);
2432   public:
2433 
2434   // @@protoc_insertion_point(class_scope:aapt.pb.Visibility)
2435  private:
2436   class _Internal;
2437 
2438   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2439   typedef void InternalArenaConstructable_;
2440   typedef void DestructorSkippable_;
2441   struct Impl_ {
2442     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
2443     ::aapt::pb::Source* source_;
2444     int level_;
2445     bool staged_api_;
2446     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2447   };
2448   union { Impl_ _impl_; };
2449   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
2450 };
2451 // -------------------------------------------------------------------
2452 
2453 class AllowNew final :
2454     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.AllowNew) */ {
2455  public:
AllowNew()2456   inline AllowNew() : AllowNew(nullptr) {}
2457   ~AllowNew() override;
2458   explicit PROTOBUF_CONSTEXPR AllowNew(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2459 
2460   AllowNew(const AllowNew& from);
AllowNew(AllowNew && from)2461   AllowNew(AllowNew&& from) noexcept
2462     : AllowNew() {
2463     *this = ::std::move(from);
2464   }
2465 
2466   inline AllowNew& operator=(const AllowNew& from) {
2467     if (this == &from) return *this;
2468     CopyFrom(from);
2469     return *this;
2470   }
2471   inline AllowNew& operator=(AllowNew&& from) noexcept {
2472     if (this == &from) return *this;
2473     if (GetOwningArena() == from.GetOwningArena()
2474   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2475         && GetOwningArena() != nullptr
2476   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
2477     ) {
2478       InternalSwap(&from);
2479     } else {
2480       CopyFrom(from);
2481     }
2482     return *this;
2483   }
2484 
descriptor()2485   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2486     return GetDescriptor();
2487   }
GetDescriptor()2488   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2489     return default_instance().GetMetadata().descriptor;
2490   }
GetReflection()2491   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2492     return default_instance().GetMetadata().reflection;
2493   }
default_instance()2494   static const AllowNew& default_instance() {
2495     return *internal_default_instance();
2496   }
internal_default_instance()2497   static inline const AllowNew* internal_default_instance() {
2498     return reinterpret_cast<const AllowNew*>(
2499                &_AllowNew_default_instance_);
2500   }
2501   static constexpr int kIndexInFileMessages =
2502     11;
2503 
swap(AllowNew & a,AllowNew & b)2504   friend void swap(AllowNew& a, AllowNew& b) {
2505     a.Swap(&b);
2506   }
Swap(AllowNew * other)2507   inline void Swap(AllowNew* other) {
2508     if (other == this) return;
2509   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2510     if (GetOwningArena() != nullptr &&
2511         GetOwningArena() == other->GetOwningArena()) {
2512    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
2513     if (GetOwningArena() == other->GetOwningArena()) {
2514   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
2515       InternalSwap(other);
2516     } else {
2517       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2518     }
2519   }
2520   void UnsafeArenaSwap(AllowNew* other) {
2521     if (other == this) return;
2522     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2523     InternalSwap(other);
2524   }
2525 
2526   // implements Message ----------------------------------------------
2527 
2528   AllowNew* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2529     return CreateMaybeMessage<AllowNew>(arena);
2530   }
2531   AllowNew* New() const {
2532     return New(nullptr);
2533   }
2534   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2535   void CopyFrom(const AllowNew& from);
2536   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2537   void MergeFrom( const AllowNew& from) {
2538     AllowNew::MergeImpl(*this, from);
2539   }
2540   private:
2541   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2542   public:
2543   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2544   bool IsInitialized() const final;
2545 
2546   size_t ByteSizeLong() const final;
2547   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2548   ::uint8_t* _InternalSerialize(
2549       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2550   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2551 
2552   private:
2553   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2554   void SharedDtor();
2555   void SetCachedSize(int size) const final;
2556   void InternalSwap(AllowNew* other);
2557 
2558   private:
2559   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2560   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2561     return "aapt.pb.AllowNew";
2562   }
2563   protected:
2564   explicit AllowNew(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2565                        bool is_message_owned = false);
2566   public:
2567 
2568   static const ClassData _class_data_;
2569   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2570 
2571   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2572 
2573   // nested types ----------------------------------------------------
2574 
2575   // accessors -------------------------------------------------------
2576 
2577   enum : int {
2578     kCommentFieldNumber = 2,
2579     kSourceFieldNumber = 1,
2580   };
2581   // string comment = 2;
2582   void clear_comment();
2583   const std::string& comment() const;
2584   template <typename ArgT0 = const std::string&, typename... ArgT>
2585   void set_comment(ArgT0&& arg0, ArgT... args);
2586   std::string* mutable_comment();
2587   PROTOBUF_NODISCARD std::string* release_comment();
2588   void set_allocated_comment(std::string* comment);
2589   private:
2590   const std::string& _internal_comment() const;
2591   inline PROTOBUF_ALWAYS_INLINE void _internal_set_comment(const std::string& value);
2592   std::string* _internal_mutable_comment();
2593   public:
2594 
2595   // .aapt.pb.Source source = 1;
2596   bool has_source() const;
2597   private:
2598   bool _internal_has_source() const;
2599   public:
2600   void clear_source();
2601   const ::aapt::pb::Source& source() const;
2602   PROTOBUF_NODISCARD ::aapt::pb::Source* release_source();
2603   ::aapt::pb::Source* mutable_source();
2604   void set_allocated_source(::aapt::pb::Source* source);
2605   private:
2606   const ::aapt::pb::Source& _internal_source() const;
2607   ::aapt::pb::Source* _internal_mutable_source();
2608   public:
2609   void unsafe_arena_set_allocated_source(
2610       ::aapt::pb::Source* source);
2611   ::aapt::pb::Source* unsafe_arena_release_source();
2612 
2613   // @@protoc_insertion_point(class_scope:aapt.pb.AllowNew)
2614  private:
2615   class _Internal;
2616 
2617   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2618   typedef void InternalArenaConstructable_;
2619   typedef void DestructorSkippable_;
2620   struct Impl_ {
2621     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
2622     ::aapt::pb::Source* source_;
2623     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2624   };
2625   union { Impl_ _impl_; };
2626   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
2627 };
2628 // -------------------------------------------------------------------
2629 
2630 class Overlayable final :
2631     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Overlayable) */ {
2632  public:
Overlayable()2633   inline Overlayable() : Overlayable(nullptr) {}
2634   ~Overlayable() override;
2635   explicit PROTOBUF_CONSTEXPR Overlayable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2636 
2637   Overlayable(const Overlayable& from);
Overlayable(Overlayable && from)2638   Overlayable(Overlayable&& from) noexcept
2639     : Overlayable() {
2640     *this = ::std::move(from);
2641   }
2642 
2643   inline Overlayable& operator=(const Overlayable& from) {
2644     if (this == &from) return *this;
2645     CopyFrom(from);
2646     return *this;
2647   }
2648   inline Overlayable& operator=(Overlayable&& from) noexcept {
2649     if (this == &from) return *this;
2650     if (GetOwningArena() == from.GetOwningArena()
2651   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2652         && GetOwningArena() != nullptr
2653   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
2654     ) {
2655       InternalSwap(&from);
2656     } else {
2657       CopyFrom(from);
2658     }
2659     return *this;
2660   }
2661 
descriptor()2662   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2663     return GetDescriptor();
2664   }
GetDescriptor()2665   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2666     return default_instance().GetMetadata().descriptor;
2667   }
GetReflection()2668   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2669     return default_instance().GetMetadata().reflection;
2670   }
default_instance()2671   static const Overlayable& default_instance() {
2672     return *internal_default_instance();
2673   }
internal_default_instance()2674   static inline const Overlayable* internal_default_instance() {
2675     return reinterpret_cast<const Overlayable*>(
2676                &_Overlayable_default_instance_);
2677   }
2678   static constexpr int kIndexInFileMessages =
2679     12;
2680 
swap(Overlayable & a,Overlayable & b)2681   friend void swap(Overlayable& a, Overlayable& b) {
2682     a.Swap(&b);
2683   }
Swap(Overlayable * other)2684   inline void Swap(Overlayable* other) {
2685     if (other == this) return;
2686   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2687     if (GetOwningArena() != nullptr &&
2688         GetOwningArena() == other->GetOwningArena()) {
2689    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
2690     if (GetOwningArena() == other->GetOwningArena()) {
2691   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
2692       InternalSwap(other);
2693     } else {
2694       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2695     }
2696   }
2697   void UnsafeArenaSwap(Overlayable* other) {
2698     if (other == this) return;
2699     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2700     InternalSwap(other);
2701   }
2702 
2703   // implements Message ----------------------------------------------
2704 
2705   Overlayable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2706     return CreateMaybeMessage<Overlayable>(arena);
2707   }
2708   Overlayable* New() const {
2709     return New(nullptr);
2710   }
2711   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2712   void CopyFrom(const Overlayable& from);
2713   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2714   void MergeFrom( const Overlayable& from) {
2715     Overlayable::MergeImpl(*this, from);
2716   }
2717   private:
2718   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2719   public:
2720   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2721   bool IsInitialized() const final;
2722 
2723   size_t ByteSizeLong() const final;
2724   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2725   ::uint8_t* _InternalSerialize(
2726       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2727   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2728 
2729   private:
2730   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2731   void SharedDtor();
2732   void SetCachedSize(int size) const final;
2733   void InternalSwap(Overlayable* other);
2734 
2735   private:
2736   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2737   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2738     return "aapt.pb.Overlayable";
2739   }
2740   protected:
2741   explicit Overlayable(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2742                        bool is_message_owned = false);
2743   public:
2744 
2745   static const ClassData _class_data_;
2746   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2747 
2748   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2749 
2750   // nested types ----------------------------------------------------
2751 
2752   // accessors -------------------------------------------------------
2753 
2754   enum : int {
2755     kNameFieldNumber = 1,
2756     kActorFieldNumber = 3,
2757     kSourceFieldNumber = 2,
2758   };
2759   // string name = 1;
2760   void clear_name();
2761   const std::string& name() const;
2762   template <typename ArgT0 = const std::string&, typename... ArgT>
2763   void set_name(ArgT0&& arg0, ArgT... args);
2764   std::string* mutable_name();
2765   PROTOBUF_NODISCARD std::string* release_name();
2766   void set_allocated_name(std::string* name);
2767   private:
2768   const std::string& _internal_name() const;
2769   inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
2770   std::string* _internal_mutable_name();
2771   public:
2772 
2773   // string actor = 3;
2774   void clear_actor();
2775   const std::string& actor() const;
2776   template <typename ArgT0 = const std::string&, typename... ArgT>
2777   void set_actor(ArgT0&& arg0, ArgT... args);
2778   std::string* mutable_actor();
2779   PROTOBUF_NODISCARD std::string* release_actor();
2780   void set_allocated_actor(std::string* actor);
2781   private:
2782   const std::string& _internal_actor() const;
2783   inline PROTOBUF_ALWAYS_INLINE void _internal_set_actor(const std::string& value);
2784   std::string* _internal_mutable_actor();
2785   public:
2786 
2787   // .aapt.pb.Source source = 2;
2788   bool has_source() const;
2789   private:
2790   bool _internal_has_source() const;
2791   public:
2792   void clear_source();
2793   const ::aapt::pb::Source& source() const;
2794   PROTOBUF_NODISCARD ::aapt::pb::Source* release_source();
2795   ::aapt::pb::Source* mutable_source();
2796   void set_allocated_source(::aapt::pb::Source* source);
2797   private:
2798   const ::aapt::pb::Source& _internal_source() const;
2799   ::aapt::pb::Source* _internal_mutable_source();
2800   public:
2801   void unsafe_arena_set_allocated_source(
2802       ::aapt::pb::Source* source);
2803   ::aapt::pb::Source* unsafe_arena_release_source();
2804 
2805   // @@protoc_insertion_point(class_scope:aapt.pb.Overlayable)
2806  private:
2807   class _Internal;
2808 
2809   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2810   typedef void InternalArenaConstructable_;
2811   typedef void DestructorSkippable_;
2812   struct Impl_ {
2813     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
2814     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr actor_;
2815     ::aapt::pb::Source* source_;
2816     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2817   };
2818   union { Impl_ _impl_; };
2819   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
2820 };
2821 // -------------------------------------------------------------------
2822 
2823 class OverlayableItem final :
2824     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.OverlayableItem) */ {
2825  public:
OverlayableItem()2826   inline OverlayableItem() : OverlayableItem(nullptr) {}
2827   ~OverlayableItem() override;
2828   explicit PROTOBUF_CONSTEXPR OverlayableItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2829 
2830   OverlayableItem(const OverlayableItem& from);
OverlayableItem(OverlayableItem && from)2831   OverlayableItem(OverlayableItem&& from) noexcept
2832     : OverlayableItem() {
2833     *this = ::std::move(from);
2834   }
2835 
2836   inline OverlayableItem& operator=(const OverlayableItem& from) {
2837     if (this == &from) return *this;
2838     CopyFrom(from);
2839     return *this;
2840   }
2841   inline OverlayableItem& operator=(OverlayableItem&& from) noexcept {
2842     if (this == &from) return *this;
2843     if (GetOwningArena() == from.GetOwningArena()
2844   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2845         && GetOwningArena() != nullptr
2846   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
2847     ) {
2848       InternalSwap(&from);
2849     } else {
2850       CopyFrom(from);
2851     }
2852     return *this;
2853   }
2854 
descriptor()2855   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2856     return GetDescriptor();
2857   }
GetDescriptor()2858   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2859     return default_instance().GetMetadata().descriptor;
2860   }
GetReflection()2861   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2862     return default_instance().GetMetadata().reflection;
2863   }
default_instance()2864   static const OverlayableItem& default_instance() {
2865     return *internal_default_instance();
2866   }
internal_default_instance()2867   static inline const OverlayableItem* internal_default_instance() {
2868     return reinterpret_cast<const OverlayableItem*>(
2869                &_OverlayableItem_default_instance_);
2870   }
2871   static constexpr int kIndexInFileMessages =
2872     13;
2873 
swap(OverlayableItem & a,OverlayableItem & b)2874   friend void swap(OverlayableItem& a, OverlayableItem& b) {
2875     a.Swap(&b);
2876   }
Swap(OverlayableItem * other)2877   inline void Swap(OverlayableItem* other) {
2878     if (other == this) return;
2879   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2880     if (GetOwningArena() != nullptr &&
2881         GetOwningArena() == other->GetOwningArena()) {
2882    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
2883     if (GetOwningArena() == other->GetOwningArena()) {
2884   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
2885       InternalSwap(other);
2886     } else {
2887       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2888     }
2889   }
2890   void UnsafeArenaSwap(OverlayableItem* other) {
2891     if (other == this) return;
2892     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2893     InternalSwap(other);
2894   }
2895 
2896   // implements Message ----------------------------------------------
2897 
2898   OverlayableItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2899     return CreateMaybeMessage<OverlayableItem>(arena);
2900   }
2901   OverlayableItem* New() const {
2902     return New(nullptr);
2903   }
2904   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2905   void CopyFrom(const OverlayableItem& from);
2906   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2907   void MergeFrom( const OverlayableItem& from) {
2908     OverlayableItem::MergeImpl(*this, from);
2909   }
2910   private:
2911   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2912   public:
2913   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2914   bool IsInitialized() const final;
2915 
2916   size_t ByteSizeLong() const final;
2917   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2918   ::uint8_t* _InternalSerialize(
2919       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2920   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2921 
2922   private:
2923   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2924   void SharedDtor();
2925   void SetCachedSize(int size) const final;
2926   void InternalSwap(OverlayableItem* other);
2927 
2928   private:
2929   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2930   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2931     return "aapt.pb.OverlayableItem";
2932   }
2933   protected:
2934   explicit OverlayableItem(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2935                        bool is_message_owned = false);
2936   public:
2937 
2938   static const ClassData _class_data_;
2939   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2940 
2941   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2942 
2943   // nested types ----------------------------------------------------
2944 
2945   typedef OverlayableItem_Policy Policy;
2946   static constexpr Policy NONE =
2947     OverlayableItem_Policy_NONE;
2948   static constexpr Policy PUBLIC =
2949     OverlayableItem_Policy_PUBLIC;
2950   static constexpr Policy SYSTEM =
2951     OverlayableItem_Policy_SYSTEM;
2952   static constexpr Policy VENDOR =
2953     OverlayableItem_Policy_VENDOR;
2954   static constexpr Policy PRODUCT =
2955     OverlayableItem_Policy_PRODUCT;
2956   static constexpr Policy SIGNATURE =
2957     OverlayableItem_Policy_SIGNATURE;
2958   static constexpr Policy ODM =
2959     OverlayableItem_Policy_ODM;
2960   static constexpr Policy OEM =
2961     OverlayableItem_Policy_OEM;
2962   static constexpr Policy ACTOR =
2963     OverlayableItem_Policy_ACTOR;
2964   static constexpr Policy CONFIG_SIGNATURE =
2965     OverlayableItem_Policy_CONFIG_SIGNATURE;
2966   static inline bool Policy_IsValid(int value) {
2967     return OverlayableItem_Policy_IsValid(value);
2968   }
2969   static constexpr Policy Policy_MIN =
2970     OverlayableItem_Policy_Policy_MIN;
2971   static constexpr Policy Policy_MAX =
2972     OverlayableItem_Policy_Policy_MAX;
2973   static constexpr int Policy_ARRAYSIZE =
2974     OverlayableItem_Policy_Policy_ARRAYSIZE;
2975   static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
2976   Policy_descriptor() {
2977     return OverlayableItem_Policy_descriptor();
2978   }
2979   template<typename T>
2980   static inline const std::string& Policy_Name(T enum_t_value) {
2981     static_assert(::std::is_same<T, Policy>::value ||
2982       ::std::is_integral<T>::value,
2983       "Incorrect type passed to function Policy_Name.");
2984     return OverlayableItem_Policy_Name(enum_t_value);
2985   }
2986   static inline bool Policy_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
2987       Policy* value) {
2988     return OverlayableItem_Policy_Parse(name, value);
2989   }
2990 
2991   // accessors -------------------------------------------------------
2992 
2993   enum : int {
2994     kPolicyFieldNumber = 3,
2995     kCommentFieldNumber = 2,
2996     kSourceFieldNumber = 1,
2997     kOverlayableIdxFieldNumber = 4,
2998   };
2999   // repeated .aapt.pb.OverlayableItem.Policy policy = 3;
3000   int policy_size() const;
3001   private:
3002   int _internal_policy_size() const;
3003   public:
3004   void clear_policy();
3005   private:
3006   ::aapt::pb::OverlayableItem_Policy _internal_policy(int index) const;
3007   void _internal_add_policy(::aapt::pb::OverlayableItem_Policy value);
3008   ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_policy();
3009   public:
3010   ::aapt::pb::OverlayableItem_Policy policy(int index) const;
3011   void set_policy(int index, ::aapt::pb::OverlayableItem_Policy value);
3012   void add_policy(::aapt::pb::OverlayableItem_Policy value);
3013   const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& policy() const;
3014   ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_policy();
3015 
3016   // string comment = 2;
3017   void clear_comment();
3018   const std::string& comment() const;
3019   template <typename ArgT0 = const std::string&, typename... ArgT>
3020   void set_comment(ArgT0&& arg0, ArgT... args);
3021   std::string* mutable_comment();
3022   PROTOBUF_NODISCARD std::string* release_comment();
3023   void set_allocated_comment(std::string* comment);
3024   private:
3025   const std::string& _internal_comment() const;
3026   inline PROTOBUF_ALWAYS_INLINE void _internal_set_comment(const std::string& value);
3027   std::string* _internal_mutable_comment();
3028   public:
3029 
3030   // .aapt.pb.Source source = 1;
3031   bool has_source() const;
3032   private:
3033   bool _internal_has_source() const;
3034   public:
3035   void clear_source();
3036   const ::aapt::pb::Source& source() const;
3037   PROTOBUF_NODISCARD ::aapt::pb::Source* release_source();
3038   ::aapt::pb::Source* mutable_source();
3039   void set_allocated_source(::aapt::pb::Source* source);
3040   private:
3041   const ::aapt::pb::Source& _internal_source() const;
3042   ::aapt::pb::Source* _internal_mutable_source();
3043   public:
3044   void unsafe_arena_set_allocated_source(
3045       ::aapt::pb::Source* source);
3046   ::aapt::pb::Source* unsafe_arena_release_source();
3047 
3048   // uint32 overlayable_idx = 4;
3049   void clear_overlayable_idx();
3050   ::uint32_t overlayable_idx() const;
3051   void set_overlayable_idx(::uint32_t value);
3052   private:
3053   ::uint32_t _internal_overlayable_idx() const;
3054   void _internal_set_overlayable_idx(::uint32_t value);
3055   public:
3056 
3057   // @@protoc_insertion_point(class_scope:aapt.pb.OverlayableItem)
3058  private:
3059   class _Internal;
3060 
3061   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3062   typedef void InternalArenaConstructable_;
3063   typedef void DestructorSkippable_;
3064   struct Impl_ {
3065     ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> policy_;
3066     mutable std::atomic<int> _policy_cached_byte_size_;
3067     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
3068     ::aapt::pb::Source* source_;
3069     ::uint32_t overlayable_idx_;
3070     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3071   };
3072   union { Impl_ _impl_; };
3073   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
3074 };
3075 // -------------------------------------------------------------------
3076 
3077 class StagedId final :
3078     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.StagedId) */ {
3079  public:
StagedId()3080   inline StagedId() : StagedId(nullptr) {}
3081   ~StagedId() override;
3082   explicit PROTOBUF_CONSTEXPR StagedId(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3083 
3084   StagedId(const StagedId& from);
StagedId(StagedId && from)3085   StagedId(StagedId&& from) noexcept
3086     : StagedId() {
3087     *this = ::std::move(from);
3088   }
3089 
3090   inline StagedId& operator=(const StagedId& from) {
3091     if (this == &from) return *this;
3092     CopyFrom(from);
3093     return *this;
3094   }
3095   inline StagedId& operator=(StagedId&& from) noexcept {
3096     if (this == &from) return *this;
3097     if (GetOwningArena() == from.GetOwningArena()
3098   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3099         && GetOwningArena() != nullptr
3100   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
3101     ) {
3102       InternalSwap(&from);
3103     } else {
3104       CopyFrom(from);
3105     }
3106     return *this;
3107   }
3108 
descriptor()3109   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3110     return GetDescriptor();
3111   }
GetDescriptor()3112   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3113     return default_instance().GetMetadata().descriptor;
3114   }
GetReflection()3115   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3116     return default_instance().GetMetadata().reflection;
3117   }
default_instance()3118   static const StagedId& default_instance() {
3119     return *internal_default_instance();
3120   }
internal_default_instance()3121   static inline const StagedId* internal_default_instance() {
3122     return reinterpret_cast<const StagedId*>(
3123                &_StagedId_default_instance_);
3124   }
3125   static constexpr int kIndexInFileMessages =
3126     14;
3127 
swap(StagedId & a,StagedId & b)3128   friend void swap(StagedId& a, StagedId& b) {
3129     a.Swap(&b);
3130   }
Swap(StagedId * other)3131   inline void Swap(StagedId* other) {
3132     if (other == this) return;
3133   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3134     if (GetOwningArena() != nullptr &&
3135         GetOwningArena() == other->GetOwningArena()) {
3136    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
3137     if (GetOwningArena() == other->GetOwningArena()) {
3138   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
3139       InternalSwap(other);
3140     } else {
3141       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3142     }
3143   }
3144   void UnsafeArenaSwap(StagedId* other) {
3145     if (other == this) return;
3146     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3147     InternalSwap(other);
3148   }
3149 
3150   // implements Message ----------------------------------------------
3151 
3152   StagedId* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3153     return CreateMaybeMessage<StagedId>(arena);
3154   }
3155   StagedId* New() const {
3156     return New(nullptr);
3157   }
3158   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3159   void CopyFrom(const StagedId& from);
3160   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3161   void MergeFrom( const StagedId& from) {
3162     StagedId::MergeImpl(*this, from);
3163   }
3164   private:
3165   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3166   public:
3167   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3168   bool IsInitialized() const final;
3169 
3170   size_t ByteSizeLong() const final;
3171   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3172   ::uint8_t* _InternalSerialize(
3173       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3174   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3175 
3176   private:
3177   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3178   void SharedDtor();
3179   void SetCachedSize(int size) const final;
3180   void InternalSwap(StagedId* other);
3181 
3182   private:
3183   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3184   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3185     return "aapt.pb.StagedId";
3186   }
3187   protected:
3188   explicit StagedId(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3189                        bool is_message_owned = false);
3190   public:
3191 
3192   static const ClassData _class_data_;
3193   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3194 
3195   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3196 
3197   // nested types ----------------------------------------------------
3198 
3199   // accessors -------------------------------------------------------
3200 
3201   enum : int {
3202     kSourceFieldNumber = 1,
3203     kStagedIdFieldNumber = 2,
3204   };
3205   // .aapt.pb.Source source = 1;
3206   bool has_source() const;
3207   private:
3208   bool _internal_has_source() const;
3209   public:
3210   void clear_source();
3211   const ::aapt::pb::Source& source() const;
3212   PROTOBUF_NODISCARD ::aapt::pb::Source* release_source();
3213   ::aapt::pb::Source* mutable_source();
3214   void set_allocated_source(::aapt::pb::Source* source);
3215   private:
3216   const ::aapt::pb::Source& _internal_source() const;
3217   ::aapt::pb::Source* _internal_mutable_source();
3218   public:
3219   void unsafe_arena_set_allocated_source(
3220       ::aapt::pb::Source* source);
3221   ::aapt::pb::Source* unsafe_arena_release_source();
3222 
3223   // uint32 staged_id = 2;
3224   void clear_staged_id();
3225   ::uint32_t staged_id() const;
3226   void set_staged_id(::uint32_t value);
3227   private:
3228   ::uint32_t _internal_staged_id() const;
3229   void _internal_set_staged_id(::uint32_t value);
3230   public:
3231 
3232   // @@protoc_insertion_point(class_scope:aapt.pb.StagedId)
3233  private:
3234   class _Internal;
3235 
3236   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3237   typedef void InternalArenaConstructable_;
3238   typedef void DestructorSkippable_;
3239   struct Impl_ {
3240     ::aapt::pb::Source* source_;
3241     ::uint32_t staged_id_;
3242     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3243   };
3244   union { Impl_ _impl_; };
3245   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
3246 };
3247 // -------------------------------------------------------------------
3248 
3249 class EntryId final :
3250     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.EntryId) */ {
3251  public:
EntryId()3252   inline EntryId() : EntryId(nullptr) {}
3253   ~EntryId() override;
3254   explicit PROTOBUF_CONSTEXPR EntryId(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3255 
3256   EntryId(const EntryId& from);
EntryId(EntryId && from)3257   EntryId(EntryId&& from) noexcept
3258     : EntryId() {
3259     *this = ::std::move(from);
3260   }
3261 
3262   inline EntryId& operator=(const EntryId& from) {
3263     if (this == &from) return *this;
3264     CopyFrom(from);
3265     return *this;
3266   }
3267   inline EntryId& operator=(EntryId&& from) noexcept {
3268     if (this == &from) return *this;
3269     if (GetOwningArena() == from.GetOwningArena()
3270   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3271         && GetOwningArena() != nullptr
3272   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
3273     ) {
3274       InternalSwap(&from);
3275     } else {
3276       CopyFrom(from);
3277     }
3278     return *this;
3279   }
3280 
descriptor()3281   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3282     return GetDescriptor();
3283   }
GetDescriptor()3284   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3285     return default_instance().GetMetadata().descriptor;
3286   }
GetReflection()3287   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3288     return default_instance().GetMetadata().reflection;
3289   }
default_instance()3290   static const EntryId& default_instance() {
3291     return *internal_default_instance();
3292   }
internal_default_instance()3293   static inline const EntryId* internal_default_instance() {
3294     return reinterpret_cast<const EntryId*>(
3295                &_EntryId_default_instance_);
3296   }
3297   static constexpr int kIndexInFileMessages =
3298     15;
3299 
swap(EntryId & a,EntryId & b)3300   friend void swap(EntryId& a, EntryId& b) {
3301     a.Swap(&b);
3302   }
Swap(EntryId * other)3303   inline void Swap(EntryId* other) {
3304     if (other == this) return;
3305   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3306     if (GetOwningArena() != nullptr &&
3307         GetOwningArena() == other->GetOwningArena()) {
3308    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
3309     if (GetOwningArena() == other->GetOwningArena()) {
3310   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
3311       InternalSwap(other);
3312     } else {
3313       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3314     }
3315   }
3316   void UnsafeArenaSwap(EntryId* other) {
3317     if (other == this) return;
3318     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3319     InternalSwap(other);
3320   }
3321 
3322   // implements Message ----------------------------------------------
3323 
3324   EntryId* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3325     return CreateMaybeMessage<EntryId>(arena);
3326   }
3327   EntryId* New() const {
3328     return New(nullptr);
3329   }
3330   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3331   void CopyFrom(const EntryId& from);
3332   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3333   void MergeFrom( const EntryId& from) {
3334     EntryId::MergeImpl(*this, from);
3335   }
3336   private:
3337   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3338   public:
3339   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3340   bool IsInitialized() const final;
3341 
3342   size_t ByteSizeLong() const final;
3343   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3344   ::uint8_t* _InternalSerialize(
3345       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3346   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3347 
3348   private:
3349   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3350   void SharedDtor();
3351   void SetCachedSize(int size) const final;
3352   void InternalSwap(EntryId* other);
3353 
3354   private:
3355   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3356   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3357     return "aapt.pb.EntryId";
3358   }
3359   protected:
3360   explicit EntryId(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3361                        bool is_message_owned = false);
3362   public:
3363 
3364   static const ClassData _class_data_;
3365   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3366 
3367   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3368 
3369   // nested types ----------------------------------------------------
3370 
3371   // accessors -------------------------------------------------------
3372 
3373   enum : int {
3374     kIdFieldNumber = 1,
3375   };
3376   // uint32 id = 1;
3377   void clear_id();
3378   ::uint32_t id() const;
3379   void set_id(::uint32_t value);
3380   private:
3381   ::uint32_t _internal_id() const;
3382   void _internal_set_id(::uint32_t value);
3383   public:
3384 
3385   // @@protoc_insertion_point(class_scope:aapt.pb.EntryId)
3386  private:
3387   class _Internal;
3388 
3389   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3390   typedef void InternalArenaConstructable_;
3391   typedef void DestructorSkippable_;
3392   struct Impl_ {
3393     ::uint32_t id_;
3394     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3395   };
3396   union { Impl_ _impl_; };
3397   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
3398 };
3399 // -------------------------------------------------------------------
3400 
3401 class Entry final :
3402     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Entry) */ {
3403  public:
Entry()3404   inline Entry() : Entry(nullptr) {}
3405   ~Entry() override;
3406   explicit PROTOBUF_CONSTEXPR Entry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3407 
3408   Entry(const Entry& from);
Entry(Entry && from)3409   Entry(Entry&& from) noexcept
3410     : Entry() {
3411     *this = ::std::move(from);
3412   }
3413 
3414   inline Entry& operator=(const Entry& from) {
3415     if (this == &from) return *this;
3416     CopyFrom(from);
3417     return *this;
3418   }
3419   inline Entry& operator=(Entry&& from) noexcept {
3420     if (this == &from) return *this;
3421     if (GetOwningArena() == from.GetOwningArena()
3422   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3423         && GetOwningArena() != nullptr
3424   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
3425     ) {
3426       InternalSwap(&from);
3427     } else {
3428       CopyFrom(from);
3429     }
3430     return *this;
3431   }
3432 
descriptor()3433   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3434     return GetDescriptor();
3435   }
GetDescriptor()3436   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3437     return default_instance().GetMetadata().descriptor;
3438   }
GetReflection()3439   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3440     return default_instance().GetMetadata().reflection;
3441   }
default_instance()3442   static const Entry& default_instance() {
3443     return *internal_default_instance();
3444   }
internal_default_instance()3445   static inline const Entry* internal_default_instance() {
3446     return reinterpret_cast<const Entry*>(
3447                &_Entry_default_instance_);
3448   }
3449   static constexpr int kIndexInFileMessages =
3450     16;
3451 
swap(Entry & a,Entry & b)3452   friend void swap(Entry& a, Entry& b) {
3453     a.Swap(&b);
3454   }
Swap(Entry * other)3455   inline void Swap(Entry* other) {
3456     if (other == this) return;
3457   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3458     if (GetOwningArena() != nullptr &&
3459         GetOwningArena() == other->GetOwningArena()) {
3460    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
3461     if (GetOwningArena() == other->GetOwningArena()) {
3462   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
3463       InternalSwap(other);
3464     } else {
3465       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3466     }
3467   }
3468   void UnsafeArenaSwap(Entry* other) {
3469     if (other == this) return;
3470     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3471     InternalSwap(other);
3472   }
3473 
3474   // implements Message ----------------------------------------------
3475 
3476   Entry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3477     return CreateMaybeMessage<Entry>(arena);
3478   }
3479   Entry* New() const {
3480     return New(nullptr);
3481   }
3482   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3483   void CopyFrom(const Entry& from);
3484   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3485   void MergeFrom( const Entry& from) {
3486     Entry::MergeImpl(*this, from);
3487   }
3488   private:
3489   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3490   public:
3491   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3492   bool IsInitialized() const final;
3493 
3494   size_t ByteSizeLong() const final;
3495   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3496   ::uint8_t* _InternalSerialize(
3497       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3498   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3499 
3500   private:
3501   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3502   void SharedDtor();
3503   void SetCachedSize(int size) const final;
3504   void InternalSwap(Entry* other);
3505 
3506   private:
3507   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3508   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3509     return "aapt.pb.Entry";
3510   }
3511   protected:
3512   explicit Entry(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3513                        bool is_message_owned = false);
3514   public:
3515 
3516   static const ClassData _class_data_;
3517   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3518 
3519   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3520 
3521   // nested types ----------------------------------------------------
3522 
3523   // accessors -------------------------------------------------------
3524 
3525   enum : int {
3526     kConfigValueFieldNumber = 6,
3527     kFlagDisabledConfigValueFieldNumber = 8,
3528     kNameFieldNumber = 2,
3529     kEntryIdFieldNumber = 1,
3530     kVisibilityFieldNumber = 3,
3531     kAllowNewFieldNumber = 4,
3532     kOverlayableItemFieldNumber = 5,
3533     kStagedIdFieldNumber = 7,
3534   };
3535   // repeated .aapt.pb.ConfigValue config_value = 6;
3536   int config_value_size() const;
3537   private:
3538   int _internal_config_value_size() const;
3539   public:
3540   void clear_config_value();
3541   ::aapt::pb::ConfigValue* mutable_config_value(int index);
3542   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ConfigValue >*
3543       mutable_config_value();
3544   private:
3545   const ::aapt::pb::ConfigValue& _internal_config_value(int index) const;
3546   ::aapt::pb::ConfigValue* _internal_add_config_value();
3547   public:
3548   const ::aapt::pb::ConfigValue& config_value(int index) const;
3549   ::aapt::pb::ConfigValue* add_config_value();
3550   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ConfigValue >&
3551       config_value() const;
3552 
3553   // repeated .aapt.pb.ConfigValue flag_disabled_config_value = 8;
3554   int flag_disabled_config_value_size() const;
3555   private:
3556   int _internal_flag_disabled_config_value_size() const;
3557   public:
3558   void clear_flag_disabled_config_value();
3559   ::aapt::pb::ConfigValue* mutable_flag_disabled_config_value(int index);
3560   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ConfigValue >*
3561       mutable_flag_disabled_config_value();
3562   private:
3563   const ::aapt::pb::ConfigValue& _internal_flag_disabled_config_value(int index) const;
3564   ::aapt::pb::ConfigValue* _internal_add_flag_disabled_config_value();
3565   public:
3566   const ::aapt::pb::ConfigValue& flag_disabled_config_value(int index) const;
3567   ::aapt::pb::ConfigValue* add_flag_disabled_config_value();
3568   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ConfigValue >&
3569       flag_disabled_config_value() const;
3570 
3571   // string name = 2;
3572   void clear_name();
3573   const std::string& name() const;
3574   template <typename ArgT0 = const std::string&, typename... ArgT>
3575   void set_name(ArgT0&& arg0, ArgT... args);
3576   std::string* mutable_name();
3577   PROTOBUF_NODISCARD std::string* release_name();
3578   void set_allocated_name(std::string* name);
3579   private:
3580   const std::string& _internal_name() const;
3581   inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
3582   std::string* _internal_mutable_name();
3583   public:
3584 
3585   // .aapt.pb.EntryId entry_id = 1;
3586   bool has_entry_id() const;
3587   private:
3588   bool _internal_has_entry_id() const;
3589   public:
3590   void clear_entry_id();
3591   const ::aapt::pb::EntryId& entry_id() const;
3592   PROTOBUF_NODISCARD ::aapt::pb::EntryId* release_entry_id();
3593   ::aapt::pb::EntryId* mutable_entry_id();
3594   void set_allocated_entry_id(::aapt::pb::EntryId* entry_id);
3595   private:
3596   const ::aapt::pb::EntryId& _internal_entry_id() const;
3597   ::aapt::pb::EntryId* _internal_mutable_entry_id();
3598   public:
3599   void unsafe_arena_set_allocated_entry_id(
3600       ::aapt::pb::EntryId* entry_id);
3601   ::aapt::pb::EntryId* unsafe_arena_release_entry_id();
3602 
3603   // .aapt.pb.Visibility visibility = 3;
3604   bool has_visibility() const;
3605   private:
3606   bool _internal_has_visibility() const;
3607   public:
3608   void clear_visibility();
3609   const ::aapt::pb::Visibility& visibility() const;
3610   PROTOBUF_NODISCARD ::aapt::pb::Visibility* release_visibility();
3611   ::aapt::pb::Visibility* mutable_visibility();
3612   void set_allocated_visibility(::aapt::pb::Visibility* visibility);
3613   private:
3614   const ::aapt::pb::Visibility& _internal_visibility() const;
3615   ::aapt::pb::Visibility* _internal_mutable_visibility();
3616   public:
3617   void unsafe_arena_set_allocated_visibility(
3618       ::aapt::pb::Visibility* visibility);
3619   ::aapt::pb::Visibility* unsafe_arena_release_visibility();
3620 
3621   // .aapt.pb.AllowNew allow_new = 4;
3622   bool has_allow_new() const;
3623   private:
3624   bool _internal_has_allow_new() const;
3625   public:
3626   void clear_allow_new();
3627   const ::aapt::pb::AllowNew& allow_new() const;
3628   PROTOBUF_NODISCARD ::aapt::pb::AllowNew* release_allow_new();
3629   ::aapt::pb::AllowNew* mutable_allow_new();
3630   void set_allocated_allow_new(::aapt::pb::AllowNew* allow_new);
3631   private:
3632   const ::aapt::pb::AllowNew& _internal_allow_new() const;
3633   ::aapt::pb::AllowNew* _internal_mutable_allow_new();
3634   public:
3635   void unsafe_arena_set_allocated_allow_new(
3636       ::aapt::pb::AllowNew* allow_new);
3637   ::aapt::pb::AllowNew* unsafe_arena_release_allow_new();
3638 
3639   // .aapt.pb.OverlayableItem overlayable_item = 5;
3640   bool has_overlayable_item() const;
3641   private:
3642   bool _internal_has_overlayable_item() const;
3643   public:
3644   void clear_overlayable_item();
3645   const ::aapt::pb::OverlayableItem& overlayable_item() const;
3646   PROTOBUF_NODISCARD ::aapt::pb::OverlayableItem* release_overlayable_item();
3647   ::aapt::pb::OverlayableItem* mutable_overlayable_item();
3648   void set_allocated_overlayable_item(::aapt::pb::OverlayableItem* overlayable_item);
3649   private:
3650   const ::aapt::pb::OverlayableItem& _internal_overlayable_item() const;
3651   ::aapt::pb::OverlayableItem* _internal_mutable_overlayable_item();
3652   public:
3653   void unsafe_arena_set_allocated_overlayable_item(
3654       ::aapt::pb::OverlayableItem* overlayable_item);
3655   ::aapt::pb::OverlayableItem* unsafe_arena_release_overlayable_item();
3656 
3657   // .aapt.pb.StagedId staged_id = 7;
3658   bool has_staged_id() const;
3659   private:
3660   bool _internal_has_staged_id() const;
3661   public:
3662   void clear_staged_id();
3663   const ::aapt::pb::StagedId& staged_id() const;
3664   PROTOBUF_NODISCARD ::aapt::pb::StagedId* release_staged_id();
3665   ::aapt::pb::StagedId* mutable_staged_id();
3666   void set_allocated_staged_id(::aapt::pb::StagedId* staged_id);
3667   private:
3668   const ::aapt::pb::StagedId& _internal_staged_id() const;
3669   ::aapt::pb::StagedId* _internal_mutable_staged_id();
3670   public:
3671   void unsafe_arena_set_allocated_staged_id(
3672       ::aapt::pb::StagedId* staged_id);
3673   ::aapt::pb::StagedId* unsafe_arena_release_staged_id();
3674 
3675   // @@protoc_insertion_point(class_scope:aapt.pb.Entry)
3676  private:
3677   class _Internal;
3678 
3679   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3680   typedef void InternalArenaConstructable_;
3681   typedef void DestructorSkippable_;
3682   struct Impl_ {
3683     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ConfigValue > config_value_;
3684     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ConfigValue > flag_disabled_config_value_;
3685     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
3686     ::aapt::pb::EntryId* entry_id_;
3687     ::aapt::pb::Visibility* visibility_;
3688     ::aapt::pb::AllowNew* allow_new_;
3689     ::aapt::pb::OverlayableItem* overlayable_item_;
3690     ::aapt::pb::StagedId* staged_id_;
3691     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3692   };
3693   union { Impl_ _impl_; };
3694   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
3695 };
3696 // -------------------------------------------------------------------
3697 
3698 class ConfigValue final :
3699     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.ConfigValue) */ {
3700  public:
ConfigValue()3701   inline ConfigValue() : ConfigValue(nullptr) {}
3702   ~ConfigValue() override;
3703   explicit PROTOBUF_CONSTEXPR ConfigValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3704 
3705   ConfigValue(const ConfigValue& from);
ConfigValue(ConfigValue && from)3706   ConfigValue(ConfigValue&& from) noexcept
3707     : ConfigValue() {
3708     *this = ::std::move(from);
3709   }
3710 
3711   inline ConfigValue& operator=(const ConfigValue& from) {
3712     if (this == &from) return *this;
3713     CopyFrom(from);
3714     return *this;
3715   }
3716   inline ConfigValue& operator=(ConfigValue&& from) noexcept {
3717     if (this == &from) return *this;
3718     if (GetOwningArena() == from.GetOwningArena()
3719   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3720         && GetOwningArena() != nullptr
3721   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
3722     ) {
3723       InternalSwap(&from);
3724     } else {
3725       CopyFrom(from);
3726     }
3727     return *this;
3728   }
3729 
descriptor()3730   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3731     return GetDescriptor();
3732   }
GetDescriptor()3733   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3734     return default_instance().GetMetadata().descriptor;
3735   }
GetReflection()3736   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3737     return default_instance().GetMetadata().reflection;
3738   }
default_instance()3739   static const ConfigValue& default_instance() {
3740     return *internal_default_instance();
3741   }
internal_default_instance()3742   static inline const ConfigValue* internal_default_instance() {
3743     return reinterpret_cast<const ConfigValue*>(
3744                &_ConfigValue_default_instance_);
3745   }
3746   static constexpr int kIndexInFileMessages =
3747     17;
3748 
swap(ConfigValue & a,ConfigValue & b)3749   friend void swap(ConfigValue& a, ConfigValue& b) {
3750     a.Swap(&b);
3751   }
Swap(ConfigValue * other)3752   inline void Swap(ConfigValue* other) {
3753     if (other == this) return;
3754   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3755     if (GetOwningArena() != nullptr &&
3756         GetOwningArena() == other->GetOwningArena()) {
3757    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
3758     if (GetOwningArena() == other->GetOwningArena()) {
3759   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
3760       InternalSwap(other);
3761     } else {
3762       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3763     }
3764   }
3765   void UnsafeArenaSwap(ConfigValue* other) {
3766     if (other == this) return;
3767     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3768     InternalSwap(other);
3769   }
3770 
3771   // implements Message ----------------------------------------------
3772 
3773   ConfigValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3774     return CreateMaybeMessage<ConfigValue>(arena);
3775   }
3776   ConfigValue* New() const {
3777     return New(nullptr);
3778   }
3779   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3780   void CopyFrom(const ConfigValue& from);
3781   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3782   void MergeFrom( const ConfigValue& from) {
3783     ConfigValue::MergeImpl(*this, from);
3784   }
3785   private:
3786   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3787   public:
3788   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3789   bool IsInitialized() const final;
3790 
3791   size_t ByteSizeLong() const final;
3792   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3793   ::uint8_t* _InternalSerialize(
3794       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3795   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3796 
3797   private:
3798   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3799   void SharedDtor();
3800   void SetCachedSize(int size) const final;
3801   void InternalSwap(ConfigValue* other);
3802 
3803   private:
3804   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3805   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3806     return "aapt.pb.ConfigValue";
3807   }
3808   protected:
3809   explicit ConfigValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3810                        bool is_message_owned = false);
3811   public:
3812 
3813   static const ClassData _class_data_;
3814   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3815 
3816   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3817 
3818   // nested types ----------------------------------------------------
3819 
3820   // accessors -------------------------------------------------------
3821 
3822   enum : int {
3823     kConfigFieldNumber = 1,
3824     kValueFieldNumber = 2,
3825   };
3826   // .aapt.pb.Configuration config = 1;
3827   bool has_config() const;
3828   private:
3829   bool _internal_has_config() const;
3830   public:
3831   void clear_config();
3832   const ::aapt::pb::Configuration& config() const;
3833   PROTOBUF_NODISCARD ::aapt::pb::Configuration* release_config();
3834   ::aapt::pb::Configuration* mutable_config();
3835   void set_allocated_config(::aapt::pb::Configuration* config);
3836   private:
3837   const ::aapt::pb::Configuration& _internal_config() const;
3838   ::aapt::pb::Configuration* _internal_mutable_config();
3839   public:
3840   void unsafe_arena_set_allocated_config(
3841       ::aapt::pb::Configuration* config);
3842   ::aapt::pb::Configuration* unsafe_arena_release_config();
3843 
3844   // .aapt.pb.Value value = 2;
3845   bool has_value() const;
3846   private:
3847   bool _internal_has_value() const;
3848   public:
3849   void clear_value();
3850   const ::aapt::pb::Value& value() const;
3851   PROTOBUF_NODISCARD ::aapt::pb::Value* release_value();
3852   ::aapt::pb::Value* mutable_value();
3853   void set_allocated_value(::aapt::pb::Value* value);
3854   private:
3855   const ::aapt::pb::Value& _internal_value() const;
3856   ::aapt::pb::Value* _internal_mutable_value();
3857   public:
3858   void unsafe_arena_set_allocated_value(
3859       ::aapt::pb::Value* value);
3860   ::aapt::pb::Value* unsafe_arena_release_value();
3861 
3862   // @@protoc_insertion_point(class_scope:aapt.pb.ConfigValue)
3863  private:
3864   class _Internal;
3865 
3866   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3867   typedef void InternalArenaConstructable_;
3868   typedef void DestructorSkippable_;
3869   struct Impl_ {
3870     ::aapt::pb::Configuration* config_;
3871     ::aapt::pb::Value* value_;
3872     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3873   };
3874   union { Impl_ _impl_; };
3875   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
3876 };
3877 // -------------------------------------------------------------------
3878 
3879 class Value final :
3880     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Value) */ {
3881  public:
Value()3882   inline Value() : Value(nullptr) {}
3883   ~Value() override;
3884   explicit PROTOBUF_CONSTEXPR Value(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3885 
3886   Value(const Value& from);
Value(Value && from)3887   Value(Value&& from) noexcept
3888     : Value() {
3889     *this = ::std::move(from);
3890   }
3891 
3892   inline Value& operator=(const Value& from) {
3893     if (this == &from) return *this;
3894     CopyFrom(from);
3895     return *this;
3896   }
3897   inline Value& operator=(Value&& from) noexcept {
3898     if (this == &from) return *this;
3899     if (GetOwningArena() == from.GetOwningArena()
3900   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3901         && GetOwningArena() != nullptr
3902   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
3903     ) {
3904       InternalSwap(&from);
3905     } else {
3906       CopyFrom(from);
3907     }
3908     return *this;
3909   }
3910 
descriptor()3911   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3912     return GetDescriptor();
3913   }
GetDescriptor()3914   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3915     return default_instance().GetMetadata().descriptor;
3916   }
GetReflection()3917   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3918     return default_instance().GetMetadata().reflection;
3919   }
default_instance()3920   static const Value& default_instance() {
3921     return *internal_default_instance();
3922   }
3923   enum ValueCase {
3924     kItem = 4,
3925     kCompoundValue = 5,
3926     VALUE_NOT_SET = 0,
3927   };
3928 
internal_default_instance()3929   static inline const Value* internal_default_instance() {
3930     return reinterpret_cast<const Value*>(
3931                &_Value_default_instance_);
3932   }
3933   static constexpr int kIndexInFileMessages =
3934     18;
3935 
swap(Value & a,Value & b)3936   friend void swap(Value& a, Value& b) {
3937     a.Swap(&b);
3938   }
Swap(Value * other)3939   inline void Swap(Value* other) {
3940     if (other == this) return;
3941   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3942     if (GetOwningArena() != nullptr &&
3943         GetOwningArena() == other->GetOwningArena()) {
3944    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
3945     if (GetOwningArena() == other->GetOwningArena()) {
3946   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
3947       InternalSwap(other);
3948     } else {
3949       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3950     }
3951   }
3952   void UnsafeArenaSwap(Value* other) {
3953     if (other == this) return;
3954     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3955     InternalSwap(other);
3956   }
3957 
3958   // implements Message ----------------------------------------------
3959 
3960   Value* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3961     return CreateMaybeMessage<Value>(arena);
3962   }
3963   Value* New() const {
3964     return New(nullptr);
3965   }
3966   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3967   void CopyFrom(const Value& from);
3968   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3969   void MergeFrom( const Value& from) {
3970     Value::MergeImpl(*this, from);
3971   }
3972   private:
3973   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3974   public:
3975   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3976   bool IsInitialized() const final;
3977 
3978   size_t ByteSizeLong() const final;
3979   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3980   ::uint8_t* _InternalSerialize(
3981       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3982   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3983 
3984   private:
3985   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3986   void SharedDtor();
3987   void SetCachedSize(int size) const final;
3988   void InternalSwap(Value* other);
3989 
3990   private:
3991   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3992   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3993     return "aapt.pb.Value";
3994   }
3995   protected:
3996   explicit Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3997                        bool is_message_owned = false);
3998   public:
3999 
4000   static const ClassData _class_data_;
4001   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
4002 
4003   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4004 
4005   // nested types ----------------------------------------------------
4006 
4007   // accessors -------------------------------------------------------
4008 
4009   enum : int {
4010     kCommentFieldNumber = 2,
4011     kSourceFieldNumber = 1,
4012     kWeakFieldNumber = 3,
4013     kItemFieldNumber = 4,
4014     kCompoundValueFieldNumber = 5,
4015   };
4016   // string comment = 2;
4017   void clear_comment();
4018   const std::string& comment() const;
4019   template <typename ArgT0 = const std::string&, typename... ArgT>
4020   void set_comment(ArgT0&& arg0, ArgT... args);
4021   std::string* mutable_comment();
4022   PROTOBUF_NODISCARD std::string* release_comment();
4023   void set_allocated_comment(std::string* comment);
4024   private:
4025   const std::string& _internal_comment() const;
4026   inline PROTOBUF_ALWAYS_INLINE void _internal_set_comment(const std::string& value);
4027   std::string* _internal_mutable_comment();
4028   public:
4029 
4030   // .aapt.pb.Source source = 1;
4031   bool has_source() const;
4032   private:
4033   bool _internal_has_source() const;
4034   public:
4035   void clear_source();
4036   const ::aapt::pb::Source& source() const;
4037   PROTOBUF_NODISCARD ::aapt::pb::Source* release_source();
4038   ::aapt::pb::Source* mutable_source();
4039   void set_allocated_source(::aapt::pb::Source* source);
4040   private:
4041   const ::aapt::pb::Source& _internal_source() const;
4042   ::aapt::pb::Source* _internal_mutable_source();
4043   public:
4044   void unsafe_arena_set_allocated_source(
4045       ::aapt::pb::Source* source);
4046   ::aapt::pb::Source* unsafe_arena_release_source();
4047 
4048   // bool weak = 3;
4049   void clear_weak();
4050   bool weak() const;
4051   void set_weak(bool value);
4052   private:
4053   bool _internal_weak() const;
4054   void _internal_set_weak(bool value);
4055   public:
4056 
4057   // .aapt.pb.Item item = 4;
4058   bool has_item() const;
4059   private:
4060   bool _internal_has_item() const;
4061   public:
4062   void clear_item();
4063   const ::aapt::pb::Item& item() const;
4064   PROTOBUF_NODISCARD ::aapt::pb::Item* release_item();
4065   ::aapt::pb::Item* mutable_item();
4066   void set_allocated_item(::aapt::pb::Item* item);
4067   private:
4068   const ::aapt::pb::Item& _internal_item() const;
4069   ::aapt::pb::Item* _internal_mutable_item();
4070   public:
4071   void unsafe_arena_set_allocated_item(
4072       ::aapt::pb::Item* item);
4073   ::aapt::pb::Item* unsafe_arena_release_item();
4074 
4075   // .aapt.pb.CompoundValue compound_value = 5;
4076   bool has_compound_value() const;
4077   private:
4078   bool _internal_has_compound_value() const;
4079   public:
4080   void clear_compound_value();
4081   const ::aapt::pb::CompoundValue& compound_value() const;
4082   PROTOBUF_NODISCARD ::aapt::pb::CompoundValue* release_compound_value();
4083   ::aapt::pb::CompoundValue* mutable_compound_value();
4084   void set_allocated_compound_value(::aapt::pb::CompoundValue* compound_value);
4085   private:
4086   const ::aapt::pb::CompoundValue& _internal_compound_value() const;
4087   ::aapt::pb::CompoundValue* _internal_mutable_compound_value();
4088   public:
4089   void unsafe_arena_set_allocated_compound_value(
4090       ::aapt::pb::CompoundValue* compound_value);
4091   ::aapt::pb::CompoundValue* unsafe_arena_release_compound_value();
4092 
4093   void clear_value();
4094   ValueCase value_case() const;
4095   // @@protoc_insertion_point(class_scope:aapt.pb.Value)
4096  private:
4097   class _Internal;
4098   void set_has_item();
4099   void set_has_compound_value();
4100 
4101   inline bool has_value() const;
4102   inline void clear_has_value();
4103 
4104   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4105   typedef void InternalArenaConstructable_;
4106   typedef void DestructorSkippable_;
4107   struct Impl_ {
4108     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
4109     ::aapt::pb::Source* source_;
4110     bool weak_;
4111     union ValueUnion {
4112       constexpr ValueUnion() : _constinit_{} {}
4113         ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
4114       ::aapt::pb::Item* item_;
4115       ::aapt::pb::CompoundValue* compound_value_;
4116     } value_;
4117     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4118     ::uint32_t _oneof_case_[1];
4119 
4120   };
4121   union { Impl_ _impl_; };
4122   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
4123 };
4124 // -------------------------------------------------------------------
4125 
4126 class Item final :
4127     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Item) */ {
4128  public:
Item()4129   inline Item() : Item(nullptr) {}
4130   ~Item() override;
4131   explicit PROTOBUF_CONSTEXPR Item(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4132 
4133   Item(const Item& from);
Item(Item && from)4134   Item(Item&& from) noexcept
4135     : Item() {
4136     *this = ::std::move(from);
4137   }
4138 
4139   inline Item& operator=(const Item& from) {
4140     if (this == &from) return *this;
4141     CopyFrom(from);
4142     return *this;
4143   }
4144   inline Item& operator=(Item&& from) noexcept {
4145     if (this == &from) return *this;
4146     if (GetOwningArena() == from.GetOwningArena()
4147   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4148         && GetOwningArena() != nullptr
4149   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
4150     ) {
4151       InternalSwap(&from);
4152     } else {
4153       CopyFrom(from);
4154     }
4155     return *this;
4156   }
4157 
descriptor()4158   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4159     return GetDescriptor();
4160   }
GetDescriptor()4161   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4162     return default_instance().GetMetadata().descriptor;
4163   }
GetReflection()4164   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4165     return default_instance().GetMetadata().reflection;
4166   }
default_instance()4167   static const Item& default_instance() {
4168     return *internal_default_instance();
4169   }
4170   enum ValueCase {
4171     kRef = 1,
4172     kStr = 2,
4173     kRawStr = 3,
4174     kStyledStr = 4,
4175     kFile = 5,
4176     kId = 6,
4177     kPrim = 7,
4178     VALUE_NOT_SET = 0,
4179   };
4180 
internal_default_instance()4181   static inline const Item* internal_default_instance() {
4182     return reinterpret_cast<const Item*>(
4183                &_Item_default_instance_);
4184   }
4185   static constexpr int kIndexInFileMessages =
4186     19;
4187 
swap(Item & a,Item & b)4188   friend void swap(Item& a, Item& b) {
4189     a.Swap(&b);
4190   }
Swap(Item * other)4191   inline void Swap(Item* other) {
4192     if (other == this) return;
4193   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4194     if (GetOwningArena() != nullptr &&
4195         GetOwningArena() == other->GetOwningArena()) {
4196    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
4197     if (GetOwningArena() == other->GetOwningArena()) {
4198   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
4199       InternalSwap(other);
4200     } else {
4201       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4202     }
4203   }
4204   void UnsafeArenaSwap(Item* other) {
4205     if (other == this) return;
4206     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4207     InternalSwap(other);
4208   }
4209 
4210   // implements Message ----------------------------------------------
4211 
4212   Item* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4213     return CreateMaybeMessage<Item>(arena);
4214   }
4215   Item* New() const {
4216     return New(nullptr);
4217   }
4218   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
4219   void CopyFrom(const Item& from);
4220   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
4221   void MergeFrom( const Item& from) {
4222     Item::MergeImpl(*this, from);
4223   }
4224   private:
4225   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
4226   public:
4227   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4228   bool IsInitialized() const final;
4229 
4230   size_t ByteSizeLong() const final;
4231   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4232   ::uint8_t* _InternalSerialize(
4233       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4234   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4235 
4236   private:
4237   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4238   void SharedDtor();
4239   void SetCachedSize(int size) const final;
4240   void InternalSwap(Item* other);
4241 
4242   private:
4243   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4244   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4245     return "aapt.pb.Item";
4246   }
4247   protected:
4248   explicit Item(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4249                        bool is_message_owned = false);
4250   public:
4251 
4252   static const ClassData _class_data_;
4253   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
4254 
4255   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4256 
4257   // nested types ----------------------------------------------------
4258 
4259   // accessors -------------------------------------------------------
4260 
4261   enum : int {
4262     kFlagNameFieldNumber = 10,
4263     kFlagStatusFieldNumber = 8,
4264     kFlagNegatedFieldNumber = 9,
4265     kRefFieldNumber = 1,
4266     kStrFieldNumber = 2,
4267     kRawStrFieldNumber = 3,
4268     kStyledStrFieldNumber = 4,
4269     kFileFieldNumber = 5,
4270     kIdFieldNumber = 6,
4271     kPrimFieldNumber = 7,
4272   };
4273   // string flag_name = 10;
4274   void clear_flag_name();
4275   const std::string& flag_name() const;
4276   template <typename ArgT0 = const std::string&, typename... ArgT>
4277   void set_flag_name(ArgT0&& arg0, ArgT... args);
4278   std::string* mutable_flag_name();
4279   PROTOBUF_NODISCARD std::string* release_flag_name();
4280   void set_allocated_flag_name(std::string* flag_name);
4281   private:
4282   const std::string& _internal_flag_name() const;
4283   inline PROTOBUF_ALWAYS_INLINE void _internal_set_flag_name(const std::string& value);
4284   std::string* _internal_mutable_flag_name();
4285   public:
4286 
4287   // uint32 flag_status = 8;
4288   void clear_flag_status();
4289   ::uint32_t flag_status() const;
4290   void set_flag_status(::uint32_t value);
4291   private:
4292   ::uint32_t _internal_flag_status() const;
4293   void _internal_set_flag_status(::uint32_t value);
4294   public:
4295 
4296   // bool flag_negated = 9;
4297   void clear_flag_negated();
4298   bool flag_negated() const;
4299   void set_flag_negated(bool value);
4300   private:
4301   bool _internal_flag_negated() const;
4302   void _internal_set_flag_negated(bool value);
4303   public:
4304 
4305   // .aapt.pb.Reference ref = 1;
4306   bool has_ref() const;
4307   private:
4308   bool _internal_has_ref() const;
4309   public:
4310   void clear_ref();
4311   const ::aapt::pb::Reference& ref() const;
4312   PROTOBUF_NODISCARD ::aapt::pb::Reference* release_ref();
4313   ::aapt::pb::Reference* mutable_ref();
4314   void set_allocated_ref(::aapt::pb::Reference* ref);
4315   private:
4316   const ::aapt::pb::Reference& _internal_ref() const;
4317   ::aapt::pb::Reference* _internal_mutable_ref();
4318   public:
4319   void unsafe_arena_set_allocated_ref(
4320       ::aapt::pb::Reference* ref);
4321   ::aapt::pb::Reference* unsafe_arena_release_ref();
4322 
4323   // .aapt.pb.String str = 2;
4324   bool has_str() const;
4325   private:
4326   bool _internal_has_str() const;
4327   public:
4328   void clear_str();
4329   const ::aapt::pb::String& str() const;
4330   PROTOBUF_NODISCARD ::aapt::pb::String* release_str();
4331   ::aapt::pb::String* mutable_str();
4332   void set_allocated_str(::aapt::pb::String* str);
4333   private:
4334   const ::aapt::pb::String& _internal_str() const;
4335   ::aapt::pb::String* _internal_mutable_str();
4336   public:
4337   void unsafe_arena_set_allocated_str(
4338       ::aapt::pb::String* str);
4339   ::aapt::pb::String* unsafe_arena_release_str();
4340 
4341   // .aapt.pb.RawString raw_str = 3;
4342   bool has_raw_str() const;
4343   private:
4344   bool _internal_has_raw_str() const;
4345   public:
4346   void clear_raw_str();
4347   const ::aapt::pb::RawString& raw_str() const;
4348   PROTOBUF_NODISCARD ::aapt::pb::RawString* release_raw_str();
4349   ::aapt::pb::RawString* mutable_raw_str();
4350   void set_allocated_raw_str(::aapt::pb::RawString* raw_str);
4351   private:
4352   const ::aapt::pb::RawString& _internal_raw_str() const;
4353   ::aapt::pb::RawString* _internal_mutable_raw_str();
4354   public:
4355   void unsafe_arena_set_allocated_raw_str(
4356       ::aapt::pb::RawString* raw_str);
4357   ::aapt::pb::RawString* unsafe_arena_release_raw_str();
4358 
4359   // .aapt.pb.StyledString styled_str = 4;
4360   bool has_styled_str() const;
4361   private:
4362   bool _internal_has_styled_str() const;
4363   public:
4364   void clear_styled_str();
4365   const ::aapt::pb::StyledString& styled_str() const;
4366   PROTOBUF_NODISCARD ::aapt::pb::StyledString* release_styled_str();
4367   ::aapt::pb::StyledString* mutable_styled_str();
4368   void set_allocated_styled_str(::aapt::pb::StyledString* styled_str);
4369   private:
4370   const ::aapt::pb::StyledString& _internal_styled_str() const;
4371   ::aapt::pb::StyledString* _internal_mutable_styled_str();
4372   public:
4373   void unsafe_arena_set_allocated_styled_str(
4374       ::aapt::pb::StyledString* styled_str);
4375   ::aapt::pb::StyledString* unsafe_arena_release_styled_str();
4376 
4377   // .aapt.pb.FileReference file = 5;
4378   bool has_file() const;
4379   private:
4380   bool _internal_has_file() const;
4381   public:
4382   void clear_file();
4383   const ::aapt::pb::FileReference& file() const;
4384   PROTOBUF_NODISCARD ::aapt::pb::FileReference* release_file();
4385   ::aapt::pb::FileReference* mutable_file();
4386   void set_allocated_file(::aapt::pb::FileReference* file);
4387   private:
4388   const ::aapt::pb::FileReference& _internal_file() const;
4389   ::aapt::pb::FileReference* _internal_mutable_file();
4390   public:
4391   void unsafe_arena_set_allocated_file(
4392       ::aapt::pb::FileReference* file);
4393   ::aapt::pb::FileReference* unsafe_arena_release_file();
4394 
4395   // .aapt.pb.Id id = 6;
4396   bool has_id() const;
4397   private:
4398   bool _internal_has_id() const;
4399   public:
4400   void clear_id();
4401   const ::aapt::pb::Id& id() const;
4402   PROTOBUF_NODISCARD ::aapt::pb::Id* release_id();
4403   ::aapt::pb::Id* mutable_id();
4404   void set_allocated_id(::aapt::pb::Id* id);
4405   private:
4406   const ::aapt::pb::Id& _internal_id() const;
4407   ::aapt::pb::Id* _internal_mutable_id();
4408   public:
4409   void unsafe_arena_set_allocated_id(
4410       ::aapt::pb::Id* id);
4411   ::aapt::pb::Id* unsafe_arena_release_id();
4412 
4413   // .aapt.pb.Primitive prim = 7;
4414   bool has_prim() const;
4415   private:
4416   bool _internal_has_prim() const;
4417   public:
4418   void clear_prim();
4419   const ::aapt::pb::Primitive& prim() const;
4420   PROTOBUF_NODISCARD ::aapt::pb::Primitive* release_prim();
4421   ::aapt::pb::Primitive* mutable_prim();
4422   void set_allocated_prim(::aapt::pb::Primitive* prim);
4423   private:
4424   const ::aapt::pb::Primitive& _internal_prim() const;
4425   ::aapt::pb::Primitive* _internal_mutable_prim();
4426   public:
4427   void unsafe_arena_set_allocated_prim(
4428       ::aapt::pb::Primitive* prim);
4429   ::aapt::pb::Primitive* unsafe_arena_release_prim();
4430 
4431   void clear_value();
4432   ValueCase value_case() const;
4433   // @@protoc_insertion_point(class_scope:aapt.pb.Item)
4434  private:
4435   class _Internal;
4436   void set_has_ref();
4437   void set_has_str();
4438   void set_has_raw_str();
4439   void set_has_styled_str();
4440   void set_has_file();
4441   void set_has_id();
4442   void set_has_prim();
4443 
4444   inline bool has_value() const;
4445   inline void clear_has_value();
4446 
4447   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4448   typedef void InternalArenaConstructable_;
4449   typedef void DestructorSkippable_;
4450   struct Impl_ {
4451     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr flag_name_;
4452     ::uint32_t flag_status_;
4453     bool flag_negated_;
4454     union ValueUnion {
4455       constexpr ValueUnion() : _constinit_{} {}
4456         ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
4457       ::aapt::pb::Reference* ref_;
4458       ::aapt::pb::String* str_;
4459       ::aapt::pb::RawString* raw_str_;
4460       ::aapt::pb::StyledString* styled_str_;
4461       ::aapt::pb::FileReference* file_;
4462       ::aapt::pb::Id* id_;
4463       ::aapt::pb::Primitive* prim_;
4464     } value_;
4465     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4466     ::uint32_t _oneof_case_[1];
4467 
4468   };
4469   union { Impl_ _impl_; };
4470   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
4471 };
4472 // -------------------------------------------------------------------
4473 
4474 class CompoundValue final :
4475     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.CompoundValue) */ {
4476  public:
CompoundValue()4477   inline CompoundValue() : CompoundValue(nullptr) {}
4478   ~CompoundValue() override;
4479   explicit PROTOBUF_CONSTEXPR CompoundValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4480 
4481   CompoundValue(const CompoundValue& from);
CompoundValue(CompoundValue && from)4482   CompoundValue(CompoundValue&& from) noexcept
4483     : CompoundValue() {
4484     *this = ::std::move(from);
4485   }
4486 
4487   inline CompoundValue& operator=(const CompoundValue& from) {
4488     if (this == &from) return *this;
4489     CopyFrom(from);
4490     return *this;
4491   }
4492   inline CompoundValue& operator=(CompoundValue&& from) noexcept {
4493     if (this == &from) return *this;
4494     if (GetOwningArena() == from.GetOwningArena()
4495   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4496         && GetOwningArena() != nullptr
4497   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
4498     ) {
4499       InternalSwap(&from);
4500     } else {
4501       CopyFrom(from);
4502     }
4503     return *this;
4504   }
4505 
descriptor()4506   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4507     return GetDescriptor();
4508   }
GetDescriptor()4509   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4510     return default_instance().GetMetadata().descriptor;
4511   }
GetReflection()4512   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4513     return default_instance().GetMetadata().reflection;
4514   }
default_instance()4515   static const CompoundValue& default_instance() {
4516     return *internal_default_instance();
4517   }
4518   enum ValueCase {
4519     kAttr = 1,
4520     kStyle = 2,
4521     kStyleable = 3,
4522     kArray = 4,
4523     kPlural = 5,
4524     kMacro = 6,
4525     VALUE_NOT_SET = 0,
4526   };
4527 
internal_default_instance()4528   static inline const CompoundValue* internal_default_instance() {
4529     return reinterpret_cast<const CompoundValue*>(
4530                &_CompoundValue_default_instance_);
4531   }
4532   static constexpr int kIndexInFileMessages =
4533     20;
4534 
swap(CompoundValue & a,CompoundValue & b)4535   friend void swap(CompoundValue& a, CompoundValue& b) {
4536     a.Swap(&b);
4537   }
Swap(CompoundValue * other)4538   inline void Swap(CompoundValue* other) {
4539     if (other == this) return;
4540   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4541     if (GetOwningArena() != nullptr &&
4542         GetOwningArena() == other->GetOwningArena()) {
4543    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
4544     if (GetOwningArena() == other->GetOwningArena()) {
4545   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
4546       InternalSwap(other);
4547     } else {
4548       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4549     }
4550   }
4551   void UnsafeArenaSwap(CompoundValue* other) {
4552     if (other == this) return;
4553     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4554     InternalSwap(other);
4555   }
4556 
4557   // implements Message ----------------------------------------------
4558 
4559   CompoundValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4560     return CreateMaybeMessage<CompoundValue>(arena);
4561   }
4562   CompoundValue* New() const {
4563     return New(nullptr);
4564   }
4565   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
4566   void CopyFrom(const CompoundValue& from);
4567   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
4568   void MergeFrom( const CompoundValue& from) {
4569     CompoundValue::MergeImpl(*this, from);
4570   }
4571   private:
4572   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
4573   public:
4574   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4575   bool IsInitialized() const final;
4576 
4577   size_t ByteSizeLong() const final;
4578   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4579   ::uint8_t* _InternalSerialize(
4580       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4581   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4582 
4583   private:
4584   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4585   void SharedDtor();
4586   void SetCachedSize(int size) const final;
4587   void InternalSwap(CompoundValue* other);
4588 
4589   private:
4590   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4591   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4592     return "aapt.pb.CompoundValue";
4593   }
4594   protected:
4595   explicit CompoundValue(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4596                        bool is_message_owned = false);
4597   public:
4598 
4599   static const ClassData _class_data_;
4600   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
4601 
4602   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4603 
4604   // nested types ----------------------------------------------------
4605 
4606   // accessors -------------------------------------------------------
4607 
4608   enum : int {
4609     kFlagNameFieldNumber = 9,
4610     kFlagStatusFieldNumber = 7,
4611     kFlagNegatedFieldNumber = 8,
4612     kAttrFieldNumber = 1,
4613     kStyleFieldNumber = 2,
4614     kStyleableFieldNumber = 3,
4615     kArrayFieldNumber = 4,
4616     kPluralFieldNumber = 5,
4617     kMacroFieldNumber = 6,
4618   };
4619   // string flag_name = 9;
4620   void clear_flag_name();
4621   const std::string& flag_name() const;
4622   template <typename ArgT0 = const std::string&, typename... ArgT>
4623   void set_flag_name(ArgT0&& arg0, ArgT... args);
4624   std::string* mutable_flag_name();
4625   PROTOBUF_NODISCARD std::string* release_flag_name();
4626   void set_allocated_flag_name(std::string* flag_name);
4627   private:
4628   const std::string& _internal_flag_name() const;
4629   inline PROTOBUF_ALWAYS_INLINE void _internal_set_flag_name(const std::string& value);
4630   std::string* _internal_mutable_flag_name();
4631   public:
4632 
4633   // uint32 flag_status = 7;
4634   void clear_flag_status();
4635   ::uint32_t flag_status() const;
4636   void set_flag_status(::uint32_t value);
4637   private:
4638   ::uint32_t _internal_flag_status() const;
4639   void _internal_set_flag_status(::uint32_t value);
4640   public:
4641 
4642   // bool flag_negated = 8;
4643   void clear_flag_negated();
4644   bool flag_negated() const;
4645   void set_flag_negated(bool value);
4646   private:
4647   bool _internal_flag_negated() const;
4648   void _internal_set_flag_negated(bool value);
4649   public:
4650 
4651   // .aapt.pb.Attribute attr = 1;
4652   bool has_attr() const;
4653   private:
4654   bool _internal_has_attr() const;
4655   public:
4656   void clear_attr();
4657   const ::aapt::pb::Attribute& attr() const;
4658   PROTOBUF_NODISCARD ::aapt::pb::Attribute* release_attr();
4659   ::aapt::pb::Attribute* mutable_attr();
4660   void set_allocated_attr(::aapt::pb::Attribute* attr);
4661   private:
4662   const ::aapt::pb::Attribute& _internal_attr() const;
4663   ::aapt::pb::Attribute* _internal_mutable_attr();
4664   public:
4665   void unsafe_arena_set_allocated_attr(
4666       ::aapt::pb::Attribute* attr);
4667   ::aapt::pb::Attribute* unsafe_arena_release_attr();
4668 
4669   // .aapt.pb.Style style = 2;
4670   bool has_style() const;
4671   private:
4672   bool _internal_has_style() const;
4673   public:
4674   void clear_style();
4675   const ::aapt::pb::Style& style() const;
4676   PROTOBUF_NODISCARD ::aapt::pb::Style* release_style();
4677   ::aapt::pb::Style* mutable_style();
4678   void set_allocated_style(::aapt::pb::Style* style);
4679   private:
4680   const ::aapt::pb::Style& _internal_style() const;
4681   ::aapt::pb::Style* _internal_mutable_style();
4682   public:
4683   void unsafe_arena_set_allocated_style(
4684       ::aapt::pb::Style* style);
4685   ::aapt::pb::Style* unsafe_arena_release_style();
4686 
4687   // .aapt.pb.Styleable styleable = 3;
4688   bool has_styleable() const;
4689   private:
4690   bool _internal_has_styleable() const;
4691   public:
4692   void clear_styleable();
4693   const ::aapt::pb::Styleable& styleable() const;
4694   PROTOBUF_NODISCARD ::aapt::pb::Styleable* release_styleable();
4695   ::aapt::pb::Styleable* mutable_styleable();
4696   void set_allocated_styleable(::aapt::pb::Styleable* styleable);
4697   private:
4698   const ::aapt::pb::Styleable& _internal_styleable() const;
4699   ::aapt::pb::Styleable* _internal_mutable_styleable();
4700   public:
4701   void unsafe_arena_set_allocated_styleable(
4702       ::aapt::pb::Styleable* styleable);
4703   ::aapt::pb::Styleable* unsafe_arena_release_styleable();
4704 
4705   // .aapt.pb.Array array = 4;
4706   bool has_array() const;
4707   private:
4708   bool _internal_has_array() const;
4709   public:
4710   void clear_array();
4711   const ::aapt::pb::Array& array() const;
4712   PROTOBUF_NODISCARD ::aapt::pb::Array* release_array();
4713   ::aapt::pb::Array* mutable_array();
4714   void set_allocated_array(::aapt::pb::Array* array);
4715   private:
4716   const ::aapt::pb::Array& _internal_array() const;
4717   ::aapt::pb::Array* _internal_mutable_array();
4718   public:
4719   void unsafe_arena_set_allocated_array(
4720       ::aapt::pb::Array* array);
4721   ::aapt::pb::Array* unsafe_arena_release_array();
4722 
4723   // .aapt.pb.Plural plural = 5;
4724   bool has_plural() const;
4725   private:
4726   bool _internal_has_plural() const;
4727   public:
4728   void clear_plural();
4729   const ::aapt::pb::Plural& plural() const;
4730   PROTOBUF_NODISCARD ::aapt::pb::Plural* release_plural();
4731   ::aapt::pb::Plural* mutable_plural();
4732   void set_allocated_plural(::aapt::pb::Plural* plural);
4733   private:
4734   const ::aapt::pb::Plural& _internal_plural() const;
4735   ::aapt::pb::Plural* _internal_mutable_plural();
4736   public:
4737   void unsafe_arena_set_allocated_plural(
4738       ::aapt::pb::Plural* plural);
4739   ::aapt::pb::Plural* unsafe_arena_release_plural();
4740 
4741   // .aapt.pb.MacroBody macro = 6;
4742   bool has_macro() const;
4743   private:
4744   bool _internal_has_macro() const;
4745   public:
4746   void clear_macro();
4747   const ::aapt::pb::MacroBody& macro() const;
4748   PROTOBUF_NODISCARD ::aapt::pb::MacroBody* release_macro();
4749   ::aapt::pb::MacroBody* mutable_macro();
4750   void set_allocated_macro(::aapt::pb::MacroBody* macro);
4751   private:
4752   const ::aapt::pb::MacroBody& _internal_macro() const;
4753   ::aapt::pb::MacroBody* _internal_mutable_macro();
4754   public:
4755   void unsafe_arena_set_allocated_macro(
4756       ::aapt::pb::MacroBody* macro);
4757   ::aapt::pb::MacroBody* unsafe_arena_release_macro();
4758 
4759   void clear_value();
4760   ValueCase value_case() const;
4761   // @@protoc_insertion_point(class_scope:aapt.pb.CompoundValue)
4762  private:
4763   class _Internal;
4764   void set_has_attr();
4765   void set_has_style();
4766   void set_has_styleable();
4767   void set_has_array();
4768   void set_has_plural();
4769   void set_has_macro();
4770 
4771   inline bool has_value() const;
4772   inline void clear_has_value();
4773 
4774   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4775   typedef void InternalArenaConstructable_;
4776   typedef void DestructorSkippable_;
4777   struct Impl_ {
4778     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr flag_name_;
4779     ::uint32_t flag_status_;
4780     bool flag_negated_;
4781     union ValueUnion {
4782       constexpr ValueUnion() : _constinit_{} {}
4783         ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
4784       ::aapt::pb::Attribute* attr_;
4785       ::aapt::pb::Style* style_;
4786       ::aapt::pb::Styleable* styleable_;
4787       ::aapt::pb::Array* array_;
4788       ::aapt::pb::Plural* plural_;
4789       ::aapt::pb::MacroBody* macro_;
4790     } value_;
4791     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4792     ::uint32_t _oneof_case_[1];
4793 
4794   };
4795   union { Impl_ _impl_; };
4796   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
4797 };
4798 // -------------------------------------------------------------------
4799 
4800 class Boolean final :
4801     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Boolean) */ {
4802  public:
Boolean()4803   inline Boolean() : Boolean(nullptr) {}
4804   ~Boolean() override;
4805   explicit PROTOBUF_CONSTEXPR Boolean(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4806 
4807   Boolean(const Boolean& from);
Boolean(Boolean && from)4808   Boolean(Boolean&& from) noexcept
4809     : Boolean() {
4810     *this = ::std::move(from);
4811   }
4812 
4813   inline Boolean& operator=(const Boolean& from) {
4814     if (this == &from) return *this;
4815     CopyFrom(from);
4816     return *this;
4817   }
4818   inline Boolean& operator=(Boolean&& from) noexcept {
4819     if (this == &from) return *this;
4820     if (GetOwningArena() == from.GetOwningArena()
4821   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4822         && GetOwningArena() != nullptr
4823   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
4824     ) {
4825       InternalSwap(&from);
4826     } else {
4827       CopyFrom(from);
4828     }
4829     return *this;
4830   }
4831 
descriptor()4832   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4833     return GetDescriptor();
4834   }
GetDescriptor()4835   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4836     return default_instance().GetMetadata().descriptor;
4837   }
GetReflection()4838   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4839     return default_instance().GetMetadata().reflection;
4840   }
default_instance()4841   static const Boolean& default_instance() {
4842     return *internal_default_instance();
4843   }
internal_default_instance()4844   static inline const Boolean* internal_default_instance() {
4845     return reinterpret_cast<const Boolean*>(
4846                &_Boolean_default_instance_);
4847   }
4848   static constexpr int kIndexInFileMessages =
4849     21;
4850 
swap(Boolean & a,Boolean & b)4851   friend void swap(Boolean& a, Boolean& b) {
4852     a.Swap(&b);
4853   }
Swap(Boolean * other)4854   inline void Swap(Boolean* other) {
4855     if (other == this) return;
4856   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4857     if (GetOwningArena() != nullptr &&
4858         GetOwningArena() == other->GetOwningArena()) {
4859    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
4860     if (GetOwningArena() == other->GetOwningArena()) {
4861   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
4862       InternalSwap(other);
4863     } else {
4864       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4865     }
4866   }
4867   void UnsafeArenaSwap(Boolean* other) {
4868     if (other == this) return;
4869     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4870     InternalSwap(other);
4871   }
4872 
4873   // implements Message ----------------------------------------------
4874 
4875   Boolean* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
4876     return CreateMaybeMessage<Boolean>(arena);
4877   }
4878   Boolean* New() const {
4879     return New(nullptr);
4880   }
4881   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
4882   void CopyFrom(const Boolean& from);
4883   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
4884   void MergeFrom( const Boolean& from) {
4885     Boolean::MergeImpl(*this, from);
4886   }
4887   private:
4888   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
4889   public:
4890   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4891   bool IsInitialized() const final;
4892 
4893   size_t ByteSizeLong() const final;
4894   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4895   ::uint8_t* _InternalSerialize(
4896       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4897   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4898 
4899   private:
4900   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4901   void SharedDtor();
4902   void SetCachedSize(int size) const final;
4903   void InternalSwap(Boolean* other);
4904 
4905   private:
4906   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4907   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4908     return "aapt.pb.Boolean";
4909   }
4910   protected:
4911   explicit Boolean(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4912                        bool is_message_owned = false);
4913   public:
4914 
4915   static const ClassData _class_data_;
4916   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
4917 
4918   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4919 
4920   // nested types ----------------------------------------------------
4921 
4922   // accessors -------------------------------------------------------
4923 
4924   enum : int {
4925     kValueFieldNumber = 1,
4926   };
4927   // bool value = 1;
4928   void clear_value();
4929   bool value() const;
4930   void set_value(bool value);
4931   private:
4932   bool _internal_value() const;
4933   void _internal_set_value(bool value);
4934   public:
4935 
4936   // @@protoc_insertion_point(class_scope:aapt.pb.Boolean)
4937  private:
4938   class _Internal;
4939 
4940   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4941   typedef void InternalArenaConstructable_;
4942   typedef void DestructorSkippable_;
4943   struct Impl_ {
4944     bool value_;
4945     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4946   };
4947   union { Impl_ _impl_; };
4948   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
4949 };
4950 // -------------------------------------------------------------------
4951 
4952 class Reference final :
4953     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Reference) */ {
4954  public:
Reference()4955   inline Reference() : Reference(nullptr) {}
4956   ~Reference() override;
4957   explicit PROTOBUF_CONSTEXPR Reference(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4958 
4959   Reference(const Reference& from);
Reference(Reference && from)4960   Reference(Reference&& from) noexcept
4961     : Reference() {
4962     *this = ::std::move(from);
4963   }
4964 
4965   inline Reference& operator=(const Reference& from) {
4966     if (this == &from) return *this;
4967     CopyFrom(from);
4968     return *this;
4969   }
4970   inline Reference& operator=(Reference&& from) noexcept {
4971     if (this == &from) return *this;
4972     if (GetOwningArena() == from.GetOwningArena()
4973   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4974         && GetOwningArena() != nullptr
4975   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
4976     ) {
4977       InternalSwap(&from);
4978     } else {
4979       CopyFrom(from);
4980     }
4981     return *this;
4982   }
4983 
descriptor()4984   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
4985     return GetDescriptor();
4986   }
GetDescriptor()4987   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
4988     return default_instance().GetMetadata().descriptor;
4989   }
GetReflection()4990   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
4991     return default_instance().GetMetadata().reflection;
4992   }
default_instance()4993   static const Reference& default_instance() {
4994     return *internal_default_instance();
4995   }
internal_default_instance()4996   static inline const Reference* internal_default_instance() {
4997     return reinterpret_cast<const Reference*>(
4998                &_Reference_default_instance_);
4999   }
5000   static constexpr int kIndexInFileMessages =
5001     22;
5002 
swap(Reference & a,Reference & b)5003   friend void swap(Reference& a, Reference& b) {
5004     a.Swap(&b);
5005   }
Swap(Reference * other)5006   inline void Swap(Reference* other) {
5007     if (other == this) return;
5008   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
5009     if (GetOwningArena() != nullptr &&
5010         GetOwningArena() == other->GetOwningArena()) {
5011    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
5012     if (GetOwningArena() == other->GetOwningArena()) {
5013   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
5014       InternalSwap(other);
5015     } else {
5016       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5017     }
5018   }
5019   void UnsafeArenaSwap(Reference* other) {
5020     if (other == this) return;
5021     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5022     InternalSwap(other);
5023   }
5024 
5025   // implements Message ----------------------------------------------
5026 
5027   Reference* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5028     return CreateMaybeMessage<Reference>(arena);
5029   }
5030   Reference* New() const {
5031     return New(nullptr);
5032   }
5033   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
5034   void CopyFrom(const Reference& from);
5035   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
5036   void MergeFrom( const Reference& from) {
5037     Reference::MergeImpl(*this, from);
5038   }
5039   private:
5040   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
5041   public:
5042   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5043   bool IsInitialized() const final;
5044 
5045   size_t ByteSizeLong() const final;
5046   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5047   ::uint8_t* _InternalSerialize(
5048       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5049   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5050 
5051   private:
5052   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5053   void SharedDtor();
5054   void SetCachedSize(int size) const final;
5055   void InternalSwap(Reference* other);
5056 
5057   private:
5058   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5059   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5060     return "aapt.pb.Reference";
5061   }
5062   protected:
5063   explicit Reference(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5064                        bool is_message_owned = false);
5065   public:
5066 
5067   static const ClassData _class_data_;
5068   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
5069 
5070   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5071 
5072   // nested types ----------------------------------------------------
5073 
5074   typedef Reference_Type Type;
5075   static constexpr Type REFERENCE =
5076     Reference_Type_REFERENCE;
5077   static constexpr Type ATTRIBUTE =
5078     Reference_Type_ATTRIBUTE;
5079   static inline bool Type_IsValid(int value) {
5080     return Reference_Type_IsValid(value);
5081   }
5082   static constexpr Type Type_MIN =
5083     Reference_Type_Type_MIN;
5084   static constexpr Type Type_MAX =
5085     Reference_Type_Type_MAX;
5086   static constexpr int Type_ARRAYSIZE =
5087     Reference_Type_Type_ARRAYSIZE;
5088   static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
5089   Type_descriptor() {
5090     return Reference_Type_descriptor();
5091   }
5092   template<typename T>
5093   static inline const std::string& Type_Name(T enum_t_value) {
5094     static_assert(::std::is_same<T, Type>::value ||
5095       ::std::is_integral<T>::value,
5096       "Incorrect type passed to function Type_Name.");
5097     return Reference_Type_Name(enum_t_value);
5098   }
5099   static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
5100       Type* value) {
5101     return Reference_Type_Parse(name, value);
5102   }
5103 
5104   // accessors -------------------------------------------------------
5105 
5106   enum : int {
5107     kNameFieldNumber = 3,
5108     kIsDynamicFieldNumber = 5,
5109     kTypeFieldNumber = 1,
5110     kIdFieldNumber = 2,
5111     kPrivateFieldNumber = 4,
5112     kAllowRawFieldNumber = 7,
5113     kTypeFlagsFieldNumber = 6,
5114   };
5115   // string name = 3;
5116   void clear_name();
5117   const std::string& name() const;
5118   template <typename ArgT0 = const std::string&, typename... ArgT>
5119   void set_name(ArgT0&& arg0, ArgT... args);
5120   std::string* mutable_name();
5121   PROTOBUF_NODISCARD std::string* release_name();
5122   void set_allocated_name(std::string* name);
5123   private:
5124   const std::string& _internal_name() const;
5125   inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
5126   std::string* _internal_mutable_name();
5127   public:
5128 
5129   // .aapt.pb.Boolean is_dynamic = 5;
5130   bool has_is_dynamic() const;
5131   private:
5132   bool _internal_has_is_dynamic() const;
5133   public:
5134   void clear_is_dynamic();
5135   const ::aapt::pb::Boolean& is_dynamic() const;
5136   PROTOBUF_NODISCARD ::aapt::pb::Boolean* release_is_dynamic();
5137   ::aapt::pb::Boolean* mutable_is_dynamic();
5138   void set_allocated_is_dynamic(::aapt::pb::Boolean* is_dynamic);
5139   private:
5140   const ::aapt::pb::Boolean& _internal_is_dynamic() const;
5141   ::aapt::pb::Boolean* _internal_mutable_is_dynamic();
5142   public:
5143   void unsafe_arena_set_allocated_is_dynamic(
5144       ::aapt::pb::Boolean* is_dynamic);
5145   ::aapt::pb::Boolean* unsafe_arena_release_is_dynamic();
5146 
5147   // .aapt.pb.Reference.Type type = 1;
5148   void clear_type();
5149   ::aapt::pb::Reference_Type type() const;
5150   void set_type(::aapt::pb::Reference_Type value);
5151   private:
5152   ::aapt::pb::Reference_Type _internal_type() const;
5153   void _internal_set_type(::aapt::pb::Reference_Type value);
5154   public:
5155 
5156   // uint32 id = 2;
5157   void clear_id();
5158   ::uint32_t id() const;
5159   void set_id(::uint32_t value);
5160   private:
5161   ::uint32_t _internal_id() const;
5162   void _internal_set_id(::uint32_t value);
5163   public:
5164 
5165   // bool private = 4;
5166   void clear_private_();
5167   bool private_() const;
5168   void set_private_(bool value);
5169   private:
5170   bool _internal_private_() const;
5171   void _internal_set_private_(bool value);
5172   public:
5173 
5174   // bool allow_raw = 7;
5175   void clear_allow_raw();
5176   bool allow_raw() const;
5177   void set_allow_raw(bool value);
5178   private:
5179   bool _internal_allow_raw() const;
5180   void _internal_set_allow_raw(bool value);
5181   public:
5182 
5183   // uint32 type_flags = 6;
5184   void clear_type_flags();
5185   ::uint32_t type_flags() const;
5186   void set_type_flags(::uint32_t value);
5187   private:
5188   ::uint32_t _internal_type_flags() const;
5189   void _internal_set_type_flags(::uint32_t value);
5190   public:
5191 
5192   // @@protoc_insertion_point(class_scope:aapt.pb.Reference)
5193  private:
5194   class _Internal;
5195 
5196   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5197   typedef void InternalArenaConstructable_;
5198   typedef void DestructorSkippable_;
5199   struct Impl_ {
5200     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
5201     ::aapt::pb::Boolean* is_dynamic_;
5202     int type_;
5203     ::uint32_t id_;
5204     bool private__;
5205     bool allow_raw_;
5206     ::uint32_t type_flags_;
5207     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5208   };
5209   union { Impl_ _impl_; };
5210   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
5211 };
5212 // -------------------------------------------------------------------
5213 
5214 class Id final :
5215     public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:aapt.pb.Id) */ {
5216  public:
Id()5217   inline Id() : Id(nullptr) {}
5218   explicit PROTOBUF_CONSTEXPR Id(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
5219 
5220   Id(const Id& from);
Id(Id && from)5221   Id(Id&& from) noexcept
5222     : Id() {
5223     *this = ::std::move(from);
5224   }
5225 
5226   inline Id& operator=(const Id& from) {
5227     if (this == &from) return *this;
5228     CopyFrom(from);
5229     return *this;
5230   }
5231   inline Id& operator=(Id&& from) noexcept {
5232     if (this == &from) return *this;
5233     if (GetOwningArena() == from.GetOwningArena()
5234   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
5235         && GetOwningArena() != nullptr
5236   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
5237     ) {
5238       InternalSwap(&from);
5239     } else {
5240       CopyFrom(from);
5241     }
5242     return *this;
5243   }
5244 
descriptor()5245   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
5246     return GetDescriptor();
5247   }
GetDescriptor()5248   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
5249     return default_instance().GetMetadata().descriptor;
5250   }
GetReflection()5251   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
5252     return default_instance().GetMetadata().reflection;
5253   }
default_instance()5254   static const Id& default_instance() {
5255     return *internal_default_instance();
5256   }
internal_default_instance()5257   static inline const Id* internal_default_instance() {
5258     return reinterpret_cast<const Id*>(
5259                &_Id_default_instance_);
5260   }
5261   static constexpr int kIndexInFileMessages =
5262     23;
5263 
swap(Id & a,Id & b)5264   friend void swap(Id& a, Id& b) {
5265     a.Swap(&b);
5266   }
Swap(Id * other)5267   inline void Swap(Id* other) {
5268     if (other == this) return;
5269   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
5270     if (GetOwningArena() != nullptr &&
5271         GetOwningArena() == other->GetOwningArena()) {
5272    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
5273     if (GetOwningArena() == other->GetOwningArena()) {
5274   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
5275       InternalSwap(other);
5276     } else {
5277       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5278     }
5279   }
5280   void UnsafeArenaSwap(Id* other) {
5281     if (other == this) return;
5282     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5283     InternalSwap(other);
5284   }
5285 
5286   // implements Message ----------------------------------------------
5287 
5288   Id* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5289     return CreateMaybeMessage<Id>(arena);
5290   }
5291   Id* New() const {
5292     return New(nullptr);
5293   }
5294   using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
5295   inline void CopyFrom(const Id& from) {
5296     ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from);
5297   }
5298   using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
5299   void MergeFrom(const Id& from) {
5300     ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from);
5301   }
5302   public:
5303 
5304   private:
5305   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5306   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5307     return "aapt.pb.Id";
5308   }
5309   protected:
5310   explicit Id(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5311                        bool is_message_owned = false);
5312   public:
5313 
5314   static const ClassData _class_data_;
5315   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
5316 
5317   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5318 
5319   // nested types ----------------------------------------------------
5320 
5321   // accessors -------------------------------------------------------
5322 
5323   // @@protoc_insertion_point(class_scope:aapt.pb.Id)
5324  private:
5325   class _Internal;
5326 
5327   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5328   typedef void InternalArenaConstructable_;
5329   typedef void DestructorSkippable_;
5330   struct Impl_ {
5331   };
5332   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
5333 };
5334 // -------------------------------------------------------------------
5335 
5336 class String final :
5337     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.String) */ {
5338  public:
String()5339   inline String() : String(nullptr) {}
5340   ~String() override;
5341   explicit PROTOBUF_CONSTEXPR String(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
5342 
5343   String(const String& from);
String(String && from)5344   String(String&& from) noexcept
5345     : String() {
5346     *this = ::std::move(from);
5347   }
5348 
5349   inline String& operator=(const String& from) {
5350     if (this == &from) return *this;
5351     CopyFrom(from);
5352     return *this;
5353   }
5354   inline String& operator=(String&& from) noexcept {
5355     if (this == &from) return *this;
5356     if (GetOwningArena() == from.GetOwningArena()
5357   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
5358         && GetOwningArena() != nullptr
5359   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
5360     ) {
5361       InternalSwap(&from);
5362     } else {
5363       CopyFrom(from);
5364     }
5365     return *this;
5366   }
5367 
descriptor()5368   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
5369     return GetDescriptor();
5370   }
GetDescriptor()5371   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
5372     return default_instance().GetMetadata().descriptor;
5373   }
GetReflection()5374   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
5375     return default_instance().GetMetadata().reflection;
5376   }
default_instance()5377   static const String& default_instance() {
5378     return *internal_default_instance();
5379   }
internal_default_instance()5380   static inline const String* internal_default_instance() {
5381     return reinterpret_cast<const String*>(
5382                &_String_default_instance_);
5383   }
5384   static constexpr int kIndexInFileMessages =
5385     24;
5386 
swap(String & a,String & b)5387   friend void swap(String& a, String& b) {
5388     a.Swap(&b);
5389   }
Swap(String * other)5390   inline void Swap(String* other) {
5391     if (other == this) return;
5392   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
5393     if (GetOwningArena() != nullptr &&
5394         GetOwningArena() == other->GetOwningArena()) {
5395    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
5396     if (GetOwningArena() == other->GetOwningArena()) {
5397   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
5398       InternalSwap(other);
5399     } else {
5400       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5401     }
5402   }
5403   void UnsafeArenaSwap(String* other) {
5404     if (other == this) return;
5405     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5406     InternalSwap(other);
5407   }
5408 
5409   // implements Message ----------------------------------------------
5410 
5411   String* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5412     return CreateMaybeMessage<String>(arena);
5413   }
5414   String* New() const {
5415     return New(nullptr);
5416   }
5417   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
5418   void CopyFrom(const String& from);
5419   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
5420   void MergeFrom( const String& from) {
5421     String::MergeImpl(*this, from);
5422   }
5423   private:
5424   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
5425   public:
5426   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5427   bool IsInitialized() const final;
5428 
5429   size_t ByteSizeLong() const final;
5430   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5431   ::uint8_t* _InternalSerialize(
5432       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5433   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5434 
5435   private:
5436   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5437   void SharedDtor();
5438   void SetCachedSize(int size) const final;
5439   void InternalSwap(String* other);
5440 
5441   private:
5442   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5443   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5444     return "aapt.pb.String";
5445   }
5446   protected:
5447   explicit String(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5448                        bool is_message_owned = false);
5449   public:
5450 
5451   static const ClassData _class_data_;
5452   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
5453 
5454   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5455 
5456   // nested types ----------------------------------------------------
5457 
5458   // accessors -------------------------------------------------------
5459 
5460   enum : int {
5461     kValueFieldNumber = 1,
5462   };
5463   // string value = 1;
5464   void clear_value();
5465   const std::string& value() const;
5466   template <typename ArgT0 = const std::string&, typename... ArgT>
5467   void set_value(ArgT0&& arg0, ArgT... args);
5468   std::string* mutable_value();
5469   PROTOBUF_NODISCARD std::string* release_value();
5470   void set_allocated_value(std::string* value);
5471   private:
5472   const std::string& _internal_value() const;
5473   inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value);
5474   std::string* _internal_mutable_value();
5475   public:
5476 
5477   // @@protoc_insertion_point(class_scope:aapt.pb.String)
5478  private:
5479   class _Internal;
5480 
5481   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5482   typedef void InternalArenaConstructable_;
5483   typedef void DestructorSkippable_;
5484   struct Impl_ {
5485     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
5486     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5487   };
5488   union { Impl_ _impl_; };
5489   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
5490 };
5491 // -------------------------------------------------------------------
5492 
5493 class RawString final :
5494     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.RawString) */ {
5495  public:
RawString()5496   inline RawString() : RawString(nullptr) {}
5497   ~RawString() override;
5498   explicit PROTOBUF_CONSTEXPR RawString(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
5499 
5500   RawString(const RawString& from);
RawString(RawString && from)5501   RawString(RawString&& from) noexcept
5502     : RawString() {
5503     *this = ::std::move(from);
5504   }
5505 
5506   inline RawString& operator=(const RawString& from) {
5507     if (this == &from) return *this;
5508     CopyFrom(from);
5509     return *this;
5510   }
5511   inline RawString& operator=(RawString&& from) noexcept {
5512     if (this == &from) return *this;
5513     if (GetOwningArena() == from.GetOwningArena()
5514   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
5515         && GetOwningArena() != nullptr
5516   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
5517     ) {
5518       InternalSwap(&from);
5519     } else {
5520       CopyFrom(from);
5521     }
5522     return *this;
5523   }
5524 
descriptor()5525   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
5526     return GetDescriptor();
5527   }
GetDescriptor()5528   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
5529     return default_instance().GetMetadata().descriptor;
5530   }
GetReflection()5531   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
5532     return default_instance().GetMetadata().reflection;
5533   }
default_instance()5534   static const RawString& default_instance() {
5535     return *internal_default_instance();
5536   }
internal_default_instance()5537   static inline const RawString* internal_default_instance() {
5538     return reinterpret_cast<const RawString*>(
5539                &_RawString_default_instance_);
5540   }
5541   static constexpr int kIndexInFileMessages =
5542     25;
5543 
swap(RawString & a,RawString & b)5544   friend void swap(RawString& a, RawString& b) {
5545     a.Swap(&b);
5546   }
Swap(RawString * other)5547   inline void Swap(RawString* other) {
5548     if (other == this) return;
5549   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
5550     if (GetOwningArena() != nullptr &&
5551         GetOwningArena() == other->GetOwningArena()) {
5552    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
5553     if (GetOwningArena() == other->GetOwningArena()) {
5554   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
5555       InternalSwap(other);
5556     } else {
5557       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5558     }
5559   }
5560   void UnsafeArenaSwap(RawString* other) {
5561     if (other == this) return;
5562     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5563     InternalSwap(other);
5564   }
5565 
5566   // implements Message ----------------------------------------------
5567 
5568   RawString* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5569     return CreateMaybeMessage<RawString>(arena);
5570   }
5571   RawString* New() const {
5572     return New(nullptr);
5573   }
5574   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
5575   void CopyFrom(const RawString& from);
5576   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
5577   void MergeFrom( const RawString& from) {
5578     RawString::MergeImpl(*this, from);
5579   }
5580   private:
5581   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
5582   public:
5583   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5584   bool IsInitialized() const final;
5585 
5586   size_t ByteSizeLong() const final;
5587   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5588   ::uint8_t* _InternalSerialize(
5589       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5590   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5591 
5592   private:
5593   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5594   void SharedDtor();
5595   void SetCachedSize(int size) const final;
5596   void InternalSwap(RawString* other);
5597 
5598   private:
5599   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5600   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5601     return "aapt.pb.RawString";
5602   }
5603   protected:
5604   explicit RawString(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5605                        bool is_message_owned = false);
5606   public:
5607 
5608   static const ClassData _class_data_;
5609   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
5610 
5611   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5612 
5613   // nested types ----------------------------------------------------
5614 
5615   // accessors -------------------------------------------------------
5616 
5617   enum : int {
5618     kValueFieldNumber = 1,
5619   };
5620   // string value = 1;
5621   void clear_value();
5622   const std::string& value() const;
5623   template <typename ArgT0 = const std::string&, typename... ArgT>
5624   void set_value(ArgT0&& arg0, ArgT... args);
5625   std::string* mutable_value();
5626   PROTOBUF_NODISCARD std::string* release_value();
5627   void set_allocated_value(std::string* value);
5628   private:
5629   const std::string& _internal_value() const;
5630   inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value);
5631   std::string* _internal_mutable_value();
5632   public:
5633 
5634   // @@protoc_insertion_point(class_scope:aapt.pb.RawString)
5635  private:
5636   class _Internal;
5637 
5638   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5639   typedef void InternalArenaConstructable_;
5640   typedef void DestructorSkippable_;
5641   struct Impl_ {
5642     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
5643     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5644   };
5645   union { Impl_ _impl_; };
5646   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
5647 };
5648 // -------------------------------------------------------------------
5649 
5650 class StyledString_Span final :
5651     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.StyledString.Span) */ {
5652  public:
StyledString_Span()5653   inline StyledString_Span() : StyledString_Span(nullptr) {}
5654   ~StyledString_Span() override;
5655   explicit PROTOBUF_CONSTEXPR StyledString_Span(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
5656 
5657   StyledString_Span(const StyledString_Span& from);
StyledString_Span(StyledString_Span && from)5658   StyledString_Span(StyledString_Span&& from) noexcept
5659     : StyledString_Span() {
5660     *this = ::std::move(from);
5661   }
5662 
5663   inline StyledString_Span& operator=(const StyledString_Span& from) {
5664     if (this == &from) return *this;
5665     CopyFrom(from);
5666     return *this;
5667   }
5668   inline StyledString_Span& operator=(StyledString_Span&& from) noexcept {
5669     if (this == &from) return *this;
5670     if (GetOwningArena() == from.GetOwningArena()
5671   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
5672         && GetOwningArena() != nullptr
5673   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
5674     ) {
5675       InternalSwap(&from);
5676     } else {
5677       CopyFrom(from);
5678     }
5679     return *this;
5680   }
5681 
descriptor()5682   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
5683     return GetDescriptor();
5684   }
GetDescriptor()5685   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
5686     return default_instance().GetMetadata().descriptor;
5687   }
GetReflection()5688   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
5689     return default_instance().GetMetadata().reflection;
5690   }
default_instance()5691   static const StyledString_Span& default_instance() {
5692     return *internal_default_instance();
5693   }
internal_default_instance()5694   static inline const StyledString_Span* internal_default_instance() {
5695     return reinterpret_cast<const StyledString_Span*>(
5696                &_StyledString_Span_default_instance_);
5697   }
5698   static constexpr int kIndexInFileMessages =
5699     26;
5700 
swap(StyledString_Span & a,StyledString_Span & b)5701   friend void swap(StyledString_Span& a, StyledString_Span& b) {
5702     a.Swap(&b);
5703   }
Swap(StyledString_Span * other)5704   inline void Swap(StyledString_Span* other) {
5705     if (other == this) return;
5706   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
5707     if (GetOwningArena() != nullptr &&
5708         GetOwningArena() == other->GetOwningArena()) {
5709    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
5710     if (GetOwningArena() == other->GetOwningArena()) {
5711   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
5712       InternalSwap(other);
5713     } else {
5714       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5715     }
5716   }
5717   void UnsafeArenaSwap(StyledString_Span* other) {
5718     if (other == this) return;
5719     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5720     InternalSwap(other);
5721   }
5722 
5723   // implements Message ----------------------------------------------
5724 
5725   StyledString_Span* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5726     return CreateMaybeMessage<StyledString_Span>(arena);
5727   }
5728   StyledString_Span* New() const {
5729     return New(nullptr);
5730   }
5731   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
5732   void CopyFrom(const StyledString_Span& from);
5733   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
5734   void MergeFrom( const StyledString_Span& from) {
5735     StyledString_Span::MergeImpl(*this, from);
5736   }
5737   private:
5738   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
5739   public:
5740   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5741   bool IsInitialized() const final;
5742 
5743   size_t ByteSizeLong() const final;
5744   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5745   ::uint8_t* _InternalSerialize(
5746       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5747   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5748 
5749   private:
5750   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5751   void SharedDtor();
5752   void SetCachedSize(int size) const final;
5753   void InternalSwap(StyledString_Span* other);
5754 
5755   private:
5756   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5757   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5758     return "aapt.pb.StyledString.Span";
5759   }
5760   protected:
5761   explicit StyledString_Span(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5762                        bool is_message_owned = false);
5763   public:
5764 
5765   static const ClassData _class_data_;
5766   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
5767 
5768   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5769 
5770   // nested types ----------------------------------------------------
5771 
5772   // accessors -------------------------------------------------------
5773 
5774   enum : int {
5775     kTagFieldNumber = 1,
5776     kFirstCharFieldNumber = 2,
5777     kLastCharFieldNumber = 3,
5778   };
5779   // string tag = 1;
5780   void clear_tag();
5781   const std::string& tag() const;
5782   template <typename ArgT0 = const std::string&, typename... ArgT>
5783   void set_tag(ArgT0&& arg0, ArgT... args);
5784   std::string* mutable_tag();
5785   PROTOBUF_NODISCARD std::string* release_tag();
5786   void set_allocated_tag(std::string* tag);
5787   private:
5788   const std::string& _internal_tag() const;
5789   inline PROTOBUF_ALWAYS_INLINE void _internal_set_tag(const std::string& value);
5790   std::string* _internal_mutable_tag();
5791   public:
5792 
5793   // uint32 first_char = 2;
5794   void clear_first_char();
5795   ::uint32_t first_char() const;
5796   void set_first_char(::uint32_t value);
5797   private:
5798   ::uint32_t _internal_first_char() const;
5799   void _internal_set_first_char(::uint32_t value);
5800   public:
5801 
5802   // uint32 last_char = 3;
5803   void clear_last_char();
5804   ::uint32_t last_char() const;
5805   void set_last_char(::uint32_t value);
5806   private:
5807   ::uint32_t _internal_last_char() const;
5808   void _internal_set_last_char(::uint32_t value);
5809   public:
5810 
5811   // @@protoc_insertion_point(class_scope:aapt.pb.StyledString.Span)
5812  private:
5813   class _Internal;
5814 
5815   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5816   typedef void InternalArenaConstructable_;
5817   typedef void DestructorSkippable_;
5818   struct Impl_ {
5819     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_;
5820     ::uint32_t first_char_;
5821     ::uint32_t last_char_;
5822     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5823   };
5824   union { Impl_ _impl_; };
5825   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
5826 };
5827 // -------------------------------------------------------------------
5828 
5829 class StyledString final :
5830     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.StyledString) */ {
5831  public:
StyledString()5832   inline StyledString() : StyledString(nullptr) {}
5833   ~StyledString() override;
5834   explicit PROTOBUF_CONSTEXPR StyledString(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
5835 
5836   StyledString(const StyledString& from);
StyledString(StyledString && from)5837   StyledString(StyledString&& from) noexcept
5838     : StyledString() {
5839     *this = ::std::move(from);
5840   }
5841 
5842   inline StyledString& operator=(const StyledString& from) {
5843     if (this == &from) return *this;
5844     CopyFrom(from);
5845     return *this;
5846   }
5847   inline StyledString& operator=(StyledString&& from) noexcept {
5848     if (this == &from) return *this;
5849     if (GetOwningArena() == from.GetOwningArena()
5850   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
5851         && GetOwningArena() != nullptr
5852   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
5853     ) {
5854       InternalSwap(&from);
5855     } else {
5856       CopyFrom(from);
5857     }
5858     return *this;
5859   }
5860 
descriptor()5861   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
5862     return GetDescriptor();
5863   }
GetDescriptor()5864   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
5865     return default_instance().GetMetadata().descriptor;
5866   }
GetReflection()5867   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
5868     return default_instance().GetMetadata().reflection;
5869   }
default_instance()5870   static const StyledString& default_instance() {
5871     return *internal_default_instance();
5872   }
internal_default_instance()5873   static inline const StyledString* internal_default_instance() {
5874     return reinterpret_cast<const StyledString*>(
5875                &_StyledString_default_instance_);
5876   }
5877   static constexpr int kIndexInFileMessages =
5878     27;
5879 
swap(StyledString & a,StyledString & b)5880   friend void swap(StyledString& a, StyledString& b) {
5881     a.Swap(&b);
5882   }
Swap(StyledString * other)5883   inline void Swap(StyledString* other) {
5884     if (other == this) return;
5885   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
5886     if (GetOwningArena() != nullptr &&
5887         GetOwningArena() == other->GetOwningArena()) {
5888    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
5889     if (GetOwningArena() == other->GetOwningArena()) {
5890   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
5891       InternalSwap(other);
5892     } else {
5893       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5894     }
5895   }
5896   void UnsafeArenaSwap(StyledString* other) {
5897     if (other == this) return;
5898     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5899     InternalSwap(other);
5900   }
5901 
5902   // implements Message ----------------------------------------------
5903 
5904   StyledString* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
5905     return CreateMaybeMessage<StyledString>(arena);
5906   }
5907   StyledString* New() const {
5908     return New(nullptr);
5909   }
5910   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
5911   void CopyFrom(const StyledString& from);
5912   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
5913   void MergeFrom( const StyledString& from) {
5914     StyledString::MergeImpl(*this, from);
5915   }
5916   private:
5917   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
5918   public:
5919   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5920   bool IsInitialized() const final;
5921 
5922   size_t ByteSizeLong() const final;
5923   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5924   ::uint8_t* _InternalSerialize(
5925       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5926   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5927 
5928   private:
5929   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5930   void SharedDtor();
5931   void SetCachedSize(int size) const final;
5932   void InternalSwap(StyledString* other);
5933 
5934   private:
5935   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5936   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5937     return "aapt.pb.StyledString";
5938   }
5939   protected:
5940   explicit StyledString(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5941                        bool is_message_owned = false);
5942   public:
5943 
5944   static const ClassData _class_data_;
5945   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
5946 
5947   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
5948 
5949   // nested types ----------------------------------------------------
5950 
5951   typedef StyledString_Span Span;
5952 
5953   // accessors -------------------------------------------------------
5954 
5955   enum : int {
5956     kSpanFieldNumber = 2,
5957     kValueFieldNumber = 1,
5958   };
5959   // repeated .aapt.pb.StyledString.Span span = 2;
5960   int span_size() const;
5961   private:
5962   int _internal_span_size() const;
5963   public:
5964   void clear_span();
5965   ::aapt::pb::StyledString_Span* mutable_span(int index);
5966   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::StyledString_Span >*
5967       mutable_span();
5968   private:
5969   const ::aapt::pb::StyledString_Span& _internal_span(int index) const;
5970   ::aapt::pb::StyledString_Span* _internal_add_span();
5971   public:
5972   const ::aapt::pb::StyledString_Span& span(int index) const;
5973   ::aapt::pb::StyledString_Span* add_span();
5974   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::StyledString_Span >&
5975       span() const;
5976 
5977   // string value = 1;
5978   void clear_value();
5979   const std::string& value() const;
5980   template <typename ArgT0 = const std::string&, typename... ArgT>
5981   void set_value(ArgT0&& arg0, ArgT... args);
5982   std::string* mutable_value();
5983   PROTOBUF_NODISCARD std::string* release_value();
5984   void set_allocated_value(std::string* value);
5985   private:
5986   const std::string& _internal_value() const;
5987   inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value);
5988   std::string* _internal_mutable_value();
5989   public:
5990 
5991   // @@protoc_insertion_point(class_scope:aapt.pb.StyledString)
5992  private:
5993   class _Internal;
5994 
5995   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5996   typedef void InternalArenaConstructable_;
5997   typedef void DestructorSkippable_;
5998   struct Impl_ {
5999     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::StyledString_Span > span_;
6000     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
6001     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6002   };
6003   union { Impl_ _impl_; };
6004   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
6005 };
6006 // -------------------------------------------------------------------
6007 
6008 class FileReference final :
6009     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.FileReference) */ {
6010  public:
FileReference()6011   inline FileReference() : FileReference(nullptr) {}
6012   ~FileReference() override;
6013   explicit PROTOBUF_CONSTEXPR FileReference(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
6014 
6015   FileReference(const FileReference& from);
FileReference(FileReference && from)6016   FileReference(FileReference&& from) noexcept
6017     : FileReference() {
6018     *this = ::std::move(from);
6019   }
6020 
6021   inline FileReference& operator=(const FileReference& from) {
6022     if (this == &from) return *this;
6023     CopyFrom(from);
6024     return *this;
6025   }
6026   inline FileReference& operator=(FileReference&& from) noexcept {
6027     if (this == &from) return *this;
6028     if (GetOwningArena() == from.GetOwningArena()
6029   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
6030         && GetOwningArena() != nullptr
6031   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
6032     ) {
6033       InternalSwap(&from);
6034     } else {
6035       CopyFrom(from);
6036     }
6037     return *this;
6038   }
6039 
descriptor()6040   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
6041     return GetDescriptor();
6042   }
GetDescriptor()6043   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
6044     return default_instance().GetMetadata().descriptor;
6045   }
GetReflection()6046   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
6047     return default_instance().GetMetadata().reflection;
6048   }
default_instance()6049   static const FileReference& default_instance() {
6050     return *internal_default_instance();
6051   }
internal_default_instance()6052   static inline const FileReference* internal_default_instance() {
6053     return reinterpret_cast<const FileReference*>(
6054                &_FileReference_default_instance_);
6055   }
6056   static constexpr int kIndexInFileMessages =
6057     28;
6058 
swap(FileReference & a,FileReference & b)6059   friend void swap(FileReference& a, FileReference& b) {
6060     a.Swap(&b);
6061   }
Swap(FileReference * other)6062   inline void Swap(FileReference* other) {
6063     if (other == this) return;
6064   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
6065     if (GetOwningArena() != nullptr &&
6066         GetOwningArena() == other->GetOwningArena()) {
6067    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
6068     if (GetOwningArena() == other->GetOwningArena()) {
6069   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
6070       InternalSwap(other);
6071     } else {
6072       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6073     }
6074   }
6075   void UnsafeArenaSwap(FileReference* other) {
6076     if (other == this) return;
6077     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
6078     InternalSwap(other);
6079   }
6080 
6081   // implements Message ----------------------------------------------
6082 
6083   FileReference* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6084     return CreateMaybeMessage<FileReference>(arena);
6085   }
6086   FileReference* New() const {
6087     return New(nullptr);
6088   }
6089   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
6090   void CopyFrom(const FileReference& from);
6091   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
6092   void MergeFrom( const FileReference& from) {
6093     FileReference::MergeImpl(*this, from);
6094   }
6095   private:
6096   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
6097   public:
6098   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6099   bool IsInitialized() const final;
6100 
6101   size_t ByteSizeLong() const final;
6102   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6103   ::uint8_t* _InternalSerialize(
6104       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6105   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
6106 
6107   private:
6108   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
6109   void SharedDtor();
6110   void SetCachedSize(int size) const final;
6111   void InternalSwap(FileReference* other);
6112 
6113   private:
6114   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6115   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6116     return "aapt.pb.FileReference";
6117   }
6118   protected:
6119   explicit FileReference(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6120                        bool is_message_owned = false);
6121   public:
6122 
6123   static const ClassData _class_data_;
6124   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
6125 
6126   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
6127 
6128   // nested types ----------------------------------------------------
6129 
6130   typedef FileReference_Type Type;
6131   static constexpr Type UNKNOWN =
6132     FileReference_Type_UNKNOWN;
6133   static constexpr Type PNG =
6134     FileReference_Type_PNG;
6135   static constexpr Type BINARY_XML =
6136     FileReference_Type_BINARY_XML;
6137   static constexpr Type PROTO_XML =
6138     FileReference_Type_PROTO_XML;
6139   static inline bool Type_IsValid(int value) {
6140     return FileReference_Type_IsValid(value);
6141   }
6142   static constexpr Type Type_MIN =
6143     FileReference_Type_Type_MIN;
6144   static constexpr Type Type_MAX =
6145     FileReference_Type_Type_MAX;
6146   static constexpr int Type_ARRAYSIZE =
6147     FileReference_Type_Type_ARRAYSIZE;
6148   static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
6149   Type_descriptor() {
6150     return FileReference_Type_descriptor();
6151   }
6152   template<typename T>
6153   static inline const std::string& Type_Name(T enum_t_value) {
6154     static_assert(::std::is_same<T, Type>::value ||
6155       ::std::is_integral<T>::value,
6156       "Incorrect type passed to function Type_Name.");
6157     return FileReference_Type_Name(enum_t_value);
6158   }
6159   static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
6160       Type* value) {
6161     return FileReference_Type_Parse(name, value);
6162   }
6163 
6164   // accessors -------------------------------------------------------
6165 
6166   enum : int {
6167     kPathFieldNumber = 1,
6168     kTypeFieldNumber = 2,
6169   };
6170   // string path = 1;
6171   void clear_path();
6172   const std::string& path() const;
6173   template <typename ArgT0 = const std::string&, typename... ArgT>
6174   void set_path(ArgT0&& arg0, ArgT... args);
6175   std::string* mutable_path();
6176   PROTOBUF_NODISCARD std::string* release_path();
6177   void set_allocated_path(std::string* path);
6178   private:
6179   const std::string& _internal_path() const;
6180   inline PROTOBUF_ALWAYS_INLINE void _internal_set_path(const std::string& value);
6181   std::string* _internal_mutable_path();
6182   public:
6183 
6184   // .aapt.pb.FileReference.Type type = 2;
6185   void clear_type();
6186   ::aapt::pb::FileReference_Type type() const;
6187   void set_type(::aapt::pb::FileReference_Type value);
6188   private:
6189   ::aapt::pb::FileReference_Type _internal_type() const;
6190   void _internal_set_type(::aapt::pb::FileReference_Type value);
6191   public:
6192 
6193   // @@protoc_insertion_point(class_scope:aapt.pb.FileReference)
6194  private:
6195   class _Internal;
6196 
6197   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6198   typedef void InternalArenaConstructable_;
6199   typedef void DestructorSkippable_;
6200   struct Impl_ {
6201     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr path_;
6202     int type_;
6203     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6204   };
6205   union { Impl_ _impl_; };
6206   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
6207 };
6208 // -------------------------------------------------------------------
6209 
6210 class Primitive_NullType final :
6211     public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:aapt.pb.Primitive.NullType) */ {
6212  public:
Primitive_NullType()6213   inline Primitive_NullType() : Primitive_NullType(nullptr) {}
6214   explicit PROTOBUF_CONSTEXPR Primitive_NullType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
6215 
6216   Primitive_NullType(const Primitive_NullType& from);
Primitive_NullType(Primitive_NullType && from)6217   Primitive_NullType(Primitive_NullType&& from) noexcept
6218     : Primitive_NullType() {
6219     *this = ::std::move(from);
6220   }
6221 
6222   inline Primitive_NullType& operator=(const Primitive_NullType& from) {
6223     if (this == &from) return *this;
6224     CopyFrom(from);
6225     return *this;
6226   }
6227   inline Primitive_NullType& operator=(Primitive_NullType&& from) noexcept {
6228     if (this == &from) return *this;
6229     if (GetOwningArena() == from.GetOwningArena()
6230   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
6231         && GetOwningArena() != nullptr
6232   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
6233     ) {
6234       InternalSwap(&from);
6235     } else {
6236       CopyFrom(from);
6237     }
6238     return *this;
6239   }
6240 
descriptor()6241   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
6242     return GetDescriptor();
6243   }
GetDescriptor()6244   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
6245     return default_instance().GetMetadata().descriptor;
6246   }
GetReflection()6247   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
6248     return default_instance().GetMetadata().reflection;
6249   }
default_instance()6250   static const Primitive_NullType& default_instance() {
6251     return *internal_default_instance();
6252   }
internal_default_instance()6253   static inline const Primitive_NullType* internal_default_instance() {
6254     return reinterpret_cast<const Primitive_NullType*>(
6255                &_Primitive_NullType_default_instance_);
6256   }
6257   static constexpr int kIndexInFileMessages =
6258     29;
6259 
swap(Primitive_NullType & a,Primitive_NullType & b)6260   friend void swap(Primitive_NullType& a, Primitive_NullType& b) {
6261     a.Swap(&b);
6262   }
Swap(Primitive_NullType * other)6263   inline void Swap(Primitive_NullType* other) {
6264     if (other == this) return;
6265   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
6266     if (GetOwningArena() != nullptr &&
6267         GetOwningArena() == other->GetOwningArena()) {
6268    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
6269     if (GetOwningArena() == other->GetOwningArena()) {
6270   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
6271       InternalSwap(other);
6272     } else {
6273       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6274     }
6275   }
6276   void UnsafeArenaSwap(Primitive_NullType* other) {
6277     if (other == this) return;
6278     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
6279     InternalSwap(other);
6280   }
6281 
6282   // implements Message ----------------------------------------------
6283 
6284   Primitive_NullType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6285     return CreateMaybeMessage<Primitive_NullType>(arena);
6286   }
6287   Primitive_NullType* New() const {
6288     return New(nullptr);
6289   }
6290   using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
6291   inline void CopyFrom(const Primitive_NullType& from) {
6292     ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from);
6293   }
6294   using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
6295   void MergeFrom(const Primitive_NullType& from) {
6296     ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from);
6297   }
6298   public:
6299 
6300   private:
6301   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6302   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6303     return "aapt.pb.Primitive.NullType";
6304   }
6305   protected:
6306   explicit Primitive_NullType(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6307                        bool is_message_owned = false);
6308   public:
6309 
6310   static const ClassData _class_data_;
6311   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
6312 
6313   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
6314 
6315   // nested types ----------------------------------------------------
6316 
6317   // accessors -------------------------------------------------------
6318 
6319   // @@protoc_insertion_point(class_scope:aapt.pb.Primitive.NullType)
6320  private:
6321   class _Internal;
6322 
6323   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6324   typedef void InternalArenaConstructable_;
6325   typedef void DestructorSkippable_;
6326   struct Impl_ {
6327   };
6328   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
6329 };
6330 // -------------------------------------------------------------------
6331 
6332 class Primitive_EmptyType final :
6333     public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:aapt.pb.Primitive.EmptyType) */ {
6334  public:
Primitive_EmptyType()6335   inline Primitive_EmptyType() : Primitive_EmptyType(nullptr) {}
6336   explicit PROTOBUF_CONSTEXPR Primitive_EmptyType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
6337 
6338   Primitive_EmptyType(const Primitive_EmptyType& from);
Primitive_EmptyType(Primitive_EmptyType && from)6339   Primitive_EmptyType(Primitive_EmptyType&& from) noexcept
6340     : Primitive_EmptyType() {
6341     *this = ::std::move(from);
6342   }
6343 
6344   inline Primitive_EmptyType& operator=(const Primitive_EmptyType& from) {
6345     if (this == &from) return *this;
6346     CopyFrom(from);
6347     return *this;
6348   }
6349   inline Primitive_EmptyType& operator=(Primitive_EmptyType&& from) noexcept {
6350     if (this == &from) return *this;
6351     if (GetOwningArena() == from.GetOwningArena()
6352   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
6353         && GetOwningArena() != nullptr
6354   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
6355     ) {
6356       InternalSwap(&from);
6357     } else {
6358       CopyFrom(from);
6359     }
6360     return *this;
6361   }
6362 
descriptor()6363   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
6364     return GetDescriptor();
6365   }
GetDescriptor()6366   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
6367     return default_instance().GetMetadata().descriptor;
6368   }
GetReflection()6369   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
6370     return default_instance().GetMetadata().reflection;
6371   }
default_instance()6372   static const Primitive_EmptyType& default_instance() {
6373     return *internal_default_instance();
6374   }
internal_default_instance()6375   static inline const Primitive_EmptyType* internal_default_instance() {
6376     return reinterpret_cast<const Primitive_EmptyType*>(
6377                &_Primitive_EmptyType_default_instance_);
6378   }
6379   static constexpr int kIndexInFileMessages =
6380     30;
6381 
swap(Primitive_EmptyType & a,Primitive_EmptyType & b)6382   friend void swap(Primitive_EmptyType& a, Primitive_EmptyType& b) {
6383     a.Swap(&b);
6384   }
Swap(Primitive_EmptyType * other)6385   inline void Swap(Primitive_EmptyType* other) {
6386     if (other == this) return;
6387   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
6388     if (GetOwningArena() != nullptr &&
6389         GetOwningArena() == other->GetOwningArena()) {
6390    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
6391     if (GetOwningArena() == other->GetOwningArena()) {
6392   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
6393       InternalSwap(other);
6394     } else {
6395       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6396     }
6397   }
6398   void UnsafeArenaSwap(Primitive_EmptyType* other) {
6399     if (other == this) return;
6400     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
6401     InternalSwap(other);
6402   }
6403 
6404   // implements Message ----------------------------------------------
6405 
6406   Primitive_EmptyType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6407     return CreateMaybeMessage<Primitive_EmptyType>(arena);
6408   }
6409   Primitive_EmptyType* New() const {
6410     return New(nullptr);
6411   }
6412   using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
6413   inline void CopyFrom(const Primitive_EmptyType& from) {
6414     ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(*this, from);
6415   }
6416   using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
6417   void MergeFrom(const Primitive_EmptyType& from) {
6418     ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(*this, from);
6419   }
6420   public:
6421 
6422   private:
6423   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6424   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6425     return "aapt.pb.Primitive.EmptyType";
6426   }
6427   protected:
6428   explicit Primitive_EmptyType(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6429                        bool is_message_owned = false);
6430   public:
6431 
6432   static const ClassData _class_data_;
6433   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
6434 
6435   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
6436 
6437   // nested types ----------------------------------------------------
6438 
6439   // accessors -------------------------------------------------------
6440 
6441   // @@protoc_insertion_point(class_scope:aapt.pb.Primitive.EmptyType)
6442  private:
6443   class _Internal;
6444 
6445   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6446   typedef void InternalArenaConstructable_;
6447   typedef void DestructorSkippable_;
6448   struct Impl_ {
6449   };
6450   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
6451 };
6452 // -------------------------------------------------------------------
6453 
6454 class Primitive final :
6455     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Primitive) */ {
6456  public:
Primitive()6457   inline Primitive() : Primitive(nullptr) {}
6458   ~Primitive() override;
6459   explicit PROTOBUF_CONSTEXPR Primitive(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
6460 
6461   Primitive(const Primitive& from);
Primitive(Primitive && from)6462   Primitive(Primitive&& from) noexcept
6463     : Primitive() {
6464     *this = ::std::move(from);
6465   }
6466 
6467   inline Primitive& operator=(const Primitive& from) {
6468     if (this == &from) return *this;
6469     CopyFrom(from);
6470     return *this;
6471   }
6472   inline Primitive& operator=(Primitive&& from) noexcept {
6473     if (this == &from) return *this;
6474     if (GetOwningArena() == from.GetOwningArena()
6475   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
6476         && GetOwningArena() != nullptr
6477   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
6478     ) {
6479       InternalSwap(&from);
6480     } else {
6481       CopyFrom(from);
6482     }
6483     return *this;
6484   }
6485 
descriptor()6486   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
6487     return GetDescriptor();
6488   }
GetDescriptor()6489   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
6490     return default_instance().GetMetadata().descriptor;
6491   }
GetReflection()6492   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
6493     return default_instance().GetMetadata().reflection;
6494   }
default_instance()6495   static const Primitive& default_instance() {
6496     return *internal_default_instance();
6497   }
6498   enum OneofValueCase {
6499     kNullValue = 1,
6500     kEmptyValue = 2,
6501     kFloatValue = 3,
6502     kDimensionValue = 13,
6503     kFractionValue = 14,
6504     kIntDecimalValue = 6,
6505     kIntHexadecimalValue = 7,
6506     kBooleanValue = 8,
6507     kColorArgb8Value = 9,
6508     kColorRgb8Value = 10,
6509     kColorArgb4Value = 11,
6510     kColorRgb4Value = 12,
6511     kDimensionValueDeprecated = 4,
6512     kFractionValueDeprecated = 5,
6513     ONEOF_VALUE_NOT_SET = 0,
6514   };
6515 
internal_default_instance()6516   static inline const Primitive* internal_default_instance() {
6517     return reinterpret_cast<const Primitive*>(
6518                &_Primitive_default_instance_);
6519   }
6520   static constexpr int kIndexInFileMessages =
6521     31;
6522 
swap(Primitive & a,Primitive & b)6523   friend void swap(Primitive& a, Primitive& b) {
6524     a.Swap(&b);
6525   }
Swap(Primitive * other)6526   inline void Swap(Primitive* other) {
6527     if (other == this) return;
6528   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
6529     if (GetOwningArena() != nullptr &&
6530         GetOwningArena() == other->GetOwningArena()) {
6531    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
6532     if (GetOwningArena() == other->GetOwningArena()) {
6533   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
6534       InternalSwap(other);
6535     } else {
6536       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6537     }
6538   }
6539   void UnsafeArenaSwap(Primitive* other) {
6540     if (other == this) return;
6541     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
6542     InternalSwap(other);
6543   }
6544 
6545   // implements Message ----------------------------------------------
6546 
6547   Primitive* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6548     return CreateMaybeMessage<Primitive>(arena);
6549   }
6550   Primitive* New() const {
6551     return New(nullptr);
6552   }
6553   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
6554   void CopyFrom(const Primitive& from);
6555   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
6556   void MergeFrom( const Primitive& from) {
6557     Primitive::MergeImpl(*this, from);
6558   }
6559   private:
6560   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
6561   public:
6562   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6563   bool IsInitialized() const final;
6564 
6565   size_t ByteSizeLong() const final;
6566   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6567   ::uint8_t* _InternalSerialize(
6568       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6569   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
6570 
6571   private:
6572   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
6573   void SharedDtor();
6574   void SetCachedSize(int size) const final;
6575   void InternalSwap(Primitive* other);
6576 
6577   private:
6578   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6579   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6580     return "aapt.pb.Primitive";
6581   }
6582   protected:
6583   explicit Primitive(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6584                        bool is_message_owned = false);
6585   public:
6586 
6587   static const ClassData _class_data_;
6588   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
6589 
6590   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
6591 
6592   // nested types ----------------------------------------------------
6593 
6594   typedef Primitive_NullType NullType;
6595   typedef Primitive_EmptyType EmptyType;
6596 
6597   // accessors -------------------------------------------------------
6598 
6599   enum : int {
6600     kNullValueFieldNumber = 1,
6601     kEmptyValueFieldNumber = 2,
6602     kFloatValueFieldNumber = 3,
6603     kDimensionValueFieldNumber = 13,
6604     kFractionValueFieldNumber = 14,
6605     kIntDecimalValueFieldNumber = 6,
6606     kIntHexadecimalValueFieldNumber = 7,
6607     kBooleanValueFieldNumber = 8,
6608     kColorArgb8ValueFieldNumber = 9,
6609     kColorRgb8ValueFieldNumber = 10,
6610     kColorArgb4ValueFieldNumber = 11,
6611     kColorRgb4ValueFieldNumber = 12,
6612     kDimensionValueDeprecatedFieldNumber = 4,
6613     kFractionValueDeprecatedFieldNumber = 5,
6614   };
6615   // .aapt.pb.Primitive.NullType null_value = 1;
6616   bool has_null_value() const;
6617   private:
6618   bool _internal_has_null_value() const;
6619   public:
6620   void clear_null_value();
6621   const ::aapt::pb::Primitive_NullType& null_value() const;
6622   PROTOBUF_NODISCARD ::aapt::pb::Primitive_NullType* release_null_value();
6623   ::aapt::pb::Primitive_NullType* mutable_null_value();
6624   void set_allocated_null_value(::aapt::pb::Primitive_NullType* null_value);
6625   private:
6626   const ::aapt::pb::Primitive_NullType& _internal_null_value() const;
6627   ::aapt::pb::Primitive_NullType* _internal_mutable_null_value();
6628   public:
6629   void unsafe_arena_set_allocated_null_value(
6630       ::aapt::pb::Primitive_NullType* null_value);
6631   ::aapt::pb::Primitive_NullType* unsafe_arena_release_null_value();
6632 
6633   // .aapt.pb.Primitive.EmptyType empty_value = 2;
6634   bool has_empty_value() const;
6635   private:
6636   bool _internal_has_empty_value() const;
6637   public:
6638   void clear_empty_value();
6639   const ::aapt::pb::Primitive_EmptyType& empty_value() const;
6640   PROTOBUF_NODISCARD ::aapt::pb::Primitive_EmptyType* release_empty_value();
6641   ::aapt::pb::Primitive_EmptyType* mutable_empty_value();
6642   void set_allocated_empty_value(::aapt::pb::Primitive_EmptyType* empty_value);
6643   private:
6644   const ::aapt::pb::Primitive_EmptyType& _internal_empty_value() const;
6645   ::aapt::pb::Primitive_EmptyType* _internal_mutable_empty_value();
6646   public:
6647   void unsafe_arena_set_allocated_empty_value(
6648       ::aapt::pb::Primitive_EmptyType* empty_value);
6649   ::aapt::pb::Primitive_EmptyType* unsafe_arena_release_empty_value();
6650 
6651   // float float_value = 3;
6652   bool has_float_value() const;
6653   private:
6654   bool _internal_has_float_value() const;
6655   public:
6656   void clear_float_value();
6657   float float_value() const;
6658   void set_float_value(float value);
6659   private:
6660   float _internal_float_value() const;
6661   void _internal_set_float_value(float value);
6662   public:
6663 
6664   // uint32 dimension_value = 13;
6665   bool has_dimension_value() const;
6666   private:
6667   bool _internal_has_dimension_value() const;
6668   public:
6669   void clear_dimension_value();
6670   ::uint32_t dimension_value() const;
6671   void set_dimension_value(::uint32_t value);
6672   private:
6673   ::uint32_t _internal_dimension_value() const;
6674   void _internal_set_dimension_value(::uint32_t value);
6675   public:
6676 
6677   // uint32 fraction_value = 14;
6678   bool has_fraction_value() const;
6679   private:
6680   bool _internal_has_fraction_value() const;
6681   public:
6682   void clear_fraction_value();
6683   ::uint32_t fraction_value() const;
6684   void set_fraction_value(::uint32_t value);
6685   private:
6686   ::uint32_t _internal_fraction_value() const;
6687   void _internal_set_fraction_value(::uint32_t value);
6688   public:
6689 
6690   // int32 int_decimal_value = 6;
6691   bool has_int_decimal_value() const;
6692   private:
6693   bool _internal_has_int_decimal_value() const;
6694   public:
6695   void clear_int_decimal_value();
6696   ::int32_t int_decimal_value() const;
6697   void set_int_decimal_value(::int32_t value);
6698   private:
6699   ::int32_t _internal_int_decimal_value() const;
6700   void _internal_set_int_decimal_value(::int32_t value);
6701   public:
6702 
6703   // uint32 int_hexadecimal_value = 7;
6704   bool has_int_hexadecimal_value() const;
6705   private:
6706   bool _internal_has_int_hexadecimal_value() const;
6707   public:
6708   void clear_int_hexadecimal_value();
6709   ::uint32_t int_hexadecimal_value() const;
6710   void set_int_hexadecimal_value(::uint32_t value);
6711   private:
6712   ::uint32_t _internal_int_hexadecimal_value() const;
6713   void _internal_set_int_hexadecimal_value(::uint32_t value);
6714   public:
6715 
6716   // bool boolean_value = 8;
6717   bool has_boolean_value() const;
6718   private:
6719   bool _internal_has_boolean_value() const;
6720   public:
6721   void clear_boolean_value();
6722   bool boolean_value() const;
6723   void set_boolean_value(bool value);
6724   private:
6725   bool _internal_boolean_value() const;
6726   void _internal_set_boolean_value(bool value);
6727   public:
6728 
6729   // uint32 color_argb8_value = 9;
6730   bool has_color_argb8_value() const;
6731   private:
6732   bool _internal_has_color_argb8_value() const;
6733   public:
6734   void clear_color_argb8_value();
6735   ::uint32_t color_argb8_value() const;
6736   void set_color_argb8_value(::uint32_t value);
6737   private:
6738   ::uint32_t _internal_color_argb8_value() const;
6739   void _internal_set_color_argb8_value(::uint32_t value);
6740   public:
6741 
6742   // uint32 color_rgb8_value = 10;
6743   bool has_color_rgb8_value() const;
6744   private:
6745   bool _internal_has_color_rgb8_value() const;
6746   public:
6747   void clear_color_rgb8_value();
6748   ::uint32_t color_rgb8_value() const;
6749   void set_color_rgb8_value(::uint32_t value);
6750   private:
6751   ::uint32_t _internal_color_rgb8_value() const;
6752   void _internal_set_color_rgb8_value(::uint32_t value);
6753   public:
6754 
6755   // uint32 color_argb4_value = 11;
6756   bool has_color_argb4_value() const;
6757   private:
6758   bool _internal_has_color_argb4_value() const;
6759   public:
6760   void clear_color_argb4_value();
6761   ::uint32_t color_argb4_value() const;
6762   void set_color_argb4_value(::uint32_t value);
6763   private:
6764   ::uint32_t _internal_color_argb4_value() const;
6765   void _internal_set_color_argb4_value(::uint32_t value);
6766   public:
6767 
6768   // uint32 color_rgb4_value = 12;
6769   bool has_color_rgb4_value() const;
6770   private:
6771   bool _internal_has_color_rgb4_value() const;
6772   public:
6773   void clear_color_rgb4_value();
6774   ::uint32_t color_rgb4_value() const;
6775   void set_color_rgb4_value(::uint32_t value);
6776   private:
6777   ::uint32_t _internal_color_rgb4_value() const;
6778   void _internal_set_color_rgb4_value(::uint32_t value);
6779   public:
6780 
6781   // float dimension_value_deprecated = 4 [deprecated = true];
6782   PROTOBUF_DEPRECATED bool has_dimension_value_deprecated() const;
6783   private:
6784   bool _internal_has_dimension_value_deprecated() const;
6785   public:
6786   PROTOBUF_DEPRECATED void clear_dimension_value_deprecated();
6787   PROTOBUF_DEPRECATED float dimension_value_deprecated() const;
6788   PROTOBUF_DEPRECATED void set_dimension_value_deprecated(float value);
6789   private:
6790   float _internal_dimension_value_deprecated() const;
6791   void _internal_set_dimension_value_deprecated(float value);
6792   public:
6793 
6794   // float fraction_value_deprecated = 5 [deprecated = true];
6795   PROTOBUF_DEPRECATED bool has_fraction_value_deprecated() const;
6796   private:
6797   bool _internal_has_fraction_value_deprecated() const;
6798   public:
6799   PROTOBUF_DEPRECATED void clear_fraction_value_deprecated();
6800   PROTOBUF_DEPRECATED float fraction_value_deprecated() const;
6801   PROTOBUF_DEPRECATED void set_fraction_value_deprecated(float value);
6802   private:
6803   float _internal_fraction_value_deprecated() const;
6804   void _internal_set_fraction_value_deprecated(float value);
6805   public:
6806 
6807   void clear_oneof_value();
6808   OneofValueCase oneof_value_case() const;
6809   // @@protoc_insertion_point(class_scope:aapt.pb.Primitive)
6810  private:
6811   class _Internal;
6812   void set_has_null_value();
6813   void set_has_empty_value();
6814   void set_has_float_value();
6815   void set_has_dimension_value();
6816   void set_has_fraction_value();
6817   void set_has_int_decimal_value();
6818   void set_has_int_hexadecimal_value();
6819   void set_has_boolean_value();
6820   void set_has_color_argb8_value();
6821   void set_has_color_rgb8_value();
6822   void set_has_color_argb4_value();
6823   void set_has_color_rgb4_value();
6824   void set_has_dimension_value_deprecated();
6825   void set_has_fraction_value_deprecated();
6826 
6827   inline bool has_oneof_value() const;
6828   inline void clear_has_oneof_value();
6829 
6830   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6831   typedef void InternalArenaConstructable_;
6832   typedef void DestructorSkippable_;
6833   struct Impl_ {
6834     union OneofValueUnion {
6835       constexpr OneofValueUnion() : _constinit_{} {}
6836         ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
6837       ::aapt::pb::Primitive_NullType* null_value_;
6838       ::aapt::pb::Primitive_EmptyType* empty_value_;
6839       float float_value_;
6840       ::uint32_t dimension_value_;
6841       ::uint32_t fraction_value_;
6842       ::int32_t int_decimal_value_;
6843       ::uint32_t int_hexadecimal_value_;
6844       bool boolean_value_;
6845       ::uint32_t color_argb8_value_;
6846       ::uint32_t color_rgb8_value_;
6847       ::uint32_t color_argb4_value_;
6848       ::uint32_t color_rgb4_value_;
6849       float dimension_value_deprecated_;
6850       float fraction_value_deprecated_;
6851     } oneof_value_;
6852     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6853     ::uint32_t _oneof_case_[1];
6854 
6855   };
6856   union { Impl_ _impl_; };
6857   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
6858 };
6859 // -------------------------------------------------------------------
6860 
6861 class Attribute_Symbol final :
6862     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Attribute.Symbol) */ {
6863  public:
Attribute_Symbol()6864   inline Attribute_Symbol() : Attribute_Symbol(nullptr) {}
6865   ~Attribute_Symbol() override;
6866   explicit PROTOBUF_CONSTEXPR Attribute_Symbol(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
6867 
6868   Attribute_Symbol(const Attribute_Symbol& from);
Attribute_Symbol(Attribute_Symbol && from)6869   Attribute_Symbol(Attribute_Symbol&& from) noexcept
6870     : Attribute_Symbol() {
6871     *this = ::std::move(from);
6872   }
6873 
6874   inline Attribute_Symbol& operator=(const Attribute_Symbol& from) {
6875     if (this == &from) return *this;
6876     CopyFrom(from);
6877     return *this;
6878   }
6879   inline Attribute_Symbol& operator=(Attribute_Symbol&& from) noexcept {
6880     if (this == &from) return *this;
6881     if (GetOwningArena() == from.GetOwningArena()
6882   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
6883         && GetOwningArena() != nullptr
6884   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
6885     ) {
6886       InternalSwap(&from);
6887     } else {
6888       CopyFrom(from);
6889     }
6890     return *this;
6891   }
6892 
descriptor()6893   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
6894     return GetDescriptor();
6895   }
GetDescriptor()6896   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
6897     return default_instance().GetMetadata().descriptor;
6898   }
GetReflection()6899   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
6900     return default_instance().GetMetadata().reflection;
6901   }
default_instance()6902   static const Attribute_Symbol& default_instance() {
6903     return *internal_default_instance();
6904   }
internal_default_instance()6905   static inline const Attribute_Symbol* internal_default_instance() {
6906     return reinterpret_cast<const Attribute_Symbol*>(
6907                &_Attribute_Symbol_default_instance_);
6908   }
6909   static constexpr int kIndexInFileMessages =
6910     32;
6911 
swap(Attribute_Symbol & a,Attribute_Symbol & b)6912   friend void swap(Attribute_Symbol& a, Attribute_Symbol& b) {
6913     a.Swap(&b);
6914   }
Swap(Attribute_Symbol * other)6915   inline void Swap(Attribute_Symbol* other) {
6916     if (other == this) return;
6917   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
6918     if (GetOwningArena() != nullptr &&
6919         GetOwningArena() == other->GetOwningArena()) {
6920    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
6921     if (GetOwningArena() == other->GetOwningArena()) {
6922   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
6923       InternalSwap(other);
6924     } else {
6925       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6926     }
6927   }
6928   void UnsafeArenaSwap(Attribute_Symbol* other) {
6929     if (other == this) return;
6930     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
6931     InternalSwap(other);
6932   }
6933 
6934   // implements Message ----------------------------------------------
6935 
6936   Attribute_Symbol* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
6937     return CreateMaybeMessage<Attribute_Symbol>(arena);
6938   }
6939   Attribute_Symbol* New() const {
6940     return New(nullptr);
6941   }
6942   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
6943   void CopyFrom(const Attribute_Symbol& from);
6944   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
6945   void MergeFrom( const Attribute_Symbol& from) {
6946     Attribute_Symbol::MergeImpl(*this, from);
6947   }
6948   private:
6949   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
6950   public:
6951   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6952   bool IsInitialized() const final;
6953 
6954   size_t ByteSizeLong() const final;
6955   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6956   ::uint8_t* _InternalSerialize(
6957       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6958   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
6959 
6960   private:
6961   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
6962   void SharedDtor();
6963   void SetCachedSize(int size) const final;
6964   void InternalSwap(Attribute_Symbol* other);
6965 
6966   private:
6967   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6968   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6969     return "aapt.pb.Attribute.Symbol";
6970   }
6971   protected:
6972   explicit Attribute_Symbol(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6973                        bool is_message_owned = false);
6974   public:
6975 
6976   static const ClassData _class_data_;
6977   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
6978 
6979   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
6980 
6981   // nested types ----------------------------------------------------
6982 
6983   // accessors -------------------------------------------------------
6984 
6985   enum : int {
6986     kCommentFieldNumber = 2,
6987     kSourceFieldNumber = 1,
6988     kNameFieldNumber = 3,
6989     kValueFieldNumber = 4,
6990     kTypeFieldNumber = 5,
6991   };
6992   // string comment = 2;
6993   void clear_comment();
6994   const std::string& comment() const;
6995   template <typename ArgT0 = const std::string&, typename... ArgT>
6996   void set_comment(ArgT0&& arg0, ArgT... args);
6997   std::string* mutable_comment();
6998   PROTOBUF_NODISCARD std::string* release_comment();
6999   void set_allocated_comment(std::string* comment);
7000   private:
7001   const std::string& _internal_comment() const;
7002   inline PROTOBUF_ALWAYS_INLINE void _internal_set_comment(const std::string& value);
7003   std::string* _internal_mutable_comment();
7004   public:
7005 
7006   // .aapt.pb.Source source = 1;
7007   bool has_source() const;
7008   private:
7009   bool _internal_has_source() const;
7010   public:
7011   void clear_source();
7012   const ::aapt::pb::Source& source() const;
7013   PROTOBUF_NODISCARD ::aapt::pb::Source* release_source();
7014   ::aapt::pb::Source* mutable_source();
7015   void set_allocated_source(::aapt::pb::Source* source);
7016   private:
7017   const ::aapt::pb::Source& _internal_source() const;
7018   ::aapt::pb::Source* _internal_mutable_source();
7019   public:
7020   void unsafe_arena_set_allocated_source(
7021       ::aapt::pb::Source* source);
7022   ::aapt::pb::Source* unsafe_arena_release_source();
7023 
7024   // .aapt.pb.Reference name = 3;
7025   bool has_name() const;
7026   private:
7027   bool _internal_has_name() const;
7028   public:
7029   void clear_name();
7030   const ::aapt::pb::Reference& name() const;
7031   PROTOBUF_NODISCARD ::aapt::pb::Reference* release_name();
7032   ::aapt::pb::Reference* mutable_name();
7033   void set_allocated_name(::aapt::pb::Reference* name);
7034   private:
7035   const ::aapt::pb::Reference& _internal_name() const;
7036   ::aapt::pb::Reference* _internal_mutable_name();
7037   public:
7038   void unsafe_arena_set_allocated_name(
7039       ::aapt::pb::Reference* name);
7040   ::aapt::pb::Reference* unsafe_arena_release_name();
7041 
7042   // uint32 value = 4;
7043   void clear_value();
7044   ::uint32_t value() const;
7045   void set_value(::uint32_t value);
7046   private:
7047   ::uint32_t _internal_value() const;
7048   void _internal_set_value(::uint32_t value);
7049   public:
7050 
7051   // uint32 type = 5;
7052   void clear_type();
7053   ::uint32_t type() const;
7054   void set_type(::uint32_t value);
7055   private:
7056   ::uint32_t _internal_type() const;
7057   void _internal_set_type(::uint32_t value);
7058   public:
7059 
7060   // @@protoc_insertion_point(class_scope:aapt.pb.Attribute.Symbol)
7061  private:
7062   class _Internal;
7063 
7064   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
7065   typedef void InternalArenaConstructable_;
7066   typedef void DestructorSkippable_;
7067   struct Impl_ {
7068     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
7069     ::aapt::pb::Source* source_;
7070     ::aapt::pb::Reference* name_;
7071     ::uint32_t value_;
7072     ::uint32_t type_;
7073     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
7074   };
7075   union { Impl_ _impl_; };
7076   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
7077 };
7078 // -------------------------------------------------------------------
7079 
7080 class Attribute final :
7081     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Attribute) */ {
7082  public:
Attribute()7083   inline Attribute() : Attribute(nullptr) {}
7084   ~Attribute() override;
7085   explicit PROTOBUF_CONSTEXPR Attribute(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
7086 
7087   Attribute(const Attribute& from);
Attribute(Attribute && from)7088   Attribute(Attribute&& from) noexcept
7089     : Attribute() {
7090     *this = ::std::move(from);
7091   }
7092 
7093   inline Attribute& operator=(const Attribute& from) {
7094     if (this == &from) return *this;
7095     CopyFrom(from);
7096     return *this;
7097   }
7098   inline Attribute& operator=(Attribute&& from) noexcept {
7099     if (this == &from) return *this;
7100     if (GetOwningArena() == from.GetOwningArena()
7101   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
7102         && GetOwningArena() != nullptr
7103   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
7104     ) {
7105       InternalSwap(&from);
7106     } else {
7107       CopyFrom(from);
7108     }
7109     return *this;
7110   }
7111 
descriptor()7112   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
7113     return GetDescriptor();
7114   }
GetDescriptor()7115   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
7116     return default_instance().GetMetadata().descriptor;
7117   }
GetReflection()7118   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
7119     return default_instance().GetMetadata().reflection;
7120   }
default_instance()7121   static const Attribute& default_instance() {
7122     return *internal_default_instance();
7123   }
internal_default_instance()7124   static inline const Attribute* internal_default_instance() {
7125     return reinterpret_cast<const Attribute*>(
7126                &_Attribute_default_instance_);
7127   }
7128   static constexpr int kIndexInFileMessages =
7129     33;
7130 
swap(Attribute & a,Attribute & b)7131   friend void swap(Attribute& a, Attribute& b) {
7132     a.Swap(&b);
7133   }
Swap(Attribute * other)7134   inline void Swap(Attribute* other) {
7135     if (other == this) return;
7136   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
7137     if (GetOwningArena() != nullptr &&
7138         GetOwningArena() == other->GetOwningArena()) {
7139    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
7140     if (GetOwningArena() == other->GetOwningArena()) {
7141   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
7142       InternalSwap(other);
7143     } else {
7144       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
7145     }
7146   }
7147   void UnsafeArenaSwap(Attribute* other) {
7148     if (other == this) return;
7149     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
7150     InternalSwap(other);
7151   }
7152 
7153   // implements Message ----------------------------------------------
7154 
7155   Attribute* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
7156     return CreateMaybeMessage<Attribute>(arena);
7157   }
7158   Attribute* New() const {
7159     return New(nullptr);
7160   }
7161   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
7162   void CopyFrom(const Attribute& from);
7163   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
7164   void MergeFrom( const Attribute& from) {
7165     Attribute::MergeImpl(*this, from);
7166   }
7167   private:
7168   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
7169   public:
7170   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
7171   bool IsInitialized() const final;
7172 
7173   size_t ByteSizeLong() const final;
7174   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
7175   ::uint8_t* _InternalSerialize(
7176       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
7177   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
7178 
7179   private:
7180   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
7181   void SharedDtor();
7182   void SetCachedSize(int size) const final;
7183   void InternalSwap(Attribute* other);
7184 
7185   private:
7186   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
7187   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
7188     return "aapt.pb.Attribute";
7189   }
7190   protected:
7191   explicit Attribute(::PROTOBUF_NAMESPACE_ID::Arena* arena,
7192                        bool is_message_owned = false);
7193   public:
7194 
7195   static const ClassData _class_data_;
7196   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
7197 
7198   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
7199 
7200   // nested types ----------------------------------------------------
7201 
7202   typedef Attribute_Symbol Symbol;
7203 
7204   typedef Attribute_FormatFlags FormatFlags;
7205   static constexpr FormatFlags NONE =
7206     Attribute_FormatFlags_NONE;
7207   static constexpr FormatFlags ANY =
7208     Attribute_FormatFlags_ANY;
7209   static constexpr FormatFlags REFERENCE =
7210     Attribute_FormatFlags_REFERENCE;
7211   static constexpr FormatFlags STRING =
7212     Attribute_FormatFlags_STRING;
7213   static constexpr FormatFlags INTEGER =
7214     Attribute_FormatFlags_INTEGER;
7215   static constexpr FormatFlags BOOLEAN =
7216     Attribute_FormatFlags_BOOLEAN;
7217   static constexpr FormatFlags COLOR =
7218     Attribute_FormatFlags_COLOR;
7219   static constexpr FormatFlags FLOAT =
7220     Attribute_FormatFlags_FLOAT;
7221   static constexpr FormatFlags DIMENSION =
7222     Attribute_FormatFlags_DIMENSION;
7223   static constexpr FormatFlags FRACTION =
7224     Attribute_FormatFlags_FRACTION;
7225   static constexpr FormatFlags ENUM =
7226     Attribute_FormatFlags_ENUM;
7227   static constexpr FormatFlags FLAGS =
7228     Attribute_FormatFlags_FLAGS;
7229   static inline bool FormatFlags_IsValid(int value) {
7230     return Attribute_FormatFlags_IsValid(value);
7231   }
7232   static constexpr FormatFlags FormatFlags_MIN =
7233     Attribute_FormatFlags_FormatFlags_MIN;
7234   static constexpr FormatFlags FormatFlags_MAX =
7235     Attribute_FormatFlags_FormatFlags_MAX;
7236   static constexpr int FormatFlags_ARRAYSIZE =
7237     Attribute_FormatFlags_FormatFlags_ARRAYSIZE;
7238   static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
7239   FormatFlags_descriptor() {
7240     return Attribute_FormatFlags_descriptor();
7241   }
7242   template<typename T>
7243   static inline const std::string& FormatFlags_Name(T enum_t_value) {
7244     static_assert(::std::is_same<T, FormatFlags>::value ||
7245       ::std::is_integral<T>::value,
7246       "Incorrect type passed to function FormatFlags_Name.");
7247     return Attribute_FormatFlags_Name(enum_t_value);
7248   }
7249   static inline bool FormatFlags_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
7250       FormatFlags* value) {
7251     return Attribute_FormatFlags_Parse(name, value);
7252   }
7253 
7254   // accessors -------------------------------------------------------
7255 
7256   enum : int {
7257     kSymbolFieldNumber = 4,
7258     kFormatFlagsFieldNumber = 1,
7259     kMinIntFieldNumber = 2,
7260     kMaxIntFieldNumber = 3,
7261   };
7262   // repeated .aapt.pb.Attribute.Symbol symbol = 4;
7263   int symbol_size() const;
7264   private:
7265   int _internal_symbol_size() const;
7266   public:
7267   void clear_symbol();
7268   ::aapt::pb::Attribute_Symbol* mutable_symbol(int index);
7269   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Attribute_Symbol >*
7270       mutable_symbol();
7271   private:
7272   const ::aapt::pb::Attribute_Symbol& _internal_symbol(int index) const;
7273   ::aapt::pb::Attribute_Symbol* _internal_add_symbol();
7274   public:
7275   const ::aapt::pb::Attribute_Symbol& symbol(int index) const;
7276   ::aapt::pb::Attribute_Symbol* add_symbol();
7277   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Attribute_Symbol >&
7278       symbol() const;
7279 
7280   // uint32 format_flags = 1;
7281   void clear_format_flags();
7282   ::uint32_t format_flags() const;
7283   void set_format_flags(::uint32_t value);
7284   private:
7285   ::uint32_t _internal_format_flags() const;
7286   void _internal_set_format_flags(::uint32_t value);
7287   public:
7288 
7289   // int32 min_int = 2;
7290   void clear_min_int();
7291   ::int32_t min_int() const;
7292   void set_min_int(::int32_t value);
7293   private:
7294   ::int32_t _internal_min_int() const;
7295   void _internal_set_min_int(::int32_t value);
7296   public:
7297 
7298   // int32 max_int = 3;
7299   void clear_max_int();
7300   ::int32_t max_int() const;
7301   void set_max_int(::int32_t value);
7302   private:
7303   ::int32_t _internal_max_int() const;
7304   void _internal_set_max_int(::int32_t value);
7305   public:
7306 
7307   // @@protoc_insertion_point(class_scope:aapt.pb.Attribute)
7308  private:
7309   class _Internal;
7310 
7311   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
7312   typedef void InternalArenaConstructable_;
7313   typedef void DestructorSkippable_;
7314   struct Impl_ {
7315     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Attribute_Symbol > symbol_;
7316     ::uint32_t format_flags_;
7317     ::int32_t min_int_;
7318     ::int32_t max_int_;
7319     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
7320   };
7321   union { Impl_ _impl_; };
7322   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
7323 };
7324 // -------------------------------------------------------------------
7325 
7326 class Style_Entry final :
7327     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Style.Entry) */ {
7328  public:
Style_Entry()7329   inline Style_Entry() : Style_Entry(nullptr) {}
7330   ~Style_Entry() override;
7331   explicit PROTOBUF_CONSTEXPR Style_Entry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
7332 
7333   Style_Entry(const Style_Entry& from);
Style_Entry(Style_Entry && from)7334   Style_Entry(Style_Entry&& from) noexcept
7335     : Style_Entry() {
7336     *this = ::std::move(from);
7337   }
7338 
7339   inline Style_Entry& operator=(const Style_Entry& from) {
7340     if (this == &from) return *this;
7341     CopyFrom(from);
7342     return *this;
7343   }
7344   inline Style_Entry& operator=(Style_Entry&& from) noexcept {
7345     if (this == &from) return *this;
7346     if (GetOwningArena() == from.GetOwningArena()
7347   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
7348         && GetOwningArena() != nullptr
7349   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
7350     ) {
7351       InternalSwap(&from);
7352     } else {
7353       CopyFrom(from);
7354     }
7355     return *this;
7356   }
7357 
descriptor()7358   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
7359     return GetDescriptor();
7360   }
GetDescriptor()7361   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
7362     return default_instance().GetMetadata().descriptor;
7363   }
GetReflection()7364   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
7365     return default_instance().GetMetadata().reflection;
7366   }
default_instance()7367   static const Style_Entry& default_instance() {
7368     return *internal_default_instance();
7369   }
internal_default_instance()7370   static inline const Style_Entry* internal_default_instance() {
7371     return reinterpret_cast<const Style_Entry*>(
7372                &_Style_Entry_default_instance_);
7373   }
7374   static constexpr int kIndexInFileMessages =
7375     34;
7376 
swap(Style_Entry & a,Style_Entry & b)7377   friend void swap(Style_Entry& a, Style_Entry& b) {
7378     a.Swap(&b);
7379   }
Swap(Style_Entry * other)7380   inline void Swap(Style_Entry* other) {
7381     if (other == this) return;
7382   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
7383     if (GetOwningArena() != nullptr &&
7384         GetOwningArena() == other->GetOwningArena()) {
7385    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
7386     if (GetOwningArena() == other->GetOwningArena()) {
7387   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
7388       InternalSwap(other);
7389     } else {
7390       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
7391     }
7392   }
7393   void UnsafeArenaSwap(Style_Entry* other) {
7394     if (other == this) return;
7395     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
7396     InternalSwap(other);
7397   }
7398 
7399   // implements Message ----------------------------------------------
7400 
7401   Style_Entry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
7402     return CreateMaybeMessage<Style_Entry>(arena);
7403   }
7404   Style_Entry* New() const {
7405     return New(nullptr);
7406   }
7407   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
7408   void CopyFrom(const Style_Entry& from);
7409   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
7410   void MergeFrom( const Style_Entry& from) {
7411     Style_Entry::MergeImpl(*this, from);
7412   }
7413   private:
7414   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
7415   public:
7416   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
7417   bool IsInitialized() const final;
7418 
7419   size_t ByteSizeLong() const final;
7420   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
7421   ::uint8_t* _InternalSerialize(
7422       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
7423   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
7424 
7425   private:
7426   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
7427   void SharedDtor();
7428   void SetCachedSize(int size) const final;
7429   void InternalSwap(Style_Entry* other);
7430 
7431   private:
7432   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
7433   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
7434     return "aapt.pb.Style.Entry";
7435   }
7436   protected:
7437   explicit Style_Entry(::PROTOBUF_NAMESPACE_ID::Arena* arena,
7438                        bool is_message_owned = false);
7439   public:
7440 
7441   static const ClassData _class_data_;
7442   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
7443 
7444   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
7445 
7446   // nested types ----------------------------------------------------
7447 
7448   // accessors -------------------------------------------------------
7449 
7450   enum : int {
7451     kCommentFieldNumber = 2,
7452     kSourceFieldNumber = 1,
7453     kKeyFieldNumber = 3,
7454     kItemFieldNumber = 4,
7455   };
7456   // string comment = 2;
7457   void clear_comment();
7458   const std::string& comment() const;
7459   template <typename ArgT0 = const std::string&, typename... ArgT>
7460   void set_comment(ArgT0&& arg0, ArgT... args);
7461   std::string* mutable_comment();
7462   PROTOBUF_NODISCARD std::string* release_comment();
7463   void set_allocated_comment(std::string* comment);
7464   private:
7465   const std::string& _internal_comment() const;
7466   inline PROTOBUF_ALWAYS_INLINE void _internal_set_comment(const std::string& value);
7467   std::string* _internal_mutable_comment();
7468   public:
7469 
7470   // .aapt.pb.Source source = 1;
7471   bool has_source() const;
7472   private:
7473   bool _internal_has_source() const;
7474   public:
7475   void clear_source();
7476   const ::aapt::pb::Source& source() const;
7477   PROTOBUF_NODISCARD ::aapt::pb::Source* release_source();
7478   ::aapt::pb::Source* mutable_source();
7479   void set_allocated_source(::aapt::pb::Source* source);
7480   private:
7481   const ::aapt::pb::Source& _internal_source() const;
7482   ::aapt::pb::Source* _internal_mutable_source();
7483   public:
7484   void unsafe_arena_set_allocated_source(
7485       ::aapt::pb::Source* source);
7486   ::aapt::pb::Source* unsafe_arena_release_source();
7487 
7488   // .aapt.pb.Reference key = 3;
7489   bool has_key() const;
7490   private:
7491   bool _internal_has_key() const;
7492   public:
7493   void clear_key();
7494   const ::aapt::pb::Reference& key() const;
7495   PROTOBUF_NODISCARD ::aapt::pb::Reference* release_key();
7496   ::aapt::pb::Reference* mutable_key();
7497   void set_allocated_key(::aapt::pb::Reference* key);
7498   private:
7499   const ::aapt::pb::Reference& _internal_key() const;
7500   ::aapt::pb::Reference* _internal_mutable_key();
7501   public:
7502   void unsafe_arena_set_allocated_key(
7503       ::aapt::pb::Reference* key);
7504   ::aapt::pb::Reference* unsafe_arena_release_key();
7505 
7506   // .aapt.pb.Item item = 4;
7507   bool has_item() const;
7508   private:
7509   bool _internal_has_item() const;
7510   public:
7511   void clear_item();
7512   const ::aapt::pb::Item& item() const;
7513   PROTOBUF_NODISCARD ::aapt::pb::Item* release_item();
7514   ::aapt::pb::Item* mutable_item();
7515   void set_allocated_item(::aapt::pb::Item* item);
7516   private:
7517   const ::aapt::pb::Item& _internal_item() const;
7518   ::aapt::pb::Item* _internal_mutable_item();
7519   public:
7520   void unsafe_arena_set_allocated_item(
7521       ::aapt::pb::Item* item);
7522   ::aapt::pb::Item* unsafe_arena_release_item();
7523 
7524   // @@protoc_insertion_point(class_scope:aapt.pb.Style.Entry)
7525  private:
7526   class _Internal;
7527 
7528   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
7529   typedef void InternalArenaConstructable_;
7530   typedef void DestructorSkippable_;
7531   struct Impl_ {
7532     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
7533     ::aapt::pb::Source* source_;
7534     ::aapt::pb::Reference* key_;
7535     ::aapt::pb::Item* item_;
7536     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
7537   };
7538   union { Impl_ _impl_; };
7539   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
7540 };
7541 // -------------------------------------------------------------------
7542 
7543 class Style final :
7544     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Style) */ {
7545  public:
Style()7546   inline Style() : Style(nullptr) {}
7547   ~Style() override;
7548   explicit PROTOBUF_CONSTEXPR Style(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
7549 
7550   Style(const Style& from);
Style(Style && from)7551   Style(Style&& from) noexcept
7552     : Style() {
7553     *this = ::std::move(from);
7554   }
7555 
7556   inline Style& operator=(const Style& from) {
7557     if (this == &from) return *this;
7558     CopyFrom(from);
7559     return *this;
7560   }
7561   inline Style& operator=(Style&& from) noexcept {
7562     if (this == &from) return *this;
7563     if (GetOwningArena() == from.GetOwningArena()
7564   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
7565         && GetOwningArena() != nullptr
7566   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
7567     ) {
7568       InternalSwap(&from);
7569     } else {
7570       CopyFrom(from);
7571     }
7572     return *this;
7573   }
7574 
descriptor()7575   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
7576     return GetDescriptor();
7577   }
GetDescriptor()7578   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
7579     return default_instance().GetMetadata().descriptor;
7580   }
GetReflection()7581   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
7582     return default_instance().GetMetadata().reflection;
7583   }
default_instance()7584   static const Style& default_instance() {
7585     return *internal_default_instance();
7586   }
internal_default_instance()7587   static inline const Style* internal_default_instance() {
7588     return reinterpret_cast<const Style*>(
7589                &_Style_default_instance_);
7590   }
7591   static constexpr int kIndexInFileMessages =
7592     35;
7593 
swap(Style & a,Style & b)7594   friend void swap(Style& a, Style& b) {
7595     a.Swap(&b);
7596   }
Swap(Style * other)7597   inline void Swap(Style* other) {
7598     if (other == this) return;
7599   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
7600     if (GetOwningArena() != nullptr &&
7601         GetOwningArena() == other->GetOwningArena()) {
7602    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
7603     if (GetOwningArena() == other->GetOwningArena()) {
7604   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
7605       InternalSwap(other);
7606     } else {
7607       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
7608     }
7609   }
7610   void UnsafeArenaSwap(Style* other) {
7611     if (other == this) return;
7612     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
7613     InternalSwap(other);
7614   }
7615 
7616   // implements Message ----------------------------------------------
7617 
7618   Style* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
7619     return CreateMaybeMessage<Style>(arena);
7620   }
7621   Style* New() const {
7622     return New(nullptr);
7623   }
7624   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
7625   void CopyFrom(const Style& from);
7626   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
7627   void MergeFrom( const Style& from) {
7628     Style::MergeImpl(*this, from);
7629   }
7630   private:
7631   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
7632   public:
7633   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
7634   bool IsInitialized() const final;
7635 
7636   size_t ByteSizeLong() const final;
7637   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
7638   ::uint8_t* _InternalSerialize(
7639       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
7640   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
7641 
7642   private:
7643   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
7644   void SharedDtor();
7645   void SetCachedSize(int size) const final;
7646   void InternalSwap(Style* other);
7647 
7648   private:
7649   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
7650   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
7651     return "aapt.pb.Style";
7652   }
7653   protected:
7654   explicit Style(::PROTOBUF_NAMESPACE_ID::Arena* arena,
7655                        bool is_message_owned = false);
7656   public:
7657 
7658   static const ClassData _class_data_;
7659   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
7660 
7661   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
7662 
7663   // nested types ----------------------------------------------------
7664 
7665   typedef Style_Entry Entry;
7666 
7667   // accessors -------------------------------------------------------
7668 
7669   enum : int {
7670     kEntryFieldNumber = 3,
7671     kParentFieldNumber = 1,
7672     kParentSourceFieldNumber = 2,
7673   };
7674   // repeated .aapt.pb.Style.Entry entry = 3;
7675   int entry_size() const;
7676   private:
7677   int _internal_entry_size() const;
7678   public:
7679   void clear_entry();
7680   ::aapt::pb::Style_Entry* mutable_entry(int index);
7681   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Style_Entry >*
7682       mutable_entry();
7683   private:
7684   const ::aapt::pb::Style_Entry& _internal_entry(int index) const;
7685   ::aapt::pb::Style_Entry* _internal_add_entry();
7686   public:
7687   const ::aapt::pb::Style_Entry& entry(int index) const;
7688   ::aapt::pb::Style_Entry* add_entry();
7689   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Style_Entry >&
7690       entry() const;
7691 
7692   // .aapt.pb.Reference parent = 1;
7693   bool has_parent() const;
7694   private:
7695   bool _internal_has_parent() const;
7696   public:
7697   void clear_parent();
7698   const ::aapt::pb::Reference& parent() const;
7699   PROTOBUF_NODISCARD ::aapt::pb::Reference* release_parent();
7700   ::aapt::pb::Reference* mutable_parent();
7701   void set_allocated_parent(::aapt::pb::Reference* parent);
7702   private:
7703   const ::aapt::pb::Reference& _internal_parent() const;
7704   ::aapt::pb::Reference* _internal_mutable_parent();
7705   public:
7706   void unsafe_arena_set_allocated_parent(
7707       ::aapt::pb::Reference* parent);
7708   ::aapt::pb::Reference* unsafe_arena_release_parent();
7709 
7710   // .aapt.pb.Source parent_source = 2;
7711   bool has_parent_source() const;
7712   private:
7713   bool _internal_has_parent_source() const;
7714   public:
7715   void clear_parent_source();
7716   const ::aapt::pb::Source& parent_source() const;
7717   PROTOBUF_NODISCARD ::aapt::pb::Source* release_parent_source();
7718   ::aapt::pb::Source* mutable_parent_source();
7719   void set_allocated_parent_source(::aapt::pb::Source* parent_source);
7720   private:
7721   const ::aapt::pb::Source& _internal_parent_source() const;
7722   ::aapt::pb::Source* _internal_mutable_parent_source();
7723   public:
7724   void unsafe_arena_set_allocated_parent_source(
7725       ::aapt::pb::Source* parent_source);
7726   ::aapt::pb::Source* unsafe_arena_release_parent_source();
7727 
7728   // @@protoc_insertion_point(class_scope:aapt.pb.Style)
7729  private:
7730   class _Internal;
7731 
7732   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
7733   typedef void InternalArenaConstructable_;
7734   typedef void DestructorSkippable_;
7735   struct Impl_ {
7736     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Style_Entry > entry_;
7737     ::aapt::pb::Reference* parent_;
7738     ::aapt::pb::Source* parent_source_;
7739     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
7740   };
7741   union { Impl_ _impl_; };
7742   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
7743 };
7744 // -------------------------------------------------------------------
7745 
7746 class Styleable_Entry final :
7747     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Styleable.Entry) */ {
7748  public:
Styleable_Entry()7749   inline Styleable_Entry() : Styleable_Entry(nullptr) {}
7750   ~Styleable_Entry() override;
7751   explicit PROTOBUF_CONSTEXPR Styleable_Entry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
7752 
7753   Styleable_Entry(const Styleable_Entry& from);
Styleable_Entry(Styleable_Entry && from)7754   Styleable_Entry(Styleable_Entry&& from) noexcept
7755     : Styleable_Entry() {
7756     *this = ::std::move(from);
7757   }
7758 
7759   inline Styleable_Entry& operator=(const Styleable_Entry& from) {
7760     if (this == &from) return *this;
7761     CopyFrom(from);
7762     return *this;
7763   }
7764   inline Styleable_Entry& operator=(Styleable_Entry&& from) noexcept {
7765     if (this == &from) return *this;
7766     if (GetOwningArena() == from.GetOwningArena()
7767   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
7768         && GetOwningArena() != nullptr
7769   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
7770     ) {
7771       InternalSwap(&from);
7772     } else {
7773       CopyFrom(from);
7774     }
7775     return *this;
7776   }
7777 
descriptor()7778   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
7779     return GetDescriptor();
7780   }
GetDescriptor()7781   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
7782     return default_instance().GetMetadata().descriptor;
7783   }
GetReflection()7784   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
7785     return default_instance().GetMetadata().reflection;
7786   }
default_instance()7787   static const Styleable_Entry& default_instance() {
7788     return *internal_default_instance();
7789   }
internal_default_instance()7790   static inline const Styleable_Entry* internal_default_instance() {
7791     return reinterpret_cast<const Styleable_Entry*>(
7792                &_Styleable_Entry_default_instance_);
7793   }
7794   static constexpr int kIndexInFileMessages =
7795     36;
7796 
swap(Styleable_Entry & a,Styleable_Entry & b)7797   friend void swap(Styleable_Entry& a, Styleable_Entry& b) {
7798     a.Swap(&b);
7799   }
Swap(Styleable_Entry * other)7800   inline void Swap(Styleable_Entry* other) {
7801     if (other == this) return;
7802   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
7803     if (GetOwningArena() != nullptr &&
7804         GetOwningArena() == other->GetOwningArena()) {
7805    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
7806     if (GetOwningArena() == other->GetOwningArena()) {
7807   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
7808       InternalSwap(other);
7809     } else {
7810       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
7811     }
7812   }
7813   void UnsafeArenaSwap(Styleable_Entry* other) {
7814     if (other == this) return;
7815     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
7816     InternalSwap(other);
7817   }
7818 
7819   // implements Message ----------------------------------------------
7820 
7821   Styleable_Entry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
7822     return CreateMaybeMessage<Styleable_Entry>(arena);
7823   }
7824   Styleable_Entry* New() const {
7825     return New(nullptr);
7826   }
7827   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
7828   void CopyFrom(const Styleable_Entry& from);
7829   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
7830   void MergeFrom( const Styleable_Entry& from) {
7831     Styleable_Entry::MergeImpl(*this, from);
7832   }
7833   private:
7834   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
7835   public:
7836   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
7837   bool IsInitialized() const final;
7838 
7839   size_t ByteSizeLong() const final;
7840   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
7841   ::uint8_t* _InternalSerialize(
7842       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
7843   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
7844 
7845   private:
7846   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
7847   void SharedDtor();
7848   void SetCachedSize(int size) const final;
7849   void InternalSwap(Styleable_Entry* other);
7850 
7851   private:
7852   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
7853   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
7854     return "aapt.pb.Styleable.Entry";
7855   }
7856   protected:
7857   explicit Styleable_Entry(::PROTOBUF_NAMESPACE_ID::Arena* arena,
7858                        bool is_message_owned = false);
7859   public:
7860 
7861   static const ClassData _class_data_;
7862   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
7863 
7864   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
7865 
7866   // nested types ----------------------------------------------------
7867 
7868   // accessors -------------------------------------------------------
7869 
7870   enum : int {
7871     kCommentFieldNumber = 2,
7872     kSourceFieldNumber = 1,
7873     kAttrFieldNumber = 3,
7874   };
7875   // string comment = 2;
7876   void clear_comment();
7877   const std::string& comment() const;
7878   template <typename ArgT0 = const std::string&, typename... ArgT>
7879   void set_comment(ArgT0&& arg0, ArgT... args);
7880   std::string* mutable_comment();
7881   PROTOBUF_NODISCARD std::string* release_comment();
7882   void set_allocated_comment(std::string* comment);
7883   private:
7884   const std::string& _internal_comment() const;
7885   inline PROTOBUF_ALWAYS_INLINE void _internal_set_comment(const std::string& value);
7886   std::string* _internal_mutable_comment();
7887   public:
7888 
7889   // .aapt.pb.Source source = 1;
7890   bool has_source() const;
7891   private:
7892   bool _internal_has_source() const;
7893   public:
7894   void clear_source();
7895   const ::aapt::pb::Source& source() const;
7896   PROTOBUF_NODISCARD ::aapt::pb::Source* release_source();
7897   ::aapt::pb::Source* mutable_source();
7898   void set_allocated_source(::aapt::pb::Source* source);
7899   private:
7900   const ::aapt::pb::Source& _internal_source() const;
7901   ::aapt::pb::Source* _internal_mutable_source();
7902   public:
7903   void unsafe_arena_set_allocated_source(
7904       ::aapt::pb::Source* source);
7905   ::aapt::pb::Source* unsafe_arena_release_source();
7906 
7907   // .aapt.pb.Reference attr = 3;
7908   bool has_attr() const;
7909   private:
7910   bool _internal_has_attr() const;
7911   public:
7912   void clear_attr();
7913   const ::aapt::pb::Reference& attr() const;
7914   PROTOBUF_NODISCARD ::aapt::pb::Reference* release_attr();
7915   ::aapt::pb::Reference* mutable_attr();
7916   void set_allocated_attr(::aapt::pb::Reference* attr);
7917   private:
7918   const ::aapt::pb::Reference& _internal_attr() const;
7919   ::aapt::pb::Reference* _internal_mutable_attr();
7920   public:
7921   void unsafe_arena_set_allocated_attr(
7922       ::aapt::pb::Reference* attr);
7923   ::aapt::pb::Reference* unsafe_arena_release_attr();
7924 
7925   // @@protoc_insertion_point(class_scope:aapt.pb.Styleable.Entry)
7926  private:
7927   class _Internal;
7928 
7929   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
7930   typedef void InternalArenaConstructable_;
7931   typedef void DestructorSkippable_;
7932   struct Impl_ {
7933     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
7934     ::aapt::pb::Source* source_;
7935     ::aapt::pb::Reference* attr_;
7936     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
7937   };
7938   union { Impl_ _impl_; };
7939   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
7940 };
7941 // -------------------------------------------------------------------
7942 
7943 class Styleable final :
7944     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Styleable) */ {
7945  public:
Styleable()7946   inline Styleable() : Styleable(nullptr) {}
7947   ~Styleable() override;
7948   explicit PROTOBUF_CONSTEXPR Styleable(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
7949 
7950   Styleable(const Styleable& from);
Styleable(Styleable && from)7951   Styleable(Styleable&& from) noexcept
7952     : Styleable() {
7953     *this = ::std::move(from);
7954   }
7955 
7956   inline Styleable& operator=(const Styleable& from) {
7957     if (this == &from) return *this;
7958     CopyFrom(from);
7959     return *this;
7960   }
7961   inline Styleable& operator=(Styleable&& from) noexcept {
7962     if (this == &from) return *this;
7963     if (GetOwningArena() == from.GetOwningArena()
7964   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
7965         && GetOwningArena() != nullptr
7966   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
7967     ) {
7968       InternalSwap(&from);
7969     } else {
7970       CopyFrom(from);
7971     }
7972     return *this;
7973   }
7974 
descriptor()7975   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
7976     return GetDescriptor();
7977   }
GetDescriptor()7978   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
7979     return default_instance().GetMetadata().descriptor;
7980   }
GetReflection()7981   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
7982     return default_instance().GetMetadata().reflection;
7983   }
default_instance()7984   static const Styleable& default_instance() {
7985     return *internal_default_instance();
7986   }
internal_default_instance()7987   static inline const Styleable* internal_default_instance() {
7988     return reinterpret_cast<const Styleable*>(
7989                &_Styleable_default_instance_);
7990   }
7991   static constexpr int kIndexInFileMessages =
7992     37;
7993 
swap(Styleable & a,Styleable & b)7994   friend void swap(Styleable& a, Styleable& b) {
7995     a.Swap(&b);
7996   }
Swap(Styleable * other)7997   inline void Swap(Styleable* other) {
7998     if (other == this) return;
7999   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
8000     if (GetOwningArena() != nullptr &&
8001         GetOwningArena() == other->GetOwningArena()) {
8002    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
8003     if (GetOwningArena() == other->GetOwningArena()) {
8004   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
8005       InternalSwap(other);
8006     } else {
8007       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
8008     }
8009   }
8010   void UnsafeArenaSwap(Styleable* other) {
8011     if (other == this) return;
8012     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
8013     InternalSwap(other);
8014   }
8015 
8016   // implements Message ----------------------------------------------
8017 
8018   Styleable* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
8019     return CreateMaybeMessage<Styleable>(arena);
8020   }
8021   Styleable* New() const {
8022     return New(nullptr);
8023   }
8024   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
8025   void CopyFrom(const Styleable& from);
8026   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
8027   void MergeFrom( const Styleable& from) {
8028     Styleable::MergeImpl(*this, from);
8029   }
8030   private:
8031   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
8032   public:
8033   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
8034   bool IsInitialized() const final;
8035 
8036   size_t ByteSizeLong() const final;
8037   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
8038   ::uint8_t* _InternalSerialize(
8039       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
8040   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
8041 
8042   private:
8043   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
8044   void SharedDtor();
8045   void SetCachedSize(int size) const final;
8046   void InternalSwap(Styleable* other);
8047 
8048   private:
8049   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
8050   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
8051     return "aapt.pb.Styleable";
8052   }
8053   protected:
8054   explicit Styleable(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8055                        bool is_message_owned = false);
8056   public:
8057 
8058   static const ClassData _class_data_;
8059   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
8060 
8061   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
8062 
8063   // nested types ----------------------------------------------------
8064 
8065   typedef Styleable_Entry Entry;
8066 
8067   // accessors -------------------------------------------------------
8068 
8069   enum : int {
8070     kEntryFieldNumber = 1,
8071   };
8072   // repeated .aapt.pb.Styleable.Entry entry = 1;
8073   int entry_size() const;
8074   private:
8075   int _internal_entry_size() const;
8076   public:
8077   void clear_entry();
8078   ::aapt::pb::Styleable_Entry* mutable_entry(int index);
8079   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Styleable_Entry >*
8080       mutable_entry();
8081   private:
8082   const ::aapt::pb::Styleable_Entry& _internal_entry(int index) const;
8083   ::aapt::pb::Styleable_Entry* _internal_add_entry();
8084   public:
8085   const ::aapt::pb::Styleable_Entry& entry(int index) const;
8086   ::aapt::pb::Styleable_Entry* add_entry();
8087   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Styleable_Entry >&
8088       entry() const;
8089 
8090   // @@protoc_insertion_point(class_scope:aapt.pb.Styleable)
8091  private:
8092   class _Internal;
8093 
8094   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
8095   typedef void InternalArenaConstructable_;
8096   typedef void DestructorSkippable_;
8097   struct Impl_ {
8098     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Styleable_Entry > entry_;
8099     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
8100   };
8101   union { Impl_ _impl_; };
8102   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
8103 };
8104 // -------------------------------------------------------------------
8105 
8106 class Array_Element final :
8107     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Array.Element) */ {
8108  public:
Array_Element()8109   inline Array_Element() : Array_Element(nullptr) {}
8110   ~Array_Element() override;
8111   explicit PROTOBUF_CONSTEXPR Array_Element(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
8112 
8113   Array_Element(const Array_Element& from);
Array_Element(Array_Element && from)8114   Array_Element(Array_Element&& from) noexcept
8115     : Array_Element() {
8116     *this = ::std::move(from);
8117   }
8118 
8119   inline Array_Element& operator=(const Array_Element& from) {
8120     if (this == &from) return *this;
8121     CopyFrom(from);
8122     return *this;
8123   }
8124   inline Array_Element& operator=(Array_Element&& from) noexcept {
8125     if (this == &from) return *this;
8126     if (GetOwningArena() == from.GetOwningArena()
8127   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
8128         && GetOwningArena() != nullptr
8129   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
8130     ) {
8131       InternalSwap(&from);
8132     } else {
8133       CopyFrom(from);
8134     }
8135     return *this;
8136   }
8137 
descriptor()8138   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
8139     return GetDescriptor();
8140   }
GetDescriptor()8141   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
8142     return default_instance().GetMetadata().descriptor;
8143   }
GetReflection()8144   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
8145     return default_instance().GetMetadata().reflection;
8146   }
default_instance()8147   static const Array_Element& default_instance() {
8148     return *internal_default_instance();
8149   }
internal_default_instance()8150   static inline const Array_Element* internal_default_instance() {
8151     return reinterpret_cast<const Array_Element*>(
8152                &_Array_Element_default_instance_);
8153   }
8154   static constexpr int kIndexInFileMessages =
8155     38;
8156 
swap(Array_Element & a,Array_Element & b)8157   friend void swap(Array_Element& a, Array_Element& b) {
8158     a.Swap(&b);
8159   }
Swap(Array_Element * other)8160   inline void Swap(Array_Element* other) {
8161     if (other == this) return;
8162   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
8163     if (GetOwningArena() != nullptr &&
8164         GetOwningArena() == other->GetOwningArena()) {
8165    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
8166     if (GetOwningArena() == other->GetOwningArena()) {
8167   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
8168       InternalSwap(other);
8169     } else {
8170       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
8171     }
8172   }
8173   void UnsafeArenaSwap(Array_Element* other) {
8174     if (other == this) return;
8175     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
8176     InternalSwap(other);
8177   }
8178 
8179   // implements Message ----------------------------------------------
8180 
8181   Array_Element* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
8182     return CreateMaybeMessage<Array_Element>(arena);
8183   }
8184   Array_Element* New() const {
8185     return New(nullptr);
8186   }
8187   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
8188   void CopyFrom(const Array_Element& from);
8189   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
8190   void MergeFrom( const Array_Element& from) {
8191     Array_Element::MergeImpl(*this, from);
8192   }
8193   private:
8194   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
8195   public:
8196   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
8197   bool IsInitialized() const final;
8198 
8199   size_t ByteSizeLong() const final;
8200   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
8201   ::uint8_t* _InternalSerialize(
8202       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
8203   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
8204 
8205   private:
8206   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
8207   void SharedDtor();
8208   void SetCachedSize(int size) const final;
8209   void InternalSwap(Array_Element* other);
8210 
8211   private:
8212   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
8213   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
8214     return "aapt.pb.Array.Element";
8215   }
8216   protected:
8217   explicit Array_Element(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8218                        bool is_message_owned = false);
8219   public:
8220 
8221   static const ClassData _class_data_;
8222   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
8223 
8224   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
8225 
8226   // nested types ----------------------------------------------------
8227 
8228   // accessors -------------------------------------------------------
8229 
8230   enum : int {
8231     kCommentFieldNumber = 2,
8232     kSourceFieldNumber = 1,
8233     kItemFieldNumber = 3,
8234   };
8235   // string comment = 2;
8236   void clear_comment();
8237   const std::string& comment() const;
8238   template <typename ArgT0 = const std::string&, typename... ArgT>
8239   void set_comment(ArgT0&& arg0, ArgT... args);
8240   std::string* mutable_comment();
8241   PROTOBUF_NODISCARD std::string* release_comment();
8242   void set_allocated_comment(std::string* comment);
8243   private:
8244   const std::string& _internal_comment() const;
8245   inline PROTOBUF_ALWAYS_INLINE void _internal_set_comment(const std::string& value);
8246   std::string* _internal_mutable_comment();
8247   public:
8248 
8249   // .aapt.pb.Source source = 1;
8250   bool has_source() const;
8251   private:
8252   bool _internal_has_source() const;
8253   public:
8254   void clear_source();
8255   const ::aapt::pb::Source& source() const;
8256   PROTOBUF_NODISCARD ::aapt::pb::Source* release_source();
8257   ::aapt::pb::Source* mutable_source();
8258   void set_allocated_source(::aapt::pb::Source* source);
8259   private:
8260   const ::aapt::pb::Source& _internal_source() const;
8261   ::aapt::pb::Source* _internal_mutable_source();
8262   public:
8263   void unsafe_arena_set_allocated_source(
8264       ::aapt::pb::Source* source);
8265   ::aapt::pb::Source* unsafe_arena_release_source();
8266 
8267   // .aapt.pb.Item item = 3;
8268   bool has_item() const;
8269   private:
8270   bool _internal_has_item() const;
8271   public:
8272   void clear_item();
8273   const ::aapt::pb::Item& item() const;
8274   PROTOBUF_NODISCARD ::aapt::pb::Item* release_item();
8275   ::aapt::pb::Item* mutable_item();
8276   void set_allocated_item(::aapt::pb::Item* item);
8277   private:
8278   const ::aapt::pb::Item& _internal_item() const;
8279   ::aapt::pb::Item* _internal_mutable_item();
8280   public:
8281   void unsafe_arena_set_allocated_item(
8282       ::aapt::pb::Item* item);
8283   ::aapt::pb::Item* unsafe_arena_release_item();
8284 
8285   // @@protoc_insertion_point(class_scope:aapt.pb.Array.Element)
8286  private:
8287   class _Internal;
8288 
8289   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
8290   typedef void InternalArenaConstructable_;
8291   typedef void DestructorSkippable_;
8292   struct Impl_ {
8293     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
8294     ::aapt::pb::Source* source_;
8295     ::aapt::pb::Item* item_;
8296     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
8297   };
8298   union { Impl_ _impl_; };
8299   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
8300 };
8301 // -------------------------------------------------------------------
8302 
8303 class Array final :
8304     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Array) */ {
8305  public:
Array()8306   inline Array() : Array(nullptr) {}
8307   ~Array() override;
8308   explicit PROTOBUF_CONSTEXPR Array(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
8309 
8310   Array(const Array& from);
Array(Array && from)8311   Array(Array&& from) noexcept
8312     : Array() {
8313     *this = ::std::move(from);
8314   }
8315 
8316   inline Array& operator=(const Array& from) {
8317     if (this == &from) return *this;
8318     CopyFrom(from);
8319     return *this;
8320   }
8321   inline Array& operator=(Array&& from) noexcept {
8322     if (this == &from) return *this;
8323     if (GetOwningArena() == from.GetOwningArena()
8324   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
8325         && GetOwningArena() != nullptr
8326   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
8327     ) {
8328       InternalSwap(&from);
8329     } else {
8330       CopyFrom(from);
8331     }
8332     return *this;
8333   }
8334 
descriptor()8335   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
8336     return GetDescriptor();
8337   }
GetDescriptor()8338   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
8339     return default_instance().GetMetadata().descriptor;
8340   }
GetReflection()8341   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
8342     return default_instance().GetMetadata().reflection;
8343   }
default_instance()8344   static const Array& default_instance() {
8345     return *internal_default_instance();
8346   }
internal_default_instance()8347   static inline const Array* internal_default_instance() {
8348     return reinterpret_cast<const Array*>(
8349                &_Array_default_instance_);
8350   }
8351   static constexpr int kIndexInFileMessages =
8352     39;
8353 
swap(Array & a,Array & b)8354   friend void swap(Array& a, Array& b) {
8355     a.Swap(&b);
8356   }
Swap(Array * other)8357   inline void Swap(Array* other) {
8358     if (other == this) return;
8359   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
8360     if (GetOwningArena() != nullptr &&
8361         GetOwningArena() == other->GetOwningArena()) {
8362    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
8363     if (GetOwningArena() == other->GetOwningArena()) {
8364   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
8365       InternalSwap(other);
8366     } else {
8367       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
8368     }
8369   }
8370   void UnsafeArenaSwap(Array* other) {
8371     if (other == this) return;
8372     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
8373     InternalSwap(other);
8374   }
8375 
8376   // implements Message ----------------------------------------------
8377 
8378   Array* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
8379     return CreateMaybeMessage<Array>(arena);
8380   }
8381   Array* New() const {
8382     return New(nullptr);
8383   }
8384   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
8385   void CopyFrom(const Array& from);
8386   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
8387   void MergeFrom( const Array& from) {
8388     Array::MergeImpl(*this, from);
8389   }
8390   private:
8391   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
8392   public:
8393   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
8394   bool IsInitialized() const final;
8395 
8396   size_t ByteSizeLong() const final;
8397   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
8398   ::uint8_t* _InternalSerialize(
8399       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
8400   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
8401 
8402   private:
8403   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
8404   void SharedDtor();
8405   void SetCachedSize(int size) const final;
8406   void InternalSwap(Array* other);
8407 
8408   private:
8409   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
8410   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
8411     return "aapt.pb.Array";
8412   }
8413   protected:
8414   explicit Array(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8415                        bool is_message_owned = false);
8416   public:
8417 
8418   static const ClassData _class_data_;
8419   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
8420 
8421   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
8422 
8423   // nested types ----------------------------------------------------
8424 
8425   typedef Array_Element Element;
8426 
8427   // accessors -------------------------------------------------------
8428 
8429   enum : int {
8430     kElementFieldNumber = 1,
8431   };
8432   // repeated .aapt.pb.Array.Element element = 1;
8433   int element_size() const;
8434   private:
8435   int _internal_element_size() const;
8436   public:
8437   void clear_element();
8438   ::aapt::pb::Array_Element* mutable_element(int index);
8439   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Array_Element >*
8440       mutable_element();
8441   private:
8442   const ::aapt::pb::Array_Element& _internal_element(int index) const;
8443   ::aapt::pb::Array_Element* _internal_add_element();
8444   public:
8445   const ::aapt::pb::Array_Element& element(int index) const;
8446   ::aapt::pb::Array_Element* add_element();
8447   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Array_Element >&
8448       element() const;
8449 
8450   // @@protoc_insertion_point(class_scope:aapt.pb.Array)
8451  private:
8452   class _Internal;
8453 
8454   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
8455   typedef void InternalArenaConstructable_;
8456   typedef void DestructorSkippable_;
8457   struct Impl_ {
8458     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Array_Element > element_;
8459     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
8460   };
8461   union { Impl_ _impl_; };
8462   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
8463 };
8464 // -------------------------------------------------------------------
8465 
8466 class Plural_Entry final :
8467     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Plural.Entry) */ {
8468  public:
Plural_Entry()8469   inline Plural_Entry() : Plural_Entry(nullptr) {}
8470   ~Plural_Entry() override;
8471   explicit PROTOBUF_CONSTEXPR Plural_Entry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
8472 
8473   Plural_Entry(const Plural_Entry& from);
Plural_Entry(Plural_Entry && from)8474   Plural_Entry(Plural_Entry&& from) noexcept
8475     : Plural_Entry() {
8476     *this = ::std::move(from);
8477   }
8478 
8479   inline Plural_Entry& operator=(const Plural_Entry& from) {
8480     if (this == &from) return *this;
8481     CopyFrom(from);
8482     return *this;
8483   }
8484   inline Plural_Entry& operator=(Plural_Entry&& from) noexcept {
8485     if (this == &from) return *this;
8486     if (GetOwningArena() == from.GetOwningArena()
8487   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
8488         && GetOwningArena() != nullptr
8489   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
8490     ) {
8491       InternalSwap(&from);
8492     } else {
8493       CopyFrom(from);
8494     }
8495     return *this;
8496   }
8497 
descriptor()8498   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
8499     return GetDescriptor();
8500   }
GetDescriptor()8501   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
8502     return default_instance().GetMetadata().descriptor;
8503   }
GetReflection()8504   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
8505     return default_instance().GetMetadata().reflection;
8506   }
default_instance()8507   static const Plural_Entry& default_instance() {
8508     return *internal_default_instance();
8509   }
internal_default_instance()8510   static inline const Plural_Entry* internal_default_instance() {
8511     return reinterpret_cast<const Plural_Entry*>(
8512                &_Plural_Entry_default_instance_);
8513   }
8514   static constexpr int kIndexInFileMessages =
8515     40;
8516 
swap(Plural_Entry & a,Plural_Entry & b)8517   friend void swap(Plural_Entry& a, Plural_Entry& b) {
8518     a.Swap(&b);
8519   }
Swap(Plural_Entry * other)8520   inline void Swap(Plural_Entry* other) {
8521     if (other == this) return;
8522   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
8523     if (GetOwningArena() != nullptr &&
8524         GetOwningArena() == other->GetOwningArena()) {
8525    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
8526     if (GetOwningArena() == other->GetOwningArena()) {
8527   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
8528       InternalSwap(other);
8529     } else {
8530       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
8531     }
8532   }
8533   void UnsafeArenaSwap(Plural_Entry* other) {
8534     if (other == this) return;
8535     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
8536     InternalSwap(other);
8537   }
8538 
8539   // implements Message ----------------------------------------------
8540 
8541   Plural_Entry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
8542     return CreateMaybeMessage<Plural_Entry>(arena);
8543   }
8544   Plural_Entry* New() const {
8545     return New(nullptr);
8546   }
8547   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
8548   void CopyFrom(const Plural_Entry& from);
8549   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
8550   void MergeFrom( const Plural_Entry& from) {
8551     Plural_Entry::MergeImpl(*this, from);
8552   }
8553   private:
8554   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
8555   public:
8556   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
8557   bool IsInitialized() const final;
8558 
8559   size_t ByteSizeLong() const final;
8560   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
8561   ::uint8_t* _InternalSerialize(
8562       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
8563   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
8564 
8565   private:
8566   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
8567   void SharedDtor();
8568   void SetCachedSize(int size) const final;
8569   void InternalSwap(Plural_Entry* other);
8570 
8571   private:
8572   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
8573   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
8574     return "aapt.pb.Plural.Entry";
8575   }
8576   protected:
8577   explicit Plural_Entry(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8578                        bool is_message_owned = false);
8579   public:
8580 
8581   static const ClassData _class_data_;
8582   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
8583 
8584   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
8585 
8586   // nested types ----------------------------------------------------
8587 
8588   // accessors -------------------------------------------------------
8589 
8590   enum : int {
8591     kCommentFieldNumber = 2,
8592     kSourceFieldNumber = 1,
8593     kItemFieldNumber = 4,
8594     kArityFieldNumber = 3,
8595   };
8596   // string comment = 2;
8597   void clear_comment();
8598   const std::string& comment() const;
8599   template <typename ArgT0 = const std::string&, typename... ArgT>
8600   void set_comment(ArgT0&& arg0, ArgT... args);
8601   std::string* mutable_comment();
8602   PROTOBUF_NODISCARD std::string* release_comment();
8603   void set_allocated_comment(std::string* comment);
8604   private:
8605   const std::string& _internal_comment() const;
8606   inline PROTOBUF_ALWAYS_INLINE void _internal_set_comment(const std::string& value);
8607   std::string* _internal_mutable_comment();
8608   public:
8609 
8610   // .aapt.pb.Source source = 1;
8611   bool has_source() const;
8612   private:
8613   bool _internal_has_source() const;
8614   public:
8615   void clear_source();
8616   const ::aapt::pb::Source& source() const;
8617   PROTOBUF_NODISCARD ::aapt::pb::Source* release_source();
8618   ::aapt::pb::Source* mutable_source();
8619   void set_allocated_source(::aapt::pb::Source* source);
8620   private:
8621   const ::aapt::pb::Source& _internal_source() const;
8622   ::aapt::pb::Source* _internal_mutable_source();
8623   public:
8624   void unsafe_arena_set_allocated_source(
8625       ::aapt::pb::Source* source);
8626   ::aapt::pb::Source* unsafe_arena_release_source();
8627 
8628   // .aapt.pb.Item item = 4;
8629   bool has_item() const;
8630   private:
8631   bool _internal_has_item() const;
8632   public:
8633   void clear_item();
8634   const ::aapt::pb::Item& item() const;
8635   PROTOBUF_NODISCARD ::aapt::pb::Item* release_item();
8636   ::aapt::pb::Item* mutable_item();
8637   void set_allocated_item(::aapt::pb::Item* item);
8638   private:
8639   const ::aapt::pb::Item& _internal_item() const;
8640   ::aapt::pb::Item* _internal_mutable_item();
8641   public:
8642   void unsafe_arena_set_allocated_item(
8643       ::aapt::pb::Item* item);
8644   ::aapt::pb::Item* unsafe_arena_release_item();
8645 
8646   // .aapt.pb.Plural.Arity arity = 3;
8647   void clear_arity();
8648   ::aapt::pb::Plural_Arity arity() const;
8649   void set_arity(::aapt::pb::Plural_Arity value);
8650   private:
8651   ::aapt::pb::Plural_Arity _internal_arity() const;
8652   void _internal_set_arity(::aapt::pb::Plural_Arity value);
8653   public:
8654 
8655   // @@protoc_insertion_point(class_scope:aapt.pb.Plural.Entry)
8656  private:
8657   class _Internal;
8658 
8659   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
8660   typedef void InternalArenaConstructable_;
8661   typedef void DestructorSkippable_;
8662   struct Impl_ {
8663     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_;
8664     ::aapt::pb::Source* source_;
8665     ::aapt::pb::Item* item_;
8666     int arity_;
8667     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
8668   };
8669   union { Impl_ _impl_; };
8670   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
8671 };
8672 // -------------------------------------------------------------------
8673 
8674 class Plural final :
8675     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.Plural) */ {
8676  public:
Plural()8677   inline Plural() : Plural(nullptr) {}
8678   ~Plural() override;
8679   explicit PROTOBUF_CONSTEXPR Plural(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
8680 
8681   Plural(const Plural& from);
Plural(Plural && from)8682   Plural(Plural&& from) noexcept
8683     : Plural() {
8684     *this = ::std::move(from);
8685   }
8686 
8687   inline Plural& operator=(const Plural& from) {
8688     if (this == &from) return *this;
8689     CopyFrom(from);
8690     return *this;
8691   }
8692   inline Plural& operator=(Plural&& from) noexcept {
8693     if (this == &from) return *this;
8694     if (GetOwningArena() == from.GetOwningArena()
8695   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
8696         && GetOwningArena() != nullptr
8697   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
8698     ) {
8699       InternalSwap(&from);
8700     } else {
8701       CopyFrom(from);
8702     }
8703     return *this;
8704   }
8705 
descriptor()8706   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
8707     return GetDescriptor();
8708   }
GetDescriptor()8709   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
8710     return default_instance().GetMetadata().descriptor;
8711   }
GetReflection()8712   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
8713     return default_instance().GetMetadata().reflection;
8714   }
default_instance()8715   static const Plural& default_instance() {
8716     return *internal_default_instance();
8717   }
internal_default_instance()8718   static inline const Plural* internal_default_instance() {
8719     return reinterpret_cast<const Plural*>(
8720                &_Plural_default_instance_);
8721   }
8722   static constexpr int kIndexInFileMessages =
8723     41;
8724 
swap(Plural & a,Plural & b)8725   friend void swap(Plural& a, Plural& b) {
8726     a.Swap(&b);
8727   }
Swap(Plural * other)8728   inline void Swap(Plural* other) {
8729     if (other == this) return;
8730   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
8731     if (GetOwningArena() != nullptr &&
8732         GetOwningArena() == other->GetOwningArena()) {
8733    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
8734     if (GetOwningArena() == other->GetOwningArena()) {
8735   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
8736       InternalSwap(other);
8737     } else {
8738       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
8739     }
8740   }
8741   void UnsafeArenaSwap(Plural* other) {
8742     if (other == this) return;
8743     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
8744     InternalSwap(other);
8745   }
8746 
8747   // implements Message ----------------------------------------------
8748 
8749   Plural* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
8750     return CreateMaybeMessage<Plural>(arena);
8751   }
8752   Plural* New() const {
8753     return New(nullptr);
8754   }
8755   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
8756   void CopyFrom(const Plural& from);
8757   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
8758   void MergeFrom( const Plural& from) {
8759     Plural::MergeImpl(*this, from);
8760   }
8761   private:
8762   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
8763   public:
8764   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
8765   bool IsInitialized() const final;
8766 
8767   size_t ByteSizeLong() const final;
8768   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
8769   ::uint8_t* _InternalSerialize(
8770       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
8771   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
8772 
8773   private:
8774   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
8775   void SharedDtor();
8776   void SetCachedSize(int size) const final;
8777   void InternalSwap(Plural* other);
8778 
8779   private:
8780   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
8781   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
8782     return "aapt.pb.Plural";
8783   }
8784   protected:
8785   explicit Plural(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8786                        bool is_message_owned = false);
8787   public:
8788 
8789   static const ClassData _class_data_;
8790   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
8791 
8792   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
8793 
8794   // nested types ----------------------------------------------------
8795 
8796   typedef Plural_Entry Entry;
8797 
8798   typedef Plural_Arity Arity;
8799   static constexpr Arity ZERO =
8800     Plural_Arity_ZERO;
8801   static constexpr Arity ONE =
8802     Plural_Arity_ONE;
8803   static constexpr Arity TWO =
8804     Plural_Arity_TWO;
8805   static constexpr Arity FEW =
8806     Plural_Arity_FEW;
8807   static constexpr Arity MANY =
8808     Plural_Arity_MANY;
8809   static constexpr Arity OTHER =
8810     Plural_Arity_OTHER;
8811   static inline bool Arity_IsValid(int value) {
8812     return Plural_Arity_IsValid(value);
8813   }
8814   static constexpr Arity Arity_MIN =
8815     Plural_Arity_Arity_MIN;
8816   static constexpr Arity Arity_MAX =
8817     Plural_Arity_Arity_MAX;
8818   static constexpr int Arity_ARRAYSIZE =
8819     Plural_Arity_Arity_ARRAYSIZE;
8820   static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
8821   Arity_descriptor() {
8822     return Plural_Arity_descriptor();
8823   }
8824   template<typename T>
8825   static inline const std::string& Arity_Name(T enum_t_value) {
8826     static_assert(::std::is_same<T, Arity>::value ||
8827       ::std::is_integral<T>::value,
8828       "Incorrect type passed to function Arity_Name.");
8829     return Plural_Arity_Name(enum_t_value);
8830   }
8831   static inline bool Arity_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
8832       Arity* value) {
8833     return Plural_Arity_Parse(name, value);
8834   }
8835 
8836   // accessors -------------------------------------------------------
8837 
8838   enum : int {
8839     kEntryFieldNumber = 1,
8840   };
8841   // repeated .aapt.pb.Plural.Entry entry = 1;
8842   int entry_size() const;
8843   private:
8844   int _internal_entry_size() const;
8845   public:
8846   void clear_entry();
8847   ::aapt::pb::Plural_Entry* mutable_entry(int index);
8848   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Plural_Entry >*
8849       mutable_entry();
8850   private:
8851   const ::aapt::pb::Plural_Entry& _internal_entry(int index) const;
8852   ::aapt::pb::Plural_Entry* _internal_add_entry();
8853   public:
8854   const ::aapt::pb::Plural_Entry& entry(int index) const;
8855   ::aapt::pb::Plural_Entry* add_entry();
8856   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Plural_Entry >&
8857       entry() const;
8858 
8859   // @@protoc_insertion_point(class_scope:aapt.pb.Plural)
8860  private:
8861   class _Internal;
8862 
8863   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
8864   typedef void InternalArenaConstructable_;
8865   typedef void DestructorSkippable_;
8866   struct Impl_ {
8867     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Plural_Entry > entry_;
8868     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
8869   };
8870   union { Impl_ _impl_; };
8871   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
8872 };
8873 // -------------------------------------------------------------------
8874 
8875 class XmlNode final :
8876     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.XmlNode) */ {
8877  public:
XmlNode()8878   inline XmlNode() : XmlNode(nullptr) {}
8879   ~XmlNode() override;
8880   explicit PROTOBUF_CONSTEXPR XmlNode(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
8881 
8882   XmlNode(const XmlNode& from);
XmlNode(XmlNode && from)8883   XmlNode(XmlNode&& from) noexcept
8884     : XmlNode() {
8885     *this = ::std::move(from);
8886   }
8887 
8888   inline XmlNode& operator=(const XmlNode& from) {
8889     if (this == &from) return *this;
8890     CopyFrom(from);
8891     return *this;
8892   }
8893   inline XmlNode& operator=(XmlNode&& from) noexcept {
8894     if (this == &from) return *this;
8895     if (GetOwningArena() == from.GetOwningArena()
8896   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
8897         && GetOwningArena() != nullptr
8898   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
8899     ) {
8900       InternalSwap(&from);
8901     } else {
8902       CopyFrom(from);
8903     }
8904     return *this;
8905   }
8906 
descriptor()8907   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
8908     return GetDescriptor();
8909   }
GetDescriptor()8910   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
8911     return default_instance().GetMetadata().descriptor;
8912   }
GetReflection()8913   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
8914     return default_instance().GetMetadata().reflection;
8915   }
default_instance()8916   static const XmlNode& default_instance() {
8917     return *internal_default_instance();
8918   }
8919   enum NodeCase {
8920     kElement = 1,
8921     kText = 2,
8922     NODE_NOT_SET = 0,
8923   };
8924 
internal_default_instance()8925   static inline const XmlNode* internal_default_instance() {
8926     return reinterpret_cast<const XmlNode*>(
8927                &_XmlNode_default_instance_);
8928   }
8929   static constexpr int kIndexInFileMessages =
8930     42;
8931 
swap(XmlNode & a,XmlNode & b)8932   friend void swap(XmlNode& a, XmlNode& b) {
8933     a.Swap(&b);
8934   }
Swap(XmlNode * other)8935   inline void Swap(XmlNode* other) {
8936     if (other == this) return;
8937   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
8938     if (GetOwningArena() != nullptr &&
8939         GetOwningArena() == other->GetOwningArena()) {
8940    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
8941     if (GetOwningArena() == other->GetOwningArena()) {
8942   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
8943       InternalSwap(other);
8944     } else {
8945       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
8946     }
8947   }
8948   void UnsafeArenaSwap(XmlNode* other) {
8949     if (other == this) return;
8950     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
8951     InternalSwap(other);
8952   }
8953 
8954   // implements Message ----------------------------------------------
8955 
8956   XmlNode* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
8957     return CreateMaybeMessage<XmlNode>(arena);
8958   }
8959   XmlNode* New() const {
8960     return New(nullptr);
8961   }
8962   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
8963   void CopyFrom(const XmlNode& from);
8964   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
8965   void MergeFrom( const XmlNode& from) {
8966     XmlNode::MergeImpl(*this, from);
8967   }
8968   private:
8969   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
8970   public:
8971   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
8972   bool IsInitialized() const final;
8973 
8974   size_t ByteSizeLong() const final;
8975   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
8976   ::uint8_t* _InternalSerialize(
8977       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
8978   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
8979 
8980   private:
8981   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
8982   void SharedDtor();
8983   void SetCachedSize(int size) const final;
8984   void InternalSwap(XmlNode* other);
8985 
8986   private:
8987   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
8988   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
8989     return "aapt.pb.XmlNode";
8990   }
8991   protected:
8992   explicit XmlNode(::PROTOBUF_NAMESPACE_ID::Arena* arena,
8993                        bool is_message_owned = false);
8994   public:
8995 
8996   static const ClassData _class_data_;
8997   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
8998 
8999   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
9000 
9001   // nested types ----------------------------------------------------
9002 
9003   // accessors -------------------------------------------------------
9004 
9005   enum : int {
9006     kSourceFieldNumber = 3,
9007     kElementFieldNumber = 1,
9008     kTextFieldNumber = 2,
9009   };
9010   // .aapt.pb.SourcePosition source = 3;
9011   bool has_source() const;
9012   private:
9013   bool _internal_has_source() const;
9014   public:
9015   void clear_source();
9016   const ::aapt::pb::SourcePosition& source() const;
9017   PROTOBUF_NODISCARD ::aapt::pb::SourcePosition* release_source();
9018   ::aapt::pb::SourcePosition* mutable_source();
9019   void set_allocated_source(::aapt::pb::SourcePosition* source);
9020   private:
9021   const ::aapt::pb::SourcePosition& _internal_source() const;
9022   ::aapt::pb::SourcePosition* _internal_mutable_source();
9023   public:
9024   void unsafe_arena_set_allocated_source(
9025       ::aapt::pb::SourcePosition* source);
9026   ::aapt::pb::SourcePosition* unsafe_arena_release_source();
9027 
9028   // .aapt.pb.XmlElement element = 1;
9029   bool has_element() const;
9030   private:
9031   bool _internal_has_element() const;
9032   public:
9033   void clear_element();
9034   const ::aapt::pb::XmlElement& element() const;
9035   PROTOBUF_NODISCARD ::aapt::pb::XmlElement* release_element();
9036   ::aapt::pb::XmlElement* mutable_element();
9037   void set_allocated_element(::aapt::pb::XmlElement* element);
9038   private:
9039   const ::aapt::pb::XmlElement& _internal_element() const;
9040   ::aapt::pb::XmlElement* _internal_mutable_element();
9041   public:
9042   void unsafe_arena_set_allocated_element(
9043       ::aapt::pb::XmlElement* element);
9044   ::aapt::pb::XmlElement* unsafe_arena_release_element();
9045 
9046   // string text = 2;
9047   bool has_text() const;
9048   private:
9049   bool _internal_has_text() const;
9050   public:
9051   void clear_text();
9052   const std::string& text() const;
9053   template <typename ArgT0 = const std::string&, typename... ArgT>
9054   void set_text(ArgT0&& arg0, ArgT... args);
9055   std::string* mutable_text();
9056   PROTOBUF_NODISCARD std::string* release_text();
9057   void set_allocated_text(std::string* text);
9058   private:
9059   const std::string& _internal_text() const;
9060   inline PROTOBUF_ALWAYS_INLINE void _internal_set_text(const std::string& value);
9061   std::string* _internal_mutable_text();
9062   public:
9063 
9064   void clear_node();
9065   NodeCase node_case() const;
9066   // @@protoc_insertion_point(class_scope:aapt.pb.XmlNode)
9067  private:
9068   class _Internal;
9069   void set_has_element();
9070   void set_has_text();
9071 
9072   inline bool has_node() const;
9073   inline void clear_has_node();
9074 
9075   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
9076   typedef void InternalArenaConstructable_;
9077   typedef void DestructorSkippable_;
9078   struct Impl_ {
9079     ::aapt::pb::SourcePosition* source_;
9080     union NodeUnion {
9081       constexpr NodeUnion() : _constinit_{} {}
9082         ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
9083       ::aapt::pb::XmlElement* element_;
9084       ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr text_;
9085     } node_;
9086     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
9087     ::uint32_t _oneof_case_[1];
9088 
9089   };
9090   union { Impl_ _impl_; };
9091   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
9092 };
9093 // -------------------------------------------------------------------
9094 
9095 class XmlElement final :
9096     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.XmlElement) */ {
9097  public:
XmlElement()9098   inline XmlElement() : XmlElement(nullptr) {}
9099   ~XmlElement() override;
9100   explicit PROTOBUF_CONSTEXPR XmlElement(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
9101 
9102   XmlElement(const XmlElement& from);
XmlElement(XmlElement && from)9103   XmlElement(XmlElement&& from) noexcept
9104     : XmlElement() {
9105     *this = ::std::move(from);
9106   }
9107 
9108   inline XmlElement& operator=(const XmlElement& from) {
9109     if (this == &from) return *this;
9110     CopyFrom(from);
9111     return *this;
9112   }
9113   inline XmlElement& operator=(XmlElement&& from) noexcept {
9114     if (this == &from) return *this;
9115     if (GetOwningArena() == from.GetOwningArena()
9116   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
9117         && GetOwningArena() != nullptr
9118   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
9119     ) {
9120       InternalSwap(&from);
9121     } else {
9122       CopyFrom(from);
9123     }
9124     return *this;
9125   }
9126 
descriptor()9127   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
9128     return GetDescriptor();
9129   }
GetDescriptor()9130   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
9131     return default_instance().GetMetadata().descriptor;
9132   }
GetReflection()9133   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
9134     return default_instance().GetMetadata().reflection;
9135   }
default_instance()9136   static const XmlElement& default_instance() {
9137     return *internal_default_instance();
9138   }
internal_default_instance()9139   static inline const XmlElement* internal_default_instance() {
9140     return reinterpret_cast<const XmlElement*>(
9141                &_XmlElement_default_instance_);
9142   }
9143   static constexpr int kIndexInFileMessages =
9144     43;
9145 
swap(XmlElement & a,XmlElement & b)9146   friend void swap(XmlElement& a, XmlElement& b) {
9147     a.Swap(&b);
9148   }
Swap(XmlElement * other)9149   inline void Swap(XmlElement* other) {
9150     if (other == this) return;
9151   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
9152     if (GetOwningArena() != nullptr &&
9153         GetOwningArena() == other->GetOwningArena()) {
9154    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
9155     if (GetOwningArena() == other->GetOwningArena()) {
9156   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
9157       InternalSwap(other);
9158     } else {
9159       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
9160     }
9161   }
9162   void UnsafeArenaSwap(XmlElement* other) {
9163     if (other == this) return;
9164     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
9165     InternalSwap(other);
9166   }
9167 
9168   // implements Message ----------------------------------------------
9169 
9170   XmlElement* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
9171     return CreateMaybeMessage<XmlElement>(arena);
9172   }
9173   XmlElement* New() const {
9174     return New(nullptr);
9175   }
9176   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
9177   void CopyFrom(const XmlElement& from);
9178   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
9179   void MergeFrom( const XmlElement& from) {
9180     XmlElement::MergeImpl(*this, from);
9181   }
9182   private:
9183   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
9184   public:
9185   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
9186   bool IsInitialized() const final;
9187 
9188   size_t ByteSizeLong() const final;
9189   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
9190   ::uint8_t* _InternalSerialize(
9191       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
9192   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
9193 
9194   private:
9195   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
9196   void SharedDtor();
9197   void SetCachedSize(int size) const final;
9198   void InternalSwap(XmlElement* other);
9199 
9200   private:
9201   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
9202   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
9203     return "aapt.pb.XmlElement";
9204   }
9205   protected:
9206   explicit XmlElement(::PROTOBUF_NAMESPACE_ID::Arena* arena,
9207                        bool is_message_owned = false);
9208   public:
9209 
9210   static const ClassData _class_data_;
9211   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
9212 
9213   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
9214 
9215   // nested types ----------------------------------------------------
9216 
9217   // accessors -------------------------------------------------------
9218 
9219   enum : int {
9220     kNamespaceDeclarationFieldNumber = 1,
9221     kAttributeFieldNumber = 4,
9222     kChildFieldNumber = 5,
9223     kNamespaceUriFieldNumber = 2,
9224     kNameFieldNumber = 3,
9225   };
9226   // repeated .aapt.pb.XmlNamespace namespace_declaration = 1;
9227   int namespace_declaration_size() const;
9228   private:
9229   int _internal_namespace_declaration_size() const;
9230   public:
9231   void clear_namespace_declaration();
9232   ::aapt::pb::XmlNamespace* mutable_namespace_declaration(int index);
9233   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::XmlNamespace >*
9234       mutable_namespace_declaration();
9235   private:
9236   const ::aapt::pb::XmlNamespace& _internal_namespace_declaration(int index) const;
9237   ::aapt::pb::XmlNamespace* _internal_add_namespace_declaration();
9238   public:
9239   const ::aapt::pb::XmlNamespace& namespace_declaration(int index) const;
9240   ::aapt::pb::XmlNamespace* add_namespace_declaration();
9241   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::XmlNamespace >&
9242       namespace_declaration() const;
9243 
9244   // repeated .aapt.pb.XmlAttribute attribute = 4;
9245   int attribute_size() const;
9246   private:
9247   int _internal_attribute_size() const;
9248   public:
9249   void clear_attribute();
9250   ::aapt::pb::XmlAttribute* mutable_attribute(int index);
9251   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::XmlAttribute >*
9252       mutable_attribute();
9253   private:
9254   const ::aapt::pb::XmlAttribute& _internal_attribute(int index) const;
9255   ::aapt::pb::XmlAttribute* _internal_add_attribute();
9256   public:
9257   const ::aapt::pb::XmlAttribute& attribute(int index) const;
9258   ::aapt::pb::XmlAttribute* add_attribute();
9259   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::XmlAttribute >&
9260       attribute() const;
9261 
9262   // repeated .aapt.pb.XmlNode child = 5;
9263   int child_size() const;
9264   private:
9265   int _internal_child_size() const;
9266   public:
9267   void clear_child();
9268   ::aapt::pb::XmlNode* mutable_child(int index);
9269   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::XmlNode >*
9270       mutable_child();
9271   private:
9272   const ::aapt::pb::XmlNode& _internal_child(int index) const;
9273   ::aapt::pb::XmlNode* _internal_add_child();
9274   public:
9275   const ::aapt::pb::XmlNode& child(int index) const;
9276   ::aapt::pb::XmlNode* add_child();
9277   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::XmlNode >&
9278       child() const;
9279 
9280   // string namespace_uri = 2;
9281   void clear_namespace_uri();
9282   const std::string& namespace_uri() const;
9283   template <typename ArgT0 = const std::string&, typename... ArgT>
9284   void set_namespace_uri(ArgT0&& arg0, ArgT... args);
9285   std::string* mutable_namespace_uri();
9286   PROTOBUF_NODISCARD std::string* release_namespace_uri();
9287   void set_allocated_namespace_uri(std::string* namespace_uri);
9288   private:
9289   const std::string& _internal_namespace_uri() const;
9290   inline PROTOBUF_ALWAYS_INLINE void _internal_set_namespace_uri(const std::string& value);
9291   std::string* _internal_mutable_namespace_uri();
9292   public:
9293 
9294   // string name = 3;
9295   void clear_name();
9296   const std::string& name() const;
9297   template <typename ArgT0 = const std::string&, typename... ArgT>
9298   void set_name(ArgT0&& arg0, ArgT... args);
9299   std::string* mutable_name();
9300   PROTOBUF_NODISCARD std::string* release_name();
9301   void set_allocated_name(std::string* name);
9302   private:
9303   const std::string& _internal_name() const;
9304   inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
9305   std::string* _internal_mutable_name();
9306   public:
9307 
9308   // @@protoc_insertion_point(class_scope:aapt.pb.XmlElement)
9309  private:
9310   class _Internal;
9311 
9312   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
9313   typedef void InternalArenaConstructable_;
9314   typedef void DestructorSkippable_;
9315   struct Impl_ {
9316     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::XmlNamespace > namespace_declaration_;
9317     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::XmlAttribute > attribute_;
9318     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::XmlNode > child_;
9319     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr namespace_uri_;
9320     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
9321     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
9322   };
9323   union { Impl_ _impl_; };
9324   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
9325 };
9326 // -------------------------------------------------------------------
9327 
9328 class XmlNamespace final :
9329     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.XmlNamespace) */ {
9330  public:
XmlNamespace()9331   inline XmlNamespace() : XmlNamespace(nullptr) {}
9332   ~XmlNamespace() override;
9333   explicit PROTOBUF_CONSTEXPR XmlNamespace(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
9334 
9335   XmlNamespace(const XmlNamespace& from);
XmlNamespace(XmlNamespace && from)9336   XmlNamespace(XmlNamespace&& from) noexcept
9337     : XmlNamespace() {
9338     *this = ::std::move(from);
9339   }
9340 
9341   inline XmlNamespace& operator=(const XmlNamespace& from) {
9342     if (this == &from) return *this;
9343     CopyFrom(from);
9344     return *this;
9345   }
9346   inline XmlNamespace& operator=(XmlNamespace&& from) noexcept {
9347     if (this == &from) return *this;
9348     if (GetOwningArena() == from.GetOwningArena()
9349   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
9350         && GetOwningArena() != nullptr
9351   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
9352     ) {
9353       InternalSwap(&from);
9354     } else {
9355       CopyFrom(from);
9356     }
9357     return *this;
9358   }
9359 
descriptor()9360   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
9361     return GetDescriptor();
9362   }
GetDescriptor()9363   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
9364     return default_instance().GetMetadata().descriptor;
9365   }
GetReflection()9366   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
9367     return default_instance().GetMetadata().reflection;
9368   }
default_instance()9369   static const XmlNamespace& default_instance() {
9370     return *internal_default_instance();
9371   }
internal_default_instance()9372   static inline const XmlNamespace* internal_default_instance() {
9373     return reinterpret_cast<const XmlNamespace*>(
9374                &_XmlNamespace_default_instance_);
9375   }
9376   static constexpr int kIndexInFileMessages =
9377     44;
9378 
swap(XmlNamespace & a,XmlNamespace & b)9379   friend void swap(XmlNamespace& a, XmlNamespace& b) {
9380     a.Swap(&b);
9381   }
Swap(XmlNamespace * other)9382   inline void Swap(XmlNamespace* other) {
9383     if (other == this) return;
9384   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
9385     if (GetOwningArena() != nullptr &&
9386         GetOwningArena() == other->GetOwningArena()) {
9387    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
9388     if (GetOwningArena() == other->GetOwningArena()) {
9389   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
9390       InternalSwap(other);
9391     } else {
9392       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
9393     }
9394   }
9395   void UnsafeArenaSwap(XmlNamespace* other) {
9396     if (other == this) return;
9397     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
9398     InternalSwap(other);
9399   }
9400 
9401   // implements Message ----------------------------------------------
9402 
9403   XmlNamespace* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
9404     return CreateMaybeMessage<XmlNamespace>(arena);
9405   }
9406   XmlNamespace* New() const {
9407     return New(nullptr);
9408   }
9409   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
9410   void CopyFrom(const XmlNamespace& from);
9411   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
9412   void MergeFrom( const XmlNamespace& from) {
9413     XmlNamespace::MergeImpl(*this, from);
9414   }
9415   private:
9416   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
9417   public:
9418   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
9419   bool IsInitialized() const final;
9420 
9421   size_t ByteSizeLong() const final;
9422   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
9423   ::uint8_t* _InternalSerialize(
9424       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
9425   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
9426 
9427   private:
9428   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
9429   void SharedDtor();
9430   void SetCachedSize(int size) const final;
9431   void InternalSwap(XmlNamespace* other);
9432 
9433   private:
9434   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
9435   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
9436     return "aapt.pb.XmlNamespace";
9437   }
9438   protected:
9439   explicit XmlNamespace(::PROTOBUF_NAMESPACE_ID::Arena* arena,
9440                        bool is_message_owned = false);
9441   public:
9442 
9443   static const ClassData _class_data_;
9444   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
9445 
9446   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
9447 
9448   // nested types ----------------------------------------------------
9449 
9450   // accessors -------------------------------------------------------
9451 
9452   enum : int {
9453     kPrefixFieldNumber = 1,
9454     kUriFieldNumber = 2,
9455     kSourceFieldNumber = 3,
9456   };
9457   // string prefix = 1;
9458   void clear_prefix();
9459   const std::string& prefix() const;
9460   template <typename ArgT0 = const std::string&, typename... ArgT>
9461   void set_prefix(ArgT0&& arg0, ArgT... args);
9462   std::string* mutable_prefix();
9463   PROTOBUF_NODISCARD std::string* release_prefix();
9464   void set_allocated_prefix(std::string* prefix);
9465   private:
9466   const std::string& _internal_prefix() const;
9467   inline PROTOBUF_ALWAYS_INLINE void _internal_set_prefix(const std::string& value);
9468   std::string* _internal_mutable_prefix();
9469   public:
9470 
9471   // string uri = 2;
9472   void clear_uri();
9473   const std::string& uri() const;
9474   template <typename ArgT0 = const std::string&, typename... ArgT>
9475   void set_uri(ArgT0&& arg0, ArgT... args);
9476   std::string* mutable_uri();
9477   PROTOBUF_NODISCARD std::string* release_uri();
9478   void set_allocated_uri(std::string* uri);
9479   private:
9480   const std::string& _internal_uri() const;
9481   inline PROTOBUF_ALWAYS_INLINE void _internal_set_uri(const std::string& value);
9482   std::string* _internal_mutable_uri();
9483   public:
9484 
9485   // .aapt.pb.SourcePosition source = 3;
9486   bool has_source() const;
9487   private:
9488   bool _internal_has_source() const;
9489   public:
9490   void clear_source();
9491   const ::aapt::pb::SourcePosition& source() const;
9492   PROTOBUF_NODISCARD ::aapt::pb::SourcePosition* release_source();
9493   ::aapt::pb::SourcePosition* mutable_source();
9494   void set_allocated_source(::aapt::pb::SourcePosition* source);
9495   private:
9496   const ::aapt::pb::SourcePosition& _internal_source() const;
9497   ::aapt::pb::SourcePosition* _internal_mutable_source();
9498   public:
9499   void unsafe_arena_set_allocated_source(
9500       ::aapt::pb::SourcePosition* source);
9501   ::aapt::pb::SourcePosition* unsafe_arena_release_source();
9502 
9503   // @@protoc_insertion_point(class_scope:aapt.pb.XmlNamespace)
9504  private:
9505   class _Internal;
9506 
9507   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
9508   typedef void InternalArenaConstructable_;
9509   typedef void DestructorSkippable_;
9510   struct Impl_ {
9511     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr prefix_;
9512     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr uri_;
9513     ::aapt::pb::SourcePosition* source_;
9514     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
9515   };
9516   union { Impl_ _impl_; };
9517   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
9518 };
9519 // -------------------------------------------------------------------
9520 
9521 class XmlAttribute final :
9522     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.XmlAttribute) */ {
9523  public:
XmlAttribute()9524   inline XmlAttribute() : XmlAttribute(nullptr) {}
9525   ~XmlAttribute() override;
9526   explicit PROTOBUF_CONSTEXPR XmlAttribute(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
9527 
9528   XmlAttribute(const XmlAttribute& from);
XmlAttribute(XmlAttribute && from)9529   XmlAttribute(XmlAttribute&& from) noexcept
9530     : XmlAttribute() {
9531     *this = ::std::move(from);
9532   }
9533 
9534   inline XmlAttribute& operator=(const XmlAttribute& from) {
9535     if (this == &from) return *this;
9536     CopyFrom(from);
9537     return *this;
9538   }
9539   inline XmlAttribute& operator=(XmlAttribute&& from) noexcept {
9540     if (this == &from) return *this;
9541     if (GetOwningArena() == from.GetOwningArena()
9542   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
9543         && GetOwningArena() != nullptr
9544   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
9545     ) {
9546       InternalSwap(&from);
9547     } else {
9548       CopyFrom(from);
9549     }
9550     return *this;
9551   }
9552 
descriptor()9553   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
9554     return GetDescriptor();
9555   }
GetDescriptor()9556   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
9557     return default_instance().GetMetadata().descriptor;
9558   }
GetReflection()9559   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
9560     return default_instance().GetMetadata().reflection;
9561   }
default_instance()9562   static const XmlAttribute& default_instance() {
9563     return *internal_default_instance();
9564   }
internal_default_instance()9565   static inline const XmlAttribute* internal_default_instance() {
9566     return reinterpret_cast<const XmlAttribute*>(
9567                &_XmlAttribute_default_instance_);
9568   }
9569   static constexpr int kIndexInFileMessages =
9570     45;
9571 
swap(XmlAttribute & a,XmlAttribute & b)9572   friend void swap(XmlAttribute& a, XmlAttribute& b) {
9573     a.Swap(&b);
9574   }
Swap(XmlAttribute * other)9575   inline void Swap(XmlAttribute* other) {
9576     if (other == this) return;
9577   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
9578     if (GetOwningArena() != nullptr &&
9579         GetOwningArena() == other->GetOwningArena()) {
9580    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
9581     if (GetOwningArena() == other->GetOwningArena()) {
9582   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
9583       InternalSwap(other);
9584     } else {
9585       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
9586     }
9587   }
9588   void UnsafeArenaSwap(XmlAttribute* other) {
9589     if (other == this) return;
9590     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
9591     InternalSwap(other);
9592   }
9593 
9594   // implements Message ----------------------------------------------
9595 
9596   XmlAttribute* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
9597     return CreateMaybeMessage<XmlAttribute>(arena);
9598   }
9599   XmlAttribute* New() const {
9600     return New(nullptr);
9601   }
9602   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
9603   void CopyFrom(const XmlAttribute& from);
9604   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
9605   void MergeFrom( const XmlAttribute& from) {
9606     XmlAttribute::MergeImpl(*this, from);
9607   }
9608   private:
9609   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
9610   public:
9611   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
9612   bool IsInitialized() const final;
9613 
9614   size_t ByteSizeLong() const final;
9615   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
9616   ::uint8_t* _InternalSerialize(
9617       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
9618   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
9619 
9620   private:
9621   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
9622   void SharedDtor();
9623   void SetCachedSize(int size) const final;
9624   void InternalSwap(XmlAttribute* other);
9625 
9626   private:
9627   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
9628   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
9629     return "aapt.pb.XmlAttribute";
9630   }
9631   protected:
9632   explicit XmlAttribute(::PROTOBUF_NAMESPACE_ID::Arena* arena,
9633                        bool is_message_owned = false);
9634   public:
9635 
9636   static const ClassData _class_data_;
9637   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
9638 
9639   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
9640 
9641   // nested types ----------------------------------------------------
9642 
9643   // accessors -------------------------------------------------------
9644 
9645   enum : int {
9646     kNamespaceUriFieldNumber = 1,
9647     kNameFieldNumber = 2,
9648     kValueFieldNumber = 3,
9649     kSourceFieldNumber = 4,
9650     kCompiledItemFieldNumber = 6,
9651     kResourceIdFieldNumber = 5,
9652   };
9653   // string namespace_uri = 1;
9654   void clear_namespace_uri();
9655   const std::string& namespace_uri() const;
9656   template <typename ArgT0 = const std::string&, typename... ArgT>
9657   void set_namespace_uri(ArgT0&& arg0, ArgT... args);
9658   std::string* mutable_namespace_uri();
9659   PROTOBUF_NODISCARD std::string* release_namespace_uri();
9660   void set_allocated_namespace_uri(std::string* namespace_uri);
9661   private:
9662   const std::string& _internal_namespace_uri() const;
9663   inline PROTOBUF_ALWAYS_INLINE void _internal_set_namespace_uri(const std::string& value);
9664   std::string* _internal_mutable_namespace_uri();
9665   public:
9666 
9667   // string name = 2;
9668   void clear_name();
9669   const std::string& name() const;
9670   template <typename ArgT0 = const std::string&, typename... ArgT>
9671   void set_name(ArgT0&& arg0, ArgT... args);
9672   std::string* mutable_name();
9673   PROTOBUF_NODISCARD std::string* release_name();
9674   void set_allocated_name(std::string* name);
9675   private:
9676   const std::string& _internal_name() const;
9677   inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
9678   std::string* _internal_mutable_name();
9679   public:
9680 
9681   // string value = 3;
9682   void clear_value();
9683   const std::string& value() const;
9684   template <typename ArgT0 = const std::string&, typename... ArgT>
9685   void set_value(ArgT0&& arg0, ArgT... args);
9686   std::string* mutable_value();
9687   PROTOBUF_NODISCARD std::string* release_value();
9688   void set_allocated_value(std::string* value);
9689   private:
9690   const std::string& _internal_value() const;
9691   inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value);
9692   std::string* _internal_mutable_value();
9693   public:
9694 
9695   // .aapt.pb.SourcePosition source = 4;
9696   bool has_source() const;
9697   private:
9698   bool _internal_has_source() const;
9699   public:
9700   void clear_source();
9701   const ::aapt::pb::SourcePosition& source() const;
9702   PROTOBUF_NODISCARD ::aapt::pb::SourcePosition* release_source();
9703   ::aapt::pb::SourcePosition* mutable_source();
9704   void set_allocated_source(::aapt::pb::SourcePosition* source);
9705   private:
9706   const ::aapt::pb::SourcePosition& _internal_source() const;
9707   ::aapt::pb::SourcePosition* _internal_mutable_source();
9708   public:
9709   void unsafe_arena_set_allocated_source(
9710       ::aapt::pb::SourcePosition* source);
9711   ::aapt::pb::SourcePosition* unsafe_arena_release_source();
9712 
9713   // .aapt.pb.Item compiled_item = 6;
9714   bool has_compiled_item() const;
9715   private:
9716   bool _internal_has_compiled_item() const;
9717   public:
9718   void clear_compiled_item();
9719   const ::aapt::pb::Item& compiled_item() const;
9720   PROTOBUF_NODISCARD ::aapt::pb::Item* release_compiled_item();
9721   ::aapt::pb::Item* mutable_compiled_item();
9722   void set_allocated_compiled_item(::aapt::pb::Item* compiled_item);
9723   private:
9724   const ::aapt::pb::Item& _internal_compiled_item() const;
9725   ::aapt::pb::Item* _internal_mutable_compiled_item();
9726   public:
9727   void unsafe_arena_set_allocated_compiled_item(
9728       ::aapt::pb::Item* compiled_item);
9729   ::aapt::pb::Item* unsafe_arena_release_compiled_item();
9730 
9731   // uint32 resource_id = 5;
9732   void clear_resource_id();
9733   ::uint32_t resource_id() const;
9734   void set_resource_id(::uint32_t value);
9735   private:
9736   ::uint32_t _internal_resource_id() const;
9737   void _internal_set_resource_id(::uint32_t value);
9738   public:
9739 
9740   // @@protoc_insertion_point(class_scope:aapt.pb.XmlAttribute)
9741  private:
9742   class _Internal;
9743 
9744   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
9745   typedef void InternalArenaConstructable_;
9746   typedef void DestructorSkippable_;
9747   struct Impl_ {
9748     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr namespace_uri_;
9749     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
9750     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
9751     ::aapt::pb::SourcePosition* source_;
9752     ::aapt::pb::Item* compiled_item_;
9753     ::uint32_t resource_id_;
9754     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
9755   };
9756   union { Impl_ _impl_; };
9757   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
9758 };
9759 // -------------------------------------------------------------------
9760 
9761 class MacroBody final :
9762     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.MacroBody) */ {
9763  public:
MacroBody()9764   inline MacroBody() : MacroBody(nullptr) {}
9765   ~MacroBody() override;
9766   explicit PROTOBUF_CONSTEXPR MacroBody(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
9767 
9768   MacroBody(const MacroBody& from);
MacroBody(MacroBody && from)9769   MacroBody(MacroBody&& from) noexcept
9770     : MacroBody() {
9771     *this = ::std::move(from);
9772   }
9773 
9774   inline MacroBody& operator=(const MacroBody& from) {
9775     if (this == &from) return *this;
9776     CopyFrom(from);
9777     return *this;
9778   }
9779   inline MacroBody& operator=(MacroBody&& from) noexcept {
9780     if (this == &from) return *this;
9781     if (GetOwningArena() == from.GetOwningArena()
9782   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
9783         && GetOwningArena() != nullptr
9784   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
9785     ) {
9786       InternalSwap(&from);
9787     } else {
9788       CopyFrom(from);
9789     }
9790     return *this;
9791   }
9792 
descriptor()9793   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
9794     return GetDescriptor();
9795   }
GetDescriptor()9796   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
9797     return default_instance().GetMetadata().descriptor;
9798   }
GetReflection()9799   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
9800     return default_instance().GetMetadata().reflection;
9801   }
default_instance()9802   static const MacroBody& default_instance() {
9803     return *internal_default_instance();
9804   }
internal_default_instance()9805   static inline const MacroBody* internal_default_instance() {
9806     return reinterpret_cast<const MacroBody*>(
9807                &_MacroBody_default_instance_);
9808   }
9809   static constexpr int kIndexInFileMessages =
9810     46;
9811 
swap(MacroBody & a,MacroBody & b)9812   friend void swap(MacroBody& a, MacroBody& b) {
9813     a.Swap(&b);
9814   }
Swap(MacroBody * other)9815   inline void Swap(MacroBody* other) {
9816     if (other == this) return;
9817   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
9818     if (GetOwningArena() != nullptr &&
9819         GetOwningArena() == other->GetOwningArena()) {
9820    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
9821     if (GetOwningArena() == other->GetOwningArena()) {
9822   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
9823       InternalSwap(other);
9824     } else {
9825       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
9826     }
9827   }
9828   void UnsafeArenaSwap(MacroBody* other) {
9829     if (other == this) return;
9830     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
9831     InternalSwap(other);
9832   }
9833 
9834   // implements Message ----------------------------------------------
9835 
9836   MacroBody* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
9837     return CreateMaybeMessage<MacroBody>(arena);
9838   }
9839   MacroBody* New() const {
9840     return New(nullptr);
9841   }
9842   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
9843   void CopyFrom(const MacroBody& from);
9844   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
9845   void MergeFrom( const MacroBody& from) {
9846     MacroBody::MergeImpl(*this, from);
9847   }
9848   private:
9849   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
9850   public:
9851   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
9852   bool IsInitialized() const final;
9853 
9854   size_t ByteSizeLong() const final;
9855   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
9856   ::uint8_t* _InternalSerialize(
9857       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
9858   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
9859 
9860   private:
9861   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
9862   void SharedDtor();
9863   void SetCachedSize(int size) const final;
9864   void InternalSwap(MacroBody* other);
9865 
9866   private:
9867   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
9868   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
9869     return "aapt.pb.MacroBody";
9870   }
9871   protected:
9872   explicit MacroBody(::PROTOBUF_NAMESPACE_ID::Arena* arena,
9873                        bool is_message_owned = false);
9874   public:
9875 
9876   static const ClassData _class_data_;
9877   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
9878 
9879   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
9880 
9881   // nested types ----------------------------------------------------
9882 
9883   // accessors -------------------------------------------------------
9884 
9885   enum : int {
9886     kUntranslatableSectionsFieldNumber = 3,
9887     kNamespaceStackFieldNumber = 4,
9888     kRawStringFieldNumber = 1,
9889     kStyleStringFieldNumber = 2,
9890     kSourceFieldNumber = 5,
9891   };
9892   // repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;
9893   int untranslatable_sections_size() const;
9894   private:
9895   int _internal_untranslatable_sections_size() const;
9896   public:
9897   void clear_untranslatable_sections();
9898   ::aapt::pb::UntranslatableSection* mutable_untranslatable_sections(int index);
9899   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::UntranslatableSection >*
9900       mutable_untranslatable_sections();
9901   private:
9902   const ::aapt::pb::UntranslatableSection& _internal_untranslatable_sections(int index) const;
9903   ::aapt::pb::UntranslatableSection* _internal_add_untranslatable_sections();
9904   public:
9905   const ::aapt::pb::UntranslatableSection& untranslatable_sections(int index) const;
9906   ::aapt::pb::UntranslatableSection* add_untranslatable_sections();
9907   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::UntranslatableSection >&
9908       untranslatable_sections() const;
9909 
9910   // repeated .aapt.pb.NamespaceAlias namespace_stack = 4;
9911   int namespace_stack_size() const;
9912   private:
9913   int _internal_namespace_stack_size() const;
9914   public:
9915   void clear_namespace_stack();
9916   ::aapt::pb::NamespaceAlias* mutable_namespace_stack(int index);
9917   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::NamespaceAlias >*
9918       mutable_namespace_stack();
9919   private:
9920   const ::aapt::pb::NamespaceAlias& _internal_namespace_stack(int index) const;
9921   ::aapt::pb::NamespaceAlias* _internal_add_namespace_stack();
9922   public:
9923   const ::aapt::pb::NamespaceAlias& namespace_stack(int index) const;
9924   ::aapt::pb::NamespaceAlias* add_namespace_stack();
9925   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::NamespaceAlias >&
9926       namespace_stack() const;
9927 
9928   // string raw_string = 1;
9929   void clear_raw_string();
9930   const std::string& raw_string() const;
9931   template <typename ArgT0 = const std::string&, typename... ArgT>
9932   void set_raw_string(ArgT0&& arg0, ArgT... args);
9933   std::string* mutable_raw_string();
9934   PROTOBUF_NODISCARD std::string* release_raw_string();
9935   void set_allocated_raw_string(std::string* raw_string);
9936   private:
9937   const std::string& _internal_raw_string() const;
9938   inline PROTOBUF_ALWAYS_INLINE void _internal_set_raw_string(const std::string& value);
9939   std::string* _internal_mutable_raw_string();
9940   public:
9941 
9942   // .aapt.pb.StyleString style_string = 2;
9943   bool has_style_string() const;
9944   private:
9945   bool _internal_has_style_string() const;
9946   public:
9947   void clear_style_string();
9948   const ::aapt::pb::StyleString& style_string() const;
9949   PROTOBUF_NODISCARD ::aapt::pb::StyleString* release_style_string();
9950   ::aapt::pb::StyleString* mutable_style_string();
9951   void set_allocated_style_string(::aapt::pb::StyleString* style_string);
9952   private:
9953   const ::aapt::pb::StyleString& _internal_style_string() const;
9954   ::aapt::pb::StyleString* _internal_mutable_style_string();
9955   public:
9956   void unsafe_arena_set_allocated_style_string(
9957       ::aapt::pb::StyleString* style_string);
9958   ::aapt::pb::StyleString* unsafe_arena_release_style_string();
9959 
9960   // .aapt.pb.SourcePosition source = 5;
9961   bool has_source() const;
9962   private:
9963   bool _internal_has_source() const;
9964   public:
9965   void clear_source();
9966   const ::aapt::pb::SourcePosition& source() const;
9967   PROTOBUF_NODISCARD ::aapt::pb::SourcePosition* release_source();
9968   ::aapt::pb::SourcePosition* mutable_source();
9969   void set_allocated_source(::aapt::pb::SourcePosition* source);
9970   private:
9971   const ::aapt::pb::SourcePosition& _internal_source() const;
9972   ::aapt::pb::SourcePosition* _internal_mutable_source();
9973   public:
9974   void unsafe_arena_set_allocated_source(
9975       ::aapt::pb::SourcePosition* source);
9976   ::aapt::pb::SourcePosition* unsafe_arena_release_source();
9977 
9978   // @@protoc_insertion_point(class_scope:aapt.pb.MacroBody)
9979  private:
9980   class _Internal;
9981 
9982   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
9983   typedef void InternalArenaConstructable_;
9984   typedef void DestructorSkippable_;
9985   struct Impl_ {
9986     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::UntranslatableSection > untranslatable_sections_;
9987     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::NamespaceAlias > namespace_stack_;
9988     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr raw_string_;
9989     ::aapt::pb::StyleString* style_string_;
9990     ::aapt::pb::SourcePosition* source_;
9991     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
9992   };
9993   union { Impl_ _impl_; };
9994   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
9995 };
9996 // -------------------------------------------------------------------
9997 
9998 class NamespaceAlias final :
9999     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.NamespaceAlias) */ {
10000  public:
NamespaceAlias()10001   inline NamespaceAlias() : NamespaceAlias(nullptr) {}
10002   ~NamespaceAlias() override;
10003   explicit PROTOBUF_CONSTEXPR NamespaceAlias(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
10004 
10005   NamespaceAlias(const NamespaceAlias& from);
NamespaceAlias(NamespaceAlias && from)10006   NamespaceAlias(NamespaceAlias&& from) noexcept
10007     : NamespaceAlias() {
10008     *this = ::std::move(from);
10009   }
10010 
10011   inline NamespaceAlias& operator=(const NamespaceAlias& from) {
10012     if (this == &from) return *this;
10013     CopyFrom(from);
10014     return *this;
10015   }
10016   inline NamespaceAlias& operator=(NamespaceAlias&& from) noexcept {
10017     if (this == &from) return *this;
10018     if (GetOwningArena() == from.GetOwningArena()
10019   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
10020         && GetOwningArena() != nullptr
10021   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
10022     ) {
10023       InternalSwap(&from);
10024     } else {
10025       CopyFrom(from);
10026     }
10027     return *this;
10028   }
10029 
descriptor()10030   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
10031     return GetDescriptor();
10032   }
GetDescriptor()10033   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
10034     return default_instance().GetMetadata().descriptor;
10035   }
GetReflection()10036   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
10037     return default_instance().GetMetadata().reflection;
10038   }
default_instance()10039   static const NamespaceAlias& default_instance() {
10040     return *internal_default_instance();
10041   }
internal_default_instance()10042   static inline const NamespaceAlias* internal_default_instance() {
10043     return reinterpret_cast<const NamespaceAlias*>(
10044                &_NamespaceAlias_default_instance_);
10045   }
10046   static constexpr int kIndexInFileMessages =
10047     47;
10048 
swap(NamespaceAlias & a,NamespaceAlias & b)10049   friend void swap(NamespaceAlias& a, NamespaceAlias& b) {
10050     a.Swap(&b);
10051   }
Swap(NamespaceAlias * other)10052   inline void Swap(NamespaceAlias* other) {
10053     if (other == this) return;
10054   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
10055     if (GetOwningArena() != nullptr &&
10056         GetOwningArena() == other->GetOwningArena()) {
10057    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
10058     if (GetOwningArena() == other->GetOwningArena()) {
10059   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
10060       InternalSwap(other);
10061     } else {
10062       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
10063     }
10064   }
10065   void UnsafeArenaSwap(NamespaceAlias* other) {
10066     if (other == this) return;
10067     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
10068     InternalSwap(other);
10069   }
10070 
10071   // implements Message ----------------------------------------------
10072 
10073   NamespaceAlias* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
10074     return CreateMaybeMessage<NamespaceAlias>(arena);
10075   }
10076   NamespaceAlias* New() const {
10077     return New(nullptr);
10078   }
10079   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
10080   void CopyFrom(const NamespaceAlias& from);
10081   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
10082   void MergeFrom( const NamespaceAlias& from) {
10083     NamespaceAlias::MergeImpl(*this, from);
10084   }
10085   private:
10086   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
10087   public:
10088   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
10089   bool IsInitialized() const final;
10090 
10091   size_t ByteSizeLong() const final;
10092   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
10093   ::uint8_t* _InternalSerialize(
10094       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
10095   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
10096 
10097   private:
10098   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
10099   void SharedDtor();
10100   void SetCachedSize(int size) const final;
10101   void InternalSwap(NamespaceAlias* other);
10102 
10103   private:
10104   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
10105   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
10106     return "aapt.pb.NamespaceAlias";
10107   }
10108   protected:
10109   explicit NamespaceAlias(::PROTOBUF_NAMESPACE_ID::Arena* arena,
10110                        bool is_message_owned = false);
10111   public:
10112 
10113   static const ClassData _class_data_;
10114   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
10115 
10116   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
10117 
10118   // nested types ----------------------------------------------------
10119 
10120   // accessors -------------------------------------------------------
10121 
10122   enum : int {
10123     kPrefixFieldNumber = 1,
10124     kPackageNameFieldNumber = 2,
10125     kIsPrivateFieldNumber = 3,
10126   };
10127   // string prefix = 1;
10128   void clear_prefix();
10129   const std::string& prefix() const;
10130   template <typename ArgT0 = const std::string&, typename... ArgT>
10131   void set_prefix(ArgT0&& arg0, ArgT... args);
10132   std::string* mutable_prefix();
10133   PROTOBUF_NODISCARD std::string* release_prefix();
10134   void set_allocated_prefix(std::string* prefix);
10135   private:
10136   const std::string& _internal_prefix() const;
10137   inline PROTOBUF_ALWAYS_INLINE void _internal_set_prefix(const std::string& value);
10138   std::string* _internal_mutable_prefix();
10139   public:
10140 
10141   // string package_name = 2;
10142   void clear_package_name();
10143   const std::string& package_name() const;
10144   template <typename ArgT0 = const std::string&, typename... ArgT>
10145   void set_package_name(ArgT0&& arg0, ArgT... args);
10146   std::string* mutable_package_name();
10147   PROTOBUF_NODISCARD std::string* release_package_name();
10148   void set_allocated_package_name(std::string* package_name);
10149   private:
10150   const std::string& _internal_package_name() const;
10151   inline PROTOBUF_ALWAYS_INLINE void _internal_set_package_name(const std::string& value);
10152   std::string* _internal_mutable_package_name();
10153   public:
10154 
10155   // bool is_private = 3;
10156   void clear_is_private();
10157   bool is_private() const;
10158   void set_is_private(bool value);
10159   private:
10160   bool _internal_is_private() const;
10161   void _internal_set_is_private(bool value);
10162   public:
10163 
10164   // @@protoc_insertion_point(class_scope:aapt.pb.NamespaceAlias)
10165  private:
10166   class _Internal;
10167 
10168   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
10169   typedef void InternalArenaConstructable_;
10170   typedef void DestructorSkippable_;
10171   struct Impl_ {
10172     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr prefix_;
10173     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr package_name_;
10174     bool is_private_;
10175     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
10176   };
10177   union { Impl_ _impl_; };
10178   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
10179 };
10180 // -------------------------------------------------------------------
10181 
10182 class StyleString_Span final :
10183     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.StyleString.Span) */ {
10184  public:
StyleString_Span()10185   inline StyleString_Span() : StyleString_Span(nullptr) {}
10186   ~StyleString_Span() override;
10187   explicit PROTOBUF_CONSTEXPR StyleString_Span(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
10188 
10189   StyleString_Span(const StyleString_Span& from);
StyleString_Span(StyleString_Span && from)10190   StyleString_Span(StyleString_Span&& from) noexcept
10191     : StyleString_Span() {
10192     *this = ::std::move(from);
10193   }
10194 
10195   inline StyleString_Span& operator=(const StyleString_Span& from) {
10196     if (this == &from) return *this;
10197     CopyFrom(from);
10198     return *this;
10199   }
10200   inline StyleString_Span& operator=(StyleString_Span&& from) noexcept {
10201     if (this == &from) return *this;
10202     if (GetOwningArena() == from.GetOwningArena()
10203   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
10204         && GetOwningArena() != nullptr
10205   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
10206     ) {
10207       InternalSwap(&from);
10208     } else {
10209       CopyFrom(from);
10210     }
10211     return *this;
10212   }
10213 
descriptor()10214   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
10215     return GetDescriptor();
10216   }
GetDescriptor()10217   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
10218     return default_instance().GetMetadata().descriptor;
10219   }
GetReflection()10220   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
10221     return default_instance().GetMetadata().reflection;
10222   }
default_instance()10223   static const StyleString_Span& default_instance() {
10224     return *internal_default_instance();
10225   }
internal_default_instance()10226   static inline const StyleString_Span* internal_default_instance() {
10227     return reinterpret_cast<const StyleString_Span*>(
10228                &_StyleString_Span_default_instance_);
10229   }
10230   static constexpr int kIndexInFileMessages =
10231     48;
10232 
swap(StyleString_Span & a,StyleString_Span & b)10233   friend void swap(StyleString_Span& a, StyleString_Span& b) {
10234     a.Swap(&b);
10235   }
Swap(StyleString_Span * other)10236   inline void Swap(StyleString_Span* other) {
10237     if (other == this) return;
10238   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
10239     if (GetOwningArena() != nullptr &&
10240         GetOwningArena() == other->GetOwningArena()) {
10241    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
10242     if (GetOwningArena() == other->GetOwningArena()) {
10243   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
10244       InternalSwap(other);
10245     } else {
10246       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
10247     }
10248   }
10249   void UnsafeArenaSwap(StyleString_Span* other) {
10250     if (other == this) return;
10251     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
10252     InternalSwap(other);
10253   }
10254 
10255   // implements Message ----------------------------------------------
10256 
10257   StyleString_Span* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
10258     return CreateMaybeMessage<StyleString_Span>(arena);
10259   }
10260   StyleString_Span* New() const {
10261     return New(nullptr);
10262   }
10263   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
10264   void CopyFrom(const StyleString_Span& from);
10265   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
10266   void MergeFrom( const StyleString_Span& from) {
10267     StyleString_Span::MergeImpl(*this, from);
10268   }
10269   private:
10270   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
10271   public:
10272   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
10273   bool IsInitialized() const final;
10274 
10275   size_t ByteSizeLong() const final;
10276   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
10277   ::uint8_t* _InternalSerialize(
10278       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
10279   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
10280 
10281   private:
10282   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
10283   void SharedDtor();
10284   void SetCachedSize(int size) const final;
10285   void InternalSwap(StyleString_Span* other);
10286 
10287   private:
10288   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
10289   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
10290     return "aapt.pb.StyleString.Span";
10291   }
10292   protected:
10293   explicit StyleString_Span(::PROTOBUF_NAMESPACE_ID::Arena* arena,
10294                        bool is_message_owned = false);
10295   public:
10296 
10297   static const ClassData _class_data_;
10298   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
10299 
10300   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
10301 
10302   // nested types ----------------------------------------------------
10303 
10304   // accessors -------------------------------------------------------
10305 
10306   enum : int {
10307     kNameFieldNumber = 1,
10308     kStartIndexFieldNumber = 2,
10309     kEndIndexFieldNumber = 3,
10310   };
10311   // string name = 1;
10312   void clear_name();
10313   const std::string& name() const;
10314   template <typename ArgT0 = const std::string&, typename... ArgT>
10315   void set_name(ArgT0&& arg0, ArgT... args);
10316   std::string* mutable_name();
10317   PROTOBUF_NODISCARD std::string* release_name();
10318   void set_allocated_name(std::string* name);
10319   private:
10320   const std::string& _internal_name() const;
10321   inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
10322   std::string* _internal_mutable_name();
10323   public:
10324 
10325   // uint32 start_index = 2;
10326   void clear_start_index();
10327   ::uint32_t start_index() const;
10328   void set_start_index(::uint32_t value);
10329   private:
10330   ::uint32_t _internal_start_index() const;
10331   void _internal_set_start_index(::uint32_t value);
10332   public:
10333 
10334   // uint32 end_index = 3;
10335   void clear_end_index();
10336   ::uint32_t end_index() const;
10337   void set_end_index(::uint32_t value);
10338   private:
10339   ::uint32_t _internal_end_index() const;
10340   void _internal_set_end_index(::uint32_t value);
10341   public:
10342 
10343   // @@protoc_insertion_point(class_scope:aapt.pb.StyleString.Span)
10344  private:
10345   class _Internal;
10346 
10347   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
10348   typedef void InternalArenaConstructable_;
10349   typedef void DestructorSkippable_;
10350   struct Impl_ {
10351     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
10352     ::uint32_t start_index_;
10353     ::uint32_t end_index_;
10354     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
10355   };
10356   union { Impl_ _impl_; };
10357   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
10358 };
10359 // -------------------------------------------------------------------
10360 
10361 class StyleString final :
10362     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.StyleString) */ {
10363  public:
StyleString()10364   inline StyleString() : StyleString(nullptr) {}
10365   ~StyleString() override;
10366   explicit PROTOBUF_CONSTEXPR StyleString(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
10367 
10368   StyleString(const StyleString& from);
StyleString(StyleString && from)10369   StyleString(StyleString&& from) noexcept
10370     : StyleString() {
10371     *this = ::std::move(from);
10372   }
10373 
10374   inline StyleString& operator=(const StyleString& from) {
10375     if (this == &from) return *this;
10376     CopyFrom(from);
10377     return *this;
10378   }
10379   inline StyleString& operator=(StyleString&& from) noexcept {
10380     if (this == &from) return *this;
10381     if (GetOwningArena() == from.GetOwningArena()
10382   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
10383         && GetOwningArena() != nullptr
10384   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
10385     ) {
10386       InternalSwap(&from);
10387     } else {
10388       CopyFrom(from);
10389     }
10390     return *this;
10391   }
10392 
descriptor()10393   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
10394     return GetDescriptor();
10395   }
GetDescriptor()10396   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
10397     return default_instance().GetMetadata().descriptor;
10398   }
GetReflection()10399   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
10400     return default_instance().GetMetadata().reflection;
10401   }
default_instance()10402   static const StyleString& default_instance() {
10403     return *internal_default_instance();
10404   }
internal_default_instance()10405   static inline const StyleString* internal_default_instance() {
10406     return reinterpret_cast<const StyleString*>(
10407                &_StyleString_default_instance_);
10408   }
10409   static constexpr int kIndexInFileMessages =
10410     49;
10411 
swap(StyleString & a,StyleString & b)10412   friend void swap(StyleString& a, StyleString& b) {
10413     a.Swap(&b);
10414   }
Swap(StyleString * other)10415   inline void Swap(StyleString* other) {
10416     if (other == this) return;
10417   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
10418     if (GetOwningArena() != nullptr &&
10419         GetOwningArena() == other->GetOwningArena()) {
10420    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
10421     if (GetOwningArena() == other->GetOwningArena()) {
10422   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
10423       InternalSwap(other);
10424     } else {
10425       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
10426     }
10427   }
10428   void UnsafeArenaSwap(StyleString* other) {
10429     if (other == this) return;
10430     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
10431     InternalSwap(other);
10432   }
10433 
10434   // implements Message ----------------------------------------------
10435 
10436   StyleString* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
10437     return CreateMaybeMessage<StyleString>(arena);
10438   }
10439   StyleString* New() const {
10440     return New(nullptr);
10441   }
10442   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
10443   void CopyFrom(const StyleString& from);
10444   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
10445   void MergeFrom( const StyleString& from) {
10446     StyleString::MergeImpl(*this, from);
10447   }
10448   private:
10449   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
10450   public:
10451   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
10452   bool IsInitialized() const final;
10453 
10454   size_t ByteSizeLong() const final;
10455   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
10456   ::uint8_t* _InternalSerialize(
10457       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
10458   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
10459 
10460   private:
10461   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
10462   void SharedDtor();
10463   void SetCachedSize(int size) const final;
10464   void InternalSwap(StyleString* other);
10465 
10466   private:
10467   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
10468   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
10469     return "aapt.pb.StyleString";
10470   }
10471   protected:
10472   explicit StyleString(::PROTOBUF_NAMESPACE_ID::Arena* arena,
10473                        bool is_message_owned = false);
10474   public:
10475 
10476   static const ClassData _class_data_;
10477   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
10478 
10479   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
10480 
10481   // nested types ----------------------------------------------------
10482 
10483   typedef StyleString_Span Span;
10484 
10485   // accessors -------------------------------------------------------
10486 
10487   enum : int {
10488     kSpansFieldNumber = 2,
10489     kStrFieldNumber = 1,
10490   };
10491   // repeated .aapt.pb.StyleString.Span spans = 2;
10492   int spans_size() const;
10493   private:
10494   int _internal_spans_size() const;
10495   public:
10496   void clear_spans();
10497   ::aapt::pb::StyleString_Span* mutable_spans(int index);
10498   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::StyleString_Span >*
10499       mutable_spans();
10500   private:
10501   const ::aapt::pb::StyleString_Span& _internal_spans(int index) const;
10502   ::aapt::pb::StyleString_Span* _internal_add_spans();
10503   public:
10504   const ::aapt::pb::StyleString_Span& spans(int index) const;
10505   ::aapt::pb::StyleString_Span* add_spans();
10506   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::StyleString_Span >&
10507       spans() const;
10508 
10509   // string str = 1;
10510   void clear_str();
10511   const std::string& str() const;
10512   template <typename ArgT0 = const std::string&, typename... ArgT>
10513   void set_str(ArgT0&& arg0, ArgT... args);
10514   std::string* mutable_str();
10515   PROTOBUF_NODISCARD std::string* release_str();
10516   void set_allocated_str(std::string* str);
10517   private:
10518   const std::string& _internal_str() const;
10519   inline PROTOBUF_ALWAYS_INLINE void _internal_set_str(const std::string& value);
10520   std::string* _internal_mutable_str();
10521   public:
10522 
10523   // @@protoc_insertion_point(class_scope:aapt.pb.StyleString)
10524  private:
10525   class _Internal;
10526 
10527   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
10528   typedef void InternalArenaConstructable_;
10529   typedef void DestructorSkippable_;
10530   struct Impl_ {
10531     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::StyleString_Span > spans_;
10532     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr str_;
10533     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
10534   };
10535   union { Impl_ _impl_; };
10536   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
10537 };
10538 // -------------------------------------------------------------------
10539 
10540 class UntranslatableSection final :
10541     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.UntranslatableSection) */ {
10542  public:
UntranslatableSection()10543   inline UntranslatableSection() : UntranslatableSection(nullptr) {}
10544   ~UntranslatableSection() override;
10545   explicit PROTOBUF_CONSTEXPR UntranslatableSection(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
10546 
10547   UntranslatableSection(const UntranslatableSection& from);
UntranslatableSection(UntranslatableSection && from)10548   UntranslatableSection(UntranslatableSection&& from) noexcept
10549     : UntranslatableSection() {
10550     *this = ::std::move(from);
10551   }
10552 
10553   inline UntranslatableSection& operator=(const UntranslatableSection& from) {
10554     if (this == &from) return *this;
10555     CopyFrom(from);
10556     return *this;
10557   }
10558   inline UntranslatableSection& operator=(UntranslatableSection&& from) noexcept {
10559     if (this == &from) return *this;
10560     if (GetOwningArena() == from.GetOwningArena()
10561   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
10562         && GetOwningArena() != nullptr
10563   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
10564     ) {
10565       InternalSwap(&from);
10566     } else {
10567       CopyFrom(from);
10568     }
10569     return *this;
10570   }
10571 
descriptor()10572   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
10573     return GetDescriptor();
10574   }
GetDescriptor()10575   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
10576     return default_instance().GetMetadata().descriptor;
10577   }
GetReflection()10578   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
10579     return default_instance().GetMetadata().reflection;
10580   }
default_instance()10581   static const UntranslatableSection& default_instance() {
10582     return *internal_default_instance();
10583   }
internal_default_instance()10584   static inline const UntranslatableSection* internal_default_instance() {
10585     return reinterpret_cast<const UntranslatableSection*>(
10586                &_UntranslatableSection_default_instance_);
10587   }
10588   static constexpr int kIndexInFileMessages =
10589     50;
10590 
swap(UntranslatableSection & a,UntranslatableSection & b)10591   friend void swap(UntranslatableSection& a, UntranslatableSection& b) {
10592     a.Swap(&b);
10593   }
Swap(UntranslatableSection * other)10594   inline void Swap(UntranslatableSection* other) {
10595     if (other == this) return;
10596   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
10597     if (GetOwningArena() != nullptr &&
10598         GetOwningArena() == other->GetOwningArena()) {
10599    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
10600     if (GetOwningArena() == other->GetOwningArena()) {
10601   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
10602       InternalSwap(other);
10603     } else {
10604       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
10605     }
10606   }
10607   void UnsafeArenaSwap(UntranslatableSection* other) {
10608     if (other == this) return;
10609     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
10610     InternalSwap(other);
10611   }
10612 
10613   // implements Message ----------------------------------------------
10614 
10615   UntranslatableSection* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
10616     return CreateMaybeMessage<UntranslatableSection>(arena);
10617   }
10618   UntranslatableSection* New() const {
10619     return New(nullptr);
10620   }
10621   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
10622   void CopyFrom(const UntranslatableSection& from);
10623   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
10624   void MergeFrom( const UntranslatableSection& from) {
10625     UntranslatableSection::MergeImpl(*this, from);
10626   }
10627   private:
10628   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
10629   public:
10630   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
10631   bool IsInitialized() const final;
10632 
10633   size_t ByteSizeLong() const final;
10634   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
10635   ::uint8_t* _InternalSerialize(
10636       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
10637   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
10638 
10639   private:
10640   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
10641   void SharedDtor();
10642   void SetCachedSize(int size) const final;
10643   void InternalSwap(UntranslatableSection* other);
10644 
10645   private:
10646   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
10647   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
10648     return "aapt.pb.UntranslatableSection";
10649   }
10650   protected:
10651   explicit UntranslatableSection(::PROTOBUF_NAMESPACE_ID::Arena* arena,
10652                        bool is_message_owned = false);
10653   public:
10654 
10655   static const ClassData _class_data_;
10656   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
10657 
10658   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
10659 
10660   // nested types ----------------------------------------------------
10661 
10662   // accessors -------------------------------------------------------
10663 
10664   enum : int {
10665     kStartIndexFieldNumber = 1,
10666     kEndIndexFieldNumber = 2,
10667   };
10668   // uint64 start_index = 1;
10669   void clear_start_index();
10670   ::uint64_t start_index() const;
10671   void set_start_index(::uint64_t value);
10672   private:
10673   ::uint64_t _internal_start_index() const;
10674   void _internal_set_start_index(::uint64_t value);
10675   public:
10676 
10677   // uint64 end_index = 2;
10678   void clear_end_index();
10679   ::uint64_t end_index() const;
10680   void set_end_index(::uint64_t value);
10681   private:
10682   ::uint64_t _internal_end_index() const;
10683   void _internal_set_end_index(::uint64_t value);
10684   public:
10685 
10686   // @@protoc_insertion_point(class_scope:aapt.pb.UntranslatableSection)
10687  private:
10688   class _Internal;
10689 
10690   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
10691   typedef void InternalArenaConstructable_;
10692   typedef void DestructorSkippable_;
10693   struct Impl_ {
10694     ::uint64_t start_index_;
10695     ::uint64_t end_index_;
10696     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
10697   };
10698   union { Impl_ _impl_; };
10699   friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto;
10700 };
10701 // ===================================================================
10702 
10703 
10704 // ===================================================================
10705 
10706 #ifdef __GNUC__
10707   #pragma GCC diagnostic push
10708   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
10709 #endif  // __GNUC__
10710 // StringPool
10711 
10712 // bytes data = 1;
clear_data()10713 inline void StringPool::clear_data() {
10714   _impl_.data_.ClearToEmpty();
10715 }
data()10716 inline const std::string& StringPool::data() const {
10717   // @@protoc_insertion_point(field_get:aapt.pb.StringPool.data)
10718   return _internal_data();
10719 }
10720 template <typename ArgT0, typename... ArgT>
10721 inline PROTOBUF_ALWAYS_INLINE
set_data(ArgT0 && arg0,ArgT...args)10722 void StringPool::set_data(ArgT0&& arg0, ArgT... args) {
10723 
10724  _impl_.data_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
10725   // @@protoc_insertion_point(field_set:aapt.pb.StringPool.data)
10726 }
mutable_data()10727 inline std::string* StringPool::mutable_data() {
10728   std::string* _s = _internal_mutable_data();
10729   // @@protoc_insertion_point(field_mutable:aapt.pb.StringPool.data)
10730   return _s;
10731 }
_internal_data()10732 inline const std::string& StringPool::_internal_data() const {
10733   return _impl_.data_.Get();
10734 }
_internal_set_data(const std::string & value)10735 inline void StringPool::_internal_set_data(const std::string& value) {
10736 
10737   _impl_.data_.Set(value, GetArenaForAllocation());
10738 }
_internal_mutable_data()10739 inline std::string* StringPool::_internal_mutable_data() {
10740 
10741   return _impl_.data_.Mutable(GetArenaForAllocation());
10742 }
release_data()10743 inline std::string* StringPool::release_data() {
10744   // @@protoc_insertion_point(field_release:aapt.pb.StringPool.data)
10745   return _impl_.data_.Release();
10746 }
set_allocated_data(std::string * data)10747 inline void StringPool::set_allocated_data(std::string* data) {
10748   _impl_.data_.SetAllocated(data, GetArenaForAllocation());
10749 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
10750   if (_impl_.data_.IsDefault()) {
10751     _impl_.data_.Set("", GetArenaForAllocation());
10752   }
10753 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
10754   // @@protoc_insertion_point(field_set_allocated:aapt.pb.StringPool.data)
10755 }
10756 
10757 // -------------------------------------------------------------------
10758 
10759 // SourcePosition
10760 
10761 // uint32 line_number = 1;
clear_line_number()10762 inline void SourcePosition::clear_line_number() {
10763   _impl_.line_number_ = 0u;
10764 }
_internal_line_number()10765 inline ::uint32_t SourcePosition::_internal_line_number() const {
10766   return _impl_.line_number_;
10767 }
line_number()10768 inline ::uint32_t SourcePosition::line_number() const {
10769   // @@protoc_insertion_point(field_get:aapt.pb.SourcePosition.line_number)
10770   return _internal_line_number();
10771 }
_internal_set_line_number(::uint32_t value)10772 inline void SourcePosition::_internal_set_line_number(::uint32_t value) {
10773 
10774   _impl_.line_number_ = value;
10775 }
set_line_number(::uint32_t value)10776 inline void SourcePosition::set_line_number(::uint32_t value) {
10777   _internal_set_line_number(value);
10778   // @@protoc_insertion_point(field_set:aapt.pb.SourcePosition.line_number)
10779 }
10780 
10781 // uint32 column_number = 2;
clear_column_number()10782 inline void SourcePosition::clear_column_number() {
10783   _impl_.column_number_ = 0u;
10784 }
_internal_column_number()10785 inline ::uint32_t SourcePosition::_internal_column_number() const {
10786   return _impl_.column_number_;
10787 }
column_number()10788 inline ::uint32_t SourcePosition::column_number() const {
10789   // @@protoc_insertion_point(field_get:aapt.pb.SourcePosition.column_number)
10790   return _internal_column_number();
10791 }
_internal_set_column_number(::uint32_t value)10792 inline void SourcePosition::_internal_set_column_number(::uint32_t value) {
10793 
10794   _impl_.column_number_ = value;
10795 }
set_column_number(::uint32_t value)10796 inline void SourcePosition::set_column_number(::uint32_t value) {
10797   _internal_set_column_number(value);
10798   // @@protoc_insertion_point(field_set:aapt.pb.SourcePosition.column_number)
10799 }
10800 
10801 // -------------------------------------------------------------------
10802 
10803 // Source
10804 
10805 // uint32 path_idx = 1;
clear_path_idx()10806 inline void Source::clear_path_idx() {
10807   _impl_.path_idx_ = 0u;
10808 }
_internal_path_idx()10809 inline ::uint32_t Source::_internal_path_idx() const {
10810   return _impl_.path_idx_;
10811 }
path_idx()10812 inline ::uint32_t Source::path_idx() const {
10813   // @@protoc_insertion_point(field_get:aapt.pb.Source.path_idx)
10814   return _internal_path_idx();
10815 }
_internal_set_path_idx(::uint32_t value)10816 inline void Source::_internal_set_path_idx(::uint32_t value) {
10817 
10818   _impl_.path_idx_ = value;
10819 }
set_path_idx(::uint32_t value)10820 inline void Source::set_path_idx(::uint32_t value) {
10821   _internal_set_path_idx(value);
10822   // @@protoc_insertion_point(field_set:aapt.pb.Source.path_idx)
10823 }
10824 
10825 // .aapt.pb.SourcePosition position = 2;
_internal_has_position()10826 inline bool Source::_internal_has_position() const {
10827   return this != internal_default_instance() && _impl_.position_ != nullptr;
10828 }
has_position()10829 inline bool Source::has_position() const {
10830   return _internal_has_position();
10831 }
clear_position()10832 inline void Source::clear_position() {
10833   if (GetArenaForAllocation() == nullptr && _impl_.position_ != nullptr) {
10834     delete _impl_.position_;
10835   }
10836   _impl_.position_ = nullptr;
10837 }
_internal_position()10838 inline const ::aapt::pb::SourcePosition& Source::_internal_position() const {
10839   const ::aapt::pb::SourcePosition* p = _impl_.position_;
10840   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::SourcePosition&>(
10841       ::aapt::pb::_SourcePosition_default_instance_);
10842 }
position()10843 inline const ::aapt::pb::SourcePosition& Source::position() const {
10844   // @@protoc_insertion_point(field_get:aapt.pb.Source.position)
10845   return _internal_position();
10846 }
unsafe_arena_set_allocated_position(::aapt::pb::SourcePosition * position)10847 inline void Source::unsafe_arena_set_allocated_position(
10848     ::aapt::pb::SourcePosition* position) {
10849   if (GetArenaForAllocation() == nullptr) {
10850     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.position_);
10851   }
10852   _impl_.position_ = position;
10853   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Source.position)
10854 }
release_position()10855 inline ::aapt::pb::SourcePosition* Source::release_position() {
10856 
10857   ::aapt::pb::SourcePosition* temp = _impl_.position_;
10858   _impl_.position_ = nullptr;
10859 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
10860   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
10861   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
10862   if (GetArenaForAllocation() == nullptr) { delete old; }
10863 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
10864   if (GetArenaForAllocation() != nullptr) {
10865     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
10866   }
10867 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
10868   return temp;
10869 }
unsafe_arena_release_position()10870 inline ::aapt::pb::SourcePosition* Source::unsafe_arena_release_position() {
10871   // @@protoc_insertion_point(field_release:aapt.pb.Source.position)
10872 
10873   ::aapt::pb::SourcePosition* temp = _impl_.position_;
10874   _impl_.position_ = nullptr;
10875   return temp;
10876 }
_internal_mutable_position()10877 inline ::aapt::pb::SourcePosition* Source::_internal_mutable_position() {
10878 
10879   if (_impl_.position_ == nullptr) {
10880     auto* p = CreateMaybeMessage<::aapt::pb::SourcePosition>(GetArenaForAllocation());
10881     _impl_.position_ = p;
10882   }
10883   return _impl_.position_;
10884 }
mutable_position()10885 inline ::aapt::pb::SourcePosition* Source::mutable_position() {
10886   ::aapt::pb::SourcePosition* _msg = _internal_mutable_position();
10887   // @@protoc_insertion_point(field_mutable:aapt.pb.Source.position)
10888   return _msg;
10889 }
set_allocated_position(::aapt::pb::SourcePosition * position)10890 inline void Source::set_allocated_position(::aapt::pb::SourcePosition* position) {
10891   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
10892   if (message_arena == nullptr) {
10893     delete _impl_.position_;
10894   }
10895   if (position) {
10896     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
10897         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(position);
10898     if (message_arena != submessage_arena) {
10899       position = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
10900           message_arena, position, submessage_arena);
10901     }
10902 
10903   } else {
10904 
10905   }
10906   _impl_.position_ = position;
10907   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Source.position)
10908 }
10909 
10910 // -------------------------------------------------------------------
10911 
10912 // ToolFingerprint
10913 
10914 // string tool = 1;
clear_tool()10915 inline void ToolFingerprint::clear_tool() {
10916   _impl_.tool_.ClearToEmpty();
10917 }
tool()10918 inline const std::string& ToolFingerprint::tool() const {
10919   // @@protoc_insertion_point(field_get:aapt.pb.ToolFingerprint.tool)
10920   return _internal_tool();
10921 }
10922 template <typename ArgT0, typename... ArgT>
10923 inline PROTOBUF_ALWAYS_INLINE
set_tool(ArgT0 && arg0,ArgT...args)10924 void ToolFingerprint::set_tool(ArgT0&& arg0, ArgT... args) {
10925 
10926  _impl_.tool_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
10927   // @@protoc_insertion_point(field_set:aapt.pb.ToolFingerprint.tool)
10928 }
mutable_tool()10929 inline std::string* ToolFingerprint::mutable_tool() {
10930   std::string* _s = _internal_mutable_tool();
10931   // @@protoc_insertion_point(field_mutable:aapt.pb.ToolFingerprint.tool)
10932   return _s;
10933 }
_internal_tool()10934 inline const std::string& ToolFingerprint::_internal_tool() const {
10935   return _impl_.tool_.Get();
10936 }
_internal_set_tool(const std::string & value)10937 inline void ToolFingerprint::_internal_set_tool(const std::string& value) {
10938 
10939   _impl_.tool_.Set(value, GetArenaForAllocation());
10940 }
_internal_mutable_tool()10941 inline std::string* ToolFingerprint::_internal_mutable_tool() {
10942 
10943   return _impl_.tool_.Mutable(GetArenaForAllocation());
10944 }
release_tool()10945 inline std::string* ToolFingerprint::release_tool() {
10946   // @@protoc_insertion_point(field_release:aapt.pb.ToolFingerprint.tool)
10947   return _impl_.tool_.Release();
10948 }
set_allocated_tool(std::string * tool)10949 inline void ToolFingerprint::set_allocated_tool(std::string* tool) {
10950   _impl_.tool_.SetAllocated(tool, GetArenaForAllocation());
10951 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
10952   if (_impl_.tool_.IsDefault()) {
10953     _impl_.tool_.Set("", GetArenaForAllocation());
10954   }
10955 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
10956   // @@protoc_insertion_point(field_set_allocated:aapt.pb.ToolFingerprint.tool)
10957 }
10958 
10959 // string version = 2;
clear_version()10960 inline void ToolFingerprint::clear_version() {
10961   _impl_.version_.ClearToEmpty();
10962 }
version()10963 inline const std::string& ToolFingerprint::version() const {
10964   // @@protoc_insertion_point(field_get:aapt.pb.ToolFingerprint.version)
10965   return _internal_version();
10966 }
10967 template <typename ArgT0, typename... ArgT>
10968 inline PROTOBUF_ALWAYS_INLINE
set_version(ArgT0 && arg0,ArgT...args)10969 void ToolFingerprint::set_version(ArgT0&& arg0, ArgT... args) {
10970 
10971  _impl_.version_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
10972   // @@protoc_insertion_point(field_set:aapt.pb.ToolFingerprint.version)
10973 }
mutable_version()10974 inline std::string* ToolFingerprint::mutable_version() {
10975   std::string* _s = _internal_mutable_version();
10976   // @@protoc_insertion_point(field_mutable:aapt.pb.ToolFingerprint.version)
10977   return _s;
10978 }
_internal_version()10979 inline const std::string& ToolFingerprint::_internal_version() const {
10980   return _impl_.version_.Get();
10981 }
_internal_set_version(const std::string & value)10982 inline void ToolFingerprint::_internal_set_version(const std::string& value) {
10983 
10984   _impl_.version_.Set(value, GetArenaForAllocation());
10985 }
_internal_mutable_version()10986 inline std::string* ToolFingerprint::_internal_mutable_version() {
10987 
10988   return _impl_.version_.Mutable(GetArenaForAllocation());
10989 }
release_version()10990 inline std::string* ToolFingerprint::release_version() {
10991   // @@protoc_insertion_point(field_release:aapt.pb.ToolFingerprint.version)
10992   return _impl_.version_.Release();
10993 }
set_allocated_version(std::string * version)10994 inline void ToolFingerprint::set_allocated_version(std::string* version) {
10995   _impl_.version_.SetAllocated(version, GetArenaForAllocation());
10996 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
10997   if (_impl_.version_.IsDefault()) {
10998     _impl_.version_.Set("", GetArenaForAllocation());
10999   }
11000 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
11001   // @@protoc_insertion_point(field_set_allocated:aapt.pb.ToolFingerprint.version)
11002 }
11003 
11004 // -------------------------------------------------------------------
11005 
11006 // DynamicRefTable
11007 
11008 // .aapt.pb.PackageId package_id = 1;
_internal_has_package_id()11009 inline bool DynamicRefTable::_internal_has_package_id() const {
11010   return this != internal_default_instance() && _impl_.package_id_ != nullptr;
11011 }
has_package_id()11012 inline bool DynamicRefTable::has_package_id() const {
11013   return _internal_has_package_id();
11014 }
clear_package_id()11015 inline void DynamicRefTable::clear_package_id() {
11016   if (GetArenaForAllocation() == nullptr && _impl_.package_id_ != nullptr) {
11017     delete _impl_.package_id_;
11018   }
11019   _impl_.package_id_ = nullptr;
11020 }
_internal_package_id()11021 inline const ::aapt::pb::PackageId& DynamicRefTable::_internal_package_id() const {
11022   const ::aapt::pb::PackageId* p = _impl_.package_id_;
11023   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::PackageId&>(
11024       ::aapt::pb::_PackageId_default_instance_);
11025 }
package_id()11026 inline const ::aapt::pb::PackageId& DynamicRefTable::package_id() const {
11027   // @@protoc_insertion_point(field_get:aapt.pb.DynamicRefTable.package_id)
11028   return _internal_package_id();
11029 }
unsafe_arena_set_allocated_package_id(::aapt::pb::PackageId * package_id)11030 inline void DynamicRefTable::unsafe_arena_set_allocated_package_id(
11031     ::aapt::pb::PackageId* package_id) {
11032   if (GetArenaForAllocation() == nullptr) {
11033     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.package_id_);
11034   }
11035   _impl_.package_id_ = package_id;
11036   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.DynamicRefTable.package_id)
11037 }
release_package_id()11038 inline ::aapt::pb::PackageId* DynamicRefTable::release_package_id() {
11039 
11040   ::aapt::pb::PackageId* temp = _impl_.package_id_;
11041   _impl_.package_id_ = nullptr;
11042 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
11043   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
11044   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
11045   if (GetArenaForAllocation() == nullptr) { delete old; }
11046 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
11047   if (GetArenaForAllocation() != nullptr) {
11048     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
11049   }
11050 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
11051   return temp;
11052 }
unsafe_arena_release_package_id()11053 inline ::aapt::pb::PackageId* DynamicRefTable::unsafe_arena_release_package_id() {
11054   // @@protoc_insertion_point(field_release:aapt.pb.DynamicRefTable.package_id)
11055 
11056   ::aapt::pb::PackageId* temp = _impl_.package_id_;
11057   _impl_.package_id_ = nullptr;
11058   return temp;
11059 }
_internal_mutable_package_id()11060 inline ::aapt::pb::PackageId* DynamicRefTable::_internal_mutable_package_id() {
11061 
11062   if (_impl_.package_id_ == nullptr) {
11063     auto* p = CreateMaybeMessage<::aapt::pb::PackageId>(GetArenaForAllocation());
11064     _impl_.package_id_ = p;
11065   }
11066   return _impl_.package_id_;
11067 }
mutable_package_id()11068 inline ::aapt::pb::PackageId* DynamicRefTable::mutable_package_id() {
11069   ::aapt::pb::PackageId* _msg = _internal_mutable_package_id();
11070   // @@protoc_insertion_point(field_mutable:aapt.pb.DynamicRefTable.package_id)
11071   return _msg;
11072 }
set_allocated_package_id(::aapt::pb::PackageId * package_id)11073 inline void DynamicRefTable::set_allocated_package_id(::aapt::pb::PackageId* package_id) {
11074   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
11075   if (message_arena == nullptr) {
11076     delete _impl_.package_id_;
11077   }
11078   if (package_id) {
11079     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
11080         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(package_id);
11081     if (message_arena != submessage_arena) {
11082       package_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
11083           message_arena, package_id, submessage_arena);
11084     }
11085 
11086   } else {
11087 
11088   }
11089   _impl_.package_id_ = package_id;
11090   // @@protoc_insertion_point(field_set_allocated:aapt.pb.DynamicRefTable.package_id)
11091 }
11092 
11093 // string package_name = 2;
clear_package_name()11094 inline void DynamicRefTable::clear_package_name() {
11095   _impl_.package_name_.ClearToEmpty();
11096 }
package_name()11097 inline const std::string& DynamicRefTable::package_name() const {
11098   // @@protoc_insertion_point(field_get:aapt.pb.DynamicRefTable.package_name)
11099   return _internal_package_name();
11100 }
11101 template <typename ArgT0, typename... ArgT>
11102 inline PROTOBUF_ALWAYS_INLINE
set_package_name(ArgT0 && arg0,ArgT...args)11103 void DynamicRefTable::set_package_name(ArgT0&& arg0, ArgT... args) {
11104 
11105  _impl_.package_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
11106   // @@protoc_insertion_point(field_set:aapt.pb.DynamicRefTable.package_name)
11107 }
mutable_package_name()11108 inline std::string* DynamicRefTable::mutable_package_name() {
11109   std::string* _s = _internal_mutable_package_name();
11110   // @@protoc_insertion_point(field_mutable:aapt.pb.DynamicRefTable.package_name)
11111   return _s;
11112 }
_internal_package_name()11113 inline const std::string& DynamicRefTable::_internal_package_name() const {
11114   return _impl_.package_name_.Get();
11115 }
_internal_set_package_name(const std::string & value)11116 inline void DynamicRefTable::_internal_set_package_name(const std::string& value) {
11117 
11118   _impl_.package_name_.Set(value, GetArenaForAllocation());
11119 }
_internal_mutable_package_name()11120 inline std::string* DynamicRefTable::_internal_mutable_package_name() {
11121 
11122   return _impl_.package_name_.Mutable(GetArenaForAllocation());
11123 }
release_package_name()11124 inline std::string* DynamicRefTable::release_package_name() {
11125   // @@protoc_insertion_point(field_release:aapt.pb.DynamicRefTable.package_name)
11126   return _impl_.package_name_.Release();
11127 }
set_allocated_package_name(std::string * package_name)11128 inline void DynamicRefTable::set_allocated_package_name(std::string* package_name) {
11129   _impl_.package_name_.SetAllocated(package_name, GetArenaForAllocation());
11130 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
11131   if (_impl_.package_name_.IsDefault()) {
11132     _impl_.package_name_.Set("", GetArenaForAllocation());
11133   }
11134 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
11135   // @@protoc_insertion_point(field_set_allocated:aapt.pb.DynamicRefTable.package_name)
11136 }
11137 
11138 // -------------------------------------------------------------------
11139 
11140 // ResourceTable
11141 
11142 // .aapt.pb.StringPool source_pool = 1;
_internal_has_source_pool()11143 inline bool ResourceTable::_internal_has_source_pool() const {
11144   return this != internal_default_instance() && _impl_.source_pool_ != nullptr;
11145 }
has_source_pool()11146 inline bool ResourceTable::has_source_pool() const {
11147   return _internal_has_source_pool();
11148 }
clear_source_pool()11149 inline void ResourceTable::clear_source_pool() {
11150   if (GetArenaForAllocation() == nullptr && _impl_.source_pool_ != nullptr) {
11151     delete _impl_.source_pool_;
11152   }
11153   _impl_.source_pool_ = nullptr;
11154 }
_internal_source_pool()11155 inline const ::aapt::pb::StringPool& ResourceTable::_internal_source_pool() const {
11156   const ::aapt::pb::StringPool* p = _impl_.source_pool_;
11157   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::StringPool&>(
11158       ::aapt::pb::_StringPool_default_instance_);
11159 }
source_pool()11160 inline const ::aapt::pb::StringPool& ResourceTable::source_pool() const {
11161   // @@protoc_insertion_point(field_get:aapt.pb.ResourceTable.source_pool)
11162   return _internal_source_pool();
11163 }
unsafe_arena_set_allocated_source_pool(::aapt::pb::StringPool * source_pool)11164 inline void ResourceTable::unsafe_arena_set_allocated_source_pool(
11165     ::aapt::pb::StringPool* source_pool) {
11166   if (GetArenaForAllocation() == nullptr) {
11167     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_pool_);
11168   }
11169   _impl_.source_pool_ = source_pool;
11170   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.ResourceTable.source_pool)
11171 }
release_source_pool()11172 inline ::aapt::pb::StringPool* ResourceTable::release_source_pool() {
11173 
11174   ::aapt::pb::StringPool* temp = _impl_.source_pool_;
11175   _impl_.source_pool_ = nullptr;
11176 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
11177   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
11178   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
11179   if (GetArenaForAllocation() == nullptr) { delete old; }
11180 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
11181   if (GetArenaForAllocation() != nullptr) {
11182     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
11183   }
11184 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
11185   return temp;
11186 }
unsafe_arena_release_source_pool()11187 inline ::aapt::pb::StringPool* ResourceTable::unsafe_arena_release_source_pool() {
11188   // @@protoc_insertion_point(field_release:aapt.pb.ResourceTable.source_pool)
11189 
11190   ::aapt::pb::StringPool* temp = _impl_.source_pool_;
11191   _impl_.source_pool_ = nullptr;
11192   return temp;
11193 }
_internal_mutable_source_pool()11194 inline ::aapt::pb::StringPool* ResourceTable::_internal_mutable_source_pool() {
11195 
11196   if (_impl_.source_pool_ == nullptr) {
11197     auto* p = CreateMaybeMessage<::aapt::pb::StringPool>(GetArenaForAllocation());
11198     _impl_.source_pool_ = p;
11199   }
11200   return _impl_.source_pool_;
11201 }
mutable_source_pool()11202 inline ::aapt::pb::StringPool* ResourceTable::mutable_source_pool() {
11203   ::aapt::pb::StringPool* _msg = _internal_mutable_source_pool();
11204   // @@protoc_insertion_point(field_mutable:aapt.pb.ResourceTable.source_pool)
11205   return _msg;
11206 }
set_allocated_source_pool(::aapt::pb::StringPool * source_pool)11207 inline void ResourceTable::set_allocated_source_pool(::aapt::pb::StringPool* source_pool) {
11208   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
11209   if (message_arena == nullptr) {
11210     delete _impl_.source_pool_;
11211   }
11212   if (source_pool) {
11213     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
11214         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source_pool);
11215     if (message_arena != submessage_arena) {
11216       source_pool = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
11217           message_arena, source_pool, submessage_arena);
11218     }
11219 
11220   } else {
11221 
11222   }
11223   _impl_.source_pool_ = source_pool;
11224   // @@protoc_insertion_point(field_set_allocated:aapt.pb.ResourceTable.source_pool)
11225 }
11226 
11227 // repeated .aapt.pb.Package package = 2;
_internal_package_size()11228 inline int ResourceTable::_internal_package_size() const {
11229   return _impl_.package_.size();
11230 }
package_size()11231 inline int ResourceTable::package_size() const {
11232   return _internal_package_size();
11233 }
clear_package()11234 inline void ResourceTable::clear_package() {
11235   _impl_.package_.Clear();
11236 }
mutable_package(int index)11237 inline ::aapt::pb::Package* ResourceTable::mutable_package(int index) {
11238   // @@protoc_insertion_point(field_mutable:aapt.pb.ResourceTable.package)
11239   return _impl_.package_.Mutable(index);
11240 }
11241 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Package >*
mutable_package()11242 ResourceTable::mutable_package() {
11243   // @@protoc_insertion_point(field_mutable_list:aapt.pb.ResourceTable.package)
11244   return &_impl_.package_;
11245 }
_internal_package(int index)11246 inline const ::aapt::pb::Package& ResourceTable::_internal_package(int index) const {
11247   return _impl_.package_.Get(index);
11248 }
package(int index)11249 inline const ::aapt::pb::Package& ResourceTable::package(int index) const {
11250   // @@protoc_insertion_point(field_get:aapt.pb.ResourceTable.package)
11251   return _internal_package(index);
11252 }
_internal_add_package()11253 inline ::aapt::pb::Package* ResourceTable::_internal_add_package() {
11254   return _impl_.package_.Add();
11255 }
add_package()11256 inline ::aapt::pb::Package* ResourceTable::add_package() {
11257   ::aapt::pb::Package* _add = _internal_add_package();
11258   // @@protoc_insertion_point(field_add:aapt.pb.ResourceTable.package)
11259   return _add;
11260 }
11261 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Package >&
package()11262 ResourceTable::package() const {
11263   // @@protoc_insertion_point(field_list:aapt.pb.ResourceTable.package)
11264   return _impl_.package_;
11265 }
11266 
11267 // repeated .aapt.pb.Overlayable overlayable = 3;
_internal_overlayable_size()11268 inline int ResourceTable::_internal_overlayable_size() const {
11269   return _impl_.overlayable_.size();
11270 }
overlayable_size()11271 inline int ResourceTable::overlayable_size() const {
11272   return _internal_overlayable_size();
11273 }
clear_overlayable()11274 inline void ResourceTable::clear_overlayable() {
11275   _impl_.overlayable_.Clear();
11276 }
mutable_overlayable(int index)11277 inline ::aapt::pb::Overlayable* ResourceTable::mutable_overlayable(int index) {
11278   // @@protoc_insertion_point(field_mutable:aapt.pb.ResourceTable.overlayable)
11279   return _impl_.overlayable_.Mutable(index);
11280 }
11281 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Overlayable >*
mutable_overlayable()11282 ResourceTable::mutable_overlayable() {
11283   // @@protoc_insertion_point(field_mutable_list:aapt.pb.ResourceTable.overlayable)
11284   return &_impl_.overlayable_;
11285 }
_internal_overlayable(int index)11286 inline const ::aapt::pb::Overlayable& ResourceTable::_internal_overlayable(int index) const {
11287   return _impl_.overlayable_.Get(index);
11288 }
overlayable(int index)11289 inline const ::aapt::pb::Overlayable& ResourceTable::overlayable(int index) const {
11290   // @@protoc_insertion_point(field_get:aapt.pb.ResourceTable.overlayable)
11291   return _internal_overlayable(index);
11292 }
_internal_add_overlayable()11293 inline ::aapt::pb::Overlayable* ResourceTable::_internal_add_overlayable() {
11294   return _impl_.overlayable_.Add();
11295 }
add_overlayable()11296 inline ::aapt::pb::Overlayable* ResourceTable::add_overlayable() {
11297   ::aapt::pb::Overlayable* _add = _internal_add_overlayable();
11298   // @@protoc_insertion_point(field_add:aapt.pb.ResourceTable.overlayable)
11299   return _add;
11300 }
11301 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Overlayable >&
overlayable()11302 ResourceTable::overlayable() const {
11303   // @@protoc_insertion_point(field_list:aapt.pb.ResourceTable.overlayable)
11304   return _impl_.overlayable_;
11305 }
11306 
11307 // repeated .aapt.pb.ToolFingerprint tool_fingerprint = 4;
_internal_tool_fingerprint_size()11308 inline int ResourceTable::_internal_tool_fingerprint_size() const {
11309   return _impl_.tool_fingerprint_.size();
11310 }
tool_fingerprint_size()11311 inline int ResourceTable::tool_fingerprint_size() const {
11312   return _internal_tool_fingerprint_size();
11313 }
clear_tool_fingerprint()11314 inline void ResourceTable::clear_tool_fingerprint() {
11315   _impl_.tool_fingerprint_.Clear();
11316 }
mutable_tool_fingerprint(int index)11317 inline ::aapt::pb::ToolFingerprint* ResourceTable::mutable_tool_fingerprint(int index) {
11318   // @@protoc_insertion_point(field_mutable:aapt.pb.ResourceTable.tool_fingerprint)
11319   return _impl_.tool_fingerprint_.Mutable(index);
11320 }
11321 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ToolFingerprint >*
mutable_tool_fingerprint()11322 ResourceTable::mutable_tool_fingerprint() {
11323   // @@protoc_insertion_point(field_mutable_list:aapt.pb.ResourceTable.tool_fingerprint)
11324   return &_impl_.tool_fingerprint_;
11325 }
_internal_tool_fingerprint(int index)11326 inline const ::aapt::pb::ToolFingerprint& ResourceTable::_internal_tool_fingerprint(int index) const {
11327   return _impl_.tool_fingerprint_.Get(index);
11328 }
tool_fingerprint(int index)11329 inline const ::aapt::pb::ToolFingerprint& ResourceTable::tool_fingerprint(int index) const {
11330   // @@protoc_insertion_point(field_get:aapt.pb.ResourceTable.tool_fingerprint)
11331   return _internal_tool_fingerprint(index);
11332 }
_internal_add_tool_fingerprint()11333 inline ::aapt::pb::ToolFingerprint* ResourceTable::_internal_add_tool_fingerprint() {
11334   return _impl_.tool_fingerprint_.Add();
11335 }
add_tool_fingerprint()11336 inline ::aapt::pb::ToolFingerprint* ResourceTable::add_tool_fingerprint() {
11337   ::aapt::pb::ToolFingerprint* _add = _internal_add_tool_fingerprint();
11338   // @@protoc_insertion_point(field_add:aapt.pb.ResourceTable.tool_fingerprint)
11339   return _add;
11340 }
11341 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ToolFingerprint >&
tool_fingerprint()11342 ResourceTable::tool_fingerprint() const {
11343   // @@protoc_insertion_point(field_list:aapt.pb.ResourceTable.tool_fingerprint)
11344   return _impl_.tool_fingerprint_;
11345 }
11346 
11347 // repeated .aapt.pb.DynamicRefTable dynamic_ref_table = 5;
_internal_dynamic_ref_table_size()11348 inline int ResourceTable::_internal_dynamic_ref_table_size() const {
11349   return _impl_.dynamic_ref_table_.size();
11350 }
dynamic_ref_table_size()11351 inline int ResourceTable::dynamic_ref_table_size() const {
11352   return _internal_dynamic_ref_table_size();
11353 }
clear_dynamic_ref_table()11354 inline void ResourceTable::clear_dynamic_ref_table() {
11355   _impl_.dynamic_ref_table_.Clear();
11356 }
mutable_dynamic_ref_table(int index)11357 inline ::aapt::pb::DynamicRefTable* ResourceTable::mutable_dynamic_ref_table(int index) {
11358   // @@protoc_insertion_point(field_mutable:aapt.pb.ResourceTable.dynamic_ref_table)
11359   return _impl_.dynamic_ref_table_.Mutable(index);
11360 }
11361 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::DynamicRefTable >*
mutable_dynamic_ref_table()11362 ResourceTable::mutable_dynamic_ref_table() {
11363   // @@protoc_insertion_point(field_mutable_list:aapt.pb.ResourceTable.dynamic_ref_table)
11364   return &_impl_.dynamic_ref_table_;
11365 }
_internal_dynamic_ref_table(int index)11366 inline const ::aapt::pb::DynamicRefTable& ResourceTable::_internal_dynamic_ref_table(int index) const {
11367   return _impl_.dynamic_ref_table_.Get(index);
11368 }
dynamic_ref_table(int index)11369 inline const ::aapt::pb::DynamicRefTable& ResourceTable::dynamic_ref_table(int index) const {
11370   // @@protoc_insertion_point(field_get:aapt.pb.ResourceTable.dynamic_ref_table)
11371   return _internal_dynamic_ref_table(index);
11372 }
_internal_add_dynamic_ref_table()11373 inline ::aapt::pb::DynamicRefTable* ResourceTable::_internal_add_dynamic_ref_table() {
11374   return _impl_.dynamic_ref_table_.Add();
11375 }
add_dynamic_ref_table()11376 inline ::aapt::pb::DynamicRefTable* ResourceTable::add_dynamic_ref_table() {
11377   ::aapt::pb::DynamicRefTable* _add = _internal_add_dynamic_ref_table();
11378   // @@protoc_insertion_point(field_add:aapt.pb.ResourceTable.dynamic_ref_table)
11379   return _add;
11380 }
11381 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::DynamicRefTable >&
dynamic_ref_table()11382 ResourceTable::dynamic_ref_table() const {
11383   // @@protoc_insertion_point(field_list:aapt.pb.ResourceTable.dynamic_ref_table)
11384   return _impl_.dynamic_ref_table_;
11385 }
11386 
11387 // -------------------------------------------------------------------
11388 
11389 // PackageId
11390 
11391 // uint32 id = 1;
clear_id()11392 inline void PackageId::clear_id() {
11393   _impl_.id_ = 0u;
11394 }
_internal_id()11395 inline ::uint32_t PackageId::_internal_id() const {
11396   return _impl_.id_;
11397 }
id()11398 inline ::uint32_t PackageId::id() const {
11399   // @@protoc_insertion_point(field_get:aapt.pb.PackageId.id)
11400   return _internal_id();
11401 }
_internal_set_id(::uint32_t value)11402 inline void PackageId::_internal_set_id(::uint32_t value) {
11403 
11404   _impl_.id_ = value;
11405 }
set_id(::uint32_t value)11406 inline void PackageId::set_id(::uint32_t value) {
11407   _internal_set_id(value);
11408   // @@protoc_insertion_point(field_set:aapt.pb.PackageId.id)
11409 }
11410 
11411 // -------------------------------------------------------------------
11412 
11413 // Package
11414 
11415 // .aapt.pb.PackageId package_id = 1;
_internal_has_package_id()11416 inline bool Package::_internal_has_package_id() const {
11417   return this != internal_default_instance() && _impl_.package_id_ != nullptr;
11418 }
has_package_id()11419 inline bool Package::has_package_id() const {
11420   return _internal_has_package_id();
11421 }
clear_package_id()11422 inline void Package::clear_package_id() {
11423   if (GetArenaForAllocation() == nullptr && _impl_.package_id_ != nullptr) {
11424     delete _impl_.package_id_;
11425   }
11426   _impl_.package_id_ = nullptr;
11427 }
_internal_package_id()11428 inline const ::aapt::pb::PackageId& Package::_internal_package_id() const {
11429   const ::aapt::pb::PackageId* p = _impl_.package_id_;
11430   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::PackageId&>(
11431       ::aapt::pb::_PackageId_default_instance_);
11432 }
package_id()11433 inline const ::aapt::pb::PackageId& Package::package_id() const {
11434   // @@protoc_insertion_point(field_get:aapt.pb.Package.package_id)
11435   return _internal_package_id();
11436 }
unsafe_arena_set_allocated_package_id(::aapt::pb::PackageId * package_id)11437 inline void Package::unsafe_arena_set_allocated_package_id(
11438     ::aapt::pb::PackageId* package_id) {
11439   if (GetArenaForAllocation() == nullptr) {
11440     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.package_id_);
11441   }
11442   _impl_.package_id_ = package_id;
11443   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Package.package_id)
11444 }
release_package_id()11445 inline ::aapt::pb::PackageId* Package::release_package_id() {
11446 
11447   ::aapt::pb::PackageId* temp = _impl_.package_id_;
11448   _impl_.package_id_ = nullptr;
11449 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
11450   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
11451   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
11452   if (GetArenaForAllocation() == nullptr) { delete old; }
11453 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
11454   if (GetArenaForAllocation() != nullptr) {
11455     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
11456   }
11457 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
11458   return temp;
11459 }
unsafe_arena_release_package_id()11460 inline ::aapt::pb::PackageId* Package::unsafe_arena_release_package_id() {
11461   // @@protoc_insertion_point(field_release:aapt.pb.Package.package_id)
11462 
11463   ::aapt::pb::PackageId* temp = _impl_.package_id_;
11464   _impl_.package_id_ = nullptr;
11465   return temp;
11466 }
_internal_mutable_package_id()11467 inline ::aapt::pb::PackageId* Package::_internal_mutable_package_id() {
11468 
11469   if (_impl_.package_id_ == nullptr) {
11470     auto* p = CreateMaybeMessage<::aapt::pb::PackageId>(GetArenaForAllocation());
11471     _impl_.package_id_ = p;
11472   }
11473   return _impl_.package_id_;
11474 }
mutable_package_id()11475 inline ::aapt::pb::PackageId* Package::mutable_package_id() {
11476   ::aapt::pb::PackageId* _msg = _internal_mutable_package_id();
11477   // @@protoc_insertion_point(field_mutable:aapt.pb.Package.package_id)
11478   return _msg;
11479 }
set_allocated_package_id(::aapt::pb::PackageId * package_id)11480 inline void Package::set_allocated_package_id(::aapt::pb::PackageId* package_id) {
11481   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
11482   if (message_arena == nullptr) {
11483     delete _impl_.package_id_;
11484   }
11485   if (package_id) {
11486     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
11487         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(package_id);
11488     if (message_arena != submessage_arena) {
11489       package_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
11490           message_arena, package_id, submessage_arena);
11491     }
11492 
11493   } else {
11494 
11495   }
11496   _impl_.package_id_ = package_id;
11497   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Package.package_id)
11498 }
11499 
11500 // string package_name = 2;
clear_package_name()11501 inline void Package::clear_package_name() {
11502   _impl_.package_name_.ClearToEmpty();
11503 }
package_name()11504 inline const std::string& Package::package_name() const {
11505   // @@protoc_insertion_point(field_get:aapt.pb.Package.package_name)
11506   return _internal_package_name();
11507 }
11508 template <typename ArgT0, typename... ArgT>
11509 inline PROTOBUF_ALWAYS_INLINE
set_package_name(ArgT0 && arg0,ArgT...args)11510 void Package::set_package_name(ArgT0&& arg0, ArgT... args) {
11511 
11512  _impl_.package_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
11513   // @@protoc_insertion_point(field_set:aapt.pb.Package.package_name)
11514 }
mutable_package_name()11515 inline std::string* Package::mutable_package_name() {
11516   std::string* _s = _internal_mutable_package_name();
11517   // @@protoc_insertion_point(field_mutable:aapt.pb.Package.package_name)
11518   return _s;
11519 }
_internal_package_name()11520 inline const std::string& Package::_internal_package_name() const {
11521   return _impl_.package_name_.Get();
11522 }
_internal_set_package_name(const std::string & value)11523 inline void Package::_internal_set_package_name(const std::string& value) {
11524 
11525   _impl_.package_name_.Set(value, GetArenaForAllocation());
11526 }
_internal_mutable_package_name()11527 inline std::string* Package::_internal_mutable_package_name() {
11528 
11529   return _impl_.package_name_.Mutable(GetArenaForAllocation());
11530 }
release_package_name()11531 inline std::string* Package::release_package_name() {
11532   // @@protoc_insertion_point(field_release:aapt.pb.Package.package_name)
11533   return _impl_.package_name_.Release();
11534 }
set_allocated_package_name(std::string * package_name)11535 inline void Package::set_allocated_package_name(std::string* package_name) {
11536   _impl_.package_name_.SetAllocated(package_name, GetArenaForAllocation());
11537 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
11538   if (_impl_.package_name_.IsDefault()) {
11539     _impl_.package_name_.Set("", GetArenaForAllocation());
11540   }
11541 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
11542   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Package.package_name)
11543 }
11544 
11545 // repeated .aapt.pb.Type type = 3;
_internal_type_size()11546 inline int Package::_internal_type_size() const {
11547   return _impl_.type_.size();
11548 }
type_size()11549 inline int Package::type_size() const {
11550   return _internal_type_size();
11551 }
clear_type()11552 inline void Package::clear_type() {
11553   _impl_.type_.Clear();
11554 }
mutable_type(int index)11555 inline ::aapt::pb::Type* Package::mutable_type(int index) {
11556   // @@protoc_insertion_point(field_mutable:aapt.pb.Package.type)
11557   return _impl_.type_.Mutable(index);
11558 }
11559 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Type >*
mutable_type()11560 Package::mutable_type() {
11561   // @@protoc_insertion_point(field_mutable_list:aapt.pb.Package.type)
11562   return &_impl_.type_;
11563 }
_internal_type(int index)11564 inline const ::aapt::pb::Type& Package::_internal_type(int index) const {
11565   return _impl_.type_.Get(index);
11566 }
type(int index)11567 inline const ::aapt::pb::Type& Package::type(int index) const {
11568   // @@protoc_insertion_point(field_get:aapt.pb.Package.type)
11569   return _internal_type(index);
11570 }
_internal_add_type()11571 inline ::aapt::pb::Type* Package::_internal_add_type() {
11572   return _impl_.type_.Add();
11573 }
add_type()11574 inline ::aapt::pb::Type* Package::add_type() {
11575   ::aapt::pb::Type* _add = _internal_add_type();
11576   // @@protoc_insertion_point(field_add:aapt.pb.Package.type)
11577   return _add;
11578 }
11579 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Type >&
type()11580 Package::type() const {
11581   // @@protoc_insertion_point(field_list:aapt.pb.Package.type)
11582   return _impl_.type_;
11583 }
11584 
11585 // -------------------------------------------------------------------
11586 
11587 // TypeId
11588 
11589 // uint32 id = 1;
clear_id()11590 inline void TypeId::clear_id() {
11591   _impl_.id_ = 0u;
11592 }
_internal_id()11593 inline ::uint32_t TypeId::_internal_id() const {
11594   return _impl_.id_;
11595 }
id()11596 inline ::uint32_t TypeId::id() const {
11597   // @@protoc_insertion_point(field_get:aapt.pb.TypeId.id)
11598   return _internal_id();
11599 }
_internal_set_id(::uint32_t value)11600 inline void TypeId::_internal_set_id(::uint32_t value) {
11601 
11602   _impl_.id_ = value;
11603 }
set_id(::uint32_t value)11604 inline void TypeId::set_id(::uint32_t value) {
11605   _internal_set_id(value);
11606   // @@protoc_insertion_point(field_set:aapt.pb.TypeId.id)
11607 }
11608 
11609 // -------------------------------------------------------------------
11610 
11611 // Type
11612 
11613 // .aapt.pb.TypeId type_id = 1;
_internal_has_type_id()11614 inline bool Type::_internal_has_type_id() const {
11615   return this != internal_default_instance() && _impl_.type_id_ != nullptr;
11616 }
has_type_id()11617 inline bool Type::has_type_id() const {
11618   return _internal_has_type_id();
11619 }
clear_type_id()11620 inline void Type::clear_type_id() {
11621   if (GetArenaForAllocation() == nullptr && _impl_.type_id_ != nullptr) {
11622     delete _impl_.type_id_;
11623   }
11624   _impl_.type_id_ = nullptr;
11625 }
_internal_type_id()11626 inline const ::aapt::pb::TypeId& Type::_internal_type_id() const {
11627   const ::aapt::pb::TypeId* p = _impl_.type_id_;
11628   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::TypeId&>(
11629       ::aapt::pb::_TypeId_default_instance_);
11630 }
type_id()11631 inline const ::aapt::pb::TypeId& Type::type_id() const {
11632   // @@protoc_insertion_point(field_get:aapt.pb.Type.type_id)
11633   return _internal_type_id();
11634 }
unsafe_arena_set_allocated_type_id(::aapt::pb::TypeId * type_id)11635 inline void Type::unsafe_arena_set_allocated_type_id(
11636     ::aapt::pb::TypeId* type_id) {
11637   if (GetArenaForAllocation() == nullptr) {
11638     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.type_id_);
11639   }
11640   _impl_.type_id_ = type_id;
11641   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Type.type_id)
11642 }
release_type_id()11643 inline ::aapt::pb::TypeId* Type::release_type_id() {
11644 
11645   ::aapt::pb::TypeId* temp = _impl_.type_id_;
11646   _impl_.type_id_ = nullptr;
11647 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
11648   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
11649   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
11650   if (GetArenaForAllocation() == nullptr) { delete old; }
11651 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
11652   if (GetArenaForAllocation() != nullptr) {
11653     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
11654   }
11655 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
11656   return temp;
11657 }
unsafe_arena_release_type_id()11658 inline ::aapt::pb::TypeId* Type::unsafe_arena_release_type_id() {
11659   // @@protoc_insertion_point(field_release:aapt.pb.Type.type_id)
11660 
11661   ::aapt::pb::TypeId* temp = _impl_.type_id_;
11662   _impl_.type_id_ = nullptr;
11663   return temp;
11664 }
_internal_mutable_type_id()11665 inline ::aapt::pb::TypeId* Type::_internal_mutable_type_id() {
11666 
11667   if (_impl_.type_id_ == nullptr) {
11668     auto* p = CreateMaybeMessage<::aapt::pb::TypeId>(GetArenaForAllocation());
11669     _impl_.type_id_ = p;
11670   }
11671   return _impl_.type_id_;
11672 }
mutable_type_id()11673 inline ::aapt::pb::TypeId* Type::mutable_type_id() {
11674   ::aapt::pb::TypeId* _msg = _internal_mutable_type_id();
11675   // @@protoc_insertion_point(field_mutable:aapt.pb.Type.type_id)
11676   return _msg;
11677 }
set_allocated_type_id(::aapt::pb::TypeId * type_id)11678 inline void Type::set_allocated_type_id(::aapt::pb::TypeId* type_id) {
11679   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
11680   if (message_arena == nullptr) {
11681     delete _impl_.type_id_;
11682   }
11683   if (type_id) {
11684     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
11685         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(type_id);
11686     if (message_arena != submessage_arena) {
11687       type_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
11688           message_arena, type_id, submessage_arena);
11689     }
11690 
11691   } else {
11692 
11693   }
11694   _impl_.type_id_ = type_id;
11695   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Type.type_id)
11696 }
11697 
11698 // string name = 2;
clear_name()11699 inline void Type::clear_name() {
11700   _impl_.name_.ClearToEmpty();
11701 }
name()11702 inline const std::string& Type::name() const {
11703   // @@protoc_insertion_point(field_get:aapt.pb.Type.name)
11704   return _internal_name();
11705 }
11706 template <typename ArgT0, typename... ArgT>
11707 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)11708 void Type::set_name(ArgT0&& arg0, ArgT... args) {
11709 
11710  _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
11711   // @@protoc_insertion_point(field_set:aapt.pb.Type.name)
11712 }
mutable_name()11713 inline std::string* Type::mutable_name() {
11714   std::string* _s = _internal_mutable_name();
11715   // @@protoc_insertion_point(field_mutable:aapt.pb.Type.name)
11716   return _s;
11717 }
_internal_name()11718 inline const std::string& Type::_internal_name() const {
11719   return _impl_.name_.Get();
11720 }
_internal_set_name(const std::string & value)11721 inline void Type::_internal_set_name(const std::string& value) {
11722 
11723   _impl_.name_.Set(value, GetArenaForAllocation());
11724 }
_internal_mutable_name()11725 inline std::string* Type::_internal_mutable_name() {
11726 
11727   return _impl_.name_.Mutable(GetArenaForAllocation());
11728 }
release_name()11729 inline std::string* Type::release_name() {
11730   // @@protoc_insertion_point(field_release:aapt.pb.Type.name)
11731   return _impl_.name_.Release();
11732 }
set_allocated_name(std::string * name)11733 inline void Type::set_allocated_name(std::string* name) {
11734   _impl_.name_.SetAllocated(name, GetArenaForAllocation());
11735 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
11736   if (_impl_.name_.IsDefault()) {
11737     _impl_.name_.Set("", GetArenaForAllocation());
11738   }
11739 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
11740   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Type.name)
11741 }
11742 
11743 // repeated .aapt.pb.Entry entry = 3;
_internal_entry_size()11744 inline int Type::_internal_entry_size() const {
11745   return _impl_.entry_.size();
11746 }
entry_size()11747 inline int Type::entry_size() const {
11748   return _internal_entry_size();
11749 }
clear_entry()11750 inline void Type::clear_entry() {
11751   _impl_.entry_.Clear();
11752 }
mutable_entry(int index)11753 inline ::aapt::pb::Entry* Type::mutable_entry(int index) {
11754   // @@protoc_insertion_point(field_mutable:aapt.pb.Type.entry)
11755   return _impl_.entry_.Mutable(index);
11756 }
11757 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Entry >*
mutable_entry()11758 Type::mutable_entry() {
11759   // @@protoc_insertion_point(field_mutable_list:aapt.pb.Type.entry)
11760   return &_impl_.entry_;
11761 }
_internal_entry(int index)11762 inline const ::aapt::pb::Entry& Type::_internal_entry(int index) const {
11763   return _impl_.entry_.Get(index);
11764 }
entry(int index)11765 inline const ::aapt::pb::Entry& Type::entry(int index) const {
11766   // @@protoc_insertion_point(field_get:aapt.pb.Type.entry)
11767   return _internal_entry(index);
11768 }
_internal_add_entry()11769 inline ::aapt::pb::Entry* Type::_internal_add_entry() {
11770   return _impl_.entry_.Add();
11771 }
add_entry()11772 inline ::aapt::pb::Entry* Type::add_entry() {
11773   ::aapt::pb::Entry* _add = _internal_add_entry();
11774   // @@protoc_insertion_point(field_add:aapt.pb.Type.entry)
11775   return _add;
11776 }
11777 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Entry >&
entry()11778 Type::entry() const {
11779   // @@protoc_insertion_point(field_list:aapt.pb.Type.entry)
11780   return _impl_.entry_;
11781 }
11782 
11783 // -------------------------------------------------------------------
11784 
11785 // Visibility
11786 
11787 // .aapt.pb.Visibility.Level level = 1;
clear_level()11788 inline void Visibility::clear_level() {
11789   _impl_.level_ = 0;
11790 }
_internal_level()11791 inline ::aapt::pb::Visibility_Level Visibility::_internal_level() const {
11792   return static_cast< ::aapt::pb::Visibility_Level >(_impl_.level_);
11793 }
level()11794 inline ::aapt::pb::Visibility_Level Visibility::level() const {
11795   // @@protoc_insertion_point(field_get:aapt.pb.Visibility.level)
11796   return _internal_level();
11797 }
_internal_set_level(::aapt::pb::Visibility_Level value)11798 inline void Visibility::_internal_set_level(::aapt::pb::Visibility_Level value) {
11799 
11800   _impl_.level_ = value;
11801 }
set_level(::aapt::pb::Visibility_Level value)11802 inline void Visibility::set_level(::aapt::pb::Visibility_Level value) {
11803   _internal_set_level(value);
11804   // @@protoc_insertion_point(field_set:aapt.pb.Visibility.level)
11805 }
11806 
11807 // .aapt.pb.Source source = 2;
_internal_has_source()11808 inline bool Visibility::_internal_has_source() const {
11809   return this != internal_default_instance() && _impl_.source_ != nullptr;
11810 }
has_source()11811 inline bool Visibility::has_source() const {
11812   return _internal_has_source();
11813 }
clear_source()11814 inline void Visibility::clear_source() {
11815   if (GetArenaForAllocation() == nullptr && _impl_.source_ != nullptr) {
11816     delete _impl_.source_;
11817   }
11818   _impl_.source_ = nullptr;
11819 }
_internal_source()11820 inline const ::aapt::pb::Source& Visibility::_internal_source() const {
11821   const ::aapt::pb::Source* p = _impl_.source_;
11822   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Source&>(
11823       ::aapt::pb::_Source_default_instance_);
11824 }
source()11825 inline const ::aapt::pb::Source& Visibility::source() const {
11826   // @@protoc_insertion_point(field_get:aapt.pb.Visibility.source)
11827   return _internal_source();
11828 }
unsafe_arena_set_allocated_source(::aapt::pb::Source * source)11829 inline void Visibility::unsafe_arena_set_allocated_source(
11830     ::aapt::pb::Source* source) {
11831   if (GetArenaForAllocation() == nullptr) {
11832     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_);
11833   }
11834   _impl_.source_ = source;
11835   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Visibility.source)
11836 }
release_source()11837 inline ::aapt::pb::Source* Visibility::release_source() {
11838 
11839   ::aapt::pb::Source* temp = _impl_.source_;
11840   _impl_.source_ = nullptr;
11841 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
11842   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
11843   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
11844   if (GetArenaForAllocation() == nullptr) { delete old; }
11845 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
11846   if (GetArenaForAllocation() != nullptr) {
11847     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
11848   }
11849 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
11850   return temp;
11851 }
unsafe_arena_release_source()11852 inline ::aapt::pb::Source* Visibility::unsafe_arena_release_source() {
11853   // @@protoc_insertion_point(field_release:aapt.pb.Visibility.source)
11854 
11855   ::aapt::pb::Source* temp = _impl_.source_;
11856   _impl_.source_ = nullptr;
11857   return temp;
11858 }
_internal_mutable_source()11859 inline ::aapt::pb::Source* Visibility::_internal_mutable_source() {
11860 
11861   if (_impl_.source_ == nullptr) {
11862     auto* p = CreateMaybeMessage<::aapt::pb::Source>(GetArenaForAllocation());
11863     _impl_.source_ = p;
11864   }
11865   return _impl_.source_;
11866 }
mutable_source()11867 inline ::aapt::pb::Source* Visibility::mutable_source() {
11868   ::aapt::pb::Source* _msg = _internal_mutable_source();
11869   // @@protoc_insertion_point(field_mutable:aapt.pb.Visibility.source)
11870   return _msg;
11871 }
set_allocated_source(::aapt::pb::Source * source)11872 inline void Visibility::set_allocated_source(::aapt::pb::Source* source) {
11873   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
11874   if (message_arena == nullptr) {
11875     delete _impl_.source_;
11876   }
11877   if (source) {
11878     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
11879         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source);
11880     if (message_arena != submessage_arena) {
11881       source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
11882           message_arena, source, submessage_arena);
11883     }
11884 
11885   } else {
11886 
11887   }
11888   _impl_.source_ = source;
11889   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Visibility.source)
11890 }
11891 
11892 // string comment = 3;
clear_comment()11893 inline void Visibility::clear_comment() {
11894   _impl_.comment_.ClearToEmpty();
11895 }
comment()11896 inline const std::string& Visibility::comment() const {
11897   // @@protoc_insertion_point(field_get:aapt.pb.Visibility.comment)
11898   return _internal_comment();
11899 }
11900 template <typename ArgT0, typename... ArgT>
11901 inline PROTOBUF_ALWAYS_INLINE
set_comment(ArgT0 && arg0,ArgT...args)11902 void Visibility::set_comment(ArgT0&& arg0, ArgT... args) {
11903 
11904  _impl_.comment_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
11905   // @@protoc_insertion_point(field_set:aapt.pb.Visibility.comment)
11906 }
mutable_comment()11907 inline std::string* Visibility::mutable_comment() {
11908   std::string* _s = _internal_mutable_comment();
11909   // @@protoc_insertion_point(field_mutable:aapt.pb.Visibility.comment)
11910   return _s;
11911 }
_internal_comment()11912 inline const std::string& Visibility::_internal_comment() const {
11913   return _impl_.comment_.Get();
11914 }
_internal_set_comment(const std::string & value)11915 inline void Visibility::_internal_set_comment(const std::string& value) {
11916 
11917   _impl_.comment_.Set(value, GetArenaForAllocation());
11918 }
_internal_mutable_comment()11919 inline std::string* Visibility::_internal_mutable_comment() {
11920 
11921   return _impl_.comment_.Mutable(GetArenaForAllocation());
11922 }
release_comment()11923 inline std::string* Visibility::release_comment() {
11924   // @@protoc_insertion_point(field_release:aapt.pb.Visibility.comment)
11925   return _impl_.comment_.Release();
11926 }
set_allocated_comment(std::string * comment)11927 inline void Visibility::set_allocated_comment(std::string* comment) {
11928   _impl_.comment_.SetAllocated(comment, GetArenaForAllocation());
11929 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
11930   if (_impl_.comment_.IsDefault()) {
11931     _impl_.comment_.Set("", GetArenaForAllocation());
11932   }
11933 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
11934   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Visibility.comment)
11935 }
11936 
11937 // bool staged_api = 4;
clear_staged_api()11938 inline void Visibility::clear_staged_api() {
11939   _impl_.staged_api_ = false;
11940 }
_internal_staged_api()11941 inline bool Visibility::_internal_staged_api() const {
11942   return _impl_.staged_api_;
11943 }
staged_api()11944 inline bool Visibility::staged_api() const {
11945   // @@protoc_insertion_point(field_get:aapt.pb.Visibility.staged_api)
11946   return _internal_staged_api();
11947 }
_internal_set_staged_api(bool value)11948 inline void Visibility::_internal_set_staged_api(bool value) {
11949 
11950   _impl_.staged_api_ = value;
11951 }
set_staged_api(bool value)11952 inline void Visibility::set_staged_api(bool value) {
11953   _internal_set_staged_api(value);
11954   // @@protoc_insertion_point(field_set:aapt.pb.Visibility.staged_api)
11955 }
11956 
11957 // -------------------------------------------------------------------
11958 
11959 // AllowNew
11960 
11961 // .aapt.pb.Source source = 1;
_internal_has_source()11962 inline bool AllowNew::_internal_has_source() const {
11963   return this != internal_default_instance() && _impl_.source_ != nullptr;
11964 }
has_source()11965 inline bool AllowNew::has_source() const {
11966   return _internal_has_source();
11967 }
clear_source()11968 inline void AllowNew::clear_source() {
11969   if (GetArenaForAllocation() == nullptr && _impl_.source_ != nullptr) {
11970     delete _impl_.source_;
11971   }
11972   _impl_.source_ = nullptr;
11973 }
_internal_source()11974 inline const ::aapt::pb::Source& AllowNew::_internal_source() const {
11975   const ::aapt::pb::Source* p = _impl_.source_;
11976   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Source&>(
11977       ::aapt::pb::_Source_default_instance_);
11978 }
source()11979 inline const ::aapt::pb::Source& AllowNew::source() const {
11980   // @@protoc_insertion_point(field_get:aapt.pb.AllowNew.source)
11981   return _internal_source();
11982 }
unsafe_arena_set_allocated_source(::aapt::pb::Source * source)11983 inline void AllowNew::unsafe_arena_set_allocated_source(
11984     ::aapt::pb::Source* source) {
11985   if (GetArenaForAllocation() == nullptr) {
11986     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_);
11987   }
11988   _impl_.source_ = source;
11989   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.AllowNew.source)
11990 }
release_source()11991 inline ::aapt::pb::Source* AllowNew::release_source() {
11992 
11993   ::aapt::pb::Source* temp = _impl_.source_;
11994   _impl_.source_ = nullptr;
11995 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
11996   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
11997   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
11998   if (GetArenaForAllocation() == nullptr) { delete old; }
11999 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
12000   if (GetArenaForAllocation() != nullptr) {
12001     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
12002   }
12003 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
12004   return temp;
12005 }
unsafe_arena_release_source()12006 inline ::aapt::pb::Source* AllowNew::unsafe_arena_release_source() {
12007   // @@protoc_insertion_point(field_release:aapt.pb.AllowNew.source)
12008 
12009   ::aapt::pb::Source* temp = _impl_.source_;
12010   _impl_.source_ = nullptr;
12011   return temp;
12012 }
_internal_mutable_source()12013 inline ::aapt::pb::Source* AllowNew::_internal_mutable_source() {
12014 
12015   if (_impl_.source_ == nullptr) {
12016     auto* p = CreateMaybeMessage<::aapt::pb::Source>(GetArenaForAllocation());
12017     _impl_.source_ = p;
12018   }
12019   return _impl_.source_;
12020 }
mutable_source()12021 inline ::aapt::pb::Source* AllowNew::mutable_source() {
12022   ::aapt::pb::Source* _msg = _internal_mutable_source();
12023   // @@protoc_insertion_point(field_mutable:aapt.pb.AllowNew.source)
12024   return _msg;
12025 }
set_allocated_source(::aapt::pb::Source * source)12026 inline void AllowNew::set_allocated_source(::aapt::pb::Source* source) {
12027   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
12028   if (message_arena == nullptr) {
12029     delete _impl_.source_;
12030   }
12031   if (source) {
12032     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
12033         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source);
12034     if (message_arena != submessage_arena) {
12035       source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
12036           message_arena, source, submessage_arena);
12037     }
12038 
12039   } else {
12040 
12041   }
12042   _impl_.source_ = source;
12043   // @@protoc_insertion_point(field_set_allocated:aapt.pb.AllowNew.source)
12044 }
12045 
12046 // string comment = 2;
clear_comment()12047 inline void AllowNew::clear_comment() {
12048   _impl_.comment_.ClearToEmpty();
12049 }
comment()12050 inline const std::string& AllowNew::comment() const {
12051   // @@protoc_insertion_point(field_get:aapt.pb.AllowNew.comment)
12052   return _internal_comment();
12053 }
12054 template <typename ArgT0, typename... ArgT>
12055 inline PROTOBUF_ALWAYS_INLINE
set_comment(ArgT0 && arg0,ArgT...args)12056 void AllowNew::set_comment(ArgT0&& arg0, ArgT... args) {
12057 
12058  _impl_.comment_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
12059   // @@protoc_insertion_point(field_set:aapt.pb.AllowNew.comment)
12060 }
mutable_comment()12061 inline std::string* AllowNew::mutable_comment() {
12062   std::string* _s = _internal_mutable_comment();
12063   // @@protoc_insertion_point(field_mutable:aapt.pb.AllowNew.comment)
12064   return _s;
12065 }
_internal_comment()12066 inline const std::string& AllowNew::_internal_comment() const {
12067   return _impl_.comment_.Get();
12068 }
_internal_set_comment(const std::string & value)12069 inline void AllowNew::_internal_set_comment(const std::string& value) {
12070 
12071   _impl_.comment_.Set(value, GetArenaForAllocation());
12072 }
_internal_mutable_comment()12073 inline std::string* AllowNew::_internal_mutable_comment() {
12074 
12075   return _impl_.comment_.Mutable(GetArenaForAllocation());
12076 }
release_comment()12077 inline std::string* AllowNew::release_comment() {
12078   // @@protoc_insertion_point(field_release:aapt.pb.AllowNew.comment)
12079   return _impl_.comment_.Release();
12080 }
set_allocated_comment(std::string * comment)12081 inline void AllowNew::set_allocated_comment(std::string* comment) {
12082   _impl_.comment_.SetAllocated(comment, GetArenaForAllocation());
12083 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
12084   if (_impl_.comment_.IsDefault()) {
12085     _impl_.comment_.Set("", GetArenaForAllocation());
12086   }
12087 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
12088   // @@protoc_insertion_point(field_set_allocated:aapt.pb.AllowNew.comment)
12089 }
12090 
12091 // -------------------------------------------------------------------
12092 
12093 // Overlayable
12094 
12095 // string name = 1;
clear_name()12096 inline void Overlayable::clear_name() {
12097   _impl_.name_.ClearToEmpty();
12098 }
name()12099 inline const std::string& Overlayable::name() const {
12100   // @@protoc_insertion_point(field_get:aapt.pb.Overlayable.name)
12101   return _internal_name();
12102 }
12103 template <typename ArgT0, typename... ArgT>
12104 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)12105 void Overlayable::set_name(ArgT0&& arg0, ArgT... args) {
12106 
12107  _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
12108   // @@protoc_insertion_point(field_set:aapt.pb.Overlayable.name)
12109 }
mutable_name()12110 inline std::string* Overlayable::mutable_name() {
12111   std::string* _s = _internal_mutable_name();
12112   // @@protoc_insertion_point(field_mutable:aapt.pb.Overlayable.name)
12113   return _s;
12114 }
_internal_name()12115 inline const std::string& Overlayable::_internal_name() const {
12116   return _impl_.name_.Get();
12117 }
_internal_set_name(const std::string & value)12118 inline void Overlayable::_internal_set_name(const std::string& value) {
12119 
12120   _impl_.name_.Set(value, GetArenaForAllocation());
12121 }
_internal_mutable_name()12122 inline std::string* Overlayable::_internal_mutable_name() {
12123 
12124   return _impl_.name_.Mutable(GetArenaForAllocation());
12125 }
release_name()12126 inline std::string* Overlayable::release_name() {
12127   // @@protoc_insertion_point(field_release:aapt.pb.Overlayable.name)
12128   return _impl_.name_.Release();
12129 }
set_allocated_name(std::string * name)12130 inline void Overlayable::set_allocated_name(std::string* name) {
12131   _impl_.name_.SetAllocated(name, GetArenaForAllocation());
12132 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
12133   if (_impl_.name_.IsDefault()) {
12134     _impl_.name_.Set("", GetArenaForAllocation());
12135   }
12136 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
12137   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Overlayable.name)
12138 }
12139 
12140 // .aapt.pb.Source source = 2;
_internal_has_source()12141 inline bool Overlayable::_internal_has_source() const {
12142   return this != internal_default_instance() && _impl_.source_ != nullptr;
12143 }
has_source()12144 inline bool Overlayable::has_source() const {
12145   return _internal_has_source();
12146 }
clear_source()12147 inline void Overlayable::clear_source() {
12148   if (GetArenaForAllocation() == nullptr && _impl_.source_ != nullptr) {
12149     delete _impl_.source_;
12150   }
12151   _impl_.source_ = nullptr;
12152 }
_internal_source()12153 inline const ::aapt::pb::Source& Overlayable::_internal_source() const {
12154   const ::aapt::pb::Source* p = _impl_.source_;
12155   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Source&>(
12156       ::aapt::pb::_Source_default_instance_);
12157 }
source()12158 inline const ::aapt::pb::Source& Overlayable::source() const {
12159   // @@protoc_insertion_point(field_get:aapt.pb.Overlayable.source)
12160   return _internal_source();
12161 }
unsafe_arena_set_allocated_source(::aapt::pb::Source * source)12162 inline void Overlayable::unsafe_arena_set_allocated_source(
12163     ::aapt::pb::Source* source) {
12164   if (GetArenaForAllocation() == nullptr) {
12165     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_);
12166   }
12167   _impl_.source_ = source;
12168   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Overlayable.source)
12169 }
release_source()12170 inline ::aapt::pb::Source* Overlayable::release_source() {
12171 
12172   ::aapt::pb::Source* temp = _impl_.source_;
12173   _impl_.source_ = nullptr;
12174 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
12175   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
12176   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
12177   if (GetArenaForAllocation() == nullptr) { delete old; }
12178 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
12179   if (GetArenaForAllocation() != nullptr) {
12180     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
12181   }
12182 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
12183   return temp;
12184 }
unsafe_arena_release_source()12185 inline ::aapt::pb::Source* Overlayable::unsafe_arena_release_source() {
12186   // @@protoc_insertion_point(field_release:aapt.pb.Overlayable.source)
12187 
12188   ::aapt::pb::Source* temp = _impl_.source_;
12189   _impl_.source_ = nullptr;
12190   return temp;
12191 }
_internal_mutable_source()12192 inline ::aapt::pb::Source* Overlayable::_internal_mutable_source() {
12193 
12194   if (_impl_.source_ == nullptr) {
12195     auto* p = CreateMaybeMessage<::aapt::pb::Source>(GetArenaForAllocation());
12196     _impl_.source_ = p;
12197   }
12198   return _impl_.source_;
12199 }
mutable_source()12200 inline ::aapt::pb::Source* Overlayable::mutable_source() {
12201   ::aapt::pb::Source* _msg = _internal_mutable_source();
12202   // @@protoc_insertion_point(field_mutable:aapt.pb.Overlayable.source)
12203   return _msg;
12204 }
set_allocated_source(::aapt::pb::Source * source)12205 inline void Overlayable::set_allocated_source(::aapt::pb::Source* source) {
12206   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
12207   if (message_arena == nullptr) {
12208     delete _impl_.source_;
12209   }
12210   if (source) {
12211     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
12212         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source);
12213     if (message_arena != submessage_arena) {
12214       source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
12215           message_arena, source, submessage_arena);
12216     }
12217 
12218   } else {
12219 
12220   }
12221   _impl_.source_ = source;
12222   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Overlayable.source)
12223 }
12224 
12225 // string actor = 3;
clear_actor()12226 inline void Overlayable::clear_actor() {
12227   _impl_.actor_.ClearToEmpty();
12228 }
actor()12229 inline const std::string& Overlayable::actor() const {
12230   // @@protoc_insertion_point(field_get:aapt.pb.Overlayable.actor)
12231   return _internal_actor();
12232 }
12233 template <typename ArgT0, typename... ArgT>
12234 inline PROTOBUF_ALWAYS_INLINE
set_actor(ArgT0 && arg0,ArgT...args)12235 void Overlayable::set_actor(ArgT0&& arg0, ArgT... args) {
12236 
12237  _impl_.actor_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
12238   // @@protoc_insertion_point(field_set:aapt.pb.Overlayable.actor)
12239 }
mutable_actor()12240 inline std::string* Overlayable::mutable_actor() {
12241   std::string* _s = _internal_mutable_actor();
12242   // @@protoc_insertion_point(field_mutable:aapt.pb.Overlayable.actor)
12243   return _s;
12244 }
_internal_actor()12245 inline const std::string& Overlayable::_internal_actor() const {
12246   return _impl_.actor_.Get();
12247 }
_internal_set_actor(const std::string & value)12248 inline void Overlayable::_internal_set_actor(const std::string& value) {
12249 
12250   _impl_.actor_.Set(value, GetArenaForAllocation());
12251 }
_internal_mutable_actor()12252 inline std::string* Overlayable::_internal_mutable_actor() {
12253 
12254   return _impl_.actor_.Mutable(GetArenaForAllocation());
12255 }
release_actor()12256 inline std::string* Overlayable::release_actor() {
12257   // @@protoc_insertion_point(field_release:aapt.pb.Overlayable.actor)
12258   return _impl_.actor_.Release();
12259 }
set_allocated_actor(std::string * actor)12260 inline void Overlayable::set_allocated_actor(std::string* actor) {
12261   _impl_.actor_.SetAllocated(actor, GetArenaForAllocation());
12262 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
12263   if (_impl_.actor_.IsDefault()) {
12264     _impl_.actor_.Set("", GetArenaForAllocation());
12265   }
12266 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
12267   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Overlayable.actor)
12268 }
12269 
12270 // -------------------------------------------------------------------
12271 
12272 // OverlayableItem
12273 
12274 // .aapt.pb.Source source = 1;
_internal_has_source()12275 inline bool OverlayableItem::_internal_has_source() const {
12276   return this != internal_default_instance() && _impl_.source_ != nullptr;
12277 }
has_source()12278 inline bool OverlayableItem::has_source() const {
12279   return _internal_has_source();
12280 }
clear_source()12281 inline void OverlayableItem::clear_source() {
12282   if (GetArenaForAllocation() == nullptr && _impl_.source_ != nullptr) {
12283     delete _impl_.source_;
12284   }
12285   _impl_.source_ = nullptr;
12286 }
_internal_source()12287 inline const ::aapt::pb::Source& OverlayableItem::_internal_source() const {
12288   const ::aapt::pb::Source* p = _impl_.source_;
12289   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Source&>(
12290       ::aapt::pb::_Source_default_instance_);
12291 }
source()12292 inline const ::aapt::pb::Source& OverlayableItem::source() const {
12293   // @@protoc_insertion_point(field_get:aapt.pb.OverlayableItem.source)
12294   return _internal_source();
12295 }
unsafe_arena_set_allocated_source(::aapt::pb::Source * source)12296 inline void OverlayableItem::unsafe_arena_set_allocated_source(
12297     ::aapt::pb::Source* source) {
12298   if (GetArenaForAllocation() == nullptr) {
12299     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_);
12300   }
12301   _impl_.source_ = source;
12302   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.OverlayableItem.source)
12303 }
release_source()12304 inline ::aapt::pb::Source* OverlayableItem::release_source() {
12305 
12306   ::aapt::pb::Source* temp = _impl_.source_;
12307   _impl_.source_ = nullptr;
12308 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
12309   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
12310   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
12311   if (GetArenaForAllocation() == nullptr) { delete old; }
12312 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
12313   if (GetArenaForAllocation() != nullptr) {
12314     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
12315   }
12316 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
12317   return temp;
12318 }
unsafe_arena_release_source()12319 inline ::aapt::pb::Source* OverlayableItem::unsafe_arena_release_source() {
12320   // @@protoc_insertion_point(field_release:aapt.pb.OverlayableItem.source)
12321 
12322   ::aapt::pb::Source* temp = _impl_.source_;
12323   _impl_.source_ = nullptr;
12324   return temp;
12325 }
_internal_mutable_source()12326 inline ::aapt::pb::Source* OverlayableItem::_internal_mutable_source() {
12327 
12328   if (_impl_.source_ == nullptr) {
12329     auto* p = CreateMaybeMessage<::aapt::pb::Source>(GetArenaForAllocation());
12330     _impl_.source_ = p;
12331   }
12332   return _impl_.source_;
12333 }
mutable_source()12334 inline ::aapt::pb::Source* OverlayableItem::mutable_source() {
12335   ::aapt::pb::Source* _msg = _internal_mutable_source();
12336   // @@protoc_insertion_point(field_mutable:aapt.pb.OverlayableItem.source)
12337   return _msg;
12338 }
set_allocated_source(::aapt::pb::Source * source)12339 inline void OverlayableItem::set_allocated_source(::aapt::pb::Source* source) {
12340   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
12341   if (message_arena == nullptr) {
12342     delete _impl_.source_;
12343   }
12344   if (source) {
12345     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
12346         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source);
12347     if (message_arena != submessage_arena) {
12348       source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
12349           message_arena, source, submessage_arena);
12350     }
12351 
12352   } else {
12353 
12354   }
12355   _impl_.source_ = source;
12356   // @@protoc_insertion_point(field_set_allocated:aapt.pb.OverlayableItem.source)
12357 }
12358 
12359 // string comment = 2;
clear_comment()12360 inline void OverlayableItem::clear_comment() {
12361   _impl_.comment_.ClearToEmpty();
12362 }
comment()12363 inline const std::string& OverlayableItem::comment() const {
12364   // @@protoc_insertion_point(field_get:aapt.pb.OverlayableItem.comment)
12365   return _internal_comment();
12366 }
12367 template <typename ArgT0, typename... ArgT>
12368 inline PROTOBUF_ALWAYS_INLINE
set_comment(ArgT0 && arg0,ArgT...args)12369 void OverlayableItem::set_comment(ArgT0&& arg0, ArgT... args) {
12370 
12371  _impl_.comment_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
12372   // @@protoc_insertion_point(field_set:aapt.pb.OverlayableItem.comment)
12373 }
mutable_comment()12374 inline std::string* OverlayableItem::mutable_comment() {
12375   std::string* _s = _internal_mutable_comment();
12376   // @@protoc_insertion_point(field_mutable:aapt.pb.OverlayableItem.comment)
12377   return _s;
12378 }
_internal_comment()12379 inline const std::string& OverlayableItem::_internal_comment() const {
12380   return _impl_.comment_.Get();
12381 }
_internal_set_comment(const std::string & value)12382 inline void OverlayableItem::_internal_set_comment(const std::string& value) {
12383 
12384   _impl_.comment_.Set(value, GetArenaForAllocation());
12385 }
_internal_mutable_comment()12386 inline std::string* OverlayableItem::_internal_mutable_comment() {
12387 
12388   return _impl_.comment_.Mutable(GetArenaForAllocation());
12389 }
release_comment()12390 inline std::string* OverlayableItem::release_comment() {
12391   // @@protoc_insertion_point(field_release:aapt.pb.OverlayableItem.comment)
12392   return _impl_.comment_.Release();
12393 }
set_allocated_comment(std::string * comment)12394 inline void OverlayableItem::set_allocated_comment(std::string* comment) {
12395   _impl_.comment_.SetAllocated(comment, GetArenaForAllocation());
12396 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
12397   if (_impl_.comment_.IsDefault()) {
12398     _impl_.comment_.Set("", GetArenaForAllocation());
12399   }
12400 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
12401   // @@protoc_insertion_point(field_set_allocated:aapt.pb.OverlayableItem.comment)
12402 }
12403 
12404 // repeated .aapt.pb.OverlayableItem.Policy policy = 3;
_internal_policy_size()12405 inline int OverlayableItem::_internal_policy_size() const {
12406   return _impl_.policy_.size();
12407 }
policy_size()12408 inline int OverlayableItem::policy_size() const {
12409   return _internal_policy_size();
12410 }
clear_policy()12411 inline void OverlayableItem::clear_policy() {
12412   _impl_.policy_.Clear();
12413 }
_internal_policy(int index)12414 inline ::aapt::pb::OverlayableItem_Policy OverlayableItem::_internal_policy(int index) const {
12415   return static_cast< ::aapt::pb::OverlayableItem_Policy >(_impl_.policy_.Get(index));
12416 }
policy(int index)12417 inline ::aapt::pb::OverlayableItem_Policy OverlayableItem::policy(int index) const {
12418   // @@protoc_insertion_point(field_get:aapt.pb.OverlayableItem.policy)
12419   return _internal_policy(index);
12420 }
set_policy(int index,::aapt::pb::OverlayableItem_Policy value)12421 inline void OverlayableItem::set_policy(int index, ::aapt::pb::OverlayableItem_Policy value) {
12422   _impl_.policy_.Set(index, value);
12423   // @@protoc_insertion_point(field_set:aapt.pb.OverlayableItem.policy)
12424 }
_internal_add_policy(::aapt::pb::OverlayableItem_Policy value)12425 inline void OverlayableItem::_internal_add_policy(::aapt::pb::OverlayableItem_Policy value) {
12426   _impl_.policy_.Add(value);
12427 }
add_policy(::aapt::pb::OverlayableItem_Policy value)12428 inline void OverlayableItem::add_policy(::aapt::pb::OverlayableItem_Policy value) {
12429   _internal_add_policy(value);
12430   // @@protoc_insertion_point(field_add:aapt.pb.OverlayableItem.policy)
12431 }
12432 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
policy()12433 OverlayableItem::policy() const {
12434   // @@protoc_insertion_point(field_list:aapt.pb.OverlayableItem.policy)
12435   return _impl_.policy_;
12436 }
12437 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
_internal_mutable_policy()12438 OverlayableItem::_internal_mutable_policy() {
12439   return &_impl_.policy_;
12440 }
12441 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
mutable_policy()12442 OverlayableItem::mutable_policy() {
12443   // @@protoc_insertion_point(field_mutable_list:aapt.pb.OverlayableItem.policy)
12444   return _internal_mutable_policy();
12445 }
12446 
12447 // uint32 overlayable_idx = 4;
clear_overlayable_idx()12448 inline void OverlayableItem::clear_overlayable_idx() {
12449   _impl_.overlayable_idx_ = 0u;
12450 }
_internal_overlayable_idx()12451 inline ::uint32_t OverlayableItem::_internal_overlayable_idx() const {
12452   return _impl_.overlayable_idx_;
12453 }
overlayable_idx()12454 inline ::uint32_t OverlayableItem::overlayable_idx() const {
12455   // @@protoc_insertion_point(field_get:aapt.pb.OverlayableItem.overlayable_idx)
12456   return _internal_overlayable_idx();
12457 }
_internal_set_overlayable_idx(::uint32_t value)12458 inline void OverlayableItem::_internal_set_overlayable_idx(::uint32_t value) {
12459 
12460   _impl_.overlayable_idx_ = value;
12461 }
set_overlayable_idx(::uint32_t value)12462 inline void OverlayableItem::set_overlayable_idx(::uint32_t value) {
12463   _internal_set_overlayable_idx(value);
12464   // @@protoc_insertion_point(field_set:aapt.pb.OverlayableItem.overlayable_idx)
12465 }
12466 
12467 // -------------------------------------------------------------------
12468 
12469 // StagedId
12470 
12471 // .aapt.pb.Source source = 1;
_internal_has_source()12472 inline bool StagedId::_internal_has_source() const {
12473   return this != internal_default_instance() && _impl_.source_ != nullptr;
12474 }
has_source()12475 inline bool StagedId::has_source() const {
12476   return _internal_has_source();
12477 }
clear_source()12478 inline void StagedId::clear_source() {
12479   if (GetArenaForAllocation() == nullptr && _impl_.source_ != nullptr) {
12480     delete _impl_.source_;
12481   }
12482   _impl_.source_ = nullptr;
12483 }
_internal_source()12484 inline const ::aapt::pb::Source& StagedId::_internal_source() const {
12485   const ::aapt::pb::Source* p = _impl_.source_;
12486   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Source&>(
12487       ::aapt::pb::_Source_default_instance_);
12488 }
source()12489 inline const ::aapt::pb::Source& StagedId::source() const {
12490   // @@protoc_insertion_point(field_get:aapt.pb.StagedId.source)
12491   return _internal_source();
12492 }
unsafe_arena_set_allocated_source(::aapt::pb::Source * source)12493 inline void StagedId::unsafe_arena_set_allocated_source(
12494     ::aapt::pb::Source* source) {
12495   if (GetArenaForAllocation() == nullptr) {
12496     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_);
12497   }
12498   _impl_.source_ = source;
12499   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.StagedId.source)
12500 }
release_source()12501 inline ::aapt::pb::Source* StagedId::release_source() {
12502 
12503   ::aapt::pb::Source* temp = _impl_.source_;
12504   _impl_.source_ = nullptr;
12505 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
12506   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
12507   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
12508   if (GetArenaForAllocation() == nullptr) { delete old; }
12509 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
12510   if (GetArenaForAllocation() != nullptr) {
12511     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
12512   }
12513 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
12514   return temp;
12515 }
unsafe_arena_release_source()12516 inline ::aapt::pb::Source* StagedId::unsafe_arena_release_source() {
12517   // @@protoc_insertion_point(field_release:aapt.pb.StagedId.source)
12518 
12519   ::aapt::pb::Source* temp = _impl_.source_;
12520   _impl_.source_ = nullptr;
12521   return temp;
12522 }
_internal_mutable_source()12523 inline ::aapt::pb::Source* StagedId::_internal_mutable_source() {
12524 
12525   if (_impl_.source_ == nullptr) {
12526     auto* p = CreateMaybeMessage<::aapt::pb::Source>(GetArenaForAllocation());
12527     _impl_.source_ = p;
12528   }
12529   return _impl_.source_;
12530 }
mutable_source()12531 inline ::aapt::pb::Source* StagedId::mutable_source() {
12532   ::aapt::pb::Source* _msg = _internal_mutable_source();
12533   // @@protoc_insertion_point(field_mutable:aapt.pb.StagedId.source)
12534   return _msg;
12535 }
set_allocated_source(::aapt::pb::Source * source)12536 inline void StagedId::set_allocated_source(::aapt::pb::Source* source) {
12537   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
12538   if (message_arena == nullptr) {
12539     delete _impl_.source_;
12540   }
12541   if (source) {
12542     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
12543         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source);
12544     if (message_arena != submessage_arena) {
12545       source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
12546           message_arena, source, submessage_arena);
12547     }
12548 
12549   } else {
12550 
12551   }
12552   _impl_.source_ = source;
12553   // @@protoc_insertion_point(field_set_allocated:aapt.pb.StagedId.source)
12554 }
12555 
12556 // uint32 staged_id = 2;
clear_staged_id()12557 inline void StagedId::clear_staged_id() {
12558   _impl_.staged_id_ = 0u;
12559 }
_internal_staged_id()12560 inline ::uint32_t StagedId::_internal_staged_id() const {
12561   return _impl_.staged_id_;
12562 }
staged_id()12563 inline ::uint32_t StagedId::staged_id() const {
12564   // @@protoc_insertion_point(field_get:aapt.pb.StagedId.staged_id)
12565   return _internal_staged_id();
12566 }
_internal_set_staged_id(::uint32_t value)12567 inline void StagedId::_internal_set_staged_id(::uint32_t value) {
12568 
12569   _impl_.staged_id_ = value;
12570 }
set_staged_id(::uint32_t value)12571 inline void StagedId::set_staged_id(::uint32_t value) {
12572   _internal_set_staged_id(value);
12573   // @@protoc_insertion_point(field_set:aapt.pb.StagedId.staged_id)
12574 }
12575 
12576 // -------------------------------------------------------------------
12577 
12578 // EntryId
12579 
12580 // uint32 id = 1;
clear_id()12581 inline void EntryId::clear_id() {
12582   _impl_.id_ = 0u;
12583 }
_internal_id()12584 inline ::uint32_t EntryId::_internal_id() const {
12585   return _impl_.id_;
12586 }
id()12587 inline ::uint32_t EntryId::id() const {
12588   // @@protoc_insertion_point(field_get:aapt.pb.EntryId.id)
12589   return _internal_id();
12590 }
_internal_set_id(::uint32_t value)12591 inline void EntryId::_internal_set_id(::uint32_t value) {
12592 
12593   _impl_.id_ = value;
12594 }
set_id(::uint32_t value)12595 inline void EntryId::set_id(::uint32_t value) {
12596   _internal_set_id(value);
12597   // @@protoc_insertion_point(field_set:aapt.pb.EntryId.id)
12598 }
12599 
12600 // -------------------------------------------------------------------
12601 
12602 // Entry
12603 
12604 // .aapt.pb.EntryId entry_id = 1;
_internal_has_entry_id()12605 inline bool Entry::_internal_has_entry_id() const {
12606   return this != internal_default_instance() && _impl_.entry_id_ != nullptr;
12607 }
has_entry_id()12608 inline bool Entry::has_entry_id() const {
12609   return _internal_has_entry_id();
12610 }
clear_entry_id()12611 inline void Entry::clear_entry_id() {
12612   if (GetArenaForAllocation() == nullptr && _impl_.entry_id_ != nullptr) {
12613     delete _impl_.entry_id_;
12614   }
12615   _impl_.entry_id_ = nullptr;
12616 }
_internal_entry_id()12617 inline const ::aapt::pb::EntryId& Entry::_internal_entry_id() const {
12618   const ::aapt::pb::EntryId* p = _impl_.entry_id_;
12619   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::EntryId&>(
12620       ::aapt::pb::_EntryId_default_instance_);
12621 }
entry_id()12622 inline const ::aapt::pb::EntryId& Entry::entry_id() const {
12623   // @@protoc_insertion_point(field_get:aapt.pb.Entry.entry_id)
12624   return _internal_entry_id();
12625 }
unsafe_arena_set_allocated_entry_id(::aapt::pb::EntryId * entry_id)12626 inline void Entry::unsafe_arena_set_allocated_entry_id(
12627     ::aapt::pb::EntryId* entry_id) {
12628   if (GetArenaForAllocation() == nullptr) {
12629     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.entry_id_);
12630   }
12631   _impl_.entry_id_ = entry_id;
12632   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Entry.entry_id)
12633 }
release_entry_id()12634 inline ::aapt::pb::EntryId* Entry::release_entry_id() {
12635 
12636   ::aapt::pb::EntryId* temp = _impl_.entry_id_;
12637   _impl_.entry_id_ = nullptr;
12638 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
12639   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
12640   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
12641   if (GetArenaForAllocation() == nullptr) { delete old; }
12642 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
12643   if (GetArenaForAllocation() != nullptr) {
12644     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
12645   }
12646 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
12647   return temp;
12648 }
unsafe_arena_release_entry_id()12649 inline ::aapt::pb::EntryId* Entry::unsafe_arena_release_entry_id() {
12650   // @@protoc_insertion_point(field_release:aapt.pb.Entry.entry_id)
12651 
12652   ::aapt::pb::EntryId* temp = _impl_.entry_id_;
12653   _impl_.entry_id_ = nullptr;
12654   return temp;
12655 }
_internal_mutable_entry_id()12656 inline ::aapt::pb::EntryId* Entry::_internal_mutable_entry_id() {
12657 
12658   if (_impl_.entry_id_ == nullptr) {
12659     auto* p = CreateMaybeMessage<::aapt::pb::EntryId>(GetArenaForAllocation());
12660     _impl_.entry_id_ = p;
12661   }
12662   return _impl_.entry_id_;
12663 }
mutable_entry_id()12664 inline ::aapt::pb::EntryId* Entry::mutable_entry_id() {
12665   ::aapt::pb::EntryId* _msg = _internal_mutable_entry_id();
12666   // @@protoc_insertion_point(field_mutable:aapt.pb.Entry.entry_id)
12667   return _msg;
12668 }
set_allocated_entry_id(::aapt::pb::EntryId * entry_id)12669 inline void Entry::set_allocated_entry_id(::aapt::pb::EntryId* entry_id) {
12670   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
12671   if (message_arena == nullptr) {
12672     delete _impl_.entry_id_;
12673   }
12674   if (entry_id) {
12675     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
12676         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(entry_id);
12677     if (message_arena != submessage_arena) {
12678       entry_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
12679           message_arena, entry_id, submessage_arena);
12680     }
12681 
12682   } else {
12683 
12684   }
12685   _impl_.entry_id_ = entry_id;
12686   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Entry.entry_id)
12687 }
12688 
12689 // string name = 2;
clear_name()12690 inline void Entry::clear_name() {
12691   _impl_.name_.ClearToEmpty();
12692 }
name()12693 inline const std::string& Entry::name() const {
12694   // @@protoc_insertion_point(field_get:aapt.pb.Entry.name)
12695   return _internal_name();
12696 }
12697 template <typename ArgT0, typename... ArgT>
12698 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)12699 void Entry::set_name(ArgT0&& arg0, ArgT... args) {
12700 
12701  _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
12702   // @@protoc_insertion_point(field_set:aapt.pb.Entry.name)
12703 }
mutable_name()12704 inline std::string* Entry::mutable_name() {
12705   std::string* _s = _internal_mutable_name();
12706   // @@protoc_insertion_point(field_mutable:aapt.pb.Entry.name)
12707   return _s;
12708 }
_internal_name()12709 inline const std::string& Entry::_internal_name() const {
12710   return _impl_.name_.Get();
12711 }
_internal_set_name(const std::string & value)12712 inline void Entry::_internal_set_name(const std::string& value) {
12713 
12714   _impl_.name_.Set(value, GetArenaForAllocation());
12715 }
_internal_mutable_name()12716 inline std::string* Entry::_internal_mutable_name() {
12717 
12718   return _impl_.name_.Mutable(GetArenaForAllocation());
12719 }
release_name()12720 inline std::string* Entry::release_name() {
12721   // @@protoc_insertion_point(field_release:aapt.pb.Entry.name)
12722   return _impl_.name_.Release();
12723 }
set_allocated_name(std::string * name)12724 inline void Entry::set_allocated_name(std::string* name) {
12725   _impl_.name_.SetAllocated(name, GetArenaForAllocation());
12726 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
12727   if (_impl_.name_.IsDefault()) {
12728     _impl_.name_.Set("", GetArenaForAllocation());
12729   }
12730 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
12731   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Entry.name)
12732 }
12733 
12734 // .aapt.pb.Visibility visibility = 3;
_internal_has_visibility()12735 inline bool Entry::_internal_has_visibility() const {
12736   return this != internal_default_instance() && _impl_.visibility_ != nullptr;
12737 }
has_visibility()12738 inline bool Entry::has_visibility() const {
12739   return _internal_has_visibility();
12740 }
clear_visibility()12741 inline void Entry::clear_visibility() {
12742   if (GetArenaForAllocation() == nullptr && _impl_.visibility_ != nullptr) {
12743     delete _impl_.visibility_;
12744   }
12745   _impl_.visibility_ = nullptr;
12746 }
_internal_visibility()12747 inline const ::aapt::pb::Visibility& Entry::_internal_visibility() const {
12748   const ::aapt::pb::Visibility* p = _impl_.visibility_;
12749   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Visibility&>(
12750       ::aapt::pb::_Visibility_default_instance_);
12751 }
visibility()12752 inline const ::aapt::pb::Visibility& Entry::visibility() const {
12753   // @@protoc_insertion_point(field_get:aapt.pb.Entry.visibility)
12754   return _internal_visibility();
12755 }
unsafe_arena_set_allocated_visibility(::aapt::pb::Visibility * visibility)12756 inline void Entry::unsafe_arena_set_allocated_visibility(
12757     ::aapt::pb::Visibility* visibility) {
12758   if (GetArenaForAllocation() == nullptr) {
12759     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.visibility_);
12760   }
12761   _impl_.visibility_ = visibility;
12762   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Entry.visibility)
12763 }
release_visibility()12764 inline ::aapt::pb::Visibility* Entry::release_visibility() {
12765 
12766   ::aapt::pb::Visibility* temp = _impl_.visibility_;
12767   _impl_.visibility_ = nullptr;
12768 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
12769   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
12770   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
12771   if (GetArenaForAllocation() == nullptr) { delete old; }
12772 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
12773   if (GetArenaForAllocation() != nullptr) {
12774     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
12775   }
12776 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
12777   return temp;
12778 }
unsafe_arena_release_visibility()12779 inline ::aapt::pb::Visibility* Entry::unsafe_arena_release_visibility() {
12780   // @@protoc_insertion_point(field_release:aapt.pb.Entry.visibility)
12781 
12782   ::aapt::pb::Visibility* temp = _impl_.visibility_;
12783   _impl_.visibility_ = nullptr;
12784   return temp;
12785 }
_internal_mutable_visibility()12786 inline ::aapt::pb::Visibility* Entry::_internal_mutable_visibility() {
12787 
12788   if (_impl_.visibility_ == nullptr) {
12789     auto* p = CreateMaybeMessage<::aapt::pb::Visibility>(GetArenaForAllocation());
12790     _impl_.visibility_ = p;
12791   }
12792   return _impl_.visibility_;
12793 }
mutable_visibility()12794 inline ::aapt::pb::Visibility* Entry::mutable_visibility() {
12795   ::aapt::pb::Visibility* _msg = _internal_mutable_visibility();
12796   // @@protoc_insertion_point(field_mutable:aapt.pb.Entry.visibility)
12797   return _msg;
12798 }
set_allocated_visibility(::aapt::pb::Visibility * visibility)12799 inline void Entry::set_allocated_visibility(::aapt::pb::Visibility* visibility) {
12800   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
12801   if (message_arena == nullptr) {
12802     delete _impl_.visibility_;
12803   }
12804   if (visibility) {
12805     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
12806         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(visibility);
12807     if (message_arena != submessage_arena) {
12808       visibility = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
12809           message_arena, visibility, submessage_arena);
12810     }
12811 
12812   } else {
12813 
12814   }
12815   _impl_.visibility_ = visibility;
12816   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Entry.visibility)
12817 }
12818 
12819 // .aapt.pb.AllowNew allow_new = 4;
_internal_has_allow_new()12820 inline bool Entry::_internal_has_allow_new() const {
12821   return this != internal_default_instance() && _impl_.allow_new_ != nullptr;
12822 }
has_allow_new()12823 inline bool Entry::has_allow_new() const {
12824   return _internal_has_allow_new();
12825 }
clear_allow_new()12826 inline void Entry::clear_allow_new() {
12827   if (GetArenaForAllocation() == nullptr && _impl_.allow_new_ != nullptr) {
12828     delete _impl_.allow_new_;
12829   }
12830   _impl_.allow_new_ = nullptr;
12831 }
_internal_allow_new()12832 inline const ::aapt::pb::AllowNew& Entry::_internal_allow_new() const {
12833   const ::aapt::pb::AllowNew* p = _impl_.allow_new_;
12834   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::AllowNew&>(
12835       ::aapt::pb::_AllowNew_default_instance_);
12836 }
allow_new()12837 inline const ::aapt::pb::AllowNew& Entry::allow_new() const {
12838   // @@protoc_insertion_point(field_get:aapt.pb.Entry.allow_new)
12839   return _internal_allow_new();
12840 }
unsafe_arena_set_allocated_allow_new(::aapt::pb::AllowNew * allow_new)12841 inline void Entry::unsafe_arena_set_allocated_allow_new(
12842     ::aapt::pb::AllowNew* allow_new) {
12843   if (GetArenaForAllocation() == nullptr) {
12844     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.allow_new_);
12845   }
12846   _impl_.allow_new_ = allow_new;
12847   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Entry.allow_new)
12848 }
release_allow_new()12849 inline ::aapt::pb::AllowNew* Entry::release_allow_new() {
12850 
12851   ::aapt::pb::AllowNew* temp = _impl_.allow_new_;
12852   _impl_.allow_new_ = nullptr;
12853 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
12854   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
12855   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
12856   if (GetArenaForAllocation() == nullptr) { delete old; }
12857 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
12858   if (GetArenaForAllocation() != nullptr) {
12859     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
12860   }
12861 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
12862   return temp;
12863 }
unsafe_arena_release_allow_new()12864 inline ::aapt::pb::AllowNew* Entry::unsafe_arena_release_allow_new() {
12865   // @@protoc_insertion_point(field_release:aapt.pb.Entry.allow_new)
12866 
12867   ::aapt::pb::AllowNew* temp = _impl_.allow_new_;
12868   _impl_.allow_new_ = nullptr;
12869   return temp;
12870 }
_internal_mutable_allow_new()12871 inline ::aapt::pb::AllowNew* Entry::_internal_mutable_allow_new() {
12872 
12873   if (_impl_.allow_new_ == nullptr) {
12874     auto* p = CreateMaybeMessage<::aapt::pb::AllowNew>(GetArenaForAllocation());
12875     _impl_.allow_new_ = p;
12876   }
12877   return _impl_.allow_new_;
12878 }
mutable_allow_new()12879 inline ::aapt::pb::AllowNew* Entry::mutable_allow_new() {
12880   ::aapt::pb::AllowNew* _msg = _internal_mutable_allow_new();
12881   // @@protoc_insertion_point(field_mutable:aapt.pb.Entry.allow_new)
12882   return _msg;
12883 }
set_allocated_allow_new(::aapt::pb::AllowNew * allow_new)12884 inline void Entry::set_allocated_allow_new(::aapt::pb::AllowNew* allow_new) {
12885   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
12886   if (message_arena == nullptr) {
12887     delete _impl_.allow_new_;
12888   }
12889   if (allow_new) {
12890     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
12891         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(allow_new);
12892     if (message_arena != submessage_arena) {
12893       allow_new = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
12894           message_arena, allow_new, submessage_arena);
12895     }
12896 
12897   } else {
12898 
12899   }
12900   _impl_.allow_new_ = allow_new;
12901   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Entry.allow_new)
12902 }
12903 
12904 // .aapt.pb.OverlayableItem overlayable_item = 5;
_internal_has_overlayable_item()12905 inline bool Entry::_internal_has_overlayable_item() const {
12906   return this != internal_default_instance() && _impl_.overlayable_item_ != nullptr;
12907 }
has_overlayable_item()12908 inline bool Entry::has_overlayable_item() const {
12909   return _internal_has_overlayable_item();
12910 }
clear_overlayable_item()12911 inline void Entry::clear_overlayable_item() {
12912   if (GetArenaForAllocation() == nullptr && _impl_.overlayable_item_ != nullptr) {
12913     delete _impl_.overlayable_item_;
12914   }
12915   _impl_.overlayable_item_ = nullptr;
12916 }
_internal_overlayable_item()12917 inline const ::aapt::pb::OverlayableItem& Entry::_internal_overlayable_item() const {
12918   const ::aapt::pb::OverlayableItem* p = _impl_.overlayable_item_;
12919   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::OverlayableItem&>(
12920       ::aapt::pb::_OverlayableItem_default_instance_);
12921 }
overlayable_item()12922 inline const ::aapt::pb::OverlayableItem& Entry::overlayable_item() const {
12923   // @@protoc_insertion_point(field_get:aapt.pb.Entry.overlayable_item)
12924   return _internal_overlayable_item();
12925 }
unsafe_arena_set_allocated_overlayable_item(::aapt::pb::OverlayableItem * overlayable_item)12926 inline void Entry::unsafe_arena_set_allocated_overlayable_item(
12927     ::aapt::pb::OverlayableItem* overlayable_item) {
12928   if (GetArenaForAllocation() == nullptr) {
12929     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.overlayable_item_);
12930   }
12931   _impl_.overlayable_item_ = overlayable_item;
12932   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Entry.overlayable_item)
12933 }
release_overlayable_item()12934 inline ::aapt::pb::OverlayableItem* Entry::release_overlayable_item() {
12935 
12936   ::aapt::pb::OverlayableItem* temp = _impl_.overlayable_item_;
12937   _impl_.overlayable_item_ = nullptr;
12938 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
12939   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
12940   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
12941   if (GetArenaForAllocation() == nullptr) { delete old; }
12942 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
12943   if (GetArenaForAllocation() != nullptr) {
12944     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
12945   }
12946 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
12947   return temp;
12948 }
unsafe_arena_release_overlayable_item()12949 inline ::aapt::pb::OverlayableItem* Entry::unsafe_arena_release_overlayable_item() {
12950   // @@protoc_insertion_point(field_release:aapt.pb.Entry.overlayable_item)
12951 
12952   ::aapt::pb::OverlayableItem* temp = _impl_.overlayable_item_;
12953   _impl_.overlayable_item_ = nullptr;
12954   return temp;
12955 }
_internal_mutable_overlayable_item()12956 inline ::aapt::pb::OverlayableItem* Entry::_internal_mutable_overlayable_item() {
12957 
12958   if (_impl_.overlayable_item_ == nullptr) {
12959     auto* p = CreateMaybeMessage<::aapt::pb::OverlayableItem>(GetArenaForAllocation());
12960     _impl_.overlayable_item_ = p;
12961   }
12962   return _impl_.overlayable_item_;
12963 }
mutable_overlayable_item()12964 inline ::aapt::pb::OverlayableItem* Entry::mutable_overlayable_item() {
12965   ::aapt::pb::OverlayableItem* _msg = _internal_mutable_overlayable_item();
12966   // @@protoc_insertion_point(field_mutable:aapt.pb.Entry.overlayable_item)
12967   return _msg;
12968 }
set_allocated_overlayable_item(::aapt::pb::OverlayableItem * overlayable_item)12969 inline void Entry::set_allocated_overlayable_item(::aapt::pb::OverlayableItem* overlayable_item) {
12970   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
12971   if (message_arena == nullptr) {
12972     delete _impl_.overlayable_item_;
12973   }
12974   if (overlayable_item) {
12975     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
12976         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(overlayable_item);
12977     if (message_arena != submessage_arena) {
12978       overlayable_item = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
12979           message_arena, overlayable_item, submessage_arena);
12980     }
12981 
12982   } else {
12983 
12984   }
12985   _impl_.overlayable_item_ = overlayable_item;
12986   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Entry.overlayable_item)
12987 }
12988 
12989 // repeated .aapt.pb.ConfigValue config_value = 6;
_internal_config_value_size()12990 inline int Entry::_internal_config_value_size() const {
12991   return _impl_.config_value_.size();
12992 }
config_value_size()12993 inline int Entry::config_value_size() const {
12994   return _internal_config_value_size();
12995 }
clear_config_value()12996 inline void Entry::clear_config_value() {
12997   _impl_.config_value_.Clear();
12998 }
mutable_config_value(int index)12999 inline ::aapt::pb::ConfigValue* Entry::mutable_config_value(int index) {
13000   // @@protoc_insertion_point(field_mutable:aapt.pb.Entry.config_value)
13001   return _impl_.config_value_.Mutable(index);
13002 }
13003 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ConfigValue >*
mutable_config_value()13004 Entry::mutable_config_value() {
13005   // @@protoc_insertion_point(field_mutable_list:aapt.pb.Entry.config_value)
13006   return &_impl_.config_value_;
13007 }
_internal_config_value(int index)13008 inline const ::aapt::pb::ConfigValue& Entry::_internal_config_value(int index) const {
13009   return _impl_.config_value_.Get(index);
13010 }
config_value(int index)13011 inline const ::aapt::pb::ConfigValue& Entry::config_value(int index) const {
13012   // @@protoc_insertion_point(field_get:aapt.pb.Entry.config_value)
13013   return _internal_config_value(index);
13014 }
_internal_add_config_value()13015 inline ::aapt::pb::ConfigValue* Entry::_internal_add_config_value() {
13016   return _impl_.config_value_.Add();
13017 }
add_config_value()13018 inline ::aapt::pb::ConfigValue* Entry::add_config_value() {
13019   ::aapt::pb::ConfigValue* _add = _internal_add_config_value();
13020   // @@protoc_insertion_point(field_add:aapt.pb.Entry.config_value)
13021   return _add;
13022 }
13023 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ConfigValue >&
config_value()13024 Entry::config_value() const {
13025   // @@protoc_insertion_point(field_list:aapt.pb.Entry.config_value)
13026   return _impl_.config_value_;
13027 }
13028 
13029 // .aapt.pb.StagedId staged_id = 7;
_internal_has_staged_id()13030 inline bool Entry::_internal_has_staged_id() const {
13031   return this != internal_default_instance() && _impl_.staged_id_ != nullptr;
13032 }
has_staged_id()13033 inline bool Entry::has_staged_id() const {
13034   return _internal_has_staged_id();
13035 }
clear_staged_id()13036 inline void Entry::clear_staged_id() {
13037   if (GetArenaForAllocation() == nullptr && _impl_.staged_id_ != nullptr) {
13038     delete _impl_.staged_id_;
13039   }
13040   _impl_.staged_id_ = nullptr;
13041 }
_internal_staged_id()13042 inline const ::aapt::pb::StagedId& Entry::_internal_staged_id() const {
13043   const ::aapt::pb::StagedId* p = _impl_.staged_id_;
13044   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::StagedId&>(
13045       ::aapt::pb::_StagedId_default_instance_);
13046 }
staged_id()13047 inline const ::aapt::pb::StagedId& Entry::staged_id() const {
13048   // @@protoc_insertion_point(field_get:aapt.pb.Entry.staged_id)
13049   return _internal_staged_id();
13050 }
unsafe_arena_set_allocated_staged_id(::aapt::pb::StagedId * staged_id)13051 inline void Entry::unsafe_arena_set_allocated_staged_id(
13052     ::aapt::pb::StagedId* staged_id) {
13053   if (GetArenaForAllocation() == nullptr) {
13054     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.staged_id_);
13055   }
13056   _impl_.staged_id_ = staged_id;
13057   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Entry.staged_id)
13058 }
release_staged_id()13059 inline ::aapt::pb::StagedId* Entry::release_staged_id() {
13060 
13061   ::aapt::pb::StagedId* temp = _impl_.staged_id_;
13062   _impl_.staged_id_ = nullptr;
13063 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
13064   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
13065   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
13066   if (GetArenaForAllocation() == nullptr) { delete old; }
13067 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
13068   if (GetArenaForAllocation() != nullptr) {
13069     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
13070   }
13071 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
13072   return temp;
13073 }
unsafe_arena_release_staged_id()13074 inline ::aapt::pb::StagedId* Entry::unsafe_arena_release_staged_id() {
13075   // @@protoc_insertion_point(field_release:aapt.pb.Entry.staged_id)
13076 
13077   ::aapt::pb::StagedId* temp = _impl_.staged_id_;
13078   _impl_.staged_id_ = nullptr;
13079   return temp;
13080 }
_internal_mutable_staged_id()13081 inline ::aapt::pb::StagedId* Entry::_internal_mutable_staged_id() {
13082 
13083   if (_impl_.staged_id_ == nullptr) {
13084     auto* p = CreateMaybeMessage<::aapt::pb::StagedId>(GetArenaForAllocation());
13085     _impl_.staged_id_ = p;
13086   }
13087   return _impl_.staged_id_;
13088 }
mutable_staged_id()13089 inline ::aapt::pb::StagedId* Entry::mutable_staged_id() {
13090   ::aapt::pb::StagedId* _msg = _internal_mutable_staged_id();
13091   // @@protoc_insertion_point(field_mutable:aapt.pb.Entry.staged_id)
13092   return _msg;
13093 }
set_allocated_staged_id(::aapt::pb::StagedId * staged_id)13094 inline void Entry::set_allocated_staged_id(::aapt::pb::StagedId* staged_id) {
13095   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
13096   if (message_arena == nullptr) {
13097     delete _impl_.staged_id_;
13098   }
13099   if (staged_id) {
13100     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
13101         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(staged_id);
13102     if (message_arena != submessage_arena) {
13103       staged_id = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
13104           message_arena, staged_id, submessage_arena);
13105     }
13106 
13107   } else {
13108 
13109   }
13110   _impl_.staged_id_ = staged_id;
13111   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Entry.staged_id)
13112 }
13113 
13114 // repeated .aapt.pb.ConfigValue flag_disabled_config_value = 8;
_internal_flag_disabled_config_value_size()13115 inline int Entry::_internal_flag_disabled_config_value_size() const {
13116   return _impl_.flag_disabled_config_value_.size();
13117 }
flag_disabled_config_value_size()13118 inline int Entry::flag_disabled_config_value_size() const {
13119   return _internal_flag_disabled_config_value_size();
13120 }
clear_flag_disabled_config_value()13121 inline void Entry::clear_flag_disabled_config_value() {
13122   _impl_.flag_disabled_config_value_.Clear();
13123 }
mutable_flag_disabled_config_value(int index)13124 inline ::aapt::pb::ConfigValue* Entry::mutable_flag_disabled_config_value(int index) {
13125   // @@protoc_insertion_point(field_mutable:aapt.pb.Entry.flag_disabled_config_value)
13126   return _impl_.flag_disabled_config_value_.Mutable(index);
13127 }
13128 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ConfigValue >*
mutable_flag_disabled_config_value()13129 Entry::mutable_flag_disabled_config_value() {
13130   // @@protoc_insertion_point(field_mutable_list:aapt.pb.Entry.flag_disabled_config_value)
13131   return &_impl_.flag_disabled_config_value_;
13132 }
_internal_flag_disabled_config_value(int index)13133 inline const ::aapt::pb::ConfigValue& Entry::_internal_flag_disabled_config_value(int index) const {
13134   return _impl_.flag_disabled_config_value_.Get(index);
13135 }
flag_disabled_config_value(int index)13136 inline const ::aapt::pb::ConfigValue& Entry::flag_disabled_config_value(int index) const {
13137   // @@protoc_insertion_point(field_get:aapt.pb.Entry.flag_disabled_config_value)
13138   return _internal_flag_disabled_config_value(index);
13139 }
_internal_add_flag_disabled_config_value()13140 inline ::aapt::pb::ConfigValue* Entry::_internal_add_flag_disabled_config_value() {
13141   return _impl_.flag_disabled_config_value_.Add();
13142 }
add_flag_disabled_config_value()13143 inline ::aapt::pb::ConfigValue* Entry::add_flag_disabled_config_value() {
13144   ::aapt::pb::ConfigValue* _add = _internal_add_flag_disabled_config_value();
13145   // @@protoc_insertion_point(field_add:aapt.pb.Entry.flag_disabled_config_value)
13146   return _add;
13147 }
13148 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ConfigValue >&
flag_disabled_config_value()13149 Entry::flag_disabled_config_value() const {
13150   // @@protoc_insertion_point(field_list:aapt.pb.Entry.flag_disabled_config_value)
13151   return _impl_.flag_disabled_config_value_;
13152 }
13153 
13154 // -------------------------------------------------------------------
13155 
13156 // ConfigValue
13157 
13158 // .aapt.pb.Configuration config = 1;
_internal_has_config()13159 inline bool ConfigValue::_internal_has_config() const {
13160   return this != internal_default_instance() && _impl_.config_ != nullptr;
13161 }
has_config()13162 inline bool ConfigValue::has_config() const {
13163   return _internal_has_config();
13164 }
_internal_config()13165 inline const ::aapt::pb::Configuration& ConfigValue::_internal_config() const {
13166   const ::aapt::pb::Configuration* p = _impl_.config_;
13167   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Configuration&>(
13168       ::aapt::pb::_Configuration_default_instance_);
13169 }
config()13170 inline const ::aapt::pb::Configuration& ConfigValue::config() const {
13171   // @@protoc_insertion_point(field_get:aapt.pb.ConfigValue.config)
13172   return _internal_config();
13173 }
unsafe_arena_set_allocated_config(::aapt::pb::Configuration * config)13174 inline void ConfigValue::unsafe_arena_set_allocated_config(
13175     ::aapt::pb::Configuration* config) {
13176   if (GetArenaForAllocation() == nullptr) {
13177     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.config_);
13178   }
13179   _impl_.config_ = config;
13180   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.ConfigValue.config)
13181 }
release_config()13182 inline ::aapt::pb::Configuration* ConfigValue::release_config() {
13183 
13184   ::aapt::pb::Configuration* temp = _impl_.config_;
13185   _impl_.config_ = nullptr;
13186 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
13187   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
13188   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
13189   if (GetArenaForAllocation() == nullptr) { delete old; }
13190 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
13191   if (GetArenaForAllocation() != nullptr) {
13192     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
13193   }
13194 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
13195   return temp;
13196 }
unsafe_arena_release_config()13197 inline ::aapt::pb::Configuration* ConfigValue::unsafe_arena_release_config() {
13198   // @@protoc_insertion_point(field_release:aapt.pb.ConfigValue.config)
13199 
13200   ::aapt::pb::Configuration* temp = _impl_.config_;
13201   _impl_.config_ = nullptr;
13202   return temp;
13203 }
_internal_mutable_config()13204 inline ::aapt::pb::Configuration* ConfigValue::_internal_mutable_config() {
13205 
13206   if (_impl_.config_ == nullptr) {
13207     auto* p = CreateMaybeMessage<::aapt::pb::Configuration>(GetArenaForAllocation());
13208     _impl_.config_ = p;
13209   }
13210   return _impl_.config_;
13211 }
mutable_config()13212 inline ::aapt::pb::Configuration* ConfigValue::mutable_config() {
13213   ::aapt::pb::Configuration* _msg = _internal_mutable_config();
13214   // @@protoc_insertion_point(field_mutable:aapt.pb.ConfigValue.config)
13215   return _msg;
13216 }
set_allocated_config(::aapt::pb::Configuration * config)13217 inline void ConfigValue::set_allocated_config(::aapt::pb::Configuration* config) {
13218   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
13219   if (message_arena == nullptr) {
13220     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.config_);
13221   }
13222   if (config) {
13223     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
13224         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
13225                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(config));
13226     if (message_arena != submessage_arena) {
13227       config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
13228           message_arena, config, submessage_arena);
13229     }
13230 
13231   } else {
13232 
13233   }
13234   _impl_.config_ = config;
13235   // @@protoc_insertion_point(field_set_allocated:aapt.pb.ConfigValue.config)
13236 }
13237 
13238 // .aapt.pb.Value value = 2;
_internal_has_value()13239 inline bool ConfigValue::_internal_has_value() const {
13240   return this != internal_default_instance() && _impl_.value_ != nullptr;
13241 }
has_value()13242 inline bool ConfigValue::has_value() const {
13243   return _internal_has_value();
13244 }
clear_value()13245 inline void ConfigValue::clear_value() {
13246   if (GetArenaForAllocation() == nullptr && _impl_.value_ != nullptr) {
13247     delete _impl_.value_;
13248   }
13249   _impl_.value_ = nullptr;
13250 }
_internal_value()13251 inline const ::aapt::pb::Value& ConfigValue::_internal_value() const {
13252   const ::aapt::pb::Value* p = _impl_.value_;
13253   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Value&>(
13254       ::aapt::pb::_Value_default_instance_);
13255 }
value()13256 inline const ::aapt::pb::Value& ConfigValue::value() const {
13257   // @@protoc_insertion_point(field_get:aapt.pb.ConfigValue.value)
13258   return _internal_value();
13259 }
unsafe_arena_set_allocated_value(::aapt::pb::Value * value)13260 inline void ConfigValue::unsafe_arena_set_allocated_value(
13261     ::aapt::pb::Value* value) {
13262   if (GetArenaForAllocation() == nullptr) {
13263     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.value_);
13264   }
13265   _impl_.value_ = value;
13266   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.ConfigValue.value)
13267 }
release_value()13268 inline ::aapt::pb::Value* ConfigValue::release_value() {
13269 
13270   ::aapt::pb::Value* temp = _impl_.value_;
13271   _impl_.value_ = nullptr;
13272 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
13273   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
13274   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
13275   if (GetArenaForAllocation() == nullptr) { delete old; }
13276 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
13277   if (GetArenaForAllocation() != nullptr) {
13278     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
13279   }
13280 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
13281   return temp;
13282 }
unsafe_arena_release_value()13283 inline ::aapt::pb::Value* ConfigValue::unsafe_arena_release_value() {
13284   // @@protoc_insertion_point(field_release:aapt.pb.ConfigValue.value)
13285 
13286   ::aapt::pb::Value* temp = _impl_.value_;
13287   _impl_.value_ = nullptr;
13288   return temp;
13289 }
_internal_mutable_value()13290 inline ::aapt::pb::Value* ConfigValue::_internal_mutable_value() {
13291 
13292   if (_impl_.value_ == nullptr) {
13293     auto* p = CreateMaybeMessage<::aapt::pb::Value>(GetArenaForAllocation());
13294     _impl_.value_ = p;
13295   }
13296   return _impl_.value_;
13297 }
mutable_value()13298 inline ::aapt::pb::Value* ConfigValue::mutable_value() {
13299   ::aapt::pb::Value* _msg = _internal_mutable_value();
13300   // @@protoc_insertion_point(field_mutable:aapt.pb.ConfigValue.value)
13301   return _msg;
13302 }
set_allocated_value(::aapt::pb::Value * value)13303 inline void ConfigValue::set_allocated_value(::aapt::pb::Value* value) {
13304   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
13305   if (message_arena == nullptr) {
13306     delete _impl_.value_;
13307   }
13308   if (value) {
13309     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
13310         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(value);
13311     if (message_arena != submessage_arena) {
13312       value = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
13313           message_arena, value, submessage_arena);
13314     }
13315 
13316   } else {
13317 
13318   }
13319   _impl_.value_ = value;
13320   // @@protoc_insertion_point(field_set_allocated:aapt.pb.ConfigValue.value)
13321 }
13322 
13323 // -------------------------------------------------------------------
13324 
13325 // Value
13326 
13327 // .aapt.pb.Source source = 1;
_internal_has_source()13328 inline bool Value::_internal_has_source() const {
13329   return this != internal_default_instance() && _impl_.source_ != nullptr;
13330 }
has_source()13331 inline bool Value::has_source() const {
13332   return _internal_has_source();
13333 }
clear_source()13334 inline void Value::clear_source() {
13335   if (GetArenaForAllocation() == nullptr && _impl_.source_ != nullptr) {
13336     delete _impl_.source_;
13337   }
13338   _impl_.source_ = nullptr;
13339 }
_internal_source()13340 inline const ::aapt::pb::Source& Value::_internal_source() const {
13341   const ::aapt::pb::Source* p = _impl_.source_;
13342   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Source&>(
13343       ::aapt::pb::_Source_default_instance_);
13344 }
source()13345 inline const ::aapt::pb::Source& Value::source() const {
13346   // @@protoc_insertion_point(field_get:aapt.pb.Value.source)
13347   return _internal_source();
13348 }
unsafe_arena_set_allocated_source(::aapt::pb::Source * source)13349 inline void Value::unsafe_arena_set_allocated_source(
13350     ::aapt::pb::Source* source) {
13351   if (GetArenaForAllocation() == nullptr) {
13352     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_);
13353   }
13354   _impl_.source_ = source;
13355   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Value.source)
13356 }
release_source()13357 inline ::aapt::pb::Source* Value::release_source() {
13358 
13359   ::aapt::pb::Source* temp = _impl_.source_;
13360   _impl_.source_ = nullptr;
13361 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
13362   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
13363   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
13364   if (GetArenaForAllocation() == nullptr) { delete old; }
13365 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
13366   if (GetArenaForAllocation() != nullptr) {
13367     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
13368   }
13369 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
13370   return temp;
13371 }
unsafe_arena_release_source()13372 inline ::aapt::pb::Source* Value::unsafe_arena_release_source() {
13373   // @@protoc_insertion_point(field_release:aapt.pb.Value.source)
13374 
13375   ::aapt::pb::Source* temp = _impl_.source_;
13376   _impl_.source_ = nullptr;
13377   return temp;
13378 }
_internal_mutable_source()13379 inline ::aapt::pb::Source* Value::_internal_mutable_source() {
13380 
13381   if (_impl_.source_ == nullptr) {
13382     auto* p = CreateMaybeMessage<::aapt::pb::Source>(GetArenaForAllocation());
13383     _impl_.source_ = p;
13384   }
13385   return _impl_.source_;
13386 }
mutable_source()13387 inline ::aapt::pb::Source* Value::mutable_source() {
13388   ::aapt::pb::Source* _msg = _internal_mutable_source();
13389   // @@protoc_insertion_point(field_mutable:aapt.pb.Value.source)
13390   return _msg;
13391 }
set_allocated_source(::aapt::pb::Source * source)13392 inline void Value::set_allocated_source(::aapt::pb::Source* source) {
13393   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
13394   if (message_arena == nullptr) {
13395     delete _impl_.source_;
13396   }
13397   if (source) {
13398     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
13399         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source);
13400     if (message_arena != submessage_arena) {
13401       source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
13402           message_arena, source, submessage_arena);
13403     }
13404 
13405   } else {
13406 
13407   }
13408   _impl_.source_ = source;
13409   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Value.source)
13410 }
13411 
13412 // string comment = 2;
clear_comment()13413 inline void Value::clear_comment() {
13414   _impl_.comment_.ClearToEmpty();
13415 }
comment()13416 inline const std::string& Value::comment() const {
13417   // @@protoc_insertion_point(field_get:aapt.pb.Value.comment)
13418   return _internal_comment();
13419 }
13420 template <typename ArgT0, typename... ArgT>
13421 inline PROTOBUF_ALWAYS_INLINE
set_comment(ArgT0 && arg0,ArgT...args)13422 void Value::set_comment(ArgT0&& arg0, ArgT... args) {
13423 
13424  _impl_.comment_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
13425   // @@protoc_insertion_point(field_set:aapt.pb.Value.comment)
13426 }
mutable_comment()13427 inline std::string* Value::mutable_comment() {
13428   std::string* _s = _internal_mutable_comment();
13429   // @@protoc_insertion_point(field_mutable:aapt.pb.Value.comment)
13430   return _s;
13431 }
_internal_comment()13432 inline const std::string& Value::_internal_comment() const {
13433   return _impl_.comment_.Get();
13434 }
_internal_set_comment(const std::string & value)13435 inline void Value::_internal_set_comment(const std::string& value) {
13436 
13437   _impl_.comment_.Set(value, GetArenaForAllocation());
13438 }
_internal_mutable_comment()13439 inline std::string* Value::_internal_mutable_comment() {
13440 
13441   return _impl_.comment_.Mutable(GetArenaForAllocation());
13442 }
release_comment()13443 inline std::string* Value::release_comment() {
13444   // @@protoc_insertion_point(field_release:aapt.pb.Value.comment)
13445   return _impl_.comment_.Release();
13446 }
set_allocated_comment(std::string * comment)13447 inline void Value::set_allocated_comment(std::string* comment) {
13448   _impl_.comment_.SetAllocated(comment, GetArenaForAllocation());
13449 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
13450   if (_impl_.comment_.IsDefault()) {
13451     _impl_.comment_.Set("", GetArenaForAllocation());
13452   }
13453 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
13454   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Value.comment)
13455 }
13456 
13457 // bool weak = 3;
clear_weak()13458 inline void Value::clear_weak() {
13459   _impl_.weak_ = false;
13460 }
_internal_weak()13461 inline bool Value::_internal_weak() const {
13462   return _impl_.weak_;
13463 }
weak()13464 inline bool Value::weak() const {
13465   // @@protoc_insertion_point(field_get:aapt.pb.Value.weak)
13466   return _internal_weak();
13467 }
_internal_set_weak(bool value)13468 inline void Value::_internal_set_weak(bool value) {
13469 
13470   _impl_.weak_ = value;
13471 }
set_weak(bool value)13472 inline void Value::set_weak(bool value) {
13473   _internal_set_weak(value);
13474   // @@protoc_insertion_point(field_set:aapt.pb.Value.weak)
13475 }
13476 
13477 // .aapt.pb.Item item = 4;
_internal_has_item()13478 inline bool Value::_internal_has_item() const {
13479   return value_case() == kItem;
13480 }
has_item()13481 inline bool Value::has_item() const {
13482   return _internal_has_item();
13483 }
set_has_item()13484 inline void Value::set_has_item() {
13485   _impl_._oneof_case_[0] = kItem;
13486 }
clear_item()13487 inline void Value::clear_item() {
13488   if (_internal_has_item()) {
13489     if (GetArenaForAllocation() == nullptr) {
13490       delete _impl_.value_.item_;
13491     }
13492     clear_has_value();
13493   }
13494 }
release_item()13495 inline ::aapt::pb::Item* Value::release_item() {
13496   // @@protoc_insertion_point(field_release:aapt.pb.Value.item)
13497   if (_internal_has_item()) {
13498     clear_has_value();
13499     ::aapt::pb::Item* temp = _impl_.value_.item_;
13500     if (GetArenaForAllocation() != nullptr) {
13501       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
13502     }
13503     _impl_.value_.item_ = nullptr;
13504     return temp;
13505   } else {
13506     return nullptr;
13507   }
13508 }
_internal_item()13509 inline const ::aapt::pb::Item& Value::_internal_item() const {
13510   return _internal_has_item()
13511       ? *_impl_.value_.item_
13512       : reinterpret_cast< ::aapt::pb::Item&>(::aapt::pb::_Item_default_instance_);
13513 }
item()13514 inline const ::aapt::pb::Item& Value::item() const {
13515   // @@protoc_insertion_point(field_get:aapt.pb.Value.item)
13516   return _internal_item();
13517 }
unsafe_arena_release_item()13518 inline ::aapt::pb::Item* Value::unsafe_arena_release_item() {
13519   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.Value.item)
13520   if (_internal_has_item()) {
13521     clear_has_value();
13522     ::aapt::pb::Item* temp = _impl_.value_.item_;
13523     _impl_.value_.item_ = nullptr;
13524     return temp;
13525   } else {
13526     return nullptr;
13527   }
13528 }
unsafe_arena_set_allocated_item(::aapt::pb::Item * item)13529 inline void Value::unsafe_arena_set_allocated_item(::aapt::pb::Item* item) {
13530   clear_value();
13531   if (item) {
13532     set_has_item();
13533     _impl_.value_.item_ = item;
13534   }
13535   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Value.item)
13536 }
_internal_mutable_item()13537 inline ::aapt::pb::Item* Value::_internal_mutable_item() {
13538   if (!_internal_has_item()) {
13539     clear_value();
13540     set_has_item();
13541     _impl_.value_.item_ = CreateMaybeMessage< ::aapt::pb::Item >(GetArenaForAllocation());
13542   }
13543   return _impl_.value_.item_;
13544 }
mutable_item()13545 inline ::aapt::pb::Item* Value::mutable_item() {
13546   ::aapt::pb::Item* _msg = _internal_mutable_item();
13547   // @@protoc_insertion_point(field_mutable:aapt.pb.Value.item)
13548   return _msg;
13549 }
13550 
13551 // .aapt.pb.CompoundValue compound_value = 5;
_internal_has_compound_value()13552 inline bool Value::_internal_has_compound_value() const {
13553   return value_case() == kCompoundValue;
13554 }
has_compound_value()13555 inline bool Value::has_compound_value() const {
13556   return _internal_has_compound_value();
13557 }
set_has_compound_value()13558 inline void Value::set_has_compound_value() {
13559   _impl_._oneof_case_[0] = kCompoundValue;
13560 }
clear_compound_value()13561 inline void Value::clear_compound_value() {
13562   if (_internal_has_compound_value()) {
13563     if (GetArenaForAllocation() == nullptr) {
13564       delete _impl_.value_.compound_value_;
13565     }
13566     clear_has_value();
13567   }
13568 }
release_compound_value()13569 inline ::aapt::pb::CompoundValue* Value::release_compound_value() {
13570   // @@protoc_insertion_point(field_release:aapt.pb.Value.compound_value)
13571   if (_internal_has_compound_value()) {
13572     clear_has_value();
13573     ::aapt::pb::CompoundValue* temp = _impl_.value_.compound_value_;
13574     if (GetArenaForAllocation() != nullptr) {
13575       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
13576     }
13577     _impl_.value_.compound_value_ = nullptr;
13578     return temp;
13579   } else {
13580     return nullptr;
13581   }
13582 }
_internal_compound_value()13583 inline const ::aapt::pb::CompoundValue& Value::_internal_compound_value() const {
13584   return _internal_has_compound_value()
13585       ? *_impl_.value_.compound_value_
13586       : reinterpret_cast< ::aapt::pb::CompoundValue&>(::aapt::pb::_CompoundValue_default_instance_);
13587 }
compound_value()13588 inline const ::aapt::pb::CompoundValue& Value::compound_value() const {
13589   // @@protoc_insertion_point(field_get:aapt.pb.Value.compound_value)
13590   return _internal_compound_value();
13591 }
unsafe_arena_release_compound_value()13592 inline ::aapt::pb::CompoundValue* Value::unsafe_arena_release_compound_value() {
13593   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.Value.compound_value)
13594   if (_internal_has_compound_value()) {
13595     clear_has_value();
13596     ::aapt::pb::CompoundValue* temp = _impl_.value_.compound_value_;
13597     _impl_.value_.compound_value_ = nullptr;
13598     return temp;
13599   } else {
13600     return nullptr;
13601   }
13602 }
unsafe_arena_set_allocated_compound_value(::aapt::pb::CompoundValue * compound_value)13603 inline void Value::unsafe_arena_set_allocated_compound_value(::aapt::pb::CompoundValue* compound_value) {
13604   clear_value();
13605   if (compound_value) {
13606     set_has_compound_value();
13607     _impl_.value_.compound_value_ = compound_value;
13608   }
13609   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Value.compound_value)
13610 }
_internal_mutable_compound_value()13611 inline ::aapt::pb::CompoundValue* Value::_internal_mutable_compound_value() {
13612   if (!_internal_has_compound_value()) {
13613     clear_value();
13614     set_has_compound_value();
13615     _impl_.value_.compound_value_ = CreateMaybeMessage< ::aapt::pb::CompoundValue >(GetArenaForAllocation());
13616   }
13617   return _impl_.value_.compound_value_;
13618 }
mutable_compound_value()13619 inline ::aapt::pb::CompoundValue* Value::mutable_compound_value() {
13620   ::aapt::pb::CompoundValue* _msg = _internal_mutable_compound_value();
13621   // @@protoc_insertion_point(field_mutable:aapt.pb.Value.compound_value)
13622   return _msg;
13623 }
13624 
has_value()13625 inline bool Value::has_value() const {
13626   return value_case() != VALUE_NOT_SET;
13627 }
clear_has_value()13628 inline void Value::clear_has_value() {
13629   _impl_._oneof_case_[0] = VALUE_NOT_SET;
13630 }
value_case()13631 inline Value::ValueCase Value::value_case() const {
13632   return Value::ValueCase(_impl_._oneof_case_[0]);
13633 }
13634 // -------------------------------------------------------------------
13635 
13636 // Item
13637 
13638 // .aapt.pb.Reference ref = 1;
_internal_has_ref()13639 inline bool Item::_internal_has_ref() const {
13640   return value_case() == kRef;
13641 }
has_ref()13642 inline bool Item::has_ref() const {
13643   return _internal_has_ref();
13644 }
set_has_ref()13645 inline void Item::set_has_ref() {
13646   _impl_._oneof_case_[0] = kRef;
13647 }
clear_ref()13648 inline void Item::clear_ref() {
13649   if (_internal_has_ref()) {
13650     if (GetArenaForAllocation() == nullptr) {
13651       delete _impl_.value_.ref_;
13652     }
13653     clear_has_value();
13654   }
13655 }
release_ref()13656 inline ::aapt::pb::Reference* Item::release_ref() {
13657   // @@protoc_insertion_point(field_release:aapt.pb.Item.ref)
13658   if (_internal_has_ref()) {
13659     clear_has_value();
13660     ::aapt::pb::Reference* temp = _impl_.value_.ref_;
13661     if (GetArenaForAllocation() != nullptr) {
13662       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
13663     }
13664     _impl_.value_.ref_ = nullptr;
13665     return temp;
13666   } else {
13667     return nullptr;
13668   }
13669 }
_internal_ref()13670 inline const ::aapt::pb::Reference& Item::_internal_ref() const {
13671   return _internal_has_ref()
13672       ? *_impl_.value_.ref_
13673       : reinterpret_cast< ::aapt::pb::Reference&>(::aapt::pb::_Reference_default_instance_);
13674 }
ref()13675 inline const ::aapt::pb::Reference& Item::ref() const {
13676   // @@protoc_insertion_point(field_get:aapt.pb.Item.ref)
13677   return _internal_ref();
13678 }
unsafe_arena_release_ref()13679 inline ::aapt::pb::Reference* Item::unsafe_arena_release_ref() {
13680   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.Item.ref)
13681   if (_internal_has_ref()) {
13682     clear_has_value();
13683     ::aapt::pb::Reference* temp = _impl_.value_.ref_;
13684     _impl_.value_.ref_ = nullptr;
13685     return temp;
13686   } else {
13687     return nullptr;
13688   }
13689 }
unsafe_arena_set_allocated_ref(::aapt::pb::Reference * ref)13690 inline void Item::unsafe_arena_set_allocated_ref(::aapt::pb::Reference* ref) {
13691   clear_value();
13692   if (ref) {
13693     set_has_ref();
13694     _impl_.value_.ref_ = ref;
13695   }
13696   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Item.ref)
13697 }
_internal_mutable_ref()13698 inline ::aapt::pb::Reference* Item::_internal_mutable_ref() {
13699   if (!_internal_has_ref()) {
13700     clear_value();
13701     set_has_ref();
13702     _impl_.value_.ref_ = CreateMaybeMessage< ::aapt::pb::Reference >(GetArenaForAllocation());
13703   }
13704   return _impl_.value_.ref_;
13705 }
mutable_ref()13706 inline ::aapt::pb::Reference* Item::mutable_ref() {
13707   ::aapt::pb::Reference* _msg = _internal_mutable_ref();
13708   // @@protoc_insertion_point(field_mutable:aapt.pb.Item.ref)
13709   return _msg;
13710 }
13711 
13712 // .aapt.pb.String str = 2;
_internal_has_str()13713 inline bool Item::_internal_has_str() const {
13714   return value_case() == kStr;
13715 }
has_str()13716 inline bool Item::has_str() const {
13717   return _internal_has_str();
13718 }
set_has_str()13719 inline void Item::set_has_str() {
13720   _impl_._oneof_case_[0] = kStr;
13721 }
clear_str()13722 inline void Item::clear_str() {
13723   if (_internal_has_str()) {
13724     if (GetArenaForAllocation() == nullptr) {
13725       delete _impl_.value_.str_;
13726     }
13727     clear_has_value();
13728   }
13729 }
release_str()13730 inline ::aapt::pb::String* Item::release_str() {
13731   // @@protoc_insertion_point(field_release:aapt.pb.Item.str)
13732   if (_internal_has_str()) {
13733     clear_has_value();
13734     ::aapt::pb::String* temp = _impl_.value_.str_;
13735     if (GetArenaForAllocation() != nullptr) {
13736       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
13737     }
13738     _impl_.value_.str_ = nullptr;
13739     return temp;
13740   } else {
13741     return nullptr;
13742   }
13743 }
_internal_str()13744 inline const ::aapt::pb::String& Item::_internal_str() const {
13745   return _internal_has_str()
13746       ? *_impl_.value_.str_
13747       : reinterpret_cast< ::aapt::pb::String&>(::aapt::pb::_String_default_instance_);
13748 }
str()13749 inline const ::aapt::pb::String& Item::str() const {
13750   // @@protoc_insertion_point(field_get:aapt.pb.Item.str)
13751   return _internal_str();
13752 }
unsafe_arena_release_str()13753 inline ::aapt::pb::String* Item::unsafe_arena_release_str() {
13754   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.Item.str)
13755   if (_internal_has_str()) {
13756     clear_has_value();
13757     ::aapt::pb::String* temp = _impl_.value_.str_;
13758     _impl_.value_.str_ = nullptr;
13759     return temp;
13760   } else {
13761     return nullptr;
13762   }
13763 }
unsafe_arena_set_allocated_str(::aapt::pb::String * str)13764 inline void Item::unsafe_arena_set_allocated_str(::aapt::pb::String* str) {
13765   clear_value();
13766   if (str) {
13767     set_has_str();
13768     _impl_.value_.str_ = str;
13769   }
13770   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Item.str)
13771 }
_internal_mutable_str()13772 inline ::aapt::pb::String* Item::_internal_mutable_str() {
13773   if (!_internal_has_str()) {
13774     clear_value();
13775     set_has_str();
13776     _impl_.value_.str_ = CreateMaybeMessage< ::aapt::pb::String >(GetArenaForAllocation());
13777   }
13778   return _impl_.value_.str_;
13779 }
mutable_str()13780 inline ::aapt::pb::String* Item::mutable_str() {
13781   ::aapt::pb::String* _msg = _internal_mutable_str();
13782   // @@protoc_insertion_point(field_mutable:aapt.pb.Item.str)
13783   return _msg;
13784 }
13785 
13786 // .aapt.pb.RawString raw_str = 3;
_internal_has_raw_str()13787 inline bool Item::_internal_has_raw_str() const {
13788   return value_case() == kRawStr;
13789 }
has_raw_str()13790 inline bool Item::has_raw_str() const {
13791   return _internal_has_raw_str();
13792 }
set_has_raw_str()13793 inline void Item::set_has_raw_str() {
13794   _impl_._oneof_case_[0] = kRawStr;
13795 }
clear_raw_str()13796 inline void Item::clear_raw_str() {
13797   if (_internal_has_raw_str()) {
13798     if (GetArenaForAllocation() == nullptr) {
13799       delete _impl_.value_.raw_str_;
13800     }
13801     clear_has_value();
13802   }
13803 }
release_raw_str()13804 inline ::aapt::pb::RawString* Item::release_raw_str() {
13805   // @@protoc_insertion_point(field_release:aapt.pb.Item.raw_str)
13806   if (_internal_has_raw_str()) {
13807     clear_has_value();
13808     ::aapt::pb::RawString* temp = _impl_.value_.raw_str_;
13809     if (GetArenaForAllocation() != nullptr) {
13810       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
13811     }
13812     _impl_.value_.raw_str_ = nullptr;
13813     return temp;
13814   } else {
13815     return nullptr;
13816   }
13817 }
_internal_raw_str()13818 inline const ::aapt::pb::RawString& Item::_internal_raw_str() const {
13819   return _internal_has_raw_str()
13820       ? *_impl_.value_.raw_str_
13821       : reinterpret_cast< ::aapt::pb::RawString&>(::aapt::pb::_RawString_default_instance_);
13822 }
raw_str()13823 inline const ::aapt::pb::RawString& Item::raw_str() const {
13824   // @@protoc_insertion_point(field_get:aapt.pb.Item.raw_str)
13825   return _internal_raw_str();
13826 }
unsafe_arena_release_raw_str()13827 inline ::aapt::pb::RawString* Item::unsafe_arena_release_raw_str() {
13828   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.Item.raw_str)
13829   if (_internal_has_raw_str()) {
13830     clear_has_value();
13831     ::aapt::pb::RawString* temp = _impl_.value_.raw_str_;
13832     _impl_.value_.raw_str_ = nullptr;
13833     return temp;
13834   } else {
13835     return nullptr;
13836   }
13837 }
unsafe_arena_set_allocated_raw_str(::aapt::pb::RawString * raw_str)13838 inline void Item::unsafe_arena_set_allocated_raw_str(::aapt::pb::RawString* raw_str) {
13839   clear_value();
13840   if (raw_str) {
13841     set_has_raw_str();
13842     _impl_.value_.raw_str_ = raw_str;
13843   }
13844   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Item.raw_str)
13845 }
_internal_mutable_raw_str()13846 inline ::aapt::pb::RawString* Item::_internal_mutable_raw_str() {
13847   if (!_internal_has_raw_str()) {
13848     clear_value();
13849     set_has_raw_str();
13850     _impl_.value_.raw_str_ = CreateMaybeMessage< ::aapt::pb::RawString >(GetArenaForAllocation());
13851   }
13852   return _impl_.value_.raw_str_;
13853 }
mutable_raw_str()13854 inline ::aapt::pb::RawString* Item::mutable_raw_str() {
13855   ::aapt::pb::RawString* _msg = _internal_mutable_raw_str();
13856   // @@protoc_insertion_point(field_mutable:aapt.pb.Item.raw_str)
13857   return _msg;
13858 }
13859 
13860 // .aapt.pb.StyledString styled_str = 4;
_internal_has_styled_str()13861 inline bool Item::_internal_has_styled_str() const {
13862   return value_case() == kStyledStr;
13863 }
has_styled_str()13864 inline bool Item::has_styled_str() const {
13865   return _internal_has_styled_str();
13866 }
set_has_styled_str()13867 inline void Item::set_has_styled_str() {
13868   _impl_._oneof_case_[0] = kStyledStr;
13869 }
clear_styled_str()13870 inline void Item::clear_styled_str() {
13871   if (_internal_has_styled_str()) {
13872     if (GetArenaForAllocation() == nullptr) {
13873       delete _impl_.value_.styled_str_;
13874     }
13875     clear_has_value();
13876   }
13877 }
release_styled_str()13878 inline ::aapt::pb::StyledString* Item::release_styled_str() {
13879   // @@protoc_insertion_point(field_release:aapt.pb.Item.styled_str)
13880   if (_internal_has_styled_str()) {
13881     clear_has_value();
13882     ::aapt::pb::StyledString* temp = _impl_.value_.styled_str_;
13883     if (GetArenaForAllocation() != nullptr) {
13884       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
13885     }
13886     _impl_.value_.styled_str_ = nullptr;
13887     return temp;
13888   } else {
13889     return nullptr;
13890   }
13891 }
_internal_styled_str()13892 inline const ::aapt::pb::StyledString& Item::_internal_styled_str() const {
13893   return _internal_has_styled_str()
13894       ? *_impl_.value_.styled_str_
13895       : reinterpret_cast< ::aapt::pb::StyledString&>(::aapt::pb::_StyledString_default_instance_);
13896 }
styled_str()13897 inline const ::aapt::pb::StyledString& Item::styled_str() const {
13898   // @@protoc_insertion_point(field_get:aapt.pb.Item.styled_str)
13899   return _internal_styled_str();
13900 }
unsafe_arena_release_styled_str()13901 inline ::aapt::pb::StyledString* Item::unsafe_arena_release_styled_str() {
13902   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.Item.styled_str)
13903   if (_internal_has_styled_str()) {
13904     clear_has_value();
13905     ::aapt::pb::StyledString* temp = _impl_.value_.styled_str_;
13906     _impl_.value_.styled_str_ = nullptr;
13907     return temp;
13908   } else {
13909     return nullptr;
13910   }
13911 }
unsafe_arena_set_allocated_styled_str(::aapt::pb::StyledString * styled_str)13912 inline void Item::unsafe_arena_set_allocated_styled_str(::aapt::pb::StyledString* styled_str) {
13913   clear_value();
13914   if (styled_str) {
13915     set_has_styled_str();
13916     _impl_.value_.styled_str_ = styled_str;
13917   }
13918   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Item.styled_str)
13919 }
_internal_mutable_styled_str()13920 inline ::aapt::pb::StyledString* Item::_internal_mutable_styled_str() {
13921   if (!_internal_has_styled_str()) {
13922     clear_value();
13923     set_has_styled_str();
13924     _impl_.value_.styled_str_ = CreateMaybeMessage< ::aapt::pb::StyledString >(GetArenaForAllocation());
13925   }
13926   return _impl_.value_.styled_str_;
13927 }
mutable_styled_str()13928 inline ::aapt::pb::StyledString* Item::mutable_styled_str() {
13929   ::aapt::pb::StyledString* _msg = _internal_mutable_styled_str();
13930   // @@protoc_insertion_point(field_mutable:aapt.pb.Item.styled_str)
13931   return _msg;
13932 }
13933 
13934 // .aapt.pb.FileReference file = 5;
_internal_has_file()13935 inline bool Item::_internal_has_file() const {
13936   return value_case() == kFile;
13937 }
has_file()13938 inline bool Item::has_file() const {
13939   return _internal_has_file();
13940 }
set_has_file()13941 inline void Item::set_has_file() {
13942   _impl_._oneof_case_[0] = kFile;
13943 }
clear_file()13944 inline void Item::clear_file() {
13945   if (_internal_has_file()) {
13946     if (GetArenaForAllocation() == nullptr) {
13947       delete _impl_.value_.file_;
13948     }
13949     clear_has_value();
13950   }
13951 }
release_file()13952 inline ::aapt::pb::FileReference* Item::release_file() {
13953   // @@protoc_insertion_point(field_release:aapt.pb.Item.file)
13954   if (_internal_has_file()) {
13955     clear_has_value();
13956     ::aapt::pb::FileReference* temp = _impl_.value_.file_;
13957     if (GetArenaForAllocation() != nullptr) {
13958       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
13959     }
13960     _impl_.value_.file_ = nullptr;
13961     return temp;
13962   } else {
13963     return nullptr;
13964   }
13965 }
_internal_file()13966 inline const ::aapt::pb::FileReference& Item::_internal_file() const {
13967   return _internal_has_file()
13968       ? *_impl_.value_.file_
13969       : reinterpret_cast< ::aapt::pb::FileReference&>(::aapt::pb::_FileReference_default_instance_);
13970 }
file()13971 inline const ::aapt::pb::FileReference& Item::file() const {
13972   // @@protoc_insertion_point(field_get:aapt.pb.Item.file)
13973   return _internal_file();
13974 }
unsafe_arena_release_file()13975 inline ::aapt::pb::FileReference* Item::unsafe_arena_release_file() {
13976   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.Item.file)
13977   if (_internal_has_file()) {
13978     clear_has_value();
13979     ::aapt::pb::FileReference* temp = _impl_.value_.file_;
13980     _impl_.value_.file_ = nullptr;
13981     return temp;
13982   } else {
13983     return nullptr;
13984   }
13985 }
unsafe_arena_set_allocated_file(::aapt::pb::FileReference * file)13986 inline void Item::unsafe_arena_set_allocated_file(::aapt::pb::FileReference* file) {
13987   clear_value();
13988   if (file) {
13989     set_has_file();
13990     _impl_.value_.file_ = file;
13991   }
13992   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Item.file)
13993 }
_internal_mutable_file()13994 inline ::aapt::pb::FileReference* Item::_internal_mutable_file() {
13995   if (!_internal_has_file()) {
13996     clear_value();
13997     set_has_file();
13998     _impl_.value_.file_ = CreateMaybeMessage< ::aapt::pb::FileReference >(GetArenaForAllocation());
13999   }
14000   return _impl_.value_.file_;
14001 }
mutable_file()14002 inline ::aapt::pb::FileReference* Item::mutable_file() {
14003   ::aapt::pb::FileReference* _msg = _internal_mutable_file();
14004   // @@protoc_insertion_point(field_mutable:aapt.pb.Item.file)
14005   return _msg;
14006 }
14007 
14008 // .aapt.pb.Id id = 6;
_internal_has_id()14009 inline bool Item::_internal_has_id() const {
14010   return value_case() == kId;
14011 }
has_id()14012 inline bool Item::has_id() const {
14013   return _internal_has_id();
14014 }
set_has_id()14015 inline void Item::set_has_id() {
14016   _impl_._oneof_case_[0] = kId;
14017 }
clear_id()14018 inline void Item::clear_id() {
14019   if (_internal_has_id()) {
14020     if (GetArenaForAllocation() == nullptr) {
14021       delete _impl_.value_.id_;
14022     }
14023     clear_has_value();
14024   }
14025 }
release_id()14026 inline ::aapt::pb::Id* Item::release_id() {
14027   // @@protoc_insertion_point(field_release:aapt.pb.Item.id)
14028   if (_internal_has_id()) {
14029     clear_has_value();
14030     ::aapt::pb::Id* temp = _impl_.value_.id_;
14031     if (GetArenaForAllocation() != nullptr) {
14032       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
14033     }
14034     _impl_.value_.id_ = nullptr;
14035     return temp;
14036   } else {
14037     return nullptr;
14038   }
14039 }
_internal_id()14040 inline const ::aapt::pb::Id& Item::_internal_id() const {
14041   return _internal_has_id()
14042       ? *_impl_.value_.id_
14043       : reinterpret_cast< ::aapt::pb::Id&>(::aapt::pb::_Id_default_instance_);
14044 }
id()14045 inline const ::aapt::pb::Id& Item::id() const {
14046   // @@protoc_insertion_point(field_get:aapt.pb.Item.id)
14047   return _internal_id();
14048 }
unsafe_arena_release_id()14049 inline ::aapt::pb::Id* Item::unsafe_arena_release_id() {
14050   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.Item.id)
14051   if (_internal_has_id()) {
14052     clear_has_value();
14053     ::aapt::pb::Id* temp = _impl_.value_.id_;
14054     _impl_.value_.id_ = nullptr;
14055     return temp;
14056   } else {
14057     return nullptr;
14058   }
14059 }
unsafe_arena_set_allocated_id(::aapt::pb::Id * id)14060 inline void Item::unsafe_arena_set_allocated_id(::aapt::pb::Id* id) {
14061   clear_value();
14062   if (id) {
14063     set_has_id();
14064     _impl_.value_.id_ = id;
14065   }
14066   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Item.id)
14067 }
_internal_mutable_id()14068 inline ::aapt::pb::Id* Item::_internal_mutable_id() {
14069   if (!_internal_has_id()) {
14070     clear_value();
14071     set_has_id();
14072     _impl_.value_.id_ = CreateMaybeMessage< ::aapt::pb::Id >(GetArenaForAllocation());
14073   }
14074   return _impl_.value_.id_;
14075 }
mutable_id()14076 inline ::aapt::pb::Id* Item::mutable_id() {
14077   ::aapt::pb::Id* _msg = _internal_mutable_id();
14078   // @@protoc_insertion_point(field_mutable:aapt.pb.Item.id)
14079   return _msg;
14080 }
14081 
14082 // .aapt.pb.Primitive prim = 7;
_internal_has_prim()14083 inline bool Item::_internal_has_prim() const {
14084   return value_case() == kPrim;
14085 }
has_prim()14086 inline bool Item::has_prim() const {
14087   return _internal_has_prim();
14088 }
set_has_prim()14089 inline void Item::set_has_prim() {
14090   _impl_._oneof_case_[0] = kPrim;
14091 }
clear_prim()14092 inline void Item::clear_prim() {
14093   if (_internal_has_prim()) {
14094     if (GetArenaForAllocation() == nullptr) {
14095       delete _impl_.value_.prim_;
14096     }
14097     clear_has_value();
14098   }
14099 }
release_prim()14100 inline ::aapt::pb::Primitive* Item::release_prim() {
14101   // @@protoc_insertion_point(field_release:aapt.pb.Item.prim)
14102   if (_internal_has_prim()) {
14103     clear_has_value();
14104     ::aapt::pb::Primitive* temp = _impl_.value_.prim_;
14105     if (GetArenaForAllocation() != nullptr) {
14106       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
14107     }
14108     _impl_.value_.prim_ = nullptr;
14109     return temp;
14110   } else {
14111     return nullptr;
14112   }
14113 }
_internal_prim()14114 inline const ::aapt::pb::Primitive& Item::_internal_prim() const {
14115   return _internal_has_prim()
14116       ? *_impl_.value_.prim_
14117       : reinterpret_cast< ::aapt::pb::Primitive&>(::aapt::pb::_Primitive_default_instance_);
14118 }
prim()14119 inline const ::aapt::pb::Primitive& Item::prim() const {
14120   // @@protoc_insertion_point(field_get:aapt.pb.Item.prim)
14121   return _internal_prim();
14122 }
unsafe_arena_release_prim()14123 inline ::aapt::pb::Primitive* Item::unsafe_arena_release_prim() {
14124   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.Item.prim)
14125   if (_internal_has_prim()) {
14126     clear_has_value();
14127     ::aapt::pb::Primitive* temp = _impl_.value_.prim_;
14128     _impl_.value_.prim_ = nullptr;
14129     return temp;
14130   } else {
14131     return nullptr;
14132   }
14133 }
unsafe_arena_set_allocated_prim(::aapt::pb::Primitive * prim)14134 inline void Item::unsafe_arena_set_allocated_prim(::aapt::pb::Primitive* prim) {
14135   clear_value();
14136   if (prim) {
14137     set_has_prim();
14138     _impl_.value_.prim_ = prim;
14139   }
14140   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Item.prim)
14141 }
_internal_mutable_prim()14142 inline ::aapt::pb::Primitive* Item::_internal_mutable_prim() {
14143   if (!_internal_has_prim()) {
14144     clear_value();
14145     set_has_prim();
14146     _impl_.value_.prim_ = CreateMaybeMessage< ::aapt::pb::Primitive >(GetArenaForAllocation());
14147   }
14148   return _impl_.value_.prim_;
14149 }
mutable_prim()14150 inline ::aapt::pb::Primitive* Item::mutable_prim() {
14151   ::aapt::pb::Primitive* _msg = _internal_mutable_prim();
14152   // @@protoc_insertion_point(field_mutable:aapt.pb.Item.prim)
14153   return _msg;
14154 }
14155 
14156 // uint32 flag_status = 8;
clear_flag_status()14157 inline void Item::clear_flag_status() {
14158   _impl_.flag_status_ = 0u;
14159 }
_internal_flag_status()14160 inline ::uint32_t Item::_internal_flag_status() const {
14161   return _impl_.flag_status_;
14162 }
flag_status()14163 inline ::uint32_t Item::flag_status() const {
14164   // @@protoc_insertion_point(field_get:aapt.pb.Item.flag_status)
14165   return _internal_flag_status();
14166 }
_internal_set_flag_status(::uint32_t value)14167 inline void Item::_internal_set_flag_status(::uint32_t value) {
14168 
14169   _impl_.flag_status_ = value;
14170 }
set_flag_status(::uint32_t value)14171 inline void Item::set_flag_status(::uint32_t value) {
14172   _internal_set_flag_status(value);
14173   // @@protoc_insertion_point(field_set:aapt.pb.Item.flag_status)
14174 }
14175 
14176 // bool flag_negated = 9;
clear_flag_negated()14177 inline void Item::clear_flag_negated() {
14178   _impl_.flag_negated_ = false;
14179 }
_internal_flag_negated()14180 inline bool Item::_internal_flag_negated() const {
14181   return _impl_.flag_negated_;
14182 }
flag_negated()14183 inline bool Item::flag_negated() const {
14184   // @@protoc_insertion_point(field_get:aapt.pb.Item.flag_negated)
14185   return _internal_flag_negated();
14186 }
_internal_set_flag_negated(bool value)14187 inline void Item::_internal_set_flag_negated(bool value) {
14188 
14189   _impl_.flag_negated_ = value;
14190 }
set_flag_negated(bool value)14191 inline void Item::set_flag_negated(bool value) {
14192   _internal_set_flag_negated(value);
14193   // @@protoc_insertion_point(field_set:aapt.pb.Item.flag_negated)
14194 }
14195 
14196 // string flag_name = 10;
clear_flag_name()14197 inline void Item::clear_flag_name() {
14198   _impl_.flag_name_.ClearToEmpty();
14199 }
flag_name()14200 inline const std::string& Item::flag_name() const {
14201   // @@protoc_insertion_point(field_get:aapt.pb.Item.flag_name)
14202   return _internal_flag_name();
14203 }
14204 template <typename ArgT0, typename... ArgT>
14205 inline PROTOBUF_ALWAYS_INLINE
set_flag_name(ArgT0 && arg0,ArgT...args)14206 void Item::set_flag_name(ArgT0&& arg0, ArgT... args) {
14207 
14208  _impl_.flag_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
14209   // @@protoc_insertion_point(field_set:aapt.pb.Item.flag_name)
14210 }
mutable_flag_name()14211 inline std::string* Item::mutable_flag_name() {
14212   std::string* _s = _internal_mutable_flag_name();
14213   // @@protoc_insertion_point(field_mutable:aapt.pb.Item.flag_name)
14214   return _s;
14215 }
_internal_flag_name()14216 inline const std::string& Item::_internal_flag_name() const {
14217   return _impl_.flag_name_.Get();
14218 }
_internal_set_flag_name(const std::string & value)14219 inline void Item::_internal_set_flag_name(const std::string& value) {
14220 
14221   _impl_.flag_name_.Set(value, GetArenaForAllocation());
14222 }
_internal_mutable_flag_name()14223 inline std::string* Item::_internal_mutable_flag_name() {
14224 
14225   return _impl_.flag_name_.Mutable(GetArenaForAllocation());
14226 }
release_flag_name()14227 inline std::string* Item::release_flag_name() {
14228   // @@protoc_insertion_point(field_release:aapt.pb.Item.flag_name)
14229   return _impl_.flag_name_.Release();
14230 }
set_allocated_flag_name(std::string * flag_name)14231 inline void Item::set_allocated_flag_name(std::string* flag_name) {
14232   _impl_.flag_name_.SetAllocated(flag_name, GetArenaForAllocation());
14233 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
14234   if (_impl_.flag_name_.IsDefault()) {
14235     _impl_.flag_name_.Set("", GetArenaForAllocation());
14236   }
14237 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
14238   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Item.flag_name)
14239 }
14240 
has_value()14241 inline bool Item::has_value() const {
14242   return value_case() != VALUE_NOT_SET;
14243 }
clear_has_value()14244 inline void Item::clear_has_value() {
14245   _impl_._oneof_case_[0] = VALUE_NOT_SET;
14246 }
value_case()14247 inline Item::ValueCase Item::value_case() const {
14248   return Item::ValueCase(_impl_._oneof_case_[0]);
14249 }
14250 // -------------------------------------------------------------------
14251 
14252 // CompoundValue
14253 
14254 // .aapt.pb.Attribute attr = 1;
_internal_has_attr()14255 inline bool CompoundValue::_internal_has_attr() const {
14256   return value_case() == kAttr;
14257 }
has_attr()14258 inline bool CompoundValue::has_attr() const {
14259   return _internal_has_attr();
14260 }
set_has_attr()14261 inline void CompoundValue::set_has_attr() {
14262   _impl_._oneof_case_[0] = kAttr;
14263 }
clear_attr()14264 inline void CompoundValue::clear_attr() {
14265   if (_internal_has_attr()) {
14266     if (GetArenaForAllocation() == nullptr) {
14267       delete _impl_.value_.attr_;
14268     }
14269     clear_has_value();
14270   }
14271 }
release_attr()14272 inline ::aapt::pb::Attribute* CompoundValue::release_attr() {
14273   // @@protoc_insertion_point(field_release:aapt.pb.CompoundValue.attr)
14274   if (_internal_has_attr()) {
14275     clear_has_value();
14276     ::aapt::pb::Attribute* temp = _impl_.value_.attr_;
14277     if (GetArenaForAllocation() != nullptr) {
14278       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
14279     }
14280     _impl_.value_.attr_ = nullptr;
14281     return temp;
14282   } else {
14283     return nullptr;
14284   }
14285 }
_internal_attr()14286 inline const ::aapt::pb::Attribute& CompoundValue::_internal_attr() const {
14287   return _internal_has_attr()
14288       ? *_impl_.value_.attr_
14289       : reinterpret_cast< ::aapt::pb::Attribute&>(::aapt::pb::_Attribute_default_instance_);
14290 }
attr()14291 inline const ::aapt::pb::Attribute& CompoundValue::attr() const {
14292   // @@protoc_insertion_point(field_get:aapt.pb.CompoundValue.attr)
14293   return _internal_attr();
14294 }
unsafe_arena_release_attr()14295 inline ::aapt::pb::Attribute* CompoundValue::unsafe_arena_release_attr() {
14296   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.CompoundValue.attr)
14297   if (_internal_has_attr()) {
14298     clear_has_value();
14299     ::aapt::pb::Attribute* temp = _impl_.value_.attr_;
14300     _impl_.value_.attr_ = nullptr;
14301     return temp;
14302   } else {
14303     return nullptr;
14304   }
14305 }
unsafe_arena_set_allocated_attr(::aapt::pb::Attribute * attr)14306 inline void CompoundValue::unsafe_arena_set_allocated_attr(::aapt::pb::Attribute* attr) {
14307   clear_value();
14308   if (attr) {
14309     set_has_attr();
14310     _impl_.value_.attr_ = attr;
14311   }
14312   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.CompoundValue.attr)
14313 }
_internal_mutable_attr()14314 inline ::aapt::pb::Attribute* CompoundValue::_internal_mutable_attr() {
14315   if (!_internal_has_attr()) {
14316     clear_value();
14317     set_has_attr();
14318     _impl_.value_.attr_ = CreateMaybeMessage< ::aapt::pb::Attribute >(GetArenaForAllocation());
14319   }
14320   return _impl_.value_.attr_;
14321 }
mutable_attr()14322 inline ::aapt::pb::Attribute* CompoundValue::mutable_attr() {
14323   ::aapt::pb::Attribute* _msg = _internal_mutable_attr();
14324   // @@protoc_insertion_point(field_mutable:aapt.pb.CompoundValue.attr)
14325   return _msg;
14326 }
14327 
14328 // .aapt.pb.Style style = 2;
_internal_has_style()14329 inline bool CompoundValue::_internal_has_style() const {
14330   return value_case() == kStyle;
14331 }
has_style()14332 inline bool CompoundValue::has_style() const {
14333   return _internal_has_style();
14334 }
set_has_style()14335 inline void CompoundValue::set_has_style() {
14336   _impl_._oneof_case_[0] = kStyle;
14337 }
clear_style()14338 inline void CompoundValue::clear_style() {
14339   if (_internal_has_style()) {
14340     if (GetArenaForAllocation() == nullptr) {
14341       delete _impl_.value_.style_;
14342     }
14343     clear_has_value();
14344   }
14345 }
release_style()14346 inline ::aapt::pb::Style* CompoundValue::release_style() {
14347   // @@protoc_insertion_point(field_release:aapt.pb.CompoundValue.style)
14348   if (_internal_has_style()) {
14349     clear_has_value();
14350     ::aapt::pb::Style* temp = _impl_.value_.style_;
14351     if (GetArenaForAllocation() != nullptr) {
14352       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
14353     }
14354     _impl_.value_.style_ = nullptr;
14355     return temp;
14356   } else {
14357     return nullptr;
14358   }
14359 }
_internal_style()14360 inline const ::aapt::pb::Style& CompoundValue::_internal_style() const {
14361   return _internal_has_style()
14362       ? *_impl_.value_.style_
14363       : reinterpret_cast< ::aapt::pb::Style&>(::aapt::pb::_Style_default_instance_);
14364 }
style()14365 inline const ::aapt::pb::Style& CompoundValue::style() const {
14366   // @@protoc_insertion_point(field_get:aapt.pb.CompoundValue.style)
14367   return _internal_style();
14368 }
unsafe_arena_release_style()14369 inline ::aapt::pb::Style* CompoundValue::unsafe_arena_release_style() {
14370   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.CompoundValue.style)
14371   if (_internal_has_style()) {
14372     clear_has_value();
14373     ::aapt::pb::Style* temp = _impl_.value_.style_;
14374     _impl_.value_.style_ = nullptr;
14375     return temp;
14376   } else {
14377     return nullptr;
14378   }
14379 }
unsafe_arena_set_allocated_style(::aapt::pb::Style * style)14380 inline void CompoundValue::unsafe_arena_set_allocated_style(::aapt::pb::Style* style) {
14381   clear_value();
14382   if (style) {
14383     set_has_style();
14384     _impl_.value_.style_ = style;
14385   }
14386   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.CompoundValue.style)
14387 }
_internal_mutable_style()14388 inline ::aapt::pb::Style* CompoundValue::_internal_mutable_style() {
14389   if (!_internal_has_style()) {
14390     clear_value();
14391     set_has_style();
14392     _impl_.value_.style_ = CreateMaybeMessage< ::aapt::pb::Style >(GetArenaForAllocation());
14393   }
14394   return _impl_.value_.style_;
14395 }
mutable_style()14396 inline ::aapt::pb::Style* CompoundValue::mutable_style() {
14397   ::aapt::pb::Style* _msg = _internal_mutable_style();
14398   // @@protoc_insertion_point(field_mutable:aapt.pb.CompoundValue.style)
14399   return _msg;
14400 }
14401 
14402 // .aapt.pb.Styleable styleable = 3;
_internal_has_styleable()14403 inline bool CompoundValue::_internal_has_styleable() const {
14404   return value_case() == kStyleable;
14405 }
has_styleable()14406 inline bool CompoundValue::has_styleable() const {
14407   return _internal_has_styleable();
14408 }
set_has_styleable()14409 inline void CompoundValue::set_has_styleable() {
14410   _impl_._oneof_case_[0] = kStyleable;
14411 }
clear_styleable()14412 inline void CompoundValue::clear_styleable() {
14413   if (_internal_has_styleable()) {
14414     if (GetArenaForAllocation() == nullptr) {
14415       delete _impl_.value_.styleable_;
14416     }
14417     clear_has_value();
14418   }
14419 }
release_styleable()14420 inline ::aapt::pb::Styleable* CompoundValue::release_styleable() {
14421   // @@protoc_insertion_point(field_release:aapt.pb.CompoundValue.styleable)
14422   if (_internal_has_styleable()) {
14423     clear_has_value();
14424     ::aapt::pb::Styleable* temp = _impl_.value_.styleable_;
14425     if (GetArenaForAllocation() != nullptr) {
14426       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
14427     }
14428     _impl_.value_.styleable_ = nullptr;
14429     return temp;
14430   } else {
14431     return nullptr;
14432   }
14433 }
_internal_styleable()14434 inline const ::aapt::pb::Styleable& CompoundValue::_internal_styleable() const {
14435   return _internal_has_styleable()
14436       ? *_impl_.value_.styleable_
14437       : reinterpret_cast< ::aapt::pb::Styleable&>(::aapt::pb::_Styleable_default_instance_);
14438 }
styleable()14439 inline const ::aapt::pb::Styleable& CompoundValue::styleable() const {
14440   // @@protoc_insertion_point(field_get:aapt.pb.CompoundValue.styleable)
14441   return _internal_styleable();
14442 }
unsafe_arena_release_styleable()14443 inline ::aapt::pb::Styleable* CompoundValue::unsafe_arena_release_styleable() {
14444   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.CompoundValue.styleable)
14445   if (_internal_has_styleable()) {
14446     clear_has_value();
14447     ::aapt::pb::Styleable* temp = _impl_.value_.styleable_;
14448     _impl_.value_.styleable_ = nullptr;
14449     return temp;
14450   } else {
14451     return nullptr;
14452   }
14453 }
unsafe_arena_set_allocated_styleable(::aapt::pb::Styleable * styleable)14454 inline void CompoundValue::unsafe_arena_set_allocated_styleable(::aapt::pb::Styleable* styleable) {
14455   clear_value();
14456   if (styleable) {
14457     set_has_styleable();
14458     _impl_.value_.styleable_ = styleable;
14459   }
14460   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.CompoundValue.styleable)
14461 }
_internal_mutable_styleable()14462 inline ::aapt::pb::Styleable* CompoundValue::_internal_mutable_styleable() {
14463   if (!_internal_has_styleable()) {
14464     clear_value();
14465     set_has_styleable();
14466     _impl_.value_.styleable_ = CreateMaybeMessage< ::aapt::pb::Styleable >(GetArenaForAllocation());
14467   }
14468   return _impl_.value_.styleable_;
14469 }
mutable_styleable()14470 inline ::aapt::pb::Styleable* CompoundValue::mutable_styleable() {
14471   ::aapt::pb::Styleable* _msg = _internal_mutable_styleable();
14472   // @@protoc_insertion_point(field_mutable:aapt.pb.CompoundValue.styleable)
14473   return _msg;
14474 }
14475 
14476 // .aapt.pb.Array array = 4;
_internal_has_array()14477 inline bool CompoundValue::_internal_has_array() const {
14478   return value_case() == kArray;
14479 }
has_array()14480 inline bool CompoundValue::has_array() const {
14481   return _internal_has_array();
14482 }
set_has_array()14483 inline void CompoundValue::set_has_array() {
14484   _impl_._oneof_case_[0] = kArray;
14485 }
clear_array()14486 inline void CompoundValue::clear_array() {
14487   if (_internal_has_array()) {
14488     if (GetArenaForAllocation() == nullptr) {
14489       delete _impl_.value_.array_;
14490     }
14491     clear_has_value();
14492   }
14493 }
release_array()14494 inline ::aapt::pb::Array* CompoundValue::release_array() {
14495   // @@protoc_insertion_point(field_release:aapt.pb.CompoundValue.array)
14496   if (_internal_has_array()) {
14497     clear_has_value();
14498     ::aapt::pb::Array* temp = _impl_.value_.array_;
14499     if (GetArenaForAllocation() != nullptr) {
14500       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
14501     }
14502     _impl_.value_.array_ = nullptr;
14503     return temp;
14504   } else {
14505     return nullptr;
14506   }
14507 }
_internal_array()14508 inline const ::aapt::pb::Array& CompoundValue::_internal_array() const {
14509   return _internal_has_array()
14510       ? *_impl_.value_.array_
14511       : reinterpret_cast< ::aapt::pb::Array&>(::aapt::pb::_Array_default_instance_);
14512 }
array()14513 inline const ::aapt::pb::Array& CompoundValue::array() const {
14514   // @@protoc_insertion_point(field_get:aapt.pb.CompoundValue.array)
14515   return _internal_array();
14516 }
unsafe_arena_release_array()14517 inline ::aapt::pb::Array* CompoundValue::unsafe_arena_release_array() {
14518   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.CompoundValue.array)
14519   if (_internal_has_array()) {
14520     clear_has_value();
14521     ::aapt::pb::Array* temp = _impl_.value_.array_;
14522     _impl_.value_.array_ = nullptr;
14523     return temp;
14524   } else {
14525     return nullptr;
14526   }
14527 }
unsafe_arena_set_allocated_array(::aapt::pb::Array * array)14528 inline void CompoundValue::unsafe_arena_set_allocated_array(::aapt::pb::Array* array) {
14529   clear_value();
14530   if (array) {
14531     set_has_array();
14532     _impl_.value_.array_ = array;
14533   }
14534   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.CompoundValue.array)
14535 }
_internal_mutable_array()14536 inline ::aapt::pb::Array* CompoundValue::_internal_mutable_array() {
14537   if (!_internal_has_array()) {
14538     clear_value();
14539     set_has_array();
14540     _impl_.value_.array_ = CreateMaybeMessage< ::aapt::pb::Array >(GetArenaForAllocation());
14541   }
14542   return _impl_.value_.array_;
14543 }
mutable_array()14544 inline ::aapt::pb::Array* CompoundValue::mutable_array() {
14545   ::aapt::pb::Array* _msg = _internal_mutable_array();
14546   // @@protoc_insertion_point(field_mutable:aapt.pb.CompoundValue.array)
14547   return _msg;
14548 }
14549 
14550 // .aapt.pb.Plural plural = 5;
_internal_has_plural()14551 inline bool CompoundValue::_internal_has_plural() const {
14552   return value_case() == kPlural;
14553 }
has_plural()14554 inline bool CompoundValue::has_plural() const {
14555   return _internal_has_plural();
14556 }
set_has_plural()14557 inline void CompoundValue::set_has_plural() {
14558   _impl_._oneof_case_[0] = kPlural;
14559 }
clear_plural()14560 inline void CompoundValue::clear_plural() {
14561   if (_internal_has_plural()) {
14562     if (GetArenaForAllocation() == nullptr) {
14563       delete _impl_.value_.plural_;
14564     }
14565     clear_has_value();
14566   }
14567 }
release_plural()14568 inline ::aapt::pb::Plural* CompoundValue::release_plural() {
14569   // @@protoc_insertion_point(field_release:aapt.pb.CompoundValue.plural)
14570   if (_internal_has_plural()) {
14571     clear_has_value();
14572     ::aapt::pb::Plural* temp = _impl_.value_.plural_;
14573     if (GetArenaForAllocation() != nullptr) {
14574       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
14575     }
14576     _impl_.value_.plural_ = nullptr;
14577     return temp;
14578   } else {
14579     return nullptr;
14580   }
14581 }
_internal_plural()14582 inline const ::aapt::pb::Plural& CompoundValue::_internal_plural() const {
14583   return _internal_has_plural()
14584       ? *_impl_.value_.plural_
14585       : reinterpret_cast< ::aapt::pb::Plural&>(::aapt::pb::_Plural_default_instance_);
14586 }
plural()14587 inline const ::aapt::pb::Plural& CompoundValue::plural() const {
14588   // @@protoc_insertion_point(field_get:aapt.pb.CompoundValue.plural)
14589   return _internal_plural();
14590 }
unsafe_arena_release_plural()14591 inline ::aapt::pb::Plural* CompoundValue::unsafe_arena_release_plural() {
14592   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.CompoundValue.plural)
14593   if (_internal_has_plural()) {
14594     clear_has_value();
14595     ::aapt::pb::Plural* temp = _impl_.value_.plural_;
14596     _impl_.value_.plural_ = nullptr;
14597     return temp;
14598   } else {
14599     return nullptr;
14600   }
14601 }
unsafe_arena_set_allocated_plural(::aapt::pb::Plural * plural)14602 inline void CompoundValue::unsafe_arena_set_allocated_plural(::aapt::pb::Plural* plural) {
14603   clear_value();
14604   if (plural) {
14605     set_has_plural();
14606     _impl_.value_.plural_ = plural;
14607   }
14608   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.CompoundValue.plural)
14609 }
_internal_mutable_plural()14610 inline ::aapt::pb::Plural* CompoundValue::_internal_mutable_plural() {
14611   if (!_internal_has_plural()) {
14612     clear_value();
14613     set_has_plural();
14614     _impl_.value_.plural_ = CreateMaybeMessage< ::aapt::pb::Plural >(GetArenaForAllocation());
14615   }
14616   return _impl_.value_.plural_;
14617 }
mutable_plural()14618 inline ::aapt::pb::Plural* CompoundValue::mutable_plural() {
14619   ::aapt::pb::Plural* _msg = _internal_mutable_plural();
14620   // @@protoc_insertion_point(field_mutable:aapt.pb.CompoundValue.plural)
14621   return _msg;
14622 }
14623 
14624 // .aapt.pb.MacroBody macro = 6;
_internal_has_macro()14625 inline bool CompoundValue::_internal_has_macro() const {
14626   return value_case() == kMacro;
14627 }
has_macro()14628 inline bool CompoundValue::has_macro() const {
14629   return _internal_has_macro();
14630 }
set_has_macro()14631 inline void CompoundValue::set_has_macro() {
14632   _impl_._oneof_case_[0] = kMacro;
14633 }
clear_macro()14634 inline void CompoundValue::clear_macro() {
14635   if (_internal_has_macro()) {
14636     if (GetArenaForAllocation() == nullptr) {
14637       delete _impl_.value_.macro_;
14638     }
14639     clear_has_value();
14640   }
14641 }
release_macro()14642 inline ::aapt::pb::MacroBody* CompoundValue::release_macro() {
14643   // @@protoc_insertion_point(field_release:aapt.pb.CompoundValue.macro)
14644   if (_internal_has_macro()) {
14645     clear_has_value();
14646     ::aapt::pb::MacroBody* temp = _impl_.value_.macro_;
14647     if (GetArenaForAllocation() != nullptr) {
14648       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
14649     }
14650     _impl_.value_.macro_ = nullptr;
14651     return temp;
14652   } else {
14653     return nullptr;
14654   }
14655 }
_internal_macro()14656 inline const ::aapt::pb::MacroBody& CompoundValue::_internal_macro() const {
14657   return _internal_has_macro()
14658       ? *_impl_.value_.macro_
14659       : reinterpret_cast< ::aapt::pb::MacroBody&>(::aapt::pb::_MacroBody_default_instance_);
14660 }
macro()14661 inline const ::aapt::pb::MacroBody& CompoundValue::macro() const {
14662   // @@protoc_insertion_point(field_get:aapt.pb.CompoundValue.macro)
14663   return _internal_macro();
14664 }
unsafe_arena_release_macro()14665 inline ::aapt::pb::MacroBody* CompoundValue::unsafe_arena_release_macro() {
14666   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.CompoundValue.macro)
14667   if (_internal_has_macro()) {
14668     clear_has_value();
14669     ::aapt::pb::MacroBody* temp = _impl_.value_.macro_;
14670     _impl_.value_.macro_ = nullptr;
14671     return temp;
14672   } else {
14673     return nullptr;
14674   }
14675 }
unsafe_arena_set_allocated_macro(::aapt::pb::MacroBody * macro)14676 inline void CompoundValue::unsafe_arena_set_allocated_macro(::aapt::pb::MacroBody* macro) {
14677   clear_value();
14678   if (macro) {
14679     set_has_macro();
14680     _impl_.value_.macro_ = macro;
14681   }
14682   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.CompoundValue.macro)
14683 }
_internal_mutable_macro()14684 inline ::aapt::pb::MacroBody* CompoundValue::_internal_mutable_macro() {
14685   if (!_internal_has_macro()) {
14686     clear_value();
14687     set_has_macro();
14688     _impl_.value_.macro_ = CreateMaybeMessage< ::aapt::pb::MacroBody >(GetArenaForAllocation());
14689   }
14690   return _impl_.value_.macro_;
14691 }
mutable_macro()14692 inline ::aapt::pb::MacroBody* CompoundValue::mutable_macro() {
14693   ::aapt::pb::MacroBody* _msg = _internal_mutable_macro();
14694   // @@protoc_insertion_point(field_mutable:aapt.pb.CompoundValue.macro)
14695   return _msg;
14696 }
14697 
14698 // uint32 flag_status = 7;
clear_flag_status()14699 inline void CompoundValue::clear_flag_status() {
14700   _impl_.flag_status_ = 0u;
14701 }
_internal_flag_status()14702 inline ::uint32_t CompoundValue::_internal_flag_status() const {
14703   return _impl_.flag_status_;
14704 }
flag_status()14705 inline ::uint32_t CompoundValue::flag_status() const {
14706   // @@protoc_insertion_point(field_get:aapt.pb.CompoundValue.flag_status)
14707   return _internal_flag_status();
14708 }
_internal_set_flag_status(::uint32_t value)14709 inline void CompoundValue::_internal_set_flag_status(::uint32_t value) {
14710 
14711   _impl_.flag_status_ = value;
14712 }
set_flag_status(::uint32_t value)14713 inline void CompoundValue::set_flag_status(::uint32_t value) {
14714   _internal_set_flag_status(value);
14715   // @@protoc_insertion_point(field_set:aapt.pb.CompoundValue.flag_status)
14716 }
14717 
14718 // bool flag_negated = 8;
clear_flag_negated()14719 inline void CompoundValue::clear_flag_negated() {
14720   _impl_.flag_negated_ = false;
14721 }
_internal_flag_negated()14722 inline bool CompoundValue::_internal_flag_negated() const {
14723   return _impl_.flag_negated_;
14724 }
flag_negated()14725 inline bool CompoundValue::flag_negated() const {
14726   // @@protoc_insertion_point(field_get:aapt.pb.CompoundValue.flag_negated)
14727   return _internal_flag_negated();
14728 }
_internal_set_flag_negated(bool value)14729 inline void CompoundValue::_internal_set_flag_negated(bool value) {
14730 
14731   _impl_.flag_negated_ = value;
14732 }
set_flag_negated(bool value)14733 inline void CompoundValue::set_flag_negated(bool value) {
14734   _internal_set_flag_negated(value);
14735   // @@protoc_insertion_point(field_set:aapt.pb.CompoundValue.flag_negated)
14736 }
14737 
14738 // string flag_name = 9;
clear_flag_name()14739 inline void CompoundValue::clear_flag_name() {
14740   _impl_.flag_name_.ClearToEmpty();
14741 }
flag_name()14742 inline const std::string& CompoundValue::flag_name() const {
14743   // @@protoc_insertion_point(field_get:aapt.pb.CompoundValue.flag_name)
14744   return _internal_flag_name();
14745 }
14746 template <typename ArgT0, typename... ArgT>
14747 inline PROTOBUF_ALWAYS_INLINE
set_flag_name(ArgT0 && arg0,ArgT...args)14748 void CompoundValue::set_flag_name(ArgT0&& arg0, ArgT... args) {
14749 
14750  _impl_.flag_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
14751   // @@protoc_insertion_point(field_set:aapt.pb.CompoundValue.flag_name)
14752 }
mutable_flag_name()14753 inline std::string* CompoundValue::mutable_flag_name() {
14754   std::string* _s = _internal_mutable_flag_name();
14755   // @@protoc_insertion_point(field_mutable:aapt.pb.CompoundValue.flag_name)
14756   return _s;
14757 }
_internal_flag_name()14758 inline const std::string& CompoundValue::_internal_flag_name() const {
14759   return _impl_.flag_name_.Get();
14760 }
_internal_set_flag_name(const std::string & value)14761 inline void CompoundValue::_internal_set_flag_name(const std::string& value) {
14762 
14763   _impl_.flag_name_.Set(value, GetArenaForAllocation());
14764 }
_internal_mutable_flag_name()14765 inline std::string* CompoundValue::_internal_mutable_flag_name() {
14766 
14767   return _impl_.flag_name_.Mutable(GetArenaForAllocation());
14768 }
release_flag_name()14769 inline std::string* CompoundValue::release_flag_name() {
14770   // @@protoc_insertion_point(field_release:aapt.pb.CompoundValue.flag_name)
14771   return _impl_.flag_name_.Release();
14772 }
set_allocated_flag_name(std::string * flag_name)14773 inline void CompoundValue::set_allocated_flag_name(std::string* flag_name) {
14774   _impl_.flag_name_.SetAllocated(flag_name, GetArenaForAllocation());
14775 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
14776   if (_impl_.flag_name_.IsDefault()) {
14777     _impl_.flag_name_.Set("", GetArenaForAllocation());
14778   }
14779 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
14780   // @@protoc_insertion_point(field_set_allocated:aapt.pb.CompoundValue.flag_name)
14781 }
14782 
has_value()14783 inline bool CompoundValue::has_value() const {
14784   return value_case() != VALUE_NOT_SET;
14785 }
clear_has_value()14786 inline void CompoundValue::clear_has_value() {
14787   _impl_._oneof_case_[0] = VALUE_NOT_SET;
14788 }
value_case()14789 inline CompoundValue::ValueCase CompoundValue::value_case() const {
14790   return CompoundValue::ValueCase(_impl_._oneof_case_[0]);
14791 }
14792 // -------------------------------------------------------------------
14793 
14794 // Boolean
14795 
14796 // bool value = 1;
clear_value()14797 inline void Boolean::clear_value() {
14798   _impl_.value_ = false;
14799 }
_internal_value()14800 inline bool Boolean::_internal_value() const {
14801   return _impl_.value_;
14802 }
value()14803 inline bool Boolean::value() const {
14804   // @@protoc_insertion_point(field_get:aapt.pb.Boolean.value)
14805   return _internal_value();
14806 }
_internal_set_value(bool value)14807 inline void Boolean::_internal_set_value(bool value) {
14808 
14809   _impl_.value_ = value;
14810 }
set_value(bool value)14811 inline void Boolean::set_value(bool value) {
14812   _internal_set_value(value);
14813   // @@protoc_insertion_point(field_set:aapt.pb.Boolean.value)
14814 }
14815 
14816 // -------------------------------------------------------------------
14817 
14818 // Reference
14819 
14820 // .aapt.pb.Reference.Type type = 1;
clear_type()14821 inline void Reference::clear_type() {
14822   _impl_.type_ = 0;
14823 }
_internal_type()14824 inline ::aapt::pb::Reference_Type Reference::_internal_type() const {
14825   return static_cast< ::aapt::pb::Reference_Type >(_impl_.type_);
14826 }
type()14827 inline ::aapt::pb::Reference_Type Reference::type() const {
14828   // @@protoc_insertion_point(field_get:aapt.pb.Reference.type)
14829   return _internal_type();
14830 }
_internal_set_type(::aapt::pb::Reference_Type value)14831 inline void Reference::_internal_set_type(::aapt::pb::Reference_Type value) {
14832 
14833   _impl_.type_ = value;
14834 }
set_type(::aapt::pb::Reference_Type value)14835 inline void Reference::set_type(::aapt::pb::Reference_Type value) {
14836   _internal_set_type(value);
14837   // @@protoc_insertion_point(field_set:aapt.pb.Reference.type)
14838 }
14839 
14840 // uint32 id = 2;
clear_id()14841 inline void Reference::clear_id() {
14842   _impl_.id_ = 0u;
14843 }
_internal_id()14844 inline ::uint32_t Reference::_internal_id() const {
14845   return _impl_.id_;
14846 }
id()14847 inline ::uint32_t Reference::id() const {
14848   // @@protoc_insertion_point(field_get:aapt.pb.Reference.id)
14849   return _internal_id();
14850 }
_internal_set_id(::uint32_t value)14851 inline void Reference::_internal_set_id(::uint32_t value) {
14852 
14853   _impl_.id_ = value;
14854 }
set_id(::uint32_t value)14855 inline void Reference::set_id(::uint32_t value) {
14856   _internal_set_id(value);
14857   // @@protoc_insertion_point(field_set:aapt.pb.Reference.id)
14858 }
14859 
14860 // string name = 3;
clear_name()14861 inline void Reference::clear_name() {
14862   _impl_.name_.ClearToEmpty();
14863 }
name()14864 inline const std::string& Reference::name() const {
14865   // @@protoc_insertion_point(field_get:aapt.pb.Reference.name)
14866   return _internal_name();
14867 }
14868 template <typename ArgT0, typename... ArgT>
14869 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)14870 void Reference::set_name(ArgT0&& arg0, ArgT... args) {
14871 
14872  _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
14873   // @@protoc_insertion_point(field_set:aapt.pb.Reference.name)
14874 }
mutable_name()14875 inline std::string* Reference::mutable_name() {
14876   std::string* _s = _internal_mutable_name();
14877   // @@protoc_insertion_point(field_mutable:aapt.pb.Reference.name)
14878   return _s;
14879 }
_internal_name()14880 inline const std::string& Reference::_internal_name() const {
14881   return _impl_.name_.Get();
14882 }
_internal_set_name(const std::string & value)14883 inline void Reference::_internal_set_name(const std::string& value) {
14884 
14885   _impl_.name_.Set(value, GetArenaForAllocation());
14886 }
_internal_mutable_name()14887 inline std::string* Reference::_internal_mutable_name() {
14888 
14889   return _impl_.name_.Mutable(GetArenaForAllocation());
14890 }
release_name()14891 inline std::string* Reference::release_name() {
14892   // @@protoc_insertion_point(field_release:aapt.pb.Reference.name)
14893   return _impl_.name_.Release();
14894 }
set_allocated_name(std::string * name)14895 inline void Reference::set_allocated_name(std::string* name) {
14896   _impl_.name_.SetAllocated(name, GetArenaForAllocation());
14897 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
14898   if (_impl_.name_.IsDefault()) {
14899     _impl_.name_.Set("", GetArenaForAllocation());
14900   }
14901 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
14902   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Reference.name)
14903 }
14904 
14905 // bool private = 4;
clear_private_()14906 inline void Reference::clear_private_() {
14907   _impl_.private__ = false;
14908 }
_internal_private_()14909 inline bool Reference::_internal_private_() const {
14910   return _impl_.private__;
14911 }
private_()14912 inline bool Reference::private_() const {
14913   // @@protoc_insertion_point(field_get:aapt.pb.Reference.private)
14914   return _internal_private_();
14915 }
_internal_set_private_(bool value)14916 inline void Reference::_internal_set_private_(bool value) {
14917 
14918   _impl_.private__ = value;
14919 }
set_private_(bool value)14920 inline void Reference::set_private_(bool value) {
14921   _internal_set_private_(value);
14922   // @@protoc_insertion_point(field_set:aapt.pb.Reference.private)
14923 }
14924 
14925 // .aapt.pb.Boolean is_dynamic = 5;
_internal_has_is_dynamic()14926 inline bool Reference::_internal_has_is_dynamic() const {
14927   return this != internal_default_instance() && _impl_.is_dynamic_ != nullptr;
14928 }
has_is_dynamic()14929 inline bool Reference::has_is_dynamic() const {
14930   return _internal_has_is_dynamic();
14931 }
clear_is_dynamic()14932 inline void Reference::clear_is_dynamic() {
14933   if (GetArenaForAllocation() == nullptr && _impl_.is_dynamic_ != nullptr) {
14934     delete _impl_.is_dynamic_;
14935   }
14936   _impl_.is_dynamic_ = nullptr;
14937 }
_internal_is_dynamic()14938 inline const ::aapt::pb::Boolean& Reference::_internal_is_dynamic() const {
14939   const ::aapt::pb::Boolean* p = _impl_.is_dynamic_;
14940   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Boolean&>(
14941       ::aapt::pb::_Boolean_default_instance_);
14942 }
is_dynamic()14943 inline const ::aapt::pb::Boolean& Reference::is_dynamic() const {
14944   // @@protoc_insertion_point(field_get:aapt.pb.Reference.is_dynamic)
14945   return _internal_is_dynamic();
14946 }
unsafe_arena_set_allocated_is_dynamic(::aapt::pb::Boolean * is_dynamic)14947 inline void Reference::unsafe_arena_set_allocated_is_dynamic(
14948     ::aapt::pb::Boolean* is_dynamic) {
14949   if (GetArenaForAllocation() == nullptr) {
14950     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.is_dynamic_);
14951   }
14952   _impl_.is_dynamic_ = is_dynamic;
14953   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Reference.is_dynamic)
14954 }
release_is_dynamic()14955 inline ::aapt::pb::Boolean* Reference::release_is_dynamic() {
14956 
14957   ::aapt::pb::Boolean* temp = _impl_.is_dynamic_;
14958   _impl_.is_dynamic_ = nullptr;
14959 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
14960   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
14961   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
14962   if (GetArenaForAllocation() == nullptr) { delete old; }
14963 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
14964   if (GetArenaForAllocation() != nullptr) {
14965     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
14966   }
14967 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
14968   return temp;
14969 }
unsafe_arena_release_is_dynamic()14970 inline ::aapt::pb::Boolean* Reference::unsafe_arena_release_is_dynamic() {
14971   // @@protoc_insertion_point(field_release:aapt.pb.Reference.is_dynamic)
14972 
14973   ::aapt::pb::Boolean* temp = _impl_.is_dynamic_;
14974   _impl_.is_dynamic_ = nullptr;
14975   return temp;
14976 }
_internal_mutable_is_dynamic()14977 inline ::aapt::pb::Boolean* Reference::_internal_mutable_is_dynamic() {
14978 
14979   if (_impl_.is_dynamic_ == nullptr) {
14980     auto* p = CreateMaybeMessage<::aapt::pb::Boolean>(GetArenaForAllocation());
14981     _impl_.is_dynamic_ = p;
14982   }
14983   return _impl_.is_dynamic_;
14984 }
mutable_is_dynamic()14985 inline ::aapt::pb::Boolean* Reference::mutable_is_dynamic() {
14986   ::aapt::pb::Boolean* _msg = _internal_mutable_is_dynamic();
14987   // @@protoc_insertion_point(field_mutable:aapt.pb.Reference.is_dynamic)
14988   return _msg;
14989 }
set_allocated_is_dynamic(::aapt::pb::Boolean * is_dynamic)14990 inline void Reference::set_allocated_is_dynamic(::aapt::pb::Boolean* is_dynamic) {
14991   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
14992   if (message_arena == nullptr) {
14993     delete _impl_.is_dynamic_;
14994   }
14995   if (is_dynamic) {
14996     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
14997         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(is_dynamic);
14998     if (message_arena != submessage_arena) {
14999       is_dynamic = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
15000           message_arena, is_dynamic, submessage_arena);
15001     }
15002 
15003   } else {
15004 
15005   }
15006   _impl_.is_dynamic_ = is_dynamic;
15007   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Reference.is_dynamic)
15008 }
15009 
15010 // uint32 type_flags = 6;
clear_type_flags()15011 inline void Reference::clear_type_flags() {
15012   _impl_.type_flags_ = 0u;
15013 }
_internal_type_flags()15014 inline ::uint32_t Reference::_internal_type_flags() const {
15015   return _impl_.type_flags_;
15016 }
type_flags()15017 inline ::uint32_t Reference::type_flags() const {
15018   // @@protoc_insertion_point(field_get:aapt.pb.Reference.type_flags)
15019   return _internal_type_flags();
15020 }
_internal_set_type_flags(::uint32_t value)15021 inline void Reference::_internal_set_type_flags(::uint32_t value) {
15022 
15023   _impl_.type_flags_ = value;
15024 }
set_type_flags(::uint32_t value)15025 inline void Reference::set_type_flags(::uint32_t value) {
15026   _internal_set_type_flags(value);
15027   // @@protoc_insertion_point(field_set:aapt.pb.Reference.type_flags)
15028 }
15029 
15030 // bool allow_raw = 7;
clear_allow_raw()15031 inline void Reference::clear_allow_raw() {
15032   _impl_.allow_raw_ = false;
15033 }
_internal_allow_raw()15034 inline bool Reference::_internal_allow_raw() const {
15035   return _impl_.allow_raw_;
15036 }
allow_raw()15037 inline bool Reference::allow_raw() const {
15038   // @@protoc_insertion_point(field_get:aapt.pb.Reference.allow_raw)
15039   return _internal_allow_raw();
15040 }
_internal_set_allow_raw(bool value)15041 inline void Reference::_internal_set_allow_raw(bool value) {
15042 
15043   _impl_.allow_raw_ = value;
15044 }
set_allow_raw(bool value)15045 inline void Reference::set_allow_raw(bool value) {
15046   _internal_set_allow_raw(value);
15047   // @@protoc_insertion_point(field_set:aapt.pb.Reference.allow_raw)
15048 }
15049 
15050 // -------------------------------------------------------------------
15051 
15052 // Id
15053 
15054 // -------------------------------------------------------------------
15055 
15056 // String
15057 
15058 // string value = 1;
clear_value()15059 inline void String::clear_value() {
15060   _impl_.value_.ClearToEmpty();
15061 }
value()15062 inline const std::string& String::value() const {
15063   // @@protoc_insertion_point(field_get:aapt.pb.String.value)
15064   return _internal_value();
15065 }
15066 template <typename ArgT0, typename... ArgT>
15067 inline PROTOBUF_ALWAYS_INLINE
set_value(ArgT0 && arg0,ArgT...args)15068 void String::set_value(ArgT0&& arg0, ArgT... args) {
15069 
15070  _impl_.value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
15071   // @@protoc_insertion_point(field_set:aapt.pb.String.value)
15072 }
mutable_value()15073 inline std::string* String::mutable_value() {
15074   std::string* _s = _internal_mutable_value();
15075   // @@protoc_insertion_point(field_mutable:aapt.pb.String.value)
15076   return _s;
15077 }
_internal_value()15078 inline const std::string& String::_internal_value() const {
15079   return _impl_.value_.Get();
15080 }
_internal_set_value(const std::string & value)15081 inline void String::_internal_set_value(const std::string& value) {
15082 
15083   _impl_.value_.Set(value, GetArenaForAllocation());
15084 }
_internal_mutable_value()15085 inline std::string* String::_internal_mutable_value() {
15086 
15087   return _impl_.value_.Mutable(GetArenaForAllocation());
15088 }
release_value()15089 inline std::string* String::release_value() {
15090   // @@protoc_insertion_point(field_release:aapt.pb.String.value)
15091   return _impl_.value_.Release();
15092 }
set_allocated_value(std::string * value)15093 inline void String::set_allocated_value(std::string* value) {
15094   _impl_.value_.SetAllocated(value, GetArenaForAllocation());
15095 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
15096   if (_impl_.value_.IsDefault()) {
15097     _impl_.value_.Set("", GetArenaForAllocation());
15098   }
15099 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
15100   // @@protoc_insertion_point(field_set_allocated:aapt.pb.String.value)
15101 }
15102 
15103 // -------------------------------------------------------------------
15104 
15105 // RawString
15106 
15107 // string value = 1;
clear_value()15108 inline void RawString::clear_value() {
15109   _impl_.value_.ClearToEmpty();
15110 }
value()15111 inline const std::string& RawString::value() const {
15112   // @@protoc_insertion_point(field_get:aapt.pb.RawString.value)
15113   return _internal_value();
15114 }
15115 template <typename ArgT0, typename... ArgT>
15116 inline PROTOBUF_ALWAYS_INLINE
set_value(ArgT0 && arg0,ArgT...args)15117 void RawString::set_value(ArgT0&& arg0, ArgT... args) {
15118 
15119  _impl_.value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
15120   // @@protoc_insertion_point(field_set:aapt.pb.RawString.value)
15121 }
mutable_value()15122 inline std::string* RawString::mutable_value() {
15123   std::string* _s = _internal_mutable_value();
15124   // @@protoc_insertion_point(field_mutable:aapt.pb.RawString.value)
15125   return _s;
15126 }
_internal_value()15127 inline const std::string& RawString::_internal_value() const {
15128   return _impl_.value_.Get();
15129 }
_internal_set_value(const std::string & value)15130 inline void RawString::_internal_set_value(const std::string& value) {
15131 
15132   _impl_.value_.Set(value, GetArenaForAllocation());
15133 }
_internal_mutable_value()15134 inline std::string* RawString::_internal_mutable_value() {
15135 
15136   return _impl_.value_.Mutable(GetArenaForAllocation());
15137 }
release_value()15138 inline std::string* RawString::release_value() {
15139   // @@protoc_insertion_point(field_release:aapt.pb.RawString.value)
15140   return _impl_.value_.Release();
15141 }
set_allocated_value(std::string * value)15142 inline void RawString::set_allocated_value(std::string* value) {
15143   _impl_.value_.SetAllocated(value, GetArenaForAllocation());
15144 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
15145   if (_impl_.value_.IsDefault()) {
15146     _impl_.value_.Set("", GetArenaForAllocation());
15147   }
15148 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
15149   // @@protoc_insertion_point(field_set_allocated:aapt.pb.RawString.value)
15150 }
15151 
15152 // -------------------------------------------------------------------
15153 
15154 // StyledString_Span
15155 
15156 // string tag = 1;
clear_tag()15157 inline void StyledString_Span::clear_tag() {
15158   _impl_.tag_.ClearToEmpty();
15159 }
tag()15160 inline const std::string& StyledString_Span::tag() const {
15161   // @@protoc_insertion_point(field_get:aapt.pb.StyledString.Span.tag)
15162   return _internal_tag();
15163 }
15164 template <typename ArgT0, typename... ArgT>
15165 inline PROTOBUF_ALWAYS_INLINE
set_tag(ArgT0 && arg0,ArgT...args)15166 void StyledString_Span::set_tag(ArgT0&& arg0, ArgT... args) {
15167 
15168  _impl_.tag_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
15169   // @@protoc_insertion_point(field_set:aapt.pb.StyledString.Span.tag)
15170 }
mutable_tag()15171 inline std::string* StyledString_Span::mutable_tag() {
15172   std::string* _s = _internal_mutable_tag();
15173   // @@protoc_insertion_point(field_mutable:aapt.pb.StyledString.Span.tag)
15174   return _s;
15175 }
_internal_tag()15176 inline const std::string& StyledString_Span::_internal_tag() const {
15177   return _impl_.tag_.Get();
15178 }
_internal_set_tag(const std::string & value)15179 inline void StyledString_Span::_internal_set_tag(const std::string& value) {
15180 
15181   _impl_.tag_.Set(value, GetArenaForAllocation());
15182 }
_internal_mutable_tag()15183 inline std::string* StyledString_Span::_internal_mutable_tag() {
15184 
15185   return _impl_.tag_.Mutable(GetArenaForAllocation());
15186 }
release_tag()15187 inline std::string* StyledString_Span::release_tag() {
15188   // @@protoc_insertion_point(field_release:aapt.pb.StyledString.Span.tag)
15189   return _impl_.tag_.Release();
15190 }
set_allocated_tag(std::string * tag)15191 inline void StyledString_Span::set_allocated_tag(std::string* tag) {
15192   _impl_.tag_.SetAllocated(tag, GetArenaForAllocation());
15193 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
15194   if (_impl_.tag_.IsDefault()) {
15195     _impl_.tag_.Set("", GetArenaForAllocation());
15196   }
15197 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
15198   // @@protoc_insertion_point(field_set_allocated:aapt.pb.StyledString.Span.tag)
15199 }
15200 
15201 // uint32 first_char = 2;
clear_first_char()15202 inline void StyledString_Span::clear_first_char() {
15203   _impl_.first_char_ = 0u;
15204 }
_internal_first_char()15205 inline ::uint32_t StyledString_Span::_internal_first_char() const {
15206   return _impl_.first_char_;
15207 }
first_char()15208 inline ::uint32_t StyledString_Span::first_char() const {
15209   // @@protoc_insertion_point(field_get:aapt.pb.StyledString.Span.first_char)
15210   return _internal_first_char();
15211 }
_internal_set_first_char(::uint32_t value)15212 inline void StyledString_Span::_internal_set_first_char(::uint32_t value) {
15213 
15214   _impl_.first_char_ = value;
15215 }
set_first_char(::uint32_t value)15216 inline void StyledString_Span::set_first_char(::uint32_t value) {
15217   _internal_set_first_char(value);
15218   // @@protoc_insertion_point(field_set:aapt.pb.StyledString.Span.first_char)
15219 }
15220 
15221 // uint32 last_char = 3;
clear_last_char()15222 inline void StyledString_Span::clear_last_char() {
15223   _impl_.last_char_ = 0u;
15224 }
_internal_last_char()15225 inline ::uint32_t StyledString_Span::_internal_last_char() const {
15226   return _impl_.last_char_;
15227 }
last_char()15228 inline ::uint32_t StyledString_Span::last_char() const {
15229   // @@protoc_insertion_point(field_get:aapt.pb.StyledString.Span.last_char)
15230   return _internal_last_char();
15231 }
_internal_set_last_char(::uint32_t value)15232 inline void StyledString_Span::_internal_set_last_char(::uint32_t value) {
15233 
15234   _impl_.last_char_ = value;
15235 }
set_last_char(::uint32_t value)15236 inline void StyledString_Span::set_last_char(::uint32_t value) {
15237   _internal_set_last_char(value);
15238   // @@protoc_insertion_point(field_set:aapt.pb.StyledString.Span.last_char)
15239 }
15240 
15241 // -------------------------------------------------------------------
15242 
15243 // StyledString
15244 
15245 // string value = 1;
clear_value()15246 inline void StyledString::clear_value() {
15247   _impl_.value_.ClearToEmpty();
15248 }
value()15249 inline const std::string& StyledString::value() const {
15250   // @@protoc_insertion_point(field_get:aapt.pb.StyledString.value)
15251   return _internal_value();
15252 }
15253 template <typename ArgT0, typename... ArgT>
15254 inline PROTOBUF_ALWAYS_INLINE
set_value(ArgT0 && arg0,ArgT...args)15255 void StyledString::set_value(ArgT0&& arg0, ArgT... args) {
15256 
15257  _impl_.value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
15258   // @@protoc_insertion_point(field_set:aapt.pb.StyledString.value)
15259 }
mutable_value()15260 inline std::string* StyledString::mutable_value() {
15261   std::string* _s = _internal_mutable_value();
15262   // @@protoc_insertion_point(field_mutable:aapt.pb.StyledString.value)
15263   return _s;
15264 }
_internal_value()15265 inline const std::string& StyledString::_internal_value() const {
15266   return _impl_.value_.Get();
15267 }
_internal_set_value(const std::string & value)15268 inline void StyledString::_internal_set_value(const std::string& value) {
15269 
15270   _impl_.value_.Set(value, GetArenaForAllocation());
15271 }
_internal_mutable_value()15272 inline std::string* StyledString::_internal_mutable_value() {
15273 
15274   return _impl_.value_.Mutable(GetArenaForAllocation());
15275 }
release_value()15276 inline std::string* StyledString::release_value() {
15277   // @@protoc_insertion_point(field_release:aapt.pb.StyledString.value)
15278   return _impl_.value_.Release();
15279 }
set_allocated_value(std::string * value)15280 inline void StyledString::set_allocated_value(std::string* value) {
15281   _impl_.value_.SetAllocated(value, GetArenaForAllocation());
15282 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
15283   if (_impl_.value_.IsDefault()) {
15284     _impl_.value_.Set("", GetArenaForAllocation());
15285   }
15286 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
15287   // @@protoc_insertion_point(field_set_allocated:aapt.pb.StyledString.value)
15288 }
15289 
15290 // repeated .aapt.pb.StyledString.Span span = 2;
_internal_span_size()15291 inline int StyledString::_internal_span_size() const {
15292   return _impl_.span_.size();
15293 }
span_size()15294 inline int StyledString::span_size() const {
15295   return _internal_span_size();
15296 }
clear_span()15297 inline void StyledString::clear_span() {
15298   _impl_.span_.Clear();
15299 }
mutable_span(int index)15300 inline ::aapt::pb::StyledString_Span* StyledString::mutable_span(int index) {
15301   // @@protoc_insertion_point(field_mutable:aapt.pb.StyledString.span)
15302   return _impl_.span_.Mutable(index);
15303 }
15304 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::StyledString_Span >*
mutable_span()15305 StyledString::mutable_span() {
15306   // @@protoc_insertion_point(field_mutable_list:aapt.pb.StyledString.span)
15307   return &_impl_.span_;
15308 }
_internal_span(int index)15309 inline const ::aapt::pb::StyledString_Span& StyledString::_internal_span(int index) const {
15310   return _impl_.span_.Get(index);
15311 }
span(int index)15312 inline const ::aapt::pb::StyledString_Span& StyledString::span(int index) const {
15313   // @@protoc_insertion_point(field_get:aapt.pb.StyledString.span)
15314   return _internal_span(index);
15315 }
_internal_add_span()15316 inline ::aapt::pb::StyledString_Span* StyledString::_internal_add_span() {
15317   return _impl_.span_.Add();
15318 }
add_span()15319 inline ::aapt::pb::StyledString_Span* StyledString::add_span() {
15320   ::aapt::pb::StyledString_Span* _add = _internal_add_span();
15321   // @@protoc_insertion_point(field_add:aapt.pb.StyledString.span)
15322   return _add;
15323 }
15324 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::StyledString_Span >&
span()15325 StyledString::span() const {
15326   // @@protoc_insertion_point(field_list:aapt.pb.StyledString.span)
15327   return _impl_.span_;
15328 }
15329 
15330 // -------------------------------------------------------------------
15331 
15332 // FileReference
15333 
15334 // string path = 1;
clear_path()15335 inline void FileReference::clear_path() {
15336   _impl_.path_.ClearToEmpty();
15337 }
path()15338 inline const std::string& FileReference::path() const {
15339   // @@protoc_insertion_point(field_get:aapt.pb.FileReference.path)
15340   return _internal_path();
15341 }
15342 template <typename ArgT0, typename... ArgT>
15343 inline PROTOBUF_ALWAYS_INLINE
set_path(ArgT0 && arg0,ArgT...args)15344 void FileReference::set_path(ArgT0&& arg0, ArgT... args) {
15345 
15346  _impl_.path_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
15347   // @@protoc_insertion_point(field_set:aapt.pb.FileReference.path)
15348 }
mutable_path()15349 inline std::string* FileReference::mutable_path() {
15350   std::string* _s = _internal_mutable_path();
15351   // @@protoc_insertion_point(field_mutable:aapt.pb.FileReference.path)
15352   return _s;
15353 }
_internal_path()15354 inline const std::string& FileReference::_internal_path() const {
15355   return _impl_.path_.Get();
15356 }
_internal_set_path(const std::string & value)15357 inline void FileReference::_internal_set_path(const std::string& value) {
15358 
15359   _impl_.path_.Set(value, GetArenaForAllocation());
15360 }
_internal_mutable_path()15361 inline std::string* FileReference::_internal_mutable_path() {
15362 
15363   return _impl_.path_.Mutable(GetArenaForAllocation());
15364 }
release_path()15365 inline std::string* FileReference::release_path() {
15366   // @@protoc_insertion_point(field_release:aapt.pb.FileReference.path)
15367   return _impl_.path_.Release();
15368 }
set_allocated_path(std::string * path)15369 inline void FileReference::set_allocated_path(std::string* path) {
15370   _impl_.path_.SetAllocated(path, GetArenaForAllocation());
15371 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
15372   if (_impl_.path_.IsDefault()) {
15373     _impl_.path_.Set("", GetArenaForAllocation());
15374   }
15375 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
15376   // @@protoc_insertion_point(field_set_allocated:aapt.pb.FileReference.path)
15377 }
15378 
15379 // .aapt.pb.FileReference.Type type = 2;
clear_type()15380 inline void FileReference::clear_type() {
15381   _impl_.type_ = 0;
15382 }
_internal_type()15383 inline ::aapt::pb::FileReference_Type FileReference::_internal_type() const {
15384   return static_cast< ::aapt::pb::FileReference_Type >(_impl_.type_);
15385 }
type()15386 inline ::aapt::pb::FileReference_Type FileReference::type() const {
15387   // @@protoc_insertion_point(field_get:aapt.pb.FileReference.type)
15388   return _internal_type();
15389 }
_internal_set_type(::aapt::pb::FileReference_Type value)15390 inline void FileReference::_internal_set_type(::aapt::pb::FileReference_Type value) {
15391 
15392   _impl_.type_ = value;
15393 }
set_type(::aapt::pb::FileReference_Type value)15394 inline void FileReference::set_type(::aapt::pb::FileReference_Type value) {
15395   _internal_set_type(value);
15396   // @@protoc_insertion_point(field_set:aapt.pb.FileReference.type)
15397 }
15398 
15399 // -------------------------------------------------------------------
15400 
15401 // Primitive_NullType
15402 
15403 // -------------------------------------------------------------------
15404 
15405 // Primitive_EmptyType
15406 
15407 // -------------------------------------------------------------------
15408 
15409 // Primitive
15410 
15411 // .aapt.pb.Primitive.NullType null_value = 1;
_internal_has_null_value()15412 inline bool Primitive::_internal_has_null_value() const {
15413   return oneof_value_case() == kNullValue;
15414 }
has_null_value()15415 inline bool Primitive::has_null_value() const {
15416   return _internal_has_null_value();
15417 }
set_has_null_value()15418 inline void Primitive::set_has_null_value() {
15419   _impl_._oneof_case_[0] = kNullValue;
15420 }
clear_null_value()15421 inline void Primitive::clear_null_value() {
15422   if (_internal_has_null_value()) {
15423     if (GetArenaForAllocation() == nullptr) {
15424       delete _impl_.oneof_value_.null_value_;
15425     }
15426     clear_has_oneof_value();
15427   }
15428 }
release_null_value()15429 inline ::aapt::pb::Primitive_NullType* Primitive::release_null_value() {
15430   // @@protoc_insertion_point(field_release:aapt.pb.Primitive.null_value)
15431   if (_internal_has_null_value()) {
15432     clear_has_oneof_value();
15433     ::aapt::pb::Primitive_NullType* temp = _impl_.oneof_value_.null_value_;
15434     if (GetArenaForAllocation() != nullptr) {
15435       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
15436     }
15437     _impl_.oneof_value_.null_value_ = nullptr;
15438     return temp;
15439   } else {
15440     return nullptr;
15441   }
15442 }
_internal_null_value()15443 inline const ::aapt::pb::Primitive_NullType& Primitive::_internal_null_value() const {
15444   return _internal_has_null_value()
15445       ? *_impl_.oneof_value_.null_value_
15446       : reinterpret_cast< ::aapt::pb::Primitive_NullType&>(::aapt::pb::_Primitive_NullType_default_instance_);
15447 }
null_value()15448 inline const ::aapt::pb::Primitive_NullType& Primitive::null_value() const {
15449   // @@protoc_insertion_point(field_get:aapt.pb.Primitive.null_value)
15450   return _internal_null_value();
15451 }
unsafe_arena_release_null_value()15452 inline ::aapt::pb::Primitive_NullType* Primitive::unsafe_arena_release_null_value() {
15453   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.Primitive.null_value)
15454   if (_internal_has_null_value()) {
15455     clear_has_oneof_value();
15456     ::aapt::pb::Primitive_NullType* temp = _impl_.oneof_value_.null_value_;
15457     _impl_.oneof_value_.null_value_ = nullptr;
15458     return temp;
15459   } else {
15460     return nullptr;
15461   }
15462 }
unsafe_arena_set_allocated_null_value(::aapt::pb::Primitive_NullType * null_value)15463 inline void Primitive::unsafe_arena_set_allocated_null_value(::aapt::pb::Primitive_NullType* null_value) {
15464   clear_oneof_value();
15465   if (null_value) {
15466     set_has_null_value();
15467     _impl_.oneof_value_.null_value_ = null_value;
15468   }
15469   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Primitive.null_value)
15470 }
_internal_mutable_null_value()15471 inline ::aapt::pb::Primitive_NullType* Primitive::_internal_mutable_null_value() {
15472   if (!_internal_has_null_value()) {
15473     clear_oneof_value();
15474     set_has_null_value();
15475     _impl_.oneof_value_.null_value_ = CreateMaybeMessage< ::aapt::pb::Primitive_NullType >(GetArenaForAllocation());
15476   }
15477   return _impl_.oneof_value_.null_value_;
15478 }
mutable_null_value()15479 inline ::aapt::pb::Primitive_NullType* Primitive::mutable_null_value() {
15480   ::aapt::pb::Primitive_NullType* _msg = _internal_mutable_null_value();
15481   // @@protoc_insertion_point(field_mutable:aapt.pb.Primitive.null_value)
15482   return _msg;
15483 }
15484 
15485 // .aapt.pb.Primitive.EmptyType empty_value = 2;
_internal_has_empty_value()15486 inline bool Primitive::_internal_has_empty_value() const {
15487   return oneof_value_case() == kEmptyValue;
15488 }
has_empty_value()15489 inline bool Primitive::has_empty_value() const {
15490   return _internal_has_empty_value();
15491 }
set_has_empty_value()15492 inline void Primitive::set_has_empty_value() {
15493   _impl_._oneof_case_[0] = kEmptyValue;
15494 }
clear_empty_value()15495 inline void Primitive::clear_empty_value() {
15496   if (_internal_has_empty_value()) {
15497     if (GetArenaForAllocation() == nullptr) {
15498       delete _impl_.oneof_value_.empty_value_;
15499     }
15500     clear_has_oneof_value();
15501   }
15502 }
release_empty_value()15503 inline ::aapt::pb::Primitive_EmptyType* Primitive::release_empty_value() {
15504   // @@protoc_insertion_point(field_release:aapt.pb.Primitive.empty_value)
15505   if (_internal_has_empty_value()) {
15506     clear_has_oneof_value();
15507     ::aapt::pb::Primitive_EmptyType* temp = _impl_.oneof_value_.empty_value_;
15508     if (GetArenaForAllocation() != nullptr) {
15509       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
15510     }
15511     _impl_.oneof_value_.empty_value_ = nullptr;
15512     return temp;
15513   } else {
15514     return nullptr;
15515   }
15516 }
_internal_empty_value()15517 inline const ::aapt::pb::Primitive_EmptyType& Primitive::_internal_empty_value() const {
15518   return _internal_has_empty_value()
15519       ? *_impl_.oneof_value_.empty_value_
15520       : reinterpret_cast< ::aapt::pb::Primitive_EmptyType&>(::aapt::pb::_Primitive_EmptyType_default_instance_);
15521 }
empty_value()15522 inline const ::aapt::pb::Primitive_EmptyType& Primitive::empty_value() const {
15523   // @@protoc_insertion_point(field_get:aapt.pb.Primitive.empty_value)
15524   return _internal_empty_value();
15525 }
unsafe_arena_release_empty_value()15526 inline ::aapt::pb::Primitive_EmptyType* Primitive::unsafe_arena_release_empty_value() {
15527   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.Primitive.empty_value)
15528   if (_internal_has_empty_value()) {
15529     clear_has_oneof_value();
15530     ::aapt::pb::Primitive_EmptyType* temp = _impl_.oneof_value_.empty_value_;
15531     _impl_.oneof_value_.empty_value_ = nullptr;
15532     return temp;
15533   } else {
15534     return nullptr;
15535   }
15536 }
unsafe_arena_set_allocated_empty_value(::aapt::pb::Primitive_EmptyType * empty_value)15537 inline void Primitive::unsafe_arena_set_allocated_empty_value(::aapt::pb::Primitive_EmptyType* empty_value) {
15538   clear_oneof_value();
15539   if (empty_value) {
15540     set_has_empty_value();
15541     _impl_.oneof_value_.empty_value_ = empty_value;
15542   }
15543   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Primitive.empty_value)
15544 }
_internal_mutable_empty_value()15545 inline ::aapt::pb::Primitive_EmptyType* Primitive::_internal_mutable_empty_value() {
15546   if (!_internal_has_empty_value()) {
15547     clear_oneof_value();
15548     set_has_empty_value();
15549     _impl_.oneof_value_.empty_value_ = CreateMaybeMessage< ::aapt::pb::Primitive_EmptyType >(GetArenaForAllocation());
15550   }
15551   return _impl_.oneof_value_.empty_value_;
15552 }
mutable_empty_value()15553 inline ::aapt::pb::Primitive_EmptyType* Primitive::mutable_empty_value() {
15554   ::aapt::pb::Primitive_EmptyType* _msg = _internal_mutable_empty_value();
15555   // @@protoc_insertion_point(field_mutable:aapt.pb.Primitive.empty_value)
15556   return _msg;
15557 }
15558 
15559 // float float_value = 3;
_internal_has_float_value()15560 inline bool Primitive::_internal_has_float_value() const {
15561   return oneof_value_case() == kFloatValue;
15562 }
has_float_value()15563 inline bool Primitive::has_float_value() const {
15564   return _internal_has_float_value();
15565 }
set_has_float_value()15566 inline void Primitive::set_has_float_value() {
15567   _impl_._oneof_case_[0] = kFloatValue;
15568 }
clear_float_value()15569 inline void Primitive::clear_float_value() {
15570   if (_internal_has_float_value()) {
15571     _impl_.oneof_value_.float_value_ = 0;
15572     clear_has_oneof_value();
15573   }
15574 }
_internal_float_value()15575 inline float Primitive::_internal_float_value() const {
15576   if (_internal_has_float_value()) {
15577     return _impl_.oneof_value_.float_value_;
15578   }
15579   return 0;
15580 }
_internal_set_float_value(float value)15581 inline void Primitive::_internal_set_float_value(float value) {
15582   if (!_internal_has_float_value()) {
15583     clear_oneof_value();
15584     set_has_float_value();
15585   }
15586   _impl_.oneof_value_.float_value_ = value;
15587 }
float_value()15588 inline float Primitive::float_value() const {
15589   // @@protoc_insertion_point(field_get:aapt.pb.Primitive.float_value)
15590   return _internal_float_value();
15591 }
set_float_value(float value)15592 inline void Primitive::set_float_value(float value) {
15593   _internal_set_float_value(value);
15594   // @@protoc_insertion_point(field_set:aapt.pb.Primitive.float_value)
15595 }
15596 
15597 // uint32 dimension_value = 13;
_internal_has_dimension_value()15598 inline bool Primitive::_internal_has_dimension_value() const {
15599   return oneof_value_case() == kDimensionValue;
15600 }
has_dimension_value()15601 inline bool Primitive::has_dimension_value() const {
15602   return _internal_has_dimension_value();
15603 }
set_has_dimension_value()15604 inline void Primitive::set_has_dimension_value() {
15605   _impl_._oneof_case_[0] = kDimensionValue;
15606 }
clear_dimension_value()15607 inline void Primitive::clear_dimension_value() {
15608   if (_internal_has_dimension_value()) {
15609     _impl_.oneof_value_.dimension_value_ = 0u;
15610     clear_has_oneof_value();
15611   }
15612 }
_internal_dimension_value()15613 inline ::uint32_t Primitive::_internal_dimension_value() const {
15614   if (_internal_has_dimension_value()) {
15615     return _impl_.oneof_value_.dimension_value_;
15616   }
15617   return 0u;
15618 }
_internal_set_dimension_value(::uint32_t value)15619 inline void Primitive::_internal_set_dimension_value(::uint32_t value) {
15620   if (!_internal_has_dimension_value()) {
15621     clear_oneof_value();
15622     set_has_dimension_value();
15623   }
15624   _impl_.oneof_value_.dimension_value_ = value;
15625 }
dimension_value()15626 inline ::uint32_t Primitive::dimension_value() const {
15627   // @@protoc_insertion_point(field_get:aapt.pb.Primitive.dimension_value)
15628   return _internal_dimension_value();
15629 }
set_dimension_value(::uint32_t value)15630 inline void Primitive::set_dimension_value(::uint32_t value) {
15631   _internal_set_dimension_value(value);
15632   // @@protoc_insertion_point(field_set:aapt.pb.Primitive.dimension_value)
15633 }
15634 
15635 // uint32 fraction_value = 14;
_internal_has_fraction_value()15636 inline bool Primitive::_internal_has_fraction_value() const {
15637   return oneof_value_case() == kFractionValue;
15638 }
has_fraction_value()15639 inline bool Primitive::has_fraction_value() const {
15640   return _internal_has_fraction_value();
15641 }
set_has_fraction_value()15642 inline void Primitive::set_has_fraction_value() {
15643   _impl_._oneof_case_[0] = kFractionValue;
15644 }
clear_fraction_value()15645 inline void Primitive::clear_fraction_value() {
15646   if (_internal_has_fraction_value()) {
15647     _impl_.oneof_value_.fraction_value_ = 0u;
15648     clear_has_oneof_value();
15649   }
15650 }
_internal_fraction_value()15651 inline ::uint32_t Primitive::_internal_fraction_value() const {
15652   if (_internal_has_fraction_value()) {
15653     return _impl_.oneof_value_.fraction_value_;
15654   }
15655   return 0u;
15656 }
_internal_set_fraction_value(::uint32_t value)15657 inline void Primitive::_internal_set_fraction_value(::uint32_t value) {
15658   if (!_internal_has_fraction_value()) {
15659     clear_oneof_value();
15660     set_has_fraction_value();
15661   }
15662   _impl_.oneof_value_.fraction_value_ = value;
15663 }
fraction_value()15664 inline ::uint32_t Primitive::fraction_value() const {
15665   // @@protoc_insertion_point(field_get:aapt.pb.Primitive.fraction_value)
15666   return _internal_fraction_value();
15667 }
set_fraction_value(::uint32_t value)15668 inline void Primitive::set_fraction_value(::uint32_t value) {
15669   _internal_set_fraction_value(value);
15670   // @@protoc_insertion_point(field_set:aapt.pb.Primitive.fraction_value)
15671 }
15672 
15673 // int32 int_decimal_value = 6;
_internal_has_int_decimal_value()15674 inline bool Primitive::_internal_has_int_decimal_value() const {
15675   return oneof_value_case() == kIntDecimalValue;
15676 }
has_int_decimal_value()15677 inline bool Primitive::has_int_decimal_value() const {
15678   return _internal_has_int_decimal_value();
15679 }
set_has_int_decimal_value()15680 inline void Primitive::set_has_int_decimal_value() {
15681   _impl_._oneof_case_[0] = kIntDecimalValue;
15682 }
clear_int_decimal_value()15683 inline void Primitive::clear_int_decimal_value() {
15684   if (_internal_has_int_decimal_value()) {
15685     _impl_.oneof_value_.int_decimal_value_ = 0;
15686     clear_has_oneof_value();
15687   }
15688 }
_internal_int_decimal_value()15689 inline ::int32_t Primitive::_internal_int_decimal_value() const {
15690   if (_internal_has_int_decimal_value()) {
15691     return _impl_.oneof_value_.int_decimal_value_;
15692   }
15693   return 0;
15694 }
_internal_set_int_decimal_value(::int32_t value)15695 inline void Primitive::_internal_set_int_decimal_value(::int32_t value) {
15696   if (!_internal_has_int_decimal_value()) {
15697     clear_oneof_value();
15698     set_has_int_decimal_value();
15699   }
15700   _impl_.oneof_value_.int_decimal_value_ = value;
15701 }
int_decimal_value()15702 inline ::int32_t Primitive::int_decimal_value() const {
15703   // @@protoc_insertion_point(field_get:aapt.pb.Primitive.int_decimal_value)
15704   return _internal_int_decimal_value();
15705 }
set_int_decimal_value(::int32_t value)15706 inline void Primitive::set_int_decimal_value(::int32_t value) {
15707   _internal_set_int_decimal_value(value);
15708   // @@protoc_insertion_point(field_set:aapt.pb.Primitive.int_decimal_value)
15709 }
15710 
15711 // uint32 int_hexadecimal_value = 7;
_internal_has_int_hexadecimal_value()15712 inline bool Primitive::_internal_has_int_hexadecimal_value() const {
15713   return oneof_value_case() == kIntHexadecimalValue;
15714 }
has_int_hexadecimal_value()15715 inline bool Primitive::has_int_hexadecimal_value() const {
15716   return _internal_has_int_hexadecimal_value();
15717 }
set_has_int_hexadecimal_value()15718 inline void Primitive::set_has_int_hexadecimal_value() {
15719   _impl_._oneof_case_[0] = kIntHexadecimalValue;
15720 }
clear_int_hexadecimal_value()15721 inline void Primitive::clear_int_hexadecimal_value() {
15722   if (_internal_has_int_hexadecimal_value()) {
15723     _impl_.oneof_value_.int_hexadecimal_value_ = 0u;
15724     clear_has_oneof_value();
15725   }
15726 }
_internal_int_hexadecimal_value()15727 inline ::uint32_t Primitive::_internal_int_hexadecimal_value() const {
15728   if (_internal_has_int_hexadecimal_value()) {
15729     return _impl_.oneof_value_.int_hexadecimal_value_;
15730   }
15731   return 0u;
15732 }
_internal_set_int_hexadecimal_value(::uint32_t value)15733 inline void Primitive::_internal_set_int_hexadecimal_value(::uint32_t value) {
15734   if (!_internal_has_int_hexadecimal_value()) {
15735     clear_oneof_value();
15736     set_has_int_hexadecimal_value();
15737   }
15738   _impl_.oneof_value_.int_hexadecimal_value_ = value;
15739 }
int_hexadecimal_value()15740 inline ::uint32_t Primitive::int_hexadecimal_value() const {
15741   // @@protoc_insertion_point(field_get:aapt.pb.Primitive.int_hexadecimal_value)
15742   return _internal_int_hexadecimal_value();
15743 }
set_int_hexadecimal_value(::uint32_t value)15744 inline void Primitive::set_int_hexadecimal_value(::uint32_t value) {
15745   _internal_set_int_hexadecimal_value(value);
15746   // @@protoc_insertion_point(field_set:aapt.pb.Primitive.int_hexadecimal_value)
15747 }
15748 
15749 // bool boolean_value = 8;
_internal_has_boolean_value()15750 inline bool Primitive::_internal_has_boolean_value() const {
15751   return oneof_value_case() == kBooleanValue;
15752 }
has_boolean_value()15753 inline bool Primitive::has_boolean_value() const {
15754   return _internal_has_boolean_value();
15755 }
set_has_boolean_value()15756 inline void Primitive::set_has_boolean_value() {
15757   _impl_._oneof_case_[0] = kBooleanValue;
15758 }
clear_boolean_value()15759 inline void Primitive::clear_boolean_value() {
15760   if (_internal_has_boolean_value()) {
15761     _impl_.oneof_value_.boolean_value_ = false;
15762     clear_has_oneof_value();
15763   }
15764 }
_internal_boolean_value()15765 inline bool Primitive::_internal_boolean_value() const {
15766   if (_internal_has_boolean_value()) {
15767     return _impl_.oneof_value_.boolean_value_;
15768   }
15769   return false;
15770 }
_internal_set_boolean_value(bool value)15771 inline void Primitive::_internal_set_boolean_value(bool value) {
15772   if (!_internal_has_boolean_value()) {
15773     clear_oneof_value();
15774     set_has_boolean_value();
15775   }
15776   _impl_.oneof_value_.boolean_value_ = value;
15777 }
boolean_value()15778 inline bool Primitive::boolean_value() const {
15779   // @@protoc_insertion_point(field_get:aapt.pb.Primitive.boolean_value)
15780   return _internal_boolean_value();
15781 }
set_boolean_value(bool value)15782 inline void Primitive::set_boolean_value(bool value) {
15783   _internal_set_boolean_value(value);
15784   // @@protoc_insertion_point(field_set:aapt.pb.Primitive.boolean_value)
15785 }
15786 
15787 // uint32 color_argb8_value = 9;
_internal_has_color_argb8_value()15788 inline bool Primitive::_internal_has_color_argb8_value() const {
15789   return oneof_value_case() == kColorArgb8Value;
15790 }
has_color_argb8_value()15791 inline bool Primitive::has_color_argb8_value() const {
15792   return _internal_has_color_argb8_value();
15793 }
set_has_color_argb8_value()15794 inline void Primitive::set_has_color_argb8_value() {
15795   _impl_._oneof_case_[0] = kColorArgb8Value;
15796 }
clear_color_argb8_value()15797 inline void Primitive::clear_color_argb8_value() {
15798   if (_internal_has_color_argb8_value()) {
15799     _impl_.oneof_value_.color_argb8_value_ = 0u;
15800     clear_has_oneof_value();
15801   }
15802 }
_internal_color_argb8_value()15803 inline ::uint32_t Primitive::_internal_color_argb8_value() const {
15804   if (_internal_has_color_argb8_value()) {
15805     return _impl_.oneof_value_.color_argb8_value_;
15806   }
15807   return 0u;
15808 }
_internal_set_color_argb8_value(::uint32_t value)15809 inline void Primitive::_internal_set_color_argb8_value(::uint32_t value) {
15810   if (!_internal_has_color_argb8_value()) {
15811     clear_oneof_value();
15812     set_has_color_argb8_value();
15813   }
15814   _impl_.oneof_value_.color_argb8_value_ = value;
15815 }
color_argb8_value()15816 inline ::uint32_t Primitive::color_argb8_value() const {
15817   // @@protoc_insertion_point(field_get:aapt.pb.Primitive.color_argb8_value)
15818   return _internal_color_argb8_value();
15819 }
set_color_argb8_value(::uint32_t value)15820 inline void Primitive::set_color_argb8_value(::uint32_t value) {
15821   _internal_set_color_argb8_value(value);
15822   // @@protoc_insertion_point(field_set:aapt.pb.Primitive.color_argb8_value)
15823 }
15824 
15825 // uint32 color_rgb8_value = 10;
_internal_has_color_rgb8_value()15826 inline bool Primitive::_internal_has_color_rgb8_value() const {
15827   return oneof_value_case() == kColorRgb8Value;
15828 }
has_color_rgb8_value()15829 inline bool Primitive::has_color_rgb8_value() const {
15830   return _internal_has_color_rgb8_value();
15831 }
set_has_color_rgb8_value()15832 inline void Primitive::set_has_color_rgb8_value() {
15833   _impl_._oneof_case_[0] = kColorRgb8Value;
15834 }
clear_color_rgb8_value()15835 inline void Primitive::clear_color_rgb8_value() {
15836   if (_internal_has_color_rgb8_value()) {
15837     _impl_.oneof_value_.color_rgb8_value_ = 0u;
15838     clear_has_oneof_value();
15839   }
15840 }
_internal_color_rgb8_value()15841 inline ::uint32_t Primitive::_internal_color_rgb8_value() const {
15842   if (_internal_has_color_rgb8_value()) {
15843     return _impl_.oneof_value_.color_rgb8_value_;
15844   }
15845   return 0u;
15846 }
_internal_set_color_rgb8_value(::uint32_t value)15847 inline void Primitive::_internal_set_color_rgb8_value(::uint32_t value) {
15848   if (!_internal_has_color_rgb8_value()) {
15849     clear_oneof_value();
15850     set_has_color_rgb8_value();
15851   }
15852   _impl_.oneof_value_.color_rgb8_value_ = value;
15853 }
color_rgb8_value()15854 inline ::uint32_t Primitive::color_rgb8_value() const {
15855   // @@protoc_insertion_point(field_get:aapt.pb.Primitive.color_rgb8_value)
15856   return _internal_color_rgb8_value();
15857 }
set_color_rgb8_value(::uint32_t value)15858 inline void Primitive::set_color_rgb8_value(::uint32_t value) {
15859   _internal_set_color_rgb8_value(value);
15860   // @@protoc_insertion_point(field_set:aapt.pb.Primitive.color_rgb8_value)
15861 }
15862 
15863 // uint32 color_argb4_value = 11;
_internal_has_color_argb4_value()15864 inline bool Primitive::_internal_has_color_argb4_value() const {
15865   return oneof_value_case() == kColorArgb4Value;
15866 }
has_color_argb4_value()15867 inline bool Primitive::has_color_argb4_value() const {
15868   return _internal_has_color_argb4_value();
15869 }
set_has_color_argb4_value()15870 inline void Primitive::set_has_color_argb4_value() {
15871   _impl_._oneof_case_[0] = kColorArgb4Value;
15872 }
clear_color_argb4_value()15873 inline void Primitive::clear_color_argb4_value() {
15874   if (_internal_has_color_argb4_value()) {
15875     _impl_.oneof_value_.color_argb4_value_ = 0u;
15876     clear_has_oneof_value();
15877   }
15878 }
_internal_color_argb4_value()15879 inline ::uint32_t Primitive::_internal_color_argb4_value() const {
15880   if (_internal_has_color_argb4_value()) {
15881     return _impl_.oneof_value_.color_argb4_value_;
15882   }
15883   return 0u;
15884 }
_internal_set_color_argb4_value(::uint32_t value)15885 inline void Primitive::_internal_set_color_argb4_value(::uint32_t value) {
15886   if (!_internal_has_color_argb4_value()) {
15887     clear_oneof_value();
15888     set_has_color_argb4_value();
15889   }
15890   _impl_.oneof_value_.color_argb4_value_ = value;
15891 }
color_argb4_value()15892 inline ::uint32_t Primitive::color_argb4_value() const {
15893   // @@protoc_insertion_point(field_get:aapt.pb.Primitive.color_argb4_value)
15894   return _internal_color_argb4_value();
15895 }
set_color_argb4_value(::uint32_t value)15896 inline void Primitive::set_color_argb4_value(::uint32_t value) {
15897   _internal_set_color_argb4_value(value);
15898   // @@protoc_insertion_point(field_set:aapt.pb.Primitive.color_argb4_value)
15899 }
15900 
15901 // uint32 color_rgb4_value = 12;
_internal_has_color_rgb4_value()15902 inline bool Primitive::_internal_has_color_rgb4_value() const {
15903   return oneof_value_case() == kColorRgb4Value;
15904 }
has_color_rgb4_value()15905 inline bool Primitive::has_color_rgb4_value() const {
15906   return _internal_has_color_rgb4_value();
15907 }
set_has_color_rgb4_value()15908 inline void Primitive::set_has_color_rgb4_value() {
15909   _impl_._oneof_case_[0] = kColorRgb4Value;
15910 }
clear_color_rgb4_value()15911 inline void Primitive::clear_color_rgb4_value() {
15912   if (_internal_has_color_rgb4_value()) {
15913     _impl_.oneof_value_.color_rgb4_value_ = 0u;
15914     clear_has_oneof_value();
15915   }
15916 }
_internal_color_rgb4_value()15917 inline ::uint32_t Primitive::_internal_color_rgb4_value() const {
15918   if (_internal_has_color_rgb4_value()) {
15919     return _impl_.oneof_value_.color_rgb4_value_;
15920   }
15921   return 0u;
15922 }
_internal_set_color_rgb4_value(::uint32_t value)15923 inline void Primitive::_internal_set_color_rgb4_value(::uint32_t value) {
15924   if (!_internal_has_color_rgb4_value()) {
15925     clear_oneof_value();
15926     set_has_color_rgb4_value();
15927   }
15928   _impl_.oneof_value_.color_rgb4_value_ = value;
15929 }
color_rgb4_value()15930 inline ::uint32_t Primitive::color_rgb4_value() const {
15931   // @@protoc_insertion_point(field_get:aapt.pb.Primitive.color_rgb4_value)
15932   return _internal_color_rgb4_value();
15933 }
set_color_rgb4_value(::uint32_t value)15934 inline void Primitive::set_color_rgb4_value(::uint32_t value) {
15935   _internal_set_color_rgb4_value(value);
15936   // @@protoc_insertion_point(field_set:aapt.pb.Primitive.color_rgb4_value)
15937 }
15938 
15939 // float dimension_value_deprecated = 4 [deprecated = true];
_internal_has_dimension_value_deprecated()15940 inline bool Primitive::_internal_has_dimension_value_deprecated() const {
15941   return oneof_value_case() == kDimensionValueDeprecated;
15942 }
has_dimension_value_deprecated()15943 inline bool Primitive::has_dimension_value_deprecated() const {
15944   return _internal_has_dimension_value_deprecated();
15945 }
set_has_dimension_value_deprecated()15946 inline void Primitive::set_has_dimension_value_deprecated() {
15947   _impl_._oneof_case_[0] = kDimensionValueDeprecated;
15948 }
clear_dimension_value_deprecated()15949 inline void Primitive::clear_dimension_value_deprecated() {
15950   if (_internal_has_dimension_value_deprecated()) {
15951     _impl_.oneof_value_.dimension_value_deprecated_ = 0;
15952     clear_has_oneof_value();
15953   }
15954 }
_internal_dimension_value_deprecated()15955 inline float Primitive::_internal_dimension_value_deprecated() const {
15956   if (_internal_has_dimension_value_deprecated()) {
15957     return _impl_.oneof_value_.dimension_value_deprecated_;
15958   }
15959   return 0;
15960 }
_internal_set_dimension_value_deprecated(float value)15961 inline void Primitive::_internal_set_dimension_value_deprecated(float value) {
15962   if (!_internal_has_dimension_value_deprecated()) {
15963     clear_oneof_value();
15964     set_has_dimension_value_deprecated();
15965   }
15966   _impl_.oneof_value_.dimension_value_deprecated_ = value;
15967 }
dimension_value_deprecated()15968 inline float Primitive::dimension_value_deprecated() const {
15969   // @@protoc_insertion_point(field_get:aapt.pb.Primitive.dimension_value_deprecated)
15970   return _internal_dimension_value_deprecated();
15971 }
set_dimension_value_deprecated(float value)15972 inline void Primitive::set_dimension_value_deprecated(float value) {
15973   _internal_set_dimension_value_deprecated(value);
15974   // @@protoc_insertion_point(field_set:aapt.pb.Primitive.dimension_value_deprecated)
15975 }
15976 
15977 // float fraction_value_deprecated = 5 [deprecated = true];
_internal_has_fraction_value_deprecated()15978 inline bool Primitive::_internal_has_fraction_value_deprecated() const {
15979   return oneof_value_case() == kFractionValueDeprecated;
15980 }
has_fraction_value_deprecated()15981 inline bool Primitive::has_fraction_value_deprecated() const {
15982   return _internal_has_fraction_value_deprecated();
15983 }
set_has_fraction_value_deprecated()15984 inline void Primitive::set_has_fraction_value_deprecated() {
15985   _impl_._oneof_case_[0] = kFractionValueDeprecated;
15986 }
clear_fraction_value_deprecated()15987 inline void Primitive::clear_fraction_value_deprecated() {
15988   if (_internal_has_fraction_value_deprecated()) {
15989     _impl_.oneof_value_.fraction_value_deprecated_ = 0;
15990     clear_has_oneof_value();
15991   }
15992 }
_internal_fraction_value_deprecated()15993 inline float Primitive::_internal_fraction_value_deprecated() const {
15994   if (_internal_has_fraction_value_deprecated()) {
15995     return _impl_.oneof_value_.fraction_value_deprecated_;
15996   }
15997   return 0;
15998 }
_internal_set_fraction_value_deprecated(float value)15999 inline void Primitive::_internal_set_fraction_value_deprecated(float value) {
16000   if (!_internal_has_fraction_value_deprecated()) {
16001     clear_oneof_value();
16002     set_has_fraction_value_deprecated();
16003   }
16004   _impl_.oneof_value_.fraction_value_deprecated_ = value;
16005 }
fraction_value_deprecated()16006 inline float Primitive::fraction_value_deprecated() const {
16007   // @@protoc_insertion_point(field_get:aapt.pb.Primitive.fraction_value_deprecated)
16008   return _internal_fraction_value_deprecated();
16009 }
set_fraction_value_deprecated(float value)16010 inline void Primitive::set_fraction_value_deprecated(float value) {
16011   _internal_set_fraction_value_deprecated(value);
16012   // @@protoc_insertion_point(field_set:aapt.pb.Primitive.fraction_value_deprecated)
16013 }
16014 
has_oneof_value()16015 inline bool Primitive::has_oneof_value() const {
16016   return oneof_value_case() != ONEOF_VALUE_NOT_SET;
16017 }
clear_has_oneof_value()16018 inline void Primitive::clear_has_oneof_value() {
16019   _impl_._oneof_case_[0] = ONEOF_VALUE_NOT_SET;
16020 }
oneof_value_case()16021 inline Primitive::OneofValueCase Primitive::oneof_value_case() const {
16022   return Primitive::OneofValueCase(_impl_._oneof_case_[0]);
16023 }
16024 // -------------------------------------------------------------------
16025 
16026 // Attribute_Symbol
16027 
16028 // .aapt.pb.Source source = 1;
_internal_has_source()16029 inline bool Attribute_Symbol::_internal_has_source() const {
16030   return this != internal_default_instance() && _impl_.source_ != nullptr;
16031 }
has_source()16032 inline bool Attribute_Symbol::has_source() const {
16033   return _internal_has_source();
16034 }
clear_source()16035 inline void Attribute_Symbol::clear_source() {
16036   if (GetArenaForAllocation() == nullptr && _impl_.source_ != nullptr) {
16037     delete _impl_.source_;
16038   }
16039   _impl_.source_ = nullptr;
16040 }
_internal_source()16041 inline const ::aapt::pb::Source& Attribute_Symbol::_internal_source() const {
16042   const ::aapt::pb::Source* p = _impl_.source_;
16043   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Source&>(
16044       ::aapt::pb::_Source_default_instance_);
16045 }
source()16046 inline const ::aapt::pb::Source& Attribute_Symbol::source() const {
16047   // @@protoc_insertion_point(field_get:aapt.pb.Attribute.Symbol.source)
16048   return _internal_source();
16049 }
unsafe_arena_set_allocated_source(::aapt::pb::Source * source)16050 inline void Attribute_Symbol::unsafe_arena_set_allocated_source(
16051     ::aapt::pb::Source* source) {
16052   if (GetArenaForAllocation() == nullptr) {
16053     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_);
16054   }
16055   _impl_.source_ = source;
16056   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Attribute.Symbol.source)
16057 }
release_source()16058 inline ::aapt::pb::Source* Attribute_Symbol::release_source() {
16059 
16060   ::aapt::pb::Source* temp = _impl_.source_;
16061   _impl_.source_ = nullptr;
16062 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
16063   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
16064   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
16065   if (GetArenaForAllocation() == nullptr) { delete old; }
16066 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
16067   if (GetArenaForAllocation() != nullptr) {
16068     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
16069   }
16070 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
16071   return temp;
16072 }
unsafe_arena_release_source()16073 inline ::aapt::pb::Source* Attribute_Symbol::unsafe_arena_release_source() {
16074   // @@protoc_insertion_point(field_release:aapt.pb.Attribute.Symbol.source)
16075 
16076   ::aapt::pb::Source* temp = _impl_.source_;
16077   _impl_.source_ = nullptr;
16078   return temp;
16079 }
_internal_mutable_source()16080 inline ::aapt::pb::Source* Attribute_Symbol::_internal_mutable_source() {
16081 
16082   if (_impl_.source_ == nullptr) {
16083     auto* p = CreateMaybeMessage<::aapt::pb::Source>(GetArenaForAllocation());
16084     _impl_.source_ = p;
16085   }
16086   return _impl_.source_;
16087 }
mutable_source()16088 inline ::aapt::pb::Source* Attribute_Symbol::mutable_source() {
16089   ::aapt::pb::Source* _msg = _internal_mutable_source();
16090   // @@protoc_insertion_point(field_mutable:aapt.pb.Attribute.Symbol.source)
16091   return _msg;
16092 }
set_allocated_source(::aapt::pb::Source * source)16093 inline void Attribute_Symbol::set_allocated_source(::aapt::pb::Source* source) {
16094   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
16095   if (message_arena == nullptr) {
16096     delete _impl_.source_;
16097   }
16098   if (source) {
16099     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
16100         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source);
16101     if (message_arena != submessage_arena) {
16102       source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
16103           message_arena, source, submessage_arena);
16104     }
16105 
16106   } else {
16107 
16108   }
16109   _impl_.source_ = source;
16110   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Attribute.Symbol.source)
16111 }
16112 
16113 // string comment = 2;
clear_comment()16114 inline void Attribute_Symbol::clear_comment() {
16115   _impl_.comment_.ClearToEmpty();
16116 }
comment()16117 inline const std::string& Attribute_Symbol::comment() const {
16118   // @@protoc_insertion_point(field_get:aapt.pb.Attribute.Symbol.comment)
16119   return _internal_comment();
16120 }
16121 template <typename ArgT0, typename... ArgT>
16122 inline PROTOBUF_ALWAYS_INLINE
set_comment(ArgT0 && arg0,ArgT...args)16123 void Attribute_Symbol::set_comment(ArgT0&& arg0, ArgT... args) {
16124 
16125  _impl_.comment_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
16126   // @@protoc_insertion_point(field_set:aapt.pb.Attribute.Symbol.comment)
16127 }
mutable_comment()16128 inline std::string* Attribute_Symbol::mutable_comment() {
16129   std::string* _s = _internal_mutable_comment();
16130   // @@protoc_insertion_point(field_mutable:aapt.pb.Attribute.Symbol.comment)
16131   return _s;
16132 }
_internal_comment()16133 inline const std::string& Attribute_Symbol::_internal_comment() const {
16134   return _impl_.comment_.Get();
16135 }
_internal_set_comment(const std::string & value)16136 inline void Attribute_Symbol::_internal_set_comment(const std::string& value) {
16137 
16138   _impl_.comment_.Set(value, GetArenaForAllocation());
16139 }
_internal_mutable_comment()16140 inline std::string* Attribute_Symbol::_internal_mutable_comment() {
16141 
16142   return _impl_.comment_.Mutable(GetArenaForAllocation());
16143 }
release_comment()16144 inline std::string* Attribute_Symbol::release_comment() {
16145   // @@protoc_insertion_point(field_release:aapt.pb.Attribute.Symbol.comment)
16146   return _impl_.comment_.Release();
16147 }
set_allocated_comment(std::string * comment)16148 inline void Attribute_Symbol::set_allocated_comment(std::string* comment) {
16149   _impl_.comment_.SetAllocated(comment, GetArenaForAllocation());
16150 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
16151   if (_impl_.comment_.IsDefault()) {
16152     _impl_.comment_.Set("", GetArenaForAllocation());
16153   }
16154 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
16155   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Attribute.Symbol.comment)
16156 }
16157 
16158 // .aapt.pb.Reference name = 3;
_internal_has_name()16159 inline bool Attribute_Symbol::_internal_has_name() const {
16160   return this != internal_default_instance() && _impl_.name_ != nullptr;
16161 }
has_name()16162 inline bool Attribute_Symbol::has_name() const {
16163   return _internal_has_name();
16164 }
clear_name()16165 inline void Attribute_Symbol::clear_name() {
16166   if (GetArenaForAllocation() == nullptr && _impl_.name_ != nullptr) {
16167     delete _impl_.name_;
16168   }
16169   _impl_.name_ = nullptr;
16170 }
_internal_name()16171 inline const ::aapt::pb::Reference& Attribute_Symbol::_internal_name() const {
16172   const ::aapt::pb::Reference* p = _impl_.name_;
16173   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Reference&>(
16174       ::aapt::pb::_Reference_default_instance_);
16175 }
name()16176 inline const ::aapt::pb::Reference& Attribute_Symbol::name() const {
16177   // @@protoc_insertion_point(field_get:aapt.pb.Attribute.Symbol.name)
16178   return _internal_name();
16179 }
unsafe_arena_set_allocated_name(::aapt::pb::Reference * name)16180 inline void Attribute_Symbol::unsafe_arena_set_allocated_name(
16181     ::aapt::pb::Reference* name) {
16182   if (GetArenaForAllocation() == nullptr) {
16183     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.name_);
16184   }
16185   _impl_.name_ = name;
16186   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Attribute.Symbol.name)
16187 }
release_name()16188 inline ::aapt::pb::Reference* Attribute_Symbol::release_name() {
16189 
16190   ::aapt::pb::Reference* temp = _impl_.name_;
16191   _impl_.name_ = nullptr;
16192 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
16193   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
16194   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
16195   if (GetArenaForAllocation() == nullptr) { delete old; }
16196 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
16197   if (GetArenaForAllocation() != nullptr) {
16198     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
16199   }
16200 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
16201   return temp;
16202 }
unsafe_arena_release_name()16203 inline ::aapt::pb::Reference* Attribute_Symbol::unsafe_arena_release_name() {
16204   // @@protoc_insertion_point(field_release:aapt.pb.Attribute.Symbol.name)
16205 
16206   ::aapt::pb::Reference* temp = _impl_.name_;
16207   _impl_.name_ = nullptr;
16208   return temp;
16209 }
_internal_mutable_name()16210 inline ::aapt::pb::Reference* Attribute_Symbol::_internal_mutable_name() {
16211 
16212   if (_impl_.name_ == nullptr) {
16213     auto* p = CreateMaybeMessage<::aapt::pb::Reference>(GetArenaForAllocation());
16214     _impl_.name_ = p;
16215   }
16216   return _impl_.name_;
16217 }
mutable_name()16218 inline ::aapt::pb::Reference* Attribute_Symbol::mutable_name() {
16219   ::aapt::pb::Reference* _msg = _internal_mutable_name();
16220   // @@protoc_insertion_point(field_mutable:aapt.pb.Attribute.Symbol.name)
16221   return _msg;
16222 }
set_allocated_name(::aapt::pb::Reference * name)16223 inline void Attribute_Symbol::set_allocated_name(::aapt::pb::Reference* name) {
16224   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
16225   if (message_arena == nullptr) {
16226     delete _impl_.name_;
16227   }
16228   if (name) {
16229     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
16230         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(name);
16231     if (message_arena != submessage_arena) {
16232       name = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
16233           message_arena, name, submessage_arena);
16234     }
16235 
16236   } else {
16237 
16238   }
16239   _impl_.name_ = name;
16240   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Attribute.Symbol.name)
16241 }
16242 
16243 // uint32 value = 4;
clear_value()16244 inline void Attribute_Symbol::clear_value() {
16245   _impl_.value_ = 0u;
16246 }
_internal_value()16247 inline ::uint32_t Attribute_Symbol::_internal_value() const {
16248   return _impl_.value_;
16249 }
value()16250 inline ::uint32_t Attribute_Symbol::value() const {
16251   // @@protoc_insertion_point(field_get:aapt.pb.Attribute.Symbol.value)
16252   return _internal_value();
16253 }
_internal_set_value(::uint32_t value)16254 inline void Attribute_Symbol::_internal_set_value(::uint32_t value) {
16255 
16256   _impl_.value_ = value;
16257 }
set_value(::uint32_t value)16258 inline void Attribute_Symbol::set_value(::uint32_t value) {
16259   _internal_set_value(value);
16260   // @@protoc_insertion_point(field_set:aapt.pb.Attribute.Symbol.value)
16261 }
16262 
16263 // uint32 type = 5;
clear_type()16264 inline void Attribute_Symbol::clear_type() {
16265   _impl_.type_ = 0u;
16266 }
_internal_type()16267 inline ::uint32_t Attribute_Symbol::_internal_type() const {
16268   return _impl_.type_;
16269 }
type()16270 inline ::uint32_t Attribute_Symbol::type() const {
16271   // @@protoc_insertion_point(field_get:aapt.pb.Attribute.Symbol.type)
16272   return _internal_type();
16273 }
_internal_set_type(::uint32_t value)16274 inline void Attribute_Symbol::_internal_set_type(::uint32_t value) {
16275 
16276   _impl_.type_ = value;
16277 }
set_type(::uint32_t value)16278 inline void Attribute_Symbol::set_type(::uint32_t value) {
16279   _internal_set_type(value);
16280   // @@protoc_insertion_point(field_set:aapt.pb.Attribute.Symbol.type)
16281 }
16282 
16283 // -------------------------------------------------------------------
16284 
16285 // Attribute
16286 
16287 // uint32 format_flags = 1;
clear_format_flags()16288 inline void Attribute::clear_format_flags() {
16289   _impl_.format_flags_ = 0u;
16290 }
_internal_format_flags()16291 inline ::uint32_t Attribute::_internal_format_flags() const {
16292   return _impl_.format_flags_;
16293 }
format_flags()16294 inline ::uint32_t Attribute::format_flags() const {
16295   // @@protoc_insertion_point(field_get:aapt.pb.Attribute.format_flags)
16296   return _internal_format_flags();
16297 }
_internal_set_format_flags(::uint32_t value)16298 inline void Attribute::_internal_set_format_flags(::uint32_t value) {
16299 
16300   _impl_.format_flags_ = value;
16301 }
set_format_flags(::uint32_t value)16302 inline void Attribute::set_format_flags(::uint32_t value) {
16303   _internal_set_format_flags(value);
16304   // @@protoc_insertion_point(field_set:aapt.pb.Attribute.format_flags)
16305 }
16306 
16307 // int32 min_int = 2;
clear_min_int()16308 inline void Attribute::clear_min_int() {
16309   _impl_.min_int_ = 0;
16310 }
_internal_min_int()16311 inline ::int32_t Attribute::_internal_min_int() const {
16312   return _impl_.min_int_;
16313 }
min_int()16314 inline ::int32_t Attribute::min_int() const {
16315   // @@protoc_insertion_point(field_get:aapt.pb.Attribute.min_int)
16316   return _internal_min_int();
16317 }
_internal_set_min_int(::int32_t value)16318 inline void Attribute::_internal_set_min_int(::int32_t value) {
16319 
16320   _impl_.min_int_ = value;
16321 }
set_min_int(::int32_t value)16322 inline void Attribute::set_min_int(::int32_t value) {
16323   _internal_set_min_int(value);
16324   // @@protoc_insertion_point(field_set:aapt.pb.Attribute.min_int)
16325 }
16326 
16327 // int32 max_int = 3;
clear_max_int()16328 inline void Attribute::clear_max_int() {
16329   _impl_.max_int_ = 0;
16330 }
_internal_max_int()16331 inline ::int32_t Attribute::_internal_max_int() const {
16332   return _impl_.max_int_;
16333 }
max_int()16334 inline ::int32_t Attribute::max_int() const {
16335   // @@protoc_insertion_point(field_get:aapt.pb.Attribute.max_int)
16336   return _internal_max_int();
16337 }
_internal_set_max_int(::int32_t value)16338 inline void Attribute::_internal_set_max_int(::int32_t value) {
16339 
16340   _impl_.max_int_ = value;
16341 }
set_max_int(::int32_t value)16342 inline void Attribute::set_max_int(::int32_t value) {
16343   _internal_set_max_int(value);
16344   // @@protoc_insertion_point(field_set:aapt.pb.Attribute.max_int)
16345 }
16346 
16347 // repeated .aapt.pb.Attribute.Symbol symbol = 4;
_internal_symbol_size()16348 inline int Attribute::_internal_symbol_size() const {
16349   return _impl_.symbol_.size();
16350 }
symbol_size()16351 inline int Attribute::symbol_size() const {
16352   return _internal_symbol_size();
16353 }
clear_symbol()16354 inline void Attribute::clear_symbol() {
16355   _impl_.symbol_.Clear();
16356 }
mutable_symbol(int index)16357 inline ::aapt::pb::Attribute_Symbol* Attribute::mutable_symbol(int index) {
16358   // @@protoc_insertion_point(field_mutable:aapt.pb.Attribute.symbol)
16359   return _impl_.symbol_.Mutable(index);
16360 }
16361 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Attribute_Symbol >*
mutable_symbol()16362 Attribute::mutable_symbol() {
16363   // @@protoc_insertion_point(field_mutable_list:aapt.pb.Attribute.symbol)
16364   return &_impl_.symbol_;
16365 }
_internal_symbol(int index)16366 inline const ::aapt::pb::Attribute_Symbol& Attribute::_internal_symbol(int index) const {
16367   return _impl_.symbol_.Get(index);
16368 }
symbol(int index)16369 inline const ::aapt::pb::Attribute_Symbol& Attribute::symbol(int index) const {
16370   // @@protoc_insertion_point(field_get:aapt.pb.Attribute.symbol)
16371   return _internal_symbol(index);
16372 }
_internal_add_symbol()16373 inline ::aapt::pb::Attribute_Symbol* Attribute::_internal_add_symbol() {
16374   return _impl_.symbol_.Add();
16375 }
add_symbol()16376 inline ::aapt::pb::Attribute_Symbol* Attribute::add_symbol() {
16377   ::aapt::pb::Attribute_Symbol* _add = _internal_add_symbol();
16378   // @@protoc_insertion_point(field_add:aapt.pb.Attribute.symbol)
16379   return _add;
16380 }
16381 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Attribute_Symbol >&
symbol()16382 Attribute::symbol() const {
16383   // @@protoc_insertion_point(field_list:aapt.pb.Attribute.symbol)
16384   return _impl_.symbol_;
16385 }
16386 
16387 // -------------------------------------------------------------------
16388 
16389 // Style_Entry
16390 
16391 // .aapt.pb.Source source = 1;
_internal_has_source()16392 inline bool Style_Entry::_internal_has_source() const {
16393   return this != internal_default_instance() && _impl_.source_ != nullptr;
16394 }
has_source()16395 inline bool Style_Entry::has_source() const {
16396   return _internal_has_source();
16397 }
clear_source()16398 inline void Style_Entry::clear_source() {
16399   if (GetArenaForAllocation() == nullptr && _impl_.source_ != nullptr) {
16400     delete _impl_.source_;
16401   }
16402   _impl_.source_ = nullptr;
16403 }
_internal_source()16404 inline const ::aapt::pb::Source& Style_Entry::_internal_source() const {
16405   const ::aapt::pb::Source* p = _impl_.source_;
16406   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Source&>(
16407       ::aapt::pb::_Source_default_instance_);
16408 }
source()16409 inline const ::aapt::pb::Source& Style_Entry::source() const {
16410   // @@protoc_insertion_point(field_get:aapt.pb.Style.Entry.source)
16411   return _internal_source();
16412 }
unsafe_arena_set_allocated_source(::aapt::pb::Source * source)16413 inline void Style_Entry::unsafe_arena_set_allocated_source(
16414     ::aapt::pb::Source* source) {
16415   if (GetArenaForAllocation() == nullptr) {
16416     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_);
16417   }
16418   _impl_.source_ = source;
16419   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Style.Entry.source)
16420 }
release_source()16421 inline ::aapt::pb::Source* Style_Entry::release_source() {
16422 
16423   ::aapt::pb::Source* temp = _impl_.source_;
16424   _impl_.source_ = nullptr;
16425 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
16426   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
16427   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
16428   if (GetArenaForAllocation() == nullptr) { delete old; }
16429 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
16430   if (GetArenaForAllocation() != nullptr) {
16431     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
16432   }
16433 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
16434   return temp;
16435 }
unsafe_arena_release_source()16436 inline ::aapt::pb::Source* Style_Entry::unsafe_arena_release_source() {
16437   // @@protoc_insertion_point(field_release:aapt.pb.Style.Entry.source)
16438 
16439   ::aapt::pb::Source* temp = _impl_.source_;
16440   _impl_.source_ = nullptr;
16441   return temp;
16442 }
_internal_mutable_source()16443 inline ::aapt::pb::Source* Style_Entry::_internal_mutable_source() {
16444 
16445   if (_impl_.source_ == nullptr) {
16446     auto* p = CreateMaybeMessage<::aapt::pb::Source>(GetArenaForAllocation());
16447     _impl_.source_ = p;
16448   }
16449   return _impl_.source_;
16450 }
mutable_source()16451 inline ::aapt::pb::Source* Style_Entry::mutable_source() {
16452   ::aapt::pb::Source* _msg = _internal_mutable_source();
16453   // @@protoc_insertion_point(field_mutable:aapt.pb.Style.Entry.source)
16454   return _msg;
16455 }
set_allocated_source(::aapt::pb::Source * source)16456 inline void Style_Entry::set_allocated_source(::aapt::pb::Source* source) {
16457   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
16458   if (message_arena == nullptr) {
16459     delete _impl_.source_;
16460   }
16461   if (source) {
16462     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
16463         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source);
16464     if (message_arena != submessage_arena) {
16465       source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
16466           message_arena, source, submessage_arena);
16467     }
16468 
16469   } else {
16470 
16471   }
16472   _impl_.source_ = source;
16473   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Style.Entry.source)
16474 }
16475 
16476 // string comment = 2;
clear_comment()16477 inline void Style_Entry::clear_comment() {
16478   _impl_.comment_.ClearToEmpty();
16479 }
comment()16480 inline const std::string& Style_Entry::comment() const {
16481   // @@protoc_insertion_point(field_get:aapt.pb.Style.Entry.comment)
16482   return _internal_comment();
16483 }
16484 template <typename ArgT0, typename... ArgT>
16485 inline PROTOBUF_ALWAYS_INLINE
set_comment(ArgT0 && arg0,ArgT...args)16486 void Style_Entry::set_comment(ArgT0&& arg0, ArgT... args) {
16487 
16488  _impl_.comment_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
16489   // @@protoc_insertion_point(field_set:aapt.pb.Style.Entry.comment)
16490 }
mutable_comment()16491 inline std::string* Style_Entry::mutable_comment() {
16492   std::string* _s = _internal_mutable_comment();
16493   // @@protoc_insertion_point(field_mutable:aapt.pb.Style.Entry.comment)
16494   return _s;
16495 }
_internal_comment()16496 inline const std::string& Style_Entry::_internal_comment() const {
16497   return _impl_.comment_.Get();
16498 }
_internal_set_comment(const std::string & value)16499 inline void Style_Entry::_internal_set_comment(const std::string& value) {
16500 
16501   _impl_.comment_.Set(value, GetArenaForAllocation());
16502 }
_internal_mutable_comment()16503 inline std::string* Style_Entry::_internal_mutable_comment() {
16504 
16505   return _impl_.comment_.Mutable(GetArenaForAllocation());
16506 }
release_comment()16507 inline std::string* Style_Entry::release_comment() {
16508   // @@protoc_insertion_point(field_release:aapt.pb.Style.Entry.comment)
16509   return _impl_.comment_.Release();
16510 }
set_allocated_comment(std::string * comment)16511 inline void Style_Entry::set_allocated_comment(std::string* comment) {
16512   _impl_.comment_.SetAllocated(comment, GetArenaForAllocation());
16513 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
16514   if (_impl_.comment_.IsDefault()) {
16515     _impl_.comment_.Set("", GetArenaForAllocation());
16516   }
16517 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
16518   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Style.Entry.comment)
16519 }
16520 
16521 // .aapt.pb.Reference key = 3;
_internal_has_key()16522 inline bool Style_Entry::_internal_has_key() const {
16523   return this != internal_default_instance() && _impl_.key_ != nullptr;
16524 }
has_key()16525 inline bool Style_Entry::has_key() const {
16526   return _internal_has_key();
16527 }
clear_key()16528 inline void Style_Entry::clear_key() {
16529   if (GetArenaForAllocation() == nullptr && _impl_.key_ != nullptr) {
16530     delete _impl_.key_;
16531   }
16532   _impl_.key_ = nullptr;
16533 }
_internal_key()16534 inline const ::aapt::pb::Reference& Style_Entry::_internal_key() const {
16535   const ::aapt::pb::Reference* p = _impl_.key_;
16536   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Reference&>(
16537       ::aapt::pb::_Reference_default_instance_);
16538 }
key()16539 inline const ::aapt::pb::Reference& Style_Entry::key() const {
16540   // @@protoc_insertion_point(field_get:aapt.pb.Style.Entry.key)
16541   return _internal_key();
16542 }
unsafe_arena_set_allocated_key(::aapt::pb::Reference * key)16543 inline void Style_Entry::unsafe_arena_set_allocated_key(
16544     ::aapt::pb::Reference* key) {
16545   if (GetArenaForAllocation() == nullptr) {
16546     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.key_);
16547   }
16548   _impl_.key_ = key;
16549   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Style.Entry.key)
16550 }
release_key()16551 inline ::aapt::pb::Reference* Style_Entry::release_key() {
16552 
16553   ::aapt::pb::Reference* temp = _impl_.key_;
16554   _impl_.key_ = nullptr;
16555 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
16556   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
16557   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
16558   if (GetArenaForAllocation() == nullptr) { delete old; }
16559 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
16560   if (GetArenaForAllocation() != nullptr) {
16561     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
16562   }
16563 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
16564   return temp;
16565 }
unsafe_arena_release_key()16566 inline ::aapt::pb::Reference* Style_Entry::unsafe_arena_release_key() {
16567   // @@protoc_insertion_point(field_release:aapt.pb.Style.Entry.key)
16568 
16569   ::aapt::pb::Reference* temp = _impl_.key_;
16570   _impl_.key_ = nullptr;
16571   return temp;
16572 }
_internal_mutable_key()16573 inline ::aapt::pb::Reference* Style_Entry::_internal_mutable_key() {
16574 
16575   if (_impl_.key_ == nullptr) {
16576     auto* p = CreateMaybeMessage<::aapt::pb::Reference>(GetArenaForAllocation());
16577     _impl_.key_ = p;
16578   }
16579   return _impl_.key_;
16580 }
mutable_key()16581 inline ::aapt::pb::Reference* Style_Entry::mutable_key() {
16582   ::aapt::pb::Reference* _msg = _internal_mutable_key();
16583   // @@protoc_insertion_point(field_mutable:aapt.pb.Style.Entry.key)
16584   return _msg;
16585 }
set_allocated_key(::aapt::pb::Reference * key)16586 inline void Style_Entry::set_allocated_key(::aapt::pb::Reference* key) {
16587   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
16588   if (message_arena == nullptr) {
16589     delete _impl_.key_;
16590   }
16591   if (key) {
16592     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
16593         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(key);
16594     if (message_arena != submessage_arena) {
16595       key = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
16596           message_arena, key, submessage_arena);
16597     }
16598 
16599   } else {
16600 
16601   }
16602   _impl_.key_ = key;
16603   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Style.Entry.key)
16604 }
16605 
16606 // .aapt.pb.Item item = 4;
_internal_has_item()16607 inline bool Style_Entry::_internal_has_item() const {
16608   return this != internal_default_instance() && _impl_.item_ != nullptr;
16609 }
has_item()16610 inline bool Style_Entry::has_item() const {
16611   return _internal_has_item();
16612 }
clear_item()16613 inline void Style_Entry::clear_item() {
16614   if (GetArenaForAllocation() == nullptr && _impl_.item_ != nullptr) {
16615     delete _impl_.item_;
16616   }
16617   _impl_.item_ = nullptr;
16618 }
_internal_item()16619 inline const ::aapt::pb::Item& Style_Entry::_internal_item() const {
16620   const ::aapt::pb::Item* p = _impl_.item_;
16621   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Item&>(
16622       ::aapt::pb::_Item_default_instance_);
16623 }
item()16624 inline const ::aapt::pb::Item& Style_Entry::item() const {
16625   // @@protoc_insertion_point(field_get:aapt.pb.Style.Entry.item)
16626   return _internal_item();
16627 }
unsafe_arena_set_allocated_item(::aapt::pb::Item * item)16628 inline void Style_Entry::unsafe_arena_set_allocated_item(
16629     ::aapt::pb::Item* item) {
16630   if (GetArenaForAllocation() == nullptr) {
16631     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.item_);
16632   }
16633   _impl_.item_ = item;
16634   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Style.Entry.item)
16635 }
release_item()16636 inline ::aapt::pb::Item* Style_Entry::release_item() {
16637 
16638   ::aapt::pb::Item* temp = _impl_.item_;
16639   _impl_.item_ = nullptr;
16640 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
16641   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
16642   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
16643   if (GetArenaForAllocation() == nullptr) { delete old; }
16644 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
16645   if (GetArenaForAllocation() != nullptr) {
16646     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
16647   }
16648 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
16649   return temp;
16650 }
unsafe_arena_release_item()16651 inline ::aapt::pb::Item* Style_Entry::unsafe_arena_release_item() {
16652   // @@protoc_insertion_point(field_release:aapt.pb.Style.Entry.item)
16653 
16654   ::aapt::pb::Item* temp = _impl_.item_;
16655   _impl_.item_ = nullptr;
16656   return temp;
16657 }
_internal_mutable_item()16658 inline ::aapt::pb::Item* Style_Entry::_internal_mutable_item() {
16659 
16660   if (_impl_.item_ == nullptr) {
16661     auto* p = CreateMaybeMessage<::aapt::pb::Item>(GetArenaForAllocation());
16662     _impl_.item_ = p;
16663   }
16664   return _impl_.item_;
16665 }
mutable_item()16666 inline ::aapt::pb::Item* Style_Entry::mutable_item() {
16667   ::aapt::pb::Item* _msg = _internal_mutable_item();
16668   // @@protoc_insertion_point(field_mutable:aapt.pb.Style.Entry.item)
16669   return _msg;
16670 }
set_allocated_item(::aapt::pb::Item * item)16671 inline void Style_Entry::set_allocated_item(::aapt::pb::Item* item) {
16672   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
16673   if (message_arena == nullptr) {
16674     delete _impl_.item_;
16675   }
16676   if (item) {
16677     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
16678         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(item);
16679     if (message_arena != submessage_arena) {
16680       item = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
16681           message_arena, item, submessage_arena);
16682     }
16683 
16684   } else {
16685 
16686   }
16687   _impl_.item_ = item;
16688   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Style.Entry.item)
16689 }
16690 
16691 // -------------------------------------------------------------------
16692 
16693 // Style
16694 
16695 // .aapt.pb.Reference parent = 1;
_internal_has_parent()16696 inline bool Style::_internal_has_parent() const {
16697   return this != internal_default_instance() && _impl_.parent_ != nullptr;
16698 }
has_parent()16699 inline bool Style::has_parent() const {
16700   return _internal_has_parent();
16701 }
clear_parent()16702 inline void Style::clear_parent() {
16703   if (GetArenaForAllocation() == nullptr && _impl_.parent_ != nullptr) {
16704     delete _impl_.parent_;
16705   }
16706   _impl_.parent_ = nullptr;
16707 }
_internal_parent()16708 inline const ::aapt::pb::Reference& Style::_internal_parent() const {
16709   const ::aapt::pb::Reference* p = _impl_.parent_;
16710   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Reference&>(
16711       ::aapt::pb::_Reference_default_instance_);
16712 }
parent()16713 inline const ::aapt::pb::Reference& Style::parent() const {
16714   // @@protoc_insertion_point(field_get:aapt.pb.Style.parent)
16715   return _internal_parent();
16716 }
unsafe_arena_set_allocated_parent(::aapt::pb::Reference * parent)16717 inline void Style::unsafe_arena_set_allocated_parent(
16718     ::aapt::pb::Reference* parent) {
16719   if (GetArenaForAllocation() == nullptr) {
16720     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.parent_);
16721   }
16722   _impl_.parent_ = parent;
16723   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Style.parent)
16724 }
release_parent()16725 inline ::aapt::pb::Reference* Style::release_parent() {
16726 
16727   ::aapt::pb::Reference* temp = _impl_.parent_;
16728   _impl_.parent_ = nullptr;
16729 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
16730   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
16731   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
16732   if (GetArenaForAllocation() == nullptr) { delete old; }
16733 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
16734   if (GetArenaForAllocation() != nullptr) {
16735     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
16736   }
16737 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
16738   return temp;
16739 }
unsafe_arena_release_parent()16740 inline ::aapt::pb::Reference* Style::unsafe_arena_release_parent() {
16741   // @@protoc_insertion_point(field_release:aapt.pb.Style.parent)
16742 
16743   ::aapt::pb::Reference* temp = _impl_.parent_;
16744   _impl_.parent_ = nullptr;
16745   return temp;
16746 }
_internal_mutable_parent()16747 inline ::aapt::pb::Reference* Style::_internal_mutable_parent() {
16748 
16749   if (_impl_.parent_ == nullptr) {
16750     auto* p = CreateMaybeMessage<::aapt::pb::Reference>(GetArenaForAllocation());
16751     _impl_.parent_ = p;
16752   }
16753   return _impl_.parent_;
16754 }
mutable_parent()16755 inline ::aapt::pb::Reference* Style::mutable_parent() {
16756   ::aapt::pb::Reference* _msg = _internal_mutable_parent();
16757   // @@protoc_insertion_point(field_mutable:aapt.pb.Style.parent)
16758   return _msg;
16759 }
set_allocated_parent(::aapt::pb::Reference * parent)16760 inline void Style::set_allocated_parent(::aapt::pb::Reference* parent) {
16761   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
16762   if (message_arena == nullptr) {
16763     delete _impl_.parent_;
16764   }
16765   if (parent) {
16766     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
16767         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(parent);
16768     if (message_arena != submessage_arena) {
16769       parent = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
16770           message_arena, parent, submessage_arena);
16771     }
16772 
16773   } else {
16774 
16775   }
16776   _impl_.parent_ = parent;
16777   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Style.parent)
16778 }
16779 
16780 // .aapt.pb.Source parent_source = 2;
_internal_has_parent_source()16781 inline bool Style::_internal_has_parent_source() const {
16782   return this != internal_default_instance() && _impl_.parent_source_ != nullptr;
16783 }
has_parent_source()16784 inline bool Style::has_parent_source() const {
16785   return _internal_has_parent_source();
16786 }
clear_parent_source()16787 inline void Style::clear_parent_source() {
16788   if (GetArenaForAllocation() == nullptr && _impl_.parent_source_ != nullptr) {
16789     delete _impl_.parent_source_;
16790   }
16791   _impl_.parent_source_ = nullptr;
16792 }
_internal_parent_source()16793 inline const ::aapt::pb::Source& Style::_internal_parent_source() const {
16794   const ::aapt::pb::Source* p = _impl_.parent_source_;
16795   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Source&>(
16796       ::aapt::pb::_Source_default_instance_);
16797 }
parent_source()16798 inline const ::aapt::pb::Source& Style::parent_source() const {
16799   // @@protoc_insertion_point(field_get:aapt.pb.Style.parent_source)
16800   return _internal_parent_source();
16801 }
unsafe_arena_set_allocated_parent_source(::aapt::pb::Source * parent_source)16802 inline void Style::unsafe_arena_set_allocated_parent_source(
16803     ::aapt::pb::Source* parent_source) {
16804   if (GetArenaForAllocation() == nullptr) {
16805     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.parent_source_);
16806   }
16807   _impl_.parent_source_ = parent_source;
16808   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Style.parent_source)
16809 }
release_parent_source()16810 inline ::aapt::pb::Source* Style::release_parent_source() {
16811 
16812   ::aapt::pb::Source* temp = _impl_.parent_source_;
16813   _impl_.parent_source_ = nullptr;
16814 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
16815   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
16816   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
16817   if (GetArenaForAllocation() == nullptr) { delete old; }
16818 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
16819   if (GetArenaForAllocation() != nullptr) {
16820     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
16821   }
16822 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
16823   return temp;
16824 }
unsafe_arena_release_parent_source()16825 inline ::aapt::pb::Source* Style::unsafe_arena_release_parent_source() {
16826   // @@protoc_insertion_point(field_release:aapt.pb.Style.parent_source)
16827 
16828   ::aapt::pb::Source* temp = _impl_.parent_source_;
16829   _impl_.parent_source_ = nullptr;
16830   return temp;
16831 }
_internal_mutable_parent_source()16832 inline ::aapt::pb::Source* Style::_internal_mutable_parent_source() {
16833 
16834   if (_impl_.parent_source_ == nullptr) {
16835     auto* p = CreateMaybeMessage<::aapt::pb::Source>(GetArenaForAllocation());
16836     _impl_.parent_source_ = p;
16837   }
16838   return _impl_.parent_source_;
16839 }
mutable_parent_source()16840 inline ::aapt::pb::Source* Style::mutable_parent_source() {
16841   ::aapt::pb::Source* _msg = _internal_mutable_parent_source();
16842   // @@protoc_insertion_point(field_mutable:aapt.pb.Style.parent_source)
16843   return _msg;
16844 }
set_allocated_parent_source(::aapt::pb::Source * parent_source)16845 inline void Style::set_allocated_parent_source(::aapt::pb::Source* parent_source) {
16846   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
16847   if (message_arena == nullptr) {
16848     delete _impl_.parent_source_;
16849   }
16850   if (parent_source) {
16851     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
16852         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(parent_source);
16853     if (message_arena != submessage_arena) {
16854       parent_source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
16855           message_arena, parent_source, submessage_arena);
16856     }
16857 
16858   } else {
16859 
16860   }
16861   _impl_.parent_source_ = parent_source;
16862   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Style.parent_source)
16863 }
16864 
16865 // repeated .aapt.pb.Style.Entry entry = 3;
_internal_entry_size()16866 inline int Style::_internal_entry_size() const {
16867   return _impl_.entry_.size();
16868 }
entry_size()16869 inline int Style::entry_size() const {
16870   return _internal_entry_size();
16871 }
clear_entry()16872 inline void Style::clear_entry() {
16873   _impl_.entry_.Clear();
16874 }
mutable_entry(int index)16875 inline ::aapt::pb::Style_Entry* Style::mutable_entry(int index) {
16876   // @@protoc_insertion_point(field_mutable:aapt.pb.Style.entry)
16877   return _impl_.entry_.Mutable(index);
16878 }
16879 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Style_Entry >*
mutable_entry()16880 Style::mutable_entry() {
16881   // @@protoc_insertion_point(field_mutable_list:aapt.pb.Style.entry)
16882   return &_impl_.entry_;
16883 }
_internal_entry(int index)16884 inline const ::aapt::pb::Style_Entry& Style::_internal_entry(int index) const {
16885   return _impl_.entry_.Get(index);
16886 }
entry(int index)16887 inline const ::aapt::pb::Style_Entry& Style::entry(int index) const {
16888   // @@protoc_insertion_point(field_get:aapt.pb.Style.entry)
16889   return _internal_entry(index);
16890 }
_internal_add_entry()16891 inline ::aapt::pb::Style_Entry* Style::_internal_add_entry() {
16892   return _impl_.entry_.Add();
16893 }
add_entry()16894 inline ::aapt::pb::Style_Entry* Style::add_entry() {
16895   ::aapt::pb::Style_Entry* _add = _internal_add_entry();
16896   // @@protoc_insertion_point(field_add:aapt.pb.Style.entry)
16897   return _add;
16898 }
16899 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Style_Entry >&
entry()16900 Style::entry() const {
16901   // @@protoc_insertion_point(field_list:aapt.pb.Style.entry)
16902   return _impl_.entry_;
16903 }
16904 
16905 // -------------------------------------------------------------------
16906 
16907 // Styleable_Entry
16908 
16909 // .aapt.pb.Source source = 1;
_internal_has_source()16910 inline bool Styleable_Entry::_internal_has_source() const {
16911   return this != internal_default_instance() && _impl_.source_ != nullptr;
16912 }
has_source()16913 inline bool Styleable_Entry::has_source() const {
16914   return _internal_has_source();
16915 }
clear_source()16916 inline void Styleable_Entry::clear_source() {
16917   if (GetArenaForAllocation() == nullptr && _impl_.source_ != nullptr) {
16918     delete _impl_.source_;
16919   }
16920   _impl_.source_ = nullptr;
16921 }
_internal_source()16922 inline const ::aapt::pb::Source& Styleable_Entry::_internal_source() const {
16923   const ::aapt::pb::Source* p = _impl_.source_;
16924   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Source&>(
16925       ::aapt::pb::_Source_default_instance_);
16926 }
source()16927 inline const ::aapt::pb::Source& Styleable_Entry::source() const {
16928   // @@protoc_insertion_point(field_get:aapt.pb.Styleable.Entry.source)
16929   return _internal_source();
16930 }
unsafe_arena_set_allocated_source(::aapt::pb::Source * source)16931 inline void Styleable_Entry::unsafe_arena_set_allocated_source(
16932     ::aapt::pb::Source* source) {
16933   if (GetArenaForAllocation() == nullptr) {
16934     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_);
16935   }
16936   _impl_.source_ = source;
16937   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Styleable.Entry.source)
16938 }
release_source()16939 inline ::aapt::pb::Source* Styleable_Entry::release_source() {
16940 
16941   ::aapt::pb::Source* temp = _impl_.source_;
16942   _impl_.source_ = nullptr;
16943 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
16944   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
16945   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
16946   if (GetArenaForAllocation() == nullptr) { delete old; }
16947 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
16948   if (GetArenaForAllocation() != nullptr) {
16949     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
16950   }
16951 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
16952   return temp;
16953 }
unsafe_arena_release_source()16954 inline ::aapt::pb::Source* Styleable_Entry::unsafe_arena_release_source() {
16955   // @@protoc_insertion_point(field_release:aapt.pb.Styleable.Entry.source)
16956 
16957   ::aapt::pb::Source* temp = _impl_.source_;
16958   _impl_.source_ = nullptr;
16959   return temp;
16960 }
_internal_mutable_source()16961 inline ::aapt::pb::Source* Styleable_Entry::_internal_mutable_source() {
16962 
16963   if (_impl_.source_ == nullptr) {
16964     auto* p = CreateMaybeMessage<::aapt::pb::Source>(GetArenaForAllocation());
16965     _impl_.source_ = p;
16966   }
16967   return _impl_.source_;
16968 }
mutable_source()16969 inline ::aapt::pb::Source* Styleable_Entry::mutable_source() {
16970   ::aapt::pb::Source* _msg = _internal_mutable_source();
16971   // @@protoc_insertion_point(field_mutable:aapt.pb.Styleable.Entry.source)
16972   return _msg;
16973 }
set_allocated_source(::aapt::pb::Source * source)16974 inline void Styleable_Entry::set_allocated_source(::aapt::pb::Source* source) {
16975   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
16976   if (message_arena == nullptr) {
16977     delete _impl_.source_;
16978   }
16979   if (source) {
16980     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
16981         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source);
16982     if (message_arena != submessage_arena) {
16983       source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
16984           message_arena, source, submessage_arena);
16985     }
16986 
16987   } else {
16988 
16989   }
16990   _impl_.source_ = source;
16991   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Styleable.Entry.source)
16992 }
16993 
16994 // string comment = 2;
clear_comment()16995 inline void Styleable_Entry::clear_comment() {
16996   _impl_.comment_.ClearToEmpty();
16997 }
comment()16998 inline const std::string& Styleable_Entry::comment() const {
16999   // @@protoc_insertion_point(field_get:aapt.pb.Styleable.Entry.comment)
17000   return _internal_comment();
17001 }
17002 template <typename ArgT0, typename... ArgT>
17003 inline PROTOBUF_ALWAYS_INLINE
set_comment(ArgT0 && arg0,ArgT...args)17004 void Styleable_Entry::set_comment(ArgT0&& arg0, ArgT... args) {
17005 
17006  _impl_.comment_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
17007   // @@protoc_insertion_point(field_set:aapt.pb.Styleable.Entry.comment)
17008 }
mutable_comment()17009 inline std::string* Styleable_Entry::mutable_comment() {
17010   std::string* _s = _internal_mutable_comment();
17011   // @@protoc_insertion_point(field_mutable:aapt.pb.Styleable.Entry.comment)
17012   return _s;
17013 }
_internal_comment()17014 inline const std::string& Styleable_Entry::_internal_comment() const {
17015   return _impl_.comment_.Get();
17016 }
_internal_set_comment(const std::string & value)17017 inline void Styleable_Entry::_internal_set_comment(const std::string& value) {
17018 
17019   _impl_.comment_.Set(value, GetArenaForAllocation());
17020 }
_internal_mutable_comment()17021 inline std::string* Styleable_Entry::_internal_mutable_comment() {
17022 
17023   return _impl_.comment_.Mutable(GetArenaForAllocation());
17024 }
release_comment()17025 inline std::string* Styleable_Entry::release_comment() {
17026   // @@protoc_insertion_point(field_release:aapt.pb.Styleable.Entry.comment)
17027   return _impl_.comment_.Release();
17028 }
set_allocated_comment(std::string * comment)17029 inline void Styleable_Entry::set_allocated_comment(std::string* comment) {
17030   _impl_.comment_.SetAllocated(comment, GetArenaForAllocation());
17031 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
17032   if (_impl_.comment_.IsDefault()) {
17033     _impl_.comment_.Set("", GetArenaForAllocation());
17034   }
17035 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
17036   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Styleable.Entry.comment)
17037 }
17038 
17039 // .aapt.pb.Reference attr = 3;
_internal_has_attr()17040 inline bool Styleable_Entry::_internal_has_attr() const {
17041   return this != internal_default_instance() && _impl_.attr_ != nullptr;
17042 }
has_attr()17043 inline bool Styleable_Entry::has_attr() const {
17044   return _internal_has_attr();
17045 }
clear_attr()17046 inline void Styleable_Entry::clear_attr() {
17047   if (GetArenaForAllocation() == nullptr && _impl_.attr_ != nullptr) {
17048     delete _impl_.attr_;
17049   }
17050   _impl_.attr_ = nullptr;
17051 }
_internal_attr()17052 inline const ::aapt::pb::Reference& Styleable_Entry::_internal_attr() const {
17053   const ::aapt::pb::Reference* p = _impl_.attr_;
17054   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Reference&>(
17055       ::aapt::pb::_Reference_default_instance_);
17056 }
attr()17057 inline const ::aapt::pb::Reference& Styleable_Entry::attr() const {
17058   // @@protoc_insertion_point(field_get:aapt.pb.Styleable.Entry.attr)
17059   return _internal_attr();
17060 }
unsafe_arena_set_allocated_attr(::aapt::pb::Reference * attr)17061 inline void Styleable_Entry::unsafe_arena_set_allocated_attr(
17062     ::aapt::pb::Reference* attr) {
17063   if (GetArenaForAllocation() == nullptr) {
17064     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.attr_);
17065   }
17066   _impl_.attr_ = attr;
17067   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Styleable.Entry.attr)
17068 }
release_attr()17069 inline ::aapt::pb::Reference* Styleable_Entry::release_attr() {
17070 
17071   ::aapt::pb::Reference* temp = _impl_.attr_;
17072   _impl_.attr_ = nullptr;
17073 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
17074   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
17075   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
17076   if (GetArenaForAllocation() == nullptr) { delete old; }
17077 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
17078   if (GetArenaForAllocation() != nullptr) {
17079     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
17080   }
17081 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
17082   return temp;
17083 }
unsafe_arena_release_attr()17084 inline ::aapt::pb::Reference* Styleable_Entry::unsafe_arena_release_attr() {
17085   // @@protoc_insertion_point(field_release:aapt.pb.Styleable.Entry.attr)
17086 
17087   ::aapt::pb::Reference* temp = _impl_.attr_;
17088   _impl_.attr_ = nullptr;
17089   return temp;
17090 }
_internal_mutable_attr()17091 inline ::aapt::pb::Reference* Styleable_Entry::_internal_mutable_attr() {
17092 
17093   if (_impl_.attr_ == nullptr) {
17094     auto* p = CreateMaybeMessage<::aapt::pb::Reference>(GetArenaForAllocation());
17095     _impl_.attr_ = p;
17096   }
17097   return _impl_.attr_;
17098 }
mutable_attr()17099 inline ::aapt::pb::Reference* Styleable_Entry::mutable_attr() {
17100   ::aapt::pb::Reference* _msg = _internal_mutable_attr();
17101   // @@protoc_insertion_point(field_mutable:aapt.pb.Styleable.Entry.attr)
17102   return _msg;
17103 }
set_allocated_attr(::aapt::pb::Reference * attr)17104 inline void Styleable_Entry::set_allocated_attr(::aapt::pb::Reference* attr) {
17105   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
17106   if (message_arena == nullptr) {
17107     delete _impl_.attr_;
17108   }
17109   if (attr) {
17110     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
17111         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(attr);
17112     if (message_arena != submessage_arena) {
17113       attr = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
17114           message_arena, attr, submessage_arena);
17115     }
17116 
17117   } else {
17118 
17119   }
17120   _impl_.attr_ = attr;
17121   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Styleable.Entry.attr)
17122 }
17123 
17124 // -------------------------------------------------------------------
17125 
17126 // Styleable
17127 
17128 // repeated .aapt.pb.Styleable.Entry entry = 1;
_internal_entry_size()17129 inline int Styleable::_internal_entry_size() const {
17130   return _impl_.entry_.size();
17131 }
entry_size()17132 inline int Styleable::entry_size() const {
17133   return _internal_entry_size();
17134 }
clear_entry()17135 inline void Styleable::clear_entry() {
17136   _impl_.entry_.Clear();
17137 }
mutable_entry(int index)17138 inline ::aapt::pb::Styleable_Entry* Styleable::mutable_entry(int index) {
17139   // @@protoc_insertion_point(field_mutable:aapt.pb.Styleable.entry)
17140   return _impl_.entry_.Mutable(index);
17141 }
17142 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Styleable_Entry >*
mutable_entry()17143 Styleable::mutable_entry() {
17144   // @@protoc_insertion_point(field_mutable_list:aapt.pb.Styleable.entry)
17145   return &_impl_.entry_;
17146 }
_internal_entry(int index)17147 inline const ::aapt::pb::Styleable_Entry& Styleable::_internal_entry(int index) const {
17148   return _impl_.entry_.Get(index);
17149 }
entry(int index)17150 inline const ::aapt::pb::Styleable_Entry& Styleable::entry(int index) const {
17151   // @@protoc_insertion_point(field_get:aapt.pb.Styleable.entry)
17152   return _internal_entry(index);
17153 }
_internal_add_entry()17154 inline ::aapt::pb::Styleable_Entry* Styleable::_internal_add_entry() {
17155   return _impl_.entry_.Add();
17156 }
add_entry()17157 inline ::aapt::pb::Styleable_Entry* Styleable::add_entry() {
17158   ::aapt::pb::Styleable_Entry* _add = _internal_add_entry();
17159   // @@protoc_insertion_point(field_add:aapt.pb.Styleable.entry)
17160   return _add;
17161 }
17162 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Styleable_Entry >&
entry()17163 Styleable::entry() const {
17164   // @@protoc_insertion_point(field_list:aapt.pb.Styleable.entry)
17165   return _impl_.entry_;
17166 }
17167 
17168 // -------------------------------------------------------------------
17169 
17170 // Array_Element
17171 
17172 // .aapt.pb.Source source = 1;
_internal_has_source()17173 inline bool Array_Element::_internal_has_source() const {
17174   return this != internal_default_instance() && _impl_.source_ != nullptr;
17175 }
has_source()17176 inline bool Array_Element::has_source() const {
17177   return _internal_has_source();
17178 }
clear_source()17179 inline void Array_Element::clear_source() {
17180   if (GetArenaForAllocation() == nullptr && _impl_.source_ != nullptr) {
17181     delete _impl_.source_;
17182   }
17183   _impl_.source_ = nullptr;
17184 }
_internal_source()17185 inline const ::aapt::pb::Source& Array_Element::_internal_source() const {
17186   const ::aapt::pb::Source* p = _impl_.source_;
17187   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Source&>(
17188       ::aapt::pb::_Source_default_instance_);
17189 }
source()17190 inline const ::aapt::pb::Source& Array_Element::source() const {
17191   // @@protoc_insertion_point(field_get:aapt.pb.Array.Element.source)
17192   return _internal_source();
17193 }
unsafe_arena_set_allocated_source(::aapt::pb::Source * source)17194 inline void Array_Element::unsafe_arena_set_allocated_source(
17195     ::aapt::pb::Source* source) {
17196   if (GetArenaForAllocation() == nullptr) {
17197     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_);
17198   }
17199   _impl_.source_ = source;
17200   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Array.Element.source)
17201 }
release_source()17202 inline ::aapt::pb::Source* Array_Element::release_source() {
17203 
17204   ::aapt::pb::Source* temp = _impl_.source_;
17205   _impl_.source_ = nullptr;
17206 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
17207   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
17208   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
17209   if (GetArenaForAllocation() == nullptr) { delete old; }
17210 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
17211   if (GetArenaForAllocation() != nullptr) {
17212     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
17213   }
17214 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
17215   return temp;
17216 }
unsafe_arena_release_source()17217 inline ::aapt::pb::Source* Array_Element::unsafe_arena_release_source() {
17218   // @@protoc_insertion_point(field_release:aapt.pb.Array.Element.source)
17219 
17220   ::aapt::pb::Source* temp = _impl_.source_;
17221   _impl_.source_ = nullptr;
17222   return temp;
17223 }
_internal_mutable_source()17224 inline ::aapt::pb::Source* Array_Element::_internal_mutable_source() {
17225 
17226   if (_impl_.source_ == nullptr) {
17227     auto* p = CreateMaybeMessage<::aapt::pb::Source>(GetArenaForAllocation());
17228     _impl_.source_ = p;
17229   }
17230   return _impl_.source_;
17231 }
mutable_source()17232 inline ::aapt::pb::Source* Array_Element::mutable_source() {
17233   ::aapt::pb::Source* _msg = _internal_mutable_source();
17234   // @@protoc_insertion_point(field_mutable:aapt.pb.Array.Element.source)
17235   return _msg;
17236 }
set_allocated_source(::aapt::pb::Source * source)17237 inline void Array_Element::set_allocated_source(::aapt::pb::Source* source) {
17238   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
17239   if (message_arena == nullptr) {
17240     delete _impl_.source_;
17241   }
17242   if (source) {
17243     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
17244         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source);
17245     if (message_arena != submessage_arena) {
17246       source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
17247           message_arena, source, submessage_arena);
17248     }
17249 
17250   } else {
17251 
17252   }
17253   _impl_.source_ = source;
17254   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Array.Element.source)
17255 }
17256 
17257 // string comment = 2;
clear_comment()17258 inline void Array_Element::clear_comment() {
17259   _impl_.comment_.ClearToEmpty();
17260 }
comment()17261 inline const std::string& Array_Element::comment() const {
17262   // @@protoc_insertion_point(field_get:aapt.pb.Array.Element.comment)
17263   return _internal_comment();
17264 }
17265 template <typename ArgT0, typename... ArgT>
17266 inline PROTOBUF_ALWAYS_INLINE
set_comment(ArgT0 && arg0,ArgT...args)17267 void Array_Element::set_comment(ArgT0&& arg0, ArgT... args) {
17268 
17269  _impl_.comment_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
17270   // @@protoc_insertion_point(field_set:aapt.pb.Array.Element.comment)
17271 }
mutable_comment()17272 inline std::string* Array_Element::mutable_comment() {
17273   std::string* _s = _internal_mutable_comment();
17274   // @@protoc_insertion_point(field_mutable:aapt.pb.Array.Element.comment)
17275   return _s;
17276 }
_internal_comment()17277 inline const std::string& Array_Element::_internal_comment() const {
17278   return _impl_.comment_.Get();
17279 }
_internal_set_comment(const std::string & value)17280 inline void Array_Element::_internal_set_comment(const std::string& value) {
17281 
17282   _impl_.comment_.Set(value, GetArenaForAllocation());
17283 }
_internal_mutable_comment()17284 inline std::string* Array_Element::_internal_mutable_comment() {
17285 
17286   return _impl_.comment_.Mutable(GetArenaForAllocation());
17287 }
release_comment()17288 inline std::string* Array_Element::release_comment() {
17289   // @@protoc_insertion_point(field_release:aapt.pb.Array.Element.comment)
17290   return _impl_.comment_.Release();
17291 }
set_allocated_comment(std::string * comment)17292 inline void Array_Element::set_allocated_comment(std::string* comment) {
17293   _impl_.comment_.SetAllocated(comment, GetArenaForAllocation());
17294 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
17295   if (_impl_.comment_.IsDefault()) {
17296     _impl_.comment_.Set("", GetArenaForAllocation());
17297   }
17298 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
17299   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Array.Element.comment)
17300 }
17301 
17302 // .aapt.pb.Item item = 3;
_internal_has_item()17303 inline bool Array_Element::_internal_has_item() const {
17304   return this != internal_default_instance() && _impl_.item_ != nullptr;
17305 }
has_item()17306 inline bool Array_Element::has_item() const {
17307   return _internal_has_item();
17308 }
clear_item()17309 inline void Array_Element::clear_item() {
17310   if (GetArenaForAllocation() == nullptr && _impl_.item_ != nullptr) {
17311     delete _impl_.item_;
17312   }
17313   _impl_.item_ = nullptr;
17314 }
_internal_item()17315 inline const ::aapt::pb::Item& Array_Element::_internal_item() const {
17316   const ::aapt::pb::Item* p = _impl_.item_;
17317   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Item&>(
17318       ::aapt::pb::_Item_default_instance_);
17319 }
item()17320 inline const ::aapt::pb::Item& Array_Element::item() const {
17321   // @@protoc_insertion_point(field_get:aapt.pb.Array.Element.item)
17322   return _internal_item();
17323 }
unsafe_arena_set_allocated_item(::aapt::pb::Item * item)17324 inline void Array_Element::unsafe_arena_set_allocated_item(
17325     ::aapt::pb::Item* item) {
17326   if (GetArenaForAllocation() == nullptr) {
17327     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.item_);
17328   }
17329   _impl_.item_ = item;
17330   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Array.Element.item)
17331 }
release_item()17332 inline ::aapt::pb::Item* Array_Element::release_item() {
17333 
17334   ::aapt::pb::Item* temp = _impl_.item_;
17335   _impl_.item_ = nullptr;
17336 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
17337   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
17338   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
17339   if (GetArenaForAllocation() == nullptr) { delete old; }
17340 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
17341   if (GetArenaForAllocation() != nullptr) {
17342     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
17343   }
17344 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
17345   return temp;
17346 }
unsafe_arena_release_item()17347 inline ::aapt::pb::Item* Array_Element::unsafe_arena_release_item() {
17348   // @@protoc_insertion_point(field_release:aapt.pb.Array.Element.item)
17349 
17350   ::aapt::pb::Item* temp = _impl_.item_;
17351   _impl_.item_ = nullptr;
17352   return temp;
17353 }
_internal_mutable_item()17354 inline ::aapt::pb::Item* Array_Element::_internal_mutable_item() {
17355 
17356   if (_impl_.item_ == nullptr) {
17357     auto* p = CreateMaybeMessage<::aapt::pb::Item>(GetArenaForAllocation());
17358     _impl_.item_ = p;
17359   }
17360   return _impl_.item_;
17361 }
mutable_item()17362 inline ::aapt::pb::Item* Array_Element::mutable_item() {
17363   ::aapt::pb::Item* _msg = _internal_mutable_item();
17364   // @@protoc_insertion_point(field_mutable:aapt.pb.Array.Element.item)
17365   return _msg;
17366 }
set_allocated_item(::aapt::pb::Item * item)17367 inline void Array_Element::set_allocated_item(::aapt::pb::Item* item) {
17368   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
17369   if (message_arena == nullptr) {
17370     delete _impl_.item_;
17371   }
17372   if (item) {
17373     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
17374         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(item);
17375     if (message_arena != submessage_arena) {
17376       item = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
17377           message_arena, item, submessage_arena);
17378     }
17379 
17380   } else {
17381 
17382   }
17383   _impl_.item_ = item;
17384   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Array.Element.item)
17385 }
17386 
17387 // -------------------------------------------------------------------
17388 
17389 // Array
17390 
17391 // repeated .aapt.pb.Array.Element element = 1;
_internal_element_size()17392 inline int Array::_internal_element_size() const {
17393   return _impl_.element_.size();
17394 }
element_size()17395 inline int Array::element_size() const {
17396   return _internal_element_size();
17397 }
clear_element()17398 inline void Array::clear_element() {
17399   _impl_.element_.Clear();
17400 }
mutable_element(int index)17401 inline ::aapt::pb::Array_Element* Array::mutable_element(int index) {
17402   // @@protoc_insertion_point(field_mutable:aapt.pb.Array.element)
17403   return _impl_.element_.Mutable(index);
17404 }
17405 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Array_Element >*
mutable_element()17406 Array::mutable_element() {
17407   // @@protoc_insertion_point(field_mutable_list:aapt.pb.Array.element)
17408   return &_impl_.element_;
17409 }
_internal_element(int index)17410 inline const ::aapt::pb::Array_Element& Array::_internal_element(int index) const {
17411   return _impl_.element_.Get(index);
17412 }
element(int index)17413 inline const ::aapt::pb::Array_Element& Array::element(int index) const {
17414   // @@protoc_insertion_point(field_get:aapt.pb.Array.element)
17415   return _internal_element(index);
17416 }
_internal_add_element()17417 inline ::aapt::pb::Array_Element* Array::_internal_add_element() {
17418   return _impl_.element_.Add();
17419 }
add_element()17420 inline ::aapt::pb::Array_Element* Array::add_element() {
17421   ::aapt::pb::Array_Element* _add = _internal_add_element();
17422   // @@protoc_insertion_point(field_add:aapt.pb.Array.element)
17423   return _add;
17424 }
17425 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Array_Element >&
element()17426 Array::element() const {
17427   // @@protoc_insertion_point(field_list:aapt.pb.Array.element)
17428   return _impl_.element_;
17429 }
17430 
17431 // -------------------------------------------------------------------
17432 
17433 // Plural_Entry
17434 
17435 // .aapt.pb.Source source = 1;
_internal_has_source()17436 inline bool Plural_Entry::_internal_has_source() const {
17437   return this != internal_default_instance() && _impl_.source_ != nullptr;
17438 }
has_source()17439 inline bool Plural_Entry::has_source() const {
17440   return _internal_has_source();
17441 }
clear_source()17442 inline void Plural_Entry::clear_source() {
17443   if (GetArenaForAllocation() == nullptr && _impl_.source_ != nullptr) {
17444     delete _impl_.source_;
17445   }
17446   _impl_.source_ = nullptr;
17447 }
_internal_source()17448 inline const ::aapt::pb::Source& Plural_Entry::_internal_source() const {
17449   const ::aapt::pb::Source* p = _impl_.source_;
17450   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Source&>(
17451       ::aapt::pb::_Source_default_instance_);
17452 }
source()17453 inline const ::aapt::pb::Source& Plural_Entry::source() const {
17454   // @@protoc_insertion_point(field_get:aapt.pb.Plural.Entry.source)
17455   return _internal_source();
17456 }
unsafe_arena_set_allocated_source(::aapt::pb::Source * source)17457 inline void Plural_Entry::unsafe_arena_set_allocated_source(
17458     ::aapt::pb::Source* source) {
17459   if (GetArenaForAllocation() == nullptr) {
17460     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_);
17461   }
17462   _impl_.source_ = source;
17463   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Plural.Entry.source)
17464 }
release_source()17465 inline ::aapt::pb::Source* Plural_Entry::release_source() {
17466 
17467   ::aapt::pb::Source* temp = _impl_.source_;
17468   _impl_.source_ = nullptr;
17469 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
17470   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
17471   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
17472   if (GetArenaForAllocation() == nullptr) { delete old; }
17473 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
17474   if (GetArenaForAllocation() != nullptr) {
17475     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
17476   }
17477 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
17478   return temp;
17479 }
unsafe_arena_release_source()17480 inline ::aapt::pb::Source* Plural_Entry::unsafe_arena_release_source() {
17481   // @@protoc_insertion_point(field_release:aapt.pb.Plural.Entry.source)
17482 
17483   ::aapt::pb::Source* temp = _impl_.source_;
17484   _impl_.source_ = nullptr;
17485   return temp;
17486 }
_internal_mutable_source()17487 inline ::aapt::pb::Source* Plural_Entry::_internal_mutable_source() {
17488 
17489   if (_impl_.source_ == nullptr) {
17490     auto* p = CreateMaybeMessage<::aapt::pb::Source>(GetArenaForAllocation());
17491     _impl_.source_ = p;
17492   }
17493   return _impl_.source_;
17494 }
mutable_source()17495 inline ::aapt::pb::Source* Plural_Entry::mutable_source() {
17496   ::aapt::pb::Source* _msg = _internal_mutable_source();
17497   // @@protoc_insertion_point(field_mutable:aapt.pb.Plural.Entry.source)
17498   return _msg;
17499 }
set_allocated_source(::aapt::pb::Source * source)17500 inline void Plural_Entry::set_allocated_source(::aapt::pb::Source* source) {
17501   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
17502   if (message_arena == nullptr) {
17503     delete _impl_.source_;
17504   }
17505   if (source) {
17506     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
17507         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source);
17508     if (message_arena != submessage_arena) {
17509       source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
17510           message_arena, source, submessage_arena);
17511     }
17512 
17513   } else {
17514 
17515   }
17516   _impl_.source_ = source;
17517   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Plural.Entry.source)
17518 }
17519 
17520 // string comment = 2;
clear_comment()17521 inline void Plural_Entry::clear_comment() {
17522   _impl_.comment_.ClearToEmpty();
17523 }
comment()17524 inline const std::string& Plural_Entry::comment() const {
17525   // @@protoc_insertion_point(field_get:aapt.pb.Plural.Entry.comment)
17526   return _internal_comment();
17527 }
17528 template <typename ArgT0, typename... ArgT>
17529 inline PROTOBUF_ALWAYS_INLINE
set_comment(ArgT0 && arg0,ArgT...args)17530 void Plural_Entry::set_comment(ArgT0&& arg0, ArgT... args) {
17531 
17532  _impl_.comment_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
17533   // @@protoc_insertion_point(field_set:aapt.pb.Plural.Entry.comment)
17534 }
mutable_comment()17535 inline std::string* Plural_Entry::mutable_comment() {
17536   std::string* _s = _internal_mutable_comment();
17537   // @@protoc_insertion_point(field_mutable:aapt.pb.Plural.Entry.comment)
17538   return _s;
17539 }
_internal_comment()17540 inline const std::string& Plural_Entry::_internal_comment() const {
17541   return _impl_.comment_.Get();
17542 }
_internal_set_comment(const std::string & value)17543 inline void Plural_Entry::_internal_set_comment(const std::string& value) {
17544 
17545   _impl_.comment_.Set(value, GetArenaForAllocation());
17546 }
_internal_mutable_comment()17547 inline std::string* Plural_Entry::_internal_mutable_comment() {
17548 
17549   return _impl_.comment_.Mutable(GetArenaForAllocation());
17550 }
release_comment()17551 inline std::string* Plural_Entry::release_comment() {
17552   // @@protoc_insertion_point(field_release:aapt.pb.Plural.Entry.comment)
17553   return _impl_.comment_.Release();
17554 }
set_allocated_comment(std::string * comment)17555 inline void Plural_Entry::set_allocated_comment(std::string* comment) {
17556   _impl_.comment_.SetAllocated(comment, GetArenaForAllocation());
17557 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
17558   if (_impl_.comment_.IsDefault()) {
17559     _impl_.comment_.Set("", GetArenaForAllocation());
17560   }
17561 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
17562   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Plural.Entry.comment)
17563 }
17564 
17565 // .aapt.pb.Plural.Arity arity = 3;
clear_arity()17566 inline void Plural_Entry::clear_arity() {
17567   _impl_.arity_ = 0;
17568 }
_internal_arity()17569 inline ::aapt::pb::Plural_Arity Plural_Entry::_internal_arity() const {
17570   return static_cast< ::aapt::pb::Plural_Arity >(_impl_.arity_);
17571 }
arity()17572 inline ::aapt::pb::Plural_Arity Plural_Entry::arity() const {
17573   // @@protoc_insertion_point(field_get:aapt.pb.Plural.Entry.arity)
17574   return _internal_arity();
17575 }
_internal_set_arity(::aapt::pb::Plural_Arity value)17576 inline void Plural_Entry::_internal_set_arity(::aapt::pb::Plural_Arity value) {
17577 
17578   _impl_.arity_ = value;
17579 }
set_arity(::aapt::pb::Plural_Arity value)17580 inline void Plural_Entry::set_arity(::aapt::pb::Plural_Arity value) {
17581   _internal_set_arity(value);
17582   // @@protoc_insertion_point(field_set:aapt.pb.Plural.Entry.arity)
17583 }
17584 
17585 // .aapt.pb.Item item = 4;
_internal_has_item()17586 inline bool Plural_Entry::_internal_has_item() const {
17587   return this != internal_default_instance() && _impl_.item_ != nullptr;
17588 }
has_item()17589 inline bool Plural_Entry::has_item() const {
17590   return _internal_has_item();
17591 }
clear_item()17592 inline void Plural_Entry::clear_item() {
17593   if (GetArenaForAllocation() == nullptr && _impl_.item_ != nullptr) {
17594     delete _impl_.item_;
17595   }
17596   _impl_.item_ = nullptr;
17597 }
_internal_item()17598 inline const ::aapt::pb::Item& Plural_Entry::_internal_item() const {
17599   const ::aapt::pb::Item* p = _impl_.item_;
17600   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Item&>(
17601       ::aapt::pb::_Item_default_instance_);
17602 }
item()17603 inline const ::aapt::pb::Item& Plural_Entry::item() const {
17604   // @@protoc_insertion_point(field_get:aapt.pb.Plural.Entry.item)
17605   return _internal_item();
17606 }
unsafe_arena_set_allocated_item(::aapt::pb::Item * item)17607 inline void Plural_Entry::unsafe_arena_set_allocated_item(
17608     ::aapt::pb::Item* item) {
17609   if (GetArenaForAllocation() == nullptr) {
17610     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.item_);
17611   }
17612   _impl_.item_ = item;
17613   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.Plural.Entry.item)
17614 }
release_item()17615 inline ::aapt::pb::Item* Plural_Entry::release_item() {
17616 
17617   ::aapt::pb::Item* temp = _impl_.item_;
17618   _impl_.item_ = nullptr;
17619 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
17620   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
17621   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
17622   if (GetArenaForAllocation() == nullptr) { delete old; }
17623 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
17624   if (GetArenaForAllocation() != nullptr) {
17625     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
17626   }
17627 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
17628   return temp;
17629 }
unsafe_arena_release_item()17630 inline ::aapt::pb::Item* Plural_Entry::unsafe_arena_release_item() {
17631   // @@protoc_insertion_point(field_release:aapt.pb.Plural.Entry.item)
17632 
17633   ::aapt::pb::Item* temp = _impl_.item_;
17634   _impl_.item_ = nullptr;
17635   return temp;
17636 }
_internal_mutable_item()17637 inline ::aapt::pb::Item* Plural_Entry::_internal_mutable_item() {
17638 
17639   if (_impl_.item_ == nullptr) {
17640     auto* p = CreateMaybeMessage<::aapt::pb::Item>(GetArenaForAllocation());
17641     _impl_.item_ = p;
17642   }
17643   return _impl_.item_;
17644 }
mutable_item()17645 inline ::aapt::pb::Item* Plural_Entry::mutable_item() {
17646   ::aapt::pb::Item* _msg = _internal_mutable_item();
17647   // @@protoc_insertion_point(field_mutable:aapt.pb.Plural.Entry.item)
17648   return _msg;
17649 }
set_allocated_item(::aapt::pb::Item * item)17650 inline void Plural_Entry::set_allocated_item(::aapt::pb::Item* item) {
17651   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
17652   if (message_arena == nullptr) {
17653     delete _impl_.item_;
17654   }
17655   if (item) {
17656     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
17657         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(item);
17658     if (message_arena != submessage_arena) {
17659       item = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
17660           message_arena, item, submessage_arena);
17661     }
17662 
17663   } else {
17664 
17665   }
17666   _impl_.item_ = item;
17667   // @@protoc_insertion_point(field_set_allocated:aapt.pb.Plural.Entry.item)
17668 }
17669 
17670 // -------------------------------------------------------------------
17671 
17672 // Plural
17673 
17674 // repeated .aapt.pb.Plural.Entry entry = 1;
_internal_entry_size()17675 inline int Plural::_internal_entry_size() const {
17676   return _impl_.entry_.size();
17677 }
entry_size()17678 inline int Plural::entry_size() const {
17679   return _internal_entry_size();
17680 }
clear_entry()17681 inline void Plural::clear_entry() {
17682   _impl_.entry_.Clear();
17683 }
mutable_entry(int index)17684 inline ::aapt::pb::Plural_Entry* Plural::mutable_entry(int index) {
17685   // @@protoc_insertion_point(field_mutable:aapt.pb.Plural.entry)
17686   return _impl_.entry_.Mutable(index);
17687 }
17688 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Plural_Entry >*
mutable_entry()17689 Plural::mutable_entry() {
17690   // @@protoc_insertion_point(field_mutable_list:aapt.pb.Plural.entry)
17691   return &_impl_.entry_;
17692 }
_internal_entry(int index)17693 inline const ::aapt::pb::Plural_Entry& Plural::_internal_entry(int index) const {
17694   return _impl_.entry_.Get(index);
17695 }
entry(int index)17696 inline const ::aapt::pb::Plural_Entry& Plural::entry(int index) const {
17697   // @@protoc_insertion_point(field_get:aapt.pb.Plural.entry)
17698   return _internal_entry(index);
17699 }
_internal_add_entry()17700 inline ::aapt::pb::Plural_Entry* Plural::_internal_add_entry() {
17701   return _impl_.entry_.Add();
17702 }
add_entry()17703 inline ::aapt::pb::Plural_Entry* Plural::add_entry() {
17704   ::aapt::pb::Plural_Entry* _add = _internal_add_entry();
17705   // @@protoc_insertion_point(field_add:aapt.pb.Plural.entry)
17706   return _add;
17707 }
17708 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::Plural_Entry >&
entry()17709 Plural::entry() const {
17710   // @@protoc_insertion_point(field_list:aapt.pb.Plural.entry)
17711   return _impl_.entry_;
17712 }
17713 
17714 // -------------------------------------------------------------------
17715 
17716 // XmlNode
17717 
17718 // .aapt.pb.XmlElement element = 1;
_internal_has_element()17719 inline bool XmlNode::_internal_has_element() const {
17720   return node_case() == kElement;
17721 }
has_element()17722 inline bool XmlNode::has_element() const {
17723   return _internal_has_element();
17724 }
set_has_element()17725 inline void XmlNode::set_has_element() {
17726   _impl_._oneof_case_[0] = kElement;
17727 }
clear_element()17728 inline void XmlNode::clear_element() {
17729   if (_internal_has_element()) {
17730     if (GetArenaForAllocation() == nullptr) {
17731       delete _impl_.node_.element_;
17732     }
17733     clear_has_node();
17734   }
17735 }
release_element()17736 inline ::aapt::pb::XmlElement* XmlNode::release_element() {
17737   // @@protoc_insertion_point(field_release:aapt.pb.XmlNode.element)
17738   if (_internal_has_element()) {
17739     clear_has_node();
17740     ::aapt::pb::XmlElement* temp = _impl_.node_.element_;
17741     if (GetArenaForAllocation() != nullptr) {
17742       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
17743     }
17744     _impl_.node_.element_ = nullptr;
17745     return temp;
17746   } else {
17747     return nullptr;
17748   }
17749 }
_internal_element()17750 inline const ::aapt::pb::XmlElement& XmlNode::_internal_element() const {
17751   return _internal_has_element()
17752       ? *_impl_.node_.element_
17753       : reinterpret_cast< ::aapt::pb::XmlElement&>(::aapt::pb::_XmlElement_default_instance_);
17754 }
element()17755 inline const ::aapt::pb::XmlElement& XmlNode::element() const {
17756   // @@protoc_insertion_point(field_get:aapt.pb.XmlNode.element)
17757   return _internal_element();
17758 }
unsafe_arena_release_element()17759 inline ::aapt::pb::XmlElement* XmlNode::unsafe_arena_release_element() {
17760   // @@protoc_insertion_point(field_unsafe_arena_release:aapt.pb.XmlNode.element)
17761   if (_internal_has_element()) {
17762     clear_has_node();
17763     ::aapt::pb::XmlElement* temp = _impl_.node_.element_;
17764     _impl_.node_.element_ = nullptr;
17765     return temp;
17766   } else {
17767     return nullptr;
17768   }
17769 }
unsafe_arena_set_allocated_element(::aapt::pb::XmlElement * element)17770 inline void XmlNode::unsafe_arena_set_allocated_element(::aapt::pb::XmlElement* element) {
17771   clear_node();
17772   if (element) {
17773     set_has_element();
17774     _impl_.node_.element_ = element;
17775   }
17776   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.XmlNode.element)
17777 }
_internal_mutable_element()17778 inline ::aapt::pb::XmlElement* XmlNode::_internal_mutable_element() {
17779   if (!_internal_has_element()) {
17780     clear_node();
17781     set_has_element();
17782     _impl_.node_.element_ = CreateMaybeMessage< ::aapt::pb::XmlElement >(GetArenaForAllocation());
17783   }
17784   return _impl_.node_.element_;
17785 }
mutable_element()17786 inline ::aapt::pb::XmlElement* XmlNode::mutable_element() {
17787   ::aapt::pb::XmlElement* _msg = _internal_mutable_element();
17788   // @@protoc_insertion_point(field_mutable:aapt.pb.XmlNode.element)
17789   return _msg;
17790 }
17791 
17792 // string text = 2;
_internal_has_text()17793 inline bool XmlNode::_internal_has_text() const {
17794   return node_case() == kText;
17795 }
has_text()17796 inline bool XmlNode::has_text() const {
17797   return _internal_has_text();
17798 }
set_has_text()17799 inline void XmlNode::set_has_text() {
17800   _impl_._oneof_case_[0] = kText;
17801 }
clear_text()17802 inline void XmlNode::clear_text() {
17803   if (_internal_has_text()) {
17804     _impl_.node_.text_.Destroy();
17805     clear_has_node();
17806   }
17807 }
text()17808 inline const std::string& XmlNode::text() const {
17809   // @@protoc_insertion_point(field_get:aapt.pb.XmlNode.text)
17810   return _internal_text();
17811 }
17812 template <typename ArgT0, typename... ArgT>
set_text(ArgT0 && arg0,ArgT...args)17813 inline void XmlNode::set_text(ArgT0&& arg0, ArgT... args) {
17814   if (!_internal_has_text()) {
17815     clear_node();
17816     set_has_text();
17817     _impl_.node_.text_.InitDefault();
17818   }
17819   _impl_.node_.text_.Set( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
17820   // @@protoc_insertion_point(field_set:aapt.pb.XmlNode.text)
17821 }
mutable_text()17822 inline std::string* XmlNode::mutable_text() {
17823   std::string* _s = _internal_mutable_text();
17824   // @@protoc_insertion_point(field_mutable:aapt.pb.XmlNode.text)
17825   return _s;
17826 }
_internal_text()17827 inline const std::string& XmlNode::_internal_text() const {
17828   if (_internal_has_text()) {
17829     return _impl_.node_.text_.Get();
17830   }
17831   return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
17832 }
_internal_set_text(const std::string & value)17833 inline void XmlNode::_internal_set_text(const std::string& value) {
17834   if (!_internal_has_text()) {
17835     clear_node();
17836     set_has_text();
17837     _impl_.node_.text_.InitDefault();
17838   }
17839   _impl_.node_.text_.Set(value, GetArenaForAllocation());
17840 }
_internal_mutable_text()17841 inline std::string* XmlNode::_internal_mutable_text() {
17842   if (!_internal_has_text()) {
17843     clear_node();
17844     set_has_text();
17845     _impl_.node_.text_.InitDefault();
17846   }
17847   return _impl_.node_.text_.Mutable(      GetArenaForAllocation());
17848 }
release_text()17849 inline std::string* XmlNode::release_text() {
17850   // @@protoc_insertion_point(field_release:aapt.pb.XmlNode.text)
17851   if (_internal_has_text()) {
17852     clear_has_node();
17853     return _impl_.node_.text_.Release();
17854   } else {
17855     return nullptr;
17856   }
17857 }
set_allocated_text(std::string * text)17858 inline void XmlNode::set_allocated_text(std::string* text) {
17859   if (has_node()) {
17860     clear_node();
17861   }
17862   if (text != nullptr) {
17863     set_has_text();
17864     _impl_.node_.text_.InitAllocated(text, GetArenaForAllocation());
17865   }
17866   // @@protoc_insertion_point(field_set_allocated:aapt.pb.XmlNode.text)
17867 }
17868 
17869 // .aapt.pb.SourcePosition source = 3;
_internal_has_source()17870 inline bool XmlNode::_internal_has_source() const {
17871   return this != internal_default_instance() && _impl_.source_ != nullptr;
17872 }
has_source()17873 inline bool XmlNode::has_source() const {
17874   return _internal_has_source();
17875 }
clear_source()17876 inline void XmlNode::clear_source() {
17877   if (GetArenaForAllocation() == nullptr && _impl_.source_ != nullptr) {
17878     delete _impl_.source_;
17879   }
17880   _impl_.source_ = nullptr;
17881 }
_internal_source()17882 inline const ::aapt::pb::SourcePosition& XmlNode::_internal_source() const {
17883   const ::aapt::pb::SourcePosition* p = _impl_.source_;
17884   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::SourcePosition&>(
17885       ::aapt::pb::_SourcePosition_default_instance_);
17886 }
source()17887 inline const ::aapt::pb::SourcePosition& XmlNode::source() const {
17888   // @@protoc_insertion_point(field_get:aapt.pb.XmlNode.source)
17889   return _internal_source();
17890 }
unsafe_arena_set_allocated_source(::aapt::pb::SourcePosition * source)17891 inline void XmlNode::unsafe_arena_set_allocated_source(
17892     ::aapt::pb::SourcePosition* source) {
17893   if (GetArenaForAllocation() == nullptr) {
17894     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_);
17895   }
17896   _impl_.source_ = source;
17897   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.XmlNode.source)
17898 }
release_source()17899 inline ::aapt::pb::SourcePosition* XmlNode::release_source() {
17900 
17901   ::aapt::pb::SourcePosition* temp = _impl_.source_;
17902   _impl_.source_ = nullptr;
17903 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
17904   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
17905   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
17906   if (GetArenaForAllocation() == nullptr) { delete old; }
17907 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
17908   if (GetArenaForAllocation() != nullptr) {
17909     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
17910   }
17911 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
17912   return temp;
17913 }
unsafe_arena_release_source()17914 inline ::aapt::pb::SourcePosition* XmlNode::unsafe_arena_release_source() {
17915   // @@protoc_insertion_point(field_release:aapt.pb.XmlNode.source)
17916 
17917   ::aapt::pb::SourcePosition* temp = _impl_.source_;
17918   _impl_.source_ = nullptr;
17919   return temp;
17920 }
_internal_mutable_source()17921 inline ::aapt::pb::SourcePosition* XmlNode::_internal_mutable_source() {
17922 
17923   if (_impl_.source_ == nullptr) {
17924     auto* p = CreateMaybeMessage<::aapt::pb::SourcePosition>(GetArenaForAllocation());
17925     _impl_.source_ = p;
17926   }
17927   return _impl_.source_;
17928 }
mutable_source()17929 inline ::aapt::pb::SourcePosition* XmlNode::mutable_source() {
17930   ::aapt::pb::SourcePosition* _msg = _internal_mutable_source();
17931   // @@protoc_insertion_point(field_mutable:aapt.pb.XmlNode.source)
17932   return _msg;
17933 }
set_allocated_source(::aapt::pb::SourcePosition * source)17934 inline void XmlNode::set_allocated_source(::aapt::pb::SourcePosition* source) {
17935   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
17936   if (message_arena == nullptr) {
17937     delete _impl_.source_;
17938   }
17939   if (source) {
17940     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
17941         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source);
17942     if (message_arena != submessage_arena) {
17943       source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
17944           message_arena, source, submessage_arena);
17945     }
17946 
17947   } else {
17948 
17949   }
17950   _impl_.source_ = source;
17951   // @@protoc_insertion_point(field_set_allocated:aapt.pb.XmlNode.source)
17952 }
17953 
has_node()17954 inline bool XmlNode::has_node() const {
17955   return node_case() != NODE_NOT_SET;
17956 }
clear_has_node()17957 inline void XmlNode::clear_has_node() {
17958   _impl_._oneof_case_[0] = NODE_NOT_SET;
17959 }
node_case()17960 inline XmlNode::NodeCase XmlNode::node_case() const {
17961   return XmlNode::NodeCase(_impl_._oneof_case_[0]);
17962 }
17963 // -------------------------------------------------------------------
17964 
17965 // XmlElement
17966 
17967 // repeated .aapt.pb.XmlNamespace namespace_declaration = 1;
_internal_namespace_declaration_size()17968 inline int XmlElement::_internal_namespace_declaration_size() const {
17969   return _impl_.namespace_declaration_.size();
17970 }
namespace_declaration_size()17971 inline int XmlElement::namespace_declaration_size() const {
17972   return _internal_namespace_declaration_size();
17973 }
clear_namespace_declaration()17974 inline void XmlElement::clear_namespace_declaration() {
17975   _impl_.namespace_declaration_.Clear();
17976 }
mutable_namespace_declaration(int index)17977 inline ::aapt::pb::XmlNamespace* XmlElement::mutable_namespace_declaration(int index) {
17978   // @@protoc_insertion_point(field_mutable:aapt.pb.XmlElement.namespace_declaration)
17979   return _impl_.namespace_declaration_.Mutable(index);
17980 }
17981 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::XmlNamespace >*
mutable_namespace_declaration()17982 XmlElement::mutable_namespace_declaration() {
17983   // @@protoc_insertion_point(field_mutable_list:aapt.pb.XmlElement.namespace_declaration)
17984   return &_impl_.namespace_declaration_;
17985 }
_internal_namespace_declaration(int index)17986 inline const ::aapt::pb::XmlNamespace& XmlElement::_internal_namespace_declaration(int index) const {
17987   return _impl_.namespace_declaration_.Get(index);
17988 }
namespace_declaration(int index)17989 inline const ::aapt::pb::XmlNamespace& XmlElement::namespace_declaration(int index) const {
17990   // @@protoc_insertion_point(field_get:aapt.pb.XmlElement.namespace_declaration)
17991   return _internal_namespace_declaration(index);
17992 }
_internal_add_namespace_declaration()17993 inline ::aapt::pb::XmlNamespace* XmlElement::_internal_add_namespace_declaration() {
17994   return _impl_.namespace_declaration_.Add();
17995 }
add_namespace_declaration()17996 inline ::aapt::pb::XmlNamespace* XmlElement::add_namespace_declaration() {
17997   ::aapt::pb::XmlNamespace* _add = _internal_add_namespace_declaration();
17998   // @@protoc_insertion_point(field_add:aapt.pb.XmlElement.namespace_declaration)
17999   return _add;
18000 }
18001 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::XmlNamespace >&
namespace_declaration()18002 XmlElement::namespace_declaration() const {
18003   // @@protoc_insertion_point(field_list:aapt.pb.XmlElement.namespace_declaration)
18004   return _impl_.namespace_declaration_;
18005 }
18006 
18007 // string namespace_uri = 2;
clear_namespace_uri()18008 inline void XmlElement::clear_namespace_uri() {
18009   _impl_.namespace_uri_.ClearToEmpty();
18010 }
namespace_uri()18011 inline const std::string& XmlElement::namespace_uri() const {
18012   // @@protoc_insertion_point(field_get:aapt.pb.XmlElement.namespace_uri)
18013   return _internal_namespace_uri();
18014 }
18015 template <typename ArgT0, typename... ArgT>
18016 inline PROTOBUF_ALWAYS_INLINE
set_namespace_uri(ArgT0 && arg0,ArgT...args)18017 void XmlElement::set_namespace_uri(ArgT0&& arg0, ArgT... args) {
18018 
18019  _impl_.namespace_uri_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
18020   // @@protoc_insertion_point(field_set:aapt.pb.XmlElement.namespace_uri)
18021 }
mutable_namespace_uri()18022 inline std::string* XmlElement::mutable_namespace_uri() {
18023   std::string* _s = _internal_mutable_namespace_uri();
18024   // @@protoc_insertion_point(field_mutable:aapt.pb.XmlElement.namespace_uri)
18025   return _s;
18026 }
_internal_namespace_uri()18027 inline const std::string& XmlElement::_internal_namespace_uri() const {
18028   return _impl_.namespace_uri_.Get();
18029 }
_internal_set_namespace_uri(const std::string & value)18030 inline void XmlElement::_internal_set_namespace_uri(const std::string& value) {
18031 
18032   _impl_.namespace_uri_.Set(value, GetArenaForAllocation());
18033 }
_internal_mutable_namespace_uri()18034 inline std::string* XmlElement::_internal_mutable_namespace_uri() {
18035 
18036   return _impl_.namespace_uri_.Mutable(GetArenaForAllocation());
18037 }
release_namespace_uri()18038 inline std::string* XmlElement::release_namespace_uri() {
18039   // @@protoc_insertion_point(field_release:aapt.pb.XmlElement.namespace_uri)
18040   return _impl_.namespace_uri_.Release();
18041 }
set_allocated_namespace_uri(std::string * namespace_uri)18042 inline void XmlElement::set_allocated_namespace_uri(std::string* namespace_uri) {
18043   _impl_.namespace_uri_.SetAllocated(namespace_uri, GetArenaForAllocation());
18044 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
18045   if (_impl_.namespace_uri_.IsDefault()) {
18046     _impl_.namespace_uri_.Set("", GetArenaForAllocation());
18047   }
18048 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
18049   // @@protoc_insertion_point(field_set_allocated:aapt.pb.XmlElement.namespace_uri)
18050 }
18051 
18052 // string name = 3;
clear_name()18053 inline void XmlElement::clear_name() {
18054   _impl_.name_.ClearToEmpty();
18055 }
name()18056 inline const std::string& XmlElement::name() const {
18057   // @@protoc_insertion_point(field_get:aapt.pb.XmlElement.name)
18058   return _internal_name();
18059 }
18060 template <typename ArgT0, typename... ArgT>
18061 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)18062 void XmlElement::set_name(ArgT0&& arg0, ArgT... args) {
18063 
18064  _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
18065   // @@protoc_insertion_point(field_set:aapt.pb.XmlElement.name)
18066 }
mutable_name()18067 inline std::string* XmlElement::mutable_name() {
18068   std::string* _s = _internal_mutable_name();
18069   // @@protoc_insertion_point(field_mutable:aapt.pb.XmlElement.name)
18070   return _s;
18071 }
_internal_name()18072 inline const std::string& XmlElement::_internal_name() const {
18073   return _impl_.name_.Get();
18074 }
_internal_set_name(const std::string & value)18075 inline void XmlElement::_internal_set_name(const std::string& value) {
18076 
18077   _impl_.name_.Set(value, GetArenaForAllocation());
18078 }
_internal_mutable_name()18079 inline std::string* XmlElement::_internal_mutable_name() {
18080 
18081   return _impl_.name_.Mutable(GetArenaForAllocation());
18082 }
release_name()18083 inline std::string* XmlElement::release_name() {
18084   // @@protoc_insertion_point(field_release:aapt.pb.XmlElement.name)
18085   return _impl_.name_.Release();
18086 }
set_allocated_name(std::string * name)18087 inline void XmlElement::set_allocated_name(std::string* name) {
18088   _impl_.name_.SetAllocated(name, GetArenaForAllocation());
18089 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
18090   if (_impl_.name_.IsDefault()) {
18091     _impl_.name_.Set("", GetArenaForAllocation());
18092   }
18093 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
18094   // @@protoc_insertion_point(field_set_allocated:aapt.pb.XmlElement.name)
18095 }
18096 
18097 // repeated .aapt.pb.XmlAttribute attribute = 4;
_internal_attribute_size()18098 inline int XmlElement::_internal_attribute_size() const {
18099   return _impl_.attribute_.size();
18100 }
attribute_size()18101 inline int XmlElement::attribute_size() const {
18102   return _internal_attribute_size();
18103 }
clear_attribute()18104 inline void XmlElement::clear_attribute() {
18105   _impl_.attribute_.Clear();
18106 }
mutable_attribute(int index)18107 inline ::aapt::pb::XmlAttribute* XmlElement::mutable_attribute(int index) {
18108   // @@protoc_insertion_point(field_mutable:aapt.pb.XmlElement.attribute)
18109   return _impl_.attribute_.Mutable(index);
18110 }
18111 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::XmlAttribute >*
mutable_attribute()18112 XmlElement::mutable_attribute() {
18113   // @@protoc_insertion_point(field_mutable_list:aapt.pb.XmlElement.attribute)
18114   return &_impl_.attribute_;
18115 }
_internal_attribute(int index)18116 inline const ::aapt::pb::XmlAttribute& XmlElement::_internal_attribute(int index) const {
18117   return _impl_.attribute_.Get(index);
18118 }
attribute(int index)18119 inline const ::aapt::pb::XmlAttribute& XmlElement::attribute(int index) const {
18120   // @@protoc_insertion_point(field_get:aapt.pb.XmlElement.attribute)
18121   return _internal_attribute(index);
18122 }
_internal_add_attribute()18123 inline ::aapt::pb::XmlAttribute* XmlElement::_internal_add_attribute() {
18124   return _impl_.attribute_.Add();
18125 }
add_attribute()18126 inline ::aapt::pb::XmlAttribute* XmlElement::add_attribute() {
18127   ::aapt::pb::XmlAttribute* _add = _internal_add_attribute();
18128   // @@protoc_insertion_point(field_add:aapt.pb.XmlElement.attribute)
18129   return _add;
18130 }
18131 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::XmlAttribute >&
attribute()18132 XmlElement::attribute() const {
18133   // @@protoc_insertion_point(field_list:aapt.pb.XmlElement.attribute)
18134   return _impl_.attribute_;
18135 }
18136 
18137 // repeated .aapt.pb.XmlNode child = 5;
_internal_child_size()18138 inline int XmlElement::_internal_child_size() const {
18139   return _impl_.child_.size();
18140 }
child_size()18141 inline int XmlElement::child_size() const {
18142   return _internal_child_size();
18143 }
clear_child()18144 inline void XmlElement::clear_child() {
18145   _impl_.child_.Clear();
18146 }
mutable_child(int index)18147 inline ::aapt::pb::XmlNode* XmlElement::mutable_child(int index) {
18148   // @@protoc_insertion_point(field_mutable:aapt.pb.XmlElement.child)
18149   return _impl_.child_.Mutable(index);
18150 }
18151 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::XmlNode >*
mutable_child()18152 XmlElement::mutable_child() {
18153   // @@protoc_insertion_point(field_mutable_list:aapt.pb.XmlElement.child)
18154   return &_impl_.child_;
18155 }
_internal_child(int index)18156 inline const ::aapt::pb::XmlNode& XmlElement::_internal_child(int index) const {
18157   return _impl_.child_.Get(index);
18158 }
child(int index)18159 inline const ::aapt::pb::XmlNode& XmlElement::child(int index) const {
18160   // @@protoc_insertion_point(field_get:aapt.pb.XmlElement.child)
18161   return _internal_child(index);
18162 }
_internal_add_child()18163 inline ::aapt::pb::XmlNode* XmlElement::_internal_add_child() {
18164   return _impl_.child_.Add();
18165 }
add_child()18166 inline ::aapt::pb::XmlNode* XmlElement::add_child() {
18167   ::aapt::pb::XmlNode* _add = _internal_add_child();
18168   // @@protoc_insertion_point(field_add:aapt.pb.XmlElement.child)
18169   return _add;
18170 }
18171 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::XmlNode >&
child()18172 XmlElement::child() const {
18173   // @@protoc_insertion_point(field_list:aapt.pb.XmlElement.child)
18174   return _impl_.child_;
18175 }
18176 
18177 // -------------------------------------------------------------------
18178 
18179 // XmlNamespace
18180 
18181 // string prefix = 1;
clear_prefix()18182 inline void XmlNamespace::clear_prefix() {
18183   _impl_.prefix_.ClearToEmpty();
18184 }
prefix()18185 inline const std::string& XmlNamespace::prefix() const {
18186   // @@protoc_insertion_point(field_get:aapt.pb.XmlNamespace.prefix)
18187   return _internal_prefix();
18188 }
18189 template <typename ArgT0, typename... ArgT>
18190 inline PROTOBUF_ALWAYS_INLINE
set_prefix(ArgT0 && arg0,ArgT...args)18191 void XmlNamespace::set_prefix(ArgT0&& arg0, ArgT... args) {
18192 
18193  _impl_.prefix_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
18194   // @@protoc_insertion_point(field_set:aapt.pb.XmlNamespace.prefix)
18195 }
mutable_prefix()18196 inline std::string* XmlNamespace::mutable_prefix() {
18197   std::string* _s = _internal_mutable_prefix();
18198   // @@protoc_insertion_point(field_mutable:aapt.pb.XmlNamespace.prefix)
18199   return _s;
18200 }
_internal_prefix()18201 inline const std::string& XmlNamespace::_internal_prefix() const {
18202   return _impl_.prefix_.Get();
18203 }
_internal_set_prefix(const std::string & value)18204 inline void XmlNamespace::_internal_set_prefix(const std::string& value) {
18205 
18206   _impl_.prefix_.Set(value, GetArenaForAllocation());
18207 }
_internal_mutable_prefix()18208 inline std::string* XmlNamespace::_internal_mutable_prefix() {
18209 
18210   return _impl_.prefix_.Mutable(GetArenaForAllocation());
18211 }
release_prefix()18212 inline std::string* XmlNamespace::release_prefix() {
18213   // @@protoc_insertion_point(field_release:aapt.pb.XmlNamespace.prefix)
18214   return _impl_.prefix_.Release();
18215 }
set_allocated_prefix(std::string * prefix)18216 inline void XmlNamespace::set_allocated_prefix(std::string* prefix) {
18217   _impl_.prefix_.SetAllocated(prefix, GetArenaForAllocation());
18218 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
18219   if (_impl_.prefix_.IsDefault()) {
18220     _impl_.prefix_.Set("", GetArenaForAllocation());
18221   }
18222 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
18223   // @@protoc_insertion_point(field_set_allocated:aapt.pb.XmlNamespace.prefix)
18224 }
18225 
18226 // string uri = 2;
clear_uri()18227 inline void XmlNamespace::clear_uri() {
18228   _impl_.uri_.ClearToEmpty();
18229 }
uri()18230 inline const std::string& XmlNamespace::uri() const {
18231   // @@protoc_insertion_point(field_get:aapt.pb.XmlNamespace.uri)
18232   return _internal_uri();
18233 }
18234 template <typename ArgT0, typename... ArgT>
18235 inline PROTOBUF_ALWAYS_INLINE
set_uri(ArgT0 && arg0,ArgT...args)18236 void XmlNamespace::set_uri(ArgT0&& arg0, ArgT... args) {
18237 
18238  _impl_.uri_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
18239   // @@protoc_insertion_point(field_set:aapt.pb.XmlNamespace.uri)
18240 }
mutable_uri()18241 inline std::string* XmlNamespace::mutable_uri() {
18242   std::string* _s = _internal_mutable_uri();
18243   // @@protoc_insertion_point(field_mutable:aapt.pb.XmlNamespace.uri)
18244   return _s;
18245 }
_internal_uri()18246 inline const std::string& XmlNamespace::_internal_uri() const {
18247   return _impl_.uri_.Get();
18248 }
_internal_set_uri(const std::string & value)18249 inline void XmlNamespace::_internal_set_uri(const std::string& value) {
18250 
18251   _impl_.uri_.Set(value, GetArenaForAllocation());
18252 }
_internal_mutable_uri()18253 inline std::string* XmlNamespace::_internal_mutable_uri() {
18254 
18255   return _impl_.uri_.Mutable(GetArenaForAllocation());
18256 }
release_uri()18257 inline std::string* XmlNamespace::release_uri() {
18258   // @@protoc_insertion_point(field_release:aapt.pb.XmlNamespace.uri)
18259   return _impl_.uri_.Release();
18260 }
set_allocated_uri(std::string * uri)18261 inline void XmlNamespace::set_allocated_uri(std::string* uri) {
18262   _impl_.uri_.SetAllocated(uri, GetArenaForAllocation());
18263 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
18264   if (_impl_.uri_.IsDefault()) {
18265     _impl_.uri_.Set("", GetArenaForAllocation());
18266   }
18267 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
18268   // @@protoc_insertion_point(field_set_allocated:aapt.pb.XmlNamespace.uri)
18269 }
18270 
18271 // .aapt.pb.SourcePosition source = 3;
_internal_has_source()18272 inline bool XmlNamespace::_internal_has_source() const {
18273   return this != internal_default_instance() && _impl_.source_ != nullptr;
18274 }
has_source()18275 inline bool XmlNamespace::has_source() const {
18276   return _internal_has_source();
18277 }
clear_source()18278 inline void XmlNamespace::clear_source() {
18279   if (GetArenaForAllocation() == nullptr && _impl_.source_ != nullptr) {
18280     delete _impl_.source_;
18281   }
18282   _impl_.source_ = nullptr;
18283 }
_internal_source()18284 inline const ::aapt::pb::SourcePosition& XmlNamespace::_internal_source() const {
18285   const ::aapt::pb::SourcePosition* p = _impl_.source_;
18286   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::SourcePosition&>(
18287       ::aapt::pb::_SourcePosition_default_instance_);
18288 }
source()18289 inline const ::aapt::pb::SourcePosition& XmlNamespace::source() const {
18290   // @@protoc_insertion_point(field_get:aapt.pb.XmlNamespace.source)
18291   return _internal_source();
18292 }
unsafe_arena_set_allocated_source(::aapt::pb::SourcePosition * source)18293 inline void XmlNamespace::unsafe_arena_set_allocated_source(
18294     ::aapt::pb::SourcePosition* source) {
18295   if (GetArenaForAllocation() == nullptr) {
18296     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_);
18297   }
18298   _impl_.source_ = source;
18299   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.XmlNamespace.source)
18300 }
release_source()18301 inline ::aapt::pb::SourcePosition* XmlNamespace::release_source() {
18302 
18303   ::aapt::pb::SourcePosition* temp = _impl_.source_;
18304   _impl_.source_ = nullptr;
18305 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
18306   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
18307   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
18308   if (GetArenaForAllocation() == nullptr) { delete old; }
18309 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
18310   if (GetArenaForAllocation() != nullptr) {
18311     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
18312   }
18313 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
18314   return temp;
18315 }
unsafe_arena_release_source()18316 inline ::aapt::pb::SourcePosition* XmlNamespace::unsafe_arena_release_source() {
18317   // @@protoc_insertion_point(field_release:aapt.pb.XmlNamespace.source)
18318 
18319   ::aapt::pb::SourcePosition* temp = _impl_.source_;
18320   _impl_.source_ = nullptr;
18321   return temp;
18322 }
_internal_mutable_source()18323 inline ::aapt::pb::SourcePosition* XmlNamespace::_internal_mutable_source() {
18324 
18325   if (_impl_.source_ == nullptr) {
18326     auto* p = CreateMaybeMessage<::aapt::pb::SourcePosition>(GetArenaForAllocation());
18327     _impl_.source_ = p;
18328   }
18329   return _impl_.source_;
18330 }
mutable_source()18331 inline ::aapt::pb::SourcePosition* XmlNamespace::mutable_source() {
18332   ::aapt::pb::SourcePosition* _msg = _internal_mutable_source();
18333   // @@protoc_insertion_point(field_mutable:aapt.pb.XmlNamespace.source)
18334   return _msg;
18335 }
set_allocated_source(::aapt::pb::SourcePosition * source)18336 inline void XmlNamespace::set_allocated_source(::aapt::pb::SourcePosition* source) {
18337   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
18338   if (message_arena == nullptr) {
18339     delete _impl_.source_;
18340   }
18341   if (source) {
18342     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
18343         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source);
18344     if (message_arena != submessage_arena) {
18345       source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
18346           message_arena, source, submessage_arena);
18347     }
18348 
18349   } else {
18350 
18351   }
18352   _impl_.source_ = source;
18353   // @@protoc_insertion_point(field_set_allocated:aapt.pb.XmlNamespace.source)
18354 }
18355 
18356 // -------------------------------------------------------------------
18357 
18358 // XmlAttribute
18359 
18360 // string namespace_uri = 1;
clear_namespace_uri()18361 inline void XmlAttribute::clear_namespace_uri() {
18362   _impl_.namespace_uri_.ClearToEmpty();
18363 }
namespace_uri()18364 inline const std::string& XmlAttribute::namespace_uri() const {
18365   // @@protoc_insertion_point(field_get:aapt.pb.XmlAttribute.namespace_uri)
18366   return _internal_namespace_uri();
18367 }
18368 template <typename ArgT0, typename... ArgT>
18369 inline PROTOBUF_ALWAYS_INLINE
set_namespace_uri(ArgT0 && arg0,ArgT...args)18370 void XmlAttribute::set_namespace_uri(ArgT0&& arg0, ArgT... args) {
18371 
18372  _impl_.namespace_uri_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
18373   // @@protoc_insertion_point(field_set:aapt.pb.XmlAttribute.namespace_uri)
18374 }
mutable_namespace_uri()18375 inline std::string* XmlAttribute::mutable_namespace_uri() {
18376   std::string* _s = _internal_mutable_namespace_uri();
18377   // @@protoc_insertion_point(field_mutable:aapt.pb.XmlAttribute.namespace_uri)
18378   return _s;
18379 }
_internal_namespace_uri()18380 inline const std::string& XmlAttribute::_internal_namespace_uri() const {
18381   return _impl_.namespace_uri_.Get();
18382 }
_internal_set_namespace_uri(const std::string & value)18383 inline void XmlAttribute::_internal_set_namespace_uri(const std::string& value) {
18384 
18385   _impl_.namespace_uri_.Set(value, GetArenaForAllocation());
18386 }
_internal_mutable_namespace_uri()18387 inline std::string* XmlAttribute::_internal_mutable_namespace_uri() {
18388 
18389   return _impl_.namespace_uri_.Mutable(GetArenaForAllocation());
18390 }
release_namespace_uri()18391 inline std::string* XmlAttribute::release_namespace_uri() {
18392   // @@protoc_insertion_point(field_release:aapt.pb.XmlAttribute.namespace_uri)
18393   return _impl_.namespace_uri_.Release();
18394 }
set_allocated_namespace_uri(std::string * namespace_uri)18395 inline void XmlAttribute::set_allocated_namespace_uri(std::string* namespace_uri) {
18396   _impl_.namespace_uri_.SetAllocated(namespace_uri, GetArenaForAllocation());
18397 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
18398   if (_impl_.namespace_uri_.IsDefault()) {
18399     _impl_.namespace_uri_.Set("", GetArenaForAllocation());
18400   }
18401 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
18402   // @@protoc_insertion_point(field_set_allocated:aapt.pb.XmlAttribute.namespace_uri)
18403 }
18404 
18405 // string name = 2;
clear_name()18406 inline void XmlAttribute::clear_name() {
18407   _impl_.name_.ClearToEmpty();
18408 }
name()18409 inline const std::string& XmlAttribute::name() const {
18410   // @@protoc_insertion_point(field_get:aapt.pb.XmlAttribute.name)
18411   return _internal_name();
18412 }
18413 template <typename ArgT0, typename... ArgT>
18414 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)18415 void XmlAttribute::set_name(ArgT0&& arg0, ArgT... args) {
18416 
18417  _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
18418   // @@protoc_insertion_point(field_set:aapt.pb.XmlAttribute.name)
18419 }
mutable_name()18420 inline std::string* XmlAttribute::mutable_name() {
18421   std::string* _s = _internal_mutable_name();
18422   // @@protoc_insertion_point(field_mutable:aapt.pb.XmlAttribute.name)
18423   return _s;
18424 }
_internal_name()18425 inline const std::string& XmlAttribute::_internal_name() const {
18426   return _impl_.name_.Get();
18427 }
_internal_set_name(const std::string & value)18428 inline void XmlAttribute::_internal_set_name(const std::string& value) {
18429 
18430   _impl_.name_.Set(value, GetArenaForAllocation());
18431 }
_internal_mutable_name()18432 inline std::string* XmlAttribute::_internal_mutable_name() {
18433 
18434   return _impl_.name_.Mutable(GetArenaForAllocation());
18435 }
release_name()18436 inline std::string* XmlAttribute::release_name() {
18437   // @@protoc_insertion_point(field_release:aapt.pb.XmlAttribute.name)
18438   return _impl_.name_.Release();
18439 }
set_allocated_name(std::string * name)18440 inline void XmlAttribute::set_allocated_name(std::string* name) {
18441   _impl_.name_.SetAllocated(name, GetArenaForAllocation());
18442 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
18443   if (_impl_.name_.IsDefault()) {
18444     _impl_.name_.Set("", GetArenaForAllocation());
18445   }
18446 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
18447   // @@protoc_insertion_point(field_set_allocated:aapt.pb.XmlAttribute.name)
18448 }
18449 
18450 // string value = 3;
clear_value()18451 inline void XmlAttribute::clear_value() {
18452   _impl_.value_.ClearToEmpty();
18453 }
value()18454 inline const std::string& XmlAttribute::value() const {
18455   // @@protoc_insertion_point(field_get:aapt.pb.XmlAttribute.value)
18456   return _internal_value();
18457 }
18458 template <typename ArgT0, typename... ArgT>
18459 inline PROTOBUF_ALWAYS_INLINE
set_value(ArgT0 && arg0,ArgT...args)18460 void XmlAttribute::set_value(ArgT0&& arg0, ArgT... args) {
18461 
18462  _impl_.value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
18463   // @@protoc_insertion_point(field_set:aapt.pb.XmlAttribute.value)
18464 }
mutable_value()18465 inline std::string* XmlAttribute::mutable_value() {
18466   std::string* _s = _internal_mutable_value();
18467   // @@protoc_insertion_point(field_mutable:aapt.pb.XmlAttribute.value)
18468   return _s;
18469 }
_internal_value()18470 inline const std::string& XmlAttribute::_internal_value() const {
18471   return _impl_.value_.Get();
18472 }
_internal_set_value(const std::string & value)18473 inline void XmlAttribute::_internal_set_value(const std::string& value) {
18474 
18475   _impl_.value_.Set(value, GetArenaForAllocation());
18476 }
_internal_mutable_value()18477 inline std::string* XmlAttribute::_internal_mutable_value() {
18478 
18479   return _impl_.value_.Mutable(GetArenaForAllocation());
18480 }
release_value()18481 inline std::string* XmlAttribute::release_value() {
18482   // @@protoc_insertion_point(field_release:aapt.pb.XmlAttribute.value)
18483   return _impl_.value_.Release();
18484 }
set_allocated_value(std::string * value)18485 inline void XmlAttribute::set_allocated_value(std::string* value) {
18486   _impl_.value_.SetAllocated(value, GetArenaForAllocation());
18487 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
18488   if (_impl_.value_.IsDefault()) {
18489     _impl_.value_.Set("", GetArenaForAllocation());
18490   }
18491 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
18492   // @@protoc_insertion_point(field_set_allocated:aapt.pb.XmlAttribute.value)
18493 }
18494 
18495 // .aapt.pb.SourcePosition source = 4;
_internal_has_source()18496 inline bool XmlAttribute::_internal_has_source() const {
18497   return this != internal_default_instance() && _impl_.source_ != nullptr;
18498 }
has_source()18499 inline bool XmlAttribute::has_source() const {
18500   return _internal_has_source();
18501 }
clear_source()18502 inline void XmlAttribute::clear_source() {
18503   if (GetArenaForAllocation() == nullptr && _impl_.source_ != nullptr) {
18504     delete _impl_.source_;
18505   }
18506   _impl_.source_ = nullptr;
18507 }
_internal_source()18508 inline const ::aapt::pb::SourcePosition& XmlAttribute::_internal_source() const {
18509   const ::aapt::pb::SourcePosition* p = _impl_.source_;
18510   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::SourcePosition&>(
18511       ::aapt::pb::_SourcePosition_default_instance_);
18512 }
source()18513 inline const ::aapt::pb::SourcePosition& XmlAttribute::source() const {
18514   // @@protoc_insertion_point(field_get:aapt.pb.XmlAttribute.source)
18515   return _internal_source();
18516 }
unsafe_arena_set_allocated_source(::aapt::pb::SourcePosition * source)18517 inline void XmlAttribute::unsafe_arena_set_allocated_source(
18518     ::aapt::pb::SourcePosition* source) {
18519   if (GetArenaForAllocation() == nullptr) {
18520     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_);
18521   }
18522   _impl_.source_ = source;
18523   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.XmlAttribute.source)
18524 }
release_source()18525 inline ::aapt::pb::SourcePosition* XmlAttribute::release_source() {
18526 
18527   ::aapt::pb::SourcePosition* temp = _impl_.source_;
18528   _impl_.source_ = nullptr;
18529 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
18530   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
18531   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
18532   if (GetArenaForAllocation() == nullptr) { delete old; }
18533 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
18534   if (GetArenaForAllocation() != nullptr) {
18535     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
18536   }
18537 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
18538   return temp;
18539 }
unsafe_arena_release_source()18540 inline ::aapt::pb::SourcePosition* XmlAttribute::unsafe_arena_release_source() {
18541   // @@protoc_insertion_point(field_release:aapt.pb.XmlAttribute.source)
18542 
18543   ::aapt::pb::SourcePosition* temp = _impl_.source_;
18544   _impl_.source_ = nullptr;
18545   return temp;
18546 }
_internal_mutable_source()18547 inline ::aapt::pb::SourcePosition* XmlAttribute::_internal_mutable_source() {
18548 
18549   if (_impl_.source_ == nullptr) {
18550     auto* p = CreateMaybeMessage<::aapt::pb::SourcePosition>(GetArenaForAllocation());
18551     _impl_.source_ = p;
18552   }
18553   return _impl_.source_;
18554 }
mutable_source()18555 inline ::aapt::pb::SourcePosition* XmlAttribute::mutable_source() {
18556   ::aapt::pb::SourcePosition* _msg = _internal_mutable_source();
18557   // @@protoc_insertion_point(field_mutable:aapt.pb.XmlAttribute.source)
18558   return _msg;
18559 }
set_allocated_source(::aapt::pb::SourcePosition * source)18560 inline void XmlAttribute::set_allocated_source(::aapt::pb::SourcePosition* source) {
18561   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
18562   if (message_arena == nullptr) {
18563     delete _impl_.source_;
18564   }
18565   if (source) {
18566     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
18567         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source);
18568     if (message_arena != submessage_arena) {
18569       source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
18570           message_arena, source, submessage_arena);
18571     }
18572 
18573   } else {
18574 
18575   }
18576   _impl_.source_ = source;
18577   // @@protoc_insertion_point(field_set_allocated:aapt.pb.XmlAttribute.source)
18578 }
18579 
18580 // uint32 resource_id = 5;
clear_resource_id()18581 inline void XmlAttribute::clear_resource_id() {
18582   _impl_.resource_id_ = 0u;
18583 }
_internal_resource_id()18584 inline ::uint32_t XmlAttribute::_internal_resource_id() const {
18585   return _impl_.resource_id_;
18586 }
resource_id()18587 inline ::uint32_t XmlAttribute::resource_id() const {
18588   // @@protoc_insertion_point(field_get:aapt.pb.XmlAttribute.resource_id)
18589   return _internal_resource_id();
18590 }
_internal_set_resource_id(::uint32_t value)18591 inline void XmlAttribute::_internal_set_resource_id(::uint32_t value) {
18592 
18593   _impl_.resource_id_ = value;
18594 }
set_resource_id(::uint32_t value)18595 inline void XmlAttribute::set_resource_id(::uint32_t value) {
18596   _internal_set_resource_id(value);
18597   // @@protoc_insertion_point(field_set:aapt.pb.XmlAttribute.resource_id)
18598 }
18599 
18600 // .aapt.pb.Item compiled_item = 6;
_internal_has_compiled_item()18601 inline bool XmlAttribute::_internal_has_compiled_item() const {
18602   return this != internal_default_instance() && _impl_.compiled_item_ != nullptr;
18603 }
has_compiled_item()18604 inline bool XmlAttribute::has_compiled_item() const {
18605   return _internal_has_compiled_item();
18606 }
clear_compiled_item()18607 inline void XmlAttribute::clear_compiled_item() {
18608   if (GetArenaForAllocation() == nullptr && _impl_.compiled_item_ != nullptr) {
18609     delete _impl_.compiled_item_;
18610   }
18611   _impl_.compiled_item_ = nullptr;
18612 }
_internal_compiled_item()18613 inline const ::aapt::pb::Item& XmlAttribute::_internal_compiled_item() const {
18614   const ::aapt::pb::Item* p = _impl_.compiled_item_;
18615   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::Item&>(
18616       ::aapt::pb::_Item_default_instance_);
18617 }
compiled_item()18618 inline const ::aapt::pb::Item& XmlAttribute::compiled_item() const {
18619   // @@protoc_insertion_point(field_get:aapt.pb.XmlAttribute.compiled_item)
18620   return _internal_compiled_item();
18621 }
unsafe_arena_set_allocated_compiled_item(::aapt::pb::Item * compiled_item)18622 inline void XmlAttribute::unsafe_arena_set_allocated_compiled_item(
18623     ::aapt::pb::Item* compiled_item) {
18624   if (GetArenaForAllocation() == nullptr) {
18625     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.compiled_item_);
18626   }
18627   _impl_.compiled_item_ = compiled_item;
18628   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.XmlAttribute.compiled_item)
18629 }
release_compiled_item()18630 inline ::aapt::pb::Item* XmlAttribute::release_compiled_item() {
18631 
18632   ::aapt::pb::Item* temp = _impl_.compiled_item_;
18633   _impl_.compiled_item_ = nullptr;
18634 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
18635   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
18636   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
18637   if (GetArenaForAllocation() == nullptr) { delete old; }
18638 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
18639   if (GetArenaForAllocation() != nullptr) {
18640     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
18641   }
18642 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
18643   return temp;
18644 }
unsafe_arena_release_compiled_item()18645 inline ::aapt::pb::Item* XmlAttribute::unsafe_arena_release_compiled_item() {
18646   // @@protoc_insertion_point(field_release:aapt.pb.XmlAttribute.compiled_item)
18647 
18648   ::aapt::pb::Item* temp = _impl_.compiled_item_;
18649   _impl_.compiled_item_ = nullptr;
18650   return temp;
18651 }
_internal_mutable_compiled_item()18652 inline ::aapt::pb::Item* XmlAttribute::_internal_mutable_compiled_item() {
18653 
18654   if (_impl_.compiled_item_ == nullptr) {
18655     auto* p = CreateMaybeMessage<::aapt::pb::Item>(GetArenaForAllocation());
18656     _impl_.compiled_item_ = p;
18657   }
18658   return _impl_.compiled_item_;
18659 }
mutable_compiled_item()18660 inline ::aapt::pb::Item* XmlAttribute::mutable_compiled_item() {
18661   ::aapt::pb::Item* _msg = _internal_mutable_compiled_item();
18662   // @@protoc_insertion_point(field_mutable:aapt.pb.XmlAttribute.compiled_item)
18663   return _msg;
18664 }
set_allocated_compiled_item(::aapt::pb::Item * compiled_item)18665 inline void XmlAttribute::set_allocated_compiled_item(::aapt::pb::Item* compiled_item) {
18666   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
18667   if (message_arena == nullptr) {
18668     delete _impl_.compiled_item_;
18669   }
18670   if (compiled_item) {
18671     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
18672         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(compiled_item);
18673     if (message_arena != submessage_arena) {
18674       compiled_item = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
18675           message_arena, compiled_item, submessage_arena);
18676     }
18677 
18678   } else {
18679 
18680   }
18681   _impl_.compiled_item_ = compiled_item;
18682   // @@protoc_insertion_point(field_set_allocated:aapt.pb.XmlAttribute.compiled_item)
18683 }
18684 
18685 // -------------------------------------------------------------------
18686 
18687 // MacroBody
18688 
18689 // string raw_string = 1;
clear_raw_string()18690 inline void MacroBody::clear_raw_string() {
18691   _impl_.raw_string_.ClearToEmpty();
18692 }
raw_string()18693 inline const std::string& MacroBody::raw_string() const {
18694   // @@protoc_insertion_point(field_get:aapt.pb.MacroBody.raw_string)
18695   return _internal_raw_string();
18696 }
18697 template <typename ArgT0, typename... ArgT>
18698 inline PROTOBUF_ALWAYS_INLINE
set_raw_string(ArgT0 && arg0,ArgT...args)18699 void MacroBody::set_raw_string(ArgT0&& arg0, ArgT... args) {
18700 
18701  _impl_.raw_string_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
18702   // @@protoc_insertion_point(field_set:aapt.pb.MacroBody.raw_string)
18703 }
mutable_raw_string()18704 inline std::string* MacroBody::mutable_raw_string() {
18705   std::string* _s = _internal_mutable_raw_string();
18706   // @@protoc_insertion_point(field_mutable:aapt.pb.MacroBody.raw_string)
18707   return _s;
18708 }
_internal_raw_string()18709 inline const std::string& MacroBody::_internal_raw_string() const {
18710   return _impl_.raw_string_.Get();
18711 }
_internal_set_raw_string(const std::string & value)18712 inline void MacroBody::_internal_set_raw_string(const std::string& value) {
18713 
18714   _impl_.raw_string_.Set(value, GetArenaForAllocation());
18715 }
_internal_mutable_raw_string()18716 inline std::string* MacroBody::_internal_mutable_raw_string() {
18717 
18718   return _impl_.raw_string_.Mutable(GetArenaForAllocation());
18719 }
release_raw_string()18720 inline std::string* MacroBody::release_raw_string() {
18721   // @@protoc_insertion_point(field_release:aapt.pb.MacroBody.raw_string)
18722   return _impl_.raw_string_.Release();
18723 }
set_allocated_raw_string(std::string * raw_string)18724 inline void MacroBody::set_allocated_raw_string(std::string* raw_string) {
18725   _impl_.raw_string_.SetAllocated(raw_string, GetArenaForAllocation());
18726 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
18727   if (_impl_.raw_string_.IsDefault()) {
18728     _impl_.raw_string_.Set("", GetArenaForAllocation());
18729   }
18730 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
18731   // @@protoc_insertion_point(field_set_allocated:aapt.pb.MacroBody.raw_string)
18732 }
18733 
18734 // .aapt.pb.StyleString style_string = 2;
_internal_has_style_string()18735 inline bool MacroBody::_internal_has_style_string() const {
18736   return this != internal_default_instance() && _impl_.style_string_ != nullptr;
18737 }
has_style_string()18738 inline bool MacroBody::has_style_string() const {
18739   return _internal_has_style_string();
18740 }
clear_style_string()18741 inline void MacroBody::clear_style_string() {
18742   if (GetArenaForAllocation() == nullptr && _impl_.style_string_ != nullptr) {
18743     delete _impl_.style_string_;
18744   }
18745   _impl_.style_string_ = nullptr;
18746 }
_internal_style_string()18747 inline const ::aapt::pb::StyleString& MacroBody::_internal_style_string() const {
18748   const ::aapt::pb::StyleString* p = _impl_.style_string_;
18749   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::StyleString&>(
18750       ::aapt::pb::_StyleString_default_instance_);
18751 }
style_string()18752 inline const ::aapt::pb::StyleString& MacroBody::style_string() const {
18753   // @@protoc_insertion_point(field_get:aapt.pb.MacroBody.style_string)
18754   return _internal_style_string();
18755 }
unsafe_arena_set_allocated_style_string(::aapt::pb::StyleString * style_string)18756 inline void MacroBody::unsafe_arena_set_allocated_style_string(
18757     ::aapt::pb::StyleString* style_string) {
18758   if (GetArenaForAllocation() == nullptr) {
18759     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.style_string_);
18760   }
18761   _impl_.style_string_ = style_string;
18762   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.MacroBody.style_string)
18763 }
release_style_string()18764 inline ::aapt::pb::StyleString* MacroBody::release_style_string() {
18765 
18766   ::aapt::pb::StyleString* temp = _impl_.style_string_;
18767   _impl_.style_string_ = nullptr;
18768 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
18769   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
18770   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
18771   if (GetArenaForAllocation() == nullptr) { delete old; }
18772 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
18773   if (GetArenaForAllocation() != nullptr) {
18774     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
18775   }
18776 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
18777   return temp;
18778 }
unsafe_arena_release_style_string()18779 inline ::aapt::pb::StyleString* MacroBody::unsafe_arena_release_style_string() {
18780   // @@protoc_insertion_point(field_release:aapt.pb.MacroBody.style_string)
18781 
18782   ::aapt::pb::StyleString* temp = _impl_.style_string_;
18783   _impl_.style_string_ = nullptr;
18784   return temp;
18785 }
_internal_mutable_style_string()18786 inline ::aapt::pb::StyleString* MacroBody::_internal_mutable_style_string() {
18787 
18788   if (_impl_.style_string_ == nullptr) {
18789     auto* p = CreateMaybeMessage<::aapt::pb::StyleString>(GetArenaForAllocation());
18790     _impl_.style_string_ = p;
18791   }
18792   return _impl_.style_string_;
18793 }
mutable_style_string()18794 inline ::aapt::pb::StyleString* MacroBody::mutable_style_string() {
18795   ::aapt::pb::StyleString* _msg = _internal_mutable_style_string();
18796   // @@protoc_insertion_point(field_mutable:aapt.pb.MacroBody.style_string)
18797   return _msg;
18798 }
set_allocated_style_string(::aapt::pb::StyleString * style_string)18799 inline void MacroBody::set_allocated_style_string(::aapt::pb::StyleString* style_string) {
18800   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
18801   if (message_arena == nullptr) {
18802     delete _impl_.style_string_;
18803   }
18804   if (style_string) {
18805     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
18806         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(style_string);
18807     if (message_arena != submessage_arena) {
18808       style_string = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
18809           message_arena, style_string, submessage_arena);
18810     }
18811 
18812   } else {
18813 
18814   }
18815   _impl_.style_string_ = style_string;
18816   // @@protoc_insertion_point(field_set_allocated:aapt.pb.MacroBody.style_string)
18817 }
18818 
18819 // repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;
_internal_untranslatable_sections_size()18820 inline int MacroBody::_internal_untranslatable_sections_size() const {
18821   return _impl_.untranslatable_sections_.size();
18822 }
untranslatable_sections_size()18823 inline int MacroBody::untranslatable_sections_size() const {
18824   return _internal_untranslatable_sections_size();
18825 }
clear_untranslatable_sections()18826 inline void MacroBody::clear_untranslatable_sections() {
18827   _impl_.untranslatable_sections_.Clear();
18828 }
mutable_untranslatable_sections(int index)18829 inline ::aapt::pb::UntranslatableSection* MacroBody::mutable_untranslatable_sections(int index) {
18830   // @@protoc_insertion_point(field_mutable:aapt.pb.MacroBody.untranslatable_sections)
18831   return _impl_.untranslatable_sections_.Mutable(index);
18832 }
18833 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::UntranslatableSection >*
mutable_untranslatable_sections()18834 MacroBody::mutable_untranslatable_sections() {
18835   // @@protoc_insertion_point(field_mutable_list:aapt.pb.MacroBody.untranslatable_sections)
18836   return &_impl_.untranslatable_sections_;
18837 }
_internal_untranslatable_sections(int index)18838 inline const ::aapt::pb::UntranslatableSection& MacroBody::_internal_untranslatable_sections(int index) const {
18839   return _impl_.untranslatable_sections_.Get(index);
18840 }
untranslatable_sections(int index)18841 inline const ::aapt::pb::UntranslatableSection& MacroBody::untranslatable_sections(int index) const {
18842   // @@protoc_insertion_point(field_get:aapt.pb.MacroBody.untranslatable_sections)
18843   return _internal_untranslatable_sections(index);
18844 }
_internal_add_untranslatable_sections()18845 inline ::aapt::pb::UntranslatableSection* MacroBody::_internal_add_untranslatable_sections() {
18846   return _impl_.untranslatable_sections_.Add();
18847 }
add_untranslatable_sections()18848 inline ::aapt::pb::UntranslatableSection* MacroBody::add_untranslatable_sections() {
18849   ::aapt::pb::UntranslatableSection* _add = _internal_add_untranslatable_sections();
18850   // @@protoc_insertion_point(field_add:aapt.pb.MacroBody.untranslatable_sections)
18851   return _add;
18852 }
18853 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::UntranslatableSection >&
untranslatable_sections()18854 MacroBody::untranslatable_sections() const {
18855   // @@protoc_insertion_point(field_list:aapt.pb.MacroBody.untranslatable_sections)
18856   return _impl_.untranslatable_sections_;
18857 }
18858 
18859 // repeated .aapt.pb.NamespaceAlias namespace_stack = 4;
_internal_namespace_stack_size()18860 inline int MacroBody::_internal_namespace_stack_size() const {
18861   return _impl_.namespace_stack_.size();
18862 }
namespace_stack_size()18863 inline int MacroBody::namespace_stack_size() const {
18864   return _internal_namespace_stack_size();
18865 }
clear_namespace_stack()18866 inline void MacroBody::clear_namespace_stack() {
18867   _impl_.namespace_stack_.Clear();
18868 }
mutable_namespace_stack(int index)18869 inline ::aapt::pb::NamespaceAlias* MacroBody::mutable_namespace_stack(int index) {
18870   // @@protoc_insertion_point(field_mutable:aapt.pb.MacroBody.namespace_stack)
18871   return _impl_.namespace_stack_.Mutable(index);
18872 }
18873 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::NamespaceAlias >*
mutable_namespace_stack()18874 MacroBody::mutable_namespace_stack() {
18875   // @@protoc_insertion_point(field_mutable_list:aapt.pb.MacroBody.namespace_stack)
18876   return &_impl_.namespace_stack_;
18877 }
_internal_namespace_stack(int index)18878 inline const ::aapt::pb::NamespaceAlias& MacroBody::_internal_namespace_stack(int index) const {
18879   return _impl_.namespace_stack_.Get(index);
18880 }
namespace_stack(int index)18881 inline const ::aapt::pb::NamespaceAlias& MacroBody::namespace_stack(int index) const {
18882   // @@protoc_insertion_point(field_get:aapt.pb.MacroBody.namespace_stack)
18883   return _internal_namespace_stack(index);
18884 }
_internal_add_namespace_stack()18885 inline ::aapt::pb::NamespaceAlias* MacroBody::_internal_add_namespace_stack() {
18886   return _impl_.namespace_stack_.Add();
18887 }
add_namespace_stack()18888 inline ::aapt::pb::NamespaceAlias* MacroBody::add_namespace_stack() {
18889   ::aapt::pb::NamespaceAlias* _add = _internal_add_namespace_stack();
18890   // @@protoc_insertion_point(field_add:aapt.pb.MacroBody.namespace_stack)
18891   return _add;
18892 }
18893 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::NamespaceAlias >&
namespace_stack()18894 MacroBody::namespace_stack() const {
18895   // @@protoc_insertion_point(field_list:aapt.pb.MacroBody.namespace_stack)
18896   return _impl_.namespace_stack_;
18897 }
18898 
18899 // .aapt.pb.SourcePosition source = 5;
_internal_has_source()18900 inline bool MacroBody::_internal_has_source() const {
18901   return this != internal_default_instance() && _impl_.source_ != nullptr;
18902 }
has_source()18903 inline bool MacroBody::has_source() const {
18904   return _internal_has_source();
18905 }
clear_source()18906 inline void MacroBody::clear_source() {
18907   if (GetArenaForAllocation() == nullptr && _impl_.source_ != nullptr) {
18908     delete _impl_.source_;
18909   }
18910   _impl_.source_ = nullptr;
18911 }
_internal_source()18912 inline const ::aapt::pb::SourcePosition& MacroBody::_internal_source() const {
18913   const ::aapt::pb::SourcePosition* p = _impl_.source_;
18914   return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::SourcePosition&>(
18915       ::aapt::pb::_SourcePosition_default_instance_);
18916 }
source()18917 inline const ::aapt::pb::SourcePosition& MacroBody::source() const {
18918   // @@protoc_insertion_point(field_get:aapt.pb.MacroBody.source)
18919   return _internal_source();
18920 }
unsafe_arena_set_allocated_source(::aapt::pb::SourcePosition * source)18921 inline void MacroBody::unsafe_arena_set_allocated_source(
18922     ::aapt::pb::SourcePosition* source) {
18923   if (GetArenaForAllocation() == nullptr) {
18924     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.source_);
18925   }
18926   _impl_.source_ = source;
18927   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.MacroBody.source)
18928 }
release_source()18929 inline ::aapt::pb::SourcePosition* MacroBody::release_source() {
18930 
18931   ::aapt::pb::SourcePosition* temp = _impl_.source_;
18932   _impl_.source_ = nullptr;
18933 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
18934   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
18935   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
18936   if (GetArenaForAllocation() == nullptr) { delete old; }
18937 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
18938   if (GetArenaForAllocation() != nullptr) {
18939     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
18940   }
18941 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
18942   return temp;
18943 }
unsafe_arena_release_source()18944 inline ::aapt::pb::SourcePosition* MacroBody::unsafe_arena_release_source() {
18945   // @@protoc_insertion_point(field_release:aapt.pb.MacroBody.source)
18946 
18947   ::aapt::pb::SourcePosition* temp = _impl_.source_;
18948   _impl_.source_ = nullptr;
18949   return temp;
18950 }
_internal_mutable_source()18951 inline ::aapt::pb::SourcePosition* MacroBody::_internal_mutable_source() {
18952 
18953   if (_impl_.source_ == nullptr) {
18954     auto* p = CreateMaybeMessage<::aapt::pb::SourcePosition>(GetArenaForAllocation());
18955     _impl_.source_ = p;
18956   }
18957   return _impl_.source_;
18958 }
mutable_source()18959 inline ::aapt::pb::SourcePosition* MacroBody::mutable_source() {
18960   ::aapt::pb::SourcePosition* _msg = _internal_mutable_source();
18961   // @@protoc_insertion_point(field_mutable:aapt.pb.MacroBody.source)
18962   return _msg;
18963 }
set_allocated_source(::aapt::pb::SourcePosition * source)18964 inline void MacroBody::set_allocated_source(::aapt::pb::SourcePosition* source) {
18965   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
18966   if (message_arena == nullptr) {
18967     delete _impl_.source_;
18968   }
18969   if (source) {
18970     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
18971         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(source);
18972     if (message_arena != submessage_arena) {
18973       source = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
18974           message_arena, source, submessage_arena);
18975     }
18976 
18977   } else {
18978 
18979   }
18980   _impl_.source_ = source;
18981   // @@protoc_insertion_point(field_set_allocated:aapt.pb.MacroBody.source)
18982 }
18983 
18984 // -------------------------------------------------------------------
18985 
18986 // NamespaceAlias
18987 
18988 // string prefix = 1;
clear_prefix()18989 inline void NamespaceAlias::clear_prefix() {
18990   _impl_.prefix_.ClearToEmpty();
18991 }
prefix()18992 inline const std::string& NamespaceAlias::prefix() const {
18993   // @@protoc_insertion_point(field_get:aapt.pb.NamespaceAlias.prefix)
18994   return _internal_prefix();
18995 }
18996 template <typename ArgT0, typename... ArgT>
18997 inline PROTOBUF_ALWAYS_INLINE
set_prefix(ArgT0 && arg0,ArgT...args)18998 void NamespaceAlias::set_prefix(ArgT0&& arg0, ArgT... args) {
18999 
19000  _impl_.prefix_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
19001   // @@protoc_insertion_point(field_set:aapt.pb.NamespaceAlias.prefix)
19002 }
mutable_prefix()19003 inline std::string* NamespaceAlias::mutable_prefix() {
19004   std::string* _s = _internal_mutable_prefix();
19005   // @@protoc_insertion_point(field_mutable:aapt.pb.NamespaceAlias.prefix)
19006   return _s;
19007 }
_internal_prefix()19008 inline const std::string& NamespaceAlias::_internal_prefix() const {
19009   return _impl_.prefix_.Get();
19010 }
_internal_set_prefix(const std::string & value)19011 inline void NamespaceAlias::_internal_set_prefix(const std::string& value) {
19012 
19013   _impl_.prefix_.Set(value, GetArenaForAllocation());
19014 }
_internal_mutable_prefix()19015 inline std::string* NamespaceAlias::_internal_mutable_prefix() {
19016 
19017   return _impl_.prefix_.Mutable(GetArenaForAllocation());
19018 }
release_prefix()19019 inline std::string* NamespaceAlias::release_prefix() {
19020   // @@protoc_insertion_point(field_release:aapt.pb.NamespaceAlias.prefix)
19021   return _impl_.prefix_.Release();
19022 }
set_allocated_prefix(std::string * prefix)19023 inline void NamespaceAlias::set_allocated_prefix(std::string* prefix) {
19024   _impl_.prefix_.SetAllocated(prefix, GetArenaForAllocation());
19025 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
19026   if (_impl_.prefix_.IsDefault()) {
19027     _impl_.prefix_.Set("", GetArenaForAllocation());
19028   }
19029 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
19030   // @@protoc_insertion_point(field_set_allocated:aapt.pb.NamespaceAlias.prefix)
19031 }
19032 
19033 // string package_name = 2;
clear_package_name()19034 inline void NamespaceAlias::clear_package_name() {
19035   _impl_.package_name_.ClearToEmpty();
19036 }
package_name()19037 inline const std::string& NamespaceAlias::package_name() const {
19038   // @@protoc_insertion_point(field_get:aapt.pb.NamespaceAlias.package_name)
19039   return _internal_package_name();
19040 }
19041 template <typename ArgT0, typename... ArgT>
19042 inline PROTOBUF_ALWAYS_INLINE
set_package_name(ArgT0 && arg0,ArgT...args)19043 void NamespaceAlias::set_package_name(ArgT0&& arg0, ArgT... args) {
19044 
19045  _impl_.package_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
19046   // @@protoc_insertion_point(field_set:aapt.pb.NamespaceAlias.package_name)
19047 }
mutable_package_name()19048 inline std::string* NamespaceAlias::mutable_package_name() {
19049   std::string* _s = _internal_mutable_package_name();
19050   // @@protoc_insertion_point(field_mutable:aapt.pb.NamespaceAlias.package_name)
19051   return _s;
19052 }
_internal_package_name()19053 inline const std::string& NamespaceAlias::_internal_package_name() const {
19054   return _impl_.package_name_.Get();
19055 }
_internal_set_package_name(const std::string & value)19056 inline void NamespaceAlias::_internal_set_package_name(const std::string& value) {
19057 
19058   _impl_.package_name_.Set(value, GetArenaForAllocation());
19059 }
_internal_mutable_package_name()19060 inline std::string* NamespaceAlias::_internal_mutable_package_name() {
19061 
19062   return _impl_.package_name_.Mutable(GetArenaForAllocation());
19063 }
release_package_name()19064 inline std::string* NamespaceAlias::release_package_name() {
19065   // @@protoc_insertion_point(field_release:aapt.pb.NamespaceAlias.package_name)
19066   return _impl_.package_name_.Release();
19067 }
set_allocated_package_name(std::string * package_name)19068 inline void NamespaceAlias::set_allocated_package_name(std::string* package_name) {
19069   _impl_.package_name_.SetAllocated(package_name, GetArenaForAllocation());
19070 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
19071   if (_impl_.package_name_.IsDefault()) {
19072     _impl_.package_name_.Set("", GetArenaForAllocation());
19073   }
19074 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
19075   // @@protoc_insertion_point(field_set_allocated:aapt.pb.NamespaceAlias.package_name)
19076 }
19077 
19078 // bool is_private = 3;
clear_is_private()19079 inline void NamespaceAlias::clear_is_private() {
19080   _impl_.is_private_ = false;
19081 }
_internal_is_private()19082 inline bool NamespaceAlias::_internal_is_private() const {
19083   return _impl_.is_private_;
19084 }
is_private()19085 inline bool NamespaceAlias::is_private() const {
19086   // @@protoc_insertion_point(field_get:aapt.pb.NamespaceAlias.is_private)
19087   return _internal_is_private();
19088 }
_internal_set_is_private(bool value)19089 inline void NamespaceAlias::_internal_set_is_private(bool value) {
19090 
19091   _impl_.is_private_ = value;
19092 }
set_is_private(bool value)19093 inline void NamespaceAlias::set_is_private(bool value) {
19094   _internal_set_is_private(value);
19095   // @@protoc_insertion_point(field_set:aapt.pb.NamespaceAlias.is_private)
19096 }
19097 
19098 // -------------------------------------------------------------------
19099 
19100 // StyleString_Span
19101 
19102 // string name = 1;
clear_name()19103 inline void StyleString_Span::clear_name() {
19104   _impl_.name_.ClearToEmpty();
19105 }
name()19106 inline const std::string& StyleString_Span::name() const {
19107   // @@protoc_insertion_point(field_get:aapt.pb.StyleString.Span.name)
19108   return _internal_name();
19109 }
19110 template <typename ArgT0, typename... ArgT>
19111 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)19112 void StyleString_Span::set_name(ArgT0&& arg0, ArgT... args) {
19113 
19114  _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
19115   // @@protoc_insertion_point(field_set:aapt.pb.StyleString.Span.name)
19116 }
mutable_name()19117 inline std::string* StyleString_Span::mutable_name() {
19118   std::string* _s = _internal_mutable_name();
19119   // @@protoc_insertion_point(field_mutable:aapt.pb.StyleString.Span.name)
19120   return _s;
19121 }
_internal_name()19122 inline const std::string& StyleString_Span::_internal_name() const {
19123   return _impl_.name_.Get();
19124 }
_internal_set_name(const std::string & value)19125 inline void StyleString_Span::_internal_set_name(const std::string& value) {
19126 
19127   _impl_.name_.Set(value, GetArenaForAllocation());
19128 }
_internal_mutable_name()19129 inline std::string* StyleString_Span::_internal_mutable_name() {
19130 
19131   return _impl_.name_.Mutable(GetArenaForAllocation());
19132 }
release_name()19133 inline std::string* StyleString_Span::release_name() {
19134   // @@protoc_insertion_point(field_release:aapt.pb.StyleString.Span.name)
19135   return _impl_.name_.Release();
19136 }
set_allocated_name(std::string * name)19137 inline void StyleString_Span::set_allocated_name(std::string* name) {
19138   _impl_.name_.SetAllocated(name, GetArenaForAllocation());
19139 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
19140   if (_impl_.name_.IsDefault()) {
19141     _impl_.name_.Set("", GetArenaForAllocation());
19142   }
19143 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
19144   // @@protoc_insertion_point(field_set_allocated:aapt.pb.StyleString.Span.name)
19145 }
19146 
19147 // uint32 start_index = 2;
clear_start_index()19148 inline void StyleString_Span::clear_start_index() {
19149   _impl_.start_index_ = 0u;
19150 }
_internal_start_index()19151 inline ::uint32_t StyleString_Span::_internal_start_index() const {
19152   return _impl_.start_index_;
19153 }
start_index()19154 inline ::uint32_t StyleString_Span::start_index() const {
19155   // @@protoc_insertion_point(field_get:aapt.pb.StyleString.Span.start_index)
19156   return _internal_start_index();
19157 }
_internal_set_start_index(::uint32_t value)19158 inline void StyleString_Span::_internal_set_start_index(::uint32_t value) {
19159 
19160   _impl_.start_index_ = value;
19161 }
set_start_index(::uint32_t value)19162 inline void StyleString_Span::set_start_index(::uint32_t value) {
19163   _internal_set_start_index(value);
19164   // @@protoc_insertion_point(field_set:aapt.pb.StyleString.Span.start_index)
19165 }
19166 
19167 // uint32 end_index = 3;
clear_end_index()19168 inline void StyleString_Span::clear_end_index() {
19169   _impl_.end_index_ = 0u;
19170 }
_internal_end_index()19171 inline ::uint32_t StyleString_Span::_internal_end_index() const {
19172   return _impl_.end_index_;
19173 }
end_index()19174 inline ::uint32_t StyleString_Span::end_index() const {
19175   // @@protoc_insertion_point(field_get:aapt.pb.StyleString.Span.end_index)
19176   return _internal_end_index();
19177 }
_internal_set_end_index(::uint32_t value)19178 inline void StyleString_Span::_internal_set_end_index(::uint32_t value) {
19179 
19180   _impl_.end_index_ = value;
19181 }
set_end_index(::uint32_t value)19182 inline void StyleString_Span::set_end_index(::uint32_t value) {
19183   _internal_set_end_index(value);
19184   // @@protoc_insertion_point(field_set:aapt.pb.StyleString.Span.end_index)
19185 }
19186 
19187 // -------------------------------------------------------------------
19188 
19189 // StyleString
19190 
19191 // string str = 1;
clear_str()19192 inline void StyleString::clear_str() {
19193   _impl_.str_.ClearToEmpty();
19194 }
str()19195 inline const std::string& StyleString::str() const {
19196   // @@protoc_insertion_point(field_get:aapt.pb.StyleString.str)
19197   return _internal_str();
19198 }
19199 template <typename ArgT0, typename... ArgT>
19200 inline PROTOBUF_ALWAYS_INLINE
set_str(ArgT0 && arg0,ArgT...args)19201 void StyleString::set_str(ArgT0&& arg0, ArgT... args) {
19202 
19203  _impl_.str_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
19204   // @@protoc_insertion_point(field_set:aapt.pb.StyleString.str)
19205 }
mutable_str()19206 inline std::string* StyleString::mutable_str() {
19207   std::string* _s = _internal_mutable_str();
19208   // @@protoc_insertion_point(field_mutable:aapt.pb.StyleString.str)
19209   return _s;
19210 }
_internal_str()19211 inline const std::string& StyleString::_internal_str() const {
19212   return _impl_.str_.Get();
19213 }
_internal_set_str(const std::string & value)19214 inline void StyleString::_internal_set_str(const std::string& value) {
19215 
19216   _impl_.str_.Set(value, GetArenaForAllocation());
19217 }
_internal_mutable_str()19218 inline std::string* StyleString::_internal_mutable_str() {
19219 
19220   return _impl_.str_.Mutable(GetArenaForAllocation());
19221 }
release_str()19222 inline std::string* StyleString::release_str() {
19223   // @@protoc_insertion_point(field_release:aapt.pb.StyleString.str)
19224   return _impl_.str_.Release();
19225 }
set_allocated_str(std::string * str)19226 inline void StyleString::set_allocated_str(std::string* str) {
19227   _impl_.str_.SetAllocated(str, GetArenaForAllocation());
19228 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
19229   if (_impl_.str_.IsDefault()) {
19230     _impl_.str_.Set("", GetArenaForAllocation());
19231   }
19232 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
19233   // @@protoc_insertion_point(field_set_allocated:aapt.pb.StyleString.str)
19234 }
19235 
19236 // repeated .aapt.pb.StyleString.Span spans = 2;
_internal_spans_size()19237 inline int StyleString::_internal_spans_size() const {
19238   return _impl_.spans_.size();
19239 }
spans_size()19240 inline int StyleString::spans_size() const {
19241   return _internal_spans_size();
19242 }
clear_spans()19243 inline void StyleString::clear_spans() {
19244   _impl_.spans_.Clear();
19245 }
mutable_spans(int index)19246 inline ::aapt::pb::StyleString_Span* StyleString::mutable_spans(int index) {
19247   // @@protoc_insertion_point(field_mutable:aapt.pb.StyleString.spans)
19248   return _impl_.spans_.Mutable(index);
19249 }
19250 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::StyleString_Span >*
mutable_spans()19251 StyleString::mutable_spans() {
19252   // @@protoc_insertion_point(field_mutable_list:aapt.pb.StyleString.spans)
19253   return &_impl_.spans_;
19254 }
_internal_spans(int index)19255 inline const ::aapt::pb::StyleString_Span& StyleString::_internal_spans(int index) const {
19256   return _impl_.spans_.Get(index);
19257 }
spans(int index)19258 inline const ::aapt::pb::StyleString_Span& StyleString::spans(int index) const {
19259   // @@protoc_insertion_point(field_get:aapt.pb.StyleString.spans)
19260   return _internal_spans(index);
19261 }
_internal_add_spans()19262 inline ::aapt::pb::StyleString_Span* StyleString::_internal_add_spans() {
19263   return _impl_.spans_.Add();
19264 }
add_spans()19265 inline ::aapt::pb::StyleString_Span* StyleString::add_spans() {
19266   ::aapt::pb::StyleString_Span* _add = _internal_add_spans();
19267   // @@protoc_insertion_point(field_add:aapt.pb.StyleString.spans)
19268   return _add;
19269 }
19270 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::StyleString_Span >&
spans()19271 StyleString::spans() const {
19272   // @@protoc_insertion_point(field_list:aapt.pb.StyleString.spans)
19273   return _impl_.spans_;
19274 }
19275 
19276 // -------------------------------------------------------------------
19277 
19278 // UntranslatableSection
19279 
19280 // uint64 start_index = 1;
clear_start_index()19281 inline void UntranslatableSection::clear_start_index() {
19282   _impl_.start_index_ = ::uint64_t{0u};
19283 }
_internal_start_index()19284 inline ::uint64_t UntranslatableSection::_internal_start_index() const {
19285   return _impl_.start_index_;
19286 }
start_index()19287 inline ::uint64_t UntranslatableSection::start_index() const {
19288   // @@protoc_insertion_point(field_get:aapt.pb.UntranslatableSection.start_index)
19289   return _internal_start_index();
19290 }
_internal_set_start_index(::uint64_t value)19291 inline void UntranslatableSection::_internal_set_start_index(::uint64_t value) {
19292 
19293   _impl_.start_index_ = value;
19294 }
set_start_index(::uint64_t value)19295 inline void UntranslatableSection::set_start_index(::uint64_t value) {
19296   _internal_set_start_index(value);
19297   // @@protoc_insertion_point(field_set:aapt.pb.UntranslatableSection.start_index)
19298 }
19299 
19300 // uint64 end_index = 2;
clear_end_index()19301 inline void UntranslatableSection::clear_end_index() {
19302   _impl_.end_index_ = ::uint64_t{0u};
19303 }
_internal_end_index()19304 inline ::uint64_t UntranslatableSection::_internal_end_index() const {
19305   return _impl_.end_index_;
19306 }
end_index()19307 inline ::uint64_t UntranslatableSection::end_index() const {
19308   // @@protoc_insertion_point(field_get:aapt.pb.UntranslatableSection.end_index)
19309   return _internal_end_index();
19310 }
_internal_set_end_index(::uint64_t value)19311 inline void UntranslatableSection::_internal_set_end_index(::uint64_t value) {
19312 
19313   _impl_.end_index_ = value;
19314 }
set_end_index(::uint64_t value)19315 inline void UntranslatableSection::set_end_index(::uint64_t value) {
19316   _internal_set_end_index(value);
19317   // @@protoc_insertion_point(field_set:aapt.pb.UntranslatableSection.end_index)
19318 }
19319 
19320 #ifdef __GNUC__
19321   #pragma GCC diagnostic pop
19322 #endif  // __GNUC__
19323 // -------------------------------------------------------------------
19324 
19325 // -------------------------------------------------------------------
19326 
19327 // -------------------------------------------------------------------
19328 
19329 // -------------------------------------------------------------------
19330 
19331 // -------------------------------------------------------------------
19332 
19333 // -------------------------------------------------------------------
19334 
19335 // -------------------------------------------------------------------
19336 
19337 // -------------------------------------------------------------------
19338 
19339 // -------------------------------------------------------------------
19340 
19341 // -------------------------------------------------------------------
19342 
19343 // -------------------------------------------------------------------
19344 
19345 // -------------------------------------------------------------------
19346 
19347 // -------------------------------------------------------------------
19348 
19349 // -------------------------------------------------------------------
19350 
19351 // -------------------------------------------------------------------
19352 
19353 // -------------------------------------------------------------------
19354 
19355 // -------------------------------------------------------------------
19356 
19357 // -------------------------------------------------------------------
19358 
19359 // -------------------------------------------------------------------
19360 
19361 // -------------------------------------------------------------------
19362 
19363 // -------------------------------------------------------------------
19364 
19365 // -------------------------------------------------------------------
19366 
19367 // -------------------------------------------------------------------
19368 
19369 // -------------------------------------------------------------------
19370 
19371 // -------------------------------------------------------------------
19372 
19373 // -------------------------------------------------------------------
19374 
19375 // -------------------------------------------------------------------
19376 
19377 // -------------------------------------------------------------------
19378 
19379 // -------------------------------------------------------------------
19380 
19381 // -------------------------------------------------------------------
19382 
19383 // -------------------------------------------------------------------
19384 
19385 // -------------------------------------------------------------------
19386 
19387 // -------------------------------------------------------------------
19388 
19389 // -------------------------------------------------------------------
19390 
19391 // -------------------------------------------------------------------
19392 
19393 // -------------------------------------------------------------------
19394 
19395 // -------------------------------------------------------------------
19396 
19397 // -------------------------------------------------------------------
19398 
19399 // -------------------------------------------------------------------
19400 
19401 // -------------------------------------------------------------------
19402 
19403 // -------------------------------------------------------------------
19404 
19405 // -------------------------------------------------------------------
19406 
19407 // -------------------------------------------------------------------
19408 
19409 // -------------------------------------------------------------------
19410 
19411 // -------------------------------------------------------------------
19412 
19413 // -------------------------------------------------------------------
19414 
19415 // -------------------------------------------------------------------
19416 
19417 // -------------------------------------------------------------------
19418 
19419 // -------------------------------------------------------------------
19420 
19421 // -------------------------------------------------------------------
19422 
19423 
19424 // @@protoc_insertion_point(namespace_scope)
19425 
19426 }  // namespace pb
19427 }  // namespace aapt
19428 
19429 PROTOBUF_NAMESPACE_OPEN
19430 
19431 template <> struct is_proto_enum< ::aapt::pb::Visibility_Level> : ::std::true_type {};
19432 template <>
19433 inline const EnumDescriptor* GetEnumDescriptor< ::aapt::pb::Visibility_Level>() {
19434   return ::aapt::pb::Visibility_Level_descriptor();
19435 }
19436 template <> struct is_proto_enum< ::aapt::pb::OverlayableItem_Policy> : ::std::true_type {};
19437 template <>
19438 inline const EnumDescriptor* GetEnumDescriptor< ::aapt::pb::OverlayableItem_Policy>() {
19439   return ::aapt::pb::OverlayableItem_Policy_descriptor();
19440 }
19441 template <> struct is_proto_enum< ::aapt::pb::Reference_Type> : ::std::true_type {};
19442 template <>
19443 inline const EnumDescriptor* GetEnumDescriptor< ::aapt::pb::Reference_Type>() {
19444   return ::aapt::pb::Reference_Type_descriptor();
19445 }
19446 template <> struct is_proto_enum< ::aapt::pb::FileReference_Type> : ::std::true_type {};
19447 template <>
19448 inline const EnumDescriptor* GetEnumDescriptor< ::aapt::pb::FileReference_Type>() {
19449   return ::aapt::pb::FileReference_Type_descriptor();
19450 }
19451 template <> struct is_proto_enum< ::aapt::pb::Attribute_FormatFlags> : ::std::true_type {};
19452 template <>
19453 inline const EnumDescriptor* GetEnumDescriptor< ::aapt::pb::Attribute_FormatFlags>() {
19454   return ::aapt::pb::Attribute_FormatFlags_descriptor();
19455 }
19456 template <> struct is_proto_enum< ::aapt::pb::Plural_Arity> : ::std::true_type {};
19457 template <>
19458 inline const EnumDescriptor* GetEnumDescriptor< ::aapt::pb::Plural_Arity>() {
19459   return ::aapt::pb::Plural_Arity_descriptor();
19460 }
19461 
19462 PROTOBUF_NAMESPACE_CLOSE
19463 
19464 // @@protoc_insertion_point(global_scope)
19465 
19466 #include <google/protobuf/port_undef.inc>
19467 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_frameworks_2fbase_2ftools_2faapt2_2fResources_2eproto
19468