/usr/include/vector_tile.pb.h is in mapnik-vector-tile 0.3.2+dfsg-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: vector_tile.proto
#ifndef PROTOBUF_vector_5ftile_2eproto__INCLUDED
#define PROTOBUF_vector_5ftile_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2005000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 2005000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/message_lite.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
// @@protoc_insertion_point(includes)
namespace mapnik {
namespace vector {
// Internal implementation detail -- do not call these.
void protobuf_AddDesc_vector_5ftile_2eproto();
void protobuf_AssignDesc_vector_5ftile_2eproto();
void protobuf_ShutdownFile_vector_5ftile_2eproto();
class tile;
class tile_value;
class tile_feature;
class tile_layer;
enum tile_GeomType {
tile_GeomType_Unknown = 0,
tile_GeomType_Point = 1,
tile_GeomType_LineString = 2,
tile_GeomType_Polygon = 3
};
bool tile_GeomType_IsValid(int value);
const tile_GeomType tile_GeomType_GeomType_MIN = tile_GeomType_Unknown;
const tile_GeomType tile_GeomType_GeomType_MAX = tile_GeomType_Polygon;
const int tile_GeomType_GeomType_ARRAYSIZE = tile_GeomType_GeomType_MAX + 1;
// ===================================================================
class tile_value : public ::google::protobuf::MessageLite {
public:
tile_value();
virtual ~tile_value();
tile_value(const tile_value& from);
inline tile_value& operator=(const tile_value& from) {
CopyFrom(from);
return *this;
}
static const tile_value& default_instance();
#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
// Returns the internal default instance pointer. This function can
// return NULL thus should not be used by the user. This is intended
// for Protobuf internal code. Please use default_instance() declared
// above instead.
static inline const tile_value* internal_default_instance() {
return default_instance_;
}
#endif
void Swap(tile_value* other);
// implements Message ----------------------------------------------
tile_value* New() const;
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
void CopyFrom(const tile_value& from);
void MergeFrom(const tile_value& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
public:
::std::string GetTypeName() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// optional string string_value = 1;
inline bool has_string_value() const;
inline void clear_string_value();
static const int kStringValueFieldNumber = 1;
inline const ::std::string& string_value() const;
inline void set_string_value(const ::std::string& value);
inline void set_string_value(const char* value);
inline void set_string_value(const char* value, size_t size);
inline ::std::string* mutable_string_value();
inline ::std::string* release_string_value();
inline void set_allocated_string_value(::std::string* string_value);
// optional float float_value = 2;
inline bool has_float_value() const;
inline void clear_float_value();
static const int kFloatValueFieldNumber = 2;
inline float float_value() const;
inline void set_float_value(float value);
// optional double double_value = 3;
inline bool has_double_value() const;
inline void clear_double_value();
static const int kDoubleValueFieldNumber = 3;
inline double double_value() const;
inline void set_double_value(double value);
// optional int64 int_value = 4;
inline bool has_int_value() const;
inline void clear_int_value();
static const int kIntValueFieldNumber = 4;
inline ::google::protobuf::int64 int_value() const;
inline void set_int_value(::google::protobuf::int64 value);
// optional uint64 uint_value = 5;
inline bool has_uint_value() const;
inline void clear_uint_value();
static const int kUintValueFieldNumber = 5;
inline ::google::protobuf::uint64 uint_value() const;
inline void set_uint_value(::google::protobuf::uint64 value);
// optional sint64 sint_value = 6;
inline bool has_sint_value() const;
inline void clear_sint_value();
static const int kSintValueFieldNumber = 6;
inline ::google::protobuf::int64 sint_value() const;
inline void set_sint_value(::google::protobuf::int64 value);
// optional bool bool_value = 7;
inline bool has_bool_value() const;
inline void clear_bool_value();
static const int kBoolValueFieldNumber = 7;
inline bool bool_value() const;
inline void set_bool_value(bool value);
GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(tile_value)
// @@protoc_insertion_point(class_scope:mapnik.vector.tile.value)
private:
inline void set_has_string_value();
inline void clear_has_string_value();
inline void set_has_float_value();
inline void clear_has_float_value();
inline void set_has_double_value();
inline void clear_has_double_value();
inline void set_has_int_value();
inline void clear_has_int_value();
inline void set_has_uint_value();
inline void clear_has_uint_value();
inline void set_has_sint_value();
inline void clear_has_sint_value();
inline void set_has_bool_value();
inline void clear_has_bool_value();
::google::protobuf::internal::ExtensionSet _extensions_;
::std::string* string_value_;
double double_value_;
::google::protobuf::int64 int_value_;
float float_value_;
bool bool_value_;
::google::protobuf::uint64 uint_value_;
::google::protobuf::int64 sint_value_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
friend void protobuf_AddDesc_vector_5ftile_2eproto_impl();
#else
friend void protobuf_AddDesc_vector_5ftile_2eproto();
#endif
friend void protobuf_AssignDesc_vector_5ftile_2eproto();
friend void protobuf_ShutdownFile_vector_5ftile_2eproto();
void InitAsDefaultInstance();
static tile_value* default_instance_;
};
// -------------------------------------------------------------------
class tile_feature : public ::google::protobuf::MessageLite {
public:
tile_feature();
virtual ~tile_feature();
tile_feature(const tile_feature& from);
inline tile_feature& operator=(const tile_feature& from) {
CopyFrom(from);
return *this;
}
static const tile_feature& default_instance();
#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
// Returns the internal default instance pointer. This function can
// return NULL thus should not be used by the user. This is intended
// for Protobuf internal code. Please use default_instance() declared
// above instead.
static inline const tile_feature* internal_default_instance() {
return default_instance_;
}
#endif
void Swap(tile_feature* other);
// implements Message ----------------------------------------------
tile_feature* New() const;
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
void CopyFrom(const tile_feature& from);
void MergeFrom(const tile_feature& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
public:
::std::string GetTypeName() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// optional uint64 id = 1;
inline bool has_id() const;
inline void clear_id();
static const int kIdFieldNumber = 1;
inline ::google::protobuf::uint64 id() const;
inline void set_id(::google::protobuf::uint64 value);
// repeated uint32 tags = 2 [packed = true];
inline int tags_size() const;
inline void clear_tags();
static const int kTagsFieldNumber = 2;
inline ::google::protobuf::uint32 tags(int index) const;
inline void set_tags(int index, ::google::protobuf::uint32 value);
inline void add_tags(::google::protobuf::uint32 value);
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
tags() const;
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
mutable_tags();
// optional .mapnik.vector.tile.GeomType type = 3 [default = Unknown];
inline bool has_type() const;
inline void clear_type();
static const int kTypeFieldNumber = 3;
inline ::mapnik::vector::tile_GeomType type() const;
inline void set_type(::mapnik::vector::tile_GeomType value);
// repeated uint32 geometry = 4 [packed = true];
inline int geometry_size() const;
inline void clear_geometry();
static const int kGeometryFieldNumber = 4;
inline ::google::protobuf::uint32 geometry(int index) const;
inline void set_geometry(int index, ::google::protobuf::uint32 value);
inline void add_geometry(::google::protobuf::uint32 value);
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
geometry() const;
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
mutable_geometry();
// @@protoc_insertion_point(class_scope:mapnik.vector.tile.feature)
private:
inline void set_has_id();
inline void clear_has_id();
inline void set_has_type();
inline void clear_has_type();
::google::protobuf::uint64 id_;
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > tags_;
mutable int _tags_cached_byte_size_;
::google::protobuf::RepeatedField< ::google::protobuf::uint32 > geometry_;
mutable int _geometry_cached_byte_size_;
int type_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
friend void protobuf_AddDesc_vector_5ftile_2eproto_impl();
#else
friend void protobuf_AddDesc_vector_5ftile_2eproto();
#endif
friend void protobuf_AssignDesc_vector_5ftile_2eproto();
friend void protobuf_ShutdownFile_vector_5ftile_2eproto();
void InitAsDefaultInstance();
static tile_feature* default_instance_;
};
// -------------------------------------------------------------------
class tile_layer : public ::google::protobuf::MessageLite {
public:
tile_layer();
virtual ~tile_layer();
tile_layer(const tile_layer& from);
inline tile_layer& operator=(const tile_layer& from) {
CopyFrom(from);
return *this;
}
static const tile_layer& default_instance();
#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
// Returns the internal default instance pointer. This function can
// return NULL thus should not be used by the user. This is intended
// for Protobuf internal code. Please use default_instance() declared
// above instead.
static inline const tile_layer* internal_default_instance() {
return default_instance_;
}
#endif
void Swap(tile_layer* other);
// implements Message ----------------------------------------------
tile_layer* New() const;
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
void CopyFrom(const tile_layer& from);
void MergeFrom(const tile_layer& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
public:
::std::string GetTypeName() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
// required uint32 version = 15 [default = 1];
inline bool has_version() const;
inline void clear_version();
static const int kVersionFieldNumber = 15;
inline ::google::protobuf::uint32 version() const;
inline void set_version(::google::protobuf::uint32 value);
// required string name = 1;
inline bool has_name() const;
inline void clear_name();
static const int kNameFieldNumber = 1;
inline const ::std::string& name() const;
inline void set_name(const ::std::string& value);
inline void set_name(const char* value);
inline void set_name(const char* value, size_t size);
inline ::std::string* mutable_name();
inline ::std::string* release_name();
inline void set_allocated_name(::std::string* name);
// repeated .mapnik.vector.tile.feature features = 2;
inline int features_size() const;
inline void clear_features();
static const int kFeaturesFieldNumber = 2;
inline const ::mapnik::vector::tile_feature& features(int index) const;
inline ::mapnik::vector::tile_feature* mutable_features(int index);
inline ::mapnik::vector::tile_feature* add_features();
inline const ::google::protobuf::RepeatedPtrField< ::mapnik::vector::tile_feature >&
features() const;
inline ::google::protobuf::RepeatedPtrField< ::mapnik::vector::tile_feature >*
mutable_features();
// repeated string keys = 3;
inline int keys_size() const;
inline void clear_keys();
static const int kKeysFieldNumber = 3;
inline const ::std::string& keys(int index) const;
inline ::std::string* mutable_keys(int index);
inline void set_keys(int index, const ::std::string& value);
inline void set_keys(int index, const char* value);
inline void set_keys(int index, const char* value, size_t size);
inline ::std::string* add_keys();
inline void add_keys(const ::std::string& value);
inline void add_keys(const char* value);
inline void add_keys(const char* value, size_t size);
inline const ::google::protobuf::RepeatedPtrField< ::std::string>& keys() const;
inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_keys();
// repeated .mapnik.vector.tile.value values = 4;
inline int values_size() const;
inline void clear_values();
static const int kValuesFieldNumber = 4;
inline const ::mapnik::vector::tile_value& values(int index) const;
inline ::mapnik::vector::tile_value* mutable_values(int index);
inline ::mapnik::vector::tile_value* add_values();
inline const ::google::protobuf::RepeatedPtrField< ::mapnik::vector::tile_value >&
values() const;
inline ::google::protobuf::RepeatedPtrField< ::mapnik::vector::tile_value >*
mutable_values();
// optional uint32 extent = 5 [default = 4096];
inline bool has_extent() const;
inline void clear_extent();
static const int kExtentFieldNumber = 5;
inline ::google::protobuf::uint32 extent() const;
inline void set_extent(::google::protobuf::uint32 value);
GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(tile_layer)
// @@protoc_insertion_point(class_scope:mapnik.vector.tile.layer)
private:
inline void set_has_version();
inline void clear_has_version();
inline void set_has_name();
inline void clear_has_name();
inline void set_has_extent();
inline void clear_has_extent();
::google::protobuf::internal::ExtensionSet _extensions_;
::std::string* name_;
::google::protobuf::RepeatedPtrField< ::mapnik::vector::tile_feature > features_;
::google::protobuf::uint32 version_;
::google::protobuf::uint32 extent_;
::google::protobuf::RepeatedPtrField< ::std::string> keys_;
::google::protobuf::RepeatedPtrField< ::mapnik::vector::tile_value > values_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(6 + 31) / 32];
#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
friend void protobuf_AddDesc_vector_5ftile_2eproto_impl();
#else
friend void protobuf_AddDesc_vector_5ftile_2eproto();
#endif
friend void protobuf_AssignDesc_vector_5ftile_2eproto();
friend void protobuf_ShutdownFile_vector_5ftile_2eproto();
void InitAsDefaultInstance();
static tile_layer* default_instance_;
};
// -------------------------------------------------------------------
class tile : public ::google::protobuf::MessageLite {
public:
tile();
virtual ~tile();
tile(const tile& from);
inline tile& operator=(const tile& from) {
CopyFrom(from);
return *this;
}
static const tile& default_instance();
#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
// Returns the internal default instance pointer. This function can
// return NULL thus should not be used by the user. This is intended
// for Protobuf internal code. Please use default_instance() declared
// above instead.
static inline const tile* internal_default_instance() {
return default_instance_;
}
#endif
void Swap(tile* other);
// implements Message ----------------------------------------------
tile* New() const;
void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from);
void CopyFrom(const tile& from);
void MergeFrom(const tile& from);
void Clear();
bool IsInitialized() const;
int ByteSize() const;
bool MergePartialFromCodedStream(
::google::protobuf::io::CodedInputStream* input);
void SerializeWithCachedSizes(
::google::protobuf::io::CodedOutputStream* output) const;
int GetCachedSize() const { return _cached_size_; }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const;
public:
::std::string GetTypeName() const;
// nested types ----------------------------------------------------
typedef tile_value value;
typedef tile_feature feature;
typedef tile_layer layer;
typedef tile_GeomType GeomType;
static const GeomType Unknown = tile_GeomType_Unknown;
static const GeomType Point = tile_GeomType_Point;
static const GeomType LineString = tile_GeomType_LineString;
static const GeomType Polygon = tile_GeomType_Polygon;
static inline bool GeomType_IsValid(int value) {
return tile_GeomType_IsValid(value);
}
static const GeomType GeomType_MIN =
tile_GeomType_GeomType_MIN;
static const GeomType GeomType_MAX =
tile_GeomType_GeomType_MAX;
static const int GeomType_ARRAYSIZE =
tile_GeomType_GeomType_ARRAYSIZE;
// accessors -------------------------------------------------------
// repeated .mapnik.vector.tile.layer layers = 3;
inline int layers_size() const;
inline void clear_layers();
static const int kLayersFieldNumber = 3;
inline const ::mapnik::vector::tile_layer& layers(int index) const;
inline ::mapnik::vector::tile_layer* mutable_layers(int index);
inline ::mapnik::vector::tile_layer* add_layers();
inline const ::google::protobuf::RepeatedPtrField< ::mapnik::vector::tile_layer >&
layers() const;
inline ::google::protobuf::RepeatedPtrField< ::mapnik::vector::tile_layer >*
mutable_layers();
GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(tile)
// @@protoc_insertion_point(class_scope:mapnik.vector.tile)
private:
::google::protobuf::internal::ExtensionSet _extensions_;
::google::protobuf::RepeatedPtrField< ::mapnik::vector::tile_layer > layers_;
mutable int _cached_size_;
::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
#ifdef GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER
friend void protobuf_AddDesc_vector_5ftile_2eproto_impl();
#else
friend void protobuf_AddDesc_vector_5ftile_2eproto();
#endif
friend void protobuf_AssignDesc_vector_5ftile_2eproto();
friend void protobuf_ShutdownFile_vector_5ftile_2eproto();
void InitAsDefaultInstance();
static tile* default_instance_;
};
// ===================================================================
// ===================================================================
// tile_value
// optional string string_value = 1;
inline bool tile_value::has_string_value() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void tile_value::set_has_string_value() {
_has_bits_[0] |= 0x00000001u;
}
inline void tile_value::clear_has_string_value() {
_has_bits_[0] &= ~0x00000001u;
}
inline void tile_value::clear_string_value() {
if (string_value_ != &::google::protobuf::internal::kEmptyString) {
string_value_->clear();
}
clear_has_string_value();
}
inline const ::std::string& tile_value::string_value() const {
return *string_value_;
}
inline void tile_value::set_string_value(const ::std::string& value) {
set_has_string_value();
if (string_value_ == &::google::protobuf::internal::kEmptyString) {
string_value_ = new ::std::string;
}
string_value_->assign(value);
}
inline void tile_value::set_string_value(const char* value) {
set_has_string_value();
if (string_value_ == &::google::protobuf::internal::kEmptyString) {
string_value_ = new ::std::string;
}
string_value_->assign(value);
}
inline void tile_value::set_string_value(const char* value, size_t size) {
set_has_string_value();
if (string_value_ == &::google::protobuf::internal::kEmptyString) {
string_value_ = new ::std::string;
}
string_value_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* tile_value::mutable_string_value() {
set_has_string_value();
if (string_value_ == &::google::protobuf::internal::kEmptyString) {
string_value_ = new ::std::string;
}
return string_value_;
}
inline ::std::string* tile_value::release_string_value() {
clear_has_string_value();
if (string_value_ == &::google::protobuf::internal::kEmptyString) {
return NULL;
} else {
::std::string* temp = string_value_;
string_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
return temp;
}
}
inline void tile_value::set_allocated_string_value(::std::string* string_value) {
if (string_value_ != &::google::protobuf::internal::kEmptyString) {
delete string_value_;
}
if (string_value) {
set_has_string_value();
string_value_ = string_value;
} else {
clear_has_string_value();
string_value_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
}
}
// optional float float_value = 2;
inline bool tile_value::has_float_value() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void tile_value::set_has_float_value() {
_has_bits_[0] |= 0x00000002u;
}
inline void tile_value::clear_has_float_value() {
_has_bits_[0] &= ~0x00000002u;
}
inline void tile_value::clear_float_value() {
float_value_ = 0;
clear_has_float_value();
}
inline float tile_value::float_value() const {
return float_value_;
}
inline void tile_value::set_float_value(float value) {
set_has_float_value();
float_value_ = value;
}
// optional double double_value = 3;
inline bool tile_value::has_double_value() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void tile_value::set_has_double_value() {
_has_bits_[0] |= 0x00000004u;
}
inline void tile_value::clear_has_double_value() {
_has_bits_[0] &= ~0x00000004u;
}
inline void tile_value::clear_double_value() {
double_value_ = 0;
clear_has_double_value();
}
inline double tile_value::double_value() const {
return double_value_;
}
inline void tile_value::set_double_value(double value) {
set_has_double_value();
double_value_ = value;
}
// optional int64 int_value = 4;
inline bool tile_value::has_int_value() const {
return (_has_bits_[0] & 0x00000008u) != 0;
}
inline void tile_value::set_has_int_value() {
_has_bits_[0] |= 0x00000008u;
}
inline void tile_value::clear_has_int_value() {
_has_bits_[0] &= ~0x00000008u;
}
inline void tile_value::clear_int_value() {
int_value_ = GOOGLE_LONGLONG(0);
clear_has_int_value();
}
inline ::google::protobuf::int64 tile_value::int_value() const {
return int_value_;
}
inline void tile_value::set_int_value(::google::protobuf::int64 value) {
set_has_int_value();
int_value_ = value;
}
// optional uint64 uint_value = 5;
inline bool tile_value::has_uint_value() const {
return (_has_bits_[0] & 0x00000010u) != 0;
}
inline void tile_value::set_has_uint_value() {
_has_bits_[0] |= 0x00000010u;
}
inline void tile_value::clear_has_uint_value() {
_has_bits_[0] &= ~0x00000010u;
}
inline void tile_value::clear_uint_value() {
uint_value_ = GOOGLE_ULONGLONG(0);
clear_has_uint_value();
}
inline ::google::protobuf::uint64 tile_value::uint_value() const {
return uint_value_;
}
inline void tile_value::set_uint_value(::google::protobuf::uint64 value) {
set_has_uint_value();
uint_value_ = value;
}
// optional sint64 sint_value = 6;
inline bool tile_value::has_sint_value() const {
return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void tile_value::set_has_sint_value() {
_has_bits_[0] |= 0x00000020u;
}
inline void tile_value::clear_has_sint_value() {
_has_bits_[0] &= ~0x00000020u;
}
inline void tile_value::clear_sint_value() {
sint_value_ = GOOGLE_LONGLONG(0);
clear_has_sint_value();
}
inline ::google::protobuf::int64 tile_value::sint_value() const {
return sint_value_;
}
inline void tile_value::set_sint_value(::google::protobuf::int64 value) {
set_has_sint_value();
sint_value_ = value;
}
// optional bool bool_value = 7;
inline bool tile_value::has_bool_value() const {
return (_has_bits_[0] & 0x00000040u) != 0;
}
inline void tile_value::set_has_bool_value() {
_has_bits_[0] |= 0x00000040u;
}
inline void tile_value::clear_has_bool_value() {
_has_bits_[0] &= ~0x00000040u;
}
inline void tile_value::clear_bool_value() {
bool_value_ = false;
clear_has_bool_value();
}
inline bool tile_value::bool_value() const {
return bool_value_;
}
inline void tile_value::set_bool_value(bool value) {
set_has_bool_value();
bool_value_ = value;
}
// -------------------------------------------------------------------
// tile_feature
// optional uint64 id = 1;
inline bool tile_feature::has_id() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void tile_feature::set_has_id() {
_has_bits_[0] |= 0x00000001u;
}
inline void tile_feature::clear_has_id() {
_has_bits_[0] &= ~0x00000001u;
}
inline void tile_feature::clear_id() {
id_ = GOOGLE_ULONGLONG(0);
clear_has_id();
}
inline ::google::protobuf::uint64 tile_feature::id() const {
return id_;
}
inline void tile_feature::set_id(::google::protobuf::uint64 value) {
set_has_id();
id_ = value;
}
// repeated uint32 tags = 2 [packed = true];
inline int tile_feature::tags_size() const {
return tags_.size();
}
inline void tile_feature::clear_tags() {
tags_.Clear();
}
inline ::google::protobuf::uint32 tile_feature::tags(int index) const {
return tags_.Get(index);
}
inline void tile_feature::set_tags(int index, ::google::protobuf::uint32 value) {
tags_.Set(index, value);
}
inline void tile_feature::add_tags(::google::protobuf::uint32 value) {
tags_.Add(value);
}
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
tile_feature::tags() const {
return tags_;
}
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
tile_feature::mutable_tags() {
return &tags_;
}
// optional .mapnik.vector.tile.GeomType type = 3 [default = Unknown];
inline bool tile_feature::has_type() const {
return (_has_bits_[0] & 0x00000004u) != 0;
}
inline void tile_feature::set_has_type() {
_has_bits_[0] |= 0x00000004u;
}
inline void tile_feature::clear_has_type() {
_has_bits_[0] &= ~0x00000004u;
}
inline void tile_feature::clear_type() {
type_ = 0;
clear_has_type();
}
inline ::mapnik::vector::tile_GeomType tile_feature::type() const {
return static_cast< ::mapnik::vector::tile_GeomType >(type_);
}
inline void tile_feature::set_type(::mapnik::vector::tile_GeomType value) {
assert(::mapnik::vector::tile_GeomType_IsValid(value));
set_has_type();
type_ = value;
}
// repeated uint32 geometry = 4 [packed = true];
inline int tile_feature::geometry_size() const {
return geometry_.size();
}
inline void tile_feature::clear_geometry() {
geometry_.Clear();
}
inline ::google::protobuf::uint32 tile_feature::geometry(int index) const {
return geometry_.Get(index);
}
inline void tile_feature::set_geometry(int index, ::google::protobuf::uint32 value) {
geometry_.Set(index, value);
}
inline void tile_feature::add_geometry(::google::protobuf::uint32 value) {
geometry_.Add(value);
}
inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
tile_feature::geometry() const {
return geometry_;
}
inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
tile_feature::mutable_geometry() {
return &geometry_;
}
// -------------------------------------------------------------------
// tile_layer
// required uint32 version = 15 [default = 1];
inline bool tile_layer::has_version() const {
return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void tile_layer::set_has_version() {
_has_bits_[0] |= 0x00000001u;
}
inline void tile_layer::clear_has_version() {
_has_bits_[0] &= ~0x00000001u;
}
inline void tile_layer::clear_version() {
version_ = 1u;
clear_has_version();
}
inline ::google::protobuf::uint32 tile_layer::version() const {
return version_;
}
inline void tile_layer::set_version(::google::protobuf::uint32 value) {
set_has_version();
version_ = value;
}
// required string name = 1;
inline bool tile_layer::has_name() const {
return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void tile_layer::set_has_name() {
_has_bits_[0] |= 0x00000002u;
}
inline void tile_layer::clear_has_name() {
_has_bits_[0] &= ~0x00000002u;
}
inline void tile_layer::clear_name() {
if (name_ != &::google::protobuf::internal::kEmptyString) {
name_->clear();
}
clear_has_name();
}
inline const ::std::string& tile_layer::name() const {
return *name_;
}
inline void tile_layer::set_name(const ::std::string& value) {
set_has_name();
if (name_ == &::google::protobuf::internal::kEmptyString) {
name_ = new ::std::string;
}
name_->assign(value);
}
inline void tile_layer::set_name(const char* value) {
set_has_name();
if (name_ == &::google::protobuf::internal::kEmptyString) {
name_ = new ::std::string;
}
name_->assign(value);
}
inline void tile_layer::set_name(const char* value, size_t size) {
set_has_name();
if (name_ == &::google::protobuf::internal::kEmptyString) {
name_ = new ::std::string;
}
name_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* tile_layer::mutable_name() {
set_has_name();
if (name_ == &::google::protobuf::internal::kEmptyString) {
name_ = new ::std::string;
}
return name_;
}
inline ::std::string* tile_layer::release_name() {
clear_has_name();
if (name_ == &::google::protobuf::internal::kEmptyString) {
return NULL;
} else {
::std::string* temp = name_;
name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
return temp;
}
}
inline void tile_layer::set_allocated_name(::std::string* name) {
if (name_ != &::google::protobuf::internal::kEmptyString) {
delete name_;
}
if (name) {
set_has_name();
name_ = name;
} else {
clear_has_name();
name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
}
}
// repeated .mapnik.vector.tile.feature features = 2;
inline int tile_layer::features_size() const {
return features_.size();
}
inline void tile_layer::clear_features() {
features_.Clear();
}
inline const ::mapnik::vector::tile_feature& tile_layer::features(int index) const {
return features_.Get(index);
}
inline ::mapnik::vector::tile_feature* tile_layer::mutable_features(int index) {
return features_.Mutable(index);
}
inline ::mapnik::vector::tile_feature* tile_layer::add_features() {
return features_.Add();
}
inline const ::google::protobuf::RepeatedPtrField< ::mapnik::vector::tile_feature >&
tile_layer::features() const {
return features_;
}
inline ::google::protobuf::RepeatedPtrField< ::mapnik::vector::tile_feature >*
tile_layer::mutable_features() {
return &features_;
}
// repeated string keys = 3;
inline int tile_layer::keys_size() const {
return keys_.size();
}
inline void tile_layer::clear_keys() {
keys_.Clear();
}
inline const ::std::string& tile_layer::keys(int index) const {
return keys_.Get(index);
}
inline ::std::string* tile_layer::mutable_keys(int index) {
return keys_.Mutable(index);
}
inline void tile_layer::set_keys(int index, const ::std::string& value) {
keys_.Mutable(index)->assign(value);
}
inline void tile_layer::set_keys(int index, const char* value) {
keys_.Mutable(index)->assign(value);
}
inline void tile_layer::set_keys(int index, const char* value, size_t size) {
keys_.Mutable(index)->assign(
reinterpret_cast<const char*>(value), size);
}
inline ::std::string* tile_layer::add_keys() {
return keys_.Add();
}
inline void tile_layer::add_keys(const ::std::string& value) {
keys_.Add()->assign(value);
}
inline void tile_layer::add_keys(const char* value) {
keys_.Add()->assign(value);
}
inline void tile_layer::add_keys(const char* value, size_t size) {
keys_.Add()->assign(reinterpret_cast<const char*>(value), size);
}
inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
tile_layer::keys() const {
return keys_;
}
inline ::google::protobuf::RepeatedPtrField< ::std::string>*
tile_layer::mutable_keys() {
return &keys_;
}
// repeated .mapnik.vector.tile.value values = 4;
inline int tile_layer::values_size() const {
return values_.size();
}
inline void tile_layer::clear_values() {
values_.Clear();
}
inline const ::mapnik::vector::tile_value& tile_layer::values(int index) const {
return values_.Get(index);
}
inline ::mapnik::vector::tile_value* tile_layer::mutable_values(int index) {
return values_.Mutable(index);
}
inline ::mapnik::vector::tile_value* tile_layer::add_values() {
return values_.Add();
}
inline const ::google::protobuf::RepeatedPtrField< ::mapnik::vector::tile_value >&
tile_layer::values() const {
return values_;
}
inline ::google::protobuf::RepeatedPtrField< ::mapnik::vector::tile_value >*
tile_layer::mutable_values() {
return &values_;
}
// optional uint32 extent = 5 [default = 4096];
inline bool tile_layer::has_extent() const {
return (_has_bits_[0] & 0x00000020u) != 0;
}
inline void tile_layer::set_has_extent() {
_has_bits_[0] |= 0x00000020u;
}
inline void tile_layer::clear_has_extent() {
_has_bits_[0] &= ~0x00000020u;
}
inline void tile_layer::clear_extent() {
extent_ = 4096u;
clear_has_extent();
}
inline ::google::protobuf::uint32 tile_layer::extent() const {
return extent_;
}
inline void tile_layer::set_extent(::google::protobuf::uint32 value) {
set_has_extent();
extent_ = value;
}
// -------------------------------------------------------------------
// tile
// repeated .mapnik.vector.tile.layer layers = 3;
inline int tile::layers_size() const {
return layers_.size();
}
inline void tile::clear_layers() {
layers_.Clear();
}
inline const ::mapnik::vector::tile_layer& tile::layers(int index) const {
return layers_.Get(index);
}
inline ::mapnik::vector::tile_layer* tile::mutable_layers(int index) {
return layers_.Mutable(index);
}
inline ::mapnik::vector::tile_layer* tile::add_layers() {
return layers_.Add();
}
inline const ::google::protobuf::RepeatedPtrField< ::mapnik::vector::tile_layer >&
tile::layers() const {
return layers_;
}
inline ::google::protobuf::RepeatedPtrField< ::mapnik::vector::tile_layer >*
tile::mutable_layers() {
return &layers_;
}
// @@protoc_insertion_point(namespace_scope)
} // namespace vector
} // namespace mapnik
// @@protoc_insertion_point(global_scope)
#endif // PROTOBUF_vector_5ftile_2eproto__INCLUDED
|