1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: frameworks/base/tools/aapt2/ResourceMetadata.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_frameworks_2fbase_2ftools_2faapt2_2fResourceMetadata_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_frameworks_2fbase_2ftools_2faapt2_2fResourceMetadata_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_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
34 // @@protoc_insertion_point(includes)
35 #include <google/protobuf/port_def.inc>
36 #define PROTOBUF_INTERNAL_EXPORT_frameworks_2fbase_2ftools_2faapt2_2fResourceMetadata_2eproto
37 PROTOBUF_NAMESPACE_OPEN
38 namespace internal {
39 class AnyMetadata;
40 } // namespace internal
41 PROTOBUF_NAMESPACE_CLOSE
42
43 // Internal implementation detail -- do not use these members.
44 struct TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResourceMetadata_2eproto {
45 static const ::uint32_t offsets[];
46 };
47 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_frameworks_2fbase_2ftools_2faapt2_2fResourceMetadata_2eproto;
48 namespace aapt {
49 namespace pb {
50 class CollapsedNamesMap;
51 struct CollapsedNamesMapDefaultTypeInternal;
52 extern CollapsedNamesMapDefaultTypeInternal _CollapsedNamesMap_default_instance_;
53 class CollapsedNamesMap_ResourceNameMapping;
54 struct CollapsedNamesMap_ResourceNameMappingDefaultTypeInternal;
55 extern CollapsedNamesMap_ResourceNameMappingDefaultTypeInternal _CollapsedNamesMap_ResourceNameMapping_default_instance_;
56 class ResourceMappings;
57 struct ResourceMappingsDefaultTypeInternal;
58 extern ResourceMappingsDefaultTypeInternal _ResourceMappings_default_instance_;
59 class ShortenedPathsMap;
60 struct ShortenedPathsMapDefaultTypeInternal;
61 extern ShortenedPathsMapDefaultTypeInternal _ShortenedPathsMap_default_instance_;
62 class ShortenedPathsMap_ResourcePathMapping;
63 struct ShortenedPathsMap_ResourcePathMappingDefaultTypeInternal;
64 extern ShortenedPathsMap_ResourcePathMappingDefaultTypeInternal _ShortenedPathsMap_ResourcePathMapping_default_instance_;
65 } // namespace pb
66 } // namespace aapt
67 PROTOBUF_NAMESPACE_OPEN
68 template<> ::aapt::pb::CollapsedNamesMap* Arena::CreateMaybeMessage<::aapt::pb::CollapsedNamesMap>(Arena*);
69 template<> ::aapt::pb::CollapsedNamesMap_ResourceNameMapping* Arena::CreateMaybeMessage<::aapt::pb::CollapsedNamesMap_ResourceNameMapping>(Arena*);
70 template<> ::aapt::pb::ResourceMappings* Arena::CreateMaybeMessage<::aapt::pb::ResourceMappings>(Arena*);
71 template<> ::aapt::pb::ShortenedPathsMap* Arena::CreateMaybeMessage<::aapt::pb::ShortenedPathsMap>(Arena*);
72 template<> ::aapt::pb::ShortenedPathsMap_ResourcePathMapping* Arena::CreateMaybeMessage<::aapt::pb::ShortenedPathsMap_ResourcePathMapping>(Arena*);
73 PROTOBUF_NAMESPACE_CLOSE
74 namespace aapt {
75 namespace pb {
76
77 // ===================================================================
78
79 class ResourceMappings final :
80 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.ResourceMappings) */ {
81 public:
ResourceMappings()82 inline ResourceMappings() : ResourceMappings(nullptr) {}
83 ~ResourceMappings() override;
84 explicit PROTOBUF_CONSTEXPR ResourceMappings(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
85
86 ResourceMappings(const ResourceMappings& from);
ResourceMappings(ResourceMappings && from)87 ResourceMappings(ResourceMappings&& from) noexcept
88 : ResourceMappings() {
89 *this = ::std::move(from);
90 }
91
92 inline ResourceMappings& operator=(const ResourceMappings& from) {
93 if (this == &from) return *this;
94 CopyFrom(from);
95 return *this;
96 }
97 inline ResourceMappings& operator=(ResourceMappings&& from) noexcept {
98 if (this == &from) return *this;
99 if (GetOwningArena() == from.GetOwningArena()
100 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
101 && GetOwningArena() != nullptr
102 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
103 ) {
104 InternalSwap(&from);
105 } else {
106 CopyFrom(from);
107 }
108 return *this;
109 }
110
descriptor()111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
112 return GetDescriptor();
113 }
GetDescriptor()114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
115 return default_instance().GetMetadata().descriptor;
116 }
GetReflection()117 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
118 return default_instance().GetMetadata().reflection;
119 }
default_instance()120 static const ResourceMappings& default_instance() {
121 return *internal_default_instance();
122 }
internal_default_instance()123 static inline const ResourceMappings* internal_default_instance() {
124 return reinterpret_cast<const ResourceMappings*>(
125 &_ResourceMappings_default_instance_);
126 }
127 static constexpr int kIndexInFileMessages =
128 0;
129
swap(ResourceMappings & a,ResourceMappings & b)130 friend void swap(ResourceMappings& a, ResourceMappings& b) {
131 a.Swap(&b);
132 }
Swap(ResourceMappings * other)133 inline void Swap(ResourceMappings* other) {
134 if (other == this) return;
135 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
136 if (GetOwningArena() != nullptr &&
137 GetOwningArena() == other->GetOwningArena()) {
138 #else // PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() == other->GetOwningArena()) {
140 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
141 InternalSwap(other);
142 } else {
143 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
144 }
145 }
146 void UnsafeArenaSwap(ResourceMappings* other) {
147 if (other == this) return;
148 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
149 InternalSwap(other);
150 }
151
152 // implements Message ----------------------------------------------
153
154 ResourceMappings* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
155 return CreateMaybeMessage<ResourceMappings>(arena);
156 }
157 ResourceMappings* New() const {
158 return New(nullptr);
159 }
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
161 void CopyFrom(const ResourceMappings& from);
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
163 void MergeFrom( const ResourceMappings& from) {
164 ResourceMappings::MergeImpl(*this, from);
165 }
166 private:
167 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
168 public:
169 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
170 bool IsInitialized() const final;
171
172 size_t ByteSizeLong() const final;
173 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
174 ::uint8_t* _InternalSerialize(
175 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
177
178 private:
179 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
180 void SharedDtor();
181 void SetCachedSize(int size) const final;
182 void InternalSwap(ResourceMappings* other);
183
184 private:
185 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
186 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
187 return "aapt.pb.ResourceMappings";
188 }
189 protected:
190 explicit ResourceMappings(::PROTOBUF_NAMESPACE_ID::Arena* arena,
191 bool is_message_owned = false);
192 public:
193
194 static const ClassData _class_data_;
195 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
196
197 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
198
199 // nested types ----------------------------------------------------
200
201 // accessors -------------------------------------------------------
202
203 enum : int {
204 kShortenedPathsFieldNumber = 1,
205 kCollapsedNamesFieldNumber = 2,
206 };
207 // .aapt.pb.ShortenedPathsMap shortened_paths = 1;
208 bool has_shortened_paths() const;
209 private:
210 bool _internal_has_shortened_paths() const;
211 public:
212 void clear_shortened_paths();
213 const ::aapt::pb::ShortenedPathsMap& shortened_paths() const;
214 PROTOBUF_NODISCARD ::aapt::pb::ShortenedPathsMap* release_shortened_paths();
215 ::aapt::pb::ShortenedPathsMap* mutable_shortened_paths();
216 void set_allocated_shortened_paths(::aapt::pb::ShortenedPathsMap* shortened_paths);
217 private:
218 const ::aapt::pb::ShortenedPathsMap& _internal_shortened_paths() const;
219 ::aapt::pb::ShortenedPathsMap* _internal_mutable_shortened_paths();
220 public:
221 void unsafe_arena_set_allocated_shortened_paths(
222 ::aapt::pb::ShortenedPathsMap* shortened_paths);
223 ::aapt::pb::ShortenedPathsMap* unsafe_arena_release_shortened_paths();
224
225 // .aapt.pb.CollapsedNamesMap collapsed_names = 2;
226 bool has_collapsed_names() const;
227 private:
228 bool _internal_has_collapsed_names() const;
229 public:
230 void clear_collapsed_names();
231 const ::aapt::pb::CollapsedNamesMap& collapsed_names() const;
232 PROTOBUF_NODISCARD ::aapt::pb::CollapsedNamesMap* release_collapsed_names();
233 ::aapt::pb::CollapsedNamesMap* mutable_collapsed_names();
234 void set_allocated_collapsed_names(::aapt::pb::CollapsedNamesMap* collapsed_names);
235 private:
236 const ::aapt::pb::CollapsedNamesMap& _internal_collapsed_names() const;
237 ::aapt::pb::CollapsedNamesMap* _internal_mutable_collapsed_names();
238 public:
239 void unsafe_arena_set_allocated_collapsed_names(
240 ::aapt::pb::CollapsedNamesMap* collapsed_names);
241 ::aapt::pb::CollapsedNamesMap* unsafe_arena_release_collapsed_names();
242
243 // @@protoc_insertion_point(class_scope:aapt.pb.ResourceMappings)
244 private:
245 class _Internal;
246
247 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
248 typedef void InternalArenaConstructable_;
249 typedef void DestructorSkippable_;
250 struct Impl_ {
251 ::aapt::pb::ShortenedPathsMap* shortened_paths_;
252 ::aapt::pb::CollapsedNamesMap* collapsed_names_;
253 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
254 };
255 union { Impl_ _impl_; };
256 friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResourceMetadata_2eproto;
257 };
258 // -------------------------------------------------------------------
259
260 class ShortenedPathsMap_ResourcePathMapping final :
261 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.ShortenedPathsMap.ResourcePathMapping) */ {
262 public:
ShortenedPathsMap_ResourcePathMapping()263 inline ShortenedPathsMap_ResourcePathMapping() : ShortenedPathsMap_ResourcePathMapping(nullptr) {}
264 ~ShortenedPathsMap_ResourcePathMapping() override;
265 explicit PROTOBUF_CONSTEXPR ShortenedPathsMap_ResourcePathMapping(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
266
267 ShortenedPathsMap_ResourcePathMapping(const ShortenedPathsMap_ResourcePathMapping& from);
ShortenedPathsMap_ResourcePathMapping(ShortenedPathsMap_ResourcePathMapping && from)268 ShortenedPathsMap_ResourcePathMapping(ShortenedPathsMap_ResourcePathMapping&& from) noexcept
269 : ShortenedPathsMap_ResourcePathMapping() {
270 *this = ::std::move(from);
271 }
272
273 inline ShortenedPathsMap_ResourcePathMapping& operator=(const ShortenedPathsMap_ResourcePathMapping& from) {
274 if (this == &from) return *this;
275 CopyFrom(from);
276 return *this;
277 }
278 inline ShortenedPathsMap_ResourcePathMapping& operator=(ShortenedPathsMap_ResourcePathMapping&& from) noexcept {
279 if (this == &from) return *this;
280 if (GetOwningArena() == from.GetOwningArena()
281 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
282 && GetOwningArena() != nullptr
283 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
284 ) {
285 InternalSwap(&from);
286 } else {
287 CopyFrom(from);
288 }
289 return *this;
290 }
291
descriptor()292 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
293 return GetDescriptor();
294 }
GetDescriptor()295 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
296 return default_instance().GetMetadata().descriptor;
297 }
GetReflection()298 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
299 return default_instance().GetMetadata().reflection;
300 }
default_instance()301 static const ShortenedPathsMap_ResourcePathMapping& default_instance() {
302 return *internal_default_instance();
303 }
internal_default_instance()304 static inline const ShortenedPathsMap_ResourcePathMapping* internal_default_instance() {
305 return reinterpret_cast<const ShortenedPathsMap_ResourcePathMapping*>(
306 &_ShortenedPathsMap_ResourcePathMapping_default_instance_);
307 }
308 static constexpr int kIndexInFileMessages =
309 1;
310
swap(ShortenedPathsMap_ResourcePathMapping & a,ShortenedPathsMap_ResourcePathMapping & b)311 friend void swap(ShortenedPathsMap_ResourcePathMapping& a, ShortenedPathsMap_ResourcePathMapping& b) {
312 a.Swap(&b);
313 }
Swap(ShortenedPathsMap_ResourcePathMapping * other)314 inline void Swap(ShortenedPathsMap_ResourcePathMapping* other) {
315 if (other == this) return;
316 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
317 if (GetOwningArena() != nullptr &&
318 GetOwningArena() == other->GetOwningArena()) {
319 #else // PROTOBUF_FORCE_COPY_IN_SWAP
320 if (GetOwningArena() == other->GetOwningArena()) {
321 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
322 InternalSwap(other);
323 } else {
324 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
325 }
326 }
327 void UnsafeArenaSwap(ShortenedPathsMap_ResourcePathMapping* other) {
328 if (other == this) return;
329 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
330 InternalSwap(other);
331 }
332
333 // implements Message ----------------------------------------------
334
335 ShortenedPathsMap_ResourcePathMapping* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
336 return CreateMaybeMessage<ShortenedPathsMap_ResourcePathMapping>(arena);
337 }
338 ShortenedPathsMap_ResourcePathMapping* New() const {
339 return New(nullptr);
340 }
341 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
342 void CopyFrom(const ShortenedPathsMap_ResourcePathMapping& from);
343 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
344 void MergeFrom( const ShortenedPathsMap_ResourcePathMapping& from) {
345 ShortenedPathsMap_ResourcePathMapping::MergeImpl(*this, from);
346 }
347 private:
348 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
349 public:
350 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
351 bool IsInitialized() const final;
352
353 size_t ByteSizeLong() const final;
354 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
355 ::uint8_t* _InternalSerialize(
356 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
357 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
358
359 private:
360 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
361 void SharedDtor();
362 void SetCachedSize(int size) const final;
363 void InternalSwap(ShortenedPathsMap_ResourcePathMapping* other);
364
365 private:
366 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
367 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
368 return "aapt.pb.ShortenedPathsMap.ResourcePathMapping";
369 }
370 protected:
371 explicit ShortenedPathsMap_ResourcePathMapping(::PROTOBUF_NAMESPACE_ID::Arena* arena,
372 bool is_message_owned = false);
373 public:
374
375 static const ClassData _class_data_;
376 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
377
378 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
379
380 // nested types ----------------------------------------------------
381
382 // accessors -------------------------------------------------------
383
384 enum : int {
385 kShortenedPathFieldNumber = 1,
386 kOriginalPathFieldNumber = 2,
387 };
388 // string shortened_path = 1;
389 void clear_shortened_path();
390 const std::string& shortened_path() const;
391 template <typename ArgT0 = const std::string&, typename... ArgT>
392 void set_shortened_path(ArgT0&& arg0, ArgT... args);
393 std::string* mutable_shortened_path();
394 PROTOBUF_NODISCARD std::string* release_shortened_path();
395 void set_allocated_shortened_path(std::string* shortened_path);
396 private:
397 const std::string& _internal_shortened_path() const;
398 inline PROTOBUF_ALWAYS_INLINE void _internal_set_shortened_path(const std::string& value);
399 std::string* _internal_mutable_shortened_path();
400 public:
401
402 // string original_path = 2;
403 void clear_original_path();
404 const std::string& original_path() const;
405 template <typename ArgT0 = const std::string&, typename... ArgT>
406 void set_original_path(ArgT0&& arg0, ArgT... args);
407 std::string* mutable_original_path();
408 PROTOBUF_NODISCARD std::string* release_original_path();
409 void set_allocated_original_path(std::string* original_path);
410 private:
411 const std::string& _internal_original_path() const;
412 inline PROTOBUF_ALWAYS_INLINE void _internal_set_original_path(const std::string& value);
413 std::string* _internal_mutable_original_path();
414 public:
415
416 // @@protoc_insertion_point(class_scope:aapt.pb.ShortenedPathsMap.ResourcePathMapping)
417 private:
418 class _Internal;
419
420 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
421 typedef void InternalArenaConstructable_;
422 typedef void DestructorSkippable_;
423 struct Impl_ {
424 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr shortened_path_;
425 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr original_path_;
426 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
427 };
428 union { Impl_ _impl_; };
429 friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResourceMetadata_2eproto;
430 };
431 // -------------------------------------------------------------------
432
433 class ShortenedPathsMap final :
434 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.ShortenedPathsMap) */ {
435 public:
ShortenedPathsMap()436 inline ShortenedPathsMap() : ShortenedPathsMap(nullptr) {}
437 ~ShortenedPathsMap() override;
438 explicit PROTOBUF_CONSTEXPR ShortenedPathsMap(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
439
440 ShortenedPathsMap(const ShortenedPathsMap& from);
ShortenedPathsMap(ShortenedPathsMap && from)441 ShortenedPathsMap(ShortenedPathsMap&& from) noexcept
442 : ShortenedPathsMap() {
443 *this = ::std::move(from);
444 }
445
446 inline ShortenedPathsMap& operator=(const ShortenedPathsMap& from) {
447 if (this == &from) return *this;
448 CopyFrom(from);
449 return *this;
450 }
451 inline ShortenedPathsMap& operator=(ShortenedPathsMap&& from) noexcept {
452 if (this == &from) return *this;
453 if (GetOwningArena() == from.GetOwningArena()
454 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
455 && GetOwningArena() != nullptr
456 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
457 ) {
458 InternalSwap(&from);
459 } else {
460 CopyFrom(from);
461 }
462 return *this;
463 }
464
descriptor()465 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
466 return GetDescriptor();
467 }
GetDescriptor()468 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
469 return default_instance().GetMetadata().descriptor;
470 }
GetReflection()471 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
472 return default_instance().GetMetadata().reflection;
473 }
default_instance()474 static const ShortenedPathsMap& default_instance() {
475 return *internal_default_instance();
476 }
internal_default_instance()477 static inline const ShortenedPathsMap* internal_default_instance() {
478 return reinterpret_cast<const ShortenedPathsMap*>(
479 &_ShortenedPathsMap_default_instance_);
480 }
481 static constexpr int kIndexInFileMessages =
482 2;
483
swap(ShortenedPathsMap & a,ShortenedPathsMap & b)484 friend void swap(ShortenedPathsMap& a, ShortenedPathsMap& b) {
485 a.Swap(&b);
486 }
Swap(ShortenedPathsMap * other)487 inline void Swap(ShortenedPathsMap* other) {
488 if (other == this) return;
489 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
490 if (GetOwningArena() != nullptr &&
491 GetOwningArena() == other->GetOwningArena()) {
492 #else // PROTOBUF_FORCE_COPY_IN_SWAP
493 if (GetOwningArena() == other->GetOwningArena()) {
494 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
495 InternalSwap(other);
496 } else {
497 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
498 }
499 }
500 void UnsafeArenaSwap(ShortenedPathsMap* other) {
501 if (other == this) return;
502 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
503 InternalSwap(other);
504 }
505
506 // implements Message ----------------------------------------------
507
508 ShortenedPathsMap* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
509 return CreateMaybeMessage<ShortenedPathsMap>(arena);
510 }
511 ShortenedPathsMap* New() const {
512 return New(nullptr);
513 }
514 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
515 void CopyFrom(const ShortenedPathsMap& from);
516 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
517 void MergeFrom( const ShortenedPathsMap& from) {
518 ShortenedPathsMap::MergeImpl(*this, from);
519 }
520 private:
521 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
522 public:
523 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
524 bool IsInitialized() const final;
525
526 size_t ByteSizeLong() const final;
527 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
528 ::uint8_t* _InternalSerialize(
529 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
530 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
531
532 private:
533 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
534 void SharedDtor();
535 void SetCachedSize(int size) const final;
536 void InternalSwap(ShortenedPathsMap* other);
537
538 private:
539 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
540 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
541 return "aapt.pb.ShortenedPathsMap";
542 }
543 protected:
544 explicit ShortenedPathsMap(::PROTOBUF_NAMESPACE_ID::Arena* arena,
545 bool is_message_owned = false);
546 public:
547
548 static const ClassData _class_data_;
549 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
550
551 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
552
553 // nested types ----------------------------------------------------
554
555 typedef ShortenedPathsMap_ResourcePathMapping ResourcePathMapping;
556
557 // accessors -------------------------------------------------------
558
559 enum : int {
560 kResourcePathsFieldNumber = 1,
561 };
562 // repeated .aapt.pb.ShortenedPathsMap.ResourcePathMapping resource_paths = 1;
563 int resource_paths_size() const;
564 private:
565 int _internal_resource_paths_size() const;
566 public:
567 void clear_resource_paths();
568 ::aapt::pb::ShortenedPathsMap_ResourcePathMapping* mutable_resource_paths(int index);
569 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ShortenedPathsMap_ResourcePathMapping >*
570 mutable_resource_paths();
571 private:
572 const ::aapt::pb::ShortenedPathsMap_ResourcePathMapping& _internal_resource_paths(int index) const;
573 ::aapt::pb::ShortenedPathsMap_ResourcePathMapping* _internal_add_resource_paths();
574 public:
575 const ::aapt::pb::ShortenedPathsMap_ResourcePathMapping& resource_paths(int index) const;
576 ::aapt::pb::ShortenedPathsMap_ResourcePathMapping* add_resource_paths();
577 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ShortenedPathsMap_ResourcePathMapping >&
578 resource_paths() const;
579
580 // @@protoc_insertion_point(class_scope:aapt.pb.ShortenedPathsMap)
581 private:
582 class _Internal;
583
584 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
585 typedef void InternalArenaConstructable_;
586 typedef void DestructorSkippable_;
587 struct Impl_ {
588 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ShortenedPathsMap_ResourcePathMapping > resource_paths_;
589 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
590 };
591 union { Impl_ _impl_; };
592 friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResourceMetadata_2eproto;
593 };
594 // -------------------------------------------------------------------
595
596 class CollapsedNamesMap_ResourceNameMapping final :
597 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.CollapsedNamesMap.ResourceNameMapping) */ {
598 public:
CollapsedNamesMap_ResourceNameMapping()599 inline CollapsedNamesMap_ResourceNameMapping() : CollapsedNamesMap_ResourceNameMapping(nullptr) {}
600 ~CollapsedNamesMap_ResourceNameMapping() override;
601 explicit PROTOBUF_CONSTEXPR CollapsedNamesMap_ResourceNameMapping(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
602
603 CollapsedNamesMap_ResourceNameMapping(const CollapsedNamesMap_ResourceNameMapping& from);
CollapsedNamesMap_ResourceNameMapping(CollapsedNamesMap_ResourceNameMapping && from)604 CollapsedNamesMap_ResourceNameMapping(CollapsedNamesMap_ResourceNameMapping&& from) noexcept
605 : CollapsedNamesMap_ResourceNameMapping() {
606 *this = ::std::move(from);
607 }
608
609 inline CollapsedNamesMap_ResourceNameMapping& operator=(const CollapsedNamesMap_ResourceNameMapping& from) {
610 if (this == &from) return *this;
611 CopyFrom(from);
612 return *this;
613 }
614 inline CollapsedNamesMap_ResourceNameMapping& operator=(CollapsedNamesMap_ResourceNameMapping&& from) noexcept {
615 if (this == &from) return *this;
616 if (GetOwningArena() == from.GetOwningArena()
617 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
618 && GetOwningArena() != nullptr
619 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
620 ) {
621 InternalSwap(&from);
622 } else {
623 CopyFrom(from);
624 }
625 return *this;
626 }
627
descriptor()628 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
629 return GetDescriptor();
630 }
GetDescriptor()631 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
632 return default_instance().GetMetadata().descriptor;
633 }
GetReflection()634 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
635 return default_instance().GetMetadata().reflection;
636 }
default_instance()637 static const CollapsedNamesMap_ResourceNameMapping& default_instance() {
638 return *internal_default_instance();
639 }
internal_default_instance()640 static inline const CollapsedNamesMap_ResourceNameMapping* internal_default_instance() {
641 return reinterpret_cast<const CollapsedNamesMap_ResourceNameMapping*>(
642 &_CollapsedNamesMap_ResourceNameMapping_default_instance_);
643 }
644 static constexpr int kIndexInFileMessages =
645 3;
646
swap(CollapsedNamesMap_ResourceNameMapping & a,CollapsedNamesMap_ResourceNameMapping & b)647 friend void swap(CollapsedNamesMap_ResourceNameMapping& a, CollapsedNamesMap_ResourceNameMapping& b) {
648 a.Swap(&b);
649 }
Swap(CollapsedNamesMap_ResourceNameMapping * other)650 inline void Swap(CollapsedNamesMap_ResourceNameMapping* other) {
651 if (other == this) return;
652 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
653 if (GetOwningArena() != nullptr &&
654 GetOwningArena() == other->GetOwningArena()) {
655 #else // PROTOBUF_FORCE_COPY_IN_SWAP
656 if (GetOwningArena() == other->GetOwningArena()) {
657 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
658 InternalSwap(other);
659 } else {
660 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
661 }
662 }
663 void UnsafeArenaSwap(CollapsedNamesMap_ResourceNameMapping* other) {
664 if (other == this) return;
665 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
666 InternalSwap(other);
667 }
668
669 // implements Message ----------------------------------------------
670
671 CollapsedNamesMap_ResourceNameMapping* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
672 return CreateMaybeMessage<CollapsedNamesMap_ResourceNameMapping>(arena);
673 }
674 CollapsedNamesMap_ResourceNameMapping* New() const {
675 return New(nullptr);
676 }
677 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
678 void CopyFrom(const CollapsedNamesMap_ResourceNameMapping& from);
679 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
680 void MergeFrom( const CollapsedNamesMap_ResourceNameMapping& from) {
681 CollapsedNamesMap_ResourceNameMapping::MergeImpl(*this, from);
682 }
683 private:
684 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
685 public:
686 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
687 bool IsInitialized() const final;
688
689 size_t ByteSizeLong() const final;
690 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
691 ::uint8_t* _InternalSerialize(
692 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
693 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
694
695 private:
696 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
697 void SharedDtor();
698 void SetCachedSize(int size) const final;
699 void InternalSwap(CollapsedNamesMap_ResourceNameMapping* other);
700
701 private:
702 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
703 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
704 return "aapt.pb.CollapsedNamesMap.ResourceNameMapping";
705 }
706 protected:
707 explicit CollapsedNamesMap_ResourceNameMapping(::PROTOBUF_NAMESPACE_ID::Arena* arena,
708 bool is_message_owned = false);
709 public:
710
711 static const ClassData _class_data_;
712 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
713
714 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
715
716 // nested types ----------------------------------------------------
717
718 // accessors -------------------------------------------------------
719
720 enum : int {
721 kNameFieldNumber = 2,
722 kIdFieldNumber = 1,
723 };
724 // string name = 2;
725 void clear_name();
726 const std::string& name() const;
727 template <typename ArgT0 = const std::string&, typename... ArgT>
728 void set_name(ArgT0&& arg0, ArgT... args);
729 std::string* mutable_name();
730 PROTOBUF_NODISCARD std::string* release_name();
731 void set_allocated_name(std::string* name);
732 private:
733 const std::string& _internal_name() const;
734 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
735 std::string* _internal_mutable_name();
736 public:
737
738 // uint32 id = 1;
739 void clear_id();
740 ::uint32_t id() const;
741 void set_id(::uint32_t value);
742 private:
743 ::uint32_t _internal_id() const;
744 void _internal_set_id(::uint32_t value);
745 public:
746
747 // @@protoc_insertion_point(class_scope:aapt.pb.CollapsedNamesMap.ResourceNameMapping)
748 private:
749 class _Internal;
750
751 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
752 typedef void InternalArenaConstructable_;
753 typedef void DestructorSkippable_;
754 struct Impl_ {
755 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
756 ::uint32_t id_;
757 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
758 };
759 union { Impl_ _impl_; };
760 friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResourceMetadata_2eproto;
761 };
762 // -------------------------------------------------------------------
763
764 class CollapsedNamesMap final :
765 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:aapt.pb.CollapsedNamesMap) */ {
766 public:
CollapsedNamesMap()767 inline CollapsedNamesMap() : CollapsedNamesMap(nullptr) {}
768 ~CollapsedNamesMap() override;
769 explicit PROTOBUF_CONSTEXPR CollapsedNamesMap(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
770
771 CollapsedNamesMap(const CollapsedNamesMap& from);
CollapsedNamesMap(CollapsedNamesMap && from)772 CollapsedNamesMap(CollapsedNamesMap&& from) noexcept
773 : CollapsedNamesMap() {
774 *this = ::std::move(from);
775 }
776
777 inline CollapsedNamesMap& operator=(const CollapsedNamesMap& from) {
778 if (this == &from) return *this;
779 CopyFrom(from);
780 return *this;
781 }
782 inline CollapsedNamesMap& operator=(CollapsedNamesMap&& from) noexcept {
783 if (this == &from) return *this;
784 if (GetOwningArena() == from.GetOwningArena()
785 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
786 && GetOwningArena() != nullptr
787 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
788 ) {
789 InternalSwap(&from);
790 } else {
791 CopyFrom(from);
792 }
793 return *this;
794 }
795
descriptor()796 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
797 return GetDescriptor();
798 }
GetDescriptor()799 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
800 return default_instance().GetMetadata().descriptor;
801 }
GetReflection()802 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
803 return default_instance().GetMetadata().reflection;
804 }
default_instance()805 static const CollapsedNamesMap& default_instance() {
806 return *internal_default_instance();
807 }
internal_default_instance()808 static inline const CollapsedNamesMap* internal_default_instance() {
809 return reinterpret_cast<const CollapsedNamesMap*>(
810 &_CollapsedNamesMap_default_instance_);
811 }
812 static constexpr int kIndexInFileMessages =
813 4;
814
swap(CollapsedNamesMap & a,CollapsedNamesMap & b)815 friend void swap(CollapsedNamesMap& a, CollapsedNamesMap& b) {
816 a.Swap(&b);
817 }
Swap(CollapsedNamesMap * other)818 inline void Swap(CollapsedNamesMap* other) {
819 if (other == this) return;
820 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
821 if (GetOwningArena() != nullptr &&
822 GetOwningArena() == other->GetOwningArena()) {
823 #else // PROTOBUF_FORCE_COPY_IN_SWAP
824 if (GetOwningArena() == other->GetOwningArena()) {
825 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
826 InternalSwap(other);
827 } else {
828 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
829 }
830 }
831 void UnsafeArenaSwap(CollapsedNamesMap* other) {
832 if (other == this) return;
833 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
834 InternalSwap(other);
835 }
836
837 // implements Message ----------------------------------------------
838
839 CollapsedNamesMap* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
840 return CreateMaybeMessage<CollapsedNamesMap>(arena);
841 }
842 CollapsedNamesMap* New() const {
843 return New(nullptr);
844 }
845 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
846 void CopyFrom(const CollapsedNamesMap& from);
847 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
848 void MergeFrom( const CollapsedNamesMap& from) {
849 CollapsedNamesMap::MergeImpl(*this, from);
850 }
851 private:
852 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
853 public:
854 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
855 bool IsInitialized() const final;
856
857 size_t ByteSizeLong() const final;
858 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
859 ::uint8_t* _InternalSerialize(
860 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
861 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
862
863 private:
864 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
865 void SharedDtor();
866 void SetCachedSize(int size) const final;
867 void InternalSwap(CollapsedNamesMap* other);
868
869 private:
870 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
871 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
872 return "aapt.pb.CollapsedNamesMap";
873 }
874 protected:
875 explicit CollapsedNamesMap(::PROTOBUF_NAMESPACE_ID::Arena* arena,
876 bool is_message_owned = false);
877 public:
878
879 static const ClassData _class_data_;
880 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
881
882 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
883
884 // nested types ----------------------------------------------------
885
886 typedef CollapsedNamesMap_ResourceNameMapping ResourceNameMapping;
887
888 // accessors -------------------------------------------------------
889
890 enum : int {
891 kResourceNamesFieldNumber = 1,
892 };
893 // repeated .aapt.pb.CollapsedNamesMap.ResourceNameMapping resource_names = 1;
894 int resource_names_size() const;
895 private:
896 int _internal_resource_names_size() const;
897 public:
898 void clear_resource_names();
899 ::aapt::pb::CollapsedNamesMap_ResourceNameMapping* mutable_resource_names(int index);
900 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::CollapsedNamesMap_ResourceNameMapping >*
901 mutable_resource_names();
902 private:
903 const ::aapt::pb::CollapsedNamesMap_ResourceNameMapping& _internal_resource_names(int index) const;
904 ::aapt::pb::CollapsedNamesMap_ResourceNameMapping* _internal_add_resource_names();
905 public:
906 const ::aapt::pb::CollapsedNamesMap_ResourceNameMapping& resource_names(int index) const;
907 ::aapt::pb::CollapsedNamesMap_ResourceNameMapping* add_resource_names();
908 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::CollapsedNamesMap_ResourceNameMapping >&
909 resource_names() const;
910
911 // @@protoc_insertion_point(class_scope:aapt.pb.CollapsedNamesMap)
912 private:
913 class _Internal;
914
915 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
916 typedef void InternalArenaConstructable_;
917 typedef void DestructorSkippable_;
918 struct Impl_ {
919 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::CollapsedNamesMap_ResourceNameMapping > resource_names_;
920 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
921 };
922 union { Impl_ _impl_; };
923 friend struct ::TableStruct_frameworks_2fbase_2ftools_2faapt2_2fResourceMetadata_2eproto;
924 };
925 // ===================================================================
926
927
928 // ===================================================================
929
930 #ifdef __GNUC__
931 #pragma GCC diagnostic push
932 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
933 #endif // __GNUC__
934 // ResourceMappings
935
936 // .aapt.pb.ShortenedPathsMap shortened_paths = 1;
_internal_has_shortened_paths()937 inline bool ResourceMappings::_internal_has_shortened_paths() const {
938 return this != internal_default_instance() && _impl_.shortened_paths_ != nullptr;
939 }
has_shortened_paths()940 inline bool ResourceMappings::has_shortened_paths() const {
941 return _internal_has_shortened_paths();
942 }
clear_shortened_paths()943 inline void ResourceMappings::clear_shortened_paths() {
944 if (GetArenaForAllocation() == nullptr && _impl_.shortened_paths_ != nullptr) {
945 delete _impl_.shortened_paths_;
946 }
947 _impl_.shortened_paths_ = nullptr;
948 }
_internal_shortened_paths()949 inline const ::aapt::pb::ShortenedPathsMap& ResourceMappings::_internal_shortened_paths() const {
950 const ::aapt::pb::ShortenedPathsMap* p = _impl_.shortened_paths_;
951 return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::ShortenedPathsMap&>(
952 ::aapt::pb::_ShortenedPathsMap_default_instance_);
953 }
shortened_paths()954 inline const ::aapt::pb::ShortenedPathsMap& ResourceMappings::shortened_paths() const {
955 // @@protoc_insertion_point(field_get:aapt.pb.ResourceMappings.shortened_paths)
956 return _internal_shortened_paths();
957 }
unsafe_arena_set_allocated_shortened_paths(::aapt::pb::ShortenedPathsMap * shortened_paths)958 inline void ResourceMappings::unsafe_arena_set_allocated_shortened_paths(
959 ::aapt::pb::ShortenedPathsMap* shortened_paths) {
960 if (GetArenaForAllocation() == nullptr) {
961 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.shortened_paths_);
962 }
963 _impl_.shortened_paths_ = shortened_paths;
964 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.ResourceMappings.shortened_paths)
965 }
release_shortened_paths()966 inline ::aapt::pb::ShortenedPathsMap* ResourceMappings::release_shortened_paths() {
967
968 ::aapt::pb::ShortenedPathsMap* temp = _impl_.shortened_paths_;
969 _impl_.shortened_paths_ = nullptr;
970 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
971 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
972 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
973 if (GetArenaForAllocation() == nullptr) { delete old; }
974 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
975 if (GetArenaForAllocation() != nullptr) {
976 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
977 }
978 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
979 return temp;
980 }
unsafe_arena_release_shortened_paths()981 inline ::aapt::pb::ShortenedPathsMap* ResourceMappings::unsafe_arena_release_shortened_paths() {
982 // @@protoc_insertion_point(field_release:aapt.pb.ResourceMappings.shortened_paths)
983
984 ::aapt::pb::ShortenedPathsMap* temp = _impl_.shortened_paths_;
985 _impl_.shortened_paths_ = nullptr;
986 return temp;
987 }
_internal_mutable_shortened_paths()988 inline ::aapt::pb::ShortenedPathsMap* ResourceMappings::_internal_mutable_shortened_paths() {
989
990 if (_impl_.shortened_paths_ == nullptr) {
991 auto* p = CreateMaybeMessage<::aapt::pb::ShortenedPathsMap>(GetArenaForAllocation());
992 _impl_.shortened_paths_ = p;
993 }
994 return _impl_.shortened_paths_;
995 }
mutable_shortened_paths()996 inline ::aapt::pb::ShortenedPathsMap* ResourceMappings::mutable_shortened_paths() {
997 ::aapt::pb::ShortenedPathsMap* _msg = _internal_mutable_shortened_paths();
998 // @@protoc_insertion_point(field_mutable:aapt.pb.ResourceMappings.shortened_paths)
999 return _msg;
1000 }
set_allocated_shortened_paths(::aapt::pb::ShortenedPathsMap * shortened_paths)1001 inline void ResourceMappings::set_allocated_shortened_paths(::aapt::pb::ShortenedPathsMap* shortened_paths) {
1002 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1003 if (message_arena == nullptr) {
1004 delete _impl_.shortened_paths_;
1005 }
1006 if (shortened_paths) {
1007 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1008 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(shortened_paths);
1009 if (message_arena != submessage_arena) {
1010 shortened_paths = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1011 message_arena, shortened_paths, submessage_arena);
1012 }
1013
1014 } else {
1015
1016 }
1017 _impl_.shortened_paths_ = shortened_paths;
1018 // @@protoc_insertion_point(field_set_allocated:aapt.pb.ResourceMappings.shortened_paths)
1019 }
1020
1021 // .aapt.pb.CollapsedNamesMap collapsed_names = 2;
_internal_has_collapsed_names()1022 inline bool ResourceMappings::_internal_has_collapsed_names() const {
1023 return this != internal_default_instance() && _impl_.collapsed_names_ != nullptr;
1024 }
has_collapsed_names()1025 inline bool ResourceMappings::has_collapsed_names() const {
1026 return _internal_has_collapsed_names();
1027 }
clear_collapsed_names()1028 inline void ResourceMappings::clear_collapsed_names() {
1029 if (GetArenaForAllocation() == nullptr && _impl_.collapsed_names_ != nullptr) {
1030 delete _impl_.collapsed_names_;
1031 }
1032 _impl_.collapsed_names_ = nullptr;
1033 }
_internal_collapsed_names()1034 inline const ::aapt::pb::CollapsedNamesMap& ResourceMappings::_internal_collapsed_names() const {
1035 const ::aapt::pb::CollapsedNamesMap* p = _impl_.collapsed_names_;
1036 return p != nullptr ? *p : reinterpret_cast<const ::aapt::pb::CollapsedNamesMap&>(
1037 ::aapt::pb::_CollapsedNamesMap_default_instance_);
1038 }
collapsed_names()1039 inline const ::aapt::pb::CollapsedNamesMap& ResourceMappings::collapsed_names() const {
1040 // @@protoc_insertion_point(field_get:aapt.pb.ResourceMappings.collapsed_names)
1041 return _internal_collapsed_names();
1042 }
unsafe_arena_set_allocated_collapsed_names(::aapt::pb::CollapsedNamesMap * collapsed_names)1043 inline void ResourceMappings::unsafe_arena_set_allocated_collapsed_names(
1044 ::aapt::pb::CollapsedNamesMap* collapsed_names) {
1045 if (GetArenaForAllocation() == nullptr) {
1046 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.collapsed_names_);
1047 }
1048 _impl_.collapsed_names_ = collapsed_names;
1049 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:aapt.pb.ResourceMappings.collapsed_names)
1050 }
release_collapsed_names()1051 inline ::aapt::pb::CollapsedNamesMap* ResourceMappings::release_collapsed_names() {
1052
1053 ::aapt::pb::CollapsedNamesMap* temp = _impl_.collapsed_names_;
1054 _impl_.collapsed_names_ = nullptr;
1055 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1056 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1057 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1058 if (GetArenaForAllocation() == nullptr) { delete old; }
1059 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1060 if (GetArenaForAllocation() != nullptr) {
1061 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1062 }
1063 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1064 return temp;
1065 }
unsafe_arena_release_collapsed_names()1066 inline ::aapt::pb::CollapsedNamesMap* ResourceMappings::unsafe_arena_release_collapsed_names() {
1067 // @@protoc_insertion_point(field_release:aapt.pb.ResourceMappings.collapsed_names)
1068
1069 ::aapt::pb::CollapsedNamesMap* temp = _impl_.collapsed_names_;
1070 _impl_.collapsed_names_ = nullptr;
1071 return temp;
1072 }
_internal_mutable_collapsed_names()1073 inline ::aapt::pb::CollapsedNamesMap* ResourceMappings::_internal_mutable_collapsed_names() {
1074
1075 if (_impl_.collapsed_names_ == nullptr) {
1076 auto* p = CreateMaybeMessage<::aapt::pb::CollapsedNamesMap>(GetArenaForAllocation());
1077 _impl_.collapsed_names_ = p;
1078 }
1079 return _impl_.collapsed_names_;
1080 }
mutable_collapsed_names()1081 inline ::aapt::pb::CollapsedNamesMap* ResourceMappings::mutable_collapsed_names() {
1082 ::aapt::pb::CollapsedNamesMap* _msg = _internal_mutable_collapsed_names();
1083 // @@protoc_insertion_point(field_mutable:aapt.pb.ResourceMappings.collapsed_names)
1084 return _msg;
1085 }
set_allocated_collapsed_names(::aapt::pb::CollapsedNamesMap * collapsed_names)1086 inline void ResourceMappings::set_allocated_collapsed_names(::aapt::pb::CollapsedNamesMap* collapsed_names) {
1087 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1088 if (message_arena == nullptr) {
1089 delete _impl_.collapsed_names_;
1090 }
1091 if (collapsed_names) {
1092 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1093 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(collapsed_names);
1094 if (message_arena != submessage_arena) {
1095 collapsed_names = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1096 message_arena, collapsed_names, submessage_arena);
1097 }
1098
1099 } else {
1100
1101 }
1102 _impl_.collapsed_names_ = collapsed_names;
1103 // @@protoc_insertion_point(field_set_allocated:aapt.pb.ResourceMappings.collapsed_names)
1104 }
1105
1106 // -------------------------------------------------------------------
1107
1108 // ShortenedPathsMap_ResourcePathMapping
1109
1110 // string shortened_path = 1;
clear_shortened_path()1111 inline void ShortenedPathsMap_ResourcePathMapping::clear_shortened_path() {
1112 _impl_.shortened_path_.ClearToEmpty();
1113 }
shortened_path()1114 inline const std::string& ShortenedPathsMap_ResourcePathMapping::shortened_path() const {
1115 // @@protoc_insertion_point(field_get:aapt.pb.ShortenedPathsMap.ResourcePathMapping.shortened_path)
1116 return _internal_shortened_path();
1117 }
1118 template <typename ArgT0, typename... ArgT>
1119 inline PROTOBUF_ALWAYS_INLINE
set_shortened_path(ArgT0 && arg0,ArgT...args)1120 void ShortenedPathsMap_ResourcePathMapping::set_shortened_path(ArgT0&& arg0, ArgT... args) {
1121
1122 _impl_.shortened_path_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1123 // @@protoc_insertion_point(field_set:aapt.pb.ShortenedPathsMap.ResourcePathMapping.shortened_path)
1124 }
mutable_shortened_path()1125 inline std::string* ShortenedPathsMap_ResourcePathMapping::mutable_shortened_path() {
1126 std::string* _s = _internal_mutable_shortened_path();
1127 // @@protoc_insertion_point(field_mutable:aapt.pb.ShortenedPathsMap.ResourcePathMapping.shortened_path)
1128 return _s;
1129 }
_internal_shortened_path()1130 inline const std::string& ShortenedPathsMap_ResourcePathMapping::_internal_shortened_path() const {
1131 return _impl_.shortened_path_.Get();
1132 }
_internal_set_shortened_path(const std::string & value)1133 inline void ShortenedPathsMap_ResourcePathMapping::_internal_set_shortened_path(const std::string& value) {
1134
1135 _impl_.shortened_path_.Set(value, GetArenaForAllocation());
1136 }
_internal_mutable_shortened_path()1137 inline std::string* ShortenedPathsMap_ResourcePathMapping::_internal_mutable_shortened_path() {
1138
1139 return _impl_.shortened_path_.Mutable(GetArenaForAllocation());
1140 }
release_shortened_path()1141 inline std::string* ShortenedPathsMap_ResourcePathMapping::release_shortened_path() {
1142 // @@protoc_insertion_point(field_release:aapt.pb.ShortenedPathsMap.ResourcePathMapping.shortened_path)
1143 return _impl_.shortened_path_.Release();
1144 }
set_allocated_shortened_path(std::string * shortened_path)1145 inline void ShortenedPathsMap_ResourcePathMapping::set_allocated_shortened_path(std::string* shortened_path) {
1146 _impl_.shortened_path_.SetAllocated(shortened_path, GetArenaForAllocation());
1147 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1148 if (_impl_.shortened_path_.IsDefault()) {
1149 _impl_.shortened_path_.Set("", GetArenaForAllocation());
1150 }
1151 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1152 // @@protoc_insertion_point(field_set_allocated:aapt.pb.ShortenedPathsMap.ResourcePathMapping.shortened_path)
1153 }
1154
1155 // string original_path = 2;
clear_original_path()1156 inline void ShortenedPathsMap_ResourcePathMapping::clear_original_path() {
1157 _impl_.original_path_.ClearToEmpty();
1158 }
original_path()1159 inline const std::string& ShortenedPathsMap_ResourcePathMapping::original_path() const {
1160 // @@protoc_insertion_point(field_get:aapt.pb.ShortenedPathsMap.ResourcePathMapping.original_path)
1161 return _internal_original_path();
1162 }
1163 template <typename ArgT0, typename... ArgT>
1164 inline PROTOBUF_ALWAYS_INLINE
set_original_path(ArgT0 && arg0,ArgT...args)1165 void ShortenedPathsMap_ResourcePathMapping::set_original_path(ArgT0&& arg0, ArgT... args) {
1166
1167 _impl_.original_path_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1168 // @@protoc_insertion_point(field_set:aapt.pb.ShortenedPathsMap.ResourcePathMapping.original_path)
1169 }
mutable_original_path()1170 inline std::string* ShortenedPathsMap_ResourcePathMapping::mutable_original_path() {
1171 std::string* _s = _internal_mutable_original_path();
1172 // @@protoc_insertion_point(field_mutable:aapt.pb.ShortenedPathsMap.ResourcePathMapping.original_path)
1173 return _s;
1174 }
_internal_original_path()1175 inline const std::string& ShortenedPathsMap_ResourcePathMapping::_internal_original_path() const {
1176 return _impl_.original_path_.Get();
1177 }
_internal_set_original_path(const std::string & value)1178 inline void ShortenedPathsMap_ResourcePathMapping::_internal_set_original_path(const std::string& value) {
1179
1180 _impl_.original_path_.Set(value, GetArenaForAllocation());
1181 }
_internal_mutable_original_path()1182 inline std::string* ShortenedPathsMap_ResourcePathMapping::_internal_mutable_original_path() {
1183
1184 return _impl_.original_path_.Mutable(GetArenaForAllocation());
1185 }
release_original_path()1186 inline std::string* ShortenedPathsMap_ResourcePathMapping::release_original_path() {
1187 // @@protoc_insertion_point(field_release:aapt.pb.ShortenedPathsMap.ResourcePathMapping.original_path)
1188 return _impl_.original_path_.Release();
1189 }
set_allocated_original_path(std::string * original_path)1190 inline void ShortenedPathsMap_ResourcePathMapping::set_allocated_original_path(std::string* original_path) {
1191 _impl_.original_path_.SetAllocated(original_path, GetArenaForAllocation());
1192 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1193 if (_impl_.original_path_.IsDefault()) {
1194 _impl_.original_path_.Set("", GetArenaForAllocation());
1195 }
1196 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1197 // @@protoc_insertion_point(field_set_allocated:aapt.pb.ShortenedPathsMap.ResourcePathMapping.original_path)
1198 }
1199
1200 // -------------------------------------------------------------------
1201
1202 // ShortenedPathsMap
1203
1204 // repeated .aapt.pb.ShortenedPathsMap.ResourcePathMapping resource_paths = 1;
_internal_resource_paths_size()1205 inline int ShortenedPathsMap::_internal_resource_paths_size() const {
1206 return _impl_.resource_paths_.size();
1207 }
resource_paths_size()1208 inline int ShortenedPathsMap::resource_paths_size() const {
1209 return _internal_resource_paths_size();
1210 }
clear_resource_paths()1211 inline void ShortenedPathsMap::clear_resource_paths() {
1212 _impl_.resource_paths_.Clear();
1213 }
mutable_resource_paths(int index)1214 inline ::aapt::pb::ShortenedPathsMap_ResourcePathMapping* ShortenedPathsMap::mutable_resource_paths(int index) {
1215 // @@protoc_insertion_point(field_mutable:aapt.pb.ShortenedPathsMap.resource_paths)
1216 return _impl_.resource_paths_.Mutable(index);
1217 }
1218 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ShortenedPathsMap_ResourcePathMapping >*
mutable_resource_paths()1219 ShortenedPathsMap::mutable_resource_paths() {
1220 // @@protoc_insertion_point(field_mutable_list:aapt.pb.ShortenedPathsMap.resource_paths)
1221 return &_impl_.resource_paths_;
1222 }
_internal_resource_paths(int index)1223 inline const ::aapt::pb::ShortenedPathsMap_ResourcePathMapping& ShortenedPathsMap::_internal_resource_paths(int index) const {
1224 return _impl_.resource_paths_.Get(index);
1225 }
resource_paths(int index)1226 inline const ::aapt::pb::ShortenedPathsMap_ResourcePathMapping& ShortenedPathsMap::resource_paths(int index) const {
1227 // @@protoc_insertion_point(field_get:aapt.pb.ShortenedPathsMap.resource_paths)
1228 return _internal_resource_paths(index);
1229 }
_internal_add_resource_paths()1230 inline ::aapt::pb::ShortenedPathsMap_ResourcePathMapping* ShortenedPathsMap::_internal_add_resource_paths() {
1231 return _impl_.resource_paths_.Add();
1232 }
add_resource_paths()1233 inline ::aapt::pb::ShortenedPathsMap_ResourcePathMapping* ShortenedPathsMap::add_resource_paths() {
1234 ::aapt::pb::ShortenedPathsMap_ResourcePathMapping* _add = _internal_add_resource_paths();
1235 // @@protoc_insertion_point(field_add:aapt.pb.ShortenedPathsMap.resource_paths)
1236 return _add;
1237 }
1238 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::ShortenedPathsMap_ResourcePathMapping >&
resource_paths()1239 ShortenedPathsMap::resource_paths() const {
1240 // @@protoc_insertion_point(field_list:aapt.pb.ShortenedPathsMap.resource_paths)
1241 return _impl_.resource_paths_;
1242 }
1243
1244 // -------------------------------------------------------------------
1245
1246 // CollapsedNamesMap_ResourceNameMapping
1247
1248 // uint32 id = 1;
clear_id()1249 inline void CollapsedNamesMap_ResourceNameMapping::clear_id() {
1250 _impl_.id_ = 0u;
1251 }
_internal_id()1252 inline ::uint32_t CollapsedNamesMap_ResourceNameMapping::_internal_id() const {
1253 return _impl_.id_;
1254 }
id()1255 inline ::uint32_t CollapsedNamesMap_ResourceNameMapping::id() const {
1256 // @@protoc_insertion_point(field_get:aapt.pb.CollapsedNamesMap.ResourceNameMapping.id)
1257 return _internal_id();
1258 }
_internal_set_id(::uint32_t value)1259 inline void CollapsedNamesMap_ResourceNameMapping::_internal_set_id(::uint32_t value) {
1260
1261 _impl_.id_ = value;
1262 }
set_id(::uint32_t value)1263 inline void CollapsedNamesMap_ResourceNameMapping::set_id(::uint32_t value) {
1264 _internal_set_id(value);
1265 // @@protoc_insertion_point(field_set:aapt.pb.CollapsedNamesMap.ResourceNameMapping.id)
1266 }
1267
1268 // string name = 2;
clear_name()1269 inline void CollapsedNamesMap_ResourceNameMapping::clear_name() {
1270 _impl_.name_.ClearToEmpty();
1271 }
name()1272 inline const std::string& CollapsedNamesMap_ResourceNameMapping::name() const {
1273 // @@protoc_insertion_point(field_get:aapt.pb.CollapsedNamesMap.ResourceNameMapping.name)
1274 return _internal_name();
1275 }
1276 template <typename ArgT0, typename... ArgT>
1277 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)1278 void CollapsedNamesMap_ResourceNameMapping::set_name(ArgT0&& arg0, ArgT... args) {
1279
1280 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1281 // @@protoc_insertion_point(field_set:aapt.pb.CollapsedNamesMap.ResourceNameMapping.name)
1282 }
mutable_name()1283 inline std::string* CollapsedNamesMap_ResourceNameMapping::mutable_name() {
1284 std::string* _s = _internal_mutable_name();
1285 // @@protoc_insertion_point(field_mutable:aapt.pb.CollapsedNamesMap.ResourceNameMapping.name)
1286 return _s;
1287 }
_internal_name()1288 inline const std::string& CollapsedNamesMap_ResourceNameMapping::_internal_name() const {
1289 return _impl_.name_.Get();
1290 }
_internal_set_name(const std::string & value)1291 inline void CollapsedNamesMap_ResourceNameMapping::_internal_set_name(const std::string& value) {
1292
1293 _impl_.name_.Set(value, GetArenaForAllocation());
1294 }
_internal_mutable_name()1295 inline std::string* CollapsedNamesMap_ResourceNameMapping::_internal_mutable_name() {
1296
1297 return _impl_.name_.Mutable(GetArenaForAllocation());
1298 }
release_name()1299 inline std::string* CollapsedNamesMap_ResourceNameMapping::release_name() {
1300 // @@protoc_insertion_point(field_release:aapt.pb.CollapsedNamesMap.ResourceNameMapping.name)
1301 return _impl_.name_.Release();
1302 }
set_allocated_name(std::string * name)1303 inline void CollapsedNamesMap_ResourceNameMapping::set_allocated_name(std::string* name) {
1304 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
1305 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1306 if (_impl_.name_.IsDefault()) {
1307 _impl_.name_.Set("", GetArenaForAllocation());
1308 }
1309 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1310 // @@protoc_insertion_point(field_set_allocated:aapt.pb.CollapsedNamesMap.ResourceNameMapping.name)
1311 }
1312
1313 // -------------------------------------------------------------------
1314
1315 // CollapsedNamesMap
1316
1317 // repeated .aapt.pb.CollapsedNamesMap.ResourceNameMapping resource_names = 1;
_internal_resource_names_size()1318 inline int CollapsedNamesMap::_internal_resource_names_size() const {
1319 return _impl_.resource_names_.size();
1320 }
resource_names_size()1321 inline int CollapsedNamesMap::resource_names_size() const {
1322 return _internal_resource_names_size();
1323 }
clear_resource_names()1324 inline void CollapsedNamesMap::clear_resource_names() {
1325 _impl_.resource_names_.Clear();
1326 }
mutable_resource_names(int index)1327 inline ::aapt::pb::CollapsedNamesMap_ResourceNameMapping* CollapsedNamesMap::mutable_resource_names(int index) {
1328 // @@protoc_insertion_point(field_mutable:aapt.pb.CollapsedNamesMap.resource_names)
1329 return _impl_.resource_names_.Mutable(index);
1330 }
1331 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::CollapsedNamesMap_ResourceNameMapping >*
mutable_resource_names()1332 CollapsedNamesMap::mutable_resource_names() {
1333 // @@protoc_insertion_point(field_mutable_list:aapt.pb.CollapsedNamesMap.resource_names)
1334 return &_impl_.resource_names_;
1335 }
_internal_resource_names(int index)1336 inline const ::aapt::pb::CollapsedNamesMap_ResourceNameMapping& CollapsedNamesMap::_internal_resource_names(int index) const {
1337 return _impl_.resource_names_.Get(index);
1338 }
resource_names(int index)1339 inline const ::aapt::pb::CollapsedNamesMap_ResourceNameMapping& CollapsedNamesMap::resource_names(int index) const {
1340 // @@protoc_insertion_point(field_get:aapt.pb.CollapsedNamesMap.resource_names)
1341 return _internal_resource_names(index);
1342 }
_internal_add_resource_names()1343 inline ::aapt::pb::CollapsedNamesMap_ResourceNameMapping* CollapsedNamesMap::_internal_add_resource_names() {
1344 return _impl_.resource_names_.Add();
1345 }
add_resource_names()1346 inline ::aapt::pb::CollapsedNamesMap_ResourceNameMapping* CollapsedNamesMap::add_resource_names() {
1347 ::aapt::pb::CollapsedNamesMap_ResourceNameMapping* _add = _internal_add_resource_names();
1348 // @@protoc_insertion_point(field_add:aapt.pb.CollapsedNamesMap.resource_names)
1349 return _add;
1350 }
1351 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::aapt::pb::CollapsedNamesMap_ResourceNameMapping >&
resource_names()1352 CollapsedNamesMap::resource_names() const {
1353 // @@protoc_insertion_point(field_list:aapt.pb.CollapsedNamesMap.resource_names)
1354 return _impl_.resource_names_;
1355 }
1356
1357 #ifdef __GNUC__
1358 #pragma GCC diagnostic pop
1359 #endif // __GNUC__
1360 // -------------------------------------------------------------------
1361
1362 // -------------------------------------------------------------------
1363
1364 // -------------------------------------------------------------------
1365
1366 // -------------------------------------------------------------------
1367
1368
1369 // @@protoc_insertion_point(namespace_scope)
1370
1371 } // namespace pb
1372 } // namespace aapt
1373
1374 // @@protoc_insertion_point(global_scope)
1375
1376 #include <google/protobuf/port_undef.inc>
1377 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_frameworks_2fbase_2ftools_2faapt2_2fResourceMetadata_2eproto
1378