4 #ifndef PROTOBUF_INCLUDED_geogrid_2eproto 5 #define PROTOBUF_INCLUDED_geogrid_2eproto 10 #include <google/protobuf/port_def.inc> 11 #if PROTOBUF_VERSION < 3007000 12 #error This file was generated by a newer version of protoc which is 13 #error incompatible with your Protocol Buffer headers. Please update 16 #if 3007000 < PROTOBUF_MIN_PROTOC_VERSION 17 #error This file was generated by an older version of protoc which is 18 #error incompatible with your Protocol Buffer headers. Please 19 #error regenerate this file with a newer version of protoc. 22 #include <google/protobuf/port_undef.inc> 23 #include <google/protobuf/io/coded_stream.h> 24 #include <google/protobuf/arena.h> 25 #include <google/protobuf/arenastring.h> 26 #include <google/protobuf/generated_message_table_driven.h> 27 #include <google/protobuf/generated_message_util.h> 28 #include <google/protobuf/inlined_string_field.h> 29 #include <google/protobuf/metadata.h> 30 #include <google/protobuf/message.h> 31 #include <google/protobuf/repeated_field.h> 32 #include <google/protobuf/extension_set.h> 33 #include <google/protobuf/generated_enum_reflection.h> 34 #include <google/protobuf/unknown_field_set.h> 36 #include <google/protobuf/port_def.inc> 37 #define PROTOBUF_INTERNAL_EXPORT_geogrid_2eproto 41 static const ::google::protobuf::internal::ParseTableField entries[]
43 static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
45 static const ::google::protobuf::internal::ParseTable schema[7]
49 static const ::google::protobuf::uint32
offsets[];
54 class GeoGridDefaultTypeInternal;
56 class GeoGrid_Location;
57 class GeoGrid_LocationDefaultTypeInternal;
59 class GeoGrid_Location_Commute;
60 class GeoGrid_Location_CommuteDefaultTypeInternal;
62 class GeoGrid_Location_ContactPools;
63 class GeoGrid_Location_ContactPoolsDefaultTypeInternal;
65 class GeoGrid_Location_ContactPools_ContactPool;
66 class GeoGrid_Location_ContactPools_ContactPoolDefaultTypeInternal;
68 class GeoGrid_Location_Coordinate;
69 class GeoGrid_Location_CoordinateDefaultTypeInternal;
72 class GeoGrid_PersonDefaultTypeInternal;
77 template<>
::proto::GeoGrid* Arena::CreateMaybeMessage<::proto::GeoGrid>(Arena*);
105 return ::google::protobuf::internal::NameOfEnum(
110 return ::google::protobuf::internal::ParseNamedEnum<GeoGrid_Location_ContactPools_Type>(
116 public ::google::protobuf::Message {
130 *
this = ::std::move(from);
135 if (
this != &from) InternalSwap(&from);
143 return default_instance().GetDescriptor();
147 static void InitAsDefaultInstance();
152 static constexpr
int kIndexInFileMessages =
163 return CreateMaybeMessage<GeoGrid_Location_Coordinate>(
nullptr);
167 return CreateMaybeMessage<GeoGrid_Location_Coordinate>(arena);
169 void CopyFrom(const ::google::protobuf::Message& from)
final;
170 void MergeFrom(const ::google::protobuf::Message& from)
final;
173 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear()
final;
174 bool IsInitialized()
const final;
176 size_t ByteSizeLong()
const final;
177 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 178 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
179 ::google::protobuf::internal::ParseFunc _ParseFunc()
const final {
return _InternalParse; }
181 bool MergePartialFromCodedStream(
182 ::google::protobuf::io::CodedInputStream* input)
final;
183 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 184 void SerializeWithCachedSizes(
185 ::google::protobuf::io::CodedOutputStream* output)
const final;
186 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
187 ::google::protobuf::uint8* target)
const final;
193 void SetCachedSize(
int size)
const final;
204 ::google::protobuf::Metadata GetMetadata()
const final;
211 void clear_longitude();
212 static const int kLongitudeFieldNumber = 1;
213 double longitude()
const;
214 void set_longitude(
double value);
217 void clear_latitude();
218 static const int kLatitudeFieldNumber = 2;
219 double latitude()
const;
220 void set_latitude(
double value);
230 friend struct ::TableStruct_geogrid_2eproto;
235 public ::google::protobuf::Message {
249 *
this = ::std::move(from);
254 if (
this != &from) InternalSwap(&from);
262 return default_instance().GetDescriptor();
266 static void InitAsDefaultInstance();
271 static constexpr
int kIndexInFileMessages =
282 return CreateMaybeMessage<GeoGrid_Location_ContactPools_ContactPool>(
nullptr);
286 return CreateMaybeMessage<GeoGrid_Location_ContactPools_ContactPool>(arena);
288 void CopyFrom(const ::google::protobuf::Message& from)
final;
289 void MergeFrom(const ::google::protobuf::Message& from)
final;
292 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear()
final;
293 bool IsInitialized()
const final;
295 size_t ByteSizeLong()
const final;
296 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 297 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
298 ::google::protobuf::internal::ParseFunc _ParseFunc()
const final {
return _InternalParse; }
300 bool MergePartialFromCodedStream(
301 ::google::protobuf::io::CodedInputStream* input)
final;
302 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 303 void SerializeWithCachedSizes(
304 ::google::protobuf::io::CodedOutputStream* output)
const final;
305 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
306 ::google::protobuf::uint8* target)
const final;
312 void SetCachedSize(
int size)
const final;
323 ::google::protobuf::Metadata GetMetadata()
const final;
330 int people_size()
const;
332 static const int kPeopleFieldNumber = 2;
333 ::google::protobuf::int64 people(
int index)
const;
334 void set_people(
int index, ::google::protobuf::int64 value);
335 void add_people(::google::protobuf::int64 value);
336 const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
338 ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
343 static const int kIdFieldNumber = 1;
344 ::google::protobuf::int64 id()
const;
345 void set_id(::google::protobuf::int64 value);
352 ::google::protobuf::RepeatedField< ::google::protobuf::int64 >
people_;
354 ::google::protobuf::int64
id_;
356 friend struct ::TableStruct_geogrid_2eproto;
361 public ::google::protobuf::Message {
375 *
this = ::std::move(from);
380 if (
this != &from) InternalSwap(&from);
388 return default_instance().GetDescriptor();
392 static void InitAsDefaultInstance();
397 static constexpr
int kIndexInFileMessages =
408 return CreateMaybeMessage<GeoGrid_Location_ContactPools>(
nullptr);
412 return CreateMaybeMessage<GeoGrid_Location_ContactPools>(arena);
414 void CopyFrom(const ::google::protobuf::Message& from)
final;
415 void MergeFrom(const ::google::protobuf::Message& from)
final;
418 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear()
final;
419 bool IsInitialized()
const final;
421 size_t ByteSizeLong()
const final;
422 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 423 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
424 ::google::protobuf::internal::ParseFunc _ParseFunc()
const final {
return _InternalParse; }
426 bool MergePartialFromCodedStream(
427 ::google::protobuf::io::CodedInputStream* input)
final;
428 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 429 void SerializeWithCachedSizes(
430 ::google::protobuf::io::CodedOutputStream* output)
const final;
431 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
432 ::google::protobuf::uint8* target)
const final;
438 void SetCachedSize(
int size)
const final;
449 ::google::protobuf::Metadata GetMetadata()
const final;
456 static const Type K12School =
458 static const Type PrimaryCommunity =
460 static const Type SecondaryCommunity =
462 static const Type College =
464 static const Type Household =
466 static const Type Workplace =
471 static const Type Type_MIN =
473 static const Type Type_MAX =
475 static const int Type_ARRAYSIZE =
477 static inline const ::google::protobuf::EnumDescriptor*
481 static inline const ::std::string&
Type_Name(Type value) {
492 int pools_size()
const;
494 static const int kPoolsFieldNumber = 3;
496 ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_ContactPools_ContactPool >*
498 const ::proto::GeoGrid_Location_ContactPools_ContactPool& pools(
int index)
const;
500 const ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_ContactPools_ContactPool >&
505 static const int kIdFieldNumber = 1;
506 ::google::protobuf::int64 id()
const;
507 void set_id(::google::protobuf::int64 value);
511 static const int kTypeFieldNumber = 2;
520 ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_ContactPools_ContactPool >
pools_;
521 ::google::protobuf::int64
id_;
524 friend struct ::TableStruct_geogrid_2eproto;
529 public ::google::protobuf::Message {
543 *
this = ::std::move(from);
548 if (
this != &from) InternalSwap(&from);
556 return default_instance().GetDescriptor();
560 static void InitAsDefaultInstance();
565 static constexpr
int kIndexInFileMessages =
576 return CreateMaybeMessage<GeoGrid_Location_Commute>(
nullptr);
580 return CreateMaybeMessage<GeoGrid_Location_Commute>(arena);
582 void CopyFrom(const ::google::protobuf::Message& from)
final;
583 void MergeFrom(const ::google::protobuf::Message& from)
final;
586 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear()
final;
587 bool IsInitialized()
const final;
589 size_t ByteSizeLong()
const final;
590 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 591 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
592 ::google::protobuf::internal::ParseFunc _ParseFunc()
const final {
return _InternalParse; }
594 bool MergePartialFromCodedStream(
595 ::google::protobuf::io::CodedInputStream* input)
final;
596 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 597 void SerializeWithCachedSizes(
598 ::google::protobuf::io::CodedOutputStream* output)
const final;
599 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
600 ::google::protobuf::uint8* target)
const final;
606 void SetCachedSize(
int size)
const final;
617 ::google::protobuf::Metadata GetMetadata()
const final;
625 static const int kToFieldNumber = 1;
626 ::google::protobuf::int64 to()
const;
627 void set_to(::google::protobuf::int64 value);
630 void clear_proportion();
631 static const int kProportionFieldNumber = 2;
632 double proportion()
const;
633 void set_proportion(
double value);
640 ::google::protobuf::int64
to_;
643 friend struct ::TableStruct_geogrid_2eproto;
648 public ::google::protobuf::Message {
662 *
this = ::std::move(from);
667 if (
this != &from) InternalSwap(&from);
675 return default_instance().GetDescriptor();
679 static void InitAsDefaultInstance();
684 static constexpr
int kIndexInFileMessages =
695 return CreateMaybeMessage<GeoGrid_Location>(
nullptr);
699 return CreateMaybeMessage<GeoGrid_Location>(arena);
701 void CopyFrom(const ::google::protobuf::Message& from)
final;
702 void MergeFrom(const ::google::protobuf::Message& from)
final;
705 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear()
final;
706 bool IsInitialized()
const final;
708 size_t ByteSizeLong()
const final;
709 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 710 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
711 ::google::protobuf::internal::ParseFunc _ParseFunc()
const final {
return _InternalParse; }
713 bool MergePartialFromCodedStream(
714 ::google::protobuf::io::CodedInputStream* input)
final;
715 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 716 void SerializeWithCachedSizes(
717 ::google::protobuf::io::CodedOutputStream* output)
const final;
718 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
719 ::google::protobuf::uint8* target)
const final;
725 void SetCachedSize(
int size)
const final;
736 ::google::protobuf::Metadata GetMetadata()
const final;
747 int contactpools_size()
const;
748 void clear_contactpools();
749 static const int kContactPoolsFieldNumber = 6;
751 ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_ContactPools >*
752 mutable_contactpools();
753 const ::proto::GeoGrid_Location_ContactPools& contactpools(
int index)
const;
755 const ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_ContactPools >&
756 contactpools()
const;
759 int commutes_size()
const;
760 void clear_commutes();
761 static const int kCommutesFieldNumber = 7;
763 ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_Commute >*
765 const ::proto::GeoGrid_Location_Commute& commutes(
int index)
const;
767 const ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_Commute >&
772 static const int kNameFieldNumber = 2;
773 const ::std::string& name()
const;
774 void set_name(const ::std::string& value);
776 void set_name(::std::string&& value);
778 void set_name(
const char* value);
779 void set_name(
const char* value,
size_t size);
780 ::std::string* mutable_name();
781 ::std::string* release_name();
782 void set_allocated_name(::std::string* name);
785 bool has_coordinate()
const;
786 void clear_coordinate();
787 static const int kCoordinateFieldNumber = 5;
788 const ::proto::GeoGrid_Location_Coordinate& coordinate()
const;
795 static const int kIdFieldNumber = 1;
796 ::google::protobuf::int64 id()
const;
797 void set_id(::google::protobuf::int64 value);
800 void clear_province();
801 static const int kProvinceFieldNumber = 3;
802 ::google::protobuf::int64 province()
const;
803 void set_province(::google::protobuf::int64 value);
806 void clear_population();
807 static const int kPopulationFieldNumber = 4;
808 ::google::protobuf::int64 population()
const;
809 void set_population(::google::protobuf::int64 value);
816 ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_ContactPools >
contactpools_;
817 ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_Commute >
commutes_;
818 ::google::protobuf::internal::ArenaStringPtr
name_;
820 ::google::protobuf::int64
id_;
824 friend struct ::TableStruct_geogrid_2eproto;
829 public ::google::protobuf::Message {
843 *
this = ::std::move(from);
848 if (
this != &from) InternalSwap(&from);
856 return default_instance().GetDescriptor();
860 static void InitAsDefaultInstance();
865 static constexpr
int kIndexInFileMessages =
876 return CreateMaybeMessage<GeoGrid_Person>(
nullptr);
880 return CreateMaybeMessage<GeoGrid_Person>(arena);
882 void CopyFrom(const ::google::protobuf::Message& from)
final;
883 void MergeFrom(const ::google::protobuf::Message& from)
final;
886 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear()
final;
887 bool IsInitialized()
const final;
889 size_t ByteSizeLong()
const final;
890 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 891 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
892 ::google::protobuf::internal::ParseFunc _ParseFunc()
const final {
return _InternalParse; }
894 bool MergePartialFromCodedStream(
895 ::google::protobuf::io::CodedInputStream* input)
final;
896 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 897 void SerializeWithCachedSizes(
898 ::google::protobuf::io::CodedOutputStream* output)
const final;
899 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
900 ::google::protobuf::uint8* target)
const final;
906 void SetCachedSize(
int size)
const final;
917 ::google::protobuf::Metadata GetMetadata()
const final;
925 static const int kIdFieldNumber = 1;
926 ::google::protobuf::int64 id()
const;
927 void set_id(::google::protobuf::int64 value);
931 static const int kAgeFieldNumber = 2;
932 ::google::protobuf::int64 age()
const;
933 void set_age(::google::protobuf::int64 value);
940 ::google::protobuf::int64
id_;
941 ::google::protobuf::int64
age_;
943 friend struct ::TableStruct_geogrid_2eproto;
948 public ::google::protobuf::Message {
962 *
this = ::std::move(from);
967 if (
this != &from) InternalSwap(&from);
975 return default_instance().GetDescriptor();
977 static const GeoGrid& default_instance();
979 static void InitAsDefaultInstance();
981 return reinterpret_cast<const GeoGrid*
>(
984 static constexpr
int kIndexInFileMessages =
995 return CreateMaybeMessage<GeoGrid>(
nullptr);
999 return CreateMaybeMessage<GeoGrid>(arena);
1001 void CopyFrom(const ::google::protobuf::Message& from)
final;
1002 void MergeFrom(const ::google::protobuf::Message& from)
final;
1003 void CopyFrom(
const GeoGrid& from);
1004 void MergeFrom(
const GeoGrid& from);
1005 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear()
final;
1006 bool IsInitialized()
const final;
1008 size_t ByteSizeLong()
const final;
1009 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 1010 static const char* _InternalParse(
const char* begin,
const char* end,
void*
object, ::google::protobuf::internal::ParseContext* ctx);
1011 ::google::protobuf::internal::ParseFunc _ParseFunc()
const final {
return _InternalParse; }
1013 bool MergePartialFromCodedStream(
1014 ::google::protobuf::io::CodedInputStream* input)
final;
1015 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER 1016 void SerializeWithCachedSizes(
1017 ::google::protobuf::io::CodedOutputStream* output)
const final;
1018 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1019 ::google::protobuf::uint8* target)
const final;
1025 void SetCachedSize(
int size)
const final;
1026 void InternalSwap(
GeoGrid* other);
1036 ::google::protobuf::Metadata GetMetadata()
const final;
1046 int locations_size()
const;
1047 void clear_locations();
1048 static const int kLocationsFieldNumber = 1;
1050 ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location >*
1051 mutable_locations();
1052 const ::proto::GeoGrid_Location& locations(
int index)
const;
1054 const ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location >&
1058 int persons_size()
const;
1059 void clear_persons();
1060 static const int kPersonsFieldNumber = 2;
1062 ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Person >*
1064 const ::proto::GeoGrid_Person& persons(
int index)
const;
1066 const ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Person >&
1071 class HasBitSetters;
1074 ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location >
locations_;
1075 ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Person >
persons_;
1077 friend struct ::TableStruct_geogrid_2eproto;
1085 #pragma GCC diagnostic push 1086 #pragma GCC diagnostic ignored "-Wstrict-aliasing" 1091 inline void GeoGrid_Location_Coordinate::clear_longitude() {
1094 inline double GeoGrid_Location_Coordinate::longitude()
const {
1098 inline void GeoGrid_Location_Coordinate::set_longitude(
double value) {
1105 inline void GeoGrid_Location_Coordinate::clear_latitude() {
1108 inline double GeoGrid_Location_Coordinate::latitude()
const {
1112 inline void GeoGrid_Location_Coordinate::set_latitude(
double value) {
1123 inline void GeoGrid_Location_ContactPools_ContactPool::clear_id() {
1124 id_ = PROTOBUF_LONGLONG(0);
1126 inline ::google::protobuf::int64 GeoGrid_Location_ContactPools_ContactPool::id()
const {
1130 inline void GeoGrid_Location_ContactPools_ContactPool::set_id(::google::protobuf::int64 value) {
1137 inline int GeoGrid_Location_ContactPools_ContactPool::people_size()
const {
1138 return people_.size();
1140 inline void GeoGrid_Location_ContactPools_ContactPool::clear_people() {
1143 inline ::google::protobuf::int64 GeoGrid_Location_ContactPools_ContactPool::people(
int index)
const {
1145 return people_.Get(index);
1147 inline void GeoGrid_Location_ContactPools_ContactPool::set_people(
int index, ::google::protobuf::int64 value) {
1148 people_.Set(index, value);
1151 inline void GeoGrid_Location_ContactPools_ContactPool::add_people(::google::protobuf::int64 value) {
1155 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
1156 GeoGrid_Location_ContactPools_ContactPool::people()
const {
1160 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
1161 GeoGrid_Location_ContactPools_ContactPool::mutable_people() {
1171 inline void GeoGrid_Location_ContactPools::clear_id() {
1172 id_ = PROTOBUF_LONGLONG(0);
1174 inline ::google::protobuf::int64 GeoGrid_Location_ContactPools::id()
const {
1178 inline void GeoGrid_Location_ContactPools::set_id(::google::protobuf::int64 value) {
1185 inline void GeoGrid_Location_ContactPools::clear_type() {
1199 inline int GeoGrid_Location_ContactPools::pools_size()
const {
1200 return pools_.size();
1202 inline void GeoGrid_Location_ContactPools::clear_pools() {
1205 inline ::proto::GeoGrid_Location_ContactPools_ContactPool* GeoGrid_Location_ContactPools::mutable_pools(
int index) {
1207 return pools_.Mutable(index);
1209 inline ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_ContactPools_ContactPool >*
1210 GeoGrid_Location_ContactPools::mutable_pools() {
1214 inline const ::proto::GeoGrid_Location_ContactPools_ContactPool& GeoGrid_Location_ContactPools::pools(
int index)
const {
1216 return pools_.Get(index);
1218 inline ::proto::GeoGrid_Location_ContactPools_ContactPool* GeoGrid_Location_ContactPools::add_pools() {
1220 return pools_.Add();
1222 inline const ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_ContactPools_ContactPool >&
1223 GeoGrid_Location_ContactPools::pools()
const {
1233 inline void GeoGrid_Location_Commute::clear_to() {
1234 to_ = PROTOBUF_LONGLONG(0);
1236 inline ::google::protobuf::int64 GeoGrid_Location_Commute::to()
const {
1240 inline void GeoGrid_Location_Commute::set_to(::google::protobuf::int64 value) {
1247 inline void GeoGrid_Location_Commute::clear_proportion() {
1250 inline double GeoGrid_Location_Commute::proportion()
const {
1254 inline void GeoGrid_Location_Commute::set_proportion(
double value) {
1256 proportion_ = value;
1265 inline void GeoGrid_Location::clear_id() {
1266 id_ = PROTOBUF_LONGLONG(0);
1268 inline ::google::protobuf::int64 GeoGrid_Location::id()
const {
1272 inline void GeoGrid_Location::set_id(::google::protobuf::int64 value) {
1279 inline void GeoGrid_Location::clear_name() {
1280 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1282 inline const ::std::string& GeoGrid_Location::name()
const {
1284 return name_.GetNoArena();
1286 inline void GeoGrid_Location::set_name(const ::std::string& value) {
1288 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1292 inline void GeoGrid_Location::set_name(::std::string&& value) {
1295 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1299 inline void GeoGrid_Location::set_name(
const char* value) {
1300 GOOGLE_DCHECK(value !=
nullptr);
1302 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1305 inline void GeoGrid_Location::set_name(
const char* value,
size_t size) {
1307 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1308 ::std::string(reinterpret_cast<const char*>(value), size));
1311 inline ::std::string* GeoGrid_Location::mutable_name() {
1314 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1316 inline ::std::string* GeoGrid_Location::release_name() {
1319 return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1321 inline void GeoGrid_Location::set_allocated_name(::std::string* name) {
1322 if (name !=
nullptr) {
1327 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
1332 inline void GeoGrid_Location::clear_province() {
1333 province_ = PROTOBUF_LONGLONG(0);
1335 inline ::google::protobuf::int64 GeoGrid_Location::province()
const {
1339 inline void GeoGrid_Location::set_province(::google::protobuf::int64 value) {
1346 inline void GeoGrid_Location::clear_population() {
1347 population_ = PROTOBUF_LONGLONG(0);
1349 inline ::google::protobuf::int64 GeoGrid_Location::population()
const {
1353 inline void GeoGrid_Location::set_population(::google::protobuf::int64 value) {
1355 population_ = value;
1360 inline bool GeoGrid_Location::has_coordinate()
const {
1361 return this != internal_default_instance() && coordinate_ !=
nullptr;
1363 inline void GeoGrid_Location::clear_coordinate() {
1364 if (GetArenaNoVirtual() ==
nullptr && coordinate_ !=
nullptr) {
1367 coordinate_ =
nullptr;
1369 inline const ::proto::GeoGrid_Location_Coordinate& GeoGrid_Location::coordinate()
const {
1370 const ::proto::GeoGrid_Location_Coordinate* p = coordinate_;
1375 inline ::proto::GeoGrid_Location_Coordinate* GeoGrid_Location::release_coordinate() {
1379 coordinate_ =
nullptr;
1382 inline ::proto::GeoGrid_Location_Coordinate* GeoGrid_Location::mutable_coordinate() {
1384 if (coordinate_ ==
nullptr) {
1385 auto* p = CreateMaybeMessage<::proto::GeoGrid_Location_Coordinate>(GetArenaNoVirtual());
1392 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1393 if (message_arena ==
nullptr) {
1397 ::google::protobuf::Arena* submessage_arena =
nullptr;
1398 if (message_arena != submessage_arena) {
1399 coordinate = ::google::protobuf::internal::GetOwnedMessage(
1400 message_arena, coordinate, submessage_arena);
1406 coordinate_ = coordinate;
1411 inline int GeoGrid_Location::contactpools_size()
const {
1412 return contactpools_.size();
1414 inline void GeoGrid_Location::clear_contactpools() {
1415 contactpools_.
Clear();
1417 inline ::proto::GeoGrid_Location_ContactPools* GeoGrid_Location::mutable_contactpools(
int index) {
1419 return contactpools_.Mutable(index);
1421 inline ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_ContactPools >*
1422 GeoGrid_Location::mutable_contactpools() {
1424 return &contactpools_;
1426 inline const ::proto::GeoGrid_Location_ContactPools& GeoGrid_Location::contactpools(
int index)
const {
1428 return contactpools_.Get(index);
1430 inline ::proto::GeoGrid_Location_ContactPools* GeoGrid_Location::add_contactpools() {
1432 return contactpools_.Add();
1434 inline const ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_ContactPools >&
1435 GeoGrid_Location::contactpools()
const {
1437 return contactpools_;
1441 inline int GeoGrid_Location::commutes_size()
const {
1442 return commutes_.size();
1444 inline void GeoGrid_Location::clear_commutes() {
1447 inline ::proto::GeoGrid_Location_Commute* GeoGrid_Location::mutable_commutes(
int index) {
1449 return commutes_.Mutable(index);
1451 inline ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_Commute >*
1452 GeoGrid_Location::mutable_commutes() {
1456 inline const ::proto::GeoGrid_Location_Commute& GeoGrid_Location::commutes(
int index)
const {
1458 return commutes_.Get(index);
1460 inline ::proto::GeoGrid_Location_Commute* GeoGrid_Location::add_commutes() {
1462 return commutes_.Add();
1464 inline const ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_Commute >&
1465 GeoGrid_Location::commutes()
const {
1475 inline void GeoGrid_Person::clear_id() {
1476 id_ = PROTOBUF_LONGLONG(0);
1478 inline ::google::protobuf::int64 GeoGrid_Person::id()
const {
1482 inline void GeoGrid_Person::set_id(::google::protobuf::int64 value) {
1489 inline void GeoGrid_Person::clear_age() {
1490 age_ = PROTOBUF_LONGLONG(0);
1492 inline ::google::protobuf::int64 GeoGrid_Person::age()
const {
1496 inline void GeoGrid_Person::set_age(::google::protobuf::int64 value) {
1507 inline int GeoGrid::locations_size()
const {
1508 return locations_.size();
1510 inline void GeoGrid::clear_locations() {
1513 inline ::proto::GeoGrid_Location* GeoGrid::mutable_locations(
int index) {
1515 return locations_.Mutable(index);
1517 inline ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location >*
1518 GeoGrid::mutable_locations() {
1522 inline const ::proto::GeoGrid_Location& GeoGrid::locations(
int index)
const {
1524 return locations_.Get(index);
1526 inline ::proto::GeoGrid_Location* GeoGrid::add_locations() {
1528 return locations_.Add();
1530 inline const ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location >&
1531 GeoGrid::locations()
const {
1537 inline int GeoGrid::persons_size()
const {
1538 return persons_.size();
1540 inline void GeoGrid::clear_persons() {
1543 inline ::proto::GeoGrid_Person* GeoGrid::mutable_persons(
int index) {
1545 return persons_.Mutable(index);
1547 inline ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Person >*
1548 GeoGrid::mutable_persons() {
1552 inline const ::proto::GeoGrid_Person& GeoGrid::persons(
int index)
const {
1554 return persons_.Get(index);
1556 inline ::proto::GeoGrid_Person* GeoGrid::add_persons() {
1558 return persons_.Add();
1560 inline const ::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Person >&
1561 GeoGrid::persons()
const {
1567 #pragma GCC diagnostic pop 1587 namespace protobuf {
1591 inline const EnumDescriptor* GetEnumDescriptor< ::proto::GeoGrid_Location_ContactPools_Type>() {
1600 #include <google/protobuf/port_undef.inc> 1601 #endif // PROTOBUF_INCLUDED_geogrid_2eproto static const ::google::protobuf::internal::SerializationTable serialization_table[]
mutable::google::protobuf::internal::CachedSize _cached_size_
int GetCachedSize() const final
::google::protobuf::int64 age_
GeoGrid_Location_CommuteDefaultTypeInternal _GeoGrid_Location_Commute_default_instance_
GeoGrid_Location_ContactPools * New() const final
static const ::google::protobuf::Descriptor * descriptor()
void * MaybeArenaPtr() const
int GetCachedSize() const final
friend void swap(GeoGrid_Person &a, GeoGrid_Person &b)
void * MaybeArenaPtr() const
::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_Commute > commutes_
::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location > locations_
GeoGrid & operator=(const GeoGrid &from)
mutable::google::protobuf::internal::CachedSize _cached_size_
const GeoGrid_Location_ContactPools_Type GeoGrid_Location_ContactPools_Type_Type_MAX
GeoGrid_Location_Coordinate Coordinate
GeoGrid_Location_Commute * New(::google::protobuf::Arena *arena) const final
int GetCachedSize() const final
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
mutable::google::protobuf::internal::CachedSize _cached_size_
bool GeoGrid_Location_ContactPools_Type_Parse(const ::std::string &name, GeoGrid_Location_ContactPools_Type *value)
inline::google::protobuf::Arena * GetArenaNoVirtual() const
GeoGrid_Location_ContactPools_ContactPoolDefaultTypeInternal _GeoGrid_Location_ContactPools_ContactPool_default_instance_
mutable::google::protobuf::internal::CachedSize _cached_size_
static const ::std::string & Type_Name(Type value)
::google::protobuf::int64 id_
GeoGrid_Location_Coordinate * New(::google::protobuf::Arena *arena) const final
::google::protobuf::int64 id_
GeoGrid_Location_ContactPools_Type
friend void swap(GeoGrid_Location_ContactPools &a, GeoGrid_Location_ContactPools &b)
const ::std::string & GeoGrid_Location_ContactPools_Type_Name(GeoGrid_Location_ContactPools_Type value)
GeoGrid_Person & operator=(const GeoGrid_Person &from)
GeoGrid_Location Location
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static bool Type_Parse(const ::std::string &name, Type *value)
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
::google::protobuf::int64 id_
inline::google::protobuf::Arena * GetArenaNoVirtual() const
GeoGrid_PersonDefaultTypeInternal _GeoGrid_Person_default_instance_
int GetCachedSize() const final
mutable::google::protobuf::internal::CachedSize _cached_size_
inline::google::protobuf::Arena * GetArenaNoVirtual() const
GeoGrid_Location_Coordinate * New() const final
::google::protobuf::int64 to_
const int GeoGrid_Location_ContactPools_Type_Type_ARRAYSIZE
GeoGrid * New(::google::protobuf::Arena *arena) const final
bool GeoGrid_Location_ContactPools_Type_IsValid(int value)
GeoGrid_Location_CoordinateDefaultTypeInternal _GeoGrid_Location_Coordinate_default_instance_
GeoGrid_Location & operator=(const GeoGrid_Location &from)
friend void swap(GeoGrid_Location_Commute &a, GeoGrid_Location_Commute &b)
GeoGrid_Location * New(::google::protobuf::Arena *arena) const final
static const ::google::protobuf::Descriptor * descriptor()
static const ::google::protobuf::Descriptor * descriptor()
static const ::google::protobuf::Descriptor * descriptor()
static const GeoGrid * internal_default_instance()
GeoGrid_Location * New() const final
static const GeoGrid_Person * internal_default_instance()
int GetCachedSize() const final
inline::google::protobuf::Arena * GetArenaNoVirtual() const
friend void swap(GeoGrid_Location_ContactPools_ContactPool &a, GeoGrid_Location_ContactPools_ContactPool &b)
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
::google::protobuf::RepeatedField< ::google::protobuf::int64 > people_
GeoGrid_Location_ContactPools_Type Type
inline::google::protobuf::Arena * GetArenaNoVirtual() const
GeoGrid_Location_Coordinate & operator=(const GeoGrid_Location_Coordinate &from)
::google::protobuf::int64 population_
inline::google::protobuf::Arena * GetArenaNoVirtual() const
::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_ContactPools > contactpools_
GeoGrid_Person * New() const final
void AddDescriptors_geogrid_2eproto()
GeoGrid_Location_Commute Commute
static const GeoGrid_Location * internal_default_instance()
void Swap(GeoGrid_Location_Commute *other)
GeoGrid_Location_ContactPoolsDefaultTypeInternal _GeoGrid_Location_ContactPools_default_instance_
static bool Type_IsValid(int value)
static const ::google::protobuf::uint32 offsets[]
GeoGrid_Location_ContactPools_ContactPool * New() const final
GeoGrid_Location_ContactPools_ContactPool ContactPool
friend void swap(GeoGrid_Location &a, GeoGrid_Location &b)
std::atomic< int > _people_cached_byte_size_
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
static const ::google::protobuf::Descriptor * descriptor()
friend void swap(GeoGrid_Location_Coordinate &a, GeoGrid_Location_Coordinate &b)
::google::protobuf::int64 province_
static const GeoGrid_Location_Coordinate * internal_default_instance()
void Swap(GeoGrid_Location_Coordinate *other)
GeoGridDefaultTypeInternal _GeoGrid_default_instance_
GeoGrid_Location_ContactPools & operator=(const GeoGrid_Location_ContactPools &from)
void * MaybeArenaPtr() const
const ::google::protobuf::EnumDescriptor * GeoGrid_Location_ContactPools_Type_descriptor()
GeoGrid_Location_ContactPools * New(::google::protobuf::Arena *arena) const final
GeoGrid_Person * New(::google::protobuf::Arena *arena) const final
void Swap(GeoGrid *other)
static const ::google::protobuf::Descriptor * descriptor()
inline::google::protobuf::Arena * GetArenaNoVirtual() const
mutable::google::protobuf::internal::CachedSize _cached_size_
GeoGrid_Location_Commute & operator=(const GeoGrid_Location_Commute &from)
static const ::google::protobuf::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
::google::protobuf::int64 id_
void Swap(GeoGrid_Location_ContactPools_ContactPool *other)
void Swap(GeoGrid_Location *other)
GeoGrid_Location_ContactPools_ContactPool & operator=(const GeoGrid_Location_ContactPools_ContactPool &from)
friend void swap(GeoGrid &a, GeoGrid &b)
void * MaybeArenaPtr() const
::google::protobuf::internal::ArenaStringPtr name_
static const ::google::protobuf::EnumDescriptor * Type_descriptor()
GeoGrid_LocationDefaultTypeInternal _GeoGrid_Location_default_instance_
static const GeoGrid_Location_ContactPools * internal_default_instance()
void Swap(GeoGrid_Location_ContactPools *other)
::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Location_ContactPools_ContactPool > pools_
void * MaybeArenaPtr() const
void Swap(GeoGrid_Person *other)
int GetCachedSize() const final
const GeoGrid_Location_ContactPools_Type GeoGrid_Location_ContactPools_Type_Type_MIN
mutable::google::protobuf::internal::CachedSize _cached_size_
void * MaybeArenaPtr() const
int GetCachedSize() const final
::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_
static const GeoGrid_Location_Commute * internal_default_instance()
static const ::google::protobuf::Descriptor * descriptor()
GeoGrid_Location_ContactPools_ContactPool * New(::google::protobuf::Arena *arena) const final
void * MaybeArenaPtr() const
GeoGrid_Location_ContactPools ContactPools
::google::protobuf::RepeatedPtrField< ::proto::GeoGrid_Person > persons_
::proto::GeoGrid_Location_Coordinate * coordinate_
GeoGrid * New() const final
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
GeoGrid_Location_Commute * New() const final
static const GeoGrid_Location_ContactPools_ContactPool * internal_default_instance()