1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: tensorflow/core/framework/summary.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2fsummary_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2fsummary_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/generated_enum_util.h>
33 #include "tensorflow/core/framework/tensor.pb.h"
34 // @@protoc_insertion_point(includes)
35 #include <google/protobuf/port_def.inc>
36 #define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fframework_2fsummary_2eproto
37 PROTOBUF_NAMESPACE_OPEN
38 namespace internal {
39 class AnyMetadata;
40 }  // namespace internal
41 PROTOBUF_NAMESPACE_CLOSE
42 
43 // Internal implementation detail -- do not use these members.
44 struct TableStruct_tensorflow_2fcore_2fframework_2fsummary_2eproto {
45   static const ::uint32_t offsets[];
46 };
47 namespace tensorflow {
48 class HistogramProto;
49 struct HistogramProtoDefaultTypeInternal;
50 extern HistogramProtoDefaultTypeInternal _HistogramProto_default_instance_;
51 class Summary;
52 struct SummaryDefaultTypeInternal;
53 extern SummaryDefaultTypeInternal _Summary_default_instance_;
54 class SummaryDescription;
55 struct SummaryDescriptionDefaultTypeInternal;
56 extern SummaryDescriptionDefaultTypeInternal _SummaryDescription_default_instance_;
57 class SummaryMetadata;
58 struct SummaryMetadataDefaultTypeInternal;
59 extern SummaryMetadataDefaultTypeInternal _SummaryMetadata_default_instance_;
60 class SummaryMetadata_PluginData;
61 struct SummaryMetadata_PluginDataDefaultTypeInternal;
62 extern SummaryMetadata_PluginDataDefaultTypeInternal _SummaryMetadata_PluginData_default_instance_;
63 class Summary_Audio;
64 struct Summary_AudioDefaultTypeInternal;
65 extern Summary_AudioDefaultTypeInternal _Summary_Audio_default_instance_;
66 class Summary_Image;
67 struct Summary_ImageDefaultTypeInternal;
68 extern Summary_ImageDefaultTypeInternal _Summary_Image_default_instance_;
69 class Summary_Value;
70 struct Summary_ValueDefaultTypeInternal;
71 extern Summary_ValueDefaultTypeInternal _Summary_Value_default_instance_;
72 }  // namespace tensorflow
73 PROTOBUF_NAMESPACE_OPEN
74 template<> ::tensorflow::HistogramProto* Arena::CreateMaybeMessage<::tensorflow::HistogramProto>(Arena*);
75 template<> ::tensorflow::Summary* Arena::CreateMaybeMessage<::tensorflow::Summary>(Arena*);
76 template<> ::tensorflow::SummaryDescription* Arena::CreateMaybeMessage<::tensorflow::SummaryDescription>(Arena*);
77 template<> ::tensorflow::SummaryMetadata* Arena::CreateMaybeMessage<::tensorflow::SummaryMetadata>(Arena*);
78 template<> ::tensorflow::SummaryMetadata_PluginData* Arena::CreateMaybeMessage<::tensorflow::SummaryMetadata_PluginData>(Arena*);
79 template<> ::tensorflow::Summary_Audio* Arena::CreateMaybeMessage<::tensorflow::Summary_Audio>(Arena*);
80 template<> ::tensorflow::Summary_Image* Arena::CreateMaybeMessage<::tensorflow::Summary_Image>(Arena*);
81 template<> ::tensorflow::Summary_Value* Arena::CreateMaybeMessage<::tensorflow::Summary_Value>(Arena*);
82 PROTOBUF_NAMESPACE_CLOSE
83 namespace tensorflow {
84 
85 enum DataClass : int {
86   DATA_CLASS_UNKNOWN = 0,
87   DATA_CLASS_SCALAR = 1,
88   DATA_CLASS_TENSOR = 2,
89   DATA_CLASS_BLOB_SEQUENCE = 3,
90   DataClass_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(),
91   DataClass_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max()
92 };
93 bool DataClass_IsValid(int value);
94 constexpr DataClass DataClass_MIN = DATA_CLASS_UNKNOWN;
95 constexpr DataClass DataClass_MAX = DATA_CLASS_BLOB_SEQUENCE;
96 constexpr int DataClass_ARRAYSIZE = DataClass_MAX + 1;
97 
98 const std::string& DataClass_Name(DataClass value);
99 template<typename T>
DataClass_Name(T enum_t_value)100 inline const std::string& DataClass_Name(T enum_t_value) {
101   static_assert(::std::is_same<T, DataClass>::value ||
102     ::std::is_integral<T>::value,
103     "Incorrect type passed to function DataClass_Name.");
104   return DataClass_Name(static_cast<DataClass>(enum_t_value));
105 }
106 bool DataClass_Parse(
107     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DataClass* value);
108 // ===================================================================
109 
110 class SummaryDescription final :
111     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.SummaryDescription) */ {
112  public:
SummaryDescription()113   inline SummaryDescription() : SummaryDescription(nullptr) {}
114   ~SummaryDescription() override;
115   explicit PROTOBUF_CONSTEXPR SummaryDescription(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
116 
117   SummaryDescription(const SummaryDescription& from);
SummaryDescription(SummaryDescription && from)118   SummaryDescription(SummaryDescription&& from) noexcept
119     : SummaryDescription() {
120     *this = ::std::move(from);
121   }
122 
123   inline SummaryDescription& operator=(const SummaryDescription& from) {
124     if (this == &from) return *this;
125     CopyFrom(from);
126     return *this;
127   }
128   inline SummaryDescription& operator=(SummaryDescription&& from) noexcept {
129     if (this == &from) return *this;
130     if (GetOwningArena() == from.GetOwningArena()
131   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
132         && GetOwningArena() != nullptr
133   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
134     ) {
135       InternalSwap(&from);
136     } else {
137       CopyFrom(from);
138     }
139     return *this;
140   }
141 
default_instance()142   static const SummaryDescription& default_instance() {
143     return *internal_default_instance();
144   }
internal_default_instance()145   static inline const SummaryDescription* internal_default_instance() {
146     return reinterpret_cast<const SummaryDescription*>(
147                &_SummaryDescription_default_instance_);
148   }
149   static constexpr int kIndexInFileMessages =
150     0;
151 
swap(SummaryDescription & a,SummaryDescription & b)152   friend void swap(SummaryDescription& a, SummaryDescription& b) {
153     a.Swap(&b);
154   }
Swap(SummaryDescription * other)155   inline void Swap(SummaryDescription* other) {
156     if (other == this) return;
157   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
158     if (GetOwningArena() != nullptr &&
159         GetOwningArena() == other->GetOwningArena()) {
160    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
161     if (GetOwningArena() == other->GetOwningArena()) {
162   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
163       InternalSwap(other);
164     } else {
165       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
166     }
167   }
168   void UnsafeArenaSwap(SummaryDescription* other) {
169     if (other == this) return;
170     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
171     InternalSwap(other);
172   }
173 
174   // implements Message ----------------------------------------------
175 
176   SummaryDescription* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
177     return CreateMaybeMessage<SummaryDescription>(arena);
178   }
179   SummaryDescription* New() const {
180     return New(nullptr);
181   }
182   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
183   void CopyFrom(const SummaryDescription& from);
184   void MergeFrom(const SummaryDescription& from);
185   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
186   bool IsInitialized() const final;
187 
188   size_t ByteSizeLong() const final;
189   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
190   ::uint8_t* _InternalSerialize(
191       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
192   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
193 
194   private:
195   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
196   void SharedDtor();
197   void SetCachedSize(int size) const;
198   void InternalSwap(SummaryDescription* other);
199 
200   private:
201   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
202   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
203     return "tensorflow.SummaryDescription";
204   }
205   protected:
206   explicit SummaryDescription(::PROTOBUF_NAMESPACE_ID::Arena* arena,
207                        bool is_message_owned = false);
208   public:
209 
210   std::string GetTypeName() const final;
211 
212   // nested types ----------------------------------------------------
213 
214   // accessors -------------------------------------------------------
215 
216   enum : int {
217     kTypeHintFieldNumber = 1,
218   };
219   // string type_hint = 1;
220   void clear_type_hint();
221   const std::string& type_hint() const;
222   template <typename ArgT0 = const std::string&, typename... ArgT>
223   void set_type_hint(ArgT0&& arg0, ArgT... args);
224   std::string* mutable_type_hint();
225   PROTOBUF_NODISCARD std::string* release_type_hint();
226   void set_allocated_type_hint(std::string* type_hint);
227   private:
228   const std::string& _internal_type_hint() const;
229   inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_hint(const std::string& value);
230   std::string* _internal_mutable_type_hint();
231   public:
232 
233   // @@protoc_insertion_point(class_scope:tensorflow.SummaryDescription)
234  private:
235   class _Internal;
236 
237   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
238   typedef void InternalArenaConstructable_;
239   typedef void DestructorSkippable_;
240   struct Impl_ {
241     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_hint_;
242     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
243   };
244   union { Impl_ _impl_; };
245   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fsummary_2eproto;
246 };
247 // -------------------------------------------------------------------
248 
249 class HistogramProto final :
250     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.HistogramProto) */ {
251  public:
HistogramProto()252   inline HistogramProto() : HistogramProto(nullptr) {}
253   ~HistogramProto() override;
254   explicit PROTOBUF_CONSTEXPR HistogramProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
255 
256   HistogramProto(const HistogramProto& from);
HistogramProto(HistogramProto && from)257   HistogramProto(HistogramProto&& from) noexcept
258     : HistogramProto() {
259     *this = ::std::move(from);
260   }
261 
262   inline HistogramProto& operator=(const HistogramProto& from) {
263     if (this == &from) return *this;
264     CopyFrom(from);
265     return *this;
266   }
267   inline HistogramProto& operator=(HistogramProto&& from) noexcept {
268     if (this == &from) return *this;
269     if (GetOwningArena() == from.GetOwningArena()
270   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
271         && GetOwningArena() != nullptr
272   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
273     ) {
274       InternalSwap(&from);
275     } else {
276       CopyFrom(from);
277     }
278     return *this;
279   }
280 
default_instance()281   static const HistogramProto& default_instance() {
282     return *internal_default_instance();
283   }
internal_default_instance()284   static inline const HistogramProto* internal_default_instance() {
285     return reinterpret_cast<const HistogramProto*>(
286                &_HistogramProto_default_instance_);
287   }
288   static constexpr int kIndexInFileMessages =
289     1;
290 
swap(HistogramProto & a,HistogramProto & b)291   friend void swap(HistogramProto& a, HistogramProto& b) {
292     a.Swap(&b);
293   }
Swap(HistogramProto * other)294   inline void Swap(HistogramProto* other) {
295     if (other == this) return;
296   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
297     if (GetOwningArena() != nullptr &&
298         GetOwningArena() == other->GetOwningArena()) {
299    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
300     if (GetOwningArena() == other->GetOwningArena()) {
301   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
302       InternalSwap(other);
303     } else {
304       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
305     }
306   }
307   void UnsafeArenaSwap(HistogramProto* other) {
308     if (other == this) return;
309     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
310     InternalSwap(other);
311   }
312 
313   // implements Message ----------------------------------------------
314 
315   HistogramProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
316     return CreateMaybeMessage<HistogramProto>(arena);
317   }
318   HistogramProto* New() const {
319     return New(nullptr);
320   }
321   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
322   void CopyFrom(const HistogramProto& from);
323   void MergeFrom(const HistogramProto& from);
324   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
325   bool IsInitialized() const final;
326 
327   size_t ByteSizeLong() const final;
328   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
329   ::uint8_t* _InternalSerialize(
330       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
331   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
332 
333   private:
334   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
335   void SharedDtor();
336   void SetCachedSize(int size) const;
337   void InternalSwap(HistogramProto* other);
338 
339   private:
340   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
341   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
342     return "tensorflow.HistogramProto";
343   }
344   protected:
345   explicit HistogramProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
346                        bool is_message_owned = false);
347   public:
348 
349   std::string GetTypeName() const final;
350 
351   // nested types ----------------------------------------------------
352 
353   // accessors -------------------------------------------------------
354 
355   enum : int {
356     kBucketLimitFieldNumber = 6,
357     kBucketFieldNumber = 7,
358     kMinFieldNumber = 1,
359     kMaxFieldNumber = 2,
360     kNumFieldNumber = 3,
361     kSumFieldNumber = 4,
362     kSumSquaresFieldNumber = 5,
363   };
364   // repeated double bucket_limit = 6 [packed = true];
365   int bucket_limit_size() const;
366   private:
367   int _internal_bucket_limit_size() const;
368   public:
369   void clear_bucket_limit();
370   private:
371   double _internal_bucket_limit(int index) const;
372   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
373       _internal_bucket_limit() const;
374   void _internal_add_bucket_limit(double value);
375   ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
376       _internal_mutable_bucket_limit();
377   public:
378   double bucket_limit(int index) const;
379   void set_bucket_limit(int index, double value);
380   void add_bucket_limit(double value);
381   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
382       bucket_limit() const;
383   ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
384       mutable_bucket_limit();
385 
386   // repeated double bucket = 7 [packed = true];
387   int bucket_size() const;
388   private:
389   int _internal_bucket_size() const;
390   public:
391   void clear_bucket();
392   private:
393   double _internal_bucket(int index) const;
394   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
395       _internal_bucket() const;
396   void _internal_add_bucket(double value);
397   ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
398       _internal_mutable_bucket();
399   public:
400   double bucket(int index) const;
401   void set_bucket(int index, double value);
402   void add_bucket(double value);
403   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
404       bucket() const;
405   ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
406       mutable_bucket();
407 
408   // double min = 1;
409   void clear_min();
410   double min() const;
411   void set_min(double value);
412   private:
413   double _internal_min() const;
414   void _internal_set_min(double value);
415   public:
416 
417   // double max = 2;
418   void clear_max();
419   double max() const;
420   void set_max(double value);
421   private:
422   double _internal_max() const;
423   void _internal_set_max(double value);
424   public:
425 
426   // double num = 3;
427   void clear_num();
428   double num() const;
429   void set_num(double value);
430   private:
431   double _internal_num() const;
432   void _internal_set_num(double value);
433   public:
434 
435   // double sum = 4;
436   void clear_sum();
437   double sum() const;
438   void set_sum(double value);
439   private:
440   double _internal_sum() const;
441   void _internal_set_sum(double value);
442   public:
443 
444   // double sum_squares = 5;
445   void clear_sum_squares();
446   double sum_squares() const;
447   void set_sum_squares(double value);
448   private:
449   double _internal_sum_squares() const;
450   void _internal_set_sum_squares(double value);
451   public:
452 
453   // @@protoc_insertion_point(class_scope:tensorflow.HistogramProto)
454  private:
455   class _Internal;
456 
457   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
458   typedef void InternalArenaConstructable_;
459   typedef void DestructorSkippable_;
460   struct Impl_ {
461     ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > bucket_limit_;
462     ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > bucket_;
463     double min_;
464     double max_;
465     double num_;
466     double sum_;
467     double sum_squares_;
468     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
469   };
470   union { Impl_ _impl_; };
471   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fsummary_2eproto;
472 };
473 // -------------------------------------------------------------------
474 
475 class SummaryMetadata_PluginData final :
476     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.SummaryMetadata.PluginData) */ {
477  public:
SummaryMetadata_PluginData()478   inline SummaryMetadata_PluginData() : SummaryMetadata_PluginData(nullptr) {}
479   ~SummaryMetadata_PluginData() override;
480   explicit PROTOBUF_CONSTEXPR SummaryMetadata_PluginData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
481 
482   SummaryMetadata_PluginData(const SummaryMetadata_PluginData& from);
SummaryMetadata_PluginData(SummaryMetadata_PluginData && from)483   SummaryMetadata_PluginData(SummaryMetadata_PluginData&& from) noexcept
484     : SummaryMetadata_PluginData() {
485     *this = ::std::move(from);
486   }
487 
488   inline SummaryMetadata_PluginData& operator=(const SummaryMetadata_PluginData& from) {
489     if (this == &from) return *this;
490     CopyFrom(from);
491     return *this;
492   }
493   inline SummaryMetadata_PluginData& operator=(SummaryMetadata_PluginData&& from) noexcept {
494     if (this == &from) return *this;
495     if (GetOwningArena() == from.GetOwningArena()
496   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
497         && GetOwningArena() != nullptr
498   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
499     ) {
500       InternalSwap(&from);
501     } else {
502       CopyFrom(from);
503     }
504     return *this;
505   }
506 
default_instance()507   static const SummaryMetadata_PluginData& default_instance() {
508     return *internal_default_instance();
509   }
internal_default_instance()510   static inline const SummaryMetadata_PluginData* internal_default_instance() {
511     return reinterpret_cast<const SummaryMetadata_PluginData*>(
512                &_SummaryMetadata_PluginData_default_instance_);
513   }
514   static constexpr int kIndexInFileMessages =
515     2;
516 
swap(SummaryMetadata_PluginData & a,SummaryMetadata_PluginData & b)517   friend void swap(SummaryMetadata_PluginData& a, SummaryMetadata_PluginData& b) {
518     a.Swap(&b);
519   }
Swap(SummaryMetadata_PluginData * other)520   inline void Swap(SummaryMetadata_PluginData* other) {
521     if (other == this) return;
522   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
523     if (GetOwningArena() != nullptr &&
524         GetOwningArena() == other->GetOwningArena()) {
525    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
526     if (GetOwningArena() == other->GetOwningArena()) {
527   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
528       InternalSwap(other);
529     } else {
530       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
531     }
532   }
533   void UnsafeArenaSwap(SummaryMetadata_PluginData* other) {
534     if (other == this) return;
535     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
536     InternalSwap(other);
537   }
538 
539   // implements Message ----------------------------------------------
540 
541   SummaryMetadata_PluginData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
542     return CreateMaybeMessage<SummaryMetadata_PluginData>(arena);
543   }
544   SummaryMetadata_PluginData* New() const {
545     return New(nullptr);
546   }
547   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
548   void CopyFrom(const SummaryMetadata_PluginData& from);
549   void MergeFrom(const SummaryMetadata_PluginData& from);
550   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
551   bool IsInitialized() const final;
552 
553   size_t ByteSizeLong() const final;
554   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
555   ::uint8_t* _InternalSerialize(
556       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
557   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
558 
559   private:
560   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
561   void SharedDtor();
562   void SetCachedSize(int size) const;
563   void InternalSwap(SummaryMetadata_PluginData* other);
564 
565   private:
566   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
567   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
568     return "tensorflow.SummaryMetadata.PluginData";
569   }
570   protected:
571   explicit SummaryMetadata_PluginData(::PROTOBUF_NAMESPACE_ID::Arena* arena,
572                        bool is_message_owned = false);
573   public:
574 
575   std::string GetTypeName() const final;
576 
577   // nested types ----------------------------------------------------
578 
579   // accessors -------------------------------------------------------
580 
581   enum : int {
582     kPluginNameFieldNumber = 1,
583     kContentFieldNumber = 2,
584   };
585   // string plugin_name = 1;
586   void clear_plugin_name();
587   const std::string& plugin_name() const;
588   template <typename ArgT0 = const std::string&, typename... ArgT>
589   void set_plugin_name(ArgT0&& arg0, ArgT... args);
590   std::string* mutable_plugin_name();
591   PROTOBUF_NODISCARD std::string* release_plugin_name();
592   void set_allocated_plugin_name(std::string* plugin_name);
593   private:
594   const std::string& _internal_plugin_name() const;
595   inline PROTOBUF_ALWAYS_INLINE void _internal_set_plugin_name(const std::string& value);
596   std::string* _internal_mutable_plugin_name();
597   public:
598 
599   // bytes content = 2;
600   void clear_content();
601   const std::string& content() const;
602   template <typename ArgT0 = const std::string&, typename... ArgT>
603   void set_content(ArgT0&& arg0, ArgT... args);
604   std::string* mutable_content();
605   PROTOBUF_NODISCARD std::string* release_content();
606   void set_allocated_content(std::string* content);
607   private:
608   const std::string& _internal_content() const;
609   inline PROTOBUF_ALWAYS_INLINE void _internal_set_content(const std::string& value);
610   std::string* _internal_mutable_content();
611   public:
612 
613   // @@protoc_insertion_point(class_scope:tensorflow.SummaryMetadata.PluginData)
614  private:
615   class _Internal;
616 
617   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
618   typedef void InternalArenaConstructable_;
619   typedef void DestructorSkippable_;
620   struct Impl_ {
621     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr plugin_name_;
622     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr content_;
623     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
624   };
625   union { Impl_ _impl_; };
626   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fsummary_2eproto;
627 };
628 // -------------------------------------------------------------------
629 
630 class SummaryMetadata final :
631     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.SummaryMetadata) */ {
632  public:
SummaryMetadata()633   inline SummaryMetadata() : SummaryMetadata(nullptr) {}
634   ~SummaryMetadata() override;
635   explicit PROTOBUF_CONSTEXPR SummaryMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
636 
637   SummaryMetadata(const SummaryMetadata& from);
SummaryMetadata(SummaryMetadata && from)638   SummaryMetadata(SummaryMetadata&& from) noexcept
639     : SummaryMetadata() {
640     *this = ::std::move(from);
641   }
642 
643   inline SummaryMetadata& operator=(const SummaryMetadata& from) {
644     if (this == &from) return *this;
645     CopyFrom(from);
646     return *this;
647   }
648   inline SummaryMetadata& operator=(SummaryMetadata&& from) noexcept {
649     if (this == &from) return *this;
650     if (GetOwningArena() == from.GetOwningArena()
651   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
652         && GetOwningArena() != nullptr
653   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
654     ) {
655       InternalSwap(&from);
656     } else {
657       CopyFrom(from);
658     }
659     return *this;
660   }
661 
default_instance()662   static const SummaryMetadata& default_instance() {
663     return *internal_default_instance();
664   }
internal_default_instance()665   static inline const SummaryMetadata* internal_default_instance() {
666     return reinterpret_cast<const SummaryMetadata*>(
667                &_SummaryMetadata_default_instance_);
668   }
669   static constexpr int kIndexInFileMessages =
670     3;
671 
swap(SummaryMetadata & a,SummaryMetadata & b)672   friend void swap(SummaryMetadata& a, SummaryMetadata& b) {
673     a.Swap(&b);
674   }
Swap(SummaryMetadata * other)675   inline void Swap(SummaryMetadata* other) {
676     if (other == this) return;
677   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
678     if (GetOwningArena() != nullptr &&
679         GetOwningArena() == other->GetOwningArena()) {
680    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
681     if (GetOwningArena() == other->GetOwningArena()) {
682   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
683       InternalSwap(other);
684     } else {
685       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
686     }
687   }
688   void UnsafeArenaSwap(SummaryMetadata* other) {
689     if (other == this) return;
690     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
691     InternalSwap(other);
692   }
693 
694   // implements Message ----------------------------------------------
695 
696   SummaryMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
697     return CreateMaybeMessage<SummaryMetadata>(arena);
698   }
699   SummaryMetadata* New() const {
700     return New(nullptr);
701   }
702   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
703   void CopyFrom(const SummaryMetadata& from);
704   void MergeFrom(const SummaryMetadata& from);
705   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
706   bool IsInitialized() const final;
707 
708   size_t ByteSizeLong() const final;
709   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
710   ::uint8_t* _InternalSerialize(
711       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
712   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
713 
714   private:
715   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
716   void SharedDtor();
717   void SetCachedSize(int size) const;
718   void InternalSwap(SummaryMetadata* other);
719 
720   private:
721   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
722   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
723     return "tensorflow.SummaryMetadata";
724   }
725   protected:
726   explicit SummaryMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena,
727                        bool is_message_owned = false);
728   public:
729 
730   std::string GetTypeName() const final;
731 
732   // nested types ----------------------------------------------------
733 
734   typedef SummaryMetadata_PluginData PluginData;
735 
736   // accessors -------------------------------------------------------
737 
738   enum : int {
739     kDisplayNameFieldNumber = 2,
740     kSummaryDescriptionFieldNumber = 3,
741     kPluginDataFieldNumber = 1,
742     kDataClassFieldNumber = 4,
743   };
744   // string display_name = 2;
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   // string summary_description = 3;
759   void clear_summary_description();
760   const std::string& summary_description() const;
761   template <typename ArgT0 = const std::string&, typename... ArgT>
762   void set_summary_description(ArgT0&& arg0, ArgT... args);
763   std::string* mutable_summary_description();
764   PROTOBUF_NODISCARD std::string* release_summary_description();
765   void set_allocated_summary_description(std::string* summary_description);
766   private:
767   const std::string& _internal_summary_description() const;
768   inline PROTOBUF_ALWAYS_INLINE void _internal_set_summary_description(const std::string& value);
769   std::string* _internal_mutable_summary_description();
770   public:
771 
772   // .tensorflow.SummaryMetadata.PluginData plugin_data = 1;
773   bool has_plugin_data() const;
774   private:
775   bool _internal_has_plugin_data() const;
776   public:
777   void clear_plugin_data();
778   const ::tensorflow::SummaryMetadata_PluginData& plugin_data() const;
779   PROTOBUF_NODISCARD ::tensorflow::SummaryMetadata_PluginData* release_plugin_data();
780   ::tensorflow::SummaryMetadata_PluginData* mutable_plugin_data();
781   void set_allocated_plugin_data(::tensorflow::SummaryMetadata_PluginData* plugin_data);
782   private:
783   const ::tensorflow::SummaryMetadata_PluginData& _internal_plugin_data() const;
784   ::tensorflow::SummaryMetadata_PluginData* _internal_mutable_plugin_data();
785   public:
786   void unsafe_arena_set_allocated_plugin_data(
787       ::tensorflow::SummaryMetadata_PluginData* plugin_data);
788   ::tensorflow::SummaryMetadata_PluginData* unsafe_arena_release_plugin_data();
789 
790   // .tensorflow.DataClass data_class = 4;
791   void clear_data_class();
792   ::tensorflow::DataClass data_class() const;
793   void set_data_class(::tensorflow::DataClass value);
794   private:
795   ::tensorflow::DataClass _internal_data_class() const;
796   void _internal_set_data_class(::tensorflow::DataClass value);
797   public:
798 
799   // @@protoc_insertion_point(class_scope:tensorflow.SummaryMetadata)
800  private:
801   class _Internal;
802 
803   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
804   typedef void InternalArenaConstructable_;
805   typedef void DestructorSkippable_;
806   struct Impl_ {
807     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr display_name_;
808     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr summary_description_;
809     ::tensorflow::SummaryMetadata_PluginData* plugin_data_;
810     int data_class_;
811     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
812   };
813   union { Impl_ _impl_; };
814   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fsummary_2eproto;
815 };
816 // -------------------------------------------------------------------
817 
818 class Summary_Image final :
819     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.Summary.Image) */ {
820  public:
Summary_Image()821   inline Summary_Image() : Summary_Image(nullptr) {}
822   ~Summary_Image() override;
823   explicit PROTOBUF_CONSTEXPR Summary_Image(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
824 
825   Summary_Image(const Summary_Image& from);
Summary_Image(Summary_Image && from)826   Summary_Image(Summary_Image&& from) noexcept
827     : Summary_Image() {
828     *this = ::std::move(from);
829   }
830 
831   inline Summary_Image& operator=(const Summary_Image& from) {
832     if (this == &from) return *this;
833     CopyFrom(from);
834     return *this;
835   }
836   inline Summary_Image& operator=(Summary_Image&& from) noexcept {
837     if (this == &from) return *this;
838     if (GetOwningArena() == from.GetOwningArena()
839   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
840         && GetOwningArena() != nullptr
841   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
842     ) {
843       InternalSwap(&from);
844     } else {
845       CopyFrom(from);
846     }
847     return *this;
848   }
849 
default_instance()850   static const Summary_Image& default_instance() {
851     return *internal_default_instance();
852   }
internal_default_instance()853   static inline const Summary_Image* internal_default_instance() {
854     return reinterpret_cast<const Summary_Image*>(
855                &_Summary_Image_default_instance_);
856   }
857   static constexpr int kIndexInFileMessages =
858     4;
859 
swap(Summary_Image & a,Summary_Image & b)860   friend void swap(Summary_Image& a, Summary_Image& b) {
861     a.Swap(&b);
862   }
Swap(Summary_Image * other)863   inline void Swap(Summary_Image* other) {
864     if (other == this) return;
865   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
866     if (GetOwningArena() != nullptr &&
867         GetOwningArena() == other->GetOwningArena()) {
868    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
869     if (GetOwningArena() == other->GetOwningArena()) {
870   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
871       InternalSwap(other);
872     } else {
873       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
874     }
875   }
876   void UnsafeArenaSwap(Summary_Image* other) {
877     if (other == this) return;
878     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
879     InternalSwap(other);
880   }
881 
882   // implements Message ----------------------------------------------
883 
884   Summary_Image* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
885     return CreateMaybeMessage<Summary_Image>(arena);
886   }
887   Summary_Image* New() const {
888     return New(nullptr);
889   }
890   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
891   void CopyFrom(const Summary_Image& from);
892   void MergeFrom(const Summary_Image& from);
893   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
894   bool IsInitialized() const final;
895 
896   size_t ByteSizeLong() const final;
897   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
898   ::uint8_t* _InternalSerialize(
899       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
900   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
901 
902   private:
903   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
904   void SharedDtor();
905   void SetCachedSize(int size) const;
906   void InternalSwap(Summary_Image* other);
907 
908   private:
909   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
910   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
911     return "tensorflow.Summary.Image";
912   }
913   protected:
914   explicit Summary_Image(::PROTOBUF_NAMESPACE_ID::Arena* arena,
915                        bool is_message_owned = false);
916   public:
917 
918   std::string GetTypeName() const final;
919 
920   // nested types ----------------------------------------------------
921 
922   // accessors -------------------------------------------------------
923 
924   enum : int {
925     kEncodedImageStringFieldNumber = 4,
926     kHeightFieldNumber = 1,
927     kWidthFieldNumber = 2,
928     kColorspaceFieldNumber = 3,
929   };
930   // bytes encoded_image_string = 4;
931   void clear_encoded_image_string();
932   const std::string& encoded_image_string() const;
933   template <typename ArgT0 = const std::string&, typename... ArgT>
934   void set_encoded_image_string(ArgT0&& arg0, ArgT... args);
935   std::string* mutable_encoded_image_string();
936   PROTOBUF_NODISCARD std::string* release_encoded_image_string();
937   void set_allocated_encoded_image_string(std::string* encoded_image_string);
938   private:
939   const std::string& _internal_encoded_image_string() const;
940   inline PROTOBUF_ALWAYS_INLINE void _internal_set_encoded_image_string(const std::string& value);
941   std::string* _internal_mutable_encoded_image_string();
942   public:
943 
944   // int32 height = 1;
945   void clear_height();
946   ::int32_t height() const;
947   void set_height(::int32_t value);
948   private:
949   ::int32_t _internal_height() const;
950   void _internal_set_height(::int32_t value);
951   public:
952 
953   // int32 width = 2;
954   void clear_width();
955   ::int32_t width() const;
956   void set_width(::int32_t value);
957   private:
958   ::int32_t _internal_width() const;
959   void _internal_set_width(::int32_t value);
960   public:
961 
962   // int32 colorspace = 3;
963   void clear_colorspace();
964   ::int32_t colorspace() const;
965   void set_colorspace(::int32_t value);
966   private:
967   ::int32_t _internal_colorspace() const;
968   void _internal_set_colorspace(::int32_t value);
969   public:
970 
971   // @@protoc_insertion_point(class_scope:tensorflow.Summary.Image)
972  private:
973   class _Internal;
974 
975   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
976   typedef void InternalArenaConstructable_;
977   typedef void DestructorSkippable_;
978   struct Impl_ {
979     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encoded_image_string_;
980     ::int32_t height_;
981     ::int32_t width_;
982     ::int32_t colorspace_;
983     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
984   };
985   union { Impl_ _impl_; };
986   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fsummary_2eproto;
987 };
988 // -------------------------------------------------------------------
989 
990 class Summary_Audio final :
991     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.Summary.Audio) */ {
992  public:
Summary_Audio()993   inline Summary_Audio() : Summary_Audio(nullptr) {}
994   ~Summary_Audio() override;
995   explicit PROTOBUF_CONSTEXPR Summary_Audio(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
996 
997   Summary_Audio(const Summary_Audio& from);
Summary_Audio(Summary_Audio && from)998   Summary_Audio(Summary_Audio&& from) noexcept
999     : Summary_Audio() {
1000     *this = ::std::move(from);
1001   }
1002 
1003   inline Summary_Audio& operator=(const Summary_Audio& from) {
1004     if (this == &from) return *this;
1005     CopyFrom(from);
1006     return *this;
1007   }
1008   inline Summary_Audio& operator=(Summary_Audio&& from) noexcept {
1009     if (this == &from) return *this;
1010     if (GetOwningArena() == from.GetOwningArena()
1011   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1012         && GetOwningArena() != nullptr
1013   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1014     ) {
1015       InternalSwap(&from);
1016     } else {
1017       CopyFrom(from);
1018     }
1019     return *this;
1020   }
1021 
default_instance()1022   static const Summary_Audio& default_instance() {
1023     return *internal_default_instance();
1024   }
internal_default_instance()1025   static inline const Summary_Audio* internal_default_instance() {
1026     return reinterpret_cast<const Summary_Audio*>(
1027                &_Summary_Audio_default_instance_);
1028   }
1029   static constexpr int kIndexInFileMessages =
1030     5;
1031 
swap(Summary_Audio & a,Summary_Audio & b)1032   friend void swap(Summary_Audio& a, Summary_Audio& b) {
1033     a.Swap(&b);
1034   }
Swap(Summary_Audio * other)1035   inline void Swap(Summary_Audio* other) {
1036     if (other == this) return;
1037   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1038     if (GetOwningArena() != nullptr &&
1039         GetOwningArena() == other->GetOwningArena()) {
1040    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1041     if (GetOwningArena() == other->GetOwningArena()) {
1042   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1043       InternalSwap(other);
1044     } else {
1045       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1046     }
1047   }
1048   void UnsafeArenaSwap(Summary_Audio* other) {
1049     if (other == this) return;
1050     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1051     InternalSwap(other);
1052   }
1053 
1054   // implements Message ----------------------------------------------
1055 
1056   Summary_Audio* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1057     return CreateMaybeMessage<Summary_Audio>(arena);
1058   }
1059   Summary_Audio* New() const {
1060     return New(nullptr);
1061   }
1062   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1063   void CopyFrom(const Summary_Audio& from);
1064   void MergeFrom(const Summary_Audio& from);
1065   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1066   bool IsInitialized() const final;
1067 
1068   size_t ByteSizeLong() const final;
1069   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1070   ::uint8_t* _InternalSerialize(
1071       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1072   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1073 
1074   private:
1075   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1076   void SharedDtor();
1077   void SetCachedSize(int size) const;
1078   void InternalSwap(Summary_Audio* other);
1079 
1080   private:
1081   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1082   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1083     return "tensorflow.Summary.Audio";
1084   }
1085   protected:
1086   explicit Summary_Audio(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1087                        bool is_message_owned = false);
1088   public:
1089 
1090   std::string GetTypeName() const final;
1091 
1092   // nested types ----------------------------------------------------
1093 
1094   // accessors -------------------------------------------------------
1095 
1096   enum : int {
1097     kEncodedAudioStringFieldNumber = 4,
1098     kContentTypeFieldNumber = 5,
1099     kNumChannelsFieldNumber = 2,
1100     kLengthFramesFieldNumber = 3,
1101     kSampleRateFieldNumber = 1,
1102   };
1103   // bytes encoded_audio_string = 4;
1104   void clear_encoded_audio_string();
1105   const std::string& encoded_audio_string() const;
1106   template <typename ArgT0 = const std::string&, typename... ArgT>
1107   void set_encoded_audio_string(ArgT0&& arg0, ArgT... args);
1108   std::string* mutable_encoded_audio_string();
1109   PROTOBUF_NODISCARD std::string* release_encoded_audio_string();
1110   void set_allocated_encoded_audio_string(std::string* encoded_audio_string);
1111   private:
1112   const std::string& _internal_encoded_audio_string() const;
1113   inline PROTOBUF_ALWAYS_INLINE void _internal_set_encoded_audio_string(const std::string& value);
1114   std::string* _internal_mutable_encoded_audio_string();
1115   public:
1116 
1117   // string content_type = 5;
1118   void clear_content_type();
1119   const std::string& content_type() const;
1120   template <typename ArgT0 = const std::string&, typename... ArgT>
1121   void set_content_type(ArgT0&& arg0, ArgT... args);
1122   std::string* mutable_content_type();
1123   PROTOBUF_NODISCARD std::string* release_content_type();
1124   void set_allocated_content_type(std::string* content_type);
1125   private:
1126   const std::string& _internal_content_type() const;
1127   inline PROTOBUF_ALWAYS_INLINE void _internal_set_content_type(const std::string& value);
1128   std::string* _internal_mutable_content_type();
1129   public:
1130 
1131   // int64 num_channels = 2;
1132   void clear_num_channels();
1133   ::int64_t num_channels() const;
1134   void set_num_channels(::int64_t value);
1135   private:
1136   ::int64_t _internal_num_channels() const;
1137   void _internal_set_num_channels(::int64_t value);
1138   public:
1139 
1140   // int64 length_frames = 3;
1141   void clear_length_frames();
1142   ::int64_t length_frames() const;
1143   void set_length_frames(::int64_t value);
1144   private:
1145   ::int64_t _internal_length_frames() const;
1146   void _internal_set_length_frames(::int64_t value);
1147   public:
1148 
1149   // float sample_rate = 1;
1150   void clear_sample_rate();
1151   float sample_rate() const;
1152   void set_sample_rate(float value);
1153   private:
1154   float _internal_sample_rate() const;
1155   void _internal_set_sample_rate(float value);
1156   public:
1157 
1158   // @@protoc_insertion_point(class_scope:tensorflow.Summary.Audio)
1159  private:
1160   class _Internal;
1161 
1162   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1163   typedef void InternalArenaConstructable_;
1164   typedef void DestructorSkippable_;
1165   struct Impl_ {
1166     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr encoded_audio_string_;
1167     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr content_type_;
1168     ::int64_t num_channels_;
1169     ::int64_t length_frames_;
1170     float sample_rate_;
1171     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1172   };
1173   union { Impl_ _impl_; };
1174   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fsummary_2eproto;
1175 };
1176 // -------------------------------------------------------------------
1177 
1178 class Summary_Value final :
1179     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.Summary.Value) */ {
1180  public:
Summary_Value()1181   inline Summary_Value() : Summary_Value(nullptr) {}
1182   ~Summary_Value() override;
1183   explicit PROTOBUF_CONSTEXPR Summary_Value(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1184 
1185   Summary_Value(const Summary_Value& from);
Summary_Value(Summary_Value && from)1186   Summary_Value(Summary_Value&& from) noexcept
1187     : Summary_Value() {
1188     *this = ::std::move(from);
1189   }
1190 
1191   inline Summary_Value& operator=(const Summary_Value& from) {
1192     if (this == &from) return *this;
1193     CopyFrom(from);
1194     return *this;
1195   }
1196   inline Summary_Value& operator=(Summary_Value&& from) noexcept {
1197     if (this == &from) return *this;
1198     if (GetOwningArena() == from.GetOwningArena()
1199   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1200         && GetOwningArena() != nullptr
1201   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1202     ) {
1203       InternalSwap(&from);
1204     } else {
1205       CopyFrom(from);
1206     }
1207     return *this;
1208   }
1209 
default_instance()1210   static const Summary_Value& default_instance() {
1211     return *internal_default_instance();
1212   }
1213   enum ValueCase {
1214     kSimpleValue = 2,
1215     kObsoleteOldStyleHistogram = 3,
1216     kImage = 4,
1217     kHisto = 5,
1218     kAudio = 6,
1219     kTensor = 8,
1220     VALUE_NOT_SET = 0,
1221   };
1222 
internal_default_instance()1223   static inline const Summary_Value* internal_default_instance() {
1224     return reinterpret_cast<const Summary_Value*>(
1225                &_Summary_Value_default_instance_);
1226   }
1227   static constexpr int kIndexInFileMessages =
1228     6;
1229 
swap(Summary_Value & a,Summary_Value & b)1230   friend void swap(Summary_Value& a, Summary_Value& b) {
1231     a.Swap(&b);
1232   }
Swap(Summary_Value * other)1233   inline void Swap(Summary_Value* other) {
1234     if (other == this) return;
1235   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1236     if (GetOwningArena() != nullptr &&
1237         GetOwningArena() == other->GetOwningArena()) {
1238    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1239     if (GetOwningArena() == other->GetOwningArena()) {
1240   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1241       InternalSwap(other);
1242     } else {
1243       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1244     }
1245   }
1246   void UnsafeArenaSwap(Summary_Value* other) {
1247     if (other == this) return;
1248     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1249     InternalSwap(other);
1250   }
1251 
1252   // implements Message ----------------------------------------------
1253 
1254   Summary_Value* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1255     return CreateMaybeMessage<Summary_Value>(arena);
1256   }
1257   Summary_Value* New() const {
1258     return New(nullptr);
1259   }
1260   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1261   void CopyFrom(const Summary_Value& from);
1262   void MergeFrom(const Summary_Value& from);
1263   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1264   bool IsInitialized() const final;
1265 
1266   size_t ByteSizeLong() const final;
1267   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1268   ::uint8_t* _InternalSerialize(
1269       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1270   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1271 
1272   private:
1273   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1274   void SharedDtor();
1275   void SetCachedSize(int size) const;
1276   void InternalSwap(Summary_Value* other);
1277 
1278   private:
1279   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1280   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1281     return "tensorflow.Summary.Value";
1282   }
1283   protected:
1284   explicit Summary_Value(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1285                        bool is_message_owned = false);
1286   public:
1287 
1288   std::string GetTypeName() const final;
1289 
1290   // nested types ----------------------------------------------------
1291 
1292   // accessors -------------------------------------------------------
1293 
1294   enum : int {
1295     kTagFieldNumber = 1,
1296     kNodeNameFieldNumber = 7,
1297     kMetadataFieldNumber = 9,
1298     kSimpleValueFieldNumber = 2,
1299     kObsoleteOldStyleHistogramFieldNumber = 3,
1300     kImageFieldNumber = 4,
1301     kHistoFieldNumber = 5,
1302     kAudioFieldNumber = 6,
1303     kTensorFieldNumber = 8,
1304   };
1305   // string tag = 1;
1306   void clear_tag();
1307   const std::string& tag() const;
1308   template <typename ArgT0 = const std::string&, typename... ArgT>
1309   void set_tag(ArgT0&& arg0, ArgT... args);
1310   std::string* mutable_tag();
1311   PROTOBUF_NODISCARD std::string* release_tag();
1312   void set_allocated_tag(std::string* tag);
1313   private:
1314   const std::string& _internal_tag() const;
1315   inline PROTOBUF_ALWAYS_INLINE void _internal_set_tag(const std::string& value);
1316   std::string* _internal_mutable_tag();
1317   public:
1318 
1319   // string node_name = 7;
1320   void clear_node_name();
1321   const std::string& node_name() const;
1322   template <typename ArgT0 = const std::string&, typename... ArgT>
1323   void set_node_name(ArgT0&& arg0, ArgT... args);
1324   std::string* mutable_node_name();
1325   PROTOBUF_NODISCARD std::string* release_node_name();
1326   void set_allocated_node_name(std::string* node_name);
1327   private:
1328   const std::string& _internal_node_name() const;
1329   inline PROTOBUF_ALWAYS_INLINE void _internal_set_node_name(const std::string& value);
1330   std::string* _internal_mutable_node_name();
1331   public:
1332 
1333   // .tensorflow.SummaryMetadata metadata = 9;
1334   bool has_metadata() const;
1335   private:
1336   bool _internal_has_metadata() const;
1337   public:
1338   void clear_metadata();
1339   const ::tensorflow::SummaryMetadata& metadata() const;
1340   PROTOBUF_NODISCARD ::tensorflow::SummaryMetadata* release_metadata();
1341   ::tensorflow::SummaryMetadata* mutable_metadata();
1342   void set_allocated_metadata(::tensorflow::SummaryMetadata* metadata);
1343   private:
1344   const ::tensorflow::SummaryMetadata& _internal_metadata() const;
1345   ::tensorflow::SummaryMetadata* _internal_mutable_metadata();
1346   public:
1347   void unsafe_arena_set_allocated_metadata(
1348       ::tensorflow::SummaryMetadata* metadata);
1349   ::tensorflow::SummaryMetadata* unsafe_arena_release_metadata();
1350 
1351   // float simple_value = 2;
1352   bool has_simple_value() const;
1353   private:
1354   bool _internal_has_simple_value() const;
1355   public:
1356   void clear_simple_value();
1357   float simple_value() const;
1358   void set_simple_value(float value);
1359   private:
1360   float _internal_simple_value() const;
1361   void _internal_set_simple_value(float value);
1362   public:
1363 
1364   // bytes obsolete_old_style_histogram = 3;
1365   bool has_obsolete_old_style_histogram() const;
1366   private:
1367   bool _internal_has_obsolete_old_style_histogram() const;
1368   public:
1369   void clear_obsolete_old_style_histogram();
1370   const std::string& obsolete_old_style_histogram() const;
1371   template <typename ArgT0 = const std::string&, typename... ArgT>
1372   void set_obsolete_old_style_histogram(ArgT0&& arg0, ArgT... args);
1373   std::string* mutable_obsolete_old_style_histogram();
1374   PROTOBUF_NODISCARD std::string* release_obsolete_old_style_histogram();
1375   void set_allocated_obsolete_old_style_histogram(std::string* obsolete_old_style_histogram);
1376   private:
1377   const std::string& _internal_obsolete_old_style_histogram() const;
1378   inline PROTOBUF_ALWAYS_INLINE void _internal_set_obsolete_old_style_histogram(const std::string& value);
1379   std::string* _internal_mutable_obsolete_old_style_histogram();
1380   public:
1381 
1382   // .tensorflow.Summary.Image image = 4;
1383   bool has_image() const;
1384   private:
1385   bool _internal_has_image() const;
1386   public:
1387   void clear_image();
1388   const ::tensorflow::Summary_Image& image() const;
1389   PROTOBUF_NODISCARD ::tensorflow::Summary_Image* release_image();
1390   ::tensorflow::Summary_Image* mutable_image();
1391   void set_allocated_image(::tensorflow::Summary_Image* image);
1392   private:
1393   const ::tensorflow::Summary_Image& _internal_image() const;
1394   ::tensorflow::Summary_Image* _internal_mutable_image();
1395   public:
1396   void unsafe_arena_set_allocated_image(
1397       ::tensorflow::Summary_Image* image);
1398   ::tensorflow::Summary_Image* unsafe_arena_release_image();
1399 
1400   // .tensorflow.HistogramProto histo = 5;
1401   bool has_histo() const;
1402   private:
1403   bool _internal_has_histo() const;
1404   public:
1405   void clear_histo();
1406   const ::tensorflow::HistogramProto& histo() const;
1407   PROTOBUF_NODISCARD ::tensorflow::HistogramProto* release_histo();
1408   ::tensorflow::HistogramProto* mutable_histo();
1409   void set_allocated_histo(::tensorflow::HistogramProto* histo);
1410   private:
1411   const ::tensorflow::HistogramProto& _internal_histo() const;
1412   ::tensorflow::HistogramProto* _internal_mutable_histo();
1413   public:
1414   void unsafe_arena_set_allocated_histo(
1415       ::tensorflow::HistogramProto* histo);
1416   ::tensorflow::HistogramProto* unsafe_arena_release_histo();
1417 
1418   // .tensorflow.Summary.Audio audio = 6;
1419   bool has_audio() const;
1420   private:
1421   bool _internal_has_audio() const;
1422   public:
1423   void clear_audio();
1424   const ::tensorflow::Summary_Audio& audio() const;
1425   PROTOBUF_NODISCARD ::tensorflow::Summary_Audio* release_audio();
1426   ::tensorflow::Summary_Audio* mutable_audio();
1427   void set_allocated_audio(::tensorflow::Summary_Audio* audio);
1428   private:
1429   const ::tensorflow::Summary_Audio& _internal_audio() const;
1430   ::tensorflow::Summary_Audio* _internal_mutable_audio();
1431   public:
1432   void unsafe_arena_set_allocated_audio(
1433       ::tensorflow::Summary_Audio* audio);
1434   ::tensorflow::Summary_Audio* unsafe_arena_release_audio();
1435 
1436   // .tensorflow.TensorProto tensor = 8;
1437   bool has_tensor() const;
1438   private:
1439   bool _internal_has_tensor() const;
1440   public:
1441   void clear_tensor();
1442   const ::tensorflow::TensorProto& tensor() const;
1443   PROTOBUF_NODISCARD ::tensorflow::TensorProto* release_tensor();
1444   ::tensorflow::TensorProto* mutable_tensor();
1445   void set_allocated_tensor(::tensorflow::TensorProto* tensor);
1446   private:
1447   const ::tensorflow::TensorProto& _internal_tensor() const;
1448   ::tensorflow::TensorProto* _internal_mutable_tensor();
1449   public:
1450   void unsafe_arena_set_allocated_tensor(
1451       ::tensorflow::TensorProto* tensor);
1452   ::tensorflow::TensorProto* unsafe_arena_release_tensor();
1453 
1454   void clear_value();
1455   ValueCase value_case() const;
1456   // @@protoc_insertion_point(class_scope:tensorflow.Summary.Value)
1457  private:
1458   class _Internal;
1459   void set_has_simple_value();
1460   void set_has_obsolete_old_style_histogram();
1461   void set_has_image();
1462   void set_has_histo();
1463   void set_has_audio();
1464   void set_has_tensor();
1465 
1466   inline bool has_value() const;
1467   inline void clear_has_value();
1468 
1469   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1470   typedef void InternalArenaConstructable_;
1471   typedef void DestructorSkippable_;
1472   struct Impl_ {
1473     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tag_;
1474     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr node_name_;
1475     ::tensorflow::SummaryMetadata* metadata_;
1476     union ValueUnion {
1477       constexpr ValueUnion() : _constinit_{} {}
1478         ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
1479       float simple_value_;
1480       ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr obsolete_old_style_histogram_;
1481       ::tensorflow::Summary_Image* image_;
1482       ::tensorflow::HistogramProto* histo_;
1483       ::tensorflow::Summary_Audio* audio_;
1484       ::tensorflow::TensorProto* tensor_;
1485     } value_;
1486     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1487     ::uint32_t _oneof_case_[1];
1488 
1489   };
1490   union { Impl_ _impl_; };
1491   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fsummary_2eproto;
1492 };
1493 // -------------------------------------------------------------------
1494 
1495 class Summary final :
1496     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.Summary) */ {
1497  public:
Summary()1498   inline Summary() : Summary(nullptr) {}
1499   ~Summary() override;
1500   explicit PROTOBUF_CONSTEXPR Summary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1501 
1502   Summary(const Summary& from);
Summary(Summary && from)1503   Summary(Summary&& from) noexcept
1504     : Summary() {
1505     *this = ::std::move(from);
1506   }
1507 
1508   inline Summary& operator=(const Summary& from) {
1509     if (this == &from) return *this;
1510     CopyFrom(from);
1511     return *this;
1512   }
1513   inline Summary& operator=(Summary&& from) noexcept {
1514     if (this == &from) return *this;
1515     if (GetOwningArena() == from.GetOwningArena()
1516   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1517         && GetOwningArena() != nullptr
1518   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1519     ) {
1520       InternalSwap(&from);
1521     } else {
1522       CopyFrom(from);
1523     }
1524     return *this;
1525   }
1526 
default_instance()1527   static const Summary& default_instance() {
1528     return *internal_default_instance();
1529   }
internal_default_instance()1530   static inline const Summary* internal_default_instance() {
1531     return reinterpret_cast<const Summary*>(
1532                &_Summary_default_instance_);
1533   }
1534   static constexpr int kIndexInFileMessages =
1535     7;
1536 
swap(Summary & a,Summary & b)1537   friend void swap(Summary& a, Summary& b) {
1538     a.Swap(&b);
1539   }
Swap(Summary * other)1540   inline void Swap(Summary* other) {
1541     if (other == this) return;
1542   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1543     if (GetOwningArena() != nullptr &&
1544         GetOwningArena() == other->GetOwningArena()) {
1545    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1546     if (GetOwningArena() == other->GetOwningArena()) {
1547   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1548       InternalSwap(other);
1549     } else {
1550       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1551     }
1552   }
1553   void UnsafeArenaSwap(Summary* other) {
1554     if (other == this) return;
1555     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1556     InternalSwap(other);
1557   }
1558 
1559   // implements Message ----------------------------------------------
1560 
1561   Summary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1562     return CreateMaybeMessage<Summary>(arena);
1563   }
1564   Summary* New() const {
1565     return New(nullptr);
1566   }
1567   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1568   void CopyFrom(const Summary& from);
1569   void MergeFrom(const Summary& from);
1570   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1571   bool IsInitialized() const final;
1572 
1573   size_t ByteSizeLong() const final;
1574   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1575   ::uint8_t* _InternalSerialize(
1576       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1577   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1578 
1579   private:
1580   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1581   void SharedDtor();
1582   void SetCachedSize(int size) const;
1583   void InternalSwap(Summary* other);
1584 
1585   private:
1586   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1587   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1588     return "tensorflow.Summary";
1589   }
1590   protected:
1591   explicit Summary(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1592                        bool is_message_owned = false);
1593   public:
1594 
1595   std::string GetTypeName() const final;
1596 
1597   // nested types ----------------------------------------------------
1598 
1599   typedef Summary_Image Image;
1600   typedef Summary_Audio Audio;
1601   typedef Summary_Value Value;
1602 
1603   // accessors -------------------------------------------------------
1604 
1605   enum : int {
1606     kValueFieldNumber = 1,
1607   };
1608   // repeated .tensorflow.Summary.Value value = 1;
1609   int value_size() const;
1610   private:
1611   int _internal_value_size() const;
1612   public:
1613   void clear_value();
1614   ::tensorflow::Summary_Value* mutable_value(int index);
1615   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::Summary_Value >*
1616       mutable_value();
1617   private:
1618   const ::tensorflow::Summary_Value& _internal_value(int index) const;
1619   ::tensorflow::Summary_Value* _internal_add_value();
1620   public:
1621   const ::tensorflow::Summary_Value& value(int index) const;
1622   ::tensorflow::Summary_Value* add_value();
1623   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::Summary_Value >&
1624       value() const;
1625 
1626   // @@protoc_insertion_point(class_scope:tensorflow.Summary)
1627  private:
1628   class _Internal;
1629 
1630   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1631   typedef void InternalArenaConstructable_;
1632   typedef void DestructorSkippable_;
1633   struct Impl_ {
1634     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::Summary_Value > value_;
1635     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1636   };
1637   union { Impl_ _impl_; };
1638   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fsummary_2eproto;
1639 };
1640 // ===================================================================
1641 
1642 
1643 // ===================================================================
1644 
1645 #ifdef __GNUC__
1646   #pragma GCC diagnostic push
1647   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1648 #endif  // __GNUC__
1649 // SummaryDescription
1650 
1651 // string type_hint = 1;
clear_type_hint()1652 inline void SummaryDescription::clear_type_hint() {
1653   _impl_.type_hint_.ClearToEmpty();
1654 }
type_hint()1655 inline const std::string& SummaryDescription::type_hint() const {
1656   // @@protoc_insertion_point(field_get:tensorflow.SummaryDescription.type_hint)
1657   return _internal_type_hint();
1658 }
1659 template <typename ArgT0, typename... ArgT>
1660 inline PROTOBUF_ALWAYS_INLINE
set_type_hint(ArgT0 && arg0,ArgT...args)1661 void SummaryDescription::set_type_hint(ArgT0&& arg0, ArgT... args) {
1662 
1663  _impl_.type_hint_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1664   // @@protoc_insertion_point(field_set:tensorflow.SummaryDescription.type_hint)
1665 }
mutable_type_hint()1666 inline std::string* SummaryDescription::mutable_type_hint() {
1667   std::string* _s = _internal_mutable_type_hint();
1668   // @@protoc_insertion_point(field_mutable:tensorflow.SummaryDescription.type_hint)
1669   return _s;
1670 }
_internal_type_hint()1671 inline const std::string& SummaryDescription::_internal_type_hint() const {
1672   return _impl_.type_hint_.Get();
1673 }
_internal_set_type_hint(const std::string & value)1674 inline void SummaryDescription::_internal_set_type_hint(const std::string& value) {
1675 
1676   _impl_.type_hint_.Set(value, GetArenaForAllocation());
1677 }
_internal_mutable_type_hint()1678 inline std::string* SummaryDescription::_internal_mutable_type_hint() {
1679 
1680   return _impl_.type_hint_.Mutable(GetArenaForAllocation());
1681 }
release_type_hint()1682 inline std::string* SummaryDescription::release_type_hint() {
1683   // @@protoc_insertion_point(field_release:tensorflow.SummaryDescription.type_hint)
1684   return _impl_.type_hint_.Release();
1685 }
set_allocated_type_hint(std::string * type_hint)1686 inline void SummaryDescription::set_allocated_type_hint(std::string* type_hint) {
1687   _impl_.type_hint_.SetAllocated(type_hint, GetArenaForAllocation());
1688 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1689   if (_impl_.type_hint_.IsDefault()) {
1690     _impl_.type_hint_.Set("", GetArenaForAllocation());
1691   }
1692 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1693   // @@protoc_insertion_point(field_set_allocated:tensorflow.SummaryDescription.type_hint)
1694 }
1695 
1696 // -------------------------------------------------------------------
1697 
1698 // HistogramProto
1699 
1700 // double min = 1;
clear_min()1701 inline void HistogramProto::clear_min() {
1702   _impl_.min_ = 0;
1703 }
_internal_min()1704 inline double HistogramProto::_internal_min() const {
1705   return _impl_.min_;
1706 }
min()1707 inline double HistogramProto::min() const {
1708   // @@protoc_insertion_point(field_get:tensorflow.HistogramProto.min)
1709   return _internal_min();
1710 }
_internal_set_min(double value)1711 inline void HistogramProto::_internal_set_min(double value) {
1712 
1713   _impl_.min_ = value;
1714 }
set_min(double value)1715 inline void HistogramProto::set_min(double value) {
1716   _internal_set_min(value);
1717   // @@protoc_insertion_point(field_set:tensorflow.HistogramProto.min)
1718 }
1719 
1720 // double max = 2;
clear_max()1721 inline void HistogramProto::clear_max() {
1722   _impl_.max_ = 0;
1723 }
_internal_max()1724 inline double HistogramProto::_internal_max() const {
1725   return _impl_.max_;
1726 }
max()1727 inline double HistogramProto::max() const {
1728   // @@protoc_insertion_point(field_get:tensorflow.HistogramProto.max)
1729   return _internal_max();
1730 }
_internal_set_max(double value)1731 inline void HistogramProto::_internal_set_max(double value) {
1732 
1733   _impl_.max_ = value;
1734 }
set_max(double value)1735 inline void HistogramProto::set_max(double value) {
1736   _internal_set_max(value);
1737   // @@protoc_insertion_point(field_set:tensorflow.HistogramProto.max)
1738 }
1739 
1740 // double num = 3;
clear_num()1741 inline void HistogramProto::clear_num() {
1742   _impl_.num_ = 0;
1743 }
_internal_num()1744 inline double HistogramProto::_internal_num() const {
1745   return _impl_.num_;
1746 }
num()1747 inline double HistogramProto::num() const {
1748   // @@protoc_insertion_point(field_get:tensorflow.HistogramProto.num)
1749   return _internal_num();
1750 }
_internal_set_num(double value)1751 inline void HistogramProto::_internal_set_num(double value) {
1752 
1753   _impl_.num_ = value;
1754 }
set_num(double value)1755 inline void HistogramProto::set_num(double value) {
1756   _internal_set_num(value);
1757   // @@protoc_insertion_point(field_set:tensorflow.HistogramProto.num)
1758 }
1759 
1760 // double sum = 4;
clear_sum()1761 inline void HistogramProto::clear_sum() {
1762   _impl_.sum_ = 0;
1763 }
_internal_sum()1764 inline double HistogramProto::_internal_sum() const {
1765   return _impl_.sum_;
1766 }
sum()1767 inline double HistogramProto::sum() const {
1768   // @@protoc_insertion_point(field_get:tensorflow.HistogramProto.sum)
1769   return _internal_sum();
1770 }
_internal_set_sum(double value)1771 inline void HistogramProto::_internal_set_sum(double value) {
1772 
1773   _impl_.sum_ = value;
1774 }
set_sum(double value)1775 inline void HistogramProto::set_sum(double value) {
1776   _internal_set_sum(value);
1777   // @@protoc_insertion_point(field_set:tensorflow.HistogramProto.sum)
1778 }
1779 
1780 // double sum_squares = 5;
clear_sum_squares()1781 inline void HistogramProto::clear_sum_squares() {
1782   _impl_.sum_squares_ = 0;
1783 }
_internal_sum_squares()1784 inline double HistogramProto::_internal_sum_squares() const {
1785   return _impl_.sum_squares_;
1786 }
sum_squares()1787 inline double HistogramProto::sum_squares() const {
1788   // @@protoc_insertion_point(field_get:tensorflow.HistogramProto.sum_squares)
1789   return _internal_sum_squares();
1790 }
_internal_set_sum_squares(double value)1791 inline void HistogramProto::_internal_set_sum_squares(double value) {
1792 
1793   _impl_.sum_squares_ = value;
1794 }
set_sum_squares(double value)1795 inline void HistogramProto::set_sum_squares(double value) {
1796   _internal_set_sum_squares(value);
1797   // @@protoc_insertion_point(field_set:tensorflow.HistogramProto.sum_squares)
1798 }
1799 
1800 // repeated double bucket_limit = 6 [packed = true];
_internal_bucket_limit_size()1801 inline int HistogramProto::_internal_bucket_limit_size() const {
1802   return _impl_.bucket_limit_.size();
1803 }
bucket_limit_size()1804 inline int HistogramProto::bucket_limit_size() const {
1805   return _internal_bucket_limit_size();
1806 }
clear_bucket_limit()1807 inline void HistogramProto::clear_bucket_limit() {
1808   _impl_.bucket_limit_.Clear();
1809 }
_internal_bucket_limit(int index)1810 inline double HistogramProto::_internal_bucket_limit(int index) const {
1811   return _impl_.bucket_limit_.Get(index);
1812 }
bucket_limit(int index)1813 inline double HistogramProto::bucket_limit(int index) const {
1814   // @@protoc_insertion_point(field_get:tensorflow.HistogramProto.bucket_limit)
1815   return _internal_bucket_limit(index);
1816 }
set_bucket_limit(int index,double value)1817 inline void HistogramProto::set_bucket_limit(int index, double value) {
1818   _impl_.bucket_limit_.Set(index, value);
1819   // @@protoc_insertion_point(field_set:tensorflow.HistogramProto.bucket_limit)
1820 }
_internal_add_bucket_limit(double value)1821 inline void HistogramProto::_internal_add_bucket_limit(double value) {
1822   _impl_.bucket_limit_.Add(value);
1823 }
add_bucket_limit(double value)1824 inline void HistogramProto::add_bucket_limit(double value) {
1825   _internal_add_bucket_limit(value);
1826   // @@protoc_insertion_point(field_add:tensorflow.HistogramProto.bucket_limit)
1827 }
1828 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
_internal_bucket_limit()1829 HistogramProto::_internal_bucket_limit() const {
1830   return _impl_.bucket_limit_;
1831 }
1832 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
bucket_limit()1833 HistogramProto::bucket_limit() const {
1834   // @@protoc_insertion_point(field_list:tensorflow.HistogramProto.bucket_limit)
1835   return _internal_bucket_limit();
1836 }
1837 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
_internal_mutable_bucket_limit()1838 HistogramProto::_internal_mutable_bucket_limit() {
1839   return &_impl_.bucket_limit_;
1840 }
1841 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
mutable_bucket_limit()1842 HistogramProto::mutable_bucket_limit() {
1843   // @@protoc_insertion_point(field_mutable_list:tensorflow.HistogramProto.bucket_limit)
1844   return _internal_mutable_bucket_limit();
1845 }
1846 
1847 // repeated double bucket = 7 [packed = true];
_internal_bucket_size()1848 inline int HistogramProto::_internal_bucket_size() const {
1849   return _impl_.bucket_.size();
1850 }
bucket_size()1851 inline int HistogramProto::bucket_size() const {
1852   return _internal_bucket_size();
1853 }
clear_bucket()1854 inline void HistogramProto::clear_bucket() {
1855   _impl_.bucket_.Clear();
1856 }
_internal_bucket(int index)1857 inline double HistogramProto::_internal_bucket(int index) const {
1858   return _impl_.bucket_.Get(index);
1859 }
bucket(int index)1860 inline double HistogramProto::bucket(int index) const {
1861   // @@protoc_insertion_point(field_get:tensorflow.HistogramProto.bucket)
1862   return _internal_bucket(index);
1863 }
set_bucket(int index,double value)1864 inline void HistogramProto::set_bucket(int index, double value) {
1865   _impl_.bucket_.Set(index, value);
1866   // @@protoc_insertion_point(field_set:tensorflow.HistogramProto.bucket)
1867 }
_internal_add_bucket(double value)1868 inline void HistogramProto::_internal_add_bucket(double value) {
1869   _impl_.bucket_.Add(value);
1870 }
add_bucket(double value)1871 inline void HistogramProto::add_bucket(double value) {
1872   _internal_add_bucket(value);
1873   // @@protoc_insertion_point(field_add:tensorflow.HistogramProto.bucket)
1874 }
1875 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
_internal_bucket()1876 HistogramProto::_internal_bucket() const {
1877   return _impl_.bucket_;
1878 }
1879 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
bucket()1880 HistogramProto::bucket() const {
1881   // @@protoc_insertion_point(field_list:tensorflow.HistogramProto.bucket)
1882   return _internal_bucket();
1883 }
1884 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
_internal_mutable_bucket()1885 HistogramProto::_internal_mutable_bucket() {
1886   return &_impl_.bucket_;
1887 }
1888 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
mutable_bucket()1889 HistogramProto::mutable_bucket() {
1890   // @@protoc_insertion_point(field_mutable_list:tensorflow.HistogramProto.bucket)
1891   return _internal_mutable_bucket();
1892 }
1893 
1894 // -------------------------------------------------------------------
1895 
1896 // SummaryMetadata_PluginData
1897 
1898 // string plugin_name = 1;
clear_plugin_name()1899 inline void SummaryMetadata_PluginData::clear_plugin_name() {
1900   _impl_.plugin_name_.ClearToEmpty();
1901 }
plugin_name()1902 inline const std::string& SummaryMetadata_PluginData::plugin_name() const {
1903   // @@protoc_insertion_point(field_get:tensorflow.SummaryMetadata.PluginData.plugin_name)
1904   return _internal_plugin_name();
1905 }
1906 template <typename ArgT0, typename... ArgT>
1907 inline PROTOBUF_ALWAYS_INLINE
set_plugin_name(ArgT0 && arg0,ArgT...args)1908 void SummaryMetadata_PluginData::set_plugin_name(ArgT0&& arg0, ArgT... args) {
1909 
1910  _impl_.plugin_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1911   // @@protoc_insertion_point(field_set:tensorflow.SummaryMetadata.PluginData.plugin_name)
1912 }
mutable_plugin_name()1913 inline std::string* SummaryMetadata_PluginData::mutable_plugin_name() {
1914   std::string* _s = _internal_mutable_plugin_name();
1915   // @@protoc_insertion_point(field_mutable:tensorflow.SummaryMetadata.PluginData.plugin_name)
1916   return _s;
1917 }
_internal_plugin_name()1918 inline const std::string& SummaryMetadata_PluginData::_internal_plugin_name() const {
1919   return _impl_.plugin_name_.Get();
1920 }
_internal_set_plugin_name(const std::string & value)1921 inline void SummaryMetadata_PluginData::_internal_set_plugin_name(const std::string& value) {
1922 
1923   _impl_.plugin_name_.Set(value, GetArenaForAllocation());
1924 }
_internal_mutable_plugin_name()1925 inline std::string* SummaryMetadata_PluginData::_internal_mutable_plugin_name() {
1926 
1927   return _impl_.plugin_name_.Mutable(GetArenaForAllocation());
1928 }
release_plugin_name()1929 inline std::string* SummaryMetadata_PluginData::release_plugin_name() {
1930   // @@protoc_insertion_point(field_release:tensorflow.SummaryMetadata.PluginData.plugin_name)
1931   return _impl_.plugin_name_.Release();
1932 }
set_allocated_plugin_name(std::string * plugin_name)1933 inline void SummaryMetadata_PluginData::set_allocated_plugin_name(std::string* plugin_name) {
1934   _impl_.plugin_name_.SetAllocated(plugin_name, GetArenaForAllocation());
1935 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1936   if (_impl_.plugin_name_.IsDefault()) {
1937     _impl_.plugin_name_.Set("", GetArenaForAllocation());
1938   }
1939 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1940   // @@protoc_insertion_point(field_set_allocated:tensorflow.SummaryMetadata.PluginData.plugin_name)
1941 }
1942 
1943 // bytes content = 2;
clear_content()1944 inline void SummaryMetadata_PluginData::clear_content() {
1945   _impl_.content_.ClearToEmpty();
1946 }
content()1947 inline const std::string& SummaryMetadata_PluginData::content() const {
1948   // @@protoc_insertion_point(field_get:tensorflow.SummaryMetadata.PluginData.content)
1949   return _internal_content();
1950 }
1951 template <typename ArgT0, typename... ArgT>
1952 inline PROTOBUF_ALWAYS_INLINE
set_content(ArgT0 && arg0,ArgT...args)1953 void SummaryMetadata_PluginData::set_content(ArgT0&& arg0, ArgT... args) {
1954 
1955  _impl_.content_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1956   // @@protoc_insertion_point(field_set:tensorflow.SummaryMetadata.PluginData.content)
1957 }
mutable_content()1958 inline std::string* SummaryMetadata_PluginData::mutable_content() {
1959   std::string* _s = _internal_mutable_content();
1960   // @@protoc_insertion_point(field_mutable:tensorflow.SummaryMetadata.PluginData.content)
1961   return _s;
1962 }
_internal_content()1963 inline const std::string& SummaryMetadata_PluginData::_internal_content() const {
1964   return _impl_.content_.Get();
1965 }
_internal_set_content(const std::string & value)1966 inline void SummaryMetadata_PluginData::_internal_set_content(const std::string& value) {
1967 
1968   _impl_.content_.Set(value, GetArenaForAllocation());
1969 }
_internal_mutable_content()1970 inline std::string* SummaryMetadata_PluginData::_internal_mutable_content() {
1971 
1972   return _impl_.content_.Mutable(GetArenaForAllocation());
1973 }
release_content()1974 inline std::string* SummaryMetadata_PluginData::release_content() {
1975   // @@protoc_insertion_point(field_release:tensorflow.SummaryMetadata.PluginData.content)
1976   return _impl_.content_.Release();
1977 }
set_allocated_content(std::string * content)1978 inline void SummaryMetadata_PluginData::set_allocated_content(std::string* content) {
1979   _impl_.content_.SetAllocated(content, GetArenaForAllocation());
1980 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1981   if (_impl_.content_.IsDefault()) {
1982     _impl_.content_.Set("", GetArenaForAllocation());
1983   }
1984 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1985   // @@protoc_insertion_point(field_set_allocated:tensorflow.SummaryMetadata.PluginData.content)
1986 }
1987 
1988 // -------------------------------------------------------------------
1989 
1990 // SummaryMetadata
1991 
1992 // .tensorflow.SummaryMetadata.PluginData plugin_data = 1;
_internal_has_plugin_data()1993 inline bool SummaryMetadata::_internal_has_plugin_data() const {
1994   return this != internal_default_instance() && _impl_.plugin_data_ != nullptr;
1995 }
has_plugin_data()1996 inline bool SummaryMetadata::has_plugin_data() const {
1997   return _internal_has_plugin_data();
1998 }
clear_plugin_data()1999 inline void SummaryMetadata::clear_plugin_data() {
2000   if (GetArenaForAllocation() == nullptr && _impl_.plugin_data_ != nullptr) {
2001     delete _impl_.plugin_data_;
2002   }
2003   _impl_.plugin_data_ = nullptr;
2004 }
_internal_plugin_data()2005 inline const ::tensorflow::SummaryMetadata_PluginData& SummaryMetadata::_internal_plugin_data() const {
2006   const ::tensorflow::SummaryMetadata_PluginData* p = _impl_.plugin_data_;
2007   return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::SummaryMetadata_PluginData&>(
2008       ::tensorflow::_SummaryMetadata_PluginData_default_instance_);
2009 }
plugin_data()2010 inline const ::tensorflow::SummaryMetadata_PluginData& SummaryMetadata::plugin_data() const {
2011   // @@protoc_insertion_point(field_get:tensorflow.SummaryMetadata.plugin_data)
2012   return _internal_plugin_data();
2013 }
unsafe_arena_set_allocated_plugin_data(::tensorflow::SummaryMetadata_PluginData * plugin_data)2014 inline void SummaryMetadata::unsafe_arena_set_allocated_plugin_data(
2015     ::tensorflow::SummaryMetadata_PluginData* plugin_data) {
2016   if (GetArenaForAllocation() == nullptr) {
2017     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.plugin_data_);
2018   }
2019   _impl_.plugin_data_ = plugin_data;
2020   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.SummaryMetadata.plugin_data)
2021 }
release_plugin_data()2022 inline ::tensorflow::SummaryMetadata_PluginData* SummaryMetadata::release_plugin_data() {
2023 
2024   ::tensorflow::SummaryMetadata_PluginData* temp = _impl_.plugin_data_;
2025   _impl_.plugin_data_ = nullptr;
2026 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2027   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2028   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2029   if (GetArenaForAllocation() == nullptr) { delete old; }
2030 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
2031   if (GetArenaForAllocation() != nullptr) {
2032     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2033   }
2034 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
2035   return temp;
2036 }
unsafe_arena_release_plugin_data()2037 inline ::tensorflow::SummaryMetadata_PluginData* SummaryMetadata::unsafe_arena_release_plugin_data() {
2038   // @@protoc_insertion_point(field_release:tensorflow.SummaryMetadata.plugin_data)
2039 
2040   ::tensorflow::SummaryMetadata_PluginData* temp = _impl_.plugin_data_;
2041   _impl_.plugin_data_ = nullptr;
2042   return temp;
2043 }
_internal_mutable_plugin_data()2044 inline ::tensorflow::SummaryMetadata_PluginData* SummaryMetadata::_internal_mutable_plugin_data() {
2045 
2046   if (_impl_.plugin_data_ == nullptr) {
2047     auto* p = CreateMaybeMessage<::tensorflow::SummaryMetadata_PluginData>(GetArenaForAllocation());
2048     _impl_.plugin_data_ = p;
2049   }
2050   return _impl_.plugin_data_;
2051 }
mutable_plugin_data()2052 inline ::tensorflow::SummaryMetadata_PluginData* SummaryMetadata::mutable_plugin_data() {
2053   ::tensorflow::SummaryMetadata_PluginData* _msg = _internal_mutable_plugin_data();
2054   // @@protoc_insertion_point(field_mutable:tensorflow.SummaryMetadata.plugin_data)
2055   return _msg;
2056 }
set_allocated_plugin_data(::tensorflow::SummaryMetadata_PluginData * plugin_data)2057 inline void SummaryMetadata::set_allocated_plugin_data(::tensorflow::SummaryMetadata_PluginData* plugin_data) {
2058   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2059   if (message_arena == nullptr) {
2060     delete _impl_.plugin_data_;
2061   }
2062   if (plugin_data) {
2063     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2064         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(plugin_data);
2065     if (message_arena != submessage_arena) {
2066       plugin_data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2067           message_arena, plugin_data, submessage_arena);
2068     }
2069 
2070   } else {
2071 
2072   }
2073   _impl_.plugin_data_ = plugin_data;
2074   // @@protoc_insertion_point(field_set_allocated:tensorflow.SummaryMetadata.plugin_data)
2075 }
2076 
2077 // string display_name = 2;
clear_display_name()2078 inline void SummaryMetadata::clear_display_name() {
2079   _impl_.display_name_.ClearToEmpty();
2080 }
display_name()2081 inline const std::string& SummaryMetadata::display_name() const {
2082   // @@protoc_insertion_point(field_get:tensorflow.SummaryMetadata.display_name)
2083   return _internal_display_name();
2084 }
2085 template <typename ArgT0, typename... ArgT>
2086 inline PROTOBUF_ALWAYS_INLINE
set_display_name(ArgT0 && arg0,ArgT...args)2087 void SummaryMetadata::set_display_name(ArgT0&& arg0, ArgT... args) {
2088 
2089  _impl_.display_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2090   // @@protoc_insertion_point(field_set:tensorflow.SummaryMetadata.display_name)
2091 }
mutable_display_name()2092 inline std::string* SummaryMetadata::mutable_display_name() {
2093   std::string* _s = _internal_mutable_display_name();
2094   // @@protoc_insertion_point(field_mutable:tensorflow.SummaryMetadata.display_name)
2095   return _s;
2096 }
_internal_display_name()2097 inline const std::string& SummaryMetadata::_internal_display_name() const {
2098   return _impl_.display_name_.Get();
2099 }
_internal_set_display_name(const std::string & value)2100 inline void SummaryMetadata::_internal_set_display_name(const std::string& value) {
2101 
2102   _impl_.display_name_.Set(value, GetArenaForAllocation());
2103 }
_internal_mutable_display_name()2104 inline std::string* SummaryMetadata::_internal_mutable_display_name() {
2105 
2106   return _impl_.display_name_.Mutable(GetArenaForAllocation());
2107 }
release_display_name()2108 inline std::string* SummaryMetadata::release_display_name() {
2109   // @@protoc_insertion_point(field_release:tensorflow.SummaryMetadata.display_name)
2110   return _impl_.display_name_.Release();
2111 }
set_allocated_display_name(std::string * display_name)2112 inline void SummaryMetadata::set_allocated_display_name(std::string* display_name) {
2113   _impl_.display_name_.SetAllocated(display_name, GetArenaForAllocation());
2114 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2115   if (_impl_.display_name_.IsDefault()) {
2116     _impl_.display_name_.Set("", GetArenaForAllocation());
2117   }
2118 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2119   // @@protoc_insertion_point(field_set_allocated:tensorflow.SummaryMetadata.display_name)
2120 }
2121 
2122 // string summary_description = 3;
clear_summary_description()2123 inline void SummaryMetadata::clear_summary_description() {
2124   _impl_.summary_description_.ClearToEmpty();
2125 }
summary_description()2126 inline const std::string& SummaryMetadata::summary_description() const {
2127   // @@protoc_insertion_point(field_get:tensorflow.SummaryMetadata.summary_description)
2128   return _internal_summary_description();
2129 }
2130 template <typename ArgT0, typename... ArgT>
2131 inline PROTOBUF_ALWAYS_INLINE
set_summary_description(ArgT0 && arg0,ArgT...args)2132 void SummaryMetadata::set_summary_description(ArgT0&& arg0, ArgT... args) {
2133 
2134  _impl_.summary_description_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2135   // @@protoc_insertion_point(field_set:tensorflow.SummaryMetadata.summary_description)
2136 }
mutable_summary_description()2137 inline std::string* SummaryMetadata::mutable_summary_description() {
2138   std::string* _s = _internal_mutable_summary_description();
2139   // @@protoc_insertion_point(field_mutable:tensorflow.SummaryMetadata.summary_description)
2140   return _s;
2141 }
_internal_summary_description()2142 inline const std::string& SummaryMetadata::_internal_summary_description() const {
2143   return _impl_.summary_description_.Get();
2144 }
_internal_set_summary_description(const std::string & value)2145 inline void SummaryMetadata::_internal_set_summary_description(const std::string& value) {
2146 
2147   _impl_.summary_description_.Set(value, GetArenaForAllocation());
2148 }
_internal_mutable_summary_description()2149 inline std::string* SummaryMetadata::_internal_mutable_summary_description() {
2150 
2151   return _impl_.summary_description_.Mutable(GetArenaForAllocation());
2152 }
release_summary_description()2153 inline std::string* SummaryMetadata::release_summary_description() {
2154   // @@protoc_insertion_point(field_release:tensorflow.SummaryMetadata.summary_description)
2155   return _impl_.summary_description_.Release();
2156 }
set_allocated_summary_description(std::string * summary_description)2157 inline void SummaryMetadata::set_allocated_summary_description(std::string* summary_description) {
2158   _impl_.summary_description_.SetAllocated(summary_description, GetArenaForAllocation());
2159 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2160   if (_impl_.summary_description_.IsDefault()) {
2161     _impl_.summary_description_.Set("", GetArenaForAllocation());
2162   }
2163 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2164   // @@protoc_insertion_point(field_set_allocated:tensorflow.SummaryMetadata.summary_description)
2165 }
2166 
2167 // .tensorflow.DataClass data_class = 4;
clear_data_class()2168 inline void SummaryMetadata::clear_data_class() {
2169   _impl_.data_class_ = 0;
2170 }
_internal_data_class()2171 inline ::tensorflow::DataClass SummaryMetadata::_internal_data_class() const {
2172   return static_cast< ::tensorflow::DataClass >(_impl_.data_class_);
2173 }
data_class()2174 inline ::tensorflow::DataClass SummaryMetadata::data_class() const {
2175   // @@protoc_insertion_point(field_get:tensorflow.SummaryMetadata.data_class)
2176   return _internal_data_class();
2177 }
_internal_set_data_class(::tensorflow::DataClass value)2178 inline void SummaryMetadata::_internal_set_data_class(::tensorflow::DataClass value) {
2179 
2180   _impl_.data_class_ = value;
2181 }
set_data_class(::tensorflow::DataClass value)2182 inline void SummaryMetadata::set_data_class(::tensorflow::DataClass value) {
2183   _internal_set_data_class(value);
2184   // @@protoc_insertion_point(field_set:tensorflow.SummaryMetadata.data_class)
2185 }
2186 
2187 // -------------------------------------------------------------------
2188 
2189 // Summary_Image
2190 
2191 // int32 height = 1;
clear_height()2192 inline void Summary_Image::clear_height() {
2193   _impl_.height_ = 0;
2194 }
_internal_height()2195 inline ::int32_t Summary_Image::_internal_height() const {
2196   return _impl_.height_;
2197 }
height()2198 inline ::int32_t Summary_Image::height() const {
2199   // @@protoc_insertion_point(field_get:tensorflow.Summary.Image.height)
2200   return _internal_height();
2201 }
_internal_set_height(::int32_t value)2202 inline void Summary_Image::_internal_set_height(::int32_t value) {
2203 
2204   _impl_.height_ = value;
2205 }
set_height(::int32_t value)2206 inline void Summary_Image::set_height(::int32_t value) {
2207   _internal_set_height(value);
2208   // @@protoc_insertion_point(field_set:tensorflow.Summary.Image.height)
2209 }
2210 
2211 // int32 width = 2;
clear_width()2212 inline void Summary_Image::clear_width() {
2213   _impl_.width_ = 0;
2214 }
_internal_width()2215 inline ::int32_t Summary_Image::_internal_width() const {
2216   return _impl_.width_;
2217 }
width()2218 inline ::int32_t Summary_Image::width() const {
2219   // @@protoc_insertion_point(field_get:tensorflow.Summary.Image.width)
2220   return _internal_width();
2221 }
_internal_set_width(::int32_t value)2222 inline void Summary_Image::_internal_set_width(::int32_t value) {
2223 
2224   _impl_.width_ = value;
2225 }
set_width(::int32_t value)2226 inline void Summary_Image::set_width(::int32_t value) {
2227   _internal_set_width(value);
2228   // @@protoc_insertion_point(field_set:tensorflow.Summary.Image.width)
2229 }
2230 
2231 // int32 colorspace = 3;
clear_colorspace()2232 inline void Summary_Image::clear_colorspace() {
2233   _impl_.colorspace_ = 0;
2234 }
_internal_colorspace()2235 inline ::int32_t Summary_Image::_internal_colorspace() const {
2236   return _impl_.colorspace_;
2237 }
colorspace()2238 inline ::int32_t Summary_Image::colorspace() const {
2239   // @@protoc_insertion_point(field_get:tensorflow.Summary.Image.colorspace)
2240   return _internal_colorspace();
2241 }
_internal_set_colorspace(::int32_t value)2242 inline void Summary_Image::_internal_set_colorspace(::int32_t value) {
2243 
2244   _impl_.colorspace_ = value;
2245 }
set_colorspace(::int32_t value)2246 inline void Summary_Image::set_colorspace(::int32_t value) {
2247   _internal_set_colorspace(value);
2248   // @@protoc_insertion_point(field_set:tensorflow.Summary.Image.colorspace)
2249 }
2250 
2251 // bytes encoded_image_string = 4;
clear_encoded_image_string()2252 inline void Summary_Image::clear_encoded_image_string() {
2253   _impl_.encoded_image_string_.ClearToEmpty();
2254 }
encoded_image_string()2255 inline const std::string& Summary_Image::encoded_image_string() const {
2256   // @@protoc_insertion_point(field_get:tensorflow.Summary.Image.encoded_image_string)
2257   return _internal_encoded_image_string();
2258 }
2259 template <typename ArgT0, typename... ArgT>
2260 inline PROTOBUF_ALWAYS_INLINE
set_encoded_image_string(ArgT0 && arg0,ArgT...args)2261 void Summary_Image::set_encoded_image_string(ArgT0&& arg0, ArgT... args) {
2262 
2263  _impl_.encoded_image_string_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2264   // @@protoc_insertion_point(field_set:tensorflow.Summary.Image.encoded_image_string)
2265 }
mutable_encoded_image_string()2266 inline std::string* Summary_Image::mutable_encoded_image_string() {
2267   std::string* _s = _internal_mutable_encoded_image_string();
2268   // @@protoc_insertion_point(field_mutable:tensorflow.Summary.Image.encoded_image_string)
2269   return _s;
2270 }
_internal_encoded_image_string()2271 inline const std::string& Summary_Image::_internal_encoded_image_string() const {
2272   return _impl_.encoded_image_string_.Get();
2273 }
_internal_set_encoded_image_string(const std::string & value)2274 inline void Summary_Image::_internal_set_encoded_image_string(const std::string& value) {
2275 
2276   _impl_.encoded_image_string_.Set(value, GetArenaForAllocation());
2277 }
_internal_mutable_encoded_image_string()2278 inline std::string* Summary_Image::_internal_mutable_encoded_image_string() {
2279 
2280   return _impl_.encoded_image_string_.Mutable(GetArenaForAllocation());
2281 }
release_encoded_image_string()2282 inline std::string* Summary_Image::release_encoded_image_string() {
2283   // @@protoc_insertion_point(field_release:tensorflow.Summary.Image.encoded_image_string)
2284   return _impl_.encoded_image_string_.Release();
2285 }
set_allocated_encoded_image_string(std::string * encoded_image_string)2286 inline void Summary_Image::set_allocated_encoded_image_string(std::string* encoded_image_string) {
2287   _impl_.encoded_image_string_.SetAllocated(encoded_image_string, GetArenaForAllocation());
2288 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2289   if (_impl_.encoded_image_string_.IsDefault()) {
2290     _impl_.encoded_image_string_.Set("", GetArenaForAllocation());
2291   }
2292 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2293   // @@protoc_insertion_point(field_set_allocated:tensorflow.Summary.Image.encoded_image_string)
2294 }
2295 
2296 // -------------------------------------------------------------------
2297 
2298 // Summary_Audio
2299 
2300 // float sample_rate = 1;
clear_sample_rate()2301 inline void Summary_Audio::clear_sample_rate() {
2302   _impl_.sample_rate_ = 0;
2303 }
_internal_sample_rate()2304 inline float Summary_Audio::_internal_sample_rate() const {
2305   return _impl_.sample_rate_;
2306 }
sample_rate()2307 inline float Summary_Audio::sample_rate() const {
2308   // @@protoc_insertion_point(field_get:tensorflow.Summary.Audio.sample_rate)
2309   return _internal_sample_rate();
2310 }
_internal_set_sample_rate(float value)2311 inline void Summary_Audio::_internal_set_sample_rate(float value) {
2312 
2313   _impl_.sample_rate_ = value;
2314 }
set_sample_rate(float value)2315 inline void Summary_Audio::set_sample_rate(float value) {
2316   _internal_set_sample_rate(value);
2317   // @@protoc_insertion_point(field_set:tensorflow.Summary.Audio.sample_rate)
2318 }
2319 
2320 // int64 num_channels = 2;
clear_num_channels()2321 inline void Summary_Audio::clear_num_channels() {
2322   _impl_.num_channels_ = ::int64_t{0};
2323 }
_internal_num_channels()2324 inline ::int64_t Summary_Audio::_internal_num_channels() const {
2325   return _impl_.num_channels_;
2326 }
num_channels()2327 inline ::int64_t Summary_Audio::num_channels() const {
2328   // @@protoc_insertion_point(field_get:tensorflow.Summary.Audio.num_channels)
2329   return _internal_num_channels();
2330 }
_internal_set_num_channels(::int64_t value)2331 inline void Summary_Audio::_internal_set_num_channels(::int64_t value) {
2332 
2333   _impl_.num_channels_ = value;
2334 }
set_num_channels(::int64_t value)2335 inline void Summary_Audio::set_num_channels(::int64_t value) {
2336   _internal_set_num_channels(value);
2337   // @@protoc_insertion_point(field_set:tensorflow.Summary.Audio.num_channels)
2338 }
2339 
2340 // int64 length_frames = 3;
clear_length_frames()2341 inline void Summary_Audio::clear_length_frames() {
2342   _impl_.length_frames_ = ::int64_t{0};
2343 }
_internal_length_frames()2344 inline ::int64_t Summary_Audio::_internal_length_frames() const {
2345   return _impl_.length_frames_;
2346 }
length_frames()2347 inline ::int64_t Summary_Audio::length_frames() const {
2348   // @@protoc_insertion_point(field_get:tensorflow.Summary.Audio.length_frames)
2349   return _internal_length_frames();
2350 }
_internal_set_length_frames(::int64_t value)2351 inline void Summary_Audio::_internal_set_length_frames(::int64_t value) {
2352 
2353   _impl_.length_frames_ = value;
2354 }
set_length_frames(::int64_t value)2355 inline void Summary_Audio::set_length_frames(::int64_t value) {
2356   _internal_set_length_frames(value);
2357   // @@protoc_insertion_point(field_set:tensorflow.Summary.Audio.length_frames)
2358 }
2359 
2360 // bytes encoded_audio_string = 4;
clear_encoded_audio_string()2361 inline void Summary_Audio::clear_encoded_audio_string() {
2362   _impl_.encoded_audio_string_.ClearToEmpty();
2363 }
encoded_audio_string()2364 inline const std::string& Summary_Audio::encoded_audio_string() const {
2365   // @@protoc_insertion_point(field_get:tensorflow.Summary.Audio.encoded_audio_string)
2366   return _internal_encoded_audio_string();
2367 }
2368 template <typename ArgT0, typename... ArgT>
2369 inline PROTOBUF_ALWAYS_INLINE
set_encoded_audio_string(ArgT0 && arg0,ArgT...args)2370 void Summary_Audio::set_encoded_audio_string(ArgT0&& arg0, ArgT... args) {
2371 
2372  _impl_.encoded_audio_string_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2373   // @@protoc_insertion_point(field_set:tensorflow.Summary.Audio.encoded_audio_string)
2374 }
mutable_encoded_audio_string()2375 inline std::string* Summary_Audio::mutable_encoded_audio_string() {
2376   std::string* _s = _internal_mutable_encoded_audio_string();
2377   // @@protoc_insertion_point(field_mutable:tensorflow.Summary.Audio.encoded_audio_string)
2378   return _s;
2379 }
_internal_encoded_audio_string()2380 inline const std::string& Summary_Audio::_internal_encoded_audio_string() const {
2381   return _impl_.encoded_audio_string_.Get();
2382 }
_internal_set_encoded_audio_string(const std::string & value)2383 inline void Summary_Audio::_internal_set_encoded_audio_string(const std::string& value) {
2384 
2385   _impl_.encoded_audio_string_.Set(value, GetArenaForAllocation());
2386 }
_internal_mutable_encoded_audio_string()2387 inline std::string* Summary_Audio::_internal_mutable_encoded_audio_string() {
2388 
2389   return _impl_.encoded_audio_string_.Mutable(GetArenaForAllocation());
2390 }
release_encoded_audio_string()2391 inline std::string* Summary_Audio::release_encoded_audio_string() {
2392   // @@protoc_insertion_point(field_release:tensorflow.Summary.Audio.encoded_audio_string)
2393   return _impl_.encoded_audio_string_.Release();
2394 }
set_allocated_encoded_audio_string(std::string * encoded_audio_string)2395 inline void Summary_Audio::set_allocated_encoded_audio_string(std::string* encoded_audio_string) {
2396   _impl_.encoded_audio_string_.SetAllocated(encoded_audio_string, GetArenaForAllocation());
2397 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2398   if (_impl_.encoded_audio_string_.IsDefault()) {
2399     _impl_.encoded_audio_string_.Set("", GetArenaForAllocation());
2400   }
2401 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2402   // @@protoc_insertion_point(field_set_allocated:tensorflow.Summary.Audio.encoded_audio_string)
2403 }
2404 
2405 // string content_type = 5;
clear_content_type()2406 inline void Summary_Audio::clear_content_type() {
2407   _impl_.content_type_.ClearToEmpty();
2408 }
content_type()2409 inline const std::string& Summary_Audio::content_type() const {
2410   // @@protoc_insertion_point(field_get:tensorflow.Summary.Audio.content_type)
2411   return _internal_content_type();
2412 }
2413 template <typename ArgT0, typename... ArgT>
2414 inline PROTOBUF_ALWAYS_INLINE
set_content_type(ArgT0 && arg0,ArgT...args)2415 void Summary_Audio::set_content_type(ArgT0&& arg0, ArgT... args) {
2416 
2417  _impl_.content_type_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2418   // @@protoc_insertion_point(field_set:tensorflow.Summary.Audio.content_type)
2419 }
mutable_content_type()2420 inline std::string* Summary_Audio::mutable_content_type() {
2421   std::string* _s = _internal_mutable_content_type();
2422   // @@protoc_insertion_point(field_mutable:tensorflow.Summary.Audio.content_type)
2423   return _s;
2424 }
_internal_content_type()2425 inline const std::string& Summary_Audio::_internal_content_type() const {
2426   return _impl_.content_type_.Get();
2427 }
_internal_set_content_type(const std::string & value)2428 inline void Summary_Audio::_internal_set_content_type(const std::string& value) {
2429 
2430   _impl_.content_type_.Set(value, GetArenaForAllocation());
2431 }
_internal_mutable_content_type()2432 inline std::string* Summary_Audio::_internal_mutable_content_type() {
2433 
2434   return _impl_.content_type_.Mutable(GetArenaForAllocation());
2435 }
release_content_type()2436 inline std::string* Summary_Audio::release_content_type() {
2437   // @@protoc_insertion_point(field_release:tensorflow.Summary.Audio.content_type)
2438   return _impl_.content_type_.Release();
2439 }
set_allocated_content_type(std::string * content_type)2440 inline void Summary_Audio::set_allocated_content_type(std::string* content_type) {
2441   _impl_.content_type_.SetAllocated(content_type, GetArenaForAllocation());
2442 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2443   if (_impl_.content_type_.IsDefault()) {
2444     _impl_.content_type_.Set("", GetArenaForAllocation());
2445   }
2446 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2447   // @@protoc_insertion_point(field_set_allocated:tensorflow.Summary.Audio.content_type)
2448 }
2449 
2450 // -------------------------------------------------------------------
2451 
2452 // Summary_Value
2453 
2454 // string node_name = 7;
clear_node_name()2455 inline void Summary_Value::clear_node_name() {
2456   _impl_.node_name_.ClearToEmpty();
2457 }
node_name()2458 inline const std::string& Summary_Value::node_name() const {
2459   // @@protoc_insertion_point(field_get:tensorflow.Summary.Value.node_name)
2460   return _internal_node_name();
2461 }
2462 template <typename ArgT0, typename... ArgT>
2463 inline PROTOBUF_ALWAYS_INLINE
set_node_name(ArgT0 && arg0,ArgT...args)2464 void Summary_Value::set_node_name(ArgT0&& arg0, ArgT... args) {
2465 
2466  _impl_.node_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2467   // @@protoc_insertion_point(field_set:tensorflow.Summary.Value.node_name)
2468 }
mutable_node_name()2469 inline std::string* Summary_Value::mutable_node_name() {
2470   std::string* _s = _internal_mutable_node_name();
2471   // @@protoc_insertion_point(field_mutable:tensorflow.Summary.Value.node_name)
2472   return _s;
2473 }
_internal_node_name()2474 inline const std::string& Summary_Value::_internal_node_name() const {
2475   return _impl_.node_name_.Get();
2476 }
_internal_set_node_name(const std::string & value)2477 inline void Summary_Value::_internal_set_node_name(const std::string& value) {
2478 
2479   _impl_.node_name_.Set(value, GetArenaForAllocation());
2480 }
_internal_mutable_node_name()2481 inline std::string* Summary_Value::_internal_mutable_node_name() {
2482 
2483   return _impl_.node_name_.Mutable(GetArenaForAllocation());
2484 }
release_node_name()2485 inline std::string* Summary_Value::release_node_name() {
2486   // @@protoc_insertion_point(field_release:tensorflow.Summary.Value.node_name)
2487   return _impl_.node_name_.Release();
2488 }
set_allocated_node_name(std::string * node_name)2489 inline void Summary_Value::set_allocated_node_name(std::string* node_name) {
2490   _impl_.node_name_.SetAllocated(node_name, GetArenaForAllocation());
2491 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2492   if (_impl_.node_name_.IsDefault()) {
2493     _impl_.node_name_.Set("", GetArenaForAllocation());
2494   }
2495 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2496   // @@protoc_insertion_point(field_set_allocated:tensorflow.Summary.Value.node_name)
2497 }
2498 
2499 // string tag = 1;
clear_tag()2500 inline void Summary_Value::clear_tag() {
2501   _impl_.tag_.ClearToEmpty();
2502 }
tag()2503 inline const std::string& Summary_Value::tag() const {
2504   // @@protoc_insertion_point(field_get:tensorflow.Summary.Value.tag)
2505   return _internal_tag();
2506 }
2507 template <typename ArgT0, typename... ArgT>
2508 inline PROTOBUF_ALWAYS_INLINE
set_tag(ArgT0 && arg0,ArgT...args)2509 void Summary_Value::set_tag(ArgT0&& arg0, ArgT... args) {
2510 
2511  _impl_.tag_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2512   // @@protoc_insertion_point(field_set:tensorflow.Summary.Value.tag)
2513 }
mutable_tag()2514 inline std::string* Summary_Value::mutable_tag() {
2515   std::string* _s = _internal_mutable_tag();
2516   // @@protoc_insertion_point(field_mutable:tensorflow.Summary.Value.tag)
2517   return _s;
2518 }
_internal_tag()2519 inline const std::string& Summary_Value::_internal_tag() const {
2520   return _impl_.tag_.Get();
2521 }
_internal_set_tag(const std::string & value)2522 inline void Summary_Value::_internal_set_tag(const std::string& value) {
2523 
2524   _impl_.tag_.Set(value, GetArenaForAllocation());
2525 }
_internal_mutable_tag()2526 inline std::string* Summary_Value::_internal_mutable_tag() {
2527 
2528   return _impl_.tag_.Mutable(GetArenaForAllocation());
2529 }
release_tag()2530 inline std::string* Summary_Value::release_tag() {
2531   // @@protoc_insertion_point(field_release:tensorflow.Summary.Value.tag)
2532   return _impl_.tag_.Release();
2533 }
set_allocated_tag(std::string * tag)2534 inline void Summary_Value::set_allocated_tag(std::string* tag) {
2535   _impl_.tag_.SetAllocated(tag, GetArenaForAllocation());
2536 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2537   if (_impl_.tag_.IsDefault()) {
2538     _impl_.tag_.Set("", GetArenaForAllocation());
2539   }
2540 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2541   // @@protoc_insertion_point(field_set_allocated:tensorflow.Summary.Value.tag)
2542 }
2543 
2544 // .tensorflow.SummaryMetadata metadata = 9;
_internal_has_metadata()2545 inline bool Summary_Value::_internal_has_metadata() const {
2546   return this != internal_default_instance() && _impl_.metadata_ != nullptr;
2547 }
has_metadata()2548 inline bool Summary_Value::has_metadata() const {
2549   return _internal_has_metadata();
2550 }
clear_metadata()2551 inline void Summary_Value::clear_metadata() {
2552   if (GetArenaForAllocation() == nullptr && _impl_.metadata_ != nullptr) {
2553     delete _impl_.metadata_;
2554   }
2555   _impl_.metadata_ = nullptr;
2556 }
_internal_metadata()2557 inline const ::tensorflow::SummaryMetadata& Summary_Value::_internal_metadata() const {
2558   const ::tensorflow::SummaryMetadata* p = _impl_.metadata_;
2559   return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::SummaryMetadata&>(
2560       ::tensorflow::_SummaryMetadata_default_instance_);
2561 }
metadata()2562 inline const ::tensorflow::SummaryMetadata& Summary_Value::metadata() const {
2563   // @@protoc_insertion_point(field_get:tensorflow.Summary.Value.metadata)
2564   return _internal_metadata();
2565 }
unsafe_arena_set_allocated_metadata(::tensorflow::SummaryMetadata * metadata)2566 inline void Summary_Value::unsafe_arena_set_allocated_metadata(
2567     ::tensorflow::SummaryMetadata* metadata) {
2568   if (GetArenaForAllocation() == nullptr) {
2569     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.metadata_);
2570   }
2571   _impl_.metadata_ = metadata;
2572   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.Summary.Value.metadata)
2573 }
release_metadata()2574 inline ::tensorflow::SummaryMetadata* Summary_Value::release_metadata() {
2575 
2576   ::tensorflow::SummaryMetadata* temp = _impl_.metadata_;
2577   _impl_.metadata_ = nullptr;
2578 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2579   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2580   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2581   if (GetArenaForAllocation() == nullptr) { delete old; }
2582 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
2583   if (GetArenaForAllocation() != nullptr) {
2584     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2585   }
2586 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
2587   return temp;
2588 }
unsafe_arena_release_metadata()2589 inline ::tensorflow::SummaryMetadata* Summary_Value::unsafe_arena_release_metadata() {
2590   // @@protoc_insertion_point(field_release:tensorflow.Summary.Value.metadata)
2591 
2592   ::tensorflow::SummaryMetadata* temp = _impl_.metadata_;
2593   _impl_.metadata_ = nullptr;
2594   return temp;
2595 }
_internal_mutable_metadata()2596 inline ::tensorflow::SummaryMetadata* Summary_Value::_internal_mutable_metadata() {
2597 
2598   if (_impl_.metadata_ == nullptr) {
2599     auto* p = CreateMaybeMessage<::tensorflow::SummaryMetadata>(GetArenaForAllocation());
2600     _impl_.metadata_ = p;
2601   }
2602   return _impl_.metadata_;
2603 }
mutable_metadata()2604 inline ::tensorflow::SummaryMetadata* Summary_Value::mutable_metadata() {
2605   ::tensorflow::SummaryMetadata* _msg = _internal_mutable_metadata();
2606   // @@protoc_insertion_point(field_mutable:tensorflow.Summary.Value.metadata)
2607   return _msg;
2608 }
set_allocated_metadata(::tensorflow::SummaryMetadata * metadata)2609 inline void Summary_Value::set_allocated_metadata(::tensorflow::SummaryMetadata* metadata) {
2610   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2611   if (message_arena == nullptr) {
2612     delete _impl_.metadata_;
2613   }
2614   if (metadata) {
2615     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2616         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(metadata);
2617     if (message_arena != submessage_arena) {
2618       metadata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2619           message_arena, metadata, submessage_arena);
2620     }
2621 
2622   } else {
2623 
2624   }
2625   _impl_.metadata_ = metadata;
2626   // @@protoc_insertion_point(field_set_allocated:tensorflow.Summary.Value.metadata)
2627 }
2628 
2629 // float simple_value = 2;
_internal_has_simple_value()2630 inline bool Summary_Value::_internal_has_simple_value() const {
2631   return value_case() == kSimpleValue;
2632 }
has_simple_value()2633 inline bool Summary_Value::has_simple_value() const {
2634   return _internal_has_simple_value();
2635 }
set_has_simple_value()2636 inline void Summary_Value::set_has_simple_value() {
2637   _impl_._oneof_case_[0] = kSimpleValue;
2638 }
clear_simple_value()2639 inline void Summary_Value::clear_simple_value() {
2640   if (_internal_has_simple_value()) {
2641     _impl_.value_.simple_value_ = 0;
2642     clear_has_value();
2643   }
2644 }
_internal_simple_value()2645 inline float Summary_Value::_internal_simple_value() const {
2646   if (_internal_has_simple_value()) {
2647     return _impl_.value_.simple_value_;
2648   }
2649   return 0;
2650 }
_internal_set_simple_value(float value)2651 inline void Summary_Value::_internal_set_simple_value(float value) {
2652   if (!_internal_has_simple_value()) {
2653     clear_value();
2654     set_has_simple_value();
2655   }
2656   _impl_.value_.simple_value_ = value;
2657 }
simple_value()2658 inline float Summary_Value::simple_value() const {
2659   // @@protoc_insertion_point(field_get:tensorflow.Summary.Value.simple_value)
2660   return _internal_simple_value();
2661 }
set_simple_value(float value)2662 inline void Summary_Value::set_simple_value(float value) {
2663   _internal_set_simple_value(value);
2664   // @@protoc_insertion_point(field_set:tensorflow.Summary.Value.simple_value)
2665 }
2666 
2667 // bytes obsolete_old_style_histogram = 3;
_internal_has_obsolete_old_style_histogram()2668 inline bool Summary_Value::_internal_has_obsolete_old_style_histogram() const {
2669   return value_case() == kObsoleteOldStyleHistogram;
2670 }
has_obsolete_old_style_histogram()2671 inline bool Summary_Value::has_obsolete_old_style_histogram() const {
2672   return _internal_has_obsolete_old_style_histogram();
2673 }
set_has_obsolete_old_style_histogram()2674 inline void Summary_Value::set_has_obsolete_old_style_histogram() {
2675   _impl_._oneof_case_[0] = kObsoleteOldStyleHistogram;
2676 }
clear_obsolete_old_style_histogram()2677 inline void Summary_Value::clear_obsolete_old_style_histogram() {
2678   if (_internal_has_obsolete_old_style_histogram()) {
2679     _impl_.value_.obsolete_old_style_histogram_.Destroy();
2680     clear_has_value();
2681   }
2682 }
obsolete_old_style_histogram()2683 inline const std::string& Summary_Value::obsolete_old_style_histogram() const {
2684   // @@protoc_insertion_point(field_get:tensorflow.Summary.Value.obsolete_old_style_histogram)
2685   return _internal_obsolete_old_style_histogram();
2686 }
2687 template <typename ArgT0, typename... ArgT>
set_obsolete_old_style_histogram(ArgT0 && arg0,ArgT...args)2688 inline void Summary_Value::set_obsolete_old_style_histogram(ArgT0&& arg0, ArgT... args) {
2689   if (!_internal_has_obsolete_old_style_histogram()) {
2690     clear_value();
2691     set_has_obsolete_old_style_histogram();
2692     _impl_.value_.obsolete_old_style_histogram_.InitDefault();
2693   }
2694   _impl_.value_.obsolete_old_style_histogram_.SetBytes( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2695   // @@protoc_insertion_point(field_set:tensorflow.Summary.Value.obsolete_old_style_histogram)
2696 }
mutable_obsolete_old_style_histogram()2697 inline std::string* Summary_Value::mutable_obsolete_old_style_histogram() {
2698   std::string* _s = _internal_mutable_obsolete_old_style_histogram();
2699   // @@protoc_insertion_point(field_mutable:tensorflow.Summary.Value.obsolete_old_style_histogram)
2700   return _s;
2701 }
_internal_obsolete_old_style_histogram()2702 inline const std::string& Summary_Value::_internal_obsolete_old_style_histogram() const {
2703   if (_internal_has_obsolete_old_style_histogram()) {
2704     return _impl_.value_.obsolete_old_style_histogram_.Get();
2705   }
2706   return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
2707 }
_internal_set_obsolete_old_style_histogram(const std::string & value)2708 inline void Summary_Value::_internal_set_obsolete_old_style_histogram(const std::string& value) {
2709   if (!_internal_has_obsolete_old_style_histogram()) {
2710     clear_value();
2711     set_has_obsolete_old_style_histogram();
2712     _impl_.value_.obsolete_old_style_histogram_.InitDefault();
2713   }
2714   _impl_.value_.obsolete_old_style_histogram_.Set(value, GetArenaForAllocation());
2715 }
_internal_mutable_obsolete_old_style_histogram()2716 inline std::string* Summary_Value::_internal_mutable_obsolete_old_style_histogram() {
2717   if (!_internal_has_obsolete_old_style_histogram()) {
2718     clear_value();
2719     set_has_obsolete_old_style_histogram();
2720     _impl_.value_.obsolete_old_style_histogram_.InitDefault();
2721   }
2722   return _impl_.value_.obsolete_old_style_histogram_.Mutable(      GetArenaForAllocation());
2723 }
release_obsolete_old_style_histogram()2724 inline std::string* Summary_Value::release_obsolete_old_style_histogram() {
2725   // @@protoc_insertion_point(field_release:tensorflow.Summary.Value.obsolete_old_style_histogram)
2726   if (_internal_has_obsolete_old_style_histogram()) {
2727     clear_has_value();
2728     return _impl_.value_.obsolete_old_style_histogram_.Release();
2729   } else {
2730     return nullptr;
2731   }
2732 }
set_allocated_obsolete_old_style_histogram(std::string * obsolete_old_style_histogram)2733 inline void Summary_Value::set_allocated_obsolete_old_style_histogram(std::string* obsolete_old_style_histogram) {
2734   if (has_value()) {
2735     clear_value();
2736   }
2737   if (obsolete_old_style_histogram != nullptr) {
2738     set_has_obsolete_old_style_histogram();
2739     _impl_.value_.obsolete_old_style_histogram_.InitAllocated(obsolete_old_style_histogram, GetArenaForAllocation());
2740   }
2741   // @@protoc_insertion_point(field_set_allocated:tensorflow.Summary.Value.obsolete_old_style_histogram)
2742 }
2743 
2744 // .tensorflow.Summary.Image image = 4;
_internal_has_image()2745 inline bool Summary_Value::_internal_has_image() const {
2746   return value_case() == kImage;
2747 }
has_image()2748 inline bool Summary_Value::has_image() const {
2749   return _internal_has_image();
2750 }
set_has_image()2751 inline void Summary_Value::set_has_image() {
2752   _impl_._oneof_case_[0] = kImage;
2753 }
clear_image()2754 inline void Summary_Value::clear_image() {
2755   if (_internal_has_image()) {
2756     if (GetArenaForAllocation() == nullptr) {
2757       delete _impl_.value_.image_;
2758     }
2759     clear_has_value();
2760   }
2761 }
release_image()2762 inline ::tensorflow::Summary_Image* Summary_Value::release_image() {
2763   // @@protoc_insertion_point(field_release:tensorflow.Summary.Value.image)
2764   if (_internal_has_image()) {
2765     clear_has_value();
2766     ::tensorflow::Summary_Image* temp = _impl_.value_.image_;
2767     if (GetArenaForAllocation() != nullptr) {
2768       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2769     }
2770     _impl_.value_.image_ = nullptr;
2771     return temp;
2772   } else {
2773     return nullptr;
2774   }
2775 }
_internal_image()2776 inline const ::tensorflow::Summary_Image& Summary_Value::_internal_image() const {
2777   return _internal_has_image()
2778       ? *_impl_.value_.image_
2779       : reinterpret_cast< ::tensorflow::Summary_Image&>(::tensorflow::_Summary_Image_default_instance_);
2780 }
image()2781 inline const ::tensorflow::Summary_Image& Summary_Value::image() const {
2782   // @@protoc_insertion_point(field_get:tensorflow.Summary.Value.image)
2783   return _internal_image();
2784 }
unsafe_arena_release_image()2785 inline ::tensorflow::Summary_Image* Summary_Value::unsafe_arena_release_image() {
2786   // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.Summary.Value.image)
2787   if (_internal_has_image()) {
2788     clear_has_value();
2789     ::tensorflow::Summary_Image* temp = _impl_.value_.image_;
2790     _impl_.value_.image_ = nullptr;
2791     return temp;
2792   } else {
2793     return nullptr;
2794   }
2795 }
unsafe_arena_set_allocated_image(::tensorflow::Summary_Image * image)2796 inline void Summary_Value::unsafe_arena_set_allocated_image(::tensorflow::Summary_Image* image) {
2797   clear_value();
2798   if (image) {
2799     set_has_image();
2800     _impl_.value_.image_ = image;
2801   }
2802   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.Summary.Value.image)
2803 }
_internal_mutable_image()2804 inline ::tensorflow::Summary_Image* Summary_Value::_internal_mutable_image() {
2805   if (!_internal_has_image()) {
2806     clear_value();
2807     set_has_image();
2808     _impl_.value_.image_ = CreateMaybeMessage< ::tensorflow::Summary_Image >(GetArenaForAllocation());
2809   }
2810   return _impl_.value_.image_;
2811 }
mutable_image()2812 inline ::tensorflow::Summary_Image* Summary_Value::mutable_image() {
2813   ::tensorflow::Summary_Image* _msg = _internal_mutable_image();
2814   // @@protoc_insertion_point(field_mutable:tensorflow.Summary.Value.image)
2815   return _msg;
2816 }
2817 
2818 // .tensorflow.HistogramProto histo = 5;
_internal_has_histo()2819 inline bool Summary_Value::_internal_has_histo() const {
2820   return value_case() == kHisto;
2821 }
has_histo()2822 inline bool Summary_Value::has_histo() const {
2823   return _internal_has_histo();
2824 }
set_has_histo()2825 inline void Summary_Value::set_has_histo() {
2826   _impl_._oneof_case_[0] = kHisto;
2827 }
clear_histo()2828 inline void Summary_Value::clear_histo() {
2829   if (_internal_has_histo()) {
2830     if (GetArenaForAllocation() == nullptr) {
2831       delete _impl_.value_.histo_;
2832     }
2833     clear_has_value();
2834   }
2835 }
release_histo()2836 inline ::tensorflow::HistogramProto* Summary_Value::release_histo() {
2837   // @@protoc_insertion_point(field_release:tensorflow.Summary.Value.histo)
2838   if (_internal_has_histo()) {
2839     clear_has_value();
2840     ::tensorflow::HistogramProto* temp = _impl_.value_.histo_;
2841     if (GetArenaForAllocation() != nullptr) {
2842       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2843     }
2844     _impl_.value_.histo_ = nullptr;
2845     return temp;
2846   } else {
2847     return nullptr;
2848   }
2849 }
_internal_histo()2850 inline const ::tensorflow::HistogramProto& Summary_Value::_internal_histo() const {
2851   return _internal_has_histo()
2852       ? *_impl_.value_.histo_
2853       : reinterpret_cast< ::tensorflow::HistogramProto&>(::tensorflow::_HistogramProto_default_instance_);
2854 }
histo()2855 inline const ::tensorflow::HistogramProto& Summary_Value::histo() const {
2856   // @@protoc_insertion_point(field_get:tensorflow.Summary.Value.histo)
2857   return _internal_histo();
2858 }
unsafe_arena_release_histo()2859 inline ::tensorflow::HistogramProto* Summary_Value::unsafe_arena_release_histo() {
2860   // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.Summary.Value.histo)
2861   if (_internal_has_histo()) {
2862     clear_has_value();
2863     ::tensorflow::HistogramProto* temp = _impl_.value_.histo_;
2864     _impl_.value_.histo_ = nullptr;
2865     return temp;
2866   } else {
2867     return nullptr;
2868   }
2869 }
unsafe_arena_set_allocated_histo(::tensorflow::HistogramProto * histo)2870 inline void Summary_Value::unsafe_arena_set_allocated_histo(::tensorflow::HistogramProto* histo) {
2871   clear_value();
2872   if (histo) {
2873     set_has_histo();
2874     _impl_.value_.histo_ = histo;
2875   }
2876   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.Summary.Value.histo)
2877 }
_internal_mutable_histo()2878 inline ::tensorflow::HistogramProto* Summary_Value::_internal_mutable_histo() {
2879   if (!_internal_has_histo()) {
2880     clear_value();
2881     set_has_histo();
2882     _impl_.value_.histo_ = CreateMaybeMessage< ::tensorflow::HistogramProto >(GetArenaForAllocation());
2883   }
2884   return _impl_.value_.histo_;
2885 }
mutable_histo()2886 inline ::tensorflow::HistogramProto* Summary_Value::mutable_histo() {
2887   ::tensorflow::HistogramProto* _msg = _internal_mutable_histo();
2888   // @@protoc_insertion_point(field_mutable:tensorflow.Summary.Value.histo)
2889   return _msg;
2890 }
2891 
2892 // .tensorflow.Summary.Audio audio = 6;
_internal_has_audio()2893 inline bool Summary_Value::_internal_has_audio() const {
2894   return value_case() == kAudio;
2895 }
has_audio()2896 inline bool Summary_Value::has_audio() const {
2897   return _internal_has_audio();
2898 }
set_has_audio()2899 inline void Summary_Value::set_has_audio() {
2900   _impl_._oneof_case_[0] = kAudio;
2901 }
clear_audio()2902 inline void Summary_Value::clear_audio() {
2903   if (_internal_has_audio()) {
2904     if (GetArenaForAllocation() == nullptr) {
2905       delete _impl_.value_.audio_;
2906     }
2907     clear_has_value();
2908   }
2909 }
release_audio()2910 inline ::tensorflow::Summary_Audio* Summary_Value::release_audio() {
2911   // @@protoc_insertion_point(field_release:tensorflow.Summary.Value.audio)
2912   if (_internal_has_audio()) {
2913     clear_has_value();
2914     ::tensorflow::Summary_Audio* temp = _impl_.value_.audio_;
2915     if (GetArenaForAllocation() != nullptr) {
2916       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2917     }
2918     _impl_.value_.audio_ = nullptr;
2919     return temp;
2920   } else {
2921     return nullptr;
2922   }
2923 }
_internal_audio()2924 inline const ::tensorflow::Summary_Audio& Summary_Value::_internal_audio() const {
2925   return _internal_has_audio()
2926       ? *_impl_.value_.audio_
2927       : reinterpret_cast< ::tensorflow::Summary_Audio&>(::tensorflow::_Summary_Audio_default_instance_);
2928 }
audio()2929 inline const ::tensorflow::Summary_Audio& Summary_Value::audio() const {
2930   // @@protoc_insertion_point(field_get:tensorflow.Summary.Value.audio)
2931   return _internal_audio();
2932 }
unsafe_arena_release_audio()2933 inline ::tensorflow::Summary_Audio* Summary_Value::unsafe_arena_release_audio() {
2934   // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.Summary.Value.audio)
2935   if (_internal_has_audio()) {
2936     clear_has_value();
2937     ::tensorflow::Summary_Audio* temp = _impl_.value_.audio_;
2938     _impl_.value_.audio_ = nullptr;
2939     return temp;
2940   } else {
2941     return nullptr;
2942   }
2943 }
unsafe_arena_set_allocated_audio(::tensorflow::Summary_Audio * audio)2944 inline void Summary_Value::unsafe_arena_set_allocated_audio(::tensorflow::Summary_Audio* audio) {
2945   clear_value();
2946   if (audio) {
2947     set_has_audio();
2948     _impl_.value_.audio_ = audio;
2949   }
2950   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.Summary.Value.audio)
2951 }
_internal_mutable_audio()2952 inline ::tensorflow::Summary_Audio* Summary_Value::_internal_mutable_audio() {
2953   if (!_internal_has_audio()) {
2954     clear_value();
2955     set_has_audio();
2956     _impl_.value_.audio_ = CreateMaybeMessage< ::tensorflow::Summary_Audio >(GetArenaForAllocation());
2957   }
2958   return _impl_.value_.audio_;
2959 }
mutable_audio()2960 inline ::tensorflow::Summary_Audio* Summary_Value::mutable_audio() {
2961   ::tensorflow::Summary_Audio* _msg = _internal_mutable_audio();
2962   // @@protoc_insertion_point(field_mutable:tensorflow.Summary.Value.audio)
2963   return _msg;
2964 }
2965 
2966 // .tensorflow.TensorProto tensor = 8;
_internal_has_tensor()2967 inline bool Summary_Value::_internal_has_tensor() const {
2968   return value_case() == kTensor;
2969 }
has_tensor()2970 inline bool Summary_Value::has_tensor() const {
2971   return _internal_has_tensor();
2972 }
set_has_tensor()2973 inline void Summary_Value::set_has_tensor() {
2974   _impl_._oneof_case_[0] = kTensor;
2975 }
release_tensor()2976 inline ::tensorflow::TensorProto* Summary_Value::release_tensor() {
2977   // @@protoc_insertion_point(field_release:tensorflow.Summary.Value.tensor)
2978   if (_internal_has_tensor()) {
2979     clear_has_value();
2980     ::tensorflow::TensorProto* temp = _impl_.value_.tensor_;
2981     if (GetArenaForAllocation() != nullptr) {
2982       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2983     }
2984     _impl_.value_.tensor_ = nullptr;
2985     return temp;
2986   } else {
2987     return nullptr;
2988   }
2989 }
_internal_tensor()2990 inline const ::tensorflow::TensorProto& Summary_Value::_internal_tensor() const {
2991   return _internal_has_tensor()
2992       ? *_impl_.value_.tensor_
2993       : reinterpret_cast< ::tensorflow::TensorProto&>(::tensorflow::_TensorProto_default_instance_);
2994 }
tensor()2995 inline const ::tensorflow::TensorProto& Summary_Value::tensor() const {
2996   // @@protoc_insertion_point(field_get:tensorflow.Summary.Value.tensor)
2997   return _internal_tensor();
2998 }
unsafe_arena_release_tensor()2999 inline ::tensorflow::TensorProto* Summary_Value::unsafe_arena_release_tensor() {
3000   // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.Summary.Value.tensor)
3001   if (_internal_has_tensor()) {
3002     clear_has_value();
3003     ::tensorflow::TensorProto* temp = _impl_.value_.tensor_;
3004     _impl_.value_.tensor_ = nullptr;
3005     return temp;
3006   } else {
3007     return nullptr;
3008   }
3009 }
unsafe_arena_set_allocated_tensor(::tensorflow::TensorProto * tensor)3010 inline void Summary_Value::unsafe_arena_set_allocated_tensor(::tensorflow::TensorProto* tensor) {
3011   clear_value();
3012   if (tensor) {
3013     set_has_tensor();
3014     _impl_.value_.tensor_ = tensor;
3015   }
3016   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.Summary.Value.tensor)
3017 }
_internal_mutable_tensor()3018 inline ::tensorflow::TensorProto* Summary_Value::_internal_mutable_tensor() {
3019   if (!_internal_has_tensor()) {
3020     clear_value();
3021     set_has_tensor();
3022     _impl_.value_.tensor_ = CreateMaybeMessage< ::tensorflow::TensorProto >(GetArenaForAllocation());
3023   }
3024   return _impl_.value_.tensor_;
3025 }
mutable_tensor()3026 inline ::tensorflow::TensorProto* Summary_Value::mutable_tensor() {
3027   ::tensorflow::TensorProto* _msg = _internal_mutable_tensor();
3028   // @@protoc_insertion_point(field_mutable:tensorflow.Summary.Value.tensor)
3029   return _msg;
3030 }
3031 
has_value()3032 inline bool Summary_Value::has_value() const {
3033   return value_case() != VALUE_NOT_SET;
3034 }
clear_has_value()3035 inline void Summary_Value::clear_has_value() {
3036   _impl_._oneof_case_[0] = VALUE_NOT_SET;
3037 }
value_case()3038 inline Summary_Value::ValueCase Summary_Value::value_case() const {
3039   return Summary_Value::ValueCase(_impl_._oneof_case_[0]);
3040 }
3041 // -------------------------------------------------------------------
3042 
3043 // Summary
3044 
3045 // repeated .tensorflow.Summary.Value value = 1;
_internal_value_size()3046 inline int Summary::_internal_value_size() const {
3047   return _impl_.value_.size();
3048 }
value_size()3049 inline int Summary::value_size() const {
3050   return _internal_value_size();
3051 }
clear_value()3052 inline void Summary::clear_value() {
3053   _impl_.value_.Clear();
3054 }
mutable_value(int index)3055 inline ::tensorflow::Summary_Value* Summary::mutable_value(int index) {
3056   // @@protoc_insertion_point(field_mutable:tensorflow.Summary.value)
3057   return _impl_.value_.Mutable(index);
3058 }
3059 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::Summary_Value >*
mutable_value()3060 Summary::mutable_value() {
3061   // @@protoc_insertion_point(field_mutable_list:tensorflow.Summary.value)
3062   return &_impl_.value_;
3063 }
_internal_value(int index)3064 inline const ::tensorflow::Summary_Value& Summary::_internal_value(int index) const {
3065   return _impl_.value_.Get(index);
3066 }
value(int index)3067 inline const ::tensorflow::Summary_Value& Summary::value(int index) const {
3068   // @@protoc_insertion_point(field_get:tensorflow.Summary.value)
3069   return _internal_value(index);
3070 }
_internal_add_value()3071 inline ::tensorflow::Summary_Value* Summary::_internal_add_value() {
3072   return _impl_.value_.Add();
3073 }
add_value()3074 inline ::tensorflow::Summary_Value* Summary::add_value() {
3075   ::tensorflow::Summary_Value* _add = _internal_add_value();
3076   // @@protoc_insertion_point(field_add:tensorflow.Summary.value)
3077   return _add;
3078 }
3079 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::Summary_Value >&
value()3080 Summary::value() const {
3081   // @@protoc_insertion_point(field_list:tensorflow.Summary.value)
3082   return _impl_.value_;
3083 }
3084 
3085 #ifdef __GNUC__
3086   #pragma GCC diagnostic pop
3087 #endif  // __GNUC__
3088 // -------------------------------------------------------------------
3089 
3090 // -------------------------------------------------------------------
3091 
3092 // -------------------------------------------------------------------
3093 
3094 // -------------------------------------------------------------------
3095 
3096 // -------------------------------------------------------------------
3097 
3098 // -------------------------------------------------------------------
3099 
3100 // -------------------------------------------------------------------
3101 
3102 
3103 // @@protoc_insertion_point(namespace_scope)
3104 
3105 }  // namespace tensorflow
3106 
3107 PROTOBUF_NAMESPACE_OPEN
3108 
3109 template <> struct is_proto_enum< ::tensorflow::DataClass> : ::std::true_type {};
3110 
3111 PROTOBUF_NAMESPACE_CLOSE
3112 
3113 // @@protoc_insertion_point(global_scope)
3114 
3115 #include <google/protobuf/port_undef.inc>
3116 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2fsummary_2eproto
3117