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

#ifndef PROTOBUF_phonemetadata_2eproto__INCLUDED
#define PROTOBUF_phonemetadata_2eproto__INCLUDED

#include <string>

#include <google/protobuf/stubs/common.h>

#if GOOGLE_PROTOBUF_VERSION < 3002000
#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 3002000 < GOOGLE_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/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata.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)
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 i18n {
namespace phonenumbers {

namespace protobuf_phonemetadata_2eproto {
// Internal implementation detail -- do not call these.
struct TableStruct {
  static const ::google::protobuf::uint32 offsets[];
  static void InitDefaultsImpl();
  static void Shutdown();
};
void AddDescriptors();
void InitDefaults();
}  // namespace protobuf_phonemetadata_2eproto

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

class NumberFormat : 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;
  }

  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 inline const NumberFormat* internal_default_instance() {
    return reinterpret_cast<const NumberFormat*>(
               &_NumberFormat_default_instance_);
  }

  void Swap(NumberFormat* other);

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

  inline NumberFormat* New() const PROTOBUF_FINAL { return New(NULL); }

  NumberFormat* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
    PROTOBUF_FINAL;
  void CopyFrom(const NumberFormat& from);
  void MergeFrom(const NumberFormat& from);
  void Clear() PROTOBUF_FINAL;
  bool IsInitialized() const PROTOBUF_FINAL;

  size_t ByteSizeLong() const PROTOBUF_FINAL;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  void DiscardUnknownFields();
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(NumberFormat* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return NULL;
  }
  inline void* MaybeArenaPtr() const {
    return NULL;
  }
  public:

  ::std::string GetTypeName() const PROTOBUF_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);
  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);
  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;
  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:
  void set_has_pattern();
  void clear_has_pattern();
  void set_has_format();
  void clear_has_format();
  void set_has_national_prefix_formatting_rule();
  void clear_has_national_prefix_formatting_rule();
  void set_has_national_prefix_optional_when_formatting();
  void clear_has_national_prefix_optional_when_formatting();
  void set_has_domestic_carrier_code_formatting_rule();
  void clear_has_domestic_carrier_code_formatting_rule();

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

  ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _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  protobuf_phonemetadata_2eproto::TableStruct;
};
// -------------------------------------------------------------------

class PhoneNumberDesc : 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;
  }

  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 inline const PhoneNumberDesc* internal_default_instance() {
    return reinterpret_cast<const PhoneNumberDesc*>(
               &_PhoneNumberDesc_default_instance_);
  }

  void Swap(PhoneNumberDesc* other);

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

  inline PhoneNumberDesc* New() const PROTOBUF_FINAL { return New(NULL); }

  PhoneNumberDesc* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
    PROTOBUF_FINAL;
  void CopyFrom(const PhoneNumberDesc& from);
  void MergeFrom(const PhoneNumberDesc& from);
  void Clear() PROTOBUF_FINAL;
  bool IsInitialized() const PROTOBUF_FINAL;

  size_t ByteSizeLong() const PROTOBUF_FINAL;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  void DiscardUnknownFields();
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(PhoneNumberDesc* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return NULL;
  }
  inline void* MaybeArenaPtr() const {
    return NULL;
  }
  public:

  ::std::string GetTypeName() const PROTOBUF_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 possible_number_pattern = 3;
  bool has_possible_number_pattern() const;
  void clear_possible_number_pattern();
  static const int kPossibleNumberPatternFieldNumber = 3;
  const ::std::string& possible_number_pattern() const;
  void set_possible_number_pattern(const ::std::string& value);
  #if LANG_CXX11
  void set_possible_number_pattern(::std::string&& value);
  #endif
  void set_possible_number_pattern(const char* value);
  void set_possible_number_pattern(const char* value, size_t size);
  ::std::string* mutable_possible_number_pattern();
  ::std::string* release_possible_number_pattern();
  void set_allocated_possible_number_pattern(::std::string* possible_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:
  void set_has_national_number_pattern();
  void clear_has_national_number_pattern();
  void set_has_possible_number_pattern();
  void clear_has_possible_number_pattern();
  void set_has_example_number();
  void clear_has_example_number();

  ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _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 possible_number_pattern_;
  ::google::protobuf::internal::ArenaStringPtr example_number_;
  friend struct  protobuf_phonemetadata_2eproto::TableStruct;
};
// -------------------------------------------------------------------

class PhoneMetadata : 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;
  }

  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 inline const PhoneMetadata* internal_default_instance() {
    return reinterpret_cast<const PhoneMetadata*>(
               &_PhoneMetadata_default_instance_);
  }

  void Swap(PhoneMetadata* other);

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

  inline PhoneMetadata* New() const PROTOBUF_FINAL { return New(NULL); }

  PhoneMetadata* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
    PROTOBUF_FINAL;
  void CopyFrom(const PhoneMetadata& from);
  void MergeFrom(const PhoneMetadata& from);
  void Clear() PROTOBUF_FINAL;
  bool IsInitialized() const PROTOBUF_FINAL;

  size_t ByteSizeLong() const PROTOBUF_FINAL;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  void DiscardUnknownFields();
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(PhoneMetadata* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return NULL;
  }
  inline void* MaybeArenaPtr() const {
    return NULL;
  }
  public:

  ::std::string GetTypeName() const PROTOBUF_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;
  const ::i18n::phonenumbers::NumberFormat& number_format(int index) const;
  ::i18n::phonenumbers::NumberFormat* mutable_number_format(int index);
  ::i18n::phonenumbers::NumberFormat* add_number_format();
  ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::NumberFormat >*
      mutable_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;
  const ::i18n::phonenumbers::NumberFormat& intl_number_format(int index) const;
  ::i18n::phonenumbers::NumberFormat* mutable_intl_number_format(int index);
  ::i18n::phonenumbers::NumberFormat* add_intl_number_format();
  ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::NumberFormat >*
      mutable_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 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 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 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* mutable_general_desc();
  ::i18n::phonenumbers::PhoneNumberDesc* release_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* mutable_fixed_line();
  ::i18n::phonenumbers::PhoneNumberDesc* release_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* mutable_mobile();
  ::i18n::phonenumbers::PhoneNumberDesc* release_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* mutable_toll_free();
  ::i18n::phonenumbers::PhoneNumberDesc* release_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* mutable_premium_rate();
  ::i18n::phonenumbers::PhoneNumberDesc* release_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* mutable_shared_cost();
  ::i18n::phonenumbers::PhoneNumberDesc* release_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* mutable_personal_number();
  ::i18n::phonenumbers::PhoneNumberDesc* release_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* mutable_voip();
  ::i18n::phonenumbers::PhoneNumberDesc* release_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* mutable_pager();
  ::i18n::phonenumbers::PhoneNumberDesc* release_pager();
  void set_allocated_pager(::i18n::phonenumbers::PhoneNumberDesc* pager);

  // 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* mutable_uan();
  ::i18n::phonenumbers::PhoneNumberDesc* release_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* mutable_emergency();
  ::i18n::phonenumbers::PhoneNumberDesc* release_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* mutable_voicemail();
  ::i18n::phonenumbers::PhoneNumberDesc* release_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* mutable_short_code();
  ::i18n::phonenumbers::PhoneNumberDesc* release_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* mutable_standard_rate();
  ::i18n::phonenumbers::PhoneNumberDesc* release_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* mutable_carrier_specific();
  ::i18n::phonenumbers::PhoneNumberDesc* release_carrier_specific();
  void set_allocated_carrier_specific(::i18n::phonenumbers::PhoneNumberDesc* carrier_specific);

  // 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* mutable_no_international_dialling();
  ::i18n::phonenumbers::PhoneNumberDesc* release_no_international_dialling();
  void set_allocated_no_international_dialling(::i18n::phonenumbers::PhoneNumberDesc* no_international_dialling);

  // 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:
  void set_has_general_desc();
  void clear_has_general_desc();
  void set_has_fixed_line();
  void clear_has_fixed_line();
  void set_has_mobile();
  void clear_has_mobile();
  void set_has_toll_free();
  void clear_has_toll_free();
  void set_has_premium_rate();
  void clear_has_premium_rate();
  void set_has_shared_cost();
  void clear_has_shared_cost();
  void set_has_personal_number();
  void clear_has_personal_number();
  void set_has_voip();
  void clear_has_voip();
  void set_has_pager();
  void clear_has_pager();
  void set_has_uan();
  void clear_has_uan();
  void set_has_emergency();
  void clear_has_emergency();
  void set_has_voicemail();
  void clear_has_voicemail();
  void set_has_short_code();
  void clear_has_short_code();
  void set_has_standard_rate();
  void clear_has_standard_rate();
  void set_has_carrier_specific();
  void clear_has_carrier_specific();
  void set_has_no_international_dialling();
  void clear_has_no_international_dialling();
  void set_has_id();
  void clear_has_id();
  void set_has_country_code();
  void clear_has_country_code();
  void set_has_international_prefix();
  void clear_has_international_prefix();
  void set_has_preferred_international_prefix();
  void clear_has_preferred_international_prefix();
  void set_has_national_prefix();
  void clear_has_national_prefix();
  void set_has_preferred_extn_prefix();
  void clear_has_preferred_extn_prefix();
  void set_has_national_prefix_for_parsing();
  void clear_has_national_prefix_for_parsing();
  void set_has_national_prefix_transform_rule();
  void clear_has_national_prefix_transform_rule();
  void set_has_same_mobile_and_fixed_line_pattern();
  void clear_has_same_mobile_and_fixed_line_pattern();
  void set_has_main_country_for_code();
  void clear_has_main_country_for_code();
  void set_has_leading_digits();
  void clear_has_leading_digits();
  void set_has_leading_zero_possible();
  void clear_has_leading_zero_possible();
  void set_has_mobile_number_portable_region();
  void clear_has_mobile_number_portable_region();

  ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_;
  ::google::protobuf::internal::HasBits<1> _has_bits_;
  mutable int _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 preferred_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 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* 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* no_international_dialling_;
  ::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  protobuf_phonemetadata_2eproto::TableStruct;
};
// -------------------------------------------------------------------

class PhoneMetadataCollection : 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;
  }

  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 inline const PhoneMetadataCollection* internal_default_instance() {
    return reinterpret_cast<const PhoneMetadataCollection*>(
               &_PhoneMetadataCollection_default_instance_);
  }

  void Swap(PhoneMetadataCollection* other);

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

  inline PhoneMetadataCollection* New() const PROTOBUF_FINAL { return New(NULL); }

  PhoneMetadataCollection* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
  void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from)
    PROTOBUF_FINAL;
  void CopyFrom(const PhoneMetadataCollection& from);
  void MergeFrom(const PhoneMetadataCollection& from);
  void Clear() PROTOBUF_FINAL;
  bool IsInitialized() const PROTOBUF_FINAL;

  size_t ByteSizeLong() const PROTOBUF_FINAL;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
  void DiscardUnknownFields();
  int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  void InternalSwap(PhoneMetadataCollection* other);
  private:
  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
    return NULL;
  }
  inline void* MaybeArenaPtr() const {
    return NULL;
  }
  public:

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

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

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

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

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

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


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

#if !PROTOBUF_INLINE_NOT_IN_HEADERS
// NumberFormat

// required string pattern = 1;
inline bool NumberFormat::has_pattern() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void NumberFormat::set_has_pattern() {
  _has_bits_[0] |= 0x00000001u;
}
inline void NumberFormat::clear_has_pattern() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void NumberFormat::clear_pattern() {
  pattern_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_pattern();
}
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) {
  set_has_pattern();
  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) {
  set_has_pattern();
  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) {
  set_has_pattern();
  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) {
  set_has_pattern();
  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() {
  set_has_pattern();
  // @@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)
  clear_has_pattern();
  return pattern_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void NumberFormat::set_allocated_pattern(::std::string* pattern) {
  if (pattern != NULL) {
    set_has_pattern();
  } else {
    clear_has_pattern();
  }
  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::set_has_format() {
  _has_bits_[0] |= 0x00000002u;
}
inline void NumberFormat::clear_has_format() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void NumberFormat::clear_format() {
  format_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_format();
}
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) {
  set_has_format();
  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) {
  set_has_format();
  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) {
  set_has_format();
  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) {
  set_has_format();
  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() {
  set_has_format();
  // @@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)
  clear_has_format();
  return format_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void NumberFormat::set_allocated_format(::std::string* format) {
  if (format != NULL) {
    set_has_format();
  } else {
    clear_has_format();
  }
  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);
}
inline void NumberFormat::set_leading_digits_pattern(int index, const char* value) {
  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)
}
inline void NumberFormat::add_leading_digits_pattern(const char* value) {
  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::set_has_national_prefix_formatting_rule() {
  _has_bits_[0] |= 0x00000004u;
}
inline void NumberFormat::clear_has_national_prefix_formatting_rule() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void NumberFormat::clear_national_prefix_formatting_rule() {
  national_prefix_formatting_rule_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_national_prefix_formatting_rule();
}
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) {
  set_has_national_prefix_formatting_rule();
  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) {
  set_has_national_prefix_formatting_rule();
  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) {
  set_has_national_prefix_formatting_rule();
  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) {
  set_has_national_prefix_formatting_rule();
  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() {
  set_has_national_prefix_formatting_rule();
  // @@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)
  clear_has_national_prefix_formatting_rule();
  return national_prefix_formatting_rule_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void NumberFormat::set_allocated_national_prefix_formatting_rule(::std::string* national_prefix_formatting_rule) {
  if (national_prefix_formatting_rule != NULL) {
    set_has_national_prefix_formatting_rule();
  } else {
    clear_has_national_prefix_formatting_rule();
  }
  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;
inline bool NumberFormat::has_national_prefix_optional_when_formatting() const {
  return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void NumberFormat::set_has_national_prefix_optional_when_formatting() {
  _has_bits_[0] |= 0x00000010u;
}
inline void NumberFormat::clear_has_national_prefix_optional_when_formatting() {
  _has_bits_[0] &= ~0x00000010u;
}
inline void NumberFormat::clear_national_prefix_optional_when_formatting() {
  national_prefix_optional_when_formatting_ = false;
  clear_has_national_prefix_optional_when_formatting();
}
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) {
  set_has_national_prefix_optional_when_formatting();
  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::set_has_domestic_carrier_code_formatting_rule() {
  _has_bits_[0] |= 0x00000008u;
}
inline void NumberFormat::clear_has_domestic_carrier_code_formatting_rule() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void NumberFormat::clear_domestic_carrier_code_formatting_rule() {
  domestic_carrier_code_formatting_rule_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_domestic_carrier_code_formatting_rule();
}
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) {
  set_has_domestic_carrier_code_formatting_rule();
  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) {
  set_has_domestic_carrier_code_formatting_rule();
  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) {
  set_has_domestic_carrier_code_formatting_rule();
  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) {
  set_has_domestic_carrier_code_formatting_rule();
  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() {
  set_has_domestic_carrier_code_formatting_rule();
  // @@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)
  clear_has_domestic_carrier_code_formatting_rule();
  return domestic_carrier_code_formatting_rule_.ReleaseNoArena(&::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 != NULL) {
    set_has_domestic_carrier_code_formatting_rule();
  } else {
    clear_has_domestic_carrier_code_formatting_rule();
  }
  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::set_has_national_number_pattern() {
  _has_bits_[0] |= 0x00000001u;
}
inline void PhoneNumberDesc::clear_has_national_number_pattern() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void PhoneNumberDesc::clear_national_number_pattern() {
  national_number_pattern_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_national_number_pattern();
}
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) {
  set_has_national_number_pattern();
  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) {
  set_has_national_number_pattern();
  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) {
  set_has_national_number_pattern();
  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) {
  set_has_national_number_pattern();
  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() {
  set_has_national_number_pattern();
  // @@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)
  clear_has_national_number_pattern();
  return national_number_pattern_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneNumberDesc::set_allocated_national_number_pattern(::std::string* national_number_pattern) {
  if (national_number_pattern != NULL) {
    set_has_national_number_pattern();
  } else {
    clear_has_national_number_pattern();
  }
  national_number_pattern_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), national_number_pattern);
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneNumberDesc.national_number_pattern)
}

// optional string possible_number_pattern = 3;
inline bool PhoneNumberDesc::has_possible_number_pattern() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void PhoneNumberDesc::set_has_possible_number_pattern() {
  _has_bits_[0] |= 0x00000002u;
}
inline void PhoneNumberDesc::clear_has_possible_number_pattern() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void PhoneNumberDesc::clear_possible_number_pattern() {
  possible_number_pattern_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_possible_number_pattern();
}
inline const ::std::string& PhoneNumberDesc::possible_number_pattern() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneNumberDesc.possible_number_pattern)
  return possible_number_pattern_.GetNoArena();
}
inline void PhoneNumberDesc::set_possible_number_pattern(const ::std::string& value) {
  set_has_possible_number_pattern();
  possible_number_pattern_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
  // @@protoc_insertion_point(field_set:i18n.phonenumbers.PhoneNumberDesc.possible_number_pattern)
}
#if LANG_CXX11
inline void PhoneNumberDesc::set_possible_number_pattern(::std::string&& value) {
  set_has_possible_number_pattern();
  possible_number_pattern_.SetNoArena(
    &::google::protobuf::internal::GetEmptyStringAlreadyInited(), std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:i18n.phonenumbers.PhoneNumberDesc.possible_number_pattern)
}
#endif
inline void PhoneNumberDesc::set_possible_number_pattern(const char* value) {
  set_has_possible_number_pattern();
  possible_number_pattern_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:i18n.phonenumbers.PhoneNumberDesc.possible_number_pattern)
}
inline void PhoneNumberDesc::set_possible_number_pattern(const char* value, size_t size) {
  set_has_possible_number_pattern();
  possible_number_pattern_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:i18n.phonenumbers.PhoneNumberDesc.possible_number_pattern)
}
inline ::std::string* PhoneNumberDesc::mutable_possible_number_pattern() {
  set_has_possible_number_pattern();
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneNumberDesc.possible_number_pattern)
  return possible_number_pattern_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline ::std::string* PhoneNumberDesc::release_possible_number_pattern() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneNumberDesc.possible_number_pattern)
  clear_has_possible_number_pattern();
  return possible_number_pattern_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneNumberDesc::set_allocated_possible_number_pattern(::std::string* possible_number_pattern) {
  if (possible_number_pattern != NULL) {
    set_has_possible_number_pattern();
  } else {
    clear_has_possible_number_pattern();
  }
  possible_number_pattern_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), possible_number_pattern);
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneNumberDesc.possible_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] & 0x00000004u) != 0;
}
inline void PhoneNumberDesc::set_has_example_number() {
  _has_bits_[0] |= 0x00000004u;
}
inline void PhoneNumberDesc::clear_has_example_number() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void PhoneNumberDesc::clear_example_number() {
  example_number_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_example_number();
}
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) {
  set_has_example_number();
  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) {
  set_has_example_number();
  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) {
  set_has_example_number();
  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) {
  set_has_example_number();
  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() {
  set_has_example_number();
  // @@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)
  clear_has_example_number();
  return example_number_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneNumberDesc::set_allocated_example_number(::std::string* example_number) {
  if (example_number != NULL) {
    set_has_example_number();
  } else {
    clear_has_example_number();
  }
  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::set_has_general_desc() {
  _has_bits_[0] |= 0x00000100u;
}
inline void PhoneMetadata::clear_has_general_desc() {
  _has_bits_[0] &= ~0x00000100u;
}
inline void PhoneMetadata::clear_general_desc() {
  if (general_desc_ != NULL) general_desc_->::i18n::phonenumbers::PhoneNumberDesc::Clear();
  clear_has_general_desc();
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::general_desc() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.general_desc)
  return general_desc_ != NULL ? *general_desc_
                         : *::i18n::phonenumbers::PhoneNumberDesc::internal_default_instance();
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_general_desc() {
  set_has_general_desc();
  if (general_desc_ == NULL) {
    general_desc_ = new ::i18n::phonenumbers::PhoneNumberDesc;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.general_desc)
  return general_desc_;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_general_desc() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.general_desc)
  clear_has_general_desc();
  ::i18n::phonenumbers::PhoneNumberDesc* temp = general_desc_;
  general_desc_ = NULL;
  return temp;
}
inline void PhoneMetadata::set_allocated_general_desc(::i18n::phonenumbers::PhoneNumberDesc* general_desc) {
  delete general_desc_;
  general_desc_ = general_desc;
  if (general_desc) {
    set_has_general_desc();
  } else {
    clear_has_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::set_has_fixed_line() {
  _has_bits_[0] |= 0x00000200u;
}
inline void PhoneMetadata::clear_has_fixed_line() {
  _has_bits_[0] &= ~0x00000200u;
}
inline void PhoneMetadata::clear_fixed_line() {
  if (fixed_line_ != NULL) fixed_line_->::i18n::phonenumbers::PhoneNumberDesc::Clear();
  clear_has_fixed_line();
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::fixed_line() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.fixed_line)
  return fixed_line_ != NULL ? *fixed_line_
                         : *::i18n::phonenumbers::PhoneNumberDesc::internal_default_instance();
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_fixed_line() {
  set_has_fixed_line();
  if (fixed_line_ == NULL) {
    fixed_line_ = new ::i18n::phonenumbers::PhoneNumberDesc;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.fixed_line)
  return fixed_line_;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_fixed_line() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.fixed_line)
  clear_has_fixed_line();
  ::i18n::phonenumbers::PhoneNumberDesc* temp = fixed_line_;
  fixed_line_ = NULL;
  return temp;
}
inline void PhoneMetadata::set_allocated_fixed_line(::i18n::phonenumbers::PhoneNumberDesc* fixed_line) {
  delete fixed_line_;
  fixed_line_ = fixed_line;
  if (fixed_line) {
    set_has_fixed_line();
  } else {
    clear_has_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::set_has_mobile() {
  _has_bits_[0] |= 0x00000400u;
}
inline void PhoneMetadata::clear_has_mobile() {
  _has_bits_[0] &= ~0x00000400u;
}
inline void PhoneMetadata::clear_mobile() {
  if (mobile_ != NULL) mobile_->::i18n::phonenumbers::PhoneNumberDesc::Clear();
  clear_has_mobile();
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::mobile() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.mobile)
  return mobile_ != NULL ? *mobile_
                         : *::i18n::phonenumbers::PhoneNumberDesc::internal_default_instance();
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_mobile() {
  set_has_mobile();
  if (mobile_ == NULL) {
    mobile_ = new ::i18n::phonenumbers::PhoneNumberDesc;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.mobile)
  return mobile_;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_mobile() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.mobile)
  clear_has_mobile();
  ::i18n::phonenumbers::PhoneNumberDesc* temp = mobile_;
  mobile_ = NULL;
  return temp;
}
inline void PhoneMetadata::set_allocated_mobile(::i18n::phonenumbers::PhoneNumberDesc* mobile) {
  delete mobile_;
  mobile_ = mobile;
  if (mobile) {
    set_has_mobile();
  } else {
    clear_has_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::set_has_toll_free() {
  _has_bits_[0] |= 0x00000800u;
}
inline void PhoneMetadata::clear_has_toll_free() {
  _has_bits_[0] &= ~0x00000800u;
}
inline void PhoneMetadata::clear_toll_free() {
  if (toll_free_ != NULL) toll_free_->::i18n::phonenumbers::PhoneNumberDesc::Clear();
  clear_has_toll_free();
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::toll_free() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.toll_free)
  return toll_free_ != NULL ? *toll_free_
                         : *::i18n::phonenumbers::PhoneNumberDesc::internal_default_instance();
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_toll_free() {
  set_has_toll_free();
  if (toll_free_ == NULL) {
    toll_free_ = new ::i18n::phonenumbers::PhoneNumberDesc;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.toll_free)
  return toll_free_;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_toll_free() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.toll_free)
  clear_has_toll_free();
  ::i18n::phonenumbers::PhoneNumberDesc* temp = toll_free_;
  toll_free_ = NULL;
  return temp;
}
inline void PhoneMetadata::set_allocated_toll_free(::i18n::phonenumbers::PhoneNumberDesc* toll_free) {
  delete toll_free_;
  toll_free_ = toll_free;
  if (toll_free) {
    set_has_toll_free();
  } else {
    clear_has_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::set_has_premium_rate() {
  _has_bits_[0] |= 0x00001000u;
}
inline void PhoneMetadata::clear_has_premium_rate() {
  _has_bits_[0] &= ~0x00001000u;
}
inline void PhoneMetadata::clear_premium_rate() {
  if (premium_rate_ != NULL) premium_rate_->::i18n::phonenumbers::PhoneNumberDesc::Clear();
  clear_has_premium_rate();
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::premium_rate() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.premium_rate)
  return premium_rate_ != NULL ? *premium_rate_
                         : *::i18n::phonenumbers::PhoneNumberDesc::internal_default_instance();
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_premium_rate() {
  set_has_premium_rate();
  if (premium_rate_ == NULL) {
    premium_rate_ = new ::i18n::phonenumbers::PhoneNumberDesc;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.premium_rate)
  return premium_rate_;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_premium_rate() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.premium_rate)
  clear_has_premium_rate();
  ::i18n::phonenumbers::PhoneNumberDesc* temp = premium_rate_;
  premium_rate_ = NULL;
  return temp;
}
inline void PhoneMetadata::set_allocated_premium_rate(::i18n::phonenumbers::PhoneNumberDesc* premium_rate) {
  delete premium_rate_;
  premium_rate_ = premium_rate;
  if (premium_rate) {
    set_has_premium_rate();
  } else {
    clear_has_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::set_has_shared_cost() {
  _has_bits_[0] |= 0x00002000u;
}
inline void PhoneMetadata::clear_has_shared_cost() {
  _has_bits_[0] &= ~0x00002000u;
}
inline void PhoneMetadata::clear_shared_cost() {
  if (shared_cost_ != NULL) shared_cost_->::i18n::phonenumbers::PhoneNumberDesc::Clear();
  clear_has_shared_cost();
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::shared_cost() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.shared_cost)
  return shared_cost_ != NULL ? *shared_cost_
                         : *::i18n::phonenumbers::PhoneNumberDesc::internal_default_instance();
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_shared_cost() {
  set_has_shared_cost();
  if (shared_cost_ == NULL) {
    shared_cost_ = new ::i18n::phonenumbers::PhoneNumberDesc;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.shared_cost)
  return shared_cost_;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_shared_cost() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.shared_cost)
  clear_has_shared_cost();
  ::i18n::phonenumbers::PhoneNumberDesc* temp = shared_cost_;
  shared_cost_ = NULL;
  return temp;
}
inline void PhoneMetadata::set_allocated_shared_cost(::i18n::phonenumbers::PhoneNumberDesc* shared_cost) {
  delete shared_cost_;
  shared_cost_ = shared_cost;
  if (shared_cost) {
    set_has_shared_cost();
  } else {
    clear_has_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::set_has_personal_number() {
  _has_bits_[0] |= 0x00004000u;
}
inline void PhoneMetadata::clear_has_personal_number() {
  _has_bits_[0] &= ~0x00004000u;
}
inline void PhoneMetadata::clear_personal_number() {
  if (personal_number_ != NULL) personal_number_->::i18n::phonenumbers::PhoneNumberDesc::Clear();
  clear_has_personal_number();
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::personal_number() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.personal_number)
  return personal_number_ != NULL ? *personal_number_
                         : *::i18n::phonenumbers::PhoneNumberDesc::internal_default_instance();
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_personal_number() {
  set_has_personal_number();
  if (personal_number_ == NULL) {
    personal_number_ = new ::i18n::phonenumbers::PhoneNumberDesc;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.personal_number)
  return personal_number_;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_personal_number() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.personal_number)
  clear_has_personal_number();
  ::i18n::phonenumbers::PhoneNumberDesc* temp = personal_number_;
  personal_number_ = NULL;
  return temp;
}
inline void PhoneMetadata::set_allocated_personal_number(::i18n::phonenumbers::PhoneNumberDesc* personal_number) {
  delete personal_number_;
  personal_number_ = personal_number;
  if (personal_number) {
    set_has_personal_number();
  } else {
    clear_has_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::set_has_voip() {
  _has_bits_[0] |= 0x00008000u;
}
inline void PhoneMetadata::clear_has_voip() {
  _has_bits_[0] &= ~0x00008000u;
}
inline void PhoneMetadata::clear_voip() {
  if (voip_ != NULL) voip_->::i18n::phonenumbers::PhoneNumberDesc::Clear();
  clear_has_voip();
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::voip() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.voip)
  return voip_ != NULL ? *voip_
                         : *::i18n::phonenumbers::PhoneNumberDesc::internal_default_instance();
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_voip() {
  set_has_voip();
  if (voip_ == NULL) {
    voip_ = new ::i18n::phonenumbers::PhoneNumberDesc;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.voip)
  return voip_;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_voip() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.voip)
  clear_has_voip();
  ::i18n::phonenumbers::PhoneNumberDesc* temp = voip_;
  voip_ = NULL;
  return temp;
}
inline void PhoneMetadata::set_allocated_voip(::i18n::phonenumbers::PhoneNumberDesc* voip) {
  delete voip_;
  voip_ = voip;
  if (voip) {
    set_has_voip();
  } else {
    clear_has_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::set_has_pager() {
  _has_bits_[0] |= 0x00010000u;
}
inline void PhoneMetadata::clear_has_pager() {
  _has_bits_[0] &= ~0x00010000u;
}
inline void PhoneMetadata::clear_pager() {
  if (pager_ != NULL) pager_->::i18n::phonenumbers::PhoneNumberDesc::Clear();
  clear_has_pager();
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::pager() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.pager)
  return pager_ != NULL ? *pager_
                         : *::i18n::phonenumbers::PhoneNumberDesc::internal_default_instance();
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_pager() {
  set_has_pager();
  if (pager_ == NULL) {
    pager_ = new ::i18n::phonenumbers::PhoneNumberDesc;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.pager)
  return pager_;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_pager() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.pager)
  clear_has_pager();
  ::i18n::phonenumbers::PhoneNumberDesc* temp = pager_;
  pager_ = NULL;
  return temp;
}
inline void PhoneMetadata::set_allocated_pager(::i18n::phonenumbers::PhoneNumberDesc* pager) {
  delete pager_;
  pager_ = pager;
  if (pager) {
    set_has_pager();
  } else {
    clear_has_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] & 0x00020000u) != 0;
}
inline void PhoneMetadata::set_has_uan() {
  _has_bits_[0] |= 0x00020000u;
}
inline void PhoneMetadata::clear_has_uan() {
  _has_bits_[0] &= ~0x00020000u;
}
inline void PhoneMetadata::clear_uan() {
  if (uan_ != NULL) uan_->::i18n::phonenumbers::PhoneNumberDesc::Clear();
  clear_has_uan();
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::uan() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.uan)
  return uan_ != NULL ? *uan_
                         : *::i18n::phonenumbers::PhoneNumberDesc::internal_default_instance();
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_uan() {
  set_has_uan();
  if (uan_ == NULL) {
    uan_ = new ::i18n::phonenumbers::PhoneNumberDesc;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.uan)
  return uan_;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_uan() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.uan)
  clear_has_uan();
  ::i18n::phonenumbers::PhoneNumberDesc* temp = uan_;
  uan_ = NULL;
  return temp;
}
inline void PhoneMetadata::set_allocated_uan(::i18n::phonenumbers::PhoneNumberDesc* uan) {
  delete uan_;
  uan_ = uan;
  if (uan) {
    set_has_uan();
  } else {
    clear_has_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] & 0x00040000u) != 0;
}
inline void PhoneMetadata::set_has_emergency() {
  _has_bits_[0] |= 0x00040000u;
}
inline void PhoneMetadata::clear_has_emergency() {
  _has_bits_[0] &= ~0x00040000u;
}
inline void PhoneMetadata::clear_emergency() {
  if (emergency_ != NULL) emergency_->::i18n::phonenumbers::PhoneNumberDesc::Clear();
  clear_has_emergency();
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::emergency() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.emergency)
  return emergency_ != NULL ? *emergency_
                         : *::i18n::phonenumbers::PhoneNumberDesc::internal_default_instance();
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_emergency() {
  set_has_emergency();
  if (emergency_ == NULL) {
    emergency_ = new ::i18n::phonenumbers::PhoneNumberDesc;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.emergency)
  return emergency_;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_emergency() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.emergency)
  clear_has_emergency();
  ::i18n::phonenumbers::PhoneNumberDesc* temp = emergency_;
  emergency_ = NULL;
  return temp;
}
inline void PhoneMetadata::set_allocated_emergency(::i18n::phonenumbers::PhoneNumberDesc* emergency) {
  delete emergency_;
  emergency_ = emergency;
  if (emergency) {
    set_has_emergency();
  } else {
    clear_has_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] & 0x00080000u) != 0;
}
inline void PhoneMetadata::set_has_voicemail() {
  _has_bits_[0] |= 0x00080000u;
}
inline void PhoneMetadata::clear_has_voicemail() {
  _has_bits_[0] &= ~0x00080000u;
}
inline void PhoneMetadata::clear_voicemail() {
  if (voicemail_ != NULL) voicemail_->::i18n::phonenumbers::PhoneNumberDesc::Clear();
  clear_has_voicemail();
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::voicemail() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.voicemail)
  return voicemail_ != NULL ? *voicemail_
                         : *::i18n::phonenumbers::PhoneNumberDesc::internal_default_instance();
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_voicemail() {
  set_has_voicemail();
  if (voicemail_ == NULL) {
    voicemail_ = new ::i18n::phonenumbers::PhoneNumberDesc;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.voicemail)
  return voicemail_;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_voicemail() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.voicemail)
  clear_has_voicemail();
  ::i18n::phonenumbers::PhoneNumberDesc* temp = voicemail_;
  voicemail_ = NULL;
  return temp;
}
inline void PhoneMetadata::set_allocated_voicemail(::i18n::phonenumbers::PhoneNumberDesc* voicemail) {
  delete voicemail_;
  voicemail_ = voicemail;
  if (voicemail) {
    set_has_voicemail();
  } else {
    clear_has_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] & 0x00100000u) != 0;
}
inline void PhoneMetadata::set_has_short_code() {
  _has_bits_[0] |= 0x00100000u;
}
inline void PhoneMetadata::clear_has_short_code() {
  _has_bits_[0] &= ~0x00100000u;
}
inline void PhoneMetadata::clear_short_code() {
  if (short_code_ != NULL) short_code_->::i18n::phonenumbers::PhoneNumberDesc::Clear();
  clear_has_short_code();
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::short_code() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.short_code)
  return short_code_ != NULL ? *short_code_
                         : *::i18n::phonenumbers::PhoneNumberDesc::internal_default_instance();
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_short_code() {
  set_has_short_code();
  if (short_code_ == NULL) {
    short_code_ = new ::i18n::phonenumbers::PhoneNumberDesc;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.short_code)
  return short_code_;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_short_code() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.short_code)
  clear_has_short_code();
  ::i18n::phonenumbers::PhoneNumberDesc* temp = short_code_;
  short_code_ = NULL;
  return temp;
}
inline void PhoneMetadata::set_allocated_short_code(::i18n::phonenumbers::PhoneNumberDesc* short_code) {
  delete short_code_;
  short_code_ = short_code;
  if (short_code) {
    set_has_short_code();
  } else {
    clear_has_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] & 0x00200000u) != 0;
}
inline void PhoneMetadata::set_has_standard_rate() {
  _has_bits_[0] |= 0x00200000u;
}
inline void PhoneMetadata::clear_has_standard_rate() {
  _has_bits_[0] &= ~0x00200000u;
}
inline void PhoneMetadata::clear_standard_rate() {
  if (standard_rate_ != NULL) standard_rate_->::i18n::phonenumbers::PhoneNumberDesc::Clear();
  clear_has_standard_rate();
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::standard_rate() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.standard_rate)
  return standard_rate_ != NULL ? *standard_rate_
                         : *::i18n::phonenumbers::PhoneNumberDesc::internal_default_instance();
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_standard_rate() {
  set_has_standard_rate();
  if (standard_rate_ == NULL) {
    standard_rate_ = new ::i18n::phonenumbers::PhoneNumberDesc;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.standard_rate)
  return standard_rate_;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_standard_rate() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.standard_rate)
  clear_has_standard_rate();
  ::i18n::phonenumbers::PhoneNumberDesc* temp = standard_rate_;
  standard_rate_ = NULL;
  return temp;
}
inline void PhoneMetadata::set_allocated_standard_rate(::i18n::phonenumbers::PhoneNumberDesc* standard_rate) {
  delete standard_rate_;
  standard_rate_ = standard_rate;
  if (standard_rate) {
    set_has_standard_rate();
  } else {
    clear_has_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] & 0x00400000u) != 0;
}
inline void PhoneMetadata::set_has_carrier_specific() {
  _has_bits_[0] |= 0x00400000u;
}
inline void PhoneMetadata::clear_has_carrier_specific() {
  _has_bits_[0] &= ~0x00400000u;
}
inline void PhoneMetadata::clear_carrier_specific() {
  if (carrier_specific_ != NULL) carrier_specific_->::i18n::phonenumbers::PhoneNumberDesc::Clear();
  clear_has_carrier_specific();
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::carrier_specific() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.carrier_specific)
  return carrier_specific_ != NULL ? *carrier_specific_
                         : *::i18n::phonenumbers::PhoneNumberDesc::internal_default_instance();
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_carrier_specific() {
  set_has_carrier_specific();
  if (carrier_specific_ == NULL) {
    carrier_specific_ = new ::i18n::phonenumbers::PhoneNumberDesc;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.carrier_specific)
  return carrier_specific_;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_carrier_specific() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.carrier_specific)
  clear_has_carrier_specific();
  ::i18n::phonenumbers::PhoneNumberDesc* temp = carrier_specific_;
  carrier_specific_ = NULL;
  return temp;
}
inline void PhoneMetadata::set_allocated_carrier_specific(::i18n::phonenumbers::PhoneNumberDesc* carrier_specific) {
  delete carrier_specific_;
  carrier_specific_ = carrier_specific;
  if (carrier_specific) {
    set_has_carrier_specific();
  } else {
    clear_has_carrier_specific();
  }
  // @@protoc_insertion_point(field_set_allocated:i18n.phonenumbers.PhoneMetadata.carrier_specific)
}

// optional .i18n.phonenumbers.PhoneNumberDesc no_international_dialling = 24;
inline bool PhoneMetadata::has_no_international_dialling() const {
  return (_has_bits_[0] & 0x00800000u) != 0;
}
inline void PhoneMetadata::set_has_no_international_dialling() {
  _has_bits_[0] |= 0x00800000u;
}
inline void PhoneMetadata::clear_has_no_international_dialling() {
  _has_bits_[0] &= ~0x00800000u;
}
inline void PhoneMetadata::clear_no_international_dialling() {
  if (no_international_dialling_ != NULL) no_international_dialling_->::i18n::phonenumbers::PhoneNumberDesc::Clear();
  clear_has_no_international_dialling();
}
inline const ::i18n::phonenumbers::PhoneNumberDesc& PhoneMetadata::no_international_dialling() const {
  // @@protoc_insertion_point(field_get:i18n.phonenumbers.PhoneMetadata.no_international_dialling)
  return no_international_dialling_ != NULL ? *no_international_dialling_
                         : *::i18n::phonenumbers::PhoneNumberDesc::internal_default_instance();
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::mutable_no_international_dialling() {
  set_has_no_international_dialling();
  if (no_international_dialling_ == NULL) {
    no_international_dialling_ = new ::i18n::phonenumbers::PhoneNumberDesc;
  }
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.no_international_dialling)
  return no_international_dialling_;
}
inline ::i18n::phonenumbers::PhoneNumberDesc* PhoneMetadata::release_no_international_dialling() {
  // @@protoc_insertion_point(field_release:i18n.phonenumbers.PhoneMetadata.no_international_dialling)
  clear_has_no_international_dialling();
  ::i18n::phonenumbers::PhoneNumberDesc* temp = no_international_dialling_;
  no_international_dialling_ = NULL;
  return temp;
}
inline void PhoneMetadata::set_allocated_no_international_dialling(::i18n::phonenumbers::PhoneNumberDesc* no_international_dialling) {
  delete no_international_dialling_;
  no_international_dialling_ = no_international_dialling;
  if (no_international_dialling) {
    set_has_no_international_dialling();
  } else {
    clear_has_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::set_has_id() {
  _has_bits_[0] |= 0x00000001u;
}
inline void PhoneMetadata::clear_has_id() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void PhoneMetadata::clear_id() {
  id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_id();
}
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) {
  set_has_id();
  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) {
  set_has_id();
  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) {
  set_has_id();
  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) {
  set_has_id();
  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() {
  set_has_id();
  // @@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)
  clear_has_id();
  return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneMetadata::set_allocated_id(::std::string* id) {
  if (id != NULL) {
    set_has_id();
  } else {
    clear_has_id();
  }
  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] & 0x01000000u) != 0;
}
inline void PhoneMetadata::set_has_country_code() {
  _has_bits_[0] |= 0x01000000u;
}
inline void PhoneMetadata::clear_has_country_code() {
  _has_bits_[0] &= ~0x01000000u;
}
inline void PhoneMetadata::clear_country_code() {
  country_code_ = 0;
  clear_has_country_code();
}
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) {
  set_has_country_code();
  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::set_has_international_prefix() {
  _has_bits_[0] |= 0x00000002u;
}
inline void PhoneMetadata::clear_has_international_prefix() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void PhoneMetadata::clear_international_prefix() {
  international_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_international_prefix();
}
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) {
  set_has_international_prefix();
  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) {
  set_has_international_prefix();
  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) {
  set_has_international_prefix();
  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) {
  set_has_international_prefix();
  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() {
  set_has_international_prefix();
  // @@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)
  clear_has_international_prefix();
  return international_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneMetadata::set_allocated_international_prefix(::std::string* international_prefix) {
  if (international_prefix != NULL) {
    set_has_international_prefix();
  } else {
    clear_has_international_prefix();
  }
  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] & 0x00000004u) != 0;
}
inline void PhoneMetadata::set_has_preferred_international_prefix() {
  _has_bits_[0] |= 0x00000004u;
}
inline void PhoneMetadata::clear_has_preferred_international_prefix() {
  _has_bits_[0] &= ~0x00000004u;
}
inline void PhoneMetadata::clear_preferred_international_prefix() {
  preferred_international_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_preferred_international_prefix();
}
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) {
  set_has_preferred_international_prefix();
  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) {
  set_has_preferred_international_prefix();
  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) {
  set_has_preferred_international_prefix();
  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) {
  set_has_preferred_international_prefix();
  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() {
  set_has_preferred_international_prefix();
  // @@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)
  clear_has_preferred_international_prefix();
  return preferred_international_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneMetadata::set_allocated_preferred_international_prefix(::std::string* preferred_international_prefix) {
  if (preferred_international_prefix != NULL) {
    set_has_preferred_international_prefix();
  } else {
    clear_has_preferred_international_prefix();
  }
  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] & 0x00000008u) != 0;
}
inline void PhoneMetadata::set_has_national_prefix() {
  _has_bits_[0] |= 0x00000008u;
}
inline void PhoneMetadata::clear_has_national_prefix() {
  _has_bits_[0] &= ~0x00000008u;
}
inline void PhoneMetadata::clear_national_prefix() {
  national_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_national_prefix();
}
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) {
  set_has_national_prefix();
  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) {
  set_has_national_prefix();
  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) {
  set_has_national_prefix();
  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) {
  set_has_national_prefix();
  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() {
  set_has_national_prefix();
  // @@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)
  clear_has_national_prefix();
  return national_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneMetadata::set_allocated_national_prefix(::std::string* national_prefix) {
  if (national_prefix != NULL) {
    set_has_national_prefix();
  } else {
    clear_has_national_prefix();
  }
  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] & 0x00000010u) != 0;
}
inline void PhoneMetadata::set_has_preferred_extn_prefix() {
  _has_bits_[0] |= 0x00000010u;
}
inline void PhoneMetadata::clear_has_preferred_extn_prefix() {
  _has_bits_[0] &= ~0x00000010u;
}
inline void PhoneMetadata::clear_preferred_extn_prefix() {
  preferred_extn_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_preferred_extn_prefix();
}
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) {
  set_has_preferred_extn_prefix();
  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) {
  set_has_preferred_extn_prefix();
  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) {
  set_has_preferred_extn_prefix();
  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) {
  set_has_preferred_extn_prefix();
  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() {
  set_has_preferred_extn_prefix();
  // @@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)
  clear_has_preferred_extn_prefix();
  return preferred_extn_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneMetadata::set_allocated_preferred_extn_prefix(::std::string* preferred_extn_prefix) {
  if (preferred_extn_prefix != NULL) {
    set_has_preferred_extn_prefix();
  } else {
    clear_has_preferred_extn_prefix();
  }
  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] & 0x00000020u) != 0;
}
inline void PhoneMetadata::set_has_national_prefix_for_parsing() {
  _has_bits_[0] |= 0x00000020u;
}
inline void PhoneMetadata::clear_has_national_prefix_for_parsing() {
  _has_bits_[0] &= ~0x00000020u;
}
inline void PhoneMetadata::clear_national_prefix_for_parsing() {
  national_prefix_for_parsing_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_national_prefix_for_parsing();
}
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) {
  set_has_national_prefix_for_parsing();
  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) {
  set_has_national_prefix_for_parsing();
  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) {
  set_has_national_prefix_for_parsing();
  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) {
  set_has_national_prefix_for_parsing();
  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() {
  set_has_national_prefix_for_parsing();
  // @@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)
  clear_has_national_prefix_for_parsing();
  return national_prefix_for_parsing_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneMetadata::set_allocated_national_prefix_for_parsing(::std::string* national_prefix_for_parsing) {
  if (national_prefix_for_parsing != NULL) {
    set_has_national_prefix_for_parsing();
  } else {
    clear_has_national_prefix_for_parsing();
  }
  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] & 0x00000040u) != 0;
}
inline void PhoneMetadata::set_has_national_prefix_transform_rule() {
  _has_bits_[0] |= 0x00000040u;
}
inline void PhoneMetadata::clear_has_national_prefix_transform_rule() {
  _has_bits_[0] &= ~0x00000040u;
}
inline void PhoneMetadata::clear_national_prefix_transform_rule() {
  national_prefix_transform_rule_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_national_prefix_transform_rule();
}
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) {
  set_has_national_prefix_transform_rule();
  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) {
  set_has_national_prefix_transform_rule();
  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) {
  set_has_national_prefix_transform_rule();
  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) {
  set_has_national_prefix_transform_rule();
  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() {
  set_has_national_prefix_transform_rule();
  // @@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)
  clear_has_national_prefix_transform_rule();
  return national_prefix_transform_rule_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneMetadata::set_allocated_national_prefix_transform_rule(::std::string* national_prefix_transform_rule) {
  if (national_prefix_transform_rule != NULL) {
    set_has_national_prefix_transform_rule();
  } else {
    clear_has_national_prefix_transform_rule();
  }
  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] & 0x02000000u) != 0;
}
inline void PhoneMetadata::set_has_same_mobile_and_fixed_line_pattern() {
  _has_bits_[0] |= 0x02000000u;
}
inline void PhoneMetadata::clear_has_same_mobile_and_fixed_line_pattern() {
  _has_bits_[0] &= ~0x02000000u;
}
inline void PhoneMetadata::clear_same_mobile_and_fixed_line_pattern() {
  same_mobile_and_fixed_line_pattern_ = false;
  clear_has_same_mobile_and_fixed_line_pattern();
}
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) {
  set_has_same_mobile_and_fixed_line_pattern();
  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 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::mutable_number_format(int index) {
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.number_format)
  return number_format_.Mutable(index);
}
inline ::i18n::phonenumbers::NumberFormat* PhoneMetadata::add_number_format() {
  // @@protoc_insertion_point(field_add:i18n.phonenumbers.PhoneMetadata.number_format)
  return number_format_.Add();
}
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 ::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 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::mutable_intl_number_format(int index) {
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadata.intl_number_format)
  return intl_number_format_.Mutable(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 ::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 ::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] & 0x04000000u) != 0;
}
inline void PhoneMetadata::set_has_main_country_for_code() {
  _has_bits_[0] |= 0x04000000u;
}
inline void PhoneMetadata::clear_has_main_country_for_code() {
  _has_bits_[0] &= ~0x04000000u;
}
inline void PhoneMetadata::clear_main_country_for_code() {
  main_country_for_code_ = false;
  clear_has_main_country_for_code();
}
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) {
  set_has_main_country_for_code();
  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::set_has_leading_digits() {
  _has_bits_[0] |= 0x00000080u;
}
inline void PhoneMetadata::clear_has_leading_digits() {
  _has_bits_[0] &= ~0x00000080u;
}
inline void PhoneMetadata::clear_leading_digits() {
  leading_digits_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  clear_has_leading_digits();
}
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) {
  set_has_leading_digits();
  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) {
  set_has_leading_digits();
  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) {
  set_has_leading_digits();
  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) {
  set_has_leading_digits();
  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() {
  set_has_leading_digits();
  // @@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)
  clear_has_leading_digits();
  return leading_digits_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
}
inline void PhoneMetadata::set_allocated_leading_digits(::std::string* leading_digits) {
  if (leading_digits != NULL) {
    set_has_leading_digits();
  } else {
    clear_has_leading_digits();
  }
  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] & 0x08000000u) != 0;
}
inline void PhoneMetadata::set_has_leading_zero_possible() {
  _has_bits_[0] |= 0x08000000u;
}
inline void PhoneMetadata::clear_has_leading_zero_possible() {
  _has_bits_[0] &= ~0x08000000u;
}
inline void PhoneMetadata::clear_leading_zero_possible() {
  leading_zero_possible_ = false;
  clear_has_leading_zero_possible();
}
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) {
  set_has_leading_zero_possible();
  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] & 0x10000000u) != 0;
}
inline void PhoneMetadata::set_has_mobile_number_portable_region() {
  _has_bits_[0] |= 0x10000000u;
}
inline void PhoneMetadata::clear_has_mobile_number_portable_region() {
  _has_bits_[0] &= ~0x10000000u;
}
inline void PhoneMetadata::clear_mobile_number_portable_region() {
  mobile_number_portable_region_ = false;
  clear_has_mobile_number_portable_region();
}
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) {
  set_has_mobile_number_portable_region();
  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 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::mutable_metadata(int index) {
  // @@protoc_insertion_point(field_mutable:i18n.phonenumbers.PhoneMetadataCollection.metadata)
  return metadata_.Mutable(index);
}
inline ::i18n::phonenumbers::PhoneMetadata* PhoneMetadataCollection::add_metadata() {
  // @@protoc_insertion_point(field_add:i18n.phonenumbers.PhoneMetadataCollection.metadata)
  return metadata_.Add();
}
inline ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::PhoneMetadata >*
PhoneMetadataCollection::mutable_metadata() {
  // @@protoc_insertion_point(field_mutable_list:i18n.phonenumbers.PhoneMetadataCollection.metadata)
  return &metadata_;
}
inline const ::google::protobuf::RepeatedPtrField< ::i18n::phonenumbers::PhoneMetadata >&
PhoneMetadataCollection::metadata() const {
  // @@protoc_insertion_point(field_list:i18n.phonenumbers.PhoneMetadataCollection.metadata)
  return metadata_;
}

#endif  // !PROTOBUF_INLINE_NOT_IN_HEADERS
// -------------------------------------------------------------------

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

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


// @@protoc_insertion_point(namespace_scope)


}  // namespace phonenumbers
}  // namespace i18n

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_phonemetadata_2eproto__INCLUDED
