1 /*
2 * Copyright (c) 2024 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16 // Generated by the protocol buffer compiler. DO NOT EDIT!
17 // NO CHECKED-IN PROTOBUF GENCODE
18 // source: geocoding_data.proto
19 // Protobuf C++ Version: 5.29.4
20
21 #ifndef geocoding_5fdata_2eproto_2epb_2eh
22 #define geocoding_5fdata_2eproto_2epb_2eh
23
24 #include <limits>
25 #include <string>
26 #include <type_traits>
27 #include <utility>
28
29 #include "google/protobuf/runtime_version.h"
30 #if PROTOBUF_VERSION != 5029004
31 #error "Protobuf C++ gencode is built with an incompatible version of"
32 #error "Protobuf C++ headers/runtime. See"
33 #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
34 #endif
35 #include "google/protobuf/io/coded_stream.h"
36 #include "google/protobuf/arena.h"
37 #include "google/protobuf/arenastring.h"
38 #include "google/protobuf/generated_message_tctable_decl.h"
39 #include "google/protobuf/generated_message_util.h"
40 #include "google/protobuf/metadata_lite.h"
41 #include "google/protobuf/message_lite.h"
42 #include "google/protobuf/repeated_field.h" // IWYU pragma: export
43 #include "google/protobuf/extension_set.h" // IWYU pragma: export
44 // @@protoc_insertion_point(includes)
45
46 // Must be included last.
47 #include "google/protobuf/port_def.inc"
48
49 #define PROTOBUF_INTERNAL_EXPORT_geocoding_5fdata_2eproto
50
51 namespace google {
52 namespace protobuf {
53 namespace internal {
54 template <typename T>
55 ::absl::string_view GetAnyMessageName();
56 } // namespace internal
57 } // namespace protobuf
58 } // namespace google
59
60 // Internal implementation detail -- do not use these members.
61 struct TableStruct_geocoding_5fdata_2eproto {
62 static const ::uint32_t offsets[];
63 };
64 namespace i18n {
65 namespace phonenumbers {
66 class CountriesInfo;
67 struct CountriesInfoDefaultTypeInternal;
68 extern CountriesInfoDefaultTypeInternal _CountriesInfo_default_instance_;
69 class CountryCodeInfo;
70 struct CountryCodeInfoDefaultTypeInternal;
71 extern CountryCodeInfoDefaultTypeInternal _CountryCodeInfo_default_instance_;
72 class GeocodingInfo;
73 struct GeocodingInfoDefaultTypeInternal;
74 extern GeocodingInfoDefaultTypeInternal _GeocodingInfo_default_instance_;
75 class LanguageCodeInfo;
76 struct LanguageCodeInfoDefaultTypeInternal;
77 extern LanguageCodeInfoDefaultTypeInternal _LanguageCodeInfo_default_instance_;
78 class PrefixesInfo;
79 struct PrefixesInfoDefaultTypeInternal;
80 extern PrefixesInfoDefaultTypeInternal _PrefixesInfo_default_instance_;
81 } // namespace phonenumbers
82 } // namespace i18n
83 namespace google {
84 namespace protobuf {
85 } // namespace protobuf
86 } // namespace google
87
88 namespace i18n {
89 namespace phonenumbers {
90
91 // ===================================================================
92
93
94 // -------------------------------------------------------------------
95
96 class PrefixesInfo final : public ::google::protobuf::MessageLite
97 /* @@protoc_insertion_point(class_definition:i18n.phonenumbers.PrefixesInfo) */ {
98 public:
PrefixesInfo()99 inline PrefixesInfo() : PrefixesInfo(nullptr) {}
100 ~PrefixesInfo() PROTOBUF_FINAL;
101
102 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(PrefixesInfo * msg,std::destroying_delete_t)103 void operator delete(PrefixesInfo* msg, std::destroying_delete_t) {
104 SharedDtor(*msg);
105 ::google::protobuf::internal::SizedDelete(msg, sizeof(PrefixesInfo));
106 }
107 #endif
108
109 template <typename = void>
110 explicit PROTOBUF_CONSTEXPR PrefixesInfo(
111 ::google::protobuf::internal::ConstantInitialized);
112
PrefixesInfo(const PrefixesInfo & from)113 inline PrefixesInfo(const PrefixesInfo& from) : PrefixesInfo(nullptr, from) {}
PrefixesInfo(PrefixesInfo && from)114 inline PrefixesInfo(PrefixesInfo&& from) noexcept
115 : PrefixesInfo(nullptr, std::move(from)) {}
116 inline PrefixesInfo& operator=(const PrefixesInfo& from) {
117 CopyFrom(from);
118 return *this;
119 }
120 inline PrefixesInfo& operator=(PrefixesInfo&& from) noexcept {
121 if (this == &from) return *this;
122 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
123 InternalSwap(&from);
124 } else {
125 CopyFrom(from);
126 }
127 return *this;
128 }
129
unknown_fields()130 inline const std::string& unknown_fields() const
131 ABSL_ATTRIBUTE_LIFETIME_BOUND {
132 return _internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString);
133 }
mutable_unknown_fields()134 inline std::string* mutable_unknown_fields()
135 ABSL_ATTRIBUTE_LIFETIME_BOUND {
136 return _internal_metadata_.mutable_unknown_fields<std::string>();
137 }
138
default_instance()139 static const PrefixesInfo& default_instance() {
140 return *internal_default_instance();
141 }
internal_default_instance()142 static inline const PrefixesInfo* internal_default_instance() {
143 return reinterpret_cast<const PrefixesInfo*>(
144 &_PrefixesInfo_default_instance_);
145 }
146 static constexpr int kIndexInFileMessages = 1;
swap(PrefixesInfo & a,PrefixesInfo & b)147 friend void swap(PrefixesInfo& a, PrefixesInfo& b) { a.Swap(&b); }
Swap(PrefixesInfo * other)148 inline void Swap(PrefixesInfo* other) {
149 if (other == this) return;
150 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
151 InternalSwap(other);
152 } else {
153 ::google::protobuf::internal::GenericSwap(this, other);
154 }
155 }
UnsafeArenaSwap(PrefixesInfo * other)156 void UnsafeArenaSwap(PrefixesInfo* other) {
157 if (other == this) return;
158 ABSL_DCHECK(GetArena() == other->GetArena());
159 InternalSwap(other);
160 }
161
162 // implements Message ----------------------------------------------
163
164 PrefixesInfo* New(::google::protobuf::Arena* arena = nullptr) const {
165 return ::google::protobuf::MessageLite::DefaultConstruct<PrefixesInfo>(arena);
166 }
167 void CopyFrom(const PrefixesInfo& from);
MergeFrom(const PrefixesInfo & from)168 void MergeFrom(const PrefixesInfo& from) { PrefixesInfo::MergeImpl(*this, from); }
169
170 private:
171 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
172 const ::google::protobuf::MessageLite& from_msg);
173
174 public:
IsInitialized()175 bool IsInitialized() const {
176 return IsInitializedImpl(*this);
177 }
178
179 private:
180 static bool IsInitializedImpl(const MessageLite& msg);
181
182 public:
183 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
184 #if defined(PROTOBUF_CUSTOM_VTABLE)
185 private:
186 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
187 static ::uint8_t* _InternalSerialize(
188 const MessageLite& msg, ::uint8_t* target,
189 ::google::protobuf::io::EpsCopyOutputStream* stream);
190
191 public:
ByteSizeLong()192 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)193 ::uint8_t* _InternalSerialize(
194 ::uint8_t* target,
195 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
196 return _InternalSerialize(*this, target, stream);
197 }
198 #else // PROTOBUF_CUSTOM_VTABLE
199 ::size_t ByteSizeLong() const final;
200 ::uint8_t* _InternalSerialize(
201 ::uint8_t* target,
202 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
203 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()204 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
205
206 private:
207 void SharedCtor(::google::protobuf::Arena* arena);
208 static void SharedDtor(MessageLite& self);
209 void InternalSwap(PrefixesInfo* other);
210 private:
211 template <typename T>
212 friend ::absl::string_view(
213 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()214 static ::absl::string_view FullMessageName() { return "i18n.phonenumbers.PrefixesInfo"; }
215
216 protected:
217 explicit PrefixesInfo(::google::protobuf::Arena* arena);
218 PrefixesInfo(::google::protobuf::Arena* arena, const PrefixesInfo& from);
PrefixesInfo(::google::protobuf::Arena * arena,PrefixesInfo && from)219 PrefixesInfo(::google::protobuf::Arena* arena, PrefixesInfo&& from) noexcept
220 : PrefixesInfo(arena) {
221 *this = ::std::move(from);
222 }
223 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
224 static void* PlacementNew_(const void*, void* mem,
225 ::google::protobuf::Arena* arena);
226 static constexpr auto InternalNewImpl_();
227 static const ::google::protobuf::internal::ClassDataLite<31> _class_data_;
228
229 public:
230 // nested types ----------------------------------------------------
231
232 // accessors -------------------------------------------------------
233 enum : int {
234 kPrefixesFieldNumber = 2,
235 kDescriptionsFieldNumber = 3,
236 kLengthsFieldNumber = 5,
237 kPrefixesNumFieldNumber = 1,
238 kLengthsNumFieldNumber = 4,
239 };
240 // repeated int32 prefixes = 2;
241 int prefixes_size() const;
242 private:
243 int _internal_prefixes_size() const;
244
245 public:
246 void clear_prefixes() ;
247 ::int32_t prefixes(int index) const;
248 void set_prefixes(int index, ::int32_t value);
249 void add_prefixes(::int32_t value);
250 const ::google::protobuf::RepeatedField<::int32_t>& prefixes() const;
251 ::google::protobuf::RepeatedField<::int32_t>* mutable_prefixes();
252
253 private:
254 const ::google::protobuf::RepeatedField<::int32_t>& _internal_prefixes() const;
255 ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_prefixes();
256
257 public:
258 // repeated string descriptions = 3;
259 int descriptions_size() const;
260 private:
261 int _internal_descriptions_size() const;
262
263 public:
264 void clear_descriptions() ;
265 const std::string& descriptions(int index) const;
266 std::string* mutable_descriptions(int index);
267 template <typename Arg_ = const std::string&, typename... Args_>
268 void set_descriptions(int index, Arg_&& value, Args_... args);
269 std::string* add_descriptions();
270 template <typename Arg_ = const std::string&, typename... Args_>
271 void add_descriptions(Arg_&& value, Args_... args);
272 const ::google::protobuf::RepeatedPtrField<std::string>& descriptions() const;
273 ::google::protobuf::RepeatedPtrField<std::string>* mutable_descriptions();
274
275 private:
276 const ::google::protobuf::RepeatedPtrField<std::string>& _internal_descriptions() const;
277 ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_descriptions();
278
279 public:
280 // repeated int32 lengths = 5;
281 int lengths_size() const;
282 private:
283 int _internal_lengths_size() const;
284
285 public:
286 void clear_lengths() ;
287 ::int32_t lengths(int index) const;
288 void set_lengths(int index, ::int32_t value);
289 void add_lengths(::int32_t value);
290 const ::google::protobuf::RepeatedField<::int32_t>& lengths() const;
291 ::google::protobuf::RepeatedField<::int32_t>* mutable_lengths();
292
293 private:
294 const ::google::protobuf::RepeatedField<::int32_t>& _internal_lengths() const;
295 ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_lengths();
296
297 public:
298 // required int32 prefixes_num = 1;
299 bool has_prefixes_num() const;
300 void clear_prefixes_num() ;
301 ::int32_t prefixes_num() const;
302 void set_prefixes_num(::int32_t value);
303
304 private:
305 ::int32_t _internal_prefixes_num() const;
306 void _internal_set_prefixes_num(::int32_t value);
307
308 public:
309 // required int32 lengths_num = 4;
310 bool has_lengths_num() const;
311 void clear_lengths_num() ;
312 ::int32_t lengths_num() const;
313 void set_lengths_num(::int32_t value);
314
315 private:
316 ::int32_t _internal_lengths_num() const;
317 void _internal_set_lengths_num(::int32_t value);
318
319 public:
320 // @@protoc_insertion_point(class_scope:i18n.phonenumbers.PrefixesInfo)
321 private:
322 class _Internal;
323 friend class ::google::protobuf::internal::TcParser;
324 static const ::google::protobuf::internal::TcParseTable<
325 3, 5, 0,
326 0, 2>
327 _table_;
328
329 friend class ::google::protobuf::MessageLite;
330 friend class ::google::protobuf::Arena;
331 template <typename T>
332 friend class ::google::protobuf::Arena::InternalHelper;
333 using InternalArenaConstructable_ = void;
334 using DestructorSkippable_ = void;
335 struct Impl_ {
336 inline explicit constexpr Impl_(
337 ::google::protobuf::internal::ConstantInitialized) noexcept;
338 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
339 ::google::protobuf::Arena* arena);
340 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
341 ::google::protobuf::Arena* arena, const Impl_& from,
342 const PrefixesInfo& from_msg);
343 ::google::protobuf::internal::HasBits<1> _has_bits_;
344 ::google::protobuf::internal::CachedSize _cached_size_;
345 ::google::protobuf::RepeatedField<::int32_t> prefixes_;
346 ::google::protobuf::RepeatedPtrField<std::string> descriptions_;
347 ::google::protobuf::RepeatedField<::int32_t> lengths_;
348 ::int32_t prefixes_num_;
349 ::int32_t lengths_num_;
350 PROTOBUF_TSAN_DECLARE_MEMBER
351 };
352 union { Impl_ _impl_; };
353 friend struct ::TableStruct_geocoding_5fdata_2eproto;
354 };
355 // -------------------------------------------------------------------
356
357 class LanguageCodeInfo final : public ::google::protobuf::MessageLite
358 /* @@protoc_insertion_point(class_definition:i18n.phonenumbers.LanguageCodeInfo) */ {
359 public:
LanguageCodeInfo()360 inline LanguageCodeInfo() : LanguageCodeInfo(nullptr) {}
361 ~LanguageCodeInfo() PROTOBUF_FINAL;
362
363 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(LanguageCodeInfo * msg,std::destroying_delete_t)364 void operator delete(LanguageCodeInfo* msg, std::destroying_delete_t) {
365 SharedDtor(*msg);
366 ::google::protobuf::internal::SizedDelete(msg, sizeof(LanguageCodeInfo));
367 }
368 #endif
369
370 template <typename = void>
371 explicit PROTOBUF_CONSTEXPR LanguageCodeInfo(
372 ::google::protobuf::internal::ConstantInitialized);
373
LanguageCodeInfo(const LanguageCodeInfo & from)374 inline LanguageCodeInfo(const LanguageCodeInfo& from) : LanguageCodeInfo(nullptr, from) {}
LanguageCodeInfo(LanguageCodeInfo && from)375 inline LanguageCodeInfo(LanguageCodeInfo&& from) noexcept
376 : LanguageCodeInfo(nullptr, std::move(from)) {}
377 inline LanguageCodeInfo& operator=(const LanguageCodeInfo& from) {
378 CopyFrom(from);
379 return *this;
380 }
381 inline LanguageCodeInfo& operator=(LanguageCodeInfo&& from) noexcept {
382 if (this == &from) return *this;
383 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
384 InternalSwap(&from);
385 } else {
386 CopyFrom(from);
387 }
388 return *this;
389 }
390
unknown_fields()391 inline const std::string& unknown_fields() const
392 ABSL_ATTRIBUTE_LIFETIME_BOUND {
393 return _internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString);
394 }
mutable_unknown_fields()395 inline std::string* mutable_unknown_fields()
396 ABSL_ATTRIBUTE_LIFETIME_BOUND {
397 return _internal_metadata_.mutable_unknown_fields<std::string>();
398 }
399
default_instance()400 static const LanguageCodeInfo& default_instance() {
401 return *internal_default_instance();
402 }
internal_default_instance()403 static inline const LanguageCodeInfo* internal_default_instance() {
404 return reinterpret_cast<const LanguageCodeInfo*>(
405 &_LanguageCodeInfo_default_instance_);
406 }
407 static constexpr int kIndexInFileMessages = 2;
swap(LanguageCodeInfo & a,LanguageCodeInfo & b)408 friend void swap(LanguageCodeInfo& a, LanguageCodeInfo& b) { a.Swap(&b); }
Swap(LanguageCodeInfo * other)409 inline void Swap(LanguageCodeInfo* other) {
410 if (other == this) return;
411 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
412 InternalSwap(other);
413 } else {
414 ::google::protobuf::internal::GenericSwap(this, other);
415 }
416 }
UnsafeArenaSwap(LanguageCodeInfo * other)417 void UnsafeArenaSwap(LanguageCodeInfo* other) {
418 if (other == this) return;
419 ABSL_DCHECK(GetArena() == other->GetArena());
420 InternalSwap(other);
421 }
422
423 // implements Message ----------------------------------------------
424
425 LanguageCodeInfo* New(::google::protobuf::Arena* arena = nullptr) const {
426 return ::google::protobuf::MessageLite::DefaultConstruct<LanguageCodeInfo>(arena);
427 }
428 void CopyFrom(const LanguageCodeInfo& from);
MergeFrom(const LanguageCodeInfo & from)429 void MergeFrom(const LanguageCodeInfo& from) { LanguageCodeInfo::MergeImpl(*this, from); }
430
431 private:
432 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
433 const ::google::protobuf::MessageLite& from_msg);
434
435 public:
IsInitialized()436 bool IsInitialized() const {
437 return IsInitializedImpl(*this);
438 }
439
440 private:
441 static bool IsInitializedImpl(const MessageLite& msg);
442
443 public:
444 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
445 #if defined(PROTOBUF_CUSTOM_VTABLE)
446 private:
447 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
448 static ::uint8_t* _InternalSerialize(
449 const MessageLite& msg, ::uint8_t* target,
450 ::google::protobuf::io::EpsCopyOutputStream* stream);
451
452 public:
ByteSizeLong()453 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)454 ::uint8_t* _InternalSerialize(
455 ::uint8_t* target,
456 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
457 return _InternalSerialize(*this, target, stream);
458 }
459 #else // PROTOBUF_CUSTOM_VTABLE
460 ::size_t ByteSizeLong() const final;
461 ::uint8_t* _InternalSerialize(
462 ::uint8_t* target,
463 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
464 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()465 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
466
467 private:
468 void SharedCtor(::google::protobuf::Arena* arena);
469 static void SharedDtor(MessageLite& self);
470 void InternalSwap(LanguageCodeInfo* other);
471 private:
472 template <typename T>
473 friend ::absl::string_view(
474 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()475 static ::absl::string_view FullMessageName() { return "i18n.phonenumbers.LanguageCodeInfo"; }
476
477 protected:
478 explicit LanguageCodeInfo(::google::protobuf::Arena* arena);
479 LanguageCodeInfo(::google::protobuf::Arena* arena, const LanguageCodeInfo& from);
LanguageCodeInfo(::google::protobuf::Arena * arena,LanguageCodeInfo && from)480 LanguageCodeInfo(::google::protobuf::Arena* arena, LanguageCodeInfo&& from) noexcept
481 : LanguageCodeInfo(arena) {
482 *this = ::std::move(from);
483 }
484 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
485 static void* PlacementNew_(const void*, void* mem,
486 ::google::protobuf::Arena* arena);
487 static constexpr auto InternalNewImpl_();
488 static const ::google::protobuf::internal::ClassDataLite<35> _class_data_;
489
490 public:
491 // nested types ----------------------------------------------------
492
493 // accessors -------------------------------------------------------
494 enum : int {
495 kLanguageCodesFieldNumber = 2,
496 kLanguageCodesNumFieldNumber = 1,
497 };
498 // repeated string language_codes = 2;
499 int language_codes_size() const;
500 private:
501 int _internal_language_codes_size() const;
502
503 public:
504 void clear_language_codes() ;
505 const std::string& language_codes(int index) const;
506 std::string* mutable_language_codes(int index);
507 template <typename Arg_ = const std::string&, typename... Args_>
508 void set_language_codes(int index, Arg_&& value, Args_... args);
509 std::string* add_language_codes();
510 template <typename Arg_ = const std::string&, typename... Args_>
511 void add_language_codes(Arg_&& value, Args_... args);
512 const ::google::protobuf::RepeatedPtrField<std::string>& language_codes() const;
513 ::google::protobuf::RepeatedPtrField<std::string>* mutable_language_codes();
514
515 private:
516 const ::google::protobuf::RepeatedPtrField<std::string>& _internal_language_codes() const;
517 ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_language_codes();
518
519 public:
520 // required int32 language_codes_num = 1;
521 bool has_language_codes_num() const;
522 void clear_language_codes_num() ;
523 ::int32_t language_codes_num() const;
524 void set_language_codes_num(::int32_t value);
525
526 private:
527 ::int32_t _internal_language_codes_num() const;
528 void _internal_set_language_codes_num(::int32_t value);
529
530 public:
531 // @@protoc_insertion_point(class_scope:i18n.phonenumbers.LanguageCodeInfo)
532 private:
533 class _Internal;
534 friend class ::google::protobuf::internal::TcParser;
535 static const ::google::protobuf::internal::TcParseTable<
536 1, 2, 0,
537 0, 2>
538 _table_;
539
540 friend class ::google::protobuf::MessageLite;
541 friend class ::google::protobuf::Arena;
542 template <typename T>
543 friend class ::google::protobuf::Arena::InternalHelper;
544 using InternalArenaConstructable_ = void;
545 using DestructorSkippable_ = void;
546 struct Impl_ {
547 inline explicit constexpr Impl_(
548 ::google::protobuf::internal::ConstantInitialized) noexcept;
549 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
550 ::google::protobuf::Arena* arena);
551 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
552 ::google::protobuf::Arena* arena, const Impl_& from,
553 const LanguageCodeInfo& from_msg);
554 ::google::protobuf::internal::HasBits<1> _has_bits_;
555 ::google::protobuf::internal::CachedSize _cached_size_;
556 ::google::protobuf::RepeatedPtrField<std::string> language_codes_;
557 ::int32_t language_codes_num_;
558 PROTOBUF_TSAN_DECLARE_MEMBER
559 };
560 union { Impl_ _impl_; };
561 friend struct ::TableStruct_geocoding_5fdata_2eproto;
562 };
563 // -------------------------------------------------------------------
564
565 class CountryCodeInfo final : public ::google::protobuf::MessageLite
566 /* @@protoc_insertion_point(class_definition:i18n.phonenumbers.CountryCodeInfo) */ {
567 public:
CountryCodeInfo()568 inline CountryCodeInfo() : CountryCodeInfo(nullptr) {}
569 ~CountryCodeInfo() PROTOBUF_FINAL;
570
571 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(CountryCodeInfo * msg,std::destroying_delete_t)572 void operator delete(CountryCodeInfo* msg, std::destroying_delete_t) {
573 SharedDtor(*msg);
574 ::google::protobuf::internal::SizedDelete(msg, sizeof(CountryCodeInfo));
575 }
576 #endif
577
578 template <typename = void>
579 explicit PROTOBUF_CONSTEXPR CountryCodeInfo(
580 ::google::protobuf::internal::ConstantInitialized);
581
CountryCodeInfo(const CountryCodeInfo & from)582 inline CountryCodeInfo(const CountryCodeInfo& from) : CountryCodeInfo(nullptr, from) {}
CountryCodeInfo(CountryCodeInfo && from)583 inline CountryCodeInfo(CountryCodeInfo&& from) noexcept
584 : CountryCodeInfo(nullptr, std::move(from)) {}
585 inline CountryCodeInfo& operator=(const CountryCodeInfo& from) {
586 CopyFrom(from);
587 return *this;
588 }
589 inline CountryCodeInfo& operator=(CountryCodeInfo&& from) noexcept {
590 if (this == &from) return *this;
591 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
592 InternalSwap(&from);
593 } else {
594 CopyFrom(from);
595 }
596 return *this;
597 }
598
unknown_fields()599 inline const std::string& unknown_fields() const
600 ABSL_ATTRIBUTE_LIFETIME_BOUND {
601 return _internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString);
602 }
mutable_unknown_fields()603 inline std::string* mutable_unknown_fields()
604 ABSL_ATTRIBUTE_LIFETIME_BOUND {
605 return _internal_metadata_.mutable_unknown_fields<std::string>();
606 }
607
default_instance()608 static const CountryCodeInfo& default_instance() {
609 return *internal_default_instance();
610 }
internal_default_instance()611 static inline const CountryCodeInfo* internal_default_instance() {
612 return reinterpret_cast<const CountryCodeInfo*>(
613 &_CountryCodeInfo_default_instance_);
614 }
615 static constexpr int kIndexInFileMessages = 4;
swap(CountryCodeInfo & a,CountryCodeInfo & b)616 friend void swap(CountryCodeInfo& a, CountryCodeInfo& b) { a.Swap(&b); }
Swap(CountryCodeInfo * other)617 inline void Swap(CountryCodeInfo* other) {
618 if (other == this) return;
619 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
620 InternalSwap(other);
621 } else {
622 ::google::protobuf::internal::GenericSwap(this, other);
623 }
624 }
UnsafeArenaSwap(CountryCodeInfo * other)625 void UnsafeArenaSwap(CountryCodeInfo* other) {
626 if (other == this) return;
627 ABSL_DCHECK(GetArena() == other->GetArena());
628 InternalSwap(other);
629 }
630
631 // implements Message ----------------------------------------------
632
633 CountryCodeInfo* New(::google::protobuf::Arena* arena = nullptr) const {
634 return ::google::protobuf::MessageLite::DefaultConstruct<CountryCodeInfo>(arena);
635 }
636 void CopyFrom(const CountryCodeInfo& from);
MergeFrom(const CountryCodeInfo & from)637 void MergeFrom(const CountryCodeInfo& from) { CountryCodeInfo::MergeImpl(*this, from); }
638
639 private:
640 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
641 const ::google::protobuf::MessageLite& from_msg);
642
643 public:
IsInitialized()644 bool IsInitialized() const {
645 return IsInitializedImpl(*this);
646 }
647
648 private:
649 static bool IsInitializedImpl(const MessageLite& msg);
650
651 public:
652 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
653 #if defined(PROTOBUF_CUSTOM_VTABLE)
654 private:
655 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
656 static ::uint8_t* _InternalSerialize(
657 const MessageLite& msg, ::uint8_t* target,
658 ::google::protobuf::io::EpsCopyOutputStream* stream);
659
660 public:
ByteSizeLong()661 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)662 ::uint8_t* _InternalSerialize(
663 ::uint8_t* target,
664 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
665 return _InternalSerialize(*this, target, stream);
666 }
667 #else // PROTOBUF_CUSTOM_VTABLE
668 ::size_t ByteSizeLong() const final;
669 ::uint8_t* _InternalSerialize(
670 ::uint8_t* target,
671 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
672 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()673 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
674
675 private:
676 void SharedCtor(::google::protobuf::Arena* arena);
677 static void SharedDtor(MessageLite& self);
678 void InternalSwap(CountryCodeInfo* other);
679 private:
680 template <typename T>
681 friend ::absl::string_view(
682 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()683 static ::absl::string_view FullMessageName() { return "i18n.phonenumbers.CountryCodeInfo"; }
684
685 protected:
686 explicit CountryCodeInfo(::google::protobuf::Arena* arena);
687 CountryCodeInfo(::google::protobuf::Arena* arena, const CountryCodeInfo& from);
CountryCodeInfo(::google::protobuf::Arena * arena,CountryCodeInfo && from)688 CountryCodeInfo(::google::protobuf::Arena* arena, CountryCodeInfo&& from) noexcept
689 : CountryCodeInfo(arena) {
690 *this = ::std::move(from);
691 }
692 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
693 static void* PlacementNew_(const void*, void* mem,
694 ::google::protobuf::Arena* arena);
695 static constexpr auto InternalNewImpl_();
696 static const ::google::protobuf::internal::ClassDataLite<34> _class_data_;
697
698 public:
699 // nested types ----------------------------------------------------
700
701 // accessors -------------------------------------------------------
702 enum : int {
703 kCountryCodesFieldNumber = 2,
704 kCountryCodesNumFieldNumber = 1,
705 };
706 // repeated int32 country_codes = 2;
707 int country_codes_size() const;
708 private:
709 int _internal_country_codes_size() const;
710
711 public:
712 void clear_country_codes() ;
713 ::int32_t country_codes(int index) const;
714 void set_country_codes(int index, ::int32_t value);
715 void add_country_codes(::int32_t value);
716 const ::google::protobuf::RepeatedField<::int32_t>& country_codes() const;
717 ::google::protobuf::RepeatedField<::int32_t>* mutable_country_codes();
718
719 private:
720 const ::google::protobuf::RepeatedField<::int32_t>& _internal_country_codes() const;
721 ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_country_codes();
722
723 public:
724 // required int32 country_codes_num = 1;
725 bool has_country_codes_num() const;
726 void clear_country_codes_num() ;
727 ::int32_t country_codes_num() const;
728 void set_country_codes_num(::int32_t value);
729
730 private:
731 ::int32_t _internal_country_codes_num() const;
732 void _internal_set_country_codes_num(::int32_t value);
733
734 public:
735 // @@protoc_insertion_point(class_scope:i18n.phonenumbers.CountryCodeInfo)
736 private:
737 class _Internal;
738 friend class ::google::protobuf::internal::TcParser;
739 static const ::google::protobuf::internal::TcParseTable<
740 1, 2, 0,
741 0, 2>
742 _table_;
743
744 friend class ::google::protobuf::MessageLite;
745 friend class ::google::protobuf::Arena;
746 template <typename T>
747 friend class ::google::protobuf::Arena::InternalHelper;
748 using InternalArenaConstructable_ = void;
749 using DestructorSkippable_ = void;
750 struct Impl_ {
751 inline explicit constexpr Impl_(
752 ::google::protobuf::internal::ConstantInitialized) noexcept;
753 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
754 ::google::protobuf::Arena* arena);
755 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
756 ::google::protobuf::Arena* arena, const Impl_& from,
757 const CountryCodeInfo& from_msg);
758 ::google::protobuf::internal::HasBits<1> _has_bits_;
759 ::google::protobuf::internal::CachedSize _cached_size_;
760 ::google::protobuf::RepeatedField<::int32_t> country_codes_;
761 ::int32_t country_codes_num_;
762 PROTOBUF_TSAN_DECLARE_MEMBER
763 };
764 union { Impl_ _impl_; };
765 friend struct ::TableStruct_geocoding_5fdata_2eproto;
766 };
767 // -------------------------------------------------------------------
768
769 class CountriesInfo final : public ::google::protobuf::MessageLite
770 /* @@protoc_insertion_point(class_definition:i18n.phonenumbers.CountriesInfo) */ {
771 public:
CountriesInfo()772 inline CountriesInfo() : CountriesInfo(nullptr) {}
773 ~CountriesInfo() PROTOBUF_FINAL;
774
775 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(CountriesInfo * msg,std::destroying_delete_t)776 void operator delete(CountriesInfo* msg, std::destroying_delete_t) {
777 SharedDtor(*msg);
778 ::google::protobuf::internal::SizedDelete(msg, sizeof(CountriesInfo));
779 }
780 #endif
781
782 template <typename = void>
783 explicit PROTOBUF_CONSTEXPR CountriesInfo(
784 ::google::protobuf::internal::ConstantInitialized);
785
CountriesInfo(const CountriesInfo & from)786 inline CountriesInfo(const CountriesInfo& from) : CountriesInfo(nullptr, from) {}
CountriesInfo(CountriesInfo && from)787 inline CountriesInfo(CountriesInfo&& from) noexcept
788 : CountriesInfo(nullptr, std::move(from)) {}
789 inline CountriesInfo& operator=(const CountriesInfo& from) {
790 CopyFrom(from);
791 return *this;
792 }
793 inline CountriesInfo& operator=(CountriesInfo&& from) noexcept {
794 if (this == &from) return *this;
795 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
796 InternalSwap(&from);
797 } else {
798 CopyFrom(from);
799 }
800 return *this;
801 }
802
unknown_fields()803 inline const std::string& unknown_fields() const
804 ABSL_ATTRIBUTE_LIFETIME_BOUND {
805 return _internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString);
806 }
mutable_unknown_fields()807 inline std::string* mutable_unknown_fields()
808 ABSL_ATTRIBUTE_LIFETIME_BOUND {
809 return _internal_metadata_.mutable_unknown_fields<std::string>();
810 }
811
default_instance()812 static const CountriesInfo& default_instance() {
813 return *internal_default_instance();
814 }
internal_default_instance()815 static inline const CountriesInfo* internal_default_instance() {
816 return reinterpret_cast<const CountriesInfo*>(
817 &_CountriesInfo_default_instance_);
818 }
819 static constexpr int kIndexInFileMessages = 3;
swap(CountriesInfo & a,CountriesInfo & b)820 friend void swap(CountriesInfo& a, CountriesInfo& b) { a.Swap(&b); }
Swap(CountriesInfo * other)821 inline void Swap(CountriesInfo* other) {
822 if (other == this) return;
823 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
824 InternalSwap(other);
825 } else {
826 ::google::protobuf::internal::GenericSwap(this, other);
827 }
828 }
UnsafeArenaSwap(CountriesInfo * other)829 void UnsafeArenaSwap(CountriesInfo* other) {
830 if (other == this) return;
831 ABSL_DCHECK(GetArena() == other->GetArena());
832 InternalSwap(other);
833 }
834
835 // implements Message ----------------------------------------------
836
837 CountriesInfo* New(::google::protobuf::Arena* arena = nullptr) const {
838 return ::google::protobuf::MessageLite::DefaultConstruct<CountriesInfo>(arena);
839 }
840 void CopyFrom(const CountriesInfo& from);
MergeFrom(const CountriesInfo & from)841 void MergeFrom(const CountriesInfo& from) { CountriesInfo::MergeImpl(*this, from); }
842
843 private:
844 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
845 const ::google::protobuf::MessageLite& from_msg);
846
847 public:
IsInitialized()848 bool IsInitialized() const {
849 return IsInitializedImpl(*this);
850 }
851
852 private:
853 static bool IsInitializedImpl(const MessageLite& msg);
854
855 public:
856 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
857 #if defined(PROTOBUF_CUSTOM_VTABLE)
858 private:
859 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
860 static ::uint8_t* _InternalSerialize(
861 const MessageLite& msg, ::uint8_t* target,
862 ::google::protobuf::io::EpsCopyOutputStream* stream);
863
864 public:
ByteSizeLong()865 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)866 ::uint8_t* _InternalSerialize(
867 ::uint8_t* target,
868 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
869 return _InternalSerialize(*this, target, stream);
870 }
871 #else // PROTOBUF_CUSTOM_VTABLE
872 ::size_t ByteSizeLong() const final;
873 ::uint8_t* _InternalSerialize(
874 ::uint8_t* target,
875 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
876 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()877 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
878
879 private:
880 void SharedCtor(::google::protobuf::Arena* arena);
881 static void SharedDtor(MessageLite& self);
882 void InternalSwap(CountriesInfo* other);
883 private:
884 template <typename T>
885 friend ::absl::string_view(
886 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()887 static ::absl::string_view FullMessageName() { return "i18n.phonenumbers.CountriesInfo"; }
888
889 protected:
890 explicit CountriesInfo(::google::protobuf::Arena* arena);
891 CountriesInfo(::google::protobuf::Arena* arena, const CountriesInfo& from);
CountriesInfo(::google::protobuf::Arena * arena,CountriesInfo && from)892 CountriesInfo(::google::protobuf::Arena* arena, CountriesInfo&& from) noexcept
893 : CountriesInfo(arena) {
894 *this = ::std::move(from);
895 }
896 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
897 static void* PlacementNew_(const void*, void* mem,
898 ::google::protobuf::Arena* arena);
899 static constexpr auto InternalNewImpl_();
900 static const ::google::protobuf::internal::ClassDataLite<32> _class_data_;
901
902 public:
903 // nested types ----------------------------------------------------
904
905 // accessors -------------------------------------------------------
906 enum : int {
907 kCountryLanguagesFieldNumber = 2,
908 kCountryLanguagesNumFieldNumber = 1,
909 };
910 // repeated string country_languages = 2;
911 int country_languages_size() const;
912 private:
913 int _internal_country_languages_size() const;
914
915 public:
916 void clear_country_languages() ;
917 const std::string& country_languages(int index) const;
918 std::string* mutable_country_languages(int index);
919 template <typename Arg_ = const std::string&, typename... Args_>
920 void set_country_languages(int index, Arg_&& value, Args_... args);
921 std::string* add_country_languages();
922 template <typename Arg_ = const std::string&, typename... Args_>
923 void add_country_languages(Arg_&& value, Args_... args);
924 const ::google::protobuf::RepeatedPtrField<std::string>& country_languages() const;
925 ::google::protobuf::RepeatedPtrField<std::string>* mutable_country_languages();
926
927 private:
928 const ::google::protobuf::RepeatedPtrField<std::string>& _internal_country_languages() const;
929 ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_country_languages();
930
931 public:
932 // required int32 country_languages_num = 1;
933 bool has_country_languages_num() const;
934 void clear_country_languages_num() ;
935 ::int32_t country_languages_num() const;
936 void set_country_languages_num(::int32_t value);
937
938 private:
939 ::int32_t _internal_country_languages_num() const;
940 void _internal_set_country_languages_num(::int32_t value);
941
942 public:
943 // @@protoc_insertion_point(class_scope:i18n.phonenumbers.CountriesInfo)
944 private:
945 class _Internal;
946 friend class ::google::protobuf::internal::TcParser;
947 static const ::google::protobuf::internal::TcParseTable<
948 1, 2, 0,
949 0, 2>
950 _table_;
951
952 friend class ::google::protobuf::MessageLite;
953 friend class ::google::protobuf::Arena;
954 template <typename T>
955 friend class ::google::protobuf::Arena::InternalHelper;
956 using InternalArenaConstructable_ = void;
957 using DestructorSkippable_ = void;
958 struct Impl_ {
959 inline explicit constexpr Impl_(
960 ::google::protobuf::internal::ConstantInitialized) noexcept;
961 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
962 ::google::protobuf::Arena* arena);
963 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
964 ::google::protobuf::Arena* arena, const Impl_& from,
965 const CountriesInfo& from_msg);
966 ::google::protobuf::internal::HasBits<1> _has_bits_;
967 ::google::protobuf::internal::CachedSize _cached_size_;
968 ::google::protobuf::RepeatedPtrField<std::string> country_languages_;
969 ::int32_t country_languages_num_;
970 PROTOBUF_TSAN_DECLARE_MEMBER
971 };
972 union { Impl_ _impl_; };
973 friend struct ::TableStruct_geocoding_5fdata_2eproto;
974 };
975 // -------------------------------------------------------------------
976
977 class GeocodingInfo final : public ::google::protobuf::MessageLite
978 /* @@protoc_insertion_point(class_definition:i18n.phonenumbers.GeocodingInfo) */ {
979 public:
GeocodingInfo()980 inline GeocodingInfo() : GeocodingInfo(nullptr) {}
981 ~GeocodingInfo() PROTOBUF_FINAL;
982
983 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(GeocodingInfo * msg,std::destroying_delete_t)984 void operator delete(GeocodingInfo* msg, std::destroying_delete_t) {
985 SharedDtor(*msg);
986 ::google::protobuf::internal::SizedDelete(msg, sizeof(GeocodingInfo));
987 }
988 #endif
989
990 template <typename = void>
991 explicit PROTOBUF_CONSTEXPR GeocodingInfo(
992 ::google::protobuf::internal::ConstantInitialized);
993
GeocodingInfo(const GeocodingInfo & from)994 inline GeocodingInfo(const GeocodingInfo& from) : GeocodingInfo(nullptr, from) {}
GeocodingInfo(GeocodingInfo && from)995 inline GeocodingInfo(GeocodingInfo&& from) noexcept
996 : GeocodingInfo(nullptr, std::move(from)) {}
997 inline GeocodingInfo& operator=(const GeocodingInfo& from) {
998 CopyFrom(from);
999 return *this;
1000 }
1001 inline GeocodingInfo& operator=(GeocodingInfo&& from) noexcept {
1002 if (this == &from) return *this;
1003 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1004 InternalSwap(&from);
1005 } else {
1006 CopyFrom(from);
1007 }
1008 return *this;
1009 }
1010
unknown_fields()1011 inline const std::string& unknown_fields() const
1012 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1013 return _internal_metadata_.unknown_fields<std::string>(::google::protobuf::internal::GetEmptyString);
1014 }
mutable_unknown_fields()1015 inline std::string* mutable_unknown_fields()
1016 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1017 return _internal_metadata_.mutable_unknown_fields<std::string>();
1018 }
1019
default_instance()1020 static const GeocodingInfo& default_instance() {
1021 return *internal_default_instance();
1022 }
internal_default_instance()1023 static inline const GeocodingInfo* internal_default_instance() {
1024 return reinterpret_cast<const GeocodingInfo*>(
1025 &_GeocodingInfo_default_instance_);
1026 }
1027 static constexpr int kIndexInFileMessages = 0;
swap(GeocodingInfo & a,GeocodingInfo & b)1028 friend void swap(GeocodingInfo& a, GeocodingInfo& b) { a.Swap(&b); }
Swap(GeocodingInfo * other)1029 inline void Swap(GeocodingInfo* other) {
1030 if (other == this) return;
1031 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1032 InternalSwap(other);
1033 } else {
1034 ::google::protobuf::internal::GenericSwap(this, other);
1035 }
1036 }
UnsafeArenaSwap(GeocodingInfo * other)1037 void UnsafeArenaSwap(GeocodingInfo* other) {
1038 if (other == this) return;
1039 ABSL_DCHECK(GetArena() == other->GetArena());
1040 InternalSwap(other);
1041 }
1042
1043 // implements Message ----------------------------------------------
1044
1045 GeocodingInfo* New(::google::protobuf::Arena* arena = nullptr) const {
1046 return ::google::protobuf::MessageLite::DefaultConstruct<GeocodingInfo>(arena);
1047 }
1048 void CopyFrom(const GeocodingInfo& from);
MergeFrom(const GeocodingInfo & from)1049 void MergeFrom(const GeocodingInfo& from) { GeocodingInfo::MergeImpl(*this, from); }
1050
1051 private:
1052 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1053 const ::google::protobuf::MessageLite& from_msg);
1054
1055 public:
IsInitialized()1056 bool IsInitialized() const {
1057 return IsInitializedImpl(*this);
1058 }
1059
1060 private:
1061 static bool IsInitializedImpl(const MessageLite& msg);
1062
1063 public:
1064 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1065 #if defined(PROTOBUF_CUSTOM_VTABLE)
1066 private:
1067 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1068 static ::uint8_t* _InternalSerialize(
1069 const MessageLite& msg, ::uint8_t* target,
1070 ::google::protobuf::io::EpsCopyOutputStream* stream);
1071
1072 public:
ByteSizeLong()1073 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)1074 ::uint8_t* _InternalSerialize(
1075 ::uint8_t* target,
1076 ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1077 return _InternalSerialize(*this, target, stream);
1078 }
1079 #else // PROTOBUF_CUSTOM_VTABLE
1080 ::size_t ByteSizeLong() const final;
1081 ::uint8_t* _InternalSerialize(
1082 ::uint8_t* target,
1083 ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
1084 #endif // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()1085 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1086
1087 private:
1088 void SharedCtor(::google::protobuf::Arena* arena);
1089 static void SharedDtor(MessageLite& self);
1090 void InternalSwap(GeocodingInfo* other);
1091 private:
1092 template <typename T>
1093 friend ::absl::string_view(
1094 ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()1095 static ::absl::string_view FullMessageName() { return "i18n.phonenumbers.GeocodingInfo"; }
1096
1097 protected:
1098 explicit GeocodingInfo(::google::protobuf::Arena* arena);
1099 GeocodingInfo(::google::protobuf::Arena* arena, const GeocodingInfo& from);
GeocodingInfo(::google::protobuf::Arena * arena,GeocodingInfo && from)1100 GeocodingInfo(::google::protobuf::Arena* arena, GeocodingInfo&& from) noexcept
1101 : GeocodingInfo(arena) {
1102 *this = ::std::move(from);
1103 }
1104 const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
1105 static void* PlacementNew_(const void*, void* mem,
1106 ::google::protobuf::Arena* arena);
1107 static constexpr auto InternalNewImpl_();
1108 static const ::google::protobuf::internal::ClassDataLite<32> _class_data_;
1109
1110 public:
1111 // nested types ----------------------------------------------------
1112
1113 // accessors -------------------------------------------------------
1114 enum : int {
1115 kPrefixesInfoFieldNumber = 1,
1116 kLanguagesFieldNumber = 2,
1117 kCountriesInfoFieldNumber = 4,
1118 kCountriesFieldNumber = 5,
1119 kLanguageCodeInfoFieldNumber = 3,
1120 kCountryCodeInfoFieldNumber = 6,
1121 };
1122 // repeated .i18n.phonenumbers.PrefixesInfo prefixes_info = 1;
1123 int prefixes_info_size() const;
1124 private:
1125 int _internal_prefixes_info_size() const;
1126
1127 public:
1128 void clear_prefixes_info() ;
1129 ::i18n::phonenumbers::PrefixesInfo* mutable_prefixes_info(int index);
1130 ::google::protobuf::RepeatedPtrField<::i18n::phonenumbers::PrefixesInfo>* mutable_prefixes_info();
1131
1132 private:
1133 const ::google::protobuf::RepeatedPtrField<::i18n::phonenumbers::PrefixesInfo>& _internal_prefixes_info() const;
1134 ::google::protobuf::RepeatedPtrField<::i18n::phonenumbers::PrefixesInfo>* _internal_mutable_prefixes_info();
1135 public:
1136 const ::i18n::phonenumbers::PrefixesInfo& prefixes_info(int index) const;
1137 ::i18n::phonenumbers::PrefixesInfo* add_prefixes_info();
1138 const ::google::protobuf::RepeatedPtrField<::i18n::phonenumbers::PrefixesInfo>& prefixes_info() const;
1139 // repeated string languages = 2;
1140 int languages_size() const;
1141 private:
1142 int _internal_languages_size() const;
1143
1144 public:
1145 void clear_languages() ;
1146 const std::string& languages(int index) const;
1147 std::string* mutable_languages(int index);
1148 template <typename Arg_ = const std::string&, typename... Args_>
1149 void set_languages(int index, Arg_&& value, Args_... args);
1150 std::string* add_languages();
1151 template <typename Arg_ = const std::string&, typename... Args_>
1152 void add_languages(Arg_&& value, Args_... args);
1153 const ::google::protobuf::RepeatedPtrField<std::string>& languages() const;
1154 ::google::protobuf::RepeatedPtrField<std::string>* mutable_languages();
1155
1156 private:
1157 const ::google::protobuf::RepeatedPtrField<std::string>& _internal_languages() const;
1158 ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_languages();
1159
1160 public:
1161 // repeated .i18n.phonenumbers.CountriesInfo countries_info = 4;
1162 int countries_info_size() const;
1163 private:
1164 int _internal_countries_info_size() const;
1165
1166 public:
1167 void clear_countries_info() ;
1168 ::i18n::phonenumbers::CountriesInfo* mutable_countries_info(int index);
1169 ::google::protobuf::RepeatedPtrField<::i18n::phonenumbers::CountriesInfo>* mutable_countries_info();
1170
1171 private:
1172 const ::google::protobuf::RepeatedPtrField<::i18n::phonenumbers::CountriesInfo>& _internal_countries_info() const;
1173 ::google::protobuf::RepeatedPtrField<::i18n::phonenumbers::CountriesInfo>* _internal_mutable_countries_info();
1174 public:
1175 const ::i18n::phonenumbers::CountriesInfo& countries_info(int index) const;
1176 ::i18n::phonenumbers::CountriesInfo* add_countries_info();
1177 const ::google::protobuf::RepeatedPtrField<::i18n::phonenumbers::CountriesInfo>& countries_info() const;
1178 // repeated int32 countries = 5;
1179 int countries_size() const;
1180 private:
1181 int _internal_countries_size() const;
1182
1183 public:
1184 void clear_countries() ;
1185 ::int32_t countries(int index) const;
1186 void set_countries(int index, ::int32_t value);
1187 void add_countries(::int32_t value);
1188 const ::google::protobuf::RepeatedField<::int32_t>& countries() const;
1189 ::google::protobuf::RepeatedField<::int32_t>* mutable_countries();
1190
1191 private:
1192 const ::google::protobuf::RepeatedField<::int32_t>& _internal_countries() const;
1193 ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_countries();
1194
1195 public:
1196 // required .i18n.phonenumbers.LanguageCodeInfo language_code_info = 3;
1197 bool has_language_code_info() const;
1198 void clear_language_code_info() ;
1199 const ::i18n::phonenumbers::LanguageCodeInfo& language_code_info() const;
1200 PROTOBUF_NODISCARD ::i18n::phonenumbers::LanguageCodeInfo* release_language_code_info();
1201 ::i18n::phonenumbers::LanguageCodeInfo* mutable_language_code_info();
1202 void set_allocated_language_code_info(::i18n::phonenumbers::LanguageCodeInfo* value);
1203 void unsafe_arena_set_allocated_language_code_info(::i18n::phonenumbers::LanguageCodeInfo* value);
1204 ::i18n::phonenumbers::LanguageCodeInfo* unsafe_arena_release_language_code_info();
1205
1206 private:
1207 const ::i18n::phonenumbers::LanguageCodeInfo& _internal_language_code_info() const;
1208 ::i18n::phonenumbers::LanguageCodeInfo* _internal_mutable_language_code_info();
1209
1210 public:
1211 // required .i18n.phonenumbers.CountryCodeInfo country_code_info = 6;
1212 bool has_country_code_info() const;
1213 void clear_country_code_info() ;
1214 const ::i18n::phonenumbers::CountryCodeInfo& country_code_info() const;
1215 PROTOBUF_NODISCARD ::i18n::phonenumbers::CountryCodeInfo* release_country_code_info();
1216 ::i18n::phonenumbers::CountryCodeInfo* mutable_country_code_info();
1217 void set_allocated_country_code_info(::i18n::phonenumbers::CountryCodeInfo* value);
1218 void unsafe_arena_set_allocated_country_code_info(::i18n::phonenumbers::CountryCodeInfo* value);
1219 ::i18n::phonenumbers::CountryCodeInfo* unsafe_arena_release_country_code_info();
1220
1221 private:
1222 const ::i18n::phonenumbers::CountryCodeInfo& _internal_country_code_info() const;
1223 ::i18n::phonenumbers::CountryCodeInfo* _internal_mutable_country_code_info();
1224
1225 public:
1226 // @@protoc_insertion_point(class_scope:i18n.phonenumbers.GeocodingInfo)
1227 private:
1228 class _Internal;
1229 friend class ::google::protobuf::internal::TcParser;
1230 static const ::google::protobuf::internal::TcParseTable<
1231 3, 6, 4,
1232 0, 2>
1233 _table_;
1234
1235 friend class ::google::protobuf::MessageLite;
1236 friend class ::google::protobuf::Arena;
1237 template <typename T>
1238 friend class ::google::protobuf::Arena::InternalHelper;
1239 using InternalArenaConstructable_ = void;
1240 using DestructorSkippable_ = void;
1241 struct Impl_ {
1242 inline explicit constexpr Impl_(
1243 ::google::protobuf::internal::ConstantInitialized) noexcept;
1244 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1245 ::google::protobuf::Arena* arena);
1246 inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1247 ::google::protobuf::Arena* arena, const Impl_& from,
1248 const GeocodingInfo& from_msg);
1249 ::google::protobuf::internal::HasBits<1> _has_bits_;
1250 ::google::protobuf::internal::CachedSize _cached_size_;
1251 ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::PrefixesInfo > prefixes_info_;
1252 ::google::protobuf::RepeatedPtrField<std::string> languages_;
1253 ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::CountriesInfo > countries_info_;
1254 ::google::protobuf::RepeatedField<::int32_t> countries_;
1255 ::i18n::phonenumbers::LanguageCodeInfo* language_code_info_;
1256 ::i18n::phonenumbers::CountryCodeInfo* country_code_info_;
1257 PROTOBUF_TSAN_DECLARE_MEMBER
1258 };
1259 union { Impl_ _impl_; };
1260 friend struct ::TableStruct_geocoding_5fdata_2eproto;
1261 };
1262
1263 // ===================================================================
1264
1265
1266
1267
1268 // ===================================================================
1269
1270
1271 #ifdef __GNUC__
1272 #pragma GCC diagnostic push
1273 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1274 #endif // __GNUC__
1275 // -------------------------------------------------------------------
1276
1277 // GeocodingInfo
1278
1279 // repeated .i18n.phonenumbers.PrefixesInfo prefixes_info = 1;
_internal_prefixes_info_size()1280 inline int GeocodingInfo::_internal_prefixes_info_size() const {
1281 return _internal_prefixes_info().size();
1282 }
prefixes_info_size()1283 inline int GeocodingInfo::prefixes_info_size() const {
1284 return _internal_prefixes_info_size();
1285 }
clear_prefixes_info()1286 inline void GeocodingInfo::clear_prefixes_info() {
1287 ::google::protobuf::internal::TSanWrite(&_impl_);
1288 _impl_.prefixes_info_.Clear();
1289 }
mutable_prefixes_info(int index)1290 inline ::i18n::phonenumbers::PrefixesInfo* GeocodingInfo::mutable_prefixes_info(int index)
1291 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1292 // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.GeocodingInfo.prefixes_info)
1293 return _internal_mutable_prefixes_info()->Mutable(index);
1294 }
mutable_prefixes_info()1295 inline ::google::protobuf::RepeatedPtrField<::i18n::phonenumbers::PrefixesInfo>* GeocodingInfo::mutable_prefixes_info()
1296 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1297 // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.GeocodingInfo.prefixes_info)
1298 ::google::protobuf::internal::TSanWrite(&_impl_);
1299 return _internal_mutable_prefixes_info();
1300 }
prefixes_info(int index)1301 inline const ::i18n::phonenumbers::PrefixesInfo& GeocodingInfo::prefixes_info(int index) const
1302 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1303 // @@protoc_insertion_point(field_get:i18n.phonenumbers.GeocodingInfo.prefixes_info)
1304 return _internal_prefixes_info().Get(index);
1305 }
add_prefixes_info()1306 inline ::i18n::phonenumbers::PrefixesInfo* GeocodingInfo::add_prefixes_info() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1307 ::google::protobuf::internal::TSanWrite(&_impl_);
1308 ::i18n::phonenumbers::PrefixesInfo* _add = _internal_mutable_prefixes_info()->Add();
1309 // @@protoc_insertion_point(field_add:i18n.phonenumbers.GeocodingInfo.prefixes_info)
1310 return _add;
1311 }
prefixes_info()1312 inline const ::google::protobuf::RepeatedPtrField<::i18n::phonenumbers::PrefixesInfo>& GeocodingInfo::prefixes_info() const
1313 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1314 // @@protoc_insertion_point(field_list:i18n.phonenumbers.GeocodingInfo.prefixes_info)
1315 return _internal_prefixes_info();
1316 }
1317 inline const ::google::protobuf::RepeatedPtrField<::i18n::phonenumbers::PrefixesInfo>&
_internal_prefixes_info()1318 GeocodingInfo::_internal_prefixes_info() const {
1319 ::google::protobuf::internal::TSanRead(&_impl_);
1320 return _impl_.prefixes_info_;
1321 }
1322 inline ::google::protobuf::RepeatedPtrField<::i18n::phonenumbers::PrefixesInfo>*
_internal_mutable_prefixes_info()1323 GeocodingInfo::_internal_mutable_prefixes_info() {
1324 ::google::protobuf::internal::TSanRead(&_impl_);
1325 return &_impl_.prefixes_info_;
1326 }
1327
1328 // repeated string languages = 2;
_internal_languages_size()1329 inline int GeocodingInfo::_internal_languages_size() const {
1330 return _internal_languages().size();
1331 }
languages_size()1332 inline int GeocodingInfo::languages_size() const {
1333 return _internal_languages_size();
1334 }
clear_languages()1335 inline void GeocodingInfo::clear_languages() {
1336 ::google::protobuf::internal::TSanWrite(&_impl_);
1337 _impl_.languages_.Clear();
1338 }
add_languages()1339 inline std::string* GeocodingInfo::add_languages() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1340 ::google::protobuf::internal::TSanWrite(&_impl_);
1341 std::string* _s = _internal_mutable_languages()->Add();
1342 // @@protoc_insertion_point(field_add_mutable:i18n.phonenumbers.GeocodingInfo.languages)
1343 return _s;
1344 }
languages(int index)1345 inline const std::string& GeocodingInfo::languages(int index) const
1346 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1347 // @@protoc_insertion_point(field_get:i18n.phonenumbers.GeocodingInfo.languages)
1348 return _internal_languages().Get(index);
1349 }
mutable_languages(int index)1350 inline std::string* GeocodingInfo::mutable_languages(int index)
1351 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1352 // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.GeocodingInfo.languages)
1353 return _internal_mutable_languages()->Mutable(index);
1354 }
1355 template <typename Arg_, typename... Args_>
set_languages(int index,Arg_ && value,Args_...args)1356 inline void GeocodingInfo::set_languages(int index, Arg_&& value, Args_... args) {
1357 ::google::protobuf::internal::AssignToString(
1358 *_internal_mutable_languages()->Mutable(index),
1359 std::forward<Arg_>(value), args... );
1360 // @@protoc_insertion_point(field_set:i18n.phonenumbers.GeocodingInfo.languages)
1361 }
1362 template <typename Arg_, typename... Args_>
add_languages(Arg_ && value,Args_...args)1363 inline void GeocodingInfo::add_languages(Arg_&& value, Args_... args) {
1364 ::google::protobuf::internal::TSanWrite(&_impl_);
1365 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_languages(),
1366 std::forward<Arg_>(value),
1367 args... );
1368 // @@protoc_insertion_point(field_add:i18n.phonenumbers.GeocodingInfo.languages)
1369 }
1370 inline const ::google::protobuf::RepeatedPtrField<std::string>&
languages()1371 GeocodingInfo::languages() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1372 // @@protoc_insertion_point(field_list:i18n.phonenumbers.GeocodingInfo.languages)
1373 return _internal_languages();
1374 }
1375 inline ::google::protobuf::RepeatedPtrField<std::string>*
mutable_languages()1376 GeocodingInfo::mutable_languages() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1377 // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.GeocodingInfo.languages)
1378 ::google::protobuf::internal::TSanWrite(&_impl_);
1379 return _internal_mutable_languages();
1380 }
1381 inline const ::google::protobuf::RepeatedPtrField<std::string>&
_internal_languages()1382 GeocodingInfo::_internal_languages() const {
1383 ::google::protobuf::internal::TSanRead(&_impl_);
1384 return _impl_.languages_;
1385 }
1386 inline ::google::protobuf::RepeatedPtrField<std::string>*
_internal_mutable_languages()1387 GeocodingInfo::_internal_mutable_languages() {
1388 ::google::protobuf::internal::TSanRead(&_impl_);
1389 return &_impl_.languages_;
1390 }
1391
1392 // required .i18n.phonenumbers.LanguageCodeInfo language_code_info = 3;
has_language_code_info()1393 inline bool GeocodingInfo::has_language_code_info() const {
1394 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1395 PROTOBUF_ASSUME(!value || _impl_.language_code_info_ != nullptr);
1396 return value;
1397 }
clear_language_code_info()1398 inline void GeocodingInfo::clear_language_code_info() {
1399 ::google::protobuf::internal::TSanWrite(&_impl_);
1400 if (_impl_.language_code_info_ != nullptr) _impl_.language_code_info_->Clear();
1401 _impl_._has_bits_[0] &= ~0x00000001u;
1402 }
_internal_language_code_info()1403 inline const ::i18n::phonenumbers::LanguageCodeInfo& GeocodingInfo::_internal_language_code_info() const {
1404 ::google::protobuf::internal::TSanRead(&_impl_);
1405 const ::i18n::phonenumbers::LanguageCodeInfo* p = _impl_.language_code_info_;
1406 return p != nullptr ? *p : reinterpret_cast<const ::i18n::phonenumbers::LanguageCodeInfo&>(::i18n::phonenumbers::_LanguageCodeInfo_default_instance_);
1407 }
language_code_info()1408 inline const ::i18n::phonenumbers::LanguageCodeInfo& GeocodingInfo::language_code_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1409 // @@protoc_insertion_point(field_get:i18n.phonenumbers.GeocodingInfo.language_code_info)
1410 return _internal_language_code_info();
1411 }
unsafe_arena_set_allocated_language_code_info(::i18n::phonenumbers::LanguageCodeInfo * value)1412 inline void GeocodingInfo::unsafe_arena_set_allocated_language_code_info(::i18n::phonenumbers::LanguageCodeInfo* value) {
1413 ::google::protobuf::internal::TSanWrite(&_impl_);
1414 if (GetArena() == nullptr) {
1415 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.language_code_info_);
1416 }
1417 _impl_.language_code_info_ = reinterpret_cast<::i18n::phonenumbers::LanguageCodeInfo*>(value);
1418 if (value != nullptr) {
1419 _impl_._has_bits_[0] |= 0x00000001u;
1420 } else {
1421 _impl_._has_bits_[0] &= ~0x00000001u;
1422 }
1423 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:i18n.phonenumbers.GeocodingInfo.language_code_info)
1424 }
release_language_code_info()1425 inline ::i18n::phonenumbers::LanguageCodeInfo* GeocodingInfo::release_language_code_info() {
1426 ::google::protobuf::internal::TSanWrite(&_impl_);
1427
1428 _impl_._has_bits_[0] &= ~0x00000001u;
1429 ::i18n::phonenumbers::LanguageCodeInfo* released = _impl_.language_code_info_;
1430 _impl_.language_code_info_ = nullptr;
1431 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1432 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1433 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1434 if (GetArena() == nullptr) {
1435 delete old;
1436 }
1437 } else {
1438 if (GetArena() != nullptr) {
1439 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1440 }
1441 }
1442 return released;
1443 }
unsafe_arena_release_language_code_info()1444 inline ::i18n::phonenumbers::LanguageCodeInfo* GeocodingInfo::unsafe_arena_release_language_code_info() {
1445 ::google::protobuf::internal::TSanWrite(&_impl_);
1446 // @@protoc_insertion_point(field_release:i18n.phonenumbers.GeocodingInfo.language_code_info)
1447
1448 _impl_._has_bits_[0] &= ~0x00000001u;
1449 ::i18n::phonenumbers::LanguageCodeInfo* temp = _impl_.language_code_info_;
1450 _impl_.language_code_info_ = nullptr;
1451 return temp;
1452 }
_internal_mutable_language_code_info()1453 inline ::i18n::phonenumbers::LanguageCodeInfo* GeocodingInfo::_internal_mutable_language_code_info() {
1454 ::google::protobuf::internal::TSanWrite(&_impl_);
1455 if (_impl_.language_code_info_ == nullptr) {
1456 auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::i18n::phonenumbers::LanguageCodeInfo>(GetArena());
1457 _impl_.language_code_info_ = reinterpret_cast<::i18n::phonenumbers::LanguageCodeInfo*>(p);
1458 }
1459 return _impl_.language_code_info_;
1460 }
mutable_language_code_info()1461 inline ::i18n::phonenumbers::LanguageCodeInfo* GeocodingInfo::mutable_language_code_info() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1462 _impl_._has_bits_[0] |= 0x00000001u;
1463 ::i18n::phonenumbers::LanguageCodeInfo* _msg = _internal_mutable_language_code_info();
1464 // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.GeocodingInfo.language_code_info)
1465 return _msg;
1466 }
set_allocated_language_code_info(::i18n::phonenumbers::LanguageCodeInfo * value)1467 inline void GeocodingInfo::set_allocated_language_code_info(::i18n::phonenumbers::LanguageCodeInfo* value) {
1468 ::google::protobuf::Arena* message_arena = GetArena();
1469 ::google::protobuf::internal::TSanWrite(&_impl_);
1470 if (message_arena == nullptr) {
1471 delete (_impl_.language_code_info_);
1472 }
1473
1474 if (value != nullptr) {
1475 ::google::protobuf::Arena* submessage_arena = (value)->GetArena();
1476 if (message_arena != submessage_arena) {
1477 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1478 }
1479 _impl_._has_bits_[0] |= 0x00000001u;
1480 } else {
1481 _impl_._has_bits_[0] &= ~0x00000001u;
1482 }
1483
1484 _impl_.language_code_info_ = reinterpret_cast<::i18n::phonenumbers::LanguageCodeInfo*>(value);
1485 // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.GeocodingInfo.language_code_info)
1486 }
1487
1488 // repeated .i18n.phonenumbers.CountriesInfo countries_info = 4;
_internal_countries_info_size()1489 inline int GeocodingInfo::_internal_countries_info_size() const {
1490 return _internal_countries_info().size();
1491 }
countries_info_size()1492 inline int GeocodingInfo::countries_info_size() const {
1493 return _internal_countries_info_size();
1494 }
clear_countries_info()1495 inline void GeocodingInfo::clear_countries_info() {
1496 ::google::protobuf::internal::TSanWrite(&_impl_);
1497 _impl_.countries_info_.Clear();
1498 }
mutable_countries_info(int index)1499 inline ::i18n::phonenumbers::CountriesInfo* GeocodingInfo::mutable_countries_info(int index)
1500 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1501 // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.GeocodingInfo.countries_info)
1502 return _internal_mutable_countries_info()->Mutable(index);
1503 }
mutable_countries_info()1504 inline ::google::protobuf::RepeatedPtrField<::i18n::phonenumbers::CountriesInfo>* GeocodingInfo::mutable_countries_info()
1505 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1506 // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.GeocodingInfo.countries_info)
1507 ::google::protobuf::internal::TSanWrite(&_impl_);
1508 return _internal_mutable_countries_info();
1509 }
countries_info(int index)1510 inline const ::i18n::phonenumbers::CountriesInfo& GeocodingInfo::countries_info(int index) const
1511 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1512 // @@protoc_insertion_point(field_get:i18n.phonenumbers.GeocodingInfo.countries_info)
1513 return _internal_countries_info().Get(index);
1514 }
add_countries_info()1515 inline ::i18n::phonenumbers::CountriesInfo* GeocodingInfo::add_countries_info() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1516 ::google::protobuf::internal::TSanWrite(&_impl_);
1517 ::i18n::phonenumbers::CountriesInfo* _add = _internal_mutable_countries_info()->Add();
1518 // @@protoc_insertion_point(field_add:i18n.phonenumbers.GeocodingInfo.countries_info)
1519 return _add;
1520 }
countries_info()1521 inline const ::google::protobuf::RepeatedPtrField<::i18n::phonenumbers::CountriesInfo>& GeocodingInfo::countries_info() const
1522 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1523 // @@protoc_insertion_point(field_list:i18n.phonenumbers.GeocodingInfo.countries_info)
1524 return _internal_countries_info();
1525 }
1526 inline const ::google::protobuf::RepeatedPtrField<::i18n::phonenumbers::CountriesInfo>&
_internal_countries_info()1527 GeocodingInfo::_internal_countries_info() const {
1528 ::google::protobuf::internal::TSanRead(&_impl_);
1529 return _impl_.countries_info_;
1530 }
1531 inline ::google::protobuf::RepeatedPtrField<::i18n::phonenumbers::CountriesInfo>*
_internal_mutable_countries_info()1532 GeocodingInfo::_internal_mutable_countries_info() {
1533 ::google::protobuf::internal::TSanRead(&_impl_);
1534 return &_impl_.countries_info_;
1535 }
1536
1537 // repeated int32 countries = 5;
_internal_countries_size()1538 inline int GeocodingInfo::_internal_countries_size() const {
1539 return _internal_countries().size();
1540 }
countries_size()1541 inline int GeocodingInfo::countries_size() const {
1542 return _internal_countries_size();
1543 }
clear_countries()1544 inline void GeocodingInfo::clear_countries() {
1545 ::google::protobuf::internal::TSanWrite(&_impl_);
1546 _impl_.countries_.Clear();
1547 }
countries(int index)1548 inline ::int32_t GeocodingInfo::countries(int index) const {
1549 // @@protoc_insertion_point(field_get:i18n.phonenumbers.GeocodingInfo.countries)
1550 return _internal_countries().Get(index);
1551 }
set_countries(int index,::int32_t value)1552 inline void GeocodingInfo::set_countries(int index, ::int32_t value) {
1553 _internal_mutable_countries()->Set(index, value);
1554 // @@protoc_insertion_point(field_set:i18n.phonenumbers.GeocodingInfo.countries)
1555 }
add_countries(::int32_t value)1556 inline void GeocodingInfo::add_countries(::int32_t value) {
1557 ::google::protobuf::internal::TSanWrite(&_impl_);
1558 _internal_mutable_countries()->Add(value);
1559 // @@protoc_insertion_point(field_add:i18n.phonenumbers.GeocodingInfo.countries)
1560 }
countries()1561 inline const ::google::protobuf::RepeatedField<::int32_t>& GeocodingInfo::countries() const
1562 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1563 // @@protoc_insertion_point(field_list:i18n.phonenumbers.GeocodingInfo.countries)
1564 return _internal_countries();
1565 }
mutable_countries()1566 inline ::google::protobuf::RepeatedField<::int32_t>* GeocodingInfo::mutable_countries()
1567 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1568 // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.GeocodingInfo.countries)
1569 ::google::protobuf::internal::TSanWrite(&_impl_);
1570 return _internal_mutable_countries();
1571 }
1572 inline const ::google::protobuf::RepeatedField<::int32_t>&
_internal_countries()1573 GeocodingInfo::_internal_countries() const {
1574 ::google::protobuf::internal::TSanRead(&_impl_);
1575 return _impl_.countries_;
1576 }
_internal_mutable_countries()1577 inline ::google::protobuf::RepeatedField<::int32_t>* GeocodingInfo::_internal_mutable_countries() {
1578 ::google::protobuf::internal::TSanRead(&_impl_);
1579 return &_impl_.countries_;
1580 }
1581
1582 // required .i18n.phonenumbers.CountryCodeInfo country_code_info = 6;
has_country_code_info()1583 inline bool GeocodingInfo::has_country_code_info() const {
1584 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1585 PROTOBUF_ASSUME(!value || _impl_.country_code_info_ != nullptr);
1586 return value;
1587 }
clear_country_code_info()1588 inline void GeocodingInfo::clear_country_code_info() {
1589 ::google::protobuf::internal::TSanWrite(&_impl_);
1590 if (_impl_.country_code_info_ != nullptr) _impl_.country_code_info_->Clear();
1591 _impl_._has_bits_[0] &= ~0x00000002u;
1592 }
_internal_country_code_info()1593 inline const ::i18n::phonenumbers::CountryCodeInfo& GeocodingInfo::_internal_country_code_info() const {
1594 ::google::protobuf::internal::TSanRead(&_impl_);
1595 const ::i18n::phonenumbers::CountryCodeInfo* p = _impl_.country_code_info_;
1596 return p != nullptr ? *p : reinterpret_cast<const ::i18n::phonenumbers::CountryCodeInfo&>(::i18n::phonenumbers::_CountryCodeInfo_default_instance_);
1597 }
country_code_info()1598 inline const ::i18n::phonenumbers::CountryCodeInfo& GeocodingInfo::country_code_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1599 // @@protoc_insertion_point(field_get:i18n.phonenumbers.GeocodingInfo.country_code_info)
1600 return _internal_country_code_info();
1601 }
unsafe_arena_set_allocated_country_code_info(::i18n::phonenumbers::CountryCodeInfo * value)1602 inline void GeocodingInfo::unsafe_arena_set_allocated_country_code_info(::i18n::phonenumbers::CountryCodeInfo* value) {
1603 ::google::protobuf::internal::TSanWrite(&_impl_);
1604 if (GetArena() == nullptr) {
1605 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.country_code_info_);
1606 }
1607 _impl_.country_code_info_ = reinterpret_cast<::i18n::phonenumbers::CountryCodeInfo*>(value);
1608 if (value != nullptr) {
1609 _impl_._has_bits_[0] |= 0x00000002u;
1610 } else {
1611 _impl_._has_bits_[0] &= ~0x00000002u;
1612 }
1613 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:i18n.phonenumbers.GeocodingInfo.country_code_info)
1614 }
release_country_code_info()1615 inline ::i18n::phonenumbers::CountryCodeInfo* GeocodingInfo::release_country_code_info() {
1616 ::google::protobuf::internal::TSanWrite(&_impl_);
1617
1618 _impl_._has_bits_[0] &= ~0x00000002u;
1619 ::i18n::phonenumbers::CountryCodeInfo* released = _impl_.country_code_info_;
1620 _impl_.country_code_info_ = nullptr;
1621 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1622 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1623 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1624 if (GetArena() == nullptr) {
1625 delete old;
1626 }
1627 } else {
1628 if (GetArena() != nullptr) {
1629 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1630 }
1631 }
1632 return released;
1633 }
unsafe_arena_release_country_code_info()1634 inline ::i18n::phonenumbers::CountryCodeInfo* GeocodingInfo::unsafe_arena_release_country_code_info() {
1635 ::google::protobuf::internal::TSanWrite(&_impl_);
1636 // @@protoc_insertion_point(field_release:i18n.phonenumbers.GeocodingInfo.country_code_info)
1637
1638 _impl_._has_bits_[0] &= ~0x00000002u;
1639 ::i18n::phonenumbers::CountryCodeInfo* temp = _impl_.country_code_info_;
1640 _impl_.country_code_info_ = nullptr;
1641 return temp;
1642 }
_internal_mutable_country_code_info()1643 inline ::i18n::phonenumbers::CountryCodeInfo* GeocodingInfo::_internal_mutable_country_code_info() {
1644 ::google::protobuf::internal::TSanWrite(&_impl_);
1645 if (_impl_.country_code_info_ == nullptr) {
1646 auto* p = ::google::protobuf::MessageLite::DefaultConstruct<::i18n::phonenumbers::CountryCodeInfo>(GetArena());
1647 _impl_.country_code_info_ = reinterpret_cast<::i18n::phonenumbers::CountryCodeInfo*>(p);
1648 }
1649 return _impl_.country_code_info_;
1650 }
mutable_country_code_info()1651 inline ::i18n::phonenumbers::CountryCodeInfo* GeocodingInfo::mutable_country_code_info() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1652 _impl_._has_bits_[0] |= 0x00000002u;
1653 ::i18n::phonenumbers::CountryCodeInfo* _msg = _internal_mutable_country_code_info();
1654 // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.GeocodingInfo.country_code_info)
1655 return _msg;
1656 }
set_allocated_country_code_info(::i18n::phonenumbers::CountryCodeInfo * value)1657 inline void GeocodingInfo::set_allocated_country_code_info(::i18n::phonenumbers::CountryCodeInfo* value) {
1658 ::google::protobuf::Arena* message_arena = GetArena();
1659 ::google::protobuf::internal::TSanWrite(&_impl_);
1660 if (message_arena == nullptr) {
1661 delete (_impl_.country_code_info_);
1662 }
1663
1664 if (value != nullptr) {
1665 ::google::protobuf::Arena* submessage_arena = (value)->GetArena();
1666 if (message_arena != submessage_arena) {
1667 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1668 }
1669 _impl_._has_bits_[0] |= 0x00000002u;
1670 } else {
1671 _impl_._has_bits_[0] &= ~0x00000002u;
1672 }
1673
1674 _impl_.country_code_info_ = reinterpret_cast<::i18n::phonenumbers::CountryCodeInfo*>(value);
1675 // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.GeocodingInfo.country_code_info)
1676 }
1677
1678 // -------------------------------------------------------------------
1679
1680 // PrefixesInfo
1681
1682 // required int32 prefixes_num = 1;
has_prefixes_num()1683 inline bool PrefixesInfo::has_prefixes_num() const {
1684 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1685 return value;
1686 }
clear_prefixes_num()1687 inline void PrefixesInfo::clear_prefixes_num() {
1688 ::google::protobuf::internal::TSanWrite(&_impl_);
1689 _impl_.prefixes_num_ = 0;
1690 _impl_._has_bits_[0] &= ~0x00000001u;
1691 }
prefixes_num()1692 inline ::int32_t PrefixesInfo::prefixes_num() const {
1693 // @@protoc_insertion_point(field_get:i18n.phonenumbers.PrefixesInfo.prefixes_num)
1694 return _internal_prefixes_num();
1695 }
set_prefixes_num(::int32_t value)1696 inline void PrefixesInfo::set_prefixes_num(::int32_t value) {
1697 _internal_set_prefixes_num(value);
1698 _impl_._has_bits_[0] |= 0x00000001u;
1699 // @@protoc_insertion_point(field_set:i18n.phonenumbers.PrefixesInfo.prefixes_num)
1700 }
_internal_prefixes_num()1701 inline ::int32_t PrefixesInfo::_internal_prefixes_num() const {
1702 ::google::protobuf::internal::TSanRead(&_impl_);
1703 return _impl_.prefixes_num_;
1704 }
_internal_set_prefixes_num(::int32_t value)1705 inline void PrefixesInfo::_internal_set_prefixes_num(::int32_t value) {
1706 ::google::protobuf::internal::TSanWrite(&_impl_);
1707 _impl_.prefixes_num_ = value;
1708 }
1709
1710 // repeated int32 prefixes = 2;
_internal_prefixes_size()1711 inline int PrefixesInfo::_internal_prefixes_size() const {
1712 return _internal_prefixes().size();
1713 }
prefixes_size()1714 inline int PrefixesInfo::prefixes_size() const {
1715 return _internal_prefixes_size();
1716 }
clear_prefixes()1717 inline void PrefixesInfo::clear_prefixes() {
1718 ::google::protobuf::internal::TSanWrite(&_impl_);
1719 _impl_.prefixes_.Clear();
1720 }
prefixes(int index)1721 inline ::int32_t PrefixesInfo::prefixes(int index) const {
1722 // @@protoc_insertion_point(field_get:i18n.phonenumbers.PrefixesInfo.prefixes)
1723 return _internal_prefixes().Get(index);
1724 }
set_prefixes(int index,::int32_t value)1725 inline void PrefixesInfo::set_prefixes(int index, ::int32_t value) {
1726 _internal_mutable_prefixes()->Set(index, value);
1727 // @@protoc_insertion_point(field_set:i18n.phonenumbers.PrefixesInfo.prefixes)
1728 }
add_prefixes(::int32_t value)1729 inline void PrefixesInfo::add_prefixes(::int32_t value) {
1730 ::google::protobuf::internal::TSanWrite(&_impl_);
1731 _internal_mutable_prefixes()->Add(value);
1732 // @@protoc_insertion_point(field_add:i18n.phonenumbers.PrefixesInfo.prefixes)
1733 }
prefixes()1734 inline const ::google::protobuf::RepeatedField<::int32_t>& PrefixesInfo::prefixes() const
1735 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1736 // @@protoc_insertion_point(field_list:i18n.phonenumbers.PrefixesInfo.prefixes)
1737 return _internal_prefixes();
1738 }
mutable_prefixes()1739 inline ::google::protobuf::RepeatedField<::int32_t>* PrefixesInfo::mutable_prefixes()
1740 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1741 // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.PrefixesInfo.prefixes)
1742 ::google::protobuf::internal::TSanWrite(&_impl_);
1743 return _internal_mutable_prefixes();
1744 }
1745 inline const ::google::protobuf::RepeatedField<::int32_t>&
_internal_prefixes()1746 PrefixesInfo::_internal_prefixes() const {
1747 ::google::protobuf::internal::TSanRead(&_impl_);
1748 return _impl_.prefixes_;
1749 }
_internal_mutable_prefixes()1750 inline ::google::protobuf::RepeatedField<::int32_t>* PrefixesInfo::_internal_mutable_prefixes() {
1751 ::google::protobuf::internal::TSanRead(&_impl_);
1752 return &_impl_.prefixes_;
1753 }
1754
1755 // repeated string descriptions = 3;
_internal_descriptions_size()1756 inline int PrefixesInfo::_internal_descriptions_size() const {
1757 return _internal_descriptions().size();
1758 }
descriptions_size()1759 inline int PrefixesInfo::descriptions_size() const {
1760 return _internal_descriptions_size();
1761 }
clear_descriptions()1762 inline void PrefixesInfo::clear_descriptions() {
1763 ::google::protobuf::internal::TSanWrite(&_impl_);
1764 _impl_.descriptions_.Clear();
1765 }
add_descriptions()1766 inline std::string* PrefixesInfo::add_descriptions() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1767 ::google::protobuf::internal::TSanWrite(&_impl_);
1768 std::string* _s = _internal_mutable_descriptions()->Add();
1769 // @@protoc_insertion_point(field_add_mutable:i18n.phonenumbers.PrefixesInfo.descriptions)
1770 return _s;
1771 }
descriptions(int index)1772 inline const std::string& PrefixesInfo::descriptions(int index) const
1773 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1774 // @@protoc_insertion_point(field_get:i18n.phonenumbers.PrefixesInfo.descriptions)
1775 return _internal_descriptions().Get(index);
1776 }
mutable_descriptions(int index)1777 inline std::string* PrefixesInfo::mutable_descriptions(int index)
1778 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1779 // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PrefixesInfo.descriptions)
1780 return _internal_mutable_descriptions()->Mutable(index);
1781 }
1782 template <typename Arg_, typename... Args_>
set_descriptions(int index,Arg_ && value,Args_...args)1783 inline void PrefixesInfo::set_descriptions(int index, Arg_&& value, Args_... args) {
1784 ::google::protobuf::internal::AssignToString(
1785 *_internal_mutable_descriptions()->Mutable(index),
1786 std::forward<Arg_>(value), args... );
1787 // @@protoc_insertion_point(field_set:i18n.phonenumbers.PrefixesInfo.descriptions)
1788 }
1789 template <typename Arg_, typename... Args_>
add_descriptions(Arg_ && value,Args_...args)1790 inline void PrefixesInfo::add_descriptions(Arg_&& value, Args_... args) {
1791 ::google::protobuf::internal::TSanWrite(&_impl_);
1792 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_descriptions(),
1793 std::forward<Arg_>(value),
1794 args... );
1795 // @@protoc_insertion_point(field_add:i18n.phonenumbers.PrefixesInfo.descriptions)
1796 }
1797 inline const ::google::protobuf::RepeatedPtrField<std::string>&
descriptions()1798 PrefixesInfo::descriptions() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1799 // @@protoc_insertion_point(field_list:i18n.phonenumbers.PrefixesInfo.descriptions)
1800 return _internal_descriptions();
1801 }
1802 inline ::google::protobuf::RepeatedPtrField<std::string>*
mutable_descriptions()1803 PrefixesInfo::mutable_descriptions() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1804 // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.PrefixesInfo.descriptions)
1805 ::google::protobuf::internal::TSanWrite(&_impl_);
1806 return _internal_mutable_descriptions();
1807 }
1808 inline const ::google::protobuf::RepeatedPtrField<std::string>&
_internal_descriptions()1809 PrefixesInfo::_internal_descriptions() const {
1810 ::google::protobuf::internal::TSanRead(&_impl_);
1811 return _impl_.descriptions_;
1812 }
1813 inline ::google::protobuf::RepeatedPtrField<std::string>*
_internal_mutable_descriptions()1814 PrefixesInfo::_internal_mutable_descriptions() {
1815 ::google::protobuf::internal::TSanRead(&_impl_);
1816 return &_impl_.descriptions_;
1817 }
1818
1819 // required int32 lengths_num = 4;
has_lengths_num()1820 inline bool PrefixesInfo::has_lengths_num() const {
1821 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1822 return value;
1823 }
clear_lengths_num()1824 inline void PrefixesInfo::clear_lengths_num() {
1825 ::google::protobuf::internal::TSanWrite(&_impl_);
1826 _impl_.lengths_num_ = 0;
1827 _impl_._has_bits_[0] &= ~0x00000002u;
1828 }
lengths_num()1829 inline ::int32_t PrefixesInfo::lengths_num() const {
1830 // @@protoc_insertion_point(field_get:i18n.phonenumbers.PrefixesInfo.lengths_num)
1831 return _internal_lengths_num();
1832 }
set_lengths_num(::int32_t value)1833 inline void PrefixesInfo::set_lengths_num(::int32_t value) {
1834 _internal_set_lengths_num(value);
1835 _impl_._has_bits_[0] |= 0x00000002u;
1836 // @@protoc_insertion_point(field_set:i18n.phonenumbers.PrefixesInfo.lengths_num)
1837 }
_internal_lengths_num()1838 inline ::int32_t PrefixesInfo::_internal_lengths_num() const {
1839 ::google::protobuf::internal::TSanRead(&_impl_);
1840 return _impl_.lengths_num_;
1841 }
_internal_set_lengths_num(::int32_t value)1842 inline void PrefixesInfo::_internal_set_lengths_num(::int32_t value) {
1843 ::google::protobuf::internal::TSanWrite(&_impl_);
1844 _impl_.lengths_num_ = value;
1845 }
1846
1847 // repeated int32 lengths = 5;
_internal_lengths_size()1848 inline int PrefixesInfo::_internal_lengths_size() const {
1849 return _internal_lengths().size();
1850 }
lengths_size()1851 inline int PrefixesInfo::lengths_size() const {
1852 return _internal_lengths_size();
1853 }
clear_lengths()1854 inline void PrefixesInfo::clear_lengths() {
1855 ::google::protobuf::internal::TSanWrite(&_impl_);
1856 _impl_.lengths_.Clear();
1857 }
lengths(int index)1858 inline ::int32_t PrefixesInfo::lengths(int index) const {
1859 // @@protoc_insertion_point(field_get:i18n.phonenumbers.PrefixesInfo.lengths)
1860 return _internal_lengths().Get(index);
1861 }
set_lengths(int index,::int32_t value)1862 inline void PrefixesInfo::set_lengths(int index, ::int32_t value) {
1863 _internal_mutable_lengths()->Set(index, value);
1864 // @@protoc_insertion_point(field_set:i18n.phonenumbers.PrefixesInfo.lengths)
1865 }
add_lengths(::int32_t value)1866 inline void PrefixesInfo::add_lengths(::int32_t value) {
1867 ::google::protobuf::internal::TSanWrite(&_impl_);
1868 _internal_mutable_lengths()->Add(value);
1869 // @@protoc_insertion_point(field_add:i18n.phonenumbers.PrefixesInfo.lengths)
1870 }
lengths()1871 inline const ::google::protobuf::RepeatedField<::int32_t>& PrefixesInfo::lengths() const
1872 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1873 // @@protoc_insertion_point(field_list:i18n.phonenumbers.PrefixesInfo.lengths)
1874 return _internal_lengths();
1875 }
mutable_lengths()1876 inline ::google::protobuf::RepeatedField<::int32_t>* PrefixesInfo::mutable_lengths()
1877 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1878 // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.PrefixesInfo.lengths)
1879 ::google::protobuf::internal::TSanWrite(&_impl_);
1880 return _internal_mutable_lengths();
1881 }
1882 inline const ::google::protobuf::RepeatedField<::int32_t>&
_internal_lengths()1883 PrefixesInfo::_internal_lengths() const {
1884 ::google::protobuf::internal::TSanRead(&_impl_);
1885 return _impl_.lengths_;
1886 }
_internal_mutable_lengths()1887 inline ::google::protobuf::RepeatedField<::int32_t>* PrefixesInfo::_internal_mutable_lengths() {
1888 ::google::protobuf::internal::TSanRead(&_impl_);
1889 return &_impl_.lengths_;
1890 }
1891
1892 // -------------------------------------------------------------------
1893
1894 // LanguageCodeInfo
1895
1896 // required int32 language_codes_num = 1;
has_language_codes_num()1897 inline bool LanguageCodeInfo::has_language_codes_num() const {
1898 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1899 return value;
1900 }
clear_language_codes_num()1901 inline void LanguageCodeInfo::clear_language_codes_num() {
1902 ::google::protobuf::internal::TSanWrite(&_impl_);
1903 _impl_.language_codes_num_ = 0;
1904 _impl_._has_bits_[0] &= ~0x00000001u;
1905 }
language_codes_num()1906 inline ::int32_t LanguageCodeInfo::language_codes_num() const {
1907 // @@protoc_insertion_point(field_get:i18n.phonenumbers.LanguageCodeInfo.language_codes_num)
1908 return _internal_language_codes_num();
1909 }
set_language_codes_num(::int32_t value)1910 inline void LanguageCodeInfo::set_language_codes_num(::int32_t value) {
1911 _internal_set_language_codes_num(value);
1912 _impl_._has_bits_[0] |= 0x00000001u;
1913 // @@protoc_insertion_point(field_set:i18n.phonenumbers.LanguageCodeInfo.language_codes_num)
1914 }
_internal_language_codes_num()1915 inline ::int32_t LanguageCodeInfo::_internal_language_codes_num() const {
1916 ::google::protobuf::internal::TSanRead(&_impl_);
1917 return _impl_.language_codes_num_;
1918 }
_internal_set_language_codes_num(::int32_t value)1919 inline void LanguageCodeInfo::_internal_set_language_codes_num(::int32_t value) {
1920 ::google::protobuf::internal::TSanWrite(&_impl_);
1921 _impl_.language_codes_num_ = value;
1922 }
1923
1924 // repeated string language_codes = 2;
_internal_language_codes_size()1925 inline int LanguageCodeInfo::_internal_language_codes_size() const {
1926 return _internal_language_codes().size();
1927 }
language_codes_size()1928 inline int LanguageCodeInfo::language_codes_size() const {
1929 return _internal_language_codes_size();
1930 }
clear_language_codes()1931 inline void LanguageCodeInfo::clear_language_codes() {
1932 ::google::protobuf::internal::TSanWrite(&_impl_);
1933 _impl_.language_codes_.Clear();
1934 }
add_language_codes()1935 inline std::string* LanguageCodeInfo::add_language_codes() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1936 ::google::protobuf::internal::TSanWrite(&_impl_);
1937 std::string* _s = _internal_mutable_language_codes()->Add();
1938 // @@protoc_insertion_point(field_add_mutable:i18n.phonenumbers.LanguageCodeInfo.language_codes)
1939 return _s;
1940 }
language_codes(int index)1941 inline const std::string& LanguageCodeInfo::language_codes(int index) const
1942 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1943 // @@protoc_insertion_point(field_get:i18n.phonenumbers.LanguageCodeInfo.language_codes)
1944 return _internal_language_codes().Get(index);
1945 }
mutable_language_codes(int index)1946 inline std::string* LanguageCodeInfo::mutable_language_codes(int index)
1947 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1948 // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.LanguageCodeInfo.language_codes)
1949 return _internal_mutable_language_codes()->Mutable(index);
1950 }
1951 template <typename Arg_, typename... Args_>
set_language_codes(int index,Arg_ && value,Args_...args)1952 inline void LanguageCodeInfo::set_language_codes(int index, Arg_&& value, Args_... args) {
1953 ::google::protobuf::internal::AssignToString(
1954 *_internal_mutable_language_codes()->Mutable(index),
1955 std::forward<Arg_>(value), args... );
1956 // @@protoc_insertion_point(field_set:i18n.phonenumbers.LanguageCodeInfo.language_codes)
1957 }
1958 template <typename Arg_, typename... Args_>
add_language_codes(Arg_ && value,Args_...args)1959 inline void LanguageCodeInfo::add_language_codes(Arg_&& value, Args_... args) {
1960 ::google::protobuf::internal::TSanWrite(&_impl_);
1961 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_language_codes(),
1962 std::forward<Arg_>(value),
1963 args... );
1964 // @@protoc_insertion_point(field_add:i18n.phonenumbers.LanguageCodeInfo.language_codes)
1965 }
1966 inline const ::google::protobuf::RepeatedPtrField<std::string>&
language_codes()1967 LanguageCodeInfo::language_codes() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1968 // @@protoc_insertion_point(field_list:i18n.phonenumbers.LanguageCodeInfo.language_codes)
1969 return _internal_language_codes();
1970 }
1971 inline ::google::protobuf::RepeatedPtrField<std::string>*
mutable_language_codes()1972 LanguageCodeInfo::mutable_language_codes() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1973 // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.LanguageCodeInfo.language_codes)
1974 ::google::protobuf::internal::TSanWrite(&_impl_);
1975 return _internal_mutable_language_codes();
1976 }
1977 inline const ::google::protobuf::RepeatedPtrField<std::string>&
_internal_language_codes()1978 LanguageCodeInfo::_internal_language_codes() const {
1979 ::google::protobuf::internal::TSanRead(&_impl_);
1980 return _impl_.language_codes_;
1981 }
1982 inline ::google::protobuf::RepeatedPtrField<std::string>*
_internal_mutable_language_codes()1983 LanguageCodeInfo::_internal_mutable_language_codes() {
1984 ::google::protobuf::internal::TSanRead(&_impl_);
1985 return &_impl_.language_codes_;
1986 }
1987
1988 // -------------------------------------------------------------------
1989
1990 // CountriesInfo
1991
1992 // required int32 country_languages_num = 1;
has_country_languages_num()1993 inline bool CountriesInfo::has_country_languages_num() const {
1994 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1995 return value;
1996 }
clear_country_languages_num()1997 inline void CountriesInfo::clear_country_languages_num() {
1998 ::google::protobuf::internal::TSanWrite(&_impl_);
1999 _impl_.country_languages_num_ = 0;
2000 _impl_._has_bits_[0] &= ~0x00000001u;
2001 }
country_languages_num()2002 inline ::int32_t CountriesInfo::country_languages_num() const {
2003 // @@protoc_insertion_point(field_get:i18n.phonenumbers.CountriesInfo.country_languages_num)
2004 return _internal_country_languages_num();
2005 }
set_country_languages_num(::int32_t value)2006 inline void CountriesInfo::set_country_languages_num(::int32_t value) {
2007 _internal_set_country_languages_num(value);
2008 _impl_._has_bits_[0] |= 0x00000001u;
2009 // @@protoc_insertion_point(field_set:i18n.phonenumbers.CountriesInfo.country_languages_num)
2010 }
_internal_country_languages_num()2011 inline ::int32_t CountriesInfo::_internal_country_languages_num() const {
2012 ::google::protobuf::internal::TSanRead(&_impl_);
2013 return _impl_.country_languages_num_;
2014 }
_internal_set_country_languages_num(::int32_t value)2015 inline void CountriesInfo::_internal_set_country_languages_num(::int32_t value) {
2016 ::google::protobuf::internal::TSanWrite(&_impl_);
2017 _impl_.country_languages_num_ = value;
2018 }
2019
2020 // repeated string country_languages = 2;
_internal_country_languages_size()2021 inline int CountriesInfo::_internal_country_languages_size() const {
2022 return _internal_country_languages().size();
2023 }
country_languages_size()2024 inline int CountriesInfo::country_languages_size() const {
2025 return _internal_country_languages_size();
2026 }
clear_country_languages()2027 inline void CountriesInfo::clear_country_languages() {
2028 ::google::protobuf::internal::TSanWrite(&_impl_);
2029 _impl_.country_languages_.Clear();
2030 }
add_country_languages()2031 inline std::string* CountriesInfo::add_country_languages() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2032 ::google::protobuf::internal::TSanWrite(&_impl_);
2033 std::string* _s = _internal_mutable_country_languages()->Add();
2034 // @@protoc_insertion_point(field_add_mutable:i18n.phonenumbers.CountriesInfo.country_languages)
2035 return _s;
2036 }
country_languages(int index)2037 inline const std::string& CountriesInfo::country_languages(int index) const
2038 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2039 // @@protoc_insertion_point(field_get:i18n.phonenumbers.CountriesInfo.country_languages)
2040 return _internal_country_languages().Get(index);
2041 }
mutable_country_languages(int index)2042 inline std::string* CountriesInfo::mutable_country_languages(int index)
2043 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2044 // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.CountriesInfo.country_languages)
2045 return _internal_mutable_country_languages()->Mutable(index);
2046 }
2047 template <typename Arg_, typename... Args_>
set_country_languages(int index,Arg_ && value,Args_...args)2048 inline void CountriesInfo::set_country_languages(int index, Arg_&& value, Args_... args) {
2049 ::google::protobuf::internal::AssignToString(
2050 *_internal_mutable_country_languages()->Mutable(index),
2051 std::forward<Arg_>(value), args... );
2052 // @@protoc_insertion_point(field_set:i18n.phonenumbers.CountriesInfo.country_languages)
2053 }
2054 template <typename Arg_, typename... Args_>
add_country_languages(Arg_ && value,Args_...args)2055 inline void CountriesInfo::add_country_languages(Arg_&& value, Args_... args) {
2056 ::google::protobuf::internal::TSanWrite(&_impl_);
2057 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_country_languages(),
2058 std::forward<Arg_>(value),
2059 args... );
2060 // @@protoc_insertion_point(field_add:i18n.phonenumbers.CountriesInfo.country_languages)
2061 }
2062 inline const ::google::protobuf::RepeatedPtrField<std::string>&
country_languages()2063 CountriesInfo::country_languages() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2064 // @@protoc_insertion_point(field_list:i18n.phonenumbers.CountriesInfo.country_languages)
2065 return _internal_country_languages();
2066 }
2067 inline ::google::protobuf::RepeatedPtrField<std::string>*
mutable_country_languages()2068 CountriesInfo::mutable_country_languages() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2069 // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.CountriesInfo.country_languages)
2070 ::google::protobuf::internal::TSanWrite(&_impl_);
2071 return _internal_mutable_country_languages();
2072 }
2073 inline const ::google::protobuf::RepeatedPtrField<std::string>&
_internal_country_languages()2074 CountriesInfo::_internal_country_languages() const {
2075 ::google::protobuf::internal::TSanRead(&_impl_);
2076 return _impl_.country_languages_;
2077 }
2078 inline ::google::protobuf::RepeatedPtrField<std::string>*
_internal_mutable_country_languages()2079 CountriesInfo::_internal_mutable_country_languages() {
2080 ::google::protobuf::internal::TSanRead(&_impl_);
2081 return &_impl_.country_languages_;
2082 }
2083
2084 // -------------------------------------------------------------------
2085
2086 // CountryCodeInfo
2087
2088 // required int32 country_codes_num = 1;
has_country_codes_num()2089 inline bool CountryCodeInfo::has_country_codes_num() const {
2090 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2091 return value;
2092 }
clear_country_codes_num()2093 inline void CountryCodeInfo::clear_country_codes_num() {
2094 ::google::protobuf::internal::TSanWrite(&_impl_);
2095 _impl_.country_codes_num_ = 0;
2096 _impl_._has_bits_[0] &= ~0x00000001u;
2097 }
country_codes_num()2098 inline ::int32_t CountryCodeInfo::country_codes_num() const {
2099 // @@protoc_insertion_point(field_get:i18n.phonenumbers.CountryCodeInfo.country_codes_num)
2100 return _internal_country_codes_num();
2101 }
set_country_codes_num(::int32_t value)2102 inline void CountryCodeInfo::set_country_codes_num(::int32_t value) {
2103 _internal_set_country_codes_num(value);
2104 _impl_._has_bits_[0] |= 0x00000001u;
2105 // @@protoc_insertion_point(field_set:i18n.phonenumbers.CountryCodeInfo.country_codes_num)
2106 }
_internal_country_codes_num()2107 inline ::int32_t CountryCodeInfo::_internal_country_codes_num() const {
2108 ::google::protobuf::internal::TSanRead(&_impl_);
2109 return _impl_.country_codes_num_;
2110 }
_internal_set_country_codes_num(::int32_t value)2111 inline void CountryCodeInfo::_internal_set_country_codes_num(::int32_t value) {
2112 ::google::protobuf::internal::TSanWrite(&_impl_);
2113 _impl_.country_codes_num_ = value;
2114 }
2115
2116 // repeated int32 country_codes = 2;
_internal_country_codes_size()2117 inline int CountryCodeInfo::_internal_country_codes_size() const {
2118 return _internal_country_codes().size();
2119 }
country_codes_size()2120 inline int CountryCodeInfo::country_codes_size() const {
2121 return _internal_country_codes_size();
2122 }
clear_country_codes()2123 inline void CountryCodeInfo::clear_country_codes() {
2124 ::google::protobuf::internal::TSanWrite(&_impl_);
2125 _impl_.country_codes_.Clear();
2126 }
country_codes(int index)2127 inline ::int32_t CountryCodeInfo::country_codes(int index) const {
2128 // @@protoc_insertion_point(field_get:i18n.phonenumbers.CountryCodeInfo.country_codes)
2129 return _internal_country_codes().Get(index);
2130 }
set_country_codes(int index,::int32_t value)2131 inline void CountryCodeInfo::set_country_codes(int index, ::int32_t value) {
2132 _internal_mutable_country_codes()->Set(index, value);
2133 // @@protoc_insertion_point(field_set:i18n.phonenumbers.CountryCodeInfo.country_codes)
2134 }
add_country_codes(::int32_t value)2135 inline void CountryCodeInfo::add_country_codes(::int32_t value) {
2136 ::google::protobuf::internal::TSanWrite(&_impl_);
2137 _internal_mutable_country_codes()->Add(value);
2138 // @@protoc_insertion_point(field_add:i18n.phonenumbers.CountryCodeInfo.country_codes)
2139 }
country_codes()2140 inline const ::google::protobuf::RepeatedField<::int32_t>& CountryCodeInfo::country_codes() const
2141 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2142 // @@protoc_insertion_point(field_list:i18n.phonenumbers.CountryCodeInfo.country_codes)
2143 return _internal_country_codes();
2144 }
mutable_country_codes()2145 inline ::google::protobuf::RepeatedField<::int32_t>* CountryCodeInfo::mutable_country_codes()
2146 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2147 // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.CountryCodeInfo.country_codes)
2148 ::google::protobuf::internal::TSanWrite(&_impl_);
2149 return _internal_mutable_country_codes();
2150 }
2151 inline const ::google::protobuf::RepeatedField<::int32_t>&
_internal_country_codes()2152 CountryCodeInfo::_internal_country_codes() const {
2153 ::google::protobuf::internal::TSanRead(&_impl_);
2154 return _impl_.country_codes_;
2155 }
_internal_mutable_country_codes()2156 inline ::google::protobuf::RepeatedField<::int32_t>* CountryCodeInfo::_internal_mutable_country_codes() {
2157 ::google::protobuf::internal::TSanRead(&_impl_);
2158 return &_impl_.country_codes_;
2159 }
2160
2161 #ifdef __GNUC__
2162 #pragma GCC diagnostic pop
2163 #endif // __GNUC__
2164
2165 // @@protoc_insertion_point(namespace_scope)
2166 } // namespace phonenumbers
2167 } // namespace i18n
2168
2169
2170 // @@protoc_insertion_point(global_scope)
2171
2172 #include "google/protobuf/port_undef.inc"
2173
2174 #endif // geocoding_5fdata_2eproto_2epb_2eh
2175