/
type.pb.h
3014 lines (2791 loc) · 111 KB
/
type.pb.h
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: google/protobuf/type.proto
// Protobuf C++ Version: 4.25.2
#ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ftype_2eproto_2epb_2eh
#define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ftype_2eproto_2epb_2eh
#include <limits>
#include <string>
#include <type_traits>
#include <utility>
#include "google/protobuf/port_def.inc"
#if PROTOBUF_VERSION < 4025000
#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 // PROTOBUF_VERSION
#if 4025002 < 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 // PROTOBUF_MIN_PROTOC_VERSION
#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_tctable_decl.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"
#include "google/protobuf/any.pb.h"
#include "google/protobuf/source_context.pb.h"
// @@protoc_insertion_point(includes)
// Must be included last.
#include "google/protobuf/port_def.inc"
#define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftype_2eproto PROTOBUF_EXPORT
namespace google {
namespace protobuf {
namespace internal {
class AnyMetadata;
} // namespace internal
} // namespace protobuf
} // namespace google
// Internal implementation detail -- do not use these members.
struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2ftype_2eproto {
static const ::uint32_t offsets[];
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable
descriptor_table_google_2fprotobuf_2ftype_2eproto;
namespace google {
namespace protobuf {
class Enum;
struct EnumDefaultTypeInternal;
PROTOBUF_EXPORT extern EnumDefaultTypeInternal _Enum_default_instance_;
class EnumValue;
struct EnumValueDefaultTypeInternal;
PROTOBUF_EXPORT extern EnumValueDefaultTypeInternal _EnumValue_default_instance_;
class Field;
struct FieldDefaultTypeInternal;
PROTOBUF_EXPORT extern FieldDefaultTypeInternal _Field_default_instance_;
class Option;
struct OptionDefaultTypeInternal;
PROTOBUF_EXPORT extern OptionDefaultTypeInternal _Option_default_instance_;
class Type;
struct TypeDefaultTypeInternal;
PROTOBUF_EXPORT extern TypeDefaultTypeInternal _Type_default_instance_;
} // namespace protobuf
} // namespace google
namespace google {
namespace protobuf {
enum Field_Kind : int {
Field_Kind_TYPE_UNKNOWN = 0,
Field_Kind_TYPE_DOUBLE = 1,
Field_Kind_TYPE_FLOAT = 2,
Field_Kind_TYPE_INT64 = 3,
Field_Kind_TYPE_UINT64 = 4,
Field_Kind_TYPE_INT32 = 5,
Field_Kind_TYPE_FIXED64 = 6,
Field_Kind_TYPE_FIXED32 = 7,
Field_Kind_TYPE_BOOL = 8,
Field_Kind_TYPE_STRING = 9,
Field_Kind_TYPE_GROUP = 10,
Field_Kind_TYPE_MESSAGE = 11,
Field_Kind_TYPE_BYTES = 12,
Field_Kind_TYPE_UINT32 = 13,
Field_Kind_TYPE_ENUM = 14,
Field_Kind_TYPE_SFIXED32 = 15,
Field_Kind_TYPE_SFIXED64 = 16,
Field_Kind_TYPE_SINT32 = 17,
Field_Kind_TYPE_SINT64 = 18,
Field_Kind_Field_Kind_INT_MIN_SENTINEL_DO_NOT_USE_ =
std::numeric_limits<::int32_t>::min(),
Field_Kind_Field_Kind_INT_MAX_SENTINEL_DO_NOT_USE_ =
std::numeric_limits<::int32_t>::max(),
};
PROTOBUF_EXPORT bool Field_Kind_IsValid(int value);
PROTOBUF_EXPORT extern const uint32_t Field_Kind_internal_data_[];
constexpr Field_Kind Field_Kind_Kind_MIN = static_cast<Field_Kind>(0);
constexpr Field_Kind Field_Kind_Kind_MAX = static_cast<Field_Kind>(18);
constexpr int Field_Kind_Kind_ARRAYSIZE = 18 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
Field_Kind_descriptor();
template <typename T>
const std::string& Field_Kind_Name(T value) {
static_assert(std::is_same<T, Field_Kind>::value ||
std::is_integral<T>::value,
"Incorrect type passed to Kind_Name().");
return Field_Kind_Name(static_cast<Field_Kind>(value));
}
template <>
inline const std::string& Field_Kind_Name(Field_Kind value) {
return ::google::protobuf::internal::NameOfDenseEnum<Field_Kind_descriptor,
0, 18>(
static_cast<int>(value));
}
inline bool Field_Kind_Parse(absl::string_view name, Field_Kind* value) {
return ::google::protobuf::internal::ParseNamedEnum<Field_Kind>(
Field_Kind_descriptor(), name, value);
}
enum Field_Cardinality : int {
Field_Cardinality_CARDINALITY_UNKNOWN = 0,
Field_Cardinality_CARDINALITY_OPTIONAL = 1,
Field_Cardinality_CARDINALITY_REQUIRED = 2,
Field_Cardinality_CARDINALITY_REPEATED = 3,
Field_Cardinality_Field_Cardinality_INT_MIN_SENTINEL_DO_NOT_USE_ =
std::numeric_limits<::int32_t>::min(),
Field_Cardinality_Field_Cardinality_INT_MAX_SENTINEL_DO_NOT_USE_ =
std::numeric_limits<::int32_t>::max(),
};
PROTOBUF_EXPORT bool Field_Cardinality_IsValid(int value);
PROTOBUF_EXPORT extern const uint32_t Field_Cardinality_internal_data_[];
constexpr Field_Cardinality Field_Cardinality_Cardinality_MIN = static_cast<Field_Cardinality>(0);
constexpr Field_Cardinality Field_Cardinality_Cardinality_MAX = static_cast<Field_Cardinality>(3);
constexpr int Field_Cardinality_Cardinality_ARRAYSIZE = 3 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
Field_Cardinality_descriptor();
template <typename T>
const std::string& Field_Cardinality_Name(T value) {
static_assert(std::is_same<T, Field_Cardinality>::value ||
std::is_integral<T>::value,
"Incorrect type passed to Cardinality_Name().");
return Field_Cardinality_Name(static_cast<Field_Cardinality>(value));
}
template <>
inline const std::string& Field_Cardinality_Name(Field_Cardinality value) {
return ::google::protobuf::internal::NameOfDenseEnum<Field_Cardinality_descriptor,
0, 3>(
static_cast<int>(value));
}
inline bool Field_Cardinality_Parse(absl::string_view name, Field_Cardinality* value) {
return ::google::protobuf::internal::ParseNamedEnum<Field_Cardinality>(
Field_Cardinality_descriptor(), name, value);
}
enum Syntax : int {
SYNTAX_PROTO2 = 0,
SYNTAX_PROTO3 = 1,
SYNTAX_EDITIONS = 2,
Syntax_INT_MIN_SENTINEL_DO_NOT_USE_ =
std::numeric_limits<::int32_t>::min(),
Syntax_INT_MAX_SENTINEL_DO_NOT_USE_ =
std::numeric_limits<::int32_t>::max(),
};
PROTOBUF_EXPORT bool Syntax_IsValid(int value);
PROTOBUF_EXPORT extern const uint32_t Syntax_internal_data_[];
constexpr Syntax Syntax_MIN = static_cast<Syntax>(0);
constexpr Syntax Syntax_MAX = static_cast<Syntax>(2);
constexpr int Syntax_ARRAYSIZE = 2 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
Syntax_descriptor();
template <typename T>
const std::string& Syntax_Name(T value) {
static_assert(std::is_same<T, Syntax>::value ||
std::is_integral<T>::value,
"Incorrect type passed to Syntax_Name().");
return Syntax_Name(static_cast<Syntax>(value));
}
template <>
inline const std::string& Syntax_Name(Syntax value) {
return ::google::protobuf::internal::NameOfDenseEnum<Syntax_descriptor,
0, 2>(
static_cast<int>(value));
}
inline bool Syntax_Parse(absl::string_view name, Syntax* value) {
return ::google::protobuf::internal::ParseNamedEnum<Syntax>(
Syntax_descriptor(), name, value);
}
// ===================================================================
// -------------------------------------------------------------------
class PROTOBUF_EXPORT Option final :
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Option) */ {
public:
inline Option() : Option(nullptr) {}
~Option() override;
template<typename = void>
explicit PROTOBUF_CONSTEXPR Option(::google::protobuf::internal::ConstantInitialized);
inline Option(const Option& from)
: Option(nullptr, from) {}
Option(Option&& from) noexcept
: Option() {
*this = ::std::move(from);
}
inline Option& operator=(const Option& from) {
CopyFrom(from);
return *this;
}
inline Option& operator=(Option&& from) noexcept {
if (this == &from) return *this;
if (GetArena() == from.GetArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
&& GetArena() != nullptr
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const Option& default_instance() {
return *internal_default_instance();
}
static inline const Option* internal_default_instance() {
return reinterpret_cast<const Option*>(
&_Option_default_instance_);
}
static constexpr int kIndexInFileMessages =
4;
friend void swap(Option& a, Option& b) {
a.Swap(&b);
}
inline void Swap(Option* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetArena() != nullptr &&
GetArena() == other->GetArena()) {
#else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetArena() == other->GetArena()) {
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(Option* other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
Option* New(::google::protobuf::Arena* arena = nullptr) const final {
return CreateMaybeMessage<Option>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const Option& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom( const Option& from) {
Option::MergeImpl(*this, from);
}
private:
static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::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, ::google::protobuf::internal::ParseContext* ctx) final;
::uint8_t* _InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
void InternalSwap(Option* other);
private:
friend class ::google::protobuf::internal::AnyMetadata;
static ::absl::string_view FullMessageName() {
return "google.protobuf.Option";
}
protected:
explicit Option(::google::protobuf::Arena* arena);
Option(::google::protobuf::Arena* arena, const Option& from);
public:
static const ClassData _class_data_;
const ::google::protobuf::Message::ClassData*GetClassData() const final;
::google::protobuf::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kNameFieldNumber = 1,
kValueFieldNumber = 2,
};
// string name = 1;
void clear_name() ;
const std::string& name() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
std::string* mutable_name();
PROTOBUF_NODISCARD std::string* release_name();
void set_allocated_name(std::string* value);
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:
// .google.protobuf.Any value = 2;
bool has_value() const;
void clear_value() ;
const ::google::protobuf::Any& value() const;
PROTOBUF_NODISCARD ::google::protobuf::Any* release_value();
::google::protobuf::Any* mutable_value();
void set_allocated_value(::google::protobuf::Any* value);
void unsafe_arena_set_allocated_value(::google::protobuf::Any* value);
::google::protobuf::Any* unsafe_arena_release_value();
private:
const ::google::protobuf::Any& _internal_value() const;
::google::protobuf::Any* _internal_mutable_value();
public:
// @@protoc_insertion_point(class_scope:google.protobuf.Option)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<
1, 2, 1,
35, 2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct PROTOBUF_EXPORT Impl_ {
inline explicit constexpr Impl_(
::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena);
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena, const Impl_& from);
::google::protobuf::internal::HasBits<1> _has_bits_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr name_;
::google::protobuf::Any* value_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto;
};// -------------------------------------------------------------------
class PROTOBUF_EXPORT Field final :
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Field) */ {
public:
inline Field() : Field(nullptr) {}
~Field() override;
template<typename = void>
explicit PROTOBUF_CONSTEXPR Field(::google::protobuf::internal::ConstantInitialized);
inline Field(const Field& from)
: Field(nullptr, from) {}
Field(Field&& from) noexcept
: Field() {
*this = ::std::move(from);
}
inline Field& operator=(const Field& from) {
CopyFrom(from);
return *this;
}
inline Field& operator=(Field&& from) noexcept {
if (this == &from) return *this;
if (GetArena() == from.GetArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
&& GetArena() != nullptr
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const Field& default_instance() {
return *internal_default_instance();
}
static inline const Field* internal_default_instance() {
return reinterpret_cast<const Field*>(
&_Field_default_instance_);
}
static constexpr int kIndexInFileMessages =
1;
friend void swap(Field& a, Field& b) {
a.Swap(&b);
}
inline void Swap(Field* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetArena() != nullptr &&
GetArena() == other->GetArena()) {
#else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetArena() == other->GetArena()) {
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(Field* other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
Field* New(::google::protobuf::Arena* arena = nullptr) const final {
return CreateMaybeMessage<Field>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const Field& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom( const Field& from) {
Field::MergeImpl(*this, from);
}
private:
static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::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, ::google::protobuf::internal::ParseContext* ctx) final;
::uint8_t* _InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
void InternalSwap(Field* other);
private:
friend class ::google::protobuf::internal::AnyMetadata;
static ::absl::string_view FullMessageName() {
return "google.protobuf.Field";
}
protected:
explicit Field(::google::protobuf::Arena* arena);
Field(::google::protobuf::Arena* arena, const Field& from);
public:
static const ClassData _class_data_;
const ::google::protobuf::Message::ClassData*GetClassData() const final;
::google::protobuf::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
using Kind = Field_Kind;
static constexpr Kind TYPE_UNKNOWN = Field_Kind_TYPE_UNKNOWN;
static constexpr Kind TYPE_DOUBLE = Field_Kind_TYPE_DOUBLE;
static constexpr Kind TYPE_FLOAT = Field_Kind_TYPE_FLOAT;
static constexpr Kind TYPE_INT64 = Field_Kind_TYPE_INT64;
static constexpr Kind TYPE_UINT64 = Field_Kind_TYPE_UINT64;
static constexpr Kind TYPE_INT32 = Field_Kind_TYPE_INT32;
static constexpr Kind TYPE_FIXED64 = Field_Kind_TYPE_FIXED64;
static constexpr Kind TYPE_FIXED32 = Field_Kind_TYPE_FIXED32;
static constexpr Kind TYPE_BOOL = Field_Kind_TYPE_BOOL;
static constexpr Kind TYPE_STRING = Field_Kind_TYPE_STRING;
static constexpr Kind TYPE_GROUP = Field_Kind_TYPE_GROUP;
static constexpr Kind TYPE_MESSAGE = Field_Kind_TYPE_MESSAGE;
static constexpr Kind TYPE_BYTES = Field_Kind_TYPE_BYTES;
static constexpr Kind TYPE_UINT32 = Field_Kind_TYPE_UINT32;
static constexpr Kind TYPE_ENUM = Field_Kind_TYPE_ENUM;
static constexpr Kind TYPE_SFIXED32 = Field_Kind_TYPE_SFIXED32;
static constexpr Kind TYPE_SFIXED64 = Field_Kind_TYPE_SFIXED64;
static constexpr Kind TYPE_SINT32 = Field_Kind_TYPE_SINT32;
static constexpr Kind TYPE_SINT64 = Field_Kind_TYPE_SINT64;
static inline bool Kind_IsValid(int value) {
return Field_Kind_IsValid(value);
}
static constexpr Kind Kind_MIN = Field_Kind_Kind_MIN;
static constexpr Kind Kind_MAX = Field_Kind_Kind_MAX;
static constexpr int Kind_ARRAYSIZE = Field_Kind_Kind_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor* Kind_descriptor() {
return Field_Kind_descriptor();
}
template <typename T>
static inline const std::string& Kind_Name(T value) {
return Field_Kind_Name(value);
}
static inline bool Kind_Parse(absl::string_view name, Kind* value) {
return Field_Kind_Parse(name, value);
}
using Cardinality = Field_Cardinality;
static constexpr Cardinality CARDINALITY_UNKNOWN = Field_Cardinality_CARDINALITY_UNKNOWN;
static constexpr Cardinality CARDINALITY_OPTIONAL = Field_Cardinality_CARDINALITY_OPTIONAL;
static constexpr Cardinality CARDINALITY_REQUIRED = Field_Cardinality_CARDINALITY_REQUIRED;
static constexpr Cardinality CARDINALITY_REPEATED = Field_Cardinality_CARDINALITY_REPEATED;
static inline bool Cardinality_IsValid(int value) {
return Field_Cardinality_IsValid(value);
}
static constexpr Cardinality Cardinality_MIN = Field_Cardinality_Cardinality_MIN;
static constexpr Cardinality Cardinality_MAX = Field_Cardinality_Cardinality_MAX;
static constexpr int Cardinality_ARRAYSIZE = Field_Cardinality_Cardinality_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor* Cardinality_descriptor() {
return Field_Cardinality_descriptor();
}
template <typename T>
static inline const std::string& Cardinality_Name(T value) {
return Field_Cardinality_Name(value);
}
static inline bool Cardinality_Parse(absl::string_view name, Cardinality* value) {
return Field_Cardinality_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kOptionsFieldNumber = 9,
kNameFieldNumber = 4,
kTypeUrlFieldNumber = 6,
kJsonNameFieldNumber = 10,
kDefaultValueFieldNumber = 11,
kKindFieldNumber = 1,
kCardinalityFieldNumber = 2,
kNumberFieldNumber = 3,
kOneofIndexFieldNumber = 7,
kPackedFieldNumber = 8,
};
// repeated .google.protobuf.Option options = 9;
int options_size() const;
private:
int _internal_options_size() const;
public:
void clear_options() ;
::google::protobuf::Option* mutable_options(int index);
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
mutable_options();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& _internal_options() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* _internal_mutable_options();
public:
const ::google::protobuf::Option& options(int index) const;
::google::protobuf::Option* add_options();
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
options() const;
// string name = 4;
void clear_name() ;
const std::string& name() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
std::string* mutable_name();
PROTOBUF_NODISCARD std::string* release_name();
void set_allocated_name(std::string* value);
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:
// string type_url = 6;
void clear_type_url() ;
const std::string& type_url() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_type_url(Arg_&& arg, Args_... args);
std::string* mutable_type_url();
PROTOBUF_NODISCARD std::string* release_type_url();
void set_allocated_type_url(std::string* value);
private:
const std::string& _internal_type_url() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_url(
const std::string& value);
std::string* _internal_mutable_type_url();
public:
// string json_name = 10;
void clear_json_name() ;
const std::string& json_name() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_json_name(Arg_&& arg, Args_... args);
std::string* mutable_json_name();
PROTOBUF_NODISCARD std::string* release_json_name();
void set_allocated_json_name(std::string* value);
private:
const std::string& _internal_json_name() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_name(
const std::string& value);
std::string* _internal_mutable_json_name();
public:
// string default_value = 11;
void clear_default_value() ;
const std::string& default_value() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_default_value(Arg_&& arg, Args_... args);
std::string* mutable_default_value();
PROTOBUF_NODISCARD std::string* release_default_value();
void set_allocated_default_value(std::string* value);
private:
const std::string& _internal_default_value() const;
inline PROTOBUF_ALWAYS_INLINE void _internal_set_default_value(
const std::string& value);
std::string* _internal_mutable_default_value();
public:
// .google.protobuf.Field.Kind kind = 1;
void clear_kind() ;
::google::protobuf::Field_Kind kind() const;
void set_kind(::google::protobuf::Field_Kind value);
private:
::google::protobuf::Field_Kind _internal_kind() const;
void _internal_set_kind(::google::protobuf::Field_Kind value);
public:
// .google.protobuf.Field.Cardinality cardinality = 2;
void clear_cardinality() ;
::google::protobuf::Field_Cardinality cardinality() const;
void set_cardinality(::google::protobuf::Field_Cardinality value);
private:
::google::protobuf::Field_Cardinality _internal_cardinality() const;
void _internal_set_cardinality(::google::protobuf::Field_Cardinality value);
public:
// int32 number = 3;
void clear_number() ;
::int32_t number() const;
void set_number(::int32_t value);
private:
::int32_t _internal_number() const;
void _internal_set_number(::int32_t value);
public:
// int32 oneof_index = 7;
void clear_oneof_index() ;
::int32_t oneof_index() const;
void set_oneof_index(::int32_t value);
private:
::int32_t _internal_oneof_index() const;
void _internal_set_oneof_index(::int32_t value);
public:
// bool packed = 8;
void clear_packed() ;
bool packed() const;
void set_packed(bool value);
private:
bool _internal_packed() const;
void _internal_set_packed(bool value);
public:
// @@protoc_insertion_point(class_scope:google.protobuf.Field)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<
4, 10, 1,
72, 2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct PROTOBUF_EXPORT Impl_ {
inline explicit constexpr Impl_(
::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena);
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena, const Impl_& from);
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
::google::protobuf::internal::ArenaStringPtr name_;
::google::protobuf::internal::ArenaStringPtr type_url_;
::google::protobuf::internal::ArenaStringPtr json_name_;
::google::protobuf::internal::ArenaStringPtr default_value_;
int kind_;
int cardinality_;
::int32_t number_;
::int32_t oneof_index_;
bool packed_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto;
};// -------------------------------------------------------------------
class PROTOBUF_EXPORT EnumValue final :
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValue) */ {
public:
inline EnumValue() : EnumValue(nullptr) {}
~EnumValue() override;
template<typename = void>
explicit PROTOBUF_CONSTEXPR EnumValue(::google::protobuf::internal::ConstantInitialized);
inline EnumValue(const EnumValue& from)
: EnumValue(nullptr, from) {}
EnumValue(EnumValue&& from) noexcept
: EnumValue() {
*this = ::std::move(from);
}
inline EnumValue& operator=(const EnumValue& from) {
CopyFrom(from);
return *this;
}
inline EnumValue& operator=(EnumValue&& from) noexcept {
if (this == &from) return *this;
if (GetArena() == from.GetArena()
#ifdef PROTOBUF_FORCE_COPY_IN_MOVE
&& GetArena() != nullptr
#endif // !PROTOBUF_FORCE_COPY_IN_MOVE
) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const EnumValue& default_instance() {
return *internal_default_instance();
}
static inline const EnumValue* internal_default_instance() {
return reinterpret_cast<const EnumValue*>(
&_EnumValue_default_instance_);
}
static constexpr int kIndexInFileMessages =
3;
friend void swap(EnumValue& a, EnumValue& b) {
a.Swap(&b);
}
inline void Swap(EnumValue* other) {
if (other == this) return;
#ifdef PROTOBUF_FORCE_COPY_IN_SWAP
if (GetArena() != nullptr &&
GetArena() == other->GetArena()) {
#else // PROTOBUF_FORCE_COPY_IN_SWAP
if (GetArena() == other->GetArena()) {
#endif // !PROTOBUF_FORCE_COPY_IN_SWAP
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(EnumValue* other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
EnumValue* New(::google::protobuf::Arena* arena = nullptr) const final {
return CreateMaybeMessage<EnumValue>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const EnumValue& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom( const EnumValue& from) {
EnumValue::MergeImpl(*this, from);
}
private:
static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::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, ::google::protobuf::internal::ParseContext* ctx) final;
::uint8_t* _InternalSerialize(
::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
void SharedCtor(::google::protobuf::Arena* arena);
void SharedDtor();
void InternalSwap(EnumValue* other);
private:
friend class ::google::protobuf::internal::AnyMetadata;
static ::absl::string_view FullMessageName() {
return "google.protobuf.EnumValue";
}
protected:
explicit EnumValue(::google::protobuf::Arena* arena);
EnumValue(::google::protobuf::Arena* arena, const EnumValue& from);
public:
static const ClassData _class_data_;
const ::google::protobuf::Message::ClassData*GetClassData() const final;
::google::protobuf::Metadata GetMetadata() const final;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kOptionsFieldNumber = 3,
kNameFieldNumber = 1,
kNumberFieldNumber = 2,
};
// repeated .google.protobuf.Option options = 3;
int options_size() const;
private:
int _internal_options_size() const;
public:
void clear_options() ;
::google::protobuf::Option* mutable_options(int index);
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >*
mutable_options();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& _internal_options() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* _internal_mutable_options();
public:
const ::google::protobuf::Option& options(int index) const;
::google::protobuf::Option* add_options();
const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option >&
options() const;
// string name = 1;
void clear_name() ;
const std::string& name() const;
template <typename Arg_ = const std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
std::string* mutable_name();
PROTOBUF_NODISCARD std::string* release_name();
void set_allocated_name(std::string* value);
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:
// int32 number = 2;
void clear_number() ;
::int32_t number() const;
void set_number(::int32_t value);
private:
::int32_t _internal_number() const;
void _internal_set_number(::int32_t value);
public:
// @@protoc_insertion_point(class_scope:google.protobuf.EnumValue)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<
2, 3, 1,
38, 2>
_table_;
friend class ::google::protobuf::MessageLite;
friend class ::google::protobuf::Arena;
template <typename T>
friend class ::google::protobuf::Arena::InternalHelper;
using InternalArenaConstructable_ = void;
using DestructorSkippable_ = void;
struct PROTOBUF_EXPORT Impl_ {
inline explicit constexpr Impl_(
::google::protobuf::internal::ConstantInitialized) noexcept;
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena);
inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* arena, const Impl_& from);
::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
::google::protobuf::internal::ArenaStringPtr name_;
::int32_t number_;
mutable ::google::protobuf::internal::CachedSize _cached_size_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto;
};// -------------------------------------------------------------------
class PROTOBUF_EXPORT Type final :
public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Type) */ {
public:
inline Type() : Type(nullptr) {}
~Type() override;
template<typename = void>
explicit PROTOBUF_CONSTEXPR Type(::google::protobuf::internal::ConstantInitialized);