1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: tensorflow/core/framework/api_def.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2fapi_5fdef_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2fapi_5fdef_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/attr_value.pb.h"
34 // @@protoc_insertion_point(includes)
35 #include <google/protobuf/port_def.inc>
36 #define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fframework_2fapi_5fdef_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_2fapi_5fdef_2eproto {
45   static const ::uint32_t offsets[];
46 };
47 namespace tensorflow {
48 class ApiDef;
49 struct ApiDefDefaultTypeInternal;
50 extern ApiDefDefaultTypeInternal _ApiDef_default_instance_;
51 class ApiDef_Arg;
52 struct ApiDef_ArgDefaultTypeInternal;
53 extern ApiDef_ArgDefaultTypeInternal _ApiDef_Arg_default_instance_;
54 class ApiDef_Attr;
55 struct ApiDef_AttrDefaultTypeInternal;
56 extern ApiDef_AttrDefaultTypeInternal _ApiDef_Attr_default_instance_;
57 class ApiDef_Endpoint;
58 struct ApiDef_EndpointDefaultTypeInternal;
59 extern ApiDef_EndpointDefaultTypeInternal _ApiDef_Endpoint_default_instance_;
60 class ApiDefs;
61 struct ApiDefsDefaultTypeInternal;
62 extern ApiDefsDefaultTypeInternal _ApiDefs_default_instance_;
63 }  // namespace tensorflow
64 PROTOBUF_NAMESPACE_OPEN
65 template<> ::tensorflow::ApiDef* Arena::CreateMaybeMessage<::tensorflow::ApiDef>(Arena*);
66 template<> ::tensorflow::ApiDef_Arg* Arena::CreateMaybeMessage<::tensorflow::ApiDef_Arg>(Arena*);
67 template<> ::tensorflow::ApiDef_Attr* Arena::CreateMaybeMessage<::tensorflow::ApiDef_Attr>(Arena*);
68 template<> ::tensorflow::ApiDef_Endpoint* Arena::CreateMaybeMessage<::tensorflow::ApiDef_Endpoint>(Arena*);
69 template<> ::tensorflow::ApiDefs* Arena::CreateMaybeMessage<::tensorflow::ApiDefs>(Arena*);
70 PROTOBUF_NAMESPACE_CLOSE
71 namespace tensorflow {
72 
73 enum ApiDef_Visibility : int {
74   ApiDef_Visibility_DEFAULT_VISIBILITY = 0,
75   ApiDef_Visibility_VISIBLE = 1,
76   ApiDef_Visibility_SKIP = 2,
77   ApiDef_Visibility_HIDDEN = 3,
78   ApiDef_Visibility_ApiDef_Visibility_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::min(),
79   ApiDef_Visibility_ApiDef_Visibility_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::int32_t>::max()
80 };
81 bool ApiDef_Visibility_IsValid(int value);
82 constexpr ApiDef_Visibility ApiDef_Visibility_Visibility_MIN = ApiDef_Visibility_DEFAULT_VISIBILITY;
83 constexpr ApiDef_Visibility ApiDef_Visibility_Visibility_MAX = ApiDef_Visibility_HIDDEN;
84 constexpr int ApiDef_Visibility_Visibility_ARRAYSIZE = ApiDef_Visibility_Visibility_MAX + 1;
85 
86 const std::string& ApiDef_Visibility_Name(ApiDef_Visibility value);
87 template<typename T>
ApiDef_Visibility_Name(T enum_t_value)88 inline const std::string& ApiDef_Visibility_Name(T enum_t_value) {
89   static_assert(::std::is_same<T, ApiDef_Visibility>::value ||
90     ::std::is_integral<T>::value,
91     "Incorrect type passed to function ApiDef_Visibility_Name.");
92   return ApiDef_Visibility_Name(static_cast<ApiDef_Visibility>(enum_t_value));
93 }
94 bool ApiDef_Visibility_Parse(
95     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ApiDef_Visibility* value);
96 // ===================================================================
97 
98 class ApiDef_Endpoint final :
99     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.ApiDef.Endpoint) */ {
100  public:
ApiDef_Endpoint()101   inline ApiDef_Endpoint() : ApiDef_Endpoint(nullptr) {}
102   ~ApiDef_Endpoint() override;
103   explicit PROTOBUF_CONSTEXPR ApiDef_Endpoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
104 
105   ApiDef_Endpoint(const ApiDef_Endpoint& from);
ApiDef_Endpoint(ApiDef_Endpoint && from)106   ApiDef_Endpoint(ApiDef_Endpoint&& from) noexcept
107     : ApiDef_Endpoint() {
108     *this = ::std::move(from);
109   }
110 
111   inline ApiDef_Endpoint& operator=(const ApiDef_Endpoint& from) {
112     if (this == &from) return *this;
113     CopyFrom(from);
114     return *this;
115   }
116   inline ApiDef_Endpoint& operator=(ApiDef_Endpoint&& from) noexcept {
117     if (this == &from) return *this;
118     if (GetOwningArena() == from.GetOwningArena()
119   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
120         && GetOwningArena() != nullptr
121   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
122     ) {
123       InternalSwap(&from);
124     } else {
125       CopyFrom(from);
126     }
127     return *this;
128   }
129 
default_instance()130   static const ApiDef_Endpoint& default_instance() {
131     return *internal_default_instance();
132   }
internal_default_instance()133   static inline const ApiDef_Endpoint* internal_default_instance() {
134     return reinterpret_cast<const ApiDef_Endpoint*>(
135                &_ApiDef_Endpoint_default_instance_);
136   }
137   static constexpr int kIndexInFileMessages =
138     0;
139 
swap(ApiDef_Endpoint & a,ApiDef_Endpoint & b)140   friend void swap(ApiDef_Endpoint& a, ApiDef_Endpoint& b) {
141     a.Swap(&b);
142   }
Swap(ApiDef_Endpoint * other)143   inline void Swap(ApiDef_Endpoint* other) {
144     if (other == this) return;
145   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
146     if (GetOwningArena() != nullptr &&
147         GetOwningArena() == other->GetOwningArena()) {
148    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
149     if (GetOwningArena() == other->GetOwningArena()) {
150   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
151       InternalSwap(other);
152     } else {
153       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
154     }
155   }
156   void UnsafeArenaSwap(ApiDef_Endpoint* other) {
157     if (other == this) return;
158     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
159     InternalSwap(other);
160   }
161 
162   // implements Message ----------------------------------------------
163 
164   ApiDef_Endpoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
165     return CreateMaybeMessage<ApiDef_Endpoint>(arena);
166   }
167   ApiDef_Endpoint* New() const {
168     return New(nullptr);
169   }
170   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
171   void CopyFrom(const ApiDef_Endpoint& from);
172   void MergeFrom(const ApiDef_Endpoint& from);
173   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
174   bool IsInitialized() const final;
175 
176   size_t ByteSizeLong() const final;
177   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
178   ::uint8_t* _InternalSerialize(
179       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
180   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
181 
182   private:
183   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
184   void SharedDtor();
185   void SetCachedSize(int size) const;
186   void InternalSwap(ApiDef_Endpoint* other);
187 
188   private:
189   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
190   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
191     return "tensorflow.ApiDef.Endpoint";
192   }
193   protected:
194   explicit ApiDef_Endpoint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
195                        bool is_message_owned = false);
196   public:
197 
198   std::string GetTypeName() const final;
199 
200   // nested types ----------------------------------------------------
201 
202   // accessors -------------------------------------------------------
203 
204   enum : int {
205     kNameFieldNumber = 1,
206     kDeprecatedFieldNumber = 3,
207     kDeprecationVersionFieldNumber = 4,
208   };
209   // string name = 1;
210   void clear_name();
211   const std::string& name() const;
212   template <typename ArgT0 = const std::string&, typename... ArgT>
213   void set_name(ArgT0&& arg0, ArgT... args);
214   std::string* mutable_name();
215   PROTOBUF_NODISCARD std::string* release_name();
216   void set_allocated_name(std::string* name);
217   private:
218   const std::string& _internal_name() const;
219   inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
220   std::string* _internal_mutable_name();
221   public:
222 
223   // bool deprecated = 3;
224   void clear_deprecated();
225   bool deprecated() const;
226   void set_deprecated(bool value);
227   private:
228   bool _internal_deprecated() const;
229   void _internal_set_deprecated(bool value);
230   public:
231 
232   // int32 deprecation_version = 4;
233   void clear_deprecation_version();
234   ::int32_t deprecation_version() const;
235   void set_deprecation_version(::int32_t value);
236   private:
237   ::int32_t _internal_deprecation_version() const;
238   void _internal_set_deprecation_version(::int32_t value);
239   public:
240 
241   // @@protoc_insertion_point(class_scope:tensorflow.ApiDef.Endpoint)
242  private:
243   class _Internal;
244 
245   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
246   typedef void InternalArenaConstructable_;
247   typedef void DestructorSkippable_;
248   struct Impl_ {
249     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
250     bool deprecated_;
251     ::int32_t deprecation_version_;
252     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
253   };
254   union { Impl_ _impl_; };
255   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fapi_5fdef_2eproto;
256 };
257 // -------------------------------------------------------------------
258 
259 class ApiDef_Arg final :
260     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.ApiDef.Arg) */ {
261  public:
ApiDef_Arg()262   inline ApiDef_Arg() : ApiDef_Arg(nullptr) {}
263   ~ApiDef_Arg() override;
264   explicit PROTOBUF_CONSTEXPR ApiDef_Arg(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
265 
266   ApiDef_Arg(const ApiDef_Arg& from);
ApiDef_Arg(ApiDef_Arg && from)267   ApiDef_Arg(ApiDef_Arg&& from) noexcept
268     : ApiDef_Arg() {
269     *this = ::std::move(from);
270   }
271 
272   inline ApiDef_Arg& operator=(const ApiDef_Arg& from) {
273     if (this == &from) return *this;
274     CopyFrom(from);
275     return *this;
276   }
277   inline ApiDef_Arg& operator=(ApiDef_Arg&& from) noexcept {
278     if (this == &from) return *this;
279     if (GetOwningArena() == from.GetOwningArena()
280   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
281         && GetOwningArena() != nullptr
282   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
283     ) {
284       InternalSwap(&from);
285     } else {
286       CopyFrom(from);
287     }
288     return *this;
289   }
290 
default_instance()291   static const ApiDef_Arg& default_instance() {
292     return *internal_default_instance();
293   }
internal_default_instance()294   static inline const ApiDef_Arg* internal_default_instance() {
295     return reinterpret_cast<const ApiDef_Arg*>(
296                &_ApiDef_Arg_default_instance_);
297   }
298   static constexpr int kIndexInFileMessages =
299     1;
300 
swap(ApiDef_Arg & a,ApiDef_Arg & b)301   friend void swap(ApiDef_Arg& a, ApiDef_Arg& b) {
302     a.Swap(&b);
303   }
Swap(ApiDef_Arg * other)304   inline void Swap(ApiDef_Arg* other) {
305     if (other == this) return;
306   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
307     if (GetOwningArena() != nullptr &&
308         GetOwningArena() == other->GetOwningArena()) {
309    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
310     if (GetOwningArena() == other->GetOwningArena()) {
311   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
312       InternalSwap(other);
313     } else {
314       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
315     }
316   }
317   void UnsafeArenaSwap(ApiDef_Arg* other) {
318     if (other == this) return;
319     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
320     InternalSwap(other);
321   }
322 
323   // implements Message ----------------------------------------------
324 
325   ApiDef_Arg* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
326     return CreateMaybeMessage<ApiDef_Arg>(arena);
327   }
328   ApiDef_Arg* New() const {
329     return New(nullptr);
330   }
331   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
332   void CopyFrom(const ApiDef_Arg& from);
333   void MergeFrom(const ApiDef_Arg& from);
334   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
335   bool IsInitialized() const final;
336 
337   size_t ByteSizeLong() const final;
338   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
339   ::uint8_t* _InternalSerialize(
340       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
341   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
342 
343   private:
344   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
345   void SharedDtor();
346   void SetCachedSize(int size) const;
347   void InternalSwap(ApiDef_Arg* other);
348 
349   private:
350   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
351   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
352     return "tensorflow.ApiDef.Arg";
353   }
354   protected:
355   explicit ApiDef_Arg(::PROTOBUF_NAMESPACE_ID::Arena* arena,
356                        bool is_message_owned = false);
357   public:
358 
359   std::string GetTypeName() const final;
360 
361   // nested types ----------------------------------------------------
362 
363   // accessors -------------------------------------------------------
364 
365   enum : int {
366     kNameFieldNumber = 1,
367     kRenameToFieldNumber = 2,
368     kDescriptionFieldNumber = 3,
369   };
370   // string name = 1;
371   void clear_name();
372   const std::string& name() const;
373   template <typename ArgT0 = const std::string&, typename... ArgT>
374   void set_name(ArgT0&& arg0, ArgT... args);
375   std::string* mutable_name();
376   PROTOBUF_NODISCARD std::string* release_name();
377   void set_allocated_name(std::string* name);
378   private:
379   const std::string& _internal_name() const;
380   inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
381   std::string* _internal_mutable_name();
382   public:
383 
384   // string rename_to = 2;
385   void clear_rename_to();
386   const std::string& rename_to() const;
387   template <typename ArgT0 = const std::string&, typename... ArgT>
388   void set_rename_to(ArgT0&& arg0, ArgT... args);
389   std::string* mutable_rename_to();
390   PROTOBUF_NODISCARD std::string* release_rename_to();
391   void set_allocated_rename_to(std::string* rename_to);
392   private:
393   const std::string& _internal_rename_to() const;
394   inline PROTOBUF_ALWAYS_INLINE void _internal_set_rename_to(const std::string& value);
395   std::string* _internal_mutable_rename_to();
396   public:
397 
398   // string description = 3;
399   void clear_description();
400   const std::string& description() const;
401   template <typename ArgT0 = const std::string&, typename... ArgT>
402   void set_description(ArgT0&& arg0, ArgT... args);
403   std::string* mutable_description();
404   PROTOBUF_NODISCARD std::string* release_description();
405   void set_allocated_description(std::string* description);
406   private:
407   const std::string& _internal_description() const;
408   inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value);
409   std::string* _internal_mutable_description();
410   public:
411 
412   // @@protoc_insertion_point(class_scope:tensorflow.ApiDef.Arg)
413  private:
414   class _Internal;
415 
416   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
417   typedef void InternalArenaConstructable_;
418   typedef void DestructorSkippable_;
419   struct Impl_ {
420     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
421     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rename_to_;
422     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
423     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
424   };
425   union { Impl_ _impl_; };
426   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fapi_5fdef_2eproto;
427 };
428 // -------------------------------------------------------------------
429 
430 class ApiDef_Attr final :
431     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.ApiDef.Attr) */ {
432  public:
ApiDef_Attr()433   inline ApiDef_Attr() : ApiDef_Attr(nullptr) {}
434   ~ApiDef_Attr() override;
435   explicit PROTOBUF_CONSTEXPR ApiDef_Attr(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
436 
437   ApiDef_Attr(const ApiDef_Attr& from);
ApiDef_Attr(ApiDef_Attr && from)438   ApiDef_Attr(ApiDef_Attr&& from) noexcept
439     : ApiDef_Attr() {
440     *this = ::std::move(from);
441   }
442 
443   inline ApiDef_Attr& operator=(const ApiDef_Attr& from) {
444     if (this == &from) return *this;
445     CopyFrom(from);
446     return *this;
447   }
448   inline ApiDef_Attr& operator=(ApiDef_Attr&& from) noexcept {
449     if (this == &from) return *this;
450     if (GetOwningArena() == from.GetOwningArena()
451   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
452         && GetOwningArena() != nullptr
453   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
454     ) {
455       InternalSwap(&from);
456     } else {
457       CopyFrom(from);
458     }
459     return *this;
460   }
461 
default_instance()462   static const ApiDef_Attr& default_instance() {
463     return *internal_default_instance();
464   }
internal_default_instance()465   static inline const ApiDef_Attr* internal_default_instance() {
466     return reinterpret_cast<const ApiDef_Attr*>(
467                &_ApiDef_Attr_default_instance_);
468   }
469   static constexpr int kIndexInFileMessages =
470     2;
471 
swap(ApiDef_Attr & a,ApiDef_Attr & b)472   friend void swap(ApiDef_Attr& a, ApiDef_Attr& b) {
473     a.Swap(&b);
474   }
Swap(ApiDef_Attr * other)475   inline void Swap(ApiDef_Attr* other) {
476     if (other == this) return;
477   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
478     if (GetOwningArena() != nullptr &&
479         GetOwningArena() == other->GetOwningArena()) {
480    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
481     if (GetOwningArena() == other->GetOwningArena()) {
482   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
483       InternalSwap(other);
484     } else {
485       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
486     }
487   }
488   void UnsafeArenaSwap(ApiDef_Attr* other) {
489     if (other == this) return;
490     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
491     InternalSwap(other);
492   }
493 
494   // implements Message ----------------------------------------------
495 
496   ApiDef_Attr* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
497     return CreateMaybeMessage<ApiDef_Attr>(arena);
498   }
499   ApiDef_Attr* New() const {
500     return New(nullptr);
501   }
502   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
503   void CopyFrom(const ApiDef_Attr& from);
504   void MergeFrom(const ApiDef_Attr& from);
505   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
506   bool IsInitialized() const final;
507 
508   size_t ByteSizeLong() const final;
509   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
510   ::uint8_t* _InternalSerialize(
511       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
512   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
513 
514   private:
515   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
516   void SharedDtor();
517   void SetCachedSize(int size) const;
518   void InternalSwap(ApiDef_Attr* other);
519 
520   private:
521   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
522   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
523     return "tensorflow.ApiDef.Attr";
524   }
525   protected:
526   explicit ApiDef_Attr(::PROTOBUF_NAMESPACE_ID::Arena* arena,
527                        bool is_message_owned = false);
528   public:
529 
530   std::string GetTypeName() const final;
531 
532   // nested types ----------------------------------------------------
533 
534   // accessors -------------------------------------------------------
535 
536   enum : int {
537     kNameFieldNumber = 1,
538     kRenameToFieldNumber = 2,
539     kDescriptionFieldNumber = 4,
540     kDefaultValueFieldNumber = 3,
541   };
542   // string name = 1;
543   void clear_name();
544   const std::string& name() const;
545   template <typename ArgT0 = const std::string&, typename... ArgT>
546   void set_name(ArgT0&& arg0, ArgT... args);
547   std::string* mutable_name();
548   PROTOBUF_NODISCARD std::string* release_name();
549   void set_allocated_name(std::string* name);
550   private:
551   const std::string& _internal_name() const;
552   inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
553   std::string* _internal_mutable_name();
554   public:
555 
556   // string rename_to = 2;
557   void clear_rename_to();
558   const std::string& rename_to() const;
559   template <typename ArgT0 = const std::string&, typename... ArgT>
560   void set_rename_to(ArgT0&& arg0, ArgT... args);
561   std::string* mutable_rename_to();
562   PROTOBUF_NODISCARD std::string* release_rename_to();
563   void set_allocated_rename_to(std::string* rename_to);
564   private:
565   const std::string& _internal_rename_to() const;
566   inline PROTOBUF_ALWAYS_INLINE void _internal_set_rename_to(const std::string& value);
567   std::string* _internal_mutable_rename_to();
568   public:
569 
570   // string description = 4;
571   void clear_description();
572   const std::string& description() const;
573   template <typename ArgT0 = const std::string&, typename... ArgT>
574   void set_description(ArgT0&& arg0, ArgT... args);
575   std::string* mutable_description();
576   PROTOBUF_NODISCARD std::string* release_description();
577   void set_allocated_description(std::string* description);
578   private:
579   const std::string& _internal_description() const;
580   inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value);
581   std::string* _internal_mutable_description();
582   public:
583 
584   // .tensorflow.AttrValue default_value = 3;
585   bool has_default_value() const;
586   private:
587   bool _internal_has_default_value() const;
588   public:
589   void clear_default_value();
590   const ::tensorflow::AttrValue& default_value() const;
591   PROTOBUF_NODISCARD ::tensorflow::AttrValue* release_default_value();
592   ::tensorflow::AttrValue* mutable_default_value();
593   void set_allocated_default_value(::tensorflow::AttrValue* default_value);
594   private:
595   const ::tensorflow::AttrValue& _internal_default_value() const;
596   ::tensorflow::AttrValue* _internal_mutable_default_value();
597   public:
598   void unsafe_arena_set_allocated_default_value(
599       ::tensorflow::AttrValue* default_value);
600   ::tensorflow::AttrValue* unsafe_arena_release_default_value();
601 
602   // @@protoc_insertion_point(class_scope:tensorflow.ApiDef.Attr)
603  private:
604   class _Internal;
605 
606   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
607   typedef void InternalArenaConstructable_;
608   typedef void DestructorSkippable_;
609   struct Impl_ {
610     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
611     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr rename_to_;
612     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
613     ::tensorflow::AttrValue* default_value_;
614     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
615   };
616   union { Impl_ _impl_; };
617   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fapi_5fdef_2eproto;
618 };
619 // -------------------------------------------------------------------
620 
621 class ApiDef final :
622     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.ApiDef) */ {
623  public:
ApiDef()624   inline ApiDef() : ApiDef(nullptr) {}
625   ~ApiDef() override;
626   explicit PROTOBUF_CONSTEXPR ApiDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
627 
628   ApiDef(const ApiDef& from);
ApiDef(ApiDef && from)629   ApiDef(ApiDef&& from) noexcept
630     : ApiDef() {
631     *this = ::std::move(from);
632   }
633 
634   inline ApiDef& operator=(const ApiDef& from) {
635     if (this == &from) return *this;
636     CopyFrom(from);
637     return *this;
638   }
639   inline ApiDef& operator=(ApiDef&& from) noexcept {
640     if (this == &from) return *this;
641     if (GetOwningArena() == from.GetOwningArena()
642   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
643         && GetOwningArena() != nullptr
644   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
645     ) {
646       InternalSwap(&from);
647     } else {
648       CopyFrom(from);
649     }
650     return *this;
651   }
652 
default_instance()653   static const ApiDef& default_instance() {
654     return *internal_default_instance();
655   }
internal_default_instance()656   static inline const ApiDef* internal_default_instance() {
657     return reinterpret_cast<const ApiDef*>(
658                &_ApiDef_default_instance_);
659   }
660   static constexpr int kIndexInFileMessages =
661     3;
662 
swap(ApiDef & a,ApiDef & b)663   friend void swap(ApiDef& a, ApiDef& b) {
664     a.Swap(&b);
665   }
Swap(ApiDef * other)666   inline void Swap(ApiDef* other) {
667     if (other == this) return;
668   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
669     if (GetOwningArena() != nullptr &&
670         GetOwningArena() == other->GetOwningArena()) {
671    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
672     if (GetOwningArena() == other->GetOwningArena()) {
673   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
674       InternalSwap(other);
675     } else {
676       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
677     }
678   }
679   void UnsafeArenaSwap(ApiDef* other) {
680     if (other == this) return;
681     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
682     InternalSwap(other);
683   }
684 
685   // implements Message ----------------------------------------------
686 
687   ApiDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
688     return CreateMaybeMessage<ApiDef>(arena);
689   }
690   ApiDef* New() const {
691     return New(nullptr);
692   }
693   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
694   void CopyFrom(const ApiDef& from);
695   void MergeFrom(const ApiDef& from);
696   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
697   bool IsInitialized() const final;
698 
699   size_t ByteSizeLong() const final;
700   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
701   ::uint8_t* _InternalSerialize(
702       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
703   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
704 
705   private:
706   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
707   void SharedDtor();
708   void SetCachedSize(int size) const;
709   void InternalSwap(ApiDef* other);
710 
711   private:
712   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
713   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
714     return "tensorflow.ApiDef";
715   }
716   protected:
717   explicit ApiDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
718                        bool is_message_owned = false);
719   public:
720 
721   std::string GetTypeName() const final;
722 
723   // nested types ----------------------------------------------------
724 
725   typedef ApiDef_Endpoint Endpoint;
726   typedef ApiDef_Arg Arg;
727   typedef ApiDef_Attr Attr;
728 
729   typedef ApiDef_Visibility Visibility;
730   static constexpr Visibility DEFAULT_VISIBILITY =
731     ApiDef_Visibility_DEFAULT_VISIBILITY;
732   static constexpr Visibility VISIBLE =
733     ApiDef_Visibility_VISIBLE;
734   static constexpr Visibility SKIP =
735     ApiDef_Visibility_SKIP;
736   static constexpr Visibility HIDDEN =
737     ApiDef_Visibility_HIDDEN;
738   static inline bool Visibility_IsValid(int value) {
739     return ApiDef_Visibility_IsValid(value);
740   }
741   static constexpr Visibility Visibility_MIN =
742     ApiDef_Visibility_Visibility_MIN;
743   static constexpr Visibility Visibility_MAX =
744     ApiDef_Visibility_Visibility_MAX;
745   static constexpr int Visibility_ARRAYSIZE =
746     ApiDef_Visibility_Visibility_ARRAYSIZE;
747   template<typename T>
748   static inline const std::string& Visibility_Name(T enum_t_value) {
749     static_assert(::std::is_same<T, Visibility>::value ||
750       ::std::is_integral<T>::value,
751       "Incorrect type passed to function Visibility_Name.");
752     return ApiDef_Visibility_Name(enum_t_value);
753   }
754   static inline bool Visibility_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
755       Visibility* value) {
756     return ApiDef_Visibility_Parse(name, value);
757   }
758 
759   // accessors -------------------------------------------------------
760 
761   enum : int {
762     kEndpointFieldNumber = 3,
763     kInArgFieldNumber = 4,
764     kOutArgFieldNumber = 5,
765     kAttrFieldNumber = 6,
766     kArgOrderFieldNumber = 11,
767     kGraphOpNameFieldNumber = 1,
768     kSummaryFieldNumber = 7,
769     kDescriptionFieldNumber = 8,
770     kDescriptionPrefixFieldNumber = 9,
771     kDescriptionSuffixFieldNumber = 10,
772     kDeprecationMessageFieldNumber = 12,
773     kVisibilityFieldNumber = 2,
774     kDeprecationVersionFieldNumber = 13,
775   };
776   // repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
777   int endpoint_size() const;
778   private:
779   int _internal_endpoint_size() const;
780   public:
781   void clear_endpoint();
782   ::tensorflow::ApiDef_Endpoint* mutable_endpoint(int index);
783   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Endpoint >*
784       mutable_endpoint();
785   private:
786   const ::tensorflow::ApiDef_Endpoint& _internal_endpoint(int index) const;
787   ::tensorflow::ApiDef_Endpoint* _internal_add_endpoint();
788   public:
789   const ::tensorflow::ApiDef_Endpoint& endpoint(int index) const;
790   ::tensorflow::ApiDef_Endpoint* add_endpoint();
791   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Endpoint >&
792       endpoint() const;
793 
794   // repeated .tensorflow.ApiDef.Arg in_arg = 4;
795   int in_arg_size() const;
796   private:
797   int _internal_in_arg_size() const;
798   public:
799   void clear_in_arg();
800   ::tensorflow::ApiDef_Arg* mutable_in_arg(int index);
801   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Arg >*
802       mutable_in_arg();
803   private:
804   const ::tensorflow::ApiDef_Arg& _internal_in_arg(int index) const;
805   ::tensorflow::ApiDef_Arg* _internal_add_in_arg();
806   public:
807   const ::tensorflow::ApiDef_Arg& in_arg(int index) const;
808   ::tensorflow::ApiDef_Arg* add_in_arg();
809   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Arg >&
810       in_arg() const;
811 
812   // repeated .tensorflow.ApiDef.Arg out_arg = 5;
813   int out_arg_size() const;
814   private:
815   int _internal_out_arg_size() const;
816   public:
817   void clear_out_arg();
818   ::tensorflow::ApiDef_Arg* mutable_out_arg(int index);
819   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Arg >*
820       mutable_out_arg();
821   private:
822   const ::tensorflow::ApiDef_Arg& _internal_out_arg(int index) const;
823   ::tensorflow::ApiDef_Arg* _internal_add_out_arg();
824   public:
825   const ::tensorflow::ApiDef_Arg& out_arg(int index) const;
826   ::tensorflow::ApiDef_Arg* add_out_arg();
827   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Arg >&
828       out_arg() const;
829 
830   // repeated .tensorflow.ApiDef.Attr attr = 6;
831   int attr_size() const;
832   private:
833   int _internal_attr_size() const;
834   public:
835   void clear_attr();
836   ::tensorflow::ApiDef_Attr* mutable_attr(int index);
837   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Attr >*
838       mutable_attr();
839   private:
840   const ::tensorflow::ApiDef_Attr& _internal_attr(int index) const;
841   ::tensorflow::ApiDef_Attr* _internal_add_attr();
842   public:
843   const ::tensorflow::ApiDef_Attr& attr(int index) const;
844   ::tensorflow::ApiDef_Attr* add_attr();
845   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Attr >&
846       attr() const;
847 
848   // repeated string arg_order = 11;
849   int arg_order_size() const;
850   private:
851   int _internal_arg_order_size() const;
852   public:
853   void clear_arg_order();
854   const std::string& arg_order(int index) const;
855   std::string* mutable_arg_order(int index);
856   void set_arg_order(int index, const std::string& value);
857   void set_arg_order(int index, std::string&& value);
858   void set_arg_order(int index, const char* value);
859   void set_arg_order(int index, const char* value, size_t size);
860   std::string* add_arg_order();
861   void add_arg_order(const std::string& value);
862   void add_arg_order(std::string&& value);
863   void add_arg_order(const char* value);
864   void add_arg_order(const char* value, size_t size);
865   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& arg_order() const;
866   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_arg_order();
867   private:
868   const std::string& _internal_arg_order(int index) const;
869   std::string* _internal_add_arg_order();
870   public:
871 
872   // string graph_op_name = 1;
873   void clear_graph_op_name();
874   const std::string& graph_op_name() const;
875   template <typename ArgT0 = const std::string&, typename... ArgT>
876   void set_graph_op_name(ArgT0&& arg0, ArgT... args);
877   std::string* mutable_graph_op_name();
878   PROTOBUF_NODISCARD std::string* release_graph_op_name();
879   void set_allocated_graph_op_name(std::string* graph_op_name);
880   private:
881   const std::string& _internal_graph_op_name() const;
882   inline PROTOBUF_ALWAYS_INLINE void _internal_set_graph_op_name(const std::string& value);
883   std::string* _internal_mutable_graph_op_name();
884   public:
885 
886   // string summary = 7;
887   void clear_summary();
888   const std::string& summary() const;
889   template <typename ArgT0 = const std::string&, typename... ArgT>
890   void set_summary(ArgT0&& arg0, ArgT... args);
891   std::string* mutable_summary();
892   PROTOBUF_NODISCARD std::string* release_summary();
893   void set_allocated_summary(std::string* summary);
894   private:
895   const std::string& _internal_summary() const;
896   inline PROTOBUF_ALWAYS_INLINE void _internal_set_summary(const std::string& value);
897   std::string* _internal_mutable_summary();
898   public:
899 
900   // string description = 8;
901   void clear_description();
902   const std::string& description() const;
903   template <typename ArgT0 = const std::string&, typename... ArgT>
904   void set_description(ArgT0&& arg0, ArgT... args);
905   std::string* mutable_description();
906   PROTOBUF_NODISCARD std::string* release_description();
907   void set_allocated_description(std::string* description);
908   private:
909   const std::string& _internal_description() const;
910   inline PROTOBUF_ALWAYS_INLINE void _internal_set_description(const std::string& value);
911   std::string* _internal_mutable_description();
912   public:
913 
914   // string description_prefix = 9;
915   void clear_description_prefix();
916   const std::string& description_prefix() const;
917   template <typename ArgT0 = const std::string&, typename... ArgT>
918   void set_description_prefix(ArgT0&& arg0, ArgT... args);
919   std::string* mutable_description_prefix();
920   PROTOBUF_NODISCARD std::string* release_description_prefix();
921   void set_allocated_description_prefix(std::string* description_prefix);
922   private:
923   const std::string& _internal_description_prefix() const;
924   inline PROTOBUF_ALWAYS_INLINE void _internal_set_description_prefix(const std::string& value);
925   std::string* _internal_mutable_description_prefix();
926   public:
927 
928   // string description_suffix = 10;
929   void clear_description_suffix();
930   const std::string& description_suffix() const;
931   template <typename ArgT0 = const std::string&, typename... ArgT>
932   void set_description_suffix(ArgT0&& arg0, ArgT... args);
933   std::string* mutable_description_suffix();
934   PROTOBUF_NODISCARD std::string* release_description_suffix();
935   void set_allocated_description_suffix(std::string* description_suffix);
936   private:
937   const std::string& _internal_description_suffix() const;
938   inline PROTOBUF_ALWAYS_INLINE void _internal_set_description_suffix(const std::string& value);
939   std::string* _internal_mutable_description_suffix();
940   public:
941 
942   // string deprecation_message = 12;
943   void clear_deprecation_message();
944   const std::string& deprecation_message() const;
945   template <typename ArgT0 = const std::string&, typename... ArgT>
946   void set_deprecation_message(ArgT0&& arg0, ArgT... args);
947   std::string* mutable_deprecation_message();
948   PROTOBUF_NODISCARD std::string* release_deprecation_message();
949   void set_allocated_deprecation_message(std::string* deprecation_message);
950   private:
951   const std::string& _internal_deprecation_message() const;
952   inline PROTOBUF_ALWAYS_INLINE void _internal_set_deprecation_message(const std::string& value);
953   std::string* _internal_mutable_deprecation_message();
954   public:
955 
956   // .tensorflow.ApiDef.Visibility visibility = 2;
957   void clear_visibility();
958   ::tensorflow::ApiDef_Visibility visibility() const;
959   void set_visibility(::tensorflow::ApiDef_Visibility value);
960   private:
961   ::tensorflow::ApiDef_Visibility _internal_visibility() const;
962   void _internal_set_visibility(::tensorflow::ApiDef_Visibility value);
963   public:
964 
965   // int32 deprecation_version = 13;
966   void clear_deprecation_version();
967   ::int32_t deprecation_version() const;
968   void set_deprecation_version(::int32_t value);
969   private:
970   ::int32_t _internal_deprecation_version() const;
971   void _internal_set_deprecation_version(::int32_t value);
972   public:
973 
974   // @@protoc_insertion_point(class_scope:tensorflow.ApiDef)
975  private:
976   class _Internal;
977 
978   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
979   typedef void InternalArenaConstructable_;
980   typedef void DestructorSkippable_;
981   struct Impl_ {
982     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Endpoint > endpoint_;
983     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Arg > in_arg_;
984     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Arg > out_arg_;
985     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Attr > attr_;
986     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> arg_order_;
987     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr graph_op_name_;
988     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr summary_;
989     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
990     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_prefix_;
991     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_suffix_;
992     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr deprecation_message_;
993     int visibility_;
994     ::int32_t deprecation_version_;
995     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
996   };
997   union { Impl_ _impl_; };
998   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fapi_5fdef_2eproto;
999 };
1000 // -------------------------------------------------------------------
1001 
1002 class ApiDefs final :
1003     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.ApiDefs) */ {
1004  public:
ApiDefs()1005   inline ApiDefs() : ApiDefs(nullptr) {}
1006   ~ApiDefs() override;
1007   explicit PROTOBUF_CONSTEXPR ApiDefs(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1008 
1009   ApiDefs(const ApiDefs& from);
ApiDefs(ApiDefs && from)1010   ApiDefs(ApiDefs&& from) noexcept
1011     : ApiDefs() {
1012     *this = ::std::move(from);
1013   }
1014 
1015   inline ApiDefs& operator=(const ApiDefs& from) {
1016     if (this == &from) return *this;
1017     CopyFrom(from);
1018     return *this;
1019   }
1020   inline ApiDefs& operator=(ApiDefs&& from) noexcept {
1021     if (this == &from) return *this;
1022     if (GetOwningArena() == from.GetOwningArena()
1023   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1024         && GetOwningArena() != nullptr
1025   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1026     ) {
1027       InternalSwap(&from);
1028     } else {
1029       CopyFrom(from);
1030     }
1031     return *this;
1032   }
1033 
default_instance()1034   static const ApiDefs& default_instance() {
1035     return *internal_default_instance();
1036   }
internal_default_instance()1037   static inline const ApiDefs* internal_default_instance() {
1038     return reinterpret_cast<const ApiDefs*>(
1039                &_ApiDefs_default_instance_);
1040   }
1041   static constexpr int kIndexInFileMessages =
1042     4;
1043 
swap(ApiDefs & a,ApiDefs & b)1044   friend void swap(ApiDefs& a, ApiDefs& b) {
1045     a.Swap(&b);
1046   }
Swap(ApiDefs * other)1047   inline void Swap(ApiDefs* other) {
1048     if (other == this) return;
1049   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1050     if (GetOwningArena() != nullptr &&
1051         GetOwningArena() == other->GetOwningArena()) {
1052    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1053     if (GetOwningArena() == other->GetOwningArena()) {
1054   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1055       InternalSwap(other);
1056     } else {
1057       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1058     }
1059   }
1060   void UnsafeArenaSwap(ApiDefs* other) {
1061     if (other == this) return;
1062     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1063     InternalSwap(other);
1064   }
1065 
1066   // implements Message ----------------------------------------------
1067 
1068   ApiDefs* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1069     return CreateMaybeMessage<ApiDefs>(arena);
1070   }
1071   ApiDefs* New() const {
1072     return New(nullptr);
1073   }
1074   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1075   void CopyFrom(const ApiDefs& from);
1076   void MergeFrom(const ApiDefs& from);
1077   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1078   bool IsInitialized() const final;
1079 
1080   size_t ByteSizeLong() const final;
1081   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1082   ::uint8_t* _InternalSerialize(
1083       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1084   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1085 
1086   private:
1087   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1088   void SharedDtor();
1089   void SetCachedSize(int size) const;
1090   void InternalSwap(ApiDefs* other);
1091 
1092   private:
1093   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1094   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1095     return "tensorflow.ApiDefs";
1096   }
1097   protected:
1098   explicit ApiDefs(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1099                        bool is_message_owned = false);
1100   public:
1101 
1102   std::string GetTypeName() const final;
1103 
1104   // nested types ----------------------------------------------------
1105 
1106   // accessors -------------------------------------------------------
1107 
1108   enum : int {
1109     kOpFieldNumber = 1,
1110   };
1111   // repeated .tensorflow.ApiDef op = 1;
1112   int op_size() const;
1113   private:
1114   int _internal_op_size() const;
1115   public:
1116   void clear_op();
1117   ::tensorflow::ApiDef* mutable_op(int index);
1118   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef >*
1119       mutable_op();
1120   private:
1121   const ::tensorflow::ApiDef& _internal_op(int index) const;
1122   ::tensorflow::ApiDef* _internal_add_op();
1123   public:
1124   const ::tensorflow::ApiDef& op(int index) const;
1125   ::tensorflow::ApiDef* add_op();
1126   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef >&
1127       op() const;
1128 
1129   // @@protoc_insertion_point(class_scope:tensorflow.ApiDefs)
1130  private:
1131   class _Internal;
1132 
1133   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1134   typedef void InternalArenaConstructable_;
1135   typedef void DestructorSkippable_;
1136   struct Impl_ {
1137     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef > op_;
1138     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1139   };
1140   union { Impl_ _impl_; };
1141   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2fapi_5fdef_2eproto;
1142 };
1143 // ===================================================================
1144 
1145 
1146 // ===================================================================
1147 
1148 #ifdef __GNUC__
1149   #pragma GCC diagnostic push
1150   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1151 #endif  // __GNUC__
1152 // ApiDef_Endpoint
1153 
1154 // string name = 1;
clear_name()1155 inline void ApiDef_Endpoint::clear_name() {
1156   _impl_.name_.ClearToEmpty();
1157 }
name()1158 inline const std::string& ApiDef_Endpoint::name() const {
1159   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.Endpoint.name)
1160   return _internal_name();
1161 }
1162 template <typename ArgT0, typename... ArgT>
1163 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)1164 void ApiDef_Endpoint::set_name(ArgT0&& arg0, ArgT... args) {
1165 
1166  _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1167   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.Endpoint.name)
1168 }
mutable_name()1169 inline std::string* ApiDef_Endpoint::mutable_name() {
1170   std::string* _s = _internal_mutable_name();
1171   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.Endpoint.name)
1172   return _s;
1173 }
_internal_name()1174 inline const std::string& ApiDef_Endpoint::_internal_name() const {
1175   return _impl_.name_.Get();
1176 }
_internal_set_name(const std::string & value)1177 inline void ApiDef_Endpoint::_internal_set_name(const std::string& value) {
1178 
1179   _impl_.name_.Set(value, GetArenaForAllocation());
1180 }
_internal_mutable_name()1181 inline std::string* ApiDef_Endpoint::_internal_mutable_name() {
1182 
1183   return _impl_.name_.Mutable(GetArenaForAllocation());
1184 }
release_name()1185 inline std::string* ApiDef_Endpoint::release_name() {
1186   // @@protoc_insertion_point(field_release:tensorflow.ApiDef.Endpoint.name)
1187   return _impl_.name_.Release();
1188 }
set_allocated_name(std::string * name)1189 inline void ApiDef_Endpoint::set_allocated_name(std::string* name) {
1190   _impl_.name_.SetAllocated(name, GetArenaForAllocation());
1191 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1192   if (_impl_.name_.IsDefault()) {
1193     _impl_.name_.Set("", GetArenaForAllocation());
1194   }
1195 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1196   // @@protoc_insertion_point(field_set_allocated:tensorflow.ApiDef.Endpoint.name)
1197 }
1198 
1199 // bool deprecated = 3;
clear_deprecated()1200 inline void ApiDef_Endpoint::clear_deprecated() {
1201   _impl_.deprecated_ = false;
1202 }
_internal_deprecated()1203 inline bool ApiDef_Endpoint::_internal_deprecated() const {
1204   return _impl_.deprecated_;
1205 }
deprecated()1206 inline bool ApiDef_Endpoint::deprecated() const {
1207   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.Endpoint.deprecated)
1208   return _internal_deprecated();
1209 }
_internal_set_deprecated(bool value)1210 inline void ApiDef_Endpoint::_internal_set_deprecated(bool value) {
1211 
1212   _impl_.deprecated_ = value;
1213 }
set_deprecated(bool value)1214 inline void ApiDef_Endpoint::set_deprecated(bool value) {
1215   _internal_set_deprecated(value);
1216   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.Endpoint.deprecated)
1217 }
1218 
1219 // int32 deprecation_version = 4;
clear_deprecation_version()1220 inline void ApiDef_Endpoint::clear_deprecation_version() {
1221   _impl_.deprecation_version_ = 0;
1222 }
_internal_deprecation_version()1223 inline ::int32_t ApiDef_Endpoint::_internal_deprecation_version() const {
1224   return _impl_.deprecation_version_;
1225 }
deprecation_version()1226 inline ::int32_t ApiDef_Endpoint::deprecation_version() const {
1227   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.Endpoint.deprecation_version)
1228   return _internal_deprecation_version();
1229 }
_internal_set_deprecation_version(::int32_t value)1230 inline void ApiDef_Endpoint::_internal_set_deprecation_version(::int32_t value) {
1231 
1232   _impl_.deprecation_version_ = value;
1233 }
set_deprecation_version(::int32_t value)1234 inline void ApiDef_Endpoint::set_deprecation_version(::int32_t value) {
1235   _internal_set_deprecation_version(value);
1236   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.Endpoint.deprecation_version)
1237 }
1238 
1239 // -------------------------------------------------------------------
1240 
1241 // ApiDef_Arg
1242 
1243 // string name = 1;
clear_name()1244 inline void ApiDef_Arg::clear_name() {
1245   _impl_.name_.ClearToEmpty();
1246 }
name()1247 inline const std::string& ApiDef_Arg::name() const {
1248   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.Arg.name)
1249   return _internal_name();
1250 }
1251 template <typename ArgT0, typename... ArgT>
1252 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)1253 void ApiDef_Arg::set_name(ArgT0&& arg0, ArgT... args) {
1254 
1255  _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1256   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.Arg.name)
1257 }
mutable_name()1258 inline std::string* ApiDef_Arg::mutable_name() {
1259   std::string* _s = _internal_mutable_name();
1260   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.Arg.name)
1261   return _s;
1262 }
_internal_name()1263 inline const std::string& ApiDef_Arg::_internal_name() const {
1264   return _impl_.name_.Get();
1265 }
_internal_set_name(const std::string & value)1266 inline void ApiDef_Arg::_internal_set_name(const std::string& value) {
1267 
1268   _impl_.name_.Set(value, GetArenaForAllocation());
1269 }
_internal_mutable_name()1270 inline std::string* ApiDef_Arg::_internal_mutable_name() {
1271 
1272   return _impl_.name_.Mutable(GetArenaForAllocation());
1273 }
release_name()1274 inline std::string* ApiDef_Arg::release_name() {
1275   // @@protoc_insertion_point(field_release:tensorflow.ApiDef.Arg.name)
1276   return _impl_.name_.Release();
1277 }
set_allocated_name(std::string * name)1278 inline void ApiDef_Arg::set_allocated_name(std::string* name) {
1279   _impl_.name_.SetAllocated(name, GetArenaForAllocation());
1280 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1281   if (_impl_.name_.IsDefault()) {
1282     _impl_.name_.Set("", GetArenaForAllocation());
1283   }
1284 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1285   // @@protoc_insertion_point(field_set_allocated:tensorflow.ApiDef.Arg.name)
1286 }
1287 
1288 // string rename_to = 2;
clear_rename_to()1289 inline void ApiDef_Arg::clear_rename_to() {
1290   _impl_.rename_to_.ClearToEmpty();
1291 }
rename_to()1292 inline const std::string& ApiDef_Arg::rename_to() const {
1293   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.Arg.rename_to)
1294   return _internal_rename_to();
1295 }
1296 template <typename ArgT0, typename... ArgT>
1297 inline PROTOBUF_ALWAYS_INLINE
set_rename_to(ArgT0 && arg0,ArgT...args)1298 void ApiDef_Arg::set_rename_to(ArgT0&& arg0, ArgT... args) {
1299 
1300  _impl_.rename_to_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1301   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.Arg.rename_to)
1302 }
mutable_rename_to()1303 inline std::string* ApiDef_Arg::mutable_rename_to() {
1304   std::string* _s = _internal_mutable_rename_to();
1305   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.Arg.rename_to)
1306   return _s;
1307 }
_internal_rename_to()1308 inline const std::string& ApiDef_Arg::_internal_rename_to() const {
1309   return _impl_.rename_to_.Get();
1310 }
_internal_set_rename_to(const std::string & value)1311 inline void ApiDef_Arg::_internal_set_rename_to(const std::string& value) {
1312 
1313   _impl_.rename_to_.Set(value, GetArenaForAllocation());
1314 }
_internal_mutable_rename_to()1315 inline std::string* ApiDef_Arg::_internal_mutable_rename_to() {
1316 
1317   return _impl_.rename_to_.Mutable(GetArenaForAllocation());
1318 }
release_rename_to()1319 inline std::string* ApiDef_Arg::release_rename_to() {
1320   // @@protoc_insertion_point(field_release:tensorflow.ApiDef.Arg.rename_to)
1321   return _impl_.rename_to_.Release();
1322 }
set_allocated_rename_to(std::string * rename_to)1323 inline void ApiDef_Arg::set_allocated_rename_to(std::string* rename_to) {
1324   _impl_.rename_to_.SetAllocated(rename_to, GetArenaForAllocation());
1325 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1326   if (_impl_.rename_to_.IsDefault()) {
1327     _impl_.rename_to_.Set("", GetArenaForAllocation());
1328   }
1329 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1330   // @@protoc_insertion_point(field_set_allocated:tensorflow.ApiDef.Arg.rename_to)
1331 }
1332 
1333 // string description = 3;
clear_description()1334 inline void ApiDef_Arg::clear_description() {
1335   _impl_.description_.ClearToEmpty();
1336 }
description()1337 inline const std::string& ApiDef_Arg::description() const {
1338   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.Arg.description)
1339   return _internal_description();
1340 }
1341 template <typename ArgT0, typename... ArgT>
1342 inline PROTOBUF_ALWAYS_INLINE
set_description(ArgT0 && arg0,ArgT...args)1343 void ApiDef_Arg::set_description(ArgT0&& arg0, ArgT... args) {
1344 
1345  _impl_.description_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1346   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.Arg.description)
1347 }
mutable_description()1348 inline std::string* ApiDef_Arg::mutable_description() {
1349   std::string* _s = _internal_mutable_description();
1350   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.Arg.description)
1351   return _s;
1352 }
_internal_description()1353 inline const std::string& ApiDef_Arg::_internal_description() const {
1354   return _impl_.description_.Get();
1355 }
_internal_set_description(const std::string & value)1356 inline void ApiDef_Arg::_internal_set_description(const std::string& value) {
1357 
1358   _impl_.description_.Set(value, GetArenaForAllocation());
1359 }
_internal_mutable_description()1360 inline std::string* ApiDef_Arg::_internal_mutable_description() {
1361 
1362   return _impl_.description_.Mutable(GetArenaForAllocation());
1363 }
release_description()1364 inline std::string* ApiDef_Arg::release_description() {
1365   // @@protoc_insertion_point(field_release:tensorflow.ApiDef.Arg.description)
1366   return _impl_.description_.Release();
1367 }
set_allocated_description(std::string * description)1368 inline void ApiDef_Arg::set_allocated_description(std::string* description) {
1369   _impl_.description_.SetAllocated(description, GetArenaForAllocation());
1370 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1371   if (_impl_.description_.IsDefault()) {
1372     _impl_.description_.Set("", GetArenaForAllocation());
1373   }
1374 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1375   // @@protoc_insertion_point(field_set_allocated:tensorflow.ApiDef.Arg.description)
1376 }
1377 
1378 // -------------------------------------------------------------------
1379 
1380 // ApiDef_Attr
1381 
1382 // string name = 1;
clear_name()1383 inline void ApiDef_Attr::clear_name() {
1384   _impl_.name_.ClearToEmpty();
1385 }
name()1386 inline const std::string& ApiDef_Attr::name() const {
1387   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.Attr.name)
1388   return _internal_name();
1389 }
1390 template <typename ArgT0, typename... ArgT>
1391 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)1392 void ApiDef_Attr::set_name(ArgT0&& arg0, ArgT... args) {
1393 
1394  _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1395   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.Attr.name)
1396 }
mutable_name()1397 inline std::string* ApiDef_Attr::mutable_name() {
1398   std::string* _s = _internal_mutable_name();
1399   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.Attr.name)
1400   return _s;
1401 }
_internal_name()1402 inline const std::string& ApiDef_Attr::_internal_name() const {
1403   return _impl_.name_.Get();
1404 }
_internal_set_name(const std::string & value)1405 inline void ApiDef_Attr::_internal_set_name(const std::string& value) {
1406 
1407   _impl_.name_.Set(value, GetArenaForAllocation());
1408 }
_internal_mutable_name()1409 inline std::string* ApiDef_Attr::_internal_mutable_name() {
1410 
1411   return _impl_.name_.Mutable(GetArenaForAllocation());
1412 }
release_name()1413 inline std::string* ApiDef_Attr::release_name() {
1414   // @@protoc_insertion_point(field_release:tensorflow.ApiDef.Attr.name)
1415   return _impl_.name_.Release();
1416 }
set_allocated_name(std::string * name)1417 inline void ApiDef_Attr::set_allocated_name(std::string* name) {
1418   _impl_.name_.SetAllocated(name, GetArenaForAllocation());
1419 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1420   if (_impl_.name_.IsDefault()) {
1421     _impl_.name_.Set("", GetArenaForAllocation());
1422   }
1423 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1424   // @@protoc_insertion_point(field_set_allocated:tensorflow.ApiDef.Attr.name)
1425 }
1426 
1427 // string rename_to = 2;
clear_rename_to()1428 inline void ApiDef_Attr::clear_rename_to() {
1429   _impl_.rename_to_.ClearToEmpty();
1430 }
rename_to()1431 inline const std::string& ApiDef_Attr::rename_to() const {
1432   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.Attr.rename_to)
1433   return _internal_rename_to();
1434 }
1435 template <typename ArgT0, typename... ArgT>
1436 inline PROTOBUF_ALWAYS_INLINE
set_rename_to(ArgT0 && arg0,ArgT...args)1437 void ApiDef_Attr::set_rename_to(ArgT0&& arg0, ArgT... args) {
1438 
1439  _impl_.rename_to_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1440   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.Attr.rename_to)
1441 }
mutable_rename_to()1442 inline std::string* ApiDef_Attr::mutable_rename_to() {
1443   std::string* _s = _internal_mutable_rename_to();
1444   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.Attr.rename_to)
1445   return _s;
1446 }
_internal_rename_to()1447 inline const std::string& ApiDef_Attr::_internal_rename_to() const {
1448   return _impl_.rename_to_.Get();
1449 }
_internal_set_rename_to(const std::string & value)1450 inline void ApiDef_Attr::_internal_set_rename_to(const std::string& value) {
1451 
1452   _impl_.rename_to_.Set(value, GetArenaForAllocation());
1453 }
_internal_mutable_rename_to()1454 inline std::string* ApiDef_Attr::_internal_mutable_rename_to() {
1455 
1456   return _impl_.rename_to_.Mutable(GetArenaForAllocation());
1457 }
release_rename_to()1458 inline std::string* ApiDef_Attr::release_rename_to() {
1459   // @@protoc_insertion_point(field_release:tensorflow.ApiDef.Attr.rename_to)
1460   return _impl_.rename_to_.Release();
1461 }
set_allocated_rename_to(std::string * rename_to)1462 inline void ApiDef_Attr::set_allocated_rename_to(std::string* rename_to) {
1463   _impl_.rename_to_.SetAllocated(rename_to, GetArenaForAllocation());
1464 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1465   if (_impl_.rename_to_.IsDefault()) {
1466     _impl_.rename_to_.Set("", GetArenaForAllocation());
1467   }
1468 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1469   // @@protoc_insertion_point(field_set_allocated:tensorflow.ApiDef.Attr.rename_to)
1470 }
1471 
1472 // .tensorflow.AttrValue default_value = 3;
_internal_has_default_value()1473 inline bool ApiDef_Attr::_internal_has_default_value() const {
1474   return this != internal_default_instance() && _impl_.default_value_ != nullptr;
1475 }
has_default_value()1476 inline bool ApiDef_Attr::has_default_value() const {
1477   return _internal_has_default_value();
1478 }
_internal_default_value()1479 inline const ::tensorflow::AttrValue& ApiDef_Attr::_internal_default_value() const {
1480   const ::tensorflow::AttrValue* p = _impl_.default_value_;
1481   return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::AttrValue&>(
1482       ::tensorflow::_AttrValue_default_instance_);
1483 }
default_value()1484 inline const ::tensorflow::AttrValue& ApiDef_Attr::default_value() const {
1485   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.Attr.default_value)
1486   return _internal_default_value();
1487 }
unsafe_arena_set_allocated_default_value(::tensorflow::AttrValue * default_value)1488 inline void ApiDef_Attr::unsafe_arena_set_allocated_default_value(
1489     ::tensorflow::AttrValue* default_value) {
1490   if (GetArenaForAllocation() == nullptr) {
1491     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.default_value_);
1492   }
1493   _impl_.default_value_ = default_value;
1494   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.ApiDef.Attr.default_value)
1495 }
release_default_value()1496 inline ::tensorflow::AttrValue* ApiDef_Attr::release_default_value() {
1497 
1498   ::tensorflow::AttrValue* temp = _impl_.default_value_;
1499   _impl_.default_value_ = nullptr;
1500 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1501   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1502   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1503   if (GetArenaForAllocation() == nullptr) { delete old; }
1504 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
1505   if (GetArenaForAllocation() != nullptr) {
1506     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1507   }
1508 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
1509   return temp;
1510 }
unsafe_arena_release_default_value()1511 inline ::tensorflow::AttrValue* ApiDef_Attr::unsafe_arena_release_default_value() {
1512   // @@protoc_insertion_point(field_release:tensorflow.ApiDef.Attr.default_value)
1513 
1514   ::tensorflow::AttrValue* temp = _impl_.default_value_;
1515   _impl_.default_value_ = nullptr;
1516   return temp;
1517 }
_internal_mutable_default_value()1518 inline ::tensorflow::AttrValue* ApiDef_Attr::_internal_mutable_default_value() {
1519 
1520   if (_impl_.default_value_ == nullptr) {
1521     auto* p = CreateMaybeMessage<::tensorflow::AttrValue>(GetArenaForAllocation());
1522     _impl_.default_value_ = p;
1523   }
1524   return _impl_.default_value_;
1525 }
mutable_default_value()1526 inline ::tensorflow::AttrValue* ApiDef_Attr::mutable_default_value() {
1527   ::tensorflow::AttrValue* _msg = _internal_mutable_default_value();
1528   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.Attr.default_value)
1529   return _msg;
1530 }
set_allocated_default_value(::tensorflow::AttrValue * default_value)1531 inline void ApiDef_Attr::set_allocated_default_value(::tensorflow::AttrValue* default_value) {
1532   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1533   if (message_arena == nullptr) {
1534     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.default_value_);
1535   }
1536   if (default_value) {
1537     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1538         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1539                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(default_value));
1540     if (message_arena != submessage_arena) {
1541       default_value = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1542           message_arena, default_value, submessage_arena);
1543     }
1544 
1545   } else {
1546 
1547   }
1548   _impl_.default_value_ = default_value;
1549   // @@protoc_insertion_point(field_set_allocated:tensorflow.ApiDef.Attr.default_value)
1550 }
1551 
1552 // string description = 4;
clear_description()1553 inline void ApiDef_Attr::clear_description() {
1554   _impl_.description_.ClearToEmpty();
1555 }
description()1556 inline const std::string& ApiDef_Attr::description() const {
1557   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.Attr.description)
1558   return _internal_description();
1559 }
1560 template <typename ArgT0, typename... ArgT>
1561 inline PROTOBUF_ALWAYS_INLINE
set_description(ArgT0 && arg0,ArgT...args)1562 void ApiDef_Attr::set_description(ArgT0&& arg0, ArgT... args) {
1563 
1564  _impl_.description_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1565   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.Attr.description)
1566 }
mutable_description()1567 inline std::string* ApiDef_Attr::mutable_description() {
1568   std::string* _s = _internal_mutable_description();
1569   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.Attr.description)
1570   return _s;
1571 }
_internal_description()1572 inline const std::string& ApiDef_Attr::_internal_description() const {
1573   return _impl_.description_.Get();
1574 }
_internal_set_description(const std::string & value)1575 inline void ApiDef_Attr::_internal_set_description(const std::string& value) {
1576 
1577   _impl_.description_.Set(value, GetArenaForAllocation());
1578 }
_internal_mutable_description()1579 inline std::string* ApiDef_Attr::_internal_mutable_description() {
1580 
1581   return _impl_.description_.Mutable(GetArenaForAllocation());
1582 }
release_description()1583 inline std::string* ApiDef_Attr::release_description() {
1584   // @@protoc_insertion_point(field_release:tensorflow.ApiDef.Attr.description)
1585   return _impl_.description_.Release();
1586 }
set_allocated_description(std::string * description)1587 inline void ApiDef_Attr::set_allocated_description(std::string* description) {
1588   _impl_.description_.SetAllocated(description, GetArenaForAllocation());
1589 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1590   if (_impl_.description_.IsDefault()) {
1591     _impl_.description_.Set("", GetArenaForAllocation());
1592   }
1593 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1594   // @@protoc_insertion_point(field_set_allocated:tensorflow.ApiDef.Attr.description)
1595 }
1596 
1597 // -------------------------------------------------------------------
1598 
1599 // ApiDef
1600 
1601 // string graph_op_name = 1;
clear_graph_op_name()1602 inline void ApiDef::clear_graph_op_name() {
1603   _impl_.graph_op_name_.ClearToEmpty();
1604 }
graph_op_name()1605 inline const std::string& ApiDef::graph_op_name() const {
1606   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.graph_op_name)
1607   return _internal_graph_op_name();
1608 }
1609 template <typename ArgT0, typename... ArgT>
1610 inline PROTOBUF_ALWAYS_INLINE
set_graph_op_name(ArgT0 && arg0,ArgT...args)1611 void ApiDef::set_graph_op_name(ArgT0&& arg0, ArgT... args) {
1612 
1613  _impl_.graph_op_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1614   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.graph_op_name)
1615 }
mutable_graph_op_name()1616 inline std::string* ApiDef::mutable_graph_op_name() {
1617   std::string* _s = _internal_mutable_graph_op_name();
1618   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.graph_op_name)
1619   return _s;
1620 }
_internal_graph_op_name()1621 inline const std::string& ApiDef::_internal_graph_op_name() const {
1622   return _impl_.graph_op_name_.Get();
1623 }
_internal_set_graph_op_name(const std::string & value)1624 inline void ApiDef::_internal_set_graph_op_name(const std::string& value) {
1625 
1626   _impl_.graph_op_name_.Set(value, GetArenaForAllocation());
1627 }
_internal_mutable_graph_op_name()1628 inline std::string* ApiDef::_internal_mutable_graph_op_name() {
1629 
1630   return _impl_.graph_op_name_.Mutable(GetArenaForAllocation());
1631 }
release_graph_op_name()1632 inline std::string* ApiDef::release_graph_op_name() {
1633   // @@protoc_insertion_point(field_release:tensorflow.ApiDef.graph_op_name)
1634   return _impl_.graph_op_name_.Release();
1635 }
set_allocated_graph_op_name(std::string * graph_op_name)1636 inline void ApiDef::set_allocated_graph_op_name(std::string* graph_op_name) {
1637   _impl_.graph_op_name_.SetAllocated(graph_op_name, GetArenaForAllocation());
1638 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1639   if (_impl_.graph_op_name_.IsDefault()) {
1640     _impl_.graph_op_name_.Set("", GetArenaForAllocation());
1641   }
1642 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1643   // @@protoc_insertion_point(field_set_allocated:tensorflow.ApiDef.graph_op_name)
1644 }
1645 
1646 // string deprecation_message = 12;
clear_deprecation_message()1647 inline void ApiDef::clear_deprecation_message() {
1648   _impl_.deprecation_message_.ClearToEmpty();
1649 }
deprecation_message()1650 inline const std::string& ApiDef::deprecation_message() const {
1651   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.deprecation_message)
1652   return _internal_deprecation_message();
1653 }
1654 template <typename ArgT0, typename... ArgT>
1655 inline PROTOBUF_ALWAYS_INLINE
set_deprecation_message(ArgT0 && arg0,ArgT...args)1656 void ApiDef::set_deprecation_message(ArgT0&& arg0, ArgT... args) {
1657 
1658  _impl_.deprecation_message_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1659   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.deprecation_message)
1660 }
mutable_deprecation_message()1661 inline std::string* ApiDef::mutable_deprecation_message() {
1662   std::string* _s = _internal_mutable_deprecation_message();
1663   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.deprecation_message)
1664   return _s;
1665 }
_internal_deprecation_message()1666 inline const std::string& ApiDef::_internal_deprecation_message() const {
1667   return _impl_.deprecation_message_.Get();
1668 }
_internal_set_deprecation_message(const std::string & value)1669 inline void ApiDef::_internal_set_deprecation_message(const std::string& value) {
1670 
1671   _impl_.deprecation_message_.Set(value, GetArenaForAllocation());
1672 }
_internal_mutable_deprecation_message()1673 inline std::string* ApiDef::_internal_mutable_deprecation_message() {
1674 
1675   return _impl_.deprecation_message_.Mutable(GetArenaForAllocation());
1676 }
release_deprecation_message()1677 inline std::string* ApiDef::release_deprecation_message() {
1678   // @@protoc_insertion_point(field_release:tensorflow.ApiDef.deprecation_message)
1679   return _impl_.deprecation_message_.Release();
1680 }
set_allocated_deprecation_message(std::string * deprecation_message)1681 inline void ApiDef::set_allocated_deprecation_message(std::string* deprecation_message) {
1682   _impl_.deprecation_message_.SetAllocated(deprecation_message, GetArenaForAllocation());
1683 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1684   if (_impl_.deprecation_message_.IsDefault()) {
1685     _impl_.deprecation_message_.Set("", GetArenaForAllocation());
1686   }
1687 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1688   // @@protoc_insertion_point(field_set_allocated:tensorflow.ApiDef.deprecation_message)
1689 }
1690 
1691 // int32 deprecation_version = 13;
clear_deprecation_version()1692 inline void ApiDef::clear_deprecation_version() {
1693   _impl_.deprecation_version_ = 0;
1694 }
_internal_deprecation_version()1695 inline ::int32_t ApiDef::_internal_deprecation_version() const {
1696   return _impl_.deprecation_version_;
1697 }
deprecation_version()1698 inline ::int32_t ApiDef::deprecation_version() const {
1699   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.deprecation_version)
1700   return _internal_deprecation_version();
1701 }
_internal_set_deprecation_version(::int32_t value)1702 inline void ApiDef::_internal_set_deprecation_version(::int32_t value) {
1703 
1704   _impl_.deprecation_version_ = value;
1705 }
set_deprecation_version(::int32_t value)1706 inline void ApiDef::set_deprecation_version(::int32_t value) {
1707   _internal_set_deprecation_version(value);
1708   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.deprecation_version)
1709 }
1710 
1711 // .tensorflow.ApiDef.Visibility visibility = 2;
clear_visibility()1712 inline void ApiDef::clear_visibility() {
1713   _impl_.visibility_ = 0;
1714 }
_internal_visibility()1715 inline ::tensorflow::ApiDef_Visibility ApiDef::_internal_visibility() const {
1716   return static_cast< ::tensorflow::ApiDef_Visibility >(_impl_.visibility_);
1717 }
visibility()1718 inline ::tensorflow::ApiDef_Visibility ApiDef::visibility() const {
1719   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.visibility)
1720   return _internal_visibility();
1721 }
_internal_set_visibility(::tensorflow::ApiDef_Visibility value)1722 inline void ApiDef::_internal_set_visibility(::tensorflow::ApiDef_Visibility value) {
1723 
1724   _impl_.visibility_ = value;
1725 }
set_visibility(::tensorflow::ApiDef_Visibility value)1726 inline void ApiDef::set_visibility(::tensorflow::ApiDef_Visibility value) {
1727   _internal_set_visibility(value);
1728   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.visibility)
1729 }
1730 
1731 // repeated .tensorflow.ApiDef.Endpoint endpoint = 3;
_internal_endpoint_size()1732 inline int ApiDef::_internal_endpoint_size() const {
1733   return _impl_.endpoint_.size();
1734 }
endpoint_size()1735 inline int ApiDef::endpoint_size() const {
1736   return _internal_endpoint_size();
1737 }
clear_endpoint()1738 inline void ApiDef::clear_endpoint() {
1739   _impl_.endpoint_.Clear();
1740 }
mutable_endpoint(int index)1741 inline ::tensorflow::ApiDef_Endpoint* ApiDef::mutable_endpoint(int index) {
1742   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.endpoint)
1743   return _impl_.endpoint_.Mutable(index);
1744 }
1745 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Endpoint >*
mutable_endpoint()1746 ApiDef::mutable_endpoint() {
1747   // @@protoc_insertion_point(field_mutable_list:tensorflow.ApiDef.endpoint)
1748   return &_impl_.endpoint_;
1749 }
_internal_endpoint(int index)1750 inline const ::tensorflow::ApiDef_Endpoint& ApiDef::_internal_endpoint(int index) const {
1751   return _impl_.endpoint_.Get(index);
1752 }
endpoint(int index)1753 inline const ::tensorflow::ApiDef_Endpoint& ApiDef::endpoint(int index) const {
1754   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.endpoint)
1755   return _internal_endpoint(index);
1756 }
_internal_add_endpoint()1757 inline ::tensorflow::ApiDef_Endpoint* ApiDef::_internal_add_endpoint() {
1758   return _impl_.endpoint_.Add();
1759 }
add_endpoint()1760 inline ::tensorflow::ApiDef_Endpoint* ApiDef::add_endpoint() {
1761   ::tensorflow::ApiDef_Endpoint* _add = _internal_add_endpoint();
1762   // @@protoc_insertion_point(field_add:tensorflow.ApiDef.endpoint)
1763   return _add;
1764 }
1765 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Endpoint >&
endpoint()1766 ApiDef::endpoint() const {
1767   // @@protoc_insertion_point(field_list:tensorflow.ApiDef.endpoint)
1768   return _impl_.endpoint_;
1769 }
1770 
1771 // repeated .tensorflow.ApiDef.Arg in_arg = 4;
_internal_in_arg_size()1772 inline int ApiDef::_internal_in_arg_size() const {
1773   return _impl_.in_arg_.size();
1774 }
in_arg_size()1775 inline int ApiDef::in_arg_size() const {
1776   return _internal_in_arg_size();
1777 }
clear_in_arg()1778 inline void ApiDef::clear_in_arg() {
1779   _impl_.in_arg_.Clear();
1780 }
mutable_in_arg(int index)1781 inline ::tensorflow::ApiDef_Arg* ApiDef::mutable_in_arg(int index) {
1782   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.in_arg)
1783   return _impl_.in_arg_.Mutable(index);
1784 }
1785 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Arg >*
mutable_in_arg()1786 ApiDef::mutable_in_arg() {
1787   // @@protoc_insertion_point(field_mutable_list:tensorflow.ApiDef.in_arg)
1788   return &_impl_.in_arg_;
1789 }
_internal_in_arg(int index)1790 inline const ::tensorflow::ApiDef_Arg& ApiDef::_internal_in_arg(int index) const {
1791   return _impl_.in_arg_.Get(index);
1792 }
in_arg(int index)1793 inline const ::tensorflow::ApiDef_Arg& ApiDef::in_arg(int index) const {
1794   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.in_arg)
1795   return _internal_in_arg(index);
1796 }
_internal_add_in_arg()1797 inline ::tensorflow::ApiDef_Arg* ApiDef::_internal_add_in_arg() {
1798   return _impl_.in_arg_.Add();
1799 }
add_in_arg()1800 inline ::tensorflow::ApiDef_Arg* ApiDef::add_in_arg() {
1801   ::tensorflow::ApiDef_Arg* _add = _internal_add_in_arg();
1802   // @@protoc_insertion_point(field_add:tensorflow.ApiDef.in_arg)
1803   return _add;
1804 }
1805 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Arg >&
in_arg()1806 ApiDef::in_arg() const {
1807   // @@protoc_insertion_point(field_list:tensorflow.ApiDef.in_arg)
1808   return _impl_.in_arg_;
1809 }
1810 
1811 // repeated .tensorflow.ApiDef.Arg out_arg = 5;
_internal_out_arg_size()1812 inline int ApiDef::_internal_out_arg_size() const {
1813   return _impl_.out_arg_.size();
1814 }
out_arg_size()1815 inline int ApiDef::out_arg_size() const {
1816   return _internal_out_arg_size();
1817 }
clear_out_arg()1818 inline void ApiDef::clear_out_arg() {
1819   _impl_.out_arg_.Clear();
1820 }
mutable_out_arg(int index)1821 inline ::tensorflow::ApiDef_Arg* ApiDef::mutable_out_arg(int index) {
1822   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.out_arg)
1823   return _impl_.out_arg_.Mutable(index);
1824 }
1825 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Arg >*
mutable_out_arg()1826 ApiDef::mutable_out_arg() {
1827   // @@protoc_insertion_point(field_mutable_list:tensorflow.ApiDef.out_arg)
1828   return &_impl_.out_arg_;
1829 }
_internal_out_arg(int index)1830 inline const ::tensorflow::ApiDef_Arg& ApiDef::_internal_out_arg(int index) const {
1831   return _impl_.out_arg_.Get(index);
1832 }
out_arg(int index)1833 inline const ::tensorflow::ApiDef_Arg& ApiDef::out_arg(int index) const {
1834   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.out_arg)
1835   return _internal_out_arg(index);
1836 }
_internal_add_out_arg()1837 inline ::tensorflow::ApiDef_Arg* ApiDef::_internal_add_out_arg() {
1838   return _impl_.out_arg_.Add();
1839 }
add_out_arg()1840 inline ::tensorflow::ApiDef_Arg* ApiDef::add_out_arg() {
1841   ::tensorflow::ApiDef_Arg* _add = _internal_add_out_arg();
1842   // @@protoc_insertion_point(field_add:tensorflow.ApiDef.out_arg)
1843   return _add;
1844 }
1845 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Arg >&
out_arg()1846 ApiDef::out_arg() const {
1847   // @@protoc_insertion_point(field_list:tensorflow.ApiDef.out_arg)
1848   return _impl_.out_arg_;
1849 }
1850 
1851 // repeated string arg_order = 11;
_internal_arg_order_size()1852 inline int ApiDef::_internal_arg_order_size() const {
1853   return _impl_.arg_order_.size();
1854 }
arg_order_size()1855 inline int ApiDef::arg_order_size() const {
1856   return _internal_arg_order_size();
1857 }
clear_arg_order()1858 inline void ApiDef::clear_arg_order() {
1859   _impl_.arg_order_.Clear();
1860 }
add_arg_order()1861 inline std::string* ApiDef::add_arg_order() {
1862   std::string* _s = _internal_add_arg_order();
1863   // @@protoc_insertion_point(field_add_mutable:tensorflow.ApiDef.arg_order)
1864   return _s;
1865 }
_internal_arg_order(int index)1866 inline const std::string& ApiDef::_internal_arg_order(int index) const {
1867   return _impl_.arg_order_.Get(index);
1868 }
arg_order(int index)1869 inline const std::string& ApiDef::arg_order(int index) const {
1870   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.arg_order)
1871   return _internal_arg_order(index);
1872 }
mutable_arg_order(int index)1873 inline std::string* ApiDef::mutable_arg_order(int index) {
1874   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.arg_order)
1875   return _impl_.arg_order_.Mutable(index);
1876 }
set_arg_order(int index,const std::string & value)1877 inline void ApiDef::set_arg_order(int index, const std::string& value) {
1878   _impl_.arg_order_.Mutable(index)->assign(value);
1879   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.arg_order)
1880 }
set_arg_order(int index,std::string && value)1881 inline void ApiDef::set_arg_order(int index, std::string&& value) {
1882   _impl_.arg_order_.Mutable(index)->assign(std::move(value));
1883   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.arg_order)
1884 }
set_arg_order(int index,const char * value)1885 inline void ApiDef::set_arg_order(int index, const char* value) {
1886   GOOGLE_DCHECK(value != nullptr);
1887   _impl_.arg_order_.Mutable(index)->assign(value);
1888   // @@protoc_insertion_point(field_set_char:tensorflow.ApiDef.arg_order)
1889 }
set_arg_order(int index,const char * value,size_t size)1890 inline void ApiDef::set_arg_order(int index, const char* value, size_t size) {
1891   _impl_.arg_order_.Mutable(index)->assign(
1892     reinterpret_cast<const char*>(value), size);
1893   // @@protoc_insertion_point(field_set_pointer:tensorflow.ApiDef.arg_order)
1894 }
_internal_add_arg_order()1895 inline std::string* ApiDef::_internal_add_arg_order() {
1896   return _impl_.arg_order_.Add();
1897 }
add_arg_order(const std::string & value)1898 inline void ApiDef::add_arg_order(const std::string& value) {
1899   _impl_.arg_order_.Add()->assign(value);
1900   // @@protoc_insertion_point(field_add:tensorflow.ApiDef.arg_order)
1901 }
add_arg_order(std::string && value)1902 inline void ApiDef::add_arg_order(std::string&& value) {
1903   _impl_.arg_order_.Add(std::move(value));
1904   // @@protoc_insertion_point(field_add:tensorflow.ApiDef.arg_order)
1905 }
add_arg_order(const char * value)1906 inline void ApiDef::add_arg_order(const char* value) {
1907   GOOGLE_DCHECK(value != nullptr);
1908   _impl_.arg_order_.Add()->assign(value);
1909   // @@protoc_insertion_point(field_add_char:tensorflow.ApiDef.arg_order)
1910 }
add_arg_order(const char * value,size_t size)1911 inline void ApiDef::add_arg_order(const char* value, size_t size) {
1912   _impl_.arg_order_.Add()->assign(reinterpret_cast<const char*>(value), size);
1913   // @@protoc_insertion_point(field_add_pointer:tensorflow.ApiDef.arg_order)
1914 }
1915 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
arg_order()1916 ApiDef::arg_order() const {
1917   // @@protoc_insertion_point(field_list:tensorflow.ApiDef.arg_order)
1918   return _impl_.arg_order_;
1919 }
1920 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
mutable_arg_order()1921 ApiDef::mutable_arg_order() {
1922   // @@protoc_insertion_point(field_mutable_list:tensorflow.ApiDef.arg_order)
1923   return &_impl_.arg_order_;
1924 }
1925 
1926 // repeated .tensorflow.ApiDef.Attr attr = 6;
_internal_attr_size()1927 inline int ApiDef::_internal_attr_size() const {
1928   return _impl_.attr_.size();
1929 }
attr_size()1930 inline int ApiDef::attr_size() const {
1931   return _internal_attr_size();
1932 }
clear_attr()1933 inline void ApiDef::clear_attr() {
1934   _impl_.attr_.Clear();
1935 }
mutable_attr(int index)1936 inline ::tensorflow::ApiDef_Attr* ApiDef::mutable_attr(int index) {
1937   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.attr)
1938   return _impl_.attr_.Mutable(index);
1939 }
1940 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Attr >*
mutable_attr()1941 ApiDef::mutable_attr() {
1942   // @@protoc_insertion_point(field_mutable_list:tensorflow.ApiDef.attr)
1943   return &_impl_.attr_;
1944 }
_internal_attr(int index)1945 inline const ::tensorflow::ApiDef_Attr& ApiDef::_internal_attr(int index) const {
1946   return _impl_.attr_.Get(index);
1947 }
attr(int index)1948 inline const ::tensorflow::ApiDef_Attr& ApiDef::attr(int index) const {
1949   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.attr)
1950   return _internal_attr(index);
1951 }
_internal_add_attr()1952 inline ::tensorflow::ApiDef_Attr* ApiDef::_internal_add_attr() {
1953   return _impl_.attr_.Add();
1954 }
add_attr()1955 inline ::tensorflow::ApiDef_Attr* ApiDef::add_attr() {
1956   ::tensorflow::ApiDef_Attr* _add = _internal_add_attr();
1957   // @@protoc_insertion_point(field_add:tensorflow.ApiDef.attr)
1958   return _add;
1959 }
1960 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef_Attr >&
attr()1961 ApiDef::attr() const {
1962   // @@protoc_insertion_point(field_list:tensorflow.ApiDef.attr)
1963   return _impl_.attr_;
1964 }
1965 
1966 // string summary = 7;
clear_summary()1967 inline void ApiDef::clear_summary() {
1968   _impl_.summary_.ClearToEmpty();
1969 }
summary()1970 inline const std::string& ApiDef::summary() const {
1971   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.summary)
1972   return _internal_summary();
1973 }
1974 template <typename ArgT0, typename... ArgT>
1975 inline PROTOBUF_ALWAYS_INLINE
set_summary(ArgT0 && arg0,ArgT...args)1976 void ApiDef::set_summary(ArgT0&& arg0, ArgT... args) {
1977 
1978  _impl_.summary_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1979   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.summary)
1980 }
mutable_summary()1981 inline std::string* ApiDef::mutable_summary() {
1982   std::string* _s = _internal_mutable_summary();
1983   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.summary)
1984   return _s;
1985 }
_internal_summary()1986 inline const std::string& ApiDef::_internal_summary() const {
1987   return _impl_.summary_.Get();
1988 }
_internal_set_summary(const std::string & value)1989 inline void ApiDef::_internal_set_summary(const std::string& value) {
1990 
1991   _impl_.summary_.Set(value, GetArenaForAllocation());
1992 }
_internal_mutable_summary()1993 inline std::string* ApiDef::_internal_mutable_summary() {
1994 
1995   return _impl_.summary_.Mutable(GetArenaForAllocation());
1996 }
release_summary()1997 inline std::string* ApiDef::release_summary() {
1998   // @@protoc_insertion_point(field_release:tensorflow.ApiDef.summary)
1999   return _impl_.summary_.Release();
2000 }
set_allocated_summary(std::string * summary)2001 inline void ApiDef::set_allocated_summary(std::string* summary) {
2002   _impl_.summary_.SetAllocated(summary, GetArenaForAllocation());
2003 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2004   if (_impl_.summary_.IsDefault()) {
2005     _impl_.summary_.Set("", GetArenaForAllocation());
2006   }
2007 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2008   // @@protoc_insertion_point(field_set_allocated:tensorflow.ApiDef.summary)
2009 }
2010 
2011 // string description = 8;
clear_description()2012 inline void ApiDef::clear_description() {
2013   _impl_.description_.ClearToEmpty();
2014 }
description()2015 inline const std::string& ApiDef::description() const {
2016   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.description)
2017   return _internal_description();
2018 }
2019 template <typename ArgT0, typename... ArgT>
2020 inline PROTOBUF_ALWAYS_INLINE
set_description(ArgT0 && arg0,ArgT...args)2021 void ApiDef::set_description(ArgT0&& arg0, ArgT... args) {
2022 
2023  _impl_.description_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2024   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.description)
2025 }
mutable_description()2026 inline std::string* ApiDef::mutable_description() {
2027   std::string* _s = _internal_mutable_description();
2028   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.description)
2029   return _s;
2030 }
_internal_description()2031 inline const std::string& ApiDef::_internal_description() const {
2032   return _impl_.description_.Get();
2033 }
_internal_set_description(const std::string & value)2034 inline void ApiDef::_internal_set_description(const std::string& value) {
2035 
2036   _impl_.description_.Set(value, GetArenaForAllocation());
2037 }
_internal_mutable_description()2038 inline std::string* ApiDef::_internal_mutable_description() {
2039 
2040   return _impl_.description_.Mutable(GetArenaForAllocation());
2041 }
release_description()2042 inline std::string* ApiDef::release_description() {
2043   // @@protoc_insertion_point(field_release:tensorflow.ApiDef.description)
2044   return _impl_.description_.Release();
2045 }
set_allocated_description(std::string * description)2046 inline void ApiDef::set_allocated_description(std::string* description) {
2047   _impl_.description_.SetAllocated(description, GetArenaForAllocation());
2048 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2049   if (_impl_.description_.IsDefault()) {
2050     _impl_.description_.Set("", GetArenaForAllocation());
2051   }
2052 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2053   // @@protoc_insertion_point(field_set_allocated:tensorflow.ApiDef.description)
2054 }
2055 
2056 // string description_prefix = 9;
clear_description_prefix()2057 inline void ApiDef::clear_description_prefix() {
2058   _impl_.description_prefix_.ClearToEmpty();
2059 }
description_prefix()2060 inline const std::string& ApiDef::description_prefix() const {
2061   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.description_prefix)
2062   return _internal_description_prefix();
2063 }
2064 template <typename ArgT0, typename... ArgT>
2065 inline PROTOBUF_ALWAYS_INLINE
set_description_prefix(ArgT0 && arg0,ArgT...args)2066 void ApiDef::set_description_prefix(ArgT0&& arg0, ArgT... args) {
2067 
2068  _impl_.description_prefix_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2069   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.description_prefix)
2070 }
mutable_description_prefix()2071 inline std::string* ApiDef::mutable_description_prefix() {
2072   std::string* _s = _internal_mutable_description_prefix();
2073   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.description_prefix)
2074   return _s;
2075 }
_internal_description_prefix()2076 inline const std::string& ApiDef::_internal_description_prefix() const {
2077   return _impl_.description_prefix_.Get();
2078 }
_internal_set_description_prefix(const std::string & value)2079 inline void ApiDef::_internal_set_description_prefix(const std::string& value) {
2080 
2081   _impl_.description_prefix_.Set(value, GetArenaForAllocation());
2082 }
_internal_mutable_description_prefix()2083 inline std::string* ApiDef::_internal_mutable_description_prefix() {
2084 
2085   return _impl_.description_prefix_.Mutable(GetArenaForAllocation());
2086 }
release_description_prefix()2087 inline std::string* ApiDef::release_description_prefix() {
2088   // @@protoc_insertion_point(field_release:tensorflow.ApiDef.description_prefix)
2089   return _impl_.description_prefix_.Release();
2090 }
set_allocated_description_prefix(std::string * description_prefix)2091 inline void ApiDef::set_allocated_description_prefix(std::string* description_prefix) {
2092   _impl_.description_prefix_.SetAllocated(description_prefix, GetArenaForAllocation());
2093 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2094   if (_impl_.description_prefix_.IsDefault()) {
2095     _impl_.description_prefix_.Set("", GetArenaForAllocation());
2096   }
2097 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2098   // @@protoc_insertion_point(field_set_allocated:tensorflow.ApiDef.description_prefix)
2099 }
2100 
2101 // string description_suffix = 10;
clear_description_suffix()2102 inline void ApiDef::clear_description_suffix() {
2103   _impl_.description_suffix_.ClearToEmpty();
2104 }
description_suffix()2105 inline const std::string& ApiDef::description_suffix() const {
2106   // @@protoc_insertion_point(field_get:tensorflow.ApiDef.description_suffix)
2107   return _internal_description_suffix();
2108 }
2109 template <typename ArgT0, typename... ArgT>
2110 inline PROTOBUF_ALWAYS_INLINE
set_description_suffix(ArgT0 && arg0,ArgT...args)2111 void ApiDef::set_description_suffix(ArgT0&& arg0, ArgT... args) {
2112 
2113  _impl_.description_suffix_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2114   // @@protoc_insertion_point(field_set:tensorflow.ApiDef.description_suffix)
2115 }
mutable_description_suffix()2116 inline std::string* ApiDef::mutable_description_suffix() {
2117   std::string* _s = _internal_mutable_description_suffix();
2118   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDef.description_suffix)
2119   return _s;
2120 }
_internal_description_suffix()2121 inline const std::string& ApiDef::_internal_description_suffix() const {
2122   return _impl_.description_suffix_.Get();
2123 }
_internal_set_description_suffix(const std::string & value)2124 inline void ApiDef::_internal_set_description_suffix(const std::string& value) {
2125 
2126   _impl_.description_suffix_.Set(value, GetArenaForAllocation());
2127 }
_internal_mutable_description_suffix()2128 inline std::string* ApiDef::_internal_mutable_description_suffix() {
2129 
2130   return _impl_.description_suffix_.Mutable(GetArenaForAllocation());
2131 }
release_description_suffix()2132 inline std::string* ApiDef::release_description_suffix() {
2133   // @@protoc_insertion_point(field_release:tensorflow.ApiDef.description_suffix)
2134   return _impl_.description_suffix_.Release();
2135 }
set_allocated_description_suffix(std::string * description_suffix)2136 inline void ApiDef::set_allocated_description_suffix(std::string* description_suffix) {
2137   _impl_.description_suffix_.SetAllocated(description_suffix, GetArenaForAllocation());
2138 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2139   if (_impl_.description_suffix_.IsDefault()) {
2140     _impl_.description_suffix_.Set("", GetArenaForAllocation());
2141   }
2142 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2143   // @@protoc_insertion_point(field_set_allocated:tensorflow.ApiDef.description_suffix)
2144 }
2145 
2146 // -------------------------------------------------------------------
2147 
2148 // ApiDefs
2149 
2150 // repeated .tensorflow.ApiDef op = 1;
_internal_op_size()2151 inline int ApiDefs::_internal_op_size() const {
2152   return _impl_.op_.size();
2153 }
op_size()2154 inline int ApiDefs::op_size() const {
2155   return _internal_op_size();
2156 }
clear_op()2157 inline void ApiDefs::clear_op() {
2158   _impl_.op_.Clear();
2159 }
mutable_op(int index)2160 inline ::tensorflow::ApiDef* ApiDefs::mutable_op(int index) {
2161   // @@protoc_insertion_point(field_mutable:tensorflow.ApiDefs.op)
2162   return _impl_.op_.Mutable(index);
2163 }
2164 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef >*
mutable_op()2165 ApiDefs::mutable_op() {
2166   // @@protoc_insertion_point(field_mutable_list:tensorflow.ApiDefs.op)
2167   return &_impl_.op_;
2168 }
_internal_op(int index)2169 inline const ::tensorflow::ApiDef& ApiDefs::_internal_op(int index) const {
2170   return _impl_.op_.Get(index);
2171 }
op(int index)2172 inline const ::tensorflow::ApiDef& ApiDefs::op(int index) const {
2173   // @@protoc_insertion_point(field_get:tensorflow.ApiDefs.op)
2174   return _internal_op(index);
2175 }
_internal_add_op()2176 inline ::tensorflow::ApiDef* ApiDefs::_internal_add_op() {
2177   return _impl_.op_.Add();
2178 }
add_op()2179 inline ::tensorflow::ApiDef* ApiDefs::add_op() {
2180   ::tensorflow::ApiDef* _add = _internal_add_op();
2181   // @@protoc_insertion_point(field_add:tensorflow.ApiDefs.op)
2182   return _add;
2183 }
2184 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ApiDef >&
op()2185 ApiDefs::op() const {
2186   // @@protoc_insertion_point(field_list:tensorflow.ApiDefs.op)
2187   return _impl_.op_;
2188 }
2189 
2190 #ifdef __GNUC__
2191   #pragma GCC diagnostic pop
2192 #endif  // __GNUC__
2193 // -------------------------------------------------------------------
2194 
2195 // -------------------------------------------------------------------
2196 
2197 // -------------------------------------------------------------------
2198 
2199 // -------------------------------------------------------------------
2200 
2201 
2202 // @@protoc_insertion_point(namespace_scope)
2203 
2204 }  // namespace tensorflow
2205 
2206 PROTOBUF_NAMESPACE_OPEN
2207 
2208 template <> struct is_proto_enum< ::tensorflow::ApiDef_Visibility> : ::std::true_type {};
2209 
2210 PROTOBUF_NAMESPACE_CLOSE
2211 
2212 // @@protoc_insertion_point(global_scope)
2213 
2214 #include <google/protobuf/port_undef.inc>
2215 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2fapi_5fdef_2eproto
2216