1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: tensorflow/core/profiler/protobuf/xplane.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2fprotobuf_2fxplane_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2fprotobuf_2fxplane_2eproto
6
7 #include <cstdint>
8 #include <limits>
9 #include <string>
10
11 #include <google/protobuf/port_def.inc>
12 #if PROTOBUF_VERSION < 3021000
13 #error This file was generated by a newer version of protoc which is
14 #error incompatible with your Protocol Buffer headers. Please update
15 #error your headers.
16 #endif
17 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
18 #error This file was generated by an older version of protoc which is
19 #error incompatible with your Protocol Buffer headers. Please
20 #error regenerate this file with a newer version of protoc.
21 #endif
22
23 #include <google/protobuf/port_undef.inc>
24 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arena.h>
26 #include <google/protobuf/arenastring.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/message_lite.h>
30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/map.h> // IWYU pragma: export
33 #include <google/protobuf/map_entry_lite.h>
34 #include <google/protobuf/map_field_lite.h>
35 // @@protoc_insertion_point(includes)
36 #include <google/protobuf/port_def.inc>
37 #define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fprofiler_2fprotobuf_2fxplane_2eproto
38 PROTOBUF_NAMESPACE_OPEN
39 namespace internal {
40 class AnyMetadata;
41 } // namespace internal
42 PROTOBUF_NAMESPACE_CLOSE
43
44 // Internal implementation detail -- do not use these members.
45 struct TableStruct_tensorflow_2fcore_2fprofiler_2fprotobuf_2fxplane_2eproto {
46 static const ::uint32_t offsets[];
47 };
48 namespace tensorflow {
49 namespace profiler {
50 class XEvent;
51 struct XEventDefaultTypeInternal;
52 extern XEventDefaultTypeInternal _XEvent_default_instance_;
53 class XEventMetadata;
54 struct XEventMetadataDefaultTypeInternal;
55 extern XEventMetadataDefaultTypeInternal _XEventMetadata_default_instance_;
56 class XLine;
57 struct XLineDefaultTypeInternal;
58 extern XLineDefaultTypeInternal _XLine_default_instance_;
59 class XPlane;
60 struct XPlaneDefaultTypeInternal;
61 extern XPlaneDefaultTypeInternal _XPlane_default_instance_;
62 class XPlane_EventMetadataEntry_DoNotUse;
63 struct XPlane_EventMetadataEntry_DoNotUseDefaultTypeInternal;
64 extern XPlane_EventMetadataEntry_DoNotUseDefaultTypeInternal _XPlane_EventMetadataEntry_DoNotUse_default_instance_;
65 class XPlane_StatMetadataEntry_DoNotUse;
66 struct XPlane_StatMetadataEntry_DoNotUseDefaultTypeInternal;
67 extern XPlane_StatMetadataEntry_DoNotUseDefaultTypeInternal _XPlane_StatMetadataEntry_DoNotUse_default_instance_;
68 class XSpace;
69 struct XSpaceDefaultTypeInternal;
70 extern XSpaceDefaultTypeInternal _XSpace_default_instance_;
71 class XStat;
72 struct XStatDefaultTypeInternal;
73 extern XStatDefaultTypeInternal _XStat_default_instance_;
74 class XStatMetadata;
75 struct XStatMetadataDefaultTypeInternal;
76 extern XStatMetadataDefaultTypeInternal _XStatMetadata_default_instance_;
77 } // namespace profiler
78 } // namespace tensorflow
79 PROTOBUF_NAMESPACE_OPEN
80 template<> ::tensorflow::profiler::XEvent* Arena::CreateMaybeMessage<::tensorflow::profiler::XEvent>(Arena*);
81 template<> ::tensorflow::profiler::XEventMetadata* Arena::CreateMaybeMessage<::tensorflow::profiler::XEventMetadata>(Arena*);
82 template<> ::tensorflow::profiler::XLine* Arena::CreateMaybeMessage<::tensorflow::profiler::XLine>(Arena*);
83 template<> ::tensorflow::profiler::XPlane* Arena::CreateMaybeMessage<::tensorflow::profiler::XPlane>(Arena*);
84 template<> ::tensorflow::profiler::XPlane_EventMetadataEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::profiler::XPlane_EventMetadataEntry_DoNotUse>(Arena*);
85 template<> ::tensorflow::profiler::XPlane_StatMetadataEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::profiler::XPlane_StatMetadataEntry_DoNotUse>(Arena*);
86 template<> ::tensorflow::profiler::XSpace* Arena::CreateMaybeMessage<::tensorflow::profiler::XSpace>(Arena*);
87 template<> ::tensorflow::profiler::XStat* Arena::CreateMaybeMessage<::tensorflow::profiler::XStat>(Arena*);
88 template<> ::tensorflow::profiler::XStatMetadata* Arena::CreateMaybeMessage<::tensorflow::profiler::XStatMetadata>(Arena*);
89 PROTOBUF_NAMESPACE_CLOSE
90 namespace tensorflow {
91 namespace profiler {
92
93 // ===================================================================
94
95 class XSpace final :
96 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.profiler.XSpace) */ {
97 public:
XSpace()98 inline XSpace() : XSpace(nullptr) {}
99 ~XSpace() override;
100 explicit PROTOBUF_CONSTEXPR XSpace(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
101
102 XSpace(const XSpace& from);
XSpace(XSpace && from)103 XSpace(XSpace&& from) noexcept
104 : XSpace() {
105 *this = ::std::move(from);
106 }
107
108 inline XSpace& operator=(const XSpace& from) {
109 if (this == &from) return *this;
110 CopyFrom(from);
111 return *this;
112 }
113 inline XSpace& operator=(XSpace&& from) noexcept {
114 if (this == &from) return *this;
115 if (GetOwningArena() == from.GetOwningArena()
116 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
117 && GetOwningArena() != nullptr
118 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
119 ) {
120 InternalSwap(&from);
121 } else {
122 CopyFrom(from);
123 }
124 return *this;
125 }
126
default_instance()127 static const XSpace& default_instance() {
128 return *internal_default_instance();
129 }
internal_default_instance()130 static inline const XSpace* internal_default_instance() {
131 return reinterpret_cast<const XSpace*>(
132 &_XSpace_default_instance_);
133 }
134 static constexpr int kIndexInFileMessages =
135 0;
136
swap(XSpace & a,XSpace & b)137 friend void swap(XSpace& a, XSpace& b) {
138 a.Swap(&b);
139 }
Swap(XSpace * other)140 inline void Swap(XSpace* other) {
141 if (other == this) return;
142 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
143 if (GetOwningArena() != nullptr &&
144 GetOwningArena() == other->GetOwningArena()) {
145 #else // PROTOBUF_FORCE_COPY_IN_SWAP
146 if (GetOwningArena() == other->GetOwningArena()) {
147 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
148 InternalSwap(other);
149 } else {
150 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
151 }
152 }
153 void UnsafeArenaSwap(XSpace* other) {
154 if (other == this) return;
155 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
156 InternalSwap(other);
157 }
158
159 // implements Message ----------------------------------------------
160
161 XSpace* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
162 return CreateMaybeMessage<XSpace>(arena);
163 }
164 XSpace* New() const {
165 return New(nullptr);
166 }
167 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
168 void CopyFrom(const XSpace& from);
169 void MergeFrom(const XSpace& from);
170 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
171 bool IsInitialized() const final;
172
173 size_t ByteSizeLong() const final;
174 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
175 ::uint8_t* _InternalSerialize(
176 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
177 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
178
179 private:
180 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
181 void SharedDtor();
182 void SetCachedSize(int size) const;
183 void InternalSwap(XSpace* other);
184
185 private:
186 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
187 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
188 return "tensorflow.profiler.XSpace";
189 }
190 protected:
191 explicit XSpace(::PROTOBUF_NAMESPACE_ID::Arena* arena,
192 bool is_message_owned = false);
193 public:
194
195 std::string GetTypeName() const final;
196
197 // nested types ----------------------------------------------------
198
199 // accessors -------------------------------------------------------
200
201 enum : int {
202 kPlanesFieldNumber = 1,
203 kErrorsFieldNumber = 2,
204 kWarningsFieldNumber = 3,
205 kHostnamesFieldNumber = 4,
206 };
207 // repeated .tensorflow.profiler.XPlane planes = 1;
208 int planes_size() const;
209 private:
210 int _internal_planes_size() const;
211 public:
212 void clear_planes();
213 ::tensorflow::profiler::XPlane* mutable_planes(int index);
214 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XPlane >*
215 mutable_planes();
216 private:
217 const ::tensorflow::profiler::XPlane& _internal_planes(int index) const;
218 ::tensorflow::profiler::XPlane* _internal_add_planes();
219 public:
220 const ::tensorflow::profiler::XPlane& planes(int index) const;
221 ::tensorflow::profiler::XPlane* add_planes();
222 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XPlane >&
223 planes() const;
224
225 // repeated string errors = 2;
226 int errors_size() const;
227 private:
228 int _internal_errors_size() const;
229 public:
230 void clear_errors();
231 const std::string& errors(int index) const;
232 std::string* mutable_errors(int index);
233 void set_errors(int index, const std::string& value);
234 void set_errors(int index, std::string&& value);
235 void set_errors(int index, const char* value);
236 void set_errors(int index, const char* value, size_t size);
237 std::string* add_errors();
238 void add_errors(const std::string& value);
239 void add_errors(std::string&& value);
240 void add_errors(const char* value);
241 void add_errors(const char* value, size_t size);
242 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& errors() const;
243 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_errors();
244 private:
245 const std::string& _internal_errors(int index) const;
246 std::string* _internal_add_errors();
247 public:
248
249 // repeated string warnings = 3;
250 int warnings_size() const;
251 private:
252 int _internal_warnings_size() const;
253 public:
254 void clear_warnings();
255 const std::string& warnings(int index) const;
256 std::string* mutable_warnings(int index);
257 void set_warnings(int index, const std::string& value);
258 void set_warnings(int index, std::string&& value);
259 void set_warnings(int index, const char* value);
260 void set_warnings(int index, const char* value, size_t size);
261 std::string* add_warnings();
262 void add_warnings(const std::string& value);
263 void add_warnings(std::string&& value);
264 void add_warnings(const char* value);
265 void add_warnings(const char* value, size_t size);
266 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& warnings() const;
267 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_warnings();
268 private:
269 const std::string& _internal_warnings(int index) const;
270 std::string* _internal_add_warnings();
271 public:
272
273 // repeated string hostnames = 4;
274 int hostnames_size() const;
275 private:
276 int _internal_hostnames_size() const;
277 public:
278 void clear_hostnames();
279 const std::string& hostnames(int index) const;
280 std::string* mutable_hostnames(int index);
281 void set_hostnames(int index, const std::string& value);
282 void set_hostnames(int index, std::string&& value);
283 void set_hostnames(int index, const char* value);
284 void set_hostnames(int index, const char* value, size_t size);
285 std::string* add_hostnames();
286 void add_hostnames(const std::string& value);
287 void add_hostnames(std::string&& value);
288 void add_hostnames(const char* value);
289 void add_hostnames(const char* value, size_t size);
290 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& hostnames() const;
291 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_hostnames();
292 private:
293 const std::string& _internal_hostnames(int index) const;
294 std::string* _internal_add_hostnames();
295 public:
296
297 // @@protoc_insertion_point(class_scope:tensorflow.profiler.XSpace)
298 private:
299 class _Internal;
300
301 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
302 typedef void InternalArenaConstructable_;
303 typedef void DestructorSkippable_;
304 struct Impl_ {
305 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XPlane > planes_;
306 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> errors_;
307 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> warnings_;
308 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> hostnames_;
309 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
310 };
311 union { Impl_ _impl_; };
312 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprotobuf_2fxplane_2eproto;
313 };
314 // -------------------------------------------------------------------
315
316 class XPlane_EventMetadataEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<XPlane_EventMetadataEntry_DoNotUse,
317 ::int64_t, ::tensorflow::profiler::XEventMetadata,
318 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
319 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
320 public:
321 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<XPlane_EventMetadataEntry_DoNotUse,
322 ::int64_t, ::tensorflow::profiler::XEventMetadata,
323 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
324 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
325 XPlane_EventMetadataEntry_DoNotUse();
326 explicit PROTOBUF_CONSTEXPR XPlane_EventMetadataEntry_DoNotUse(
327 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
328 explicit XPlane_EventMetadataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
329 void MergeFrom(const XPlane_EventMetadataEntry_DoNotUse& other);
internal_default_instance()330 static const XPlane_EventMetadataEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const XPlane_EventMetadataEntry_DoNotUse*>(&_XPlane_EventMetadataEntry_DoNotUse_default_instance_); }
ValidateKey(void *)331 static bool ValidateKey(void*) { return true; }
ValidateValue(void *)332 static bool ValidateValue(void*) { return true; }
333 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprotobuf_2fxplane_2eproto;
334 };
335
336 // -------------------------------------------------------------------
337
338 class XPlane_StatMetadataEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<XPlane_StatMetadataEntry_DoNotUse,
339 ::int64_t, ::tensorflow::profiler::XStatMetadata,
340 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
341 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
342 public:
343 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<XPlane_StatMetadataEntry_DoNotUse,
344 ::int64_t, ::tensorflow::profiler::XStatMetadata,
345 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
346 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
347 XPlane_StatMetadataEntry_DoNotUse();
348 explicit PROTOBUF_CONSTEXPR XPlane_StatMetadataEntry_DoNotUse(
349 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
350 explicit XPlane_StatMetadataEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
351 void MergeFrom(const XPlane_StatMetadataEntry_DoNotUse& other);
internal_default_instance()352 static const XPlane_StatMetadataEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const XPlane_StatMetadataEntry_DoNotUse*>(&_XPlane_StatMetadataEntry_DoNotUse_default_instance_); }
ValidateKey(void *)353 static bool ValidateKey(void*) { return true; }
ValidateValue(void *)354 static bool ValidateValue(void*) { return true; }
355 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprotobuf_2fxplane_2eproto;
356 };
357
358 // -------------------------------------------------------------------
359
360 class XPlane final :
361 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.profiler.XPlane) */ {
362 public:
XPlane()363 inline XPlane() : XPlane(nullptr) {}
364 ~XPlane() override;
365 explicit PROTOBUF_CONSTEXPR XPlane(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
366
367 XPlane(const XPlane& from);
XPlane(XPlane && from)368 XPlane(XPlane&& from) noexcept
369 : XPlane() {
370 *this = ::std::move(from);
371 }
372
373 inline XPlane& operator=(const XPlane& from) {
374 if (this == &from) return *this;
375 CopyFrom(from);
376 return *this;
377 }
378 inline XPlane& operator=(XPlane&& from) noexcept {
379 if (this == &from) return *this;
380 if (GetOwningArena() == from.GetOwningArena()
381 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
382 && GetOwningArena() != nullptr
383 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
384 ) {
385 InternalSwap(&from);
386 } else {
387 CopyFrom(from);
388 }
389 return *this;
390 }
391
default_instance()392 static const XPlane& default_instance() {
393 return *internal_default_instance();
394 }
internal_default_instance()395 static inline const XPlane* internal_default_instance() {
396 return reinterpret_cast<const XPlane*>(
397 &_XPlane_default_instance_);
398 }
399 static constexpr int kIndexInFileMessages =
400 3;
401
swap(XPlane & a,XPlane & b)402 friend void swap(XPlane& a, XPlane& b) {
403 a.Swap(&b);
404 }
Swap(XPlane * other)405 inline void Swap(XPlane* other) {
406 if (other == this) return;
407 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
408 if (GetOwningArena() != nullptr &&
409 GetOwningArena() == other->GetOwningArena()) {
410 #else // PROTOBUF_FORCE_COPY_IN_SWAP
411 if (GetOwningArena() == other->GetOwningArena()) {
412 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
413 InternalSwap(other);
414 } else {
415 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
416 }
417 }
418 void UnsafeArenaSwap(XPlane* other) {
419 if (other == this) return;
420 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
421 InternalSwap(other);
422 }
423
424 // implements Message ----------------------------------------------
425
426 XPlane* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
427 return CreateMaybeMessage<XPlane>(arena);
428 }
429 XPlane* New() const {
430 return New(nullptr);
431 }
432 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
433 void CopyFrom(const XPlane& from);
434 void MergeFrom(const XPlane& from);
435 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
436 bool IsInitialized() const final;
437
438 size_t ByteSizeLong() const final;
439 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
440 ::uint8_t* _InternalSerialize(
441 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
442 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
443
444 private:
445 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
446 void SharedDtor();
447 void SetCachedSize(int size) const;
448 void InternalSwap(XPlane* other);
449
450 private:
451 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
452 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
453 return "tensorflow.profiler.XPlane";
454 }
455 protected:
456 explicit XPlane(::PROTOBUF_NAMESPACE_ID::Arena* arena,
457 bool is_message_owned = false);
458 public:
459
460 std::string GetTypeName() const final;
461
462 // nested types ----------------------------------------------------
463
464
465 // accessors -------------------------------------------------------
466
467 enum : int {
468 kLinesFieldNumber = 3,
469 kEventMetadataFieldNumber = 4,
470 kStatMetadataFieldNumber = 5,
471 kStatsFieldNumber = 6,
472 kNameFieldNumber = 2,
473 kIdFieldNumber = 1,
474 };
475 // repeated .tensorflow.profiler.XLine lines = 3;
476 int lines_size() const;
477 private:
478 int _internal_lines_size() const;
479 public:
480 void clear_lines();
481 ::tensorflow::profiler::XLine* mutable_lines(int index);
482 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XLine >*
483 mutable_lines();
484 private:
485 const ::tensorflow::profiler::XLine& _internal_lines(int index) const;
486 ::tensorflow::profiler::XLine* _internal_add_lines();
487 public:
488 const ::tensorflow::profiler::XLine& lines(int index) const;
489 ::tensorflow::profiler::XLine* add_lines();
490 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XLine >&
491 lines() const;
492
493 // map<int64, .tensorflow.profiler.XEventMetadata> event_metadata = 4;
494 int event_metadata_size() const;
495 private:
496 int _internal_event_metadata_size() const;
497 public:
498 void clear_event_metadata();
499 private:
500 const ::PROTOBUF_NAMESPACE_ID::Map< ::int64_t, ::tensorflow::profiler::XEventMetadata >&
501 _internal_event_metadata() const;
502 ::PROTOBUF_NAMESPACE_ID::Map< ::int64_t, ::tensorflow::profiler::XEventMetadata >*
503 _internal_mutable_event_metadata();
504 public:
505 const ::PROTOBUF_NAMESPACE_ID::Map< ::int64_t, ::tensorflow::profiler::XEventMetadata >&
506 event_metadata() const;
507 ::PROTOBUF_NAMESPACE_ID::Map< ::int64_t, ::tensorflow::profiler::XEventMetadata >*
508 mutable_event_metadata();
509
510 // map<int64, .tensorflow.profiler.XStatMetadata> stat_metadata = 5;
511 int stat_metadata_size() const;
512 private:
513 int _internal_stat_metadata_size() const;
514 public:
515 void clear_stat_metadata();
516 private:
517 const ::PROTOBUF_NAMESPACE_ID::Map< ::int64_t, ::tensorflow::profiler::XStatMetadata >&
518 _internal_stat_metadata() const;
519 ::PROTOBUF_NAMESPACE_ID::Map< ::int64_t, ::tensorflow::profiler::XStatMetadata >*
520 _internal_mutable_stat_metadata();
521 public:
522 const ::PROTOBUF_NAMESPACE_ID::Map< ::int64_t, ::tensorflow::profiler::XStatMetadata >&
523 stat_metadata() const;
524 ::PROTOBUF_NAMESPACE_ID::Map< ::int64_t, ::tensorflow::profiler::XStatMetadata >*
525 mutable_stat_metadata();
526
527 // repeated .tensorflow.profiler.XStat stats = 6;
528 int stats_size() const;
529 private:
530 int _internal_stats_size() const;
531 public:
532 void clear_stats();
533 ::tensorflow::profiler::XStat* mutable_stats(int index);
534 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XStat >*
535 mutable_stats();
536 private:
537 const ::tensorflow::profiler::XStat& _internal_stats(int index) const;
538 ::tensorflow::profiler::XStat* _internal_add_stats();
539 public:
540 const ::tensorflow::profiler::XStat& stats(int index) const;
541 ::tensorflow::profiler::XStat* add_stats();
542 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XStat >&
543 stats() const;
544
545 // string name = 2;
546 void clear_name();
547 const std::string& name() const;
548 template <typename ArgT0 = const std::string&, typename... ArgT>
549 void set_name(ArgT0&& arg0, ArgT... args);
550 std::string* mutable_name();
551 PROTOBUF_NODISCARD std::string* release_name();
552 void set_allocated_name(std::string* name);
553 private:
554 const std::string& _internal_name() const;
555 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
556 std::string* _internal_mutable_name();
557 public:
558
559 // int64 id = 1;
560 void clear_id();
561 ::int64_t id() const;
562 void set_id(::int64_t value);
563 private:
564 ::int64_t _internal_id() const;
565 void _internal_set_id(::int64_t value);
566 public:
567
568 // @@protoc_insertion_point(class_scope:tensorflow.profiler.XPlane)
569 private:
570 class _Internal;
571
572 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
573 typedef void InternalArenaConstructable_;
574 typedef void DestructorSkippable_;
575 struct Impl_ {
576 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XLine > lines_;
577 ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
578 XPlane_EventMetadataEntry_DoNotUse,
579 ::int64_t, ::tensorflow::profiler::XEventMetadata,
580 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
581 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> event_metadata_;
582 ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
583 XPlane_StatMetadataEntry_DoNotUse,
584 ::int64_t, ::tensorflow::profiler::XStatMetadata,
585 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64,
586 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> stat_metadata_;
587 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XStat > stats_;
588 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
589 ::int64_t id_;
590 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
591 };
592 union { Impl_ _impl_; };
593 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprotobuf_2fxplane_2eproto;
594 };
595 // -------------------------------------------------------------------
596
597 class XLine final :
598 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.profiler.XLine) */ {
599 public:
XLine()600 inline XLine() : XLine(nullptr) {}
601 ~XLine() override;
602 explicit PROTOBUF_CONSTEXPR XLine(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
603
604 XLine(const XLine& from);
XLine(XLine && from)605 XLine(XLine&& from) noexcept
606 : XLine() {
607 *this = ::std::move(from);
608 }
609
610 inline XLine& operator=(const XLine& from) {
611 if (this == &from) return *this;
612 CopyFrom(from);
613 return *this;
614 }
615 inline XLine& operator=(XLine&& from) noexcept {
616 if (this == &from) return *this;
617 if (GetOwningArena() == from.GetOwningArena()
618 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
619 && GetOwningArena() != nullptr
620 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
621 ) {
622 InternalSwap(&from);
623 } else {
624 CopyFrom(from);
625 }
626 return *this;
627 }
628
default_instance()629 static const XLine& default_instance() {
630 return *internal_default_instance();
631 }
internal_default_instance()632 static inline const XLine* internal_default_instance() {
633 return reinterpret_cast<const XLine*>(
634 &_XLine_default_instance_);
635 }
636 static constexpr int kIndexInFileMessages =
637 4;
638
swap(XLine & a,XLine & b)639 friend void swap(XLine& a, XLine& b) {
640 a.Swap(&b);
641 }
Swap(XLine * other)642 inline void Swap(XLine* other) {
643 if (other == this) return;
644 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
645 if (GetOwningArena() != nullptr &&
646 GetOwningArena() == other->GetOwningArena()) {
647 #else // PROTOBUF_FORCE_COPY_IN_SWAP
648 if (GetOwningArena() == other->GetOwningArena()) {
649 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
650 InternalSwap(other);
651 } else {
652 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
653 }
654 }
655 void UnsafeArenaSwap(XLine* other) {
656 if (other == this) return;
657 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
658 InternalSwap(other);
659 }
660
661 // implements Message ----------------------------------------------
662
663 XLine* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
664 return CreateMaybeMessage<XLine>(arena);
665 }
666 XLine* New() const {
667 return New(nullptr);
668 }
669 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
670 void CopyFrom(const XLine& from);
671 void MergeFrom(const XLine& from);
672 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
673 bool IsInitialized() const final;
674
675 size_t ByteSizeLong() const final;
676 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
677 ::uint8_t* _InternalSerialize(
678 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
679 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
680
681 private:
682 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
683 void SharedDtor();
684 void SetCachedSize(int size) const;
685 void InternalSwap(XLine* other);
686
687 private:
688 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
689 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
690 return "tensorflow.profiler.XLine";
691 }
692 protected:
693 explicit XLine(::PROTOBUF_NAMESPACE_ID::Arena* arena,
694 bool is_message_owned = false);
695 public:
696
697 std::string GetTypeName() const final;
698
699 // nested types ----------------------------------------------------
700
701 // accessors -------------------------------------------------------
702
703 enum : int {
704 kEventsFieldNumber = 4,
705 kNameFieldNumber = 2,
706 kDisplayNameFieldNumber = 11,
707 kIdFieldNumber = 1,
708 kTimestampNsFieldNumber = 3,
709 kDurationPsFieldNumber = 9,
710 kDisplayIdFieldNumber = 10,
711 };
712 // repeated .tensorflow.profiler.XEvent events = 4;
713 int events_size() const;
714 private:
715 int _internal_events_size() const;
716 public:
717 void clear_events();
718 ::tensorflow::profiler::XEvent* mutable_events(int index);
719 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XEvent >*
720 mutable_events();
721 private:
722 const ::tensorflow::profiler::XEvent& _internal_events(int index) const;
723 ::tensorflow::profiler::XEvent* _internal_add_events();
724 public:
725 const ::tensorflow::profiler::XEvent& events(int index) const;
726 ::tensorflow::profiler::XEvent* add_events();
727 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XEvent >&
728 events() const;
729
730 // string name = 2;
731 void clear_name();
732 const std::string& name() const;
733 template <typename ArgT0 = const std::string&, typename... ArgT>
734 void set_name(ArgT0&& arg0, ArgT... args);
735 std::string* mutable_name();
736 PROTOBUF_NODISCARD std::string* release_name();
737 void set_allocated_name(std::string* name);
738 private:
739 const std::string& _internal_name() const;
740 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
741 std::string* _internal_mutable_name();
742 public:
743
744 // string display_name = 11;
745 void clear_display_name();
746 const std::string& display_name() const;
747 template <typename ArgT0 = const std::string&, typename... ArgT>
748 void set_display_name(ArgT0&& arg0, ArgT... args);
749 std::string* mutable_display_name();
750 PROTOBUF_NODISCARD std::string* release_display_name();
751 void set_allocated_display_name(std::string* display_name);
752 private:
753 const std::string& _internal_display_name() const;
754 inline PROTOBUF_ALWAYS_INLINE void _internal_set_display_name(const std::string& value);
755 std::string* _internal_mutable_display_name();
756 public:
757
758 // int64 id = 1;
759 void clear_id();
760 ::int64_t id() const;
761 void set_id(::int64_t value);
762 private:
763 ::int64_t _internal_id() const;
764 void _internal_set_id(::int64_t value);
765 public:
766
767 // int64 timestamp_ns = 3;
768 void clear_timestamp_ns();
769 ::int64_t timestamp_ns() const;
770 void set_timestamp_ns(::int64_t value);
771 private:
772 ::int64_t _internal_timestamp_ns() const;
773 void _internal_set_timestamp_ns(::int64_t value);
774 public:
775
776 // int64 duration_ps = 9;
777 void clear_duration_ps();
778 ::int64_t duration_ps() const;
779 void set_duration_ps(::int64_t value);
780 private:
781 ::int64_t _internal_duration_ps() const;
782 void _internal_set_duration_ps(::int64_t value);
783 public:
784
785 // int64 display_id = 10;
786 void clear_display_id();
787 ::int64_t display_id() const;
788 void set_display_id(::int64_t value);
789 private:
790 ::int64_t _internal_display_id() const;
791 void _internal_set_display_id(::int64_t value);
792 public:
793
794 // @@protoc_insertion_point(class_scope:tensorflow.profiler.XLine)
795 private:
796 class _Internal;
797
798 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
799 typedef void InternalArenaConstructable_;
800 typedef void DestructorSkippable_;
801 struct Impl_ {
802 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XEvent > events_;
803 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
804 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr display_name_;
805 ::int64_t id_;
806 ::int64_t timestamp_ns_;
807 ::int64_t duration_ps_;
808 ::int64_t display_id_;
809 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
810 };
811 union { Impl_ _impl_; };
812 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprotobuf_2fxplane_2eproto;
813 };
814 // -------------------------------------------------------------------
815
816 class XEvent final :
817 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.profiler.XEvent) */ {
818 public:
XEvent()819 inline XEvent() : XEvent(nullptr) {}
820 ~XEvent() override;
821 explicit PROTOBUF_CONSTEXPR XEvent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
822
823 XEvent(const XEvent& from);
XEvent(XEvent && from)824 XEvent(XEvent&& from) noexcept
825 : XEvent() {
826 *this = ::std::move(from);
827 }
828
829 inline XEvent& operator=(const XEvent& from) {
830 if (this == &from) return *this;
831 CopyFrom(from);
832 return *this;
833 }
834 inline XEvent& operator=(XEvent&& from) noexcept {
835 if (this == &from) return *this;
836 if (GetOwningArena() == from.GetOwningArena()
837 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
838 && GetOwningArena() != nullptr
839 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
840 ) {
841 InternalSwap(&from);
842 } else {
843 CopyFrom(from);
844 }
845 return *this;
846 }
847
default_instance()848 static const XEvent& default_instance() {
849 return *internal_default_instance();
850 }
851 enum DataCase {
852 kOffsetPs = 2,
853 kNumOccurrences = 5,
854 DATA_NOT_SET = 0,
855 };
856
internal_default_instance()857 static inline const XEvent* internal_default_instance() {
858 return reinterpret_cast<const XEvent*>(
859 &_XEvent_default_instance_);
860 }
861 static constexpr int kIndexInFileMessages =
862 5;
863
swap(XEvent & a,XEvent & b)864 friend void swap(XEvent& a, XEvent& b) {
865 a.Swap(&b);
866 }
Swap(XEvent * other)867 inline void Swap(XEvent* other) {
868 if (other == this) return;
869 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
870 if (GetOwningArena() != nullptr &&
871 GetOwningArena() == other->GetOwningArena()) {
872 #else // PROTOBUF_FORCE_COPY_IN_SWAP
873 if (GetOwningArena() == other->GetOwningArena()) {
874 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
875 InternalSwap(other);
876 } else {
877 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
878 }
879 }
880 void UnsafeArenaSwap(XEvent* other) {
881 if (other == this) return;
882 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
883 InternalSwap(other);
884 }
885
886 // implements Message ----------------------------------------------
887
888 XEvent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
889 return CreateMaybeMessage<XEvent>(arena);
890 }
891 XEvent* New() const {
892 return New(nullptr);
893 }
894 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
895 void CopyFrom(const XEvent& from);
896 void MergeFrom(const XEvent& from);
897 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
898 bool IsInitialized() const final;
899
900 size_t ByteSizeLong() const final;
901 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
902 ::uint8_t* _InternalSerialize(
903 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
904 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
905
906 private:
907 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
908 void SharedDtor();
909 void SetCachedSize(int size) const;
910 void InternalSwap(XEvent* other);
911
912 private:
913 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
914 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
915 return "tensorflow.profiler.XEvent";
916 }
917 protected:
918 explicit XEvent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
919 bool is_message_owned = false);
920 public:
921
922 std::string GetTypeName() const final;
923
924 // nested types ----------------------------------------------------
925
926 // accessors -------------------------------------------------------
927
928 enum : int {
929 kStatsFieldNumber = 4,
930 kMetadataIdFieldNumber = 1,
931 kDurationPsFieldNumber = 3,
932 kOffsetPsFieldNumber = 2,
933 kNumOccurrencesFieldNumber = 5,
934 };
935 // repeated .tensorflow.profiler.XStat stats = 4;
936 int stats_size() const;
937 private:
938 int _internal_stats_size() const;
939 public:
940 void clear_stats();
941 ::tensorflow::profiler::XStat* mutable_stats(int index);
942 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XStat >*
943 mutable_stats();
944 private:
945 const ::tensorflow::profiler::XStat& _internal_stats(int index) const;
946 ::tensorflow::profiler::XStat* _internal_add_stats();
947 public:
948 const ::tensorflow::profiler::XStat& stats(int index) const;
949 ::tensorflow::profiler::XStat* add_stats();
950 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XStat >&
951 stats() const;
952
953 // int64 metadata_id = 1;
954 void clear_metadata_id();
955 ::int64_t metadata_id() const;
956 void set_metadata_id(::int64_t value);
957 private:
958 ::int64_t _internal_metadata_id() const;
959 void _internal_set_metadata_id(::int64_t value);
960 public:
961
962 // int64 duration_ps = 3;
963 void clear_duration_ps();
964 ::int64_t duration_ps() const;
965 void set_duration_ps(::int64_t value);
966 private:
967 ::int64_t _internal_duration_ps() const;
968 void _internal_set_duration_ps(::int64_t value);
969 public:
970
971 // int64 offset_ps = 2;
972 bool has_offset_ps() const;
973 private:
974 bool _internal_has_offset_ps() const;
975 public:
976 void clear_offset_ps();
977 ::int64_t offset_ps() const;
978 void set_offset_ps(::int64_t value);
979 private:
980 ::int64_t _internal_offset_ps() const;
981 void _internal_set_offset_ps(::int64_t value);
982 public:
983
984 // int64 num_occurrences = 5;
985 bool has_num_occurrences() const;
986 private:
987 bool _internal_has_num_occurrences() const;
988 public:
989 void clear_num_occurrences();
990 ::int64_t num_occurrences() const;
991 void set_num_occurrences(::int64_t value);
992 private:
993 ::int64_t _internal_num_occurrences() const;
994 void _internal_set_num_occurrences(::int64_t value);
995 public:
996
997 void clear_data();
998 DataCase data_case() const;
999 // @@protoc_insertion_point(class_scope:tensorflow.profiler.XEvent)
1000 private:
1001 class _Internal;
1002 void set_has_offset_ps();
1003 void set_has_num_occurrences();
1004
1005 inline bool has_data() const;
1006 inline void clear_has_data();
1007
1008 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1009 typedef void InternalArenaConstructable_;
1010 typedef void DestructorSkippable_;
1011 struct Impl_ {
1012 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XStat > stats_;
1013 ::int64_t metadata_id_;
1014 ::int64_t duration_ps_;
1015 union DataUnion {
1016 constexpr DataUnion() : _constinit_{} {}
1017 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
1018 ::int64_t offset_ps_;
1019 ::int64_t num_occurrences_;
1020 } data_;
1021 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1022 ::uint32_t _oneof_case_[1];
1023
1024 };
1025 union { Impl_ _impl_; };
1026 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprotobuf_2fxplane_2eproto;
1027 };
1028 // -------------------------------------------------------------------
1029
1030 class XStat final :
1031 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.profiler.XStat) */ {
1032 public:
XStat()1033 inline XStat() : XStat(nullptr) {}
1034 ~XStat() override;
1035 explicit PROTOBUF_CONSTEXPR XStat(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1036
1037 XStat(const XStat& from);
XStat(XStat && from)1038 XStat(XStat&& from) noexcept
1039 : XStat() {
1040 *this = ::std::move(from);
1041 }
1042
1043 inline XStat& operator=(const XStat& from) {
1044 if (this == &from) return *this;
1045 CopyFrom(from);
1046 return *this;
1047 }
1048 inline XStat& operator=(XStat&& from) noexcept {
1049 if (this == &from) return *this;
1050 if (GetOwningArena() == from.GetOwningArena()
1051 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1052 && GetOwningArena() != nullptr
1053 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1054 ) {
1055 InternalSwap(&from);
1056 } else {
1057 CopyFrom(from);
1058 }
1059 return *this;
1060 }
1061
default_instance()1062 static const XStat& default_instance() {
1063 return *internal_default_instance();
1064 }
1065 enum ValueCase {
1066 kDoubleValue = 2,
1067 kUint64Value = 3,
1068 kInt64Value = 4,
1069 kStrValue = 5,
1070 kBytesValue = 6,
1071 kRefValue = 7,
1072 VALUE_NOT_SET = 0,
1073 };
1074
internal_default_instance()1075 static inline const XStat* internal_default_instance() {
1076 return reinterpret_cast<const XStat*>(
1077 &_XStat_default_instance_);
1078 }
1079 static constexpr int kIndexInFileMessages =
1080 6;
1081
swap(XStat & a,XStat & b)1082 friend void swap(XStat& a, XStat& b) {
1083 a.Swap(&b);
1084 }
Swap(XStat * other)1085 inline void Swap(XStat* other) {
1086 if (other == this) return;
1087 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1088 if (GetOwningArena() != nullptr &&
1089 GetOwningArena() == other->GetOwningArena()) {
1090 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1091 if (GetOwningArena() == other->GetOwningArena()) {
1092 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1093 InternalSwap(other);
1094 } else {
1095 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1096 }
1097 }
1098 void UnsafeArenaSwap(XStat* other) {
1099 if (other == this) return;
1100 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1101 InternalSwap(other);
1102 }
1103
1104 // implements Message ----------------------------------------------
1105
1106 XStat* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1107 return CreateMaybeMessage<XStat>(arena);
1108 }
1109 XStat* New() const {
1110 return New(nullptr);
1111 }
1112 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1113 void CopyFrom(const XStat& from);
1114 void MergeFrom(const XStat& from);
1115 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1116 bool IsInitialized() const final;
1117
1118 size_t ByteSizeLong() const final;
1119 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1120 ::uint8_t* _InternalSerialize(
1121 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1122 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1123
1124 private:
1125 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1126 void SharedDtor();
1127 void SetCachedSize(int size) const;
1128 void InternalSwap(XStat* other);
1129
1130 private:
1131 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1132 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1133 return "tensorflow.profiler.XStat";
1134 }
1135 protected:
1136 explicit XStat(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1137 bool is_message_owned = false);
1138 public:
1139
1140 std::string GetTypeName() const final;
1141
1142 // nested types ----------------------------------------------------
1143
1144 // accessors -------------------------------------------------------
1145
1146 enum : int {
1147 kMetadataIdFieldNumber = 1,
1148 kDoubleValueFieldNumber = 2,
1149 kUint64ValueFieldNumber = 3,
1150 kInt64ValueFieldNumber = 4,
1151 kStrValueFieldNumber = 5,
1152 kBytesValueFieldNumber = 6,
1153 kRefValueFieldNumber = 7,
1154 };
1155 // int64 metadata_id = 1;
1156 void clear_metadata_id();
1157 ::int64_t metadata_id() const;
1158 void set_metadata_id(::int64_t value);
1159 private:
1160 ::int64_t _internal_metadata_id() const;
1161 void _internal_set_metadata_id(::int64_t value);
1162 public:
1163
1164 // double double_value = 2;
1165 bool has_double_value() const;
1166 private:
1167 bool _internal_has_double_value() const;
1168 public:
1169 void clear_double_value();
1170 double double_value() const;
1171 void set_double_value(double value);
1172 private:
1173 double _internal_double_value() const;
1174 void _internal_set_double_value(double value);
1175 public:
1176
1177 // uint64 uint64_value = 3;
1178 bool has_uint64_value() const;
1179 private:
1180 bool _internal_has_uint64_value() const;
1181 public:
1182 void clear_uint64_value();
1183 ::uint64_t uint64_value() const;
1184 void set_uint64_value(::uint64_t value);
1185 private:
1186 ::uint64_t _internal_uint64_value() const;
1187 void _internal_set_uint64_value(::uint64_t value);
1188 public:
1189
1190 // int64 int64_value = 4;
1191 bool has_int64_value() const;
1192 private:
1193 bool _internal_has_int64_value() const;
1194 public:
1195 void clear_int64_value();
1196 ::int64_t int64_value() const;
1197 void set_int64_value(::int64_t value);
1198 private:
1199 ::int64_t _internal_int64_value() const;
1200 void _internal_set_int64_value(::int64_t value);
1201 public:
1202
1203 // string str_value = 5;
1204 bool has_str_value() const;
1205 private:
1206 bool _internal_has_str_value() const;
1207 public:
1208 void clear_str_value();
1209 const std::string& str_value() const;
1210 template <typename ArgT0 = const std::string&, typename... ArgT>
1211 void set_str_value(ArgT0&& arg0, ArgT... args);
1212 std::string* mutable_str_value();
1213 PROTOBUF_NODISCARD std::string* release_str_value();
1214 void set_allocated_str_value(std::string* str_value);
1215 private:
1216 const std::string& _internal_str_value() const;
1217 inline PROTOBUF_ALWAYS_INLINE void _internal_set_str_value(const std::string& value);
1218 std::string* _internal_mutable_str_value();
1219 public:
1220
1221 // bytes bytes_value = 6;
1222 bool has_bytes_value() const;
1223 private:
1224 bool _internal_has_bytes_value() const;
1225 public:
1226 void clear_bytes_value();
1227 const std::string& bytes_value() const;
1228 template <typename ArgT0 = const std::string&, typename... ArgT>
1229 void set_bytes_value(ArgT0&& arg0, ArgT... args);
1230 std::string* mutable_bytes_value();
1231 PROTOBUF_NODISCARD std::string* release_bytes_value();
1232 void set_allocated_bytes_value(std::string* bytes_value);
1233 private:
1234 const std::string& _internal_bytes_value() const;
1235 inline PROTOBUF_ALWAYS_INLINE void _internal_set_bytes_value(const std::string& value);
1236 std::string* _internal_mutable_bytes_value();
1237 public:
1238
1239 // uint64 ref_value = 7;
1240 bool has_ref_value() const;
1241 private:
1242 bool _internal_has_ref_value() const;
1243 public:
1244 void clear_ref_value();
1245 ::uint64_t ref_value() const;
1246 void set_ref_value(::uint64_t value);
1247 private:
1248 ::uint64_t _internal_ref_value() const;
1249 void _internal_set_ref_value(::uint64_t value);
1250 public:
1251
1252 void clear_value();
1253 ValueCase value_case() const;
1254 // @@protoc_insertion_point(class_scope:tensorflow.profiler.XStat)
1255 private:
1256 class _Internal;
1257 void set_has_double_value();
1258 void set_has_uint64_value();
1259 void set_has_int64_value();
1260 void set_has_str_value();
1261 void set_has_bytes_value();
1262 void set_has_ref_value();
1263
1264 inline bool has_value() const;
1265 inline void clear_has_value();
1266
1267 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1268 typedef void InternalArenaConstructable_;
1269 typedef void DestructorSkippable_;
1270 struct Impl_ {
1271 ::int64_t metadata_id_;
1272 union ValueUnion {
1273 constexpr ValueUnion() : _constinit_{} {}
1274 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
1275 double double_value_;
1276 ::uint64_t uint64_value_;
1277 ::int64_t int64_value_;
1278 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr str_value_;
1279 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bytes_value_;
1280 ::uint64_t ref_value_;
1281 } value_;
1282 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1283 ::uint32_t _oneof_case_[1];
1284
1285 };
1286 union { Impl_ _impl_; };
1287 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprotobuf_2fxplane_2eproto;
1288 };
1289 // -------------------------------------------------------------------
1290
1291 class XEventMetadata final :
1292 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.profiler.XEventMetadata) */ {
1293 public:
XEventMetadata()1294 inline XEventMetadata() : XEventMetadata(nullptr) {}
1295 ~XEventMetadata() override;
1296 explicit PROTOBUF_CONSTEXPR XEventMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1297
1298 XEventMetadata(const XEventMetadata& from);
XEventMetadata(XEventMetadata && from)1299 XEventMetadata(XEventMetadata&& from) noexcept
1300 : XEventMetadata() {
1301 *this = ::std::move(from);
1302 }
1303
1304 inline XEventMetadata& operator=(const XEventMetadata& from) {
1305 if (this == &from) return *this;
1306 CopyFrom(from);
1307 return *this;
1308 }
1309 inline XEventMetadata& operator=(XEventMetadata&& from) noexcept {
1310 if (this == &from) return *this;
1311 if (GetOwningArena() == from.GetOwningArena()
1312 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1313 && GetOwningArena() != nullptr
1314 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1315 ) {
1316 InternalSwap(&from);
1317 } else {
1318 CopyFrom(from);
1319 }
1320 return *this;
1321 }
1322
default_instance()1323 static const XEventMetadata& default_instance() {
1324 return *internal_default_instance();
1325 }
internal_default_instance()1326 static inline const XEventMetadata* internal_default_instance() {
1327 return reinterpret_cast<const XEventMetadata*>(
1328 &_XEventMetadata_default_instance_);
1329 }
1330 static constexpr int kIndexInFileMessages =
1331 7;
1332
swap(XEventMetadata & a,XEventMetadata & b)1333 friend void swap(XEventMetadata& a, XEventMetadata& b) {
1334 a.Swap(&b);
1335 }
Swap(XEventMetadata * other)1336 inline void Swap(XEventMetadata* other) {
1337 if (other == this) return;
1338 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1339 if (GetOwningArena() != nullptr &&
1340 GetOwningArena() == other->GetOwningArena()) {
1341 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1342 if (GetOwningArena() == other->GetOwningArena()) {
1343 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1344 InternalSwap(other);
1345 } else {
1346 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1347 }
1348 }
1349 void UnsafeArenaSwap(XEventMetadata* other) {
1350 if (other == this) return;
1351 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1352 InternalSwap(other);
1353 }
1354
1355 // implements Message ----------------------------------------------
1356
1357 XEventMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1358 return CreateMaybeMessage<XEventMetadata>(arena);
1359 }
1360 XEventMetadata* New() const {
1361 return New(nullptr);
1362 }
1363 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1364 void CopyFrom(const XEventMetadata& from);
1365 void MergeFrom(const XEventMetadata& from);
1366 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1367 bool IsInitialized() const final;
1368
1369 size_t ByteSizeLong() const final;
1370 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1371 ::uint8_t* _InternalSerialize(
1372 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1373 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1374
1375 private:
1376 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1377 void SharedDtor();
1378 void SetCachedSize(int size) const;
1379 void InternalSwap(XEventMetadata* other);
1380
1381 private:
1382 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1383 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1384 return "tensorflow.profiler.XEventMetadata";
1385 }
1386 protected:
1387 explicit XEventMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1388 bool is_message_owned = false);
1389 public:
1390
1391 std::string GetTypeName() const final;
1392
1393 // nested types ----------------------------------------------------
1394
1395 // accessors -------------------------------------------------------
1396
1397 enum : int {
1398 kStatsFieldNumber = 5,
1399 kChildIdFieldNumber = 6,
1400 kNameFieldNumber = 2,
1401 kMetadataFieldNumber = 3,
1402 kDisplayNameFieldNumber = 4,
1403 kIdFieldNumber = 1,
1404 };
1405 // repeated .tensorflow.profiler.XStat stats = 5;
1406 int stats_size() const;
1407 private:
1408 int _internal_stats_size() const;
1409 public:
1410 void clear_stats();
1411 ::tensorflow::profiler::XStat* mutable_stats(int index);
1412 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XStat >*
1413 mutable_stats();
1414 private:
1415 const ::tensorflow::profiler::XStat& _internal_stats(int index) const;
1416 ::tensorflow::profiler::XStat* _internal_add_stats();
1417 public:
1418 const ::tensorflow::profiler::XStat& stats(int index) const;
1419 ::tensorflow::profiler::XStat* add_stats();
1420 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XStat >&
1421 stats() const;
1422
1423 // repeated int64 child_id = 6;
1424 int child_id_size() const;
1425 private:
1426 int _internal_child_id_size() const;
1427 public:
1428 void clear_child_id();
1429 private:
1430 ::int64_t _internal_child_id(int index) const;
1431 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >&
1432 _internal_child_id() const;
1433 void _internal_add_child_id(::int64_t value);
1434 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >*
1435 _internal_mutable_child_id();
1436 public:
1437 ::int64_t child_id(int index) const;
1438 void set_child_id(int index, ::int64_t value);
1439 void add_child_id(::int64_t value);
1440 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >&
1441 child_id() const;
1442 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >*
1443 mutable_child_id();
1444
1445 // string name = 2;
1446 void clear_name();
1447 const std::string& name() const;
1448 template <typename ArgT0 = const std::string&, typename... ArgT>
1449 void set_name(ArgT0&& arg0, ArgT... args);
1450 std::string* mutable_name();
1451 PROTOBUF_NODISCARD std::string* release_name();
1452 void set_allocated_name(std::string* name);
1453 private:
1454 const std::string& _internal_name() const;
1455 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
1456 std::string* _internal_mutable_name();
1457 public:
1458
1459 // bytes metadata = 3;
1460 void clear_metadata();
1461 const std::string& metadata() const;
1462 template <typename ArgT0 = const std::string&, typename... ArgT>
1463 void set_metadata(ArgT0&& arg0, ArgT... args);
1464 std::string* mutable_metadata();
1465 PROTOBUF_NODISCARD std::string* release_metadata();
1466 void set_allocated_metadata(std::string* metadata);
1467 private:
1468 const std::string& _internal_metadata() const;
1469 inline PROTOBUF_ALWAYS_INLINE void _internal_set_metadata(const std::string& value);
1470 std::string* _internal_mutable_metadata();
1471 public:
1472
1473 // string display_name = 4;
1474 void clear_display_name();
1475 const std::string& display_name() const;
1476 template <typename ArgT0 = const std::string&, typename... ArgT>
1477 void set_display_name(ArgT0&& arg0, ArgT... args);
1478 std::string* mutable_display_name();
1479 PROTOBUF_NODISCARD std::string* release_display_name();
1480 void set_allocated_display_name(std::string* display_name);
1481 private:
1482 const std::string& _internal_display_name() const;
1483 inline PROTOBUF_ALWAYS_INLINE void _internal_set_display_name(const std::string& value);
1484 std::string* _internal_mutable_display_name();
1485 public:
1486
1487 // int64 id = 1;
1488 void clear_id();
1489 ::int64_t id() const;
1490 void set_id(::int64_t value);
1491 private:
1492 ::int64_t _internal_id() const;
1493 void _internal_set_id(::int64_t value);
1494 public:
1495
1496 // @@protoc_insertion_point(class_scope:tensorflow.profiler.XEventMetadata)
1497 private:
1498 class _Internal;
1499
1500 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1501 typedef void InternalArenaConstructable_;
1502 typedef void DestructorSkippable_;
1503 struct Impl_ {
1504 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XStat > stats_;
1505 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t > child_id_;
1506 mutable std::atomic<int> _child_id_cached_byte_size_;
1507 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
1508 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr metadata_;
1509 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr display_name_;
1510 ::int64_t id_;
1511 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1512 };
1513 union { Impl_ _impl_; };
1514 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprotobuf_2fxplane_2eproto;
1515 };
1516 // -------------------------------------------------------------------
1517
1518 class XStatMetadata final :
1519 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.profiler.XStatMetadata) */ {
1520 public:
XStatMetadata()1521 inline XStatMetadata() : XStatMetadata(nullptr) {}
1522 ~XStatMetadata() override;
1523 explicit PROTOBUF_CONSTEXPR XStatMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1524
1525 XStatMetadata(const XStatMetadata& from);
XStatMetadata(XStatMetadata && from)1526 XStatMetadata(XStatMetadata&& from) noexcept
1527 : XStatMetadata() {
1528 *this = ::std::move(from);
1529 }
1530
1531 inline XStatMetadata& operator=(const XStatMetadata& from) {
1532 if (this == &from) return *this;
1533 CopyFrom(from);
1534 return *this;
1535 }
1536 inline XStatMetadata& operator=(XStatMetadata&& from) noexcept {
1537 if (this == &from) return *this;
1538 if (GetOwningArena() == from.GetOwningArena()
1539 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1540 && GetOwningArena() != nullptr
1541 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1542 ) {
1543 InternalSwap(&from);
1544 } else {
1545 CopyFrom(from);
1546 }
1547 return *this;
1548 }
1549
default_instance()1550 static const XStatMetadata& default_instance() {
1551 return *internal_default_instance();
1552 }
internal_default_instance()1553 static inline const XStatMetadata* internal_default_instance() {
1554 return reinterpret_cast<const XStatMetadata*>(
1555 &_XStatMetadata_default_instance_);
1556 }
1557 static constexpr int kIndexInFileMessages =
1558 8;
1559
swap(XStatMetadata & a,XStatMetadata & b)1560 friend void swap(XStatMetadata& a, XStatMetadata& b) {
1561 a.Swap(&b);
1562 }
Swap(XStatMetadata * other)1563 inline void Swap(XStatMetadata* other) {
1564 if (other == this) return;
1565 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1566 if (GetOwningArena() != nullptr &&
1567 GetOwningArena() == other->GetOwningArena()) {
1568 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1569 if (GetOwningArena() == other->GetOwningArena()) {
1570 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1571 InternalSwap(other);
1572 } else {
1573 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1574 }
1575 }
1576 void UnsafeArenaSwap(XStatMetadata* other) {
1577 if (other == this) return;
1578 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1579 InternalSwap(other);
1580 }
1581
1582 // implements Message ----------------------------------------------
1583
1584 XStatMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1585 return CreateMaybeMessage<XStatMetadata>(arena);
1586 }
1587 XStatMetadata* New() const {
1588 return New(nullptr);
1589 }
1590 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1591 void CopyFrom(const XStatMetadata& from);
1592 void MergeFrom(const XStatMetadata& from);
1593 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1594 bool IsInitialized() const final;
1595
1596 size_t ByteSizeLong() const final;
1597 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1598 ::uint8_t* _InternalSerialize(
1599 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1600 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1601
1602 private:
1603 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1604 void SharedDtor();
1605 void SetCachedSize(int size) const;
1606 void InternalSwap(XStatMetadata* other);
1607
1608 private:
1609 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1610 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1611 return "tensorflow.profiler.XStatMetadata";
1612 }
1613 protected:
1614 explicit XStatMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1615 bool is_message_owned = false);
1616 public:
1617
1618 std::string GetTypeName() const final;
1619
1620 // nested types ----------------------------------------------------
1621
1622 // accessors -------------------------------------------------------
1623
1624 enum : int {
1625 kNameFieldNumber = 2,
1626 kDescriptionFieldNumber = 3,
1627 kIdFieldNumber = 1,
1628 };
1629 // string name = 2;
1630 void clear_name();
1631 const std::string& name() const;
1632 template <typename ArgT0 = const std::string&, typename... ArgT>
1633 void set_name(ArgT0&& arg0, ArgT... args);
1634 std::string* mutable_name();
1635 PROTOBUF_NODISCARD std::string* release_name();
1636 void set_allocated_name(std::string* name);
1637 private:
1638 const std::string& _internal_name() const;
1639 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
1640 std::string* _internal_mutable_name();
1641 public:
1642
1643 // string description = 3;
1644 void clear_description();
1645 const std::string& description() const;
1646 template <typename ArgT0 = const std::string&, typename... ArgT>
1647 void set_description(ArgT0&& arg0, ArgT... args);
1648 std::string* mutable_description();
1649 PROTOBUF_NODISCARD std::string* release_description();
1650 void set_allocated_description(std::string* description);
1651 private:
1652 const std::string& _internal_description() const;
1653 inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value);
1654 std::string* _internal_mutable_description();
1655 public:
1656
1657 // int64 id = 1;
1658 void clear_id();
1659 ::int64_t id() const;
1660 void set_id(::int64_t value);
1661 private:
1662 ::int64_t _internal_id() const;
1663 void _internal_set_id(::int64_t value);
1664 public:
1665
1666 // @@protoc_insertion_point(class_scope:tensorflow.profiler.XStatMetadata)
1667 private:
1668 class _Internal;
1669
1670 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1671 typedef void InternalArenaConstructable_;
1672 typedef void DestructorSkippable_;
1673 struct Impl_ {
1674 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
1675 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
1676 ::int64_t id_;
1677 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1678 };
1679 union { Impl_ _impl_; };
1680 friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2fprotobuf_2fxplane_2eproto;
1681 };
1682 // ===================================================================
1683
1684
1685 // ===================================================================
1686
1687 #ifdef __GNUC__
1688 #pragma GCC diagnostic push
1689 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1690 #endif // __GNUC__
1691 // XSpace
1692
1693 // repeated .tensorflow.profiler.XPlane planes = 1;
_internal_planes_size()1694 inline int XSpace::_internal_planes_size() const {
1695 return _impl_.planes_.size();
1696 }
planes_size()1697 inline int XSpace::planes_size() const {
1698 return _internal_planes_size();
1699 }
clear_planes()1700 inline void XSpace::clear_planes() {
1701 _impl_.planes_.Clear();
1702 }
mutable_planes(int index)1703 inline ::tensorflow::profiler::XPlane* XSpace::mutable_planes(int index) {
1704 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XSpace.planes)
1705 return _impl_.planes_.Mutable(index);
1706 }
1707 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XPlane >*
mutable_planes()1708 XSpace::mutable_planes() {
1709 // @@protoc_insertion_point(field_mutable_list:tensorflow.profiler.XSpace.planes)
1710 return &_impl_.planes_;
1711 }
_internal_planes(int index)1712 inline const ::tensorflow::profiler::XPlane& XSpace::_internal_planes(int index) const {
1713 return _impl_.planes_.Get(index);
1714 }
planes(int index)1715 inline const ::tensorflow::profiler::XPlane& XSpace::planes(int index) const {
1716 // @@protoc_insertion_point(field_get:tensorflow.profiler.XSpace.planes)
1717 return _internal_planes(index);
1718 }
_internal_add_planes()1719 inline ::tensorflow::profiler::XPlane* XSpace::_internal_add_planes() {
1720 return _impl_.planes_.Add();
1721 }
add_planes()1722 inline ::tensorflow::profiler::XPlane* XSpace::add_planes() {
1723 ::tensorflow::profiler::XPlane* _add = _internal_add_planes();
1724 // @@protoc_insertion_point(field_add:tensorflow.profiler.XSpace.planes)
1725 return _add;
1726 }
1727 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XPlane >&
planes()1728 XSpace::planes() const {
1729 // @@protoc_insertion_point(field_list:tensorflow.profiler.XSpace.planes)
1730 return _impl_.planes_;
1731 }
1732
1733 // repeated string errors = 2;
_internal_errors_size()1734 inline int XSpace::_internal_errors_size() const {
1735 return _impl_.errors_.size();
1736 }
errors_size()1737 inline int XSpace::errors_size() const {
1738 return _internal_errors_size();
1739 }
clear_errors()1740 inline void XSpace::clear_errors() {
1741 _impl_.errors_.Clear();
1742 }
add_errors()1743 inline std::string* XSpace::add_errors() {
1744 std::string* _s = _internal_add_errors();
1745 // @@protoc_insertion_point(field_add_mutable:tensorflow.profiler.XSpace.errors)
1746 return _s;
1747 }
_internal_errors(int index)1748 inline const std::string& XSpace::_internal_errors(int index) const {
1749 return _impl_.errors_.Get(index);
1750 }
errors(int index)1751 inline const std::string& XSpace::errors(int index) const {
1752 // @@protoc_insertion_point(field_get:tensorflow.profiler.XSpace.errors)
1753 return _internal_errors(index);
1754 }
mutable_errors(int index)1755 inline std::string* XSpace::mutable_errors(int index) {
1756 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XSpace.errors)
1757 return _impl_.errors_.Mutable(index);
1758 }
set_errors(int index,const std::string & value)1759 inline void XSpace::set_errors(int index, const std::string& value) {
1760 _impl_.errors_.Mutable(index)->assign(value);
1761 // @@protoc_insertion_point(field_set:tensorflow.profiler.XSpace.errors)
1762 }
set_errors(int index,std::string && value)1763 inline void XSpace::set_errors(int index, std::string&& value) {
1764 _impl_.errors_.Mutable(index)->assign(std::move(value));
1765 // @@protoc_insertion_point(field_set:tensorflow.profiler.XSpace.errors)
1766 }
set_errors(int index,const char * value)1767 inline void XSpace::set_errors(int index, const char* value) {
1768 GOOGLE_DCHECK(value != nullptr);
1769 _impl_.errors_.Mutable(index)->assign(value);
1770 // @@protoc_insertion_point(field_set_char:tensorflow.profiler.XSpace.errors)
1771 }
set_errors(int index,const char * value,size_t size)1772 inline void XSpace::set_errors(int index, const char* value, size_t size) {
1773 _impl_.errors_.Mutable(index)->assign(
1774 reinterpret_cast<const char*>(value), size);
1775 // @@protoc_insertion_point(field_set_pointer:tensorflow.profiler.XSpace.errors)
1776 }
_internal_add_errors()1777 inline std::string* XSpace::_internal_add_errors() {
1778 return _impl_.errors_.Add();
1779 }
add_errors(const std::string & value)1780 inline void XSpace::add_errors(const std::string& value) {
1781 _impl_.errors_.Add()->assign(value);
1782 // @@protoc_insertion_point(field_add:tensorflow.profiler.XSpace.errors)
1783 }
add_errors(std::string && value)1784 inline void XSpace::add_errors(std::string&& value) {
1785 _impl_.errors_.Add(std::move(value));
1786 // @@protoc_insertion_point(field_add:tensorflow.profiler.XSpace.errors)
1787 }
add_errors(const char * value)1788 inline void XSpace::add_errors(const char* value) {
1789 GOOGLE_DCHECK(value != nullptr);
1790 _impl_.errors_.Add()->assign(value);
1791 // @@protoc_insertion_point(field_add_char:tensorflow.profiler.XSpace.errors)
1792 }
add_errors(const char * value,size_t size)1793 inline void XSpace::add_errors(const char* value, size_t size) {
1794 _impl_.errors_.Add()->assign(reinterpret_cast<const char*>(value), size);
1795 // @@protoc_insertion_point(field_add_pointer:tensorflow.profiler.XSpace.errors)
1796 }
1797 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
errors()1798 XSpace::errors() const {
1799 // @@protoc_insertion_point(field_list:tensorflow.profiler.XSpace.errors)
1800 return _impl_.errors_;
1801 }
1802 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
mutable_errors()1803 XSpace::mutable_errors() {
1804 // @@protoc_insertion_point(field_mutable_list:tensorflow.profiler.XSpace.errors)
1805 return &_impl_.errors_;
1806 }
1807
1808 // repeated string warnings = 3;
_internal_warnings_size()1809 inline int XSpace::_internal_warnings_size() const {
1810 return _impl_.warnings_.size();
1811 }
warnings_size()1812 inline int XSpace::warnings_size() const {
1813 return _internal_warnings_size();
1814 }
clear_warnings()1815 inline void XSpace::clear_warnings() {
1816 _impl_.warnings_.Clear();
1817 }
add_warnings()1818 inline std::string* XSpace::add_warnings() {
1819 std::string* _s = _internal_add_warnings();
1820 // @@protoc_insertion_point(field_add_mutable:tensorflow.profiler.XSpace.warnings)
1821 return _s;
1822 }
_internal_warnings(int index)1823 inline const std::string& XSpace::_internal_warnings(int index) const {
1824 return _impl_.warnings_.Get(index);
1825 }
warnings(int index)1826 inline const std::string& XSpace::warnings(int index) const {
1827 // @@protoc_insertion_point(field_get:tensorflow.profiler.XSpace.warnings)
1828 return _internal_warnings(index);
1829 }
mutable_warnings(int index)1830 inline std::string* XSpace::mutable_warnings(int index) {
1831 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XSpace.warnings)
1832 return _impl_.warnings_.Mutable(index);
1833 }
set_warnings(int index,const std::string & value)1834 inline void XSpace::set_warnings(int index, const std::string& value) {
1835 _impl_.warnings_.Mutable(index)->assign(value);
1836 // @@protoc_insertion_point(field_set:tensorflow.profiler.XSpace.warnings)
1837 }
set_warnings(int index,std::string && value)1838 inline void XSpace::set_warnings(int index, std::string&& value) {
1839 _impl_.warnings_.Mutable(index)->assign(std::move(value));
1840 // @@protoc_insertion_point(field_set:tensorflow.profiler.XSpace.warnings)
1841 }
set_warnings(int index,const char * value)1842 inline void XSpace::set_warnings(int index, const char* value) {
1843 GOOGLE_DCHECK(value != nullptr);
1844 _impl_.warnings_.Mutable(index)->assign(value);
1845 // @@protoc_insertion_point(field_set_char:tensorflow.profiler.XSpace.warnings)
1846 }
set_warnings(int index,const char * value,size_t size)1847 inline void XSpace::set_warnings(int index, const char* value, size_t size) {
1848 _impl_.warnings_.Mutable(index)->assign(
1849 reinterpret_cast<const char*>(value), size);
1850 // @@protoc_insertion_point(field_set_pointer:tensorflow.profiler.XSpace.warnings)
1851 }
_internal_add_warnings()1852 inline std::string* XSpace::_internal_add_warnings() {
1853 return _impl_.warnings_.Add();
1854 }
add_warnings(const std::string & value)1855 inline void XSpace::add_warnings(const std::string& value) {
1856 _impl_.warnings_.Add()->assign(value);
1857 // @@protoc_insertion_point(field_add:tensorflow.profiler.XSpace.warnings)
1858 }
add_warnings(std::string && value)1859 inline void XSpace::add_warnings(std::string&& value) {
1860 _impl_.warnings_.Add(std::move(value));
1861 // @@protoc_insertion_point(field_add:tensorflow.profiler.XSpace.warnings)
1862 }
add_warnings(const char * value)1863 inline void XSpace::add_warnings(const char* value) {
1864 GOOGLE_DCHECK(value != nullptr);
1865 _impl_.warnings_.Add()->assign(value);
1866 // @@protoc_insertion_point(field_add_char:tensorflow.profiler.XSpace.warnings)
1867 }
add_warnings(const char * value,size_t size)1868 inline void XSpace::add_warnings(const char* value, size_t size) {
1869 _impl_.warnings_.Add()->assign(reinterpret_cast<const char*>(value), size);
1870 // @@protoc_insertion_point(field_add_pointer:tensorflow.profiler.XSpace.warnings)
1871 }
1872 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
warnings()1873 XSpace::warnings() const {
1874 // @@protoc_insertion_point(field_list:tensorflow.profiler.XSpace.warnings)
1875 return _impl_.warnings_;
1876 }
1877 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
mutable_warnings()1878 XSpace::mutable_warnings() {
1879 // @@protoc_insertion_point(field_mutable_list:tensorflow.profiler.XSpace.warnings)
1880 return &_impl_.warnings_;
1881 }
1882
1883 // repeated string hostnames = 4;
_internal_hostnames_size()1884 inline int XSpace::_internal_hostnames_size() const {
1885 return _impl_.hostnames_.size();
1886 }
hostnames_size()1887 inline int XSpace::hostnames_size() const {
1888 return _internal_hostnames_size();
1889 }
clear_hostnames()1890 inline void XSpace::clear_hostnames() {
1891 _impl_.hostnames_.Clear();
1892 }
add_hostnames()1893 inline std::string* XSpace::add_hostnames() {
1894 std::string* _s = _internal_add_hostnames();
1895 // @@protoc_insertion_point(field_add_mutable:tensorflow.profiler.XSpace.hostnames)
1896 return _s;
1897 }
_internal_hostnames(int index)1898 inline const std::string& XSpace::_internal_hostnames(int index) const {
1899 return _impl_.hostnames_.Get(index);
1900 }
hostnames(int index)1901 inline const std::string& XSpace::hostnames(int index) const {
1902 // @@protoc_insertion_point(field_get:tensorflow.profiler.XSpace.hostnames)
1903 return _internal_hostnames(index);
1904 }
mutable_hostnames(int index)1905 inline std::string* XSpace::mutable_hostnames(int index) {
1906 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XSpace.hostnames)
1907 return _impl_.hostnames_.Mutable(index);
1908 }
set_hostnames(int index,const std::string & value)1909 inline void XSpace::set_hostnames(int index, const std::string& value) {
1910 _impl_.hostnames_.Mutable(index)->assign(value);
1911 // @@protoc_insertion_point(field_set:tensorflow.profiler.XSpace.hostnames)
1912 }
set_hostnames(int index,std::string && value)1913 inline void XSpace::set_hostnames(int index, std::string&& value) {
1914 _impl_.hostnames_.Mutable(index)->assign(std::move(value));
1915 // @@protoc_insertion_point(field_set:tensorflow.profiler.XSpace.hostnames)
1916 }
set_hostnames(int index,const char * value)1917 inline void XSpace::set_hostnames(int index, const char* value) {
1918 GOOGLE_DCHECK(value != nullptr);
1919 _impl_.hostnames_.Mutable(index)->assign(value);
1920 // @@protoc_insertion_point(field_set_char:tensorflow.profiler.XSpace.hostnames)
1921 }
set_hostnames(int index,const char * value,size_t size)1922 inline void XSpace::set_hostnames(int index, const char* value, size_t size) {
1923 _impl_.hostnames_.Mutable(index)->assign(
1924 reinterpret_cast<const char*>(value), size);
1925 // @@protoc_insertion_point(field_set_pointer:tensorflow.profiler.XSpace.hostnames)
1926 }
_internal_add_hostnames()1927 inline std::string* XSpace::_internal_add_hostnames() {
1928 return _impl_.hostnames_.Add();
1929 }
add_hostnames(const std::string & value)1930 inline void XSpace::add_hostnames(const std::string& value) {
1931 _impl_.hostnames_.Add()->assign(value);
1932 // @@protoc_insertion_point(field_add:tensorflow.profiler.XSpace.hostnames)
1933 }
add_hostnames(std::string && value)1934 inline void XSpace::add_hostnames(std::string&& value) {
1935 _impl_.hostnames_.Add(std::move(value));
1936 // @@protoc_insertion_point(field_add:tensorflow.profiler.XSpace.hostnames)
1937 }
add_hostnames(const char * value)1938 inline void XSpace::add_hostnames(const char* value) {
1939 GOOGLE_DCHECK(value != nullptr);
1940 _impl_.hostnames_.Add()->assign(value);
1941 // @@protoc_insertion_point(field_add_char:tensorflow.profiler.XSpace.hostnames)
1942 }
add_hostnames(const char * value,size_t size)1943 inline void XSpace::add_hostnames(const char* value, size_t size) {
1944 _impl_.hostnames_.Add()->assign(reinterpret_cast<const char*>(value), size);
1945 // @@protoc_insertion_point(field_add_pointer:tensorflow.profiler.XSpace.hostnames)
1946 }
1947 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
hostnames()1948 XSpace::hostnames() const {
1949 // @@protoc_insertion_point(field_list:tensorflow.profiler.XSpace.hostnames)
1950 return _impl_.hostnames_;
1951 }
1952 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
mutable_hostnames()1953 XSpace::mutable_hostnames() {
1954 // @@protoc_insertion_point(field_mutable_list:tensorflow.profiler.XSpace.hostnames)
1955 return &_impl_.hostnames_;
1956 }
1957
1958 // -------------------------------------------------------------------
1959
1960 // -------------------------------------------------------------------
1961
1962 // -------------------------------------------------------------------
1963
1964 // XPlane
1965
1966 // int64 id = 1;
clear_id()1967 inline void XPlane::clear_id() {
1968 _impl_.id_ = ::int64_t{0};
1969 }
_internal_id()1970 inline ::int64_t XPlane::_internal_id() const {
1971 return _impl_.id_;
1972 }
id()1973 inline ::int64_t XPlane::id() const {
1974 // @@protoc_insertion_point(field_get:tensorflow.profiler.XPlane.id)
1975 return _internal_id();
1976 }
_internal_set_id(::int64_t value)1977 inline void XPlane::_internal_set_id(::int64_t value) {
1978
1979 _impl_.id_ = value;
1980 }
set_id(::int64_t value)1981 inline void XPlane::set_id(::int64_t value) {
1982 _internal_set_id(value);
1983 // @@protoc_insertion_point(field_set:tensorflow.profiler.XPlane.id)
1984 }
1985
1986 // string name = 2;
clear_name()1987 inline void XPlane::clear_name() {
1988 _impl_.name_.ClearToEmpty();
1989 }
name()1990 inline const std::string& XPlane::name() const {
1991 // @@protoc_insertion_point(field_get:tensorflow.profiler.XPlane.name)
1992 return _internal_name();
1993 }
1994 template <typename ArgT0, typename... ArgT>
1995 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)1996 void XPlane::set_name(ArgT0&& arg0, ArgT... args) {
1997
1998 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1999 // @@protoc_insertion_point(field_set:tensorflow.profiler.XPlane.name)
2000 }
mutable_name()2001 inline std::string* XPlane::mutable_name() {
2002 std::string* _s = _internal_mutable_name();
2003 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XPlane.name)
2004 return _s;
2005 }
_internal_name()2006 inline const std::string& XPlane::_internal_name() const {
2007 return _impl_.name_.Get();
2008 }
_internal_set_name(const std::string & value)2009 inline void XPlane::_internal_set_name(const std::string& value) {
2010
2011 _impl_.name_.Set(value, GetArenaForAllocation());
2012 }
_internal_mutable_name()2013 inline std::string* XPlane::_internal_mutable_name() {
2014
2015 return _impl_.name_.Mutable(GetArenaForAllocation());
2016 }
release_name()2017 inline std::string* XPlane::release_name() {
2018 // @@protoc_insertion_point(field_release:tensorflow.profiler.XPlane.name)
2019 return _impl_.name_.Release();
2020 }
set_allocated_name(std::string * name)2021 inline void XPlane::set_allocated_name(std::string* name) {
2022 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
2023 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2024 if (_impl_.name_.IsDefault()) {
2025 _impl_.name_.Set("", GetArenaForAllocation());
2026 }
2027 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2028 // @@protoc_insertion_point(field_set_allocated:tensorflow.profiler.XPlane.name)
2029 }
2030
2031 // repeated .tensorflow.profiler.XLine lines = 3;
_internal_lines_size()2032 inline int XPlane::_internal_lines_size() const {
2033 return _impl_.lines_.size();
2034 }
lines_size()2035 inline int XPlane::lines_size() const {
2036 return _internal_lines_size();
2037 }
clear_lines()2038 inline void XPlane::clear_lines() {
2039 _impl_.lines_.Clear();
2040 }
mutable_lines(int index)2041 inline ::tensorflow::profiler::XLine* XPlane::mutable_lines(int index) {
2042 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XPlane.lines)
2043 return _impl_.lines_.Mutable(index);
2044 }
2045 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XLine >*
mutable_lines()2046 XPlane::mutable_lines() {
2047 // @@protoc_insertion_point(field_mutable_list:tensorflow.profiler.XPlane.lines)
2048 return &_impl_.lines_;
2049 }
_internal_lines(int index)2050 inline const ::tensorflow::profiler::XLine& XPlane::_internal_lines(int index) const {
2051 return _impl_.lines_.Get(index);
2052 }
lines(int index)2053 inline const ::tensorflow::profiler::XLine& XPlane::lines(int index) const {
2054 // @@protoc_insertion_point(field_get:tensorflow.profiler.XPlane.lines)
2055 return _internal_lines(index);
2056 }
_internal_add_lines()2057 inline ::tensorflow::profiler::XLine* XPlane::_internal_add_lines() {
2058 return _impl_.lines_.Add();
2059 }
add_lines()2060 inline ::tensorflow::profiler::XLine* XPlane::add_lines() {
2061 ::tensorflow::profiler::XLine* _add = _internal_add_lines();
2062 // @@protoc_insertion_point(field_add:tensorflow.profiler.XPlane.lines)
2063 return _add;
2064 }
2065 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XLine >&
lines()2066 XPlane::lines() const {
2067 // @@protoc_insertion_point(field_list:tensorflow.profiler.XPlane.lines)
2068 return _impl_.lines_;
2069 }
2070
2071 // map<int64, .tensorflow.profiler.XEventMetadata> event_metadata = 4;
_internal_event_metadata_size()2072 inline int XPlane::_internal_event_metadata_size() const {
2073 return _impl_.event_metadata_.size();
2074 }
event_metadata_size()2075 inline int XPlane::event_metadata_size() const {
2076 return _internal_event_metadata_size();
2077 }
clear_event_metadata()2078 inline void XPlane::clear_event_metadata() {
2079 _impl_.event_metadata_.Clear();
2080 }
2081 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::int64_t, ::tensorflow::profiler::XEventMetadata >&
_internal_event_metadata()2082 XPlane::_internal_event_metadata() const {
2083 return _impl_.event_metadata_.GetMap();
2084 }
2085 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::int64_t, ::tensorflow::profiler::XEventMetadata >&
event_metadata()2086 XPlane::event_metadata() const {
2087 // @@protoc_insertion_point(field_map:tensorflow.profiler.XPlane.event_metadata)
2088 return _internal_event_metadata();
2089 }
2090 inline ::PROTOBUF_NAMESPACE_ID::Map< ::int64_t, ::tensorflow::profiler::XEventMetadata >*
_internal_mutable_event_metadata()2091 XPlane::_internal_mutable_event_metadata() {
2092 return _impl_.event_metadata_.MutableMap();
2093 }
2094 inline ::PROTOBUF_NAMESPACE_ID::Map< ::int64_t, ::tensorflow::profiler::XEventMetadata >*
mutable_event_metadata()2095 XPlane::mutable_event_metadata() {
2096 // @@protoc_insertion_point(field_mutable_map:tensorflow.profiler.XPlane.event_metadata)
2097 return _internal_mutable_event_metadata();
2098 }
2099
2100 // map<int64, .tensorflow.profiler.XStatMetadata> stat_metadata = 5;
_internal_stat_metadata_size()2101 inline int XPlane::_internal_stat_metadata_size() const {
2102 return _impl_.stat_metadata_.size();
2103 }
stat_metadata_size()2104 inline int XPlane::stat_metadata_size() const {
2105 return _internal_stat_metadata_size();
2106 }
clear_stat_metadata()2107 inline void XPlane::clear_stat_metadata() {
2108 _impl_.stat_metadata_.Clear();
2109 }
2110 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::int64_t, ::tensorflow::profiler::XStatMetadata >&
_internal_stat_metadata()2111 XPlane::_internal_stat_metadata() const {
2112 return _impl_.stat_metadata_.GetMap();
2113 }
2114 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::int64_t, ::tensorflow::profiler::XStatMetadata >&
stat_metadata()2115 XPlane::stat_metadata() const {
2116 // @@protoc_insertion_point(field_map:tensorflow.profiler.XPlane.stat_metadata)
2117 return _internal_stat_metadata();
2118 }
2119 inline ::PROTOBUF_NAMESPACE_ID::Map< ::int64_t, ::tensorflow::profiler::XStatMetadata >*
_internal_mutable_stat_metadata()2120 XPlane::_internal_mutable_stat_metadata() {
2121 return _impl_.stat_metadata_.MutableMap();
2122 }
2123 inline ::PROTOBUF_NAMESPACE_ID::Map< ::int64_t, ::tensorflow::profiler::XStatMetadata >*
mutable_stat_metadata()2124 XPlane::mutable_stat_metadata() {
2125 // @@protoc_insertion_point(field_mutable_map:tensorflow.profiler.XPlane.stat_metadata)
2126 return _internal_mutable_stat_metadata();
2127 }
2128
2129 // repeated .tensorflow.profiler.XStat stats = 6;
_internal_stats_size()2130 inline int XPlane::_internal_stats_size() const {
2131 return _impl_.stats_.size();
2132 }
stats_size()2133 inline int XPlane::stats_size() const {
2134 return _internal_stats_size();
2135 }
clear_stats()2136 inline void XPlane::clear_stats() {
2137 _impl_.stats_.Clear();
2138 }
mutable_stats(int index)2139 inline ::tensorflow::profiler::XStat* XPlane::mutable_stats(int index) {
2140 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XPlane.stats)
2141 return _impl_.stats_.Mutable(index);
2142 }
2143 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XStat >*
mutable_stats()2144 XPlane::mutable_stats() {
2145 // @@protoc_insertion_point(field_mutable_list:tensorflow.profiler.XPlane.stats)
2146 return &_impl_.stats_;
2147 }
_internal_stats(int index)2148 inline const ::tensorflow::profiler::XStat& XPlane::_internal_stats(int index) const {
2149 return _impl_.stats_.Get(index);
2150 }
stats(int index)2151 inline const ::tensorflow::profiler::XStat& XPlane::stats(int index) const {
2152 // @@protoc_insertion_point(field_get:tensorflow.profiler.XPlane.stats)
2153 return _internal_stats(index);
2154 }
_internal_add_stats()2155 inline ::tensorflow::profiler::XStat* XPlane::_internal_add_stats() {
2156 return _impl_.stats_.Add();
2157 }
add_stats()2158 inline ::tensorflow::profiler::XStat* XPlane::add_stats() {
2159 ::tensorflow::profiler::XStat* _add = _internal_add_stats();
2160 // @@protoc_insertion_point(field_add:tensorflow.profiler.XPlane.stats)
2161 return _add;
2162 }
2163 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XStat >&
stats()2164 XPlane::stats() const {
2165 // @@protoc_insertion_point(field_list:tensorflow.profiler.XPlane.stats)
2166 return _impl_.stats_;
2167 }
2168
2169 // -------------------------------------------------------------------
2170
2171 // XLine
2172
2173 // int64 id = 1;
clear_id()2174 inline void XLine::clear_id() {
2175 _impl_.id_ = ::int64_t{0};
2176 }
_internal_id()2177 inline ::int64_t XLine::_internal_id() const {
2178 return _impl_.id_;
2179 }
id()2180 inline ::int64_t XLine::id() const {
2181 // @@protoc_insertion_point(field_get:tensorflow.profiler.XLine.id)
2182 return _internal_id();
2183 }
_internal_set_id(::int64_t value)2184 inline void XLine::_internal_set_id(::int64_t value) {
2185
2186 _impl_.id_ = value;
2187 }
set_id(::int64_t value)2188 inline void XLine::set_id(::int64_t value) {
2189 _internal_set_id(value);
2190 // @@protoc_insertion_point(field_set:tensorflow.profiler.XLine.id)
2191 }
2192
2193 // int64 display_id = 10;
clear_display_id()2194 inline void XLine::clear_display_id() {
2195 _impl_.display_id_ = ::int64_t{0};
2196 }
_internal_display_id()2197 inline ::int64_t XLine::_internal_display_id() const {
2198 return _impl_.display_id_;
2199 }
display_id()2200 inline ::int64_t XLine::display_id() const {
2201 // @@protoc_insertion_point(field_get:tensorflow.profiler.XLine.display_id)
2202 return _internal_display_id();
2203 }
_internal_set_display_id(::int64_t value)2204 inline void XLine::_internal_set_display_id(::int64_t value) {
2205
2206 _impl_.display_id_ = value;
2207 }
set_display_id(::int64_t value)2208 inline void XLine::set_display_id(::int64_t value) {
2209 _internal_set_display_id(value);
2210 // @@protoc_insertion_point(field_set:tensorflow.profiler.XLine.display_id)
2211 }
2212
2213 // string name = 2;
clear_name()2214 inline void XLine::clear_name() {
2215 _impl_.name_.ClearToEmpty();
2216 }
name()2217 inline const std::string& XLine::name() const {
2218 // @@protoc_insertion_point(field_get:tensorflow.profiler.XLine.name)
2219 return _internal_name();
2220 }
2221 template <typename ArgT0, typename... ArgT>
2222 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)2223 void XLine::set_name(ArgT0&& arg0, ArgT... args) {
2224
2225 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2226 // @@protoc_insertion_point(field_set:tensorflow.profiler.XLine.name)
2227 }
mutable_name()2228 inline std::string* XLine::mutable_name() {
2229 std::string* _s = _internal_mutable_name();
2230 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XLine.name)
2231 return _s;
2232 }
_internal_name()2233 inline const std::string& XLine::_internal_name() const {
2234 return _impl_.name_.Get();
2235 }
_internal_set_name(const std::string & value)2236 inline void XLine::_internal_set_name(const std::string& value) {
2237
2238 _impl_.name_.Set(value, GetArenaForAllocation());
2239 }
_internal_mutable_name()2240 inline std::string* XLine::_internal_mutable_name() {
2241
2242 return _impl_.name_.Mutable(GetArenaForAllocation());
2243 }
release_name()2244 inline std::string* XLine::release_name() {
2245 // @@protoc_insertion_point(field_release:tensorflow.profiler.XLine.name)
2246 return _impl_.name_.Release();
2247 }
set_allocated_name(std::string * name)2248 inline void XLine::set_allocated_name(std::string* name) {
2249 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
2250 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2251 if (_impl_.name_.IsDefault()) {
2252 _impl_.name_.Set("", GetArenaForAllocation());
2253 }
2254 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2255 // @@protoc_insertion_point(field_set_allocated:tensorflow.profiler.XLine.name)
2256 }
2257
2258 // string display_name = 11;
clear_display_name()2259 inline void XLine::clear_display_name() {
2260 _impl_.display_name_.ClearToEmpty();
2261 }
display_name()2262 inline const std::string& XLine::display_name() const {
2263 // @@protoc_insertion_point(field_get:tensorflow.profiler.XLine.display_name)
2264 return _internal_display_name();
2265 }
2266 template <typename ArgT0, typename... ArgT>
2267 inline PROTOBUF_ALWAYS_INLINE
set_display_name(ArgT0 && arg0,ArgT...args)2268 void XLine::set_display_name(ArgT0&& arg0, ArgT... args) {
2269
2270 _impl_.display_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2271 // @@protoc_insertion_point(field_set:tensorflow.profiler.XLine.display_name)
2272 }
mutable_display_name()2273 inline std::string* XLine::mutable_display_name() {
2274 std::string* _s = _internal_mutable_display_name();
2275 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XLine.display_name)
2276 return _s;
2277 }
_internal_display_name()2278 inline const std::string& XLine::_internal_display_name() const {
2279 return _impl_.display_name_.Get();
2280 }
_internal_set_display_name(const std::string & value)2281 inline void XLine::_internal_set_display_name(const std::string& value) {
2282
2283 _impl_.display_name_.Set(value, GetArenaForAllocation());
2284 }
_internal_mutable_display_name()2285 inline std::string* XLine::_internal_mutable_display_name() {
2286
2287 return _impl_.display_name_.Mutable(GetArenaForAllocation());
2288 }
release_display_name()2289 inline std::string* XLine::release_display_name() {
2290 // @@protoc_insertion_point(field_release:tensorflow.profiler.XLine.display_name)
2291 return _impl_.display_name_.Release();
2292 }
set_allocated_display_name(std::string * display_name)2293 inline void XLine::set_allocated_display_name(std::string* display_name) {
2294 _impl_.display_name_.SetAllocated(display_name, GetArenaForAllocation());
2295 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2296 if (_impl_.display_name_.IsDefault()) {
2297 _impl_.display_name_.Set("", GetArenaForAllocation());
2298 }
2299 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2300 // @@protoc_insertion_point(field_set_allocated:tensorflow.profiler.XLine.display_name)
2301 }
2302
2303 // int64 timestamp_ns = 3;
clear_timestamp_ns()2304 inline void XLine::clear_timestamp_ns() {
2305 _impl_.timestamp_ns_ = ::int64_t{0};
2306 }
_internal_timestamp_ns()2307 inline ::int64_t XLine::_internal_timestamp_ns() const {
2308 return _impl_.timestamp_ns_;
2309 }
timestamp_ns()2310 inline ::int64_t XLine::timestamp_ns() const {
2311 // @@protoc_insertion_point(field_get:tensorflow.profiler.XLine.timestamp_ns)
2312 return _internal_timestamp_ns();
2313 }
_internal_set_timestamp_ns(::int64_t value)2314 inline void XLine::_internal_set_timestamp_ns(::int64_t value) {
2315
2316 _impl_.timestamp_ns_ = value;
2317 }
set_timestamp_ns(::int64_t value)2318 inline void XLine::set_timestamp_ns(::int64_t value) {
2319 _internal_set_timestamp_ns(value);
2320 // @@protoc_insertion_point(field_set:tensorflow.profiler.XLine.timestamp_ns)
2321 }
2322
2323 // int64 duration_ps = 9;
clear_duration_ps()2324 inline void XLine::clear_duration_ps() {
2325 _impl_.duration_ps_ = ::int64_t{0};
2326 }
_internal_duration_ps()2327 inline ::int64_t XLine::_internal_duration_ps() const {
2328 return _impl_.duration_ps_;
2329 }
duration_ps()2330 inline ::int64_t XLine::duration_ps() const {
2331 // @@protoc_insertion_point(field_get:tensorflow.profiler.XLine.duration_ps)
2332 return _internal_duration_ps();
2333 }
_internal_set_duration_ps(::int64_t value)2334 inline void XLine::_internal_set_duration_ps(::int64_t value) {
2335
2336 _impl_.duration_ps_ = value;
2337 }
set_duration_ps(::int64_t value)2338 inline void XLine::set_duration_ps(::int64_t value) {
2339 _internal_set_duration_ps(value);
2340 // @@protoc_insertion_point(field_set:tensorflow.profiler.XLine.duration_ps)
2341 }
2342
2343 // repeated .tensorflow.profiler.XEvent events = 4;
_internal_events_size()2344 inline int XLine::_internal_events_size() const {
2345 return _impl_.events_.size();
2346 }
events_size()2347 inline int XLine::events_size() const {
2348 return _internal_events_size();
2349 }
clear_events()2350 inline void XLine::clear_events() {
2351 _impl_.events_.Clear();
2352 }
mutable_events(int index)2353 inline ::tensorflow::profiler::XEvent* XLine::mutable_events(int index) {
2354 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XLine.events)
2355 return _impl_.events_.Mutable(index);
2356 }
2357 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XEvent >*
mutable_events()2358 XLine::mutable_events() {
2359 // @@protoc_insertion_point(field_mutable_list:tensorflow.profiler.XLine.events)
2360 return &_impl_.events_;
2361 }
_internal_events(int index)2362 inline const ::tensorflow::profiler::XEvent& XLine::_internal_events(int index) const {
2363 return _impl_.events_.Get(index);
2364 }
events(int index)2365 inline const ::tensorflow::profiler::XEvent& XLine::events(int index) const {
2366 // @@protoc_insertion_point(field_get:tensorflow.profiler.XLine.events)
2367 return _internal_events(index);
2368 }
_internal_add_events()2369 inline ::tensorflow::profiler::XEvent* XLine::_internal_add_events() {
2370 return _impl_.events_.Add();
2371 }
add_events()2372 inline ::tensorflow::profiler::XEvent* XLine::add_events() {
2373 ::tensorflow::profiler::XEvent* _add = _internal_add_events();
2374 // @@protoc_insertion_point(field_add:tensorflow.profiler.XLine.events)
2375 return _add;
2376 }
2377 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XEvent >&
events()2378 XLine::events() const {
2379 // @@protoc_insertion_point(field_list:tensorflow.profiler.XLine.events)
2380 return _impl_.events_;
2381 }
2382
2383 // -------------------------------------------------------------------
2384
2385 // XEvent
2386
2387 // int64 metadata_id = 1;
clear_metadata_id()2388 inline void XEvent::clear_metadata_id() {
2389 _impl_.metadata_id_ = ::int64_t{0};
2390 }
_internal_metadata_id()2391 inline ::int64_t XEvent::_internal_metadata_id() const {
2392 return _impl_.metadata_id_;
2393 }
metadata_id()2394 inline ::int64_t XEvent::metadata_id() const {
2395 // @@protoc_insertion_point(field_get:tensorflow.profiler.XEvent.metadata_id)
2396 return _internal_metadata_id();
2397 }
_internal_set_metadata_id(::int64_t value)2398 inline void XEvent::_internal_set_metadata_id(::int64_t value) {
2399
2400 _impl_.metadata_id_ = value;
2401 }
set_metadata_id(::int64_t value)2402 inline void XEvent::set_metadata_id(::int64_t value) {
2403 _internal_set_metadata_id(value);
2404 // @@protoc_insertion_point(field_set:tensorflow.profiler.XEvent.metadata_id)
2405 }
2406
2407 // int64 offset_ps = 2;
_internal_has_offset_ps()2408 inline bool XEvent::_internal_has_offset_ps() const {
2409 return data_case() == kOffsetPs;
2410 }
has_offset_ps()2411 inline bool XEvent::has_offset_ps() const {
2412 return _internal_has_offset_ps();
2413 }
set_has_offset_ps()2414 inline void XEvent::set_has_offset_ps() {
2415 _impl_._oneof_case_[0] = kOffsetPs;
2416 }
clear_offset_ps()2417 inline void XEvent::clear_offset_ps() {
2418 if (_internal_has_offset_ps()) {
2419 _impl_.data_.offset_ps_ = ::int64_t{0};
2420 clear_has_data();
2421 }
2422 }
_internal_offset_ps()2423 inline ::int64_t XEvent::_internal_offset_ps() const {
2424 if (_internal_has_offset_ps()) {
2425 return _impl_.data_.offset_ps_;
2426 }
2427 return ::int64_t{0};
2428 }
_internal_set_offset_ps(::int64_t value)2429 inline void XEvent::_internal_set_offset_ps(::int64_t value) {
2430 if (!_internal_has_offset_ps()) {
2431 clear_data();
2432 set_has_offset_ps();
2433 }
2434 _impl_.data_.offset_ps_ = value;
2435 }
offset_ps()2436 inline ::int64_t XEvent::offset_ps() const {
2437 // @@protoc_insertion_point(field_get:tensorflow.profiler.XEvent.offset_ps)
2438 return _internal_offset_ps();
2439 }
set_offset_ps(::int64_t value)2440 inline void XEvent::set_offset_ps(::int64_t value) {
2441 _internal_set_offset_ps(value);
2442 // @@protoc_insertion_point(field_set:tensorflow.profiler.XEvent.offset_ps)
2443 }
2444
2445 // int64 num_occurrences = 5;
_internal_has_num_occurrences()2446 inline bool XEvent::_internal_has_num_occurrences() const {
2447 return data_case() == kNumOccurrences;
2448 }
has_num_occurrences()2449 inline bool XEvent::has_num_occurrences() const {
2450 return _internal_has_num_occurrences();
2451 }
set_has_num_occurrences()2452 inline void XEvent::set_has_num_occurrences() {
2453 _impl_._oneof_case_[0] = kNumOccurrences;
2454 }
clear_num_occurrences()2455 inline void XEvent::clear_num_occurrences() {
2456 if (_internal_has_num_occurrences()) {
2457 _impl_.data_.num_occurrences_ = ::int64_t{0};
2458 clear_has_data();
2459 }
2460 }
_internal_num_occurrences()2461 inline ::int64_t XEvent::_internal_num_occurrences() const {
2462 if (_internal_has_num_occurrences()) {
2463 return _impl_.data_.num_occurrences_;
2464 }
2465 return ::int64_t{0};
2466 }
_internal_set_num_occurrences(::int64_t value)2467 inline void XEvent::_internal_set_num_occurrences(::int64_t value) {
2468 if (!_internal_has_num_occurrences()) {
2469 clear_data();
2470 set_has_num_occurrences();
2471 }
2472 _impl_.data_.num_occurrences_ = value;
2473 }
num_occurrences()2474 inline ::int64_t XEvent::num_occurrences() const {
2475 // @@protoc_insertion_point(field_get:tensorflow.profiler.XEvent.num_occurrences)
2476 return _internal_num_occurrences();
2477 }
set_num_occurrences(::int64_t value)2478 inline void XEvent::set_num_occurrences(::int64_t value) {
2479 _internal_set_num_occurrences(value);
2480 // @@protoc_insertion_point(field_set:tensorflow.profiler.XEvent.num_occurrences)
2481 }
2482
2483 // int64 duration_ps = 3;
clear_duration_ps()2484 inline void XEvent::clear_duration_ps() {
2485 _impl_.duration_ps_ = ::int64_t{0};
2486 }
_internal_duration_ps()2487 inline ::int64_t XEvent::_internal_duration_ps() const {
2488 return _impl_.duration_ps_;
2489 }
duration_ps()2490 inline ::int64_t XEvent::duration_ps() const {
2491 // @@protoc_insertion_point(field_get:tensorflow.profiler.XEvent.duration_ps)
2492 return _internal_duration_ps();
2493 }
_internal_set_duration_ps(::int64_t value)2494 inline void XEvent::_internal_set_duration_ps(::int64_t value) {
2495
2496 _impl_.duration_ps_ = value;
2497 }
set_duration_ps(::int64_t value)2498 inline void XEvent::set_duration_ps(::int64_t value) {
2499 _internal_set_duration_ps(value);
2500 // @@protoc_insertion_point(field_set:tensorflow.profiler.XEvent.duration_ps)
2501 }
2502
2503 // repeated .tensorflow.profiler.XStat stats = 4;
_internal_stats_size()2504 inline int XEvent::_internal_stats_size() const {
2505 return _impl_.stats_.size();
2506 }
stats_size()2507 inline int XEvent::stats_size() const {
2508 return _internal_stats_size();
2509 }
clear_stats()2510 inline void XEvent::clear_stats() {
2511 _impl_.stats_.Clear();
2512 }
mutable_stats(int index)2513 inline ::tensorflow::profiler::XStat* XEvent::mutable_stats(int index) {
2514 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XEvent.stats)
2515 return _impl_.stats_.Mutable(index);
2516 }
2517 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XStat >*
mutable_stats()2518 XEvent::mutable_stats() {
2519 // @@protoc_insertion_point(field_mutable_list:tensorflow.profiler.XEvent.stats)
2520 return &_impl_.stats_;
2521 }
_internal_stats(int index)2522 inline const ::tensorflow::profiler::XStat& XEvent::_internal_stats(int index) const {
2523 return _impl_.stats_.Get(index);
2524 }
stats(int index)2525 inline const ::tensorflow::profiler::XStat& XEvent::stats(int index) const {
2526 // @@protoc_insertion_point(field_get:tensorflow.profiler.XEvent.stats)
2527 return _internal_stats(index);
2528 }
_internal_add_stats()2529 inline ::tensorflow::profiler::XStat* XEvent::_internal_add_stats() {
2530 return _impl_.stats_.Add();
2531 }
add_stats()2532 inline ::tensorflow::profiler::XStat* XEvent::add_stats() {
2533 ::tensorflow::profiler::XStat* _add = _internal_add_stats();
2534 // @@protoc_insertion_point(field_add:tensorflow.profiler.XEvent.stats)
2535 return _add;
2536 }
2537 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XStat >&
stats()2538 XEvent::stats() const {
2539 // @@protoc_insertion_point(field_list:tensorflow.profiler.XEvent.stats)
2540 return _impl_.stats_;
2541 }
2542
has_data()2543 inline bool XEvent::has_data() const {
2544 return data_case() != DATA_NOT_SET;
2545 }
clear_has_data()2546 inline void XEvent::clear_has_data() {
2547 _impl_._oneof_case_[0] = DATA_NOT_SET;
2548 }
data_case()2549 inline XEvent::DataCase XEvent::data_case() const {
2550 return XEvent::DataCase(_impl_._oneof_case_[0]);
2551 }
2552 // -------------------------------------------------------------------
2553
2554 // XStat
2555
2556 // int64 metadata_id = 1;
clear_metadata_id()2557 inline void XStat::clear_metadata_id() {
2558 _impl_.metadata_id_ = ::int64_t{0};
2559 }
_internal_metadata_id()2560 inline ::int64_t XStat::_internal_metadata_id() const {
2561 return _impl_.metadata_id_;
2562 }
metadata_id()2563 inline ::int64_t XStat::metadata_id() const {
2564 // @@protoc_insertion_point(field_get:tensorflow.profiler.XStat.metadata_id)
2565 return _internal_metadata_id();
2566 }
_internal_set_metadata_id(::int64_t value)2567 inline void XStat::_internal_set_metadata_id(::int64_t value) {
2568
2569 _impl_.metadata_id_ = value;
2570 }
set_metadata_id(::int64_t value)2571 inline void XStat::set_metadata_id(::int64_t value) {
2572 _internal_set_metadata_id(value);
2573 // @@protoc_insertion_point(field_set:tensorflow.profiler.XStat.metadata_id)
2574 }
2575
2576 // double double_value = 2;
_internal_has_double_value()2577 inline bool XStat::_internal_has_double_value() const {
2578 return value_case() == kDoubleValue;
2579 }
has_double_value()2580 inline bool XStat::has_double_value() const {
2581 return _internal_has_double_value();
2582 }
set_has_double_value()2583 inline void XStat::set_has_double_value() {
2584 _impl_._oneof_case_[0] = kDoubleValue;
2585 }
clear_double_value()2586 inline void XStat::clear_double_value() {
2587 if (_internal_has_double_value()) {
2588 _impl_.value_.double_value_ = 0;
2589 clear_has_value();
2590 }
2591 }
_internal_double_value()2592 inline double XStat::_internal_double_value() const {
2593 if (_internal_has_double_value()) {
2594 return _impl_.value_.double_value_;
2595 }
2596 return 0;
2597 }
_internal_set_double_value(double value)2598 inline void XStat::_internal_set_double_value(double value) {
2599 if (!_internal_has_double_value()) {
2600 clear_value();
2601 set_has_double_value();
2602 }
2603 _impl_.value_.double_value_ = value;
2604 }
double_value()2605 inline double XStat::double_value() const {
2606 // @@protoc_insertion_point(field_get:tensorflow.profiler.XStat.double_value)
2607 return _internal_double_value();
2608 }
set_double_value(double value)2609 inline void XStat::set_double_value(double value) {
2610 _internal_set_double_value(value);
2611 // @@protoc_insertion_point(field_set:tensorflow.profiler.XStat.double_value)
2612 }
2613
2614 // uint64 uint64_value = 3;
_internal_has_uint64_value()2615 inline bool XStat::_internal_has_uint64_value() const {
2616 return value_case() == kUint64Value;
2617 }
has_uint64_value()2618 inline bool XStat::has_uint64_value() const {
2619 return _internal_has_uint64_value();
2620 }
set_has_uint64_value()2621 inline void XStat::set_has_uint64_value() {
2622 _impl_._oneof_case_[0] = kUint64Value;
2623 }
clear_uint64_value()2624 inline void XStat::clear_uint64_value() {
2625 if (_internal_has_uint64_value()) {
2626 _impl_.value_.uint64_value_ = ::uint64_t{0u};
2627 clear_has_value();
2628 }
2629 }
_internal_uint64_value()2630 inline ::uint64_t XStat::_internal_uint64_value() const {
2631 if (_internal_has_uint64_value()) {
2632 return _impl_.value_.uint64_value_;
2633 }
2634 return ::uint64_t{0u};
2635 }
_internal_set_uint64_value(::uint64_t value)2636 inline void XStat::_internal_set_uint64_value(::uint64_t value) {
2637 if (!_internal_has_uint64_value()) {
2638 clear_value();
2639 set_has_uint64_value();
2640 }
2641 _impl_.value_.uint64_value_ = value;
2642 }
uint64_value()2643 inline ::uint64_t XStat::uint64_value() const {
2644 // @@protoc_insertion_point(field_get:tensorflow.profiler.XStat.uint64_value)
2645 return _internal_uint64_value();
2646 }
set_uint64_value(::uint64_t value)2647 inline void XStat::set_uint64_value(::uint64_t value) {
2648 _internal_set_uint64_value(value);
2649 // @@protoc_insertion_point(field_set:tensorflow.profiler.XStat.uint64_value)
2650 }
2651
2652 // int64 int64_value = 4;
_internal_has_int64_value()2653 inline bool XStat::_internal_has_int64_value() const {
2654 return value_case() == kInt64Value;
2655 }
has_int64_value()2656 inline bool XStat::has_int64_value() const {
2657 return _internal_has_int64_value();
2658 }
set_has_int64_value()2659 inline void XStat::set_has_int64_value() {
2660 _impl_._oneof_case_[0] = kInt64Value;
2661 }
clear_int64_value()2662 inline void XStat::clear_int64_value() {
2663 if (_internal_has_int64_value()) {
2664 _impl_.value_.int64_value_ = ::int64_t{0};
2665 clear_has_value();
2666 }
2667 }
_internal_int64_value()2668 inline ::int64_t XStat::_internal_int64_value() const {
2669 if (_internal_has_int64_value()) {
2670 return _impl_.value_.int64_value_;
2671 }
2672 return ::int64_t{0};
2673 }
_internal_set_int64_value(::int64_t value)2674 inline void XStat::_internal_set_int64_value(::int64_t value) {
2675 if (!_internal_has_int64_value()) {
2676 clear_value();
2677 set_has_int64_value();
2678 }
2679 _impl_.value_.int64_value_ = value;
2680 }
int64_value()2681 inline ::int64_t XStat::int64_value() const {
2682 // @@protoc_insertion_point(field_get:tensorflow.profiler.XStat.int64_value)
2683 return _internal_int64_value();
2684 }
set_int64_value(::int64_t value)2685 inline void XStat::set_int64_value(::int64_t value) {
2686 _internal_set_int64_value(value);
2687 // @@protoc_insertion_point(field_set:tensorflow.profiler.XStat.int64_value)
2688 }
2689
2690 // string str_value = 5;
_internal_has_str_value()2691 inline bool XStat::_internal_has_str_value() const {
2692 return value_case() == kStrValue;
2693 }
has_str_value()2694 inline bool XStat::has_str_value() const {
2695 return _internal_has_str_value();
2696 }
set_has_str_value()2697 inline void XStat::set_has_str_value() {
2698 _impl_._oneof_case_[0] = kStrValue;
2699 }
clear_str_value()2700 inline void XStat::clear_str_value() {
2701 if (_internal_has_str_value()) {
2702 _impl_.value_.str_value_.Destroy();
2703 clear_has_value();
2704 }
2705 }
str_value()2706 inline const std::string& XStat::str_value() const {
2707 // @@protoc_insertion_point(field_get:tensorflow.profiler.XStat.str_value)
2708 return _internal_str_value();
2709 }
2710 template <typename ArgT0, typename... ArgT>
set_str_value(ArgT0 && arg0,ArgT...args)2711 inline void XStat::set_str_value(ArgT0&& arg0, ArgT... args) {
2712 if (!_internal_has_str_value()) {
2713 clear_value();
2714 set_has_str_value();
2715 _impl_.value_.str_value_.InitDefault();
2716 }
2717 _impl_.value_.str_value_.Set( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2718 // @@protoc_insertion_point(field_set:tensorflow.profiler.XStat.str_value)
2719 }
mutable_str_value()2720 inline std::string* XStat::mutable_str_value() {
2721 std::string* _s = _internal_mutable_str_value();
2722 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XStat.str_value)
2723 return _s;
2724 }
_internal_str_value()2725 inline const std::string& XStat::_internal_str_value() const {
2726 if (_internal_has_str_value()) {
2727 return _impl_.value_.str_value_.Get();
2728 }
2729 return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
2730 }
_internal_set_str_value(const std::string & value)2731 inline void XStat::_internal_set_str_value(const std::string& value) {
2732 if (!_internal_has_str_value()) {
2733 clear_value();
2734 set_has_str_value();
2735 _impl_.value_.str_value_.InitDefault();
2736 }
2737 _impl_.value_.str_value_.Set(value, GetArenaForAllocation());
2738 }
_internal_mutable_str_value()2739 inline std::string* XStat::_internal_mutable_str_value() {
2740 if (!_internal_has_str_value()) {
2741 clear_value();
2742 set_has_str_value();
2743 _impl_.value_.str_value_.InitDefault();
2744 }
2745 return _impl_.value_.str_value_.Mutable( GetArenaForAllocation());
2746 }
release_str_value()2747 inline std::string* XStat::release_str_value() {
2748 // @@protoc_insertion_point(field_release:tensorflow.profiler.XStat.str_value)
2749 if (_internal_has_str_value()) {
2750 clear_has_value();
2751 return _impl_.value_.str_value_.Release();
2752 } else {
2753 return nullptr;
2754 }
2755 }
set_allocated_str_value(std::string * str_value)2756 inline void XStat::set_allocated_str_value(std::string* str_value) {
2757 if (has_value()) {
2758 clear_value();
2759 }
2760 if (str_value != nullptr) {
2761 set_has_str_value();
2762 _impl_.value_.str_value_.InitAllocated(str_value, GetArenaForAllocation());
2763 }
2764 // @@protoc_insertion_point(field_set_allocated:tensorflow.profiler.XStat.str_value)
2765 }
2766
2767 // bytes bytes_value = 6;
_internal_has_bytes_value()2768 inline bool XStat::_internal_has_bytes_value() const {
2769 return value_case() == kBytesValue;
2770 }
has_bytes_value()2771 inline bool XStat::has_bytes_value() const {
2772 return _internal_has_bytes_value();
2773 }
set_has_bytes_value()2774 inline void XStat::set_has_bytes_value() {
2775 _impl_._oneof_case_[0] = kBytesValue;
2776 }
clear_bytes_value()2777 inline void XStat::clear_bytes_value() {
2778 if (_internal_has_bytes_value()) {
2779 _impl_.value_.bytes_value_.Destroy();
2780 clear_has_value();
2781 }
2782 }
bytes_value()2783 inline const std::string& XStat::bytes_value() const {
2784 // @@protoc_insertion_point(field_get:tensorflow.profiler.XStat.bytes_value)
2785 return _internal_bytes_value();
2786 }
2787 template <typename ArgT0, typename... ArgT>
set_bytes_value(ArgT0 && arg0,ArgT...args)2788 inline void XStat::set_bytes_value(ArgT0&& arg0, ArgT... args) {
2789 if (!_internal_has_bytes_value()) {
2790 clear_value();
2791 set_has_bytes_value();
2792 _impl_.value_.bytes_value_.InitDefault();
2793 }
2794 _impl_.value_.bytes_value_.SetBytes( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2795 // @@protoc_insertion_point(field_set:tensorflow.profiler.XStat.bytes_value)
2796 }
mutable_bytes_value()2797 inline std::string* XStat::mutable_bytes_value() {
2798 std::string* _s = _internal_mutable_bytes_value();
2799 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XStat.bytes_value)
2800 return _s;
2801 }
_internal_bytes_value()2802 inline const std::string& XStat::_internal_bytes_value() const {
2803 if (_internal_has_bytes_value()) {
2804 return _impl_.value_.bytes_value_.Get();
2805 }
2806 return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
2807 }
_internal_set_bytes_value(const std::string & value)2808 inline void XStat::_internal_set_bytes_value(const std::string& value) {
2809 if (!_internal_has_bytes_value()) {
2810 clear_value();
2811 set_has_bytes_value();
2812 _impl_.value_.bytes_value_.InitDefault();
2813 }
2814 _impl_.value_.bytes_value_.Set(value, GetArenaForAllocation());
2815 }
_internal_mutable_bytes_value()2816 inline std::string* XStat::_internal_mutable_bytes_value() {
2817 if (!_internal_has_bytes_value()) {
2818 clear_value();
2819 set_has_bytes_value();
2820 _impl_.value_.bytes_value_.InitDefault();
2821 }
2822 return _impl_.value_.bytes_value_.Mutable( GetArenaForAllocation());
2823 }
release_bytes_value()2824 inline std::string* XStat::release_bytes_value() {
2825 // @@protoc_insertion_point(field_release:tensorflow.profiler.XStat.bytes_value)
2826 if (_internal_has_bytes_value()) {
2827 clear_has_value();
2828 return _impl_.value_.bytes_value_.Release();
2829 } else {
2830 return nullptr;
2831 }
2832 }
set_allocated_bytes_value(std::string * bytes_value)2833 inline void XStat::set_allocated_bytes_value(std::string* bytes_value) {
2834 if (has_value()) {
2835 clear_value();
2836 }
2837 if (bytes_value != nullptr) {
2838 set_has_bytes_value();
2839 _impl_.value_.bytes_value_.InitAllocated(bytes_value, GetArenaForAllocation());
2840 }
2841 // @@protoc_insertion_point(field_set_allocated:tensorflow.profiler.XStat.bytes_value)
2842 }
2843
2844 // uint64 ref_value = 7;
_internal_has_ref_value()2845 inline bool XStat::_internal_has_ref_value() const {
2846 return value_case() == kRefValue;
2847 }
has_ref_value()2848 inline bool XStat::has_ref_value() const {
2849 return _internal_has_ref_value();
2850 }
set_has_ref_value()2851 inline void XStat::set_has_ref_value() {
2852 _impl_._oneof_case_[0] = kRefValue;
2853 }
clear_ref_value()2854 inline void XStat::clear_ref_value() {
2855 if (_internal_has_ref_value()) {
2856 _impl_.value_.ref_value_ = ::uint64_t{0u};
2857 clear_has_value();
2858 }
2859 }
_internal_ref_value()2860 inline ::uint64_t XStat::_internal_ref_value() const {
2861 if (_internal_has_ref_value()) {
2862 return _impl_.value_.ref_value_;
2863 }
2864 return ::uint64_t{0u};
2865 }
_internal_set_ref_value(::uint64_t value)2866 inline void XStat::_internal_set_ref_value(::uint64_t value) {
2867 if (!_internal_has_ref_value()) {
2868 clear_value();
2869 set_has_ref_value();
2870 }
2871 _impl_.value_.ref_value_ = value;
2872 }
ref_value()2873 inline ::uint64_t XStat::ref_value() const {
2874 // @@protoc_insertion_point(field_get:tensorflow.profiler.XStat.ref_value)
2875 return _internal_ref_value();
2876 }
set_ref_value(::uint64_t value)2877 inline void XStat::set_ref_value(::uint64_t value) {
2878 _internal_set_ref_value(value);
2879 // @@protoc_insertion_point(field_set:tensorflow.profiler.XStat.ref_value)
2880 }
2881
has_value()2882 inline bool XStat::has_value() const {
2883 return value_case() != VALUE_NOT_SET;
2884 }
clear_has_value()2885 inline void XStat::clear_has_value() {
2886 _impl_._oneof_case_[0] = VALUE_NOT_SET;
2887 }
value_case()2888 inline XStat::ValueCase XStat::value_case() const {
2889 return XStat::ValueCase(_impl_._oneof_case_[0]);
2890 }
2891 // -------------------------------------------------------------------
2892
2893 // XEventMetadata
2894
2895 // int64 id = 1;
clear_id()2896 inline void XEventMetadata::clear_id() {
2897 _impl_.id_ = ::int64_t{0};
2898 }
_internal_id()2899 inline ::int64_t XEventMetadata::_internal_id() const {
2900 return _impl_.id_;
2901 }
id()2902 inline ::int64_t XEventMetadata::id() const {
2903 // @@protoc_insertion_point(field_get:tensorflow.profiler.XEventMetadata.id)
2904 return _internal_id();
2905 }
_internal_set_id(::int64_t value)2906 inline void XEventMetadata::_internal_set_id(::int64_t value) {
2907
2908 _impl_.id_ = value;
2909 }
set_id(::int64_t value)2910 inline void XEventMetadata::set_id(::int64_t value) {
2911 _internal_set_id(value);
2912 // @@protoc_insertion_point(field_set:tensorflow.profiler.XEventMetadata.id)
2913 }
2914
2915 // string name = 2;
clear_name()2916 inline void XEventMetadata::clear_name() {
2917 _impl_.name_.ClearToEmpty();
2918 }
name()2919 inline const std::string& XEventMetadata::name() const {
2920 // @@protoc_insertion_point(field_get:tensorflow.profiler.XEventMetadata.name)
2921 return _internal_name();
2922 }
2923 template <typename ArgT0, typename... ArgT>
2924 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)2925 void XEventMetadata::set_name(ArgT0&& arg0, ArgT... args) {
2926
2927 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2928 // @@protoc_insertion_point(field_set:tensorflow.profiler.XEventMetadata.name)
2929 }
mutable_name()2930 inline std::string* XEventMetadata::mutable_name() {
2931 std::string* _s = _internal_mutable_name();
2932 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XEventMetadata.name)
2933 return _s;
2934 }
_internal_name()2935 inline const std::string& XEventMetadata::_internal_name() const {
2936 return _impl_.name_.Get();
2937 }
_internal_set_name(const std::string & value)2938 inline void XEventMetadata::_internal_set_name(const std::string& value) {
2939
2940 _impl_.name_.Set(value, GetArenaForAllocation());
2941 }
_internal_mutable_name()2942 inline std::string* XEventMetadata::_internal_mutable_name() {
2943
2944 return _impl_.name_.Mutable(GetArenaForAllocation());
2945 }
release_name()2946 inline std::string* XEventMetadata::release_name() {
2947 // @@protoc_insertion_point(field_release:tensorflow.profiler.XEventMetadata.name)
2948 return _impl_.name_.Release();
2949 }
set_allocated_name(std::string * name)2950 inline void XEventMetadata::set_allocated_name(std::string* name) {
2951 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
2952 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2953 if (_impl_.name_.IsDefault()) {
2954 _impl_.name_.Set("", GetArenaForAllocation());
2955 }
2956 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2957 // @@protoc_insertion_point(field_set_allocated:tensorflow.profiler.XEventMetadata.name)
2958 }
2959
2960 // string display_name = 4;
clear_display_name()2961 inline void XEventMetadata::clear_display_name() {
2962 _impl_.display_name_.ClearToEmpty();
2963 }
display_name()2964 inline const std::string& XEventMetadata::display_name() const {
2965 // @@protoc_insertion_point(field_get:tensorflow.profiler.XEventMetadata.display_name)
2966 return _internal_display_name();
2967 }
2968 template <typename ArgT0, typename... ArgT>
2969 inline PROTOBUF_ALWAYS_INLINE
set_display_name(ArgT0 && arg0,ArgT...args)2970 void XEventMetadata::set_display_name(ArgT0&& arg0, ArgT... args) {
2971
2972 _impl_.display_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2973 // @@protoc_insertion_point(field_set:tensorflow.profiler.XEventMetadata.display_name)
2974 }
mutable_display_name()2975 inline std::string* XEventMetadata::mutable_display_name() {
2976 std::string* _s = _internal_mutable_display_name();
2977 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XEventMetadata.display_name)
2978 return _s;
2979 }
_internal_display_name()2980 inline const std::string& XEventMetadata::_internal_display_name() const {
2981 return _impl_.display_name_.Get();
2982 }
_internal_set_display_name(const std::string & value)2983 inline void XEventMetadata::_internal_set_display_name(const std::string& value) {
2984
2985 _impl_.display_name_.Set(value, GetArenaForAllocation());
2986 }
_internal_mutable_display_name()2987 inline std::string* XEventMetadata::_internal_mutable_display_name() {
2988
2989 return _impl_.display_name_.Mutable(GetArenaForAllocation());
2990 }
release_display_name()2991 inline std::string* XEventMetadata::release_display_name() {
2992 // @@protoc_insertion_point(field_release:tensorflow.profiler.XEventMetadata.display_name)
2993 return _impl_.display_name_.Release();
2994 }
set_allocated_display_name(std::string * display_name)2995 inline void XEventMetadata::set_allocated_display_name(std::string* display_name) {
2996 _impl_.display_name_.SetAllocated(display_name, GetArenaForAllocation());
2997 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2998 if (_impl_.display_name_.IsDefault()) {
2999 _impl_.display_name_.Set("", GetArenaForAllocation());
3000 }
3001 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3002 // @@protoc_insertion_point(field_set_allocated:tensorflow.profiler.XEventMetadata.display_name)
3003 }
3004
3005 // bytes metadata = 3;
clear_metadata()3006 inline void XEventMetadata::clear_metadata() {
3007 _impl_.metadata_.ClearToEmpty();
3008 }
metadata()3009 inline const std::string& XEventMetadata::metadata() const {
3010 // @@protoc_insertion_point(field_get:tensorflow.profiler.XEventMetadata.metadata)
3011 return _internal_metadata();
3012 }
3013 template <typename ArgT0, typename... ArgT>
3014 inline PROTOBUF_ALWAYS_INLINE
set_metadata(ArgT0 && arg0,ArgT...args)3015 void XEventMetadata::set_metadata(ArgT0&& arg0, ArgT... args) {
3016
3017 _impl_.metadata_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
3018 // @@protoc_insertion_point(field_set:tensorflow.profiler.XEventMetadata.metadata)
3019 }
mutable_metadata()3020 inline std::string* XEventMetadata::mutable_metadata() {
3021 std::string* _s = _internal_mutable_metadata();
3022 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XEventMetadata.metadata)
3023 return _s;
3024 }
_internal_metadata()3025 inline const std::string& XEventMetadata::_internal_metadata() const {
3026 return _impl_.metadata_.Get();
3027 }
_internal_set_metadata(const std::string & value)3028 inline void XEventMetadata::_internal_set_metadata(const std::string& value) {
3029
3030 _impl_.metadata_.Set(value, GetArenaForAllocation());
3031 }
_internal_mutable_metadata()3032 inline std::string* XEventMetadata::_internal_mutable_metadata() {
3033
3034 return _impl_.metadata_.Mutable(GetArenaForAllocation());
3035 }
release_metadata()3036 inline std::string* XEventMetadata::release_metadata() {
3037 // @@protoc_insertion_point(field_release:tensorflow.profiler.XEventMetadata.metadata)
3038 return _impl_.metadata_.Release();
3039 }
set_allocated_metadata(std::string * metadata)3040 inline void XEventMetadata::set_allocated_metadata(std::string* metadata) {
3041 _impl_.metadata_.SetAllocated(metadata, GetArenaForAllocation());
3042 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3043 if (_impl_.metadata_.IsDefault()) {
3044 _impl_.metadata_.Set("", GetArenaForAllocation());
3045 }
3046 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3047 // @@protoc_insertion_point(field_set_allocated:tensorflow.profiler.XEventMetadata.metadata)
3048 }
3049
3050 // repeated .tensorflow.profiler.XStat stats = 5;
_internal_stats_size()3051 inline int XEventMetadata::_internal_stats_size() const {
3052 return _impl_.stats_.size();
3053 }
stats_size()3054 inline int XEventMetadata::stats_size() const {
3055 return _internal_stats_size();
3056 }
clear_stats()3057 inline void XEventMetadata::clear_stats() {
3058 _impl_.stats_.Clear();
3059 }
mutable_stats(int index)3060 inline ::tensorflow::profiler::XStat* XEventMetadata::mutable_stats(int index) {
3061 // @@protoc_insertion_point(field_mutable:tensorflow.profiler.XEventMetadata.stats)
3062 return _impl_.stats_.Mutable(index);
3063 }
3064 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::profiler::XStat >*
mutable_stats()3065 XEventMetadata::mutable_stats() {
3066 // @@protoc_insertion_point(field_mutable_list:tensorflow.profiler.XEventMetadata.stats)
3067 return &_impl_.stats_;
3068 }
_internal_stats(int index)3069 inline const ::tensorflow::profiler::XStat& XEventMetadata::_internal_stats(int index) const {
3070 return _impl_.stats_.Get(index);
3071 }
stats(int index)3072