-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.pb.h
3056 lines (2763 loc) · 106 KB
/
profile.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: profile.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_profile_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_profile_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3017000
#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 3017003 < 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_table_driven.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/unknown_field_set.h>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_profile_2eproto
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
} // namespace internal
PROTOBUF_NAMESPACE_CLOSE
// Internal implementation detail -- do not use these members.
struct TableStruct_profile_2eproto {
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[8]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
};
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_profile_2eproto;
namespace perftools {
namespace profiles {
class Function;
struct FunctionDefaultTypeInternal;
extern FunctionDefaultTypeInternal _Function_default_instance_;
class Label;
struct LabelDefaultTypeInternal;
extern LabelDefaultTypeInternal _Label_default_instance_;
class Line;
struct LineDefaultTypeInternal;
extern LineDefaultTypeInternal _Line_default_instance_;
class Location;
struct LocationDefaultTypeInternal;
extern LocationDefaultTypeInternal _Location_default_instance_;
class Mapping;
struct MappingDefaultTypeInternal;
extern MappingDefaultTypeInternal _Mapping_default_instance_;
class Profile;
struct ProfileDefaultTypeInternal;
extern ProfileDefaultTypeInternal _Profile_default_instance_;
class Sample;
struct SampleDefaultTypeInternal;
extern SampleDefaultTypeInternal _Sample_default_instance_;
class ValueType;
struct ValueTypeDefaultTypeInternal;
extern ValueTypeDefaultTypeInternal _ValueType_default_instance_;
} // namespace profiles
} // namespace perftools
PROTOBUF_NAMESPACE_OPEN
template<> ::perftools::profiles::Function* Arena::CreateMaybeMessage<::perftools::profiles::Function>(Arena*);
template<> ::perftools::profiles::Label* Arena::CreateMaybeMessage<::perftools::profiles::Label>(Arena*);
template<> ::perftools::profiles::Line* Arena::CreateMaybeMessage<::perftools::profiles::Line>(Arena*);
template<> ::perftools::profiles::Location* Arena::CreateMaybeMessage<::perftools::profiles::Location>(Arena*);
template<> ::perftools::profiles::Mapping* Arena::CreateMaybeMessage<::perftools::profiles::Mapping>(Arena*);
template<> ::perftools::profiles::Profile* Arena::CreateMaybeMessage<::perftools::profiles::Profile>(Arena*);
template<> ::perftools::profiles::Sample* Arena::CreateMaybeMessage<::perftools::profiles::Sample>(Arena*);
template<> ::perftools::profiles::ValueType* Arena::CreateMaybeMessage<::perftools::profiles::ValueType>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace perftools {
namespace profiles {
// ===================================================================
class Profile final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:perftools.profiles.Profile) */ {
public:
inline Profile() : Profile(nullptr) {}
~Profile() override;
explicit constexpr Profile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Profile(const Profile& from);
Profile(Profile&& from) noexcept
: Profile() {
*this = ::std::move(from);
}
inline Profile& operator=(const Profile& from) {
CopyFrom(from);
return *this;
}
inline Profile& operator=(Profile&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
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 Profile& default_instance() {
return *internal_default_instance();
}
static inline const Profile* internal_default_instance() {
return reinterpret_cast<const Profile*>(
&_Profile_default_instance_);
}
static constexpr int kIndexInFileMessages =
0;
friend void swap(Profile& a, Profile& b) {
a.Swap(&b);
}
inline void Swap(Profile* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(Profile* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline Profile* New() const final {
return new Profile();
}
Profile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<Profile>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Profile& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const Profile& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
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;
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Profile* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "perftools.profiles.Profile";
}
protected:
explicit Profile(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
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 {
kSampleTypeFieldNumber = 1,
kSampleFieldNumber = 2,
kMappingFieldNumber = 3,
kLocationFieldNumber = 4,
kFunctionFieldNumber = 5,
kStringTableFieldNumber = 6,
kCommentFieldNumber = 13,
kPeriodTypeFieldNumber = 11,
kDropFramesFieldNumber = 7,
kKeepFramesFieldNumber = 8,
kTimeNanosFieldNumber = 9,
kDurationNanosFieldNumber = 10,
kPeriodFieldNumber = 12,
kDefaultSampleTypeFieldNumber = 14,
};
// repeated .perftools.profiles.ValueType sample_type = 1;
int sample_type_size() const;
private:
int _internal_sample_type_size() const;
public:
void clear_sample_type();
::perftools::profiles::ValueType* mutable_sample_type(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::ValueType >*
mutable_sample_type();
private:
const ::perftools::profiles::ValueType& _internal_sample_type(int index) const;
::perftools::profiles::ValueType* _internal_add_sample_type();
public:
const ::perftools::profiles::ValueType& sample_type(int index) const;
::perftools::profiles::ValueType* add_sample_type();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::ValueType >&
sample_type() const;
// repeated .perftools.profiles.Sample sample = 2;
int sample_size() const;
private:
int _internal_sample_size() const;
public:
void clear_sample();
::perftools::profiles::Sample* mutable_sample(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::Sample >*
mutable_sample();
private:
const ::perftools::profiles::Sample& _internal_sample(int index) const;
::perftools::profiles::Sample* _internal_add_sample();
public:
const ::perftools::profiles::Sample& sample(int index) const;
::perftools::profiles::Sample* add_sample();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::Sample >&
sample() const;
// repeated .perftools.profiles.Mapping mapping = 3;
int mapping_size() const;
private:
int _internal_mapping_size() const;
public:
void clear_mapping();
::perftools::profiles::Mapping* mutable_mapping(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::Mapping >*
mutable_mapping();
private:
const ::perftools::profiles::Mapping& _internal_mapping(int index) const;
::perftools::profiles::Mapping* _internal_add_mapping();
public:
const ::perftools::profiles::Mapping& mapping(int index) const;
::perftools::profiles::Mapping* add_mapping();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::Mapping >&
mapping() const;
// repeated .perftools.profiles.Location location = 4;
int location_size() const;
private:
int _internal_location_size() const;
public:
void clear_location();
::perftools::profiles::Location* mutable_location(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::Location >*
mutable_location();
private:
const ::perftools::profiles::Location& _internal_location(int index) const;
::perftools::profiles::Location* _internal_add_location();
public:
const ::perftools::profiles::Location& location(int index) const;
::perftools::profiles::Location* add_location();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::Location >&
location() const;
// repeated .perftools.profiles.Function function = 5;
int function_size() const;
private:
int _internal_function_size() const;
public:
void clear_function();
::perftools::profiles::Function* mutable_function(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::Function >*
mutable_function();
private:
const ::perftools::profiles::Function& _internal_function(int index) const;
::perftools::profiles::Function* _internal_add_function();
public:
const ::perftools::profiles::Function& function(int index) const;
::perftools::profiles::Function* add_function();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::Function >&
function() const;
// repeated string string_table = 6;
int string_table_size() const;
private:
int _internal_string_table_size() const;
public:
void clear_string_table();
const std::string& string_table(int index) const;
std::string* mutable_string_table(int index);
void set_string_table(int index, const std::string& value);
void set_string_table(int index, std::string&& value);
void set_string_table(int index, const char* value);
void set_string_table(int index, const char* value, size_t size);
std::string* add_string_table();
void add_string_table(const std::string& value);
void add_string_table(std::string&& value);
void add_string_table(const char* value);
void add_string_table(const char* value, size_t size);
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& string_table() const;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_string_table();
private:
const std::string& _internal_string_table(int index) const;
std::string* _internal_add_string_table();
public:
// repeated int64 comment = 13;
int comment_size() const;
private:
int _internal_comment_size() const;
public:
void clear_comment();
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_comment(int index) const;
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
_internal_comment() const;
void _internal_add_comment(::PROTOBUF_NAMESPACE_ID::int64 value);
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
_internal_mutable_comment();
public:
::PROTOBUF_NAMESPACE_ID::int64 comment(int index) const;
void set_comment(int index, ::PROTOBUF_NAMESPACE_ID::int64 value);
void add_comment(::PROTOBUF_NAMESPACE_ID::int64 value);
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
comment() const;
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
mutable_comment();
// .perftools.profiles.ValueType period_type = 11;
bool has_period_type() const;
private:
bool _internal_has_period_type() const;
public:
void clear_period_type();
const ::perftools::profiles::ValueType& period_type() const;
PROTOBUF_MUST_USE_RESULT ::perftools::profiles::ValueType* release_period_type();
::perftools::profiles::ValueType* mutable_period_type();
void set_allocated_period_type(::perftools::profiles::ValueType* period_type);
private:
const ::perftools::profiles::ValueType& _internal_period_type() const;
::perftools::profiles::ValueType* _internal_mutable_period_type();
public:
void unsafe_arena_set_allocated_period_type(
::perftools::profiles::ValueType* period_type);
::perftools::profiles::ValueType* unsafe_arena_release_period_type();
// int64 drop_frames = 7;
void clear_drop_frames();
::PROTOBUF_NAMESPACE_ID::int64 drop_frames() const;
void set_drop_frames(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_drop_frames() const;
void _internal_set_drop_frames(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// int64 keep_frames = 8;
void clear_keep_frames();
::PROTOBUF_NAMESPACE_ID::int64 keep_frames() const;
void set_keep_frames(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_keep_frames() const;
void _internal_set_keep_frames(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// int64 time_nanos = 9;
void clear_time_nanos();
::PROTOBUF_NAMESPACE_ID::int64 time_nanos() const;
void set_time_nanos(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_time_nanos() const;
void _internal_set_time_nanos(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// int64 duration_nanos = 10;
void clear_duration_nanos();
::PROTOBUF_NAMESPACE_ID::int64 duration_nanos() const;
void set_duration_nanos(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_duration_nanos() const;
void _internal_set_duration_nanos(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// int64 period = 12;
void clear_period();
::PROTOBUF_NAMESPACE_ID::int64 period() const;
void set_period(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_period() const;
void _internal_set_period(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// int64 default_sample_type = 14;
void clear_default_sample_type();
::PROTOBUF_NAMESPACE_ID::int64 default_sample_type() const;
void set_default_sample_type(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_default_sample_type() const;
void _internal_set_default_sample_type(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// @@protoc_insertion_point(class_scope:perftools.profiles.Profile)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::ValueType > sample_type_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::Sample > sample_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::Mapping > mapping_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::Location > location_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::Function > function_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> string_table_;
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > comment_;
mutable std::atomic<int> _comment_cached_byte_size_;
::perftools::profiles::ValueType* period_type_;
::PROTOBUF_NAMESPACE_ID::int64 drop_frames_;
::PROTOBUF_NAMESPACE_ID::int64 keep_frames_;
::PROTOBUF_NAMESPACE_ID::int64 time_nanos_;
::PROTOBUF_NAMESPACE_ID::int64 duration_nanos_;
::PROTOBUF_NAMESPACE_ID::int64 period_;
::PROTOBUF_NAMESPACE_ID::int64 default_sample_type_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_profile_2eproto;
};
// -------------------------------------------------------------------
class ValueType final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:perftools.profiles.ValueType) */ {
public:
inline ValueType() : ValueType(nullptr) {}
~ValueType() override;
explicit constexpr ValueType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
ValueType(const ValueType& from);
ValueType(ValueType&& from) noexcept
: ValueType() {
*this = ::std::move(from);
}
inline ValueType& operator=(const ValueType& from) {
CopyFrom(from);
return *this;
}
inline ValueType& operator=(ValueType&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
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 ValueType& default_instance() {
return *internal_default_instance();
}
static inline const ValueType* internal_default_instance() {
return reinterpret_cast<const ValueType*>(
&_ValueType_default_instance_);
}
static constexpr int kIndexInFileMessages =
1;
friend void swap(ValueType& a, ValueType& b) {
a.Swap(&b);
}
inline void Swap(ValueType* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(ValueType* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline ValueType* New() const final {
return new ValueType();
}
ValueType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<ValueType>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const ValueType& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const ValueType& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
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;
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(ValueType* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "perftools.profiles.ValueType";
}
protected:
explicit ValueType(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
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 {
kTypeFieldNumber = 1,
kUnitFieldNumber = 2,
};
// int64 type = 1;
void clear_type();
::PROTOBUF_NAMESPACE_ID::int64 type() const;
void set_type(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_type() const;
void _internal_set_type(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// int64 unit = 2;
void clear_unit();
::PROTOBUF_NAMESPACE_ID::int64 unit() const;
void set_unit(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_unit() const;
void _internal_set_unit(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// @@protoc_insertion_point(class_scope:perftools.profiles.ValueType)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::int64 type_;
::PROTOBUF_NAMESPACE_ID::int64 unit_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_profile_2eproto;
};
// -------------------------------------------------------------------
class Sample final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:perftools.profiles.Sample) */ {
public:
inline Sample() : Sample(nullptr) {}
~Sample() override;
explicit constexpr Sample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Sample(const Sample& from);
Sample(Sample&& from) noexcept
: Sample() {
*this = ::std::move(from);
}
inline Sample& operator=(const Sample& from) {
CopyFrom(from);
return *this;
}
inline Sample& operator=(Sample&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
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 Sample& default_instance() {
return *internal_default_instance();
}
static inline const Sample* internal_default_instance() {
return reinterpret_cast<const Sample*>(
&_Sample_default_instance_);
}
static constexpr int kIndexInFileMessages =
2;
friend void swap(Sample& a, Sample& b) {
a.Swap(&b);
}
inline void Swap(Sample* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(Sample* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline Sample* New() const final {
return new Sample();
}
Sample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<Sample>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Sample& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const Sample& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
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;
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Sample* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "perftools.profiles.Sample";
}
protected:
explicit Sample(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
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 {
kLocationIdFieldNumber = 1,
kValueFieldNumber = 2,
kLabelFieldNumber = 3,
};
// repeated uint64 location_id = 1;
int location_id_size() const;
private:
int _internal_location_id_size() const;
public:
void clear_location_id();
private:
::PROTOBUF_NAMESPACE_ID::uint64 _internal_location_id(int index) const;
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >&
_internal_location_id() const;
void _internal_add_location_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >*
_internal_mutable_location_id();
public:
::PROTOBUF_NAMESPACE_ID::uint64 location_id(int index) const;
void set_location_id(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value);
void add_location_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >&
location_id() const;
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >*
mutable_location_id();
// repeated int64 value = 2;
int value_size() const;
private:
int _internal_value_size() const;
public:
void clear_value();
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_value(int index) const;
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
_internal_value() const;
void _internal_add_value(::PROTOBUF_NAMESPACE_ID::int64 value);
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
_internal_mutable_value();
public:
::PROTOBUF_NAMESPACE_ID::int64 value(int index) const;
void set_value(int index, ::PROTOBUF_NAMESPACE_ID::int64 value);
void add_value(::PROTOBUF_NAMESPACE_ID::int64 value);
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
value() const;
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
mutable_value();
// repeated .perftools.profiles.Label label = 3;
int label_size() const;
private:
int _internal_label_size() const;
public:
void clear_label();
::perftools::profiles::Label* mutable_label(int index);
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::Label >*
mutable_label();
private:
const ::perftools::profiles::Label& _internal_label(int index) const;
::perftools::profiles::Label* _internal_add_label();
public:
const ::perftools::profiles::Label& label(int index) const;
::perftools::profiles::Label* add_label();
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::Label >&
label() const;
// @@protoc_insertion_point(class_scope:perftools.profiles.Sample)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 > location_id_;
mutable std::atomic<int> _location_id_cached_byte_size_;
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > value_;
mutable std::atomic<int> _value_cached_byte_size_;
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::perftools::profiles::Label > label_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_profile_2eproto;
};
// -------------------------------------------------------------------
class Label final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:perftools.profiles.Label) */ {
public:
inline Label() : Label(nullptr) {}
~Label() override;
explicit constexpr Label(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Label(const Label& from);
Label(Label&& from) noexcept
: Label() {
*this = ::std::move(from);
}
inline Label& operator=(const Label& from) {
CopyFrom(from);
return *this;
}
inline Label& operator=(Label&& from) noexcept {
if (this == &from) return *this;
if (GetOwningArena() == from.GetOwningArena()) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
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 Label& default_instance() {
return *internal_default_instance();
}
static inline const Label* internal_default_instance() {
return reinterpret_cast<const Label*>(
&_Label_default_instance_);
}
static constexpr int kIndexInFileMessages =
3;
friend void swap(Label& a, Label& b) {
a.Swap(&b);
}
inline void Swap(Label* other) {
if (other == this) return;
if (GetOwningArena() == other->GetOwningArena()) {
InternalSwap(other);
} else {
::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(Label* other) {
if (other == this) return;
GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline Label* New() const final {
return new Label();
}
Label* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<Label>(arena);
}
using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
void CopyFrom(const Label& from);
using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
void MergeFrom(const Label& from);
private:
static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message*to, const ::PROTOBUF_NAMESPACE_ID::Message&from);
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;
::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
void SharedCtor();
void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(Label* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "perftools.profiles.Label";
}
protected:
explicit Label(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned = false);
private:
static void ArenaDtor(void* object);
inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
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 {
kKeyFieldNumber = 1,
kStrFieldNumber = 2,
kNumFieldNumber = 3,
kNumUnitFieldNumber = 4,
};
// int64 key = 1;
void clear_key();
::PROTOBUF_NAMESPACE_ID::int64 key() const;
void set_key(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_key() const;
void _internal_set_key(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// int64 str = 2;
void clear_str();
::PROTOBUF_NAMESPACE_ID::int64 str() const;
void set_str(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_str() const;
void _internal_set_str(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// int64 num = 3;
void clear_num();
::PROTOBUF_NAMESPACE_ID::int64 num() const;
void set_num(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_num() const;
void _internal_set_num(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// int64 num_unit = 4;
void clear_num_unit();
::PROTOBUF_NAMESPACE_ID::int64 num_unit() const;
void set_num_unit(::PROTOBUF_NAMESPACE_ID::int64 value);
private:
::PROTOBUF_NAMESPACE_ID::int64 _internal_num_unit() const;
void _internal_set_num_unit(::PROTOBUF_NAMESPACE_ID::int64 value);
public:
// @@protoc_insertion_point(class_scope:perftools.profiles.Label)
private:
class _Internal;
template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
typedef void InternalArenaConstructable_;
typedef void DestructorSkippable_;
::PROTOBUF_NAMESPACE_ID::int64 key_;
::PROTOBUF_NAMESPACE_ID::int64 str_;
::PROTOBUF_NAMESPACE_ID::int64 num_;
::PROTOBUF_NAMESPACE_ID::int64 num_unit_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_profile_2eproto;
};
// -------------------------------------------------------------------
class Mapping final :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:perftools.profiles.Mapping) */ {
public:
inline Mapping() : Mapping(nullptr) {}
~Mapping() override;
explicit constexpr Mapping(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
Mapping(const Mapping& from);
Mapping(Mapping&& from) noexcept
: Mapping() {
*this = ::std::move(from);
}
inline Mapping& operator=(const Mapping& from) {
CopyFrom(from);
return *this;
}