1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: tensorflow/core/framework/step_stats.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2fstep_5fstats_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/allocation_description.pb.h"
39#include "tensorflow/core/framework/tensor_description.pb.h"
40// @@protoc_insertion_point(includes)
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fframework_2fstep_5fstats_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_2fframework_2fstep_5fstats_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[8]
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_2fframework_2fstep_5fstats_2eproto;
62namespace tensorflow {
63class AllocationRecord;
64class AllocationRecordDefaultTypeInternal;
65extern AllocationRecordDefaultTypeInternal _AllocationRecord_default_instance_;
66class AllocatorMemoryUsed;
67class AllocatorMemoryUsedDefaultTypeInternal;
68extern AllocatorMemoryUsedDefaultTypeInternal _AllocatorMemoryUsed_default_instance_;
69class DeviceStepStats;
70class DeviceStepStatsDefaultTypeInternal;
71extern DeviceStepStatsDefaultTypeInternal _DeviceStepStats_default_instance_;
72class DeviceStepStats_ThreadNamesEntry_DoNotUse;
73class DeviceStepStats_ThreadNamesEntry_DoNotUseDefaultTypeInternal;
74extern DeviceStepStats_ThreadNamesEntry_DoNotUseDefaultTypeInternal _DeviceStepStats_ThreadNamesEntry_DoNotUse_default_instance_;
75class MemoryStats;
76class MemoryStatsDefaultTypeInternal;
77extern MemoryStatsDefaultTypeInternal _MemoryStats_default_instance_;
78class NodeExecStats;
79class NodeExecStatsDefaultTypeInternal;
80extern NodeExecStatsDefaultTypeInternal _NodeExecStats_default_instance_;
81class NodeOutput;
82class NodeOutputDefaultTypeInternal;
83extern NodeOutputDefaultTypeInternal _NodeOutput_default_instance_;
84class StepStats;
85class StepStatsDefaultTypeInternal;
86extern StepStatsDefaultTypeInternal _StepStats_default_instance_;
87} // namespace tensorflow
88PROTOBUF_NAMESPACE_OPEN
89template<> ::tensorflow::AllocationRecord* Arena::CreateMaybeMessage<::tensorflow::AllocationRecord>(Arena*);
90template<> ::tensorflow::AllocatorMemoryUsed* Arena::CreateMaybeMessage<::tensorflow::AllocatorMemoryUsed>(Arena*);
91template<> ::tensorflow::DeviceStepStats* Arena::CreateMaybeMessage<::tensorflow::DeviceStepStats>(Arena*);
92template<> ::tensorflow::DeviceStepStats_ThreadNamesEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::DeviceStepStats_ThreadNamesEntry_DoNotUse>(Arena*);
93template<> ::tensorflow::MemoryStats* Arena::CreateMaybeMessage<::tensorflow::MemoryStats>(Arena*);
94template<> ::tensorflow::NodeExecStats* Arena::CreateMaybeMessage<::tensorflow::NodeExecStats>(Arena*);
95template<> ::tensorflow::NodeOutput* Arena::CreateMaybeMessage<::tensorflow::NodeOutput>(Arena*);
96template<> ::tensorflow::StepStats* Arena::CreateMaybeMessage<::tensorflow::StepStats>(Arena*);
97PROTOBUF_NAMESPACE_CLOSE
98namespace tensorflow {
99
100// ===================================================================
101
102class AllocationRecord :
103 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.AllocationRecord) */ {
104 public:
105 AllocationRecord();
106 virtual ~AllocationRecord();
107
108 AllocationRecord(const AllocationRecord& from);
109 AllocationRecord(AllocationRecord&& from) noexcept
110 : AllocationRecord() {
111 *this = ::std::move(from);
112 }
113
114 inline AllocationRecord& operator=(const AllocationRecord& from) {
115 CopyFrom(from);
116 return *this;
117 }
118 inline AllocationRecord& operator=(AllocationRecord&& from) noexcept {
119 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
120 if (this != &from) InternalSwap(&from);
121 } else {
122 CopyFrom(from);
123 }
124 return *this;
125 }
126
127 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
128 return GetArenaNoVirtual();
129 }
130 inline void* GetMaybeArenaPointer() const final {
131 return MaybeArenaPtr();
132 }
133 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
134 return GetDescriptor();
135 }
136 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
137 return GetMetadataStatic().descriptor;
138 }
139 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
140 return GetMetadataStatic().reflection;
141 }
142 static const AllocationRecord& default_instance();
143
144 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
145 static inline const AllocationRecord* internal_default_instance() {
146 return reinterpret_cast<const AllocationRecord*>(
147 &_AllocationRecord_default_instance_);
148 }
149 static constexpr int kIndexInFileMessages =
150 0;
151
152 friend void swap(AllocationRecord& a, AllocationRecord& b) {
153 a.Swap(&b);
154 }
155 inline void Swap(AllocationRecord* other) {
156 if (other == this) return;
157 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
158 InternalSwap(other);
159 } else {
160 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
161 }
162 }
163 void UnsafeArenaSwap(AllocationRecord* other) {
164 if (other == this) return;
165 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
166 InternalSwap(other);
167 }
168
169 // implements Message ----------------------------------------------
170
171 inline AllocationRecord* New() const final {
172 return CreateMaybeMessage<AllocationRecord>(nullptr);
173 }
174
175 AllocationRecord* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
176 return CreateMaybeMessage<AllocationRecord>(arena);
177 }
178 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
179 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
180 void CopyFrom(const AllocationRecord& from);
181 void MergeFrom(const AllocationRecord& from);
182 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
183 bool IsInitialized() const final;
184
185 size_t ByteSizeLong() const final;
186 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
187 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
188 #else
189 bool MergePartialFromCodedStream(
190 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
191 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
192 void SerializeWithCachedSizes(
193 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
194 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
195 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
196 int GetCachedSize() const final { return _cached_size_.Get(); }
197
198 private:
199 inline void SharedCtor();
200 inline void SharedDtor();
201 void SetCachedSize(int size) const final;
202 void InternalSwap(AllocationRecord* other);
203 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
204 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
205 return "tensorflow.AllocationRecord";
206 }
207 protected:
208 explicit AllocationRecord(::PROTOBUF_NAMESPACE_ID::Arena* arena);
209 private:
210 static void ArenaDtor(void* object);
211 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
212 private:
213 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
214 return _internal_metadata_.arena();
215 }
216 inline void* MaybeArenaPtr() const {
217 return _internal_metadata_.raw_arena_ptr();
218 }
219 public:
220
221 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
222 private:
223 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
224 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto);
225 return ::descriptor_table_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto.file_level_metadata[kIndexInFileMessages];
226 }
227
228 public:
229
230 // nested types ----------------------------------------------------
231
232 // accessors -------------------------------------------------------
233
234 enum : int {
235 kAllocMicrosFieldNumber = 1,
236 kAllocBytesFieldNumber = 2,
237 };
238 // int64 alloc_micros = 1;
239 void clear_alloc_micros();
240 ::PROTOBUF_NAMESPACE_ID::int64 alloc_micros() const;
241 void set_alloc_micros(::PROTOBUF_NAMESPACE_ID::int64 value);
242
243 // int64 alloc_bytes = 2;
244 void clear_alloc_bytes();
245 ::PROTOBUF_NAMESPACE_ID::int64 alloc_bytes() const;
246 void set_alloc_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
247
248 // @@protoc_insertion_point(class_scope:tensorflow.AllocationRecord)
249 private:
250 class _Internal;
251
252 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
253 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
254 typedef void InternalArenaConstructable_;
255 typedef void DestructorSkippable_;
256 ::PROTOBUF_NAMESPACE_ID::int64 alloc_micros_;
257 ::PROTOBUF_NAMESPACE_ID::int64 alloc_bytes_;
258 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
259 friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto;
260};
261// -------------------------------------------------------------------
262
263class AllocatorMemoryUsed :
264 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.AllocatorMemoryUsed) */ {
265 public:
266 AllocatorMemoryUsed();
267 virtual ~AllocatorMemoryUsed();
268
269 AllocatorMemoryUsed(const AllocatorMemoryUsed& from);
270 AllocatorMemoryUsed(AllocatorMemoryUsed&& from) noexcept
271 : AllocatorMemoryUsed() {
272 *this = ::std::move(from);
273 }
274
275 inline AllocatorMemoryUsed& operator=(const AllocatorMemoryUsed& from) {
276 CopyFrom(from);
277 return *this;
278 }
279 inline AllocatorMemoryUsed& operator=(AllocatorMemoryUsed&& from) noexcept {
280 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
281 if (this != &from) InternalSwap(&from);
282 } else {
283 CopyFrom(from);
284 }
285 return *this;
286 }
287
288 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
289 return GetArenaNoVirtual();
290 }
291 inline void* GetMaybeArenaPointer() const final {
292 return MaybeArenaPtr();
293 }
294 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
295 return GetDescriptor();
296 }
297 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
298 return GetMetadataStatic().descriptor;
299 }
300 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
301 return GetMetadataStatic().reflection;
302 }
303 static const AllocatorMemoryUsed& default_instance();
304
305 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
306 static inline const AllocatorMemoryUsed* internal_default_instance() {
307 return reinterpret_cast<const AllocatorMemoryUsed*>(
308 &_AllocatorMemoryUsed_default_instance_);
309 }
310 static constexpr int kIndexInFileMessages =
311 1;
312
313 friend void swap(AllocatorMemoryUsed& a, AllocatorMemoryUsed& b) {
314 a.Swap(&b);
315 }
316 inline void Swap(AllocatorMemoryUsed* other) {
317 if (other == this) return;
318 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
319 InternalSwap(other);
320 } else {
321 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
322 }
323 }
324 void UnsafeArenaSwap(AllocatorMemoryUsed* other) {
325 if (other == this) return;
326 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
327 InternalSwap(other);
328 }
329
330 // implements Message ----------------------------------------------
331
332 inline AllocatorMemoryUsed* New() const final {
333 return CreateMaybeMessage<AllocatorMemoryUsed>(nullptr);
334 }
335
336 AllocatorMemoryUsed* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
337 return CreateMaybeMessage<AllocatorMemoryUsed>(arena);
338 }
339 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
340 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
341 void CopyFrom(const AllocatorMemoryUsed& from);
342 void MergeFrom(const AllocatorMemoryUsed& from);
343 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
344 bool IsInitialized() const final;
345
346 size_t ByteSizeLong() const final;
347 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
348 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
349 #else
350 bool MergePartialFromCodedStream(
351 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
352 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
353 void SerializeWithCachedSizes(
354 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
355 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
356 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
357 int GetCachedSize() const final { return _cached_size_.Get(); }
358
359 private:
360 inline void SharedCtor();
361 inline void SharedDtor();
362 void SetCachedSize(int size) const final;
363 void InternalSwap(AllocatorMemoryUsed* other);
364 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
365 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
366 return "tensorflow.AllocatorMemoryUsed";
367 }
368 protected:
369 explicit AllocatorMemoryUsed(::PROTOBUF_NAMESPACE_ID::Arena* arena);
370 private:
371 static void ArenaDtor(void* object);
372 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
373 private:
374 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
375 return _internal_metadata_.arena();
376 }
377 inline void* MaybeArenaPtr() const {
378 return _internal_metadata_.raw_arena_ptr();
379 }
380 public:
381
382 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
383 private:
384 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
385 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto);
386 return ::descriptor_table_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto.file_level_metadata[kIndexInFileMessages];
387 }
388
389 public:
390
391 // nested types ----------------------------------------------------
392
393 // accessors -------------------------------------------------------
394
395 enum : int {
396 kAllocationRecordsFieldNumber = 6,
397 kAllocatorNameFieldNumber = 1,
398 kTotalBytesFieldNumber = 2,
399 kPeakBytesFieldNumber = 3,
400 kLiveBytesFieldNumber = 4,
401 kAllocatorBytesInUseFieldNumber = 5,
402 };
403 // repeated .tensorflow.AllocationRecord allocation_records = 6;
404 int allocation_records_size() const;
405 void clear_allocation_records();
406 ::tensorflow::AllocationRecord* mutable_allocation_records(int index);
407 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocationRecord >*
408 mutable_allocation_records();
409 const ::tensorflow::AllocationRecord& allocation_records(int index) const;
410 ::tensorflow::AllocationRecord* add_allocation_records();
411 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocationRecord >&
412 allocation_records() const;
413
414 // string allocator_name = 1;
415 void clear_allocator_name();
416 const std::string& allocator_name() const;
417 void set_allocator_name(const std::string& value);
418 void set_allocator_name(std::string&& value);
419 void set_allocator_name(const char* value);
420 void set_allocator_name(const char* value, size_t size);
421 std::string* mutable_allocator_name();
422 std::string* release_allocator_name();
423 void set_allocated_allocator_name(std::string* allocator_name);
424 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
425 " string fields are deprecated and will be removed in a"
426 " future release.")
427 std::string* unsafe_arena_release_allocator_name();
428 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
429 " string fields are deprecated and will be removed in a"
430 " future release.")
431 void unsafe_arena_set_allocated_allocator_name(
432 std::string* allocator_name);
433
434 // int64 total_bytes = 2;
435 void clear_total_bytes();
436 ::PROTOBUF_NAMESPACE_ID::int64 total_bytes() const;
437 void set_total_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
438
439 // int64 peak_bytes = 3;
440 void clear_peak_bytes();
441 ::PROTOBUF_NAMESPACE_ID::int64 peak_bytes() const;
442 void set_peak_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
443
444 // int64 live_bytes = 4;
445 void clear_live_bytes();
446 ::PROTOBUF_NAMESPACE_ID::int64 live_bytes() const;
447 void set_live_bytes(::PROTOBUF_NAMESPACE_ID::int64 value);
448
449 // int64 allocator_bytes_in_use = 5;
450 void clear_allocator_bytes_in_use();
451 ::PROTOBUF_NAMESPACE_ID::int64 allocator_bytes_in_use() const;
452 void set_allocator_bytes_in_use(::PROTOBUF_NAMESPACE_ID::int64 value);
453
454 // @@protoc_insertion_point(class_scope:tensorflow.AllocatorMemoryUsed)
455 private:
456 class _Internal;
457
458 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
459 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
460 typedef void InternalArenaConstructable_;
461 typedef void DestructorSkippable_;
462 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocationRecord > allocation_records_;
463 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr allocator_name_;
464 ::PROTOBUF_NAMESPACE_ID::int64 total_bytes_;
465 ::PROTOBUF_NAMESPACE_ID::int64 peak_bytes_;
466 ::PROTOBUF_NAMESPACE_ID::int64 live_bytes_;
467 ::PROTOBUF_NAMESPACE_ID::int64 allocator_bytes_in_use_;
468 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
469 friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto;
470};
471// -------------------------------------------------------------------
472
473class NodeOutput :
474 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.NodeOutput) */ {
475 public:
476 NodeOutput();
477 virtual ~NodeOutput();
478
479 NodeOutput(const NodeOutput& from);
480 NodeOutput(NodeOutput&& from) noexcept
481 : NodeOutput() {
482 *this = ::std::move(from);
483 }
484
485 inline NodeOutput& operator=(const NodeOutput& from) {
486 CopyFrom(from);
487 return *this;
488 }
489 inline NodeOutput& operator=(NodeOutput&& from) noexcept {
490 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
491 if (this != &from) InternalSwap(&from);
492 } else {
493 CopyFrom(from);
494 }
495 return *this;
496 }
497
498 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
499 return GetArenaNoVirtual();
500 }
501 inline void* GetMaybeArenaPointer() const final {
502 return MaybeArenaPtr();
503 }
504 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
505 return GetDescriptor();
506 }
507 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
508 return GetMetadataStatic().descriptor;
509 }
510 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
511 return GetMetadataStatic().reflection;
512 }
513 static const NodeOutput& default_instance();
514
515 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
516 static inline const NodeOutput* internal_default_instance() {
517 return reinterpret_cast<const NodeOutput*>(
518 &_NodeOutput_default_instance_);
519 }
520 static constexpr int kIndexInFileMessages =
521 2;
522
523 friend void swap(NodeOutput& a, NodeOutput& b) {
524 a.Swap(&b);
525 }
526 inline void Swap(NodeOutput* other) {
527 if (other == this) return;
528 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
529 InternalSwap(other);
530 } else {
531 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
532 }
533 }
534 void UnsafeArenaSwap(NodeOutput* other) {
535 if (other == this) return;
536 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
537 InternalSwap(other);
538 }
539
540 // implements Message ----------------------------------------------
541
542 inline NodeOutput* New() const final {
543 return CreateMaybeMessage<NodeOutput>(nullptr);
544 }
545
546 NodeOutput* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
547 return CreateMaybeMessage<NodeOutput>(arena);
548 }
549 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
550 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
551 void CopyFrom(const NodeOutput& from);
552 void MergeFrom(const NodeOutput& from);
553 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
554 bool IsInitialized() const final;
555
556 size_t ByteSizeLong() const final;
557 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
558 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
559 #else
560 bool MergePartialFromCodedStream(
561 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
562 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
563 void SerializeWithCachedSizes(
564 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
565 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
566 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
567 int GetCachedSize() const final { return _cached_size_.Get(); }
568
569 private:
570 inline void SharedCtor();
571 inline void SharedDtor();
572 void SetCachedSize(int size) const final;
573 void InternalSwap(NodeOutput* other);
574 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
575 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
576 return "tensorflow.NodeOutput";
577 }
578 protected:
579 explicit NodeOutput(::PROTOBUF_NAMESPACE_ID::Arena* arena);
580 private:
581 static void ArenaDtor(void* object);
582 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
583 private:
584 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
585 return _internal_metadata_.arena();
586 }
587 inline void* MaybeArenaPtr() const {
588 return _internal_metadata_.raw_arena_ptr();
589 }
590 public:
591
592 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
593 private:
594 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
595 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto);
596 return ::descriptor_table_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto.file_level_metadata[kIndexInFileMessages];
597 }
598
599 public:
600
601 // nested types ----------------------------------------------------
602
603 // accessors -------------------------------------------------------
604
605 enum : int {
606 kTensorDescriptionFieldNumber = 3,
607 kSlotFieldNumber = 1,
608 };
609 // .tensorflow.TensorDescription tensor_description = 3;
610 bool has_tensor_description() const;
611 void clear_tensor_description();
612 const ::tensorflow::TensorDescription& tensor_description() const;
613 ::tensorflow::TensorDescription* release_tensor_description();
614 ::tensorflow::TensorDescription* mutable_tensor_description();
615 void set_allocated_tensor_description(::tensorflow::TensorDescription* tensor_description);
616 void unsafe_arena_set_allocated_tensor_description(
617 ::tensorflow::TensorDescription* tensor_description);
618 ::tensorflow::TensorDescription* unsafe_arena_release_tensor_description();
619
620 // int32 slot = 1;
621 void clear_slot();
622 ::PROTOBUF_NAMESPACE_ID::int32 slot() const;
623 void set_slot(::PROTOBUF_NAMESPACE_ID::int32 value);
624
625 // @@protoc_insertion_point(class_scope:tensorflow.NodeOutput)
626 private:
627 class _Internal;
628
629 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
630 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
631 typedef void InternalArenaConstructable_;
632 typedef void DestructorSkippable_;
633 ::tensorflow::TensorDescription* tensor_description_;
634 ::PROTOBUF_NAMESPACE_ID::int32 slot_;
635 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
636 friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto;
637};
638// -------------------------------------------------------------------
639
640class MemoryStats :
641 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.MemoryStats) */ {
642 public:
643 MemoryStats();
644 virtual ~MemoryStats();
645
646 MemoryStats(const MemoryStats& from);
647 MemoryStats(MemoryStats&& from) noexcept
648 : MemoryStats() {
649 *this = ::std::move(from);
650 }
651
652 inline MemoryStats& operator=(const MemoryStats& from) {
653 CopyFrom(from);
654 return *this;
655 }
656 inline MemoryStats& operator=(MemoryStats&& from) noexcept {
657 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
658 if (this != &from) InternalSwap(&from);
659 } else {
660 CopyFrom(from);
661 }
662 return *this;
663 }
664
665 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
666 return GetArenaNoVirtual();
667 }
668 inline void* GetMaybeArenaPointer() const final {
669 return MaybeArenaPtr();
670 }
671 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
672 return GetDescriptor();
673 }
674 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
675 return GetMetadataStatic().descriptor;
676 }
677 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
678 return GetMetadataStatic().reflection;
679 }
680 static const MemoryStats& default_instance();
681
682 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
683 static inline const MemoryStats* internal_default_instance() {
684 return reinterpret_cast<const MemoryStats*>(
685 &_MemoryStats_default_instance_);
686 }
687 static constexpr int kIndexInFileMessages =
688 3;
689
690 friend void swap(MemoryStats& a, MemoryStats& b) {
691 a.Swap(&b);
692 }
693 inline void Swap(MemoryStats* other) {
694 if (other == this) return;
695 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
696 InternalSwap(other);
697 } else {
698 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
699 }
700 }
701 void UnsafeArenaSwap(MemoryStats* other) {
702 if (other == this) return;
703 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
704 InternalSwap(other);
705 }
706
707 // implements Message ----------------------------------------------
708
709 inline MemoryStats* New() const final {
710 return CreateMaybeMessage<MemoryStats>(nullptr);
711 }
712
713 MemoryStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
714 return CreateMaybeMessage<MemoryStats>(arena);
715 }
716 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
717 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
718 void CopyFrom(const MemoryStats& from);
719 void MergeFrom(const MemoryStats& from);
720 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
721 bool IsInitialized() const final;
722
723 size_t ByteSizeLong() const final;
724 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
725 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
726 #else
727 bool MergePartialFromCodedStream(
728 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
729 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
730 void SerializeWithCachedSizes(
731 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
732 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
733 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
734 int GetCachedSize() const final { return _cached_size_.Get(); }
735
736 private:
737 inline void SharedCtor();
738 inline void SharedDtor();
739 void SetCachedSize(int size) const final;
740 void InternalSwap(MemoryStats* other);
741 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
742 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
743 return "tensorflow.MemoryStats";
744 }
745 protected:
746 explicit MemoryStats(::PROTOBUF_NAMESPACE_ID::Arena* arena);
747 private:
748 static void ArenaDtor(void* object);
749 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
750 private:
751 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
752 return _internal_metadata_.arena();
753 }
754 inline void* MaybeArenaPtr() const {
755 return _internal_metadata_.raw_arena_ptr();
756 }
757 public:
758
759 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
760 private:
761 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
762 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto);
763 return ::descriptor_table_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto.file_level_metadata[kIndexInFileMessages];
764 }
765
766 public:
767
768 // nested types ----------------------------------------------------
769
770 // accessors -------------------------------------------------------
771
772 enum : int {
773 kPersistentTensorAllocIdsFieldNumber = 5,
774 kDevicePersistentTensorAllocIdsFieldNumber = 6,
775 kTempMemorySizeFieldNumber = 1,
776 kDeviceTempMemorySizeFieldNumber = 2,
777 kPersistentMemorySizeFieldNumber = 3,
778 kDevicePersistentMemorySizeFieldNumber = 4,
779 };
780 // repeated int64 persistent_tensor_alloc_ids = 5;
781 int persistent_tensor_alloc_ids_size() const;
782 void clear_persistent_tensor_alloc_ids();
783 ::PROTOBUF_NAMESPACE_ID::int64 persistent_tensor_alloc_ids(int index) const;
784 void set_persistent_tensor_alloc_ids(int index, ::PROTOBUF_NAMESPACE_ID::int64 value);
785 void add_persistent_tensor_alloc_ids(::PROTOBUF_NAMESPACE_ID::int64 value);
786 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
787 persistent_tensor_alloc_ids() const;
788 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
789 mutable_persistent_tensor_alloc_ids();
790
791 // repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];
792 PROTOBUF_DEPRECATED int device_persistent_tensor_alloc_ids_size() const;
793 PROTOBUF_DEPRECATED void clear_device_persistent_tensor_alloc_ids();
794 PROTOBUF_DEPRECATED ::PROTOBUF_NAMESPACE_ID::int64 device_persistent_tensor_alloc_ids(int index) const;
795 PROTOBUF_DEPRECATED void set_device_persistent_tensor_alloc_ids(int index, ::PROTOBUF_NAMESPACE_ID::int64 value);
796 PROTOBUF_DEPRECATED void add_device_persistent_tensor_alloc_ids(::PROTOBUF_NAMESPACE_ID::int64 value);
797 PROTOBUF_DEPRECATED const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
798 device_persistent_tensor_alloc_ids() const;
799 PROTOBUF_DEPRECATED ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
800 mutable_device_persistent_tensor_alloc_ids();
801
802 // int64 temp_memory_size = 1;
803 void clear_temp_memory_size();
804 ::PROTOBUF_NAMESPACE_ID::int64 temp_memory_size() const;
805 void set_temp_memory_size(::PROTOBUF_NAMESPACE_ID::int64 value);
806
807 // int64 device_temp_memory_size = 2 [deprecated = true];
808 PROTOBUF_DEPRECATED void clear_device_temp_memory_size();
809 PROTOBUF_DEPRECATED ::PROTOBUF_NAMESPACE_ID::int64 device_temp_memory_size() const;
810 PROTOBUF_DEPRECATED void set_device_temp_memory_size(::PROTOBUF_NAMESPACE_ID::int64 value);
811
812 // int64 persistent_memory_size = 3;
813 void clear_persistent_memory_size();
814 ::PROTOBUF_NAMESPACE_ID::int64 persistent_memory_size() const;
815 void set_persistent_memory_size(::PROTOBUF_NAMESPACE_ID::int64 value);
816
817 // int64 device_persistent_memory_size = 4 [deprecated = true];
818 PROTOBUF_DEPRECATED void clear_device_persistent_memory_size();
819 PROTOBUF_DEPRECATED ::PROTOBUF_NAMESPACE_ID::int64 device_persistent_memory_size() const;
820 PROTOBUF_DEPRECATED void set_device_persistent_memory_size(::PROTOBUF_NAMESPACE_ID::int64 value);
821
822 // @@protoc_insertion_point(class_scope:tensorflow.MemoryStats)
823 private:
824 class _Internal;
825
826 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
827 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
828 typedef void InternalArenaConstructable_;
829 typedef void DestructorSkippable_;
830 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > persistent_tensor_alloc_ids_;
831 mutable std::atomic<int> _persistent_tensor_alloc_ids_cached_byte_size_;
832 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > device_persistent_tensor_alloc_ids_;
833 mutable std::atomic<int> _device_persistent_tensor_alloc_ids_cached_byte_size_;
834 ::PROTOBUF_NAMESPACE_ID::int64 temp_memory_size_;
835 ::PROTOBUF_NAMESPACE_ID::int64 device_temp_memory_size_;
836 ::PROTOBUF_NAMESPACE_ID::int64 persistent_memory_size_;
837 ::PROTOBUF_NAMESPACE_ID::int64 device_persistent_memory_size_;
838 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
839 friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto;
840};
841// -------------------------------------------------------------------
842
843class NodeExecStats :
844 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.NodeExecStats) */ {
845 public:
846 NodeExecStats();
847 virtual ~NodeExecStats();
848
849 NodeExecStats(const NodeExecStats& from);
850 NodeExecStats(NodeExecStats&& from) noexcept
851 : NodeExecStats() {
852 *this = ::std::move(from);
853 }
854
855 inline NodeExecStats& operator=(const NodeExecStats& from) {
856 CopyFrom(from);
857 return *this;
858 }
859 inline NodeExecStats& operator=(NodeExecStats&& from) noexcept {
860 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
861 if (this != &from) InternalSwap(&from);
862 } else {
863 CopyFrom(from);
864 }
865 return *this;
866 }
867
868 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
869 return GetArenaNoVirtual();
870 }
871 inline void* GetMaybeArenaPointer() const final {
872 return MaybeArenaPtr();
873 }
874 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
875 return GetDescriptor();
876 }
877 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
878 return GetMetadataStatic().descriptor;
879 }
880 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
881 return GetMetadataStatic().reflection;
882 }
883 static const NodeExecStats& default_instance();
884
885 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
886 static inline const NodeExecStats* internal_default_instance() {
887 return reinterpret_cast<const NodeExecStats*>(
888 &_NodeExecStats_default_instance_);
889 }
890 static constexpr int kIndexInFileMessages =
891 4;
892
893 friend void swap(NodeExecStats& a, NodeExecStats& b) {
894 a.Swap(&b);
895 }
896 inline void Swap(NodeExecStats* other) {
897 if (other == this) return;
898 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
899 InternalSwap(other);
900 } else {
901 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
902 }
903 }
904 void UnsafeArenaSwap(NodeExecStats* other) {
905 if (other == this) return;
906 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
907 InternalSwap(other);
908 }
909
910 // implements Message ----------------------------------------------
911
912 inline NodeExecStats* New() const final {
913 return CreateMaybeMessage<NodeExecStats>(nullptr);
914 }
915
916 NodeExecStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
917 return CreateMaybeMessage<NodeExecStats>(arena);
918 }
919 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
920 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
921 void CopyFrom(const NodeExecStats& from);
922 void MergeFrom(const NodeExecStats& from);
923 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
924 bool IsInitialized() const final;
925
926 size_t ByteSizeLong() const final;
927 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
928 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
929 #else
930 bool MergePartialFromCodedStream(
931 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
932 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
933 void SerializeWithCachedSizes(
934 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
935 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
936 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
937 int GetCachedSize() const final { return _cached_size_.Get(); }
938
939 private:
940 inline void SharedCtor();
941 inline void SharedDtor();
942 void SetCachedSize(int size) const final;
943 void InternalSwap(NodeExecStats* other);
944 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
945 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
946 return "tensorflow.NodeExecStats";
947 }
948 protected:
949 explicit NodeExecStats(::PROTOBUF_NAMESPACE_ID::Arena* arena);
950 private:
951 static void ArenaDtor(void* object);
952 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
953 private:
954 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
955 return _internal_metadata_.arena();
956 }
957 inline void* MaybeArenaPtr() const {
958 return _internal_metadata_.raw_arena_ptr();
959 }
960 public:
961
962 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
963 private:
964 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
965 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto);
966 return ::descriptor_table_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto.file_level_metadata[kIndexInFileMessages];
967 }
968
969 public:
970
971 // nested types ----------------------------------------------------
972
973 // accessors -------------------------------------------------------
974
975 enum : int {
976 kMemoryFieldNumber = 6,
977 kOutputFieldNumber = 7,
978 kReferencedTensorFieldNumber = 11,
979 kNodeNameFieldNumber = 1,
980 kTimelineLabelFieldNumber = 8,
981 kMemoryStatsFieldNumber = 12,
982 kAllStartMicrosFieldNumber = 2,
983 kOpStartRelMicrosFieldNumber = 3,
984 kOpEndRelMicrosFieldNumber = 4,
985 kAllEndRelMicrosFieldNumber = 5,
986 kScheduledMicrosFieldNumber = 9,
987 kAllStartNanosFieldNumber = 13,
988 kOpStartRelNanosFieldNumber = 14,
989 kOpEndRelNanosFieldNumber = 15,
990 kAllEndRelNanosFieldNumber = 16,
991 kScheduledNanosFieldNumber = 17,
992 kThreadIdFieldNumber = 10,
993 };
994 // repeated .tensorflow.AllocatorMemoryUsed memory = 6;
995 int memory_size() const;
996 void clear_memory();
997 ::tensorflow::AllocatorMemoryUsed* mutable_memory(int index);
998 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocatorMemoryUsed >*
999 mutable_memory();
1000 const ::tensorflow::AllocatorMemoryUsed& memory(int index) const;
1001 ::tensorflow::AllocatorMemoryUsed* add_memory();
1002 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocatorMemoryUsed >&
1003 memory() const;
1004
1005 // repeated .tensorflow.NodeOutput output = 7;
1006 int output_size() const;
1007 void clear_output();
1008 ::tensorflow::NodeOutput* mutable_output(int index);
1009 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NodeOutput >*
1010 mutable_output();
1011 const ::tensorflow::NodeOutput& output(int index) const;
1012 ::tensorflow::NodeOutput* add_output();
1013 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NodeOutput >&
1014 output() const;
1015
1016 // repeated .tensorflow.AllocationDescription referenced_tensor = 11;
1017 int referenced_tensor_size() const;
1018 void clear_referenced_tensor();
1019 ::tensorflow::AllocationDescription* mutable_referenced_tensor(int index);
1020 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocationDescription >*
1021 mutable_referenced_tensor();
1022 const ::tensorflow::AllocationDescription& referenced_tensor(int index) const;
1023 ::tensorflow::AllocationDescription* add_referenced_tensor();
1024 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocationDescription >&
1025 referenced_tensor() const;
1026
1027 // string node_name = 1;
1028 void clear_node_name();
1029 const std::string& node_name() const;
1030 void set_node_name(const std::string& value);
1031 void set_node_name(std::string&& value);
1032 void set_node_name(const char* value);
1033 void set_node_name(const char* value, size_t size);
1034 std::string* mutable_node_name();
1035 std::string* release_node_name();
1036 void set_allocated_node_name(std::string* node_name);
1037 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1038 " string fields are deprecated and will be removed in a"
1039 " future release.")
1040 std::string* unsafe_arena_release_node_name();
1041 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1042 " string fields are deprecated and will be removed in a"
1043 " future release.")
1044 void unsafe_arena_set_allocated_node_name(
1045 std::string* node_name);
1046
1047 // string timeline_label = 8;
1048 void clear_timeline_label();
1049 const std::string& timeline_label() const;
1050 void set_timeline_label(const std::string& value);
1051 void set_timeline_label(std::string&& value);
1052 void set_timeline_label(const char* value);
1053 void set_timeline_label(const char* value, size_t size);
1054 std::string* mutable_timeline_label();
1055 std::string* release_timeline_label();
1056 void set_allocated_timeline_label(std::string* timeline_label);
1057 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1058 " string fields are deprecated and will be removed in a"
1059 " future release.")
1060 std::string* unsafe_arena_release_timeline_label();
1061 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1062 " string fields are deprecated and will be removed in a"
1063 " future release.")
1064 void unsafe_arena_set_allocated_timeline_label(
1065 std::string* timeline_label);
1066
1067 // .tensorflow.MemoryStats memory_stats = 12;
1068 bool has_memory_stats() const;
1069 void clear_memory_stats();
1070 const ::tensorflow::MemoryStats& memory_stats() const;
1071 ::tensorflow::MemoryStats* release_memory_stats();
1072 ::tensorflow::MemoryStats* mutable_memory_stats();
1073 void set_allocated_memory_stats(::tensorflow::MemoryStats* memory_stats);
1074 void unsafe_arena_set_allocated_memory_stats(
1075 ::tensorflow::MemoryStats* memory_stats);
1076 ::tensorflow::MemoryStats* unsafe_arena_release_memory_stats();
1077
1078 // int64 all_start_micros = 2;
1079 void clear_all_start_micros();
1080 ::PROTOBUF_NAMESPACE_ID::int64 all_start_micros() const;
1081 void set_all_start_micros(::PROTOBUF_NAMESPACE_ID::int64 value);
1082
1083 // int64 op_start_rel_micros = 3;
1084 void clear_op_start_rel_micros();
1085 ::PROTOBUF_NAMESPACE_ID::int64 op_start_rel_micros() const;
1086 void set_op_start_rel_micros(::PROTOBUF_NAMESPACE_ID::int64 value);
1087
1088 // int64 op_end_rel_micros = 4;
1089 void clear_op_end_rel_micros();
1090 ::PROTOBUF_NAMESPACE_ID::int64 op_end_rel_micros() const;
1091 void set_op_end_rel_micros(::PROTOBUF_NAMESPACE_ID::int64 value);
1092
1093 // int64 all_end_rel_micros = 5;
1094 void clear_all_end_rel_micros();
1095 ::PROTOBUF_NAMESPACE_ID::int64 all_end_rel_micros() const;
1096 void set_all_end_rel_micros(::PROTOBUF_NAMESPACE_ID::int64 value);
1097
1098 // int64 scheduled_micros = 9;
1099 void clear_scheduled_micros();
1100 ::PROTOBUF_NAMESPACE_ID::int64 scheduled_micros() const;
1101 void set_scheduled_micros(::PROTOBUF_NAMESPACE_ID::int64 value);
1102
1103 // int64 all_start_nanos = 13;
1104 void clear_all_start_nanos();
1105 ::PROTOBUF_NAMESPACE_ID::int64 all_start_nanos() const;
1106 void set_all_start_nanos(::PROTOBUF_NAMESPACE_ID::int64 value);
1107
1108 // int64 op_start_rel_nanos = 14;
1109 void clear_op_start_rel_nanos();
1110 ::PROTOBUF_NAMESPACE_ID::int64 op_start_rel_nanos() const;
1111 void set_op_start_rel_nanos(::PROTOBUF_NAMESPACE_ID::int64 value);
1112
1113 // int64 op_end_rel_nanos = 15;
1114 void clear_op_end_rel_nanos();
1115 ::PROTOBUF_NAMESPACE_ID::int64 op_end_rel_nanos() const;
1116 void set_op_end_rel_nanos(::PROTOBUF_NAMESPACE_ID::int64 value);
1117
1118 // int64 all_end_rel_nanos = 16;
1119 void clear_all_end_rel_nanos();
1120 ::PROTOBUF_NAMESPACE_ID::int64 all_end_rel_nanos() const;
1121 void set_all_end_rel_nanos(::PROTOBUF_NAMESPACE_ID::int64 value);
1122
1123 // int64 scheduled_nanos = 17;
1124 void clear_scheduled_nanos();
1125 ::PROTOBUF_NAMESPACE_ID::int64 scheduled_nanos() const;
1126 void set_scheduled_nanos(::PROTOBUF_NAMESPACE_ID::int64 value);
1127
1128 // uint32 thread_id = 10;
1129 void clear_thread_id();
1130 ::PROTOBUF_NAMESPACE_ID::uint32 thread_id() const;
1131 void set_thread_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
1132
1133 // @@protoc_insertion_point(class_scope:tensorflow.NodeExecStats)
1134 private:
1135 class _Internal;
1136
1137 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1138 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1139 typedef void InternalArenaConstructable_;
1140 typedef void DestructorSkippable_;
1141 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocatorMemoryUsed > memory_;
1142 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NodeOutput > output_;
1143 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocationDescription > referenced_tensor_;
1144 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr node_name_;
1145 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr timeline_label_;
1146 ::tensorflow::MemoryStats* memory_stats_;
1147 ::PROTOBUF_NAMESPACE_ID::int64 all_start_micros_;
1148 ::PROTOBUF_NAMESPACE_ID::int64 op_start_rel_micros_;
1149 ::PROTOBUF_NAMESPACE_ID::int64 op_end_rel_micros_;
1150 ::PROTOBUF_NAMESPACE_ID::int64 all_end_rel_micros_;
1151 ::PROTOBUF_NAMESPACE_ID::int64 scheduled_micros_;
1152 ::PROTOBUF_NAMESPACE_ID::int64 all_start_nanos_;
1153 ::PROTOBUF_NAMESPACE_ID::int64 op_start_rel_nanos_;
1154 ::PROTOBUF_NAMESPACE_ID::int64 op_end_rel_nanos_;
1155 ::PROTOBUF_NAMESPACE_ID::int64 all_end_rel_nanos_;
1156 ::PROTOBUF_NAMESPACE_ID::int64 scheduled_nanos_;
1157 ::PROTOBUF_NAMESPACE_ID::uint32 thread_id_;
1158 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1159 friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto;
1160};
1161// -------------------------------------------------------------------
1162
1163class DeviceStepStats_ThreadNamesEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<DeviceStepStats_ThreadNamesEntry_DoNotUse,
1164 ::PROTOBUF_NAMESPACE_ID::uint32, std::string,
1165 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
1166 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1167 0 > {
1168public:
1169 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<DeviceStepStats_ThreadNamesEntry_DoNotUse,
1170 ::PROTOBUF_NAMESPACE_ID::uint32, std::string,
1171 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
1172 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1173 0 > SuperType;
1174 DeviceStepStats_ThreadNamesEntry_DoNotUse();
1175 DeviceStepStats_ThreadNamesEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1176 void MergeFrom(const DeviceStepStats_ThreadNamesEntry_DoNotUse& other);
1177 static const DeviceStepStats_ThreadNamesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const DeviceStepStats_ThreadNamesEntry_DoNotUse*>(&_DeviceStepStats_ThreadNamesEntry_DoNotUse_default_instance_); }
1178 static bool ValidateKey(void*) { return true; }
1179 static bool ValidateValue(std::string* s) {
1180 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.DeviceStepStats.ThreadNamesEntry.value");
1181 }
1182 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
1183 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1184 private:
1185 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1186 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto);
1187 return ::descriptor_table_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto.file_level_metadata[5];
1188 }
1189
1190 public:
1191};
1192
1193// -------------------------------------------------------------------
1194
1195class DeviceStepStats :
1196 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.DeviceStepStats) */ {
1197 public:
1198 DeviceStepStats();
1199 virtual ~DeviceStepStats();
1200
1201 DeviceStepStats(const DeviceStepStats& from);
1202 DeviceStepStats(DeviceStepStats&& from) noexcept
1203 : DeviceStepStats() {
1204 *this = ::std::move(from);
1205 }
1206
1207 inline DeviceStepStats& operator=(const DeviceStepStats& from) {
1208 CopyFrom(from);
1209 return *this;
1210 }
1211 inline DeviceStepStats& operator=(DeviceStepStats&& from) noexcept {
1212 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1213 if (this != &from) InternalSwap(&from);
1214 } else {
1215 CopyFrom(from);
1216 }
1217 return *this;
1218 }
1219
1220 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
1221 return GetArenaNoVirtual();
1222 }
1223 inline void* GetMaybeArenaPointer() const final {
1224 return MaybeArenaPtr();
1225 }
1226 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1227 return GetDescriptor();
1228 }
1229 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1230 return GetMetadataStatic().descriptor;
1231 }
1232 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1233 return GetMetadataStatic().reflection;
1234 }
1235 static const DeviceStepStats& default_instance();
1236
1237 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1238 static inline const DeviceStepStats* internal_default_instance() {
1239 return reinterpret_cast<const DeviceStepStats*>(
1240 &_DeviceStepStats_default_instance_);
1241 }
1242 static constexpr int kIndexInFileMessages =
1243 6;
1244
1245 friend void swap(DeviceStepStats& a, DeviceStepStats& b) {
1246 a.Swap(&b);
1247 }
1248 inline void Swap(DeviceStepStats* other) {
1249 if (other == this) return;
1250 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
1251 InternalSwap(other);
1252 } else {
1253 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1254 }
1255 }
1256 void UnsafeArenaSwap(DeviceStepStats* other) {
1257 if (other == this) return;
1258 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
1259 InternalSwap(other);
1260 }
1261
1262 // implements Message ----------------------------------------------
1263
1264 inline DeviceStepStats* New() const final {
1265 return CreateMaybeMessage<DeviceStepStats>(nullptr);
1266 }
1267
1268 DeviceStepStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1269 return CreateMaybeMessage<DeviceStepStats>(arena);
1270 }
1271 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1272 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1273 void CopyFrom(const DeviceStepStats& from);
1274 void MergeFrom(const DeviceStepStats& from);
1275 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1276 bool IsInitialized() const final;
1277
1278 size_t ByteSizeLong() const final;
1279 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1280 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1281 #else
1282 bool MergePartialFromCodedStream(
1283 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1284 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1285 void SerializeWithCachedSizes(
1286 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1287 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1288 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1289 int GetCachedSize() const final { return _cached_size_.Get(); }
1290
1291 private:
1292 inline void SharedCtor();
1293 inline void SharedDtor();
1294 void SetCachedSize(int size) const final;
1295 void InternalSwap(DeviceStepStats* other);
1296 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1297 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1298 return "tensorflow.DeviceStepStats";
1299 }
1300 protected:
1301 explicit DeviceStepStats(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1302 private:
1303 static void ArenaDtor(void* object);
1304 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1305 private:
1306 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1307 return _internal_metadata_.arena();
1308 }
1309 inline void* MaybeArenaPtr() const {
1310 return _internal_metadata_.raw_arena_ptr();
1311 }
1312 public:
1313
1314 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1315 private:
1316 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1317 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto);
1318 return ::descriptor_table_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto.file_level_metadata[kIndexInFileMessages];
1319 }
1320
1321 public:
1322
1323 // nested types ----------------------------------------------------
1324
1325
1326 // accessors -------------------------------------------------------
1327
1328 enum : int {
1329 kNodeStatsFieldNumber = 2,
1330 kThreadNamesFieldNumber = 3,
1331 kDeviceFieldNumber = 1,
1332 };
1333 // repeated .tensorflow.NodeExecStats node_stats = 2;
1334 int node_stats_size() const;
1335 void clear_node_stats();
1336 ::tensorflow::NodeExecStats* mutable_node_stats(int index);
1337 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NodeExecStats >*
1338 mutable_node_stats();
1339 const ::tensorflow::NodeExecStats& node_stats(int index) const;
1340 ::tensorflow::NodeExecStats* add_node_stats();
1341 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NodeExecStats >&
1342 node_stats() const;
1343
1344 // map<uint32, string> thread_names = 3;
1345 int thread_names_size() const;
1346 void clear_thread_names();
1347 const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::uint32, std::string >&
1348 thread_names() const;
1349 ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::uint32, std::string >*
1350 mutable_thread_names();
1351
1352 // string device = 1;
1353 void clear_device();
1354 const std::string& device() const;
1355 void set_device(const std::string& value);
1356 void set_device(std::string&& value);
1357 void set_device(const char* value);
1358 void set_device(const char* value, size_t size);
1359 std::string* mutable_device();
1360 std::string* release_device();
1361 void set_allocated_device(std::string* device);
1362 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1363 " string fields are deprecated and will be removed in a"
1364 " future release.")
1365 std::string* unsafe_arena_release_device();
1366 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1367 " string fields are deprecated and will be removed in a"
1368 " future release.")
1369 void unsafe_arena_set_allocated_device(
1370 std::string* device);
1371
1372 // @@protoc_insertion_point(class_scope:tensorflow.DeviceStepStats)
1373 private:
1374 class _Internal;
1375
1376 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1377 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1378 typedef void InternalArenaConstructable_;
1379 typedef void DestructorSkippable_;
1380 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NodeExecStats > node_stats_;
1381 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
1382 DeviceStepStats_ThreadNamesEntry_DoNotUse,
1383 ::PROTOBUF_NAMESPACE_ID::uint32, std::string,
1384 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
1385 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1386 0 > thread_names_;
1387 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_;
1388 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1389 friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto;
1390};
1391// -------------------------------------------------------------------
1392
1393class StepStats :
1394 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.StepStats) */ {
1395 public:
1396 StepStats();
1397 virtual ~StepStats();
1398
1399 StepStats(const StepStats& from);
1400 StepStats(StepStats&& from) noexcept
1401 : StepStats() {
1402 *this = ::std::move(from);
1403 }
1404
1405 inline StepStats& operator=(const StepStats& from) {
1406 CopyFrom(from);
1407 return *this;
1408 }
1409 inline StepStats& operator=(StepStats&& from) noexcept {
1410 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1411 if (this != &from) InternalSwap(&from);
1412 } else {
1413 CopyFrom(from);
1414 }
1415 return *this;
1416 }
1417
1418 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
1419 return GetArenaNoVirtual();
1420 }
1421 inline void* GetMaybeArenaPointer() const final {
1422 return MaybeArenaPtr();
1423 }
1424 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1425 return GetDescriptor();
1426 }
1427 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1428 return GetMetadataStatic().descriptor;
1429 }
1430 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1431 return GetMetadataStatic().reflection;
1432 }
1433 static const StepStats& default_instance();
1434
1435 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1436 static inline const StepStats* internal_default_instance() {
1437 return reinterpret_cast<const StepStats*>(
1438 &_StepStats_default_instance_);
1439 }
1440 static constexpr int kIndexInFileMessages =
1441 7;
1442
1443 friend void swap(StepStats& a, StepStats& b) {
1444 a.Swap(&b);
1445 }
1446 inline void Swap(StepStats* other) {
1447 if (other == this) return;
1448 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
1449 InternalSwap(other);
1450 } else {
1451 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1452 }
1453 }
1454 void UnsafeArenaSwap(StepStats* other) {
1455 if (other == this) return;
1456 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
1457 InternalSwap(other);
1458 }
1459
1460 // implements Message ----------------------------------------------
1461
1462 inline StepStats* New() const final {
1463 return CreateMaybeMessage<StepStats>(nullptr);
1464 }
1465
1466 StepStats* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1467 return CreateMaybeMessage<StepStats>(arena);
1468 }
1469 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1470 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1471 void CopyFrom(const StepStats& from);
1472 void MergeFrom(const StepStats& from);
1473 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1474 bool IsInitialized() const final;
1475
1476 size_t ByteSizeLong() const final;
1477 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1478 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1479 #else
1480 bool MergePartialFromCodedStream(
1481 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1482 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1483 void SerializeWithCachedSizes(
1484 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1485 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1486 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1487 int GetCachedSize() const final { return _cached_size_.Get(); }
1488
1489 private:
1490 inline void SharedCtor();
1491 inline void SharedDtor();
1492 void SetCachedSize(int size) const final;
1493 void InternalSwap(StepStats* other);
1494 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1495 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1496 return "tensorflow.StepStats";
1497 }
1498 protected:
1499 explicit StepStats(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1500 private:
1501 static void ArenaDtor(void* object);
1502 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1503 private:
1504 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1505 return _internal_metadata_.arena();
1506 }
1507 inline void* MaybeArenaPtr() const {
1508 return _internal_metadata_.raw_arena_ptr();
1509 }
1510 public:
1511
1512 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1513 private:
1514 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1515 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto);
1516 return ::descriptor_table_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto.file_level_metadata[kIndexInFileMessages];
1517 }
1518
1519 public:
1520
1521 // nested types ----------------------------------------------------
1522
1523 // accessors -------------------------------------------------------
1524
1525 enum : int {
1526 kDevStatsFieldNumber = 1,
1527 };
1528 // repeated .tensorflow.DeviceStepStats dev_stats = 1;
1529 int dev_stats_size() const;
1530 void clear_dev_stats();
1531 ::tensorflow::DeviceStepStats* mutable_dev_stats(int index);
1532 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceStepStats >*
1533 mutable_dev_stats();
1534 const ::tensorflow::DeviceStepStats& dev_stats(int index) const;
1535 ::tensorflow::DeviceStepStats* add_dev_stats();
1536 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceStepStats >&
1537 dev_stats() const;
1538
1539 // @@protoc_insertion_point(class_scope:tensorflow.StepStats)
1540 private:
1541 class _Internal;
1542
1543 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1544 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1545 typedef void InternalArenaConstructable_;
1546 typedef void DestructorSkippable_;
1547 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceStepStats > dev_stats_;
1548 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1549 friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto;
1550};
1551// ===================================================================
1552
1553
1554// ===================================================================
1555
1556#ifdef __GNUC__
1557 #pragma GCC diagnostic push
1558 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1559#endif // __GNUC__
1560// AllocationRecord
1561
1562// int64 alloc_micros = 1;
1563inline void AllocationRecord::clear_alloc_micros() {
1564 alloc_micros_ = PROTOBUF_LONGLONG(0);
1565}
1566inline ::PROTOBUF_NAMESPACE_ID::int64 AllocationRecord::alloc_micros() const {
1567 // @@protoc_insertion_point(field_get:tensorflow.AllocationRecord.alloc_micros)
1568 return alloc_micros_;
1569}
1570inline void AllocationRecord::set_alloc_micros(::PROTOBUF_NAMESPACE_ID::int64 value) {
1571
1572 alloc_micros_ = value;
1573 // @@protoc_insertion_point(field_set:tensorflow.AllocationRecord.alloc_micros)
1574}
1575
1576// int64 alloc_bytes = 2;
1577inline void AllocationRecord::clear_alloc_bytes() {
1578 alloc_bytes_ = PROTOBUF_LONGLONG(0);
1579}
1580inline ::PROTOBUF_NAMESPACE_ID::int64 AllocationRecord::alloc_bytes() const {
1581 // @@protoc_insertion_point(field_get:tensorflow.AllocationRecord.alloc_bytes)
1582 return alloc_bytes_;
1583}
1584inline void AllocationRecord::set_alloc_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
1585
1586 alloc_bytes_ = value;
1587 // @@protoc_insertion_point(field_set:tensorflow.AllocationRecord.alloc_bytes)
1588}
1589
1590// -------------------------------------------------------------------
1591
1592// AllocatorMemoryUsed
1593
1594// string allocator_name = 1;
1595inline void AllocatorMemoryUsed::clear_allocator_name() {
1596 allocator_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1597}
1598inline const std::string& AllocatorMemoryUsed::allocator_name() const {
1599 // @@protoc_insertion_point(field_get:tensorflow.AllocatorMemoryUsed.allocator_name)
1600 return allocator_name_.Get();
1601}
1602inline void AllocatorMemoryUsed::set_allocator_name(const std::string& value) {
1603
1604 allocator_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
1605 // @@protoc_insertion_point(field_set:tensorflow.AllocatorMemoryUsed.allocator_name)
1606}
1607inline void AllocatorMemoryUsed::set_allocator_name(std::string&& value) {
1608
1609 allocator_name_.Set(
1610 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
1611 // @@protoc_insertion_point(field_set_rvalue:tensorflow.AllocatorMemoryUsed.allocator_name)
1612}
1613inline void AllocatorMemoryUsed::set_allocator_name(const char* value) {
1614 GOOGLE_DCHECK(value != nullptr);
1615
1616 allocator_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1617 GetArenaNoVirtual());
1618 // @@protoc_insertion_point(field_set_char:tensorflow.AllocatorMemoryUsed.allocator_name)
1619}
1620inline void AllocatorMemoryUsed::set_allocator_name(const char* value,
1621 size_t size) {
1622
1623 allocator_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1624 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
1625 // @@protoc_insertion_point(field_set_pointer:tensorflow.AllocatorMemoryUsed.allocator_name)
1626}
1627inline std::string* AllocatorMemoryUsed::mutable_allocator_name() {
1628
1629 // @@protoc_insertion_point(field_mutable:tensorflow.AllocatorMemoryUsed.allocator_name)
1630 return allocator_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1631}
1632inline std::string* AllocatorMemoryUsed::release_allocator_name() {
1633 // @@protoc_insertion_point(field_release:tensorflow.AllocatorMemoryUsed.allocator_name)
1634
1635 return allocator_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1636}
1637inline void AllocatorMemoryUsed::set_allocated_allocator_name(std::string* allocator_name) {
1638 if (allocator_name != nullptr) {
1639
1640 } else {
1641
1642 }
1643 allocator_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), allocator_name,
1644 GetArenaNoVirtual());
1645 // @@protoc_insertion_point(field_set_allocated:tensorflow.AllocatorMemoryUsed.allocator_name)
1646}
1647inline std::string* AllocatorMemoryUsed::unsafe_arena_release_allocator_name() {
1648 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.AllocatorMemoryUsed.allocator_name)
1649 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
1650
1651 return allocator_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1652 GetArenaNoVirtual());
1653}
1654inline void AllocatorMemoryUsed::unsafe_arena_set_allocated_allocator_name(
1655 std::string* allocator_name) {
1656 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
1657 if (allocator_name != nullptr) {
1658
1659 } else {
1660
1661 }
1662 allocator_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1663 allocator_name, GetArenaNoVirtual());
1664 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.AllocatorMemoryUsed.allocator_name)
1665}
1666
1667// int64 total_bytes = 2;
1668inline void AllocatorMemoryUsed::clear_total_bytes() {
1669 total_bytes_ = PROTOBUF_LONGLONG(0);
1670}
1671inline ::PROTOBUF_NAMESPACE_ID::int64 AllocatorMemoryUsed::total_bytes() const {
1672 // @@protoc_insertion_point(field_get:tensorflow.AllocatorMemoryUsed.total_bytes)
1673 return total_bytes_;
1674}
1675inline void AllocatorMemoryUsed::set_total_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
1676
1677 total_bytes_ = value;
1678 // @@protoc_insertion_point(field_set:tensorflow.AllocatorMemoryUsed.total_bytes)
1679}
1680
1681// int64 peak_bytes = 3;
1682inline void AllocatorMemoryUsed::clear_peak_bytes() {
1683 peak_bytes_ = PROTOBUF_LONGLONG(0);
1684}
1685inline ::PROTOBUF_NAMESPACE_ID::int64 AllocatorMemoryUsed::peak_bytes() const {
1686 // @@protoc_insertion_point(field_get:tensorflow.AllocatorMemoryUsed.peak_bytes)
1687 return peak_bytes_;
1688}
1689inline void AllocatorMemoryUsed::set_peak_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
1690
1691 peak_bytes_ = value;
1692 // @@protoc_insertion_point(field_set:tensorflow.AllocatorMemoryUsed.peak_bytes)
1693}
1694
1695// int64 live_bytes = 4;
1696inline void AllocatorMemoryUsed::clear_live_bytes() {
1697 live_bytes_ = PROTOBUF_LONGLONG(0);
1698}
1699inline ::PROTOBUF_NAMESPACE_ID::int64 AllocatorMemoryUsed::live_bytes() const {
1700 // @@protoc_insertion_point(field_get:tensorflow.AllocatorMemoryUsed.live_bytes)
1701 return live_bytes_;
1702}
1703inline void AllocatorMemoryUsed::set_live_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) {
1704
1705 live_bytes_ = value;
1706 // @@protoc_insertion_point(field_set:tensorflow.AllocatorMemoryUsed.live_bytes)
1707}
1708
1709// repeated .tensorflow.AllocationRecord allocation_records = 6;
1710inline int AllocatorMemoryUsed::allocation_records_size() const {
1711 return allocation_records_.size();
1712}
1713inline void AllocatorMemoryUsed::clear_allocation_records() {
1714 allocation_records_.Clear();
1715}
1716inline ::tensorflow::AllocationRecord* AllocatorMemoryUsed::mutable_allocation_records(int index) {
1717 // @@protoc_insertion_point(field_mutable:tensorflow.AllocatorMemoryUsed.allocation_records)
1718 return allocation_records_.Mutable(index);
1719}
1720inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocationRecord >*
1721AllocatorMemoryUsed::mutable_allocation_records() {
1722 // @@protoc_insertion_point(field_mutable_list:tensorflow.AllocatorMemoryUsed.allocation_records)
1723 return &allocation_records_;
1724}
1725inline const ::tensorflow::AllocationRecord& AllocatorMemoryUsed::allocation_records(int index) const {
1726 // @@protoc_insertion_point(field_get:tensorflow.AllocatorMemoryUsed.allocation_records)
1727 return allocation_records_.Get(index);
1728}
1729inline ::tensorflow::AllocationRecord* AllocatorMemoryUsed::add_allocation_records() {
1730 // @@protoc_insertion_point(field_add:tensorflow.AllocatorMemoryUsed.allocation_records)
1731 return allocation_records_.Add();
1732}
1733inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocationRecord >&
1734AllocatorMemoryUsed::allocation_records() const {
1735 // @@protoc_insertion_point(field_list:tensorflow.AllocatorMemoryUsed.allocation_records)
1736 return allocation_records_;
1737}
1738
1739// int64 allocator_bytes_in_use = 5;
1740inline void AllocatorMemoryUsed::clear_allocator_bytes_in_use() {
1741 allocator_bytes_in_use_ = PROTOBUF_LONGLONG(0);
1742}
1743inline ::PROTOBUF_NAMESPACE_ID::int64 AllocatorMemoryUsed::allocator_bytes_in_use() const {
1744 // @@protoc_insertion_point(field_get:tensorflow.AllocatorMemoryUsed.allocator_bytes_in_use)
1745 return allocator_bytes_in_use_;
1746}
1747inline void AllocatorMemoryUsed::set_allocator_bytes_in_use(::PROTOBUF_NAMESPACE_ID::int64 value) {
1748
1749 allocator_bytes_in_use_ = value;
1750 // @@protoc_insertion_point(field_set:tensorflow.AllocatorMemoryUsed.allocator_bytes_in_use)
1751}
1752
1753// -------------------------------------------------------------------
1754
1755// NodeOutput
1756
1757// int32 slot = 1;
1758inline void NodeOutput::clear_slot() {
1759 slot_ = 0;
1760}
1761inline ::PROTOBUF_NAMESPACE_ID::int32 NodeOutput::slot() const {
1762 // @@protoc_insertion_point(field_get:tensorflow.NodeOutput.slot)
1763 return slot_;
1764}
1765inline void NodeOutput::set_slot(::PROTOBUF_NAMESPACE_ID::int32 value) {
1766
1767 slot_ = value;
1768 // @@protoc_insertion_point(field_set:tensorflow.NodeOutput.slot)
1769}
1770
1771// .tensorflow.TensorDescription tensor_description = 3;
1772inline bool NodeOutput::has_tensor_description() const {
1773 return this != internal_default_instance() && tensor_description_ != nullptr;
1774}
1775inline const ::tensorflow::TensorDescription& NodeOutput::tensor_description() const {
1776 const ::tensorflow::TensorDescription* p = tensor_description_;
1777 // @@protoc_insertion_point(field_get:tensorflow.NodeOutput.tensor_description)
1778 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::TensorDescription*>(
1779 &::tensorflow::_TensorDescription_default_instance_);
1780}
1781inline ::tensorflow::TensorDescription* NodeOutput::release_tensor_description() {
1782 // @@protoc_insertion_point(field_release:tensorflow.NodeOutput.tensor_description)
1783
1784 ::tensorflow::TensorDescription* temp = tensor_description_;
1785 if (GetArenaNoVirtual() != nullptr) {
1786 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1787 }
1788 tensor_description_ = nullptr;
1789 return temp;
1790}
1791inline ::tensorflow::TensorDescription* NodeOutput::unsafe_arena_release_tensor_description() {
1792 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.NodeOutput.tensor_description)
1793
1794 ::tensorflow::TensorDescription* temp = tensor_description_;
1795 tensor_description_ = nullptr;
1796 return temp;
1797}
1798inline ::tensorflow::TensorDescription* NodeOutput::mutable_tensor_description() {
1799
1800 if (tensor_description_ == nullptr) {
1801 auto* p = CreateMaybeMessage<::tensorflow::TensorDescription>(GetArenaNoVirtual());
1802 tensor_description_ = p;
1803 }
1804 // @@protoc_insertion_point(field_mutable:tensorflow.NodeOutput.tensor_description)
1805 return tensor_description_;
1806}
1807inline void NodeOutput::set_allocated_tensor_description(::tensorflow::TensorDescription* tensor_description) {
1808 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
1809 if (message_arena == nullptr) {
1810 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(tensor_description_);
1811 }
1812 if (tensor_description) {
1813 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1814 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(tensor_description)->GetArena();
1815 if (message_arena != submessage_arena) {
1816 tensor_description = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1817 message_arena, tensor_description, submessage_arena);
1818 }
1819
1820 } else {
1821
1822 }
1823 tensor_description_ = tensor_description;
1824 // @@protoc_insertion_point(field_set_allocated:tensorflow.NodeOutput.tensor_description)
1825}
1826
1827// -------------------------------------------------------------------
1828
1829// MemoryStats
1830
1831// int64 temp_memory_size = 1;
1832inline void MemoryStats::clear_temp_memory_size() {
1833 temp_memory_size_ = PROTOBUF_LONGLONG(0);
1834}
1835inline ::PROTOBUF_NAMESPACE_ID::int64 MemoryStats::temp_memory_size() const {
1836 // @@protoc_insertion_point(field_get:tensorflow.MemoryStats.temp_memory_size)
1837 return temp_memory_size_;
1838}
1839inline void MemoryStats::set_temp_memory_size(::PROTOBUF_NAMESPACE_ID::int64 value) {
1840
1841 temp_memory_size_ = value;
1842 // @@protoc_insertion_point(field_set:tensorflow.MemoryStats.temp_memory_size)
1843}
1844
1845// int64 persistent_memory_size = 3;
1846inline void MemoryStats::clear_persistent_memory_size() {
1847 persistent_memory_size_ = PROTOBUF_LONGLONG(0);
1848}
1849inline ::PROTOBUF_NAMESPACE_ID::int64 MemoryStats::persistent_memory_size() const {
1850 // @@protoc_insertion_point(field_get:tensorflow.MemoryStats.persistent_memory_size)
1851 return persistent_memory_size_;
1852}
1853inline void MemoryStats::set_persistent_memory_size(::PROTOBUF_NAMESPACE_ID::int64 value) {
1854
1855 persistent_memory_size_ = value;
1856 // @@protoc_insertion_point(field_set:tensorflow.MemoryStats.persistent_memory_size)
1857}
1858
1859// repeated int64 persistent_tensor_alloc_ids = 5;
1860inline int MemoryStats::persistent_tensor_alloc_ids_size() const {
1861 return persistent_tensor_alloc_ids_.size();
1862}
1863inline void MemoryStats::clear_persistent_tensor_alloc_ids() {
1864 persistent_tensor_alloc_ids_.Clear();
1865}
1866inline ::PROTOBUF_NAMESPACE_ID::int64 MemoryStats::persistent_tensor_alloc_ids(int index) const {
1867 // @@protoc_insertion_point(field_get:tensorflow.MemoryStats.persistent_tensor_alloc_ids)
1868 return persistent_tensor_alloc_ids_.Get(index);
1869}
1870inline void MemoryStats::set_persistent_tensor_alloc_ids(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) {
1871 persistent_tensor_alloc_ids_.Set(index, value);
1872 // @@protoc_insertion_point(field_set:tensorflow.MemoryStats.persistent_tensor_alloc_ids)
1873}
1874inline void MemoryStats::add_persistent_tensor_alloc_ids(::PROTOBUF_NAMESPACE_ID::int64 value) {
1875 persistent_tensor_alloc_ids_.Add(value);
1876 // @@protoc_insertion_point(field_add:tensorflow.MemoryStats.persistent_tensor_alloc_ids)
1877}
1878inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
1879MemoryStats::persistent_tensor_alloc_ids() const {
1880 // @@protoc_insertion_point(field_list:tensorflow.MemoryStats.persistent_tensor_alloc_ids)
1881 return persistent_tensor_alloc_ids_;
1882}
1883inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
1884MemoryStats::mutable_persistent_tensor_alloc_ids() {
1885 // @@protoc_insertion_point(field_mutable_list:tensorflow.MemoryStats.persistent_tensor_alloc_ids)
1886 return &persistent_tensor_alloc_ids_;
1887}
1888
1889// int64 device_temp_memory_size = 2 [deprecated = true];
1890inline void MemoryStats::clear_device_temp_memory_size() {
1891 device_temp_memory_size_ = PROTOBUF_LONGLONG(0);
1892}
1893inline ::PROTOBUF_NAMESPACE_ID::int64 MemoryStats::device_temp_memory_size() const {
1894 // @@protoc_insertion_point(field_get:tensorflow.MemoryStats.device_temp_memory_size)
1895 return device_temp_memory_size_;
1896}
1897inline void MemoryStats::set_device_temp_memory_size(::PROTOBUF_NAMESPACE_ID::int64 value) {
1898
1899 device_temp_memory_size_ = value;
1900 // @@protoc_insertion_point(field_set:tensorflow.MemoryStats.device_temp_memory_size)
1901}
1902
1903// int64 device_persistent_memory_size = 4 [deprecated = true];
1904inline void MemoryStats::clear_device_persistent_memory_size() {
1905 device_persistent_memory_size_ = PROTOBUF_LONGLONG(0);
1906}
1907inline ::PROTOBUF_NAMESPACE_ID::int64 MemoryStats::device_persistent_memory_size() const {
1908 // @@protoc_insertion_point(field_get:tensorflow.MemoryStats.device_persistent_memory_size)
1909 return device_persistent_memory_size_;
1910}
1911inline void MemoryStats::set_device_persistent_memory_size(::PROTOBUF_NAMESPACE_ID::int64 value) {
1912
1913 device_persistent_memory_size_ = value;
1914 // @@protoc_insertion_point(field_set:tensorflow.MemoryStats.device_persistent_memory_size)
1915}
1916
1917// repeated int64 device_persistent_tensor_alloc_ids = 6 [deprecated = true];
1918inline int MemoryStats::device_persistent_tensor_alloc_ids_size() const {
1919 return device_persistent_tensor_alloc_ids_.size();
1920}
1921inline void MemoryStats::clear_device_persistent_tensor_alloc_ids() {
1922 device_persistent_tensor_alloc_ids_.Clear();
1923}
1924inline ::PROTOBUF_NAMESPACE_ID::int64 MemoryStats::device_persistent_tensor_alloc_ids(int index) const {
1925 // @@protoc_insertion_point(field_get:tensorflow.MemoryStats.device_persistent_tensor_alloc_ids)
1926 return device_persistent_tensor_alloc_ids_.Get(index);
1927}
1928inline void MemoryStats::set_device_persistent_tensor_alloc_ids(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) {
1929 device_persistent_tensor_alloc_ids_.Set(index, value);
1930 // @@protoc_insertion_point(field_set:tensorflow.MemoryStats.device_persistent_tensor_alloc_ids)
1931}
1932inline void MemoryStats::add_device_persistent_tensor_alloc_ids(::PROTOBUF_NAMESPACE_ID::int64 value) {
1933 device_persistent_tensor_alloc_ids_.Add(value);
1934 // @@protoc_insertion_point(field_add:tensorflow.MemoryStats.device_persistent_tensor_alloc_ids)
1935}
1936inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
1937MemoryStats::device_persistent_tensor_alloc_ids() const {
1938 // @@protoc_insertion_point(field_list:tensorflow.MemoryStats.device_persistent_tensor_alloc_ids)
1939 return device_persistent_tensor_alloc_ids_;
1940}
1941inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
1942MemoryStats::mutable_device_persistent_tensor_alloc_ids() {
1943 // @@protoc_insertion_point(field_mutable_list:tensorflow.MemoryStats.device_persistent_tensor_alloc_ids)
1944 return &device_persistent_tensor_alloc_ids_;
1945}
1946
1947// -------------------------------------------------------------------
1948
1949// NodeExecStats
1950
1951// string node_name = 1;
1952inline void NodeExecStats::clear_node_name() {
1953 node_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1954}
1955inline const std::string& NodeExecStats::node_name() const {
1956 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.node_name)
1957 return node_name_.Get();
1958}
1959inline void NodeExecStats::set_node_name(const std::string& value) {
1960
1961 node_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
1962 // @@protoc_insertion_point(field_set:tensorflow.NodeExecStats.node_name)
1963}
1964inline void NodeExecStats::set_node_name(std::string&& value) {
1965
1966 node_name_.Set(
1967 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
1968 // @@protoc_insertion_point(field_set_rvalue:tensorflow.NodeExecStats.node_name)
1969}
1970inline void NodeExecStats::set_node_name(const char* value) {
1971 GOOGLE_DCHECK(value != nullptr);
1972
1973 node_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1974 GetArenaNoVirtual());
1975 // @@protoc_insertion_point(field_set_char:tensorflow.NodeExecStats.node_name)
1976}
1977inline void NodeExecStats::set_node_name(const char* value,
1978 size_t size) {
1979
1980 node_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1981 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
1982 // @@protoc_insertion_point(field_set_pointer:tensorflow.NodeExecStats.node_name)
1983}
1984inline std::string* NodeExecStats::mutable_node_name() {
1985
1986 // @@protoc_insertion_point(field_mutable:tensorflow.NodeExecStats.node_name)
1987 return node_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1988}
1989inline std::string* NodeExecStats::release_node_name() {
1990 // @@protoc_insertion_point(field_release:tensorflow.NodeExecStats.node_name)
1991
1992 return node_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1993}
1994inline void NodeExecStats::set_allocated_node_name(std::string* node_name) {
1995 if (node_name != nullptr) {
1996
1997 } else {
1998
1999 }
2000 node_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), node_name,
2001 GetArenaNoVirtual());
2002 // @@protoc_insertion_point(field_set_allocated:tensorflow.NodeExecStats.node_name)
2003}
2004inline std::string* NodeExecStats::unsafe_arena_release_node_name() {
2005 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.NodeExecStats.node_name)
2006 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
2007
2008 return node_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2009 GetArenaNoVirtual());
2010}
2011inline void NodeExecStats::unsafe_arena_set_allocated_node_name(
2012 std::string* node_name) {
2013 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
2014 if (node_name != nullptr) {
2015
2016 } else {
2017
2018 }
2019 node_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2020 node_name, GetArenaNoVirtual());
2021 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.NodeExecStats.node_name)
2022}
2023
2024// int64 all_start_micros = 2;
2025inline void NodeExecStats::clear_all_start_micros() {
2026 all_start_micros_ = PROTOBUF_LONGLONG(0);
2027}
2028inline ::PROTOBUF_NAMESPACE_ID::int64 NodeExecStats::all_start_micros() const {
2029 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.all_start_micros)
2030 return all_start_micros_;
2031}
2032inline void NodeExecStats::set_all_start_micros(::PROTOBUF_NAMESPACE_ID::int64 value) {
2033
2034 all_start_micros_ = value;
2035 // @@protoc_insertion_point(field_set:tensorflow.NodeExecStats.all_start_micros)
2036}
2037
2038// int64 op_start_rel_micros = 3;
2039inline void NodeExecStats::clear_op_start_rel_micros() {
2040 op_start_rel_micros_ = PROTOBUF_LONGLONG(0);
2041}
2042inline ::PROTOBUF_NAMESPACE_ID::int64 NodeExecStats::op_start_rel_micros() const {
2043 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.op_start_rel_micros)
2044 return op_start_rel_micros_;
2045}
2046inline void NodeExecStats::set_op_start_rel_micros(::PROTOBUF_NAMESPACE_ID::int64 value) {
2047
2048 op_start_rel_micros_ = value;
2049 // @@protoc_insertion_point(field_set:tensorflow.NodeExecStats.op_start_rel_micros)
2050}
2051
2052// int64 op_end_rel_micros = 4;
2053inline void NodeExecStats::clear_op_end_rel_micros() {
2054 op_end_rel_micros_ = PROTOBUF_LONGLONG(0);
2055}
2056inline ::PROTOBUF_NAMESPACE_ID::int64 NodeExecStats::op_end_rel_micros() const {
2057 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.op_end_rel_micros)
2058 return op_end_rel_micros_;
2059}
2060inline void NodeExecStats::set_op_end_rel_micros(::PROTOBUF_NAMESPACE_ID::int64 value) {
2061
2062 op_end_rel_micros_ = value;
2063 // @@protoc_insertion_point(field_set:tensorflow.NodeExecStats.op_end_rel_micros)
2064}
2065
2066// int64 all_end_rel_micros = 5;
2067inline void NodeExecStats::clear_all_end_rel_micros() {
2068 all_end_rel_micros_ = PROTOBUF_LONGLONG(0);
2069}
2070inline ::PROTOBUF_NAMESPACE_ID::int64 NodeExecStats::all_end_rel_micros() const {
2071 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.all_end_rel_micros)
2072 return all_end_rel_micros_;
2073}
2074inline void NodeExecStats::set_all_end_rel_micros(::PROTOBUF_NAMESPACE_ID::int64 value) {
2075
2076 all_end_rel_micros_ = value;
2077 // @@protoc_insertion_point(field_set:tensorflow.NodeExecStats.all_end_rel_micros)
2078}
2079
2080// repeated .tensorflow.AllocatorMemoryUsed memory = 6;
2081inline int NodeExecStats::memory_size() const {
2082 return memory_.size();
2083}
2084inline void NodeExecStats::clear_memory() {
2085 memory_.Clear();
2086}
2087inline ::tensorflow::AllocatorMemoryUsed* NodeExecStats::mutable_memory(int index) {
2088 // @@protoc_insertion_point(field_mutable:tensorflow.NodeExecStats.memory)
2089 return memory_.Mutable(index);
2090}
2091inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocatorMemoryUsed >*
2092NodeExecStats::mutable_memory() {
2093 // @@protoc_insertion_point(field_mutable_list:tensorflow.NodeExecStats.memory)
2094 return &memory_;
2095}
2096inline const ::tensorflow::AllocatorMemoryUsed& NodeExecStats::memory(int index) const {
2097 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.memory)
2098 return memory_.Get(index);
2099}
2100inline ::tensorflow::AllocatorMemoryUsed* NodeExecStats::add_memory() {
2101 // @@protoc_insertion_point(field_add:tensorflow.NodeExecStats.memory)
2102 return memory_.Add();
2103}
2104inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocatorMemoryUsed >&
2105NodeExecStats::memory() const {
2106 // @@protoc_insertion_point(field_list:tensorflow.NodeExecStats.memory)
2107 return memory_;
2108}
2109
2110// repeated .tensorflow.NodeOutput output = 7;
2111inline int NodeExecStats::output_size() const {
2112 return output_.size();
2113}
2114inline void NodeExecStats::clear_output() {
2115 output_.Clear();
2116}
2117inline ::tensorflow::NodeOutput* NodeExecStats::mutable_output(int index) {
2118 // @@protoc_insertion_point(field_mutable:tensorflow.NodeExecStats.output)
2119 return output_.Mutable(index);
2120}
2121inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NodeOutput >*
2122NodeExecStats::mutable_output() {
2123 // @@protoc_insertion_point(field_mutable_list:tensorflow.NodeExecStats.output)
2124 return &output_;
2125}
2126inline const ::tensorflow::NodeOutput& NodeExecStats::output(int index) const {
2127 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.output)
2128 return output_.Get(index);
2129}
2130inline ::tensorflow::NodeOutput* NodeExecStats::add_output() {
2131 // @@protoc_insertion_point(field_add:tensorflow.NodeExecStats.output)
2132 return output_.Add();
2133}
2134inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NodeOutput >&
2135NodeExecStats::output() const {
2136 // @@protoc_insertion_point(field_list:tensorflow.NodeExecStats.output)
2137 return output_;
2138}
2139
2140// string timeline_label = 8;
2141inline void NodeExecStats::clear_timeline_label() {
2142 timeline_label_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2143}
2144inline const std::string& NodeExecStats::timeline_label() const {
2145 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.timeline_label)
2146 return timeline_label_.Get();
2147}
2148inline void NodeExecStats::set_timeline_label(const std::string& value) {
2149
2150 timeline_label_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
2151 // @@protoc_insertion_point(field_set:tensorflow.NodeExecStats.timeline_label)
2152}
2153inline void NodeExecStats::set_timeline_label(std::string&& value) {
2154
2155 timeline_label_.Set(
2156 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
2157 // @@protoc_insertion_point(field_set_rvalue:tensorflow.NodeExecStats.timeline_label)
2158}
2159inline void NodeExecStats::set_timeline_label(const char* value) {
2160 GOOGLE_DCHECK(value != nullptr);
2161
2162 timeline_label_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
2163 GetArenaNoVirtual());
2164 // @@protoc_insertion_point(field_set_char:tensorflow.NodeExecStats.timeline_label)
2165}
2166inline void NodeExecStats::set_timeline_label(const char* value,
2167 size_t size) {
2168
2169 timeline_label_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
2170 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
2171 // @@protoc_insertion_point(field_set_pointer:tensorflow.NodeExecStats.timeline_label)
2172}
2173inline std::string* NodeExecStats::mutable_timeline_label() {
2174
2175 // @@protoc_insertion_point(field_mutable:tensorflow.NodeExecStats.timeline_label)
2176 return timeline_label_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2177}
2178inline std::string* NodeExecStats::release_timeline_label() {
2179 // @@protoc_insertion_point(field_release:tensorflow.NodeExecStats.timeline_label)
2180
2181 return timeline_label_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2182}
2183inline void NodeExecStats::set_allocated_timeline_label(std::string* timeline_label) {
2184 if (timeline_label != nullptr) {
2185
2186 } else {
2187
2188 }
2189 timeline_label_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), timeline_label,
2190 GetArenaNoVirtual());
2191 // @@protoc_insertion_point(field_set_allocated:tensorflow.NodeExecStats.timeline_label)
2192}
2193inline std::string* NodeExecStats::unsafe_arena_release_timeline_label() {
2194 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.NodeExecStats.timeline_label)
2195 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
2196
2197 return timeline_label_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2198 GetArenaNoVirtual());
2199}
2200inline void NodeExecStats::unsafe_arena_set_allocated_timeline_label(
2201 std::string* timeline_label) {
2202 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
2203 if (timeline_label != nullptr) {
2204
2205 } else {
2206
2207 }
2208 timeline_label_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2209 timeline_label, GetArenaNoVirtual());
2210 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.NodeExecStats.timeline_label)
2211}
2212
2213// int64 scheduled_micros = 9;
2214inline void NodeExecStats::clear_scheduled_micros() {
2215 scheduled_micros_ = PROTOBUF_LONGLONG(0);
2216}
2217inline ::PROTOBUF_NAMESPACE_ID::int64 NodeExecStats::scheduled_micros() const {
2218 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.scheduled_micros)
2219 return scheduled_micros_;
2220}
2221inline void NodeExecStats::set_scheduled_micros(::PROTOBUF_NAMESPACE_ID::int64 value) {
2222
2223 scheduled_micros_ = value;
2224 // @@protoc_insertion_point(field_set:tensorflow.NodeExecStats.scheduled_micros)
2225}
2226
2227// uint32 thread_id = 10;
2228inline void NodeExecStats::clear_thread_id() {
2229 thread_id_ = 0u;
2230}
2231inline ::PROTOBUF_NAMESPACE_ID::uint32 NodeExecStats::thread_id() const {
2232 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.thread_id)
2233 return thread_id_;
2234}
2235inline void NodeExecStats::set_thread_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
2236
2237 thread_id_ = value;
2238 // @@protoc_insertion_point(field_set:tensorflow.NodeExecStats.thread_id)
2239}
2240
2241// repeated .tensorflow.AllocationDescription referenced_tensor = 11;
2242inline int NodeExecStats::referenced_tensor_size() const {
2243 return referenced_tensor_.size();
2244}
2245inline ::tensorflow::AllocationDescription* NodeExecStats::mutable_referenced_tensor(int index) {
2246 // @@protoc_insertion_point(field_mutable:tensorflow.NodeExecStats.referenced_tensor)
2247 return referenced_tensor_.Mutable(index);
2248}
2249inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocationDescription >*
2250NodeExecStats::mutable_referenced_tensor() {
2251 // @@protoc_insertion_point(field_mutable_list:tensorflow.NodeExecStats.referenced_tensor)
2252 return &referenced_tensor_;
2253}
2254inline const ::tensorflow::AllocationDescription& NodeExecStats::referenced_tensor(int index) const {
2255 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.referenced_tensor)
2256 return referenced_tensor_.Get(index);
2257}
2258inline ::tensorflow::AllocationDescription* NodeExecStats::add_referenced_tensor() {
2259 // @@protoc_insertion_point(field_add:tensorflow.NodeExecStats.referenced_tensor)
2260 return referenced_tensor_.Add();
2261}
2262inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AllocationDescription >&
2263NodeExecStats::referenced_tensor() const {
2264 // @@protoc_insertion_point(field_list:tensorflow.NodeExecStats.referenced_tensor)
2265 return referenced_tensor_;
2266}
2267
2268// .tensorflow.MemoryStats memory_stats = 12;
2269inline bool NodeExecStats::has_memory_stats() const {
2270 return this != internal_default_instance() && memory_stats_ != nullptr;
2271}
2272inline void NodeExecStats::clear_memory_stats() {
2273 if (GetArenaNoVirtual() == nullptr && memory_stats_ != nullptr) {
2274 delete memory_stats_;
2275 }
2276 memory_stats_ = nullptr;
2277}
2278inline const ::tensorflow::MemoryStats& NodeExecStats::memory_stats() const {
2279 const ::tensorflow::MemoryStats* p = memory_stats_;
2280 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.memory_stats)
2281 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::MemoryStats*>(
2282 &::tensorflow::_MemoryStats_default_instance_);
2283}
2284inline ::tensorflow::MemoryStats* NodeExecStats::release_memory_stats() {
2285 // @@protoc_insertion_point(field_release:tensorflow.NodeExecStats.memory_stats)
2286
2287 ::tensorflow::MemoryStats* temp = memory_stats_;
2288 if (GetArenaNoVirtual() != nullptr) {
2289 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2290 }
2291 memory_stats_ = nullptr;
2292 return temp;
2293}
2294inline ::tensorflow::MemoryStats* NodeExecStats::unsafe_arena_release_memory_stats() {
2295 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.NodeExecStats.memory_stats)
2296
2297 ::tensorflow::MemoryStats* temp = memory_stats_;
2298 memory_stats_ = nullptr;
2299 return temp;
2300}
2301inline ::tensorflow::MemoryStats* NodeExecStats::mutable_memory_stats() {
2302
2303 if (memory_stats_ == nullptr) {
2304 auto* p = CreateMaybeMessage<::tensorflow::MemoryStats>(GetArenaNoVirtual());
2305 memory_stats_ = p;
2306 }
2307 // @@protoc_insertion_point(field_mutable:tensorflow.NodeExecStats.memory_stats)
2308 return memory_stats_;
2309}
2310inline void NodeExecStats::set_allocated_memory_stats(::tensorflow::MemoryStats* memory_stats) {
2311 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
2312 if (message_arena == nullptr) {
2313 delete memory_stats_;
2314 }
2315 if (memory_stats) {
2316 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2317 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(memory_stats);
2318 if (message_arena != submessage_arena) {
2319 memory_stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2320 message_arena, memory_stats, submessage_arena);
2321 }
2322
2323 } else {
2324
2325 }
2326 memory_stats_ = memory_stats;
2327 // @@protoc_insertion_point(field_set_allocated:tensorflow.NodeExecStats.memory_stats)
2328}
2329
2330// int64 all_start_nanos = 13;
2331inline void NodeExecStats::clear_all_start_nanos() {
2332 all_start_nanos_ = PROTOBUF_LONGLONG(0);
2333}
2334inline ::PROTOBUF_NAMESPACE_ID::int64 NodeExecStats::all_start_nanos() const {
2335 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.all_start_nanos)
2336 return all_start_nanos_;
2337}
2338inline void NodeExecStats::set_all_start_nanos(::PROTOBUF_NAMESPACE_ID::int64 value) {
2339
2340 all_start_nanos_ = value;
2341 // @@protoc_insertion_point(field_set:tensorflow.NodeExecStats.all_start_nanos)
2342}
2343
2344// int64 op_start_rel_nanos = 14;
2345inline void NodeExecStats::clear_op_start_rel_nanos() {
2346 op_start_rel_nanos_ = PROTOBUF_LONGLONG(0);
2347}
2348inline ::PROTOBUF_NAMESPACE_ID::int64 NodeExecStats::op_start_rel_nanos() const {
2349 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.op_start_rel_nanos)
2350 return op_start_rel_nanos_;
2351}
2352inline void NodeExecStats::set_op_start_rel_nanos(::PROTOBUF_NAMESPACE_ID::int64 value) {
2353
2354 op_start_rel_nanos_ = value;
2355 // @@protoc_insertion_point(field_set:tensorflow.NodeExecStats.op_start_rel_nanos)
2356}
2357
2358// int64 op_end_rel_nanos = 15;
2359inline void NodeExecStats::clear_op_end_rel_nanos() {
2360 op_end_rel_nanos_ = PROTOBUF_LONGLONG(0);
2361}
2362inline ::PROTOBUF_NAMESPACE_ID::int64 NodeExecStats::op_end_rel_nanos() const {
2363 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.op_end_rel_nanos)
2364 return op_end_rel_nanos_;
2365}
2366inline void NodeExecStats::set_op_end_rel_nanos(::PROTOBUF_NAMESPACE_ID::int64 value) {
2367
2368 op_end_rel_nanos_ = value;
2369 // @@protoc_insertion_point(field_set:tensorflow.NodeExecStats.op_end_rel_nanos)
2370}
2371
2372// int64 all_end_rel_nanos = 16;
2373inline void NodeExecStats::clear_all_end_rel_nanos() {
2374 all_end_rel_nanos_ = PROTOBUF_LONGLONG(0);
2375}
2376inline ::PROTOBUF_NAMESPACE_ID::int64 NodeExecStats::all_end_rel_nanos() const {
2377 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.all_end_rel_nanos)
2378 return all_end_rel_nanos_;
2379}
2380inline void NodeExecStats::set_all_end_rel_nanos(::PROTOBUF_NAMESPACE_ID::int64 value) {
2381
2382 all_end_rel_nanos_ = value;
2383 // @@protoc_insertion_point(field_set:tensorflow.NodeExecStats.all_end_rel_nanos)
2384}
2385
2386// int64 scheduled_nanos = 17;
2387inline void NodeExecStats::clear_scheduled_nanos() {
2388 scheduled_nanos_ = PROTOBUF_LONGLONG(0);
2389}
2390inline ::PROTOBUF_NAMESPACE_ID::int64 NodeExecStats::scheduled_nanos() const {
2391 // @@protoc_insertion_point(field_get:tensorflow.NodeExecStats.scheduled_nanos)
2392 return scheduled_nanos_;
2393}
2394inline void NodeExecStats::set_scheduled_nanos(::PROTOBUF_NAMESPACE_ID::int64 value) {
2395
2396 scheduled_nanos_ = value;
2397 // @@protoc_insertion_point(field_set:tensorflow.NodeExecStats.scheduled_nanos)
2398}
2399
2400// -------------------------------------------------------------------
2401
2402// -------------------------------------------------------------------
2403
2404// DeviceStepStats
2405
2406// string device = 1;
2407inline void DeviceStepStats::clear_device() {
2408 device_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2409}
2410inline const std::string& DeviceStepStats::device() const {
2411 // @@protoc_insertion_point(field_get:tensorflow.DeviceStepStats.device)
2412 return device_.Get();
2413}
2414inline void DeviceStepStats::set_device(const std::string& value) {
2415
2416 device_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
2417 // @@protoc_insertion_point(field_set:tensorflow.DeviceStepStats.device)
2418}
2419inline void DeviceStepStats::set_device(std::string&& value) {
2420
2421 device_.Set(
2422 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
2423 // @@protoc_insertion_point(field_set_rvalue:tensorflow.DeviceStepStats.device)
2424}
2425inline void DeviceStepStats::set_device(const char* value) {
2426 GOOGLE_DCHECK(value != nullptr);
2427
2428 device_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
2429 GetArenaNoVirtual());
2430 // @@protoc_insertion_point(field_set_char:tensorflow.DeviceStepStats.device)
2431}
2432inline void DeviceStepStats::set_device(const char* value,
2433 size_t size) {
2434
2435 device_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
2436 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
2437 // @@protoc_insertion_point(field_set_pointer:tensorflow.DeviceStepStats.device)
2438}
2439inline std::string* DeviceStepStats::mutable_device() {
2440
2441 // @@protoc_insertion_point(field_mutable:tensorflow.DeviceStepStats.device)
2442 return device_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2443}
2444inline std::string* DeviceStepStats::release_device() {
2445 // @@protoc_insertion_point(field_release:tensorflow.DeviceStepStats.device)
2446
2447 return device_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2448}
2449inline void DeviceStepStats::set_allocated_device(std::string* device) {
2450 if (device != nullptr) {
2451
2452 } else {
2453
2454 }
2455 device_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), device,
2456 GetArenaNoVirtual());
2457 // @@protoc_insertion_point(field_set_allocated:tensorflow.DeviceStepStats.device)
2458}
2459inline std::string* DeviceStepStats::unsafe_arena_release_device() {
2460 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.DeviceStepStats.device)
2461 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
2462
2463 return device_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2464 GetArenaNoVirtual());
2465}
2466inline void DeviceStepStats::unsafe_arena_set_allocated_device(
2467 std::string* device) {
2468 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
2469 if (device != nullptr) {
2470
2471 } else {
2472
2473 }
2474 device_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2475 device, GetArenaNoVirtual());
2476 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.DeviceStepStats.device)
2477}
2478
2479// repeated .tensorflow.NodeExecStats node_stats = 2;
2480inline int DeviceStepStats::node_stats_size() const {
2481 return node_stats_.size();
2482}
2483inline void DeviceStepStats::clear_node_stats() {
2484 node_stats_.Clear();
2485}
2486inline ::tensorflow::NodeExecStats* DeviceStepStats::mutable_node_stats(int index) {
2487 // @@protoc_insertion_point(field_mutable:tensorflow.DeviceStepStats.node_stats)
2488 return node_stats_.Mutable(index);
2489}
2490inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NodeExecStats >*
2491DeviceStepStats::mutable_node_stats() {
2492 // @@protoc_insertion_point(field_mutable_list:tensorflow.DeviceStepStats.node_stats)
2493 return &node_stats_;
2494}
2495inline const ::tensorflow::NodeExecStats& DeviceStepStats::node_stats(int index) const {
2496 // @@protoc_insertion_point(field_get:tensorflow.DeviceStepStats.node_stats)
2497 return node_stats_.Get(index);
2498}
2499inline ::tensorflow::NodeExecStats* DeviceStepStats::add_node_stats() {
2500 // @@protoc_insertion_point(field_add:tensorflow.DeviceStepStats.node_stats)
2501 return node_stats_.Add();
2502}
2503inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NodeExecStats >&
2504DeviceStepStats::node_stats() const {
2505 // @@protoc_insertion_point(field_list:tensorflow.DeviceStepStats.node_stats)
2506 return node_stats_;
2507}
2508
2509// map<uint32, string> thread_names = 3;
2510inline int DeviceStepStats::thread_names_size() const {
2511 return thread_names_.size();
2512}
2513inline void DeviceStepStats::clear_thread_names() {
2514 thread_names_.Clear();
2515}
2516inline const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::uint32, std::string >&
2517DeviceStepStats::thread_names() const {
2518 // @@protoc_insertion_point(field_map:tensorflow.DeviceStepStats.thread_names)
2519 return thread_names_.GetMap();
2520}
2521inline ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::uint32, std::string >*
2522DeviceStepStats::mutable_thread_names() {
2523 // @@protoc_insertion_point(field_mutable_map:tensorflow.DeviceStepStats.thread_names)
2524 return thread_names_.MutableMap();
2525}
2526
2527// -------------------------------------------------------------------
2528
2529// StepStats
2530
2531// repeated .tensorflow.DeviceStepStats dev_stats = 1;
2532inline int StepStats::dev_stats_size() const {
2533 return dev_stats_.size();
2534}
2535inline void StepStats::clear_dev_stats() {
2536 dev_stats_.Clear();
2537}
2538inline ::tensorflow::DeviceStepStats* StepStats::mutable_dev_stats(int index) {
2539 // @@protoc_insertion_point(field_mutable:tensorflow.StepStats.dev_stats)
2540 return dev_stats_.Mutable(index);
2541}
2542inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceStepStats >*
2543StepStats::mutable_dev_stats() {
2544 // @@protoc_insertion_point(field_mutable_list:tensorflow.StepStats.dev_stats)
2545 return &dev_stats_;
2546}
2547inline const ::tensorflow::DeviceStepStats& StepStats::dev_stats(int index) const {
2548 // @@protoc_insertion_point(field_get:tensorflow.StepStats.dev_stats)
2549 return dev_stats_.Get(index);
2550}
2551inline ::tensorflow::DeviceStepStats* StepStats::add_dev_stats() {
2552 // @@protoc_insertion_point(field_add:tensorflow.StepStats.dev_stats)
2553 return dev_stats_.Add();
2554}
2555inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::DeviceStepStats >&
2556StepStats::dev_stats() const {
2557 // @@protoc_insertion_point(field_list:tensorflow.StepStats.dev_stats)
2558 return dev_stats_;
2559}
2560
2561#ifdef __GNUC__
2562 #pragma GCC diagnostic pop
2563#endif // __GNUC__
2564// -------------------------------------------------------------------
2565
2566// -------------------------------------------------------------------
2567
2568// -------------------------------------------------------------------
2569
2570// -------------------------------------------------------------------
2571
2572// -------------------------------------------------------------------
2573
2574// -------------------------------------------------------------------
2575
2576// -------------------------------------------------------------------
2577
2578
2579// @@protoc_insertion_point(namespace_scope)
2580
2581} // namespace tensorflow
2582
2583// @@protoc_insertion_point(global_scope)
2584
2585#include <google/protobuf/port_undef.inc>
2586#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2fstep_5fstats_2eproto
2587