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