-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvector_tile.pb.h
More file actions
2377 lines (2144 loc) · 86 KB
/
Copy pathvector_tile.pb.h
File metadata and controls
2377 lines (2144 loc) · 86 KB
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
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: vector_tile.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_vector_5ftile_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_vector_5ftile_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3021000
#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 3021012 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif
#include <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h> // IWYU pragma: export
#include <google/protobuf/extension_set.h> // IWYU pragma: export
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_vector_5ftile_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
} // namespace internal
PROTOBUF_NAMESPACE_CLOSE
// Internal implementation detail -- do not use these members.
struct TableStruct_vector_5ftile_2eproto {
static const uint32_t offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_vector_5ftile_2eproto;
namespace OsmAnd {
namespace VectorTile {
class Tile;
struct TileDefaultTypeInternal;
extern TileDefaultTypeInternal _Tile_default_instance_;
class Tile_Feature;
struct Tile_FeatureDefaultTypeInternal;
extern Tile_FeatureDefaultTypeInternal _Tile_Feature_default_instance_;
class Tile_Layer;
struct Tile_LayerDefaultTypeInternal;
extern Tile_LayerDefaultTypeInternal _Tile_Layer_default_instance_;
class Tile_Value;
struct Tile_ValueDefaultTypeInternal;
extern Tile_ValueDefaultTypeInternal _Tile_Value_default_instance_;
} // namespace VectorTile
} // namespace OsmAnd
PROTOBUF_NAMESPACE_OPEN
template<> ::OsmAnd::VectorTile::Tile* Arena::CreateMaybeMessage<::OsmAnd::VectorTile::Tile>(Arena*);
template<> ::OsmAnd::VectorTile::Tile_Feature* Arena::CreateMaybeMessage<::OsmAnd::VectorTile::Tile_Feature>(Arena*);
template<> ::OsmAnd::VectorTile::Tile_Layer* Arena::CreateMaybeMessage<::OsmAnd::VectorTile::Tile_Layer>(Arena*);
template<> ::OsmAnd::VectorTile::Tile_Value* Arena::CreateMaybeMessage<::OsmAnd::VectorTile::Tile_Value>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace OsmAnd {
namespace VectorTile {
enum Tile_GeomType : int {
Tile_GeomType_UNKNOWN = 0,
Tile_GeomType_POINT = 1,
Tile_GeomType_LINESTRING = 2,
Tile_GeomType_POLYGON = 3
};
bool Tile_GeomType_IsValid(int value);
constexpr Tile_GeomType Tile_GeomType_GeomType_MIN = Tile_GeomType_UNKNOWN;
constexpr Tile_GeomType Tile_GeomType_GeomType_MAX = Tile_GeomType_POLYGON;
constexpr int Tile_GeomType_GeomType_ARRAYSIZE = Tile_GeomType_GeomType_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Tile_GeomType_descriptor();
template<typename T>
inline const std::string& Tile_GeomType_Name(T enum_t_value) {
static_assert(::std::is_same<T, Tile_GeomType>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function Tile_GeomType_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
Tile_GeomType_descriptor(), enum_t_value);
}
inline bool Tile_GeomType_Parse(
::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Tile_GeomType* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Tile_GeomType>(
Tile_GeomType_descriptor(), name, value);
}
// ===================================================================
class Tile_Value final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:OsmAnd.VectorTile.Tile.Value) */ {
public:
inline Tile_Value() : Tile_Value(nullptr) {}
~Tile_Value() override;
explicit PROTOBUF_CONSTEXPR Tile_Value(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Tile_Value(const Tile_Value& from);
Tile_Value(Tile_Value&& from) noexcept
: Tile_Value() {
*this = ::std::move(from);
}
inline Tile_Value& operator=(const Tile_Value& from) {
CopyFrom(from);
return *this;
}
inline Tile_Value& operator=(Tile_Value&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
&& GetOwningArena() != nullptr
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
}
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const Tile_Value& default_instance() {
return *internal_default_instance();
}
static inline const Tile_Value* internal_default_instance() {
return reinterpret_cast<const Tile_Value*>(
&_Tile_Value_default_instance_);
}
static constexpr int kIndexInFileMessages =
0;
friend void swap(Tile_Value& a, Tile_Value& b) {
a.Swap(&b);
}
inline void Swap(Tile_Value* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr &&
GetOwningArena() == other->GetOwningArena()) {
#else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(Tile_Value* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
Tile_Value* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<Tile_Value>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Tile_Value& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom( const Tile_Value& from) {
Tile_Value::MergeImpl(*this, from);
}
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Tile_Value* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "OsmAnd.VectorTile.Tile.Value";
}
protected:
explicit Tile_Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kStringValueFieldNumber = 1,
kDoubleValueFieldNumber = 3,
kIntValueFieldNumber = 4,
kFloatValueFieldNumber = 2,
kBoolValueFieldNumber = 7,
kUintValueFieldNumber = 5,
kSintValueFieldNumber = 6,
};
// optional string string_value = 1;
bool has_string_value() const;
private:
bool _internal_has_string_value() const;
public:
void clear_string_value();
const std::string& string_value() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_string_value(ArgT0&& arg0, ArgT... args);
std::string* mutable_string_value();
PROTOBUF_NODISCARD std::string* release_string_value();
void set_allocated_string_value(std::string* string_value);
private:
const std::string& _internal_string_value() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value);
std::string* _internal_mutable_string_value();
public:
// optional double double_value = 3;
bool has_double_value() const;
private:
bool _internal_has_double_value() const;
public:
void clear_double_value();
double double_value() const;
void set_double_value(double value);
private:
double _internal_double_value() const;
void _internal_set_double_value(double value);
public:
// optional int64 int_value = 4;
bool has_int_value() const;
private:
bool _internal_has_int_value() const;
public:
void clear_int_value();
int64_t int_value() const;
void set_int_value(int64_t value);
private:
int64_t _internal_int_value() const;
void _internal_set_int_value(int64_t value);
public:
// optional float float_value = 2;
bool has_float_value() const;
private:
bool _internal_has_float_value() const;
public:
void clear_float_value();
float float_value() const;
void set_float_value(float value);
private:
float _internal_float_value() const;
void _internal_set_float_value(float value);
public:
// optional bool bool_value = 7;
bool has_bool_value() const;
private:
bool _internal_has_bool_value() const;
public:
void clear_bool_value();
bool bool_value() const;
void set_bool_value(bool value);
private:
bool _internal_bool_value() const;
void _internal_set_bool_value(bool value);
public:
// optional uint64 uint_value = 5;
bool has_uint_value() const;
private:
bool _internal_has_uint_value() const;
public:
void clear_uint_value();
uint64_t uint_value() const;
void set_uint_value(uint64_t value);
private:
uint64_t _internal_uint_value() const;
void _internal_set_uint_value(uint64_t value);
public:
// optional sint64 sint_value = 6;
bool has_sint_value() const;
private:
bool _internal_has_sint_value() const;
public:
void clear_sint_value();
int64_t sint_value() const;
void set_sint_value(int64_t value);
private:
int64_t _internal_sint_value() const;
void _internal_set_sint_value(int64_t value);
public:
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
inline bool HasExtension(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id) const {
return _impl_._extensions_.Has(id.number());
}
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
inline void ClearExtension(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id) {
_impl_._extensions_.ClearExtension(id.number());
}
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
inline int ExtensionSize(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id) const {
return _impl_._extensions_.ExtensionSize(id.number());
}
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id) const {
return _proto_TypeTraits::Get(id.number(), _impl_._extensions_,
id.default_value());
}
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id) {
return _proto_TypeTraits::Mutable(id.number(), _field_type,
&_impl_._extensions_);
}
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
inline void SetExtension(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id,
typename _proto_TypeTraits::Singular::ConstType value) {
_proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
}
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
inline void SetAllocatedExtension(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id,
typename _proto_TypeTraits::Singular::MutableType value) {
_proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
&_impl_._extensions_);
}
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
inline void UnsafeArenaSetAllocatedExtension(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id,
typename _proto_TypeTraits::Singular::MutableType value) {
_proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
value, &_impl_._extensions_);
}
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
PROTOBUF_NODISCARD inline
typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id) {
return _proto_TypeTraits::Release(id.number(), _field_type,
&_impl_._extensions_);
}
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
inline typename _proto_TypeTraits::Singular::MutableType
UnsafeArenaReleaseExtension(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id) {
return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
&_impl_._extensions_);
}
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id,
int index) const {
return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
}
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id,
int index) {
return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
}
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
inline void SetExtension(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id,
int index, typename _proto_TypeTraits::Repeated::ConstType value) {
_proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
}
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id) {
typename _proto_TypeTraits::Repeated::MutableType to_add =
_proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
return to_add;
}
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
inline void AddExtension(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id,
typename _proto_TypeTraits::Repeated::ConstType value) {
_proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
&_impl_._extensions_);
}
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
GetRepeatedExtension(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id) const {
return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
}
template <typename _proto_TypeTraits,
::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
bool _is_packed>
inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
MutableRepeatedExtension(
const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
Tile_Value, _proto_TypeTraits, _field_type, _is_packed>& id) {
return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
_is_packed, &_impl_._extensions_);
}
// @@protoc_insertion_point(class_scope:OsmAnd.VectorTile.Tile.Value)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
struct Impl_ {
::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_;
double double_value_;
int64_t int_value_;
float float_value_;
bool bool_value_;
uint64_t uint_value_;
int64_t sint_value_;
};
union { Impl_ _impl_; };
friend struct ::TableStruct_vector_5ftile_2eproto;
};
// -------------------------------------------------------------------
class Tile_Feature final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:OsmAnd.VectorTile.Tile.Feature) */ {
public:
inline Tile_Feature() : Tile_Feature(nullptr) {}
~Tile_Feature() override;
explicit PROTOBUF_CONSTEXPR Tile_Feature(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Tile_Feature(const Tile_Feature& from);
Tile_Feature(Tile_Feature&& from) noexcept
: Tile_Feature() {
*this = ::std::move(from);
}
inline Tile_Feature& operator=(const Tile_Feature& from) {
CopyFrom(from);
return *this;
}
inline Tile_Feature& operator=(Tile_Feature&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
&& GetOwningArena() != nullptr
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
}
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const Tile_Feature& default_instance() {
return *internal_default_instance();
}
static inline const Tile_Feature* internal_default_instance() {
return reinterpret_cast<const Tile_Feature*>(
&_Tile_Feature_default_instance_);
}
static constexpr int kIndexInFileMessages =
1;
friend void swap(Tile_Feature& a, Tile_Feature& b) {
a.Swap(&b);
}
inline void Swap(Tile_Feature* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr &&
GetOwningArena() == other->GetOwningArena()) {
#else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(Tile_Feature* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
Tile_Feature* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<Tile_Feature>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Tile_Feature& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom( const Tile_Feature& from) {
Tile_Feature::MergeImpl(*this, from);
}
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Tile_Feature* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "OsmAnd.VectorTile.Tile.Feature";
}
protected:
explicit Tile_Feature(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kTagsFieldNumber = 2,
kGeometryFieldNumber = 4,
kIdFieldNumber = 1,
kTypeFieldNumber = 3,
};
// repeated uint32 tags = 2 [packed = true];
int tags_size() const;
private:
int _internal_tags_size() const;
public:
void clear_tags();
private:
uint32_t _internal_tags(int index) const;
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
_internal_tags() const;
void _internal_add_tags(uint32_t value);
::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
_internal_mutable_tags();
public:
uint32_t tags(int index) const;
void set_tags(int index, uint32_t value);
void add_tags(uint32_t value);
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
tags() const;
::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
mutable_tags();
// repeated uint32 geometry = 4 [packed = true];
int geometry_size() const;
private:
int _internal_geometry_size() const;
public:
void clear_geometry();
private:
uint32_t _internal_geometry(int index) const;
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
_internal_geometry() const;
void _internal_add_geometry(uint32_t value);
::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
_internal_mutable_geometry();
public:
uint32_t geometry(int index) const;
void set_geometry(int index, uint32_t value);
void add_geometry(uint32_t value);
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
geometry() const;
::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
mutable_geometry();
// optional uint64 id = 1 [default = 0];
bool has_id() const;
private:
bool _internal_has_id() const;
public:
void clear_id();
uint64_t id() const;
void set_id(uint64_t value);
private:
uint64_t _internal_id() const;
void _internal_set_id(uint64_t value);
public:
// optional .OsmAnd.VectorTile.Tile.GeomType type = 3 [default = UNKNOWN];
bool has_type() const;
private:
bool _internal_has_type() const;
public:
void clear_type();
::OsmAnd::VectorTile::Tile_GeomType type() const;
void set_type(::OsmAnd::VectorTile::Tile_GeomType value);
private:
::OsmAnd::VectorTile::Tile_GeomType _internal_type() const;
void _internal_set_type(::OsmAnd::VectorTile::Tile_GeomType value);
public:
// @@protoc_insertion_point(class_scope:OsmAnd.VectorTile.Tile.Feature)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
struct Impl_ {
::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > tags_;
mutable std::atomic<int> _tags_cached_byte_size_;
::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > geometry_;
mutable std::atomic<int> _geometry_cached_byte_size_;
uint64_t id_;
int type_;
};
union { Impl_ _impl_; };
friend struct ::TableStruct_vector_5ftile_2eproto;
};
// -------------------------------------------------------------------
class Tile_Layer final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:OsmAnd.VectorTile.Tile.Layer) */ {
public:
inline Tile_Layer() : Tile_Layer(nullptr) {}
~Tile_Layer() override;
explicit PROTOBUF_CONSTEXPR Tile_Layer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Tile_Layer(const Tile_Layer& from);
Tile_Layer(Tile_Layer&& from) noexcept
: Tile_Layer() {
*this = ::std::move(from);
}
inline Tile_Layer& operator=(const Tile_Layer& from) {
CopyFrom(from);
return *this;
}
inline Tile_Layer& operator=(Tile_Layer&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
&& GetOwningArena() != nullptr
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
}
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const Tile_Layer& default_instance() {
return *internal_default_instance();
}
static inline const Tile_Layer* internal_default_instance() {
return reinterpret_cast<const Tile_Layer*>(
&_Tile_Layer_default_instance_);
}
static constexpr int kIndexInFileMessages =
2;
friend void swap(Tile_Layer& a, Tile_Layer& b) {
a.Swap(&b);
}
inline void Swap(Tile_Layer* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() != nullptr &&
GetOwningArena() == other->GetOwningArena()) {
#else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetOwningArena() == other->GetOwningArena()) {
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(Tile_Layer* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
Tile_Layer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
return CreateMaybeMessage<Tile_Layer>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Tile_Layer& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom( const Tile_Layer& from) {
Tile_Layer::MergeImpl(*this, from);
}
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
public:
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
uint8_t* _InternalSerialize(
uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Tile_Layer* other);
private:
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "OsmAnd.VectorTile.Tile.Layer";
}
protected:
explicit Tile_Layer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
public:
static const ClassData _class_data_;
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kFeaturesFieldNumber = 2,
kKeysFieldNumber = 3,
kValuesFieldNumber = 4,
kNameFieldNumber = 1,
kExtentFieldNumber = 5,
kVersionFieldNumber = 15,
};
// repeated .OsmAnd.VectorTile.Tile.Feature features = 2;
int features_size() const;
private:
int _internal_features_size() const;
public:
void clear_features();
::OsmAnd::VectorTile::Tile_Feature* mutable_features(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OsmAnd::VectorTile::Tile_Feature >*
mutable_features();
private:
const ::OsmAnd::VectorTile::Tile_Feature& _internal_features(int index) const;
::OsmAnd::VectorTile::Tile_Feature* _internal_add_features();
public:
const ::OsmAnd::VectorTile::Tile_Feature& features(int index) const;
::OsmAnd::VectorTile::Tile_Feature* add_features();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OsmAnd::VectorTile::Tile_Feature >&
features() const;
// repeated string keys = 3;
int keys_size() const;
private:
int _internal_keys_size() const;
public:
void clear_keys();
const std::string& keys(int index) const;
std::string* mutable_keys(int index);
void set_keys(int index, const std::string& value);
void set_keys(int index, std::string&& value);
void set_keys(int index, const char* value);
void set_keys(int index, const char* value, size_t size);
std::string* add_keys();
void add_keys(const std::string& value);
void add_keys(std::string&& value);
void add_keys(const char* value);
void add_keys(const char* value, size_t size);
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& keys() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_keys();
private:
const std::string& _internal_keys(int index) const;
std::string* _internal_add_keys();
public:
// repeated .OsmAnd.VectorTile.Tile.Value values = 4;
int values_size() const;
private:
int _internal_values_size() const;
public:
void clear_values();
::OsmAnd::VectorTile::Tile_Value* mutable_values(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OsmAnd::VectorTile::Tile_Value >*
mutable_values();
private:
const ::OsmAnd::VectorTile::Tile_Value& _internal_values(int index) const;
::OsmAnd::VectorTile::Tile_Value* _internal_add_values();
public:
const ::OsmAnd::VectorTile::Tile_Value& values(int index) const;
::OsmAnd::VectorTile::Tile_Value* add_values();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::OsmAnd::VectorTile::Tile_Value >&
values() const;
// required string name = 1;
bool has_name() const;
private:
bool _internal_has_name() const;
public:
void clear_name();
const std::string& name() const;
template <typename ArgT0 = const std::string&, typename... ArgT>
void set_name(ArgT0&& arg0, ArgT... args);
std::string* mutable_name();
PROTOBUF_NODISCARD std::string* release_name();
void set_allocated_name(std::string* name);
private:
const std::string& _internal_name() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
std::string* _internal_mutable_name();
public:
// optional uint32 extent = 5 [default = 4096];
bool has_extent() const;
private:
bool _internal_has_extent() const;
public:
void clear_extent();
uint32_t extent() const;
void set_extent(uint32_t value);
private:
uint32_t _internal_extent() const;
void _internal_set_extent(uint32_t value);
public:
// required uint32 version = 15 [default = 1];
bool has_version() const;
private: