OsmAnd
|
00001 // Generated by the protocol buffer compiler. DO NOT EDIT! 00002 // source: osmand_odb.proto 00003 00004 #ifndef PROTOBUF_osmand_5fodb_2eproto__INCLUDED 00005 #define PROTOBUF_osmand_5fodb_2eproto__INCLUDED 00006 00007 #include <string> 00008 00009 #include <google/protobuf/stubs/common.h> 00010 00011 #if GOOGLE_PROTOBUF_VERSION < 2003000 00012 #error This file was generated by a newer version of protoc which is 00013 #error incompatible with your Protocol Buffer headers. Please update 00014 #error your headers. 00015 #endif 00016 #if 2003000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION 00017 #error This file was generated by an older version of protoc which is 00018 #error incompatible with your Protocol Buffer headers. Please 00019 #error regenerate this file with a newer version of protoc. 00020 #endif 00021 00022 #include <google/protobuf/generated_message_util.h> 00023 #include <google/protobuf/repeated_field.h> 00024 #include <google/protobuf/extension_set.h> 00025 #include <google/protobuf/generated_message_reflection.h> 00026 // @@protoc_insertion_point(includes) 00027 00028 // Internal implementation detail -- do not call these. 00029 void protobuf_AddDesc_osmand_5fodb_2eproto(); 00030 void protobuf_AssignDesc_osmand_5fodb_2eproto(); 00031 void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 00032 00033 class OsmAndStructure; 00034 class StringTable; 00035 class IndexedStringTable; 00036 class OsmAndMapIndex; 00037 class MapEncodingRule; 00038 class MapRootLevel; 00039 class MapTree; 00040 class MapData; 00041 class OsmAndAddressIndex; 00042 class CitiesIndex; 00043 class PostcodesIndex; 00044 class CityIndex; 00045 class InteresectedStreets; 00046 class StreetIntersection; 00047 class PostcodeIndex; 00048 class StreetIndex; 00049 class BuildingIndex; 00050 class TransportRoutes; 00051 class TransportRoute; 00052 class TransportRouteStop; 00053 class TransportStop; 00054 class TransportStopsTree; 00055 class OsmAndTransportIndex; 00056 class OsmAndTileBox; 00057 class OsmAndPoiIndex; 00058 class OsmAndPoiNameIndex; 00059 class OsmAndPoiNameIndexData; 00060 class OsmAndPoiNameIndexDataAtom; 00061 class OsmAndCategoryTable; 00062 class OsmAndPoiBox; 00063 class OsmAndPoiCategories; 00064 class OsmAndPoiBoxData; 00065 class OsmAndPoiBoxDataAtom; 00066 00067 // =================================================================== 00068 00069 class OsmAndStructure : public ::google::protobuf::Message { 00070 public: 00071 OsmAndStructure(); 00072 virtual ~OsmAndStructure(); 00073 00074 OsmAndStructure(const OsmAndStructure& from); 00075 00076 inline OsmAndStructure& operator=(const OsmAndStructure& from) { 00077 CopyFrom(from); 00078 return *this; 00079 } 00080 00081 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 00082 return _unknown_fields_; 00083 } 00084 00085 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 00086 return &_unknown_fields_; 00087 } 00088 00089 static const ::google::protobuf::Descriptor* descriptor(); 00090 static const OsmAndStructure& default_instance(); 00091 00092 void Swap(OsmAndStructure* other); 00093 00094 // implements Message ---------------------------------------------- 00095 00096 OsmAndStructure* New() const; 00097 void CopyFrom(const ::google::protobuf::Message& from); 00098 void MergeFrom(const ::google::protobuf::Message& from); 00099 void CopyFrom(const OsmAndStructure& from); 00100 void MergeFrom(const OsmAndStructure& from); 00101 void Clear(); 00102 bool IsInitialized() const; 00103 00104 int ByteSize() const; 00105 bool MergePartialFromCodedStream( 00106 ::google::protobuf::io::CodedInputStream* input); 00107 void SerializeWithCachedSizes( 00108 ::google::protobuf::io::CodedOutputStream* output) const; 00109 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 00110 int GetCachedSize() const { return _cached_size_; } 00111 private: 00112 void SharedCtor(); 00113 void SharedDtor(); 00114 void SetCachedSize(int size) const; 00115 public: 00116 00117 ::google::protobuf::Metadata GetMetadata() const; 00118 00119 // nested types ---------------------------------------------------- 00120 00121 // accessors ------------------------------------------------------- 00122 00123 // required uint32 version = 1; 00124 inline bool has_version() const; 00125 inline void clear_version(); 00126 static const int kVersionFieldNumber = 1; 00127 inline ::google::protobuf::uint32 version() const; 00128 inline void set_version(::google::protobuf::uint32 value); 00129 00130 // repeated .OsmAndMapIndex mapIndex = 2; 00131 inline int mapindex_size() const; 00132 inline void clear_mapindex(); 00133 static const int kMapIndexFieldNumber = 2; 00134 inline const ::OsmAndMapIndex& mapindex(int index) const; 00135 inline ::OsmAndMapIndex* mutable_mapindex(int index); 00136 inline ::OsmAndMapIndex* add_mapindex(); 00137 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndMapIndex >& 00138 mapindex() const; 00139 inline ::google::protobuf::RepeatedPtrField< ::OsmAndMapIndex >* 00140 mutable_mapindex(); 00141 00142 // repeated .OsmAndAddressIndex addressIndex = 3; 00143 inline int addressindex_size() const; 00144 inline void clear_addressindex(); 00145 static const int kAddressIndexFieldNumber = 3; 00146 inline const ::OsmAndAddressIndex& addressindex(int index) const; 00147 inline ::OsmAndAddressIndex* mutable_addressindex(int index); 00148 inline ::OsmAndAddressIndex* add_addressindex(); 00149 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndAddressIndex >& 00150 addressindex() const; 00151 inline ::google::protobuf::RepeatedPtrField< ::OsmAndAddressIndex >* 00152 mutable_addressindex(); 00153 00154 // repeated .OsmAndTransportIndex transportIndex = 4; 00155 inline int transportindex_size() const; 00156 inline void clear_transportindex(); 00157 static const int kTransportIndexFieldNumber = 4; 00158 inline const ::OsmAndTransportIndex& transportindex(int index) const; 00159 inline ::OsmAndTransportIndex* mutable_transportindex(int index); 00160 inline ::OsmAndTransportIndex* add_transportindex(); 00161 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndTransportIndex >& 00162 transportindex() const; 00163 inline ::google::protobuf::RepeatedPtrField< ::OsmAndTransportIndex >* 00164 mutable_transportindex(); 00165 00166 // repeated .OsmAndPoiIndex poiIndex = 5; 00167 inline int poiindex_size() const; 00168 inline void clear_poiindex(); 00169 static const int kPoiIndexFieldNumber = 5; 00170 inline const ::OsmAndPoiIndex& poiindex(int index) const; 00171 inline ::OsmAndPoiIndex* mutable_poiindex(int index); 00172 inline ::OsmAndPoiIndex* add_poiindex(); 00173 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndPoiIndex >& 00174 poiindex() const; 00175 inline ::google::protobuf::RepeatedPtrField< ::OsmAndPoiIndex >* 00176 mutable_poiindex(); 00177 00178 // required uint32 versionConfirm = 32; 00179 inline bool has_versionconfirm() const; 00180 inline void clear_versionconfirm(); 00181 static const int kVersionConfirmFieldNumber = 32; 00182 inline ::google::protobuf::uint32 versionconfirm() const; 00183 inline void set_versionconfirm(::google::protobuf::uint32 value); 00184 00185 // @@protoc_insertion_point(class_scope:OsmAndStructure) 00186 private: 00187 ::google::protobuf::UnknownFieldSet _unknown_fields_; 00188 mutable int _cached_size_; 00189 00190 ::google::protobuf::uint32 version_; 00191 ::google::protobuf::RepeatedPtrField< ::OsmAndMapIndex > mapindex_; 00192 ::google::protobuf::RepeatedPtrField< ::OsmAndAddressIndex > addressindex_; 00193 ::google::protobuf::RepeatedPtrField< ::OsmAndTransportIndex > transportindex_; 00194 ::google::protobuf::RepeatedPtrField< ::OsmAndPoiIndex > poiindex_; 00195 ::google::protobuf::uint32 versionconfirm_; 00196 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 00197 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 00198 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 00199 00200 ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; 00201 00202 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 00203 inline bool _has_bit(int index) const { 00204 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 00205 } 00206 inline void _set_bit(int index) { 00207 _has_bits_[index / 32] |= (1u << (index % 32)); 00208 } 00209 inline void _clear_bit(int index) { 00210 _has_bits_[index / 32] &= ~(1u << (index % 32)); 00211 } 00212 00213 void InitAsDefaultInstance(); 00214 static OsmAndStructure* default_instance_; 00215 }; 00216 // ------------------------------------------------------------------- 00217 00218 class StringTable : public ::google::protobuf::Message { 00219 public: 00220 StringTable(); 00221 virtual ~StringTable(); 00222 00223 StringTable(const StringTable& from); 00224 00225 inline StringTable& operator=(const StringTable& from) { 00226 CopyFrom(from); 00227 return *this; 00228 } 00229 00230 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 00231 return _unknown_fields_; 00232 } 00233 00234 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 00235 return &_unknown_fields_; 00236 } 00237 00238 static const ::google::protobuf::Descriptor* descriptor(); 00239 static const StringTable& default_instance(); 00240 00241 void Swap(StringTable* other); 00242 00243 // implements Message ---------------------------------------------- 00244 00245 StringTable* New() const; 00246 void CopyFrom(const ::google::protobuf::Message& from); 00247 void MergeFrom(const ::google::protobuf::Message& from); 00248 void CopyFrom(const StringTable& from); 00249 void MergeFrom(const StringTable& from); 00250 void Clear(); 00251 bool IsInitialized() const; 00252 00253 int ByteSize() const; 00254 bool MergePartialFromCodedStream( 00255 ::google::protobuf::io::CodedInputStream* input); 00256 void SerializeWithCachedSizes( 00257 ::google::protobuf::io::CodedOutputStream* output) const; 00258 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 00259 int GetCachedSize() const { return _cached_size_; } 00260 private: 00261 void SharedCtor(); 00262 void SharedDtor(); 00263 void SetCachedSize(int size) const; 00264 public: 00265 00266 ::google::protobuf::Metadata GetMetadata() const; 00267 00268 // nested types ---------------------------------------------------- 00269 00270 // accessors ------------------------------------------------------- 00271 00272 // repeated string s = 1; 00273 inline int s_size() const; 00274 inline void clear_s(); 00275 static const int kSFieldNumber = 1; 00276 inline const ::std::string& s(int index) const; 00277 inline ::std::string* mutable_s(int index); 00278 inline void set_s(int index, const ::std::string& value); 00279 inline void set_s(int index, const char* value); 00280 inline void set_s(int index, const char* value, size_t size); 00281 inline ::std::string* add_s(); 00282 inline void add_s(const ::std::string& value); 00283 inline void add_s(const char* value); 00284 inline void add_s(const char* value, size_t size); 00285 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& s() const; 00286 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_s(); 00287 00288 // @@protoc_insertion_point(class_scope:StringTable) 00289 private: 00290 ::google::protobuf::UnknownFieldSet _unknown_fields_; 00291 mutable int _cached_size_; 00292 00293 ::google::protobuf::RepeatedPtrField< ::std::string> s_; 00294 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 00295 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 00296 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 00297 00298 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; 00299 00300 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 00301 inline bool _has_bit(int index) const { 00302 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 00303 } 00304 inline void _set_bit(int index) { 00305 _has_bits_[index / 32] |= (1u << (index % 32)); 00306 } 00307 inline void _clear_bit(int index) { 00308 _has_bits_[index / 32] &= ~(1u << (index % 32)); 00309 } 00310 00311 void InitAsDefaultInstance(); 00312 static StringTable* default_instance_; 00313 }; 00314 // ------------------------------------------------------------------- 00315 00316 class IndexedStringTable : public ::google::protobuf::Message { 00317 public: 00318 IndexedStringTable(); 00319 virtual ~IndexedStringTable(); 00320 00321 IndexedStringTable(const IndexedStringTable& from); 00322 00323 inline IndexedStringTable& operator=(const IndexedStringTable& from) { 00324 CopyFrom(from); 00325 return *this; 00326 } 00327 00328 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 00329 return _unknown_fields_; 00330 } 00331 00332 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 00333 return &_unknown_fields_; 00334 } 00335 00336 static const ::google::protobuf::Descriptor* descriptor(); 00337 static const IndexedStringTable& default_instance(); 00338 00339 void Swap(IndexedStringTable* other); 00340 00341 // implements Message ---------------------------------------------- 00342 00343 IndexedStringTable* New() const; 00344 void CopyFrom(const ::google::protobuf::Message& from); 00345 void MergeFrom(const ::google::protobuf::Message& from); 00346 void CopyFrom(const IndexedStringTable& from); 00347 void MergeFrom(const IndexedStringTable& from); 00348 void Clear(); 00349 bool IsInitialized() const; 00350 00351 int ByteSize() const; 00352 bool MergePartialFromCodedStream( 00353 ::google::protobuf::io::CodedInputStream* input); 00354 void SerializeWithCachedSizes( 00355 ::google::protobuf::io::CodedOutputStream* output) const; 00356 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 00357 int GetCachedSize() const { return _cached_size_; } 00358 private: 00359 void SharedCtor(); 00360 void SharedDtor(); 00361 void SetCachedSize(int size) const; 00362 public: 00363 00364 ::google::protobuf::Metadata GetMetadata() const; 00365 00366 // nested types ---------------------------------------------------- 00367 00368 // accessors ------------------------------------------------------- 00369 00370 // optional string prefix = 1; 00371 inline bool has_prefix() const; 00372 inline void clear_prefix(); 00373 static const int kPrefixFieldNumber = 1; 00374 inline const ::std::string& prefix() const; 00375 inline void set_prefix(const ::std::string& value); 00376 inline void set_prefix(const char* value); 00377 inline void set_prefix(const char* value, size_t size); 00378 inline ::std::string* mutable_prefix(); 00379 00380 // repeated string key = 3; 00381 inline int key_size() const; 00382 inline void clear_key(); 00383 static const int kKeyFieldNumber = 3; 00384 inline const ::std::string& key(int index) const; 00385 inline ::std::string* mutable_key(int index); 00386 inline void set_key(int index, const ::std::string& value); 00387 inline void set_key(int index, const char* value); 00388 inline void set_key(int index, const char* value, size_t size); 00389 inline ::std::string* add_key(); 00390 inline void add_key(const ::std::string& value); 00391 inline void add_key(const char* value); 00392 inline void add_key(const char* value, size_t size); 00393 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& key() const; 00394 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_key(); 00395 00396 // repeated uint32 val = 4; 00397 inline int val_size() const; 00398 inline void clear_val(); 00399 static const int kValFieldNumber = 4; 00400 inline ::google::protobuf::uint32 val(int index) const; 00401 inline void set_val(int index, ::google::protobuf::uint32 value); 00402 inline void add_val(::google::protobuf::uint32 value); 00403 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& 00404 val() const; 00405 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* 00406 mutable_val(); 00407 00408 // repeated .IndexedStringTable subtables = 5; 00409 inline int subtables_size() const; 00410 inline void clear_subtables(); 00411 static const int kSubtablesFieldNumber = 5; 00412 inline const ::IndexedStringTable& subtables(int index) const; 00413 inline ::IndexedStringTable* mutable_subtables(int index); 00414 inline ::IndexedStringTable* add_subtables(); 00415 inline const ::google::protobuf::RepeatedPtrField< ::IndexedStringTable >& 00416 subtables() const; 00417 inline ::google::protobuf::RepeatedPtrField< ::IndexedStringTable >* 00418 mutable_subtables(); 00419 00420 // @@protoc_insertion_point(class_scope:IndexedStringTable) 00421 private: 00422 ::google::protobuf::UnknownFieldSet _unknown_fields_; 00423 mutable int _cached_size_; 00424 00425 ::std::string* prefix_; 00426 static const ::std::string _default_prefix_; 00427 ::google::protobuf::RepeatedPtrField< ::std::string> key_; 00428 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > val_; 00429 ::google::protobuf::RepeatedPtrField< ::IndexedStringTable > subtables_; 00430 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 00431 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 00432 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 00433 00434 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; 00435 00436 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 00437 inline bool _has_bit(int index) const { 00438 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 00439 } 00440 inline void _set_bit(int index) { 00441 _has_bits_[index / 32] |= (1u << (index % 32)); 00442 } 00443 inline void _clear_bit(int index) { 00444 _has_bits_[index / 32] &= ~(1u << (index % 32)); 00445 } 00446 00447 void InitAsDefaultInstance(); 00448 static IndexedStringTable* default_instance_; 00449 }; 00450 // ------------------------------------------------------------------- 00451 00452 class OsmAndMapIndex : public ::google::protobuf::Message { 00453 public: 00454 OsmAndMapIndex(); 00455 virtual ~OsmAndMapIndex(); 00456 00457 OsmAndMapIndex(const OsmAndMapIndex& from); 00458 00459 inline OsmAndMapIndex& operator=(const OsmAndMapIndex& from) { 00460 CopyFrom(from); 00461 return *this; 00462 } 00463 00464 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 00465 return _unknown_fields_; 00466 } 00467 00468 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 00469 return &_unknown_fields_; 00470 } 00471 00472 static const ::google::protobuf::Descriptor* descriptor(); 00473 static const OsmAndMapIndex& default_instance(); 00474 00475 void Swap(OsmAndMapIndex* other); 00476 00477 // implements Message ---------------------------------------------- 00478 00479 OsmAndMapIndex* New() const; 00480 void CopyFrom(const ::google::protobuf::Message& from); 00481 void MergeFrom(const ::google::protobuf::Message& from); 00482 void CopyFrom(const OsmAndMapIndex& from); 00483 void MergeFrom(const OsmAndMapIndex& from); 00484 void Clear(); 00485 bool IsInitialized() const; 00486 00487 int ByteSize() const; 00488 bool MergePartialFromCodedStream( 00489 ::google::protobuf::io::CodedInputStream* input); 00490 void SerializeWithCachedSizes( 00491 ::google::protobuf::io::CodedOutputStream* output) const; 00492 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 00493 int GetCachedSize() const { return _cached_size_; } 00494 private: 00495 void SharedCtor(); 00496 void SharedDtor(); 00497 void SetCachedSize(int size) const; 00498 public: 00499 00500 ::google::protobuf::Metadata GetMetadata() const; 00501 00502 // nested types ---------------------------------------------------- 00503 00504 // accessors ------------------------------------------------------- 00505 00506 // repeated .MapRootLevel levels = 1; 00507 inline int levels_size() const; 00508 inline void clear_levels(); 00509 static const int kLevelsFieldNumber = 1; 00510 inline const ::MapRootLevel& levels(int index) const; 00511 inline ::MapRootLevel* mutable_levels(int index); 00512 inline ::MapRootLevel* add_levels(); 00513 inline const ::google::protobuf::RepeatedPtrField< ::MapRootLevel >& 00514 levels() const; 00515 inline ::google::protobuf::RepeatedPtrField< ::MapRootLevel >* 00516 mutable_levels(); 00517 00518 // optional string name = 3; 00519 inline bool has_name() const; 00520 inline void clear_name(); 00521 static const int kNameFieldNumber = 3; 00522 inline const ::std::string& name() const; 00523 inline void set_name(const ::std::string& value); 00524 inline void set_name(const char* value); 00525 inline void set_name(const char* value, size_t size); 00526 inline ::std::string* mutable_name(); 00527 00528 // repeated .MapEncodingRule rules = 8; 00529 inline int rules_size() const; 00530 inline void clear_rules(); 00531 static const int kRulesFieldNumber = 8; 00532 inline const ::MapEncodingRule& rules(int index) const; 00533 inline ::MapEncodingRule* mutable_rules(int index); 00534 inline ::MapEncodingRule* add_rules(); 00535 inline const ::google::protobuf::RepeatedPtrField< ::MapEncodingRule >& 00536 rules() const; 00537 inline ::google::protobuf::RepeatedPtrField< ::MapEncodingRule >* 00538 mutable_rules(); 00539 00540 // @@protoc_insertion_point(class_scope:OsmAndMapIndex) 00541 private: 00542 ::google::protobuf::UnknownFieldSet _unknown_fields_; 00543 mutable int _cached_size_; 00544 00545 ::google::protobuf::RepeatedPtrField< ::MapRootLevel > levels_; 00546 ::std::string* name_; 00547 static const ::std::string _default_name_; 00548 ::google::protobuf::RepeatedPtrField< ::MapEncodingRule > rules_; 00549 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 00550 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 00551 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 00552 00553 ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32]; 00554 00555 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 00556 inline bool _has_bit(int index) const { 00557 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 00558 } 00559 inline void _set_bit(int index) { 00560 _has_bits_[index / 32] |= (1u << (index % 32)); 00561 } 00562 inline void _clear_bit(int index) { 00563 _has_bits_[index / 32] &= ~(1u << (index % 32)); 00564 } 00565 00566 void InitAsDefaultInstance(); 00567 static OsmAndMapIndex* default_instance_; 00568 }; 00569 // ------------------------------------------------------------------- 00570 00571 class MapEncodingRule : public ::google::protobuf::Message { 00572 public: 00573 MapEncodingRule(); 00574 virtual ~MapEncodingRule(); 00575 00576 MapEncodingRule(const MapEncodingRule& from); 00577 00578 inline MapEncodingRule& operator=(const MapEncodingRule& from) { 00579 CopyFrom(from); 00580 return *this; 00581 } 00582 00583 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 00584 return _unknown_fields_; 00585 } 00586 00587 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 00588 return &_unknown_fields_; 00589 } 00590 00591 static const ::google::protobuf::Descriptor* descriptor(); 00592 static const MapEncodingRule& default_instance(); 00593 00594 void Swap(MapEncodingRule* other); 00595 00596 // implements Message ---------------------------------------------- 00597 00598 MapEncodingRule* New() const; 00599 void CopyFrom(const ::google::protobuf::Message& from); 00600 void MergeFrom(const ::google::protobuf::Message& from); 00601 void CopyFrom(const MapEncodingRule& from); 00602 void MergeFrom(const MapEncodingRule& from); 00603 void Clear(); 00604 bool IsInitialized() const; 00605 00606 int ByteSize() const; 00607 bool MergePartialFromCodedStream( 00608 ::google::protobuf::io::CodedInputStream* input); 00609 void SerializeWithCachedSizes( 00610 ::google::protobuf::io::CodedOutputStream* output) const; 00611 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 00612 int GetCachedSize() const { return _cached_size_; } 00613 private: 00614 void SharedCtor(); 00615 void SharedDtor(); 00616 void SetCachedSize(int size) const; 00617 public: 00618 00619 ::google::protobuf::Metadata GetMetadata() const; 00620 00621 // nested types ---------------------------------------------------- 00622 00623 // accessors ------------------------------------------------------- 00624 00625 // required string tag = 3; 00626 inline bool has_tag() const; 00627 inline void clear_tag(); 00628 static const int kTagFieldNumber = 3; 00629 inline const ::std::string& tag() const; 00630 inline void set_tag(const ::std::string& value); 00631 inline void set_tag(const char* value); 00632 inline void set_tag(const char* value, size_t size); 00633 inline ::std::string* mutable_tag(); 00634 00635 // optional string value = 5; 00636 inline bool has_value() const; 00637 inline void clear_value(); 00638 static const int kValueFieldNumber = 5; 00639 inline const ::std::string& value() const; 00640 inline void set_value(const ::std::string& value); 00641 inline void set_value(const char* value); 00642 inline void set_value(const char* value, size_t size); 00643 inline ::std::string* mutable_value(); 00644 00645 // required uint32 type = 6; 00646 inline bool has_type() const; 00647 inline void clear_type(); 00648 static const int kTypeFieldNumber = 6; 00649 inline ::google::protobuf::uint32 type() const; 00650 inline void set_type(::google::protobuf::uint32 value); 00651 00652 // required uint32 subtype = 7; 00653 inline bool has_subtype() const; 00654 inline void clear_subtype(); 00655 static const int kSubtypeFieldNumber = 7; 00656 inline ::google::protobuf::uint32 subtype() const; 00657 inline void set_subtype(::google::protobuf::uint32 value); 00658 00659 // optional uint32 minZoom = 9; 00660 inline bool has_minzoom() const; 00661 inline void clear_minzoom(); 00662 static const int kMinZoomFieldNumber = 9; 00663 inline ::google::protobuf::uint32 minzoom() const; 00664 inline void set_minzoom(::google::protobuf::uint32 value); 00665 00666 // @@protoc_insertion_point(class_scope:MapEncodingRule) 00667 private: 00668 ::google::protobuf::UnknownFieldSet _unknown_fields_; 00669 mutable int _cached_size_; 00670 00671 ::std::string* tag_; 00672 static const ::std::string _default_tag_; 00673 ::std::string* value_; 00674 static const ::std::string _default_value_; 00675 ::google::protobuf::uint32 type_; 00676 ::google::protobuf::uint32 subtype_; 00677 ::google::protobuf::uint32 minzoom_; 00678 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 00679 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 00680 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 00681 00682 ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; 00683 00684 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 00685 inline bool _has_bit(int index) const { 00686 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 00687 } 00688 inline void _set_bit(int index) { 00689 _has_bits_[index / 32] |= (1u << (index % 32)); 00690 } 00691 inline void _clear_bit(int index) { 00692 _has_bits_[index / 32] &= ~(1u << (index % 32)); 00693 } 00694 00695 void InitAsDefaultInstance(); 00696 static MapEncodingRule* default_instance_; 00697 }; 00698 // ------------------------------------------------------------------- 00699 00700 class MapRootLevel : public ::google::protobuf::Message { 00701 public: 00702 MapRootLevel(); 00703 virtual ~MapRootLevel(); 00704 00705 MapRootLevel(const MapRootLevel& from); 00706 00707 inline MapRootLevel& operator=(const MapRootLevel& from) { 00708 CopyFrom(from); 00709 return *this; 00710 } 00711 00712 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 00713 return _unknown_fields_; 00714 } 00715 00716 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 00717 return &_unknown_fields_; 00718 } 00719 00720 static const ::google::protobuf::Descriptor* descriptor(); 00721 static const MapRootLevel& default_instance(); 00722 00723 void Swap(MapRootLevel* other); 00724 00725 // implements Message ---------------------------------------------- 00726 00727 MapRootLevel* New() const; 00728 void CopyFrom(const ::google::protobuf::Message& from); 00729 void MergeFrom(const ::google::protobuf::Message& from); 00730 void CopyFrom(const MapRootLevel& from); 00731 void MergeFrom(const MapRootLevel& from); 00732 void Clear(); 00733 bool IsInitialized() const; 00734 00735 int ByteSize() const; 00736 bool MergePartialFromCodedStream( 00737 ::google::protobuf::io::CodedInputStream* input); 00738 void SerializeWithCachedSizes( 00739 ::google::protobuf::io::CodedOutputStream* output) const; 00740 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 00741 int GetCachedSize() const { return _cached_size_; } 00742 private: 00743 void SharedCtor(); 00744 void SharedDtor(); 00745 void SetCachedSize(int size) const; 00746 public: 00747 00748 ::google::protobuf::Metadata GetMetadata() const; 00749 00750 // nested types ---------------------------------------------------- 00751 00752 // accessors ------------------------------------------------------- 00753 00754 // required int32 maxZoom = 1; 00755 inline bool has_maxzoom() const; 00756 inline void clear_maxzoom(); 00757 static const int kMaxZoomFieldNumber = 1; 00758 inline ::google::protobuf::int32 maxzoom() const; 00759 inline void set_maxzoom(::google::protobuf::int32 value); 00760 00761 // required int32 minZoom = 2; 00762 inline bool has_minzoom() const; 00763 inline void clear_minzoom(); 00764 static const int kMinZoomFieldNumber = 2; 00765 inline ::google::protobuf::int32 minzoom() const; 00766 inline void set_minzoom(::google::protobuf::int32 value); 00767 00768 // required int32 left = 3; 00769 inline bool has_left() const; 00770 inline void clear_left(); 00771 static const int kLeftFieldNumber = 3; 00772 inline ::google::protobuf::int32 left() const; 00773 inline void set_left(::google::protobuf::int32 value); 00774 00775 // required int32 right = 4; 00776 inline bool has_right() const; 00777 inline void clear_right(); 00778 static const int kRightFieldNumber = 4; 00779 inline ::google::protobuf::int32 right() const; 00780 inline void set_right(::google::protobuf::int32 value); 00781 00782 // required int32 top = 5; 00783 inline bool has_top() const; 00784 inline void clear_top(); 00785 static const int kTopFieldNumber = 5; 00786 inline ::google::protobuf::int32 top() const; 00787 inline void set_top(::google::protobuf::int32 value); 00788 00789 // required int32 bottom = 6; 00790 inline bool has_bottom() const; 00791 inline void clear_bottom(); 00792 static const int kBottomFieldNumber = 6; 00793 inline ::google::protobuf::int32 bottom() const; 00794 inline void set_bottom(::google::protobuf::int32 value); 00795 00796 // repeated .MapTree root = 7; 00797 inline int root_size() const; 00798 inline void clear_root(); 00799 static const int kRootFieldNumber = 7; 00800 inline const ::MapTree& root(int index) const; 00801 inline ::MapTree* mutable_root(int index); 00802 inline ::MapTree* add_root(); 00803 inline const ::google::protobuf::RepeatedPtrField< ::MapTree >& 00804 root() const; 00805 inline ::google::protobuf::RepeatedPtrField< ::MapTree >* 00806 mutable_root(); 00807 00808 // @@protoc_insertion_point(class_scope:MapRootLevel) 00809 private: 00810 ::google::protobuf::UnknownFieldSet _unknown_fields_; 00811 mutable int _cached_size_; 00812 00813 ::google::protobuf::int32 maxzoom_; 00814 ::google::protobuf::int32 minzoom_; 00815 ::google::protobuf::int32 left_; 00816 ::google::protobuf::int32 right_; 00817 ::google::protobuf::int32 top_; 00818 ::google::protobuf::int32 bottom_; 00819 ::google::protobuf::RepeatedPtrField< ::MapTree > root_; 00820 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 00821 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 00822 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 00823 00824 ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; 00825 00826 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 00827 inline bool _has_bit(int index) const { 00828 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 00829 } 00830 inline void _set_bit(int index) { 00831 _has_bits_[index / 32] |= (1u << (index % 32)); 00832 } 00833 inline void _clear_bit(int index) { 00834 _has_bits_[index / 32] &= ~(1u << (index % 32)); 00835 } 00836 00837 void InitAsDefaultInstance(); 00838 static MapRootLevel* default_instance_; 00839 }; 00840 // ------------------------------------------------------------------- 00841 00842 class MapTree : public ::google::protobuf::Message { 00843 public: 00844 MapTree(); 00845 virtual ~MapTree(); 00846 00847 MapTree(const MapTree& from); 00848 00849 inline MapTree& operator=(const MapTree& from) { 00850 CopyFrom(from); 00851 return *this; 00852 } 00853 00854 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 00855 return _unknown_fields_; 00856 } 00857 00858 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 00859 return &_unknown_fields_; 00860 } 00861 00862 static const ::google::protobuf::Descriptor* descriptor(); 00863 static const MapTree& default_instance(); 00864 00865 void Swap(MapTree* other); 00866 00867 // implements Message ---------------------------------------------- 00868 00869 MapTree* New() const; 00870 void CopyFrom(const ::google::protobuf::Message& from); 00871 void MergeFrom(const ::google::protobuf::Message& from); 00872 void CopyFrom(const MapTree& from); 00873 void MergeFrom(const MapTree& from); 00874 void Clear(); 00875 bool IsInitialized() const; 00876 00877 int ByteSize() const; 00878 bool MergePartialFromCodedStream( 00879 ::google::protobuf::io::CodedInputStream* input); 00880 void SerializeWithCachedSizes( 00881 ::google::protobuf::io::CodedOutputStream* output) const; 00882 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 00883 int GetCachedSize() const { return _cached_size_; } 00884 private: 00885 void SharedCtor(); 00886 void SharedDtor(); 00887 void SetCachedSize(int size) const; 00888 public: 00889 00890 ::google::protobuf::Metadata GetMetadata() const; 00891 00892 // nested types ---------------------------------------------------- 00893 00894 // accessors ------------------------------------------------------- 00895 00896 // required sint32 left = 1; 00897 inline bool has_left() const; 00898 inline void clear_left(); 00899 static const int kLeftFieldNumber = 1; 00900 inline ::google::protobuf::int32 left() const; 00901 inline void set_left(::google::protobuf::int32 value); 00902 00903 // required sint32 right = 2; 00904 inline bool has_right() const; 00905 inline void clear_right(); 00906 static const int kRightFieldNumber = 2; 00907 inline ::google::protobuf::int32 right() const; 00908 inline void set_right(::google::protobuf::int32 value); 00909 00910 // required sint32 top = 3; 00911 inline bool has_top() const; 00912 inline void clear_top(); 00913 static const int kTopFieldNumber = 3; 00914 inline ::google::protobuf::int32 top() const; 00915 inline void set_top(::google::protobuf::int32 value); 00916 00917 // required sint32 bottom = 4; 00918 inline bool has_bottom() const; 00919 inline void clear_bottom(); 00920 static const int kBottomFieldNumber = 4; 00921 inline ::google::protobuf::int32 bottom() const; 00922 inline void set_bottom(::google::protobuf::int32 value); 00923 00924 // optional .StringTable oldstringTable = 5; 00925 inline bool has_oldstringtable() const; 00926 inline void clear_oldstringtable(); 00927 static const int kOldstringTableFieldNumber = 5; 00928 inline const ::StringTable& oldstringtable() const; 00929 inline ::StringTable* mutable_oldstringtable(); 00930 00931 // optional uint64 oldbaseId = 6; 00932 inline bool has_oldbaseid() const; 00933 inline void clear_oldbaseid(); 00934 static const int kOldbaseIdFieldNumber = 6; 00935 inline ::google::protobuf::uint64 oldbaseid() const; 00936 inline void set_oldbaseid(::google::protobuf::uint64 value); 00937 00938 // repeated .MapTree subtrees = 7; 00939 inline int subtrees_size() const; 00940 inline void clear_subtrees(); 00941 static const int kSubtreesFieldNumber = 7; 00942 inline const ::MapTree& subtrees(int index) const; 00943 inline ::MapTree* mutable_subtrees(int index); 00944 inline ::MapTree* add_subtrees(); 00945 inline const ::google::protobuf::RepeatedPtrField< ::MapTree >& 00946 subtrees() const; 00947 inline ::google::protobuf::RepeatedPtrField< ::MapTree >* 00948 mutable_subtrees(); 00949 00950 // repeated .MapData leafs = 8; 00951 inline int leafs_size() const; 00952 inline void clear_leafs(); 00953 static const int kLeafsFieldNumber = 8; 00954 inline const ::MapData& leafs(int index) const; 00955 inline ::MapData* mutable_leafs(int index); 00956 inline ::MapData* add_leafs(); 00957 inline const ::google::protobuf::RepeatedPtrField< ::MapData >& 00958 leafs() const; 00959 inline ::google::protobuf::RepeatedPtrField< ::MapData >* 00960 mutable_leafs(); 00961 00962 // optional uint64 baseId = 10; 00963 inline bool has_baseid() const; 00964 inline void clear_baseid(); 00965 static const int kBaseIdFieldNumber = 10; 00966 inline ::google::protobuf::uint64 baseid() const; 00967 inline void set_baseid(::google::protobuf::uint64 value); 00968 00969 // optional .StringTable stringTable = 11; 00970 inline bool has_stringtable() const; 00971 inline void clear_stringtable(); 00972 static const int kStringTableFieldNumber = 11; 00973 inline const ::StringTable& stringtable() const; 00974 inline ::StringTable* mutable_stringtable(); 00975 00976 // @@protoc_insertion_point(class_scope:MapTree) 00977 private: 00978 ::google::protobuf::UnknownFieldSet _unknown_fields_; 00979 mutable int _cached_size_; 00980 00981 ::google::protobuf::int32 left_; 00982 ::google::protobuf::int32 right_; 00983 ::google::protobuf::int32 top_; 00984 ::google::protobuf::int32 bottom_; 00985 ::StringTable* oldstringtable_; 00986 ::google::protobuf::uint64 oldbaseid_; 00987 ::google::protobuf::RepeatedPtrField< ::MapTree > subtrees_; 00988 ::google::protobuf::RepeatedPtrField< ::MapData > leafs_; 00989 ::google::protobuf::uint64 baseid_; 00990 ::StringTable* stringtable_; 00991 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 00992 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 00993 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 00994 00995 ::google::protobuf::uint32 _has_bits_[(10 + 31) / 32]; 00996 00997 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 00998 inline bool _has_bit(int index) const { 00999 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 01000 } 01001 inline void _set_bit(int index) { 01002 _has_bits_[index / 32] |= (1u << (index % 32)); 01003 } 01004 inline void _clear_bit(int index) { 01005 _has_bits_[index / 32] &= ~(1u << (index % 32)); 01006 } 01007 01008 void InitAsDefaultInstance(); 01009 static MapTree* default_instance_; 01010 }; 01011 // ------------------------------------------------------------------- 01012 01013 class MapData : public ::google::protobuf::Message { 01014 public: 01015 MapData(); 01016 virtual ~MapData(); 01017 01018 MapData(const MapData& from); 01019 01020 inline MapData& operator=(const MapData& from) { 01021 CopyFrom(from); 01022 return *this; 01023 } 01024 01025 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 01026 return _unknown_fields_; 01027 } 01028 01029 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 01030 return &_unknown_fields_; 01031 } 01032 01033 static const ::google::protobuf::Descriptor* descriptor(); 01034 static const MapData& default_instance(); 01035 01036 void Swap(MapData* other); 01037 01038 // implements Message ---------------------------------------------- 01039 01040 MapData* New() const; 01041 void CopyFrom(const ::google::protobuf::Message& from); 01042 void MergeFrom(const ::google::protobuf::Message& from); 01043 void CopyFrom(const MapData& from); 01044 void MergeFrom(const MapData& from); 01045 void Clear(); 01046 bool IsInitialized() const; 01047 01048 int ByteSize() const; 01049 bool MergePartialFromCodedStream( 01050 ::google::protobuf::io::CodedInputStream* input); 01051 void SerializeWithCachedSizes( 01052 ::google::protobuf::io::CodedOutputStream* output) const; 01053 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 01054 int GetCachedSize() const { return _cached_size_; } 01055 private: 01056 void SharedCtor(); 01057 void SharedDtor(); 01058 void SetCachedSize(int size) const; 01059 public: 01060 01061 ::google::protobuf::Metadata GetMetadata() const; 01062 01063 // nested types ---------------------------------------------------- 01064 01065 // accessors ------------------------------------------------------- 01066 01067 // required bytes coordinates = 1; 01068 inline bool has_coordinates() const; 01069 inline void clear_coordinates(); 01070 static const int kCoordinatesFieldNumber = 1; 01071 inline const ::std::string& coordinates() const; 01072 inline void set_coordinates(const ::std::string& value); 01073 inline void set_coordinates(const char* value); 01074 inline void set_coordinates(const void* value, size_t size); 01075 inline ::std::string* mutable_coordinates(); 01076 01077 // required bytes types = 2; 01078 inline bool has_types() const; 01079 inline void clear_types(); 01080 static const int kTypesFieldNumber = 2; 01081 inline const ::std::string& types() const; 01082 inline void set_types(const ::std::string& value); 01083 inline void set_types(const char* value); 01084 inline void set_types(const void* value, size_t size); 01085 inline ::std::string* mutable_types(); 01086 01087 // required sint64 id = 3; 01088 inline bool has_id() const; 01089 inline void clear_id(); 01090 static const int kIdFieldNumber = 3; 01091 inline ::google::protobuf::int64 id() const; 01092 inline void set_id(::google::protobuf::int64 value); 01093 01094 // optional uint32 stringId = 4; 01095 inline bool has_stringid() const; 01096 inline void clear_stringid(); 01097 static const int kStringIdFieldNumber = 4; 01098 inline ::google::protobuf::uint32 stringid() const; 01099 inline void set_stringid(::google::protobuf::uint32 value); 01100 01101 // optional bytes restrictions = 5; 01102 inline bool has_restrictions() const; 01103 inline void clear_restrictions(); 01104 static const int kRestrictionsFieldNumber = 5; 01105 inline const ::std::string& restrictions() const; 01106 inline void set_restrictions(const ::std::string& value); 01107 inline void set_restrictions(const char* value); 01108 inline void set_restrictions(const void* value, size_t size); 01109 inline ::std::string* mutable_restrictions(); 01110 01111 // optional int32 highwayMeta = 6; 01112 inline bool has_highwaymeta() const; 01113 inline void clear_highwaymeta(); 01114 static const int kHighwayMetaFieldNumber = 6; 01115 inline ::google::protobuf::int32 highwaymeta() const; 01116 inline void set_highwaymeta(::google::protobuf::int32 value); 01117 01118 // @@protoc_insertion_point(class_scope:MapData) 01119 private: 01120 ::google::protobuf::UnknownFieldSet _unknown_fields_; 01121 mutable int _cached_size_; 01122 01123 ::std::string* coordinates_; 01124 static const ::std::string _default_coordinates_; 01125 ::std::string* types_; 01126 static const ::std::string _default_types_; 01127 ::google::protobuf::int64 id_; 01128 ::google::protobuf::uint32 stringid_; 01129 ::std::string* restrictions_; 01130 static const ::std::string _default_restrictions_; 01131 ::google::protobuf::int32 highwaymeta_; 01132 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 01133 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 01134 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 01135 01136 ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; 01137 01138 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 01139 inline bool _has_bit(int index) const { 01140 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 01141 } 01142 inline void _set_bit(int index) { 01143 _has_bits_[index / 32] |= (1u << (index % 32)); 01144 } 01145 inline void _clear_bit(int index) { 01146 _has_bits_[index / 32] &= ~(1u << (index % 32)); 01147 } 01148 01149 void InitAsDefaultInstance(); 01150 static MapData* default_instance_; 01151 }; 01152 // ------------------------------------------------------------------- 01153 01154 class OsmAndAddressIndex : public ::google::protobuf::Message { 01155 public: 01156 OsmAndAddressIndex(); 01157 virtual ~OsmAndAddressIndex(); 01158 01159 OsmAndAddressIndex(const OsmAndAddressIndex& from); 01160 01161 inline OsmAndAddressIndex& operator=(const OsmAndAddressIndex& from) { 01162 CopyFrom(from); 01163 return *this; 01164 } 01165 01166 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 01167 return _unknown_fields_; 01168 } 01169 01170 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 01171 return &_unknown_fields_; 01172 } 01173 01174 static const ::google::protobuf::Descriptor* descriptor(); 01175 static const OsmAndAddressIndex& default_instance(); 01176 01177 void Swap(OsmAndAddressIndex* other); 01178 01179 // implements Message ---------------------------------------------- 01180 01181 OsmAndAddressIndex* New() const; 01182 void CopyFrom(const ::google::protobuf::Message& from); 01183 void MergeFrom(const ::google::protobuf::Message& from); 01184 void CopyFrom(const OsmAndAddressIndex& from); 01185 void MergeFrom(const OsmAndAddressIndex& from); 01186 void Clear(); 01187 bool IsInitialized() const; 01188 01189 int ByteSize() const; 01190 bool MergePartialFromCodedStream( 01191 ::google::protobuf::io::CodedInputStream* input); 01192 void SerializeWithCachedSizes( 01193 ::google::protobuf::io::CodedOutputStream* output) const; 01194 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 01195 int GetCachedSize() const { return _cached_size_; } 01196 private: 01197 void SharedCtor(); 01198 void SharedDtor(); 01199 void SetCachedSize(int size) const; 01200 public: 01201 01202 ::google::protobuf::Metadata GetMetadata() const; 01203 01204 // nested types ---------------------------------------------------- 01205 01206 // accessors ------------------------------------------------------- 01207 01208 // required string name = 1; 01209 inline bool has_name() const; 01210 inline void clear_name(); 01211 static const int kNameFieldNumber = 1; 01212 inline const ::std::string& name() const; 01213 inline void set_name(const ::std::string& value); 01214 inline void set_name(const char* value); 01215 inline void set_name(const char* value, size_t size); 01216 inline ::std::string* mutable_name(); 01217 01218 // optional string name_en = 2; 01219 inline bool has_name_en() const; 01220 inline void clear_name_en(); 01221 static const int kNameEnFieldNumber = 2; 01222 inline const ::std::string& name_en() const; 01223 inline void set_name_en(const ::std::string& value); 01224 inline void set_name_en(const char* value); 01225 inline void set_name_en(const char* value, size_t size); 01226 inline ::std::string* mutable_name_en(); 01227 01228 // optional .CitiesIndex cities = 5; 01229 inline bool has_cities() const; 01230 inline void clear_cities(); 01231 static const int kCitiesFieldNumber = 5; 01232 inline const ::CitiesIndex& cities() const; 01233 inline ::CitiesIndex* mutable_cities(); 01234 01235 // optional .PostcodesIndex postcodes = 6; 01236 inline bool has_postcodes() const; 01237 inline void clear_postcodes(); 01238 static const int kPostcodesFieldNumber = 6; 01239 inline const ::PostcodesIndex& postcodes() const; 01240 inline ::PostcodesIndex* mutable_postcodes(); 01241 01242 // optional .CitiesIndex villages = 7; 01243 inline bool has_villages() const; 01244 inline void clear_villages(); 01245 static const int kVillagesFieldNumber = 7; 01246 inline const ::CitiesIndex& villages() const; 01247 inline ::CitiesIndex* mutable_villages(); 01248 01249 // @@protoc_insertion_point(class_scope:OsmAndAddressIndex) 01250 private: 01251 ::google::protobuf::UnknownFieldSet _unknown_fields_; 01252 mutable int _cached_size_; 01253 01254 ::std::string* name_; 01255 static const ::std::string _default_name_; 01256 ::std::string* name_en_; 01257 static const ::std::string _default_name_en_; 01258 ::CitiesIndex* cities_; 01259 ::PostcodesIndex* postcodes_; 01260 ::CitiesIndex* villages_; 01261 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 01262 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 01263 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 01264 01265 ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; 01266 01267 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 01268 inline bool _has_bit(int index) const { 01269 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 01270 } 01271 inline void _set_bit(int index) { 01272 _has_bits_[index / 32] |= (1u << (index % 32)); 01273 } 01274 inline void _clear_bit(int index) { 01275 _has_bits_[index / 32] &= ~(1u << (index % 32)); 01276 } 01277 01278 void InitAsDefaultInstance(); 01279 static OsmAndAddressIndex* default_instance_; 01280 }; 01281 // ------------------------------------------------------------------- 01282 01283 class CitiesIndex : public ::google::protobuf::Message { 01284 public: 01285 CitiesIndex(); 01286 virtual ~CitiesIndex(); 01287 01288 CitiesIndex(const CitiesIndex& from); 01289 01290 inline CitiesIndex& operator=(const CitiesIndex& from) { 01291 CopyFrom(from); 01292 return *this; 01293 } 01294 01295 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 01296 return _unknown_fields_; 01297 } 01298 01299 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 01300 return &_unknown_fields_; 01301 } 01302 01303 static const ::google::protobuf::Descriptor* descriptor(); 01304 static const CitiesIndex& default_instance(); 01305 01306 void Swap(CitiesIndex* other); 01307 01308 // implements Message ---------------------------------------------- 01309 01310 CitiesIndex* New() const; 01311 void CopyFrom(const ::google::protobuf::Message& from); 01312 void MergeFrom(const ::google::protobuf::Message& from); 01313 void CopyFrom(const CitiesIndex& from); 01314 void MergeFrom(const CitiesIndex& from); 01315 void Clear(); 01316 bool IsInitialized() const; 01317 01318 int ByteSize() const; 01319 bool MergePartialFromCodedStream( 01320 ::google::protobuf::io::CodedInputStream* input); 01321 void SerializeWithCachedSizes( 01322 ::google::protobuf::io::CodedOutputStream* output) const; 01323 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 01324 int GetCachedSize() const { return _cached_size_; } 01325 private: 01326 void SharedCtor(); 01327 void SharedDtor(); 01328 void SetCachedSize(int size) const; 01329 public: 01330 01331 ::google::protobuf::Metadata GetMetadata() const; 01332 01333 // nested types ---------------------------------------------------- 01334 01335 // accessors ------------------------------------------------------- 01336 01337 // repeated .CityIndex cities = 1; 01338 inline int cities_size() const; 01339 inline void clear_cities(); 01340 static const int kCitiesFieldNumber = 1; 01341 inline const ::CityIndex& cities(int index) const; 01342 inline ::CityIndex* mutable_cities(int index); 01343 inline ::CityIndex* add_cities(); 01344 inline const ::google::protobuf::RepeatedPtrField< ::CityIndex >& 01345 cities() const; 01346 inline ::google::protobuf::RepeatedPtrField< ::CityIndex >* 01347 mutable_cities(); 01348 01349 // @@protoc_insertion_point(class_scope:CitiesIndex) 01350 private: 01351 ::google::protobuf::UnknownFieldSet _unknown_fields_; 01352 mutable int _cached_size_; 01353 01354 ::google::protobuf::RepeatedPtrField< ::CityIndex > cities_; 01355 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 01356 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 01357 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 01358 01359 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; 01360 01361 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 01362 inline bool _has_bit(int index) const { 01363 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 01364 } 01365 inline void _set_bit(int index) { 01366 _has_bits_[index / 32] |= (1u << (index % 32)); 01367 } 01368 inline void _clear_bit(int index) { 01369 _has_bits_[index / 32] &= ~(1u << (index % 32)); 01370 } 01371 01372 void InitAsDefaultInstance(); 01373 static CitiesIndex* default_instance_; 01374 }; 01375 // ------------------------------------------------------------------- 01376 01377 class PostcodesIndex : public ::google::protobuf::Message { 01378 public: 01379 PostcodesIndex(); 01380 virtual ~PostcodesIndex(); 01381 01382 PostcodesIndex(const PostcodesIndex& from); 01383 01384 inline PostcodesIndex& operator=(const PostcodesIndex& from) { 01385 CopyFrom(from); 01386 return *this; 01387 } 01388 01389 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 01390 return _unknown_fields_; 01391 } 01392 01393 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 01394 return &_unknown_fields_; 01395 } 01396 01397 static const ::google::protobuf::Descriptor* descriptor(); 01398 static const PostcodesIndex& default_instance(); 01399 01400 void Swap(PostcodesIndex* other); 01401 01402 // implements Message ---------------------------------------------- 01403 01404 PostcodesIndex* New() const; 01405 void CopyFrom(const ::google::protobuf::Message& from); 01406 void MergeFrom(const ::google::protobuf::Message& from); 01407 void CopyFrom(const PostcodesIndex& from); 01408 void MergeFrom(const PostcodesIndex& from); 01409 void Clear(); 01410 bool IsInitialized() const; 01411 01412 int ByteSize() const; 01413 bool MergePartialFromCodedStream( 01414 ::google::protobuf::io::CodedInputStream* input); 01415 void SerializeWithCachedSizes( 01416 ::google::protobuf::io::CodedOutputStream* output) const; 01417 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 01418 int GetCachedSize() const { return _cached_size_; } 01419 private: 01420 void SharedCtor(); 01421 void SharedDtor(); 01422 void SetCachedSize(int size) const; 01423 public: 01424 01425 ::google::protobuf::Metadata GetMetadata() const; 01426 01427 // nested types ---------------------------------------------------- 01428 01429 // accessors ------------------------------------------------------- 01430 01431 // repeated .PostcodeIndex postcodes = 1; 01432 inline int postcodes_size() const; 01433 inline void clear_postcodes(); 01434 static const int kPostcodesFieldNumber = 1; 01435 inline const ::PostcodeIndex& postcodes(int index) const; 01436 inline ::PostcodeIndex* mutable_postcodes(int index); 01437 inline ::PostcodeIndex* add_postcodes(); 01438 inline const ::google::protobuf::RepeatedPtrField< ::PostcodeIndex >& 01439 postcodes() const; 01440 inline ::google::protobuf::RepeatedPtrField< ::PostcodeIndex >* 01441 mutable_postcodes(); 01442 01443 // @@protoc_insertion_point(class_scope:PostcodesIndex) 01444 private: 01445 ::google::protobuf::UnknownFieldSet _unknown_fields_; 01446 mutable int _cached_size_; 01447 01448 ::google::protobuf::RepeatedPtrField< ::PostcodeIndex > postcodes_; 01449 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 01450 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 01451 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 01452 01453 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; 01454 01455 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 01456 inline bool _has_bit(int index) const { 01457 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 01458 } 01459 inline void _set_bit(int index) { 01460 _has_bits_[index / 32] |= (1u << (index % 32)); 01461 } 01462 inline void _clear_bit(int index) { 01463 _has_bits_[index / 32] &= ~(1u << (index % 32)); 01464 } 01465 01466 void InitAsDefaultInstance(); 01467 static PostcodesIndex* default_instance_; 01468 }; 01469 // ------------------------------------------------------------------- 01470 01471 class CityIndex : public ::google::protobuf::Message { 01472 public: 01473 CityIndex(); 01474 virtual ~CityIndex(); 01475 01476 CityIndex(const CityIndex& from); 01477 01478 inline CityIndex& operator=(const CityIndex& from) { 01479 CopyFrom(from); 01480 return *this; 01481 } 01482 01483 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 01484 return _unknown_fields_; 01485 } 01486 01487 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 01488 return &_unknown_fields_; 01489 } 01490 01491 static const ::google::protobuf::Descriptor* descriptor(); 01492 static const CityIndex& default_instance(); 01493 01494 void Swap(CityIndex* other); 01495 01496 // implements Message ---------------------------------------------- 01497 01498 CityIndex* New() const; 01499 void CopyFrom(const ::google::protobuf::Message& from); 01500 void MergeFrom(const ::google::protobuf::Message& from); 01501 void CopyFrom(const CityIndex& from); 01502 void MergeFrom(const CityIndex& from); 01503 void Clear(); 01504 bool IsInitialized() const; 01505 01506 int ByteSize() const; 01507 bool MergePartialFromCodedStream( 01508 ::google::protobuf::io::CodedInputStream* input); 01509 void SerializeWithCachedSizes( 01510 ::google::protobuf::io::CodedOutputStream* output) const; 01511 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 01512 int GetCachedSize() const { return _cached_size_; } 01513 private: 01514 void SharedCtor(); 01515 void SharedDtor(); 01516 void SetCachedSize(int size) const; 01517 public: 01518 01519 ::google::protobuf::Metadata GetMetadata() const; 01520 01521 // nested types ---------------------------------------------------- 01522 01523 // accessors ------------------------------------------------------- 01524 01525 // required uint32 city_type = 1; 01526 inline bool has_city_type() const; 01527 inline void clear_city_type(); 01528 static const int kCityTypeFieldNumber = 1; 01529 inline ::google::protobuf::uint32 city_type() const; 01530 inline void set_city_type(::google::protobuf::uint32 value); 01531 01532 // required string name = 2; 01533 inline bool has_name() const; 01534 inline void clear_name(); 01535 static const int kNameFieldNumber = 2; 01536 inline const ::std::string& name() const; 01537 inline void set_name(const ::std::string& value); 01538 inline void set_name(const char* value); 01539 inline void set_name(const char* value, size_t size); 01540 inline ::std::string* mutable_name(); 01541 01542 // optional string name_en = 3; 01543 inline bool has_name_en() const; 01544 inline void clear_name_en(); 01545 static const int kNameEnFieldNumber = 3; 01546 inline const ::std::string& name_en() const; 01547 inline void set_name_en(const ::std::string& value); 01548 inline void set_name_en(const char* value); 01549 inline void set_name_en(const char* value, size_t size); 01550 inline ::std::string* mutable_name_en(); 01551 01552 // optional uint64 id = 4; 01553 inline bool has_id() const; 01554 inline void clear_id(); 01555 static const int kIdFieldNumber = 4; 01556 inline ::google::protobuf::uint64 id() const; 01557 inline void set_id(::google::protobuf::uint64 value); 01558 01559 // required fixed32 x = 5; 01560 inline bool has_x() const; 01561 inline void clear_x(); 01562 static const int kXFieldNumber = 5; 01563 inline ::google::protobuf::uint32 x() const; 01564 inline void set_x(::google::protobuf::uint32 value); 01565 01566 // required fixed32 y = 6; 01567 inline bool has_y() const; 01568 inline void clear_y(); 01569 static const int kYFieldNumber = 6; 01570 inline ::google::protobuf::uint32 y() const; 01571 inline void set_y(::google::protobuf::uint32 value); 01572 01573 // optional .InteresectedStreets intersections = 14; 01574 inline bool has_intersections() const; 01575 inline void clear_intersections(); 01576 static const int kIntersectionsFieldNumber = 14; 01577 inline const ::InteresectedStreets& intersections() const; 01578 inline ::InteresectedStreets* mutable_intersections(); 01579 01580 // repeated .StreetIndex streets = 18; 01581 inline int streets_size() const; 01582 inline void clear_streets(); 01583 static const int kStreetsFieldNumber = 18; 01584 inline const ::StreetIndex& streets(int index) const; 01585 inline ::StreetIndex* mutable_streets(int index); 01586 inline ::StreetIndex* add_streets(); 01587 inline const ::google::protobuf::RepeatedPtrField< ::StreetIndex >& 01588 streets() const; 01589 inline ::google::protobuf::RepeatedPtrField< ::StreetIndex >* 01590 mutable_streets(); 01591 01592 // @@protoc_insertion_point(class_scope:CityIndex) 01593 private: 01594 ::google::protobuf::UnknownFieldSet _unknown_fields_; 01595 mutable int _cached_size_; 01596 01597 ::google::protobuf::uint32 city_type_; 01598 ::std::string* name_; 01599 static const ::std::string _default_name_; 01600 ::std::string* name_en_; 01601 static const ::std::string _default_name_en_; 01602 ::google::protobuf::uint64 id_; 01603 ::google::protobuf::uint32 x_; 01604 ::google::protobuf::uint32 y_; 01605 ::InteresectedStreets* intersections_; 01606 ::google::protobuf::RepeatedPtrField< ::StreetIndex > streets_; 01607 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 01608 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 01609 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 01610 01611 ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32]; 01612 01613 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 01614 inline bool _has_bit(int index) const { 01615 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 01616 } 01617 inline void _set_bit(int index) { 01618 _has_bits_[index / 32] |= (1u << (index % 32)); 01619 } 01620 inline void _clear_bit(int index) { 01621 _has_bits_[index / 32] &= ~(1u << (index % 32)); 01622 } 01623 01624 void InitAsDefaultInstance(); 01625 static CityIndex* default_instance_; 01626 }; 01627 // ------------------------------------------------------------------- 01628 01629 class InteresectedStreets : public ::google::protobuf::Message { 01630 public: 01631 InteresectedStreets(); 01632 virtual ~InteresectedStreets(); 01633 01634 InteresectedStreets(const InteresectedStreets& from); 01635 01636 inline InteresectedStreets& operator=(const InteresectedStreets& from) { 01637 CopyFrom(from); 01638 return *this; 01639 } 01640 01641 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 01642 return _unknown_fields_; 01643 } 01644 01645 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 01646 return &_unknown_fields_; 01647 } 01648 01649 static const ::google::protobuf::Descriptor* descriptor(); 01650 static const InteresectedStreets& default_instance(); 01651 01652 void Swap(InteresectedStreets* other); 01653 01654 // implements Message ---------------------------------------------- 01655 01656 InteresectedStreets* New() const; 01657 void CopyFrom(const ::google::protobuf::Message& from); 01658 void MergeFrom(const ::google::protobuf::Message& from); 01659 void CopyFrom(const InteresectedStreets& from); 01660 void MergeFrom(const InteresectedStreets& from); 01661 void Clear(); 01662 bool IsInitialized() const; 01663 01664 int ByteSize() const; 01665 bool MergePartialFromCodedStream( 01666 ::google::protobuf::io::CodedInputStream* input); 01667 void SerializeWithCachedSizes( 01668 ::google::protobuf::io::CodedOutputStream* output) const; 01669 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 01670 int GetCachedSize() const { return _cached_size_; } 01671 private: 01672 void SharedCtor(); 01673 void SharedDtor(); 01674 void SetCachedSize(int size) const; 01675 public: 01676 01677 ::google::protobuf::Metadata GetMetadata() const; 01678 01679 // nested types ---------------------------------------------------- 01680 01681 // accessors ------------------------------------------------------- 01682 01683 // repeated .StreetIntersection intersections = 5; 01684 inline int intersections_size() const; 01685 inline void clear_intersections(); 01686 static const int kIntersectionsFieldNumber = 5; 01687 inline const ::StreetIntersection& intersections(int index) const; 01688 inline ::StreetIntersection* mutable_intersections(int index); 01689 inline ::StreetIntersection* add_intersections(); 01690 inline const ::google::protobuf::RepeatedPtrField< ::StreetIntersection >& 01691 intersections() const; 01692 inline ::google::protobuf::RepeatedPtrField< ::StreetIntersection >* 01693 mutable_intersections(); 01694 01695 // @@protoc_insertion_point(class_scope:InteresectedStreets) 01696 private: 01697 ::google::protobuf::UnknownFieldSet _unknown_fields_; 01698 mutable int _cached_size_; 01699 01700 ::google::protobuf::RepeatedPtrField< ::StreetIntersection > intersections_; 01701 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 01702 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 01703 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 01704 01705 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; 01706 01707 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 01708 inline bool _has_bit(int index) const { 01709 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 01710 } 01711 inline void _set_bit(int index) { 01712 _has_bits_[index / 32] |= (1u << (index % 32)); 01713 } 01714 inline void _clear_bit(int index) { 01715 _has_bits_[index / 32] &= ~(1u << (index % 32)); 01716 } 01717 01718 void InitAsDefaultInstance(); 01719 static InteresectedStreets* default_instance_; 01720 }; 01721 // ------------------------------------------------------------------- 01722 01723 class StreetIntersection : public ::google::protobuf::Message { 01724 public: 01725 StreetIntersection(); 01726 virtual ~StreetIntersection(); 01727 01728 StreetIntersection(const StreetIntersection& from); 01729 01730 inline StreetIntersection& operator=(const StreetIntersection& from) { 01731 CopyFrom(from); 01732 return *this; 01733 } 01734 01735 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 01736 return _unknown_fields_; 01737 } 01738 01739 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 01740 return &_unknown_fields_; 01741 } 01742 01743 static const ::google::protobuf::Descriptor* descriptor(); 01744 static const StreetIntersection& default_instance(); 01745 01746 void Swap(StreetIntersection* other); 01747 01748 // implements Message ---------------------------------------------- 01749 01750 StreetIntersection* New() const; 01751 void CopyFrom(const ::google::protobuf::Message& from); 01752 void MergeFrom(const ::google::protobuf::Message& from); 01753 void CopyFrom(const StreetIntersection& from); 01754 void MergeFrom(const StreetIntersection& from); 01755 void Clear(); 01756 bool IsInitialized() const; 01757 01758 int ByteSize() const; 01759 bool MergePartialFromCodedStream( 01760 ::google::protobuf::io::CodedInputStream* input); 01761 void SerializeWithCachedSizes( 01762 ::google::protobuf::io::CodedOutputStream* output) const; 01763 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 01764 int GetCachedSize() const { return _cached_size_; } 01765 private: 01766 void SharedCtor(); 01767 void SharedDtor(); 01768 void SetCachedSize(int size) const; 01769 public: 01770 01771 ::google::protobuf::Metadata GetMetadata() const; 01772 01773 // nested types ---------------------------------------------------- 01774 01775 // accessors ------------------------------------------------------- 01776 01777 // required uint32 intersectedStreet1 = 2; 01778 inline bool has_intersectedstreet1() const; 01779 inline void clear_intersectedstreet1(); 01780 static const int kIntersectedStreet1FieldNumber = 2; 01781 inline ::google::protobuf::uint32 intersectedstreet1() const; 01782 inline void set_intersectedstreet1(::google::protobuf::uint32 value); 01783 01784 // required uint32 intersectedStreet2 = 3; 01785 inline bool has_intersectedstreet2() const; 01786 inline void clear_intersectedstreet2(); 01787 static const int kIntersectedStreet2FieldNumber = 3; 01788 inline ::google::protobuf::uint32 intersectedstreet2() const; 01789 inline void set_intersectedstreet2(::google::protobuf::uint32 value); 01790 01791 // required sint32 intersectedX = 4; 01792 inline bool has_intersectedx() const; 01793 inline void clear_intersectedx(); 01794 static const int kIntersectedXFieldNumber = 4; 01795 inline ::google::protobuf::int32 intersectedx() const; 01796 inline void set_intersectedx(::google::protobuf::int32 value); 01797 01798 // required sint32 intersectedY = 5; 01799 inline bool has_intersectedy() const; 01800 inline void clear_intersectedy(); 01801 static const int kIntersectedYFieldNumber = 5; 01802 inline ::google::protobuf::int32 intersectedy() const; 01803 inline void set_intersectedy(::google::protobuf::int32 value); 01804 01805 // @@protoc_insertion_point(class_scope:StreetIntersection) 01806 private: 01807 ::google::protobuf::UnknownFieldSet _unknown_fields_; 01808 mutable int _cached_size_; 01809 01810 ::google::protobuf::uint32 intersectedstreet1_; 01811 ::google::protobuf::uint32 intersectedstreet2_; 01812 ::google::protobuf::int32 intersectedx_; 01813 ::google::protobuf::int32 intersectedy_; 01814 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 01815 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 01816 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 01817 01818 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; 01819 01820 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 01821 inline bool _has_bit(int index) const { 01822 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 01823 } 01824 inline void _set_bit(int index) { 01825 _has_bits_[index / 32] |= (1u << (index % 32)); 01826 } 01827 inline void _clear_bit(int index) { 01828 _has_bits_[index / 32] &= ~(1u << (index % 32)); 01829 } 01830 01831 void InitAsDefaultInstance(); 01832 static StreetIntersection* default_instance_; 01833 }; 01834 // ------------------------------------------------------------------- 01835 01836 class PostcodeIndex : public ::google::protobuf::Message { 01837 public: 01838 PostcodeIndex(); 01839 virtual ~PostcodeIndex(); 01840 01841 PostcodeIndex(const PostcodeIndex& from); 01842 01843 inline PostcodeIndex& operator=(const PostcodeIndex& from) { 01844 CopyFrom(from); 01845 return *this; 01846 } 01847 01848 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 01849 return _unknown_fields_; 01850 } 01851 01852 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 01853 return &_unknown_fields_; 01854 } 01855 01856 static const ::google::protobuf::Descriptor* descriptor(); 01857 static const PostcodeIndex& default_instance(); 01858 01859 void Swap(PostcodeIndex* other); 01860 01861 // implements Message ---------------------------------------------- 01862 01863 PostcodeIndex* New() const; 01864 void CopyFrom(const ::google::protobuf::Message& from); 01865 void MergeFrom(const ::google::protobuf::Message& from); 01866 void CopyFrom(const PostcodeIndex& from); 01867 void MergeFrom(const PostcodeIndex& from); 01868 void Clear(); 01869 bool IsInitialized() const; 01870 01871 int ByteSize() const; 01872 bool MergePartialFromCodedStream( 01873 ::google::protobuf::io::CodedInputStream* input); 01874 void SerializeWithCachedSizes( 01875 ::google::protobuf::io::CodedOutputStream* output) const; 01876 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 01877 int GetCachedSize() const { return _cached_size_; } 01878 private: 01879 void SharedCtor(); 01880 void SharedDtor(); 01881 void SetCachedSize(int size) const; 01882 public: 01883 01884 ::google::protobuf::Metadata GetMetadata() const; 01885 01886 // nested types ---------------------------------------------------- 01887 01888 // accessors ------------------------------------------------------- 01889 01890 // required string postcode = 1; 01891 inline bool has_postcode() const; 01892 inline void clear_postcode(); 01893 static const int kPostcodeFieldNumber = 1; 01894 inline const ::std::string& postcode() const; 01895 inline void set_postcode(const ::std::string& value); 01896 inline void set_postcode(const char* value); 01897 inline void set_postcode(const char* value, size_t size); 01898 inline ::std::string* mutable_postcode(); 01899 01900 // required fixed32 x = 2; 01901 inline bool has_x() const; 01902 inline void clear_x(); 01903 static const int kXFieldNumber = 2; 01904 inline ::google::protobuf::uint32 x() const; 01905 inline void set_x(::google::protobuf::uint32 value); 01906 01907 // required fixed32 y = 3; 01908 inline bool has_y() const; 01909 inline void clear_y(); 01910 static const int kYFieldNumber = 3; 01911 inline ::google::protobuf::uint32 y() const; 01912 inline void set_y(::google::protobuf::uint32 value); 01913 01914 // repeated .StreetIndex streets = 5; 01915 inline int streets_size() const; 01916 inline void clear_streets(); 01917 static const int kStreetsFieldNumber = 5; 01918 inline const ::StreetIndex& streets(int index) const; 01919 inline ::StreetIndex* mutable_streets(int index); 01920 inline ::StreetIndex* add_streets(); 01921 inline const ::google::protobuf::RepeatedPtrField< ::StreetIndex >& 01922 streets() const; 01923 inline ::google::protobuf::RepeatedPtrField< ::StreetIndex >* 01924 mutable_streets(); 01925 01926 // @@protoc_insertion_point(class_scope:PostcodeIndex) 01927 private: 01928 ::google::protobuf::UnknownFieldSet _unknown_fields_; 01929 mutable int _cached_size_; 01930 01931 ::std::string* postcode_; 01932 static const ::std::string _default_postcode_; 01933 ::google::protobuf::uint32 x_; 01934 ::google::protobuf::uint32 y_; 01935 ::google::protobuf::RepeatedPtrField< ::StreetIndex > streets_; 01936 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 01937 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 01938 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 01939 01940 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; 01941 01942 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 01943 inline bool _has_bit(int index) const { 01944 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 01945 } 01946 inline void _set_bit(int index) { 01947 _has_bits_[index / 32] |= (1u << (index % 32)); 01948 } 01949 inline void _clear_bit(int index) { 01950 _has_bits_[index / 32] &= ~(1u << (index % 32)); 01951 } 01952 01953 void InitAsDefaultInstance(); 01954 static PostcodeIndex* default_instance_; 01955 }; 01956 // ------------------------------------------------------------------- 01957 01958 class StreetIndex : public ::google::protobuf::Message { 01959 public: 01960 StreetIndex(); 01961 virtual ~StreetIndex(); 01962 01963 StreetIndex(const StreetIndex& from); 01964 01965 inline StreetIndex& operator=(const StreetIndex& from) { 01966 CopyFrom(from); 01967 return *this; 01968 } 01969 01970 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 01971 return _unknown_fields_; 01972 } 01973 01974 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 01975 return &_unknown_fields_; 01976 } 01977 01978 static const ::google::protobuf::Descriptor* descriptor(); 01979 static const StreetIndex& default_instance(); 01980 01981 void Swap(StreetIndex* other); 01982 01983 // implements Message ---------------------------------------------- 01984 01985 StreetIndex* New() const; 01986 void CopyFrom(const ::google::protobuf::Message& from); 01987 void MergeFrom(const ::google::protobuf::Message& from); 01988 void CopyFrom(const StreetIndex& from); 01989 void MergeFrom(const StreetIndex& from); 01990 void Clear(); 01991 bool IsInitialized() const; 01992 01993 int ByteSize() const; 01994 bool MergePartialFromCodedStream( 01995 ::google::protobuf::io::CodedInputStream* input); 01996 void SerializeWithCachedSizes( 01997 ::google::protobuf::io::CodedOutputStream* output) const; 01998 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 01999 int GetCachedSize() const { return _cached_size_; } 02000 private: 02001 void SharedCtor(); 02002 void SharedDtor(); 02003 void SetCachedSize(int size) const; 02004 public: 02005 02006 ::google::protobuf::Metadata GetMetadata() const; 02007 02008 // nested types ---------------------------------------------------- 02009 02010 // accessors ------------------------------------------------------- 02011 02012 // required string name = 1; 02013 inline bool has_name() const; 02014 inline void clear_name(); 02015 static const int kNameFieldNumber = 1; 02016 inline const ::std::string& name() const; 02017 inline void set_name(const ::std::string& value); 02018 inline void set_name(const char* value); 02019 inline void set_name(const char* value, size_t size); 02020 inline ::std::string* mutable_name(); 02021 02022 // optional string name_en = 2; 02023 inline bool has_name_en() const; 02024 inline void clear_name_en(); 02025 static const int kNameEnFieldNumber = 2; 02026 inline const ::std::string& name_en() const; 02027 inline void set_name_en(const ::std::string& value); 02028 inline void set_name_en(const char* value); 02029 inline void set_name_en(const char* value, size_t size); 02030 inline ::std::string* mutable_name_en(); 02031 02032 // required sint32 x = 3; 02033 inline bool has_x() const; 02034 inline void clear_x(); 02035 static const int kXFieldNumber = 3; 02036 inline ::google::protobuf::int32 x() const; 02037 inline void set_x(::google::protobuf::int32 value); 02038 02039 // required sint32 y = 4; 02040 inline bool has_y() const; 02041 inline void clear_y(); 02042 static const int kYFieldNumber = 4; 02043 inline ::google::protobuf::int32 y() const; 02044 inline void set_y(::google::protobuf::int32 value); 02045 02046 // optional uint64 id = 6; 02047 inline bool has_id() const; 02048 inline void clear_id(); 02049 static const int kIdFieldNumber = 6; 02050 inline ::google::protobuf::uint64 id() const; 02051 inline void set_id(::google::protobuf::uint64 value); 02052 02053 // repeated .BuildingIndex buildings = 18; 02054 inline int buildings_size() const; 02055 inline void clear_buildings(); 02056 static const int kBuildingsFieldNumber = 18; 02057 inline const ::BuildingIndex& buildings(int index) const; 02058 inline ::BuildingIndex* mutable_buildings(int index); 02059 inline ::BuildingIndex* add_buildings(); 02060 inline const ::google::protobuf::RepeatedPtrField< ::BuildingIndex >& 02061 buildings() const; 02062 inline ::google::protobuf::RepeatedPtrField< ::BuildingIndex >* 02063 mutable_buildings(); 02064 02065 // @@protoc_insertion_point(class_scope:StreetIndex) 02066 private: 02067 ::google::protobuf::UnknownFieldSet _unknown_fields_; 02068 mutable int _cached_size_; 02069 02070 ::std::string* name_; 02071 static const ::std::string _default_name_; 02072 ::std::string* name_en_; 02073 static const ::std::string _default_name_en_; 02074 ::google::protobuf::int32 x_; 02075 ::google::protobuf::int32 y_; 02076 ::google::protobuf::uint64 id_; 02077 ::google::protobuf::RepeatedPtrField< ::BuildingIndex > buildings_; 02078 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 02079 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 02080 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 02081 02082 ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; 02083 02084 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 02085 inline bool _has_bit(int index) const { 02086 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 02087 } 02088 inline void _set_bit(int index) { 02089 _has_bits_[index / 32] |= (1u << (index % 32)); 02090 } 02091 inline void _clear_bit(int index) { 02092 _has_bits_[index / 32] &= ~(1u << (index % 32)); 02093 } 02094 02095 void InitAsDefaultInstance(); 02096 static StreetIndex* default_instance_; 02097 }; 02098 // ------------------------------------------------------------------- 02099 02100 class BuildingIndex : public ::google::protobuf::Message { 02101 public: 02102 BuildingIndex(); 02103 virtual ~BuildingIndex(); 02104 02105 BuildingIndex(const BuildingIndex& from); 02106 02107 inline BuildingIndex& operator=(const BuildingIndex& from) { 02108 CopyFrom(from); 02109 return *this; 02110 } 02111 02112 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 02113 return _unknown_fields_; 02114 } 02115 02116 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 02117 return &_unknown_fields_; 02118 } 02119 02120 static const ::google::protobuf::Descriptor* descriptor(); 02121 static const BuildingIndex& default_instance(); 02122 02123 void Swap(BuildingIndex* other); 02124 02125 // implements Message ---------------------------------------------- 02126 02127 BuildingIndex* New() const; 02128 void CopyFrom(const ::google::protobuf::Message& from); 02129 void MergeFrom(const ::google::protobuf::Message& from); 02130 void CopyFrom(const BuildingIndex& from); 02131 void MergeFrom(const BuildingIndex& from); 02132 void Clear(); 02133 bool IsInitialized() const; 02134 02135 int ByteSize() const; 02136 bool MergePartialFromCodedStream( 02137 ::google::protobuf::io::CodedInputStream* input); 02138 void SerializeWithCachedSizes( 02139 ::google::protobuf::io::CodedOutputStream* output) const; 02140 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 02141 int GetCachedSize() const { return _cached_size_; } 02142 private: 02143 void SharedCtor(); 02144 void SharedDtor(); 02145 void SetCachedSize(int size) const; 02146 public: 02147 02148 ::google::protobuf::Metadata GetMetadata() const; 02149 02150 // nested types ---------------------------------------------------- 02151 02152 // accessors ------------------------------------------------------- 02153 02154 // required string name = 1; 02155 inline bool has_name() const; 02156 inline void clear_name(); 02157 static const int kNameFieldNumber = 1; 02158 inline const ::std::string& name() const; 02159 inline void set_name(const ::std::string& value); 02160 inline void set_name(const char* value); 02161 inline void set_name(const char* value, size_t size); 02162 inline ::std::string* mutable_name(); 02163 02164 // optional string name_en = 2; 02165 inline bool has_name_en() const; 02166 inline void clear_name_en(); 02167 static const int kNameEnFieldNumber = 2; 02168 inline const ::std::string& name_en() const; 02169 inline void set_name_en(const ::std::string& value); 02170 inline void set_name_en(const char* value); 02171 inline void set_name_en(const char* value, size_t size); 02172 inline ::std::string* mutable_name_en(); 02173 02174 // optional uint64 id = 5; 02175 inline bool has_id() const; 02176 inline void clear_id(); 02177 static const int kIdFieldNumber = 5; 02178 inline ::google::protobuf::uint64 id() const; 02179 inline void set_id(::google::protobuf::uint64 value); 02180 02181 // optional string postcode = 6; 02182 inline bool has_postcode() const; 02183 inline void clear_postcode(); 02184 static const int kPostcodeFieldNumber = 6; 02185 inline const ::std::string& postcode() const; 02186 inline void set_postcode(const ::std::string& value); 02187 inline void set_postcode(const char* value); 02188 inline void set_postcode(const char* value, size_t size); 02189 inline ::std::string* mutable_postcode(); 02190 02191 // required sint32 x = 3; 02192 inline bool has_x() const; 02193 inline void clear_x(); 02194 static const int kXFieldNumber = 3; 02195 inline ::google::protobuf::int32 x() const; 02196 inline void set_x(::google::protobuf::int32 value); 02197 02198 // required sint32 y = 4; 02199 inline bool has_y() const; 02200 inline void clear_y(); 02201 static const int kYFieldNumber = 4; 02202 inline ::google::protobuf::int32 y() const; 02203 inline void set_y(::google::protobuf::int32 value); 02204 02205 // @@protoc_insertion_point(class_scope:BuildingIndex) 02206 private: 02207 ::google::protobuf::UnknownFieldSet _unknown_fields_; 02208 mutable int _cached_size_; 02209 02210 ::std::string* name_; 02211 static const ::std::string _default_name_; 02212 ::std::string* name_en_; 02213 static const ::std::string _default_name_en_; 02214 ::google::protobuf::uint64 id_; 02215 ::std::string* postcode_; 02216 static const ::std::string _default_postcode_; 02217 ::google::protobuf::int32 x_; 02218 ::google::protobuf::int32 y_; 02219 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 02220 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 02221 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 02222 02223 ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; 02224 02225 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 02226 inline bool _has_bit(int index) const { 02227 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 02228 } 02229 inline void _set_bit(int index) { 02230 _has_bits_[index / 32] |= (1u << (index % 32)); 02231 } 02232 inline void _clear_bit(int index) { 02233 _has_bits_[index / 32] &= ~(1u << (index % 32)); 02234 } 02235 02236 void InitAsDefaultInstance(); 02237 static BuildingIndex* default_instance_; 02238 }; 02239 // ------------------------------------------------------------------- 02240 02241 class TransportRoutes : public ::google::protobuf::Message { 02242 public: 02243 TransportRoutes(); 02244 virtual ~TransportRoutes(); 02245 02246 TransportRoutes(const TransportRoutes& from); 02247 02248 inline TransportRoutes& operator=(const TransportRoutes& from) { 02249 CopyFrom(from); 02250 return *this; 02251 } 02252 02253 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 02254 return _unknown_fields_; 02255 } 02256 02257 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 02258 return &_unknown_fields_; 02259 } 02260 02261 static const ::google::protobuf::Descriptor* descriptor(); 02262 static const TransportRoutes& default_instance(); 02263 02264 void Swap(TransportRoutes* other); 02265 02266 // implements Message ---------------------------------------------- 02267 02268 TransportRoutes* New() const; 02269 void CopyFrom(const ::google::protobuf::Message& from); 02270 void MergeFrom(const ::google::protobuf::Message& from); 02271 void CopyFrom(const TransportRoutes& from); 02272 void MergeFrom(const TransportRoutes& from); 02273 void Clear(); 02274 bool IsInitialized() const; 02275 02276 int ByteSize() const; 02277 bool MergePartialFromCodedStream( 02278 ::google::protobuf::io::CodedInputStream* input); 02279 void SerializeWithCachedSizes( 02280 ::google::protobuf::io::CodedOutputStream* output) const; 02281 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 02282 int GetCachedSize() const { return _cached_size_; } 02283 private: 02284 void SharedCtor(); 02285 void SharedDtor(); 02286 void SetCachedSize(int size) const; 02287 public: 02288 02289 ::google::protobuf::Metadata GetMetadata() const; 02290 02291 // nested types ---------------------------------------------------- 02292 02293 // accessors ------------------------------------------------------- 02294 02295 // repeated .TransportRoute routes = 6; 02296 inline int routes_size() const; 02297 inline void clear_routes(); 02298 static const int kRoutesFieldNumber = 6; 02299 inline const ::TransportRoute& routes(int index) const; 02300 inline ::TransportRoute* mutable_routes(int index); 02301 inline ::TransportRoute* add_routes(); 02302 inline const ::google::protobuf::RepeatedPtrField< ::TransportRoute >& 02303 routes() const; 02304 inline ::google::protobuf::RepeatedPtrField< ::TransportRoute >* 02305 mutable_routes(); 02306 02307 // @@protoc_insertion_point(class_scope:TransportRoutes) 02308 private: 02309 ::google::protobuf::UnknownFieldSet _unknown_fields_; 02310 mutable int _cached_size_; 02311 02312 ::google::protobuf::RepeatedPtrField< ::TransportRoute > routes_; 02313 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 02314 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 02315 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 02316 02317 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; 02318 02319 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 02320 inline bool _has_bit(int index) const { 02321 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 02322 } 02323 inline void _set_bit(int index) { 02324 _has_bits_[index / 32] |= (1u << (index % 32)); 02325 } 02326 inline void _clear_bit(int index) { 02327 _has_bits_[index / 32] &= ~(1u << (index % 32)); 02328 } 02329 02330 void InitAsDefaultInstance(); 02331 static TransportRoutes* default_instance_; 02332 }; 02333 // ------------------------------------------------------------------- 02334 02335 class TransportRoute : public ::google::protobuf::Message { 02336 public: 02337 TransportRoute(); 02338 virtual ~TransportRoute(); 02339 02340 TransportRoute(const TransportRoute& from); 02341 02342 inline TransportRoute& operator=(const TransportRoute& from) { 02343 CopyFrom(from); 02344 return *this; 02345 } 02346 02347 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 02348 return _unknown_fields_; 02349 } 02350 02351 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 02352 return &_unknown_fields_; 02353 } 02354 02355 static const ::google::protobuf::Descriptor* descriptor(); 02356 static const TransportRoute& default_instance(); 02357 02358 void Swap(TransportRoute* other); 02359 02360 // implements Message ---------------------------------------------- 02361 02362 TransportRoute* New() const; 02363 void CopyFrom(const ::google::protobuf::Message& from); 02364 void MergeFrom(const ::google::protobuf::Message& from); 02365 void CopyFrom(const TransportRoute& from); 02366 void MergeFrom(const TransportRoute& from); 02367 void Clear(); 02368 bool IsInitialized() const; 02369 02370 int ByteSize() const; 02371 bool MergePartialFromCodedStream( 02372 ::google::protobuf::io::CodedInputStream* input); 02373 void SerializeWithCachedSizes( 02374 ::google::protobuf::io::CodedOutputStream* output) const; 02375 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 02376 int GetCachedSize() const { return _cached_size_; } 02377 private: 02378 void SharedCtor(); 02379 void SharedDtor(); 02380 void SetCachedSize(int size) const; 02381 public: 02382 02383 ::google::protobuf::Metadata GetMetadata() const; 02384 02385 // nested types ---------------------------------------------------- 02386 02387 // accessors ------------------------------------------------------- 02388 02389 // required uint64 id = 1; 02390 inline bool has_id() const; 02391 inline void clear_id(); 02392 static const int kIdFieldNumber = 1; 02393 inline ::google::protobuf::uint64 id() const; 02394 inline void set_id(::google::protobuf::uint64 value); 02395 02396 // optional uint32 type = 3; 02397 inline bool has_type() const; 02398 inline void clear_type(); 02399 static const int kTypeFieldNumber = 3; 02400 inline ::google::protobuf::uint32 type() const; 02401 inline void set_type(::google::protobuf::uint32 value); 02402 02403 // optional uint32 operator = 4; 02404 inline bool has_operator_() const; 02405 inline void clear_operator_(); 02406 static const int kOperatorFieldNumber = 4; 02407 inline ::google::protobuf::uint32 operator_() const; 02408 inline void set_operator_(::google::protobuf::uint32 value); 02409 02410 // optional string ref = 5; 02411 inline bool has_ref() const; 02412 inline void clear_ref(); 02413 static const int kRefFieldNumber = 5; 02414 inline const ::std::string& ref() const; 02415 inline void set_ref(const ::std::string& value); 02416 inline void set_ref(const char* value); 02417 inline void set_ref(const char* value, size_t size); 02418 inline ::std::string* mutable_ref(); 02419 02420 // optional uint32 name = 6; 02421 inline bool has_name() const; 02422 inline void clear_name(); 02423 static const int kNameFieldNumber = 6; 02424 inline ::google::protobuf::uint32 name() const; 02425 inline void set_name(::google::protobuf::uint32 value); 02426 02427 // optional uint32 name_en = 7; 02428 inline bool has_name_en() const; 02429 inline void clear_name_en(); 02430 static const int kNameEnFieldNumber = 7; 02431 inline ::google::protobuf::uint32 name_en() const; 02432 inline void set_name_en(::google::protobuf::uint32 value); 02433 02434 // optional uint32 distance = 8; 02435 inline bool has_distance() const; 02436 inline void clear_distance(); 02437 static const int kDistanceFieldNumber = 8; 02438 inline ::google::protobuf::uint32 distance() const; 02439 inline void set_distance(::google::protobuf::uint32 value); 02440 02441 // repeated .TransportRouteStop directStops = 15; 02442 inline int directstops_size() const; 02443 inline void clear_directstops(); 02444 static const int kDirectStopsFieldNumber = 15; 02445 inline const ::TransportRouteStop& directstops(int index) const; 02446 inline ::TransportRouteStop* mutable_directstops(int index); 02447 inline ::TransportRouteStop* add_directstops(); 02448 inline const ::google::protobuf::RepeatedPtrField< ::TransportRouteStop >& 02449 directstops() const; 02450 inline ::google::protobuf::RepeatedPtrField< ::TransportRouteStop >* 02451 mutable_directstops(); 02452 02453 // repeated .TransportRouteStop reverseStops = 16; 02454 inline int reversestops_size() const; 02455 inline void clear_reversestops(); 02456 static const int kReverseStopsFieldNumber = 16; 02457 inline const ::TransportRouteStop& reversestops(int index) const; 02458 inline ::TransportRouteStop* mutable_reversestops(int index); 02459 inline ::TransportRouteStop* add_reversestops(); 02460 inline const ::google::protobuf::RepeatedPtrField< ::TransportRouteStop >& 02461 reversestops() const; 02462 inline ::google::protobuf::RepeatedPtrField< ::TransportRouteStop >* 02463 mutable_reversestops(); 02464 02465 // @@protoc_insertion_point(class_scope:TransportRoute) 02466 private: 02467 ::google::protobuf::UnknownFieldSet _unknown_fields_; 02468 mutable int _cached_size_; 02469 02470 ::google::protobuf::uint64 id_; 02471 ::google::protobuf::uint32 type_; 02472 ::google::protobuf::uint32 operator__; 02473 ::std::string* ref_; 02474 static const ::std::string _default_ref_; 02475 ::google::protobuf::uint32 name_; 02476 ::google::protobuf::uint32 name_en_; 02477 ::google::protobuf::uint32 distance_; 02478 ::google::protobuf::RepeatedPtrField< ::TransportRouteStop > directstops_; 02479 ::google::protobuf::RepeatedPtrField< ::TransportRouteStop > reversestops_; 02480 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 02481 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 02482 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 02483 02484 ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32]; 02485 02486 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 02487 inline bool _has_bit(int index) const { 02488 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 02489 } 02490 inline void _set_bit(int index) { 02491 _has_bits_[index / 32] |= (1u << (index % 32)); 02492 } 02493 inline void _clear_bit(int index) { 02494 _has_bits_[index / 32] &= ~(1u << (index % 32)); 02495 } 02496 02497 void InitAsDefaultInstance(); 02498 static TransportRoute* default_instance_; 02499 }; 02500 // ------------------------------------------------------------------- 02501 02502 class TransportRouteStop : public ::google::protobuf::Message { 02503 public: 02504 TransportRouteStop(); 02505 virtual ~TransportRouteStop(); 02506 02507 TransportRouteStop(const TransportRouteStop& from); 02508 02509 inline TransportRouteStop& operator=(const TransportRouteStop& from) { 02510 CopyFrom(from); 02511 return *this; 02512 } 02513 02514 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 02515 return _unknown_fields_; 02516 } 02517 02518 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 02519 return &_unknown_fields_; 02520 } 02521 02522 static const ::google::protobuf::Descriptor* descriptor(); 02523 static const TransportRouteStop& default_instance(); 02524 02525 void Swap(TransportRouteStop* other); 02526 02527 // implements Message ---------------------------------------------- 02528 02529 TransportRouteStop* New() const; 02530 void CopyFrom(const ::google::protobuf::Message& from); 02531 void MergeFrom(const ::google::protobuf::Message& from); 02532 void CopyFrom(const TransportRouteStop& from); 02533 void MergeFrom(const TransportRouteStop& from); 02534 void Clear(); 02535 bool IsInitialized() const; 02536 02537 int ByteSize() const; 02538 bool MergePartialFromCodedStream( 02539 ::google::protobuf::io::CodedInputStream* input); 02540 void SerializeWithCachedSizes( 02541 ::google::protobuf::io::CodedOutputStream* output) const; 02542 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 02543 int GetCachedSize() const { return _cached_size_; } 02544 private: 02545 void SharedCtor(); 02546 void SharedDtor(); 02547 void SetCachedSize(int size) const; 02548 public: 02549 02550 ::google::protobuf::Metadata GetMetadata() const; 02551 02552 // nested types ---------------------------------------------------- 02553 02554 // accessors ------------------------------------------------------- 02555 02556 // required sint64 id = 1; 02557 inline bool has_id() const; 02558 inline void clear_id(); 02559 static const int kIdFieldNumber = 1; 02560 inline ::google::protobuf::int64 id() const; 02561 inline void set_id(::google::protobuf::int64 value); 02562 02563 // required sint32 dx = 2; 02564 inline bool has_dx() const; 02565 inline void clear_dx(); 02566 static const int kDxFieldNumber = 2; 02567 inline ::google::protobuf::int32 dx() const; 02568 inline void set_dx(::google::protobuf::int32 value); 02569 02570 // required sint32 dy = 3; 02571 inline bool has_dy() const; 02572 inline void clear_dy(); 02573 static const int kDyFieldNumber = 3; 02574 inline ::google::protobuf::int32 dy() const; 02575 inline void set_dy(::google::protobuf::int32 value); 02576 02577 // required uint32 name = 6; 02578 inline bool has_name() const; 02579 inline void clear_name(); 02580 static const int kNameFieldNumber = 6; 02581 inline ::google::protobuf::uint32 name() const; 02582 inline void set_name(::google::protobuf::uint32 value); 02583 02584 // optional uint32 name_en = 7; 02585 inline bool has_name_en() const; 02586 inline void clear_name_en(); 02587 static const int kNameEnFieldNumber = 7; 02588 inline ::google::protobuf::uint32 name_en() const; 02589 inline void set_name_en(::google::protobuf::uint32 value); 02590 02591 // @@protoc_insertion_point(class_scope:TransportRouteStop) 02592 private: 02593 ::google::protobuf::UnknownFieldSet _unknown_fields_; 02594 mutable int _cached_size_; 02595 02596 ::google::protobuf::int64 id_; 02597 ::google::protobuf::int32 dx_; 02598 ::google::protobuf::int32 dy_; 02599 ::google::protobuf::uint32 name_; 02600 ::google::protobuf::uint32 name_en_; 02601 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 02602 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 02603 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 02604 02605 ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32]; 02606 02607 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 02608 inline bool _has_bit(int index) const { 02609 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 02610 } 02611 inline void _set_bit(int index) { 02612 _has_bits_[index / 32] |= (1u << (index % 32)); 02613 } 02614 inline void _clear_bit(int index) { 02615 _has_bits_[index / 32] &= ~(1u << (index % 32)); 02616 } 02617 02618 void InitAsDefaultInstance(); 02619 static TransportRouteStop* default_instance_; 02620 }; 02621 // ------------------------------------------------------------------- 02622 02623 class TransportStop : public ::google::protobuf::Message { 02624 public: 02625 TransportStop(); 02626 virtual ~TransportStop(); 02627 02628 TransportStop(const TransportStop& from); 02629 02630 inline TransportStop& operator=(const TransportStop& from) { 02631 CopyFrom(from); 02632 return *this; 02633 } 02634 02635 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 02636 return _unknown_fields_; 02637 } 02638 02639 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 02640 return &_unknown_fields_; 02641 } 02642 02643 static const ::google::protobuf::Descriptor* descriptor(); 02644 static const TransportStop& default_instance(); 02645 02646 void Swap(TransportStop* other); 02647 02648 // implements Message ---------------------------------------------- 02649 02650 TransportStop* New() const; 02651 void CopyFrom(const ::google::protobuf::Message& from); 02652 void MergeFrom(const ::google::protobuf::Message& from); 02653 void CopyFrom(const TransportStop& from); 02654 void MergeFrom(const TransportStop& from); 02655 void Clear(); 02656 bool IsInitialized() const; 02657 02658 int ByteSize() const; 02659 bool MergePartialFromCodedStream( 02660 ::google::protobuf::io::CodedInputStream* input); 02661 void SerializeWithCachedSizes( 02662 ::google::protobuf::io::CodedOutputStream* output) const; 02663 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 02664 int GetCachedSize() const { return _cached_size_; } 02665 private: 02666 void SharedCtor(); 02667 void SharedDtor(); 02668 void SetCachedSize(int size) const; 02669 public: 02670 02671 ::google::protobuf::Metadata GetMetadata() const; 02672 02673 // nested types ---------------------------------------------------- 02674 02675 // accessors ------------------------------------------------------- 02676 02677 // required sint32 dx = 1; 02678 inline bool has_dx() const; 02679 inline void clear_dx(); 02680 static const int kDxFieldNumber = 1; 02681 inline ::google::protobuf::int32 dx() const; 02682 inline void set_dx(::google::protobuf::int32 value); 02683 02684 // required sint32 dy = 2; 02685 inline bool has_dy() const; 02686 inline void clear_dy(); 02687 static const int kDyFieldNumber = 2; 02688 inline ::google::protobuf::int32 dy() const; 02689 inline void set_dy(::google::protobuf::int32 value); 02690 02691 // required sint64 id = 5; 02692 inline bool has_id() const; 02693 inline void clear_id(); 02694 static const int kIdFieldNumber = 5; 02695 inline ::google::protobuf::int64 id() const; 02696 inline void set_id(::google::protobuf::int64 value); 02697 02698 // required uint32 name = 6; 02699 inline bool has_name() const; 02700 inline void clear_name(); 02701 static const int kNameFieldNumber = 6; 02702 inline ::google::protobuf::uint32 name() const; 02703 inline void set_name(::google::protobuf::uint32 value); 02704 02705 // optional uint32 name_en = 7; 02706 inline bool has_name_en() const; 02707 inline void clear_name_en(); 02708 static const int kNameEnFieldNumber = 7; 02709 inline ::google::protobuf::uint32 name_en() const; 02710 inline void set_name_en(::google::protobuf::uint32 value); 02711 02712 // repeated uint32 routes = 16; 02713 inline int routes_size() const; 02714 inline void clear_routes(); 02715 static const int kRoutesFieldNumber = 16; 02716 inline ::google::protobuf::uint32 routes(int index) const; 02717 inline void set_routes(int index, ::google::protobuf::uint32 value); 02718 inline void add_routes(::google::protobuf::uint32 value); 02719 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& 02720 routes() const; 02721 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* 02722 mutable_routes(); 02723 02724 // @@protoc_insertion_point(class_scope:TransportStop) 02725 private: 02726 ::google::protobuf::UnknownFieldSet _unknown_fields_; 02727 mutable int _cached_size_; 02728 02729 ::google::protobuf::int32 dx_; 02730 ::google::protobuf::int32 dy_; 02731 ::google::protobuf::int64 id_; 02732 ::google::protobuf::uint32 name_; 02733 ::google::protobuf::uint32 name_en_; 02734 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > routes_; 02735 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 02736 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 02737 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 02738 02739 ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; 02740 02741 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 02742 inline bool _has_bit(int index) const { 02743 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 02744 } 02745 inline void _set_bit(int index) { 02746 _has_bits_[index / 32] |= (1u << (index % 32)); 02747 } 02748 inline void _clear_bit(int index) { 02749 _has_bits_[index / 32] &= ~(1u << (index % 32)); 02750 } 02751 02752 void InitAsDefaultInstance(); 02753 static TransportStop* default_instance_; 02754 }; 02755 // ------------------------------------------------------------------- 02756 02757 class TransportStopsTree : public ::google::protobuf::Message { 02758 public: 02759 TransportStopsTree(); 02760 virtual ~TransportStopsTree(); 02761 02762 TransportStopsTree(const TransportStopsTree& from); 02763 02764 inline TransportStopsTree& operator=(const TransportStopsTree& from) { 02765 CopyFrom(from); 02766 return *this; 02767 } 02768 02769 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 02770 return _unknown_fields_; 02771 } 02772 02773 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 02774 return &_unknown_fields_; 02775 } 02776 02777 static const ::google::protobuf::Descriptor* descriptor(); 02778 static const TransportStopsTree& default_instance(); 02779 02780 void Swap(TransportStopsTree* other); 02781 02782 // implements Message ---------------------------------------------- 02783 02784 TransportStopsTree* New() const; 02785 void CopyFrom(const ::google::protobuf::Message& from); 02786 void MergeFrom(const ::google::protobuf::Message& from); 02787 void CopyFrom(const TransportStopsTree& from); 02788 void MergeFrom(const TransportStopsTree& from); 02789 void Clear(); 02790 bool IsInitialized() const; 02791 02792 int ByteSize() const; 02793 bool MergePartialFromCodedStream( 02794 ::google::protobuf::io::CodedInputStream* input); 02795 void SerializeWithCachedSizes( 02796 ::google::protobuf::io::CodedOutputStream* output) const; 02797 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 02798 int GetCachedSize() const { return _cached_size_; } 02799 private: 02800 void SharedCtor(); 02801 void SharedDtor(); 02802 void SetCachedSize(int size) const; 02803 public: 02804 02805 ::google::protobuf::Metadata GetMetadata() const; 02806 02807 // nested types ---------------------------------------------------- 02808 02809 // accessors ------------------------------------------------------- 02810 02811 // required sint32 left = 1; 02812 inline bool has_left() const; 02813 inline void clear_left(); 02814 static const int kLeftFieldNumber = 1; 02815 inline ::google::protobuf::int32 left() const; 02816 inline void set_left(::google::protobuf::int32 value); 02817 02818 // required sint32 right = 2; 02819 inline bool has_right() const; 02820 inline void clear_right(); 02821 static const int kRightFieldNumber = 2; 02822 inline ::google::protobuf::int32 right() const; 02823 inline void set_right(::google::protobuf::int32 value); 02824 02825 // required sint32 top = 3; 02826 inline bool has_top() const; 02827 inline void clear_top(); 02828 static const int kTopFieldNumber = 3; 02829 inline ::google::protobuf::int32 top() const; 02830 inline void set_top(::google::protobuf::int32 value); 02831 02832 // required sint32 bottom = 4; 02833 inline bool has_bottom() const; 02834 inline void clear_bottom(); 02835 static const int kBottomFieldNumber = 4; 02836 inline ::google::protobuf::int32 bottom() const; 02837 inline void set_bottom(::google::protobuf::int32 value); 02838 02839 // repeated .TransportStopsTree subtrees = 7; 02840 inline int subtrees_size() const; 02841 inline void clear_subtrees(); 02842 static const int kSubtreesFieldNumber = 7; 02843 inline const ::TransportStopsTree& subtrees(int index) const; 02844 inline ::TransportStopsTree* mutable_subtrees(int index); 02845 inline ::TransportStopsTree* add_subtrees(); 02846 inline const ::google::protobuf::RepeatedPtrField< ::TransportStopsTree >& 02847 subtrees() const; 02848 inline ::google::protobuf::RepeatedPtrField< ::TransportStopsTree >* 02849 mutable_subtrees(); 02850 02851 // repeated .TransportStop leafs = 8; 02852 inline int leafs_size() const; 02853 inline void clear_leafs(); 02854 static const int kLeafsFieldNumber = 8; 02855 inline const ::TransportStop& leafs(int index) const; 02856 inline ::TransportStop* mutable_leafs(int index); 02857 inline ::TransportStop* add_leafs(); 02858 inline const ::google::protobuf::RepeatedPtrField< ::TransportStop >& 02859 leafs() const; 02860 inline ::google::protobuf::RepeatedPtrField< ::TransportStop >* 02861 mutable_leafs(); 02862 02863 // optional uint64 baseId = 16; 02864 inline bool has_baseid() const; 02865 inline void clear_baseid(); 02866 static const int kBaseIdFieldNumber = 16; 02867 inline ::google::protobuf::uint64 baseid() const; 02868 inline void set_baseid(::google::protobuf::uint64 value); 02869 02870 // @@protoc_insertion_point(class_scope:TransportStopsTree) 02871 private: 02872 ::google::protobuf::UnknownFieldSet _unknown_fields_; 02873 mutable int _cached_size_; 02874 02875 ::google::protobuf::int32 left_; 02876 ::google::protobuf::int32 right_; 02877 ::google::protobuf::int32 top_; 02878 ::google::protobuf::int32 bottom_; 02879 ::google::protobuf::RepeatedPtrField< ::TransportStopsTree > subtrees_; 02880 ::google::protobuf::RepeatedPtrField< ::TransportStop > leafs_; 02881 ::google::protobuf::uint64 baseid_; 02882 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 02883 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 02884 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 02885 02886 ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32]; 02887 02888 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 02889 inline bool _has_bit(int index) const { 02890 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 02891 } 02892 inline void _set_bit(int index) { 02893 _has_bits_[index / 32] |= (1u << (index % 32)); 02894 } 02895 inline void _clear_bit(int index) { 02896 _has_bits_[index / 32] &= ~(1u << (index % 32)); 02897 } 02898 02899 void InitAsDefaultInstance(); 02900 static TransportStopsTree* default_instance_; 02901 }; 02902 // ------------------------------------------------------------------- 02903 02904 class OsmAndTransportIndex : public ::google::protobuf::Message { 02905 public: 02906 OsmAndTransportIndex(); 02907 virtual ~OsmAndTransportIndex(); 02908 02909 OsmAndTransportIndex(const OsmAndTransportIndex& from); 02910 02911 inline OsmAndTransportIndex& operator=(const OsmAndTransportIndex& from) { 02912 CopyFrom(from); 02913 return *this; 02914 } 02915 02916 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 02917 return _unknown_fields_; 02918 } 02919 02920 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 02921 return &_unknown_fields_; 02922 } 02923 02924 static const ::google::protobuf::Descriptor* descriptor(); 02925 static const OsmAndTransportIndex& default_instance(); 02926 02927 void Swap(OsmAndTransportIndex* other); 02928 02929 // implements Message ---------------------------------------------- 02930 02931 OsmAndTransportIndex* New() const; 02932 void CopyFrom(const ::google::protobuf::Message& from); 02933 void MergeFrom(const ::google::protobuf::Message& from); 02934 void CopyFrom(const OsmAndTransportIndex& from); 02935 void MergeFrom(const OsmAndTransportIndex& from); 02936 void Clear(); 02937 bool IsInitialized() const; 02938 02939 int ByteSize() const; 02940 bool MergePartialFromCodedStream( 02941 ::google::protobuf::io::CodedInputStream* input); 02942 void SerializeWithCachedSizes( 02943 ::google::protobuf::io::CodedOutputStream* output) const; 02944 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 02945 int GetCachedSize() const { return _cached_size_; } 02946 private: 02947 void SharedCtor(); 02948 void SharedDtor(); 02949 void SetCachedSize(int size) const; 02950 public: 02951 02952 ::google::protobuf::Metadata GetMetadata() const; 02953 02954 // nested types ---------------------------------------------------- 02955 02956 // accessors ------------------------------------------------------- 02957 02958 // optional string name = 1; 02959 inline bool has_name() const; 02960 inline void clear_name(); 02961 static const int kNameFieldNumber = 1; 02962 inline const ::std::string& name() const; 02963 inline void set_name(const ::std::string& value); 02964 inline void set_name(const char* value); 02965 inline void set_name(const char* value, size_t size); 02966 inline ::std::string* mutable_name(); 02967 02968 // optional .TransportRoutes routes = 3; 02969 inline bool has_routes() const; 02970 inline void clear_routes(); 02971 static const int kRoutesFieldNumber = 3; 02972 inline const ::TransportRoutes& routes() const; 02973 inline ::TransportRoutes* mutable_routes(); 02974 02975 // optional .TransportStopsTree stops = 6; 02976 inline bool has_stops() const; 02977 inline void clear_stops(); 02978 static const int kStopsFieldNumber = 6; 02979 inline const ::TransportStopsTree& stops() const; 02980 inline ::TransportStopsTree* mutable_stops(); 02981 02982 // required .StringTable stringTable = 9; 02983 inline bool has_stringtable() const; 02984 inline void clear_stringtable(); 02985 static const int kStringTableFieldNumber = 9; 02986 inline const ::StringTable& stringtable() const; 02987 inline ::StringTable* mutable_stringtable(); 02988 02989 // @@protoc_insertion_point(class_scope:OsmAndTransportIndex) 02990 private: 02991 ::google::protobuf::UnknownFieldSet _unknown_fields_; 02992 mutable int _cached_size_; 02993 02994 ::std::string* name_; 02995 static const ::std::string _default_name_; 02996 ::TransportRoutes* routes_; 02997 ::TransportStopsTree* stops_; 02998 ::StringTable* stringtable_; 02999 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 03000 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 03001 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 03002 03003 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; 03004 03005 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 03006 inline bool _has_bit(int index) const { 03007 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 03008 } 03009 inline void _set_bit(int index) { 03010 _has_bits_[index / 32] |= (1u << (index % 32)); 03011 } 03012 inline void _clear_bit(int index) { 03013 _has_bits_[index / 32] &= ~(1u << (index % 32)); 03014 } 03015 03016 void InitAsDefaultInstance(); 03017 static OsmAndTransportIndex* default_instance_; 03018 }; 03019 // ------------------------------------------------------------------- 03020 03021 class OsmAndTileBox : public ::google::protobuf::Message { 03022 public: 03023 OsmAndTileBox(); 03024 virtual ~OsmAndTileBox(); 03025 03026 OsmAndTileBox(const OsmAndTileBox& from); 03027 03028 inline OsmAndTileBox& operator=(const OsmAndTileBox& from) { 03029 CopyFrom(from); 03030 return *this; 03031 } 03032 03033 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 03034 return _unknown_fields_; 03035 } 03036 03037 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 03038 return &_unknown_fields_; 03039 } 03040 03041 static const ::google::protobuf::Descriptor* descriptor(); 03042 static const OsmAndTileBox& default_instance(); 03043 03044 void Swap(OsmAndTileBox* other); 03045 03046 // implements Message ---------------------------------------------- 03047 03048 OsmAndTileBox* New() const; 03049 void CopyFrom(const ::google::protobuf::Message& from); 03050 void MergeFrom(const ::google::protobuf::Message& from); 03051 void CopyFrom(const OsmAndTileBox& from); 03052 void MergeFrom(const OsmAndTileBox& from); 03053 void Clear(); 03054 bool IsInitialized() const; 03055 03056 int ByteSize() const; 03057 bool MergePartialFromCodedStream( 03058 ::google::protobuf::io::CodedInputStream* input); 03059 void SerializeWithCachedSizes( 03060 ::google::protobuf::io::CodedOutputStream* output) const; 03061 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 03062 int GetCachedSize() const { return _cached_size_; } 03063 private: 03064 void SharedCtor(); 03065 void SharedDtor(); 03066 void SetCachedSize(int size) const; 03067 public: 03068 03069 ::google::protobuf::Metadata GetMetadata() const; 03070 03071 // nested types ---------------------------------------------------- 03072 03073 // accessors ------------------------------------------------------- 03074 03075 // required uint32 left = 1; 03076 inline bool has_left() const; 03077 inline void clear_left(); 03078 static const int kLeftFieldNumber = 1; 03079 inline ::google::protobuf::uint32 left() const; 03080 inline void set_left(::google::protobuf::uint32 value); 03081 03082 // required uint32 right = 2; 03083 inline bool has_right() const; 03084 inline void clear_right(); 03085 static const int kRightFieldNumber = 2; 03086 inline ::google::protobuf::uint32 right() const; 03087 inline void set_right(::google::protobuf::uint32 value); 03088 03089 // required uint32 top = 3; 03090 inline bool has_top() const; 03091 inline void clear_top(); 03092 static const int kTopFieldNumber = 3; 03093 inline ::google::protobuf::uint32 top() const; 03094 inline void set_top(::google::protobuf::uint32 value); 03095 03096 // required uint32 bottom = 4; 03097 inline bool has_bottom() const; 03098 inline void clear_bottom(); 03099 static const int kBottomFieldNumber = 4; 03100 inline ::google::protobuf::uint32 bottom() const; 03101 inline void set_bottom(::google::protobuf::uint32 value); 03102 03103 // @@protoc_insertion_point(class_scope:OsmAndTileBox) 03104 private: 03105 ::google::protobuf::UnknownFieldSet _unknown_fields_; 03106 mutable int _cached_size_; 03107 03108 ::google::protobuf::uint32 left_; 03109 ::google::protobuf::uint32 right_; 03110 ::google::protobuf::uint32 top_; 03111 ::google::protobuf::uint32 bottom_; 03112 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 03113 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 03114 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 03115 03116 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; 03117 03118 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 03119 inline bool _has_bit(int index) const { 03120 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 03121 } 03122 inline void _set_bit(int index) { 03123 _has_bits_[index / 32] |= (1u << (index % 32)); 03124 } 03125 inline void _clear_bit(int index) { 03126 _has_bits_[index / 32] &= ~(1u << (index % 32)); 03127 } 03128 03129 void InitAsDefaultInstance(); 03130 static OsmAndTileBox* default_instance_; 03131 }; 03132 // ------------------------------------------------------------------- 03133 03134 class OsmAndPoiIndex : public ::google::protobuf::Message { 03135 public: 03136 OsmAndPoiIndex(); 03137 virtual ~OsmAndPoiIndex(); 03138 03139 OsmAndPoiIndex(const OsmAndPoiIndex& from); 03140 03141 inline OsmAndPoiIndex& operator=(const OsmAndPoiIndex& from) { 03142 CopyFrom(from); 03143 return *this; 03144 } 03145 03146 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 03147 return _unknown_fields_; 03148 } 03149 03150 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 03151 return &_unknown_fields_; 03152 } 03153 03154 static const ::google::protobuf::Descriptor* descriptor(); 03155 static const OsmAndPoiIndex& default_instance(); 03156 03157 void Swap(OsmAndPoiIndex* other); 03158 03159 // implements Message ---------------------------------------------- 03160 03161 OsmAndPoiIndex* New() const; 03162 void CopyFrom(const ::google::protobuf::Message& from); 03163 void MergeFrom(const ::google::protobuf::Message& from); 03164 void CopyFrom(const OsmAndPoiIndex& from); 03165 void MergeFrom(const OsmAndPoiIndex& from); 03166 void Clear(); 03167 bool IsInitialized() const; 03168 03169 int ByteSize() const; 03170 bool MergePartialFromCodedStream( 03171 ::google::protobuf::io::CodedInputStream* input); 03172 void SerializeWithCachedSizes( 03173 ::google::protobuf::io::CodedOutputStream* output) const; 03174 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 03175 int GetCachedSize() const { return _cached_size_; } 03176 private: 03177 void SharedCtor(); 03178 void SharedDtor(); 03179 void SetCachedSize(int size) const; 03180 public: 03181 03182 ::google::protobuf::Metadata GetMetadata() const; 03183 03184 // nested types ---------------------------------------------------- 03185 03186 // accessors ------------------------------------------------------- 03187 03188 // required string name = 1; 03189 inline bool has_name() const; 03190 inline void clear_name(); 03191 static const int kNameFieldNumber = 1; 03192 inline const ::std::string& name() const; 03193 inline void set_name(const ::std::string& value); 03194 inline void set_name(const char* value); 03195 inline void set_name(const char* value, size_t size); 03196 inline ::std::string* mutable_name(); 03197 03198 // required .OsmAndTileBox boundaries = 2; 03199 inline bool has_boundaries() const; 03200 inline void clear_boundaries(); 03201 static const int kBoundariesFieldNumber = 2; 03202 inline const ::OsmAndTileBox& boundaries() const; 03203 inline ::OsmAndTileBox* mutable_boundaries(); 03204 03205 // repeated .OsmAndCategoryTable categoriesTable = 3; 03206 inline int categoriestable_size() const; 03207 inline void clear_categoriestable(); 03208 static const int kCategoriesTableFieldNumber = 3; 03209 inline const ::OsmAndCategoryTable& categoriestable(int index) const; 03210 inline ::OsmAndCategoryTable* mutable_categoriestable(int index); 03211 inline ::OsmAndCategoryTable* add_categoriestable(); 03212 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndCategoryTable >& 03213 categoriestable() const; 03214 inline ::google::protobuf::RepeatedPtrField< ::OsmAndCategoryTable >* 03215 mutable_categoriestable(); 03216 03217 // optional .OsmAndPoiNameIndex nameIndex = 4; 03218 inline bool has_nameindex() const; 03219 inline void clear_nameindex(); 03220 static const int kNameIndexFieldNumber = 4; 03221 inline const ::OsmAndPoiNameIndex& nameindex() const; 03222 inline ::OsmAndPoiNameIndex* mutable_nameindex(); 03223 03224 // repeated .OsmAndPoiBox boxes = 6; 03225 inline int boxes_size() const; 03226 inline void clear_boxes(); 03227 static const int kBoxesFieldNumber = 6; 03228 inline const ::OsmAndPoiBox& boxes(int index) const; 03229 inline ::OsmAndPoiBox* mutable_boxes(int index); 03230 inline ::OsmAndPoiBox* add_boxes(); 03231 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBox >& 03232 boxes() const; 03233 inline ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBox >* 03234 mutable_boxes(); 03235 03236 // repeated .OsmAndPoiBoxData poiData = 9; 03237 inline int poidata_size() const; 03238 inline void clear_poidata(); 03239 static const int kPoiDataFieldNumber = 9; 03240 inline const ::OsmAndPoiBoxData& poidata(int index) const; 03241 inline ::OsmAndPoiBoxData* mutable_poidata(int index); 03242 inline ::OsmAndPoiBoxData* add_poidata(); 03243 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBoxData >& 03244 poidata() const; 03245 inline ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBoxData >* 03246 mutable_poidata(); 03247 03248 // @@protoc_insertion_point(class_scope:OsmAndPoiIndex) 03249 private: 03250 ::google::protobuf::UnknownFieldSet _unknown_fields_; 03251 mutable int _cached_size_; 03252 03253 ::std::string* name_; 03254 static const ::std::string _default_name_; 03255 ::OsmAndTileBox* boundaries_; 03256 ::google::protobuf::RepeatedPtrField< ::OsmAndCategoryTable > categoriestable_; 03257 ::OsmAndPoiNameIndex* nameindex_; 03258 ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBox > boxes_; 03259 ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBoxData > poidata_; 03260 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 03261 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 03262 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 03263 03264 ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; 03265 03266 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 03267 inline bool _has_bit(int index) const { 03268 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 03269 } 03270 inline void _set_bit(int index) { 03271 _has_bits_[index / 32] |= (1u << (index % 32)); 03272 } 03273 inline void _clear_bit(int index) { 03274 _has_bits_[index / 32] &= ~(1u << (index % 32)); 03275 } 03276 03277 void InitAsDefaultInstance(); 03278 static OsmAndPoiIndex* default_instance_; 03279 }; 03280 // ------------------------------------------------------------------- 03281 03282 class OsmAndPoiNameIndex : public ::google::protobuf::Message { 03283 public: 03284 OsmAndPoiNameIndex(); 03285 virtual ~OsmAndPoiNameIndex(); 03286 03287 OsmAndPoiNameIndex(const OsmAndPoiNameIndex& from); 03288 03289 inline OsmAndPoiNameIndex& operator=(const OsmAndPoiNameIndex& from) { 03290 CopyFrom(from); 03291 return *this; 03292 } 03293 03294 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 03295 return _unknown_fields_; 03296 } 03297 03298 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 03299 return &_unknown_fields_; 03300 } 03301 03302 static const ::google::protobuf::Descriptor* descriptor(); 03303 static const OsmAndPoiNameIndex& default_instance(); 03304 03305 void Swap(OsmAndPoiNameIndex* other); 03306 03307 // implements Message ---------------------------------------------- 03308 03309 OsmAndPoiNameIndex* New() const; 03310 void CopyFrom(const ::google::protobuf::Message& from); 03311 void MergeFrom(const ::google::protobuf::Message& from); 03312 void CopyFrom(const OsmAndPoiNameIndex& from); 03313 void MergeFrom(const OsmAndPoiNameIndex& from); 03314 void Clear(); 03315 bool IsInitialized() const; 03316 03317 int ByteSize() const; 03318 bool MergePartialFromCodedStream( 03319 ::google::protobuf::io::CodedInputStream* input); 03320 void SerializeWithCachedSizes( 03321 ::google::protobuf::io::CodedOutputStream* output) const; 03322 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 03323 int GetCachedSize() const { return _cached_size_; } 03324 private: 03325 void SharedCtor(); 03326 void SharedDtor(); 03327 void SetCachedSize(int size) const; 03328 public: 03329 03330 ::google::protobuf::Metadata GetMetadata() const; 03331 03332 // nested types ---------------------------------------------------- 03333 03334 // accessors ------------------------------------------------------- 03335 03336 // required .IndexedStringTable table = 2; 03337 inline bool has_table() const; 03338 inline void clear_table(); 03339 static const int kTableFieldNumber = 2; 03340 inline const ::IndexedStringTable& table() const; 03341 inline ::IndexedStringTable* mutable_table(); 03342 03343 // repeated .OsmAndPoiNameIndexData data = 5; 03344 inline int data_size() const; 03345 inline void clear_data(); 03346 static const int kDataFieldNumber = 5; 03347 inline const ::OsmAndPoiNameIndexData& data(int index) const; 03348 inline ::OsmAndPoiNameIndexData* mutable_data(int index); 03349 inline ::OsmAndPoiNameIndexData* add_data(); 03350 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndPoiNameIndexData >& 03351 data() const; 03352 inline ::google::protobuf::RepeatedPtrField< ::OsmAndPoiNameIndexData >* 03353 mutable_data(); 03354 03355 // @@protoc_insertion_point(class_scope:OsmAndPoiNameIndex) 03356 private: 03357 ::google::protobuf::UnknownFieldSet _unknown_fields_; 03358 mutable int _cached_size_; 03359 03360 ::IndexedStringTable* table_; 03361 ::google::protobuf::RepeatedPtrField< ::OsmAndPoiNameIndexData > data_; 03362 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 03363 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 03364 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 03365 03366 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; 03367 03368 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 03369 inline bool _has_bit(int index) const { 03370 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 03371 } 03372 inline void _set_bit(int index) { 03373 _has_bits_[index / 32] |= (1u << (index % 32)); 03374 } 03375 inline void _clear_bit(int index) { 03376 _has_bits_[index / 32] &= ~(1u << (index % 32)); 03377 } 03378 03379 void InitAsDefaultInstance(); 03380 static OsmAndPoiNameIndex* default_instance_; 03381 }; 03382 // ------------------------------------------------------------------- 03383 03384 class OsmAndPoiNameIndexData : public ::google::protobuf::Message { 03385 public: 03386 OsmAndPoiNameIndexData(); 03387 virtual ~OsmAndPoiNameIndexData(); 03388 03389 OsmAndPoiNameIndexData(const OsmAndPoiNameIndexData& from); 03390 03391 inline OsmAndPoiNameIndexData& operator=(const OsmAndPoiNameIndexData& from) { 03392 CopyFrom(from); 03393 return *this; 03394 } 03395 03396 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 03397 return _unknown_fields_; 03398 } 03399 03400 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 03401 return &_unknown_fields_; 03402 } 03403 03404 static const ::google::protobuf::Descriptor* descriptor(); 03405 static const OsmAndPoiNameIndexData& default_instance(); 03406 03407 void Swap(OsmAndPoiNameIndexData* other); 03408 03409 // implements Message ---------------------------------------------- 03410 03411 OsmAndPoiNameIndexData* New() const; 03412 void CopyFrom(const ::google::protobuf::Message& from); 03413 void MergeFrom(const ::google::protobuf::Message& from); 03414 void CopyFrom(const OsmAndPoiNameIndexData& from); 03415 void MergeFrom(const OsmAndPoiNameIndexData& from); 03416 void Clear(); 03417 bool IsInitialized() const; 03418 03419 int ByteSize() const; 03420 bool MergePartialFromCodedStream( 03421 ::google::protobuf::io::CodedInputStream* input); 03422 void SerializeWithCachedSizes( 03423 ::google::protobuf::io::CodedOutputStream* output) const; 03424 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 03425 int GetCachedSize() const { return _cached_size_; } 03426 private: 03427 void SharedCtor(); 03428 void SharedDtor(); 03429 void SetCachedSize(int size) const; 03430 public: 03431 03432 ::google::protobuf::Metadata GetMetadata() const; 03433 03434 // nested types ---------------------------------------------------- 03435 03436 // accessors ------------------------------------------------------- 03437 03438 // repeated .OsmAndPoiNameIndexDataAtom atoms = 4; 03439 inline int atoms_size() const; 03440 inline void clear_atoms(); 03441 static const int kAtomsFieldNumber = 4; 03442 inline const ::OsmAndPoiNameIndexDataAtom& atoms(int index) const; 03443 inline ::OsmAndPoiNameIndexDataAtom* mutable_atoms(int index); 03444 inline ::OsmAndPoiNameIndexDataAtom* add_atoms(); 03445 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndPoiNameIndexDataAtom >& 03446 atoms() const; 03447 inline ::google::protobuf::RepeatedPtrField< ::OsmAndPoiNameIndexDataAtom >* 03448 mutable_atoms(); 03449 03450 // @@protoc_insertion_point(class_scope:OsmAndPoiNameIndexData) 03451 private: 03452 ::google::protobuf::UnknownFieldSet _unknown_fields_; 03453 mutable int _cached_size_; 03454 03455 ::google::protobuf::RepeatedPtrField< ::OsmAndPoiNameIndexDataAtom > atoms_; 03456 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 03457 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 03458 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 03459 03460 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; 03461 03462 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 03463 inline bool _has_bit(int index) const { 03464 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 03465 } 03466 inline void _set_bit(int index) { 03467 _has_bits_[index / 32] |= (1u << (index % 32)); 03468 } 03469 inline void _clear_bit(int index) { 03470 _has_bits_[index / 32] &= ~(1u << (index % 32)); 03471 } 03472 03473 void InitAsDefaultInstance(); 03474 static OsmAndPoiNameIndexData* default_instance_; 03475 }; 03476 // ------------------------------------------------------------------- 03477 03478 class OsmAndPoiNameIndexDataAtom : public ::google::protobuf::Message { 03479 public: 03480 OsmAndPoiNameIndexDataAtom(); 03481 virtual ~OsmAndPoiNameIndexDataAtom(); 03482 03483 OsmAndPoiNameIndexDataAtom(const OsmAndPoiNameIndexDataAtom& from); 03484 03485 inline OsmAndPoiNameIndexDataAtom& operator=(const OsmAndPoiNameIndexDataAtom& from) { 03486 CopyFrom(from); 03487 return *this; 03488 } 03489 03490 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 03491 return _unknown_fields_; 03492 } 03493 03494 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 03495 return &_unknown_fields_; 03496 } 03497 03498 static const ::google::protobuf::Descriptor* descriptor(); 03499 static const OsmAndPoiNameIndexDataAtom& default_instance(); 03500 03501 void Swap(OsmAndPoiNameIndexDataAtom* other); 03502 03503 // implements Message ---------------------------------------------- 03504 03505 OsmAndPoiNameIndexDataAtom* New() const; 03506 void CopyFrom(const ::google::protobuf::Message& from); 03507 void MergeFrom(const ::google::protobuf::Message& from); 03508 void CopyFrom(const OsmAndPoiNameIndexDataAtom& from); 03509 void MergeFrom(const OsmAndPoiNameIndexDataAtom& from); 03510 void Clear(); 03511 bool IsInitialized() const; 03512 03513 int ByteSize() const; 03514 bool MergePartialFromCodedStream( 03515 ::google::protobuf::io::CodedInputStream* input); 03516 void SerializeWithCachedSizes( 03517 ::google::protobuf::io::CodedOutputStream* output) const; 03518 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 03519 int GetCachedSize() const { return _cached_size_; } 03520 private: 03521 void SharedCtor(); 03522 void SharedDtor(); 03523 void SetCachedSize(int size) const; 03524 public: 03525 03526 ::google::protobuf::Metadata GetMetadata() const; 03527 03528 // nested types ---------------------------------------------------- 03529 03530 // accessors ------------------------------------------------------- 03531 03532 // optional uint32 zoom = 2; 03533 inline bool has_zoom() const; 03534 inline void clear_zoom(); 03535 static const int kZoomFieldNumber = 2; 03536 inline ::google::protobuf::uint32 zoom() const; 03537 inline void set_zoom(::google::protobuf::uint32 value); 03538 03539 // optional uint32 x = 3; 03540 inline bool has_x() const; 03541 inline void clear_x(); 03542 static const int kXFieldNumber = 3; 03543 inline ::google::protobuf::uint32 x() const; 03544 inline void set_x(::google::protobuf::uint32 value); 03545 03546 // optional uint32 y = 4; 03547 inline bool has_y() const; 03548 inline void clear_y(); 03549 static const int kYFieldNumber = 4; 03550 inline ::google::protobuf::uint32 y() const; 03551 inline void set_y(::google::protobuf::uint32 value); 03552 03553 // optional fixed32 shiftTo = 14; 03554 inline bool has_shiftto() const; 03555 inline void clear_shiftto(); 03556 static const int kShiftToFieldNumber = 14; 03557 inline ::google::protobuf::uint32 shiftto() const; 03558 inline void set_shiftto(::google::protobuf::uint32 value); 03559 03560 // @@protoc_insertion_point(class_scope:OsmAndPoiNameIndexDataAtom) 03561 private: 03562 ::google::protobuf::UnknownFieldSet _unknown_fields_; 03563 mutable int _cached_size_; 03564 03565 ::google::protobuf::uint32 zoom_; 03566 ::google::protobuf::uint32 x_; 03567 ::google::protobuf::uint32 y_; 03568 ::google::protobuf::uint32 shiftto_; 03569 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 03570 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 03571 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 03572 03573 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; 03574 03575 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 03576 inline bool _has_bit(int index) const { 03577 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 03578 } 03579 inline void _set_bit(int index) { 03580 _has_bits_[index / 32] |= (1u << (index % 32)); 03581 } 03582 inline void _clear_bit(int index) { 03583 _has_bits_[index / 32] &= ~(1u << (index % 32)); 03584 } 03585 03586 void InitAsDefaultInstance(); 03587 static OsmAndPoiNameIndexDataAtom* default_instance_; 03588 }; 03589 // ------------------------------------------------------------------- 03590 03591 class OsmAndCategoryTable : public ::google::protobuf::Message { 03592 public: 03593 OsmAndCategoryTable(); 03594 virtual ~OsmAndCategoryTable(); 03595 03596 OsmAndCategoryTable(const OsmAndCategoryTable& from); 03597 03598 inline OsmAndCategoryTable& operator=(const OsmAndCategoryTable& from) { 03599 CopyFrom(from); 03600 return *this; 03601 } 03602 03603 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 03604 return _unknown_fields_; 03605 } 03606 03607 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 03608 return &_unknown_fields_; 03609 } 03610 03611 static const ::google::protobuf::Descriptor* descriptor(); 03612 static const OsmAndCategoryTable& default_instance(); 03613 03614 void Swap(OsmAndCategoryTable* other); 03615 03616 // implements Message ---------------------------------------------- 03617 03618 OsmAndCategoryTable* New() const; 03619 void CopyFrom(const ::google::protobuf::Message& from); 03620 void MergeFrom(const ::google::protobuf::Message& from); 03621 void CopyFrom(const OsmAndCategoryTable& from); 03622 void MergeFrom(const OsmAndCategoryTable& from); 03623 void Clear(); 03624 bool IsInitialized() const; 03625 03626 int ByteSize() const; 03627 bool MergePartialFromCodedStream( 03628 ::google::protobuf::io::CodedInputStream* input); 03629 void SerializeWithCachedSizes( 03630 ::google::protobuf::io::CodedOutputStream* output) const; 03631 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 03632 int GetCachedSize() const { return _cached_size_; } 03633 private: 03634 void SharedCtor(); 03635 void SharedDtor(); 03636 void SetCachedSize(int size) const; 03637 public: 03638 03639 ::google::protobuf::Metadata GetMetadata() const; 03640 03641 // nested types ---------------------------------------------------- 03642 03643 // accessors ------------------------------------------------------- 03644 03645 // required string category = 1; 03646 inline bool has_category() const; 03647 inline void clear_category(); 03648 static const int kCategoryFieldNumber = 1; 03649 inline const ::std::string& category() const; 03650 inline void set_category(const ::std::string& value); 03651 inline void set_category(const char* value); 03652 inline void set_category(const char* value, size_t size); 03653 inline ::std::string* mutable_category(); 03654 03655 // repeated string subcategories = 3; 03656 inline int subcategories_size() const; 03657 inline void clear_subcategories(); 03658 static const int kSubcategoriesFieldNumber = 3; 03659 inline const ::std::string& subcategories(int index) const; 03660 inline ::std::string* mutable_subcategories(int index); 03661 inline void set_subcategories(int index, const ::std::string& value); 03662 inline void set_subcategories(int index, const char* value); 03663 inline void set_subcategories(int index, const char* value, size_t size); 03664 inline ::std::string* add_subcategories(); 03665 inline void add_subcategories(const ::std::string& value); 03666 inline void add_subcategories(const char* value); 03667 inline void add_subcategories(const char* value, size_t size); 03668 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& subcategories() const; 03669 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_subcategories(); 03670 03671 // @@protoc_insertion_point(class_scope:OsmAndCategoryTable) 03672 private: 03673 ::google::protobuf::UnknownFieldSet _unknown_fields_; 03674 mutable int _cached_size_; 03675 03676 ::std::string* category_; 03677 static const ::std::string _default_category_; 03678 ::google::protobuf::RepeatedPtrField< ::std::string> subcategories_; 03679 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 03680 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 03681 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 03682 03683 ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32]; 03684 03685 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 03686 inline bool _has_bit(int index) const { 03687 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 03688 } 03689 inline void _set_bit(int index) { 03690 _has_bits_[index / 32] |= (1u << (index % 32)); 03691 } 03692 inline void _clear_bit(int index) { 03693 _has_bits_[index / 32] &= ~(1u << (index % 32)); 03694 } 03695 03696 void InitAsDefaultInstance(); 03697 static OsmAndCategoryTable* default_instance_; 03698 }; 03699 // ------------------------------------------------------------------- 03700 03701 class OsmAndPoiBox : public ::google::protobuf::Message { 03702 public: 03703 OsmAndPoiBox(); 03704 virtual ~OsmAndPoiBox(); 03705 03706 OsmAndPoiBox(const OsmAndPoiBox& from); 03707 03708 inline OsmAndPoiBox& operator=(const OsmAndPoiBox& from) { 03709 CopyFrom(from); 03710 return *this; 03711 } 03712 03713 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 03714 return _unknown_fields_; 03715 } 03716 03717 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 03718 return &_unknown_fields_; 03719 } 03720 03721 static const ::google::protobuf::Descriptor* descriptor(); 03722 static const OsmAndPoiBox& default_instance(); 03723 03724 void Swap(OsmAndPoiBox* other); 03725 03726 // implements Message ---------------------------------------------- 03727 03728 OsmAndPoiBox* New() const; 03729 void CopyFrom(const ::google::protobuf::Message& from); 03730 void MergeFrom(const ::google::protobuf::Message& from); 03731 void CopyFrom(const OsmAndPoiBox& from); 03732 void MergeFrom(const OsmAndPoiBox& from); 03733 void Clear(); 03734 bool IsInitialized() const; 03735 03736 int ByteSize() const; 03737 bool MergePartialFromCodedStream( 03738 ::google::protobuf::io::CodedInputStream* input); 03739 void SerializeWithCachedSizes( 03740 ::google::protobuf::io::CodedOutputStream* output) const; 03741 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 03742 int GetCachedSize() const { return _cached_size_; } 03743 private: 03744 void SharedCtor(); 03745 void SharedDtor(); 03746 void SetCachedSize(int size) const; 03747 public: 03748 03749 ::google::protobuf::Metadata GetMetadata() const; 03750 03751 // nested types ---------------------------------------------------- 03752 03753 // accessors ------------------------------------------------------- 03754 03755 // required uint32 zoom = 1; 03756 inline bool has_zoom() const; 03757 inline void clear_zoom(); 03758 static const int kZoomFieldNumber = 1; 03759 inline ::google::protobuf::uint32 zoom() const; 03760 inline void set_zoom(::google::protobuf::uint32 value); 03761 03762 // required sint32 left = 2; 03763 inline bool has_left() const; 03764 inline void clear_left(); 03765 static const int kLeftFieldNumber = 2; 03766 inline ::google::protobuf::int32 left() const; 03767 inline void set_left(::google::protobuf::int32 value); 03768 03769 // required sint32 top = 3; 03770 inline bool has_top() const; 03771 inline void clear_top(); 03772 static const int kTopFieldNumber = 3; 03773 inline ::google::protobuf::int32 top() const; 03774 inline void set_top(::google::protobuf::int32 value); 03775 03776 // optional .OsmAndPoiCategories categories = 4; 03777 inline bool has_categories() const; 03778 inline void clear_categories(); 03779 static const int kCategoriesFieldNumber = 4; 03780 inline const ::OsmAndPoiCategories& categories() const; 03781 inline ::OsmAndPoiCategories* mutable_categories(); 03782 03783 // repeated .OsmAndPoiBox subBoxes = 10; 03784 inline int subboxes_size() const; 03785 inline void clear_subboxes(); 03786 static const int kSubBoxesFieldNumber = 10; 03787 inline const ::OsmAndPoiBox& subboxes(int index) const; 03788 inline ::OsmAndPoiBox* mutable_subboxes(int index); 03789 inline ::OsmAndPoiBox* add_subboxes(); 03790 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBox >& 03791 subboxes() const; 03792 inline ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBox >* 03793 mutable_subboxes(); 03794 03795 // optional fixed32 shiftToData = 14; 03796 inline bool has_shifttodata() const; 03797 inline void clear_shifttodata(); 03798 static const int kShiftToDataFieldNumber = 14; 03799 inline ::google::protobuf::uint32 shifttodata() const; 03800 inline void set_shifttodata(::google::protobuf::uint32 value); 03801 03802 // @@protoc_insertion_point(class_scope:OsmAndPoiBox) 03803 private: 03804 ::google::protobuf::UnknownFieldSet _unknown_fields_; 03805 mutable int _cached_size_; 03806 03807 ::google::protobuf::uint32 zoom_; 03808 ::google::protobuf::int32 left_; 03809 ::google::protobuf::int32 top_; 03810 ::OsmAndPoiCategories* categories_; 03811 ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBox > subboxes_; 03812 ::google::protobuf::uint32 shifttodata_; 03813 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 03814 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 03815 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 03816 03817 ::google::protobuf::uint32 _has_bits_[(6 + 31) / 32]; 03818 03819 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 03820 inline bool _has_bit(int index) const { 03821 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 03822 } 03823 inline void _set_bit(int index) { 03824 _has_bits_[index / 32] |= (1u << (index % 32)); 03825 } 03826 inline void _clear_bit(int index) { 03827 _has_bits_[index / 32] &= ~(1u << (index % 32)); 03828 } 03829 03830 void InitAsDefaultInstance(); 03831 static OsmAndPoiBox* default_instance_; 03832 }; 03833 // ------------------------------------------------------------------- 03834 03835 class OsmAndPoiCategories : public ::google::protobuf::Message { 03836 public: 03837 OsmAndPoiCategories(); 03838 virtual ~OsmAndPoiCategories(); 03839 03840 OsmAndPoiCategories(const OsmAndPoiCategories& from); 03841 03842 inline OsmAndPoiCategories& operator=(const OsmAndPoiCategories& from) { 03843 CopyFrom(from); 03844 return *this; 03845 } 03846 03847 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 03848 return _unknown_fields_; 03849 } 03850 03851 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 03852 return &_unknown_fields_; 03853 } 03854 03855 static const ::google::protobuf::Descriptor* descriptor(); 03856 static const OsmAndPoiCategories& default_instance(); 03857 03858 void Swap(OsmAndPoiCategories* other); 03859 03860 // implements Message ---------------------------------------------- 03861 03862 OsmAndPoiCategories* New() const; 03863 void CopyFrom(const ::google::protobuf::Message& from); 03864 void MergeFrom(const ::google::protobuf::Message& from); 03865 void CopyFrom(const OsmAndPoiCategories& from); 03866 void MergeFrom(const OsmAndPoiCategories& from); 03867 void Clear(); 03868 bool IsInitialized() const; 03869 03870 int ByteSize() const; 03871 bool MergePartialFromCodedStream( 03872 ::google::protobuf::io::CodedInputStream* input); 03873 void SerializeWithCachedSizes( 03874 ::google::protobuf::io::CodedOutputStream* output) const; 03875 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 03876 int GetCachedSize() const { return _cached_size_; } 03877 private: 03878 void SharedCtor(); 03879 void SharedDtor(); 03880 void SetCachedSize(int size) const; 03881 public: 03882 03883 ::google::protobuf::Metadata GetMetadata() const; 03884 03885 // nested types ---------------------------------------------------- 03886 03887 // accessors ------------------------------------------------------- 03888 03889 // repeated uint32 categories = 3; 03890 inline int categories_size() const; 03891 inline void clear_categories(); 03892 static const int kCategoriesFieldNumber = 3; 03893 inline ::google::protobuf::uint32 categories(int index) const; 03894 inline void set_categories(int index, ::google::protobuf::uint32 value); 03895 inline void add_categories(::google::protobuf::uint32 value); 03896 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& 03897 categories() const; 03898 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* 03899 mutable_categories(); 03900 03901 // @@protoc_insertion_point(class_scope:OsmAndPoiCategories) 03902 private: 03903 ::google::protobuf::UnknownFieldSet _unknown_fields_; 03904 mutable int _cached_size_; 03905 03906 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > categories_; 03907 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 03908 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 03909 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 03910 03911 ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32]; 03912 03913 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 03914 inline bool _has_bit(int index) const { 03915 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 03916 } 03917 inline void _set_bit(int index) { 03918 _has_bits_[index / 32] |= (1u << (index % 32)); 03919 } 03920 inline void _clear_bit(int index) { 03921 _has_bits_[index / 32] &= ~(1u << (index % 32)); 03922 } 03923 03924 void InitAsDefaultInstance(); 03925 static OsmAndPoiCategories* default_instance_; 03926 }; 03927 // ------------------------------------------------------------------- 03928 03929 class OsmAndPoiBoxData : public ::google::protobuf::Message { 03930 public: 03931 OsmAndPoiBoxData(); 03932 virtual ~OsmAndPoiBoxData(); 03933 03934 OsmAndPoiBoxData(const OsmAndPoiBoxData& from); 03935 03936 inline OsmAndPoiBoxData& operator=(const OsmAndPoiBoxData& from) { 03937 CopyFrom(from); 03938 return *this; 03939 } 03940 03941 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 03942 return _unknown_fields_; 03943 } 03944 03945 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 03946 return &_unknown_fields_; 03947 } 03948 03949 static const ::google::protobuf::Descriptor* descriptor(); 03950 static const OsmAndPoiBoxData& default_instance(); 03951 03952 void Swap(OsmAndPoiBoxData* other); 03953 03954 // implements Message ---------------------------------------------- 03955 03956 OsmAndPoiBoxData* New() const; 03957 void CopyFrom(const ::google::protobuf::Message& from); 03958 void MergeFrom(const ::google::protobuf::Message& from); 03959 void CopyFrom(const OsmAndPoiBoxData& from); 03960 void MergeFrom(const OsmAndPoiBoxData& from); 03961 void Clear(); 03962 bool IsInitialized() const; 03963 03964 int ByteSize() const; 03965 bool MergePartialFromCodedStream( 03966 ::google::protobuf::io::CodedInputStream* input); 03967 void SerializeWithCachedSizes( 03968 ::google::protobuf::io::CodedOutputStream* output) const; 03969 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 03970 int GetCachedSize() const { return _cached_size_; } 03971 private: 03972 void SharedCtor(); 03973 void SharedDtor(); 03974 void SetCachedSize(int size) const; 03975 public: 03976 03977 ::google::protobuf::Metadata GetMetadata() const; 03978 03979 // nested types ---------------------------------------------------- 03980 03981 // accessors ------------------------------------------------------- 03982 03983 // optional uint32 zoom = 1; 03984 inline bool has_zoom() const; 03985 inline void clear_zoom(); 03986 static const int kZoomFieldNumber = 1; 03987 inline ::google::protobuf::uint32 zoom() const; 03988 inline void set_zoom(::google::protobuf::uint32 value); 03989 03990 // optional uint32 x = 2; 03991 inline bool has_x() const; 03992 inline void clear_x(); 03993 static const int kXFieldNumber = 2; 03994 inline ::google::protobuf::uint32 x() const; 03995 inline void set_x(::google::protobuf::uint32 value); 03996 03997 // optional uint32 y = 3; 03998 inline bool has_y() const; 03999 inline void clear_y(); 04000 static const int kYFieldNumber = 3; 04001 inline ::google::protobuf::uint32 y() const; 04002 inline void set_y(::google::protobuf::uint32 value); 04003 04004 // repeated .OsmAndPoiBoxDataAtom poiData = 5; 04005 inline int poidata_size() const; 04006 inline void clear_poidata(); 04007 static const int kPoiDataFieldNumber = 5; 04008 inline const ::OsmAndPoiBoxDataAtom& poidata(int index) const; 04009 inline ::OsmAndPoiBoxDataAtom* mutable_poidata(int index); 04010 inline ::OsmAndPoiBoxDataAtom* add_poidata(); 04011 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBoxDataAtom >& 04012 poidata() const; 04013 inline ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBoxDataAtom >* 04014 mutable_poidata(); 04015 04016 // @@protoc_insertion_point(class_scope:OsmAndPoiBoxData) 04017 private: 04018 ::google::protobuf::UnknownFieldSet _unknown_fields_; 04019 mutable int _cached_size_; 04020 04021 ::google::protobuf::uint32 zoom_; 04022 ::google::protobuf::uint32 x_; 04023 ::google::protobuf::uint32 y_; 04024 ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBoxDataAtom > poidata_; 04025 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 04026 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 04027 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 04028 04029 ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32]; 04030 04031 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 04032 inline bool _has_bit(int index) const { 04033 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 04034 } 04035 inline void _set_bit(int index) { 04036 _has_bits_[index / 32] |= (1u << (index % 32)); 04037 } 04038 inline void _clear_bit(int index) { 04039 _has_bits_[index / 32] &= ~(1u << (index % 32)); 04040 } 04041 04042 void InitAsDefaultInstance(); 04043 static OsmAndPoiBoxData* default_instance_; 04044 }; 04045 // ------------------------------------------------------------------- 04046 04047 class OsmAndPoiBoxDataAtom : public ::google::protobuf::Message { 04048 public: 04049 OsmAndPoiBoxDataAtom(); 04050 virtual ~OsmAndPoiBoxDataAtom(); 04051 04052 OsmAndPoiBoxDataAtom(const OsmAndPoiBoxDataAtom& from); 04053 04054 inline OsmAndPoiBoxDataAtom& operator=(const OsmAndPoiBoxDataAtom& from) { 04055 CopyFrom(from); 04056 return *this; 04057 } 04058 04059 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { 04060 return _unknown_fields_; 04061 } 04062 04063 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { 04064 return &_unknown_fields_; 04065 } 04066 04067 static const ::google::protobuf::Descriptor* descriptor(); 04068 static const OsmAndPoiBoxDataAtom& default_instance(); 04069 04070 void Swap(OsmAndPoiBoxDataAtom* other); 04071 04072 // implements Message ---------------------------------------------- 04073 04074 OsmAndPoiBoxDataAtom* New() const; 04075 void CopyFrom(const ::google::protobuf::Message& from); 04076 void MergeFrom(const ::google::protobuf::Message& from); 04077 void CopyFrom(const OsmAndPoiBoxDataAtom& from); 04078 void MergeFrom(const OsmAndPoiBoxDataAtom& from); 04079 void Clear(); 04080 bool IsInitialized() const; 04081 04082 int ByteSize() const; 04083 bool MergePartialFromCodedStream( 04084 ::google::protobuf::io::CodedInputStream* input); 04085 void SerializeWithCachedSizes( 04086 ::google::protobuf::io::CodedOutputStream* output) const; 04087 ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const; 04088 int GetCachedSize() const { return _cached_size_; } 04089 private: 04090 void SharedCtor(); 04091 void SharedDtor(); 04092 void SetCachedSize(int size) const; 04093 public: 04094 04095 ::google::protobuf::Metadata GetMetadata() const; 04096 04097 // nested types ---------------------------------------------------- 04098 04099 // accessors ------------------------------------------------------- 04100 04101 // required sint32 dx = 2; 04102 inline bool has_dx() const; 04103 inline void clear_dx(); 04104 static const int kDxFieldNumber = 2; 04105 inline ::google::protobuf::int32 dx() const; 04106 inline void set_dx(::google::protobuf::int32 value); 04107 04108 // required sint32 dy = 3; 04109 inline bool has_dy() const; 04110 inline void clear_dy(); 04111 static const int kDyFieldNumber = 3; 04112 inline ::google::protobuf::int32 dy() const; 04113 inline void set_dy(::google::protobuf::int32 value); 04114 04115 // repeated uint32 categories = 4; 04116 inline int categories_size() const; 04117 inline void clear_categories(); 04118 static const int kCategoriesFieldNumber = 4; 04119 inline ::google::protobuf::uint32 categories(int index) const; 04120 inline void set_categories(int index, ::google::protobuf::uint32 value); 04121 inline void add_categories(::google::protobuf::uint32 value); 04122 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& 04123 categories() const; 04124 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* 04125 mutable_categories(); 04126 04127 // optional string name = 6; 04128 inline bool has_name() const; 04129 inline void clear_name(); 04130 static const int kNameFieldNumber = 6; 04131 inline const ::std::string& name() const; 04132 inline void set_name(const ::std::string& value); 04133 inline void set_name(const char* value); 04134 inline void set_name(const char* value, size_t size); 04135 inline ::std::string* mutable_name(); 04136 04137 // optional string nameEn = 7; 04138 inline bool has_nameen() const; 04139 inline void clear_nameen(); 04140 static const int kNameEnFieldNumber = 7; 04141 inline const ::std::string& nameen() const; 04142 inline void set_nameen(const ::std::string& value); 04143 inline void set_nameen(const char* value); 04144 inline void set_nameen(const char* value, size_t size); 04145 inline ::std::string* mutable_nameen(); 04146 04147 // optional uint64 id = 8; 04148 inline bool has_id() const; 04149 inline void clear_id(); 04150 static const int kIdFieldNumber = 8; 04151 inline ::google::protobuf::uint64 id() const; 04152 inline void set_id(::google::protobuf::uint64 value); 04153 04154 // optional string openingHours = 10; 04155 inline bool has_openinghours() const; 04156 inline void clear_openinghours(); 04157 static const int kOpeningHoursFieldNumber = 10; 04158 inline const ::std::string& openinghours() const; 04159 inline void set_openinghours(const ::std::string& value); 04160 inline void set_openinghours(const char* value); 04161 inline void set_openinghours(const char* value, size_t size); 04162 inline ::std::string* mutable_openinghours(); 04163 04164 // optional string site = 11; 04165 inline bool has_site() const; 04166 inline void clear_site(); 04167 static const int kSiteFieldNumber = 11; 04168 inline const ::std::string& site() const; 04169 inline void set_site(const ::std::string& value); 04170 inline void set_site(const char* value); 04171 inline void set_site(const char* value, size_t size); 04172 inline ::std::string* mutable_site(); 04173 04174 // optional string phone = 12; 04175 inline bool has_phone() const; 04176 inline void clear_phone(); 04177 static const int kPhoneFieldNumber = 12; 04178 inline const ::std::string& phone() const; 04179 inline void set_phone(const ::std::string& value); 04180 inline void set_phone(const char* value); 04181 inline void set_phone(const char* value, size_t size); 04182 inline ::std::string* mutable_phone(); 04183 04184 // optional string note = 13; 04185 inline bool has_note() const; 04186 inline void clear_note(); 04187 static const int kNoteFieldNumber = 13; 04188 inline const ::std::string& note() const; 04189 inline void set_note(const ::std::string& value); 04190 inline void set_note(const char* value); 04191 inline void set_note(const char* value, size_t size); 04192 inline ::std::string* mutable_note(); 04193 04194 // @@protoc_insertion_point(class_scope:OsmAndPoiBoxDataAtom) 04195 private: 04196 ::google::protobuf::UnknownFieldSet _unknown_fields_; 04197 mutable int _cached_size_; 04198 04199 ::google::protobuf::int32 dx_; 04200 ::google::protobuf::int32 dy_; 04201 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > categories_; 04202 ::std::string* name_; 04203 static const ::std::string _default_name_; 04204 ::std::string* nameen_; 04205 static const ::std::string _default_nameen_; 04206 ::google::protobuf::uint64 id_; 04207 ::std::string* openinghours_; 04208 static const ::std::string _default_openinghours_; 04209 ::std::string* site_; 04210 static const ::std::string _default_site_; 04211 ::std::string* phone_; 04212 static const ::std::string _default_phone_; 04213 ::std::string* note_; 04214 static const ::std::string _default_note_; 04215 friend void protobuf_AddDesc_osmand_5fodb_2eproto(); 04216 friend void protobuf_AssignDesc_osmand_5fodb_2eproto(); 04217 friend void protobuf_ShutdownFile_osmand_5fodb_2eproto(); 04218 04219 ::google::protobuf::uint32 _has_bits_[(10 + 31) / 32]; 04220 04221 // WHY DOES & HAVE LOWER PRECEDENCE THAN != !? 04222 inline bool _has_bit(int index) const { 04223 return (_has_bits_[index / 32] & (1u << (index % 32))) != 0; 04224 } 04225 inline void _set_bit(int index) { 04226 _has_bits_[index / 32] |= (1u << (index % 32)); 04227 } 04228 inline void _clear_bit(int index) { 04229 _has_bits_[index / 32] &= ~(1u << (index % 32)); 04230 } 04231 04232 void InitAsDefaultInstance(); 04233 static OsmAndPoiBoxDataAtom* default_instance_; 04234 }; 04235 // =================================================================== 04236 04237 04238 // =================================================================== 04239 04240 // OsmAndStructure 04241 04242 // required uint32 version = 1; 04243 inline bool OsmAndStructure::has_version() const { 04244 return _has_bit(0); 04245 } 04246 inline void OsmAndStructure::clear_version() { 04247 version_ = 0u; 04248 _clear_bit(0); 04249 } 04250 inline ::google::protobuf::uint32 OsmAndStructure::version() const { 04251 return version_; 04252 } 04253 inline void OsmAndStructure::set_version(::google::protobuf::uint32 value) { 04254 _set_bit(0); 04255 version_ = value; 04256 } 04257 04258 // repeated .OsmAndMapIndex mapIndex = 2; 04259 inline int OsmAndStructure::mapindex_size() const { 04260 return mapindex_.size(); 04261 } 04262 inline void OsmAndStructure::clear_mapindex() { 04263 mapindex_.Clear(); 04264 } 04265 inline const ::OsmAndMapIndex& OsmAndStructure::mapindex(int index) const { 04266 return mapindex_.Get(index); 04267 } 04268 inline ::OsmAndMapIndex* OsmAndStructure::mutable_mapindex(int index) { 04269 return mapindex_.Mutable(index); 04270 } 04271 inline ::OsmAndMapIndex* OsmAndStructure::add_mapindex() { 04272 return mapindex_.Add(); 04273 } 04274 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndMapIndex >& 04275 OsmAndStructure::mapindex() const { 04276 return mapindex_; 04277 } 04278 inline ::google::protobuf::RepeatedPtrField< ::OsmAndMapIndex >* 04279 OsmAndStructure::mutable_mapindex() { 04280 return &mapindex_; 04281 } 04282 04283 // repeated .OsmAndAddressIndex addressIndex = 3; 04284 inline int OsmAndStructure::addressindex_size() const { 04285 return addressindex_.size(); 04286 } 04287 inline void OsmAndStructure::clear_addressindex() { 04288 addressindex_.Clear(); 04289 } 04290 inline const ::OsmAndAddressIndex& OsmAndStructure::addressindex(int index) const { 04291 return addressindex_.Get(index); 04292 } 04293 inline ::OsmAndAddressIndex* OsmAndStructure::mutable_addressindex(int index) { 04294 return addressindex_.Mutable(index); 04295 } 04296 inline ::OsmAndAddressIndex* OsmAndStructure::add_addressindex() { 04297 return addressindex_.Add(); 04298 } 04299 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndAddressIndex >& 04300 OsmAndStructure::addressindex() const { 04301 return addressindex_; 04302 } 04303 inline ::google::protobuf::RepeatedPtrField< ::OsmAndAddressIndex >* 04304 OsmAndStructure::mutable_addressindex() { 04305 return &addressindex_; 04306 } 04307 04308 // repeated .OsmAndTransportIndex transportIndex = 4; 04309 inline int OsmAndStructure::transportindex_size() const { 04310 return transportindex_.size(); 04311 } 04312 inline void OsmAndStructure::clear_transportindex() { 04313 transportindex_.Clear(); 04314 } 04315 inline const ::OsmAndTransportIndex& OsmAndStructure::transportindex(int index) const { 04316 return transportindex_.Get(index); 04317 } 04318 inline ::OsmAndTransportIndex* OsmAndStructure::mutable_transportindex(int index) { 04319 return transportindex_.Mutable(index); 04320 } 04321 inline ::OsmAndTransportIndex* OsmAndStructure::add_transportindex() { 04322 return transportindex_.Add(); 04323 } 04324 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndTransportIndex >& 04325 OsmAndStructure::transportindex() const { 04326 return transportindex_; 04327 } 04328 inline ::google::protobuf::RepeatedPtrField< ::OsmAndTransportIndex >* 04329 OsmAndStructure::mutable_transportindex() { 04330 return &transportindex_; 04331 } 04332 04333 // repeated .OsmAndPoiIndex poiIndex = 5; 04334 inline int OsmAndStructure::poiindex_size() const { 04335 return poiindex_.size(); 04336 } 04337 inline void OsmAndStructure::clear_poiindex() { 04338 poiindex_.Clear(); 04339 } 04340 inline const ::OsmAndPoiIndex& OsmAndStructure::poiindex(int index) const { 04341 return poiindex_.Get(index); 04342 } 04343 inline ::OsmAndPoiIndex* OsmAndStructure::mutable_poiindex(int index) { 04344 return poiindex_.Mutable(index); 04345 } 04346 inline ::OsmAndPoiIndex* OsmAndStructure::add_poiindex() { 04347 return poiindex_.Add(); 04348 } 04349 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndPoiIndex >& 04350 OsmAndStructure::poiindex() const { 04351 return poiindex_; 04352 } 04353 inline ::google::protobuf::RepeatedPtrField< ::OsmAndPoiIndex >* 04354 OsmAndStructure::mutable_poiindex() { 04355 return &poiindex_; 04356 } 04357 04358 // required uint32 versionConfirm = 32; 04359 inline bool OsmAndStructure::has_versionconfirm() const { 04360 return _has_bit(5); 04361 } 04362 inline void OsmAndStructure::clear_versionconfirm() { 04363 versionconfirm_ = 0u; 04364 _clear_bit(5); 04365 } 04366 inline ::google::protobuf::uint32 OsmAndStructure::versionconfirm() const { 04367 return versionconfirm_; 04368 } 04369 inline void OsmAndStructure::set_versionconfirm(::google::protobuf::uint32 value) { 04370 _set_bit(5); 04371 versionconfirm_ = value; 04372 } 04373 04374 // ------------------------------------------------------------------- 04375 04376 // StringTable 04377 04378 // repeated string s = 1; 04379 inline int StringTable::s_size() const { 04380 return s_.size(); 04381 } 04382 inline void StringTable::clear_s() { 04383 s_.Clear(); 04384 } 04385 inline const ::std::string& StringTable::s(int index) const { 04386 return s_.Get(index); 04387 } 04388 inline ::std::string* StringTable::mutable_s(int index) { 04389 return s_.Mutable(index); 04390 } 04391 inline void StringTable::set_s(int index, const ::std::string& value) { 04392 s_.Mutable(index)->assign(value); 04393 } 04394 inline void StringTable::set_s(int index, const char* value) { 04395 s_.Mutable(index)->assign(value); 04396 } 04397 inline void StringTable::set_s(int index, const char* value, size_t size) { 04398 s_.Mutable(index)->assign( 04399 reinterpret_cast<const char*>(value), size); 04400 } 04401 inline ::std::string* StringTable::add_s() { 04402 return s_.Add(); 04403 } 04404 inline void StringTable::add_s(const ::std::string& value) { 04405 s_.Add()->assign(value); 04406 } 04407 inline void StringTable::add_s(const char* value) { 04408 s_.Add()->assign(value); 04409 } 04410 inline void StringTable::add_s(const char* value, size_t size) { 04411 s_.Add()->assign(reinterpret_cast<const char*>(value), size); 04412 } 04413 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& 04414 StringTable::s() const { 04415 return s_; 04416 } 04417 inline ::google::protobuf::RepeatedPtrField< ::std::string>* 04418 StringTable::mutable_s() { 04419 return &s_; 04420 } 04421 04422 // ------------------------------------------------------------------- 04423 04424 // IndexedStringTable 04425 04426 // optional string prefix = 1; 04427 inline bool IndexedStringTable::has_prefix() const { 04428 return _has_bit(0); 04429 } 04430 inline void IndexedStringTable::clear_prefix() { 04431 if (prefix_ != &_default_prefix_) { 04432 prefix_->clear(); 04433 } 04434 _clear_bit(0); 04435 } 04436 inline const ::std::string& IndexedStringTable::prefix() const { 04437 return *prefix_; 04438 } 04439 inline void IndexedStringTable::set_prefix(const ::std::string& value) { 04440 _set_bit(0); 04441 if (prefix_ == &_default_prefix_) { 04442 prefix_ = new ::std::string; 04443 } 04444 prefix_->assign(value); 04445 } 04446 inline void IndexedStringTable::set_prefix(const char* value) { 04447 _set_bit(0); 04448 if (prefix_ == &_default_prefix_) { 04449 prefix_ = new ::std::string; 04450 } 04451 prefix_->assign(value); 04452 } 04453 inline void IndexedStringTable::set_prefix(const char* value, size_t size) { 04454 _set_bit(0); 04455 if (prefix_ == &_default_prefix_) { 04456 prefix_ = new ::std::string; 04457 } 04458 prefix_->assign(reinterpret_cast<const char*>(value), size); 04459 } 04460 inline ::std::string* IndexedStringTable::mutable_prefix() { 04461 _set_bit(0); 04462 if (prefix_ == &_default_prefix_) { 04463 prefix_ = new ::std::string; 04464 } 04465 return prefix_; 04466 } 04467 04468 // repeated string key = 3; 04469 inline int IndexedStringTable::key_size() const { 04470 return key_.size(); 04471 } 04472 inline void IndexedStringTable::clear_key() { 04473 key_.Clear(); 04474 } 04475 inline const ::std::string& IndexedStringTable::key(int index) const { 04476 return key_.Get(index); 04477 } 04478 inline ::std::string* IndexedStringTable::mutable_key(int index) { 04479 return key_.Mutable(index); 04480 } 04481 inline void IndexedStringTable::set_key(int index, const ::std::string& value) { 04482 key_.Mutable(index)->assign(value); 04483 } 04484 inline void IndexedStringTable::set_key(int index, const char* value) { 04485 key_.Mutable(index)->assign(value); 04486 } 04487 inline void IndexedStringTable::set_key(int index, const char* value, size_t size) { 04488 key_.Mutable(index)->assign( 04489 reinterpret_cast<const char*>(value), size); 04490 } 04491 inline ::std::string* IndexedStringTable::add_key() { 04492 return key_.Add(); 04493 } 04494 inline void IndexedStringTable::add_key(const ::std::string& value) { 04495 key_.Add()->assign(value); 04496 } 04497 inline void IndexedStringTable::add_key(const char* value) { 04498 key_.Add()->assign(value); 04499 } 04500 inline void IndexedStringTable::add_key(const char* value, size_t size) { 04501 key_.Add()->assign(reinterpret_cast<const char*>(value), size); 04502 } 04503 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& 04504 IndexedStringTable::key() const { 04505 return key_; 04506 } 04507 inline ::google::protobuf::RepeatedPtrField< ::std::string>* 04508 IndexedStringTable::mutable_key() { 04509 return &key_; 04510 } 04511 04512 // repeated uint32 val = 4; 04513 inline int IndexedStringTable::val_size() const { 04514 return val_.size(); 04515 } 04516 inline void IndexedStringTable::clear_val() { 04517 val_.Clear(); 04518 } 04519 inline ::google::protobuf::uint32 IndexedStringTable::val(int index) const { 04520 return val_.Get(index); 04521 } 04522 inline void IndexedStringTable::set_val(int index, ::google::protobuf::uint32 value) { 04523 val_.Set(index, value); 04524 } 04525 inline void IndexedStringTable::add_val(::google::protobuf::uint32 value) { 04526 val_.Add(value); 04527 } 04528 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& 04529 IndexedStringTable::val() const { 04530 return val_; 04531 } 04532 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* 04533 IndexedStringTable::mutable_val() { 04534 return &val_; 04535 } 04536 04537 // repeated .IndexedStringTable subtables = 5; 04538 inline int IndexedStringTable::subtables_size() const { 04539 return subtables_.size(); 04540 } 04541 inline void IndexedStringTable::clear_subtables() { 04542 subtables_.Clear(); 04543 } 04544 inline const ::IndexedStringTable& IndexedStringTable::subtables(int index) const { 04545 return subtables_.Get(index); 04546 } 04547 inline ::IndexedStringTable* IndexedStringTable::mutable_subtables(int index) { 04548 return subtables_.Mutable(index); 04549 } 04550 inline ::IndexedStringTable* IndexedStringTable::add_subtables() { 04551 return subtables_.Add(); 04552 } 04553 inline const ::google::protobuf::RepeatedPtrField< ::IndexedStringTable >& 04554 IndexedStringTable::subtables() const { 04555 return subtables_; 04556 } 04557 inline ::google::protobuf::RepeatedPtrField< ::IndexedStringTable >* 04558 IndexedStringTable::mutable_subtables() { 04559 return &subtables_; 04560 } 04561 04562 // ------------------------------------------------------------------- 04563 04564 // OsmAndMapIndex 04565 04566 // repeated .MapRootLevel levels = 1; 04567 inline int OsmAndMapIndex::levels_size() const { 04568 return levels_.size(); 04569 } 04570 inline void OsmAndMapIndex::clear_levels() { 04571 levels_.Clear(); 04572 } 04573 inline const ::MapRootLevel& OsmAndMapIndex::levels(int index) const { 04574 return levels_.Get(index); 04575 } 04576 inline ::MapRootLevel* OsmAndMapIndex::mutable_levels(int index) { 04577 return levels_.Mutable(index); 04578 } 04579 inline ::MapRootLevel* OsmAndMapIndex::add_levels() { 04580 return levels_.Add(); 04581 } 04582 inline const ::google::protobuf::RepeatedPtrField< ::MapRootLevel >& 04583 OsmAndMapIndex::levels() const { 04584 return levels_; 04585 } 04586 inline ::google::protobuf::RepeatedPtrField< ::MapRootLevel >* 04587 OsmAndMapIndex::mutable_levels() { 04588 return &levels_; 04589 } 04590 04591 // optional string name = 3; 04592 inline bool OsmAndMapIndex::has_name() const { 04593 return _has_bit(1); 04594 } 04595 inline void OsmAndMapIndex::clear_name() { 04596 if (name_ != &_default_name_) { 04597 name_->clear(); 04598 } 04599 _clear_bit(1); 04600 } 04601 inline const ::std::string& OsmAndMapIndex::name() const { 04602 return *name_; 04603 } 04604 inline void OsmAndMapIndex::set_name(const ::std::string& value) { 04605 _set_bit(1); 04606 if (name_ == &_default_name_) { 04607 name_ = new ::std::string; 04608 } 04609 name_->assign(value); 04610 } 04611 inline void OsmAndMapIndex::set_name(const char* value) { 04612 _set_bit(1); 04613 if (name_ == &_default_name_) { 04614 name_ = new ::std::string; 04615 } 04616 name_->assign(value); 04617 } 04618 inline void OsmAndMapIndex::set_name(const char* value, size_t size) { 04619 _set_bit(1); 04620 if (name_ == &_default_name_) { 04621 name_ = new ::std::string; 04622 } 04623 name_->assign(reinterpret_cast<const char*>(value), size); 04624 } 04625 inline ::std::string* OsmAndMapIndex::mutable_name() { 04626 _set_bit(1); 04627 if (name_ == &_default_name_) { 04628 name_ = new ::std::string; 04629 } 04630 return name_; 04631 } 04632 04633 // repeated .MapEncodingRule rules = 8; 04634 inline int OsmAndMapIndex::rules_size() const { 04635 return rules_.size(); 04636 } 04637 inline void OsmAndMapIndex::clear_rules() { 04638 rules_.Clear(); 04639 } 04640 inline const ::MapEncodingRule& OsmAndMapIndex::rules(int index) const { 04641 return rules_.Get(index); 04642 } 04643 inline ::MapEncodingRule* OsmAndMapIndex::mutable_rules(int index) { 04644 return rules_.Mutable(index); 04645 } 04646 inline ::MapEncodingRule* OsmAndMapIndex::add_rules() { 04647 return rules_.Add(); 04648 } 04649 inline const ::google::protobuf::RepeatedPtrField< ::MapEncodingRule >& 04650 OsmAndMapIndex::rules() const { 04651 return rules_; 04652 } 04653 inline ::google::protobuf::RepeatedPtrField< ::MapEncodingRule >* 04654 OsmAndMapIndex::mutable_rules() { 04655 return &rules_; 04656 } 04657 04658 // ------------------------------------------------------------------- 04659 04660 // MapEncodingRule 04661 04662 // required string tag = 3; 04663 inline bool MapEncodingRule::has_tag() const { 04664 return _has_bit(0); 04665 } 04666 inline void MapEncodingRule::clear_tag() { 04667 if (tag_ != &_default_tag_) { 04668 tag_->clear(); 04669 } 04670 _clear_bit(0); 04671 } 04672 inline const ::std::string& MapEncodingRule::tag() const { 04673 return *tag_; 04674 } 04675 inline void MapEncodingRule::set_tag(const ::std::string& value) { 04676 _set_bit(0); 04677 if (tag_ == &_default_tag_) { 04678 tag_ = new ::std::string; 04679 } 04680 tag_->assign(value); 04681 } 04682 inline void MapEncodingRule::set_tag(const char* value) { 04683 _set_bit(0); 04684 if (tag_ == &_default_tag_) { 04685 tag_ = new ::std::string; 04686 } 04687 tag_->assign(value); 04688 } 04689 inline void MapEncodingRule::set_tag(const char* value, size_t size) { 04690 _set_bit(0); 04691 if (tag_ == &_default_tag_) { 04692 tag_ = new ::std::string; 04693 } 04694 tag_->assign(reinterpret_cast<const char*>(value), size); 04695 } 04696 inline ::std::string* MapEncodingRule::mutable_tag() { 04697 _set_bit(0); 04698 if (tag_ == &_default_tag_) { 04699 tag_ = new ::std::string; 04700 } 04701 return tag_; 04702 } 04703 04704 // optional string value = 5; 04705 inline bool MapEncodingRule::has_value() const { 04706 return _has_bit(1); 04707 } 04708 inline void MapEncodingRule::clear_value() { 04709 if (value_ != &_default_value_) { 04710 value_->clear(); 04711 } 04712 _clear_bit(1); 04713 } 04714 inline const ::std::string& MapEncodingRule::value() const { 04715 return *value_; 04716 } 04717 inline void MapEncodingRule::set_value(const ::std::string& value) { 04718 _set_bit(1); 04719 if (value_ == &_default_value_) { 04720 value_ = new ::std::string; 04721 } 04722 value_->assign(value); 04723 } 04724 inline void MapEncodingRule::set_value(const char* value) { 04725 _set_bit(1); 04726 if (value_ == &_default_value_) { 04727 value_ = new ::std::string; 04728 } 04729 value_->assign(value); 04730 } 04731 inline void MapEncodingRule::set_value(const char* value, size_t size) { 04732 _set_bit(1); 04733 if (value_ == &_default_value_) { 04734 value_ = new ::std::string; 04735 } 04736 value_->assign(reinterpret_cast<const char*>(value), size); 04737 } 04738 inline ::std::string* MapEncodingRule::mutable_value() { 04739 _set_bit(1); 04740 if (value_ == &_default_value_) { 04741 value_ = new ::std::string; 04742 } 04743 return value_; 04744 } 04745 04746 // required uint32 type = 6; 04747 inline bool MapEncodingRule::has_type() const { 04748 return _has_bit(2); 04749 } 04750 inline void MapEncodingRule::clear_type() { 04751 type_ = 0u; 04752 _clear_bit(2); 04753 } 04754 inline ::google::protobuf::uint32 MapEncodingRule::type() const { 04755 return type_; 04756 } 04757 inline void MapEncodingRule::set_type(::google::protobuf::uint32 value) { 04758 _set_bit(2); 04759 type_ = value; 04760 } 04761 04762 // required uint32 subtype = 7; 04763 inline bool MapEncodingRule::has_subtype() const { 04764 return _has_bit(3); 04765 } 04766 inline void MapEncodingRule::clear_subtype() { 04767 subtype_ = 0u; 04768 _clear_bit(3); 04769 } 04770 inline ::google::protobuf::uint32 MapEncodingRule::subtype() const { 04771 return subtype_; 04772 } 04773 inline void MapEncodingRule::set_subtype(::google::protobuf::uint32 value) { 04774 _set_bit(3); 04775 subtype_ = value; 04776 } 04777 04778 // optional uint32 minZoom = 9; 04779 inline bool MapEncodingRule::has_minzoom() const { 04780 return _has_bit(4); 04781 } 04782 inline void MapEncodingRule::clear_minzoom() { 04783 minzoom_ = 0u; 04784 _clear_bit(4); 04785 } 04786 inline ::google::protobuf::uint32 MapEncodingRule::minzoom() const { 04787 return minzoom_; 04788 } 04789 inline void MapEncodingRule::set_minzoom(::google::protobuf::uint32 value) { 04790 _set_bit(4); 04791 minzoom_ = value; 04792 } 04793 04794 // ------------------------------------------------------------------- 04795 04796 // MapRootLevel 04797 04798 // required int32 maxZoom = 1; 04799 inline bool MapRootLevel::has_maxzoom() const { 04800 return _has_bit(0); 04801 } 04802 inline void MapRootLevel::clear_maxzoom() { 04803 maxzoom_ = 0; 04804 _clear_bit(0); 04805 } 04806 inline ::google::protobuf::int32 MapRootLevel::maxzoom() const { 04807 return maxzoom_; 04808 } 04809 inline void MapRootLevel::set_maxzoom(::google::protobuf::int32 value) { 04810 _set_bit(0); 04811 maxzoom_ = value; 04812 } 04813 04814 // required int32 minZoom = 2; 04815 inline bool MapRootLevel::has_minzoom() const { 04816 return _has_bit(1); 04817 } 04818 inline void MapRootLevel::clear_minzoom() { 04819 minzoom_ = 0; 04820 _clear_bit(1); 04821 } 04822 inline ::google::protobuf::int32 MapRootLevel::minzoom() const { 04823 return minzoom_; 04824 } 04825 inline void MapRootLevel::set_minzoom(::google::protobuf::int32 value) { 04826 _set_bit(1); 04827 minzoom_ = value; 04828 } 04829 04830 // required int32 left = 3; 04831 inline bool MapRootLevel::has_left() const { 04832 return _has_bit(2); 04833 } 04834 inline void MapRootLevel::clear_left() { 04835 left_ = 0; 04836 _clear_bit(2); 04837 } 04838 inline ::google::protobuf::int32 MapRootLevel::left() const { 04839 return left_; 04840 } 04841 inline void MapRootLevel::set_left(::google::protobuf::int32 value) { 04842 _set_bit(2); 04843 left_ = value; 04844 } 04845 04846 // required int32 right = 4; 04847 inline bool MapRootLevel::has_right() const { 04848 return _has_bit(3); 04849 } 04850 inline void MapRootLevel::clear_right() { 04851 right_ = 0; 04852 _clear_bit(3); 04853 } 04854 inline ::google::protobuf::int32 MapRootLevel::right() const { 04855 return right_; 04856 } 04857 inline void MapRootLevel::set_right(::google::protobuf::int32 value) { 04858 _set_bit(3); 04859 right_ = value; 04860 } 04861 04862 // required int32 top = 5; 04863 inline bool MapRootLevel::has_top() const { 04864 return _has_bit(4); 04865 } 04866 inline void MapRootLevel::clear_top() { 04867 top_ = 0; 04868 _clear_bit(4); 04869 } 04870 inline ::google::protobuf::int32 MapRootLevel::top() const { 04871 return top_; 04872 } 04873 inline void MapRootLevel::set_top(::google::protobuf::int32 value) { 04874 _set_bit(4); 04875 top_ = value; 04876 } 04877 04878 // required int32 bottom = 6; 04879 inline bool MapRootLevel::has_bottom() const { 04880 return _has_bit(5); 04881 } 04882 inline void MapRootLevel::clear_bottom() { 04883 bottom_ = 0; 04884 _clear_bit(5); 04885 } 04886 inline ::google::protobuf::int32 MapRootLevel::bottom() const { 04887 return bottom_; 04888 } 04889 inline void MapRootLevel::set_bottom(::google::protobuf::int32 value) { 04890 _set_bit(5); 04891 bottom_ = value; 04892 } 04893 04894 // repeated .MapTree root = 7; 04895 inline int MapRootLevel::root_size() const { 04896 return root_.size(); 04897 } 04898 inline void MapRootLevel::clear_root() { 04899 root_.Clear(); 04900 } 04901 inline const ::MapTree& MapRootLevel::root(int index) const { 04902 return root_.Get(index); 04903 } 04904 inline ::MapTree* MapRootLevel::mutable_root(int index) { 04905 return root_.Mutable(index); 04906 } 04907 inline ::MapTree* MapRootLevel::add_root() { 04908 return root_.Add(); 04909 } 04910 inline const ::google::protobuf::RepeatedPtrField< ::MapTree >& 04911 MapRootLevel::root() const { 04912 return root_; 04913 } 04914 inline ::google::protobuf::RepeatedPtrField< ::MapTree >* 04915 MapRootLevel::mutable_root() { 04916 return &root_; 04917 } 04918 04919 // ------------------------------------------------------------------- 04920 04921 // MapTree 04922 04923 // required sint32 left = 1; 04924 inline bool MapTree::has_left() const { 04925 return _has_bit(0); 04926 } 04927 inline void MapTree::clear_left() { 04928 left_ = 0; 04929 _clear_bit(0); 04930 } 04931 inline ::google::protobuf::int32 MapTree::left() const { 04932 return left_; 04933 } 04934 inline void MapTree::set_left(::google::protobuf::int32 value) { 04935 _set_bit(0); 04936 left_ = value; 04937 } 04938 04939 // required sint32 right = 2; 04940 inline bool MapTree::has_right() const { 04941 return _has_bit(1); 04942 } 04943 inline void MapTree::clear_right() { 04944 right_ = 0; 04945 _clear_bit(1); 04946 } 04947 inline ::google::protobuf::int32 MapTree::right() const { 04948 return right_; 04949 } 04950 inline void MapTree::set_right(::google::protobuf::int32 value) { 04951 _set_bit(1); 04952 right_ = value; 04953 } 04954 04955 // required sint32 top = 3; 04956 inline bool MapTree::has_top() const { 04957 return _has_bit(2); 04958 } 04959 inline void MapTree::clear_top() { 04960 top_ = 0; 04961 _clear_bit(2); 04962 } 04963 inline ::google::protobuf::int32 MapTree::top() const { 04964 return top_; 04965 } 04966 inline void MapTree::set_top(::google::protobuf::int32 value) { 04967 _set_bit(2); 04968 top_ = value; 04969 } 04970 04971 // required sint32 bottom = 4; 04972 inline bool MapTree::has_bottom() const { 04973 return _has_bit(3); 04974 } 04975 inline void MapTree::clear_bottom() { 04976 bottom_ = 0; 04977 _clear_bit(3); 04978 } 04979 inline ::google::protobuf::int32 MapTree::bottom() const { 04980 return bottom_; 04981 } 04982 inline void MapTree::set_bottom(::google::protobuf::int32 value) { 04983 _set_bit(3); 04984 bottom_ = value; 04985 } 04986 04987 // optional .StringTable oldstringTable = 5; 04988 inline bool MapTree::has_oldstringtable() const { 04989 return _has_bit(4); 04990 } 04991 inline void MapTree::clear_oldstringtable() { 04992 if (oldstringtable_ != NULL) oldstringtable_->::StringTable::Clear(); 04993 _clear_bit(4); 04994 } 04995 inline const ::StringTable& MapTree::oldstringtable() const { 04996 return oldstringtable_ != NULL ? *oldstringtable_ : *default_instance_->oldstringtable_; 04997 } 04998 inline ::StringTable* MapTree::mutable_oldstringtable() { 04999 _set_bit(4); 05000 if (oldstringtable_ == NULL) oldstringtable_ = new ::StringTable; 05001 return oldstringtable_; 05002 } 05003 05004 // optional uint64 oldbaseId = 6; 05005 inline bool MapTree::has_oldbaseid() const { 05006 return _has_bit(5); 05007 } 05008 inline void MapTree::clear_oldbaseid() { 05009 oldbaseid_ = GOOGLE_ULONGLONG(0); 05010 _clear_bit(5); 05011 } 05012 inline ::google::protobuf::uint64 MapTree::oldbaseid() const { 05013 return oldbaseid_; 05014 } 05015 inline void MapTree::set_oldbaseid(::google::protobuf::uint64 value) { 05016 _set_bit(5); 05017 oldbaseid_ = value; 05018 } 05019 05020 // repeated .MapTree subtrees = 7; 05021 inline int MapTree::subtrees_size() const { 05022 return subtrees_.size(); 05023 } 05024 inline void MapTree::clear_subtrees() { 05025 subtrees_.Clear(); 05026 } 05027 inline const ::MapTree& MapTree::subtrees(int index) const { 05028 return subtrees_.Get(index); 05029 } 05030 inline ::MapTree* MapTree::mutable_subtrees(int index) { 05031 return subtrees_.Mutable(index); 05032 } 05033 inline ::MapTree* MapTree::add_subtrees() { 05034 return subtrees_.Add(); 05035 } 05036 inline const ::google::protobuf::RepeatedPtrField< ::MapTree >& 05037 MapTree::subtrees() const { 05038 return subtrees_; 05039 } 05040 inline ::google::protobuf::RepeatedPtrField< ::MapTree >* 05041 MapTree::mutable_subtrees() { 05042 return &subtrees_; 05043 } 05044 05045 // repeated .MapData leafs = 8; 05046 inline int MapTree::leafs_size() const { 05047 return leafs_.size(); 05048 } 05049 inline void MapTree::clear_leafs() { 05050 leafs_.Clear(); 05051 } 05052 inline const ::MapData& MapTree::leafs(int index) const { 05053 return leafs_.Get(index); 05054 } 05055 inline ::MapData* MapTree::mutable_leafs(int index) { 05056 return leafs_.Mutable(index); 05057 } 05058 inline ::MapData* MapTree::add_leafs() { 05059 return leafs_.Add(); 05060 } 05061 inline const ::google::protobuf::RepeatedPtrField< ::MapData >& 05062 MapTree::leafs() const { 05063 return leafs_; 05064 } 05065 inline ::google::protobuf::RepeatedPtrField< ::MapData >* 05066 MapTree::mutable_leafs() { 05067 return &leafs_; 05068 } 05069 05070 // optional uint64 baseId = 10; 05071 inline bool MapTree::has_baseid() const { 05072 return _has_bit(8); 05073 } 05074 inline void MapTree::clear_baseid() { 05075 baseid_ = GOOGLE_ULONGLONG(0); 05076 _clear_bit(8); 05077 } 05078 inline ::google::protobuf::uint64 MapTree::baseid() const { 05079 return baseid_; 05080 } 05081 inline void MapTree::set_baseid(::google::protobuf::uint64 value) { 05082 _set_bit(8); 05083 baseid_ = value; 05084 } 05085 05086 // optional .StringTable stringTable = 11; 05087 inline bool MapTree::has_stringtable() const { 05088 return _has_bit(9); 05089 } 05090 inline void MapTree::clear_stringtable() { 05091 if (stringtable_ != NULL) stringtable_->::StringTable::Clear(); 05092 _clear_bit(9); 05093 } 05094 inline const ::StringTable& MapTree::stringtable() const { 05095 return stringtable_ != NULL ? *stringtable_ : *default_instance_->stringtable_; 05096 } 05097 inline ::StringTable* MapTree::mutable_stringtable() { 05098 _set_bit(9); 05099 if (stringtable_ == NULL) stringtable_ = new ::StringTable; 05100 return stringtable_; 05101 } 05102 05103 // ------------------------------------------------------------------- 05104 05105 // MapData 05106 05107 // required bytes coordinates = 1; 05108 inline bool MapData::has_coordinates() const { 05109 return _has_bit(0); 05110 } 05111 inline void MapData::clear_coordinates() { 05112 if (coordinates_ != &_default_coordinates_) { 05113 coordinates_->clear(); 05114 } 05115 _clear_bit(0); 05116 } 05117 inline const ::std::string& MapData::coordinates() const { 05118 return *coordinates_; 05119 } 05120 inline void MapData::set_coordinates(const ::std::string& value) { 05121 _set_bit(0); 05122 if (coordinates_ == &_default_coordinates_) { 05123 coordinates_ = new ::std::string; 05124 } 05125 coordinates_->assign(value); 05126 } 05127 inline void MapData::set_coordinates(const char* value) { 05128 _set_bit(0); 05129 if (coordinates_ == &_default_coordinates_) { 05130 coordinates_ = new ::std::string; 05131 } 05132 coordinates_->assign(value); 05133 } 05134 inline void MapData::set_coordinates(const void* value, size_t size) { 05135 _set_bit(0); 05136 if (coordinates_ == &_default_coordinates_) { 05137 coordinates_ = new ::std::string; 05138 } 05139 coordinates_->assign(reinterpret_cast<const char*>(value), size); 05140 } 05141 inline ::std::string* MapData::mutable_coordinates() { 05142 _set_bit(0); 05143 if (coordinates_ == &_default_coordinates_) { 05144 coordinates_ = new ::std::string; 05145 } 05146 return coordinates_; 05147 } 05148 05149 // required bytes types = 2; 05150 inline bool MapData::has_types() const { 05151 return _has_bit(1); 05152 } 05153 inline void MapData::clear_types() { 05154 if (types_ != &_default_types_) { 05155 types_->clear(); 05156 } 05157 _clear_bit(1); 05158 } 05159 inline const ::std::string& MapData::types() const { 05160 return *types_; 05161 } 05162 inline void MapData::set_types(const ::std::string& value) { 05163 _set_bit(1); 05164 if (types_ == &_default_types_) { 05165 types_ = new ::std::string; 05166 } 05167 types_->assign(value); 05168 } 05169 inline void MapData::set_types(const char* value) { 05170 _set_bit(1); 05171 if (types_ == &_default_types_) { 05172 types_ = new ::std::string; 05173 } 05174 types_->assign(value); 05175 } 05176 inline void MapData::set_types(const void* value, size_t size) { 05177 _set_bit(1); 05178 if (types_ == &_default_types_) { 05179 types_ = new ::std::string; 05180 } 05181 types_->assign(reinterpret_cast<const char*>(value), size); 05182 } 05183 inline ::std::string* MapData::mutable_types() { 05184 _set_bit(1); 05185 if (types_ == &_default_types_) { 05186 types_ = new ::std::string; 05187 } 05188 return types_; 05189 } 05190 05191 // required sint64 id = 3; 05192 inline bool MapData::has_id() const { 05193 return _has_bit(2); 05194 } 05195 inline void MapData::clear_id() { 05196 id_ = GOOGLE_LONGLONG(0); 05197 _clear_bit(2); 05198 } 05199 inline ::google::protobuf::int64 MapData::id() const { 05200 return id_; 05201 } 05202 inline void MapData::set_id(::google::protobuf::int64 value) { 05203 _set_bit(2); 05204 id_ = value; 05205 } 05206 05207 // optional uint32 stringId = 4; 05208 inline bool MapData::has_stringid() const { 05209 return _has_bit(3); 05210 } 05211 inline void MapData::clear_stringid() { 05212 stringid_ = 0u; 05213 _clear_bit(3); 05214 } 05215 inline ::google::protobuf::uint32 MapData::stringid() const { 05216 return stringid_; 05217 } 05218 inline void MapData::set_stringid(::google::protobuf::uint32 value) { 05219 _set_bit(3); 05220 stringid_ = value; 05221 } 05222 05223 // optional bytes restrictions = 5; 05224 inline bool MapData::has_restrictions() const { 05225 return _has_bit(4); 05226 } 05227 inline void MapData::clear_restrictions() { 05228 if (restrictions_ != &_default_restrictions_) { 05229 restrictions_->clear(); 05230 } 05231 _clear_bit(4); 05232 } 05233 inline const ::std::string& MapData::restrictions() const { 05234 return *restrictions_; 05235 } 05236 inline void MapData::set_restrictions(const ::std::string& value) { 05237 _set_bit(4); 05238 if (restrictions_ == &_default_restrictions_) { 05239 restrictions_ = new ::std::string; 05240 } 05241 restrictions_->assign(value); 05242 } 05243 inline void MapData::set_restrictions(const char* value) { 05244 _set_bit(4); 05245 if (restrictions_ == &_default_restrictions_) { 05246 restrictions_ = new ::std::string; 05247 } 05248 restrictions_->assign(value); 05249 } 05250 inline void MapData::set_restrictions(const void* value, size_t size) { 05251 _set_bit(4); 05252 if (restrictions_ == &_default_restrictions_) { 05253 restrictions_ = new ::std::string; 05254 } 05255 restrictions_->assign(reinterpret_cast<const char*>(value), size); 05256 } 05257 inline ::std::string* MapData::mutable_restrictions() { 05258 _set_bit(4); 05259 if (restrictions_ == &_default_restrictions_) { 05260 restrictions_ = new ::std::string; 05261 } 05262 return restrictions_; 05263 } 05264 05265 // optional int32 highwayMeta = 6; 05266 inline bool MapData::has_highwaymeta() const { 05267 return _has_bit(5); 05268 } 05269 inline void MapData::clear_highwaymeta() { 05270 highwaymeta_ = 0; 05271 _clear_bit(5); 05272 } 05273 inline ::google::protobuf::int32 MapData::highwaymeta() const { 05274 return highwaymeta_; 05275 } 05276 inline void MapData::set_highwaymeta(::google::protobuf::int32 value) { 05277 _set_bit(5); 05278 highwaymeta_ = value; 05279 } 05280 05281 // ------------------------------------------------------------------- 05282 05283 // OsmAndAddressIndex 05284 05285 // required string name = 1; 05286 inline bool OsmAndAddressIndex::has_name() const { 05287 return _has_bit(0); 05288 } 05289 inline void OsmAndAddressIndex::clear_name() { 05290 if (name_ != &_default_name_) { 05291 name_->clear(); 05292 } 05293 _clear_bit(0); 05294 } 05295 inline const ::std::string& OsmAndAddressIndex::name() const { 05296 return *name_; 05297 } 05298 inline void OsmAndAddressIndex::set_name(const ::std::string& value) { 05299 _set_bit(0); 05300 if (name_ == &_default_name_) { 05301 name_ = new ::std::string; 05302 } 05303 name_->assign(value); 05304 } 05305 inline void OsmAndAddressIndex::set_name(const char* value) { 05306 _set_bit(0); 05307 if (name_ == &_default_name_) { 05308 name_ = new ::std::string; 05309 } 05310 name_->assign(value); 05311 } 05312 inline void OsmAndAddressIndex::set_name(const char* value, size_t size) { 05313 _set_bit(0); 05314 if (name_ == &_default_name_) { 05315 name_ = new ::std::string; 05316 } 05317 name_->assign(reinterpret_cast<const char*>(value), size); 05318 } 05319 inline ::std::string* OsmAndAddressIndex::mutable_name() { 05320 _set_bit(0); 05321 if (name_ == &_default_name_) { 05322 name_ = new ::std::string; 05323 } 05324 return name_; 05325 } 05326 05327 // optional string name_en = 2; 05328 inline bool OsmAndAddressIndex::has_name_en() const { 05329 return _has_bit(1); 05330 } 05331 inline void OsmAndAddressIndex::clear_name_en() { 05332 if (name_en_ != &_default_name_en_) { 05333 name_en_->clear(); 05334 } 05335 _clear_bit(1); 05336 } 05337 inline const ::std::string& OsmAndAddressIndex::name_en() const { 05338 return *name_en_; 05339 } 05340 inline void OsmAndAddressIndex::set_name_en(const ::std::string& value) { 05341 _set_bit(1); 05342 if (name_en_ == &_default_name_en_) { 05343 name_en_ = new ::std::string; 05344 } 05345 name_en_->assign(value); 05346 } 05347 inline void OsmAndAddressIndex::set_name_en(const char* value) { 05348 _set_bit(1); 05349 if (name_en_ == &_default_name_en_) { 05350 name_en_ = new ::std::string; 05351 } 05352 name_en_->assign(value); 05353 } 05354 inline void OsmAndAddressIndex::set_name_en(const char* value, size_t size) { 05355 _set_bit(1); 05356 if (name_en_ == &_default_name_en_) { 05357 name_en_ = new ::std::string; 05358 } 05359 name_en_->assign(reinterpret_cast<const char*>(value), size); 05360 } 05361 inline ::std::string* OsmAndAddressIndex::mutable_name_en() { 05362 _set_bit(1); 05363 if (name_en_ == &_default_name_en_) { 05364 name_en_ = new ::std::string; 05365 } 05366 return name_en_; 05367 } 05368 05369 // optional .CitiesIndex cities = 5; 05370 inline bool OsmAndAddressIndex::has_cities() const { 05371 return _has_bit(2); 05372 } 05373 inline void OsmAndAddressIndex::clear_cities() { 05374 if (cities_ != NULL) cities_->::CitiesIndex::Clear(); 05375 _clear_bit(2); 05376 } 05377 inline const ::CitiesIndex& OsmAndAddressIndex::cities() const { 05378 return cities_ != NULL ? *cities_ : *default_instance_->cities_; 05379 } 05380 inline ::CitiesIndex* OsmAndAddressIndex::mutable_cities() { 05381 _set_bit(2); 05382 if (cities_ == NULL) cities_ = new ::CitiesIndex; 05383 return cities_; 05384 } 05385 05386 // optional .PostcodesIndex postcodes = 6; 05387 inline bool OsmAndAddressIndex::has_postcodes() const { 05388 return _has_bit(3); 05389 } 05390 inline void OsmAndAddressIndex::clear_postcodes() { 05391 if (postcodes_ != NULL) postcodes_->::PostcodesIndex::Clear(); 05392 _clear_bit(3); 05393 } 05394 inline const ::PostcodesIndex& OsmAndAddressIndex::postcodes() const { 05395 return postcodes_ != NULL ? *postcodes_ : *default_instance_->postcodes_; 05396 } 05397 inline ::PostcodesIndex* OsmAndAddressIndex::mutable_postcodes() { 05398 _set_bit(3); 05399 if (postcodes_ == NULL) postcodes_ = new ::PostcodesIndex; 05400 return postcodes_; 05401 } 05402 05403 // optional .CitiesIndex villages = 7; 05404 inline bool OsmAndAddressIndex::has_villages() const { 05405 return _has_bit(4); 05406 } 05407 inline void OsmAndAddressIndex::clear_villages() { 05408 if (villages_ != NULL) villages_->::CitiesIndex::Clear(); 05409 _clear_bit(4); 05410 } 05411 inline const ::CitiesIndex& OsmAndAddressIndex::villages() const { 05412 return villages_ != NULL ? *villages_ : *default_instance_->villages_; 05413 } 05414 inline ::CitiesIndex* OsmAndAddressIndex::mutable_villages() { 05415 _set_bit(4); 05416 if (villages_ == NULL) villages_ = new ::CitiesIndex; 05417 return villages_; 05418 } 05419 05420 // ------------------------------------------------------------------- 05421 05422 // CitiesIndex 05423 05424 // repeated .CityIndex cities = 1; 05425 inline int CitiesIndex::cities_size() const { 05426 return cities_.size(); 05427 } 05428 inline void CitiesIndex::clear_cities() { 05429 cities_.Clear(); 05430 } 05431 inline const ::CityIndex& CitiesIndex::cities(int index) const { 05432 return cities_.Get(index); 05433 } 05434 inline ::CityIndex* CitiesIndex::mutable_cities(int index) { 05435 return cities_.Mutable(index); 05436 } 05437 inline ::CityIndex* CitiesIndex::add_cities() { 05438 return cities_.Add(); 05439 } 05440 inline const ::google::protobuf::RepeatedPtrField< ::CityIndex >& 05441 CitiesIndex::cities() const { 05442 return cities_; 05443 } 05444 inline ::google::protobuf::RepeatedPtrField< ::CityIndex >* 05445 CitiesIndex::mutable_cities() { 05446 return &cities_; 05447 } 05448 05449 // ------------------------------------------------------------------- 05450 05451 // PostcodesIndex 05452 05453 // repeated .PostcodeIndex postcodes = 1; 05454 inline int PostcodesIndex::postcodes_size() const { 05455 return postcodes_.size(); 05456 } 05457 inline void PostcodesIndex::clear_postcodes() { 05458 postcodes_.Clear(); 05459 } 05460 inline const ::PostcodeIndex& PostcodesIndex::postcodes(int index) const { 05461 return postcodes_.Get(index); 05462 } 05463 inline ::PostcodeIndex* PostcodesIndex::mutable_postcodes(int index) { 05464 return postcodes_.Mutable(index); 05465 } 05466 inline ::PostcodeIndex* PostcodesIndex::add_postcodes() { 05467 return postcodes_.Add(); 05468 } 05469 inline const ::google::protobuf::RepeatedPtrField< ::PostcodeIndex >& 05470 PostcodesIndex::postcodes() const { 05471 return postcodes_; 05472 } 05473 inline ::google::protobuf::RepeatedPtrField< ::PostcodeIndex >* 05474 PostcodesIndex::mutable_postcodes() { 05475 return &postcodes_; 05476 } 05477 05478 // ------------------------------------------------------------------- 05479 05480 // CityIndex 05481 05482 // required uint32 city_type = 1; 05483 inline bool CityIndex::has_city_type() const { 05484 return _has_bit(0); 05485 } 05486 inline void CityIndex::clear_city_type() { 05487 city_type_ = 0u; 05488 _clear_bit(0); 05489 } 05490 inline ::google::protobuf::uint32 CityIndex::city_type() const { 05491 return city_type_; 05492 } 05493 inline void CityIndex::set_city_type(::google::protobuf::uint32 value) { 05494 _set_bit(0); 05495 city_type_ = value; 05496 } 05497 05498 // required string name = 2; 05499 inline bool CityIndex::has_name() const { 05500 return _has_bit(1); 05501 } 05502 inline void CityIndex::clear_name() { 05503 if (name_ != &_default_name_) { 05504 name_->clear(); 05505 } 05506 _clear_bit(1); 05507 } 05508 inline const ::std::string& CityIndex::name() const { 05509 return *name_; 05510 } 05511 inline void CityIndex::set_name(const ::std::string& value) { 05512 _set_bit(1); 05513 if (name_ == &_default_name_) { 05514 name_ = new ::std::string; 05515 } 05516 name_->assign(value); 05517 } 05518 inline void CityIndex::set_name(const char* value) { 05519 _set_bit(1); 05520 if (name_ == &_default_name_) { 05521 name_ = new ::std::string; 05522 } 05523 name_->assign(value); 05524 } 05525 inline void CityIndex::set_name(const char* value, size_t size) { 05526 _set_bit(1); 05527 if (name_ == &_default_name_) { 05528 name_ = new ::std::string; 05529 } 05530 name_->assign(reinterpret_cast<const char*>(value), size); 05531 } 05532 inline ::std::string* CityIndex::mutable_name() { 05533 _set_bit(1); 05534 if (name_ == &_default_name_) { 05535 name_ = new ::std::string; 05536 } 05537 return name_; 05538 } 05539 05540 // optional string name_en = 3; 05541 inline bool CityIndex::has_name_en() const { 05542 return _has_bit(2); 05543 } 05544 inline void CityIndex::clear_name_en() { 05545 if (name_en_ != &_default_name_en_) { 05546 name_en_->clear(); 05547 } 05548 _clear_bit(2); 05549 } 05550 inline const ::std::string& CityIndex::name_en() const { 05551 return *name_en_; 05552 } 05553 inline void CityIndex::set_name_en(const ::std::string& value) { 05554 _set_bit(2); 05555 if (name_en_ == &_default_name_en_) { 05556 name_en_ = new ::std::string; 05557 } 05558 name_en_->assign(value); 05559 } 05560 inline void CityIndex::set_name_en(const char* value) { 05561 _set_bit(2); 05562 if (name_en_ == &_default_name_en_) { 05563 name_en_ = new ::std::string; 05564 } 05565 name_en_->assign(value); 05566 } 05567 inline void CityIndex::set_name_en(const char* value, size_t size) { 05568 _set_bit(2); 05569 if (name_en_ == &_default_name_en_) { 05570 name_en_ = new ::std::string; 05571 } 05572 name_en_->assign(reinterpret_cast<const char*>(value), size); 05573 } 05574 inline ::std::string* CityIndex::mutable_name_en() { 05575 _set_bit(2); 05576 if (name_en_ == &_default_name_en_) { 05577 name_en_ = new ::std::string; 05578 } 05579 return name_en_; 05580 } 05581 05582 // optional uint64 id = 4; 05583 inline bool CityIndex::has_id() const { 05584 return _has_bit(3); 05585 } 05586 inline void CityIndex::clear_id() { 05587 id_ = GOOGLE_ULONGLONG(0); 05588 _clear_bit(3); 05589 } 05590 inline ::google::protobuf::uint64 CityIndex::id() const { 05591 return id_; 05592 } 05593 inline void CityIndex::set_id(::google::protobuf::uint64 value) { 05594 _set_bit(3); 05595 id_ = value; 05596 } 05597 05598 // required fixed32 x = 5; 05599 inline bool CityIndex::has_x() const { 05600 return _has_bit(4); 05601 } 05602 inline void CityIndex::clear_x() { 05603 x_ = 0u; 05604 _clear_bit(4); 05605 } 05606 inline ::google::protobuf::uint32 CityIndex::x() const { 05607 return x_; 05608 } 05609 inline void CityIndex::set_x(::google::protobuf::uint32 value) { 05610 _set_bit(4); 05611 x_ = value; 05612 } 05613 05614 // required fixed32 y = 6; 05615 inline bool CityIndex::has_y() const { 05616 return _has_bit(5); 05617 } 05618 inline void CityIndex::clear_y() { 05619 y_ = 0u; 05620 _clear_bit(5); 05621 } 05622 inline ::google::protobuf::uint32 CityIndex::y() const { 05623 return y_; 05624 } 05625 inline void CityIndex::set_y(::google::protobuf::uint32 value) { 05626 _set_bit(5); 05627 y_ = value; 05628 } 05629 05630 // optional .InteresectedStreets intersections = 14; 05631 inline bool CityIndex::has_intersections() const { 05632 return _has_bit(6); 05633 } 05634 inline void CityIndex::clear_intersections() { 05635 if (intersections_ != NULL) intersections_->::InteresectedStreets::Clear(); 05636 _clear_bit(6); 05637 } 05638 inline const ::InteresectedStreets& CityIndex::intersections() const { 05639 return intersections_ != NULL ? *intersections_ : *default_instance_->intersections_; 05640 } 05641 inline ::InteresectedStreets* CityIndex::mutable_intersections() { 05642 _set_bit(6); 05643 if (intersections_ == NULL) intersections_ = new ::InteresectedStreets; 05644 return intersections_; 05645 } 05646 05647 // repeated .StreetIndex streets = 18; 05648 inline int CityIndex::streets_size() const { 05649 return streets_.size(); 05650 } 05651 inline void CityIndex::clear_streets() { 05652 streets_.Clear(); 05653 } 05654 inline const ::StreetIndex& CityIndex::streets(int index) const { 05655 return streets_.Get(index); 05656 } 05657 inline ::StreetIndex* CityIndex::mutable_streets(int index) { 05658 return streets_.Mutable(index); 05659 } 05660 inline ::StreetIndex* CityIndex::add_streets() { 05661 return streets_.Add(); 05662 } 05663 inline const ::google::protobuf::RepeatedPtrField< ::StreetIndex >& 05664 CityIndex::streets() const { 05665 return streets_; 05666 } 05667 inline ::google::protobuf::RepeatedPtrField< ::StreetIndex >* 05668 CityIndex::mutable_streets() { 05669 return &streets_; 05670 } 05671 05672 // ------------------------------------------------------------------- 05673 05674 // InteresectedStreets 05675 05676 // repeated .StreetIntersection intersections = 5; 05677 inline int InteresectedStreets::intersections_size() const { 05678 return intersections_.size(); 05679 } 05680 inline void InteresectedStreets::clear_intersections() { 05681 intersections_.Clear(); 05682 } 05683 inline const ::StreetIntersection& InteresectedStreets::intersections(int index) const { 05684 return intersections_.Get(index); 05685 } 05686 inline ::StreetIntersection* InteresectedStreets::mutable_intersections(int index) { 05687 return intersections_.Mutable(index); 05688 } 05689 inline ::StreetIntersection* InteresectedStreets::add_intersections() { 05690 return intersections_.Add(); 05691 } 05692 inline const ::google::protobuf::RepeatedPtrField< ::StreetIntersection >& 05693 InteresectedStreets::intersections() const { 05694 return intersections_; 05695 } 05696 inline ::google::protobuf::RepeatedPtrField< ::StreetIntersection >* 05697 InteresectedStreets::mutable_intersections() { 05698 return &intersections_; 05699 } 05700 05701 // ------------------------------------------------------------------- 05702 05703 // StreetIntersection 05704 05705 // required uint32 intersectedStreet1 = 2; 05706 inline bool StreetIntersection::has_intersectedstreet1() const { 05707 return _has_bit(0); 05708 } 05709 inline void StreetIntersection::clear_intersectedstreet1() { 05710 intersectedstreet1_ = 0u; 05711 _clear_bit(0); 05712 } 05713 inline ::google::protobuf::uint32 StreetIntersection::intersectedstreet1() const { 05714 return intersectedstreet1_; 05715 } 05716 inline void StreetIntersection::set_intersectedstreet1(::google::protobuf::uint32 value) { 05717 _set_bit(0); 05718 intersectedstreet1_ = value; 05719 } 05720 05721 // required uint32 intersectedStreet2 = 3; 05722 inline bool StreetIntersection::has_intersectedstreet2() const { 05723 return _has_bit(1); 05724 } 05725 inline void StreetIntersection::clear_intersectedstreet2() { 05726 intersectedstreet2_ = 0u; 05727 _clear_bit(1); 05728 } 05729 inline ::google::protobuf::uint32 StreetIntersection::intersectedstreet2() const { 05730 return intersectedstreet2_; 05731 } 05732 inline void StreetIntersection::set_intersectedstreet2(::google::protobuf::uint32 value) { 05733 _set_bit(1); 05734 intersectedstreet2_ = value; 05735 } 05736 05737 // required sint32 intersectedX = 4; 05738 inline bool StreetIntersection::has_intersectedx() const { 05739 return _has_bit(2); 05740 } 05741 inline void StreetIntersection::clear_intersectedx() { 05742 intersectedx_ = 0; 05743 _clear_bit(2); 05744 } 05745 inline ::google::protobuf::int32 StreetIntersection::intersectedx() const { 05746 return intersectedx_; 05747 } 05748 inline void StreetIntersection::set_intersectedx(::google::protobuf::int32 value) { 05749 _set_bit(2); 05750 intersectedx_ = value; 05751 } 05752 05753 // required sint32 intersectedY = 5; 05754 inline bool StreetIntersection::has_intersectedy() const { 05755 return _has_bit(3); 05756 } 05757 inline void StreetIntersection::clear_intersectedy() { 05758 intersectedy_ = 0; 05759 _clear_bit(3); 05760 } 05761 inline ::google::protobuf::int32 StreetIntersection::intersectedy() const { 05762 return intersectedy_; 05763 } 05764 inline void StreetIntersection::set_intersectedy(::google::protobuf::int32 value) { 05765 _set_bit(3); 05766 intersectedy_ = value; 05767 } 05768 05769 // ------------------------------------------------------------------- 05770 05771 // PostcodeIndex 05772 05773 // required string postcode = 1; 05774 inline bool PostcodeIndex::has_postcode() const { 05775 return _has_bit(0); 05776 } 05777 inline void PostcodeIndex::clear_postcode() { 05778 if (postcode_ != &_default_postcode_) { 05779 postcode_->clear(); 05780 } 05781 _clear_bit(0); 05782 } 05783 inline const ::std::string& PostcodeIndex::postcode() const { 05784 return *postcode_; 05785 } 05786 inline void PostcodeIndex::set_postcode(const ::std::string& value) { 05787 _set_bit(0); 05788 if (postcode_ == &_default_postcode_) { 05789 postcode_ = new ::std::string; 05790 } 05791 postcode_->assign(value); 05792 } 05793 inline void PostcodeIndex::set_postcode(const char* value) { 05794 _set_bit(0); 05795 if (postcode_ == &_default_postcode_) { 05796 postcode_ = new ::std::string; 05797 } 05798 postcode_->assign(value); 05799 } 05800 inline void PostcodeIndex::set_postcode(const char* value, size_t size) { 05801 _set_bit(0); 05802 if (postcode_ == &_default_postcode_) { 05803 postcode_ = new ::std::string; 05804 } 05805 postcode_->assign(reinterpret_cast<const char*>(value), size); 05806 } 05807 inline ::std::string* PostcodeIndex::mutable_postcode() { 05808 _set_bit(0); 05809 if (postcode_ == &_default_postcode_) { 05810 postcode_ = new ::std::string; 05811 } 05812 return postcode_; 05813 } 05814 05815 // required fixed32 x = 2; 05816 inline bool PostcodeIndex::has_x() const { 05817 return _has_bit(1); 05818 } 05819 inline void PostcodeIndex::clear_x() { 05820 x_ = 0u; 05821 _clear_bit(1); 05822 } 05823 inline ::google::protobuf::uint32 PostcodeIndex::x() const { 05824 return x_; 05825 } 05826 inline void PostcodeIndex::set_x(::google::protobuf::uint32 value) { 05827 _set_bit(1); 05828 x_ = value; 05829 } 05830 05831 // required fixed32 y = 3; 05832 inline bool PostcodeIndex::has_y() const { 05833 return _has_bit(2); 05834 } 05835 inline void PostcodeIndex::clear_y() { 05836 y_ = 0u; 05837 _clear_bit(2); 05838 } 05839 inline ::google::protobuf::uint32 PostcodeIndex::y() const { 05840 return y_; 05841 } 05842 inline void PostcodeIndex::set_y(::google::protobuf::uint32 value) { 05843 _set_bit(2); 05844 y_ = value; 05845 } 05846 05847 // repeated .StreetIndex streets = 5; 05848 inline int PostcodeIndex::streets_size() const { 05849 return streets_.size(); 05850 } 05851 inline void PostcodeIndex::clear_streets() { 05852 streets_.Clear(); 05853 } 05854 inline const ::StreetIndex& PostcodeIndex::streets(int index) const { 05855 return streets_.Get(index); 05856 } 05857 inline ::StreetIndex* PostcodeIndex::mutable_streets(int index) { 05858 return streets_.Mutable(index); 05859 } 05860 inline ::StreetIndex* PostcodeIndex::add_streets() { 05861 return streets_.Add(); 05862 } 05863 inline const ::google::protobuf::RepeatedPtrField< ::StreetIndex >& 05864 PostcodeIndex::streets() const { 05865 return streets_; 05866 } 05867 inline ::google::protobuf::RepeatedPtrField< ::StreetIndex >* 05868 PostcodeIndex::mutable_streets() { 05869 return &streets_; 05870 } 05871 05872 // ------------------------------------------------------------------- 05873 05874 // StreetIndex 05875 05876 // required string name = 1; 05877 inline bool StreetIndex::has_name() const { 05878 return _has_bit(0); 05879 } 05880 inline void StreetIndex::clear_name() { 05881 if (name_ != &_default_name_) { 05882 name_->clear(); 05883 } 05884 _clear_bit(0); 05885 } 05886 inline const ::std::string& StreetIndex::name() const { 05887 return *name_; 05888 } 05889 inline void StreetIndex::set_name(const ::std::string& value) { 05890 _set_bit(0); 05891 if (name_ == &_default_name_) { 05892 name_ = new ::std::string; 05893 } 05894 name_->assign(value); 05895 } 05896 inline void StreetIndex::set_name(const char* value) { 05897 _set_bit(0); 05898 if (name_ == &_default_name_) { 05899 name_ = new ::std::string; 05900 } 05901 name_->assign(value); 05902 } 05903 inline void StreetIndex::set_name(const char* value, size_t size) { 05904 _set_bit(0); 05905 if (name_ == &_default_name_) { 05906 name_ = new ::std::string; 05907 } 05908 name_->assign(reinterpret_cast<const char*>(value), size); 05909 } 05910 inline ::std::string* StreetIndex::mutable_name() { 05911 _set_bit(0); 05912 if (name_ == &_default_name_) { 05913 name_ = new ::std::string; 05914 } 05915 return name_; 05916 } 05917 05918 // optional string name_en = 2; 05919 inline bool StreetIndex::has_name_en() const { 05920 return _has_bit(1); 05921 } 05922 inline void StreetIndex::clear_name_en() { 05923 if (name_en_ != &_default_name_en_) { 05924 name_en_->clear(); 05925 } 05926 _clear_bit(1); 05927 } 05928 inline const ::std::string& StreetIndex::name_en() const { 05929 return *name_en_; 05930 } 05931 inline void StreetIndex::set_name_en(const ::std::string& value) { 05932 _set_bit(1); 05933 if (name_en_ == &_default_name_en_) { 05934 name_en_ = new ::std::string; 05935 } 05936 name_en_->assign(value); 05937 } 05938 inline void StreetIndex::set_name_en(const char* value) { 05939 _set_bit(1); 05940 if (name_en_ == &_default_name_en_) { 05941 name_en_ = new ::std::string; 05942 } 05943 name_en_->assign(value); 05944 } 05945 inline void StreetIndex::set_name_en(const char* value, size_t size) { 05946 _set_bit(1); 05947 if (name_en_ == &_default_name_en_) { 05948 name_en_ = new ::std::string; 05949 } 05950 name_en_->assign(reinterpret_cast<const char*>(value), size); 05951 } 05952 inline ::std::string* StreetIndex::mutable_name_en() { 05953 _set_bit(1); 05954 if (name_en_ == &_default_name_en_) { 05955 name_en_ = new ::std::string; 05956 } 05957 return name_en_; 05958 } 05959 05960 // required sint32 x = 3; 05961 inline bool StreetIndex::has_x() const { 05962 return _has_bit(2); 05963 } 05964 inline void StreetIndex::clear_x() { 05965 x_ = 0; 05966 _clear_bit(2); 05967 } 05968 inline ::google::protobuf::int32 StreetIndex::x() const { 05969 return x_; 05970 } 05971 inline void StreetIndex::set_x(::google::protobuf::int32 value) { 05972 _set_bit(2); 05973 x_ = value; 05974 } 05975 05976 // required sint32 y = 4; 05977 inline bool StreetIndex::has_y() const { 05978 return _has_bit(3); 05979 } 05980 inline void StreetIndex::clear_y() { 05981 y_ = 0; 05982 _clear_bit(3); 05983 } 05984 inline ::google::protobuf::int32 StreetIndex::y() const { 05985 return y_; 05986 } 05987 inline void StreetIndex::set_y(::google::protobuf::int32 value) { 05988 _set_bit(3); 05989 y_ = value; 05990 } 05991 05992 // optional uint64 id = 6; 05993 inline bool StreetIndex::has_id() const { 05994 return _has_bit(4); 05995 } 05996 inline void StreetIndex::clear_id() { 05997 id_ = GOOGLE_ULONGLONG(0); 05998 _clear_bit(4); 05999 } 06000 inline ::google::protobuf::uint64 StreetIndex::id() const { 06001 return id_; 06002 } 06003 inline void StreetIndex::set_id(::google::protobuf::uint64 value) { 06004 _set_bit(4); 06005 id_ = value; 06006 } 06007 06008 // repeated .BuildingIndex buildings = 18; 06009 inline int StreetIndex::buildings_size() const { 06010 return buildings_.size(); 06011 } 06012 inline void StreetIndex::clear_buildings() { 06013 buildings_.Clear(); 06014 } 06015 inline const ::BuildingIndex& StreetIndex::buildings(int index) const { 06016 return buildings_.Get(index); 06017 } 06018 inline ::BuildingIndex* StreetIndex::mutable_buildings(int index) { 06019 return buildings_.Mutable(index); 06020 } 06021 inline ::BuildingIndex* StreetIndex::add_buildings() { 06022 return buildings_.Add(); 06023 } 06024 inline const ::google::protobuf::RepeatedPtrField< ::BuildingIndex >& 06025 StreetIndex::buildings() const { 06026 return buildings_; 06027 } 06028 inline ::google::protobuf::RepeatedPtrField< ::BuildingIndex >* 06029 StreetIndex::mutable_buildings() { 06030 return &buildings_; 06031 } 06032 06033 // ------------------------------------------------------------------- 06034 06035 // BuildingIndex 06036 06037 // required string name = 1; 06038 inline bool BuildingIndex::has_name() const { 06039 return _has_bit(0); 06040 } 06041 inline void BuildingIndex::clear_name() { 06042 if (name_ != &_default_name_) { 06043 name_->clear(); 06044 } 06045 _clear_bit(0); 06046 } 06047 inline const ::std::string& BuildingIndex::name() const { 06048 return *name_; 06049 } 06050 inline void BuildingIndex::set_name(const ::std::string& value) { 06051 _set_bit(0); 06052 if (name_ == &_default_name_) { 06053 name_ = new ::std::string; 06054 } 06055 name_->assign(value); 06056 } 06057 inline void BuildingIndex::set_name(const char* value) { 06058 _set_bit(0); 06059 if (name_ == &_default_name_) { 06060 name_ = new ::std::string; 06061 } 06062 name_->assign(value); 06063 } 06064 inline void BuildingIndex::set_name(const char* value, size_t size) { 06065 _set_bit(0); 06066 if (name_ == &_default_name_) { 06067 name_ = new ::std::string; 06068 } 06069 name_->assign(reinterpret_cast<const char*>(value), size); 06070 } 06071 inline ::std::string* BuildingIndex::mutable_name() { 06072 _set_bit(0); 06073 if (name_ == &_default_name_) { 06074 name_ = new ::std::string; 06075 } 06076 return name_; 06077 } 06078 06079 // optional string name_en = 2; 06080 inline bool BuildingIndex::has_name_en() const { 06081 return _has_bit(1); 06082 } 06083 inline void BuildingIndex::clear_name_en() { 06084 if (name_en_ != &_default_name_en_) { 06085 name_en_->clear(); 06086 } 06087 _clear_bit(1); 06088 } 06089 inline const ::std::string& BuildingIndex::name_en() const { 06090 return *name_en_; 06091 } 06092 inline void BuildingIndex::set_name_en(const ::std::string& value) { 06093 _set_bit(1); 06094 if (name_en_ == &_default_name_en_) { 06095 name_en_ = new ::std::string; 06096 } 06097 name_en_->assign(value); 06098 } 06099 inline void BuildingIndex::set_name_en(const char* value) { 06100 _set_bit(1); 06101 if (name_en_ == &_default_name_en_) { 06102 name_en_ = new ::std::string; 06103 } 06104 name_en_->assign(value); 06105 } 06106 inline void BuildingIndex::set_name_en(const char* value, size_t size) { 06107 _set_bit(1); 06108 if (name_en_ == &_default_name_en_) { 06109 name_en_ = new ::std::string; 06110 } 06111 name_en_->assign(reinterpret_cast<const char*>(value), size); 06112 } 06113 inline ::std::string* BuildingIndex::mutable_name_en() { 06114 _set_bit(1); 06115 if (name_en_ == &_default_name_en_) { 06116 name_en_ = new ::std::string; 06117 } 06118 return name_en_; 06119 } 06120 06121 // optional uint64 id = 5; 06122 inline bool BuildingIndex::has_id() const { 06123 return _has_bit(2); 06124 } 06125 inline void BuildingIndex::clear_id() { 06126 id_ = GOOGLE_ULONGLONG(0); 06127 _clear_bit(2); 06128 } 06129 inline ::google::protobuf::uint64 BuildingIndex::id() const { 06130 return id_; 06131 } 06132 inline void BuildingIndex::set_id(::google::protobuf::uint64 value) { 06133 _set_bit(2); 06134 id_ = value; 06135 } 06136 06137 // optional string postcode = 6; 06138 inline bool BuildingIndex::has_postcode() const { 06139 return _has_bit(3); 06140 } 06141 inline void BuildingIndex::clear_postcode() { 06142 if (postcode_ != &_default_postcode_) { 06143 postcode_->clear(); 06144 } 06145 _clear_bit(3); 06146 } 06147 inline const ::std::string& BuildingIndex::postcode() const { 06148 return *postcode_; 06149 } 06150 inline void BuildingIndex::set_postcode(const ::std::string& value) { 06151 _set_bit(3); 06152 if (postcode_ == &_default_postcode_) { 06153 postcode_ = new ::std::string; 06154 } 06155 postcode_->assign(value); 06156 } 06157 inline void BuildingIndex::set_postcode(const char* value) { 06158 _set_bit(3); 06159 if (postcode_ == &_default_postcode_) { 06160 postcode_ = new ::std::string; 06161 } 06162 postcode_->assign(value); 06163 } 06164 inline void BuildingIndex::set_postcode(const char* value, size_t size) { 06165 _set_bit(3); 06166 if (postcode_ == &_default_postcode_) { 06167 postcode_ = new ::std::string; 06168 } 06169 postcode_->assign(reinterpret_cast<const char*>(value), size); 06170 } 06171 inline ::std::string* BuildingIndex::mutable_postcode() { 06172 _set_bit(3); 06173 if (postcode_ == &_default_postcode_) { 06174 postcode_ = new ::std::string; 06175 } 06176 return postcode_; 06177 } 06178 06179 // required sint32 x = 3; 06180 inline bool BuildingIndex::has_x() const { 06181 return _has_bit(4); 06182 } 06183 inline void BuildingIndex::clear_x() { 06184 x_ = 0; 06185 _clear_bit(4); 06186 } 06187 inline ::google::protobuf::int32 BuildingIndex::x() const { 06188 return x_; 06189 } 06190 inline void BuildingIndex::set_x(::google::protobuf::int32 value) { 06191 _set_bit(4); 06192 x_ = value; 06193 } 06194 06195 // required sint32 y = 4; 06196 inline bool BuildingIndex::has_y() const { 06197 return _has_bit(5); 06198 } 06199 inline void BuildingIndex::clear_y() { 06200 y_ = 0; 06201 _clear_bit(5); 06202 } 06203 inline ::google::protobuf::int32 BuildingIndex::y() const { 06204 return y_; 06205 } 06206 inline void BuildingIndex::set_y(::google::protobuf::int32 value) { 06207 _set_bit(5); 06208 y_ = value; 06209 } 06210 06211 // ------------------------------------------------------------------- 06212 06213 // TransportRoutes 06214 06215 // repeated .TransportRoute routes = 6; 06216 inline int TransportRoutes::routes_size() const { 06217 return routes_.size(); 06218 } 06219 inline void TransportRoutes::clear_routes() { 06220 routes_.Clear(); 06221 } 06222 inline const ::TransportRoute& TransportRoutes::routes(int index) const { 06223 return routes_.Get(index); 06224 } 06225 inline ::TransportRoute* TransportRoutes::mutable_routes(int index) { 06226 return routes_.Mutable(index); 06227 } 06228 inline ::TransportRoute* TransportRoutes::add_routes() { 06229 return routes_.Add(); 06230 } 06231 inline const ::google::protobuf::RepeatedPtrField< ::TransportRoute >& 06232 TransportRoutes::routes() const { 06233 return routes_; 06234 } 06235 inline ::google::protobuf::RepeatedPtrField< ::TransportRoute >* 06236 TransportRoutes::mutable_routes() { 06237 return &routes_; 06238 } 06239 06240 // ------------------------------------------------------------------- 06241 06242 // TransportRoute 06243 06244 // required uint64 id = 1; 06245 inline bool TransportRoute::has_id() const { 06246 return _has_bit(0); 06247 } 06248 inline void TransportRoute::clear_id() { 06249 id_ = GOOGLE_ULONGLONG(0); 06250 _clear_bit(0); 06251 } 06252 inline ::google::protobuf::uint64 TransportRoute::id() const { 06253 return id_; 06254 } 06255 inline void TransportRoute::set_id(::google::protobuf::uint64 value) { 06256 _set_bit(0); 06257 id_ = value; 06258 } 06259 06260 // optional uint32 type = 3; 06261 inline bool TransportRoute::has_type() const { 06262 return _has_bit(1); 06263 } 06264 inline void TransportRoute::clear_type() { 06265 type_ = 0u; 06266 _clear_bit(1); 06267 } 06268 inline ::google::protobuf::uint32 TransportRoute::type() const { 06269 return type_; 06270 } 06271 inline void TransportRoute::set_type(::google::protobuf::uint32 value) { 06272 _set_bit(1); 06273 type_ = value; 06274 } 06275 06276 // optional uint32 operator = 4; 06277 inline bool TransportRoute::has_operator_() const { 06278 return _has_bit(2); 06279 } 06280 inline void TransportRoute::clear_operator_() { 06281 operator__ = 0u; 06282 _clear_bit(2); 06283 } 06284 inline ::google::protobuf::uint32 TransportRoute::operator_() const { 06285 return operator__; 06286 } 06287 inline void TransportRoute::set_operator_(::google::protobuf::uint32 value) { 06288 _set_bit(2); 06289 operator__ = value; 06290 } 06291 06292 // optional string ref = 5; 06293 inline bool TransportRoute::has_ref() const { 06294 return _has_bit(3); 06295 } 06296 inline void TransportRoute::clear_ref() { 06297 if (ref_ != &_default_ref_) { 06298 ref_->clear(); 06299 } 06300 _clear_bit(3); 06301 } 06302 inline const ::std::string& TransportRoute::ref() const { 06303 return *ref_; 06304 } 06305 inline void TransportRoute::set_ref(const ::std::string& value) { 06306 _set_bit(3); 06307 if (ref_ == &_default_ref_) { 06308 ref_ = new ::std::string; 06309 } 06310 ref_->assign(value); 06311 } 06312 inline void TransportRoute::set_ref(const char* value) { 06313 _set_bit(3); 06314 if (ref_ == &_default_ref_) { 06315 ref_ = new ::std::string; 06316 } 06317 ref_->assign(value); 06318 } 06319 inline void TransportRoute::set_ref(const char* value, size_t size) { 06320 _set_bit(3); 06321 if (ref_ == &_default_ref_) { 06322 ref_ = new ::std::string; 06323 } 06324 ref_->assign(reinterpret_cast<const char*>(value), size); 06325 } 06326 inline ::std::string* TransportRoute::mutable_ref() { 06327 _set_bit(3); 06328 if (ref_ == &_default_ref_) { 06329 ref_ = new ::std::string; 06330 } 06331 return ref_; 06332 } 06333 06334 // optional uint32 name = 6; 06335 inline bool TransportRoute::has_name() const { 06336 return _has_bit(4); 06337 } 06338 inline void TransportRoute::clear_name() { 06339 name_ = 0u; 06340 _clear_bit(4); 06341 } 06342 inline ::google::protobuf::uint32 TransportRoute::name() const { 06343 return name_; 06344 } 06345 inline void TransportRoute::set_name(::google::protobuf::uint32 value) { 06346 _set_bit(4); 06347 name_ = value; 06348 } 06349 06350 // optional uint32 name_en = 7; 06351 inline bool TransportRoute::has_name_en() const { 06352 return _has_bit(5); 06353 } 06354 inline void TransportRoute::clear_name_en() { 06355 name_en_ = 0u; 06356 _clear_bit(5); 06357 } 06358 inline ::google::protobuf::uint32 TransportRoute::name_en() const { 06359 return name_en_; 06360 } 06361 inline void TransportRoute::set_name_en(::google::protobuf::uint32 value) { 06362 _set_bit(5); 06363 name_en_ = value; 06364 } 06365 06366 // optional uint32 distance = 8; 06367 inline bool TransportRoute::has_distance() const { 06368 return _has_bit(6); 06369 } 06370 inline void TransportRoute::clear_distance() { 06371 distance_ = 0u; 06372 _clear_bit(6); 06373 } 06374 inline ::google::protobuf::uint32 TransportRoute::distance() const { 06375 return distance_; 06376 } 06377 inline void TransportRoute::set_distance(::google::protobuf::uint32 value) { 06378 _set_bit(6); 06379 distance_ = value; 06380 } 06381 06382 // repeated .TransportRouteStop directStops = 15; 06383 inline int TransportRoute::directstops_size() const { 06384 return directstops_.size(); 06385 } 06386 inline void TransportRoute::clear_directstops() { 06387 directstops_.Clear(); 06388 } 06389 inline const ::TransportRouteStop& TransportRoute::directstops(int index) const { 06390 return directstops_.Get(index); 06391 } 06392 inline ::TransportRouteStop* TransportRoute::mutable_directstops(int index) { 06393 return directstops_.Mutable(index); 06394 } 06395 inline ::TransportRouteStop* TransportRoute::add_directstops() { 06396 return directstops_.Add(); 06397 } 06398 inline const ::google::protobuf::RepeatedPtrField< ::TransportRouteStop >& 06399 TransportRoute::directstops() const { 06400 return directstops_; 06401 } 06402 inline ::google::protobuf::RepeatedPtrField< ::TransportRouteStop >* 06403 TransportRoute::mutable_directstops() { 06404 return &directstops_; 06405 } 06406 06407 // repeated .TransportRouteStop reverseStops = 16; 06408 inline int TransportRoute::reversestops_size() const { 06409 return reversestops_.size(); 06410 } 06411 inline void TransportRoute::clear_reversestops() { 06412 reversestops_.Clear(); 06413 } 06414 inline const ::TransportRouteStop& TransportRoute::reversestops(int index) const { 06415 return reversestops_.Get(index); 06416 } 06417 inline ::TransportRouteStop* TransportRoute::mutable_reversestops(int index) { 06418 return reversestops_.Mutable(index); 06419 } 06420 inline ::TransportRouteStop* TransportRoute::add_reversestops() { 06421 return reversestops_.Add(); 06422 } 06423 inline const ::google::protobuf::RepeatedPtrField< ::TransportRouteStop >& 06424 TransportRoute::reversestops() const { 06425 return reversestops_; 06426 } 06427 inline ::google::protobuf::RepeatedPtrField< ::TransportRouteStop >* 06428 TransportRoute::mutable_reversestops() { 06429 return &reversestops_; 06430 } 06431 06432 // ------------------------------------------------------------------- 06433 06434 // TransportRouteStop 06435 06436 // required sint64 id = 1; 06437 inline bool TransportRouteStop::has_id() const { 06438 return _has_bit(0); 06439 } 06440 inline void TransportRouteStop::clear_id() { 06441 id_ = GOOGLE_LONGLONG(0); 06442 _clear_bit(0); 06443 } 06444 inline ::google::protobuf::int64 TransportRouteStop::id() const { 06445 return id_; 06446 } 06447 inline void TransportRouteStop::set_id(::google::protobuf::int64 value) { 06448 _set_bit(0); 06449 id_ = value; 06450 } 06451 06452 // required sint32 dx = 2; 06453 inline bool TransportRouteStop::has_dx() const { 06454 return _has_bit(1); 06455 } 06456 inline void TransportRouteStop::clear_dx() { 06457 dx_ = 0; 06458 _clear_bit(1); 06459 } 06460 inline ::google::protobuf::int32 TransportRouteStop::dx() const { 06461 return dx_; 06462 } 06463 inline void TransportRouteStop::set_dx(::google::protobuf::int32 value) { 06464 _set_bit(1); 06465 dx_ = value; 06466 } 06467 06468 // required sint32 dy = 3; 06469 inline bool TransportRouteStop::has_dy() const { 06470 return _has_bit(2); 06471 } 06472 inline void TransportRouteStop::clear_dy() { 06473 dy_ = 0; 06474 _clear_bit(2); 06475 } 06476 inline ::google::protobuf::int32 TransportRouteStop::dy() const { 06477 return dy_; 06478 } 06479 inline void TransportRouteStop::set_dy(::google::protobuf::int32 value) { 06480 _set_bit(2); 06481 dy_ = value; 06482 } 06483 06484 // required uint32 name = 6; 06485 inline bool TransportRouteStop::has_name() const { 06486 return _has_bit(3); 06487 } 06488 inline void TransportRouteStop::clear_name() { 06489 name_ = 0u; 06490 _clear_bit(3); 06491 } 06492 inline ::google::protobuf::uint32 TransportRouteStop::name() const { 06493 return name_; 06494 } 06495 inline void TransportRouteStop::set_name(::google::protobuf::uint32 value) { 06496 _set_bit(3); 06497 name_ = value; 06498 } 06499 06500 // optional uint32 name_en = 7; 06501 inline bool TransportRouteStop::has_name_en() const { 06502 return _has_bit(4); 06503 } 06504 inline void TransportRouteStop::clear_name_en() { 06505 name_en_ = 0u; 06506 _clear_bit(4); 06507 } 06508 inline ::google::protobuf::uint32 TransportRouteStop::name_en() const { 06509 return name_en_; 06510 } 06511 inline void TransportRouteStop::set_name_en(::google::protobuf::uint32 value) { 06512 _set_bit(4); 06513 name_en_ = value; 06514 } 06515 06516 // ------------------------------------------------------------------- 06517 06518 // TransportStop 06519 06520 // required sint32 dx = 1; 06521 inline bool TransportStop::has_dx() const { 06522 return _has_bit(0); 06523 } 06524 inline void TransportStop::clear_dx() { 06525 dx_ = 0; 06526 _clear_bit(0); 06527 } 06528 inline ::google::protobuf::int32 TransportStop::dx() const { 06529 return dx_; 06530 } 06531 inline void TransportStop::set_dx(::google::protobuf::int32 value) { 06532 _set_bit(0); 06533 dx_ = value; 06534 } 06535 06536 // required sint32 dy = 2; 06537 inline bool TransportStop::has_dy() const { 06538 return _has_bit(1); 06539 } 06540 inline void TransportStop::clear_dy() { 06541 dy_ = 0; 06542 _clear_bit(1); 06543 } 06544 inline ::google::protobuf::int32 TransportStop::dy() const { 06545 return dy_; 06546 } 06547 inline void TransportStop::set_dy(::google::protobuf::int32 value) { 06548 _set_bit(1); 06549 dy_ = value; 06550 } 06551 06552 // required sint64 id = 5; 06553 inline bool TransportStop::has_id() const { 06554 return _has_bit(2); 06555 } 06556 inline void TransportStop::clear_id() { 06557 id_ = GOOGLE_LONGLONG(0); 06558 _clear_bit(2); 06559 } 06560 inline ::google::protobuf::int64 TransportStop::id() const { 06561 return id_; 06562 } 06563 inline void TransportStop::set_id(::google::protobuf::int64 value) { 06564 _set_bit(2); 06565 id_ = value; 06566 } 06567 06568 // required uint32 name = 6; 06569 inline bool TransportStop::has_name() const { 06570 return _has_bit(3); 06571 } 06572 inline void TransportStop::clear_name() { 06573 name_ = 0u; 06574 _clear_bit(3); 06575 } 06576 inline ::google::protobuf::uint32 TransportStop::name() const { 06577 return name_; 06578 } 06579 inline void TransportStop::set_name(::google::protobuf::uint32 value) { 06580 _set_bit(3); 06581 name_ = value; 06582 } 06583 06584 // optional uint32 name_en = 7; 06585 inline bool TransportStop::has_name_en() const { 06586 return _has_bit(4); 06587 } 06588 inline void TransportStop::clear_name_en() { 06589 name_en_ = 0u; 06590 _clear_bit(4); 06591 } 06592 inline ::google::protobuf::uint32 TransportStop::name_en() const { 06593 return name_en_; 06594 } 06595 inline void TransportStop::set_name_en(::google::protobuf::uint32 value) { 06596 _set_bit(4); 06597 name_en_ = value; 06598 } 06599 06600 // repeated uint32 routes = 16; 06601 inline int TransportStop::routes_size() const { 06602 return routes_.size(); 06603 } 06604 inline void TransportStop::clear_routes() { 06605 routes_.Clear(); 06606 } 06607 inline ::google::protobuf::uint32 TransportStop::routes(int index) const { 06608 return routes_.Get(index); 06609 } 06610 inline void TransportStop::set_routes(int index, ::google::protobuf::uint32 value) { 06611 routes_.Set(index, value); 06612 } 06613 inline void TransportStop::add_routes(::google::protobuf::uint32 value) { 06614 routes_.Add(value); 06615 } 06616 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& 06617 TransportStop::routes() const { 06618 return routes_; 06619 } 06620 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* 06621 TransportStop::mutable_routes() { 06622 return &routes_; 06623 } 06624 06625 // ------------------------------------------------------------------- 06626 06627 // TransportStopsTree 06628 06629 // required sint32 left = 1; 06630 inline bool TransportStopsTree::has_left() const { 06631 return _has_bit(0); 06632 } 06633 inline void TransportStopsTree::clear_left() { 06634 left_ = 0; 06635 _clear_bit(0); 06636 } 06637 inline ::google::protobuf::int32 TransportStopsTree::left() const { 06638 return left_; 06639 } 06640 inline void TransportStopsTree::set_left(::google::protobuf::int32 value) { 06641 _set_bit(0); 06642 left_ = value; 06643 } 06644 06645 // required sint32 right = 2; 06646 inline bool TransportStopsTree::has_right() const { 06647 return _has_bit(1); 06648 } 06649 inline void TransportStopsTree::clear_right() { 06650 right_ = 0; 06651 _clear_bit(1); 06652 } 06653 inline ::google::protobuf::int32 TransportStopsTree::right() const { 06654 return right_; 06655 } 06656 inline void TransportStopsTree::set_right(::google::protobuf::int32 value) { 06657 _set_bit(1); 06658 right_ = value; 06659 } 06660 06661 // required sint32 top = 3; 06662 inline bool TransportStopsTree::has_top() const { 06663 return _has_bit(2); 06664 } 06665 inline void TransportStopsTree::clear_top() { 06666 top_ = 0; 06667 _clear_bit(2); 06668 } 06669 inline ::google::protobuf::int32 TransportStopsTree::top() const { 06670 return top_; 06671 } 06672 inline void TransportStopsTree::set_top(::google::protobuf::int32 value) { 06673 _set_bit(2); 06674 top_ = value; 06675 } 06676 06677 // required sint32 bottom = 4; 06678 inline bool TransportStopsTree::has_bottom() const { 06679 return _has_bit(3); 06680 } 06681 inline void TransportStopsTree::clear_bottom() { 06682 bottom_ = 0; 06683 _clear_bit(3); 06684 } 06685 inline ::google::protobuf::int32 TransportStopsTree::bottom() const { 06686 return bottom_; 06687 } 06688 inline void TransportStopsTree::set_bottom(::google::protobuf::int32 value) { 06689 _set_bit(3); 06690 bottom_ = value; 06691 } 06692 06693 // repeated .TransportStopsTree subtrees = 7; 06694 inline int TransportStopsTree::subtrees_size() const { 06695 return subtrees_.size(); 06696 } 06697 inline void TransportStopsTree::clear_subtrees() { 06698 subtrees_.Clear(); 06699 } 06700 inline const ::TransportStopsTree& TransportStopsTree::subtrees(int index) const { 06701 return subtrees_.Get(index); 06702 } 06703 inline ::TransportStopsTree* TransportStopsTree::mutable_subtrees(int index) { 06704 return subtrees_.Mutable(index); 06705 } 06706 inline ::TransportStopsTree* TransportStopsTree::add_subtrees() { 06707 return subtrees_.Add(); 06708 } 06709 inline const ::google::protobuf::RepeatedPtrField< ::TransportStopsTree >& 06710 TransportStopsTree::subtrees() const { 06711 return subtrees_; 06712 } 06713 inline ::google::protobuf::RepeatedPtrField< ::TransportStopsTree >* 06714 TransportStopsTree::mutable_subtrees() { 06715 return &subtrees_; 06716 } 06717 06718 // repeated .TransportStop leafs = 8; 06719 inline int TransportStopsTree::leafs_size() const { 06720 return leafs_.size(); 06721 } 06722 inline void TransportStopsTree::clear_leafs() { 06723 leafs_.Clear(); 06724 } 06725 inline const ::TransportStop& TransportStopsTree::leafs(int index) const { 06726 return leafs_.Get(index); 06727 } 06728 inline ::TransportStop* TransportStopsTree::mutable_leafs(int index) { 06729 return leafs_.Mutable(index); 06730 } 06731 inline ::TransportStop* TransportStopsTree::add_leafs() { 06732 return leafs_.Add(); 06733 } 06734 inline const ::google::protobuf::RepeatedPtrField< ::TransportStop >& 06735 TransportStopsTree::leafs() const { 06736 return leafs_; 06737 } 06738 inline ::google::protobuf::RepeatedPtrField< ::TransportStop >* 06739 TransportStopsTree::mutable_leafs() { 06740 return &leafs_; 06741 } 06742 06743 // optional uint64 baseId = 16; 06744 inline bool TransportStopsTree::has_baseid() const { 06745 return _has_bit(6); 06746 } 06747 inline void TransportStopsTree::clear_baseid() { 06748 baseid_ = GOOGLE_ULONGLONG(0); 06749 _clear_bit(6); 06750 } 06751 inline ::google::protobuf::uint64 TransportStopsTree::baseid() const { 06752 return baseid_; 06753 } 06754 inline void TransportStopsTree::set_baseid(::google::protobuf::uint64 value) { 06755 _set_bit(6); 06756 baseid_ = value; 06757 } 06758 06759 // ------------------------------------------------------------------- 06760 06761 // OsmAndTransportIndex 06762 06763 // optional string name = 1; 06764 inline bool OsmAndTransportIndex::has_name() const { 06765 return _has_bit(0); 06766 } 06767 inline void OsmAndTransportIndex::clear_name() { 06768 if (name_ != &_default_name_) { 06769 name_->clear(); 06770 } 06771 _clear_bit(0); 06772 } 06773 inline const ::std::string& OsmAndTransportIndex::name() const { 06774 return *name_; 06775 } 06776 inline void OsmAndTransportIndex::set_name(const ::std::string& value) { 06777 _set_bit(0); 06778 if (name_ == &_default_name_) { 06779 name_ = new ::std::string; 06780 } 06781 name_->assign(value); 06782 } 06783 inline void OsmAndTransportIndex::set_name(const char* value) { 06784 _set_bit(0); 06785 if (name_ == &_default_name_) { 06786 name_ = new ::std::string; 06787 } 06788 name_->assign(value); 06789 } 06790 inline void OsmAndTransportIndex::set_name(const char* value, size_t size) { 06791 _set_bit(0); 06792 if (name_ == &_default_name_) { 06793 name_ = new ::std::string; 06794 } 06795 name_->assign(reinterpret_cast<const char*>(value), size); 06796 } 06797 inline ::std::string* OsmAndTransportIndex::mutable_name() { 06798 _set_bit(0); 06799 if (name_ == &_default_name_) { 06800 name_ = new ::std::string; 06801 } 06802 return name_; 06803 } 06804 06805 // optional .TransportRoutes routes = 3; 06806 inline bool OsmAndTransportIndex::has_routes() const { 06807 return _has_bit(1); 06808 } 06809 inline void OsmAndTransportIndex::clear_routes() { 06810 if (routes_ != NULL) routes_->::TransportRoutes::Clear(); 06811 _clear_bit(1); 06812 } 06813 inline const ::TransportRoutes& OsmAndTransportIndex::routes() const { 06814 return routes_ != NULL ? *routes_ : *default_instance_->routes_; 06815 } 06816 inline ::TransportRoutes* OsmAndTransportIndex::mutable_routes() { 06817 _set_bit(1); 06818 if (routes_ == NULL) routes_ = new ::TransportRoutes; 06819 return routes_; 06820 } 06821 06822 // optional .TransportStopsTree stops = 6; 06823 inline bool OsmAndTransportIndex::has_stops() const { 06824 return _has_bit(2); 06825 } 06826 inline void OsmAndTransportIndex::clear_stops() { 06827 if (stops_ != NULL) stops_->::TransportStopsTree::Clear(); 06828 _clear_bit(2); 06829 } 06830 inline const ::TransportStopsTree& OsmAndTransportIndex::stops() const { 06831 return stops_ != NULL ? *stops_ : *default_instance_->stops_; 06832 } 06833 inline ::TransportStopsTree* OsmAndTransportIndex::mutable_stops() { 06834 _set_bit(2); 06835 if (stops_ == NULL) stops_ = new ::TransportStopsTree; 06836 return stops_; 06837 } 06838 06839 // required .StringTable stringTable = 9; 06840 inline bool OsmAndTransportIndex::has_stringtable() const { 06841 return _has_bit(3); 06842 } 06843 inline void OsmAndTransportIndex::clear_stringtable() { 06844 if (stringtable_ != NULL) stringtable_->::StringTable::Clear(); 06845 _clear_bit(3); 06846 } 06847 inline const ::StringTable& OsmAndTransportIndex::stringtable() const { 06848 return stringtable_ != NULL ? *stringtable_ : *default_instance_->stringtable_; 06849 } 06850 inline ::StringTable* OsmAndTransportIndex::mutable_stringtable() { 06851 _set_bit(3); 06852 if (stringtable_ == NULL) stringtable_ = new ::StringTable; 06853 return stringtable_; 06854 } 06855 06856 // ------------------------------------------------------------------- 06857 06858 // OsmAndTileBox 06859 06860 // required uint32 left = 1; 06861 inline bool OsmAndTileBox::has_left() const { 06862 return _has_bit(0); 06863 } 06864 inline void OsmAndTileBox::clear_left() { 06865 left_ = 0u; 06866 _clear_bit(0); 06867 } 06868 inline ::google::protobuf::uint32 OsmAndTileBox::left() const { 06869 return left_; 06870 } 06871 inline void OsmAndTileBox::set_left(::google::protobuf::uint32 value) { 06872 _set_bit(0); 06873 left_ = value; 06874 } 06875 06876 // required uint32 right = 2; 06877 inline bool OsmAndTileBox::has_right() const { 06878 return _has_bit(1); 06879 } 06880 inline void OsmAndTileBox::clear_right() { 06881 right_ = 0u; 06882 _clear_bit(1); 06883 } 06884 inline ::google::protobuf::uint32 OsmAndTileBox::right() const { 06885 return right_; 06886 } 06887 inline void OsmAndTileBox::set_right(::google::protobuf::uint32 value) { 06888 _set_bit(1); 06889 right_ = value; 06890 } 06891 06892 // required uint32 top = 3; 06893 inline bool OsmAndTileBox::has_top() const { 06894 return _has_bit(2); 06895 } 06896 inline void OsmAndTileBox::clear_top() { 06897 top_ = 0u; 06898 _clear_bit(2); 06899 } 06900 inline ::google::protobuf::uint32 OsmAndTileBox::top() const { 06901 return top_; 06902 } 06903 inline void OsmAndTileBox::set_top(::google::protobuf::uint32 value) { 06904 _set_bit(2); 06905 top_ = value; 06906 } 06907 06908 // required uint32 bottom = 4; 06909 inline bool OsmAndTileBox::has_bottom() const { 06910 return _has_bit(3); 06911 } 06912 inline void OsmAndTileBox::clear_bottom() { 06913 bottom_ = 0u; 06914 _clear_bit(3); 06915 } 06916 inline ::google::protobuf::uint32 OsmAndTileBox::bottom() const { 06917 return bottom_; 06918 } 06919 inline void OsmAndTileBox::set_bottom(::google::protobuf::uint32 value) { 06920 _set_bit(3); 06921 bottom_ = value; 06922 } 06923 06924 // ------------------------------------------------------------------- 06925 06926 // OsmAndPoiIndex 06927 06928 // required string name = 1; 06929 inline bool OsmAndPoiIndex::has_name() const { 06930 return _has_bit(0); 06931 } 06932 inline void OsmAndPoiIndex::clear_name() { 06933 if (name_ != &_default_name_) { 06934 name_->clear(); 06935 } 06936 _clear_bit(0); 06937 } 06938 inline const ::std::string& OsmAndPoiIndex::name() const { 06939 return *name_; 06940 } 06941 inline void OsmAndPoiIndex::set_name(const ::std::string& value) { 06942 _set_bit(0); 06943 if (name_ == &_default_name_) { 06944 name_ = new ::std::string; 06945 } 06946 name_->assign(value); 06947 } 06948 inline void OsmAndPoiIndex::set_name(const char* value) { 06949 _set_bit(0); 06950 if (name_ == &_default_name_) { 06951 name_ = new ::std::string; 06952 } 06953 name_->assign(value); 06954 } 06955 inline void OsmAndPoiIndex::set_name(const char* value, size_t size) { 06956 _set_bit(0); 06957 if (name_ == &_default_name_) { 06958 name_ = new ::std::string; 06959 } 06960 name_->assign(reinterpret_cast<const char*>(value), size); 06961 } 06962 inline ::std::string* OsmAndPoiIndex::mutable_name() { 06963 _set_bit(0); 06964 if (name_ == &_default_name_) { 06965 name_ = new ::std::string; 06966 } 06967 return name_; 06968 } 06969 06970 // required .OsmAndTileBox boundaries = 2; 06971 inline bool OsmAndPoiIndex::has_boundaries() const { 06972 return _has_bit(1); 06973 } 06974 inline void OsmAndPoiIndex::clear_boundaries() { 06975 if (boundaries_ != NULL) boundaries_->::OsmAndTileBox::Clear(); 06976 _clear_bit(1); 06977 } 06978 inline const ::OsmAndTileBox& OsmAndPoiIndex::boundaries() const { 06979 return boundaries_ != NULL ? *boundaries_ : *default_instance_->boundaries_; 06980 } 06981 inline ::OsmAndTileBox* OsmAndPoiIndex::mutable_boundaries() { 06982 _set_bit(1); 06983 if (boundaries_ == NULL) boundaries_ = new ::OsmAndTileBox; 06984 return boundaries_; 06985 } 06986 06987 // repeated .OsmAndCategoryTable categoriesTable = 3; 06988 inline int OsmAndPoiIndex::categoriestable_size() const { 06989 return categoriestable_.size(); 06990 } 06991 inline void OsmAndPoiIndex::clear_categoriestable() { 06992 categoriestable_.Clear(); 06993 } 06994 inline const ::OsmAndCategoryTable& OsmAndPoiIndex::categoriestable(int index) const { 06995 return categoriestable_.Get(index); 06996 } 06997 inline ::OsmAndCategoryTable* OsmAndPoiIndex::mutable_categoriestable(int index) { 06998 return categoriestable_.Mutable(index); 06999 } 07000 inline ::OsmAndCategoryTable* OsmAndPoiIndex::add_categoriestable() { 07001 return categoriestable_.Add(); 07002 } 07003 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndCategoryTable >& 07004 OsmAndPoiIndex::categoriestable() const { 07005 return categoriestable_; 07006 } 07007 inline ::google::protobuf::RepeatedPtrField< ::OsmAndCategoryTable >* 07008 OsmAndPoiIndex::mutable_categoriestable() { 07009 return &categoriestable_; 07010 } 07011 07012 // optional .OsmAndPoiNameIndex nameIndex = 4; 07013 inline bool OsmAndPoiIndex::has_nameindex() const { 07014 return _has_bit(3); 07015 } 07016 inline void OsmAndPoiIndex::clear_nameindex() { 07017 if (nameindex_ != NULL) nameindex_->::OsmAndPoiNameIndex::Clear(); 07018 _clear_bit(3); 07019 } 07020 inline const ::OsmAndPoiNameIndex& OsmAndPoiIndex::nameindex() const { 07021 return nameindex_ != NULL ? *nameindex_ : *default_instance_->nameindex_; 07022 } 07023 inline ::OsmAndPoiNameIndex* OsmAndPoiIndex::mutable_nameindex() { 07024 _set_bit(3); 07025 if (nameindex_ == NULL) nameindex_ = new ::OsmAndPoiNameIndex; 07026 return nameindex_; 07027 } 07028 07029 // repeated .OsmAndPoiBox boxes = 6; 07030 inline int OsmAndPoiIndex::boxes_size() const { 07031 return boxes_.size(); 07032 } 07033 inline void OsmAndPoiIndex::clear_boxes() { 07034 boxes_.Clear(); 07035 } 07036 inline const ::OsmAndPoiBox& OsmAndPoiIndex::boxes(int index) const { 07037 return boxes_.Get(index); 07038 } 07039 inline ::OsmAndPoiBox* OsmAndPoiIndex::mutable_boxes(int index) { 07040 return boxes_.Mutable(index); 07041 } 07042 inline ::OsmAndPoiBox* OsmAndPoiIndex::add_boxes() { 07043 return boxes_.Add(); 07044 } 07045 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBox >& 07046 OsmAndPoiIndex::boxes() const { 07047 return boxes_; 07048 } 07049 inline ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBox >* 07050 OsmAndPoiIndex::mutable_boxes() { 07051 return &boxes_; 07052 } 07053 07054 // repeated .OsmAndPoiBoxData poiData = 9; 07055 inline int OsmAndPoiIndex::poidata_size() const { 07056 return poidata_.size(); 07057 } 07058 inline void OsmAndPoiIndex::clear_poidata() { 07059 poidata_.Clear(); 07060 } 07061 inline const ::OsmAndPoiBoxData& OsmAndPoiIndex::poidata(int index) const { 07062 return poidata_.Get(index); 07063 } 07064 inline ::OsmAndPoiBoxData* OsmAndPoiIndex::mutable_poidata(int index) { 07065 return poidata_.Mutable(index); 07066 } 07067 inline ::OsmAndPoiBoxData* OsmAndPoiIndex::add_poidata() { 07068 return poidata_.Add(); 07069 } 07070 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBoxData >& 07071 OsmAndPoiIndex::poidata() const { 07072 return poidata_; 07073 } 07074 inline ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBoxData >* 07075 OsmAndPoiIndex::mutable_poidata() { 07076 return &poidata_; 07077 } 07078 07079 // ------------------------------------------------------------------- 07080 07081 // OsmAndPoiNameIndex 07082 07083 // required .IndexedStringTable table = 2; 07084 inline bool OsmAndPoiNameIndex::has_table() const { 07085 return _has_bit(0); 07086 } 07087 inline void OsmAndPoiNameIndex::clear_table() { 07088 if (table_ != NULL) table_->::IndexedStringTable::Clear(); 07089 _clear_bit(0); 07090 } 07091 inline const ::IndexedStringTable& OsmAndPoiNameIndex::table() const { 07092 return table_ != NULL ? *table_ : *default_instance_->table_; 07093 } 07094 inline ::IndexedStringTable* OsmAndPoiNameIndex::mutable_table() { 07095 _set_bit(0); 07096 if (table_ == NULL) table_ = new ::IndexedStringTable; 07097 return table_; 07098 } 07099 07100 // repeated .OsmAndPoiNameIndexData data = 5; 07101 inline int OsmAndPoiNameIndex::data_size() const { 07102 return data_.size(); 07103 } 07104 inline void OsmAndPoiNameIndex::clear_data() { 07105 data_.Clear(); 07106 } 07107 inline const ::OsmAndPoiNameIndexData& OsmAndPoiNameIndex::data(int index) const { 07108 return data_.Get(index); 07109 } 07110 inline ::OsmAndPoiNameIndexData* OsmAndPoiNameIndex::mutable_data(int index) { 07111 return data_.Mutable(index); 07112 } 07113 inline ::OsmAndPoiNameIndexData* OsmAndPoiNameIndex::add_data() { 07114 return data_.Add(); 07115 } 07116 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndPoiNameIndexData >& 07117 OsmAndPoiNameIndex::data() const { 07118 return data_; 07119 } 07120 inline ::google::protobuf::RepeatedPtrField< ::OsmAndPoiNameIndexData >* 07121 OsmAndPoiNameIndex::mutable_data() { 07122 return &data_; 07123 } 07124 07125 // ------------------------------------------------------------------- 07126 07127 // OsmAndPoiNameIndexData 07128 07129 // repeated .OsmAndPoiNameIndexDataAtom atoms = 4; 07130 inline int OsmAndPoiNameIndexData::atoms_size() const { 07131 return atoms_.size(); 07132 } 07133 inline void OsmAndPoiNameIndexData::clear_atoms() { 07134 atoms_.Clear(); 07135 } 07136 inline const ::OsmAndPoiNameIndexDataAtom& OsmAndPoiNameIndexData::atoms(int index) const { 07137 return atoms_.Get(index); 07138 } 07139 inline ::OsmAndPoiNameIndexDataAtom* OsmAndPoiNameIndexData::mutable_atoms(int index) { 07140 return atoms_.Mutable(index); 07141 } 07142 inline ::OsmAndPoiNameIndexDataAtom* OsmAndPoiNameIndexData::add_atoms() { 07143 return atoms_.Add(); 07144 } 07145 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndPoiNameIndexDataAtom >& 07146 OsmAndPoiNameIndexData::atoms() const { 07147 return atoms_; 07148 } 07149 inline ::google::protobuf::RepeatedPtrField< ::OsmAndPoiNameIndexDataAtom >* 07150 OsmAndPoiNameIndexData::mutable_atoms() { 07151 return &atoms_; 07152 } 07153 07154 // ------------------------------------------------------------------- 07155 07156 // OsmAndPoiNameIndexDataAtom 07157 07158 // optional uint32 zoom = 2; 07159 inline bool OsmAndPoiNameIndexDataAtom::has_zoom() const { 07160 return _has_bit(0); 07161 } 07162 inline void OsmAndPoiNameIndexDataAtom::clear_zoom() { 07163 zoom_ = 0u; 07164 _clear_bit(0); 07165 } 07166 inline ::google::protobuf::uint32 OsmAndPoiNameIndexDataAtom::zoom() const { 07167 return zoom_; 07168 } 07169 inline void OsmAndPoiNameIndexDataAtom::set_zoom(::google::protobuf::uint32 value) { 07170 _set_bit(0); 07171 zoom_ = value; 07172 } 07173 07174 // optional uint32 x = 3; 07175 inline bool OsmAndPoiNameIndexDataAtom::has_x() const { 07176 return _has_bit(1); 07177 } 07178 inline void OsmAndPoiNameIndexDataAtom::clear_x() { 07179 x_ = 0u; 07180 _clear_bit(1); 07181 } 07182 inline ::google::protobuf::uint32 OsmAndPoiNameIndexDataAtom::x() const { 07183 return x_; 07184 } 07185 inline void OsmAndPoiNameIndexDataAtom::set_x(::google::protobuf::uint32 value) { 07186 _set_bit(1); 07187 x_ = value; 07188 } 07189 07190 // optional uint32 y = 4; 07191 inline bool OsmAndPoiNameIndexDataAtom::has_y() const { 07192 return _has_bit(2); 07193 } 07194 inline void OsmAndPoiNameIndexDataAtom::clear_y() { 07195 y_ = 0u; 07196 _clear_bit(2); 07197 } 07198 inline ::google::protobuf::uint32 OsmAndPoiNameIndexDataAtom::y() const { 07199 return y_; 07200 } 07201 inline void OsmAndPoiNameIndexDataAtom::set_y(::google::protobuf::uint32 value) { 07202 _set_bit(2); 07203 y_ = value; 07204 } 07205 07206 // optional fixed32 shiftTo = 14; 07207 inline bool OsmAndPoiNameIndexDataAtom::has_shiftto() const { 07208 return _has_bit(3); 07209 } 07210 inline void OsmAndPoiNameIndexDataAtom::clear_shiftto() { 07211 shiftto_ = 0u; 07212 _clear_bit(3); 07213 } 07214 inline ::google::protobuf::uint32 OsmAndPoiNameIndexDataAtom::shiftto() const { 07215 return shiftto_; 07216 } 07217 inline void OsmAndPoiNameIndexDataAtom::set_shiftto(::google::protobuf::uint32 value) { 07218 _set_bit(3); 07219 shiftto_ = value; 07220 } 07221 07222 // ------------------------------------------------------------------- 07223 07224 // OsmAndCategoryTable 07225 07226 // required string category = 1; 07227 inline bool OsmAndCategoryTable::has_category() const { 07228 return _has_bit(0); 07229 } 07230 inline void OsmAndCategoryTable::clear_category() { 07231 if (category_ != &_default_category_) { 07232 category_->clear(); 07233 } 07234 _clear_bit(0); 07235 } 07236 inline const ::std::string& OsmAndCategoryTable::category() const { 07237 return *category_; 07238 } 07239 inline void OsmAndCategoryTable::set_category(const ::std::string& value) { 07240 _set_bit(0); 07241 if (category_ == &_default_category_) { 07242 category_ = new ::std::string; 07243 } 07244 category_->assign(value); 07245 } 07246 inline void OsmAndCategoryTable::set_category(const char* value) { 07247 _set_bit(0); 07248 if (category_ == &_default_category_) { 07249 category_ = new ::std::string; 07250 } 07251 category_->assign(value); 07252 } 07253 inline void OsmAndCategoryTable::set_category(const char* value, size_t size) { 07254 _set_bit(0); 07255 if (category_ == &_default_category_) { 07256 category_ = new ::std::string; 07257 } 07258 category_->assign(reinterpret_cast<const char*>(value), size); 07259 } 07260 inline ::std::string* OsmAndCategoryTable::mutable_category() { 07261 _set_bit(0); 07262 if (category_ == &_default_category_) { 07263 category_ = new ::std::string; 07264 } 07265 return category_; 07266 } 07267 07268 // repeated string subcategories = 3; 07269 inline int OsmAndCategoryTable::subcategories_size() const { 07270 return subcategories_.size(); 07271 } 07272 inline void OsmAndCategoryTable::clear_subcategories() { 07273 subcategories_.Clear(); 07274 } 07275 inline const ::std::string& OsmAndCategoryTable::subcategories(int index) const { 07276 return subcategories_.Get(index); 07277 } 07278 inline ::std::string* OsmAndCategoryTable::mutable_subcategories(int index) { 07279 return subcategories_.Mutable(index); 07280 } 07281 inline void OsmAndCategoryTable::set_subcategories(int index, const ::std::string& value) { 07282 subcategories_.Mutable(index)->assign(value); 07283 } 07284 inline void OsmAndCategoryTable::set_subcategories(int index, const char* value) { 07285 subcategories_.Mutable(index)->assign(value); 07286 } 07287 inline void OsmAndCategoryTable::set_subcategories(int index, const char* value, size_t size) { 07288 subcategories_.Mutable(index)->assign( 07289 reinterpret_cast<const char*>(value), size); 07290 } 07291 inline ::std::string* OsmAndCategoryTable::add_subcategories() { 07292 return subcategories_.Add(); 07293 } 07294 inline void OsmAndCategoryTable::add_subcategories(const ::std::string& value) { 07295 subcategories_.Add()->assign(value); 07296 } 07297 inline void OsmAndCategoryTable::add_subcategories(const char* value) { 07298 subcategories_.Add()->assign(value); 07299 } 07300 inline void OsmAndCategoryTable::add_subcategories(const char* value, size_t size) { 07301 subcategories_.Add()->assign(reinterpret_cast<const char*>(value), size); 07302 } 07303 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& 07304 OsmAndCategoryTable::subcategories() const { 07305 return subcategories_; 07306 } 07307 inline ::google::protobuf::RepeatedPtrField< ::std::string>* 07308 OsmAndCategoryTable::mutable_subcategories() { 07309 return &subcategories_; 07310 } 07311 07312 // ------------------------------------------------------------------- 07313 07314 // OsmAndPoiBox 07315 07316 // required uint32 zoom = 1; 07317 inline bool OsmAndPoiBox::has_zoom() const { 07318 return _has_bit(0); 07319 } 07320 inline void OsmAndPoiBox::clear_zoom() { 07321 zoom_ = 0u; 07322 _clear_bit(0); 07323 } 07324 inline ::google::protobuf::uint32 OsmAndPoiBox::zoom() const { 07325 return zoom_; 07326 } 07327 inline void OsmAndPoiBox::set_zoom(::google::protobuf::uint32 value) { 07328 _set_bit(0); 07329 zoom_ = value; 07330 } 07331 07332 // required sint32 left = 2; 07333 inline bool OsmAndPoiBox::has_left() const { 07334 return _has_bit(1); 07335 } 07336 inline void OsmAndPoiBox::clear_left() { 07337 left_ = 0; 07338 _clear_bit(1); 07339 } 07340 inline ::google::protobuf::int32 OsmAndPoiBox::left() const { 07341 return left_; 07342 } 07343 inline void OsmAndPoiBox::set_left(::google::protobuf::int32 value) { 07344 _set_bit(1); 07345 left_ = value; 07346 } 07347 07348 // required sint32 top = 3; 07349 inline bool OsmAndPoiBox::has_top() const { 07350 return _has_bit(2); 07351 } 07352 inline void OsmAndPoiBox::clear_top() { 07353 top_ = 0; 07354 _clear_bit(2); 07355 } 07356 inline ::google::protobuf::int32 OsmAndPoiBox::top() const { 07357 return top_; 07358 } 07359 inline void OsmAndPoiBox::set_top(::google::protobuf::int32 value) { 07360 _set_bit(2); 07361 top_ = value; 07362 } 07363 07364 // optional .OsmAndPoiCategories categories = 4; 07365 inline bool OsmAndPoiBox::has_categories() const { 07366 return _has_bit(3); 07367 } 07368 inline void OsmAndPoiBox::clear_categories() { 07369 if (categories_ != NULL) categories_->::OsmAndPoiCategories::Clear(); 07370 _clear_bit(3); 07371 } 07372 inline const ::OsmAndPoiCategories& OsmAndPoiBox::categories() const { 07373 return categories_ != NULL ? *categories_ : *default_instance_->categories_; 07374 } 07375 inline ::OsmAndPoiCategories* OsmAndPoiBox::mutable_categories() { 07376 _set_bit(3); 07377 if (categories_ == NULL) categories_ = new ::OsmAndPoiCategories; 07378 return categories_; 07379 } 07380 07381 // repeated .OsmAndPoiBox subBoxes = 10; 07382 inline int OsmAndPoiBox::subboxes_size() const { 07383 return subboxes_.size(); 07384 } 07385 inline void OsmAndPoiBox::clear_subboxes() { 07386 subboxes_.Clear(); 07387 } 07388 inline const ::OsmAndPoiBox& OsmAndPoiBox::subboxes(int index) const { 07389 return subboxes_.Get(index); 07390 } 07391 inline ::OsmAndPoiBox* OsmAndPoiBox::mutable_subboxes(int index) { 07392 return subboxes_.Mutable(index); 07393 } 07394 inline ::OsmAndPoiBox* OsmAndPoiBox::add_subboxes() { 07395 return subboxes_.Add(); 07396 } 07397 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBox >& 07398 OsmAndPoiBox::subboxes() const { 07399 return subboxes_; 07400 } 07401 inline ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBox >* 07402 OsmAndPoiBox::mutable_subboxes() { 07403 return &subboxes_; 07404 } 07405 07406 // optional fixed32 shiftToData = 14; 07407 inline bool OsmAndPoiBox::has_shifttodata() const { 07408 return _has_bit(5); 07409 } 07410 inline void OsmAndPoiBox::clear_shifttodata() { 07411 shifttodata_ = 0u; 07412 _clear_bit(5); 07413 } 07414 inline ::google::protobuf::uint32 OsmAndPoiBox::shifttodata() const { 07415 return shifttodata_; 07416 } 07417 inline void OsmAndPoiBox::set_shifttodata(::google::protobuf::uint32 value) { 07418 _set_bit(5); 07419 shifttodata_ = value; 07420 } 07421 07422 // ------------------------------------------------------------------- 07423 07424 // OsmAndPoiCategories 07425 07426 // repeated uint32 categories = 3; 07427 inline int OsmAndPoiCategories::categories_size() const { 07428 return categories_.size(); 07429 } 07430 inline void OsmAndPoiCategories::clear_categories() { 07431 categories_.Clear(); 07432 } 07433 inline ::google::protobuf::uint32 OsmAndPoiCategories::categories(int index) const { 07434 return categories_.Get(index); 07435 } 07436 inline void OsmAndPoiCategories::set_categories(int index, ::google::protobuf::uint32 value) { 07437 categories_.Set(index, value); 07438 } 07439 inline void OsmAndPoiCategories::add_categories(::google::protobuf::uint32 value) { 07440 categories_.Add(value); 07441 } 07442 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& 07443 OsmAndPoiCategories::categories() const { 07444 return categories_; 07445 } 07446 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* 07447 OsmAndPoiCategories::mutable_categories() { 07448 return &categories_; 07449 } 07450 07451 // ------------------------------------------------------------------- 07452 07453 // OsmAndPoiBoxData 07454 07455 // optional uint32 zoom = 1; 07456 inline bool OsmAndPoiBoxData::has_zoom() const { 07457 return _has_bit(0); 07458 } 07459 inline void OsmAndPoiBoxData::clear_zoom() { 07460 zoom_ = 0u; 07461 _clear_bit(0); 07462 } 07463 inline ::google::protobuf::uint32 OsmAndPoiBoxData::zoom() const { 07464 return zoom_; 07465 } 07466 inline void OsmAndPoiBoxData::set_zoom(::google::protobuf::uint32 value) { 07467 _set_bit(0); 07468 zoom_ = value; 07469 } 07470 07471 // optional uint32 x = 2; 07472 inline bool OsmAndPoiBoxData::has_x() const { 07473 return _has_bit(1); 07474 } 07475 inline void OsmAndPoiBoxData::clear_x() { 07476 x_ = 0u; 07477 _clear_bit(1); 07478 } 07479 inline ::google::protobuf::uint32 OsmAndPoiBoxData::x() const { 07480 return x_; 07481 } 07482 inline void OsmAndPoiBoxData::set_x(::google::protobuf::uint32 value) { 07483 _set_bit(1); 07484 x_ = value; 07485 } 07486 07487 // optional uint32 y = 3; 07488 inline bool OsmAndPoiBoxData::has_y() const { 07489 return _has_bit(2); 07490 } 07491 inline void OsmAndPoiBoxData::clear_y() { 07492 y_ = 0u; 07493 _clear_bit(2); 07494 } 07495 inline ::google::protobuf::uint32 OsmAndPoiBoxData::y() const { 07496 return y_; 07497 } 07498 inline void OsmAndPoiBoxData::set_y(::google::protobuf::uint32 value) { 07499 _set_bit(2); 07500 y_ = value; 07501 } 07502 07503 // repeated .OsmAndPoiBoxDataAtom poiData = 5; 07504 inline int OsmAndPoiBoxData::poidata_size() const { 07505 return poidata_.size(); 07506 } 07507 inline void OsmAndPoiBoxData::clear_poidata() { 07508 poidata_.Clear(); 07509 } 07510 inline const ::OsmAndPoiBoxDataAtom& OsmAndPoiBoxData::poidata(int index) const { 07511 return poidata_.Get(index); 07512 } 07513 inline ::OsmAndPoiBoxDataAtom* OsmAndPoiBoxData::mutable_poidata(int index) { 07514 return poidata_.Mutable(index); 07515 } 07516 inline ::OsmAndPoiBoxDataAtom* OsmAndPoiBoxData::add_poidata() { 07517 return poidata_.Add(); 07518 } 07519 inline const ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBoxDataAtom >& 07520 OsmAndPoiBoxData::poidata() const { 07521 return poidata_; 07522 } 07523 inline ::google::protobuf::RepeatedPtrField< ::OsmAndPoiBoxDataAtom >* 07524 OsmAndPoiBoxData::mutable_poidata() { 07525 return &poidata_; 07526 } 07527 07528 // ------------------------------------------------------------------- 07529 07530 // OsmAndPoiBoxDataAtom 07531 07532 // required sint32 dx = 2; 07533 inline bool OsmAndPoiBoxDataAtom::has_dx() const { 07534 return _has_bit(0); 07535 } 07536 inline void OsmAndPoiBoxDataAtom::clear_dx() { 07537 dx_ = 0; 07538 _clear_bit(0); 07539 } 07540 inline ::google::protobuf::int32 OsmAndPoiBoxDataAtom::dx() const { 07541 return dx_; 07542 } 07543 inline void OsmAndPoiBoxDataAtom::set_dx(::google::protobuf::int32 value) { 07544 _set_bit(0); 07545 dx_ = value; 07546 } 07547 07548 // required sint32 dy = 3; 07549 inline bool OsmAndPoiBoxDataAtom::has_dy() const { 07550 return _has_bit(1); 07551 } 07552 inline void OsmAndPoiBoxDataAtom::clear_dy() { 07553 dy_ = 0; 07554 _clear_bit(1); 07555 } 07556 inline ::google::protobuf::int32 OsmAndPoiBoxDataAtom::dy() const { 07557 return dy_; 07558 } 07559 inline void OsmAndPoiBoxDataAtom::set_dy(::google::protobuf::int32 value) { 07560 _set_bit(1); 07561 dy_ = value; 07562 } 07563 07564 // repeated uint32 categories = 4; 07565 inline int OsmAndPoiBoxDataAtom::categories_size() const { 07566 return categories_.size(); 07567 } 07568 inline void OsmAndPoiBoxDataAtom::clear_categories() { 07569 categories_.Clear(); 07570 } 07571 inline ::google::protobuf::uint32 OsmAndPoiBoxDataAtom::categories(int index) const { 07572 return categories_.Get(index); 07573 } 07574 inline void OsmAndPoiBoxDataAtom::set_categories(int index, ::google::protobuf::uint32 value) { 07575 categories_.Set(index, value); 07576 } 07577 inline void OsmAndPoiBoxDataAtom::add_categories(::google::protobuf::uint32 value) { 07578 categories_.Add(value); 07579 } 07580 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& 07581 OsmAndPoiBoxDataAtom::categories() const { 07582 return categories_; 07583 } 07584 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* 07585 OsmAndPoiBoxDataAtom::mutable_categories() { 07586 return &categories_; 07587 } 07588 07589 // optional string name = 6; 07590 inline bool OsmAndPoiBoxDataAtom::has_name() const { 07591 return _has_bit(3); 07592 } 07593 inline void OsmAndPoiBoxDataAtom::clear_name() { 07594 if (name_ != &_default_name_) { 07595 name_->clear(); 07596 } 07597 _clear_bit(3); 07598 } 07599 inline const ::std::string& OsmAndPoiBoxDataAtom::name() const { 07600 return *name_; 07601 } 07602 inline void OsmAndPoiBoxDataAtom::set_name(const ::std::string& value) { 07603 _set_bit(3); 07604 if (name_ == &_default_name_) { 07605 name_ = new ::std::string; 07606 } 07607 name_->assign(value); 07608 } 07609 inline void OsmAndPoiBoxDataAtom::set_name(const char* value) { 07610 _set_bit(3); 07611 if (name_ == &_default_name_) { 07612 name_ = new ::std::string; 07613 } 07614 name_->assign(value); 07615 } 07616 inline void OsmAndPoiBoxDataAtom::set_name(const char* value, size_t size) { 07617 _set_bit(3); 07618 if (name_ == &_default_name_) { 07619 name_ = new ::std::string; 07620 } 07621 name_->assign(reinterpret_cast<const char*>(value), size); 07622 } 07623 inline ::std::string* OsmAndPoiBoxDataAtom::mutable_name() { 07624 _set_bit(3); 07625 if (name_ == &_default_name_) { 07626 name_ = new ::std::string; 07627 } 07628 return name_; 07629 } 07630 07631 // optional string nameEn = 7; 07632 inline bool OsmAndPoiBoxDataAtom::has_nameen() const { 07633 return _has_bit(4); 07634 } 07635 inline void OsmAndPoiBoxDataAtom::clear_nameen() { 07636 if (nameen_ != &_default_nameen_) { 07637 nameen_->clear(); 07638 } 07639 _clear_bit(4); 07640 } 07641 inline const ::std::string& OsmAndPoiBoxDataAtom::nameen() const { 07642 return *nameen_; 07643 } 07644 inline void OsmAndPoiBoxDataAtom::set_nameen(const ::std::string& value) { 07645 _set_bit(4); 07646 if (nameen_ == &_default_nameen_) { 07647 nameen_ = new ::std::string; 07648 } 07649 nameen_->assign(value); 07650 } 07651 inline void OsmAndPoiBoxDataAtom::set_nameen(const char* value) { 07652 _set_bit(4); 07653 if (nameen_ == &_default_nameen_) { 07654 nameen_ = new ::std::string; 07655 } 07656 nameen_->assign(value); 07657 } 07658 inline void OsmAndPoiBoxDataAtom::set_nameen(const char* value, size_t size) { 07659 _set_bit(4); 07660 if (nameen_ == &_default_nameen_) { 07661 nameen_ = new ::std::string; 07662 } 07663 nameen_->assign(reinterpret_cast<const char*>(value), size); 07664 } 07665 inline ::std::string* OsmAndPoiBoxDataAtom::mutable_nameen() { 07666 _set_bit(4); 07667 if (nameen_ == &_default_nameen_) { 07668 nameen_ = new ::std::string; 07669 } 07670 return nameen_; 07671 } 07672 07673 // optional uint64 id = 8; 07674 inline bool OsmAndPoiBoxDataAtom::has_id() const { 07675 return _has_bit(5); 07676 } 07677 inline void OsmAndPoiBoxDataAtom::clear_id() { 07678 id_ = GOOGLE_ULONGLONG(0); 07679 _clear_bit(5); 07680 } 07681 inline ::google::protobuf::uint64 OsmAndPoiBoxDataAtom::id() const { 07682 return id_; 07683 } 07684 inline void OsmAndPoiBoxDataAtom::set_id(::google::protobuf::uint64 value) { 07685 _set_bit(5); 07686 id_ = value; 07687 } 07688 07689 // optional string openingHours = 10; 07690 inline bool OsmAndPoiBoxDataAtom::has_openinghours() const { 07691 return _has_bit(6); 07692 } 07693 inline void OsmAndPoiBoxDataAtom::clear_openinghours() { 07694 if (openinghours_ != &_default_openinghours_) { 07695 openinghours_->clear(); 07696 } 07697 _clear_bit(6); 07698 } 07699 inline const ::std::string& OsmAndPoiBoxDataAtom::openinghours() const { 07700 return *openinghours_; 07701 } 07702 inline void OsmAndPoiBoxDataAtom::set_openinghours(const ::std::string& value) { 07703 _set_bit(6); 07704 if (openinghours_ == &_default_openinghours_) { 07705 openinghours_ = new ::std::string; 07706 } 07707 openinghours_->assign(value); 07708 } 07709 inline void OsmAndPoiBoxDataAtom::set_openinghours(const char* value) { 07710 _set_bit(6); 07711 if (openinghours_ == &_default_openinghours_) { 07712 openinghours_ = new ::std::string; 07713 } 07714 openinghours_->assign(value); 07715 } 07716 inline void OsmAndPoiBoxDataAtom::set_openinghours(const char* value, size_t size) { 07717 _set_bit(6); 07718 if (openinghours_ == &_default_openinghours_) { 07719 openinghours_ = new ::std::string; 07720 } 07721 openinghours_->assign(reinterpret_cast<const char*>(value), size); 07722 } 07723 inline ::std::string* OsmAndPoiBoxDataAtom::mutable_openinghours() { 07724 _set_bit(6); 07725 if (openinghours_ == &_default_openinghours_) { 07726 openinghours_ = new ::std::string; 07727 } 07728 return openinghours_; 07729 } 07730 07731 // optional string site = 11; 07732 inline bool OsmAndPoiBoxDataAtom::has_site() const { 07733 return _has_bit(7); 07734 } 07735 inline void OsmAndPoiBoxDataAtom::clear_site() { 07736 if (site_ != &_default_site_) { 07737 site_->clear(); 07738 } 07739 _clear_bit(7); 07740 } 07741 inline const ::std::string& OsmAndPoiBoxDataAtom::site() const { 07742 return *site_; 07743 } 07744 inline void OsmAndPoiBoxDataAtom::set_site(const ::std::string& value) { 07745 _set_bit(7); 07746 if (site_ == &_default_site_) { 07747 site_ = new ::std::string; 07748 } 07749 site_->assign(value); 07750 } 07751 inline void OsmAndPoiBoxDataAtom::set_site(const char* value) { 07752 _set_bit(7); 07753 if (site_ == &_default_site_) { 07754 site_ = new ::std::string; 07755 } 07756 site_->assign(value); 07757 } 07758 inline void OsmAndPoiBoxDataAtom::set_site(const char* value, size_t size) { 07759 _set_bit(7); 07760 if (site_ == &_default_site_) { 07761 site_ = new ::std::string; 07762 } 07763 site_->assign(reinterpret_cast<const char*>(value), size); 07764 } 07765 inline ::std::string* OsmAndPoiBoxDataAtom::mutable_site() { 07766 _set_bit(7); 07767 if (site_ == &_default_site_) { 07768 site_ = new ::std::string; 07769 } 07770 return site_; 07771 } 07772 07773 // optional string phone = 12; 07774 inline bool OsmAndPoiBoxDataAtom::has_phone() const { 07775 return _has_bit(8); 07776 } 07777 inline void OsmAndPoiBoxDataAtom::clear_phone() { 07778 if (phone_ != &_default_phone_) { 07779 phone_->clear(); 07780 } 07781 _clear_bit(8); 07782 } 07783 inline const ::std::string& OsmAndPoiBoxDataAtom::phone() const { 07784 return *phone_; 07785 } 07786 inline void OsmAndPoiBoxDataAtom::set_phone(const ::std::string& value) { 07787 _set_bit(8); 07788 if (phone_ == &_default_phone_) { 07789 phone_ = new ::std::string; 07790 } 07791 phone_->assign(value); 07792 } 07793 inline void OsmAndPoiBoxDataAtom::set_phone(const char* value) { 07794 _set_bit(8); 07795 if (phone_ == &_default_phone_) { 07796 phone_ = new ::std::string; 07797 } 07798 phone_->assign(value); 07799 } 07800 inline void OsmAndPoiBoxDataAtom::set_phone(const char* value, size_t size) { 07801 _set_bit(8); 07802 if (phone_ == &_default_phone_) { 07803 phone_ = new ::std::string; 07804 } 07805 phone_->assign(reinterpret_cast<const char*>(value), size); 07806 } 07807 inline ::std::string* OsmAndPoiBoxDataAtom::mutable_phone() { 07808 _set_bit(8); 07809 if (phone_ == &_default_phone_) { 07810 phone_ = new ::std::string; 07811 } 07812 return phone_; 07813 } 07814 07815 // optional string note = 13; 07816 inline bool OsmAndPoiBoxDataAtom::has_note() const { 07817 return _has_bit(9); 07818 } 07819 inline void OsmAndPoiBoxDataAtom::clear_note() { 07820 if (note_ != &_default_note_) { 07821 note_->clear(); 07822 } 07823 _clear_bit(9); 07824 } 07825 inline const ::std::string& OsmAndPoiBoxDataAtom::note() const { 07826 return *note_; 07827 } 07828 inline void OsmAndPoiBoxDataAtom::set_note(const ::std::string& value) { 07829 _set_bit(9); 07830 if (note_ == &_default_note_) { 07831 note_ = new ::std::string; 07832 } 07833 note_->assign(value); 07834 } 07835 inline void OsmAndPoiBoxDataAtom::set_note(const char* value) { 07836 _set_bit(9); 07837 if (note_ == &_default_note_) { 07838 note_ = new ::std::string; 07839 } 07840 note_->assign(value); 07841 } 07842 inline void OsmAndPoiBoxDataAtom::set_note(const char* value, size_t size) { 07843 _set_bit(9); 07844 if (note_ == &_default_note_) { 07845 note_ = new ::std::string; 07846 } 07847 note_->assign(reinterpret_cast<const char*>(value), size); 07848 } 07849 inline ::std::string* OsmAndPoiBoxDataAtom::mutable_note() { 07850 _set_bit(9); 07851 if (note_ == &_default_note_) { 07852 note_ = new ::std::string; 07853 } 07854 return note_; 07855 } 07856 07857 07858 // @@protoc_insertion_point(namespace_scope) 07859 07860 #ifndef SWIG 07861 namespace google { 07862 namespace protobuf { 07863 07864 07865 } // namespace google 07866 } // namespace protobuf 07867 #endif // SWIG 07868 07869 // @@protoc_insertion_point(global_scope) 07870 07871 #endif // PROTOBUF_osmand_5fodb_2eproto__INCLUDED