// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: phonemetadata.proto

#ifndef PROTOBUF_INCLUDED_phonemetadata_2eproto
#define PROTOBUF_INCLUDED_phonemetadata_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3007000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3007000 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif

#include <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/inlined_string_field.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_phonemetadata_2eproto

// Internal implementation detail -- do not use these members.
struct TableStruct_phonemetadata_2eproto {
  static const ::google::protobuf::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::google::protobuf::internal::ParseTable schema[4]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
  static const ::google::protobuf::internal::SerializationTable serialization_table[];
  static const ::google::protobuf::uint32 offsets[];
};
namespace i18n {
namespace phonenumbers {
class NumberFormat;
class NumberFormatDefaultTypeInternal;
extern NumberFormatDefaultTypeInternal _NumberFormat_default_instance_;
class PhoneMetadata;
class PhoneMetadataDefaultTypeInternal;
extern PhoneMetadataDefaultTypeInternal _PhoneMetadata_default_instance_;
class PhoneMetadataCollection;
class PhoneMetadataCollectionDefaultTypeInternal;
extern PhoneMetadataCollectionDefaultTypeInternal _PhoneMetadataCollection_default_instance_;
class PhoneNumberDesc;
class PhoneNumberDescDefaultTypeInternal;
extern PhoneNumberDescDefaultTypeInternal _PhoneNumberDesc_default_instance_;
}  // namespace phonenumbers
}  // namespace i18n
namespace google {
namespace protobuf {
template<> ::i18n::phonenumbers::NumberFormat* Arena::CreateMaybeMessage<::i18n::phonenumbers::NumberFormat>(Arena*);
template<> ::i18n::phonenumbers::PhoneMetadata* Arena::CreateMaybeMessage<::i18n::phonenumbers::PhoneMetadata>(Arena*);
template<> ::i18n::phonenumbers::PhoneMetadataCollection* Arena::CreateMaybeMessage<::i18n::phonenumbers::PhoneMetadataCollection>(Arena*);
template<> ::i18n::phonenumbers::PhoneNumberDesc* Arena::CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(Arena*);
}  // namespace protobuf
}  // namespace google
namespace i18n {
namespace phonenumbers {

// ===================================================================

class NumberFormat final :
    public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:i18n.phonenumbers.NumberFormat) */ {
 public:
  NumberFormat();
  virtual ~NumberFormat();

  NumberFormat(const NumberFormat& from);

  inline NumberFormat& operator=(const NumberFormat& from) {
    CopyFrom(from);
    return *this;
  }
  #if LANG_CXX11
  NumberFormat(NumberFormat&& from) noexcept
    : NumberFormat() {
    *this = ::std::move(from);
  }

  inline NumberFormat& operator=(NumberFormat&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }
  #endif
  inline const ::std::string& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::std::string* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const NumberFormat& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const NumberFormat* internal_default_instance() {
    return reinterpret_cast<const NumberFormat*>(
               &_NumberFormat_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  void Swap(NumberFormat* other);
  friend void swap(NumberFormat& a, NumberFormat& b) {
    a.Swap(&b);
  }

  // implements Message ----------------------------------------------

  inline NumberFormat* New() const final {
    return CreateMaybeMessage<NumberFormat>(nullptr);
  }

  NumberFormat* New(::google::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<NumberFormat>(arena);
  }
  void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
    final;
  void CopyFrom(const NumberFormat& from);
  void MergeFrom(const NumberFormat& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
  ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
  #else
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input) final;
  #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const final;
  void DiscardUnknownFields();
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(NumberFormat* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::std::string GetTypeName() const final;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // repeated string leading_digits_pattern = 3;
  int leading_digits_pattern_size() const;
  void clear_leading_digits_pattern();
  static const int kLeadingDigitsPatternFieldNumber = 3;
  const ::std::string& leading_digits_pattern(int index) const;
  ::std::string* mutable_leading_digits_pattern(int index);
  void set_leading_digits_pattern(int index, const ::std::string& value);
  #if LANG_CXX11
  void set_leading_digits_pattern(int index, ::std::string&& value);
  #endif
  void set_leading_digits_pattern(int index, const char* value);
  void set_leading_digits_pattern(int index, const char* value, size_t size);
  ::std::string* add_leading_digits_pattern();
  void add_leading_digits_pattern(const ::std::string& value);
  #if LANG_CXX11
  void add_leading_digits_pattern(::std::string&& value);
  #endif
  void add_leading_digits_pattern(const char* value);
  void add_leading_digits_pattern(const char* value, size_t size);
  const ::google::protobuf::RepeatedPtrField<::std::string>& leading_digits_pattern() const;
  ::google::protobuf::RepeatedPtrField<::std::string>* mutable_leading_digits_pattern();

  // required string pattern = 1;
  bool has_pattern() const;
  void clear_pattern();
  static const int kPatternFieldNumber = 1;
  const ::std::string& pattern() const;
  void set_pattern(const ::std::string& value);
  #if LANG_CXX11
  void set_pattern(::std::string&& value);
  #endif
  void set_pattern(const char* value);
  void set_pattern(const char* value, size_t size);
  ::std::string* mutable_pattern();
  ::std::string* release_pattern();
  void set_allocated_pattern(::std::string* pattern);

  // required string format = 2;
  bool has_format() const;
  void clear_format();
  static const int kFormatFieldNumber = 2;
  const ::std::string& format() const;
  void set_format(const ::std::string& value);
  #if LANG_CXX11
  void set_format(::std::string&& value);
  #endif
  void set_format(const char* value);
  void set_format(const char* value, size_t size);
  ::std::string* mutable_format();
  ::std::string* release_format();
  void set_allocated_format(::std::string* format);

  // optional string national_prefix_formatting_rule = 4;
  bool has_national_prefix_formatting_rule() const;
  void clear_national_prefix_formatting_rule();
  static const int kNationalPrefixFormattingRuleFieldNumber = 4;
  const ::std::string& national_prefix_formatting_rule() const;
  void set_national_prefix_formatting_rule(const ::std::string& value);
  #if LANG_CXX11
  void set_national_prefix_formatting_rule(::std::string&& value);
  #endif
  void set_national_prefix_formatting_rule(const char* value);
  void set_national_prefix_formatting_rule(const char* value, size_t size);
  ::std::string* mutable_national_prefix_formatting_rule();
  ::std::string* release_national_prefix_formatting_rule();
  void set_allocated_national_prefix_formatting_rule(::std::string* national_prefix_formatting_rule);

  // optional string domestic_carrier_code_formatting_rule = 5;
  bool has_domestic_carrier_code_formatting_rule() const;
  void clear_domestic_carrier_code_formatting_rule();
  static const int kDomesticCarrierCodeFormattingRuleFieldNumber = 5;
  const ::std::string& domestic_carrier_code_formatting_rule() const;
  void set_domestic_carrier_code_formatting_rule(const ::std::string& value);
  #if LANG_CXX11
  void set_domestic_carrier_code_formatting_rule(::std::string&& value);
  #endif
  void set_domestic_carrier_code_formatting_rule(const char* value);
  void set_domestic_carrier_code_formatting_rule(const char* value, size_t size);
  ::std::string* mutable_domestic_carrier_code_formatting_rule();
  ::std::string* release_domestic_carrier_code_formatting_rule();
  void set_allocated_domestic_carrier_code_formatting_rule(::std::string* domestic_carrier_code_formatting_rule);

  // optional bool national_prefix_optional_when_formatting = 6 [default = false];
  bool has_national_prefix_optional_when_formatting() const;
  void clear_national_prefix_optional_when_formatting();
  static const int kNationalPrefixOptionalWhenFormattingFieldNumber = 6;
  bool national_prefix_optional_when_formatting() const;
  void set_national_prefix_optional_when_formatting(bool value);

  // @@protoc_insertion_point(class_scope:i18n.phonenumbers.NumberFormat)
 private:
  class HasBitSetters;

  // helper for ByteSizeLong()
  size_t RequiredFieldsByteSizeFallback() const;

  ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable ::google::protobuf::internal::CachedSize _cached_size_;
  ::google::protobuf::RepeatedPtrField<::std::string> leading_digits_pattern_;
  ::google::protobuf::internal::ArenaStringPtr pattern_;
  ::google::protobuf::internal::ArenaStringPtr format_;
  ::google::protobuf::internal::ArenaStringPtr national_prefix_formatting_rule_;
  ::google::protobuf::internal::ArenaStringPtr domestic_carrier_code_formatting_rule_;
  bool national_prefix_optional_when_formatting_;
  friend struct ::TableStruct_phonemetadata_2eproto;
};
// -------------------------------------------------------------------

class PhoneNumberDesc final :
    public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:i18n.phonenumbers.PhoneNumberDesc) */ {
 public:
  PhoneNumberDesc();
  virtual ~PhoneNumberDesc();

  PhoneNumberDesc(const PhoneNumberDesc& from);

  inline PhoneNumberDesc& operator=(const PhoneNumberDesc& from) {
    CopyFrom(from);
    return *this;
  }
  #if LANG_CXX11
  PhoneNumberDesc(PhoneNumberDesc&& from) noexcept
    : PhoneNumberDesc() {
    *this = ::std::move(from);
  }

  inline PhoneNumberDesc& operator=(PhoneNumberDesc&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }
  #endif
  inline const ::std::string& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::std::string* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const PhoneNumberDesc& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const PhoneNumberDesc* internal_default_instance() {
    return reinterpret_cast<const PhoneNumberDesc*>(
               &_PhoneNumberDesc_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    1;

  void Swap(PhoneNumberDesc* other);
  friend void swap(PhoneNumberDesc& a, PhoneNumberDesc& b) {
    a.Swap(&b);
  }

  // implements Message ----------------------------------------------

  inline PhoneNumberDesc* New() const final {
    return CreateMaybeMessage<PhoneNumberDesc>(nullptr);
  }

  PhoneNumberDesc* New(::google::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<PhoneNumberDesc>(arena);
  }
  void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
    final;
  void CopyFrom(const PhoneNumberDesc& from);
  void MergeFrom(const PhoneNumberDesc& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
  ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
  #else
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input) final;
  #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const final;
  void DiscardUnknownFields();
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(PhoneNumberDesc* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::std::string GetTypeName() const final;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // repeated int32 possible_length = 9;
  int possible_length_size() const;
  void clear_possible_length();
  static const int kPossibleLengthFieldNumber = 9;
  ::google::protobuf::int32 possible_length(int index) const;
  void set_possible_length(int index, ::google::protobuf::int32 value);
  void add_possible_length(::google::protobuf::int32 value);
  const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
      possible_length() const;
  ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
      mutable_possible_length();

  // repeated int32 possible_length_local_only = 10;
  int possible_length_local_only_size() const;
  void clear_possible_length_local_only();
  static const int kPossibleLengthLocalOnlyFieldNumber = 10;
  ::google::protobuf::int32 possible_length_local_only(int index) const;
  void set_possible_length_local_only(int index, ::google::protobuf::int32 value);
  void add_possible_length_local_only(::google::protobuf::int32 value);
  const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
      possible_length_local_only() const;
  ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
      mutable_possible_length_local_only();

  // optional string national_number_pattern = 2;
  bool has_national_number_pattern() const;
  void clear_national_number_pattern();
  static const int kNationalNumberPatternFieldNumber = 2;
  const ::std::string& national_number_pattern() const;
  void set_national_number_pattern(const ::std::string& value);
  #if LANG_CXX11
  void set_national_number_pattern(::std::string&& value);
  #endif
  void set_national_number_pattern(const char* value);
  void set_national_number_pattern(const char* value, size_t size);
  ::std::string* mutable_national_number_pattern();
  ::std::string* release_national_number_pattern();
  void set_allocated_national_number_pattern(::std::string* national_number_pattern);

  // optional string example_number = 6;
  bool has_example_number() const;
  void clear_example_number();
  static const int kExampleNumberFieldNumber = 6;
  const ::std::string& example_number() const;
  void set_example_number(const ::std::string& value);
  #if LANG_CXX11
  void set_example_number(::std::string&& value);
  #endif
  void set_example_number(const char* value);
  void set_example_number(const char* value, size_t size);
  ::std::string* mutable_example_number();
  ::std::string* release_example_number();
  void set_allocated_example_number(::std::string* example_number);

  // @@protoc_insertion_point(class_scope:i18n.phonenumbers.PhoneNumberDesc)
 private:
  class HasBitSetters;

  ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable ::google::protobuf::internal::CachedSize _cached_size_;
  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > possible_length_;
  ::google::protobuf::RepeatedField< ::google::protobuf::int32 > possible_length_local_only_;
  ::google::protobuf::internal::ArenaStringPtr national_number_pattern_;
  ::google::protobuf::internal::ArenaStringPtr example_number_;
  friend struct ::TableStruct_phonemetadata_2eproto;
};
// -------------------------------------------------------------------

class PhoneMetadata final :
    public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:i18n.phonenumbers.PhoneMetadata) */ {
 public:
  PhoneMetadata();
  virtual ~PhoneMetadata();

  PhoneMetadata(const PhoneMetadata& from);

  inline PhoneMetadata& operator=(const PhoneMetadata& from) {
    CopyFrom(from);
    return *this;
  }
  #if LANG_CXX11
  PhoneMetadata(PhoneMetadata&& from) noexcept
    : PhoneMetadata() {
    *this = ::std::move(from);
  }

  inline PhoneMetadata& operator=(PhoneMetadata&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }
  #endif
  inline const ::std::string& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::std::string* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const PhoneMetadata& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const PhoneMetadata* internal_default_instance() {
    return reinterpret_cast<const PhoneMetadata*>(
               &_PhoneMetadata_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    2;

  void Swap(PhoneMetadata* other);
  friend void swap(PhoneMetadata& a, PhoneMetadata& b) {
    a.Swap(&b);
  }

  // implements Message ----------------------------------------------

  inline PhoneMetadata* New() const final {
    return CreateMaybeMessage<PhoneMetadata>(nullptr);
  }

  PhoneMetadata* New(::google::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<PhoneMetadata>(arena);
  }
  void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
    final;
  void CopyFrom(const PhoneMetadata& from);
  void MergeFrom(const PhoneMetadata& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
  ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
  #else
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input) final;
  #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const final;
  void DiscardUnknownFields();
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(PhoneMetadata* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::std::string GetTypeName() const final;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // repeated .i18n.phonenumbers.NumberFormat number_format = 19;
  int number_format_size() const;
  void clear_number_format();
  static const int kNumberFormatFieldNumber = 19;
  ::i18n::phonenumbers::NumberFormat* mutable_number_format(int index);
  ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::NumberFormat >*
      mutable_number_format();
  const ::i18n::phonenumbers::NumberFormat& number_format(int index) const;
  ::i18n::phonenumbers::NumberFormat* add_number_format();
  const ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::NumberFormat >&
      number_format() const;

  // repeated .i18n.phonenumbers.NumberFormat intl_number_format = 20;
  int intl_number_format_size() const;
  void clear_intl_number_format();
  static const int kIntlNumberFormatFieldNumber = 20;
  ::i18n::phonenumbers::NumberFormat* mutable_intl_number_format(int index);
  ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::NumberFormat >*
      mutable_intl_number_format();
  const ::i18n::phonenumbers::NumberFormat& intl_number_format(int index) const;
  ::i18n::phonenumbers::NumberFormat* add_intl_number_format();
  const ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::NumberFormat >&
      intl_number_format() const;

  // required string id = 9;
  bool has_id() const;
  void clear_id();
  static const int kIdFieldNumber = 9;
  const ::std::string& id() const;
  void set_id(const ::std::string& value);
  #if LANG_CXX11
  void set_id(::std::string&& value);
  #endif
  void set_id(const char* value);
  void set_id(const char* value, size_t size);
  ::std::string* mutable_id();
  ::std::string* release_id();
  void set_allocated_id(::std::string* id);

  // optional string international_prefix = 11;
  bool has_international_prefix() const;
  void clear_international_prefix();
  static const int kInternationalPrefixFieldNumber = 11;
  const ::std::string& international_prefix() const;
  void set_international_prefix(const ::std::string& value);
  #if LANG_CXX11
  void set_international_prefix(::std::string&& value);
  #endif
  void set_international_prefix(const char* value);
  void set_international_prefix(const char* value, size_t size);
  ::std::string* mutable_international_prefix();
  ::std::string* release_international_prefix();
  void set_allocated_international_prefix(::std::string* international_prefix);

  // optional string national_prefix = 12;
  bool has_national_prefix() const;
  void clear_national_prefix();
  static const int kNationalPrefixFieldNumber = 12;
  const ::std::string& national_prefix() const;
  void set_national_prefix(const ::std::string& value);
  #if LANG_CXX11
  void set_national_prefix(::std::string&& value);
  #endif
  void set_national_prefix(const char* value);
  void set_national_prefix(const char* value, size_t size);
  ::std::string* mutable_national_prefix();
  ::std::string* release_national_prefix();
  void set_allocated_national_prefix(::std::string* national_prefix);

  // optional string preferred_extn_prefix = 13;
  bool has_preferred_extn_prefix() const;
  void clear_preferred_extn_prefix();
  static const int kPreferredExtnPrefixFieldNumber = 13;
  const ::std::string& preferred_extn_prefix() const;
  void set_preferred_extn_prefix(const ::std::string& value);
  #if LANG_CXX11
  void set_preferred_extn_prefix(::std::string&& value);
  #endif
  void set_preferred_extn_prefix(const char* value);
  void set_preferred_extn_prefix(const char* value, size_t size);
  ::std::string* mutable_preferred_extn_prefix();
  ::std::string* release_preferred_extn_prefix();
  void set_allocated_preferred_extn_prefix(::std::string* preferred_extn_prefix);

  // optional string national_prefix_for_parsing = 15;
  bool has_national_prefix_for_parsing() const;
  void clear_national_prefix_for_parsing();
  static const int kNationalPrefixForParsingFieldNumber = 15;
  const ::std::string& national_prefix_for_parsing() const;
  void set_national_prefix_for_parsing(const ::std::string& value);
  #if LANG_CXX11
  void set_national_prefix_for_parsing(::std::string&& value);
  #endif
  void set_national_prefix_for_parsing(const char* value);
  void set_national_prefix_for_parsing(const char* value, size_t size);
  ::std::string* mutable_national_prefix_for_parsing();
  ::std::string* release_national_prefix_for_parsing();
  void set_allocated_national_prefix_for_parsing(::std::string* national_prefix_for_parsing);

  // optional string national_prefix_transform_rule = 16;
  bool has_national_prefix_transform_rule() const;
  void clear_national_prefix_transform_rule();
  static const int kNationalPrefixTransformRuleFieldNumber = 16;
  const ::std::string& national_prefix_transform_rule() const;
  void set_national_prefix_transform_rule(const ::std::string& value);
  #if LANG_CXX11
  void set_national_prefix_transform_rule(::std::string&& value);
  #endif
  void set_national_prefix_transform_rule(const char* value);
  void set_national_prefix_transform_rule(const char* value, size_t size);
  ::std::string* mutable_national_prefix_transform_rule();
  ::std::string* release_national_prefix_transform_rule();
  void set_allocated_national_prefix_transform_rule(::std::string* national_prefix_transform_rule);

  // optional string preferred_international_prefix = 17;
  bool has_preferred_international_prefix() const;
  void clear_preferred_international_prefix();
  static const int kPreferredInternationalPrefixFieldNumber = 17;
  const ::std::string& preferred_international_prefix() const;
  void set_preferred_international_prefix(const ::std::string& value);
  #if LANG_CXX11
  void set_preferred_international_prefix(::std::string&& value);
  #endif
  void set_preferred_international_prefix(const char* value);
  void set_preferred_international_prefix(const char* value, size_t size);
  ::std::string* mutable_preferred_international_prefix();
  ::std::string* release_preferred_international_prefix();
  void set_allocated_preferred_international_prefix(::std::string* preferred_international_prefix);

  // optional string leading_digits = 23;
  bool has_leading_digits() const;
  void clear_leading_digits();
  static const int kLeadingDigitsFieldNumber = 23;
  const ::std::string& leading_digits() const;
  void set_leading_digits(const ::std::string& value);
  #if LANG_CXX11
  void set_leading_digits(::std::string&& value);
  #endif
  void set_leading_digits(const char* value);
  void set_leading_digits(const char* value, size_t size);
  ::std::string* mutable_leading_digits();
  ::std::string* release_leading_digits();
  void set_allocated_leading_digits(::std::string* leading_digits);

  // optional .i18n.phonenumbers.PhoneNumberDesc general_desc = 1;
  bool has_general_desc() const;
  void clear_general_desc();
  static const int kGeneralDescFieldNumber = 1;
  const ::i18n::phonenumbers::PhoneNumberDesc& general_desc() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_general_desc();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_general_desc();
  void set_allocated_general_desc(::i18n::phonenumbers::PhoneNumberDesc* general_desc);

  // optional .i18n.phonenumbers.PhoneNumberDesc fixed_line = 2;
  bool has_fixed_line() const;
  void clear_fixed_line();
  static const int kFixedLineFieldNumber = 2;
  const ::i18n::phonenumbers::PhoneNumberDesc& fixed_line() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_fixed_line();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_fixed_line();
  void set_allocated_fixed_line(::i18n::phonenumbers::PhoneNumberDesc* fixed_line);

  // optional .i18n.phonenumbers.PhoneNumberDesc mobile = 3;
  bool has_mobile() const;
  void clear_mobile();
  static const int kMobileFieldNumber = 3;
  const ::i18n::phonenumbers::PhoneNumberDesc& mobile() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_mobile();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_mobile();
  void set_allocated_mobile(::i18n::phonenumbers::PhoneNumberDesc* mobile);

  // optional .i18n.phonenumbers.PhoneNumberDesc toll_free = 4;
  bool has_toll_free() const;
  void clear_toll_free();
  static const int kTollFreeFieldNumber = 4;
  const ::i18n::phonenumbers::PhoneNumberDesc& toll_free() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_toll_free();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_toll_free();
  void set_allocated_toll_free(::i18n::phonenumbers::PhoneNumberDesc* toll_free);

  // optional .i18n.phonenumbers.PhoneNumberDesc premium_rate = 5;
  bool has_premium_rate() const;
  void clear_premium_rate();
  static const int kPremiumRateFieldNumber = 5;
  const ::i18n::phonenumbers::PhoneNumberDesc& premium_rate() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_premium_rate();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_premium_rate();
  void set_allocated_premium_rate(::i18n::phonenumbers::PhoneNumberDesc* premium_rate);

  // optional .i18n.phonenumbers.PhoneNumberDesc shared_cost = 6;
  bool has_shared_cost() const;
  void clear_shared_cost();
  static const int kSharedCostFieldNumber = 6;
  const ::i18n::phonenumbers::PhoneNumberDesc& shared_cost() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_shared_cost();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_shared_cost();
  void set_allocated_shared_cost(::i18n::phonenumbers::PhoneNumberDesc* shared_cost);

  // optional .i18n.phonenumbers.PhoneNumberDesc personal_number = 7;
  bool has_personal_number() const;
  void clear_personal_number();
  static const int kPersonalNumberFieldNumber = 7;
  const ::i18n::phonenumbers::PhoneNumberDesc& personal_number() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_personal_number();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_personal_number();
  void set_allocated_personal_number(::i18n::phonenumbers::PhoneNumberDesc* personal_number);

  // optional .i18n.phonenumbers.PhoneNumberDesc voip = 8;
  bool has_voip() const;
  void clear_voip();
  static const int kVoipFieldNumber = 8;
  const ::i18n::phonenumbers::PhoneNumberDesc& voip() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_voip();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_voip();
  void set_allocated_voip(::i18n::phonenumbers::PhoneNumberDesc* voip);

  // optional .i18n.phonenumbers.PhoneNumberDesc pager = 21;
  bool has_pager() const;
  void clear_pager();
  static const int kPagerFieldNumber = 21;
  const ::i18n::phonenumbers::PhoneNumberDesc& pager() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_pager();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_pager();
  void set_allocated_pager(::i18n::phonenumbers::PhoneNumberDesc* pager);

  // optional .i18n.phonenumbers.PhoneNumberDesc no_international_dialling = 24;
  bool has_no_international_dialling() const;
  void clear_no_international_dialling();
  static const int kNoInternationalDiallingFieldNumber = 24;
  const ::i18n::phonenumbers::PhoneNumberDesc& no_international_dialling() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_no_international_dialling();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_no_international_dialling();
  void set_allocated_no_international_dialling(::i18n::phonenumbers::PhoneNumberDesc* no_international_dialling);

  // optional .i18n.phonenumbers.PhoneNumberDesc uan = 25;
  bool has_uan() const;
  void clear_uan();
  static const int kUanFieldNumber = 25;
  const ::i18n::phonenumbers::PhoneNumberDesc& uan() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_uan();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_uan();
  void set_allocated_uan(::i18n::phonenumbers::PhoneNumberDesc* uan);

  // optional .i18n.phonenumbers.PhoneNumberDesc emergency = 27;
  bool has_emergency() const;
  void clear_emergency();
  static const int kEmergencyFieldNumber = 27;
  const ::i18n::phonenumbers::PhoneNumberDesc& emergency() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_emergency();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_emergency();
  void set_allocated_emergency(::i18n::phonenumbers::PhoneNumberDesc* emergency);

  // optional .i18n.phonenumbers.PhoneNumberDesc voicemail = 28;
  bool has_voicemail() const;
  void clear_voicemail();
  static const int kVoicemailFieldNumber = 28;
  const ::i18n::phonenumbers::PhoneNumberDesc& voicemail() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_voicemail();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_voicemail();
  void set_allocated_voicemail(::i18n::phonenumbers::PhoneNumberDesc* voicemail);

  // optional .i18n.phonenumbers.PhoneNumberDesc short_code = 29;
  bool has_short_code() const;
  void clear_short_code();
  static const int kShortCodeFieldNumber = 29;
  const ::i18n::phonenumbers::PhoneNumberDesc& short_code() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_short_code();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_short_code();
  void set_allocated_short_code(::i18n::phonenumbers::PhoneNumberDesc* short_code);

  // optional .i18n.phonenumbers.PhoneNumberDesc standard_rate = 30;
  bool has_standard_rate() const;
  void clear_standard_rate();
  static const int kStandardRateFieldNumber = 30;
  const ::i18n::phonenumbers::PhoneNumberDesc& standard_rate() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_standard_rate();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_standard_rate();
  void set_allocated_standard_rate(::i18n::phonenumbers::PhoneNumberDesc* standard_rate);

  // optional .i18n.phonenumbers.PhoneNumberDesc carrier_specific = 31;
  bool has_carrier_specific() const;
  void clear_carrier_specific();
  static const int kCarrierSpecificFieldNumber = 31;
  const ::i18n::phonenumbers::PhoneNumberDesc& carrier_specific() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_carrier_specific();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_carrier_specific();
  void set_allocated_carrier_specific(::i18n::phonenumbers::PhoneNumberDesc* carrier_specific);

  // optional .i18n.phonenumbers.PhoneNumberDesc sms_services = 33;
  bool has_sms_services() const;
  void clear_sms_services();
  static const int kSmsServicesFieldNumber = 33;
  const ::i18n::phonenumbers::PhoneNumberDesc& sms_services() const;
  ::i18n::phonenumbers::PhoneNumberDesc* release_sms_services();
  ::i18n::phonenumbers::PhoneNumberDesc* mutable_sms_services();
  void set_allocated_sms_services(::i18n::phonenumbers::PhoneNumberDesc* sms_services);

  // optional int32 country_code = 10;
  bool has_country_code() const;
  void clear_country_code();
  static const int kCountryCodeFieldNumber = 10;
  ::google::protobuf::int32 country_code() const;
  void set_country_code(::google::protobuf::int32 value);

  // optional bool same_mobile_and_fixed_line_pattern = 18 [default = false];
  bool has_same_mobile_and_fixed_line_pattern() const;
  void clear_same_mobile_and_fixed_line_pattern();
  static const int kSameMobileAndFixedLinePatternFieldNumber = 18;
  bool same_mobile_and_fixed_line_pattern() const;
  void set_same_mobile_and_fixed_line_pattern(bool value);

  // optional bool main_country_for_code = 22 [default = false];
  bool has_main_country_for_code() const;
  void clear_main_country_for_code();
  static const int kMainCountryForCodeFieldNumber = 22;
  bool main_country_for_code() const;
  void set_main_country_for_code(bool value);

  // optional bool leading_zero_possible = 26 [default = false];
  bool has_leading_zero_possible() const;
  void clear_leading_zero_possible();
  static const int kLeadingZeroPossibleFieldNumber = 26;
  bool leading_zero_possible() const;
  void set_leading_zero_possible(bool value);

  // optional bool mobile_number_portable_region = 32 [default = false];
  bool has_mobile_number_portable_region() const;
  void clear_mobile_number_portable_region();
  static const int kMobileNumberPortableRegionFieldNumber = 32;
  bool mobile_number_portable_region() const;
  void set_mobile_number_portable_region(bool value);

  // @@protoc_insertion_point(class_scope:i18n.phonenumbers.PhoneMetadata)
 private:
  class HasBitSetters;

  ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable ::google::protobuf::internal::CachedSize _cached_size_;
  ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::NumberFormat > number_format_;
  ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::NumberFormat > intl_number_format_;
  ::google::protobuf::internal::ArenaStringPtr id_;
  ::google::protobuf::internal::ArenaStringPtr international_prefix_;
  ::google::protobuf::internal::ArenaStringPtr national_prefix_;
  ::google::protobuf::internal::ArenaStringPtr preferred_extn_prefix_;
  ::google::protobuf::internal::ArenaStringPtr national_prefix_for_parsing_;
  ::google::protobuf::internal::ArenaStringPtr national_prefix_transform_rule_;
  ::google::protobuf::internal::ArenaStringPtr preferred_international_prefix_;
  ::google::protobuf::internal::ArenaStringPtr leading_digits_;
  ::i18n::phonenumbers::PhoneNumberDesc* general_desc_;
  ::i18n::phonenumbers::PhoneNumberDesc* fixed_line_;
  ::i18n::phonenumbers::PhoneNumberDesc* mobile_;
  ::i18n::phonenumbers::PhoneNumberDesc* toll_free_;
  ::i18n::phonenumbers::PhoneNumberDesc* premium_rate_;
  ::i18n::phonenumbers::PhoneNumberDesc* shared_cost_;
  ::i18n::phonenumbers::PhoneNumberDesc* personal_number_;
  ::i18n::phonenumbers::PhoneNumberDesc* voip_;
  ::i18n::phonenumbers::PhoneNumberDesc* pager_;
  ::i18n::phonenumbers::PhoneNumberDesc* no_international_dialling_;
  ::i18n::phonenumbers::PhoneNumberDesc* uan_;
  ::i18n::phonenumbers::PhoneNumberDesc* emergency_;
  ::i18n::phonenumbers::PhoneNumberDesc* voicemail_;
  ::i18n::phonenumbers::PhoneNumberDesc* short_code_;
  ::i18n::phonenumbers::PhoneNumberDesc* standard_rate_;
  ::i18n::phonenumbers::PhoneNumberDesc* carrier_specific_;
  ::i18n::phonenumbers::PhoneNumberDesc* sms_services_;
  ::google::protobuf::int32 country_code_;
  bool same_mobile_and_fixed_line_pattern_;
  bool main_country_for_code_;
  bool leading_zero_possible_;
  bool mobile_number_portable_region_;
  friend struct ::TableStruct_phonemetadata_2eproto;
};
// -------------------------------------------------------------------

class PhoneMetadataCollection final :
    public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:i18n.phonenumbers.PhoneMetadataCollection) */ {
 public:
  PhoneMetadataCollection();
  virtual ~PhoneMetadataCollection();

  PhoneMetadataCollection(const PhoneMetadataCollection& from);

  inline PhoneMetadataCollection& operator=(const PhoneMetadataCollection& from) {
    CopyFrom(from);
    return *this;
  }
  #if LANG_CXX11
  PhoneMetadataCollection(PhoneMetadataCollection&& from) noexcept
    : PhoneMetadataCollection() {
    *this = ::std::move(from);
  }

  inline PhoneMetadataCollection& operator=(PhoneMetadataCollection&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }
  #endif
  inline const ::std::string& unknown_fields() const {
    return _internal_metadata_.unknown_fields();
  }
  inline ::std::string* mutable_unknown_fields() {
    return _internal_metadata_.mutable_unknown_fields();
  }

  static const PhoneMetadataCollection& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const PhoneMetadataCollection* internal_default_instance() {
    return reinterpret_cast<const PhoneMetadataCollection*>(
               &_PhoneMetadataCollection_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    3;

  void Swap(PhoneMetadataCollection* other);
  friend void swap(PhoneMetadataCollection& a, PhoneMetadataCollection& b) {
    a.Swap(&b);
  }

  // implements Message ----------------------------------------------

  inline PhoneMetadataCollection* New() const final {
    return CreateMaybeMessage<PhoneMetadataCollection>(nullptr);
  }

  PhoneMetadataCollection* New(::google::protobuf::Arena* arena) const final {
    return CreateMaybeMessage<PhoneMetadataCollection>(arena);
  }
  void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
    final;
  void CopyFrom(const PhoneMetadataCollection& from);
  void MergeFrom(const PhoneMetadataCollection& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  static const char* _InternalParse(const char* begin, const char* end, void* object, ::google::protobuf::internal::ParseContext* ctx);
  ::google::protobuf::internal::ParseFunc _ParseFunc() const final { return _InternalParse; }
  #else
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input) final;
  #endif  // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const final;
  void DiscardUnknownFields();
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(PhoneMetadataCollection* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

  ::std::string GetTypeName() const final;

  // nested types ----------------------------------------------------

  // accessors -------------------------------------------------------

  // repeated .i18n.phonenumbers.PhoneMetadata metadata = 1;
  int metadata_size() const;
  void clear_metadata();
  static const int kMetadataFieldNumber = 1;
  ::i18n::phonenumbers::PhoneMetadata* mutable_metadata(int index);
  ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::PhoneMetadata >*
      mutable_metadata();
  const ::i18n::phonenumbers::PhoneMetadata& metadata(int index) const;
  ::i18n::phonenumbers::PhoneMetadata* add_metadata();
  const ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::PhoneMetadata >&
      metadata() const;

  // @@protoc_insertion_point(class_scope:i18n.phonenumbers.PhoneMetadataCollection)
 private:
  class HasBitSetters;

  ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable ::google::protobuf::internal::CachedSize _cached_size_;
  ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::PhoneMetadata > metadata_;
  friend struct ::TableStruct_phonemetadata_2eproto;
};
// ===================================================================


// ===================================================================

#ifdef __GNUC__
  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// NumberFormat

// required string pattern = 1;
inline bool NumberFormat::has_pattern() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void NumberFormat::clear_pattern() {
  pattern_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  _has_bits_[0] &= ~0x00000001u;
}
inline const ::std::string& NumberFormat::pattern() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.NumberFormat.pattern)
  return pattern_.GetNoArena();
}
inline void NumberFormat::set_pattern(const ::std::string& value) {
  _has_bits_[0] |= 0x00000001u;
  pattern_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.NumberFormat.pattern)
}
#if LANG_CXX11
inline void NumberFormat::set_pattern(::std::string&& value) {
  _has_bits_[0] |= 0x00000001u;
  pattern_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:i18n.phonenumbers.NumberFormat.pattern)
}
#endif
inline void NumberFormat::set_pattern(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000001u;
  pattern_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:i18n.phonenumbers.NumberFormat.pattern)
}
inline void NumberFormat::set_pattern(const char* value, size_t size) {
  _has_bits_[0] |= 0x00000001u;
  pattern_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:i18n.phonenumbers.NumberFormat.pattern)
}
inline ::std::string* NumberFormat::mutable_pattern() {
  _has_bits_[0] |= 0x00000001u;
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.NumberFormat.pattern)
  return pattern_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* NumberFormat::release_pattern() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.NumberFormat.pattern)
  if (!has_pattern()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000001u;
  return pattern_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void NumberFormat::set_allocated_pattern(::std::string* pattern) {
  if (pattern != nullptr) {
    _has_bits_[0] |= 0x00000001u;
  } else {
    _has_bits_[0] &= ~0x00000001u;
  }
  pattern_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), pattern);
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.NumberFormat.pattern)
}

// required string format = 2;
inline bool NumberFormat::has_format() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void NumberFormat::clear_format() {
  format_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  _has_bits_[0] &= ~0x00000002u;
}
inline const ::std::string& NumberFormat::format() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.NumberFormat.format)
  return format_.GetNoArena();
}
inline void NumberFormat::set_format(const ::std::string& value) {
  _has_bits_[0] |= 0x00000002u;
  format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.NumberFormat.format)
}
#if LANG_CXX11
inline void NumberFormat::set_format(::std::string&& value) {
  _has_bits_[0] |= 0x00000002u;
  format_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:i18n.phonenumbers.NumberFormat.format)
}
#endif
inline void NumberFormat::set_format(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000002u;
  format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:i18n.phonenumbers.NumberFormat.format)
}
inline void NumberFormat::set_format(const char* value, size_t size) {
  _has_bits_[0] |= 0x00000002u;
  format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:i18n.phonenumbers.NumberFormat.format)
}
inline ::std::string* NumberFormat::mutable_format() {
  _has_bits_[0] |= 0x00000002u;
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.NumberFormat.format)
  return format_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* NumberFormat::release_format() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.NumberFormat.format)
  if (!has_format()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000002u;
  return format_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void NumberFormat::set_allocated_format(::std::string* format) {
  if (format != nullptr) {
    _has_bits_[0] |= 0x00000002u;
  } else {
    _has_bits_[0] &= ~0x00000002u;
  }
  format_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), format);
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.NumberFormat.format)
}

// repeated string leading_digits_pattern = 3;
inline int NumberFormat::leading_digits_pattern_size() const {
  return leading_digits_pattern_.size();
}
inline void NumberFormat::clear_leading_digits_pattern() {
  leading_digits_pattern_.Clear();
}
inline const ::std::string& NumberFormat::leading_digits_pattern(int index) const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.NumberFormat.leading_digits_pattern)
  return leading_digits_pattern_.Get(index);
}
inline ::std::string* NumberFormat::mutable_leading_digits_pattern(int index) {
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.NumberFormat.leading_digits_pattern)
  return leading_digits_pattern_.Mutable(index);
}
inline void NumberFormat::set_leading_digits_pattern(int index, const ::std::string& value) {
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.NumberFormat.leading_digits_pattern)
  leading_digits_pattern_.Mutable(index)->assign(value);
}
#if LANG_CXX11
inline void NumberFormat::set_leading_digits_pattern(int index, ::std::string&& value) {
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.NumberFormat.leading_digits_pattern)
  leading_digits_pattern_.Mutable(index)->assign(std::move(value));
}
#endif
inline void NumberFormat::set_leading_digits_pattern(int index, const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  leading_digits_pattern_.Mutable(index)->assign(value);
  // @@protoc_insertion_point(field_set_char:i18n.phonenumbers.NumberFormat.leading_digits_pattern)
}
inline void NumberFormat::set_leading_digits_pattern(int index, const char* value, size_t size) {
  leading_digits_pattern_.Mutable(index)->assign(
    reinterpret_cast<const char*>(value), size);
  // @@protoc_insertion_point(field_set_pointer:i18n.phonenumbers.NumberFormat.leading_digits_pattern)
}
inline ::std::string* NumberFormat::add_leading_digits_pattern() {
  // @@protoc_insertion_point(field_add_mutable:i18n.phonenumbers.NumberFormat.leading_digits_pattern)
  return leading_digits_pattern_.Add();
}
inline void NumberFormat::add_leading_digits_pattern(const ::std::string& value) {
  leading_digits_pattern_.Add()->assign(value);
  // @@protoc_insertion_point(field_add:i18n.phonenumbers.NumberFormat.leading_digits_pattern)
}
#if LANG_CXX11
inline void NumberFormat::add_leading_digits_pattern(::std::string&& value) {
  leading_digits_pattern_.Add(std::move(value));
  // @@protoc_insertion_point(field_add:i18n.phonenumbers.NumberFormat.leading_digits_pattern)
}
#endif
inline void NumberFormat::add_leading_digits_pattern(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  leading_digits_pattern_.Add()->assign(value);
  // @@protoc_insertion_point(field_add_char:i18n.phonenumbers.NumberFormat.leading_digits_pattern)
}
inline void NumberFormat::add_leading_digits_pattern(const char* value, size_t size) {
  leading_digits_pattern_.Add()->assign(reinterpret_cast<const char*>(value), size);
  // @@protoc_insertion_point(field_add_pointer:i18n.phonenumbers.NumberFormat.leading_digits_pattern)
}
inline const ::google::protobuf::RepeatedPtrField<::std::string>&
NumberFormat::leading_digits_pattern() const {
  // @@protoc_insertion_point(field_list:i18n.phonenumbers.NumberFormat.leading_digits_pattern)
  return leading_digits_pattern_;
}
inline ::google::protobuf::RepeatedPtrField<::std::string>*
NumberFormat::mutable_leading_digits_pattern() {
  // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.NumberFormat.leading_digits_pattern)
  return &leading_digits_pattern_;
}

// optional string national_prefix_formatting_rule = 4;
inline bool NumberFormat::has_national_prefix_formatting_rule() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void NumberFormat::clear_national_prefix_formatting_rule() {
  national_prefix_formatting_rule_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  _has_bits_[0] &= ~0x00000004u;
}
inline const ::std::string& NumberFormat::national_prefix_formatting_rule() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.NumberFormat.national_prefix_formatting_rule)
  return national_prefix_formatting_rule_.GetNoArena();
}
inline void NumberFormat::set_national_prefix_formatting_rule(const ::std::string& value) {
  _has_bits_[0] |= 0x00000004u;
  national_prefix_formatting_rule_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.NumberFormat.national_prefix_formatting_rule)
}
#if LANG_CXX11
inline void NumberFormat::set_national_prefix_formatting_rule(::std::string&& value) {
  _has_bits_[0] |= 0x00000004u;
  national_prefix_formatting_rule_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:i18n.phonenumbers.NumberFormat.national_prefix_formatting_rule)
}
#endif
inline void NumberFormat::set_national_prefix_formatting_rule(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000004u;
  national_prefix_formatting_rule_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:i18n.phonenumbers.NumberFormat.national_prefix_formatting_rule)
}
inline void NumberFormat::set_national_prefix_formatting_rule(const char* value, size_t size) {
  _has_bits_[0] |= 0x00000004u;
  national_prefix_formatting_rule_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:i18n.phonenumbers.NumberFormat.national_prefix_formatting_rule)
}
inline ::std::string* NumberFormat::mutable_national_prefix_formatting_rule() {
  _has_bits_[0] |= 0x00000004u;
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.NumberFormat.national_prefix_formatting_rule)
  return national_prefix_formatting_rule_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* NumberFormat::release_national_prefix_formatting_rule() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.NumberFormat.national_prefix_formatting_rule)
  if (!has_national_prefix_formatting_rule()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000004u;
  return national_prefix_formatting_rule_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void NumberFormat::set_allocated_national_prefix_formatting_rule(::std::string* national_prefix_formatting_rule) {
  if (national_prefix_formatting_rule != nullptr) {
    _has_bits_[0] |= 0x00000004u;
  } else {
    _has_bits_[0] &= ~0x00000004u;
  }
  national_prefix_formatting_rule_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), national_prefix_formatting_rule);
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.NumberFormat.national_prefix_formatting_rule)
}

// optional bool national_prefix_optional_when_formatting = 6 [default = false];
inline bool NumberFormat::has_national_prefix_optional_when_formatting() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void NumberFormat::clear_national_prefix_optional_when_formatting() {
  national_prefix_optional_when_formatting_ = false;
  _has_bits_[0] &= ~0x00000010u;
}
inline bool NumberFormat::national_prefix_optional_when_formatting() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.NumberFormat.national_prefix_optional_when_formatting)
  return national_prefix_optional_when_formatting_;
}
inline void NumberFormat::set_national_prefix_optional_when_formatting(bool value) {
  _has_bits_[0] |= 0x00000010u;
  national_prefix_optional_when_formatting_ = value;
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.NumberFormat.national_prefix_optional_when_formatting)
}

// optional string domestic_carrier_code_formatting_rule = 5;
inline bool NumberFormat::has_domestic_carrier_code_formatting_rule() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void NumberFormat::clear_domestic_carrier_code_formatting_rule() {
  domestic_carrier_code_formatting_rule_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  _has_bits_[0] &= ~0x00000008u;
}
inline const ::std::string& NumberFormat::domestic_carrier_code_formatting_rule() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.NumberFormat.domestic_carrier_code_formatting_rule)
  return domestic_carrier_code_formatting_rule_.GetNoArena();
}
inline void NumberFormat::set_domestic_carrier_code_formatting_rule(const ::std::string& value) {
  _has_bits_[0] |= 0x00000008u;
  domestic_carrier_code_formatting_rule_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.NumberFormat.domestic_carrier_code_formatting_rule)
}
#if LANG_CXX11
inline void NumberFormat::set_domestic_carrier_code_formatting_rule(::std::string&& value) {
  _has_bits_[0] |= 0x00000008u;
  domestic_carrier_code_formatting_rule_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:i18n.phonenumbers.NumberFormat.domestic_carrier_code_formatting_rule)
}
#endif
inline void NumberFormat::set_domestic_carrier_code_formatting_rule(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000008u;
  domestic_carrier_code_formatting_rule_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:i18n.phonenumbers.NumberFormat.domestic_carrier_code_formatting_rule)
}
inline void NumberFormat::set_domestic_carrier_code_formatting_rule(const char* value, size_t size) {
  _has_bits_[0] |= 0x00000008u;
  domestic_carrier_code_formatting_rule_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:i18n.phonenumbers.NumberFormat.domestic_carrier_code_formatting_rule)
}
inline ::std::string* NumberFormat::mutable_domestic_carrier_code_formatting_rule() {
  _has_bits_[0] |= 0x00000008u;
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.NumberFormat.domestic_carrier_code_formatting_rule)
  return domestic_carrier_code_formatting_rule_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* NumberFormat::release_domestic_carrier_code_formatting_rule() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.NumberFormat.domestic_carrier_code_formatting_rule)
  if (!has_domestic_carrier_code_formatting_rule()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000008u;
  return domestic_carrier_code_formatting_rule_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void NumberFormat::set_allocated_domestic_carrier_code_formatting_rule(::std::string* domestic_carrier_code_formatting_rule) {
  if (domestic_carrier_code_formatting_rule != nullptr) {
    _has_bits_[0] |= 0x00000008u;
  } else {
    _has_bits_[0] &= ~0x00000008u;
  }
  domestic_carrier_code_formatting_rule_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), domestic_carrier_code_formatting_rule);
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.NumberFormat.domestic_carrier_code_formatting_rule)
}

// -------------------------------------------------------------------

// PhoneNumberDesc

// optional string national_number_pattern = 2;
inline bool PhoneNumberDesc::has_national_number_pattern() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void PhoneNumberDesc::clear_national_number_pattern() {
  national_number_pattern_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  _has_bits_[0] &= ~0x00000001u;
}
inline const ::std::string& PhoneNumberDesc::national_number_pattern() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneNumberDesc.national_number_pattern)
  return national_number_pattern_.GetNoArena();
}
inline void PhoneNumberDesc::set_national_number_pattern(const ::std::string& value) {
  _has_bits_[0] |= 0x00000001u;
  national_number_pattern_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneNumberDesc.national_number_pattern)
}
#if LANG_CXX11
inline void PhoneNumberDesc::set_national_number_pattern(::std::string&& value) {
  _has_bits_[0] |= 0x00000001u;
  national_number_pattern_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:i18n.phonenumbers.PhoneNumberDesc.national_number_pattern)
}
#endif
inline void PhoneNumberDesc::set_national_number_pattern(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000001u;
  national_number_pattern_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:i18n.phonenumbers.PhoneNumberDesc.national_number_pattern)
}
inline void PhoneNumberDesc::set_national_number_pattern(const char* value, size_t size) {
  _has_bits_[0] |= 0x00000001u;
  national_number_pattern_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:i18n.phonenumbers.PhoneNumberDesc.national_number_pattern)
}
inline ::std::string* PhoneNumberDesc::mutable_national_number_pattern() {
  _has_bits_[0] |= 0x00000001u;
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneNumberDesc.national_number_pattern)
  return national_number_pattern_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* PhoneNumberDesc::release_national_number_pattern() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneNumberDesc.national_number_pattern)
  if (!has_national_number_pattern()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000001u;
  return national_number_pattern_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneNumberDesc::set_allocated_national_number_pattern(::std::string* national_number_pattern) {
  if (national_number_pattern != nullptr) {
    _has_bits_[0] |= 0x00000001u;
  } else {
    _has_bits_[0] &= ~0x00000001u;
  }
  national_number_pattern_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), national_number_pattern);
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneNumberDesc.national_number_pattern)
}

// repeated int32 possible_length = 9;
inline int PhoneNumberDesc::possible_length_size() const {
  return possible_length_.size();
}
inline void PhoneNumberDesc::clear_possible_length() {
  possible_length_.Clear();
}
inline ::google::protobuf::int32 PhoneNumberDesc::possible_length(int index) const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneNumberDesc.possible_length)
  return possible_length_.Get(index);
}
inline void PhoneNumberDesc::set_possible_length(int index, ::google::protobuf::int32 value) {
  possible_length_.Set(index, value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneNumberDesc.possible_length)
}
inline void PhoneNumberDesc::add_possible_length(::google::protobuf::int32 value) {
  possible_length_.Add(value);
  // @@protoc_insertion_point(field_add:i18n.phonenumbers.PhoneNumberDesc.possible_length)
}
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
PhoneNumberDesc::possible_length() const {
  // @@protoc_insertion_point(field_list:i18n.phonenumbers.PhoneNumberDesc.possible_length)
  return possible_length_;
}
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
PhoneNumberDesc::mutable_possible_length() {
  // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.PhoneNumberDesc.possible_length)
  return &possible_length_;
}

// repeated int32 possible_length_local_only = 10;
inline int PhoneNumberDesc::possible_length_local_only_size() const {
  return possible_length_local_only_.size();
}
inline void PhoneNumberDesc::clear_possible_length_local_only() {
  possible_length_local_only_.Clear();
}
inline ::google::protobuf::int32 PhoneNumberDesc::possible_length_local_only(int index) const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneNumberDesc.possible_length_local_only)
  return possible_length_local_only_.Get(index);
}
inline void PhoneNumberDesc::set_possible_length_local_only(int index, ::google::protobuf::int32 value) {
  possible_length_local_only_.Set(index, value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneNumberDesc.possible_length_local_only)
}
inline void PhoneNumberDesc::add_possible_length_local_only(::google::protobuf::int32 value) {
  possible_length_local_only_.Add(value);
  // @@protoc_insertion_point(field_add:i18n.phonenumbers.PhoneNumberDesc.possible_length_local_only)
}
inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
PhoneNumberDesc::possible_length_local_only() const {
  // @@protoc_insertion_point(field_list:i18n.phonenumbers.PhoneNumberDesc.possible_length_local_only)
  return possible_length_local_only_;
}
inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
PhoneNumberDesc::mutable_possible_length_local_only() {
  // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.PhoneNumberDesc.possible_length_local_only)
  return &possible_length_local_only_;
}

// optional string example_number = 6;
inline bool PhoneNumberDesc::has_example_number() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void PhoneNumberDesc::clear_example_number() {
  example_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  _has_bits_[0] &= ~0x00000002u;
}
inline const ::std::string& PhoneNumberDesc::example_number() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneNumberDesc.example_number)
  return example_number_.GetNoArena();
}
inline void PhoneNumberDesc::set_example_number(const ::std::string& value) {
  _has_bits_[0] |= 0x00000002u;
  example_number_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneNumberDesc.example_number)
}
#if LANG_CXX11
inline void PhoneNumberDesc::set_example_number(::std::string&& value) {
  _has_bits_[0] |= 0x00000002u;
  example_number_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:i18n.phonenumbers.PhoneNumberDesc.example_number)
}
#endif
inline void PhoneNumberDesc::set_example_number(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000002u;
  example_number_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:i18n.phonenumbers.PhoneNumberDesc.example_number)
}
inline void PhoneNumberDesc::set_example_number(const char* value, size_t size) {
  _has_bits_[0] |= 0x00000002u;
  example_number_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:i18n.phonenumbers.PhoneNumberDesc.example_number)
}
inline ::std::string* PhoneNumberDesc::mutable_example_number() {
  _has_bits_[0] |= 0x00000002u;
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneNumberDesc.example_number)
  return example_number_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* PhoneNumberDesc::release_example_number() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneNumberDesc.example_number)
  if (!has_example_number()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000002u;
  return example_number_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneNumberDesc::set_allocated_example_number(::std::string* example_number) {
  if (example_number != nullptr) {
    _has_bits_[0] |= 0x00000002u;
  } else {
    _has_bits_[0] &= ~0x00000002u;
  }
  example_number_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), example_number);
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneNumberDesc.example_number)
}

// -------------------------------------------------------------------

// PhoneMetadata

// optional .i18n.phonenumbers.PhoneNumberDesc general_desc = 1;
inline bool PhoneMetadata::has_general_desc() const {
  return (_has_bits_[0] & 0x00000100u) != 0;
}
inline void PhoneMetadata::clear_general_desc() {
  if (general_desc_ != nullptr) general_desc_->Clear();
  _has_bits_[0] &= ~0x00000100u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::general_desc() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = general_desc_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.general_desc)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_general_desc() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.general_desc)
  _has_bits_[0] &= ~0x00000100u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = general_desc_;
  general_desc_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_general_desc() {
  _has_bits_[0] |= 0x00000100u;
  if (general_desc_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    general_desc_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.general_desc)
  return general_desc_;
}
inline void PhoneMetadata::set_allocated_general_desc(::i18n::phonenumbers::PhoneNumberDesc* general_desc) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete general_desc_;
  }
  if (general_desc) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      general_desc = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, general_desc, submessage_arena);
    }
    _has_bits_[0] |= 0x00000100u;
  } else {
    _has_bits_[0] &= ~0x00000100u;
  }
  general_desc_ = general_desc;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.general_desc)
}

// optional .i18n.phonenumbers.PhoneNumberDesc fixed_line = 2;
inline bool PhoneMetadata::has_fixed_line() const {
  return (_has_bits_[0] & 0x00000200u) != 0;
}
inline void PhoneMetadata::clear_fixed_line() {
  if (fixed_line_ != nullptr) fixed_line_->Clear();
  _has_bits_[0] &= ~0x00000200u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::fixed_line() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = fixed_line_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.fixed_line)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_fixed_line() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.fixed_line)
  _has_bits_[0] &= ~0x00000200u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = fixed_line_;
  fixed_line_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_fixed_line() {
  _has_bits_[0] |= 0x00000200u;
  if (fixed_line_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    fixed_line_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.fixed_line)
  return fixed_line_;
}
inline void PhoneMetadata::set_allocated_fixed_line(::i18n::phonenumbers::PhoneNumberDesc* fixed_line) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete fixed_line_;
  }
  if (fixed_line) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      fixed_line = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, fixed_line, submessage_arena);
    }
    _has_bits_[0] |= 0x00000200u;
  } else {
    _has_bits_[0] &= ~0x00000200u;
  }
  fixed_line_ = fixed_line;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.fixed_line)
}

// optional .i18n.phonenumbers.PhoneNumberDesc mobile = 3;
inline bool PhoneMetadata::has_mobile() const {
  return (_has_bits_[0] & 0x00000400u) != 0;
}
inline void PhoneMetadata::clear_mobile() {
  if (mobile_ != nullptr) mobile_->Clear();
  _has_bits_[0] &= ~0x00000400u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::mobile() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = mobile_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.mobile)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_mobile() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.mobile)
  _has_bits_[0] &= ~0x00000400u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = mobile_;
  mobile_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_mobile() {
  _has_bits_[0] |= 0x00000400u;
  if (mobile_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    mobile_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.mobile)
  return mobile_;
}
inline void PhoneMetadata::set_allocated_mobile(::i18n::phonenumbers::PhoneNumberDesc* mobile) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete mobile_;
  }
  if (mobile) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      mobile = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, mobile, submessage_arena);
    }
    _has_bits_[0] |= 0x00000400u;
  } else {
    _has_bits_[0] &= ~0x00000400u;
  }
  mobile_ = mobile;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.mobile)
}

// optional .i18n.phonenumbers.PhoneNumberDesc toll_free = 4;
inline bool PhoneMetadata::has_toll_free() const {
  return (_has_bits_[0] & 0x00000800u) != 0;
}
inline void PhoneMetadata::clear_toll_free() {
  if (toll_free_ != nullptr) toll_free_->Clear();
  _has_bits_[0] &= ~0x00000800u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::toll_free() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = toll_free_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.toll_free)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_toll_free() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.toll_free)
  _has_bits_[0] &= ~0x00000800u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = toll_free_;
  toll_free_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_toll_free() {
  _has_bits_[0] |= 0x00000800u;
  if (toll_free_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    toll_free_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.toll_free)
  return toll_free_;
}
inline void PhoneMetadata::set_allocated_toll_free(::i18n::phonenumbers::PhoneNumberDesc* toll_free) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete toll_free_;
  }
  if (toll_free) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      toll_free = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, toll_free, submessage_arena);
    }
    _has_bits_[0] |= 0x00000800u;
  } else {
    _has_bits_[0] &= ~0x00000800u;
  }
  toll_free_ = toll_free;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.toll_free)
}

// optional .i18n.phonenumbers.PhoneNumberDesc premium_rate = 5;
inline bool PhoneMetadata::has_premium_rate() const {
  return (_has_bits_[0] & 0x00001000u) != 0;
}
inline void PhoneMetadata::clear_premium_rate() {
  if (premium_rate_ != nullptr) premium_rate_->Clear();
  _has_bits_[0] &= ~0x00001000u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::premium_rate() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = premium_rate_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.premium_rate)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_premium_rate() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.premium_rate)
  _has_bits_[0] &= ~0x00001000u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = premium_rate_;
  premium_rate_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_premium_rate() {
  _has_bits_[0] |= 0x00001000u;
  if (premium_rate_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    premium_rate_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.premium_rate)
  return premium_rate_;
}
inline void PhoneMetadata::set_allocated_premium_rate(::i18n::phonenumbers::PhoneNumberDesc* premium_rate) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete premium_rate_;
  }
  if (premium_rate) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      premium_rate = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, premium_rate, submessage_arena);
    }
    _has_bits_[0] |= 0x00001000u;
  } else {
    _has_bits_[0] &= ~0x00001000u;
  }
  premium_rate_ = premium_rate;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.premium_rate)
}

// optional .i18n.phonenumbers.PhoneNumberDesc shared_cost = 6;
inline bool PhoneMetadata::has_shared_cost() const {
  return (_has_bits_[0] & 0x00002000u) != 0;
}
inline void PhoneMetadata::clear_shared_cost() {
  if (shared_cost_ != nullptr) shared_cost_->Clear();
  _has_bits_[0] &= ~0x00002000u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::shared_cost() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = shared_cost_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.shared_cost)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_shared_cost() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.shared_cost)
  _has_bits_[0] &= ~0x00002000u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = shared_cost_;
  shared_cost_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_shared_cost() {
  _has_bits_[0] |= 0x00002000u;
  if (shared_cost_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    shared_cost_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.shared_cost)
  return shared_cost_;
}
inline void PhoneMetadata::set_allocated_shared_cost(::i18n::phonenumbers::PhoneNumberDesc* shared_cost) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete shared_cost_;
  }
  if (shared_cost) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      shared_cost = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, shared_cost, submessage_arena);
    }
    _has_bits_[0] |= 0x00002000u;
  } else {
    _has_bits_[0] &= ~0x00002000u;
  }
  shared_cost_ = shared_cost;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.shared_cost)
}

// optional .i18n.phonenumbers.PhoneNumberDesc personal_number = 7;
inline bool PhoneMetadata::has_personal_number() const {
  return (_has_bits_[0] & 0x00004000u) != 0;
}
inline void PhoneMetadata::clear_personal_number() {
  if (personal_number_ != nullptr) personal_number_->Clear();
  _has_bits_[0] &= ~0x00004000u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::personal_number() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = personal_number_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.personal_number)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_personal_number() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.personal_number)
  _has_bits_[0] &= ~0x00004000u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = personal_number_;
  personal_number_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_personal_number() {
  _has_bits_[0] |= 0x00004000u;
  if (personal_number_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    personal_number_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.personal_number)
  return personal_number_;
}
inline void PhoneMetadata::set_allocated_personal_number(::i18n::phonenumbers::PhoneNumberDesc* personal_number) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete personal_number_;
  }
  if (personal_number) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      personal_number = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, personal_number, submessage_arena);
    }
    _has_bits_[0] |= 0x00004000u;
  } else {
    _has_bits_[0] &= ~0x00004000u;
  }
  personal_number_ = personal_number;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.personal_number)
}

// optional .i18n.phonenumbers.PhoneNumberDesc voip = 8;
inline bool PhoneMetadata::has_voip() const {
  return (_has_bits_[0] & 0x00008000u) != 0;
}
inline void PhoneMetadata::clear_voip() {
  if (voip_ != nullptr) voip_->Clear();
  _has_bits_[0] &= ~0x00008000u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::voip() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = voip_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.voip)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_voip() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.voip)
  _has_bits_[0] &= ~0x00008000u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = voip_;
  voip_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_voip() {
  _has_bits_[0] |= 0x00008000u;
  if (voip_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    voip_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.voip)
  return voip_;
}
inline void PhoneMetadata::set_allocated_voip(::i18n::phonenumbers::PhoneNumberDesc* voip) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete voip_;
  }
  if (voip) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      voip = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, voip, submessage_arena);
    }
    _has_bits_[0] |= 0x00008000u;
  } else {
    _has_bits_[0] &= ~0x00008000u;
  }
  voip_ = voip;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.voip)
}

// optional .i18n.phonenumbers.PhoneNumberDesc pager = 21;
inline bool PhoneMetadata::has_pager() const {
  return (_has_bits_[0] & 0x00010000u) != 0;
}
inline void PhoneMetadata::clear_pager() {
  if (pager_ != nullptr) pager_->Clear();
  _has_bits_[0] &= ~0x00010000u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::pager() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = pager_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.pager)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_pager() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.pager)
  _has_bits_[0] &= ~0x00010000u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = pager_;
  pager_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_pager() {
  _has_bits_[0] |= 0x00010000u;
  if (pager_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    pager_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.pager)
  return pager_;
}
inline void PhoneMetadata::set_allocated_pager(::i18n::phonenumbers::PhoneNumberDesc* pager) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete pager_;
  }
  if (pager) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      pager = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, pager, submessage_arena);
    }
    _has_bits_[0] |= 0x00010000u;
  } else {
    _has_bits_[0] &= ~0x00010000u;
  }
  pager_ = pager;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.pager)
}

// optional .i18n.phonenumbers.PhoneNumberDesc uan = 25;
inline bool PhoneMetadata::has_uan() const {
  return (_has_bits_[0] & 0x00040000u) != 0;
}
inline void PhoneMetadata::clear_uan() {
  if (uan_ != nullptr) uan_->Clear();
  _has_bits_[0] &= ~0x00040000u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::uan() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = uan_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.uan)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_uan() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.uan)
  _has_bits_[0] &= ~0x00040000u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = uan_;
  uan_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_uan() {
  _has_bits_[0] |= 0x00040000u;
  if (uan_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    uan_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.uan)
  return uan_;
}
inline void PhoneMetadata::set_allocated_uan(::i18n::phonenumbers::PhoneNumberDesc* uan) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete uan_;
  }
  if (uan) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      uan = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, uan, submessage_arena);
    }
    _has_bits_[0] |= 0x00040000u;
  } else {
    _has_bits_[0] &= ~0x00040000u;
  }
  uan_ = uan;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.uan)
}

// optional .i18n.phonenumbers.PhoneNumberDesc emergency = 27;
inline bool PhoneMetadata::has_emergency() const {
  return (_has_bits_[0] & 0x00080000u) != 0;
}
inline void PhoneMetadata::clear_emergency() {
  if (emergency_ != nullptr) emergency_->Clear();
  _has_bits_[0] &= ~0x00080000u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::emergency() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = emergency_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.emergency)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_emergency() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.emergency)
  _has_bits_[0] &= ~0x00080000u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = emergency_;
  emergency_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_emergency() {
  _has_bits_[0] |= 0x00080000u;
  if (emergency_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    emergency_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.emergency)
  return emergency_;
}
inline void PhoneMetadata::set_allocated_emergency(::i18n::phonenumbers::PhoneNumberDesc* emergency) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete emergency_;
  }
  if (emergency) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      emergency = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, emergency, submessage_arena);
    }
    _has_bits_[0] |= 0x00080000u;
  } else {
    _has_bits_[0] &= ~0x00080000u;
  }
  emergency_ = emergency;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.emergency)
}

// optional .i18n.phonenumbers.PhoneNumberDesc voicemail = 28;
inline bool PhoneMetadata::has_voicemail() const {
  return (_has_bits_[0] & 0x00100000u) != 0;
}
inline void PhoneMetadata::clear_voicemail() {
  if (voicemail_ != nullptr) voicemail_->Clear();
  _has_bits_[0] &= ~0x00100000u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::voicemail() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = voicemail_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.voicemail)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_voicemail() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.voicemail)
  _has_bits_[0] &= ~0x00100000u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = voicemail_;
  voicemail_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_voicemail() {
  _has_bits_[0] |= 0x00100000u;
  if (voicemail_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    voicemail_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.voicemail)
  return voicemail_;
}
inline void PhoneMetadata::set_allocated_voicemail(::i18n::phonenumbers::PhoneNumberDesc* voicemail) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete voicemail_;
  }
  if (voicemail) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      voicemail = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, voicemail, submessage_arena);
    }
    _has_bits_[0] |= 0x00100000u;
  } else {
    _has_bits_[0] &= ~0x00100000u;
  }
  voicemail_ = voicemail;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.voicemail)
}

// optional .i18n.phonenumbers.PhoneNumberDesc short_code = 29;
inline bool PhoneMetadata::has_short_code() const {
  return (_has_bits_[0] & 0x00200000u) != 0;
}
inline void PhoneMetadata::clear_short_code() {
  if (short_code_ != nullptr) short_code_->Clear();
  _has_bits_[0] &= ~0x00200000u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::short_code() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = short_code_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.short_code)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_short_code() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.short_code)
  _has_bits_[0] &= ~0x00200000u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = short_code_;
  short_code_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_short_code() {
  _has_bits_[0] |= 0x00200000u;
  if (short_code_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    short_code_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.short_code)
  return short_code_;
}
inline void PhoneMetadata::set_allocated_short_code(::i18n::phonenumbers::PhoneNumberDesc* short_code) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete short_code_;
  }
  if (short_code) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      short_code = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, short_code, submessage_arena);
    }
    _has_bits_[0] |= 0x00200000u;
  } else {
    _has_bits_[0] &= ~0x00200000u;
  }
  short_code_ = short_code;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.short_code)
}

// optional .i18n.phonenumbers.PhoneNumberDesc standard_rate = 30;
inline bool PhoneMetadata::has_standard_rate() const {
  return (_has_bits_[0] & 0x00400000u) != 0;
}
inline void PhoneMetadata::clear_standard_rate() {
  if (standard_rate_ != nullptr) standard_rate_->Clear();
  _has_bits_[0] &= ~0x00400000u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::standard_rate() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = standard_rate_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.standard_rate)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_standard_rate() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.standard_rate)
  _has_bits_[0] &= ~0x00400000u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = standard_rate_;
  standard_rate_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_standard_rate() {
  _has_bits_[0] |= 0x00400000u;
  if (standard_rate_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    standard_rate_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.standard_rate)
  return standard_rate_;
}
inline void PhoneMetadata::set_allocated_standard_rate(::i18n::phonenumbers::PhoneNumberDesc* standard_rate) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete standard_rate_;
  }
  if (standard_rate) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      standard_rate = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, standard_rate, submessage_arena);
    }
    _has_bits_[0] |= 0x00400000u;
  } else {
    _has_bits_[0] &= ~0x00400000u;
  }
  standard_rate_ = standard_rate;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.standard_rate)
}

// optional .i18n.phonenumbers.PhoneNumberDesc carrier_specific = 31;
inline bool PhoneMetadata::has_carrier_specific() const {
  return (_has_bits_[0] & 0x00800000u) != 0;
}
inline void PhoneMetadata::clear_carrier_specific() {
  if (carrier_specific_ != nullptr) carrier_specific_->Clear();
  _has_bits_[0] &= ~0x00800000u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::carrier_specific() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = carrier_specific_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.carrier_specific)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_carrier_specific() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.carrier_specific)
  _has_bits_[0] &= ~0x00800000u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = carrier_specific_;
  carrier_specific_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_carrier_specific() {
  _has_bits_[0] |= 0x00800000u;
  if (carrier_specific_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    carrier_specific_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.carrier_specific)
  return carrier_specific_;
}
inline void PhoneMetadata::set_allocated_carrier_specific(::i18n::phonenumbers::PhoneNumberDesc* carrier_specific) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete carrier_specific_;
  }
  if (carrier_specific) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      carrier_specific = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, carrier_specific, submessage_arena);
    }
    _has_bits_[0] |= 0x00800000u;
  } else {
    _has_bits_[0] &= ~0x00800000u;
  }
  carrier_specific_ = carrier_specific;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.carrier_specific)
}

// optional .i18n.phonenumbers.PhoneNumberDesc sms_services = 33;
inline bool PhoneMetadata::has_sms_services() const {
  return (_has_bits_[0] & 0x01000000u) != 0;
}
inline void PhoneMetadata::clear_sms_services() {
  if (sms_services_ != nullptr) sms_services_->Clear();
  _has_bits_[0] &= ~0x01000000u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::sms_services() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = sms_services_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.sms_services)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_sms_services() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.sms_services)
  _has_bits_[0] &= ~0x01000000u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = sms_services_;
  sms_services_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_sms_services() {
  _has_bits_[0] |= 0x01000000u;
  if (sms_services_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    sms_services_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.sms_services)
  return sms_services_;
}
inline void PhoneMetadata::set_allocated_sms_services(::i18n::phonenumbers::PhoneNumberDesc* sms_services) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete sms_services_;
  }
  if (sms_services) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      sms_services = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, sms_services, submessage_arena);
    }
    _has_bits_[0] |= 0x01000000u;
  } else {
    _has_bits_[0] &= ~0x01000000u;
  }
  sms_services_ = sms_services;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.sms_services)
}

// optional .i18n.phonenumbers.PhoneNumberDesc no_international_dialling = 24;
inline bool PhoneMetadata::has_no_international_dialling() const {
  return (_has_bits_[0] & 0x00020000u) != 0;
}
inline void PhoneMetadata::clear_no_international_dialling() {
  if (no_international_dialling_ != nullptr) no_international_dialling_->Clear();
  _has_bits_[0] &= ~0x00020000u;
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::no_international_dialling() const {
  const ::i18n::phonenumbers::PhoneNumberDesc* p = no_international_dialling_;
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.no_international_dialling)
  return p != nullptr ? *p : *reinterpret_cast<const ::i18n::phonenumbers::PhoneNumberDesc*>(
      &::i18n::phonenumbers::_PhoneNumberDesc_default_instance_);
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_no_international_dialling() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.no_international_dialling)
  _has_bits_[0] &= ~0x00020000u;
  ::i18n::phonenumbers::PhoneNumberDesc* temp = no_international_dialling_;
  no_international_dialling_ = nullptr;
  return temp;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_no_international_dialling() {
  _has_bits_[0] |= 0x00020000u;
  if (no_international_dialling_ == nullptr) {
    auto* p = CreateMaybeMessage<::i18n::phonenumbers::PhoneNumberDesc>(GetArenaNoVirtual());
    no_international_dialling_ = p;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.no_international_dialling)
  return no_international_dialling_;
}
inline void PhoneMetadata::set_allocated_no_international_dialling(::i18n::phonenumbers::PhoneNumberDesc* no_international_dialling) {
  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete no_international_dialling_;
  }
  if (no_international_dialling) {
    ::google::protobuf::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      no_international_dialling = ::google::protobuf::internal::GetOwnedMessage(
          message_arena, no_international_dialling, submessage_arena);
    }
    _has_bits_[0] |= 0x00020000u;
  } else {
    _has_bits_[0] &= ~0x00020000u;
  }
  no_international_dialling_ = no_international_dialling;
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.no_international_dialling)
}

// required string id = 9;
inline bool PhoneMetadata::has_id() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void PhoneMetadata::clear_id() {
  id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  _has_bits_[0] &= ~0x00000001u;
}
inline const ::std::string& PhoneMetadata::id() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.id)
  return id_.GetNoArena();
}
inline void PhoneMetadata::set_id(const ::std::string& value) {
  _has_bits_[0] |= 0x00000001u;
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneMetadata.id)
}
#if LANG_CXX11
inline void PhoneMetadata::set_id(::std::string&& value) {
  _has_bits_[0] |= 0x00000001u;
  id_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:i18n.phonenumbers.PhoneMetadata.id)
}
#endif
inline void PhoneMetadata::set_id(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000001u;
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:i18n.phonenumbers.PhoneMetadata.id)
}
inline void PhoneMetadata::set_id(const char* value, size_t size) {
  _has_bits_[0] |= 0x00000001u;
  id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:i18n.phonenumbers.PhoneMetadata.id)
}
inline ::std::string* PhoneMetadata::mutable_id() {
  _has_bits_[0] |= 0x00000001u;
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.id)
  return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* PhoneMetadata::release_id() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.id)
  if (!has_id()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000001u;
  return id_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneMetadata::set_allocated_id(::std::string* id) {
  if (id != nullptr) {
    _has_bits_[0] |= 0x00000001u;
  } else {
    _has_bits_[0] &= ~0x00000001u;
  }
  id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id);
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.id)
}

// optional int32 country_code = 10;
inline bool PhoneMetadata::has_country_code() const {
  return (_has_bits_[0] & 0x02000000u) != 0;
}
inline void PhoneMetadata::clear_country_code() {
  country_code_ = 0;
  _has_bits_[0] &= ~0x02000000u;
}
inline ::google::protobuf::int32 PhoneMetadata::country_code() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.country_code)
  return country_code_;
}
inline void PhoneMetadata::set_country_code(::google::protobuf::int32 value) {
  _has_bits_[0] |= 0x02000000u;
  country_code_ = value;
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneMetadata.country_code)
}

// optional string international_prefix = 11;
inline bool PhoneMetadata::has_international_prefix() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void PhoneMetadata::clear_international_prefix() {
  international_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  _has_bits_[0] &= ~0x00000002u;
}
inline const ::std::string& PhoneMetadata::international_prefix() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.international_prefix)
  return international_prefix_.GetNoArena();
}
inline void PhoneMetadata::set_international_prefix(const ::std::string& value) {
  _has_bits_[0] |= 0x00000002u;
  international_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneMetadata.international_prefix)
}
#if LANG_CXX11
inline void PhoneMetadata::set_international_prefix(::std::string&& value) {
  _has_bits_[0] |= 0x00000002u;
  international_prefix_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:i18n.phonenumbers.PhoneMetadata.international_prefix)
}
#endif
inline void PhoneMetadata::set_international_prefix(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000002u;
  international_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:i18n.phonenumbers.PhoneMetadata.international_prefix)
}
inline void PhoneMetadata::set_international_prefix(const char* value, size_t size) {
  _has_bits_[0] |= 0x00000002u;
  international_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:i18n.phonenumbers.PhoneMetadata.international_prefix)
}
inline ::std::string* PhoneMetadata::mutable_international_prefix() {
  _has_bits_[0] |= 0x00000002u;
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.international_prefix)
  return international_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* PhoneMetadata::release_international_prefix() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.international_prefix)
  if (!has_international_prefix()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000002u;
  return international_prefix_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneMetadata::set_allocated_international_prefix(::std::string* international_prefix) {
  if (international_prefix != nullptr) {
    _has_bits_[0] |= 0x00000002u;
  } else {
    _has_bits_[0] &= ~0x00000002u;
  }
  international_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), international_prefix);
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.international_prefix)
}

// optional string preferred_international_prefix = 17;
inline bool PhoneMetadata::has_preferred_international_prefix() const {
  return (_has_bits_[0] & 0x00000040u) != 0;
}
inline void PhoneMetadata::clear_preferred_international_prefix() {
  preferred_international_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  _has_bits_[0] &= ~0x00000040u;
}
inline const ::std::string& PhoneMetadata::preferred_international_prefix() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.preferred_international_prefix)
  return preferred_international_prefix_.GetNoArena();
}
inline void PhoneMetadata::set_preferred_international_prefix(const ::std::string& value) {
  _has_bits_[0] |= 0x00000040u;
  preferred_international_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneMetadata.preferred_international_prefix)
}
#if LANG_CXX11
inline void PhoneMetadata::set_preferred_international_prefix(::std::string&& value) {
  _has_bits_[0] |= 0x00000040u;
  preferred_international_prefix_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:i18n.phonenumbers.PhoneMetadata.preferred_international_prefix)
}
#endif
inline void PhoneMetadata::set_preferred_international_prefix(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000040u;
  preferred_international_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:i18n.phonenumbers.PhoneMetadata.preferred_international_prefix)
}
inline void PhoneMetadata::set_preferred_international_prefix(const char* value, size_t size) {
  _has_bits_[0] |= 0x00000040u;
  preferred_international_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:i18n.phonenumbers.PhoneMetadata.preferred_international_prefix)
}
inline ::std::string* PhoneMetadata::mutable_preferred_international_prefix() {
  _has_bits_[0] |= 0x00000040u;
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.preferred_international_prefix)
  return preferred_international_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* PhoneMetadata::release_preferred_international_prefix() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.preferred_international_prefix)
  if (!has_preferred_international_prefix()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000040u;
  return preferred_international_prefix_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneMetadata::set_allocated_preferred_international_prefix(::std::string* preferred_international_prefix) {
  if (preferred_international_prefix != nullptr) {
    _has_bits_[0] |= 0x00000040u;
  } else {
    _has_bits_[0] &= ~0x00000040u;
  }
  preferred_international_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), preferred_international_prefix);
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.preferred_international_prefix)
}

// optional string national_prefix = 12;
inline bool PhoneMetadata::has_national_prefix() const {
  return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void PhoneMetadata::clear_national_prefix() {
  national_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  _has_bits_[0] &= ~0x00000004u;
}
inline const ::std::string& PhoneMetadata::national_prefix() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.national_prefix)
  return national_prefix_.GetNoArena();
}
inline void PhoneMetadata::set_national_prefix(const ::std::string& value) {
  _has_bits_[0] |= 0x00000004u;
  national_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneMetadata.national_prefix)
}
#if LANG_CXX11
inline void PhoneMetadata::set_national_prefix(::std::string&& value) {
  _has_bits_[0] |= 0x00000004u;
  national_prefix_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:i18n.phonenumbers.PhoneMetadata.national_prefix)
}
#endif
inline void PhoneMetadata::set_national_prefix(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000004u;
  national_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:i18n.phonenumbers.PhoneMetadata.national_prefix)
}
inline void PhoneMetadata::set_national_prefix(const char* value, size_t size) {
  _has_bits_[0] |= 0x00000004u;
  national_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:i18n.phonenumbers.PhoneMetadata.national_prefix)
}
inline ::std::string* PhoneMetadata::mutable_national_prefix() {
  _has_bits_[0] |= 0x00000004u;
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.national_prefix)
  return national_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* PhoneMetadata::release_national_prefix() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.national_prefix)
  if (!has_national_prefix()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000004u;
  return national_prefix_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneMetadata::set_allocated_national_prefix(::std::string* national_prefix) {
  if (national_prefix != nullptr) {
    _has_bits_[0] |= 0x00000004u;
  } else {
    _has_bits_[0] &= ~0x00000004u;
  }
  national_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), national_prefix);
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.national_prefix)
}

// optional string preferred_extn_prefix = 13;
inline bool PhoneMetadata::has_preferred_extn_prefix() const {
  return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void PhoneMetadata::clear_preferred_extn_prefix() {
  preferred_extn_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  _has_bits_[0] &= ~0x00000008u;
}
inline const ::std::string& PhoneMetadata::preferred_extn_prefix() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.preferred_extn_prefix)
  return preferred_extn_prefix_.GetNoArena();
}
inline void PhoneMetadata::set_preferred_extn_prefix(const ::std::string& value) {
  _has_bits_[0] |= 0x00000008u;
  preferred_extn_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneMetadata.preferred_extn_prefix)
}
#if LANG_CXX11
inline void PhoneMetadata::set_preferred_extn_prefix(::std::string&& value) {
  _has_bits_[0] |= 0x00000008u;
  preferred_extn_prefix_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:i18n.phonenumbers.PhoneMetadata.preferred_extn_prefix)
}
#endif
inline void PhoneMetadata::set_preferred_extn_prefix(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000008u;
  preferred_extn_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:i18n.phonenumbers.PhoneMetadata.preferred_extn_prefix)
}
inline void PhoneMetadata::set_preferred_extn_prefix(const char* value, size_t size) {
  _has_bits_[0] |= 0x00000008u;
  preferred_extn_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:i18n.phonenumbers.PhoneMetadata.preferred_extn_prefix)
}
inline ::std::string* PhoneMetadata::mutable_preferred_extn_prefix() {
  _has_bits_[0] |= 0x00000008u;
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.preferred_extn_prefix)
  return preferred_extn_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* PhoneMetadata::release_preferred_extn_prefix() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.preferred_extn_prefix)
  if (!has_preferred_extn_prefix()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000008u;
  return preferred_extn_prefix_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneMetadata::set_allocated_preferred_extn_prefix(::std::string* preferred_extn_prefix) {
  if (preferred_extn_prefix != nullptr) {
    _has_bits_[0] |= 0x00000008u;
  } else {
    _has_bits_[0] &= ~0x00000008u;
  }
  preferred_extn_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), preferred_extn_prefix);
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.preferred_extn_prefix)
}

// optional string national_prefix_for_parsing = 15;
inline bool PhoneMetadata::has_national_prefix_for_parsing() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void PhoneMetadata::clear_national_prefix_for_parsing() {
  national_prefix_for_parsing_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  _has_bits_[0] &= ~0x00000010u;
}
inline const ::std::string& PhoneMetadata::national_prefix_for_parsing() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.national_prefix_for_parsing)
  return national_prefix_for_parsing_.GetNoArena();
}
inline void PhoneMetadata::set_national_prefix_for_parsing(const ::std::string& value) {
  _has_bits_[0] |= 0x00000010u;
  national_prefix_for_parsing_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneMetadata.national_prefix_for_parsing)
}
#if LANG_CXX11
inline void PhoneMetadata::set_national_prefix_for_parsing(::std::string&& value) {
  _has_bits_[0] |= 0x00000010u;
  national_prefix_for_parsing_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:i18n.phonenumbers.PhoneMetadata.national_prefix_for_parsing)
}
#endif
inline void PhoneMetadata::set_national_prefix_for_parsing(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000010u;
  national_prefix_for_parsing_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:i18n.phonenumbers.PhoneMetadata.national_prefix_for_parsing)
}
inline void PhoneMetadata::set_national_prefix_for_parsing(const char* value, size_t size) {
  _has_bits_[0] |= 0x00000010u;
  national_prefix_for_parsing_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:i18n.phonenumbers.PhoneMetadata.national_prefix_for_parsing)
}
inline ::std::string* PhoneMetadata::mutable_national_prefix_for_parsing() {
  _has_bits_[0] |= 0x00000010u;
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.national_prefix_for_parsing)
  return national_prefix_for_parsing_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* PhoneMetadata::release_national_prefix_for_parsing() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.national_prefix_for_parsing)
  if (!has_national_prefix_for_parsing()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000010u;
  return national_prefix_for_parsing_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneMetadata::set_allocated_national_prefix_for_parsing(::std::string* national_prefix_for_parsing) {
  if (national_prefix_for_parsing != nullptr) {
    _has_bits_[0] |= 0x00000010u;
  } else {
    _has_bits_[0] &= ~0x00000010u;
  }
  national_prefix_for_parsing_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), national_prefix_for_parsing);
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.national_prefix_for_parsing)
}

// optional string national_prefix_transform_rule = 16;
inline bool PhoneMetadata::has_national_prefix_transform_rule() const {
  return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void PhoneMetadata::clear_national_prefix_transform_rule() {
  national_prefix_transform_rule_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  _has_bits_[0] &= ~0x00000020u;
}
inline const ::std::string& PhoneMetadata::national_prefix_transform_rule() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.national_prefix_transform_rule)
  return national_prefix_transform_rule_.GetNoArena();
}
inline void PhoneMetadata::set_national_prefix_transform_rule(const ::std::string& value) {
  _has_bits_[0] |= 0x00000020u;
  national_prefix_transform_rule_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneMetadata.national_prefix_transform_rule)
}
#if LANG_CXX11
inline void PhoneMetadata::set_national_prefix_transform_rule(::std::string&& value) {
  _has_bits_[0] |= 0x00000020u;
  national_prefix_transform_rule_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:i18n.phonenumbers.PhoneMetadata.national_prefix_transform_rule)
}
#endif
inline void PhoneMetadata::set_national_prefix_transform_rule(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000020u;
  national_prefix_transform_rule_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:i18n.phonenumbers.PhoneMetadata.national_prefix_transform_rule)
}
inline void PhoneMetadata::set_national_prefix_transform_rule(const char* value, size_t size) {
  _has_bits_[0] |= 0x00000020u;
  national_prefix_transform_rule_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:i18n.phonenumbers.PhoneMetadata.national_prefix_transform_rule)
}
inline ::std::string* PhoneMetadata::mutable_national_prefix_transform_rule() {
  _has_bits_[0] |= 0x00000020u;
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.national_prefix_transform_rule)
  return national_prefix_transform_rule_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* PhoneMetadata::release_national_prefix_transform_rule() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.national_prefix_transform_rule)
  if (!has_national_prefix_transform_rule()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000020u;
  return national_prefix_transform_rule_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneMetadata::set_allocated_national_prefix_transform_rule(::std::string* national_prefix_transform_rule) {
  if (national_prefix_transform_rule != nullptr) {
    _has_bits_[0] |= 0x00000020u;
  } else {
    _has_bits_[0] &= ~0x00000020u;
  }
  national_prefix_transform_rule_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), national_prefix_transform_rule);
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.national_prefix_transform_rule)
}

// optional bool same_mobile_and_fixed_line_pattern = 18 [default = false];
inline bool PhoneMetadata::has_same_mobile_and_fixed_line_pattern() const {
  return (_has_bits_[0] & 0x04000000u) != 0;
}
inline void PhoneMetadata::clear_same_mobile_and_fixed_line_pattern() {
  same_mobile_and_fixed_line_pattern_ = false;
  _has_bits_[0] &= ~0x04000000u;
}
inline bool PhoneMetadata::same_mobile_and_fixed_line_pattern() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.same_mobile_and_fixed_line_pattern)
  return same_mobile_and_fixed_line_pattern_;
}
inline void PhoneMetadata::set_same_mobile_and_fixed_line_pattern(bool value) {
  _has_bits_[0] |= 0x04000000u;
  same_mobile_and_fixed_line_pattern_ = value;
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneMetadata.same_mobile_and_fixed_line_pattern)
}

// repeated .i18n.phonenumbers.NumberFormat number_format = 19;
inline int PhoneMetadata::number_format_size() const {
  return number_format_.size();
}
inline void PhoneMetadata::clear_number_format() {
  number_format_.Clear();
}
inline ::i18n::phonenumbers::NumberFormat* PhoneMetadata::mutable_number_format(int index) {
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.number_format)
  return number_format_.Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::NumberFormat >*
PhoneMetadata::mutable_number_format() {
  // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.PhoneMetadata.number_format)
  return &number_format_;
}
inline const ::i18n::phonenumbers::NumberFormat& PhoneMetadata::number_format(int index) const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.number_format)
  return number_format_.Get(index);
}
inline ::i18n::phonenumbers::NumberFormat* PhoneMetadata::add_number_format() {
  // @@protoc_insertion_point(field_add:i18n.phonenumbers.PhoneMetadata.number_format)
  return number_format_.Add();
}
inline const ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::NumberFormat >&
PhoneMetadata::number_format() const {
  // @@protoc_insertion_point(field_list:i18n.phonenumbers.PhoneMetadata.number_format)
  return number_format_;
}

// repeated .i18n.phonenumbers.NumberFormat intl_number_format = 20;
inline int PhoneMetadata::intl_number_format_size() const {
  return intl_number_format_.size();
}
inline void PhoneMetadata::clear_intl_number_format() {
  intl_number_format_.Clear();
}
inline ::i18n::phonenumbers::NumberFormat* PhoneMetadata::mutable_intl_number_format(int index) {
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.intl_number_format)
  return intl_number_format_.Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::NumberFormat >*
PhoneMetadata::mutable_intl_number_format() {
  // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.PhoneMetadata.intl_number_format)
  return &intl_number_format_;
}
inline const ::i18n::phonenumbers::NumberFormat& PhoneMetadata::intl_number_format(int index) const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.intl_number_format)
  return intl_number_format_.Get(index);
}
inline ::i18n::phonenumbers::NumberFormat* PhoneMetadata::add_intl_number_format() {
  // @@protoc_insertion_point(field_add:i18n.phonenumbers.PhoneMetadata.intl_number_format)
  return intl_number_format_.Add();
}
inline const ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::NumberFormat >&
PhoneMetadata::intl_number_format() const {
  // @@protoc_insertion_point(field_list:i18n.phonenumbers.PhoneMetadata.intl_number_format)
  return intl_number_format_;
}

// optional bool main_country_for_code = 22 [default = false];
inline bool PhoneMetadata::has_main_country_for_code() const {
  return (_has_bits_[0] & 0x08000000u) != 0;
}
inline void PhoneMetadata::clear_main_country_for_code() {
  main_country_for_code_ = false;
  _has_bits_[0] &= ~0x08000000u;
}
inline bool PhoneMetadata::main_country_for_code() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.main_country_for_code)
  return main_country_for_code_;
}
inline void PhoneMetadata::set_main_country_for_code(bool value) {
  _has_bits_[0] |= 0x08000000u;
  main_country_for_code_ = value;
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneMetadata.main_country_for_code)
}

// optional string leading_digits = 23;
inline bool PhoneMetadata::has_leading_digits() const {
  return (_has_bits_[0] & 0x00000080u) != 0;
}
inline void PhoneMetadata::clear_leading_digits() {
  leading_digits_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  _has_bits_[0] &= ~0x00000080u;
}
inline const ::std::string& PhoneMetadata::leading_digits() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.leading_digits)
  return leading_digits_.GetNoArena();
}
inline void PhoneMetadata::set_leading_digits(const ::std::string& value) {
  _has_bits_[0] |= 0x00000080u;
  leading_digits_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneMetadata.leading_digits)
}
#if LANG_CXX11
inline void PhoneMetadata::set_leading_digits(::std::string&& value) {
  _has_bits_[0] |= 0x00000080u;
  leading_digits_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:i18n.phonenumbers.PhoneMetadata.leading_digits)
}
#endif
inline void PhoneMetadata::set_leading_digits(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  _has_bits_[0] |= 0x00000080u;
  leading_digits_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:i18n.phonenumbers.PhoneMetadata.leading_digits)
}
inline void PhoneMetadata::set_leading_digits(const char* value, size_t size) {
  _has_bits_[0] |= 0x00000080u;
  leading_digits_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:i18n.phonenumbers.PhoneMetadata.leading_digits)
}
inline ::std::string* PhoneMetadata::mutable_leading_digits() {
  _has_bits_[0] |= 0x00000080u;
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.leading_digits)
  return leading_digits_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* PhoneMetadata::release_leading_digits() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.leading_digits)
  if (!has_leading_digits()) {
    return nullptr;
  }
  _has_bits_[0] &= ~0x00000080u;
  return leading_digits_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneMetadata::set_allocated_leading_digits(::std::string* leading_digits) {
  if (leading_digits != nullptr) {
    _has_bits_[0] |= 0x00000080u;
  } else {
    _has_bits_[0] &= ~0x00000080u;
  }
  leading_digits_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), leading_digits);
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.leading_digits)
}

// optional bool leading_zero_possible = 26 [default = false];
inline bool PhoneMetadata::has_leading_zero_possible() const {
  return (_has_bits_[0] & 0x10000000u) != 0;
}
inline void PhoneMetadata::clear_leading_zero_possible() {
  leading_zero_possible_ = false;
  _has_bits_[0] &= ~0x10000000u;
}
inline bool PhoneMetadata::leading_zero_possible() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.leading_zero_possible)
  return leading_zero_possible_;
}
inline void PhoneMetadata::set_leading_zero_possible(bool value) {
  _has_bits_[0] |= 0x10000000u;
  leading_zero_possible_ = value;
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneMetadata.leading_zero_possible)
}

// optional bool mobile_number_portable_region = 32 [default = false];
inline bool PhoneMetadata::has_mobile_number_portable_region() const {
  return (_has_bits_[0] & 0x20000000u) != 0;
}
inline void PhoneMetadata::clear_mobile_number_portable_region() {
  mobile_number_portable_region_ = false;
  _has_bits_[0] &= ~0x20000000u;
}
inline bool PhoneMetadata::mobile_number_portable_region() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.mobile_number_portable_region)
  return mobile_number_portable_region_;
}
inline void PhoneMetadata::set_mobile_number_portable_region(bool value) {
  _has_bits_[0] |= 0x20000000u;
  mobile_number_portable_region_ = value;
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneMetadata.mobile_number_portable_region)
}

// -------------------------------------------------------------------

// PhoneMetadataCollection

// repeated .i18n.phonenumbers.PhoneMetadata metadata = 1;
inline int PhoneMetadataCollection::metadata_size() const {
  return metadata_.size();
}
inline void PhoneMetadataCollection::clear_metadata() {
  metadata_.Clear();
}
inline ::i18n::phonenumbers::PhoneMetadata* PhoneMetadataCollection::mutable_metadata(int index) {
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadataCollection.metadata)
  return metadata_.Mutable(index);
}
inline ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::PhoneMetadata >*
PhoneMetadataCollection::mutable_metadata() {
  // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.PhoneMetadataCollection.metadata)
  return &metadata_;
}
inline const ::i18n::phonenumbers::PhoneMetadata& PhoneMetadataCollection::metadata(int index) const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadataCollection.metadata)
  return metadata_.Get(index);
}
inline ::i18n::phonenumbers::PhoneMetadata* PhoneMetadataCollection::add_metadata() {
  // @@protoc_insertion_point(field_add:i18n.phonenumbers.PhoneMetadataCollection.metadata)
  return metadata_.Add();
}
inline const ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::PhoneMetadata >&
PhoneMetadataCollection::metadata() const {
  // @@protoc_insertion_point(field_list:i18n.phonenumbers.PhoneMetadataCollection.metadata)
  return metadata_;
}

#ifdef __GNUC__
  #pragma GCC diagnostic pop
#endif  // __GNUC__
// -------------------------------------------------------------------

// -------------------------------------------------------------------

// -------------------------------------------------------------------


// @@protoc_insertion_point(namespace_scope)

}  // namespace phonenumbers
}  // namespace i18n

// @@protoc_insertion_point(global_scope)

#include <google/protobuf/port_undef.inc>
#endif  // PROTOBUF_INCLUDED_phonemetadata_2eproto
