1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: tensorflow/core/profiler/profile.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2fprofile_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2fprofile_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3009000
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 3009002 < 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_table_driven.h>
27#include <google/protobuf/generated_message_util.h>
28#include <google/protobuf/inlined_string_field.h>
29#include <google/protobuf/metadata.h>
30#include <google/protobuf/generated_message_reflection.h>
31#include <google/protobuf/message.h>
32#include <google/protobuf/repeated_field.h> // IWYU pragma: export
33#include <google/protobuf/extension_set.h> // IWYU pragma: export
34#include <google/protobuf/unknown_field_set.h>
35// @@protoc_insertion_point(includes)
36#include <google/protobuf/port_def.inc>
37#define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fprofiler_2fprofile_2eproto
38PROTOBUF_NAMESPACE_OPEN
39namespace internal {
40class AnyMetadata;
41} // namespace internal
42PROTOBUF_NAMESPACE_CLOSE
43
44// Internal implementation detail -- do not use these members.
45struct TableStruct_tensorflow_2fcore_2fprofiler_2fprofile_2eproto {
46 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
47 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
48 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
49 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
50 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[8]
51 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
52 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
53 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
54 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
55};
56extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto;
57namespace tensorflow {
58namespace tfprof {
59namespace pprof {
60class Function;
61class FunctionDefaultTypeInternal;
62extern FunctionDefaultTypeInternal _Function_default_instance_;
63class Label;
64class LabelDefaultTypeInternal;
65extern LabelDefaultTypeInternal _Label_default_instance_;
66class Line;
67class LineDefaultTypeInternal;
68extern LineDefaultTypeInternal _Line_default_instance_;
69class Location;
70class LocationDefaultTypeInternal;
71extern LocationDefaultTypeInternal _Location_default_instance_;
72class Mapping;
73class MappingDefaultTypeInternal;
74extern MappingDefaultTypeInternal _Mapping_default_instance_;
75class Profile;
76class ProfileDefaultTypeInternal;
77extern ProfileDefaultTypeInternal _Profile_default_instance_;
78class Sample;
79class SampleDefaultTypeInternal;
80extern SampleDefaultTypeInternal _Sample_default_instance_;
81class ValueType;
82class ValueTypeDefaultTypeInternal;
83extern ValueTypeDefaultTypeInternal _ValueType_default_instance_;
84} // namespace pprof
85} // namespace tfprof
86} // namespace tensorflow
87PROTOBUF_NAMESPACE_OPEN
88template<> ::tensorflow::tfprof::pprof::Function* Arena::CreateMaybeMessage<::tensorflow::tfprof::pprof::Function>(Arena*);
89template<> ::tensorflow::tfprof::pprof::Label* Arena::CreateMaybeMessage<::tensorflow::tfprof::pprof::Label>(Arena*);
90template<> ::tensorflow::tfprof::pprof::Line* Arena::CreateMaybeMessage<::tensorflow::tfprof::pprof::Line>(Arena*);
91template<> ::tensorflow::tfprof::pprof::Location* Arena::CreateMaybeMessage<::tensorflow::tfprof::pprof::Location>(Arena*);
92template<> ::tensorflow::tfprof::pprof::Mapping* Arena::CreateMaybeMessage<::tensorflow::tfprof::pprof::Mapping>(Arena*);
93template<> ::tensorflow::tfprof::pprof::Profile* Arena::CreateMaybeMessage<::tensorflow::tfprof::pprof::Profile>(Arena*);
94template<> ::tensorflow::tfprof::pprof::Sample* Arena::CreateMaybeMessage<::tensorflow::tfprof::pprof::Sample>(Arena*);
95template<> ::tensorflow::tfprof::pprof::ValueType* Arena::CreateMaybeMessage<::tensorflow::tfprof::pprof::ValueType>(Arena*);
96PROTOBUF_NAMESPACE_CLOSE
97namespace tensorflow {
98namespace tfprof {
99namespace pprof {
100
101// ===================================================================
102
103class Profile :
104 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.pprof.Profile) */ {
105 public:
106 Profile();
107 virtual ~Profile();
108
109 Profile(const Profile& from);
110 Profile(Profile&& from) noexcept
111 : Profile() {
112 *this = ::std::move(from);
113 }
114
115 inline Profile& operator=(const Profile& from) {
116 CopyFrom(from);
117 return *this;
118 }
119 inline Profile& operator=(Profile&& from) noexcept {
120 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
121 if (this != &from) InternalSwap(&from);
122 } else {
123 CopyFrom(from);
124 }
125 return *this;
126 }
127
128 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
129 return GetDescriptor();
130 }
131 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
132 return GetMetadataStatic().descriptor;
133 }
134 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
135 return GetMetadataStatic().reflection;
136 }
137 static const Profile& default_instance();
138
139 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
140 static inline const Profile* internal_default_instance() {
141 return reinterpret_cast<const Profile*>(
142 &_Profile_default_instance_);
143 }
144 static constexpr int kIndexInFileMessages =
145 0;
146
147 friend void swap(Profile& a, Profile& b) {
148 a.Swap(&b);
149 }
150 inline void Swap(Profile* other) {
151 if (other == this) return;
152 InternalSwap(other);
153 }
154
155 // implements Message ----------------------------------------------
156
157 inline Profile* New() const final {
158 return CreateMaybeMessage<Profile>(nullptr);
159 }
160
161 Profile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
162 return CreateMaybeMessage<Profile>(arena);
163 }
164 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
165 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
166 void CopyFrom(const Profile& from);
167 void MergeFrom(const Profile& from);
168 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
169 bool IsInitialized() const final;
170
171 size_t ByteSizeLong() const final;
172 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
173 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
174 #else
175 bool MergePartialFromCodedStream(
176 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
177 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
178 void SerializeWithCachedSizes(
179 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
180 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
181 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
182 int GetCachedSize() const final { return _cached_size_.Get(); }
183
184 private:
185 inline void SharedCtor();
186 inline void SharedDtor();
187 void SetCachedSize(int size) const final;
188 void InternalSwap(Profile* other);
189 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
190 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
191 return "tensorflow.tfprof.pprof.Profile";
192 }
193 private:
194 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
195 return nullptr;
196 }
197 inline void* MaybeArenaPtr() const {
198 return nullptr;
199 }
200 public:
201
202 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
203 private:
204 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
205 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto);
206 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto.file_level_metadata[kIndexInFileMessages];
207 }
208
209 public:
210
211 // nested types ----------------------------------------------------
212
213 // accessors -------------------------------------------------------
214
215 enum : int {
216 kSampleTypeFieldNumber = 1,
217 kSampleFieldNumber = 2,
218 kMappingFieldNumber = 3,
219 kLocationFieldNumber = 4,
220 kFunctionFieldNumber = 5,
221 kStringTableFieldNumber = 6,
222 kCommentFieldNumber = 13,
223 kPeriodTypeFieldNumber = 11,
224 kDropFramesFieldNumber = 7,
225 kKeepFramesFieldNumber = 8,
226 kTimeNanosFieldNumber = 9,
227 kDurationNanosFieldNumber = 10,
228 kPeriodFieldNumber = 12,
229 kDefaultSampleTypeFieldNumber = 14,
230 };
231 // repeated .tensorflow.tfprof.pprof.ValueType sample_type = 1;
232 int sample_type_size() const;
233 void clear_sample_type();
234 ::tensorflow::tfprof::pprof::ValueType* mutable_sample_type(int index);
235 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::ValueType >*
236 mutable_sample_type();
237 const ::tensorflow::tfprof::pprof::ValueType& sample_type(int index) const;
238 ::tensorflow::tfprof::pprof::ValueType* add_sample_type();
239 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::ValueType >&
240 sample_type() const;
241
242 // repeated .tensorflow.tfprof.pprof.Sample sample = 2;
243 int sample_size() const;
244 void clear_sample();
245 ::tensorflow::tfprof::pprof::Sample* mutable_sample(int index);
246 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Sample >*
247 mutable_sample();
248 const ::tensorflow::tfprof::pprof::Sample& sample(int index) const;
249 ::tensorflow::tfprof::pprof::Sample* add_sample();
250 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Sample >&
251 sample() const;
252
253 // repeated .tensorflow.tfprof.pprof.Mapping mapping = 3;
254 int mapping_size() const;
255 void clear_mapping();
256 ::tensorflow::tfprof::pprof::Mapping* mutable_mapping(int index);
257 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Mapping >*
258 mutable_mapping();
259 const ::tensorflow::tfprof::pprof::Mapping& mapping(int index) const;
260 ::tensorflow::tfprof::pprof::Mapping* add_mapping();
261 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Mapping >&
262 mapping() const;
263
264 // repeated .tensorflow.tfprof.pprof.Location location = 4;
265 int location_size() const;
266 void clear_location();
267 ::tensorflow::tfprof::pprof::Location* mutable_location(int index);
268 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Location >*
269 mutable_location();
270 const ::tensorflow::tfprof::pprof::Location& location(int index) const;
271 ::tensorflow::tfprof::pprof::Location* add_location();
272 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Location >&
273 location() const;
274
275 // repeated .tensorflow.tfprof.pprof.Function function = 5;
276 int function_size() const;
277 void clear_function();
278 ::tensorflow::tfprof::pprof::Function* mutable_function(int index);
279 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Function >*
280 mutable_function();
281 const ::tensorflow::tfprof::pprof::Function& function(int index) const;
282 ::tensorflow::tfprof::pprof::Function* add_function();
283 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Function >&
284 function() const;
285
286 // repeated string string_table = 6;
287 int string_table_size() const;
288 void clear_string_table();
289 const std::string& string_table(int index) const;
290 std::string* mutable_string_table(int index);
291 void set_string_table(int index, const std::string& value);
292 void set_string_table(int index, std::string&& value);
293 void set_string_table(int index, const char* value);
294 void set_string_table(int index, const char* value, size_t size);
295 std::string* add_string_table();
296 void add_string_table(const std::string& value);
297 void add_string_table(std::string&& value);
298 void add_string_table(const char* value);
299 void add_string_table(const char* value, size_t size);
300 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& string_table() const;
301 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_string_table();
302
303 // repeated int64 comment = 13;
304 int comment_size() const;
305 void clear_comment();
306 ::PROTOBUF_NAMESPACE_ID::int64 comment(int index) const;
307 void set_comment(int index, ::PROTOBUF_NAMESPACE_ID::int64 value);
308 void add_comment(::PROTOBUF_NAMESPACE_ID::int64 value);
309 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
310 comment() const;
311 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
312 mutable_comment();
313
314 // .tensorflow.tfprof.pprof.ValueType period_type = 11;
315 bool has_period_type() const;
316 void clear_period_type();
317 const ::tensorflow::tfprof::pprof::ValueType& period_type() const;
318 ::tensorflow::tfprof::pprof::ValueType* release_period_type();
319 ::tensorflow::tfprof::pprof::ValueType* mutable_period_type();
320 void set_allocated_period_type(::tensorflow::tfprof::pprof::ValueType* period_type);
321
322 // int64 drop_frames = 7;
323 void clear_drop_frames();
324 ::PROTOBUF_NAMESPACE_ID::int64 drop_frames() const;
325 void set_drop_frames(::PROTOBUF_NAMESPACE_ID::int64 value);
326
327 // int64 keep_frames = 8;
328 void clear_keep_frames();
329 ::PROTOBUF_NAMESPACE_ID::int64 keep_frames() const;
330 void set_keep_frames(::PROTOBUF_NAMESPACE_ID::int64 value);
331
332 // int64 time_nanos = 9;
333 void clear_time_nanos();
334 ::PROTOBUF_NAMESPACE_ID::int64 time_nanos() const;
335 void set_time_nanos(::PROTOBUF_NAMESPACE_ID::int64 value);
336
337 // int64 duration_nanos = 10;
338 void clear_duration_nanos();
339 ::PROTOBUF_NAMESPACE_ID::int64 duration_nanos() const;
340 void set_duration_nanos(::PROTOBUF_NAMESPACE_ID::int64 value);
341
342 // int64 period = 12;
343 void clear_period();
344 ::PROTOBUF_NAMESPACE_ID::int64 period() const;
345 void set_period(::PROTOBUF_NAMESPACE_ID::int64 value);
346
347 // int64 default_sample_type = 14;
348 void clear_default_sample_type();
349 ::PROTOBUF_NAMESPACE_ID::int64 default_sample_type() const;
350 void set_default_sample_type(::PROTOBUF_NAMESPACE_ID::int64 value);
351
352 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.pprof.Profile)
353 private:
354 class _Internal;
355
356 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
357 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::ValueType > sample_type_;
358 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Sample > sample_;
359 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Mapping > mapping_;
360 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Location > location_;
361 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Function > function_;
362 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> string_table_;
363 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > comment_;
364 mutable std::atomic<int> _comment_cached_byte_size_;
365 ::tensorflow::tfprof::pprof::ValueType* period_type_;
366 ::PROTOBUF_NAMESPACE_ID::int64 drop_frames_;
367 ::PROTOBUF_NAMESPACE_ID::int64 keep_frames_;
368 ::PROTOBUF_NAMESPACE_ID::int64 time_nanos_;
369 ::PROTOBUF_NAMESPACE_ID::int64 duration_nanos_;
370 ::PROTOBUF_NAMESPACE_ID::int64 period_;
371 ::PROTOBUF_NAMESPACE_ID::int64 default_sample_type_;
372 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
373 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprofile_2eproto;
374};
375// -------------------------------------------------------------------
376
377class ValueType :
378 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.pprof.ValueType) */ {
379 public:
380 ValueType();
381 virtual ~ValueType();
382
383 ValueType(const ValueType& from);
384 ValueType(ValueType&& from) noexcept
385 : ValueType() {
386 *this = ::std::move(from);
387 }
388
389 inline ValueType& operator=(const ValueType& from) {
390 CopyFrom(from);
391 return *this;
392 }
393 inline ValueType& operator=(ValueType&& from) noexcept {
394 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
395 if (this != &from) InternalSwap(&from);
396 } else {
397 CopyFrom(from);
398 }
399 return *this;
400 }
401
402 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
403 return GetDescriptor();
404 }
405 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
406 return GetMetadataStatic().descriptor;
407 }
408 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
409 return GetMetadataStatic().reflection;
410 }
411 static const ValueType& default_instance();
412
413 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
414 static inline const ValueType* internal_default_instance() {
415 return reinterpret_cast<const ValueType*>(
416 &_ValueType_default_instance_);
417 }
418 static constexpr int kIndexInFileMessages =
419 1;
420
421 friend void swap(ValueType& a, ValueType& b) {
422 a.Swap(&b);
423 }
424 inline void Swap(ValueType* other) {
425 if (other == this) return;
426 InternalSwap(other);
427 }
428
429 // implements Message ----------------------------------------------
430
431 inline ValueType* New() const final {
432 return CreateMaybeMessage<ValueType>(nullptr);
433 }
434
435 ValueType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
436 return CreateMaybeMessage<ValueType>(arena);
437 }
438 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
439 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
440 void CopyFrom(const ValueType& from);
441 void MergeFrom(const ValueType& from);
442 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
443 bool IsInitialized() const final;
444
445 size_t ByteSizeLong() const final;
446 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
447 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
448 #else
449 bool MergePartialFromCodedStream(
450 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
451 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
452 void SerializeWithCachedSizes(
453 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
454 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
455 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
456 int GetCachedSize() const final { return _cached_size_.Get(); }
457
458 private:
459 inline void SharedCtor();
460 inline void SharedDtor();
461 void SetCachedSize(int size) const final;
462 void InternalSwap(ValueType* other);
463 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
464 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
465 return "tensorflow.tfprof.pprof.ValueType";
466 }
467 private:
468 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
469 return nullptr;
470 }
471 inline void* MaybeArenaPtr() const {
472 return nullptr;
473 }
474 public:
475
476 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
477 private:
478 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
479 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto);
480 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto.file_level_metadata[kIndexInFileMessages];
481 }
482
483 public:
484
485 // nested types ----------------------------------------------------
486
487 // accessors -------------------------------------------------------
488
489 enum : int {
490 kTypeFieldNumber = 1,
491 kUnitFieldNumber = 2,
492 };
493 // int64 type = 1;
494 void clear_type();
495 ::PROTOBUF_NAMESPACE_ID::int64 type() const;
496 void set_type(::PROTOBUF_NAMESPACE_ID::int64 value);
497
498 // int64 unit = 2;
499 void clear_unit();
500 ::PROTOBUF_NAMESPACE_ID::int64 unit() const;
501 void set_unit(::PROTOBUF_NAMESPACE_ID::int64 value);
502
503 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.pprof.ValueType)
504 private:
505 class _Internal;
506
507 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
508 ::PROTOBUF_NAMESPACE_ID::int64 type_;
509 ::PROTOBUF_NAMESPACE_ID::int64 unit_;
510 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
511 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprofile_2eproto;
512};
513// -------------------------------------------------------------------
514
515class Sample :
516 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.pprof.Sample) */ {
517 public:
518 Sample();
519 virtual ~Sample();
520
521 Sample(const Sample& from);
522 Sample(Sample&& from) noexcept
523 : Sample() {
524 *this = ::std::move(from);
525 }
526
527 inline Sample& operator=(const Sample& from) {
528 CopyFrom(from);
529 return *this;
530 }
531 inline Sample& operator=(Sample&& from) noexcept {
532 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
533 if (this != &from) InternalSwap(&from);
534 } else {
535 CopyFrom(from);
536 }
537 return *this;
538 }
539
540 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
541 return GetDescriptor();
542 }
543 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
544 return GetMetadataStatic().descriptor;
545 }
546 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
547 return GetMetadataStatic().reflection;
548 }
549 static const Sample& default_instance();
550
551 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
552 static inline const Sample* internal_default_instance() {
553 return reinterpret_cast<const Sample*>(
554 &_Sample_default_instance_);
555 }
556 static constexpr int kIndexInFileMessages =
557 2;
558
559 friend void swap(Sample& a, Sample& b) {
560 a.Swap(&b);
561 }
562 inline void Swap(Sample* other) {
563 if (other == this) return;
564 InternalSwap(other);
565 }
566
567 // implements Message ----------------------------------------------
568
569 inline Sample* New() const final {
570 return CreateMaybeMessage<Sample>(nullptr);
571 }
572
573 Sample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
574 return CreateMaybeMessage<Sample>(arena);
575 }
576 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
577 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
578 void CopyFrom(const Sample& from);
579 void MergeFrom(const Sample& from);
580 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
581 bool IsInitialized() const final;
582
583 size_t ByteSizeLong() const final;
584 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
585 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
586 #else
587 bool MergePartialFromCodedStream(
588 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
589 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
590 void SerializeWithCachedSizes(
591 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
592 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
593 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
594 int GetCachedSize() const final { return _cached_size_.Get(); }
595
596 private:
597 inline void SharedCtor();
598 inline void SharedDtor();
599 void SetCachedSize(int size) const final;
600 void InternalSwap(Sample* other);
601 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
602 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
603 return "tensorflow.tfprof.pprof.Sample";
604 }
605 private:
606 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
607 return nullptr;
608 }
609 inline void* MaybeArenaPtr() const {
610 return nullptr;
611 }
612 public:
613
614 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
615 private:
616 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
617 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto);
618 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto.file_level_metadata[kIndexInFileMessages];
619 }
620
621 public:
622
623 // nested types ----------------------------------------------------
624
625 // accessors -------------------------------------------------------
626
627 enum : int {
628 kLocationIdFieldNumber = 1,
629 kValueFieldNumber = 2,
630 kLabelFieldNumber = 3,
631 };
632 // repeated uint64 location_id = 1;
633 int location_id_size() const;
634 void clear_location_id();
635 ::PROTOBUF_NAMESPACE_ID::uint64 location_id(int index) const;
636 void set_location_id(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value);
637 void add_location_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
638 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >&
639 location_id() const;
640 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >*
641 mutable_location_id();
642
643 // repeated int64 value = 2;
644 int value_size() const;
645 void clear_value();
646 ::PROTOBUF_NAMESPACE_ID::int64 value(int index) const;
647 void set_value(int index, ::PROTOBUF_NAMESPACE_ID::int64 value);
648 void add_value(::PROTOBUF_NAMESPACE_ID::int64 value);
649 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
650 value() const;
651 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
652 mutable_value();
653
654 // repeated .tensorflow.tfprof.pprof.Label label = 3;
655 int label_size() const;
656 void clear_label();
657 ::tensorflow::tfprof::pprof::Label* mutable_label(int index);
658 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Label >*
659 mutable_label();
660 const ::tensorflow::tfprof::pprof::Label& label(int index) const;
661 ::tensorflow::tfprof::pprof::Label* add_label();
662 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Label >&
663 label() const;
664
665 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.pprof.Sample)
666 private:
667 class _Internal;
668
669 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
670 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 > location_id_;
671 mutable std::atomic<int> _location_id_cached_byte_size_;
672 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > value_;
673 mutable std::atomic<int> _value_cached_byte_size_;
674 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Label > label_;
675 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
676 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprofile_2eproto;
677};
678// -------------------------------------------------------------------
679
680class Label :
681 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.pprof.Label) */ {
682 public:
683 Label();
684 virtual ~Label();
685
686 Label(const Label& from);
687 Label(Label&& from) noexcept
688 : Label() {
689 *this = ::std::move(from);
690 }
691
692 inline Label& operator=(const Label& from) {
693 CopyFrom(from);
694 return *this;
695 }
696 inline Label& operator=(Label&& from) noexcept {
697 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
698 if (this != &from) InternalSwap(&from);
699 } else {
700 CopyFrom(from);
701 }
702 return *this;
703 }
704
705 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
706 return GetDescriptor();
707 }
708 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
709 return GetMetadataStatic().descriptor;
710 }
711 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
712 return GetMetadataStatic().reflection;
713 }
714 static const Label& default_instance();
715
716 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
717 static inline const Label* internal_default_instance() {
718 return reinterpret_cast<const Label*>(
719 &_Label_default_instance_);
720 }
721 static constexpr int kIndexInFileMessages =
722 3;
723
724 friend void swap(Label& a, Label& b) {
725 a.Swap(&b);
726 }
727 inline void Swap(Label* other) {
728 if (other == this) return;
729 InternalSwap(other);
730 }
731
732 // implements Message ----------------------------------------------
733
734 inline Label* New() const final {
735 return CreateMaybeMessage<Label>(nullptr);
736 }
737
738 Label* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
739 return CreateMaybeMessage<Label>(arena);
740 }
741 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
742 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
743 void CopyFrom(const Label& from);
744 void MergeFrom(const Label& from);
745 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
746 bool IsInitialized() const final;
747
748 size_t ByteSizeLong() const final;
749 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
750 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
751 #else
752 bool MergePartialFromCodedStream(
753 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
754 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
755 void SerializeWithCachedSizes(
756 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
757 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
758 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
759 int GetCachedSize() const final { return _cached_size_.Get(); }
760
761 private:
762 inline void SharedCtor();
763 inline void SharedDtor();
764 void SetCachedSize(int size) const final;
765 void InternalSwap(Label* other);
766 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
767 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
768 return "tensorflow.tfprof.pprof.Label";
769 }
770 private:
771 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
772 return nullptr;
773 }
774 inline void* MaybeArenaPtr() const {
775 return nullptr;
776 }
777 public:
778
779 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
780 private:
781 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
782 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto);
783 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto.file_level_metadata[kIndexInFileMessages];
784 }
785
786 public:
787
788 // nested types ----------------------------------------------------
789
790 // accessors -------------------------------------------------------
791
792 enum : int {
793 kKeyFieldNumber = 1,
794 kStrFieldNumber = 2,
795 kNumFieldNumber = 3,
796 };
797 // int64 key = 1;
798 void clear_key();
799 ::PROTOBUF_NAMESPACE_ID::int64 key() const;
800 void set_key(::PROTOBUF_NAMESPACE_ID::int64 value);
801
802 // int64 str = 2;
803 void clear_str();
804 ::PROTOBUF_NAMESPACE_ID::int64 str() const;
805 void set_str(::PROTOBUF_NAMESPACE_ID::int64 value);
806
807 // int64 num = 3;
808 void clear_num();
809 ::PROTOBUF_NAMESPACE_ID::int64 num() const;
810 void set_num(::PROTOBUF_NAMESPACE_ID::int64 value);
811
812 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.pprof.Label)
813 private:
814 class _Internal;
815
816 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
817 ::PROTOBUF_NAMESPACE_ID::int64 key_;
818 ::PROTOBUF_NAMESPACE_ID::int64 str_;
819 ::PROTOBUF_NAMESPACE_ID::int64 num_;
820 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
821 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprofile_2eproto;
822};
823// -------------------------------------------------------------------
824
825class Mapping :
826 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.pprof.Mapping) */ {
827 public:
828 Mapping();
829 virtual ~Mapping();
830
831 Mapping(const Mapping& from);
832 Mapping(Mapping&& from) noexcept
833 : Mapping() {
834 *this = ::std::move(from);
835 }
836
837 inline Mapping& operator=(const Mapping& from) {
838 CopyFrom(from);
839 return *this;
840 }
841 inline Mapping& operator=(Mapping&& from) noexcept {
842 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
843 if (this != &from) InternalSwap(&from);
844 } else {
845 CopyFrom(from);
846 }
847 return *this;
848 }
849
850 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
851 return GetDescriptor();
852 }
853 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
854 return GetMetadataStatic().descriptor;
855 }
856 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
857 return GetMetadataStatic().reflection;
858 }
859 static const Mapping& default_instance();
860
861 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
862 static inline const Mapping* internal_default_instance() {
863 return reinterpret_cast<const Mapping*>(
864 &_Mapping_default_instance_);
865 }
866 static constexpr int kIndexInFileMessages =
867 4;
868
869 friend void swap(Mapping& a, Mapping& b) {
870 a.Swap(&b);
871 }
872 inline void Swap(Mapping* other) {
873 if (other == this) return;
874 InternalSwap(other);
875 }
876
877 // implements Message ----------------------------------------------
878
879 inline Mapping* New() const final {
880 return CreateMaybeMessage<Mapping>(nullptr);
881 }
882
883 Mapping* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
884 return CreateMaybeMessage<Mapping>(arena);
885 }
886 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
887 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
888 void CopyFrom(const Mapping& from);
889 void MergeFrom(const Mapping& from);
890 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
891 bool IsInitialized() const final;
892
893 size_t ByteSizeLong() const final;
894 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
895 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
896 #else
897 bool MergePartialFromCodedStream(
898 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
899 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
900 void SerializeWithCachedSizes(
901 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
902 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
903 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
904 int GetCachedSize() const final { return _cached_size_.Get(); }
905
906 private:
907 inline void SharedCtor();
908 inline void SharedDtor();
909 void SetCachedSize(int size) const final;
910 void InternalSwap(Mapping* other);
911 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
912 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
913 return "tensorflow.tfprof.pprof.Mapping";
914 }
915 private:
916 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
917 return nullptr;
918 }
919 inline void* MaybeArenaPtr() const {
920 return nullptr;
921 }
922 public:
923
924 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
925 private:
926 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
927 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto);
928 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto.file_level_metadata[kIndexInFileMessages];
929 }
930
931 public:
932
933 // nested types ----------------------------------------------------
934
935 // accessors -------------------------------------------------------
936
937 enum : int {
938 kIdFieldNumber = 1,
939 kMemoryStartFieldNumber = 2,
940 kMemoryLimitFieldNumber = 3,
941 kFileOffsetFieldNumber = 4,
942 kFilenameFieldNumber = 5,
943 kBuildIdFieldNumber = 6,
944 kHasFunctionsFieldNumber = 7,
945 kHasFilenamesFieldNumber = 8,
946 kHasLineNumbersFieldNumber = 9,
947 kHasInlineFramesFieldNumber = 10,
948 };
949 // uint64 id = 1;
950 void clear_id();
951 ::PROTOBUF_NAMESPACE_ID::uint64 id() const;
952 void set_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
953
954 // uint64 memory_start = 2;
955 void clear_memory_start();
956 ::PROTOBUF_NAMESPACE_ID::uint64 memory_start() const;
957 void set_memory_start(::PROTOBUF_NAMESPACE_ID::uint64 value);
958
959 // uint64 memory_limit = 3;
960 void clear_memory_limit();
961 ::PROTOBUF_NAMESPACE_ID::uint64 memory_limit() const;
962 void set_memory_limit(::PROTOBUF_NAMESPACE_ID::uint64 value);
963
964 // uint64 file_offset = 4;
965 void clear_file_offset();
966 ::PROTOBUF_NAMESPACE_ID::uint64 file_offset() const;
967 void set_file_offset(::PROTOBUF_NAMESPACE_ID::uint64 value);
968
969 // int64 filename = 5;
970 void clear_filename();
971 ::PROTOBUF_NAMESPACE_ID::int64 filename() const;
972 void set_filename(::PROTOBUF_NAMESPACE_ID::int64 value);
973
974 // int64 build_id = 6;
975 void clear_build_id();
976 ::PROTOBUF_NAMESPACE_ID::int64 build_id() const;
977 void set_build_id(::PROTOBUF_NAMESPACE_ID::int64 value);
978
979 // bool has_functions = 7;
980 void clear_has_functions();
981 bool has_functions() const;
982 void set_has_functions(bool value);
983
984 // bool has_filenames = 8;
985 void clear_has_filenames();
986 bool has_filenames() const;
987 void set_has_filenames(bool value);
988
989 // bool has_line_numbers = 9;
990 void clear_has_line_numbers();
991 bool has_line_numbers() const;
992 void set_has_line_numbers(bool value);
993
994 // bool has_inline_frames = 10;
995 void clear_has_inline_frames();
996 bool has_inline_frames() const;
997 void set_has_inline_frames(bool value);
998
999 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.pprof.Mapping)
1000 private:
1001 class _Internal;
1002
1003 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1004 ::PROTOBUF_NAMESPACE_ID::uint64 id_;
1005 ::PROTOBUF_NAMESPACE_ID::uint64 memory_start_;
1006 ::PROTOBUF_NAMESPACE_ID::uint64 memory_limit_;
1007 ::PROTOBUF_NAMESPACE_ID::uint64 file_offset_;
1008 ::PROTOBUF_NAMESPACE_ID::int64 filename_;
1009 ::PROTOBUF_NAMESPACE_ID::int64 build_id_;
1010 bool has_functions_;
1011 bool has_filenames_;
1012 bool has_line_numbers_;
1013 bool has_inline_frames_;
1014 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1015 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprofile_2eproto;
1016};
1017// -------------------------------------------------------------------
1018
1019class Location :
1020 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.pprof.Location) */ {
1021 public:
1022 Location();
1023 virtual ~Location();
1024
1025 Location(const Location& from);
1026 Location(Location&& from) noexcept
1027 : Location() {
1028 *this = ::std::move(from);
1029 }
1030
1031 inline Location& operator=(const Location& from) {
1032 CopyFrom(from);
1033 return *this;
1034 }
1035 inline Location& operator=(Location&& from) noexcept {
1036 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1037 if (this != &from) InternalSwap(&from);
1038 } else {
1039 CopyFrom(from);
1040 }
1041 return *this;
1042 }
1043
1044 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1045 return GetDescriptor();
1046 }
1047 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1048 return GetMetadataStatic().descriptor;
1049 }
1050 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1051 return GetMetadataStatic().reflection;
1052 }
1053 static const Location& default_instance();
1054
1055 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1056 static inline const Location* internal_default_instance() {
1057 return reinterpret_cast<const Location*>(
1058 &_Location_default_instance_);
1059 }
1060 static constexpr int kIndexInFileMessages =
1061 5;
1062
1063 friend void swap(Location& a, Location& b) {
1064 a.Swap(&b);
1065 }
1066 inline void Swap(Location* other) {
1067 if (other == this) return;
1068 InternalSwap(other);
1069 }
1070
1071 // implements Message ----------------------------------------------
1072
1073 inline Location* New() const final {
1074 return CreateMaybeMessage<Location>(nullptr);
1075 }
1076
1077 Location* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1078 return CreateMaybeMessage<Location>(arena);
1079 }
1080 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1081 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1082 void CopyFrom(const Location& from);
1083 void MergeFrom(const Location& from);
1084 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1085 bool IsInitialized() const final;
1086
1087 size_t ByteSizeLong() const final;
1088 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1089 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1090 #else
1091 bool MergePartialFromCodedStream(
1092 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1093 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1094 void SerializeWithCachedSizes(
1095 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1096 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1097 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1098 int GetCachedSize() const final { return _cached_size_.Get(); }
1099
1100 private:
1101 inline void SharedCtor();
1102 inline void SharedDtor();
1103 void SetCachedSize(int size) const final;
1104 void InternalSwap(Location* other);
1105 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1106 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1107 return "tensorflow.tfprof.pprof.Location";
1108 }
1109 private:
1110 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1111 return nullptr;
1112 }
1113 inline void* MaybeArenaPtr() const {
1114 return nullptr;
1115 }
1116 public:
1117
1118 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1119 private:
1120 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1121 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto);
1122 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto.file_level_metadata[kIndexInFileMessages];
1123 }
1124
1125 public:
1126
1127 // nested types ----------------------------------------------------
1128
1129 // accessors -------------------------------------------------------
1130
1131 enum : int {
1132 kLineFieldNumber = 4,
1133 kIdFieldNumber = 1,
1134 kMappingIdFieldNumber = 2,
1135 kAddressFieldNumber = 3,
1136 };
1137 // repeated .tensorflow.tfprof.pprof.Line line = 4;
1138 int line_size() const;
1139 void clear_line();
1140 ::tensorflow::tfprof::pprof::Line* mutable_line(int index);
1141 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Line >*
1142 mutable_line();
1143 const ::tensorflow::tfprof::pprof::Line& line(int index) const;
1144 ::tensorflow::tfprof::pprof::Line* add_line();
1145 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Line >&
1146 line() const;
1147
1148 // uint64 id = 1;
1149 void clear_id();
1150 ::PROTOBUF_NAMESPACE_ID::uint64 id() const;
1151 void set_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
1152
1153 // uint64 mapping_id = 2;
1154 void clear_mapping_id();
1155 ::PROTOBUF_NAMESPACE_ID::uint64 mapping_id() const;
1156 void set_mapping_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
1157
1158 // uint64 address = 3;
1159 void clear_address();
1160 ::PROTOBUF_NAMESPACE_ID::uint64 address() const;
1161 void set_address(::PROTOBUF_NAMESPACE_ID::uint64 value);
1162
1163 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.pprof.Location)
1164 private:
1165 class _Internal;
1166
1167 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1168 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Line > line_;
1169 ::PROTOBUF_NAMESPACE_ID::uint64 id_;
1170 ::PROTOBUF_NAMESPACE_ID::uint64 mapping_id_;
1171 ::PROTOBUF_NAMESPACE_ID::uint64 address_;
1172 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1173 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprofile_2eproto;
1174};
1175// -------------------------------------------------------------------
1176
1177class Line :
1178 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.pprof.Line) */ {
1179 public:
1180 Line();
1181 virtual ~Line();
1182
1183 Line(const Line& from);
1184 Line(Line&& from) noexcept
1185 : Line() {
1186 *this = ::std::move(from);
1187 }
1188
1189 inline Line& operator=(const Line& from) {
1190 CopyFrom(from);
1191 return *this;
1192 }
1193 inline Line& operator=(Line&& from) noexcept {
1194 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1195 if (this != &from) InternalSwap(&from);
1196 } else {
1197 CopyFrom(from);
1198 }
1199 return *this;
1200 }
1201
1202 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1203 return GetDescriptor();
1204 }
1205 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1206 return GetMetadataStatic().descriptor;
1207 }
1208 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1209 return GetMetadataStatic().reflection;
1210 }
1211 static const Line& default_instance();
1212
1213 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1214 static inline const Line* internal_default_instance() {
1215 return reinterpret_cast<const Line*>(
1216 &_Line_default_instance_);
1217 }
1218 static constexpr int kIndexInFileMessages =
1219 6;
1220
1221 friend void swap(Line& a, Line& b) {
1222 a.Swap(&b);
1223 }
1224 inline void Swap(Line* other) {
1225 if (other == this) return;
1226 InternalSwap(other);
1227 }
1228
1229 // implements Message ----------------------------------------------
1230
1231 inline Line* New() const final {
1232 return CreateMaybeMessage<Line>(nullptr);
1233 }
1234
1235 Line* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1236 return CreateMaybeMessage<Line>(arena);
1237 }
1238 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1239 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1240 void CopyFrom(const Line& from);
1241 void MergeFrom(const Line& from);
1242 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1243 bool IsInitialized() const final;
1244
1245 size_t ByteSizeLong() const final;
1246 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1247 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1248 #else
1249 bool MergePartialFromCodedStream(
1250 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1251 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1252 void SerializeWithCachedSizes(
1253 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1254 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1255 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1256 int GetCachedSize() const final { return _cached_size_.Get(); }
1257
1258 private:
1259 inline void SharedCtor();
1260 inline void SharedDtor();
1261 void SetCachedSize(int size) const final;
1262 void InternalSwap(Line* other);
1263 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1264 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1265 return "tensorflow.tfprof.pprof.Line";
1266 }
1267 private:
1268 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1269 return nullptr;
1270 }
1271 inline void* MaybeArenaPtr() const {
1272 return nullptr;
1273 }
1274 public:
1275
1276 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1277 private:
1278 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1279 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto);
1280 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto.file_level_metadata[kIndexInFileMessages];
1281 }
1282
1283 public:
1284
1285 // nested types ----------------------------------------------------
1286
1287 // accessors -------------------------------------------------------
1288
1289 enum : int {
1290 kFunctionIdFieldNumber = 1,
1291 kLineFieldNumber = 2,
1292 };
1293 // uint64 function_id = 1;
1294 void clear_function_id();
1295 ::PROTOBUF_NAMESPACE_ID::uint64 function_id() const;
1296 void set_function_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
1297
1298 // int64 line = 2;
1299 void clear_line();
1300 ::PROTOBUF_NAMESPACE_ID::int64 line() const;
1301 void set_line(::PROTOBUF_NAMESPACE_ID::int64 value);
1302
1303 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.pprof.Line)
1304 private:
1305 class _Internal;
1306
1307 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1308 ::PROTOBUF_NAMESPACE_ID::uint64 function_id_;
1309 ::PROTOBUF_NAMESPACE_ID::int64 line_;
1310 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1311 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprofile_2eproto;
1312};
1313// -------------------------------------------------------------------
1314
1315class Function :
1316 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.pprof.Function) */ {
1317 public:
1318 Function();
1319 virtual ~Function();
1320
1321 Function(const Function& from);
1322 Function(Function&& from) noexcept
1323 : Function() {
1324 *this = ::std::move(from);
1325 }
1326
1327 inline Function& operator=(const Function& from) {
1328 CopyFrom(from);
1329 return *this;
1330 }
1331 inline Function& operator=(Function&& from) noexcept {
1332 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1333 if (this != &from) InternalSwap(&from);
1334 } else {
1335 CopyFrom(from);
1336 }
1337 return *this;
1338 }
1339
1340 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1341 return GetDescriptor();
1342 }
1343 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1344 return GetMetadataStatic().descriptor;
1345 }
1346 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1347 return GetMetadataStatic().reflection;
1348 }
1349 static const Function& default_instance();
1350
1351 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1352 static inline const Function* internal_default_instance() {
1353 return reinterpret_cast<const Function*>(
1354 &_Function_default_instance_);
1355 }
1356 static constexpr int kIndexInFileMessages =
1357 7;
1358
1359 friend void swap(Function& a, Function& b) {
1360 a.Swap(&b);
1361 }
1362 inline void Swap(Function* other) {
1363 if (other == this) return;
1364 InternalSwap(other);
1365 }
1366
1367 // implements Message ----------------------------------------------
1368
1369 inline Function* New() const final {
1370 return CreateMaybeMessage<Function>(nullptr);
1371 }
1372
1373 Function* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1374 return CreateMaybeMessage<Function>(arena);
1375 }
1376 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1377 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1378 void CopyFrom(const Function& from);
1379 void MergeFrom(const Function& from);
1380 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1381 bool IsInitialized() const final;
1382
1383 size_t ByteSizeLong() const final;
1384 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1385 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1386 #else
1387 bool MergePartialFromCodedStream(
1388 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1389 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1390 void SerializeWithCachedSizes(
1391 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1392 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1393 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1394 int GetCachedSize() const final { return _cached_size_.Get(); }
1395
1396 private:
1397 inline void SharedCtor();
1398 inline void SharedDtor();
1399 void SetCachedSize(int size) const final;
1400 void InternalSwap(Function* other);
1401 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1402 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1403 return "tensorflow.tfprof.pprof.Function";
1404 }
1405 private:
1406 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1407 return nullptr;
1408 }
1409 inline void* MaybeArenaPtr() const {
1410 return nullptr;
1411 }
1412 public:
1413
1414 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1415 private:
1416 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1417 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto);
1418 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2fprofile_2eproto.file_level_metadata[kIndexInFileMessages];
1419 }
1420
1421 public:
1422
1423 // nested types ----------------------------------------------------
1424
1425 // accessors -------------------------------------------------------
1426
1427 enum : int {
1428 kIdFieldNumber = 1,
1429 kNameFieldNumber = 2,
1430 kSystemNameFieldNumber = 3,
1431 kFilenameFieldNumber = 4,
1432 kStartLineFieldNumber = 5,
1433 };
1434 // uint64 id = 1;
1435 void clear_id();
1436 ::PROTOBUF_NAMESPACE_ID::uint64 id() const;
1437 void set_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
1438
1439 // int64 name = 2;
1440 void clear_name();
1441 ::PROTOBUF_NAMESPACE_ID::int64 name() const;
1442 void set_name(::PROTOBUF_NAMESPACE_ID::int64 value);
1443
1444 // int64 system_name = 3;
1445 void clear_system_name();
1446 ::PROTOBUF_NAMESPACE_ID::int64 system_name() const;
1447 void set_system_name(::PROTOBUF_NAMESPACE_ID::int64 value);
1448
1449 // int64 filename = 4;
1450 void clear_filename();
1451 ::PROTOBUF_NAMESPACE_ID::int64 filename() const;
1452 void set_filename(::PROTOBUF_NAMESPACE_ID::int64 value);
1453
1454 // int64 start_line = 5;
1455 void clear_start_line();
1456 ::PROTOBUF_NAMESPACE_ID::int64 start_line() const;
1457 void set_start_line(::PROTOBUF_NAMESPACE_ID::int64 value);
1458
1459 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.pprof.Function)
1460 private:
1461 class _Internal;
1462
1463 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1464 ::PROTOBUF_NAMESPACE_ID::uint64 id_;
1465 ::PROTOBUF_NAMESPACE_ID::int64 name_;
1466 ::PROTOBUF_NAMESPACE_ID::int64 system_name_;
1467 ::PROTOBUF_NAMESPACE_ID::int64 filename_;
1468 ::PROTOBUF_NAMESPACE_ID::int64 start_line_;
1469 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1470 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprofile_2eproto;
1471};
1472// ===================================================================
1473
1474
1475// ===================================================================
1476
1477#ifdef __GNUC__
1478 #pragma GCC diagnostic push
1479 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1480#endif // __GNUC__
1481// Profile
1482
1483// repeated .tensorflow.tfprof.pprof.ValueType sample_type = 1;
1484inline int Profile::sample_type_size() const {
1485 return sample_type_.size();
1486}
1487inline void Profile::clear_sample_type() {
1488 sample_type_.Clear();
1489}
1490inline ::tensorflow::tfprof::pprof::ValueType* Profile::mutable_sample_type(int index) {
1491 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.pprof.Profile.sample_type)
1492 return sample_type_.Mutable(index);
1493}
1494inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::ValueType >*
1495Profile::mutable_sample_type() {
1496 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.pprof.Profile.sample_type)
1497 return &sample_type_;
1498}
1499inline const ::tensorflow::tfprof::pprof::ValueType& Profile::sample_type(int index) const {
1500 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Profile.sample_type)
1501 return sample_type_.Get(index);
1502}
1503inline ::tensorflow::tfprof::pprof::ValueType* Profile::add_sample_type() {
1504 // @@protoc_insertion_point(field_add:tensorflow.tfprof.pprof.Profile.sample_type)
1505 return sample_type_.Add();
1506}
1507inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::ValueType >&
1508Profile::sample_type() const {
1509 // @@protoc_insertion_point(field_list:tensorflow.tfprof.pprof.Profile.sample_type)
1510 return sample_type_;
1511}
1512
1513// repeated .tensorflow.tfprof.pprof.Sample sample = 2;
1514inline int Profile::sample_size() const {
1515 return sample_.size();
1516}
1517inline void Profile::clear_sample() {
1518 sample_.Clear();
1519}
1520inline ::tensorflow::tfprof::pprof::Sample* Profile::mutable_sample(int index) {
1521 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.pprof.Profile.sample)
1522 return sample_.Mutable(index);
1523}
1524inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Sample >*
1525Profile::mutable_sample() {
1526 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.pprof.Profile.sample)
1527 return &sample_;
1528}
1529inline const ::tensorflow::tfprof::pprof::Sample& Profile::sample(int index) const {
1530 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Profile.sample)
1531 return sample_.Get(index);
1532}
1533inline ::tensorflow::tfprof::pprof::Sample* Profile::add_sample() {
1534 // @@protoc_insertion_point(field_add:tensorflow.tfprof.pprof.Profile.sample)
1535 return sample_.Add();
1536}
1537inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Sample >&
1538Profile::sample() const {
1539 // @@protoc_insertion_point(field_list:tensorflow.tfprof.pprof.Profile.sample)
1540 return sample_;
1541}
1542
1543// repeated .tensorflow.tfprof.pprof.Mapping mapping = 3;
1544inline int Profile::mapping_size() const {
1545 return mapping_.size();
1546}
1547inline void Profile::clear_mapping() {
1548 mapping_.Clear();
1549}
1550inline ::tensorflow::tfprof::pprof::Mapping* Profile::mutable_mapping(int index) {
1551 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.pprof.Profile.mapping)
1552 return mapping_.Mutable(index);
1553}
1554inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Mapping >*
1555Profile::mutable_mapping() {
1556 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.pprof.Profile.mapping)
1557 return &mapping_;
1558}
1559inline const ::tensorflow::tfprof::pprof::Mapping& Profile::mapping(int index) const {
1560 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Profile.mapping)
1561 return mapping_.Get(index);
1562}
1563inline ::tensorflow::tfprof::pprof::Mapping* Profile::add_mapping() {
1564 // @@protoc_insertion_point(field_add:tensorflow.tfprof.pprof.Profile.mapping)
1565 return mapping_.Add();
1566}
1567inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Mapping >&
1568Profile::mapping() const {
1569 // @@protoc_insertion_point(field_list:tensorflow.tfprof.pprof.Profile.mapping)
1570 return mapping_;
1571}
1572
1573// repeated .tensorflow.tfprof.pprof.Location location = 4;
1574inline int Profile::location_size() const {
1575 return location_.size();
1576}
1577inline void Profile::clear_location() {
1578 location_.Clear();
1579}
1580inline ::tensorflow::tfprof::pprof::Location* Profile::mutable_location(int index) {
1581 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.pprof.Profile.location)
1582 return location_.Mutable(index);
1583}
1584inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Location >*
1585Profile::mutable_location() {
1586 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.pprof.Profile.location)
1587 return &location_;
1588}
1589inline const ::tensorflow::tfprof::pprof::Location& Profile::location(int index) const {
1590 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Profile.location)
1591 return location_.Get(index);
1592}
1593inline ::tensorflow::tfprof::pprof::Location* Profile::add_location() {
1594 // @@protoc_insertion_point(field_add:tensorflow.tfprof.pprof.Profile.location)
1595 return location_.Add();
1596}
1597inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Location >&
1598Profile::location() const {
1599 // @@protoc_insertion_point(field_list:tensorflow.tfprof.pprof.Profile.location)
1600 return location_;
1601}
1602
1603// repeated .tensorflow.tfprof.pprof.Function function = 5;
1604inline int Profile::function_size() const {
1605 return function_.size();
1606}
1607inline void Profile::clear_function() {
1608 function_.Clear();
1609}
1610inline ::tensorflow::tfprof::pprof::Function* Profile::mutable_function(int index) {
1611 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.pprof.Profile.function)
1612 return function_.Mutable(index);
1613}
1614inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Function >*
1615Profile::mutable_function() {
1616 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.pprof.Profile.function)
1617 return &function_;
1618}
1619inline const ::tensorflow::tfprof::pprof::Function& Profile::function(int index) const {
1620 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Profile.function)
1621 return function_.Get(index);
1622}
1623inline ::tensorflow::tfprof::pprof::Function* Profile::add_function() {
1624 // @@protoc_insertion_point(field_add:tensorflow.tfprof.pprof.Profile.function)
1625 return function_.Add();
1626}
1627inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Function >&
1628Profile::function() const {
1629 // @@protoc_insertion_point(field_list:tensorflow.tfprof.pprof.Profile.function)
1630 return function_;
1631}
1632
1633// repeated string string_table = 6;
1634inline int Profile::string_table_size() const {
1635 return string_table_.size();
1636}
1637inline void Profile::clear_string_table() {
1638 string_table_.Clear();
1639}
1640inline const std::string& Profile::string_table(int index) const {
1641 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Profile.string_table)
1642 return string_table_.Get(index);
1643}
1644inline std::string* Profile::mutable_string_table(int index) {
1645 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.pprof.Profile.string_table)
1646 return string_table_.Mutable(index);
1647}
1648inline void Profile::set_string_table(int index, const std::string& value) {
1649 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Profile.string_table)
1650 string_table_.Mutable(index)->assign(value);
1651}
1652inline void Profile::set_string_table(int index, std::string&& value) {
1653 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Profile.string_table)
1654 string_table_.Mutable(index)->assign(std::move(value));
1655}
1656inline void Profile::set_string_table(int index, const char* value) {
1657 GOOGLE_DCHECK(value != nullptr);
1658 string_table_.Mutable(index)->assign(value);
1659 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.pprof.Profile.string_table)
1660}
1661inline void Profile::set_string_table(int index, const char* value, size_t size) {
1662 string_table_.Mutable(index)->assign(
1663 reinterpret_cast<const char*>(value), size);
1664 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.pprof.Profile.string_table)
1665}
1666inline std::string* Profile::add_string_table() {
1667 // @@protoc_insertion_point(field_add_mutable:tensorflow.tfprof.pprof.Profile.string_table)
1668 return string_table_.Add();
1669}
1670inline void Profile::add_string_table(const std::string& value) {
1671 string_table_.Add()->assign(value);
1672 // @@protoc_insertion_point(field_add:tensorflow.tfprof.pprof.Profile.string_table)
1673}
1674inline void Profile::add_string_table(std::string&& value) {
1675 string_table_.Add(std::move(value));
1676 // @@protoc_insertion_point(field_add:tensorflow.tfprof.pprof.Profile.string_table)
1677}
1678inline void Profile::add_string_table(const char* value) {
1679 GOOGLE_DCHECK(value != nullptr);
1680 string_table_.Add()->assign(value);
1681 // @@protoc_insertion_point(field_add_char:tensorflow.tfprof.pprof.Profile.string_table)
1682}
1683inline void Profile::add_string_table(const char* value, size_t size) {
1684 string_table_.Add()->assign(reinterpret_cast<const char*>(value), size);
1685 // @@protoc_insertion_point(field_add_pointer:tensorflow.tfprof.pprof.Profile.string_table)
1686}
1687inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1688Profile::string_table() const {
1689 // @@protoc_insertion_point(field_list:tensorflow.tfprof.pprof.Profile.string_table)
1690 return string_table_;
1691}
1692inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1693Profile::mutable_string_table() {
1694 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.pprof.Profile.string_table)
1695 return &string_table_;
1696}
1697
1698// int64 drop_frames = 7;
1699inline void Profile::clear_drop_frames() {
1700 drop_frames_ = PROTOBUF_LONGLONG(0);
1701}
1702inline ::PROTOBUF_NAMESPACE_ID::int64 Profile::drop_frames() const {
1703 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Profile.drop_frames)
1704 return drop_frames_;
1705}
1706inline void Profile::set_drop_frames(::PROTOBUF_NAMESPACE_ID::int64 value) {
1707
1708 drop_frames_ = value;
1709 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Profile.drop_frames)
1710}
1711
1712// int64 keep_frames = 8;
1713inline void Profile::clear_keep_frames() {
1714 keep_frames_ = PROTOBUF_LONGLONG(0);
1715}
1716inline ::PROTOBUF_NAMESPACE_ID::int64 Profile::keep_frames() const {
1717 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Profile.keep_frames)
1718 return keep_frames_;
1719}
1720inline void Profile::set_keep_frames(::PROTOBUF_NAMESPACE_ID::int64 value) {
1721
1722 keep_frames_ = value;
1723 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Profile.keep_frames)
1724}
1725
1726// int64 time_nanos = 9;
1727inline void Profile::clear_time_nanos() {
1728 time_nanos_ = PROTOBUF_LONGLONG(0);
1729}
1730inline ::PROTOBUF_NAMESPACE_ID::int64 Profile::time_nanos() const {
1731 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Profile.time_nanos)
1732 return time_nanos_;
1733}
1734inline void Profile::set_time_nanos(::PROTOBUF_NAMESPACE_ID::int64 value) {
1735
1736 time_nanos_ = value;
1737 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Profile.time_nanos)
1738}
1739
1740// int64 duration_nanos = 10;
1741inline void Profile::clear_duration_nanos() {
1742 duration_nanos_ = PROTOBUF_LONGLONG(0);
1743}
1744inline ::PROTOBUF_NAMESPACE_ID::int64 Profile::duration_nanos() const {
1745 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Profile.duration_nanos)
1746 return duration_nanos_;
1747}
1748inline void Profile::set_duration_nanos(::PROTOBUF_NAMESPACE_ID::int64 value) {
1749
1750 duration_nanos_ = value;
1751 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Profile.duration_nanos)
1752}
1753
1754// .tensorflow.tfprof.pprof.ValueType period_type = 11;
1755inline bool Profile::has_period_type() const {
1756 return this != internal_default_instance() && period_type_ != nullptr;
1757}
1758inline void Profile::clear_period_type() {
1759 if (GetArenaNoVirtual() == nullptr && period_type_ != nullptr) {
1760 delete period_type_;
1761 }
1762 period_type_ = nullptr;
1763}
1764inline const ::tensorflow::tfprof::pprof::ValueType& Profile::period_type() const {
1765 const ::tensorflow::tfprof::pprof::ValueType* p = period_type_;
1766 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Profile.period_type)
1767 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::tfprof::pprof::ValueType*>(
1768 &::tensorflow::tfprof::pprof::_ValueType_default_instance_);
1769}
1770inline ::tensorflow::tfprof::pprof::ValueType* Profile::release_period_type() {
1771 // @@protoc_insertion_point(field_release:tensorflow.tfprof.pprof.Profile.period_type)
1772
1773 ::tensorflow::tfprof::pprof::ValueType* temp = period_type_;
1774 period_type_ = nullptr;
1775 return temp;
1776}
1777inline ::tensorflow::tfprof::pprof::ValueType* Profile::mutable_period_type() {
1778
1779 if (period_type_ == nullptr) {
1780 auto* p = CreateMaybeMessage<::tensorflow::tfprof::pprof::ValueType>(GetArenaNoVirtual());
1781 period_type_ = p;
1782 }
1783 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.pprof.Profile.period_type)
1784 return period_type_;
1785}
1786inline void Profile::set_allocated_period_type(::tensorflow::tfprof::pprof::ValueType* period_type) {
1787 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
1788 if (message_arena == nullptr) {
1789 delete period_type_;
1790 }
1791 if (period_type) {
1792 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
1793 if (message_arena != submessage_arena) {
1794 period_type = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1795 message_arena, period_type, submessage_arena);
1796 }
1797
1798 } else {
1799
1800 }
1801 period_type_ = period_type;
1802 // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.pprof.Profile.period_type)
1803}
1804
1805// int64 period = 12;
1806inline void Profile::clear_period() {
1807 period_ = PROTOBUF_LONGLONG(0);
1808}
1809inline ::PROTOBUF_NAMESPACE_ID::int64 Profile::period() const {
1810 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Profile.period)
1811 return period_;
1812}
1813inline void Profile::set_period(::PROTOBUF_NAMESPACE_ID::int64 value) {
1814
1815 period_ = value;
1816 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Profile.period)
1817}
1818
1819// repeated int64 comment = 13;
1820inline int Profile::comment_size() const {
1821 return comment_.size();
1822}
1823inline void Profile::clear_comment() {
1824 comment_.Clear();
1825}
1826inline ::PROTOBUF_NAMESPACE_ID::int64 Profile::comment(int index) const {
1827 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Profile.comment)
1828 return comment_.Get(index);
1829}
1830inline void Profile::set_comment(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) {
1831 comment_.Set(index, value);
1832 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Profile.comment)
1833}
1834inline void Profile::add_comment(::PROTOBUF_NAMESPACE_ID::int64 value) {
1835 comment_.Add(value);
1836 // @@protoc_insertion_point(field_add:tensorflow.tfprof.pprof.Profile.comment)
1837}
1838inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
1839Profile::comment() const {
1840 // @@protoc_insertion_point(field_list:tensorflow.tfprof.pprof.Profile.comment)
1841 return comment_;
1842}
1843inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
1844Profile::mutable_comment() {
1845 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.pprof.Profile.comment)
1846 return &comment_;
1847}
1848
1849// int64 default_sample_type = 14;
1850inline void Profile::clear_default_sample_type() {
1851 default_sample_type_ = PROTOBUF_LONGLONG(0);
1852}
1853inline ::PROTOBUF_NAMESPACE_ID::int64 Profile::default_sample_type() const {
1854 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Profile.default_sample_type)
1855 return default_sample_type_;
1856}
1857inline void Profile::set_default_sample_type(::PROTOBUF_NAMESPACE_ID::int64 value) {
1858
1859 default_sample_type_ = value;
1860 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Profile.default_sample_type)
1861}
1862
1863// -------------------------------------------------------------------
1864
1865// ValueType
1866
1867// int64 type = 1;
1868inline void ValueType::clear_type() {
1869 type_ = PROTOBUF_LONGLONG(0);
1870}
1871inline ::PROTOBUF_NAMESPACE_ID::int64 ValueType::type() const {
1872 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.ValueType.type)
1873 return type_;
1874}
1875inline void ValueType::set_type(::PROTOBUF_NAMESPACE_ID::int64 value) {
1876
1877 type_ = value;
1878 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.ValueType.type)
1879}
1880
1881// int64 unit = 2;
1882inline void ValueType::clear_unit() {
1883 unit_ = PROTOBUF_LONGLONG(0);
1884}
1885inline ::PROTOBUF_NAMESPACE_ID::int64 ValueType::unit() const {
1886 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.ValueType.unit)
1887 return unit_;
1888}
1889inline void ValueType::set_unit(::PROTOBUF_NAMESPACE_ID::int64 value) {
1890
1891 unit_ = value;
1892 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.ValueType.unit)
1893}
1894
1895// -------------------------------------------------------------------
1896
1897// Sample
1898
1899// repeated uint64 location_id = 1;
1900inline int Sample::location_id_size() const {
1901 return location_id_.size();
1902}
1903inline void Sample::clear_location_id() {
1904 location_id_.Clear();
1905}
1906inline ::PROTOBUF_NAMESPACE_ID::uint64 Sample::location_id(int index) const {
1907 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Sample.location_id)
1908 return location_id_.Get(index);
1909}
1910inline void Sample::set_location_id(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value) {
1911 location_id_.Set(index, value);
1912 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Sample.location_id)
1913}
1914inline void Sample::add_location_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1915 location_id_.Add(value);
1916 // @@protoc_insertion_point(field_add:tensorflow.tfprof.pprof.Sample.location_id)
1917}
1918inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >&
1919Sample::location_id() const {
1920 // @@protoc_insertion_point(field_list:tensorflow.tfprof.pprof.Sample.location_id)
1921 return location_id_;
1922}
1923inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >*
1924Sample::mutable_location_id() {
1925 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.pprof.Sample.location_id)
1926 return &location_id_;
1927}
1928
1929// repeated int64 value = 2;
1930inline int Sample::value_size() const {
1931 return value_.size();
1932}
1933inline void Sample::clear_value() {
1934 value_.Clear();
1935}
1936inline ::PROTOBUF_NAMESPACE_ID::int64 Sample::value(int index) const {
1937 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Sample.value)
1938 return value_.Get(index);
1939}
1940inline void Sample::set_value(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) {
1941 value_.Set(index, value);
1942 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Sample.value)
1943}
1944inline void Sample::add_value(::PROTOBUF_NAMESPACE_ID::int64 value) {
1945 value_.Add(value);
1946 // @@protoc_insertion_point(field_add:tensorflow.tfprof.pprof.Sample.value)
1947}
1948inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
1949Sample::value() const {
1950 // @@protoc_insertion_point(field_list:tensorflow.tfprof.pprof.Sample.value)
1951 return value_;
1952}
1953inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
1954Sample::mutable_value() {
1955 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.pprof.Sample.value)
1956 return &value_;
1957}
1958
1959// repeated .tensorflow.tfprof.pprof.Label label = 3;
1960inline int Sample::label_size() const {
1961 return label_.size();
1962}
1963inline void Sample::clear_label() {
1964 label_.Clear();
1965}
1966inline ::tensorflow::tfprof::pprof::Label* Sample::mutable_label(int index) {
1967 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.pprof.Sample.label)
1968 return label_.Mutable(index);
1969}
1970inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Label >*
1971Sample::mutable_label() {
1972 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.pprof.Sample.label)
1973 return &label_;
1974}
1975inline const ::tensorflow::tfprof::pprof::Label& Sample::label(int index) const {
1976 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Sample.label)
1977 return label_.Get(index);
1978}
1979inline ::tensorflow::tfprof::pprof::Label* Sample::add_label() {
1980 // @@protoc_insertion_point(field_add:tensorflow.tfprof.pprof.Sample.label)
1981 return label_.Add();
1982}
1983inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Label >&
1984Sample::label() const {
1985 // @@protoc_insertion_point(field_list:tensorflow.tfprof.pprof.Sample.label)
1986 return label_;
1987}
1988
1989// -------------------------------------------------------------------
1990
1991// Label
1992
1993// int64 key = 1;
1994inline void Label::clear_key() {
1995 key_ = PROTOBUF_LONGLONG(0);
1996}
1997inline ::PROTOBUF_NAMESPACE_ID::int64 Label::key() const {
1998 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Label.key)
1999 return key_;
2000}
2001inline void Label::set_key(::PROTOBUF_NAMESPACE_ID::int64 value) {
2002
2003 key_ = value;
2004 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Label.key)
2005}
2006
2007// int64 str = 2;
2008inline void Label::clear_str() {
2009 str_ = PROTOBUF_LONGLONG(0);
2010}
2011inline ::PROTOBUF_NAMESPACE_ID::int64 Label::str() const {
2012 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Label.str)
2013 return str_;
2014}
2015inline void Label::set_str(::PROTOBUF_NAMESPACE_ID::int64 value) {
2016
2017 str_ = value;
2018 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Label.str)
2019}
2020
2021// int64 num = 3;
2022inline void Label::clear_num() {
2023 num_ = PROTOBUF_LONGLONG(0);
2024}
2025inline ::PROTOBUF_NAMESPACE_ID::int64 Label::num() const {
2026 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Label.num)
2027 return num_;
2028}
2029inline void Label::set_num(::PROTOBUF_NAMESPACE_ID::int64 value) {
2030
2031 num_ = value;
2032 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Label.num)
2033}
2034
2035// -------------------------------------------------------------------
2036
2037// Mapping
2038
2039// uint64 id = 1;
2040inline void Mapping::clear_id() {
2041 id_ = PROTOBUF_ULONGLONG(0);
2042}
2043inline ::PROTOBUF_NAMESPACE_ID::uint64 Mapping::id() const {
2044 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Mapping.id)
2045 return id_;
2046}
2047inline void Mapping::set_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
2048
2049 id_ = value;
2050 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Mapping.id)
2051}
2052
2053// uint64 memory_start = 2;
2054inline void Mapping::clear_memory_start() {
2055 memory_start_ = PROTOBUF_ULONGLONG(0);
2056}
2057inline ::PROTOBUF_NAMESPACE_ID::uint64 Mapping::memory_start() const {
2058 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Mapping.memory_start)
2059 return memory_start_;
2060}
2061inline void Mapping::set_memory_start(::PROTOBUF_NAMESPACE_ID::uint64 value) {
2062
2063 memory_start_ = value;
2064 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Mapping.memory_start)
2065}
2066
2067// uint64 memory_limit = 3;
2068inline void Mapping::clear_memory_limit() {
2069 memory_limit_ = PROTOBUF_ULONGLONG(0);
2070}
2071inline ::PROTOBUF_NAMESPACE_ID::uint64 Mapping::memory_limit() const {
2072 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Mapping.memory_limit)
2073 return memory_limit_;
2074}
2075inline void Mapping::set_memory_limit(::PROTOBUF_NAMESPACE_ID::uint64 value) {
2076
2077 memory_limit_ = value;
2078 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Mapping.memory_limit)
2079}
2080
2081// uint64 file_offset = 4;
2082inline void Mapping::clear_file_offset() {
2083 file_offset_ = PROTOBUF_ULONGLONG(0);
2084}
2085inline ::PROTOBUF_NAMESPACE_ID::uint64 Mapping::file_offset() const {
2086 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Mapping.file_offset)
2087 return file_offset_;
2088}
2089inline void Mapping::set_file_offset(::PROTOBUF_NAMESPACE_ID::uint64 value) {
2090
2091 file_offset_ = value;
2092 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Mapping.file_offset)
2093}
2094
2095// int64 filename = 5;
2096inline void Mapping::clear_filename() {
2097 filename_ = PROTOBUF_LONGLONG(0);
2098}
2099inline ::PROTOBUF_NAMESPACE_ID::int64 Mapping::filename() const {
2100 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Mapping.filename)
2101 return filename_;
2102}
2103inline void Mapping::set_filename(::PROTOBUF_NAMESPACE_ID::int64 value) {
2104
2105 filename_ = value;
2106 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Mapping.filename)
2107}
2108
2109// int64 build_id = 6;
2110inline void Mapping::clear_build_id() {
2111 build_id_ = PROTOBUF_LONGLONG(0);
2112}
2113inline ::PROTOBUF_NAMESPACE_ID::int64 Mapping::build_id() const {
2114 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Mapping.build_id)
2115 return build_id_;
2116}
2117inline void Mapping::set_build_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
2118
2119 build_id_ = value;
2120 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Mapping.build_id)
2121}
2122
2123// bool has_functions = 7;
2124inline void Mapping::clear_has_functions() {
2125 has_functions_ = false;
2126}
2127inline bool Mapping::has_functions() const {
2128 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Mapping.has_functions)
2129 return has_functions_;
2130}
2131inline void Mapping::set_has_functions(bool value) {
2132
2133 has_functions_ = value;
2134 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Mapping.has_functions)
2135}
2136
2137// bool has_filenames = 8;
2138inline void Mapping::clear_has_filenames() {
2139 has_filenames_ = false;
2140}
2141inline bool Mapping::has_filenames() const {
2142 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Mapping.has_filenames)
2143 return has_filenames_;
2144}
2145inline void Mapping::set_has_filenames(bool value) {
2146
2147 has_filenames_ = value;
2148 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Mapping.has_filenames)
2149}
2150
2151// bool has_line_numbers = 9;
2152inline void Mapping::clear_has_line_numbers() {
2153 has_line_numbers_ = false;
2154}
2155inline bool Mapping::has_line_numbers() const {
2156 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Mapping.has_line_numbers)
2157 return has_line_numbers_;
2158}
2159inline void Mapping::set_has_line_numbers(bool value) {
2160
2161 has_line_numbers_ = value;
2162 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Mapping.has_line_numbers)
2163}
2164
2165// bool has_inline_frames = 10;
2166inline void Mapping::clear_has_inline_frames() {
2167 has_inline_frames_ = false;
2168}
2169inline bool Mapping::has_inline_frames() const {
2170 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Mapping.has_inline_frames)
2171 return has_inline_frames_;
2172}
2173inline void Mapping::set_has_inline_frames(bool value) {
2174
2175 has_inline_frames_ = value;
2176 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Mapping.has_inline_frames)
2177}
2178
2179// -------------------------------------------------------------------
2180
2181// Location
2182
2183// uint64 id = 1;
2184inline void Location::clear_id() {
2185 id_ = PROTOBUF_ULONGLONG(0);
2186}
2187inline ::PROTOBUF_NAMESPACE_ID::uint64 Location::id() const {
2188 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Location.id)
2189 return id_;
2190}
2191inline void Location::set_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
2192
2193 id_ = value;
2194 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Location.id)
2195}
2196
2197// uint64 mapping_id = 2;
2198inline void Location::clear_mapping_id() {
2199 mapping_id_ = PROTOBUF_ULONGLONG(0);
2200}
2201inline ::PROTOBUF_NAMESPACE_ID::uint64 Location::mapping_id() const {
2202 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Location.mapping_id)
2203 return mapping_id_;
2204}
2205inline void Location::set_mapping_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
2206
2207 mapping_id_ = value;
2208 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Location.mapping_id)
2209}
2210
2211// uint64 address = 3;
2212inline void Location::clear_address() {
2213 address_ = PROTOBUF_ULONGLONG(0);
2214}
2215inline ::PROTOBUF_NAMESPACE_ID::uint64 Location::address() const {
2216 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Location.address)
2217 return address_;
2218}
2219inline void Location::set_address(::PROTOBUF_NAMESPACE_ID::uint64 value) {
2220
2221 address_ = value;
2222 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Location.address)
2223}
2224
2225// repeated .tensorflow.tfprof.pprof.Line line = 4;
2226inline int Location::line_size() const {
2227 return line_.size();
2228}
2229inline void Location::clear_line() {
2230 line_.Clear();
2231}
2232inline ::tensorflow::tfprof::pprof::Line* Location::mutable_line(int index) {
2233 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.pprof.Location.line)
2234 return line_.Mutable(index);
2235}
2236inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Line >*
2237Location::mutable_line() {
2238 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.pprof.Location.line)
2239 return &line_;
2240}
2241inline const ::tensorflow::tfprof::pprof::Line& Location::line(int index) const {
2242 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Location.line)
2243 return line_.Get(index);
2244}
2245inline ::tensorflow::tfprof::pprof::Line* Location::add_line() {
2246 // @@protoc_insertion_point(field_add:tensorflow.tfprof.pprof.Location.line)
2247 return line_.Add();
2248}
2249inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::pprof::Line >&
2250Location::line() const {
2251 // @@protoc_insertion_point(field_list:tensorflow.tfprof.pprof.Location.line)
2252 return line_;
2253}
2254
2255// -------------------------------------------------------------------
2256
2257// Line
2258
2259// uint64 function_id = 1;
2260inline void Line::clear_function_id() {
2261 function_id_ = PROTOBUF_ULONGLONG(0);
2262}
2263inline ::PROTOBUF_NAMESPACE_ID::uint64 Line::function_id() const {
2264 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Line.function_id)
2265 return function_id_;
2266}
2267inline void Line::set_function_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
2268
2269 function_id_ = value;
2270 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Line.function_id)
2271}
2272
2273// int64 line = 2;
2274inline void Line::clear_line() {
2275 line_ = PROTOBUF_LONGLONG(0);
2276}
2277inline ::PROTOBUF_NAMESPACE_ID::int64 Line::line() const {
2278 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Line.line)
2279 return line_;
2280}
2281inline void Line::set_line(::PROTOBUF_NAMESPACE_ID::int64 value) {
2282
2283 line_ = value;
2284 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Line.line)
2285}
2286
2287// -------------------------------------------------------------------
2288
2289// Function
2290
2291// uint64 id = 1;
2292inline void Function::clear_id() {
2293 id_ = PROTOBUF_ULONGLONG(0);
2294}
2295inline ::PROTOBUF_NAMESPACE_ID::uint64 Function::id() const {
2296 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Function.id)
2297 return id_;
2298}
2299inline void Function::set_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
2300
2301 id_ = value;
2302 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Function.id)
2303}
2304
2305// int64 name = 2;
2306inline void Function::clear_name() {
2307 name_ = PROTOBUF_LONGLONG(0);
2308}
2309inline ::PROTOBUF_NAMESPACE_ID::int64 Function::name() const {
2310 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Function.name)
2311 return name_;
2312}
2313inline void Function::set_name(::PROTOBUF_NAMESPACE_ID::int64 value) {
2314
2315 name_ = value;
2316 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Function.name)
2317}
2318
2319// int64 system_name = 3;
2320inline void Function::clear_system_name() {
2321 system_name_ = PROTOBUF_LONGLONG(0);
2322}
2323inline ::PROTOBUF_NAMESPACE_ID::int64 Function::system_name() const {
2324 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Function.system_name)
2325 return system_name_;
2326}
2327inline void Function::set_system_name(::PROTOBUF_NAMESPACE_ID::int64 value) {
2328
2329 system_name_ = value;
2330 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Function.system_name)
2331}
2332
2333// int64 filename = 4;
2334inline void Function::clear_filename() {
2335 filename_ = PROTOBUF_LONGLONG(0);
2336}
2337inline ::PROTOBUF_NAMESPACE_ID::int64 Function::filename() const {
2338 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Function.filename)
2339 return filename_;
2340}
2341inline void Function::set_filename(::PROTOBUF_NAMESPACE_ID::int64 value) {
2342
2343 filename_ = value;
2344 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Function.filename)
2345}
2346
2347// int64 start_line = 5;
2348inline void Function::clear_start_line() {
2349 start_line_ = PROTOBUF_LONGLONG(0);
2350}
2351inline ::PROTOBUF_NAMESPACE_ID::int64 Function::start_line() const {
2352 // @@protoc_insertion_point(field_get:tensorflow.tfprof.pprof.Function.start_line)
2353 return start_line_;
2354}
2355inline void Function::set_start_line(::PROTOBUF_NAMESPACE_ID::int64 value) {
2356
2357 start_line_ = value;
2358 // @@protoc_insertion_point(field_set:tensorflow.tfprof.pprof.Function.start_line)
2359}
2360
2361#ifdef __GNUC__
2362 #pragma GCC diagnostic pop
2363#endif // __GNUC__
2364// -------------------------------------------------------------------
2365
2366// -------------------------------------------------------------------
2367
2368// -------------------------------------------------------------------
2369
2370// -------------------------------------------------------------------
2371
2372// -------------------------------------------------------------------
2373
2374// -------------------------------------------------------------------
2375
2376// -------------------------------------------------------------------
2377
2378
2379// @@protoc_insertion_point(namespace_scope)
2380
2381} // namespace pprof
2382} // namespace tfprof
2383} // namespace tensorflow
2384
2385// @@protoc_insertion_point(global_scope)
2386
2387#include <google/protobuf/port_undef.inc>
2388#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2fprofile_2eproto
2389