1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: tensorflow/core/profiler/tfprof_log.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_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/map.h> // IWYU pragma: export
35#include <google/protobuf/map_entry.h>
36#include <google/protobuf/map_field_inl.h>
37#include <google/protobuf/unknown_field_set.h>
38#include "tensorflow/core/framework/attr_value.pb.h"
39#include "tensorflow/core/framework/step_stats.pb.h"
40// @@protoc_insertion_point(includes)
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto
43PROTOBUF_NAMESPACE_OPEN
44namespace internal {
45class AnyMetadata;
46} // namespace internal
47PROTOBUF_NAMESPACE_CLOSE
48
49// Internal implementation detail -- do not use these members.
50struct TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto {
51 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
52 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
53 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
54 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
55 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[24]
56 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
57 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
58 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
59 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
60};
61extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto;
62namespace tensorflow {
63namespace tfprof {
64class CodeDef;
65class CodeDefDefaultTypeInternal;
66extern CodeDefDefaultTypeInternal _CodeDef_default_instance_;
67class CodeDef_Trace;
68class CodeDef_TraceDefaultTypeInternal;
69extern CodeDef_TraceDefaultTypeInternal _CodeDef_Trace_default_instance_;
70class ExecMemory;
71class ExecMemoryDefaultTypeInternal;
72extern ExecMemoryDefaultTypeInternal _ExecMemory_default_instance_;
73class ExecMemory_OutputMemoryEntry_DoNotUse;
74class ExecMemory_OutputMemoryEntry_DoNotUseDefaultTypeInternal;
75extern ExecMemory_OutputMemoryEntry_DoNotUseDefaultTypeInternal _ExecMemory_OutputMemoryEntry_DoNotUse_default_instance_;
76class ExecProfile;
77class ExecProfileDefaultTypeInternal;
78extern ExecProfileDefaultTypeInternal _ExecProfile_default_instance_;
79class ExecProfile_AcceleratorExecsEntry_DoNotUse;
80class ExecProfile_AcceleratorExecsEntry_DoNotUseDefaultTypeInternal;
81extern ExecProfile_AcceleratorExecsEntry_DoNotUseDefaultTypeInternal _ExecProfile_AcceleratorExecsEntry_DoNotUse_default_instance_;
82class ExecProfile_CpuExecsEntry_DoNotUse;
83class ExecProfile_CpuExecsEntry_DoNotUseDefaultTypeInternal;
84extern ExecProfile_CpuExecsEntry_DoNotUseDefaultTypeInternal _ExecProfile_CpuExecsEntry_DoNotUse_default_instance_;
85class ExecTime;
86class ExecTimeDefaultTypeInternal;
87extern ExecTimeDefaultTypeInternal _ExecTime_default_instance_;
88class Memory;
89class MemoryDefaultTypeInternal;
90extern MemoryDefaultTypeInternal _Memory_default_instance_;
91class OpLogEntry;
92class OpLogEntryDefaultTypeInternal;
93extern OpLogEntryDefaultTypeInternal _OpLogEntry_default_instance_;
94class OpLogProto;
95class OpLogProtoDefaultTypeInternal;
96extern OpLogProtoDefaultTypeInternal _OpLogProto_default_instance_;
97class OpLogProto_IdToStringEntry_DoNotUse;
98class OpLogProto_IdToStringEntry_DoNotUseDefaultTypeInternal;
99extern OpLogProto_IdToStringEntry_DoNotUseDefaultTypeInternal _OpLogProto_IdToStringEntry_DoNotUse_default_instance_;
100class ProfileNode;
101class ProfileNodeDefaultTypeInternal;
102extern ProfileNodeDefaultTypeInternal _ProfileNode_default_instance_;
103class ProfileNode_AttrsEntry_DoNotUse;
104class ProfileNode_AttrsEntry_DoNotUseDefaultTypeInternal;
105extern ProfileNode_AttrsEntry_DoNotUseDefaultTypeInternal _ProfileNode_AttrsEntry_DoNotUse_default_instance_;
106class ProfileNode_ExecsEntry_DoNotUse;
107class ProfileNode_ExecsEntry_DoNotUseDefaultTypeInternal;
108extern ProfileNode_ExecsEntry_DoNotUseDefaultTypeInternal _ProfileNode_ExecsEntry_DoNotUse_default_instance_;
109class ProfileNode_InputShapesEntry_DoNotUse;
110class ProfileNode_InputShapesEntry_DoNotUseDefaultTypeInternal;
111extern ProfileNode_InputShapesEntry_DoNotUseDefaultTypeInternal _ProfileNode_InputShapesEntry_DoNotUse_default_instance_;
112class ProfileNode_InputsEntry_DoNotUse;
113class ProfileNode_InputsEntry_DoNotUseDefaultTypeInternal;
114extern ProfileNode_InputsEntry_DoNotUseDefaultTypeInternal _ProfileNode_InputsEntry_DoNotUse_default_instance_;
115class ProfileNode_OutputShapesEntry_DoNotUse;
116class ProfileNode_OutputShapesEntry_DoNotUseDefaultTypeInternal;
117extern ProfileNode_OutputShapesEntry_DoNotUseDefaultTypeInternal _ProfileNode_OutputShapesEntry_DoNotUse_default_instance_;
118class ProfileNode_OutputsEntry_DoNotUse;
119class ProfileNode_OutputsEntry_DoNotUseDefaultTypeInternal;
120extern ProfileNode_OutputsEntry_DoNotUseDefaultTypeInternal _ProfileNode_OutputsEntry_DoNotUse_default_instance_;
121class ProfileNode_SrcOutputIndexEntry_DoNotUse;
122class ProfileNode_SrcOutputIndexEntry_DoNotUseDefaultTypeInternal;
123extern ProfileNode_SrcOutputIndexEntry_DoNotUseDefaultTypeInternal _ProfileNode_SrcOutputIndexEntry_DoNotUse_default_instance_;
124class ProfileProto;
125class ProfileProtoDefaultTypeInternal;
126extern ProfileProtoDefaultTypeInternal _ProfileProto_default_instance_;
127class ProfileProto_IdToStringEntry_DoNotUse;
128class ProfileProto_IdToStringEntry_DoNotUseDefaultTypeInternal;
129extern ProfileProto_IdToStringEntry_DoNotUseDefaultTypeInternal _ProfileProto_IdToStringEntry_DoNotUse_default_instance_;
130class ProfileProto_NodesEntry_DoNotUse;
131class ProfileProto_NodesEntry_DoNotUseDefaultTypeInternal;
132extern ProfileProto_NodesEntry_DoNotUseDefaultTypeInternal _ProfileProto_NodesEntry_DoNotUse_default_instance_;
133class Tuple;
134class TupleDefaultTypeInternal;
135extern TupleDefaultTypeInternal _Tuple_default_instance_;
136} // namespace tfprof
137} // namespace tensorflow
138PROTOBUF_NAMESPACE_OPEN
139template<> ::tensorflow::tfprof::CodeDef* Arena::CreateMaybeMessage<::tensorflow::tfprof::CodeDef>(Arena*);
140template<> ::tensorflow::tfprof::CodeDef_Trace* Arena::CreateMaybeMessage<::tensorflow::tfprof::CodeDef_Trace>(Arena*);
141template<> ::tensorflow::tfprof::ExecMemory* Arena::CreateMaybeMessage<::tensorflow::tfprof::ExecMemory>(Arena*);
142template<> ::tensorflow::tfprof::ExecMemory_OutputMemoryEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::ExecMemory_OutputMemoryEntry_DoNotUse>(Arena*);
143template<> ::tensorflow::tfprof::ExecProfile* Arena::CreateMaybeMessage<::tensorflow::tfprof::ExecProfile>(Arena*);
144template<> ::tensorflow::tfprof::ExecProfile_AcceleratorExecsEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::ExecProfile_AcceleratorExecsEntry_DoNotUse>(Arena*);
145template<> ::tensorflow::tfprof::ExecProfile_CpuExecsEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::ExecProfile_CpuExecsEntry_DoNotUse>(Arena*);
146template<> ::tensorflow::tfprof::ExecTime* Arena::CreateMaybeMessage<::tensorflow::tfprof::ExecTime>(Arena*);
147template<> ::tensorflow::tfprof::Memory* Arena::CreateMaybeMessage<::tensorflow::tfprof::Memory>(Arena*);
148template<> ::tensorflow::tfprof::OpLogEntry* Arena::CreateMaybeMessage<::tensorflow::tfprof::OpLogEntry>(Arena*);
149template<> ::tensorflow::tfprof::OpLogProto* Arena::CreateMaybeMessage<::tensorflow::tfprof::OpLogProto>(Arena*);
150template<> ::tensorflow::tfprof::OpLogProto_IdToStringEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::OpLogProto_IdToStringEntry_DoNotUse>(Arena*);
151template<> ::tensorflow::tfprof::ProfileNode* Arena::CreateMaybeMessage<::tensorflow::tfprof::ProfileNode>(Arena*);
152template<> ::tensorflow::tfprof::ProfileNode_AttrsEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::ProfileNode_AttrsEntry_DoNotUse>(Arena*);
153template<> ::tensorflow::tfprof::ProfileNode_ExecsEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::ProfileNode_ExecsEntry_DoNotUse>(Arena*);
154template<> ::tensorflow::tfprof::ProfileNode_InputShapesEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::ProfileNode_InputShapesEntry_DoNotUse>(Arena*);
155template<> ::tensorflow::tfprof::ProfileNode_InputsEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::ProfileNode_InputsEntry_DoNotUse>(Arena*);
156template<> ::tensorflow::tfprof::ProfileNode_OutputShapesEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::ProfileNode_OutputShapesEntry_DoNotUse>(Arena*);
157template<> ::tensorflow::tfprof::ProfileNode_OutputsEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::ProfileNode_OutputsEntry_DoNotUse>(Arena*);
158template<> ::tensorflow::tfprof::ProfileNode_SrcOutputIndexEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::ProfileNode_SrcOutputIndexEntry_DoNotUse>(Arena*);
159template<> ::tensorflow::tfprof::ProfileProto* Arena::CreateMaybeMessage<::tensorflow::tfprof::ProfileProto>(Arena*);
160template<> ::tensorflow::tfprof::ProfileProto_IdToStringEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::ProfileProto_IdToStringEntry_DoNotUse>(Arena*);
161template<> ::tensorflow::tfprof::ProfileProto_NodesEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::ProfileProto_NodesEntry_DoNotUse>(Arena*);
162template<> ::tensorflow::tfprof::Tuple* Arena::CreateMaybeMessage<::tensorflow::tfprof::Tuple>(Arena*);
163PROTOBUF_NAMESPACE_CLOSE
164namespace tensorflow {
165namespace tfprof {
166
167// ===================================================================
168
169class CodeDef_Trace :
170 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.CodeDef.Trace) */ {
171 public:
172 CodeDef_Trace();
173 virtual ~CodeDef_Trace();
174
175 CodeDef_Trace(const CodeDef_Trace& from);
176 CodeDef_Trace(CodeDef_Trace&& from) noexcept
177 : CodeDef_Trace() {
178 *this = ::std::move(from);
179 }
180
181 inline CodeDef_Trace& operator=(const CodeDef_Trace& from) {
182 CopyFrom(from);
183 return *this;
184 }
185 inline CodeDef_Trace& operator=(CodeDef_Trace&& from) noexcept {
186 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
187 if (this != &from) InternalSwap(&from);
188 } else {
189 CopyFrom(from);
190 }
191 return *this;
192 }
193
194 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
195 return GetDescriptor();
196 }
197 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
198 return GetMetadataStatic().descriptor;
199 }
200 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
201 return GetMetadataStatic().reflection;
202 }
203 static const CodeDef_Trace& default_instance();
204
205 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
206 static inline const CodeDef_Trace* internal_default_instance() {
207 return reinterpret_cast<const CodeDef_Trace*>(
208 &_CodeDef_Trace_default_instance_);
209 }
210 static constexpr int kIndexInFileMessages =
211 0;
212
213 friend void swap(CodeDef_Trace& a, CodeDef_Trace& b) {
214 a.Swap(&b);
215 }
216 inline void Swap(CodeDef_Trace* other) {
217 if (other == this) return;
218 InternalSwap(other);
219 }
220
221 // implements Message ----------------------------------------------
222
223 inline CodeDef_Trace* New() const final {
224 return CreateMaybeMessage<CodeDef_Trace>(nullptr);
225 }
226
227 CodeDef_Trace* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
228 return CreateMaybeMessage<CodeDef_Trace>(arena);
229 }
230 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
231 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
232 void CopyFrom(const CodeDef_Trace& from);
233 void MergeFrom(const CodeDef_Trace& from);
234 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
235 bool IsInitialized() const final;
236
237 size_t ByteSizeLong() const final;
238 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
239 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
240 #else
241 bool MergePartialFromCodedStream(
242 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
243 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
244 void SerializeWithCachedSizes(
245 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
246 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
247 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
248 int GetCachedSize() const final { return _cached_size_.Get(); }
249
250 private:
251 inline void SharedCtor();
252 inline void SharedDtor();
253 void SetCachedSize(int size) const final;
254 void InternalSwap(CodeDef_Trace* other);
255 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
256 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
257 return "tensorflow.tfprof.CodeDef.Trace";
258 }
259 private:
260 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
261 return nullptr;
262 }
263 inline void* MaybeArenaPtr() const {
264 return nullptr;
265 }
266 public:
267
268 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
269 private:
270 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
271 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
272 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[kIndexInFileMessages];
273 }
274
275 public:
276
277 // nested types ----------------------------------------------------
278
279 // accessors -------------------------------------------------------
280
281 enum : int {
282 kFileFieldNumber = 1,
283 kFunctionFieldNumber = 3,
284 kLineFieldNumber = 4,
285 kLinenoFieldNumber = 2,
286 kFuncStartLineFieldNumber = 5,
287 kFileIdFieldNumber = 6,
288 kFunctionIdFieldNumber = 7,
289 kLineIdFieldNumber = 8,
290 };
291 // string file = 1 [deprecated = true];
292 PROTOBUF_DEPRECATED void clear_file();
293 PROTOBUF_DEPRECATED const std::string& file() const;
294 PROTOBUF_DEPRECATED void set_file(const std::string& value);
295 PROTOBUF_DEPRECATED void set_file(std::string&& value);
296 PROTOBUF_DEPRECATED void set_file(const char* value);
297 PROTOBUF_DEPRECATED void set_file(const char* value, size_t size);
298 PROTOBUF_DEPRECATED std::string* mutable_file();
299 PROTOBUF_DEPRECATED std::string* release_file();
300 PROTOBUF_DEPRECATED void set_allocated_file(std::string* file);
301
302 // string function = 3 [deprecated = true];
303 PROTOBUF_DEPRECATED void clear_function();
304 PROTOBUF_DEPRECATED const std::string& function() const;
305 PROTOBUF_DEPRECATED void set_function(const std::string& value);
306 PROTOBUF_DEPRECATED void set_function(std::string&& value);
307 PROTOBUF_DEPRECATED void set_function(const char* value);
308 PROTOBUF_DEPRECATED void set_function(const char* value, size_t size);
309 PROTOBUF_DEPRECATED std::string* mutable_function();
310 PROTOBUF_DEPRECATED std::string* release_function();
311 PROTOBUF_DEPRECATED void set_allocated_function(std::string* function);
312
313 // string line = 4 [deprecated = true];
314 PROTOBUF_DEPRECATED void clear_line();
315 PROTOBUF_DEPRECATED const std::string& line() const;
316 PROTOBUF_DEPRECATED void set_line(const std::string& value);
317 PROTOBUF_DEPRECATED void set_line(std::string&& value);
318 PROTOBUF_DEPRECATED void set_line(const char* value);
319 PROTOBUF_DEPRECATED void set_line(const char* value, size_t size);
320 PROTOBUF_DEPRECATED std::string* mutable_line();
321 PROTOBUF_DEPRECATED std::string* release_line();
322 PROTOBUF_DEPRECATED void set_allocated_line(std::string* line);
323
324 // int32 lineno = 2;
325 void clear_lineno();
326 ::PROTOBUF_NAMESPACE_ID::int32 lineno() const;
327 void set_lineno(::PROTOBUF_NAMESPACE_ID::int32 value);
328
329 // int32 func_start_line = 5;
330 void clear_func_start_line();
331 ::PROTOBUF_NAMESPACE_ID::int32 func_start_line() const;
332 void set_func_start_line(::PROTOBUF_NAMESPACE_ID::int32 value);
333
334 // int64 file_id = 6;
335 void clear_file_id();
336 ::PROTOBUF_NAMESPACE_ID::int64 file_id() const;
337 void set_file_id(::PROTOBUF_NAMESPACE_ID::int64 value);
338
339 // int64 function_id = 7;
340 void clear_function_id();
341 ::PROTOBUF_NAMESPACE_ID::int64 function_id() const;
342 void set_function_id(::PROTOBUF_NAMESPACE_ID::int64 value);
343
344 // int64 line_id = 8;
345 void clear_line_id();
346 ::PROTOBUF_NAMESPACE_ID::int64 line_id() const;
347 void set_line_id(::PROTOBUF_NAMESPACE_ID::int64 value);
348
349 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.CodeDef.Trace)
350 private:
351 class _Internal;
352
353 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
354 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_;
355 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr function_;
356 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr line_;
357 ::PROTOBUF_NAMESPACE_ID::int32 lineno_;
358 ::PROTOBUF_NAMESPACE_ID::int32 func_start_line_;
359 ::PROTOBUF_NAMESPACE_ID::int64 file_id_;
360 ::PROTOBUF_NAMESPACE_ID::int64 function_id_;
361 ::PROTOBUF_NAMESPACE_ID::int64 line_id_;
362 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
363 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto;
364};
365// -------------------------------------------------------------------
366
367class CodeDef :
368 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.CodeDef) */ {
369 public:
370 CodeDef();
371 virtual ~CodeDef();
372
373 CodeDef(const CodeDef& from);
374 CodeDef(CodeDef&& from) noexcept
375 : CodeDef() {
376 *this = ::std::move(from);
377 }
378
379 inline CodeDef& operator=(const CodeDef& from) {
380 CopyFrom(from);
381 return *this;
382 }
383 inline CodeDef& operator=(CodeDef&& from) noexcept {
384 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
385 if (this != &from) InternalSwap(&from);
386 } else {
387 CopyFrom(from);
388 }
389 return *this;
390 }
391
392 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
393 return GetDescriptor();
394 }
395 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
396 return GetMetadataStatic().descriptor;
397 }
398 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
399 return GetMetadataStatic().reflection;
400 }
401 static const CodeDef& default_instance();
402
403 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
404 static inline const CodeDef* internal_default_instance() {
405 return reinterpret_cast<const CodeDef*>(
406 &_CodeDef_default_instance_);
407 }
408 static constexpr int kIndexInFileMessages =
409 1;
410
411 friend void swap(CodeDef& a, CodeDef& b) {
412 a.Swap(&b);
413 }
414 inline void Swap(CodeDef* other) {
415 if (other == this) return;
416 InternalSwap(other);
417 }
418
419 // implements Message ----------------------------------------------
420
421 inline CodeDef* New() const final {
422 return CreateMaybeMessage<CodeDef>(nullptr);
423 }
424
425 CodeDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
426 return CreateMaybeMessage<CodeDef>(arena);
427 }
428 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
429 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
430 void CopyFrom(const CodeDef& from);
431 void MergeFrom(const CodeDef& from);
432 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
433 bool IsInitialized() const final;
434
435 size_t ByteSizeLong() const final;
436 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
437 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
438 #else
439 bool MergePartialFromCodedStream(
440 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
441 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
442 void SerializeWithCachedSizes(
443 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
444 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
445 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
446 int GetCachedSize() const final { return _cached_size_.Get(); }
447
448 private:
449 inline void SharedCtor();
450 inline void SharedDtor();
451 void SetCachedSize(int size) const final;
452 void InternalSwap(CodeDef* other);
453 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
454 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
455 return "tensorflow.tfprof.CodeDef";
456 }
457 private:
458 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
459 return nullptr;
460 }
461 inline void* MaybeArenaPtr() const {
462 return nullptr;
463 }
464 public:
465
466 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
467 private:
468 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
469 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
470 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[kIndexInFileMessages];
471 }
472
473 public:
474
475 // nested types ----------------------------------------------------
476
477 typedef CodeDef_Trace Trace;
478
479 // accessors -------------------------------------------------------
480
481 enum : int {
482 kTracesFieldNumber = 1,
483 };
484 // repeated .tensorflow.tfprof.CodeDef.Trace traces = 1;
485 int traces_size() const;
486 void clear_traces();
487 ::tensorflow::tfprof::CodeDef_Trace* mutable_traces(int index);
488 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::CodeDef_Trace >*
489 mutable_traces();
490 const ::tensorflow::tfprof::CodeDef_Trace& traces(int index) const;
491 ::tensorflow::tfprof::CodeDef_Trace* add_traces();
492 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::CodeDef_Trace >&
493 traces() const;
494
495 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.CodeDef)
496 private:
497 class _Internal;
498
499 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
500 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::CodeDef_Trace > traces_;
501 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
502 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto;
503};
504// -------------------------------------------------------------------
505
506class OpLogEntry :
507 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.OpLogEntry) */ {
508 public:
509 OpLogEntry();
510 virtual ~OpLogEntry();
511
512 OpLogEntry(const OpLogEntry& from);
513 OpLogEntry(OpLogEntry&& from) noexcept
514 : OpLogEntry() {
515 *this = ::std::move(from);
516 }
517
518 inline OpLogEntry& operator=(const OpLogEntry& from) {
519 CopyFrom(from);
520 return *this;
521 }
522 inline OpLogEntry& operator=(OpLogEntry&& from) noexcept {
523 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
524 if (this != &from) InternalSwap(&from);
525 } else {
526 CopyFrom(from);
527 }
528 return *this;
529 }
530
531 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
532 return GetDescriptor();
533 }
534 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
535 return GetMetadataStatic().descriptor;
536 }
537 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
538 return GetMetadataStatic().reflection;
539 }
540 static const OpLogEntry& default_instance();
541
542 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
543 static inline const OpLogEntry* internal_default_instance() {
544 return reinterpret_cast<const OpLogEntry*>(
545 &_OpLogEntry_default_instance_);
546 }
547 static constexpr int kIndexInFileMessages =
548 2;
549
550 friend void swap(OpLogEntry& a, OpLogEntry& b) {
551 a.Swap(&b);
552 }
553 inline void Swap(OpLogEntry* other) {
554 if (other == this) return;
555 InternalSwap(other);
556 }
557
558 // implements Message ----------------------------------------------
559
560 inline OpLogEntry* New() const final {
561 return CreateMaybeMessage<OpLogEntry>(nullptr);
562 }
563
564 OpLogEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
565 return CreateMaybeMessage<OpLogEntry>(arena);
566 }
567 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
568 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
569 void CopyFrom(const OpLogEntry& from);
570 void MergeFrom(const OpLogEntry& from);
571 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
572 bool IsInitialized() const final;
573
574 size_t ByteSizeLong() const final;
575 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
576 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
577 #else
578 bool MergePartialFromCodedStream(
579 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
580 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
581 void SerializeWithCachedSizes(
582 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
583 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
584 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
585 int GetCachedSize() const final { return _cached_size_.Get(); }
586
587 private:
588 inline void SharedCtor();
589 inline void SharedDtor();
590 void SetCachedSize(int size) const final;
591 void InternalSwap(OpLogEntry* other);
592 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
593 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
594 return "tensorflow.tfprof.OpLogEntry";
595 }
596 private:
597 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
598 return nullptr;
599 }
600 inline void* MaybeArenaPtr() const {
601 return nullptr;
602 }
603 public:
604
605 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
606 private:
607 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
608 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
609 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[kIndexInFileMessages];
610 }
611
612 public:
613
614 // nested types ----------------------------------------------------
615
616 // accessors -------------------------------------------------------
617
618 enum : int {
619 kTypesFieldNumber = 3,
620 kNameFieldNumber = 1,
621 kCodeDefFieldNumber = 4,
622 kFloatOpsFieldNumber = 2,
623 };
624 // repeated string types = 3;
625 int types_size() const;
626 void clear_types();
627 const std::string& types(int index) const;
628 std::string* mutable_types(int index);
629 void set_types(int index, const std::string& value);
630 void set_types(int index, std::string&& value);
631 void set_types(int index, const char* value);
632 void set_types(int index, const char* value, size_t size);
633 std::string* add_types();
634 void add_types(const std::string& value);
635 void add_types(std::string&& value);
636 void add_types(const char* value);
637 void add_types(const char* value, size_t size);
638 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& types() const;
639 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_types();
640
641 // string name = 1;
642 void clear_name();
643 const std::string& name() const;
644 void set_name(const std::string& value);
645 void set_name(std::string&& value);
646 void set_name(const char* value);
647 void set_name(const char* value, size_t size);
648 std::string* mutable_name();
649 std::string* release_name();
650 void set_allocated_name(std::string* name);
651
652 // .tensorflow.tfprof.CodeDef code_def = 4;
653 bool has_code_def() const;
654 void clear_code_def();
655 const ::tensorflow::tfprof::CodeDef& code_def() const;
656 ::tensorflow::tfprof::CodeDef* release_code_def();
657 ::tensorflow::tfprof::CodeDef* mutable_code_def();
658 void set_allocated_code_def(::tensorflow::tfprof::CodeDef* code_def);
659
660 // int64 float_ops = 2;
661 void clear_float_ops();
662 ::PROTOBUF_NAMESPACE_ID::int64 float_ops() const;
663 void set_float_ops(::PROTOBUF_NAMESPACE_ID::int64 value);
664
665 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.OpLogEntry)
666 private:
667 class _Internal;
668
669 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
670 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> types_;
671 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
672 ::tensorflow::tfprof::CodeDef* code_def_;
673 ::PROTOBUF_NAMESPACE_ID::int64 float_ops_;
674 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
675 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto;
676};
677// -------------------------------------------------------------------
678
679class OpLogProto_IdToStringEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<OpLogProto_IdToStringEntry_DoNotUse,
680 ::PROTOBUF_NAMESPACE_ID::int64, std::string,
681 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
682 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
683 0 > {
684public:
685 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<OpLogProto_IdToStringEntry_DoNotUse,
686 ::PROTOBUF_NAMESPACE_ID::int64, std::string,
687 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
688 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
689 0 > SuperType;
690 OpLogProto_IdToStringEntry_DoNotUse();
691 OpLogProto_IdToStringEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
692 void MergeFrom(const OpLogProto_IdToStringEntry_DoNotUse& other);
693 static const OpLogProto_IdToStringEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const OpLogProto_IdToStringEntry_DoNotUse*>(&_OpLogProto_IdToStringEntry_DoNotUse_default_instance_); }
694 static bool ValidateKey(void*) { return true; }
695 static bool ValidateValue(std::string* s) {
696 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.tfprof.OpLogProto.IdToStringEntry.value");
697 }
698 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
699 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
700 private:
701 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
702 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
703 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[3];
704 }
705
706 public:
707};
708
709// -------------------------------------------------------------------
710
711class OpLogProto :
712 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.OpLogProto) */ {
713 public:
714 OpLogProto();
715 virtual ~OpLogProto();
716
717 OpLogProto(const OpLogProto& from);
718 OpLogProto(OpLogProto&& from) noexcept
719 : OpLogProto() {
720 *this = ::std::move(from);
721 }
722
723 inline OpLogProto& operator=(const OpLogProto& from) {
724 CopyFrom(from);
725 return *this;
726 }
727 inline OpLogProto& operator=(OpLogProto&& from) noexcept {
728 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
729 if (this != &from) InternalSwap(&from);
730 } else {
731 CopyFrom(from);
732 }
733 return *this;
734 }
735
736 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
737 return GetDescriptor();
738 }
739 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
740 return GetMetadataStatic().descriptor;
741 }
742 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
743 return GetMetadataStatic().reflection;
744 }
745 static const OpLogProto& default_instance();
746
747 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
748 static inline const OpLogProto* internal_default_instance() {
749 return reinterpret_cast<const OpLogProto*>(
750 &_OpLogProto_default_instance_);
751 }
752 static constexpr int kIndexInFileMessages =
753 4;
754
755 friend void swap(OpLogProto& a, OpLogProto& b) {
756 a.Swap(&b);
757 }
758 inline void Swap(OpLogProto* other) {
759 if (other == this) return;
760 InternalSwap(other);
761 }
762
763 // implements Message ----------------------------------------------
764
765 inline OpLogProto* New() const final {
766 return CreateMaybeMessage<OpLogProto>(nullptr);
767 }
768
769 OpLogProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
770 return CreateMaybeMessage<OpLogProto>(arena);
771 }
772 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
773 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
774 void CopyFrom(const OpLogProto& from);
775 void MergeFrom(const OpLogProto& from);
776 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
777 bool IsInitialized() const final;
778
779 size_t ByteSizeLong() const final;
780 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
781 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
782 #else
783 bool MergePartialFromCodedStream(
784 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
785 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
786 void SerializeWithCachedSizes(
787 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
788 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
789 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
790 int GetCachedSize() const final { return _cached_size_.Get(); }
791
792 private:
793 inline void SharedCtor();
794 inline void SharedDtor();
795 void SetCachedSize(int size) const final;
796 void InternalSwap(OpLogProto* other);
797 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
798 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
799 return "tensorflow.tfprof.OpLogProto";
800 }
801 private:
802 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
803 return nullptr;
804 }
805 inline void* MaybeArenaPtr() const {
806 return nullptr;
807 }
808 public:
809
810 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
811 private:
812 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
813 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
814 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[kIndexInFileMessages];
815 }
816
817 public:
818
819 // nested types ----------------------------------------------------
820
821
822 // accessors -------------------------------------------------------
823
824 enum : int {
825 kLogEntriesFieldNumber = 1,
826 kIdToStringFieldNumber = 2,
827 };
828 // repeated .tensorflow.tfprof.OpLogEntry log_entries = 1;
829 int log_entries_size() const;
830 void clear_log_entries();
831 ::tensorflow::tfprof::OpLogEntry* mutable_log_entries(int index);
832 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::OpLogEntry >*
833 mutable_log_entries();
834 const ::tensorflow::tfprof::OpLogEntry& log_entries(int index) const;
835 ::tensorflow::tfprof::OpLogEntry* add_log_entries();
836 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::OpLogEntry >&
837 log_entries() const;
838
839 // map<int64, string> id_to_string = 2;
840 int id_to_string_size() const;
841 void clear_id_to_string();
842 const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, std::string >&
843 id_to_string() const;
844 ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, std::string >*
845 mutable_id_to_string();
846
847 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.OpLogProto)
848 private:
849 class _Internal;
850
851 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
852 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::OpLogEntry > log_entries_;
853 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
854 OpLogProto_IdToStringEntry_DoNotUse,
855 ::PROTOBUF_NAMESPACE_ID::int64, std::string,
856 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
857 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
858 0 > id_to_string_;
859 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
860 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto;
861};
862// -------------------------------------------------------------------
863
864class ProfileProto_NodesEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileProto_NodesEntry_DoNotUse,
865 ::PROTOBUF_NAMESPACE_ID::int64, ::tensorflow::tfprof::ProfileNode,
866 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
867 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
868 0 > {
869public:
870 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileProto_NodesEntry_DoNotUse,
871 ::PROTOBUF_NAMESPACE_ID::int64, ::tensorflow::tfprof::ProfileNode,
872 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
873 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
874 0 > SuperType;
875 ProfileProto_NodesEntry_DoNotUse();
876 ProfileProto_NodesEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
877 void MergeFrom(const ProfileProto_NodesEntry_DoNotUse& other);
878 static const ProfileProto_NodesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ProfileProto_NodesEntry_DoNotUse*>(&_ProfileProto_NodesEntry_DoNotUse_default_instance_); }
879 static bool ValidateKey(void*) { return true; }
880 static bool ValidateValue(void*) { return true; }
881 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
882 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
883 private:
884 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
885 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
886 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[5];
887 }
888
889 public:
890};
891
892// -------------------------------------------------------------------
893
894class ProfileProto_IdToStringEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileProto_IdToStringEntry_DoNotUse,
895 ::PROTOBUF_NAMESPACE_ID::int64, std::string,
896 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
897 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
898 0 > {
899public:
900 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileProto_IdToStringEntry_DoNotUse,
901 ::PROTOBUF_NAMESPACE_ID::int64, std::string,
902 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
903 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
904 0 > SuperType;
905 ProfileProto_IdToStringEntry_DoNotUse();
906 ProfileProto_IdToStringEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
907 void MergeFrom(const ProfileProto_IdToStringEntry_DoNotUse& other);
908 static const ProfileProto_IdToStringEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ProfileProto_IdToStringEntry_DoNotUse*>(&_ProfileProto_IdToStringEntry_DoNotUse_default_instance_); }
909 static bool ValidateKey(void*) { return true; }
910 static bool ValidateValue(std::string* s) {
911 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.tfprof.ProfileProto.IdToStringEntry.value");
912 }
913 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
914 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
915 private:
916 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
917 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
918 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[6];
919 }
920
921 public:
922};
923
924// -------------------------------------------------------------------
925
926class ProfileProto :
927 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.ProfileProto) */ {
928 public:
929 ProfileProto();
930 virtual ~ProfileProto();
931
932 ProfileProto(const ProfileProto& from);
933 ProfileProto(ProfileProto&& from) noexcept
934 : ProfileProto() {
935 *this = ::std::move(from);
936 }
937
938 inline ProfileProto& operator=(const ProfileProto& from) {
939 CopyFrom(from);
940 return *this;
941 }
942 inline ProfileProto& operator=(ProfileProto&& from) noexcept {
943 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
944 if (this != &from) InternalSwap(&from);
945 } else {
946 CopyFrom(from);
947 }
948 return *this;
949 }
950
951 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
952 return GetDescriptor();
953 }
954 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
955 return GetMetadataStatic().descriptor;
956 }
957 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
958 return GetMetadataStatic().reflection;
959 }
960 static const ProfileProto& default_instance();
961
962 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
963 static inline const ProfileProto* internal_default_instance() {
964 return reinterpret_cast<const ProfileProto*>(
965 &_ProfileProto_default_instance_);
966 }
967 static constexpr int kIndexInFileMessages =
968 7;
969
970 friend void swap(ProfileProto& a, ProfileProto& b) {
971 a.Swap(&b);
972 }
973 inline void Swap(ProfileProto* other) {
974 if (other == this) return;
975 InternalSwap(other);
976 }
977
978 // implements Message ----------------------------------------------
979
980 inline ProfileProto* New() const final {
981 return CreateMaybeMessage<ProfileProto>(nullptr);
982 }
983
984 ProfileProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
985 return CreateMaybeMessage<ProfileProto>(arena);
986 }
987 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
988 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
989 void CopyFrom(const ProfileProto& from);
990 void MergeFrom(const ProfileProto& from);
991 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
992 bool IsInitialized() const final;
993
994 size_t ByteSizeLong() const final;
995 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
996 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
997 #else
998 bool MergePartialFromCodedStream(
999 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1000 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1001 void SerializeWithCachedSizes(
1002 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1003 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1004 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1005 int GetCachedSize() const final { return _cached_size_.Get(); }
1006
1007 private:
1008 inline void SharedCtor();
1009 inline void SharedDtor();
1010 void SetCachedSize(int size) const final;
1011 void InternalSwap(ProfileProto* other);
1012 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1013 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1014 return "tensorflow.tfprof.ProfileProto";
1015 }
1016 private:
1017 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1018 return nullptr;
1019 }
1020 inline void* MaybeArenaPtr() const {
1021 return nullptr;
1022 }
1023 public:
1024
1025 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1026 private:
1027 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1028 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
1029 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[kIndexInFileMessages];
1030 }
1031
1032 public:
1033
1034 // nested types ----------------------------------------------------
1035
1036
1037 // accessors -------------------------------------------------------
1038
1039 enum : int {
1040 kNodesFieldNumber = 1,
1041 kStepsFieldNumber = 3,
1042 kIdToStringFieldNumber = 4,
1043 kHasTraceFieldNumber = 2,
1044 kMissAcceleratorStreamFieldNumber = 5,
1045 };
1046 // map<int64, .tensorflow.tfprof.ProfileNode> nodes = 1;
1047 int nodes_size() const;
1048 void clear_nodes();
1049 const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, ::tensorflow::tfprof::ProfileNode >&
1050 nodes() const;
1051 ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, ::tensorflow::tfprof::ProfileNode >*
1052 mutable_nodes();
1053
1054 // repeated int64 steps = 3;
1055 int steps_size() const;
1056 void clear_steps();
1057 ::PROTOBUF_NAMESPACE_ID::int64 steps(int index) const;
1058 void set_steps(int index, ::PROTOBUF_NAMESPACE_ID::int64 value);
1059 void add_steps(::PROTOBUF_NAMESPACE_ID::int64 value);
1060 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
1061 steps() const;
1062 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
1063 mutable_steps();
1064
1065 // map<int64, string> id_to_string = 4;
1066 int id_to_string_size() const;
1067 void clear_id_to_string();
1068 const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, std::string >&
1069 id_to_string() const;
1070 ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, std::string >*
1071 mutable_id_to_string();
1072
1073 // bool has_trace = 2;
1074 void clear_has_trace();
1075 bool has_trace() const;
1076 void set_has_trace(bool value);
1077
1078 // bool miss_accelerator_stream = 5;
1079 void clear_miss_accelerator_stream();
1080 bool miss_accelerator_stream() const;
1081 void set_miss_accelerator_stream(bool value);
1082
1083 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.ProfileProto)
1084 private:
1085 class _Internal;
1086
1087 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1088 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
1089 ProfileProto_NodesEntry_DoNotUse,
1090 ::PROTOBUF_NAMESPACE_ID::int64, ::tensorflow::tfprof::ProfileNode,
1091 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
1092 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1093 0 > nodes_;
1094 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > steps_;
1095 mutable std::atomic<int> _steps_cached_byte_size_;
1096 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
1097 ProfileProto_IdToStringEntry_DoNotUse,
1098 ::PROTOBUF_NAMESPACE_ID::int64, std::string,
1099 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
1100 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1101 0 > id_to_string_;
1102 bool has_trace_;
1103 bool miss_accelerator_stream_;
1104 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1105 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto;
1106};
1107// -------------------------------------------------------------------
1108
1109class ProfileNode_InputsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileNode_InputsEntry_DoNotUse,
1110 ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::int64,
1111 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
1112 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
1113 0 > {
1114public:
1115 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileNode_InputsEntry_DoNotUse,
1116 ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::int64,
1117 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
1118 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
1119 0 > SuperType;
1120 ProfileNode_InputsEntry_DoNotUse();
1121 ProfileNode_InputsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1122 void MergeFrom(const ProfileNode_InputsEntry_DoNotUse& other);
1123 static const ProfileNode_InputsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ProfileNode_InputsEntry_DoNotUse*>(&_ProfileNode_InputsEntry_DoNotUse_default_instance_); }
1124 static bool ValidateKey(void*) { return true; }
1125 static bool ValidateValue(void*) { return true; }
1126 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
1127 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1128 private:
1129 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1130 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
1131 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[8];
1132 }
1133
1134 public:
1135};
1136
1137// -------------------------------------------------------------------
1138
1139class ProfileNode_InputShapesEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileNode_InputShapesEntry_DoNotUse,
1140 ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Tuple,
1141 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
1142 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1143 0 > {
1144public:
1145 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileNode_InputShapesEntry_DoNotUse,
1146 ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Tuple,
1147 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
1148 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1149 0 > SuperType;
1150 ProfileNode_InputShapesEntry_DoNotUse();
1151 ProfileNode_InputShapesEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1152 void MergeFrom(const ProfileNode_InputShapesEntry_DoNotUse& other);
1153 static const ProfileNode_InputShapesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ProfileNode_InputShapesEntry_DoNotUse*>(&_ProfileNode_InputShapesEntry_DoNotUse_default_instance_); }
1154 static bool ValidateKey(void*) { return true; }
1155 static bool ValidateValue(void*) { return true; }
1156 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
1157 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1158 private:
1159 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1160 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
1161 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[9];
1162 }
1163
1164 public:
1165};
1166
1167// -------------------------------------------------------------------
1168
1169class ProfileNode_OutputsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileNode_OutputsEntry_DoNotUse,
1170 ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::int64,
1171 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
1172 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
1173 0 > {
1174public:
1175 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileNode_OutputsEntry_DoNotUse,
1176 ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::int64,
1177 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
1178 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
1179 0 > SuperType;
1180 ProfileNode_OutputsEntry_DoNotUse();
1181 ProfileNode_OutputsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1182 void MergeFrom(const ProfileNode_OutputsEntry_DoNotUse& other);
1183 static const ProfileNode_OutputsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ProfileNode_OutputsEntry_DoNotUse*>(&_ProfileNode_OutputsEntry_DoNotUse_default_instance_); }
1184 static bool ValidateKey(void*) { return true; }
1185 static bool ValidateValue(void*) { return true; }
1186 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
1187 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1188 private:
1189 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1190 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
1191 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[10];
1192 }
1193
1194 public:
1195};
1196
1197// -------------------------------------------------------------------
1198
1199class ProfileNode_OutputShapesEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileNode_OutputShapesEntry_DoNotUse,
1200 ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Tuple,
1201 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
1202 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1203 0 > {
1204public:
1205 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileNode_OutputShapesEntry_DoNotUse,
1206 ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Tuple,
1207 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
1208 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1209 0 > SuperType;
1210 ProfileNode_OutputShapesEntry_DoNotUse();
1211 ProfileNode_OutputShapesEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1212 void MergeFrom(const ProfileNode_OutputShapesEntry_DoNotUse& other);
1213 static const ProfileNode_OutputShapesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ProfileNode_OutputShapesEntry_DoNotUse*>(&_ProfileNode_OutputShapesEntry_DoNotUse_default_instance_); }
1214 static bool ValidateKey(void*) { return true; }
1215 static bool ValidateValue(void*) { return true; }
1216 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
1217 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1218 private:
1219 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1220 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
1221 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[11];
1222 }
1223
1224 public:
1225};
1226
1227// -------------------------------------------------------------------
1228
1229class ProfileNode_SrcOutputIndexEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileNode_SrcOutputIndexEntry_DoNotUse,
1230 ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::int32,
1231 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
1232 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
1233 0 > {
1234public:
1235 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileNode_SrcOutputIndexEntry_DoNotUse,
1236 ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::int32,
1237 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
1238 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
1239 0 > SuperType;
1240 ProfileNode_SrcOutputIndexEntry_DoNotUse();
1241 ProfileNode_SrcOutputIndexEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1242 void MergeFrom(const ProfileNode_SrcOutputIndexEntry_DoNotUse& other);
1243 static const ProfileNode_SrcOutputIndexEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ProfileNode_SrcOutputIndexEntry_DoNotUse*>(&_ProfileNode_SrcOutputIndexEntry_DoNotUse_default_instance_); }
1244 static bool ValidateKey(void*) { return true; }
1245 static bool ValidateValue(void*) { return true; }
1246 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
1247 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1248 private:
1249 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1250 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
1251 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[12];
1252 }
1253
1254 public:
1255};
1256
1257// -------------------------------------------------------------------
1258
1259class ProfileNode_AttrsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileNode_AttrsEntry_DoNotUse,
1260 std::string, ::tensorflow::AttrValue,
1261 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1262 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1263 0 > {
1264public:
1265 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileNode_AttrsEntry_DoNotUse,
1266 std::string, ::tensorflow::AttrValue,
1267 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1268 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1269 0 > SuperType;
1270 ProfileNode_AttrsEntry_DoNotUse();
1271 ProfileNode_AttrsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1272 void MergeFrom(const ProfileNode_AttrsEntry_DoNotUse& other);
1273 static const ProfileNode_AttrsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ProfileNode_AttrsEntry_DoNotUse*>(&_ProfileNode_AttrsEntry_DoNotUse_default_instance_); }
1274 static bool ValidateKey(std::string* s) {
1275 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.tfprof.ProfileNode.AttrsEntry.key");
1276 }
1277 static bool ValidateValue(void*) { return true; }
1278 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
1279 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1280 private:
1281 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1282 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
1283 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[13];
1284 }
1285
1286 public:
1287};
1288
1289// -------------------------------------------------------------------
1290
1291class ProfileNode_ExecsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileNode_ExecsEntry_DoNotUse,
1292 ::PROTOBUF_NAMESPACE_ID::int64, ::tensorflow::tfprof::ExecProfile,
1293 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
1294 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1295 0 > {
1296public:
1297 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ProfileNode_ExecsEntry_DoNotUse,
1298 ::PROTOBUF_NAMESPACE_ID::int64, ::tensorflow::tfprof::ExecProfile,
1299 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
1300 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1301 0 > SuperType;
1302 ProfileNode_ExecsEntry_DoNotUse();
1303 ProfileNode_ExecsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1304 void MergeFrom(const ProfileNode_ExecsEntry_DoNotUse& other);
1305 static const ProfileNode_ExecsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ProfileNode_ExecsEntry_DoNotUse*>(&_ProfileNode_ExecsEntry_DoNotUse_default_instance_); }
1306 static bool ValidateKey(void*) { return true; }
1307 static bool ValidateValue(void*) { return true; }
1308 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
1309 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1310 private:
1311 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1312 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
1313 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[14];
1314 }
1315
1316 public:
1317};
1318
1319// -------------------------------------------------------------------
1320
1321class ProfileNode :
1322 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.ProfileNode) */ {
1323 public:
1324 ProfileNode();
1325 virtual ~ProfileNode();
1326
1327 ProfileNode(const ProfileNode& from);
1328 ProfileNode(ProfileNode&& from) noexcept
1329 : ProfileNode() {
1330 *this = ::std::move(from);
1331 }
1332
1333 inline ProfileNode& operator=(const ProfileNode& from) {
1334 CopyFrom(from);
1335 return *this;
1336 }
1337 inline ProfileNode& operator=(ProfileNode&& from) noexcept {
1338 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1339 if (this != &from) InternalSwap(&from);
1340 } else {
1341 CopyFrom(from);
1342 }
1343 return *this;
1344 }
1345
1346 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1347 return GetDescriptor();
1348 }
1349 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1350 return GetMetadataStatic().descriptor;
1351 }
1352 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1353 return GetMetadataStatic().reflection;
1354 }
1355 static const ProfileNode& default_instance();
1356
1357 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1358 static inline const ProfileNode* internal_default_instance() {
1359 return reinterpret_cast<const ProfileNode*>(
1360 &_ProfileNode_default_instance_);
1361 }
1362 static constexpr int kIndexInFileMessages =
1363 15;
1364
1365 friend void swap(ProfileNode& a, ProfileNode& b) {
1366 a.Swap(&b);
1367 }
1368 inline void Swap(ProfileNode* other) {
1369 if (other == this) return;
1370 InternalSwap(other);
1371 }
1372
1373 // implements Message ----------------------------------------------
1374
1375 inline ProfileNode* New() const final {
1376 return CreateMaybeMessage<ProfileNode>(nullptr);
1377 }
1378
1379 ProfileNode* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1380 return CreateMaybeMessage<ProfileNode>(arena);
1381 }
1382 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1383 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1384 void CopyFrom(const ProfileNode& from);
1385 void MergeFrom(const ProfileNode& from);
1386 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1387 bool IsInitialized() const final;
1388
1389 size_t ByteSizeLong() const final;
1390 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1391 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1392 #else
1393 bool MergePartialFromCodedStream(
1394 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1395 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1396 void SerializeWithCachedSizes(
1397 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1398 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1399 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1400 int GetCachedSize() const final { return _cached_size_.Get(); }
1401
1402 private:
1403 inline void SharedCtor();
1404 inline void SharedDtor();
1405 void SetCachedSize(int size) const final;
1406 void InternalSwap(ProfileNode* other);
1407 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1408 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1409 return "tensorflow.tfprof.ProfileNode";
1410 }
1411 private:
1412 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1413 return nullptr;
1414 }
1415 inline void* MaybeArenaPtr() const {
1416 return nullptr;
1417 }
1418 public:
1419
1420 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1421 private:
1422 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1423 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
1424 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[kIndexInFileMessages];
1425 }
1426
1427 public:
1428
1429 // nested types ----------------------------------------------------
1430
1431
1432 // accessors -------------------------------------------------------
1433
1434 enum : int {
1435 kInputsFieldNumber = 2,
1436 kOutputsFieldNumber = 3,
1437 kShapeFieldNumber = 4,
1438 kOpTypesFieldNumber = 5,
1439 kAttrsFieldNumber = 11,
1440 kExecsFieldNumber = 12,
1441 kSrcOutputIndexFieldNumber = 14,
1442 kOutputShapesFieldNumber = 15,
1443 kInputShapesFieldNumber = 16,
1444 kNameFieldNumber = 1,
1445 kCanonicalDeviceFieldNumber = 6,
1446 kHostDeviceFieldNumber = 7,
1447 kOpFieldNumber = 9,
1448 kTraceFieldNumber = 10,
1449 kFloatOpsFieldNumber = 8,
1450 kIdFieldNumber = 13,
1451 };
1452 // map<int32, int64> inputs = 2;
1453 int inputs_size() const;
1454 void clear_inputs();
1455 const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::int64 >&
1456 inputs() const;
1457 ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::int64 >*
1458 mutable_inputs();
1459
1460 // map<int32, int64> outputs = 3;
1461 int outputs_size() const;
1462 void clear_outputs();
1463 const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::int64 >&
1464 outputs() const;
1465 ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::int64 >*
1466 mutable_outputs();
1467
1468 // repeated int64 shape = 4;
1469 int shape_size() const;
1470 void clear_shape();
1471 ::PROTOBUF_NAMESPACE_ID::int64 shape(int index) const;
1472 void set_shape(int index, ::PROTOBUF_NAMESPACE_ID::int64 value);
1473 void add_shape(::PROTOBUF_NAMESPACE_ID::int64 value);
1474 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
1475 shape() const;
1476 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
1477 mutable_shape();
1478
1479 // repeated string op_types = 5;
1480 int op_types_size() const;
1481 void clear_op_types();
1482 const std::string& op_types(int index) const;
1483 std::string* mutable_op_types(int index);
1484 void set_op_types(int index, const std::string& value);
1485 void set_op_types(int index, std::string&& value);
1486 void set_op_types(int index, const char* value);
1487 void set_op_types(int index, const char* value, size_t size);
1488 std::string* add_op_types();
1489 void add_op_types(const std::string& value);
1490 void add_op_types(std::string&& value);
1491 void add_op_types(const char* value);
1492 void add_op_types(const char* value, size_t size);
1493 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& op_types() const;
1494 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_op_types();
1495
1496 // map<string, .tensorflow.AttrValue> attrs = 11;
1497 int attrs_size() const;
1498 void clear_attrs();
1499 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >&
1500 attrs() const;
1501 ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >*
1502 mutable_attrs();
1503
1504 // map<int64, .tensorflow.tfprof.ExecProfile> execs = 12;
1505 int execs_size() const;
1506 void clear_execs();
1507 const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, ::tensorflow::tfprof::ExecProfile >&
1508 execs() const;
1509 ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, ::tensorflow::tfprof::ExecProfile >*
1510 mutable_execs();
1511
1512 // map<int64, int32> src_output_index = 14;
1513 int src_output_index_size() const;
1514 void clear_src_output_index();
1515 const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::int32 >&
1516 src_output_index() const;
1517 ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::int32 >*
1518 mutable_src_output_index();
1519
1520 // map<int32, .tensorflow.tfprof.Tuple> output_shapes = 15;
1521 int output_shapes_size() const;
1522 void clear_output_shapes();
1523 const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Tuple >&
1524 output_shapes() const;
1525 ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Tuple >*
1526 mutable_output_shapes();
1527
1528 // map<int32, .tensorflow.tfprof.Tuple> input_shapes = 16;
1529 int input_shapes_size() const;
1530 void clear_input_shapes();
1531 const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Tuple >&
1532 input_shapes() const;
1533 ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Tuple >*
1534 mutable_input_shapes();
1535
1536 // string name = 1;
1537 void clear_name();
1538 const std::string& name() const;
1539 void set_name(const std::string& value);
1540 void set_name(std::string&& value);
1541 void set_name(const char* value);
1542 void set_name(const char* value, size_t size);
1543 std::string* mutable_name();
1544 std::string* release_name();
1545 void set_allocated_name(std::string* name);
1546
1547 // string canonical_device = 6;
1548 void clear_canonical_device();
1549 const std::string& canonical_device() const;
1550 void set_canonical_device(const std::string& value);
1551 void set_canonical_device(std::string&& value);
1552 void set_canonical_device(const char* value);
1553 void set_canonical_device(const char* value, size_t size);
1554 std::string* mutable_canonical_device();
1555 std::string* release_canonical_device();
1556 void set_allocated_canonical_device(std::string* canonical_device);
1557
1558 // string host_device = 7;
1559 void clear_host_device();
1560 const std::string& host_device() const;
1561 void set_host_device(const std::string& value);
1562 void set_host_device(std::string&& value);
1563 void set_host_device(const char* value);
1564 void set_host_device(const char* value, size_t size);
1565 std::string* mutable_host_device();
1566 std::string* release_host_device();
1567 void set_allocated_host_device(std::string* host_device);
1568
1569 // string op = 9;
1570 void clear_op();
1571 const std::string& op() const;
1572 void set_op(const std::string& value);
1573 void set_op(std::string&& value);
1574 void set_op(const char* value);
1575 void set_op(const char* value, size_t size);
1576 std::string* mutable_op();
1577 std::string* release_op();
1578 void set_allocated_op(std::string* op);
1579
1580 // .tensorflow.tfprof.CodeDef trace = 10;
1581 bool has_trace() const;
1582 void clear_trace();
1583 const ::tensorflow::tfprof::CodeDef& trace() const;
1584 ::tensorflow::tfprof::CodeDef* release_trace();
1585 ::tensorflow::tfprof::CodeDef* mutable_trace();
1586 void set_allocated_trace(::tensorflow::tfprof::CodeDef* trace);
1587
1588 // int64 float_ops = 8;
1589 void clear_float_ops();
1590 ::PROTOBUF_NAMESPACE_ID::int64 float_ops() const;
1591 void set_float_ops(::PROTOBUF_NAMESPACE_ID::int64 value);
1592
1593 // int64 id = 13;
1594 void clear_id();
1595 ::PROTOBUF_NAMESPACE_ID::int64 id() const;
1596 void set_id(::PROTOBUF_NAMESPACE_ID::int64 value);
1597
1598 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.ProfileNode)
1599 private:
1600 class _Internal;
1601
1602 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1603 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
1604 ProfileNode_InputsEntry_DoNotUse,
1605 ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::int64,
1606 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
1607 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
1608 0 > inputs_;
1609 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
1610 ProfileNode_OutputsEntry_DoNotUse,
1611 ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::int64,
1612 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
1613 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
1614 0 > outputs_;
1615 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > shape_;
1616 mutable std::atomic<int> _shape_cached_byte_size_;
1617 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> op_types_;
1618 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
1619 ProfileNode_AttrsEntry_DoNotUse,
1620 std::string, ::tensorflow::AttrValue,
1621 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1622 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1623 0 > attrs_;
1624 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
1625 ProfileNode_ExecsEntry_DoNotUse,
1626 ::PROTOBUF_NAMESPACE_ID::int64, ::tensorflow::tfprof::ExecProfile,
1627 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
1628 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1629 0 > execs_;
1630 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
1631 ProfileNode_SrcOutputIndexEntry_DoNotUse,
1632 ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::int32,
1633 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
1634 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
1635 0 > src_output_index_;
1636 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
1637 ProfileNode_OutputShapesEntry_DoNotUse,
1638 ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Tuple,
1639 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
1640 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1641 0 > output_shapes_;
1642 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
1643 ProfileNode_InputShapesEntry_DoNotUse,
1644 ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Tuple,
1645 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
1646 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1647 0 > input_shapes_;
1648 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
1649 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr canonical_device_;
1650 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr host_device_;
1651 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr op_;
1652 ::tensorflow::tfprof::CodeDef* trace_;
1653 ::PROTOBUF_NAMESPACE_ID::int64 float_ops_;
1654 ::PROTOBUF_NAMESPACE_ID::int64 id_;
1655 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1656 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto;
1657};
1658// -------------------------------------------------------------------
1659
1660class ExecProfile_AcceleratorExecsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ExecProfile_AcceleratorExecsEntry_DoNotUse,
1661 std::string, ::tensorflow::tfprof::ExecTime,
1662 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1663 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1664 0 > {
1665public:
1666 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ExecProfile_AcceleratorExecsEntry_DoNotUse,
1667 std::string, ::tensorflow::tfprof::ExecTime,
1668 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1669 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1670 0 > SuperType;
1671 ExecProfile_AcceleratorExecsEntry_DoNotUse();
1672 ExecProfile_AcceleratorExecsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1673 void MergeFrom(const ExecProfile_AcceleratorExecsEntry_DoNotUse& other);
1674 static const ExecProfile_AcceleratorExecsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ExecProfile_AcceleratorExecsEntry_DoNotUse*>(&_ExecProfile_AcceleratorExecsEntry_DoNotUse_default_instance_); }
1675 static bool ValidateKey(std::string* s) {
1676 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.tfprof.ExecProfile.AcceleratorExecsEntry.key");
1677 }
1678 static bool ValidateValue(void*) { return true; }
1679 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
1680 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1681 private:
1682 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1683 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
1684 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[16];
1685 }
1686
1687 public:
1688};
1689
1690// -------------------------------------------------------------------
1691
1692class ExecProfile_CpuExecsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ExecProfile_CpuExecsEntry_DoNotUse,
1693 std::string, ::tensorflow::tfprof::ExecTime,
1694 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1695 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1696 0 > {
1697public:
1698 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ExecProfile_CpuExecsEntry_DoNotUse,
1699 std::string, ::tensorflow::tfprof::ExecTime,
1700 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1701 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1702 0 > SuperType;
1703 ExecProfile_CpuExecsEntry_DoNotUse();
1704 ExecProfile_CpuExecsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1705 void MergeFrom(const ExecProfile_CpuExecsEntry_DoNotUse& other);
1706 static const ExecProfile_CpuExecsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ExecProfile_CpuExecsEntry_DoNotUse*>(&_ExecProfile_CpuExecsEntry_DoNotUse_default_instance_); }
1707 static bool ValidateKey(std::string* s) {
1708 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.tfprof.ExecProfile.CpuExecsEntry.key");
1709 }
1710 static bool ValidateValue(void*) { return true; }
1711 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
1712 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1713 private:
1714 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1715 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
1716 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[17];
1717 }
1718
1719 public:
1720};
1721
1722// -------------------------------------------------------------------
1723
1724class ExecProfile :
1725 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.ExecProfile) */ {
1726 public:
1727 ExecProfile();
1728 virtual ~ExecProfile();
1729
1730 ExecProfile(const ExecProfile& from);
1731 ExecProfile(ExecProfile&& from) noexcept
1732 : ExecProfile() {
1733 *this = ::std::move(from);
1734 }
1735
1736 inline ExecProfile& operator=(const ExecProfile& from) {
1737 CopyFrom(from);
1738 return *this;
1739 }
1740 inline ExecProfile& operator=(ExecProfile&& from) noexcept {
1741 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1742 if (this != &from) InternalSwap(&from);
1743 } else {
1744 CopyFrom(from);
1745 }
1746 return *this;
1747 }
1748
1749 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1750 return GetDescriptor();
1751 }
1752 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1753 return GetMetadataStatic().descriptor;
1754 }
1755 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1756 return GetMetadataStatic().reflection;
1757 }
1758 static const ExecProfile& default_instance();
1759
1760 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1761 static inline const ExecProfile* internal_default_instance() {
1762 return reinterpret_cast<const ExecProfile*>(
1763 &_ExecProfile_default_instance_);
1764 }
1765 static constexpr int kIndexInFileMessages =
1766 18;
1767
1768 friend void swap(ExecProfile& a, ExecProfile& b) {
1769 a.Swap(&b);
1770 }
1771 inline void Swap(ExecProfile* other) {
1772 if (other == this) return;
1773 InternalSwap(other);
1774 }
1775
1776 // implements Message ----------------------------------------------
1777
1778 inline ExecProfile* New() const final {
1779 return CreateMaybeMessage<ExecProfile>(nullptr);
1780 }
1781
1782 ExecProfile* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1783 return CreateMaybeMessage<ExecProfile>(arena);
1784 }
1785 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1786 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1787 void CopyFrom(const ExecProfile& from);
1788 void MergeFrom(const ExecProfile& from);
1789 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1790 bool IsInitialized() const final;
1791
1792 size_t ByteSizeLong() const final;
1793 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1794 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1795 #else
1796 bool MergePartialFromCodedStream(
1797 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1798 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1799 void SerializeWithCachedSizes(
1800 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1801 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1802 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1803 int GetCachedSize() const final { return _cached_size_.Get(); }
1804
1805 private:
1806 inline void SharedCtor();
1807 inline void SharedDtor();
1808 void SetCachedSize(int size) const final;
1809 void InternalSwap(ExecProfile* other);
1810 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1811 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1812 return "tensorflow.tfprof.ExecProfile";
1813 }
1814 private:
1815 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1816 return nullptr;
1817 }
1818 inline void* MaybeArenaPtr() const {
1819 return nullptr;
1820 }
1821 public:
1822
1823 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1824 private:
1825 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1826 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
1827 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[kIndexInFileMessages];
1828 }
1829
1830 public:
1831
1832 // nested types ----------------------------------------------------
1833
1834
1835 // accessors -------------------------------------------------------
1836
1837 enum : int {
1838 kAcceleratorExecsFieldNumber = 4,
1839 kCpuExecsFieldNumber = 5,
1840 kDevicesFieldNumber = 6,
1841 kMemoryExecsFieldNumber = 7,
1842 kAllocationsFieldNumber = 11,
1843 kRunCountFieldNumber = 1,
1844 kAllStartMicrosFieldNumber = 2,
1845 kLatestEndMicrosFieldNumber = 3,
1846 };
1847 // map<string, .tensorflow.tfprof.ExecTime> accelerator_execs = 4;
1848 int accelerator_execs_size() const;
1849 void clear_accelerator_execs();
1850 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::tfprof::ExecTime >&
1851 accelerator_execs() const;
1852 ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::tfprof::ExecTime >*
1853 mutable_accelerator_execs();
1854
1855 // map<string, .tensorflow.tfprof.ExecTime> cpu_execs = 5;
1856 int cpu_execs_size() const;
1857 void clear_cpu_execs();
1858 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::tfprof::ExecTime >&
1859 cpu_execs() const;
1860 ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::tfprof::ExecTime >*
1861 mutable_cpu_execs();
1862
1863 // repeated string devices = 6;
1864 int devices_size() const;
1865 void clear_devices();
1866 const std::string& devices(int index) const;
1867 std::string* mutable_devices(int index);
1868 void set_devices(int index, const std::string& value);
1869 void set_devices(int index, std::string&& value);
1870 void set_devices(int index, const char* value);
1871 void set_devices(int index, const char* value, size_t size);
1872 std::string* add_devices();
1873 void add_devices(const std::string& value);
1874 void add_devices(std::string&& value);
1875 void add_devices(const char* value);
1876 void add_devices(const char* value, size_t size);
1877 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& devices() const;
1878 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_devices();
1879
1880 // repeated .tensorflow.tfprof.ExecMemory memory_execs = 7;
1881 int memory_execs_size() const;
1882 void clear_memory_execs();
1883 ::tensorflow::tfprof::ExecMemory* mutable_memory_execs(int index);
1884 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::ExecMemory >*
1885 mutable_memory_execs();
1886 const ::tensorflow::tfprof::ExecMemory& memory_execs(int index) const;
1887 ::tensorflow::tfprof::ExecMemory* add_memory_execs();
1888 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::ExecMemory >&
1889 memory_execs() const;
1890
1891 // repeated .tensorflow.AllocationRecord allocations = 11;
1892 int allocations_size() const;
1893 void clear_allocations();
1894 ::tensorflow::AllocationRecord* mutable_allocations(int index);
1895 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocationRecord >*
1896 mutable_allocations();
1897 const ::tensorflow::AllocationRecord& allocations(int index) const;
1898 ::tensorflow::AllocationRecord* add_allocations();
1899 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocationRecord >&
1900 allocations() const;
1901
1902 // int64 run_count = 1;
1903 void clear_run_count();
1904 ::PROTOBUF_NAMESPACE_ID::int64 run_count() const;
1905 void set_run_count(::PROTOBUF_NAMESPACE_ID::int64 value);
1906
1907 // int64 all_start_micros = 2;
1908 void clear_all_start_micros();
1909 ::PROTOBUF_NAMESPACE_ID::int64 all_start_micros() const;
1910 void set_all_start_micros(::PROTOBUF_NAMESPACE_ID::int64 value);
1911
1912 // int64 latest_end_micros = 3;
1913 void clear_latest_end_micros();
1914 ::PROTOBUF_NAMESPACE_ID::int64 latest_end_micros() const;
1915 void set_latest_end_micros(::PROTOBUF_NAMESPACE_ID::int64 value);
1916
1917 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.ExecProfile)
1918 private:
1919 class _Internal;
1920
1921 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1922 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
1923 ExecProfile_AcceleratorExecsEntry_DoNotUse,
1924 std::string, ::tensorflow::tfprof::ExecTime,
1925 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1926 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1927 0 > accelerator_execs_;
1928 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
1929 ExecProfile_CpuExecsEntry_DoNotUse,
1930 std::string, ::tensorflow::tfprof::ExecTime,
1931 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1932 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1933 0 > cpu_execs_;
1934 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> devices_;
1935 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::ExecMemory > memory_execs_;
1936 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocationRecord > allocations_;
1937 ::PROTOBUF_NAMESPACE_ID::int64 run_count_;
1938 ::PROTOBUF_NAMESPACE_ID::int64 all_start_micros_;
1939 ::PROTOBUF_NAMESPACE_ID::int64 latest_end_micros_;
1940 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1941 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto;
1942};
1943// -------------------------------------------------------------------
1944
1945class ExecTime :
1946 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.ExecTime) */ {
1947 public:
1948 ExecTime();
1949 virtual ~ExecTime();
1950
1951 ExecTime(const ExecTime& from);
1952 ExecTime(ExecTime&& from) noexcept
1953 : ExecTime() {
1954 *this = ::std::move(from);
1955 }
1956
1957 inline ExecTime& operator=(const ExecTime& from) {
1958 CopyFrom(from);
1959 return *this;
1960 }
1961 inline ExecTime& operator=(ExecTime&& from) noexcept {
1962 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1963 if (this != &from) InternalSwap(&from);
1964 } else {
1965 CopyFrom(from);
1966 }
1967 return *this;
1968 }
1969
1970 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1971 return GetDescriptor();
1972 }
1973 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1974 return GetMetadataStatic().descriptor;
1975 }
1976 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1977 return GetMetadataStatic().reflection;
1978 }
1979 static const ExecTime& default_instance();
1980
1981 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1982 static inline const ExecTime* internal_default_instance() {
1983 return reinterpret_cast<const ExecTime*>(
1984 &_ExecTime_default_instance_);
1985 }
1986 static constexpr int kIndexInFileMessages =
1987 19;
1988
1989 friend void swap(ExecTime& a, ExecTime& b) {
1990 a.Swap(&b);
1991 }
1992 inline void Swap(ExecTime* other) {
1993 if (other == this) return;
1994 InternalSwap(other);
1995 }
1996
1997 // implements Message ----------------------------------------------
1998
1999 inline ExecTime* New() const final {
2000 return CreateMaybeMessage<ExecTime>(nullptr);
2001 }
2002
2003 ExecTime* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2004 return CreateMaybeMessage<ExecTime>(arena);
2005 }
2006 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2007 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2008 void CopyFrom(const ExecTime& from);
2009 void MergeFrom(const ExecTime& from);
2010 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2011 bool IsInitialized() const final;
2012
2013 size_t ByteSizeLong() const final;
2014 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2015 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2016 #else
2017 bool MergePartialFromCodedStream(
2018 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
2019 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2020 void SerializeWithCachedSizes(
2021 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
2022 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
2023 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
2024 int GetCachedSize() const final { return _cached_size_.Get(); }
2025
2026 private:
2027 inline void SharedCtor();
2028 inline void SharedDtor();
2029 void SetCachedSize(int size) const final;
2030 void InternalSwap(ExecTime* other);
2031 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2032 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2033 return "tensorflow.tfprof.ExecTime";
2034 }
2035 private:
2036 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2037 return nullptr;
2038 }
2039 inline void* MaybeArenaPtr() const {
2040 return nullptr;
2041 }
2042 public:
2043
2044 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2045 private:
2046 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2047 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
2048 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[kIndexInFileMessages];
2049 }
2050
2051 public:
2052
2053 // nested types ----------------------------------------------------
2054
2055 // accessors -------------------------------------------------------
2056
2057 enum : int {
2058 kTimesFieldNumber = 1,
2059 };
2060 // repeated .tensorflow.tfprof.Tuple times = 1;
2061 int times_size() const;
2062 void clear_times();
2063 ::tensorflow::tfprof::Tuple* mutable_times(int index);
2064 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::Tuple >*
2065 mutable_times();
2066 const ::tensorflow::tfprof::Tuple& times(int index) const;
2067 ::tensorflow::tfprof::Tuple* add_times();
2068 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::Tuple >&
2069 times() const;
2070
2071 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.ExecTime)
2072 private:
2073 class _Internal;
2074
2075 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
2076 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::Tuple > times_;
2077 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2078 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto;
2079};
2080// -------------------------------------------------------------------
2081
2082class ExecMemory_OutputMemoryEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ExecMemory_OutputMemoryEntry_DoNotUse,
2083 ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Memory,
2084 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
2085 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
2086 0 > {
2087public:
2088 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<ExecMemory_OutputMemoryEntry_DoNotUse,
2089 ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Memory,
2090 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
2091 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
2092 0 > SuperType;
2093 ExecMemory_OutputMemoryEntry_DoNotUse();
2094 ExecMemory_OutputMemoryEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2095 void MergeFrom(const ExecMemory_OutputMemoryEntry_DoNotUse& other);
2096 static const ExecMemory_OutputMemoryEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const ExecMemory_OutputMemoryEntry_DoNotUse*>(&_ExecMemory_OutputMemoryEntry_DoNotUse_default_instance_); }
2097 static bool ValidateKey(void*) { return true; }
2098 static bool ValidateValue(void*) { return true; }
2099 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
2100 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2101 private:
2102 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2103 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
2104 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[20];
2105 }
2106
2107 public:
2108};
2109
2110// -------------------------------------------------------------------
2111
2112class ExecMemory :
2113 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.ExecMemory) */ {
2114 public:
2115 ExecMemory();
2116 virtual ~ExecMemory();
2117
2118 ExecMemory(const ExecMemory& from);
2119 ExecMemory(ExecMemory&& from) noexcept
2120 : ExecMemory() {
2121 *this = ::std::move(from);
2122 }
2123
2124 inline ExecMemory& operator=(const ExecMemory& from) {
2125 CopyFrom(from);
2126 return *this;
2127 }
2128 inline ExecMemory& operator=(ExecMemory&& from) noexcept {
2129 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2130 if (this != &from) InternalSwap(&from);
2131 } else {
2132 CopyFrom(from);
2133 }
2134 return *this;
2135 }
2136
2137 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2138 return GetDescriptor();
2139 }
2140 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2141 return GetMetadataStatic().descriptor;
2142 }
2143 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2144 return GetMetadataStatic().reflection;
2145 }
2146 static const ExecMemory& default_instance();
2147
2148 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
2149 static inline const ExecMemory* internal_default_instance() {
2150 return reinterpret_cast<const ExecMemory*>(
2151 &_ExecMemory_default_instance_);
2152 }
2153 static constexpr int kIndexInFileMessages =
2154 21;
2155
2156 friend void swap(ExecMemory& a, ExecMemory& b) {
2157 a.Swap(&b);
2158 }
2159 inline void Swap(ExecMemory* other) {
2160 if (other == this) return;
2161 InternalSwap(other);
2162 }
2163
2164 // implements Message ----------------------------------------------
2165
2166 inline ExecMemory* New() const final {
2167 return CreateMaybeMessage<ExecMemory>(nullptr);
2168 }
2169
2170 ExecMemory* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2171 return CreateMaybeMessage<ExecMemory>(arena);
2172 }
2173 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2174 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2175 void CopyFrom(const ExecMemory& from);
2176 void MergeFrom(const ExecMemory& from);
2177 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2178 bool IsInitialized() const final;
2179
2180 size_t ByteSizeLong() const final;
2181 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2182 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2183 #else
2184 bool MergePartialFromCodedStream(
2185 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
2186 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2187 void SerializeWithCachedSizes(
2188 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
2189 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
2190 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
2191 int GetCachedSize() const final { return _cached_size_.Get(); }
2192
2193 private:
2194 inline void SharedCtor();
2195 inline void SharedDtor();
2196 void SetCachedSize(int size) const final;
2197 void InternalSwap(ExecMemory* other);
2198 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2199 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2200 return "tensorflow.tfprof.ExecMemory";
2201 }
2202 private:
2203 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2204 return nullptr;
2205 }
2206 inline void* MaybeArenaPtr() const {
2207 return nullptr;
2208 }
2209 public:
2210
2211 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2212 private:
2213 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2214 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
2215 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[kIndexInFileMessages];
2216 }
2217
2218 public:
2219
2220 // nested types ----------------------------------------------------
2221
2222
2223 // accessors -------------------------------------------------------
2224
2225 enum : int {
2226 kOutputMemoryFieldNumber = 11,
2227 kMemoryMicrosFieldNumber = 1,
2228 kHostTempBytesFieldNumber = 2,
2229 kHostPersistentBytesFieldNumber = 3,
2230 kAcceleratorTempBytesFieldNumber = 4,
2231 kAcceleratorPersistentBytesFieldNumber = 5,
2232 kRequestedBytesFieldNumber = 6,
2233 kPeakBytesFieldNumber = 7,
2234 kResidualBytesFieldNumber = 8,
2235 kOutputBytesFieldNumber = 9,
2236 kAllocatorBytesInUseFieldNumber = 10,
2237 };
2238 // map<int32, .tensorflow.tfprof.Memory> output_memory = 11;
2239 int output_memory_size() const;
2240 void clear_output_memory();
2241 const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Memory >&
2242 output_memory() const;
2243 ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Memory >*
2244 mutable_output_memory();
2245
2246 // int64 memory_micros = 1;
2247 void clear_memory_micros();
2248 ::PROTOBUF_NAMESPACE_ID::int64 memory_micros() const;
2249 void set_memory_micros(::PROTOBUF_NAMESPACE_ID::int64 value);
2250
2251 // int64 host_temp_bytes = 2;
2252 void clear_host_temp_bytes();
2253 ::PROTOBUF_NAMESPACE_ID::int64 host_temp_bytes() const;
2254 void set_host_temp_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
2255
2256 // int64 host_persistent_bytes = 3;
2257 void clear_host_persistent_bytes();
2258 ::PROTOBUF_NAMESPACE_ID::int64 host_persistent_bytes() const;
2259 void set_host_persistent_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
2260
2261 // int64 accelerator_temp_bytes = 4;
2262 void clear_accelerator_temp_bytes();
2263 ::PROTOBUF_NAMESPACE_ID::int64 accelerator_temp_bytes() const;
2264 void set_accelerator_temp_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
2265
2266 // int64 accelerator_persistent_bytes = 5;
2267 void clear_accelerator_persistent_bytes();
2268 ::PROTOBUF_NAMESPACE_ID::int64 accelerator_persistent_bytes() const;
2269 void set_accelerator_persistent_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
2270
2271 // int64 requested_bytes = 6;
2272 void clear_requested_bytes();
2273 ::PROTOBUF_NAMESPACE_ID::int64 requested_bytes() const;
2274 void set_requested_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
2275
2276 // int64 peak_bytes = 7;
2277 void clear_peak_bytes();
2278 ::PROTOBUF_NAMESPACE_ID::int64 peak_bytes() const;
2279 void set_peak_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
2280
2281 // int64 residual_bytes = 8;
2282 void clear_residual_bytes();
2283 ::PROTOBUF_NAMESPACE_ID::int64 residual_bytes() const;
2284 void set_residual_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
2285
2286 // int64 output_bytes = 9;
2287 void clear_output_bytes();
2288 ::PROTOBUF_NAMESPACE_ID::int64 output_bytes() const;
2289 void set_output_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
2290
2291 // int64 allocator_bytes_in_use = 10;
2292 void clear_allocator_bytes_in_use();
2293 ::PROTOBUF_NAMESPACE_ID::int64 allocator_bytes_in_use() const;
2294 void set_allocator_bytes_in_use(::PROTOBUF_NAMESPACE_ID::int64 value);
2295
2296 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.ExecMemory)
2297 private:
2298 class _Internal;
2299
2300 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
2301 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
2302 ExecMemory_OutputMemoryEntry_DoNotUse,
2303 ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Memory,
2304 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32,
2305 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
2306 0 > output_memory_;
2307 ::PROTOBUF_NAMESPACE_ID::int64 memory_micros_;
2308 ::PROTOBUF_NAMESPACE_ID::int64 host_temp_bytes_;
2309 ::PROTOBUF_NAMESPACE_ID::int64 host_persistent_bytes_;
2310 ::PROTOBUF_NAMESPACE_ID::int64 accelerator_temp_bytes_;
2311 ::PROTOBUF_NAMESPACE_ID::int64 accelerator_persistent_bytes_;
2312 ::PROTOBUF_NAMESPACE_ID::int64 requested_bytes_;
2313 ::PROTOBUF_NAMESPACE_ID::int64 peak_bytes_;
2314 ::PROTOBUF_NAMESPACE_ID::int64 residual_bytes_;
2315 ::PROTOBUF_NAMESPACE_ID::int64 output_bytes_;
2316 ::PROTOBUF_NAMESPACE_ID::int64 allocator_bytes_in_use_;
2317 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2318 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto;
2319};
2320// -------------------------------------------------------------------
2321
2322class Tuple :
2323 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.Tuple) */ {
2324 public:
2325 Tuple();
2326 virtual ~Tuple();
2327
2328 Tuple(const Tuple& from);
2329 Tuple(Tuple&& from) noexcept
2330 : Tuple() {
2331 *this = ::std::move(from);
2332 }
2333
2334 inline Tuple& operator=(const Tuple& from) {
2335 CopyFrom(from);
2336 return *this;
2337 }
2338 inline Tuple& operator=(Tuple&& from) noexcept {
2339 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2340 if (this != &from) InternalSwap(&from);
2341 } else {
2342 CopyFrom(from);
2343 }
2344 return *this;
2345 }
2346
2347 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2348 return GetDescriptor();
2349 }
2350 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2351 return GetMetadataStatic().descriptor;
2352 }
2353 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2354 return GetMetadataStatic().reflection;
2355 }
2356 static const Tuple& default_instance();
2357
2358 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
2359 static inline const Tuple* internal_default_instance() {
2360 return reinterpret_cast<const Tuple*>(
2361 &_Tuple_default_instance_);
2362 }
2363 static constexpr int kIndexInFileMessages =
2364 22;
2365
2366 friend void swap(Tuple& a, Tuple& b) {
2367 a.Swap(&b);
2368 }
2369 inline void Swap(Tuple* other) {
2370 if (other == this) return;
2371 InternalSwap(other);
2372 }
2373
2374 // implements Message ----------------------------------------------
2375
2376 inline Tuple* New() const final {
2377 return CreateMaybeMessage<Tuple>(nullptr);
2378 }
2379
2380 Tuple* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2381 return CreateMaybeMessage<Tuple>(arena);
2382 }
2383 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2384 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2385 void CopyFrom(const Tuple& from);
2386 void MergeFrom(const Tuple& from);
2387 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2388 bool IsInitialized() const final;
2389
2390 size_t ByteSizeLong() const final;
2391 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2392 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2393 #else
2394 bool MergePartialFromCodedStream(
2395 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
2396 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2397 void SerializeWithCachedSizes(
2398 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
2399 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
2400 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
2401 int GetCachedSize() const final { return _cached_size_.Get(); }
2402
2403 private:
2404 inline void SharedCtor();
2405 inline void SharedDtor();
2406 void SetCachedSize(int size) const final;
2407 void InternalSwap(Tuple* other);
2408 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2409 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2410 return "tensorflow.tfprof.Tuple";
2411 }
2412 private:
2413 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2414 return nullptr;
2415 }
2416 inline void* MaybeArenaPtr() const {
2417 return nullptr;
2418 }
2419 public:
2420
2421 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2422 private:
2423 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2424 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
2425 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[kIndexInFileMessages];
2426 }
2427
2428 public:
2429
2430 // nested types ----------------------------------------------------
2431
2432 // accessors -------------------------------------------------------
2433
2434 enum : int {
2435 kInt64ValuesFieldNumber = 1,
2436 };
2437 // repeated int64 int64_values = 1;
2438 int int64_values_size() const;
2439 void clear_int64_values();
2440 ::PROTOBUF_NAMESPACE_ID::int64 int64_values(int index) const;
2441 void set_int64_values(int index, ::PROTOBUF_NAMESPACE_ID::int64 value);
2442 void add_int64_values(::PROTOBUF_NAMESPACE_ID::int64 value);
2443 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
2444 int64_values() const;
2445 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
2446 mutable_int64_values();
2447
2448 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.Tuple)
2449 private:
2450 class _Internal;
2451
2452 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
2453 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > int64_values_;
2454 mutable std::atomic<int> _int64_values_cached_byte_size_;
2455 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2456 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto;
2457};
2458// -------------------------------------------------------------------
2459
2460class Memory :
2461 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.Memory) */ {
2462 public:
2463 Memory();
2464 virtual ~Memory();
2465
2466 Memory(const Memory& from);
2467 Memory(Memory&& from) noexcept
2468 : Memory() {
2469 *this = ::std::move(from);
2470 }
2471
2472 inline Memory& operator=(const Memory& from) {
2473 CopyFrom(from);
2474 return *this;
2475 }
2476 inline Memory& operator=(Memory&& from) noexcept {
2477 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2478 if (this != &from) InternalSwap(&from);
2479 } else {
2480 CopyFrom(from);
2481 }
2482 return *this;
2483 }
2484
2485 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2486 return GetDescriptor();
2487 }
2488 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2489 return GetMetadataStatic().descriptor;
2490 }
2491 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2492 return GetMetadataStatic().reflection;
2493 }
2494 static const Memory& default_instance();
2495
2496 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
2497 static inline const Memory* internal_default_instance() {
2498 return reinterpret_cast<const Memory*>(
2499 &_Memory_default_instance_);
2500 }
2501 static constexpr int kIndexInFileMessages =
2502 23;
2503
2504 friend void swap(Memory& a, Memory& b) {
2505 a.Swap(&b);
2506 }
2507 inline void Swap(Memory* other) {
2508 if (other == this) return;
2509 InternalSwap(other);
2510 }
2511
2512 // implements Message ----------------------------------------------
2513
2514 inline Memory* New() const final {
2515 return CreateMaybeMessage<Memory>(nullptr);
2516 }
2517
2518 Memory* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2519 return CreateMaybeMessage<Memory>(arena);
2520 }
2521 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2522 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
2523 void CopyFrom(const Memory& from);
2524 void MergeFrom(const Memory& from);
2525 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2526 bool IsInitialized() const final;
2527
2528 size_t ByteSizeLong() const final;
2529 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2530 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2531 #else
2532 bool MergePartialFromCodedStream(
2533 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
2534 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
2535 void SerializeWithCachedSizes(
2536 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
2537 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
2538 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
2539 int GetCachedSize() const final { return _cached_size_.Get(); }
2540
2541 private:
2542 inline void SharedCtor();
2543 inline void SharedDtor();
2544 void SetCachedSize(int size) const final;
2545 void InternalSwap(Memory* other);
2546 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2547 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2548 return "tensorflow.tfprof.Memory";
2549 }
2550 private:
2551 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
2552 return nullptr;
2553 }
2554 inline void* MaybeArenaPtr() const {
2555 return nullptr;
2556 }
2557 public:
2558
2559 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2560 private:
2561 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2562 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto);
2563 return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto.file_level_metadata[kIndexInFileMessages];
2564 }
2565
2566 public:
2567
2568 // nested types ----------------------------------------------------
2569
2570 // accessors -------------------------------------------------------
2571
2572 enum : int {
2573 kBytesFieldNumber = 1,
2574 kPtrFieldNumber = 2,
2575 };
2576 // int64 bytes = 1;
2577 void clear_bytes();
2578 ::PROTOBUF_NAMESPACE_ID::int64 bytes() const;
2579 void set_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
2580
2581 // uint64 ptr = 2;
2582 void clear_ptr();
2583 ::PROTOBUF_NAMESPACE_ID::uint64 ptr() const;
2584 void set_ptr(::PROTOBUF_NAMESPACE_ID::uint64 value);
2585
2586 // @@protoc_insertion_point(class_scope:tensorflow.tfprof.Memory)
2587 private:
2588 class _Internal;
2589
2590 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
2591 ::PROTOBUF_NAMESPACE_ID::int64 bytes_;
2592 ::PROTOBUF_NAMESPACE_ID::uint64 ptr_;
2593 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2594 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto;
2595};
2596// ===================================================================
2597
2598
2599// ===================================================================
2600
2601#ifdef __GNUC__
2602 #pragma GCC diagnostic push
2603 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
2604#endif // __GNUC__
2605// CodeDef_Trace
2606
2607// string file = 1 [deprecated = true];
2608inline void CodeDef_Trace::clear_file() {
2609 file_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2610}
2611inline const std::string& CodeDef_Trace::file() const {
2612 // @@protoc_insertion_point(field_get:tensorflow.tfprof.CodeDef.Trace.file)
2613 return file_.GetNoArena();
2614}
2615inline void CodeDef_Trace::set_file(const std::string& value) {
2616
2617 file_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
2618 // @@protoc_insertion_point(field_set:tensorflow.tfprof.CodeDef.Trace.file)
2619}
2620inline void CodeDef_Trace::set_file(std::string&& value) {
2621
2622 file_.SetNoArena(
2623 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2624 // @@protoc_insertion_point(field_set_rvalue:tensorflow.tfprof.CodeDef.Trace.file)
2625}
2626inline void CodeDef_Trace::set_file(const char* value) {
2627 GOOGLE_DCHECK(value != nullptr);
2628
2629 file_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2630 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.CodeDef.Trace.file)
2631}
2632inline void CodeDef_Trace::set_file(const char* value, size_t size) {
2633
2634 file_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2635 ::std::string(reinterpret_cast<const char*>(value), size));
2636 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.CodeDef.Trace.file)
2637}
2638inline std::string* CodeDef_Trace::mutable_file() {
2639
2640 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.CodeDef.Trace.file)
2641 return file_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2642}
2643inline std::string* CodeDef_Trace::release_file() {
2644 // @@protoc_insertion_point(field_release:tensorflow.tfprof.CodeDef.Trace.file)
2645
2646 return file_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2647}
2648inline void CodeDef_Trace::set_allocated_file(std::string* file) {
2649 if (file != nullptr) {
2650
2651 } else {
2652
2653 }
2654 file_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), file);
2655 // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.CodeDef.Trace.file)
2656}
2657
2658// int64 file_id = 6;
2659inline void CodeDef_Trace::clear_file_id() {
2660 file_id_ = PROTOBUF_LONGLONG(0);
2661}
2662inline ::PROTOBUF_NAMESPACE_ID::int64 CodeDef_Trace::file_id() const {
2663 // @@protoc_insertion_point(field_get:tensorflow.tfprof.CodeDef.Trace.file_id)
2664 return file_id_;
2665}
2666inline void CodeDef_Trace::set_file_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
2667
2668 file_id_ = value;
2669 // @@protoc_insertion_point(field_set:tensorflow.tfprof.CodeDef.Trace.file_id)
2670}
2671
2672// int32 lineno = 2;
2673inline void CodeDef_Trace::clear_lineno() {
2674 lineno_ = 0;
2675}
2676inline ::PROTOBUF_NAMESPACE_ID::int32 CodeDef_Trace::lineno() const {
2677 // @@protoc_insertion_point(field_get:tensorflow.tfprof.CodeDef.Trace.lineno)
2678 return lineno_;
2679}
2680inline void CodeDef_Trace::set_lineno(::PROTOBUF_NAMESPACE_ID::int32 value) {
2681
2682 lineno_ = value;
2683 // @@protoc_insertion_point(field_set:tensorflow.tfprof.CodeDef.Trace.lineno)
2684}
2685
2686// string function = 3 [deprecated = true];
2687inline void CodeDef_Trace::clear_function() {
2688 function_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2689}
2690inline const std::string& CodeDef_Trace::function() const {
2691 // @@protoc_insertion_point(field_get:tensorflow.tfprof.CodeDef.Trace.function)
2692 return function_.GetNoArena();
2693}
2694inline void CodeDef_Trace::set_function(const std::string& value) {
2695
2696 function_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
2697 // @@protoc_insertion_point(field_set:tensorflow.tfprof.CodeDef.Trace.function)
2698}
2699inline void CodeDef_Trace::set_function(std::string&& value) {
2700
2701 function_.SetNoArena(
2702 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2703 // @@protoc_insertion_point(field_set_rvalue:tensorflow.tfprof.CodeDef.Trace.function)
2704}
2705inline void CodeDef_Trace::set_function(const char* value) {
2706 GOOGLE_DCHECK(value != nullptr);
2707
2708 function_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2709 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.CodeDef.Trace.function)
2710}
2711inline void CodeDef_Trace::set_function(const char* value, size_t size) {
2712
2713 function_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2714 ::std::string(reinterpret_cast<const char*>(value), size));
2715 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.CodeDef.Trace.function)
2716}
2717inline std::string* CodeDef_Trace::mutable_function() {
2718
2719 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.CodeDef.Trace.function)
2720 return function_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2721}
2722inline std::string* CodeDef_Trace::release_function() {
2723 // @@protoc_insertion_point(field_release:tensorflow.tfprof.CodeDef.Trace.function)
2724
2725 return function_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2726}
2727inline void CodeDef_Trace::set_allocated_function(std::string* function) {
2728 if (function != nullptr) {
2729
2730 } else {
2731
2732 }
2733 function_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), function);
2734 // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.CodeDef.Trace.function)
2735}
2736
2737// int64 function_id = 7;
2738inline void CodeDef_Trace::clear_function_id() {
2739 function_id_ = PROTOBUF_LONGLONG(0);
2740}
2741inline ::PROTOBUF_NAMESPACE_ID::int64 CodeDef_Trace::function_id() const {
2742 // @@protoc_insertion_point(field_get:tensorflow.tfprof.CodeDef.Trace.function_id)
2743 return function_id_;
2744}
2745inline void CodeDef_Trace::set_function_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
2746
2747 function_id_ = value;
2748 // @@protoc_insertion_point(field_set:tensorflow.tfprof.CodeDef.Trace.function_id)
2749}
2750
2751// string line = 4 [deprecated = true];
2752inline void CodeDef_Trace::clear_line() {
2753 line_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2754}
2755inline const std::string& CodeDef_Trace::line() const {
2756 // @@protoc_insertion_point(field_get:tensorflow.tfprof.CodeDef.Trace.line)
2757 return line_.GetNoArena();
2758}
2759inline void CodeDef_Trace::set_line(const std::string& value) {
2760
2761 line_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
2762 // @@protoc_insertion_point(field_set:tensorflow.tfprof.CodeDef.Trace.line)
2763}
2764inline void CodeDef_Trace::set_line(std::string&& value) {
2765
2766 line_.SetNoArena(
2767 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2768 // @@protoc_insertion_point(field_set_rvalue:tensorflow.tfprof.CodeDef.Trace.line)
2769}
2770inline void CodeDef_Trace::set_line(const char* value) {
2771 GOOGLE_DCHECK(value != nullptr);
2772
2773 line_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2774 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.CodeDef.Trace.line)
2775}
2776inline void CodeDef_Trace::set_line(const char* value, size_t size) {
2777
2778 line_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2779 ::std::string(reinterpret_cast<const char*>(value), size));
2780 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.CodeDef.Trace.line)
2781}
2782inline std::string* CodeDef_Trace::mutable_line() {
2783
2784 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.CodeDef.Trace.line)
2785 return line_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2786}
2787inline std::string* CodeDef_Trace::release_line() {
2788 // @@protoc_insertion_point(field_release:tensorflow.tfprof.CodeDef.Trace.line)
2789
2790 return line_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2791}
2792inline void CodeDef_Trace::set_allocated_line(std::string* line) {
2793 if (line != nullptr) {
2794
2795 } else {
2796
2797 }
2798 line_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), line);
2799 // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.CodeDef.Trace.line)
2800}
2801
2802// int64 line_id = 8;
2803inline void CodeDef_Trace::clear_line_id() {
2804 line_id_ = PROTOBUF_LONGLONG(0);
2805}
2806inline ::PROTOBUF_NAMESPACE_ID::int64 CodeDef_Trace::line_id() const {
2807 // @@protoc_insertion_point(field_get:tensorflow.tfprof.CodeDef.Trace.line_id)
2808 return line_id_;
2809}
2810inline void CodeDef_Trace::set_line_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
2811
2812 line_id_ = value;
2813 // @@protoc_insertion_point(field_set:tensorflow.tfprof.CodeDef.Trace.line_id)
2814}
2815
2816// int32 func_start_line = 5;
2817inline void CodeDef_Trace::clear_func_start_line() {
2818 func_start_line_ = 0;
2819}
2820inline ::PROTOBUF_NAMESPACE_ID::int32 CodeDef_Trace::func_start_line() const {
2821 // @@protoc_insertion_point(field_get:tensorflow.tfprof.CodeDef.Trace.func_start_line)
2822 return func_start_line_;
2823}
2824inline void CodeDef_Trace::set_func_start_line(::PROTOBUF_NAMESPACE_ID::int32 value) {
2825
2826 func_start_line_ = value;
2827 // @@protoc_insertion_point(field_set:tensorflow.tfprof.CodeDef.Trace.func_start_line)
2828}
2829
2830// -------------------------------------------------------------------
2831
2832// CodeDef
2833
2834// repeated .tensorflow.tfprof.CodeDef.Trace traces = 1;
2835inline int CodeDef::traces_size() const {
2836 return traces_.size();
2837}
2838inline void CodeDef::clear_traces() {
2839 traces_.Clear();
2840}
2841inline ::tensorflow::tfprof::CodeDef_Trace* CodeDef::mutable_traces(int index) {
2842 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.CodeDef.traces)
2843 return traces_.Mutable(index);
2844}
2845inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::CodeDef_Trace >*
2846CodeDef::mutable_traces() {
2847 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.CodeDef.traces)
2848 return &traces_;
2849}
2850inline const ::tensorflow::tfprof::CodeDef_Trace& CodeDef::traces(int index) const {
2851 // @@protoc_insertion_point(field_get:tensorflow.tfprof.CodeDef.traces)
2852 return traces_.Get(index);
2853}
2854inline ::tensorflow::tfprof::CodeDef_Trace* CodeDef::add_traces() {
2855 // @@protoc_insertion_point(field_add:tensorflow.tfprof.CodeDef.traces)
2856 return traces_.Add();
2857}
2858inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::CodeDef_Trace >&
2859CodeDef::traces() const {
2860 // @@protoc_insertion_point(field_list:tensorflow.tfprof.CodeDef.traces)
2861 return traces_;
2862}
2863
2864// -------------------------------------------------------------------
2865
2866// OpLogEntry
2867
2868// string name = 1;
2869inline void OpLogEntry::clear_name() {
2870 name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2871}
2872inline const std::string& OpLogEntry::name() const {
2873 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OpLogEntry.name)
2874 return name_.GetNoArena();
2875}
2876inline void OpLogEntry::set_name(const std::string& value) {
2877
2878 name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
2879 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OpLogEntry.name)
2880}
2881inline void OpLogEntry::set_name(std::string&& value) {
2882
2883 name_.SetNoArena(
2884 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
2885 // @@protoc_insertion_point(field_set_rvalue:tensorflow.tfprof.OpLogEntry.name)
2886}
2887inline void OpLogEntry::set_name(const char* value) {
2888 GOOGLE_DCHECK(value != nullptr);
2889
2890 name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
2891 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.OpLogEntry.name)
2892}
2893inline void OpLogEntry::set_name(const char* value, size_t size) {
2894
2895 name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2896 ::std::string(reinterpret_cast<const char*>(value), size));
2897 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.OpLogEntry.name)
2898}
2899inline std::string* OpLogEntry::mutable_name() {
2900
2901 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.OpLogEntry.name)
2902 return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2903}
2904inline std::string* OpLogEntry::release_name() {
2905 // @@protoc_insertion_point(field_release:tensorflow.tfprof.OpLogEntry.name)
2906
2907 return name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
2908}
2909inline void OpLogEntry::set_allocated_name(std::string* name) {
2910 if (name != nullptr) {
2911
2912 } else {
2913
2914 }
2915 name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name);
2916 // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.OpLogEntry.name)
2917}
2918
2919// int64 float_ops = 2;
2920inline void OpLogEntry::clear_float_ops() {
2921 float_ops_ = PROTOBUF_LONGLONG(0);
2922}
2923inline ::PROTOBUF_NAMESPACE_ID::int64 OpLogEntry::float_ops() const {
2924 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OpLogEntry.float_ops)
2925 return float_ops_;
2926}
2927inline void OpLogEntry::set_float_ops(::PROTOBUF_NAMESPACE_ID::int64 value) {
2928
2929 float_ops_ = value;
2930 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OpLogEntry.float_ops)
2931}
2932
2933// repeated string types = 3;
2934inline int OpLogEntry::types_size() const {
2935 return types_.size();
2936}
2937inline void OpLogEntry::clear_types() {
2938 types_.Clear();
2939}
2940inline const std::string& OpLogEntry::types(int index) const {
2941 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OpLogEntry.types)
2942 return types_.Get(index);
2943}
2944inline std::string* OpLogEntry::mutable_types(int index) {
2945 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.OpLogEntry.types)
2946 return types_.Mutable(index);
2947}
2948inline void OpLogEntry::set_types(int index, const std::string& value) {
2949 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OpLogEntry.types)
2950 types_.Mutable(index)->assign(value);
2951}
2952inline void OpLogEntry::set_types(int index, std::string&& value) {
2953 // @@protoc_insertion_point(field_set:tensorflow.tfprof.OpLogEntry.types)
2954 types_.Mutable(index)->assign(std::move(value));
2955}
2956inline void OpLogEntry::set_types(int index, const char* value) {
2957 GOOGLE_DCHECK(value != nullptr);
2958 types_.Mutable(index)->assign(value);
2959 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.OpLogEntry.types)
2960}
2961inline void OpLogEntry::set_types(int index, const char* value, size_t size) {
2962 types_.Mutable(index)->assign(
2963 reinterpret_cast<const char*>(value), size);
2964 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.OpLogEntry.types)
2965}
2966inline std::string* OpLogEntry::add_types() {
2967 // @@protoc_insertion_point(field_add_mutable:tensorflow.tfprof.OpLogEntry.types)
2968 return types_.Add();
2969}
2970inline void OpLogEntry::add_types(const std::string& value) {
2971 types_.Add()->assign(value);
2972 // @@protoc_insertion_point(field_add:tensorflow.tfprof.OpLogEntry.types)
2973}
2974inline void OpLogEntry::add_types(std::string&& value) {
2975 types_.Add(std::move(value));
2976 // @@protoc_insertion_point(field_add:tensorflow.tfprof.OpLogEntry.types)
2977}
2978inline void OpLogEntry::add_types(const char* value) {
2979 GOOGLE_DCHECK(value != nullptr);
2980 types_.Add()->assign(value);
2981 // @@protoc_insertion_point(field_add_char:tensorflow.tfprof.OpLogEntry.types)
2982}
2983inline void OpLogEntry::add_types(const char* value, size_t size) {
2984 types_.Add()->assign(reinterpret_cast<const char*>(value), size);
2985 // @@protoc_insertion_point(field_add_pointer:tensorflow.tfprof.OpLogEntry.types)
2986}
2987inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
2988OpLogEntry::types() const {
2989 // @@protoc_insertion_point(field_list:tensorflow.tfprof.OpLogEntry.types)
2990 return types_;
2991}
2992inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
2993OpLogEntry::mutable_types() {
2994 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.OpLogEntry.types)
2995 return &types_;
2996}
2997
2998// .tensorflow.tfprof.CodeDef code_def = 4;
2999inline bool OpLogEntry::has_code_def() const {
3000 return this != internal_default_instance() && code_def_ != nullptr;
3001}
3002inline void OpLogEntry::clear_code_def() {
3003 if (GetArenaNoVirtual() == nullptr && code_def_ != nullptr) {
3004 delete code_def_;
3005 }
3006 code_def_ = nullptr;
3007}
3008inline const ::tensorflow::tfprof::CodeDef& OpLogEntry::code_def() const {
3009 const ::tensorflow::tfprof::CodeDef* p = code_def_;
3010 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OpLogEntry.code_def)
3011 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::tfprof::CodeDef*>(
3012 &::tensorflow::tfprof::_CodeDef_default_instance_);
3013}
3014inline ::tensorflow::tfprof::CodeDef* OpLogEntry::release_code_def() {
3015 // @@protoc_insertion_point(field_release:tensorflow.tfprof.OpLogEntry.code_def)
3016
3017 ::tensorflow::tfprof::CodeDef* temp = code_def_;
3018 code_def_ = nullptr;
3019 return temp;
3020}
3021inline ::tensorflow::tfprof::CodeDef* OpLogEntry::mutable_code_def() {
3022
3023 if (code_def_ == nullptr) {
3024 auto* p = CreateMaybeMessage<::tensorflow::tfprof::CodeDef>(GetArenaNoVirtual());
3025 code_def_ = p;
3026 }
3027 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.OpLogEntry.code_def)
3028 return code_def_;
3029}
3030inline void OpLogEntry::set_allocated_code_def(::tensorflow::tfprof::CodeDef* code_def) {
3031 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
3032 if (message_arena == nullptr) {
3033 delete code_def_;
3034 }
3035 if (code_def) {
3036 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
3037 if (message_arena != submessage_arena) {
3038 code_def = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3039 message_arena, code_def, submessage_arena);
3040 }
3041
3042 } else {
3043
3044 }
3045 code_def_ = code_def;
3046 // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.OpLogEntry.code_def)
3047}
3048
3049// -------------------------------------------------------------------
3050
3051// -------------------------------------------------------------------
3052
3053// OpLogProto
3054
3055// repeated .tensorflow.tfprof.OpLogEntry log_entries = 1;
3056inline int OpLogProto::log_entries_size() const {
3057 return log_entries_.size();
3058}
3059inline void OpLogProto::clear_log_entries() {
3060 log_entries_.Clear();
3061}
3062inline ::tensorflow::tfprof::OpLogEntry* OpLogProto::mutable_log_entries(int index) {
3063 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.OpLogProto.log_entries)
3064 return log_entries_.Mutable(index);
3065}
3066inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::OpLogEntry >*
3067OpLogProto::mutable_log_entries() {
3068 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.OpLogProto.log_entries)
3069 return &log_entries_;
3070}
3071inline const ::tensorflow::tfprof::OpLogEntry& OpLogProto::log_entries(int index) const {
3072 // @@protoc_insertion_point(field_get:tensorflow.tfprof.OpLogProto.log_entries)
3073 return log_entries_.Get(index);
3074}
3075inline ::tensorflow::tfprof::OpLogEntry* OpLogProto::add_log_entries() {
3076 // @@protoc_insertion_point(field_add:tensorflow.tfprof.OpLogProto.log_entries)
3077 return log_entries_.Add();
3078}
3079inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::OpLogEntry >&
3080OpLogProto::log_entries() const {
3081 // @@protoc_insertion_point(field_list:tensorflow.tfprof.OpLogProto.log_entries)
3082 return log_entries_;
3083}
3084
3085// map<int64, string> id_to_string = 2;
3086inline int OpLogProto::id_to_string_size() const {
3087 return id_to_string_.size();
3088}
3089inline void OpLogProto::clear_id_to_string() {
3090 id_to_string_.Clear();
3091}
3092inline const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, std::string >&
3093OpLogProto::id_to_string() const {
3094 // @@protoc_insertion_point(field_map:tensorflow.tfprof.OpLogProto.id_to_string)
3095 return id_to_string_.GetMap();
3096}
3097inline ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, std::string >*
3098OpLogProto::mutable_id_to_string() {
3099 // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.OpLogProto.id_to_string)
3100 return id_to_string_.MutableMap();
3101}
3102
3103// -------------------------------------------------------------------
3104
3105// -------------------------------------------------------------------
3106
3107// -------------------------------------------------------------------
3108
3109// ProfileProto
3110
3111// map<int64, .tensorflow.tfprof.ProfileNode> nodes = 1;
3112inline int ProfileProto::nodes_size() const {
3113 return nodes_.size();
3114}
3115inline void ProfileProto::clear_nodes() {
3116 nodes_.Clear();
3117}
3118inline const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, ::tensorflow::tfprof::ProfileNode >&
3119ProfileProto::nodes() const {
3120 // @@protoc_insertion_point(field_map:tensorflow.tfprof.ProfileProto.nodes)
3121 return nodes_.GetMap();
3122}
3123inline ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, ::tensorflow::tfprof::ProfileNode >*
3124ProfileProto::mutable_nodes() {
3125 // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.ProfileProto.nodes)
3126 return nodes_.MutableMap();
3127}
3128
3129// bool has_trace = 2;
3130inline void ProfileProto::clear_has_trace() {
3131 has_trace_ = false;
3132}
3133inline bool ProfileProto::has_trace() const {
3134 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ProfileProto.has_trace)
3135 return has_trace_;
3136}
3137inline void ProfileProto::set_has_trace(bool value) {
3138
3139 has_trace_ = value;
3140 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ProfileProto.has_trace)
3141}
3142
3143// bool miss_accelerator_stream = 5;
3144inline void ProfileProto::clear_miss_accelerator_stream() {
3145 miss_accelerator_stream_ = false;
3146}
3147inline bool ProfileProto::miss_accelerator_stream() const {
3148 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ProfileProto.miss_accelerator_stream)
3149 return miss_accelerator_stream_;
3150}
3151inline void ProfileProto::set_miss_accelerator_stream(bool value) {
3152
3153 miss_accelerator_stream_ = value;
3154 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ProfileProto.miss_accelerator_stream)
3155}
3156
3157// repeated int64 steps = 3;
3158inline int ProfileProto::steps_size() const {
3159 return steps_.size();
3160}
3161inline void ProfileProto::clear_steps() {
3162 steps_.Clear();
3163}
3164inline ::PROTOBUF_NAMESPACE_ID::int64 ProfileProto::steps(int index) const {
3165 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ProfileProto.steps)
3166 return steps_.Get(index);
3167}
3168inline void ProfileProto::set_steps(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) {
3169 steps_.Set(index, value);
3170 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ProfileProto.steps)
3171}
3172inline void ProfileProto::add_steps(::PROTOBUF_NAMESPACE_ID::int64 value) {
3173 steps_.Add(value);
3174 // @@protoc_insertion_point(field_add:tensorflow.tfprof.ProfileProto.steps)
3175}
3176inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
3177ProfileProto::steps() const {
3178 // @@protoc_insertion_point(field_list:tensorflow.tfprof.ProfileProto.steps)
3179 return steps_;
3180}
3181inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
3182ProfileProto::mutable_steps() {
3183 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.ProfileProto.steps)
3184 return &steps_;
3185}
3186
3187// map<int64, string> id_to_string = 4;
3188inline int ProfileProto::id_to_string_size() const {
3189 return id_to_string_.size();
3190}
3191inline void ProfileProto::clear_id_to_string() {
3192 id_to_string_.Clear();
3193}
3194inline const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, std::string >&
3195ProfileProto::id_to_string() const {
3196 // @@protoc_insertion_point(field_map:tensorflow.tfprof.ProfileProto.id_to_string)
3197 return id_to_string_.GetMap();
3198}
3199inline ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, std::string >*
3200ProfileProto::mutable_id_to_string() {
3201 // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.ProfileProto.id_to_string)
3202 return id_to_string_.MutableMap();
3203}
3204
3205// -------------------------------------------------------------------
3206
3207// -------------------------------------------------------------------
3208
3209// -------------------------------------------------------------------
3210
3211// -------------------------------------------------------------------
3212
3213// -------------------------------------------------------------------
3214
3215// -------------------------------------------------------------------
3216
3217// -------------------------------------------------------------------
3218
3219// -------------------------------------------------------------------
3220
3221// ProfileNode
3222
3223// string name = 1;
3224inline void ProfileNode::clear_name() {
3225 name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3226}
3227inline const std::string& ProfileNode::name() const {
3228 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ProfileNode.name)
3229 return name_.GetNoArena();
3230}
3231inline void ProfileNode::set_name(const std::string& value) {
3232
3233 name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
3234 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ProfileNode.name)
3235}
3236inline void ProfileNode::set_name(std::string&& value) {
3237
3238 name_.SetNoArena(
3239 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3240 // @@protoc_insertion_point(field_set_rvalue:tensorflow.tfprof.ProfileNode.name)
3241}
3242inline void ProfileNode::set_name(const char* value) {
3243 GOOGLE_DCHECK(value != nullptr);
3244
3245 name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3246 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.ProfileNode.name)
3247}
3248inline void ProfileNode::set_name(const char* value, size_t size) {
3249
3250 name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
3251 ::std::string(reinterpret_cast<const char*>(value), size));
3252 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.ProfileNode.name)
3253}
3254inline std::string* ProfileNode::mutable_name() {
3255
3256 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.ProfileNode.name)
3257 return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3258}
3259inline std::string* ProfileNode::release_name() {
3260 // @@protoc_insertion_point(field_release:tensorflow.tfprof.ProfileNode.name)
3261
3262 return name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3263}
3264inline void ProfileNode::set_allocated_name(std::string* name) {
3265 if (name != nullptr) {
3266
3267 } else {
3268
3269 }
3270 name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name);
3271 // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.ProfileNode.name)
3272}
3273
3274// string op = 9;
3275inline void ProfileNode::clear_op() {
3276 op_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3277}
3278inline const std::string& ProfileNode::op() const {
3279 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ProfileNode.op)
3280 return op_.GetNoArena();
3281}
3282inline void ProfileNode::set_op(const std::string& value) {
3283
3284 op_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
3285 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ProfileNode.op)
3286}
3287inline void ProfileNode::set_op(std::string&& value) {
3288
3289 op_.SetNoArena(
3290 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3291 // @@protoc_insertion_point(field_set_rvalue:tensorflow.tfprof.ProfileNode.op)
3292}
3293inline void ProfileNode::set_op(const char* value) {
3294 GOOGLE_DCHECK(value != nullptr);
3295
3296 op_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3297 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.ProfileNode.op)
3298}
3299inline void ProfileNode::set_op(const char* value, size_t size) {
3300
3301 op_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
3302 ::std::string(reinterpret_cast<const char*>(value), size));
3303 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.ProfileNode.op)
3304}
3305inline std::string* ProfileNode::mutable_op() {
3306
3307 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.ProfileNode.op)
3308 return op_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3309}
3310inline std::string* ProfileNode::release_op() {
3311 // @@protoc_insertion_point(field_release:tensorflow.tfprof.ProfileNode.op)
3312
3313 return op_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3314}
3315inline void ProfileNode::set_allocated_op(std::string* op) {
3316 if (op != nullptr) {
3317
3318 } else {
3319
3320 }
3321 op_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), op);
3322 // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.ProfileNode.op)
3323}
3324
3325// int64 id = 13;
3326inline void ProfileNode::clear_id() {
3327 id_ = PROTOBUF_LONGLONG(0);
3328}
3329inline ::PROTOBUF_NAMESPACE_ID::int64 ProfileNode::id() const {
3330 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ProfileNode.id)
3331 return id_;
3332}
3333inline void ProfileNode::set_id(::PROTOBUF_NAMESPACE_ID::int64 value) {
3334
3335 id_ = value;
3336 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ProfileNode.id)
3337}
3338
3339// map<int32, int64> inputs = 2;
3340inline int ProfileNode::inputs_size() const {
3341 return inputs_.size();
3342}
3343inline void ProfileNode::clear_inputs() {
3344 inputs_.Clear();
3345}
3346inline const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::int64 >&
3347ProfileNode::inputs() const {
3348 // @@protoc_insertion_point(field_map:tensorflow.tfprof.ProfileNode.inputs)
3349 return inputs_.GetMap();
3350}
3351inline ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::int64 >*
3352ProfileNode::mutable_inputs() {
3353 // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.ProfileNode.inputs)
3354 return inputs_.MutableMap();
3355}
3356
3357// map<int32, .tensorflow.tfprof.Tuple> input_shapes = 16;
3358inline int ProfileNode::input_shapes_size() const {
3359 return input_shapes_.size();
3360}
3361inline void ProfileNode::clear_input_shapes() {
3362 input_shapes_.Clear();
3363}
3364inline const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Tuple >&
3365ProfileNode::input_shapes() const {
3366 // @@protoc_insertion_point(field_map:tensorflow.tfprof.ProfileNode.input_shapes)
3367 return input_shapes_.GetMap();
3368}
3369inline ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Tuple >*
3370ProfileNode::mutable_input_shapes() {
3371 // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.ProfileNode.input_shapes)
3372 return input_shapes_.MutableMap();
3373}
3374
3375// map<int32, int64> outputs = 3;
3376inline int ProfileNode::outputs_size() const {
3377 return outputs_.size();
3378}
3379inline void ProfileNode::clear_outputs() {
3380 outputs_.Clear();
3381}
3382inline const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::int64 >&
3383ProfileNode::outputs() const {
3384 // @@protoc_insertion_point(field_map:tensorflow.tfprof.ProfileNode.outputs)
3385 return outputs_.GetMap();
3386}
3387inline ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::PROTOBUF_NAMESPACE_ID::int64 >*
3388ProfileNode::mutable_outputs() {
3389 // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.ProfileNode.outputs)
3390 return outputs_.MutableMap();
3391}
3392
3393// map<int32, .tensorflow.tfprof.Tuple> output_shapes = 15;
3394inline int ProfileNode::output_shapes_size() const {
3395 return output_shapes_.size();
3396}
3397inline void ProfileNode::clear_output_shapes() {
3398 output_shapes_.Clear();
3399}
3400inline const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Tuple >&
3401ProfileNode::output_shapes() const {
3402 // @@protoc_insertion_point(field_map:tensorflow.tfprof.ProfileNode.output_shapes)
3403 return output_shapes_.GetMap();
3404}
3405inline ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Tuple >*
3406ProfileNode::mutable_output_shapes() {
3407 // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.ProfileNode.output_shapes)
3408 return output_shapes_.MutableMap();
3409}
3410
3411// map<int64, int32> src_output_index = 14;
3412inline int ProfileNode::src_output_index_size() const {
3413 return src_output_index_.size();
3414}
3415inline void ProfileNode::clear_src_output_index() {
3416 src_output_index_.Clear();
3417}
3418inline const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::int32 >&
3419ProfileNode::src_output_index() const {
3420 // @@protoc_insertion_point(field_map:tensorflow.tfprof.ProfileNode.src_output_index)
3421 return src_output_index_.GetMap();
3422}
3423inline ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::int32 >*
3424ProfileNode::mutable_src_output_index() {
3425 // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.ProfileNode.src_output_index)
3426 return src_output_index_.MutableMap();
3427}
3428
3429// repeated int64 shape = 4;
3430inline int ProfileNode::shape_size() const {
3431 return shape_.size();
3432}
3433inline void ProfileNode::clear_shape() {
3434 shape_.Clear();
3435}
3436inline ::PROTOBUF_NAMESPACE_ID::int64 ProfileNode::shape(int index) const {
3437 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ProfileNode.shape)
3438 return shape_.Get(index);
3439}
3440inline void ProfileNode::set_shape(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) {
3441 shape_.Set(index, value);
3442 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ProfileNode.shape)
3443}
3444inline void ProfileNode::add_shape(::PROTOBUF_NAMESPACE_ID::int64 value) {
3445 shape_.Add(value);
3446 // @@protoc_insertion_point(field_add:tensorflow.tfprof.ProfileNode.shape)
3447}
3448inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
3449ProfileNode::shape() const {
3450 // @@protoc_insertion_point(field_list:tensorflow.tfprof.ProfileNode.shape)
3451 return shape_;
3452}
3453inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
3454ProfileNode::mutable_shape() {
3455 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.ProfileNode.shape)
3456 return &shape_;
3457}
3458
3459// repeated string op_types = 5;
3460inline int ProfileNode::op_types_size() const {
3461 return op_types_.size();
3462}
3463inline void ProfileNode::clear_op_types() {
3464 op_types_.Clear();
3465}
3466inline const std::string& ProfileNode::op_types(int index) const {
3467 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ProfileNode.op_types)
3468 return op_types_.Get(index);
3469}
3470inline std::string* ProfileNode::mutable_op_types(int index) {
3471 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.ProfileNode.op_types)
3472 return op_types_.Mutable(index);
3473}
3474inline void ProfileNode::set_op_types(int index, const std::string& value) {
3475 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ProfileNode.op_types)
3476 op_types_.Mutable(index)->assign(value);
3477}
3478inline void ProfileNode::set_op_types(int index, std::string&& value) {
3479 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ProfileNode.op_types)
3480 op_types_.Mutable(index)->assign(std::move(value));
3481}
3482inline void ProfileNode::set_op_types(int index, const char* value) {
3483 GOOGLE_DCHECK(value != nullptr);
3484 op_types_.Mutable(index)->assign(value);
3485 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.ProfileNode.op_types)
3486}
3487inline void ProfileNode::set_op_types(int index, const char* value, size_t size) {
3488 op_types_.Mutable(index)->assign(
3489 reinterpret_cast<const char*>(value), size);
3490 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.ProfileNode.op_types)
3491}
3492inline std::string* ProfileNode::add_op_types() {
3493 // @@protoc_insertion_point(field_add_mutable:tensorflow.tfprof.ProfileNode.op_types)
3494 return op_types_.Add();
3495}
3496inline void ProfileNode::add_op_types(const std::string& value) {
3497 op_types_.Add()->assign(value);
3498 // @@protoc_insertion_point(field_add:tensorflow.tfprof.ProfileNode.op_types)
3499}
3500inline void ProfileNode::add_op_types(std::string&& value) {
3501 op_types_.Add(std::move(value));
3502 // @@protoc_insertion_point(field_add:tensorflow.tfprof.ProfileNode.op_types)
3503}
3504inline void ProfileNode::add_op_types(const char* value) {
3505 GOOGLE_DCHECK(value != nullptr);
3506 op_types_.Add()->assign(value);
3507 // @@protoc_insertion_point(field_add_char:tensorflow.tfprof.ProfileNode.op_types)
3508}
3509inline void ProfileNode::add_op_types(const char* value, size_t size) {
3510 op_types_.Add()->assign(reinterpret_cast<const char*>(value), size);
3511 // @@protoc_insertion_point(field_add_pointer:tensorflow.tfprof.ProfileNode.op_types)
3512}
3513inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
3514ProfileNode::op_types() const {
3515 // @@protoc_insertion_point(field_list:tensorflow.tfprof.ProfileNode.op_types)
3516 return op_types_;
3517}
3518inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
3519ProfileNode::mutable_op_types() {
3520 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.ProfileNode.op_types)
3521 return &op_types_;
3522}
3523
3524// string canonical_device = 6;
3525inline void ProfileNode::clear_canonical_device() {
3526 canonical_device_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3527}
3528inline const std::string& ProfileNode::canonical_device() const {
3529 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ProfileNode.canonical_device)
3530 return canonical_device_.GetNoArena();
3531}
3532inline void ProfileNode::set_canonical_device(const std::string& value) {
3533
3534 canonical_device_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
3535 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ProfileNode.canonical_device)
3536}
3537inline void ProfileNode::set_canonical_device(std::string&& value) {
3538
3539 canonical_device_.SetNoArena(
3540 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3541 // @@protoc_insertion_point(field_set_rvalue:tensorflow.tfprof.ProfileNode.canonical_device)
3542}
3543inline void ProfileNode::set_canonical_device(const char* value) {
3544 GOOGLE_DCHECK(value != nullptr);
3545
3546 canonical_device_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3547 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.ProfileNode.canonical_device)
3548}
3549inline void ProfileNode::set_canonical_device(const char* value, size_t size) {
3550
3551 canonical_device_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
3552 ::std::string(reinterpret_cast<const char*>(value), size));
3553 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.ProfileNode.canonical_device)
3554}
3555inline std::string* ProfileNode::mutable_canonical_device() {
3556
3557 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.ProfileNode.canonical_device)
3558 return canonical_device_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3559}
3560inline std::string* ProfileNode::release_canonical_device() {
3561 // @@protoc_insertion_point(field_release:tensorflow.tfprof.ProfileNode.canonical_device)
3562
3563 return canonical_device_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3564}
3565inline void ProfileNode::set_allocated_canonical_device(std::string* canonical_device) {
3566 if (canonical_device != nullptr) {
3567
3568 } else {
3569
3570 }
3571 canonical_device_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), canonical_device);
3572 // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.ProfileNode.canonical_device)
3573}
3574
3575// string host_device = 7;
3576inline void ProfileNode::clear_host_device() {
3577 host_device_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3578}
3579inline const std::string& ProfileNode::host_device() const {
3580 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ProfileNode.host_device)
3581 return host_device_.GetNoArena();
3582}
3583inline void ProfileNode::set_host_device(const std::string& value) {
3584
3585 host_device_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
3586 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ProfileNode.host_device)
3587}
3588inline void ProfileNode::set_host_device(std::string&& value) {
3589
3590 host_device_.SetNoArena(
3591 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
3592 // @@protoc_insertion_point(field_set_rvalue:tensorflow.tfprof.ProfileNode.host_device)
3593}
3594inline void ProfileNode::set_host_device(const char* value) {
3595 GOOGLE_DCHECK(value != nullptr);
3596
3597 host_device_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
3598 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.ProfileNode.host_device)
3599}
3600inline void ProfileNode::set_host_device(const char* value, size_t size) {
3601
3602 host_device_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
3603 ::std::string(reinterpret_cast<const char*>(value), size));
3604 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.ProfileNode.host_device)
3605}
3606inline std::string* ProfileNode::mutable_host_device() {
3607
3608 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.ProfileNode.host_device)
3609 return host_device_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3610}
3611inline std::string* ProfileNode::release_host_device() {
3612 // @@protoc_insertion_point(field_release:tensorflow.tfprof.ProfileNode.host_device)
3613
3614 return host_device_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
3615}
3616inline void ProfileNode::set_allocated_host_device(std::string* host_device) {
3617 if (host_device != nullptr) {
3618
3619 } else {
3620
3621 }
3622 host_device_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), host_device);
3623 // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.ProfileNode.host_device)
3624}
3625
3626// int64 float_ops = 8;
3627inline void ProfileNode::clear_float_ops() {
3628 float_ops_ = PROTOBUF_LONGLONG(0);
3629}
3630inline ::PROTOBUF_NAMESPACE_ID::int64 ProfileNode::float_ops() const {
3631 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ProfileNode.float_ops)
3632 return float_ops_;
3633}
3634inline void ProfileNode::set_float_ops(::PROTOBUF_NAMESPACE_ID::int64 value) {
3635
3636 float_ops_ = value;
3637 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ProfileNode.float_ops)
3638}
3639
3640// .tensorflow.tfprof.CodeDef trace = 10;
3641inline bool ProfileNode::has_trace() const {
3642 return this != internal_default_instance() && trace_ != nullptr;
3643}
3644inline void ProfileNode::clear_trace() {
3645 if (GetArenaNoVirtual() == nullptr && trace_ != nullptr) {
3646 delete trace_;
3647 }
3648 trace_ = nullptr;
3649}
3650inline const ::tensorflow::tfprof::CodeDef& ProfileNode::trace() const {
3651 const ::tensorflow::tfprof::CodeDef* p = trace_;
3652 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ProfileNode.trace)
3653 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::tfprof::CodeDef*>(
3654 &::tensorflow::tfprof::_CodeDef_default_instance_);
3655}
3656inline ::tensorflow::tfprof::CodeDef* ProfileNode::release_trace() {
3657 // @@protoc_insertion_point(field_release:tensorflow.tfprof.ProfileNode.trace)
3658
3659 ::tensorflow::tfprof::CodeDef* temp = trace_;
3660 trace_ = nullptr;
3661 return temp;
3662}
3663inline ::tensorflow::tfprof::CodeDef* ProfileNode::mutable_trace() {
3664
3665 if (trace_ == nullptr) {
3666 auto* p = CreateMaybeMessage<::tensorflow::tfprof::CodeDef>(GetArenaNoVirtual());
3667 trace_ = p;
3668 }
3669 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.ProfileNode.trace)
3670 return trace_;
3671}
3672inline void ProfileNode::set_allocated_trace(::tensorflow::tfprof::CodeDef* trace) {
3673 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
3674 if (message_arena == nullptr) {
3675 delete trace_;
3676 }
3677 if (trace) {
3678 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
3679 if (message_arena != submessage_arena) {
3680 trace = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3681 message_arena, trace, submessage_arena);
3682 }
3683
3684 } else {
3685
3686 }
3687 trace_ = trace;
3688 // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.ProfileNode.trace)
3689}
3690
3691// map<string, .tensorflow.AttrValue> attrs = 11;
3692inline int ProfileNode::attrs_size() const {
3693 return attrs_.size();
3694}
3695inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >&
3696ProfileNode::attrs() const {
3697 // @@protoc_insertion_point(field_map:tensorflow.tfprof.ProfileNode.attrs)
3698 return attrs_.GetMap();
3699}
3700inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >*
3701ProfileNode::mutable_attrs() {
3702 // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.ProfileNode.attrs)
3703 return attrs_.MutableMap();
3704}
3705
3706// map<int64, .tensorflow.tfprof.ExecProfile> execs = 12;
3707inline int ProfileNode::execs_size() const {
3708 return execs_.size();
3709}
3710inline void ProfileNode::clear_execs() {
3711 execs_.Clear();
3712}
3713inline const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, ::tensorflow::tfprof::ExecProfile >&
3714ProfileNode::execs() const {
3715 // @@protoc_insertion_point(field_map:tensorflow.tfprof.ProfileNode.execs)
3716 return execs_.GetMap();
3717}
3718inline ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int64, ::tensorflow::tfprof::ExecProfile >*
3719ProfileNode::mutable_execs() {
3720 // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.ProfileNode.execs)
3721 return execs_.MutableMap();
3722}
3723
3724// -------------------------------------------------------------------
3725
3726// -------------------------------------------------------------------
3727
3728// -------------------------------------------------------------------
3729
3730// ExecProfile
3731
3732// int64 run_count = 1;
3733inline void ExecProfile::clear_run_count() {
3734 run_count_ = PROTOBUF_LONGLONG(0);
3735}
3736inline ::PROTOBUF_NAMESPACE_ID::int64 ExecProfile::run_count() const {
3737 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecProfile.run_count)
3738 return run_count_;
3739}
3740inline void ExecProfile::set_run_count(::PROTOBUF_NAMESPACE_ID::int64 value) {
3741
3742 run_count_ = value;
3743 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ExecProfile.run_count)
3744}
3745
3746// int64 all_start_micros = 2;
3747inline void ExecProfile::clear_all_start_micros() {
3748 all_start_micros_ = PROTOBUF_LONGLONG(0);
3749}
3750inline ::PROTOBUF_NAMESPACE_ID::int64 ExecProfile::all_start_micros() const {
3751 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecProfile.all_start_micros)
3752 return all_start_micros_;
3753}
3754inline void ExecProfile::set_all_start_micros(::PROTOBUF_NAMESPACE_ID::int64 value) {
3755
3756 all_start_micros_ = value;
3757 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ExecProfile.all_start_micros)
3758}
3759
3760// int64 latest_end_micros = 3;
3761inline void ExecProfile::clear_latest_end_micros() {
3762 latest_end_micros_ = PROTOBUF_LONGLONG(0);
3763}
3764inline ::PROTOBUF_NAMESPACE_ID::int64 ExecProfile::latest_end_micros() const {
3765 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecProfile.latest_end_micros)
3766 return latest_end_micros_;
3767}
3768inline void ExecProfile::set_latest_end_micros(::PROTOBUF_NAMESPACE_ID::int64 value) {
3769
3770 latest_end_micros_ = value;
3771 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ExecProfile.latest_end_micros)
3772}
3773
3774// map<string, .tensorflow.tfprof.ExecTime> accelerator_execs = 4;
3775inline int ExecProfile::accelerator_execs_size() const {
3776 return accelerator_execs_.size();
3777}
3778inline void ExecProfile::clear_accelerator_execs() {
3779 accelerator_execs_.Clear();
3780}
3781inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::tfprof::ExecTime >&
3782ExecProfile::accelerator_execs() const {
3783 // @@protoc_insertion_point(field_map:tensorflow.tfprof.ExecProfile.accelerator_execs)
3784 return accelerator_execs_.GetMap();
3785}
3786inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::tfprof::ExecTime >*
3787ExecProfile::mutable_accelerator_execs() {
3788 // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.ExecProfile.accelerator_execs)
3789 return accelerator_execs_.MutableMap();
3790}
3791
3792// map<string, .tensorflow.tfprof.ExecTime> cpu_execs = 5;
3793inline int ExecProfile::cpu_execs_size() const {
3794 return cpu_execs_.size();
3795}
3796inline void ExecProfile::clear_cpu_execs() {
3797 cpu_execs_.Clear();
3798}
3799inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::tfprof::ExecTime >&
3800ExecProfile::cpu_execs() const {
3801 // @@protoc_insertion_point(field_map:tensorflow.tfprof.ExecProfile.cpu_execs)
3802 return cpu_execs_.GetMap();
3803}
3804inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::tfprof::ExecTime >*
3805ExecProfile::mutable_cpu_execs() {
3806 // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.ExecProfile.cpu_execs)
3807 return cpu_execs_.MutableMap();
3808}
3809
3810// repeated .tensorflow.tfprof.ExecMemory memory_execs = 7;
3811inline int ExecProfile::memory_execs_size() const {
3812 return memory_execs_.size();
3813}
3814inline void ExecProfile::clear_memory_execs() {
3815 memory_execs_.Clear();
3816}
3817inline ::tensorflow::tfprof::ExecMemory* ExecProfile::mutable_memory_execs(int index) {
3818 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.ExecProfile.memory_execs)
3819 return memory_execs_.Mutable(index);
3820}
3821inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::ExecMemory >*
3822ExecProfile::mutable_memory_execs() {
3823 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.ExecProfile.memory_execs)
3824 return &memory_execs_;
3825}
3826inline const ::tensorflow::tfprof::ExecMemory& ExecProfile::memory_execs(int index) const {
3827 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecProfile.memory_execs)
3828 return memory_execs_.Get(index);
3829}
3830inline ::tensorflow::tfprof::ExecMemory* ExecProfile::add_memory_execs() {
3831 // @@protoc_insertion_point(field_add:tensorflow.tfprof.ExecProfile.memory_execs)
3832 return memory_execs_.Add();
3833}
3834inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::ExecMemory >&
3835ExecProfile::memory_execs() const {
3836 // @@protoc_insertion_point(field_list:tensorflow.tfprof.ExecProfile.memory_execs)
3837 return memory_execs_;
3838}
3839
3840// repeated .tensorflow.AllocationRecord allocations = 11;
3841inline int ExecProfile::allocations_size() const {
3842 return allocations_.size();
3843}
3844inline ::tensorflow::AllocationRecord* ExecProfile::mutable_allocations(int index) {
3845 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.ExecProfile.allocations)
3846 return allocations_.Mutable(index);
3847}
3848inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocationRecord >*
3849ExecProfile::mutable_allocations() {
3850 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.ExecProfile.allocations)
3851 return &allocations_;
3852}
3853inline const ::tensorflow::AllocationRecord& ExecProfile::allocations(int index) const {
3854 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecProfile.allocations)
3855 return allocations_.Get(index);
3856}
3857inline ::tensorflow::AllocationRecord* ExecProfile::add_allocations() {
3858 // @@protoc_insertion_point(field_add:tensorflow.tfprof.ExecProfile.allocations)
3859 return allocations_.Add();
3860}
3861inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocationRecord >&
3862ExecProfile::allocations() const {
3863 // @@protoc_insertion_point(field_list:tensorflow.tfprof.ExecProfile.allocations)
3864 return allocations_;
3865}
3866
3867// repeated string devices = 6;
3868inline int ExecProfile::devices_size() const {
3869 return devices_.size();
3870}
3871inline void ExecProfile::clear_devices() {
3872 devices_.Clear();
3873}
3874inline const std::string& ExecProfile::devices(int index) const {
3875 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecProfile.devices)
3876 return devices_.Get(index);
3877}
3878inline std::string* ExecProfile::mutable_devices(int index) {
3879 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.ExecProfile.devices)
3880 return devices_.Mutable(index);
3881}
3882inline void ExecProfile::set_devices(int index, const std::string& value) {
3883 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ExecProfile.devices)
3884 devices_.Mutable(index)->assign(value);
3885}
3886inline void ExecProfile::set_devices(int index, std::string&& value) {
3887 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ExecProfile.devices)
3888 devices_.Mutable(index)->assign(std::move(value));
3889}
3890inline void ExecProfile::set_devices(int index, const char* value) {
3891 GOOGLE_DCHECK(value != nullptr);
3892 devices_.Mutable(index)->assign(value);
3893 // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.ExecProfile.devices)
3894}
3895inline void ExecProfile::set_devices(int index, const char* value, size_t size) {
3896 devices_.Mutable(index)->assign(
3897 reinterpret_cast<const char*>(value), size);
3898 // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.ExecProfile.devices)
3899}
3900inline std::string* ExecProfile::add_devices() {
3901 // @@protoc_insertion_point(field_add_mutable:tensorflow.tfprof.ExecProfile.devices)
3902 return devices_.Add();
3903}
3904inline void ExecProfile::add_devices(const std::string& value) {
3905 devices_.Add()->assign(value);
3906 // @@protoc_insertion_point(field_add:tensorflow.tfprof.ExecProfile.devices)
3907}
3908inline void ExecProfile::add_devices(std::string&& value) {
3909 devices_.Add(std::move(value));
3910 // @@protoc_insertion_point(field_add:tensorflow.tfprof.ExecProfile.devices)
3911}
3912inline void ExecProfile::add_devices(const char* value) {
3913 GOOGLE_DCHECK(value != nullptr);
3914 devices_.Add()->assign(value);
3915 // @@protoc_insertion_point(field_add_char:tensorflow.tfprof.ExecProfile.devices)
3916}
3917inline void ExecProfile::add_devices(const char* value, size_t size) {
3918 devices_.Add()->assign(reinterpret_cast<const char*>(value), size);
3919 // @@protoc_insertion_point(field_add_pointer:tensorflow.tfprof.ExecProfile.devices)
3920}
3921inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
3922ExecProfile::devices() const {
3923 // @@protoc_insertion_point(field_list:tensorflow.tfprof.ExecProfile.devices)
3924 return devices_;
3925}
3926inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
3927ExecProfile::mutable_devices() {
3928 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.ExecProfile.devices)
3929 return &devices_;
3930}
3931
3932// -------------------------------------------------------------------
3933
3934// ExecTime
3935
3936// repeated .tensorflow.tfprof.Tuple times = 1;
3937inline int ExecTime::times_size() const {
3938 return times_.size();
3939}
3940inline void ExecTime::clear_times() {
3941 times_.Clear();
3942}
3943inline ::tensorflow::tfprof::Tuple* ExecTime::mutable_times(int index) {
3944 // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.ExecTime.times)
3945 return times_.Mutable(index);
3946}
3947inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::Tuple >*
3948ExecTime::mutable_times() {
3949 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.ExecTime.times)
3950 return &times_;
3951}
3952inline const ::tensorflow::tfprof::Tuple& ExecTime::times(int index) const {
3953 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecTime.times)
3954 return times_.Get(index);
3955}
3956inline ::tensorflow::tfprof::Tuple* ExecTime::add_times() {
3957 // @@protoc_insertion_point(field_add:tensorflow.tfprof.ExecTime.times)
3958 return times_.Add();
3959}
3960inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::Tuple >&
3961ExecTime::times() const {
3962 // @@protoc_insertion_point(field_list:tensorflow.tfprof.ExecTime.times)
3963 return times_;
3964}
3965
3966// -------------------------------------------------------------------
3967
3968// -------------------------------------------------------------------
3969
3970// ExecMemory
3971
3972// int64 memory_micros = 1;
3973inline void ExecMemory::clear_memory_micros() {
3974 memory_micros_ = PROTOBUF_LONGLONG(0);
3975}
3976inline ::PROTOBUF_NAMESPACE_ID::int64 ExecMemory::memory_micros() const {
3977 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecMemory.memory_micros)
3978 return memory_micros_;
3979}
3980inline void ExecMemory::set_memory_micros(::PROTOBUF_NAMESPACE_ID::int64 value) {
3981
3982 memory_micros_ = value;
3983 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ExecMemory.memory_micros)
3984}
3985
3986// int64 host_temp_bytes = 2;
3987inline void ExecMemory::clear_host_temp_bytes() {
3988 host_temp_bytes_ = PROTOBUF_LONGLONG(0);
3989}
3990inline ::PROTOBUF_NAMESPACE_ID::int64 ExecMemory::host_temp_bytes() const {
3991 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecMemory.host_temp_bytes)
3992 return host_temp_bytes_;
3993}
3994inline void ExecMemory::set_host_temp_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
3995
3996 host_temp_bytes_ = value;
3997 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ExecMemory.host_temp_bytes)
3998}
3999
4000// int64 host_persistent_bytes = 3;
4001inline void ExecMemory::clear_host_persistent_bytes() {
4002 host_persistent_bytes_ = PROTOBUF_LONGLONG(0);
4003}
4004inline ::PROTOBUF_NAMESPACE_ID::int64 ExecMemory::host_persistent_bytes() const {
4005 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecMemory.host_persistent_bytes)
4006 return host_persistent_bytes_;
4007}
4008inline void ExecMemory::set_host_persistent_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
4009
4010 host_persistent_bytes_ = value;
4011 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ExecMemory.host_persistent_bytes)
4012}
4013
4014// int64 accelerator_temp_bytes = 4;
4015inline void ExecMemory::clear_accelerator_temp_bytes() {
4016 accelerator_temp_bytes_ = PROTOBUF_LONGLONG(0);
4017}
4018inline ::PROTOBUF_NAMESPACE_ID::int64 ExecMemory::accelerator_temp_bytes() const {
4019 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecMemory.accelerator_temp_bytes)
4020 return accelerator_temp_bytes_;
4021}
4022inline void ExecMemory::set_accelerator_temp_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
4023
4024 accelerator_temp_bytes_ = value;
4025 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ExecMemory.accelerator_temp_bytes)
4026}
4027
4028// int64 accelerator_persistent_bytes = 5;
4029inline void ExecMemory::clear_accelerator_persistent_bytes() {
4030 accelerator_persistent_bytes_ = PROTOBUF_LONGLONG(0);
4031}
4032inline ::PROTOBUF_NAMESPACE_ID::int64 ExecMemory::accelerator_persistent_bytes() const {
4033 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecMemory.accelerator_persistent_bytes)
4034 return accelerator_persistent_bytes_;
4035}
4036inline void ExecMemory::set_accelerator_persistent_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
4037
4038 accelerator_persistent_bytes_ = value;
4039 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ExecMemory.accelerator_persistent_bytes)
4040}
4041
4042// int64 requested_bytes = 6;
4043inline void ExecMemory::clear_requested_bytes() {
4044 requested_bytes_ = PROTOBUF_LONGLONG(0);
4045}
4046inline ::PROTOBUF_NAMESPACE_ID::int64 ExecMemory::requested_bytes() const {
4047 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecMemory.requested_bytes)
4048 return requested_bytes_;
4049}
4050inline void ExecMemory::set_requested_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
4051
4052 requested_bytes_ = value;
4053 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ExecMemory.requested_bytes)
4054}
4055
4056// int64 peak_bytes = 7;
4057inline void ExecMemory::clear_peak_bytes() {
4058 peak_bytes_ = PROTOBUF_LONGLONG(0);
4059}
4060inline ::PROTOBUF_NAMESPACE_ID::int64 ExecMemory::peak_bytes() const {
4061 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecMemory.peak_bytes)
4062 return peak_bytes_;
4063}
4064inline void ExecMemory::set_peak_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
4065
4066 peak_bytes_ = value;
4067 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ExecMemory.peak_bytes)
4068}
4069
4070// int64 residual_bytes = 8;
4071inline void ExecMemory::clear_residual_bytes() {
4072 residual_bytes_ = PROTOBUF_LONGLONG(0);
4073}
4074inline ::PROTOBUF_NAMESPACE_ID::int64 ExecMemory::residual_bytes() const {
4075 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecMemory.residual_bytes)
4076 return residual_bytes_;
4077}
4078inline void ExecMemory::set_residual_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
4079
4080 residual_bytes_ = value;
4081 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ExecMemory.residual_bytes)
4082}
4083
4084// int64 output_bytes = 9;
4085inline void ExecMemory::clear_output_bytes() {
4086 output_bytes_ = PROTOBUF_LONGLONG(0);
4087}
4088inline ::PROTOBUF_NAMESPACE_ID::int64 ExecMemory::output_bytes() const {
4089 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecMemory.output_bytes)
4090 return output_bytes_;
4091}
4092inline void ExecMemory::set_output_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
4093
4094 output_bytes_ = value;
4095 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ExecMemory.output_bytes)
4096}
4097
4098// int64 allocator_bytes_in_use = 10;
4099inline void ExecMemory::clear_allocator_bytes_in_use() {
4100 allocator_bytes_in_use_ = PROTOBUF_LONGLONG(0);
4101}
4102inline ::PROTOBUF_NAMESPACE_ID::int64 ExecMemory::allocator_bytes_in_use() const {
4103 // @@protoc_insertion_point(field_get:tensorflow.tfprof.ExecMemory.allocator_bytes_in_use)
4104 return allocator_bytes_in_use_;
4105}
4106inline void ExecMemory::set_allocator_bytes_in_use(::PROTOBUF_NAMESPACE_ID::int64 value) {
4107
4108 allocator_bytes_in_use_ = value;
4109 // @@protoc_insertion_point(field_set:tensorflow.tfprof.ExecMemory.allocator_bytes_in_use)
4110}
4111
4112// map<int32, .tensorflow.tfprof.Memory> output_memory = 11;
4113inline int ExecMemory::output_memory_size() const {
4114 return output_memory_.size();
4115}
4116inline void ExecMemory::clear_output_memory() {
4117 output_memory_.Clear();
4118}
4119inline const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Memory >&
4120ExecMemory::output_memory() const {
4121 // @@protoc_insertion_point(field_map:tensorflow.tfprof.ExecMemory.output_memory)
4122 return output_memory_.GetMap();
4123}
4124inline ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::tfprof::Memory >*
4125ExecMemory::mutable_output_memory() {
4126 // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.ExecMemory.output_memory)
4127 return output_memory_.MutableMap();
4128}
4129
4130// -------------------------------------------------------------------
4131
4132// Tuple
4133
4134// repeated int64 int64_values = 1;
4135inline int Tuple::int64_values_size() const {
4136 return int64_values_.size();
4137}
4138inline void Tuple::clear_int64_values() {
4139 int64_values_.Clear();
4140}
4141inline ::PROTOBUF_NAMESPACE_ID::int64 Tuple::int64_values(int index) const {
4142 // @@protoc_insertion_point(field_get:tensorflow.tfprof.Tuple.int64_values)
4143 return int64_values_.Get(index);
4144}
4145inline void Tuple::set_int64_values(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) {
4146 int64_values_.Set(index, value);
4147 // @@protoc_insertion_point(field_set:tensorflow.tfprof.Tuple.int64_values)
4148}
4149inline void Tuple::add_int64_values(::PROTOBUF_NAMESPACE_ID::int64 value) {
4150 int64_values_.Add(value);
4151 // @@protoc_insertion_point(field_add:tensorflow.tfprof.Tuple.int64_values)
4152}
4153inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
4154Tuple::int64_values() const {
4155 // @@protoc_insertion_point(field_list:tensorflow.tfprof.Tuple.int64_values)
4156 return int64_values_;
4157}
4158inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
4159Tuple::mutable_int64_values() {
4160 // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.Tuple.int64_values)
4161 return &int64_values_;
4162}
4163
4164// -------------------------------------------------------------------
4165
4166// Memory
4167
4168// int64 bytes = 1;
4169inline void Memory::clear_bytes() {
4170 bytes_ = PROTOBUF_LONGLONG(0);
4171}
4172inline ::PROTOBUF_NAMESPACE_ID::int64 Memory::bytes() const {
4173 // @@protoc_insertion_point(field_get:tensorflow.tfprof.Memory.bytes)
4174 return bytes_;
4175}
4176inline void Memory::set_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
4177
4178 bytes_ = value;
4179 // @@protoc_insertion_point(field_set:tensorflow.tfprof.Memory.bytes)
4180}
4181
4182// uint64 ptr = 2;
4183inline void Memory::clear_ptr() {
4184 ptr_ = PROTOBUF_ULONGLONG(0);
4185}
4186inline ::PROTOBUF_NAMESPACE_ID::uint64 Memory::ptr() const {
4187 // @@protoc_insertion_point(field_get:tensorflow.tfprof.Memory.ptr)
4188 return ptr_;
4189}
4190inline void Memory::set_ptr(::PROTOBUF_NAMESPACE_ID::uint64 value) {
4191
4192 ptr_ = value;
4193 // @@protoc_insertion_point(field_set:tensorflow.tfprof.Memory.ptr)
4194}
4195
4196#ifdef __GNUC__
4197 #pragma GCC diagnostic pop
4198#endif // __GNUC__
4199// -------------------------------------------------------------------
4200
4201// -------------------------------------------------------------------
4202
4203// -------------------------------------------------------------------
4204
4205// -------------------------------------------------------------------
4206
4207// -------------------------------------------------------------------
4208
4209// -------------------------------------------------------------------
4210
4211// -------------------------------------------------------------------
4212
4213// -------------------------------------------------------------------
4214
4215// -------------------------------------------------------------------
4216
4217// -------------------------------------------------------------------
4218
4219// -------------------------------------------------------------------
4220
4221// -------------------------------------------------------------------
4222
4223// -------------------------------------------------------------------
4224
4225// -------------------------------------------------------------------
4226
4227// -------------------------------------------------------------------
4228
4229// -------------------------------------------------------------------
4230
4231// -------------------------------------------------------------------
4232
4233// -------------------------------------------------------------------
4234
4235// -------------------------------------------------------------------
4236
4237// -------------------------------------------------------------------
4238
4239// -------------------------------------------------------------------
4240
4241// -------------------------------------------------------------------
4242
4243// -------------------------------------------------------------------
4244
4245
4246// @@protoc_insertion_point(namespace_scope)
4247
4248} // namespace tfprof
4249} // namespace tensorflow
4250
4251// @@protoc_insertion_point(global_scope)
4252
4253#include <google/protobuf/port_undef.inc>
4254#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2ftfprof_5flog_2eproto
4255