1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: call_stack_profile.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_call_5fstack_5fprofile_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_call_5fstack_5fprofile_2eproto
6
7 #include <limits>
8 #include <string>
9
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3021000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/metadata_lite.h>
28 #include <google/protobuf/message_lite.h>
29 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
30 #include <google/protobuf/extension_set.h> // IWYU pragma: export
31 #include "execution_context.pb.h"
32 // @@protoc_insertion_point(includes)
33 #include <google/protobuf/port_def.inc>
34 #define PROTOBUF_INTERNAL_EXPORT_call_5fstack_5fprofile_2eproto
35 PROTOBUF_NAMESPACE_OPEN
36 namespace internal {
37 class AnyMetadata;
38 } // namespace internal
39 PROTOBUF_NAMESPACE_CLOSE
40
41 // Internal implementation detail -- do not use these members.
42 struct TableStruct_call_5fstack_5fprofile_2eproto {
43 static const uint32_t offsets[];
44 };
45 namespace metrics {
46 class CallStackProfile;
47 struct CallStackProfileDefaultTypeInternal;
48 extern CallStackProfileDefaultTypeInternal _CallStackProfile_default_instance_;
49 class CallStackProfile_AsyncBacktrace;
50 struct CallStackProfile_AsyncBacktraceDefaultTypeInternal;
51 extern CallStackProfile_AsyncBacktraceDefaultTypeInternal _CallStackProfile_AsyncBacktrace_default_instance_;
52 class CallStackProfile_Location;
53 struct CallStackProfile_LocationDefaultTypeInternal;
54 extern CallStackProfile_LocationDefaultTypeInternal _CallStackProfile_Location_default_instance_;
55 class CallStackProfile_MetadataItem;
56 struct CallStackProfile_MetadataItemDefaultTypeInternal;
57 extern CallStackProfile_MetadataItemDefaultTypeInternal _CallStackProfile_MetadataItem_default_instance_;
58 class CallStackProfile_ModuleIdentifier;
59 struct CallStackProfile_ModuleIdentifierDefaultTypeInternal;
60 extern CallStackProfile_ModuleIdentifierDefaultTypeInternal _CallStackProfile_ModuleIdentifier_default_instance_;
61 class CallStackProfile_Sample;
62 struct CallStackProfile_SampleDefaultTypeInternal;
63 extern CallStackProfile_SampleDefaultTypeInternal _CallStackProfile_Sample_default_instance_;
64 class CallStackProfile_Stack;
65 struct CallStackProfile_StackDefaultTypeInternal;
66 extern CallStackProfile_StackDefaultTypeInternal _CallStackProfile_Stack_default_instance_;
67 class CallStackProfile_StackSample;
68 struct CallStackProfile_StackSampleDefaultTypeInternal;
69 extern CallStackProfile_StackSampleDefaultTypeInternal _CallStackProfile_StackSample_default_instance_;
70 } // namespace metrics
71 PROTOBUF_NAMESPACE_OPEN
72 template<> ::metrics::CallStackProfile* Arena::CreateMaybeMessage<::metrics::CallStackProfile>(Arena*);
73 template<> ::metrics::CallStackProfile_AsyncBacktrace* Arena::CreateMaybeMessage<::metrics::CallStackProfile_AsyncBacktrace>(Arena*);
74 template<> ::metrics::CallStackProfile_Location* Arena::CreateMaybeMessage<::metrics::CallStackProfile_Location>(Arena*);
75 template<> ::metrics::CallStackProfile_MetadataItem* Arena::CreateMaybeMessage<::metrics::CallStackProfile_MetadataItem>(Arena*);
76 template<> ::metrics::CallStackProfile_ModuleIdentifier* Arena::CreateMaybeMessage<::metrics::CallStackProfile_ModuleIdentifier>(Arena*);
77 template<> ::metrics::CallStackProfile_Sample* Arena::CreateMaybeMessage<::metrics::CallStackProfile_Sample>(Arena*);
78 template<> ::metrics::CallStackProfile_Stack* Arena::CreateMaybeMessage<::metrics::CallStackProfile_Stack>(Arena*);
79 template<> ::metrics::CallStackProfile_StackSample* Arena::CreateMaybeMessage<::metrics::CallStackProfile_StackSample>(Arena*);
80 PROTOBUF_NAMESPACE_CLOSE
81 namespace metrics {
82
83 // ===================================================================
84
85 class CallStackProfile_ModuleIdentifier final :
86 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.CallStackProfile.ModuleIdentifier) */ {
87 public:
CallStackProfile_ModuleIdentifier()88 inline CallStackProfile_ModuleIdentifier() : CallStackProfile_ModuleIdentifier(nullptr) {}
89 ~CallStackProfile_ModuleIdentifier() override;
90 explicit PROTOBUF_CONSTEXPR CallStackProfile_ModuleIdentifier(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
91
92 CallStackProfile_ModuleIdentifier(const CallStackProfile_ModuleIdentifier& from);
CallStackProfile_ModuleIdentifier(CallStackProfile_ModuleIdentifier && from)93 CallStackProfile_ModuleIdentifier(CallStackProfile_ModuleIdentifier&& from) noexcept
94 : CallStackProfile_ModuleIdentifier() {
95 *this = ::std::move(from);
96 }
97
98 inline CallStackProfile_ModuleIdentifier& operator=(const CallStackProfile_ModuleIdentifier& from) {
99 CopyFrom(from);
100 return *this;
101 }
102 inline CallStackProfile_ModuleIdentifier& operator=(CallStackProfile_ModuleIdentifier&& from) noexcept {
103 if (this == &from) return *this;
104 if (GetOwningArena() == from.GetOwningArena()
105 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
106 && GetOwningArena() != nullptr
107 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
108 ) {
109 InternalSwap(&from);
110 } else {
111 CopyFrom(from);
112 }
113 return *this;
114 }
115
unknown_fields()116 inline const std::string& unknown_fields() const {
117 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
118 }
mutable_unknown_fields()119 inline std::string* mutable_unknown_fields() {
120 return _internal_metadata_.mutable_unknown_fields<std::string>();
121 }
122
default_instance()123 static const CallStackProfile_ModuleIdentifier& default_instance() {
124 return *internal_default_instance();
125 }
internal_default_instance()126 static inline const CallStackProfile_ModuleIdentifier* internal_default_instance() {
127 return reinterpret_cast<const CallStackProfile_ModuleIdentifier*>(
128 &_CallStackProfile_ModuleIdentifier_default_instance_);
129 }
130 static constexpr int kIndexInFileMessages =
131 0;
132
swap(CallStackProfile_ModuleIdentifier & a,CallStackProfile_ModuleIdentifier & b)133 friend void swap(CallStackProfile_ModuleIdentifier& a, CallStackProfile_ModuleIdentifier& b) {
134 a.Swap(&b);
135 }
Swap(CallStackProfile_ModuleIdentifier * other)136 PROTOBUF_NOINLINE void Swap(CallStackProfile_ModuleIdentifier* other) {
137 if (other == this) return;
138 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() != nullptr &&
140 GetOwningArena() == other->GetOwningArena()) {
141 #else // PROTOBUF_FORCE_COPY_IN_SWAP
142 if (GetOwningArena() == other->GetOwningArena()) {
143 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
144 InternalSwap(other);
145 } else {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
147 }
148 }
149 void UnsafeArenaSwap(CallStackProfile_ModuleIdentifier* other) {
150 if (other == this) return;
151 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152 InternalSwap(other);
153 }
154
155 // implements Message ----------------------------------------------
156
157 CallStackProfile_ModuleIdentifier* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
158 return CreateMaybeMessage<CallStackProfile_ModuleIdentifier>(arena);
159 }
160 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
161 void CopyFrom(const CallStackProfile_ModuleIdentifier& from);
162 void MergeFrom(const CallStackProfile_ModuleIdentifier& from);
163 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
164 bool IsInitialized() const final;
165
166 size_t ByteSizeLong() const final;
167 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
168 uint8_t* _InternalSerialize(
169 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
170 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
171
172 private:
173 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
174 void SharedDtor();
175 void SetCachedSize(int size) const;
176 void InternalSwap(CallStackProfile_ModuleIdentifier* other);
177
178 private:
179 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
180 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
181 return "metrics.CallStackProfile.ModuleIdentifier";
182 }
183 protected:
184 explicit CallStackProfile_ModuleIdentifier(::PROTOBUF_NAMESPACE_ID::Arena* arena,
185 bool is_message_owned = false);
186 public:
187
188 std::string GetTypeName() const final;
189
190 // nested types ----------------------------------------------------
191
192 // accessors -------------------------------------------------------
193
194 enum : int {
195 kBuildIdFieldNumber = 1,
196 kNameMd5PrefixFieldNumber = 2,
197 };
198 // optional string build_id = 1;
199 bool has_build_id() const;
200 private:
201 bool _internal_has_build_id() const;
202 public:
203 void clear_build_id();
204 const std::string& build_id() const;
205 template <typename ArgT0 = const std::string&, typename... ArgT>
206 void set_build_id(ArgT0&& arg0, ArgT... args);
207 std::string* mutable_build_id();
208 PROTOBUF_NODISCARD std::string* release_build_id();
209 void set_allocated_build_id(std::string* build_id);
210 private:
211 const std::string& _internal_build_id() const;
212 inline PROTOBUF_ALWAYS_INLINE void _internal_set_build_id(const std::string& value);
213 std::string* _internal_mutable_build_id();
214 public:
215
216 // optional fixed64 name_md5_prefix = 2;
217 bool has_name_md5_prefix() const;
218 private:
219 bool _internal_has_name_md5_prefix() const;
220 public:
221 void clear_name_md5_prefix();
222 uint64_t name_md5_prefix() const;
223 void set_name_md5_prefix(uint64_t value);
224 private:
225 uint64_t _internal_name_md5_prefix() const;
226 void _internal_set_name_md5_prefix(uint64_t value);
227 public:
228
229 // @@protoc_insertion_point(class_scope:metrics.CallStackProfile.ModuleIdentifier)
230 private:
231 class _Internal;
232
233 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
234 typedef void InternalArenaConstructable_;
235 typedef void DestructorSkippable_;
236 struct Impl_ {
237 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
238 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
239 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr build_id_;
240 uint64_t name_md5_prefix_;
241 };
242 union { Impl_ _impl_; };
243 friend struct ::TableStruct_call_5fstack_5fprofile_2eproto;
244 };
245 // -------------------------------------------------------------------
246
247 class CallStackProfile_Location final :
248 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.CallStackProfile.Location) */ {
249 public:
CallStackProfile_Location()250 inline CallStackProfile_Location() : CallStackProfile_Location(nullptr) {}
251 ~CallStackProfile_Location() override;
252 explicit PROTOBUF_CONSTEXPR CallStackProfile_Location(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
253
254 CallStackProfile_Location(const CallStackProfile_Location& from);
CallStackProfile_Location(CallStackProfile_Location && from)255 CallStackProfile_Location(CallStackProfile_Location&& from) noexcept
256 : CallStackProfile_Location() {
257 *this = ::std::move(from);
258 }
259
260 inline CallStackProfile_Location& operator=(const CallStackProfile_Location& from) {
261 CopyFrom(from);
262 return *this;
263 }
264 inline CallStackProfile_Location& operator=(CallStackProfile_Location&& from) noexcept {
265 if (this == &from) return *this;
266 if (GetOwningArena() == from.GetOwningArena()
267 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
268 && GetOwningArena() != nullptr
269 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
270 ) {
271 InternalSwap(&from);
272 } else {
273 CopyFrom(from);
274 }
275 return *this;
276 }
277
unknown_fields()278 inline const std::string& unknown_fields() const {
279 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
280 }
mutable_unknown_fields()281 inline std::string* mutable_unknown_fields() {
282 return _internal_metadata_.mutable_unknown_fields<std::string>();
283 }
284
default_instance()285 static const CallStackProfile_Location& default_instance() {
286 return *internal_default_instance();
287 }
internal_default_instance()288 static inline const CallStackProfile_Location* internal_default_instance() {
289 return reinterpret_cast<const CallStackProfile_Location*>(
290 &_CallStackProfile_Location_default_instance_);
291 }
292 static constexpr int kIndexInFileMessages =
293 1;
294
swap(CallStackProfile_Location & a,CallStackProfile_Location & b)295 friend void swap(CallStackProfile_Location& a, CallStackProfile_Location& b) {
296 a.Swap(&b);
297 }
Swap(CallStackProfile_Location * other)298 PROTOBUF_NOINLINE void Swap(CallStackProfile_Location* other) {
299 if (other == this) return;
300 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
301 if (GetOwningArena() != nullptr &&
302 GetOwningArena() == other->GetOwningArena()) {
303 #else // PROTOBUF_FORCE_COPY_IN_SWAP
304 if (GetOwningArena() == other->GetOwningArena()) {
305 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
306 InternalSwap(other);
307 } else {
308 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
309 }
310 }
311 void UnsafeArenaSwap(CallStackProfile_Location* other) {
312 if (other == this) return;
313 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
314 InternalSwap(other);
315 }
316
317 // implements Message ----------------------------------------------
318
319 CallStackProfile_Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
320 return CreateMaybeMessage<CallStackProfile_Location>(arena);
321 }
322 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
323 void CopyFrom(const CallStackProfile_Location& from);
324 void MergeFrom(const CallStackProfile_Location& from);
325 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
326 bool IsInitialized() const final;
327
328 size_t ByteSizeLong() const final;
329 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
330 uint8_t* _InternalSerialize(
331 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
332 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
333
334 private:
335 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
336 void SharedDtor();
337 void SetCachedSize(int size) const;
338 void InternalSwap(CallStackProfile_Location* other);
339
340 private:
341 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
342 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
343 return "metrics.CallStackProfile.Location";
344 }
345 protected:
346 explicit CallStackProfile_Location(::PROTOBUF_NAMESPACE_ID::Arena* arena,
347 bool is_message_owned = false);
348 public:
349
350 std::string GetTypeName() const final;
351
352 // nested types ----------------------------------------------------
353
354 // accessors -------------------------------------------------------
355
356 enum : int {
357 kAddressFieldNumber = 1,
358 kModuleIdIndexFieldNumber = 2,
359 };
360 // optional uint64 address = 1;
361 bool has_address() const;
362 private:
363 bool _internal_has_address() const;
364 public:
365 void clear_address();
366 uint64_t address() const;
367 void set_address(uint64_t value);
368 private:
369 uint64_t _internal_address() const;
370 void _internal_set_address(uint64_t value);
371 public:
372
373 // optional int32 module_id_index = 2;
374 bool has_module_id_index() const;
375 private:
376 bool _internal_has_module_id_index() const;
377 public:
378 void clear_module_id_index();
379 int32_t module_id_index() const;
380 void set_module_id_index(int32_t value);
381 private:
382 int32_t _internal_module_id_index() const;
383 void _internal_set_module_id_index(int32_t value);
384 public:
385
386 // @@protoc_insertion_point(class_scope:metrics.CallStackProfile.Location)
387 private:
388 class _Internal;
389
390 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
391 typedef void InternalArenaConstructable_;
392 typedef void DestructorSkippable_;
393 struct Impl_ {
394 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
395 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
396 uint64_t address_;
397 int32_t module_id_index_;
398 };
399 union { Impl_ _impl_; };
400 friend struct ::TableStruct_call_5fstack_5fprofile_2eproto;
401 };
402 // -------------------------------------------------------------------
403
404 class CallStackProfile_Stack final :
405 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.CallStackProfile.Stack) */ {
406 public:
CallStackProfile_Stack()407 inline CallStackProfile_Stack() : CallStackProfile_Stack(nullptr) {}
408 ~CallStackProfile_Stack() override;
409 explicit PROTOBUF_CONSTEXPR CallStackProfile_Stack(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
410
411 CallStackProfile_Stack(const CallStackProfile_Stack& from);
CallStackProfile_Stack(CallStackProfile_Stack && from)412 CallStackProfile_Stack(CallStackProfile_Stack&& from) noexcept
413 : CallStackProfile_Stack() {
414 *this = ::std::move(from);
415 }
416
417 inline CallStackProfile_Stack& operator=(const CallStackProfile_Stack& from) {
418 CopyFrom(from);
419 return *this;
420 }
421 inline CallStackProfile_Stack& operator=(CallStackProfile_Stack&& from) noexcept {
422 if (this == &from) return *this;
423 if (GetOwningArena() == from.GetOwningArena()
424 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
425 && GetOwningArena() != nullptr
426 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
427 ) {
428 InternalSwap(&from);
429 } else {
430 CopyFrom(from);
431 }
432 return *this;
433 }
434
unknown_fields()435 inline const std::string& unknown_fields() const {
436 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
437 }
mutable_unknown_fields()438 inline std::string* mutable_unknown_fields() {
439 return _internal_metadata_.mutable_unknown_fields<std::string>();
440 }
441
default_instance()442 static const CallStackProfile_Stack& default_instance() {
443 return *internal_default_instance();
444 }
internal_default_instance()445 static inline const CallStackProfile_Stack* internal_default_instance() {
446 return reinterpret_cast<const CallStackProfile_Stack*>(
447 &_CallStackProfile_Stack_default_instance_);
448 }
449 static constexpr int kIndexInFileMessages =
450 2;
451
swap(CallStackProfile_Stack & a,CallStackProfile_Stack & b)452 friend void swap(CallStackProfile_Stack& a, CallStackProfile_Stack& b) {
453 a.Swap(&b);
454 }
Swap(CallStackProfile_Stack * other)455 PROTOBUF_NOINLINE void Swap(CallStackProfile_Stack* other) {
456 if (other == this) return;
457 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
458 if (GetOwningArena() != nullptr &&
459 GetOwningArena() == other->GetOwningArena()) {
460 #else // PROTOBUF_FORCE_COPY_IN_SWAP
461 if (GetOwningArena() == other->GetOwningArena()) {
462 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
463 InternalSwap(other);
464 } else {
465 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
466 }
467 }
468 void UnsafeArenaSwap(CallStackProfile_Stack* other) {
469 if (other == this) return;
470 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
471 InternalSwap(other);
472 }
473
474 // implements Message ----------------------------------------------
475
476 CallStackProfile_Stack* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
477 return CreateMaybeMessage<CallStackProfile_Stack>(arena);
478 }
479 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
480 void CopyFrom(const CallStackProfile_Stack& from);
481 void MergeFrom(const CallStackProfile_Stack& from);
482 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
483 bool IsInitialized() const final;
484
485 size_t ByteSizeLong() const final;
486 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
487 uint8_t* _InternalSerialize(
488 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
489 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
490
491 private:
492 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
493 void SharedDtor();
494 void SetCachedSize(int size) const;
495 void InternalSwap(CallStackProfile_Stack* other);
496
497 private:
498 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
499 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
500 return "metrics.CallStackProfile.Stack";
501 }
502 protected:
503 explicit CallStackProfile_Stack(::PROTOBUF_NAMESPACE_ID::Arena* arena,
504 bool is_message_owned = false);
505 public:
506
507 std::string GetTypeName() const final;
508
509 // nested types ----------------------------------------------------
510
511 // accessors -------------------------------------------------------
512
513 enum : int {
514 kFrameFieldNumber = 1,
515 };
516 // repeated .metrics.CallStackProfile.Location frame = 1;
517 int frame_size() const;
518 private:
519 int _internal_frame_size() const;
520 public:
521 void clear_frame();
522 ::metrics::CallStackProfile_Location* mutable_frame(int index);
523 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Location >*
524 mutable_frame();
525 private:
526 const ::metrics::CallStackProfile_Location& _internal_frame(int index) const;
527 ::metrics::CallStackProfile_Location* _internal_add_frame();
528 public:
529 const ::metrics::CallStackProfile_Location& frame(int index) const;
530 ::metrics::CallStackProfile_Location* add_frame();
531 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Location >&
532 frame() const;
533
534 // @@protoc_insertion_point(class_scope:metrics.CallStackProfile.Stack)
535 private:
536 class _Internal;
537
538 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
539 typedef void InternalArenaConstructable_;
540 typedef void DestructorSkippable_;
541 struct Impl_ {
542 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Location > frame_;
543 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
544 };
545 union { Impl_ _impl_; };
546 friend struct ::TableStruct_call_5fstack_5fprofile_2eproto;
547 };
548 // -------------------------------------------------------------------
549
550 class CallStackProfile_MetadataItem final :
551 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.CallStackProfile.MetadataItem) */ {
552 public:
CallStackProfile_MetadataItem()553 inline CallStackProfile_MetadataItem() : CallStackProfile_MetadataItem(nullptr) {}
554 ~CallStackProfile_MetadataItem() override;
555 explicit PROTOBUF_CONSTEXPR CallStackProfile_MetadataItem(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
556
557 CallStackProfile_MetadataItem(const CallStackProfile_MetadataItem& from);
CallStackProfile_MetadataItem(CallStackProfile_MetadataItem && from)558 CallStackProfile_MetadataItem(CallStackProfile_MetadataItem&& from) noexcept
559 : CallStackProfile_MetadataItem() {
560 *this = ::std::move(from);
561 }
562
563 inline CallStackProfile_MetadataItem& operator=(const CallStackProfile_MetadataItem& from) {
564 CopyFrom(from);
565 return *this;
566 }
567 inline CallStackProfile_MetadataItem& operator=(CallStackProfile_MetadataItem&& from) noexcept {
568 if (this == &from) return *this;
569 if (GetOwningArena() == from.GetOwningArena()
570 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
571 && GetOwningArena() != nullptr
572 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
573 ) {
574 InternalSwap(&from);
575 } else {
576 CopyFrom(from);
577 }
578 return *this;
579 }
580
unknown_fields()581 inline const std::string& unknown_fields() const {
582 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
583 }
mutable_unknown_fields()584 inline std::string* mutable_unknown_fields() {
585 return _internal_metadata_.mutable_unknown_fields<std::string>();
586 }
587
default_instance()588 static const CallStackProfile_MetadataItem& default_instance() {
589 return *internal_default_instance();
590 }
internal_default_instance()591 static inline const CallStackProfile_MetadataItem* internal_default_instance() {
592 return reinterpret_cast<const CallStackProfile_MetadataItem*>(
593 &_CallStackProfile_MetadataItem_default_instance_);
594 }
595 static constexpr int kIndexInFileMessages =
596 3;
597
swap(CallStackProfile_MetadataItem & a,CallStackProfile_MetadataItem & b)598 friend void swap(CallStackProfile_MetadataItem& a, CallStackProfile_MetadataItem& b) {
599 a.Swap(&b);
600 }
Swap(CallStackProfile_MetadataItem * other)601 PROTOBUF_NOINLINE void Swap(CallStackProfile_MetadataItem* other) {
602 if (other == this) return;
603 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
604 if (GetOwningArena() != nullptr &&
605 GetOwningArena() == other->GetOwningArena()) {
606 #else // PROTOBUF_FORCE_COPY_IN_SWAP
607 if (GetOwningArena() == other->GetOwningArena()) {
608 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
609 InternalSwap(other);
610 } else {
611 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
612 }
613 }
614 void UnsafeArenaSwap(CallStackProfile_MetadataItem* other) {
615 if (other == this) return;
616 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
617 InternalSwap(other);
618 }
619
620 // implements Message ----------------------------------------------
621
622 CallStackProfile_MetadataItem* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
623 return CreateMaybeMessage<CallStackProfile_MetadataItem>(arena);
624 }
625 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
626 void CopyFrom(const CallStackProfile_MetadataItem& from);
627 void MergeFrom(const CallStackProfile_MetadataItem& from);
628 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
629 bool IsInitialized() const final;
630
631 size_t ByteSizeLong() const final;
632 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
633 uint8_t* _InternalSerialize(
634 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
635 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
636
637 private:
638 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
639 void SharedDtor();
640 void SetCachedSize(int size) const;
641 void InternalSwap(CallStackProfile_MetadataItem* other);
642
643 private:
644 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
645 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
646 return "metrics.CallStackProfile.MetadataItem";
647 }
648 protected:
649 explicit CallStackProfile_MetadataItem(::PROTOBUF_NAMESPACE_ID::Arena* arena,
650 bool is_message_owned = false);
651 public:
652
653 std::string GetTypeName() const final;
654
655 // nested types ----------------------------------------------------
656
657 // accessors -------------------------------------------------------
658
659 enum : int {
660 kValueFieldNumber = 2,
661 kKeyFieldNumber = 3,
662 kNameHashIndexFieldNumber = 1,
663 };
664 // optional sint64 value = 2;
665 bool has_value() const;
666 private:
667 bool _internal_has_value() const;
668 public:
669 void clear_value();
670 int64_t value() const;
671 void set_value(int64_t value);
672 private:
673 int64_t _internal_value() const;
674 void _internal_set_value(int64_t value);
675 public:
676
677 // optional sint64 key = 3;
678 bool has_key() const;
679 private:
680 bool _internal_has_key() const;
681 public:
682 void clear_key();
683 int64_t key() const;
684 void set_key(int64_t value);
685 private:
686 int64_t _internal_key() const;
687 void _internal_set_key(int64_t value);
688 public:
689
690 // optional int32 name_hash_index = 1;
691 bool has_name_hash_index() const;
692 private:
693 bool _internal_has_name_hash_index() const;
694 public:
695 void clear_name_hash_index();
696 int32_t name_hash_index() const;
697 void set_name_hash_index(int32_t value);
698 private:
699 int32_t _internal_name_hash_index() const;
700 void _internal_set_name_hash_index(int32_t value);
701 public:
702
703 // @@protoc_insertion_point(class_scope:metrics.CallStackProfile.MetadataItem)
704 private:
705 class _Internal;
706
707 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
708 typedef void InternalArenaConstructable_;
709 typedef void DestructorSkippable_;
710 struct Impl_ {
711 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
712 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
713 int64_t value_;
714 int64_t key_;
715 int32_t name_hash_index_;
716 };
717 union { Impl_ _impl_; };
718 friend struct ::TableStruct_call_5fstack_5fprofile_2eproto;
719 };
720 // -------------------------------------------------------------------
721
722 class CallStackProfile_AsyncBacktrace final :
723 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.CallStackProfile.AsyncBacktrace) */ {
724 public:
CallStackProfile_AsyncBacktrace()725 inline CallStackProfile_AsyncBacktrace() : CallStackProfile_AsyncBacktrace(nullptr) {}
726 ~CallStackProfile_AsyncBacktrace() override;
727 explicit PROTOBUF_CONSTEXPR CallStackProfile_AsyncBacktrace(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
728
729 CallStackProfile_AsyncBacktrace(const CallStackProfile_AsyncBacktrace& from);
CallStackProfile_AsyncBacktrace(CallStackProfile_AsyncBacktrace && from)730 CallStackProfile_AsyncBacktrace(CallStackProfile_AsyncBacktrace&& from) noexcept
731 : CallStackProfile_AsyncBacktrace() {
732 *this = ::std::move(from);
733 }
734
735 inline CallStackProfile_AsyncBacktrace& operator=(const CallStackProfile_AsyncBacktrace& from) {
736 CopyFrom(from);
737 return *this;
738 }
739 inline CallStackProfile_AsyncBacktrace& operator=(CallStackProfile_AsyncBacktrace&& from) noexcept {
740 if (this == &from) return *this;
741 if (GetOwningArena() == from.GetOwningArena()
742 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
743 && GetOwningArena() != nullptr
744 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
745 ) {
746 InternalSwap(&from);
747 } else {
748 CopyFrom(from);
749 }
750 return *this;
751 }
752
unknown_fields()753 inline const std::string& unknown_fields() const {
754 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
755 }
mutable_unknown_fields()756 inline std::string* mutable_unknown_fields() {
757 return _internal_metadata_.mutable_unknown_fields<std::string>();
758 }
759
default_instance()760 static const CallStackProfile_AsyncBacktrace& default_instance() {
761 return *internal_default_instance();
762 }
internal_default_instance()763 static inline const CallStackProfile_AsyncBacktrace* internal_default_instance() {
764 return reinterpret_cast<const CallStackProfile_AsyncBacktrace*>(
765 &_CallStackProfile_AsyncBacktrace_default_instance_);
766 }
767 static constexpr int kIndexInFileMessages =
768 4;
769
swap(CallStackProfile_AsyncBacktrace & a,CallStackProfile_AsyncBacktrace & b)770 friend void swap(CallStackProfile_AsyncBacktrace& a, CallStackProfile_AsyncBacktrace& b) {
771 a.Swap(&b);
772 }
Swap(CallStackProfile_AsyncBacktrace * other)773 PROTOBUF_NOINLINE void Swap(CallStackProfile_AsyncBacktrace* other) {
774 if (other == this) return;
775 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
776 if (GetOwningArena() != nullptr &&
777 GetOwningArena() == other->GetOwningArena()) {
778 #else // PROTOBUF_FORCE_COPY_IN_SWAP
779 if (GetOwningArena() == other->GetOwningArena()) {
780 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
781 InternalSwap(other);
782 } else {
783 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
784 }
785 }
786 void UnsafeArenaSwap(CallStackProfile_AsyncBacktrace* other) {
787 if (other == this) return;
788 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
789 InternalSwap(other);
790 }
791
792 // implements Message ----------------------------------------------
793
794 CallStackProfile_AsyncBacktrace* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
795 return CreateMaybeMessage<CallStackProfile_AsyncBacktrace>(arena);
796 }
797 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
798 void CopyFrom(const CallStackProfile_AsyncBacktrace& from);
799 void MergeFrom(const CallStackProfile_AsyncBacktrace& from);
800 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
801 bool IsInitialized() const final;
802
803 size_t ByteSizeLong() const final;
804 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
805 uint8_t* _InternalSerialize(
806 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
807 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
808
809 private:
810 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
811 void SharedDtor();
812 void SetCachedSize(int size) const;
813 void InternalSwap(CallStackProfile_AsyncBacktrace* other);
814
815 private:
816 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
817 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
818 return "metrics.CallStackProfile.AsyncBacktrace";
819 }
820 protected:
821 explicit CallStackProfile_AsyncBacktrace(::PROTOBUF_NAMESPACE_ID::Arena* arena,
822 bool is_message_owned = false);
823 public:
824
825 std::string GetTypeName() const final;
826
827 // nested types ----------------------------------------------------
828
829 // accessors -------------------------------------------------------
830
831 enum : int {
832 kLocationFieldNumber = 1,
833 };
834 // repeated .metrics.CallStackProfile.Location location = 1;
835 int location_size() const;
836 private:
837 int _internal_location_size() const;
838 public:
839 void clear_location();
840 ::metrics::CallStackProfile_Location* mutable_location(int index);
841 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Location >*
842 mutable_location();
843 private:
844 const ::metrics::CallStackProfile_Location& _internal_location(int index) const;
845 ::metrics::CallStackProfile_Location* _internal_add_location();
846 public:
847 const ::metrics::CallStackProfile_Location& location(int index) const;
848 ::metrics::CallStackProfile_Location* add_location();
849 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Location >&
850 location() const;
851
852 // @@protoc_insertion_point(class_scope:metrics.CallStackProfile.AsyncBacktrace)
853 private:
854 class _Internal;
855
856 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
857 typedef void InternalArenaConstructable_;
858 typedef void DestructorSkippable_;
859 struct Impl_ {
860 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Location > location_;
861 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
862 };
863 union { Impl_ _impl_; };
864 friend struct ::TableStruct_call_5fstack_5fprofile_2eproto;
865 };
866 // -------------------------------------------------------------------
867
868 class CallStackProfile_Sample final :
869 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.CallStackProfile.Sample) */ {
870 public:
CallStackProfile_Sample()871 inline CallStackProfile_Sample() : CallStackProfile_Sample(nullptr) {}
872 ~CallStackProfile_Sample() override;
873 explicit PROTOBUF_CONSTEXPR CallStackProfile_Sample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
874
875 CallStackProfile_Sample(const CallStackProfile_Sample& from);
CallStackProfile_Sample(CallStackProfile_Sample && from)876 CallStackProfile_Sample(CallStackProfile_Sample&& from) noexcept
877 : CallStackProfile_Sample() {
878 *this = ::std::move(from);
879 }
880
881 inline CallStackProfile_Sample& operator=(const CallStackProfile_Sample& from) {
882 CopyFrom(from);
883 return *this;
884 }
885 inline CallStackProfile_Sample& operator=(CallStackProfile_Sample&& from) noexcept {
886 if (this == &from) return *this;
887 if (GetOwningArena() == from.GetOwningArena()
888 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
889 && GetOwningArena() != nullptr
890 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
891 ) {
892 InternalSwap(&from);
893 } else {
894 CopyFrom(from);
895 }
896 return *this;
897 }
898
unknown_fields()899 inline const std::string& unknown_fields() const {
900 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
901 }
mutable_unknown_fields()902 inline std::string* mutable_unknown_fields() {
903 return _internal_metadata_.mutable_unknown_fields<std::string>();
904 }
905
default_instance()906 static const CallStackProfile_Sample& default_instance() {
907 return *internal_default_instance();
908 }
internal_default_instance()909 static inline const CallStackProfile_Sample* internal_default_instance() {
910 return reinterpret_cast<const CallStackProfile_Sample*>(
911 &_CallStackProfile_Sample_default_instance_);
912 }
913 static constexpr int kIndexInFileMessages =
914 5;
915
swap(CallStackProfile_Sample & a,CallStackProfile_Sample & b)916 friend void swap(CallStackProfile_Sample& a, CallStackProfile_Sample& b) {
917 a.Swap(&b);
918 }
Swap(CallStackProfile_Sample * other)919 PROTOBUF_NOINLINE void Swap(CallStackProfile_Sample* other) {
920 if (other == this) return;
921 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
922 if (GetOwningArena() != nullptr &&
923 GetOwningArena() == other->GetOwningArena()) {
924 #else // PROTOBUF_FORCE_COPY_IN_SWAP
925 if (GetOwningArena() == other->GetOwningArena()) {
926 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
927 InternalSwap(other);
928 } else {
929 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
930 }
931 }
932 void UnsafeArenaSwap(CallStackProfile_Sample* other) {
933 if (other == this) return;
934 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
935 InternalSwap(other);
936 }
937
938 // implements Message ----------------------------------------------
939
940 CallStackProfile_Sample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
941 return CreateMaybeMessage<CallStackProfile_Sample>(arena);
942 }
943 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
944 void CopyFrom(const CallStackProfile_Sample& from);
945 void MergeFrom(const CallStackProfile_Sample& from);
946 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
947 bool IsInitialized() const final;
948
949 size_t ByteSizeLong() const final;
950 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
951 uint8_t* _InternalSerialize(
952 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
953 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
954
955 private:
956 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
957 void SharedDtor();
958 void SetCachedSize(int size) const;
959 void InternalSwap(CallStackProfile_Sample* other);
960
961 private:
962 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
963 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
964 return "metrics.CallStackProfile.Sample";
965 }
966 protected:
967 explicit CallStackProfile_Sample(::PROTOBUF_NAMESPACE_ID::Arena* arena,
968 bool is_message_owned = false);
969 public:
970
971 std::string GetTypeName() const final;
972
973 // nested types ----------------------------------------------------
974
975 // accessors -------------------------------------------------------
976
977 enum : int {
978 kFrameFieldNumber = 1,
979 kProcessPhaseFieldNumber = 3,
980 kCountFieldNumber = 2,
981 };
982 // repeated .metrics.CallStackProfile.Location frame = 1;
983 int frame_size() const;
984 private:
985 int _internal_frame_size() const;
986 public:
987 void clear_frame();
988 ::metrics::CallStackProfile_Location* mutable_frame(int index);
989 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Location >*
990 mutable_frame();
991 private:
992 const ::metrics::CallStackProfile_Location& _internal_frame(int index) const;
993 ::metrics::CallStackProfile_Location* _internal_add_frame();
994 public:
995 const ::metrics::CallStackProfile_Location& frame(int index) const;
996 ::metrics::CallStackProfile_Location* add_frame();
997 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Location >&
998 frame() const;
999
1000 // repeated .metrics.ProcessPhase process_phase = 3;
1001 int process_phase_size() const;
1002 private:
1003 int _internal_process_phase_size() const;
1004 public:
1005 void clear_process_phase();
1006 private:
1007 ::metrics::ProcessPhase _internal_process_phase(int index) const;
1008 void _internal_add_process_phase(::metrics::ProcessPhase value);
1009 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_process_phase();
1010 public:
1011 ::metrics::ProcessPhase process_phase(int index) const;
1012 void set_process_phase(int index, ::metrics::ProcessPhase value);
1013 void add_process_phase(::metrics::ProcessPhase value);
1014 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& process_phase() const;
1015 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_process_phase();
1016
1017 // optional int64 count = 2;
1018 bool has_count() const;
1019 private:
1020 bool _internal_has_count() const;
1021 public:
1022 void clear_count();
1023 int64_t count() const;
1024 void set_count(int64_t value);
1025 private:
1026 int64_t _internal_count() const;
1027 void _internal_set_count(int64_t value);
1028 public:
1029
1030 // @@protoc_insertion_point(class_scope:metrics.CallStackProfile.Sample)
1031 private:
1032 class _Internal;
1033
1034 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1035 typedef void InternalArenaConstructable_;
1036 typedef void DestructorSkippable_;
1037 struct Impl_ {
1038 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1039 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1040 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Location > frame_;
1041 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> process_phase_;
1042 int64_t count_;
1043 };
1044 union { Impl_ _impl_; };
1045 friend struct ::TableStruct_call_5fstack_5fprofile_2eproto;
1046 };
1047 // -------------------------------------------------------------------
1048
1049 class CallStackProfile_StackSample final :
1050 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.CallStackProfile.StackSample) */ {
1051 public:
CallStackProfile_StackSample()1052 inline CallStackProfile_StackSample() : CallStackProfile_StackSample(nullptr) {}
1053 ~CallStackProfile_StackSample() override;
1054 explicit PROTOBUF_CONSTEXPR CallStackProfile_StackSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1055
1056 CallStackProfile_StackSample(const CallStackProfile_StackSample& from);
CallStackProfile_StackSample(CallStackProfile_StackSample && from)1057 CallStackProfile_StackSample(CallStackProfile_StackSample&& from) noexcept
1058 : CallStackProfile_StackSample() {
1059 *this = ::std::move(from);
1060 }
1061
1062 inline CallStackProfile_StackSample& operator=(const CallStackProfile_StackSample& from) {
1063 CopyFrom(from);
1064 return *this;
1065 }
1066 inline CallStackProfile_StackSample& operator=(CallStackProfile_StackSample&& from) noexcept {
1067 if (this == &from) return *this;
1068 if (GetOwningArena() == from.GetOwningArena()
1069 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1070 && GetOwningArena() != nullptr
1071 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1072 ) {
1073 InternalSwap(&from);
1074 } else {
1075 CopyFrom(from);
1076 }
1077 return *this;
1078 }
1079
unknown_fields()1080 inline const std::string& unknown_fields() const {
1081 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
1082 }
mutable_unknown_fields()1083 inline std::string* mutable_unknown_fields() {
1084 return _internal_metadata_.mutable_unknown_fields<std::string>();
1085 }
1086
default_instance()1087 static const CallStackProfile_StackSample& default_instance() {
1088 return *internal_default_instance();
1089 }
internal_default_instance()1090 static inline const CallStackProfile_StackSample* internal_default_instance() {
1091 return reinterpret_cast<const CallStackProfile_StackSample*>(
1092 &_CallStackProfile_StackSample_default_instance_);
1093 }
1094 static constexpr int kIndexInFileMessages =
1095 6;
1096
swap(CallStackProfile_StackSample & a,CallStackProfile_StackSample & b)1097 friend void swap(CallStackProfile_StackSample& a, CallStackProfile_StackSample& b) {
1098 a.Swap(&b);
1099 }
Swap(CallStackProfile_StackSample * other)1100 PROTOBUF_NOINLINE void Swap(CallStackProfile_StackSample* other) {
1101 if (other == this) return;
1102 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1103 if (GetOwningArena() != nullptr &&
1104 GetOwningArena() == other->GetOwningArena()) {
1105 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1106 if (GetOwningArena() == other->GetOwningArena()) {
1107 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1108 InternalSwap(other);
1109 } else {
1110 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1111 }
1112 }
1113 void UnsafeArenaSwap(CallStackProfile_StackSample* other) {
1114 if (other == this) return;
1115 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1116 InternalSwap(other);
1117 }
1118
1119 // implements Message ----------------------------------------------
1120
1121 CallStackProfile_StackSample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1122 return CreateMaybeMessage<CallStackProfile_StackSample>(arena);
1123 }
1124 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1125 void CopyFrom(const CallStackProfile_StackSample& from);
1126 void MergeFrom(const CallStackProfile_StackSample& from);
1127 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1128 bool IsInitialized() const final;
1129
1130 size_t ByteSizeLong() const final;
1131 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1132 uint8_t* _InternalSerialize(
1133 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1134 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1135
1136 private:
1137 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1138 void SharedDtor();
1139 void SetCachedSize(int size) const;
1140 void InternalSwap(CallStackProfile_StackSample* other);
1141
1142 private:
1143 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1144 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1145 return "metrics.CallStackProfile.StackSample";
1146 }
1147 protected:
1148 explicit CallStackProfile_StackSample(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1149 bool is_message_owned = false);
1150 public:
1151
1152 std::string GetTypeName() const final;
1153
1154 // nested types ----------------------------------------------------
1155
1156 // accessors -------------------------------------------------------
1157
1158 enum : int {
1159 kMetadataFieldNumber = 5,
1160 kStackIndexFieldNumber = 1,
1161 kSampleTimeOffsetMsFieldNumber = 2,
1162 kContinuedWorkFieldNumber = 3,
1163 kAsyncBacktraceIndexFieldNumber = 4,
1164 kWeightFieldNumber = 6,
1165 kCountFieldNumber = 7,
1166 };
1167 // repeated .metrics.CallStackProfile.MetadataItem metadata = 5;
1168 int metadata_size() const;
1169 private:
1170 int _internal_metadata_size() const;
1171 public:
1172 void clear_metadata();
1173 ::metrics::CallStackProfile_MetadataItem* mutable_metadata(int index);
1174 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_MetadataItem >*
1175 mutable_metadata();
1176 private:
1177 const ::metrics::CallStackProfile_MetadataItem& _internal_metadata(int index) const;
1178 ::metrics::CallStackProfile_MetadataItem* _internal_add_metadata();
1179 public:
1180 const ::metrics::CallStackProfile_MetadataItem& metadata(int index) const;
1181 ::metrics::CallStackProfile_MetadataItem* add_metadata();
1182 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_MetadataItem >&
1183 metadata() const;
1184
1185 // optional int32 stack_index = 1;
1186 bool has_stack_index() const;
1187 private:
1188 bool _internal_has_stack_index() const;
1189 public:
1190 void clear_stack_index();
1191 int32_t stack_index() const;
1192 void set_stack_index(int32_t value);
1193 private:
1194 int32_t _internal_stack_index() const;
1195 void _internal_set_stack_index(int32_t value);
1196 public:
1197
1198 // optional int32 sample_time_offset_ms = 2;
1199 bool has_sample_time_offset_ms() const;
1200 private:
1201 bool _internal_has_sample_time_offset_ms() const;
1202 public:
1203 void clear_sample_time_offset_ms();
1204 int32_t sample_time_offset_ms() const;
1205 void set_sample_time_offset_ms(int32_t value);
1206 private:
1207 int32_t _internal_sample_time_offset_ms() const;
1208 void _internal_set_sample_time_offset_ms(int32_t value);
1209 public:
1210
1211 // optional bool continued_work = 3;
1212 bool has_continued_work() const;
1213 private:
1214 bool _internal_has_continued_work() const;
1215 public:
1216 void clear_continued_work();
1217 bool continued_work() const;
1218 void set_continued_work(bool value);
1219 private:
1220 bool _internal_continued_work() const;
1221 void _internal_set_continued_work(bool value);
1222 public:
1223
1224 // optional int32 async_backtrace_index = 4;
1225 bool has_async_backtrace_index() const;
1226 private:
1227 bool _internal_has_async_backtrace_index() const;
1228 public:
1229 void clear_async_backtrace_index();
1230 int32_t async_backtrace_index() const;
1231 void set_async_backtrace_index(int32_t value);
1232 private:
1233 int32_t _internal_async_backtrace_index() const;
1234 void _internal_set_async_backtrace_index(int32_t value);
1235 public:
1236
1237 // optional int64 weight = 6;
1238 bool has_weight() const;
1239 private:
1240 bool _internal_has_weight() const;
1241 public:
1242 void clear_weight();
1243 int64_t weight() const;
1244 void set_weight(int64_t value);
1245 private:
1246 int64_t _internal_weight() const;
1247 void _internal_set_weight(int64_t value);
1248 public:
1249
1250 // optional int64 count = 7 [default = 1];
1251 bool has_count() const;
1252 private:
1253 bool _internal_has_count() const;
1254 public:
1255 void clear_count();
1256 int64_t count() const;
1257 void set_count(int64_t value);
1258 private:
1259 int64_t _internal_count() const;
1260 void _internal_set_count(int64_t value);
1261 public:
1262
1263 // @@protoc_insertion_point(class_scope:metrics.CallStackProfile.StackSample)
1264 private:
1265 class _Internal;
1266
1267 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1268 typedef void InternalArenaConstructable_;
1269 typedef void DestructorSkippable_;
1270 struct Impl_ {
1271 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1272 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1273 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_MetadataItem > metadata_;
1274 int32_t stack_index_;
1275 int32_t sample_time_offset_ms_;
1276 bool continued_work_;
1277 int32_t async_backtrace_index_;
1278 int64_t weight_;
1279 int64_t count_;
1280 };
1281 union { Impl_ _impl_; };
1282 friend struct ::TableStruct_call_5fstack_5fprofile_2eproto;
1283 };
1284 // -------------------------------------------------------------------
1285
1286 class CallStackProfile final :
1287 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.CallStackProfile) */ {
1288 public:
CallStackProfile()1289 inline CallStackProfile() : CallStackProfile(nullptr) {}
1290 ~CallStackProfile() override;
1291 explicit PROTOBUF_CONSTEXPR CallStackProfile(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1292
1293 CallStackProfile(const CallStackProfile& from);
CallStackProfile(CallStackProfile && from)1294 CallStackProfile(CallStackProfile&& from) noexcept
1295 : CallStackProfile() {
1296 *this = ::std::move(from);
1297 }
1298
1299 inline CallStackProfile& operator=(const CallStackProfile& from) {
1300 CopyFrom(from);
1301 return *this;
1302 }
1303 inline CallStackProfile& operator=(CallStackProfile&& from) noexcept {
1304 if (this == &from) return *this;
1305 if (GetOwningArena() == from.GetOwningArena()
1306 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1307 && GetOwningArena() != nullptr
1308 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1309 ) {
1310 InternalSwap(&from);
1311 } else {
1312 CopyFrom(from);
1313 }
1314 return *this;
1315 }
1316
unknown_fields()1317 inline const std::string& unknown_fields() const {
1318 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
1319 }
mutable_unknown_fields()1320 inline std::string* mutable_unknown_fields() {
1321 return _internal_metadata_.mutable_unknown_fields<std::string>();
1322 }
1323
default_instance()1324 static const CallStackProfile& default_instance() {
1325 return *internal_default_instance();
1326 }
internal_default_instance()1327 static inline const CallStackProfile* internal_default_instance() {
1328 return reinterpret_cast<const CallStackProfile*>(
1329 &_CallStackProfile_default_instance_);
1330 }
1331 static constexpr int kIndexInFileMessages =
1332 7;
1333
swap(CallStackProfile & a,CallStackProfile & b)1334 friend void swap(CallStackProfile& a, CallStackProfile& b) {
1335 a.Swap(&b);
1336 }
Swap(CallStackProfile * other)1337 PROTOBUF_NOINLINE void Swap(CallStackProfile* other) {
1338 if (other == this) return;
1339 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1340 if (GetOwningArena() != nullptr &&
1341 GetOwningArena() == other->GetOwningArena()) {
1342 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1343 if (GetOwningArena() == other->GetOwningArena()) {
1344 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1345 InternalSwap(other);
1346 } else {
1347 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1348 }
1349 }
1350 void UnsafeArenaSwap(CallStackProfile* other) {
1351 if (other == this) return;
1352 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1353 InternalSwap(other);
1354 }
1355
1356 // implements Message ----------------------------------------------
1357
1358 CallStackProfile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1359 return CreateMaybeMessage<CallStackProfile>(arena);
1360 }
1361 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1362 void CopyFrom(const CallStackProfile& from);
1363 void MergeFrom(const CallStackProfile& from);
1364 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1365 bool IsInitialized() const final;
1366
1367 size_t ByteSizeLong() const final;
1368 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1369 uint8_t* _InternalSerialize(
1370 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1371 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1372
1373 private:
1374 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1375 void SharedDtor();
1376 void SetCachedSize(int size) const;
1377 void InternalSwap(CallStackProfile* other);
1378
1379 private:
1380 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1381 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1382 return "metrics.CallStackProfile";
1383 }
1384 protected:
1385 explicit CallStackProfile(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1386 bool is_message_owned = false);
1387 public:
1388
1389 std::string GetTypeName() const final;
1390
1391 // nested types ----------------------------------------------------
1392
1393 typedef CallStackProfile_ModuleIdentifier ModuleIdentifier;
1394 typedef CallStackProfile_Location Location;
1395 typedef CallStackProfile_Stack Stack;
1396 typedef CallStackProfile_MetadataItem MetadataItem;
1397 typedef CallStackProfile_AsyncBacktrace AsyncBacktrace;
1398 typedef CallStackProfile_Sample Sample;
1399 typedef CallStackProfile_StackSample StackSample;
1400
1401 // accessors -------------------------------------------------------
1402
1403 enum : int {
1404 kDEPRECATEDSampleFieldNumber = 1,
1405 kModuleIdFieldNumber = 2,
1406 kMetadataNameHashFieldNumber = 5,
1407 kProfileMetadataFieldNumber = 6,
1408 kAsyncBacktraceFieldNumber = 7,
1409 kStackFieldNumber = 8,
1410 kStackSampleFieldNumber = 9,
1411 kProfileDurationMsFieldNumber = 3,
1412 kSamplingPeriodMsFieldNumber = 4,
1413 kProfileTimeOffsetMsFieldNumber = 10,
1414 };
1415 // repeated .metrics.CallStackProfile.Sample DEPRECATED_sample = 1 [deprecated = true];
1416 PROTOBUF_DEPRECATED int deprecated_sample_size() const;
1417 private:
1418 int _internal_deprecated_sample_size() const;
1419 public:
1420 PROTOBUF_DEPRECATED void clear_deprecated_sample();
1421 PROTOBUF_DEPRECATED ::metrics::CallStackProfile_Sample* mutable_deprecated_sample(int index);
1422 PROTOBUF_DEPRECATED ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Sample >*
1423 mutable_deprecated_sample();
1424 private:
1425 const ::metrics::CallStackProfile_Sample& _internal_deprecated_sample(int index) const;
1426 ::metrics::CallStackProfile_Sample* _internal_add_deprecated_sample();
1427 public:
1428 PROTOBUF_DEPRECATED const ::metrics::CallStackProfile_Sample& deprecated_sample(int index) const;
1429 PROTOBUF_DEPRECATED ::metrics::CallStackProfile_Sample* add_deprecated_sample();
1430 PROTOBUF_DEPRECATED const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Sample >&
1431 deprecated_sample() const;
1432
1433 // repeated .metrics.CallStackProfile.ModuleIdentifier module_id = 2;
1434 int module_id_size() const;
1435 private:
1436 int _internal_module_id_size() const;
1437 public:
1438 void clear_module_id();
1439 ::metrics::CallStackProfile_ModuleIdentifier* mutable_module_id(int index);
1440 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_ModuleIdentifier >*
1441 mutable_module_id();
1442 private:
1443 const ::metrics::CallStackProfile_ModuleIdentifier& _internal_module_id(int index) const;
1444 ::metrics::CallStackProfile_ModuleIdentifier* _internal_add_module_id();
1445 public:
1446 const ::metrics::CallStackProfile_ModuleIdentifier& module_id(int index) const;
1447 ::metrics::CallStackProfile_ModuleIdentifier* add_module_id();
1448 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_ModuleIdentifier >&
1449 module_id() const;
1450
1451 // repeated fixed64 metadata_name_hash = 5;
1452 int metadata_name_hash_size() const;
1453 private:
1454 int _internal_metadata_name_hash_size() const;
1455 public:
1456 void clear_metadata_name_hash();
1457 private:
1458 uint64_t _internal_metadata_name_hash(int index) const;
1459 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
1460 _internal_metadata_name_hash() const;
1461 void _internal_add_metadata_name_hash(uint64_t value);
1462 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
1463 _internal_mutable_metadata_name_hash();
1464 public:
1465 uint64_t metadata_name_hash(int index) const;
1466 void set_metadata_name_hash(int index, uint64_t value);
1467 void add_metadata_name_hash(uint64_t value);
1468 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
1469 metadata_name_hash() const;
1470 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
1471 mutable_metadata_name_hash();
1472
1473 // repeated .metrics.CallStackProfile.MetadataItem profile_metadata = 6;
1474 int profile_metadata_size() const;
1475 private:
1476 int _internal_profile_metadata_size() const;
1477 public:
1478 void clear_profile_metadata();
1479 ::metrics::CallStackProfile_MetadataItem* mutable_profile_metadata(int index);
1480 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_MetadataItem >*
1481 mutable_profile_metadata();
1482 private:
1483 const ::metrics::CallStackProfile_MetadataItem& _internal_profile_metadata(int index) const;
1484 ::metrics::CallStackProfile_MetadataItem* _internal_add_profile_metadata();
1485 public:
1486 const ::metrics::CallStackProfile_MetadataItem& profile_metadata(int index) const;
1487 ::metrics::CallStackProfile_MetadataItem* add_profile_metadata();
1488 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_MetadataItem >&
1489 profile_metadata() const;
1490
1491 // repeated .metrics.CallStackProfile.AsyncBacktrace async_backtrace = 7;
1492 int async_backtrace_size() const;
1493 private:
1494 int _internal_async_backtrace_size() const;
1495 public:
1496 void clear_async_backtrace();
1497 ::metrics::CallStackProfile_AsyncBacktrace* mutable_async_backtrace(int index);
1498 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_AsyncBacktrace >*
1499 mutable_async_backtrace();
1500 private:
1501 const ::metrics::CallStackProfile_AsyncBacktrace& _internal_async_backtrace(int index) const;
1502 ::metrics::CallStackProfile_AsyncBacktrace* _internal_add_async_backtrace();
1503 public:
1504 const ::metrics::CallStackProfile_AsyncBacktrace& async_backtrace(int index) const;
1505 ::metrics::CallStackProfile_AsyncBacktrace* add_async_backtrace();
1506 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_AsyncBacktrace >&
1507 async_backtrace() const;
1508
1509 // repeated .metrics.CallStackProfile.Stack stack = 8;
1510 int stack_size() const;
1511 private:
1512 int _internal_stack_size() const;
1513 public:
1514 void clear_stack();
1515 ::metrics::CallStackProfile_Stack* mutable_stack(int index);
1516 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Stack >*
1517 mutable_stack();
1518 private:
1519 const ::metrics::CallStackProfile_Stack& _internal_stack(int index) const;
1520 ::metrics::CallStackProfile_Stack* _internal_add_stack();
1521 public:
1522 const ::metrics::CallStackProfile_Stack& stack(int index) const;
1523 ::metrics::CallStackProfile_Stack* add_stack();
1524 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Stack >&
1525 stack() const;
1526
1527 // repeated .metrics.CallStackProfile.StackSample stack_sample = 9;
1528 int stack_sample_size() const;
1529 private:
1530 int _internal_stack_sample_size() const;
1531 public:
1532 void clear_stack_sample();
1533 ::metrics::CallStackProfile_StackSample* mutable_stack_sample(int index);
1534 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_StackSample >*
1535 mutable_stack_sample();
1536 private:
1537 const ::metrics::CallStackProfile_StackSample& _internal_stack_sample(int index) const;
1538 ::metrics::CallStackProfile_StackSample* _internal_add_stack_sample();
1539 public:
1540 const ::metrics::CallStackProfile_StackSample& stack_sample(int index) const;
1541 ::metrics::CallStackProfile_StackSample* add_stack_sample();
1542 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_StackSample >&
1543 stack_sample() const;
1544
1545 // optional int32 profile_duration_ms = 3;
1546 bool has_profile_duration_ms() const;
1547 private:
1548 bool _internal_has_profile_duration_ms() const;
1549 public:
1550 void clear_profile_duration_ms();
1551 int32_t profile_duration_ms() const;
1552 void set_profile_duration_ms(int32_t value);
1553 private:
1554 int32_t _internal_profile_duration_ms() const;
1555 void _internal_set_profile_duration_ms(int32_t value);
1556 public:
1557
1558 // optional int32 sampling_period_ms = 4;
1559 bool has_sampling_period_ms() const;
1560 private:
1561 bool _internal_has_sampling_period_ms() const;
1562 public:
1563 void clear_sampling_period_ms();
1564 int32_t sampling_period_ms() const;
1565 void set_sampling_period_ms(int32_t value);
1566 private:
1567 int32_t _internal_sampling_period_ms() const;
1568 void _internal_set_sampling_period_ms(int32_t value);
1569 public:
1570
1571 // optional int64 profile_time_offset_ms = 10;
1572 bool has_profile_time_offset_ms() const;
1573 private:
1574 bool _internal_has_profile_time_offset_ms() const;
1575 public:
1576 void clear_profile_time_offset_ms();
1577 int64_t profile_time_offset_ms() const;
1578 void set_profile_time_offset_ms(int64_t value);
1579 private:
1580 int64_t _internal_profile_time_offset_ms() const;
1581 void _internal_set_profile_time_offset_ms(int64_t value);
1582 public:
1583
1584 // @@protoc_insertion_point(class_scope:metrics.CallStackProfile)
1585 private:
1586 class _Internal;
1587
1588 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1589 typedef void InternalArenaConstructable_;
1590 typedef void DestructorSkippable_;
1591 struct Impl_ {
1592 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1593 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1594 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Sample > deprecated_sample_;
1595 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_ModuleIdentifier > module_id_;
1596 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t > metadata_name_hash_;
1597 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_MetadataItem > profile_metadata_;
1598 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_AsyncBacktrace > async_backtrace_;
1599 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Stack > stack_;
1600 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_StackSample > stack_sample_;
1601 int32_t profile_duration_ms_;
1602 int32_t sampling_period_ms_;
1603 int64_t profile_time_offset_ms_;
1604 };
1605 union { Impl_ _impl_; };
1606 friend struct ::TableStruct_call_5fstack_5fprofile_2eproto;
1607 };
1608 // ===================================================================
1609
1610
1611 // ===================================================================
1612
1613 #ifdef __GNUC__
1614 #pragma GCC diagnostic push
1615 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1616 #endif // __GNUC__
1617 // CallStackProfile_ModuleIdentifier
1618
1619 // optional string build_id = 1;
_internal_has_build_id()1620 inline bool CallStackProfile_ModuleIdentifier::_internal_has_build_id() const {
1621 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1622 return value;
1623 }
has_build_id()1624 inline bool CallStackProfile_ModuleIdentifier::has_build_id() const {
1625 return _internal_has_build_id();
1626 }
clear_build_id()1627 inline void CallStackProfile_ModuleIdentifier::clear_build_id() {
1628 _impl_.build_id_.ClearToEmpty();
1629 _impl_._has_bits_[0] &= ~0x00000001u;
1630 }
build_id()1631 inline const std::string& CallStackProfile_ModuleIdentifier::build_id() const {
1632 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.ModuleIdentifier.build_id)
1633 return _internal_build_id();
1634 }
1635 template <typename ArgT0, typename... ArgT>
1636 inline PROTOBUF_ALWAYS_INLINE
set_build_id(ArgT0 && arg0,ArgT...args)1637 void CallStackProfile_ModuleIdentifier::set_build_id(ArgT0&& arg0, ArgT... args) {
1638 _impl_._has_bits_[0] |= 0x00000001u;
1639 _impl_.build_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1640 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.ModuleIdentifier.build_id)
1641 }
mutable_build_id()1642 inline std::string* CallStackProfile_ModuleIdentifier::mutable_build_id() {
1643 std::string* _s = _internal_mutable_build_id();
1644 // @@protoc_insertion_point(field_mutable:metrics.CallStackProfile.ModuleIdentifier.build_id)
1645 return _s;
1646 }
_internal_build_id()1647 inline const std::string& CallStackProfile_ModuleIdentifier::_internal_build_id() const {
1648 return _impl_.build_id_.Get();
1649 }
_internal_set_build_id(const std::string & value)1650 inline void CallStackProfile_ModuleIdentifier::_internal_set_build_id(const std::string& value) {
1651 _impl_._has_bits_[0] |= 0x00000001u;
1652 _impl_.build_id_.Set(value, GetArenaForAllocation());
1653 }
_internal_mutable_build_id()1654 inline std::string* CallStackProfile_ModuleIdentifier::_internal_mutable_build_id() {
1655 _impl_._has_bits_[0] |= 0x00000001u;
1656 return _impl_.build_id_.Mutable(GetArenaForAllocation());
1657 }
release_build_id()1658 inline std::string* CallStackProfile_ModuleIdentifier::release_build_id() {
1659 // @@protoc_insertion_point(field_release:metrics.CallStackProfile.ModuleIdentifier.build_id)
1660 if (!_internal_has_build_id()) {
1661 return nullptr;
1662 }
1663 _impl_._has_bits_[0] &= ~0x00000001u;
1664 auto* p = _impl_.build_id_.Release();
1665 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1666 if (_impl_.build_id_.IsDefault()) {
1667 _impl_.build_id_.Set("", GetArenaForAllocation());
1668 }
1669 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1670 return p;
1671 }
set_allocated_build_id(std::string * build_id)1672 inline void CallStackProfile_ModuleIdentifier::set_allocated_build_id(std::string* build_id) {
1673 if (build_id != nullptr) {
1674 _impl_._has_bits_[0] |= 0x00000001u;
1675 } else {
1676 _impl_._has_bits_[0] &= ~0x00000001u;
1677 }
1678 _impl_.build_id_.SetAllocated(build_id, GetArenaForAllocation());
1679 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1680 if (_impl_.build_id_.IsDefault()) {
1681 _impl_.build_id_.Set("", GetArenaForAllocation());
1682 }
1683 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1684 // @@protoc_insertion_point(field_set_allocated:metrics.CallStackProfile.ModuleIdentifier.build_id)
1685 }
1686
1687 // optional fixed64 name_md5_prefix = 2;
_internal_has_name_md5_prefix()1688 inline bool CallStackProfile_ModuleIdentifier::_internal_has_name_md5_prefix() const {
1689 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1690 return value;
1691 }
has_name_md5_prefix()1692 inline bool CallStackProfile_ModuleIdentifier::has_name_md5_prefix() const {
1693 return _internal_has_name_md5_prefix();
1694 }
clear_name_md5_prefix()1695 inline void CallStackProfile_ModuleIdentifier::clear_name_md5_prefix() {
1696 _impl_.name_md5_prefix_ = uint64_t{0u};
1697 _impl_._has_bits_[0] &= ~0x00000002u;
1698 }
_internal_name_md5_prefix()1699 inline uint64_t CallStackProfile_ModuleIdentifier::_internal_name_md5_prefix() const {
1700 return _impl_.name_md5_prefix_;
1701 }
name_md5_prefix()1702 inline uint64_t CallStackProfile_ModuleIdentifier::name_md5_prefix() const {
1703 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.ModuleIdentifier.name_md5_prefix)
1704 return _internal_name_md5_prefix();
1705 }
_internal_set_name_md5_prefix(uint64_t value)1706 inline void CallStackProfile_ModuleIdentifier::_internal_set_name_md5_prefix(uint64_t value) {
1707 _impl_._has_bits_[0] |= 0x00000002u;
1708 _impl_.name_md5_prefix_ = value;
1709 }
set_name_md5_prefix(uint64_t value)1710 inline void CallStackProfile_ModuleIdentifier::set_name_md5_prefix(uint64_t value) {
1711 _internal_set_name_md5_prefix(value);
1712 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.ModuleIdentifier.name_md5_prefix)
1713 }
1714
1715 // -------------------------------------------------------------------
1716
1717 // CallStackProfile_Location
1718
1719 // optional uint64 address = 1;
_internal_has_address()1720 inline bool CallStackProfile_Location::_internal_has_address() const {
1721 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1722 return value;
1723 }
has_address()1724 inline bool CallStackProfile_Location::has_address() const {
1725 return _internal_has_address();
1726 }
clear_address()1727 inline void CallStackProfile_Location::clear_address() {
1728 _impl_.address_ = uint64_t{0u};
1729 _impl_._has_bits_[0] &= ~0x00000001u;
1730 }
_internal_address()1731 inline uint64_t CallStackProfile_Location::_internal_address() const {
1732 return _impl_.address_;
1733 }
address()1734 inline uint64_t CallStackProfile_Location::address() const {
1735 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.Location.address)
1736 return _internal_address();
1737 }
_internal_set_address(uint64_t value)1738 inline void CallStackProfile_Location::_internal_set_address(uint64_t value) {
1739 _impl_._has_bits_[0] |= 0x00000001u;
1740 _impl_.address_ = value;
1741 }
set_address(uint64_t value)1742 inline void CallStackProfile_Location::set_address(uint64_t value) {
1743 _internal_set_address(value);
1744 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.Location.address)
1745 }
1746
1747 // optional int32 module_id_index = 2;
_internal_has_module_id_index()1748 inline bool CallStackProfile_Location::_internal_has_module_id_index() const {
1749 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1750 return value;
1751 }
has_module_id_index()1752 inline bool CallStackProfile_Location::has_module_id_index() const {
1753 return _internal_has_module_id_index();
1754 }
clear_module_id_index()1755 inline void CallStackProfile_Location::clear_module_id_index() {
1756 _impl_.module_id_index_ = 0;
1757 _impl_._has_bits_[0] &= ~0x00000002u;
1758 }
_internal_module_id_index()1759 inline int32_t CallStackProfile_Location::_internal_module_id_index() const {
1760 return _impl_.module_id_index_;
1761 }
module_id_index()1762 inline int32_t CallStackProfile_Location::module_id_index() const {
1763 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.Location.module_id_index)
1764 return _internal_module_id_index();
1765 }
_internal_set_module_id_index(int32_t value)1766 inline void CallStackProfile_Location::_internal_set_module_id_index(int32_t value) {
1767 _impl_._has_bits_[0] |= 0x00000002u;
1768 _impl_.module_id_index_ = value;
1769 }
set_module_id_index(int32_t value)1770 inline void CallStackProfile_Location::set_module_id_index(int32_t value) {
1771 _internal_set_module_id_index(value);
1772 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.Location.module_id_index)
1773 }
1774
1775 // -------------------------------------------------------------------
1776
1777 // CallStackProfile_Stack
1778
1779 // repeated .metrics.CallStackProfile.Location frame = 1;
_internal_frame_size()1780 inline int CallStackProfile_Stack::_internal_frame_size() const {
1781 return _impl_.frame_.size();
1782 }
frame_size()1783 inline int CallStackProfile_Stack::frame_size() const {
1784 return _internal_frame_size();
1785 }
clear_frame()1786 inline void CallStackProfile_Stack::clear_frame() {
1787 _impl_.frame_.Clear();
1788 }
mutable_frame(int index)1789 inline ::metrics::CallStackProfile_Location* CallStackProfile_Stack::mutable_frame(int index) {
1790 // @@protoc_insertion_point(field_mutable:metrics.CallStackProfile.Stack.frame)
1791 return _impl_.frame_.Mutable(index);
1792 }
1793 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Location >*
mutable_frame()1794 CallStackProfile_Stack::mutable_frame() {
1795 // @@protoc_insertion_point(field_mutable_list:metrics.CallStackProfile.Stack.frame)
1796 return &_impl_.frame_;
1797 }
_internal_frame(int index)1798 inline const ::metrics::CallStackProfile_Location& CallStackProfile_Stack::_internal_frame(int index) const {
1799 return _impl_.frame_.Get(index);
1800 }
frame(int index)1801 inline const ::metrics::CallStackProfile_Location& CallStackProfile_Stack::frame(int index) const {
1802 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.Stack.frame)
1803 return _internal_frame(index);
1804 }
_internal_add_frame()1805 inline ::metrics::CallStackProfile_Location* CallStackProfile_Stack::_internal_add_frame() {
1806 return _impl_.frame_.Add();
1807 }
add_frame()1808 inline ::metrics::CallStackProfile_Location* CallStackProfile_Stack::add_frame() {
1809 ::metrics::CallStackProfile_Location* _add = _internal_add_frame();
1810 // @@protoc_insertion_point(field_add:metrics.CallStackProfile.Stack.frame)
1811 return _add;
1812 }
1813 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Location >&
frame()1814 CallStackProfile_Stack::frame() const {
1815 // @@protoc_insertion_point(field_list:metrics.CallStackProfile.Stack.frame)
1816 return _impl_.frame_;
1817 }
1818
1819 // -------------------------------------------------------------------
1820
1821 // CallStackProfile_MetadataItem
1822
1823 // optional int32 name_hash_index = 1;
_internal_has_name_hash_index()1824 inline bool CallStackProfile_MetadataItem::_internal_has_name_hash_index() const {
1825 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1826 return value;
1827 }
has_name_hash_index()1828 inline bool CallStackProfile_MetadataItem::has_name_hash_index() const {
1829 return _internal_has_name_hash_index();
1830 }
clear_name_hash_index()1831 inline void CallStackProfile_MetadataItem::clear_name_hash_index() {
1832 _impl_.name_hash_index_ = 0;
1833 _impl_._has_bits_[0] &= ~0x00000004u;
1834 }
_internal_name_hash_index()1835 inline int32_t CallStackProfile_MetadataItem::_internal_name_hash_index() const {
1836 return _impl_.name_hash_index_;
1837 }
name_hash_index()1838 inline int32_t CallStackProfile_MetadataItem::name_hash_index() const {
1839 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.MetadataItem.name_hash_index)
1840 return _internal_name_hash_index();
1841 }
_internal_set_name_hash_index(int32_t value)1842 inline void CallStackProfile_MetadataItem::_internal_set_name_hash_index(int32_t value) {
1843 _impl_._has_bits_[0] |= 0x00000004u;
1844 _impl_.name_hash_index_ = value;
1845 }
set_name_hash_index(int32_t value)1846 inline void CallStackProfile_MetadataItem::set_name_hash_index(int32_t value) {
1847 _internal_set_name_hash_index(value);
1848 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.MetadataItem.name_hash_index)
1849 }
1850
1851 // optional sint64 key = 3;
_internal_has_key()1852 inline bool CallStackProfile_MetadataItem::_internal_has_key() const {
1853 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1854 return value;
1855 }
has_key()1856 inline bool CallStackProfile_MetadataItem::has_key() const {
1857 return _internal_has_key();
1858 }
clear_key()1859 inline void CallStackProfile_MetadataItem::clear_key() {
1860 _impl_.key_ = int64_t{0};
1861 _impl_._has_bits_[0] &= ~0x00000002u;
1862 }
_internal_key()1863 inline int64_t CallStackProfile_MetadataItem::_internal_key() const {
1864 return _impl_.key_;
1865 }
key()1866 inline int64_t CallStackProfile_MetadataItem::key() const {
1867 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.MetadataItem.key)
1868 return _internal_key();
1869 }
_internal_set_key(int64_t value)1870 inline void CallStackProfile_MetadataItem::_internal_set_key(int64_t value) {
1871 _impl_._has_bits_[0] |= 0x00000002u;
1872 _impl_.key_ = value;
1873 }
set_key(int64_t value)1874 inline void CallStackProfile_MetadataItem::set_key(int64_t value) {
1875 _internal_set_key(value);
1876 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.MetadataItem.key)
1877 }
1878
1879 // optional sint64 value = 2;
_internal_has_value()1880 inline bool CallStackProfile_MetadataItem::_internal_has_value() const {
1881 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1882 return value;
1883 }
has_value()1884 inline bool CallStackProfile_MetadataItem::has_value() const {
1885 return _internal_has_value();
1886 }
clear_value()1887 inline void CallStackProfile_MetadataItem::clear_value() {
1888 _impl_.value_ = int64_t{0};
1889 _impl_._has_bits_[0] &= ~0x00000001u;
1890 }
_internal_value()1891 inline int64_t CallStackProfile_MetadataItem::_internal_value() const {
1892 return _impl_.value_;
1893 }
value()1894 inline int64_t CallStackProfile_MetadataItem::value() const {
1895 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.MetadataItem.value)
1896 return _internal_value();
1897 }
_internal_set_value(int64_t value)1898 inline void CallStackProfile_MetadataItem::_internal_set_value(int64_t value) {
1899 _impl_._has_bits_[0] |= 0x00000001u;
1900 _impl_.value_ = value;
1901 }
set_value(int64_t value)1902 inline void CallStackProfile_MetadataItem::set_value(int64_t value) {
1903 _internal_set_value(value);
1904 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.MetadataItem.value)
1905 }
1906
1907 // -------------------------------------------------------------------
1908
1909 // CallStackProfile_AsyncBacktrace
1910
1911 // repeated .metrics.CallStackProfile.Location location = 1;
_internal_location_size()1912 inline int CallStackProfile_AsyncBacktrace::_internal_location_size() const {
1913 return _impl_.location_.size();
1914 }
location_size()1915 inline int CallStackProfile_AsyncBacktrace::location_size() const {
1916 return _internal_location_size();
1917 }
clear_location()1918 inline void CallStackProfile_AsyncBacktrace::clear_location() {
1919 _impl_.location_.Clear();
1920 }
mutable_location(int index)1921 inline ::metrics::CallStackProfile_Location* CallStackProfile_AsyncBacktrace::mutable_location(int index) {
1922 // @@protoc_insertion_point(field_mutable:metrics.CallStackProfile.AsyncBacktrace.location)
1923 return _impl_.location_.Mutable(index);
1924 }
1925 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Location >*
mutable_location()1926 CallStackProfile_AsyncBacktrace::mutable_location() {
1927 // @@protoc_insertion_point(field_mutable_list:metrics.CallStackProfile.AsyncBacktrace.location)
1928 return &_impl_.location_;
1929 }
_internal_location(int index)1930 inline const ::metrics::CallStackProfile_Location& CallStackProfile_AsyncBacktrace::_internal_location(int index) const {
1931 return _impl_.location_.Get(index);
1932 }
location(int index)1933 inline const ::metrics::CallStackProfile_Location& CallStackProfile_AsyncBacktrace::location(int index) const {
1934 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.AsyncBacktrace.location)
1935 return _internal_location(index);
1936 }
_internal_add_location()1937 inline ::metrics::CallStackProfile_Location* CallStackProfile_AsyncBacktrace::_internal_add_location() {
1938 return _impl_.location_.Add();
1939 }
add_location()1940 inline ::metrics::CallStackProfile_Location* CallStackProfile_AsyncBacktrace::add_location() {
1941 ::metrics::CallStackProfile_Location* _add = _internal_add_location();
1942 // @@protoc_insertion_point(field_add:metrics.CallStackProfile.AsyncBacktrace.location)
1943 return _add;
1944 }
1945 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Location >&
location()1946 CallStackProfile_AsyncBacktrace::location() const {
1947 // @@protoc_insertion_point(field_list:metrics.CallStackProfile.AsyncBacktrace.location)
1948 return _impl_.location_;
1949 }
1950
1951 // -------------------------------------------------------------------
1952
1953 // CallStackProfile_Sample
1954
1955 // repeated .metrics.CallStackProfile.Location frame = 1;
_internal_frame_size()1956 inline int CallStackProfile_Sample::_internal_frame_size() const {
1957 return _impl_.frame_.size();
1958 }
frame_size()1959 inline int CallStackProfile_Sample::frame_size() const {
1960 return _internal_frame_size();
1961 }
clear_frame()1962 inline void CallStackProfile_Sample::clear_frame() {
1963 _impl_.frame_.Clear();
1964 }
mutable_frame(int index)1965 inline ::metrics::CallStackProfile_Location* CallStackProfile_Sample::mutable_frame(int index) {
1966 // @@protoc_insertion_point(field_mutable:metrics.CallStackProfile.Sample.frame)
1967 return _impl_.frame_.Mutable(index);
1968 }
1969 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Location >*
mutable_frame()1970 CallStackProfile_Sample::mutable_frame() {
1971 // @@protoc_insertion_point(field_mutable_list:metrics.CallStackProfile.Sample.frame)
1972 return &_impl_.frame_;
1973 }
_internal_frame(int index)1974 inline const ::metrics::CallStackProfile_Location& CallStackProfile_Sample::_internal_frame(int index) const {
1975 return _impl_.frame_.Get(index);
1976 }
frame(int index)1977 inline const ::metrics::CallStackProfile_Location& CallStackProfile_Sample::frame(int index) const {
1978 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.Sample.frame)
1979 return _internal_frame(index);
1980 }
_internal_add_frame()1981 inline ::metrics::CallStackProfile_Location* CallStackProfile_Sample::_internal_add_frame() {
1982 return _impl_.frame_.Add();
1983 }
add_frame()1984 inline ::metrics::CallStackProfile_Location* CallStackProfile_Sample::add_frame() {
1985 ::metrics::CallStackProfile_Location* _add = _internal_add_frame();
1986 // @@protoc_insertion_point(field_add:metrics.CallStackProfile.Sample.frame)
1987 return _add;
1988 }
1989 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Location >&
frame()1990 CallStackProfile_Sample::frame() const {
1991 // @@protoc_insertion_point(field_list:metrics.CallStackProfile.Sample.frame)
1992 return _impl_.frame_;
1993 }
1994
1995 // optional int64 count = 2;
_internal_has_count()1996 inline bool CallStackProfile_Sample::_internal_has_count() const {
1997 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1998 return value;
1999 }
has_count()2000 inline bool CallStackProfile_Sample::has_count() const {
2001 return _internal_has_count();
2002 }
clear_count()2003 inline void CallStackProfile_Sample::clear_count() {
2004 _impl_.count_ = int64_t{0};
2005 _impl_._has_bits_[0] &= ~0x00000001u;
2006 }
_internal_count()2007 inline int64_t CallStackProfile_Sample::_internal_count() const {
2008 return _impl_.count_;
2009 }
count()2010 inline int64_t CallStackProfile_Sample::count() const {
2011 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.Sample.count)
2012 return _internal_count();
2013 }
_internal_set_count(int64_t value)2014 inline void CallStackProfile_Sample::_internal_set_count(int64_t value) {
2015 _impl_._has_bits_[0] |= 0x00000001u;
2016 _impl_.count_ = value;
2017 }
set_count(int64_t value)2018 inline void CallStackProfile_Sample::set_count(int64_t value) {
2019 _internal_set_count(value);
2020 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.Sample.count)
2021 }
2022
2023 // repeated .metrics.ProcessPhase process_phase = 3;
_internal_process_phase_size()2024 inline int CallStackProfile_Sample::_internal_process_phase_size() const {
2025 return _impl_.process_phase_.size();
2026 }
process_phase_size()2027 inline int CallStackProfile_Sample::process_phase_size() const {
2028 return _internal_process_phase_size();
2029 }
clear_process_phase()2030 inline void CallStackProfile_Sample::clear_process_phase() {
2031 _impl_.process_phase_.Clear();
2032 }
_internal_process_phase(int index)2033 inline ::metrics::ProcessPhase CallStackProfile_Sample::_internal_process_phase(int index) const {
2034 return static_cast< ::metrics::ProcessPhase >(_impl_.process_phase_.Get(index));
2035 }
process_phase(int index)2036 inline ::metrics::ProcessPhase CallStackProfile_Sample::process_phase(int index) const {
2037 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.Sample.process_phase)
2038 return _internal_process_phase(index);
2039 }
set_process_phase(int index,::metrics::ProcessPhase value)2040 inline void CallStackProfile_Sample::set_process_phase(int index, ::metrics::ProcessPhase value) {
2041 assert(::metrics::ProcessPhase_IsValid(value));
2042 _impl_.process_phase_.Set(index, value);
2043 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.Sample.process_phase)
2044 }
_internal_add_process_phase(::metrics::ProcessPhase value)2045 inline void CallStackProfile_Sample::_internal_add_process_phase(::metrics::ProcessPhase value) {
2046 assert(::metrics::ProcessPhase_IsValid(value));
2047 _impl_.process_phase_.Add(value);
2048 }
add_process_phase(::metrics::ProcessPhase value)2049 inline void CallStackProfile_Sample::add_process_phase(::metrics::ProcessPhase value) {
2050 _internal_add_process_phase(value);
2051 // @@protoc_insertion_point(field_add:metrics.CallStackProfile.Sample.process_phase)
2052 }
2053 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
process_phase()2054 CallStackProfile_Sample::process_phase() const {
2055 // @@protoc_insertion_point(field_list:metrics.CallStackProfile.Sample.process_phase)
2056 return _impl_.process_phase_;
2057 }
2058 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
_internal_mutable_process_phase()2059 CallStackProfile_Sample::_internal_mutable_process_phase() {
2060 return &_impl_.process_phase_;
2061 }
2062 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
mutable_process_phase()2063 CallStackProfile_Sample::mutable_process_phase() {
2064 // @@protoc_insertion_point(field_mutable_list:metrics.CallStackProfile.Sample.process_phase)
2065 return _internal_mutable_process_phase();
2066 }
2067
2068 // -------------------------------------------------------------------
2069
2070 // CallStackProfile_StackSample
2071
2072 // optional int32 stack_index = 1;
_internal_has_stack_index()2073 inline bool CallStackProfile_StackSample::_internal_has_stack_index() const {
2074 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2075 return value;
2076 }
has_stack_index()2077 inline bool CallStackProfile_StackSample::has_stack_index() const {
2078 return _internal_has_stack_index();
2079 }
clear_stack_index()2080 inline void CallStackProfile_StackSample::clear_stack_index() {
2081 _impl_.stack_index_ = 0;
2082 _impl_._has_bits_[0] &= ~0x00000001u;
2083 }
_internal_stack_index()2084 inline int32_t CallStackProfile_StackSample::_internal_stack_index() const {
2085 return _impl_.stack_index_;
2086 }
stack_index()2087 inline int32_t CallStackProfile_StackSample::stack_index() const {
2088 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.StackSample.stack_index)
2089 return _internal_stack_index();
2090 }
_internal_set_stack_index(int32_t value)2091 inline void CallStackProfile_StackSample::_internal_set_stack_index(int32_t value) {
2092 _impl_._has_bits_[0] |= 0x00000001u;
2093 _impl_.stack_index_ = value;
2094 }
set_stack_index(int32_t value)2095 inline void CallStackProfile_StackSample::set_stack_index(int32_t value) {
2096 _internal_set_stack_index(value);
2097 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.StackSample.stack_index)
2098 }
2099
2100 // optional int32 sample_time_offset_ms = 2;
_internal_has_sample_time_offset_ms()2101 inline bool CallStackProfile_StackSample::_internal_has_sample_time_offset_ms() const {
2102 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2103 return value;
2104 }
has_sample_time_offset_ms()2105 inline bool CallStackProfile_StackSample::has_sample_time_offset_ms() const {
2106 return _internal_has_sample_time_offset_ms();
2107 }
clear_sample_time_offset_ms()2108 inline void CallStackProfile_StackSample::clear_sample_time_offset_ms() {
2109 _impl_.sample_time_offset_ms_ = 0;
2110 _impl_._has_bits_[0] &= ~0x00000002u;
2111 }
_internal_sample_time_offset_ms()2112 inline int32_t CallStackProfile_StackSample::_internal_sample_time_offset_ms() const {
2113 return _impl_.sample_time_offset_ms_;
2114 }
sample_time_offset_ms()2115 inline int32_t CallStackProfile_StackSample::sample_time_offset_ms() const {
2116 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.StackSample.sample_time_offset_ms)
2117 return _internal_sample_time_offset_ms();
2118 }
_internal_set_sample_time_offset_ms(int32_t value)2119 inline void CallStackProfile_StackSample::_internal_set_sample_time_offset_ms(int32_t value) {
2120 _impl_._has_bits_[0] |= 0x00000002u;
2121 _impl_.sample_time_offset_ms_ = value;
2122 }
set_sample_time_offset_ms(int32_t value)2123 inline void CallStackProfile_StackSample::set_sample_time_offset_ms(int32_t value) {
2124 _internal_set_sample_time_offset_ms(value);
2125 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.StackSample.sample_time_offset_ms)
2126 }
2127
2128 // optional bool continued_work = 3;
_internal_has_continued_work()2129 inline bool CallStackProfile_StackSample::_internal_has_continued_work() const {
2130 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2131 return value;
2132 }
has_continued_work()2133 inline bool CallStackProfile_StackSample::has_continued_work() const {
2134 return _internal_has_continued_work();
2135 }
clear_continued_work()2136 inline void CallStackProfile_StackSample::clear_continued_work() {
2137 _impl_.continued_work_ = false;
2138 _impl_._has_bits_[0] &= ~0x00000004u;
2139 }
_internal_continued_work()2140 inline bool CallStackProfile_StackSample::_internal_continued_work() const {
2141 return _impl_.continued_work_;
2142 }
continued_work()2143 inline bool CallStackProfile_StackSample::continued_work() const {
2144 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.StackSample.continued_work)
2145 return _internal_continued_work();
2146 }
_internal_set_continued_work(bool value)2147 inline void CallStackProfile_StackSample::_internal_set_continued_work(bool value) {
2148 _impl_._has_bits_[0] |= 0x00000004u;
2149 _impl_.continued_work_ = value;
2150 }
set_continued_work(bool value)2151 inline void CallStackProfile_StackSample::set_continued_work(bool value) {
2152 _internal_set_continued_work(value);
2153 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.StackSample.continued_work)
2154 }
2155
2156 // optional int32 async_backtrace_index = 4;
_internal_has_async_backtrace_index()2157 inline bool CallStackProfile_StackSample::_internal_has_async_backtrace_index() const {
2158 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2159 return value;
2160 }
has_async_backtrace_index()2161 inline bool CallStackProfile_StackSample::has_async_backtrace_index() const {
2162 return _internal_has_async_backtrace_index();
2163 }
clear_async_backtrace_index()2164 inline void CallStackProfile_StackSample::clear_async_backtrace_index() {
2165 _impl_.async_backtrace_index_ = 0;
2166 _impl_._has_bits_[0] &= ~0x00000008u;
2167 }
_internal_async_backtrace_index()2168 inline int32_t CallStackProfile_StackSample::_internal_async_backtrace_index() const {
2169 return _impl_.async_backtrace_index_;
2170 }
async_backtrace_index()2171 inline int32_t CallStackProfile_StackSample::async_backtrace_index() const {
2172 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.StackSample.async_backtrace_index)
2173 return _internal_async_backtrace_index();
2174 }
_internal_set_async_backtrace_index(int32_t value)2175 inline void CallStackProfile_StackSample::_internal_set_async_backtrace_index(int32_t value) {
2176 _impl_._has_bits_[0] |= 0x00000008u;
2177 _impl_.async_backtrace_index_ = value;
2178 }
set_async_backtrace_index(int32_t value)2179 inline void CallStackProfile_StackSample::set_async_backtrace_index(int32_t value) {
2180 _internal_set_async_backtrace_index(value);
2181 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.StackSample.async_backtrace_index)
2182 }
2183
2184 // repeated .metrics.CallStackProfile.MetadataItem metadata = 5;
_internal_metadata_size()2185 inline int CallStackProfile_StackSample::_internal_metadata_size() const {
2186 return _impl_.metadata_.size();
2187 }
metadata_size()2188 inline int CallStackProfile_StackSample::metadata_size() const {
2189 return _internal_metadata_size();
2190 }
clear_metadata()2191 inline void CallStackProfile_StackSample::clear_metadata() {
2192 _impl_.metadata_.Clear();
2193 }
mutable_metadata(int index)2194 inline ::metrics::CallStackProfile_MetadataItem* CallStackProfile_StackSample::mutable_metadata(int index) {
2195 // @@protoc_insertion_point(field_mutable:metrics.CallStackProfile.StackSample.metadata)
2196 return _impl_.metadata_.Mutable(index);
2197 }
2198 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_MetadataItem >*
mutable_metadata()2199 CallStackProfile_StackSample::mutable_metadata() {
2200 // @@protoc_insertion_point(field_mutable_list:metrics.CallStackProfile.StackSample.metadata)
2201 return &_impl_.metadata_;
2202 }
_internal_metadata(int index)2203 inline const ::metrics::CallStackProfile_MetadataItem& CallStackProfile_StackSample::_internal_metadata(int index) const {
2204 return _impl_.metadata_.Get(index);
2205 }
metadata(int index)2206 inline const ::metrics::CallStackProfile_MetadataItem& CallStackProfile_StackSample::metadata(int index) const {
2207 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.StackSample.metadata)
2208 return _internal_metadata(index);
2209 }
_internal_add_metadata()2210 inline ::metrics::CallStackProfile_MetadataItem* CallStackProfile_StackSample::_internal_add_metadata() {
2211 return _impl_.metadata_.Add();
2212 }
add_metadata()2213 inline ::metrics::CallStackProfile_MetadataItem* CallStackProfile_StackSample::add_metadata() {
2214 ::metrics::CallStackProfile_MetadataItem* _add = _internal_add_metadata();
2215 // @@protoc_insertion_point(field_add:metrics.CallStackProfile.StackSample.metadata)
2216 return _add;
2217 }
2218 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_MetadataItem >&
metadata()2219 CallStackProfile_StackSample::metadata() const {
2220 // @@protoc_insertion_point(field_list:metrics.CallStackProfile.StackSample.metadata)
2221 return _impl_.metadata_;
2222 }
2223
2224 // optional int64 weight = 6;
_internal_has_weight()2225 inline bool CallStackProfile_StackSample::_internal_has_weight() const {
2226 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2227 return value;
2228 }
has_weight()2229 inline bool CallStackProfile_StackSample::has_weight() const {
2230 return _internal_has_weight();
2231 }
clear_weight()2232 inline void CallStackProfile_StackSample::clear_weight() {
2233 _impl_.weight_ = int64_t{0};
2234 _impl_._has_bits_[0] &= ~0x00000010u;
2235 }
_internal_weight()2236 inline int64_t CallStackProfile_StackSample::_internal_weight() const {
2237 return _impl_.weight_;
2238 }
weight()2239 inline int64_t CallStackProfile_StackSample::weight() const {
2240 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.StackSample.weight)
2241 return _internal_weight();
2242 }
_internal_set_weight(int64_t value)2243 inline void CallStackProfile_StackSample::_internal_set_weight(int64_t value) {
2244 _impl_._has_bits_[0] |= 0x00000010u;
2245 _impl_.weight_ = value;
2246 }
set_weight(int64_t value)2247 inline void CallStackProfile_StackSample::set_weight(int64_t value) {
2248 _internal_set_weight(value);
2249 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.StackSample.weight)
2250 }
2251
2252 // optional int64 count = 7 [default = 1];
_internal_has_count()2253 inline bool CallStackProfile_StackSample::_internal_has_count() const {
2254 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
2255 return value;
2256 }
has_count()2257 inline bool CallStackProfile_StackSample::has_count() const {
2258 return _internal_has_count();
2259 }
clear_count()2260 inline void CallStackProfile_StackSample::clear_count() {
2261 _impl_.count_ = int64_t{1};
2262 _impl_._has_bits_[0] &= ~0x00000020u;
2263 }
_internal_count()2264 inline int64_t CallStackProfile_StackSample::_internal_count() const {
2265 return _impl_.count_;
2266 }
count()2267 inline int64_t CallStackProfile_StackSample::count() const {
2268 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.StackSample.count)
2269 return _internal_count();
2270 }
_internal_set_count(int64_t value)2271 inline void CallStackProfile_StackSample::_internal_set_count(int64_t value) {
2272 _impl_._has_bits_[0] |= 0x00000020u;
2273 _impl_.count_ = value;
2274 }
set_count(int64_t value)2275 inline void CallStackProfile_StackSample::set_count(int64_t value) {
2276 _internal_set_count(value);
2277 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.StackSample.count)
2278 }
2279
2280 // -------------------------------------------------------------------
2281
2282 // CallStackProfile
2283
2284 // repeated .metrics.CallStackProfile.Sample DEPRECATED_sample = 1 [deprecated = true];
_internal_deprecated_sample_size()2285 inline int CallStackProfile::_internal_deprecated_sample_size() const {
2286 return _impl_.deprecated_sample_.size();
2287 }
deprecated_sample_size()2288 inline int CallStackProfile::deprecated_sample_size() const {
2289 return _internal_deprecated_sample_size();
2290 }
clear_deprecated_sample()2291 inline void CallStackProfile::clear_deprecated_sample() {
2292 _impl_.deprecated_sample_.Clear();
2293 }
mutable_deprecated_sample(int index)2294 inline ::metrics::CallStackProfile_Sample* CallStackProfile::mutable_deprecated_sample(int index) {
2295 // @@protoc_insertion_point(field_mutable:metrics.CallStackProfile.DEPRECATED_sample)
2296 return _impl_.deprecated_sample_.Mutable(index);
2297 }
2298 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Sample >*
mutable_deprecated_sample()2299 CallStackProfile::mutable_deprecated_sample() {
2300 // @@protoc_insertion_point(field_mutable_list:metrics.CallStackProfile.DEPRECATED_sample)
2301 return &_impl_.deprecated_sample_;
2302 }
_internal_deprecated_sample(int index)2303 inline const ::metrics::CallStackProfile_Sample& CallStackProfile::_internal_deprecated_sample(int index) const {
2304 return _impl_.deprecated_sample_.Get(index);
2305 }
deprecated_sample(int index)2306 inline const ::metrics::CallStackProfile_Sample& CallStackProfile::deprecated_sample(int index) const {
2307 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.DEPRECATED_sample)
2308 return _internal_deprecated_sample(index);
2309 }
_internal_add_deprecated_sample()2310 inline ::metrics::CallStackProfile_Sample* CallStackProfile::_internal_add_deprecated_sample() {
2311 return _impl_.deprecated_sample_.Add();
2312 }
add_deprecated_sample()2313 inline ::metrics::CallStackProfile_Sample* CallStackProfile::add_deprecated_sample() {
2314 ::metrics::CallStackProfile_Sample* _add = _internal_add_deprecated_sample();
2315 // @@protoc_insertion_point(field_add:metrics.CallStackProfile.DEPRECATED_sample)
2316 return _add;
2317 }
2318 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Sample >&
deprecated_sample()2319 CallStackProfile::deprecated_sample() const {
2320 // @@protoc_insertion_point(field_list:metrics.CallStackProfile.DEPRECATED_sample)
2321 return _impl_.deprecated_sample_;
2322 }
2323
2324 // repeated .metrics.CallStackProfile.ModuleIdentifier module_id = 2;
_internal_module_id_size()2325 inline int CallStackProfile::_internal_module_id_size() const {
2326 return _impl_.module_id_.size();
2327 }
module_id_size()2328 inline int CallStackProfile::module_id_size() const {
2329 return _internal_module_id_size();
2330 }
clear_module_id()2331 inline void CallStackProfile::clear_module_id() {
2332 _impl_.module_id_.Clear();
2333 }
mutable_module_id(int index)2334 inline ::metrics::CallStackProfile_ModuleIdentifier* CallStackProfile::mutable_module_id(int index) {
2335 // @@protoc_insertion_point(field_mutable:metrics.CallStackProfile.module_id)
2336 return _impl_.module_id_.Mutable(index);
2337 }
2338 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_ModuleIdentifier >*
mutable_module_id()2339 CallStackProfile::mutable_module_id() {
2340 // @@protoc_insertion_point(field_mutable_list:metrics.CallStackProfile.module_id)
2341 return &_impl_.module_id_;
2342 }
_internal_module_id(int index)2343 inline const ::metrics::CallStackProfile_ModuleIdentifier& CallStackProfile::_internal_module_id(int index) const {
2344 return _impl_.module_id_.Get(index);
2345 }
module_id(int index)2346 inline const ::metrics::CallStackProfile_ModuleIdentifier& CallStackProfile::module_id(int index) const {
2347 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.module_id)
2348 return _internal_module_id(index);
2349 }
_internal_add_module_id()2350 inline ::metrics::CallStackProfile_ModuleIdentifier* CallStackProfile::_internal_add_module_id() {
2351 return _impl_.module_id_.Add();
2352 }
add_module_id()2353 inline ::metrics::CallStackProfile_ModuleIdentifier* CallStackProfile::add_module_id() {
2354 ::metrics::CallStackProfile_ModuleIdentifier* _add = _internal_add_module_id();
2355 // @@protoc_insertion_point(field_add:metrics.CallStackProfile.module_id)
2356 return _add;
2357 }
2358 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_ModuleIdentifier >&
module_id()2359 CallStackProfile::module_id() const {
2360 // @@protoc_insertion_point(field_list:metrics.CallStackProfile.module_id)
2361 return _impl_.module_id_;
2362 }
2363
2364 // repeated fixed64 metadata_name_hash = 5;
_internal_metadata_name_hash_size()2365 inline int CallStackProfile::_internal_metadata_name_hash_size() const {
2366 return _impl_.metadata_name_hash_.size();
2367 }
metadata_name_hash_size()2368 inline int CallStackProfile::metadata_name_hash_size() const {
2369 return _internal_metadata_name_hash_size();
2370 }
clear_metadata_name_hash()2371 inline void CallStackProfile::clear_metadata_name_hash() {
2372 _impl_.metadata_name_hash_.Clear();
2373 }
_internal_metadata_name_hash(int index)2374 inline uint64_t CallStackProfile::_internal_metadata_name_hash(int index) const {
2375 return _impl_.metadata_name_hash_.Get(index);
2376 }
metadata_name_hash(int index)2377 inline uint64_t CallStackProfile::metadata_name_hash(int index) const {
2378 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.metadata_name_hash)
2379 return _internal_metadata_name_hash(index);
2380 }
set_metadata_name_hash(int index,uint64_t value)2381 inline void CallStackProfile::set_metadata_name_hash(int index, uint64_t value) {
2382 _impl_.metadata_name_hash_.Set(index, value);
2383 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.metadata_name_hash)
2384 }
_internal_add_metadata_name_hash(uint64_t value)2385 inline void CallStackProfile::_internal_add_metadata_name_hash(uint64_t value) {
2386 _impl_.metadata_name_hash_.Add(value);
2387 }
add_metadata_name_hash(uint64_t value)2388 inline void CallStackProfile::add_metadata_name_hash(uint64_t value) {
2389 _internal_add_metadata_name_hash(value);
2390 // @@protoc_insertion_point(field_add:metrics.CallStackProfile.metadata_name_hash)
2391 }
2392 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
_internal_metadata_name_hash()2393 CallStackProfile::_internal_metadata_name_hash() const {
2394 return _impl_.metadata_name_hash_;
2395 }
2396 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >&
metadata_name_hash()2397 CallStackProfile::metadata_name_hash() const {
2398 // @@protoc_insertion_point(field_list:metrics.CallStackProfile.metadata_name_hash)
2399 return _internal_metadata_name_hash();
2400 }
2401 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
_internal_mutable_metadata_name_hash()2402 CallStackProfile::_internal_mutable_metadata_name_hash() {
2403 return &_impl_.metadata_name_hash_;
2404 }
2405 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint64_t >*
mutable_metadata_name_hash()2406 CallStackProfile::mutable_metadata_name_hash() {
2407 // @@protoc_insertion_point(field_mutable_list:metrics.CallStackProfile.metadata_name_hash)
2408 return _internal_mutable_metadata_name_hash();
2409 }
2410
2411 // repeated .metrics.CallStackProfile.MetadataItem profile_metadata = 6;
_internal_profile_metadata_size()2412 inline int CallStackProfile::_internal_profile_metadata_size() const {
2413 return _impl_.profile_metadata_.size();
2414 }
profile_metadata_size()2415 inline int CallStackProfile::profile_metadata_size() const {
2416 return _internal_profile_metadata_size();
2417 }
clear_profile_metadata()2418 inline void CallStackProfile::clear_profile_metadata() {
2419 _impl_.profile_metadata_.Clear();
2420 }
mutable_profile_metadata(int index)2421 inline ::metrics::CallStackProfile_MetadataItem* CallStackProfile::mutable_profile_metadata(int index) {
2422 // @@protoc_insertion_point(field_mutable:metrics.CallStackProfile.profile_metadata)
2423 return _impl_.profile_metadata_.Mutable(index);
2424 }
2425 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_MetadataItem >*
mutable_profile_metadata()2426 CallStackProfile::mutable_profile_metadata() {
2427 // @@protoc_insertion_point(field_mutable_list:metrics.CallStackProfile.profile_metadata)
2428 return &_impl_.profile_metadata_;
2429 }
_internal_profile_metadata(int index)2430 inline const ::metrics::CallStackProfile_MetadataItem& CallStackProfile::_internal_profile_metadata(int index) const {
2431 return _impl_.profile_metadata_.Get(index);
2432 }
profile_metadata(int index)2433 inline const ::metrics::CallStackProfile_MetadataItem& CallStackProfile::profile_metadata(int index) const {
2434 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.profile_metadata)
2435 return _internal_profile_metadata(index);
2436 }
_internal_add_profile_metadata()2437 inline ::metrics::CallStackProfile_MetadataItem* CallStackProfile::_internal_add_profile_metadata() {
2438 return _impl_.profile_metadata_.Add();
2439 }
add_profile_metadata()2440 inline ::metrics::CallStackProfile_MetadataItem* CallStackProfile::add_profile_metadata() {
2441 ::metrics::CallStackProfile_MetadataItem* _add = _internal_add_profile_metadata();
2442 // @@protoc_insertion_point(field_add:metrics.CallStackProfile.profile_metadata)
2443 return _add;
2444 }
2445 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_MetadataItem >&
profile_metadata()2446 CallStackProfile::profile_metadata() const {
2447 // @@protoc_insertion_point(field_list:metrics.CallStackProfile.profile_metadata)
2448 return _impl_.profile_metadata_;
2449 }
2450
2451 // repeated .metrics.CallStackProfile.AsyncBacktrace async_backtrace = 7;
_internal_async_backtrace_size()2452 inline int CallStackProfile::_internal_async_backtrace_size() const {
2453 return _impl_.async_backtrace_.size();
2454 }
async_backtrace_size()2455 inline int CallStackProfile::async_backtrace_size() const {
2456 return _internal_async_backtrace_size();
2457 }
clear_async_backtrace()2458 inline void CallStackProfile::clear_async_backtrace() {
2459 _impl_.async_backtrace_.Clear();
2460 }
mutable_async_backtrace(int index)2461 inline ::metrics::CallStackProfile_AsyncBacktrace* CallStackProfile::mutable_async_backtrace(int index) {
2462 // @@protoc_insertion_point(field_mutable:metrics.CallStackProfile.async_backtrace)
2463 return _impl_.async_backtrace_.Mutable(index);
2464 }
2465 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_AsyncBacktrace >*
mutable_async_backtrace()2466 CallStackProfile::mutable_async_backtrace() {
2467 // @@protoc_insertion_point(field_mutable_list:metrics.CallStackProfile.async_backtrace)
2468 return &_impl_.async_backtrace_;
2469 }
_internal_async_backtrace(int index)2470 inline const ::metrics::CallStackProfile_AsyncBacktrace& CallStackProfile::_internal_async_backtrace(int index) const {
2471 return _impl_.async_backtrace_.Get(index);
2472 }
async_backtrace(int index)2473 inline const ::metrics::CallStackProfile_AsyncBacktrace& CallStackProfile::async_backtrace(int index) const {
2474 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.async_backtrace)
2475 return _internal_async_backtrace(index);
2476 }
_internal_add_async_backtrace()2477 inline ::metrics::CallStackProfile_AsyncBacktrace* CallStackProfile::_internal_add_async_backtrace() {
2478 return _impl_.async_backtrace_.Add();
2479 }
add_async_backtrace()2480 inline ::metrics::CallStackProfile_AsyncBacktrace* CallStackProfile::add_async_backtrace() {
2481 ::metrics::CallStackProfile_AsyncBacktrace* _add = _internal_add_async_backtrace();
2482 // @@protoc_insertion_point(field_add:metrics.CallStackProfile.async_backtrace)
2483 return _add;
2484 }
2485 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_AsyncBacktrace >&
async_backtrace()2486 CallStackProfile::async_backtrace() const {
2487 // @@protoc_insertion_point(field_list:metrics.CallStackProfile.async_backtrace)
2488 return _impl_.async_backtrace_;
2489 }
2490
2491 // repeated .metrics.CallStackProfile.Stack stack = 8;
_internal_stack_size()2492 inline int CallStackProfile::_internal_stack_size() const {
2493 return _impl_.stack_.size();
2494 }
stack_size()2495 inline int CallStackProfile::stack_size() const {
2496 return _internal_stack_size();
2497 }
clear_stack()2498 inline void CallStackProfile::clear_stack() {
2499 _impl_.stack_.Clear();
2500 }
mutable_stack(int index)2501 inline ::metrics::CallStackProfile_Stack* CallStackProfile::mutable_stack(int index) {
2502 // @@protoc_insertion_point(field_mutable:metrics.CallStackProfile.stack)
2503 return _impl_.stack_.Mutable(index);
2504 }
2505 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Stack >*
mutable_stack()2506 CallStackProfile::mutable_stack() {
2507 // @@protoc_insertion_point(field_mutable_list:metrics.CallStackProfile.stack)
2508 return &_impl_.stack_;
2509 }
_internal_stack(int index)2510 inline const ::metrics::CallStackProfile_Stack& CallStackProfile::_internal_stack(int index) const {
2511 return _impl_.stack_.Get(index);
2512 }
stack(int index)2513 inline const ::metrics::CallStackProfile_Stack& CallStackProfile::stack(int index) const {
2514 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.stack)
2515 return _internal_stack(index);
2516 }
_internal_add_stack()2517 inline ::metrics::CallStackProfile_Stack* CallStackProfile::_internal_add_stack() {
2518 return _impl_.stack_.Add();
2519 }
add_stack()2520 inline ::metrics::CallStackProfile_Stack* CallStackProfile::add_stack() {
2521 ::metrics::CallStackProfile_Stack* _add = _internal_add_stack();
2522 // @@protoc_insertion_point(field_add:metrics.CallStackProfile.stack)
2523 return _add;
2524 }
2525 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_Stack >&
stack()2526 CallStackProfile::stack() const {
2527 // @@protoc_insertion_point(field_list:metrics.CallStackProfile.stack)
2528 return _impl_.stack_;
2529 }
2530
2531 // repeated .metrics.CallStackProfile.StackSample stack_sample = 9;
_internal_stack_sample_size()2532 inline int CallStackProfile::_internal_stack_sample_size() const {
2533 return _impl_.stack_sample_.size();
2534 }
stack_sample_size()2535 inline int CallStackProfile::stack_sample_size() const {
2536 return _internal_stack_sample_size();
2537 }
clear_stack_sample()2538 inline void CallStackProfile::clear_stack_sample() {
2539 _impl_.stack_sample_.Clear();
2540 }
mutable_stack_sample(int index)2541 inline ::metrics::CallStackProfile_StackSample* CallStackProfile::mutable_stack_sample(int index) {
2542 // @@protoc_insertion_point(field_mutable:metrics.CallStackProfile.stack_sample)
2543 return _impl_.stack_sample_.Mutable(index);
2544 }
2545 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_StackSample >*
mutable_stack_sample()2546 CallStackProfile::mutable_stack_sample() {
2547 // @@protoc_insertion_point(field_mutable_list:metrics.CallStackProfile.stack_sample)
2548 return &_impl_.stack_sample_;
2549 }
_internal_stack_sample(int index)2550 inline const ::metrics::CallStackProfile_StackSample& CallStackProfile::_internal_stack_sample(int index) const {
2551 return _impl_.stack_sample_.Get(index);
2552 }
stack_sample(int index)2553 inline const ::metrics::CallStackProfile_StackSample& CallStackProfile::stack_sample(int index) const {
2554 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.stack_sample)
2555 return _internal_stack_sample(index);
2556 }
_internal_add_stack_sample()2557 inline ::metrics::CallStackProfile_StackSample* CallStackProfile::_internal_add_stack_sample() {
2558 return _impl_.stack_sample_.Add();
2559 }
add_stack_sample()2560 inline ::metrics::CallStackProfile_StackSample* CallStackProfile::add_stack_sample() {
2561 ::metrics::CallStackProfile_StackSample* _add = _internal_add_stack_sample();
2562 // @@protoc_insertion_point(field_add:metrics.CallStackProfile.stack_sample)
2563 return _add;
2564 }
2565 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::CallStackProfile_StackSample >&
stack_sample()2566 CallStackProfile::stack_sample() const {
2567 // @@protoc_insertion_point(field_list:metrics.CallStackProfile.stack_sample)
2568 return _impl_.stack_sample_;
2569 }
2570
2571 // optional int64 profile_time_offset_ms = 10;
_internal_has_profile_time_offset_ms()2572 inline bool CallStackProfile::_internal_has_profile_time_offset_ms() const {
2573 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2574 return value;
2575 }
has_profile_time_offset_ms()2576 inline bool CallStackProfile::has_profile_time_offset_ms() const {
2577 return _internal_has_profile_time_offset_ms();
2578 }
clear_profile_time_offset_ms()2579 inline void CallStackProfile::clear_profile_time_offset_ms() {
2580 _impl_.profile_time_offset_ms_ = int64_t{0};
2581 _impl_._has_bits_[0] &= ~0x00000004u;
2582 }
_internal_profile_time_offset_ms()2583 inline int64_t CallStackProfile::_internal_profile_time_offset_ms() const {
2584 return _impl_.profile_time_offset_ms_;
2585 }
profile_time_offset_ms()2586 inline int64_t CallStackProfile::profile_time_offset_ms() const {
2587 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.profile_time_offset_ms)
2588 return _internal_profile_time_offset_ms();
2589 }
_internal_set_profile_time_offset_ms(int64_t value)2590 inline void CallStackProfile::_internal_set_profile_time_offset_ms(int64_t value) {
2591 _impl_._has_bits_[0] |= 0x00000004u;
2592 _impl_.profile_time_offset_ms_ = value;
2593 }
set_profile_time_offset_ms(int64_t value)2594 inline void CallStackProfile::set_profile_time_offset_ms(int64_t value) {
2595 _internal_set_profile_time_offset_ms(value);
2596 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.profile_time_offset_ms)
2597 }
2598
2599 // optional int32 profile_duration_ms = 3;
_internal_has_profile_duration_ms()2600 inline bool CallStackProfile::_internal_has_profile_duration_ms() const {
2601 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2602 return value;
2603 }
has_profile_duration_ms()2604 inline bool CallStackProfile::has_profile_duration_ms() const {
2605 return _internal_has_profile_duration_ms();
2606 }
clear_profile_duration_ms()2607 inline void CallStackProfile::clear_profile_duration_ms() {
2608 _impl_.profile_duration_ms_ = 0;
2609 _impl_._has_bits_[0] &= ~0x00000001u;
2610 }
_internal_profile_duration_ms()2611 inline int32_t CallStackProfile::_internal_profile_duration_ms() const {
2612 return _impl_.profile_duration_ms_;
2613 }
profile_duration_ms()2614 inline int32_t CallStackProfile::profile_duration_ms() const {
2615 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.profile_duration_ms)
2616 return _internal_profile_duration_ms();
2617 }
_internal_set_profile_duration_ms(int32_t value)2618 inline void CallStackProfile::_internal_set_profile_duration_ms(int32_t value) {
2619 _impl_._has_bits_[0] |= 0x00000001u;
2620 _impl_.profile_duration_ms_ = value;
2621 }
set_profile_duration_ms(int32_t value)2622 inline void CallStackProfile::set_profile_duration_ms(int32_t value) {
2623 _internal_set_profile_duration_ms(value);
2624 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.profile_duration_ms)
2625 }
2626
2627 // optional int32 sampling_period_ms = 4;
_internal_has_sampling_period_ms()2628 inline bool CallStackProfile::_internal_has_sampling_period_ms() const {
2629 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2630 return value;
2631 }
has_sampling_period_ms()2632 inline bool CallStackProfile::has_sampling_period_ms() const {
2633 return _internal_has_sampling_period_ms();
2634 }
clear_sampling_period_ms()2635 inline void CallStackProfile::clear_sampling_period_ms() {
2636 _impl_.sampling_period_ms_ = 0;
2637 _impl_._has_bits_[0] &= ~0x00000002u;
2638 }
_internal_sampling_period_ms()2639 inline int32_t CallStackProfile::_internal_sampling_period_ms() const {
2640 return _impl_.sampling_period_ms_;
2641 }
sampling_period_ms()2642 inline int32_t CallStackProfile::sampling_period_ms() const {
2643 // @@protoc_insertion_point(field_get:metrics.CallStackProfile.sampling_period_ms)
2644 return _internal_sampling_period_ms();
2645 }
_internal_set_sampling_period_ms(int32_t value)2646 inline void CallStackProfile::_internal_set_sampling_period_ms(int32_t value) {
2647 _impl_._has_bits_[0] |= 0x00000002u;
2648 _impl_.sampling_period_ms_ = value;
2649 }
set_sampling_period_ms(int32_t value)2650 inline void CallStackProfile::set_sampling_period_ms(int32_t value) {
2651 _internal_set_sampling_period_ms(value);
2652 // @@protoc_insertion_point(field_set:metrics.CallStackProfile.sampling_period_ms)
2653 }
2654
2655 #ifdef __GNUC__
2656 #pragma GCC diagnostic pop
2657 #endif // __GNUC__
2658 // -------------------------------------------------------------------
2659
2660 // -------------------------------------------------------------------
2661
2662 // -------------------------------------------------------------------
2663
2664 // -------------------------------------------------------------------
2665
2666 // -------------------------------------------------------------------
2667
2668 // -------------------------------------------------------------------
2669
2670 // -------------------------------------------------------------------
2671
2672
2673 // @@protoc_insertion_point(namespace_scope)
2674
2675 } // namespace metrics
2676
2677 // @@protoc_insertion_point(global_scope)
2678
2679 #include <google/protobuf/port_undef.inc>
2680 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_call_5fstack_5fprofile_2eproto
2681