1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: tensorflow/core/framework/function.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2ffunction_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2ffunction_2eproto
6 
7 #include <cstdint>
8 #include <limits>
9 #include <string>
10 
11 #include <google/protobuf/port_def.inc>
12 #if PROTOBUF_VERSION < 3021000
13 #error This file was generated by a newer version of protoc which is
14 #error incompatible with your Protocol Buffer headers. Please update
15 #error your headers.
16 #endif
17 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
18 #error This file was generated by an older version of protoc which is
19 #error incompatible with your Protocol Buffer headers. Please
20 #error regenerate this file with a newer version of protoc.
21 #endif
22 
23 #include <google/protobuf/port_undef.inc>
24 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arena.h>
26 #include <google/protobuf/arenastring.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/message_lite.h>
30 #include <google/protobuf/repeated_field.h>  // IWYU pragma: export
31 #include <google/protobuf/extension_set.h>  // IWYU pragma: export
32 #include <google/protobuf/map.h>  // IWYU pragma: export
33 #include <google/protobuf/map_entry_lite.h>
34 #include <google/protobuf/map_field_lite.h>
35 #include "tensorflow/core/framework/attr_value.pb.h"
36 #include "tensorflow/core/framework/node_def.pb.h"
37 #include "tensorflow/core/framework/op_def.pb.h"
38 // @@protoc_insertion_point(includes)
39 #include <google/protobuf/port_def.inc>
40 #define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fframework_2ffunction_2eproto
41 PROTOBUF_NAMESPACE_OPEN
42 namespace internal {
43 class AnyMetadata;
44 }  // namespace internal
45 PROTOBUF_NAMESPACE_CLOSE
46 
47 // Internal implementation detail -- do not use these members.
48 struct TableStruct_tensorflow_2fcore_2fframework_2ffunction_2eproto {
49   static const ::uint32_t offsets[];
50 };
51 namespace tensorflow {
52 class FunctionDef;
53 struct FunctionDefDefaultTypeInternal;
54 extern FunctionDefDefaultTypeInternal _FunctionDef_default_instance_;
55 class FunctionDefLibrary;
56 struct FunctionDefLibraryDefaultTypeInternal;
57 extern FunctionDefLibraryDefaultTypeInternal _FunctionDefLibrary_default_instance_;
58 class FunctionDef_ArgAttrEntry_DoNotUse;
59 struct FunctionDef_ArgAttrEntry_DoNotUseDefaultTypeInternal;
60 extern FunctionDef_ArgAttrEntry_DoNotUseDefaultTypeInternal _FunctionDef_ArgAttrEntry_DoNotUse_default_instance_;
61 class FunctionDef_ArgAttrs;
62 struct FunctionDef_ArgAttrsDefaultTypeInternal;
63 extern FunctionDef_ArgAttrsDefaultTypeInternal _FunctionDef_ArgAttrs_default_instance_;
64 class FunctionDef_ArgAttrs_AttrEntry_DoNotUse;
65 struct FunctionDef_ArgAttrs_AttrEntry_DoNotUseDefaultTypeInternal;
66 extern FunctionDef_ArgAttrs_AttrEntry_DoNotUseDefaultTypeInternal _FunctionDef_ArgAttrs_AttrEntry_DoNotUse_default_instance_;
67 class FunctionDef_AttrEntry_DoNotUse;
68 struct FunctionDef_AttrEntry_DoNotUseDefaultTypeInternal;
69 extern FunctionDef_AttrEntry_DoNotUseDefaultTypeInternal _FunctionDef_AttrEntry_DoNotUse_default_instance_;
70 class FunctionDef_ControlRetEntry_DoNotUse;
71 struct FunctionDef_ControlRetEntry_DoNotUseDefaultTypeInternal;
72 extern FunctionDef_ControlRetEntry_DoNotUseDefaultTypeInternal _FunctionDef_ControlRetEntry_DoNotUse_default_instance_;
73 class FunctionDef_ResourceArgUniqueIdEntry_DoNotUse;
74 struct FunctionDef_ResourceArgUniqueIdEntry_DoNotUseDefaultTypeInternal;
75 extern FunctionDef_ResourceArgUniqueIdEntry_DoNotUseDefaultTypeInternal _FunctionDef_ResourceArgUniqueIdEntry_DoNotUse_default_instance_;
76 class FunctionDef_RetEntry_DoNotUse;
77 struct FunctionDef_RetEntry_DoNotUseDefaultTypeInternal;
78 extern FunctionDef_RetEntry_DoNotUseDefaultTypeInternal _FunctionDef_RetEntry_DoNotUse_default_instance_;
79 class GradientDef;
80 struct GradientDefDefaultTypeInternal;
81 extern GradientDefDefaultTypeInternal _GradientDef_default_instance_;
82 class RegisteredGradient;
83 struct RegisteredGradientDefaultTypeInternal;
84 extern RegisteredGradientDefaultTypeInternal _RegisteredGradient_default_instance_;
85 }  // namespace tensorflow
86 PROTOBUF_NAMESPACE_OPEN
87 template<> ::tensorflow::FunctionDef* Arena::CreateMaybeMessage<::tensorflow::FunctionDef>(Arena*);
88 template<> ::tensorflow::FunctionDefLibrary* Arena::CreateMaybeMessage<::tensorflow::FunctionDefLibrary>(Arena*);
89 template<> ::tensorflow::FunctionDef_ArgAttrEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::FunctionDef_ArgAttrEntry_DoNotUse>(Arena*);
90 template<> ::tensorflow::FunctionDef_ArgAttrs* Arena::CreateMaybeMessage<::tensorflow::FunctionDef_ArgAttrs>(Arena*);
91 template<> ::tensorflow::FunctionDef_ArgAttrs_AttrEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::FunctionDef_ArgAttrs_AttrEntry_DoNotUse>(Arena*);
92 template<> ::tensorflow::FunctionDef_AttrEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::FunctionDef_AttrEntry_DoNotUse>(Arena*);
93 template<> ::tensorflow::FunctionDef_ControlRetEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::FunctionDef_ControlRetEntry_DoNotUse>(Arena*);
94 template<> ::tensorflow::FunctionDef_ResourceArgUniqueIdEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::FunctionDef_ResourceArgUniqueIdEntry_DoNotUse>(Arena*);
95 template<> ::tensorflow::FunctionDef_RetEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::FunctionDef_RetEntry_DoNotUse>(Arena*);
96 template<> ::tensorflow::GradientDef* Arena::CreateMaybeMessage<::tensorflow::GradientDef>(Arena*);
97 template<> ::tensorflow::RegisteredGradient* Arena::CreateMaybeMessage<::tensorflow::RegisteredGradient>(Arena*);
98 PROTOBUF_NAMESPACE_CLOSE
99 namespace tensorflow {
100 
101 // ===================================================================
102 
103 class FunctionDefLibrary final :
104     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.FunctionDefLibrary) */ {
105  public:
FunctionDefLibrary()106   inline FunctionDefLibrary() : FunctionDefLibrary(nullptr) {}
107   ~FunctionDefLibrary() override;
108   explicit PROTOBUF_CONSTEXPR FunctionDefLibrary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
109 
110   FunctionDefLibrary(const FunctionDefLibrary& from);
FunctionDefLibrary(FunctionDefLibrary && from)111   FunctionDefLibrary(FunctionDefLibrary&& from) noexcept
112     : FunctionDefLibrary() {
113     *this = ::std::move(from);
114   }
115 
116   inline FunctionDefLibrary& operator=(const FunctionDefLibrary& from) {
117     if (this == &from) return *this;
118     CopyFrom(from);
119     return *this;
120   }
121   inline FunctionDefLibrary& operator=(FunctionDefLibrary&& from) noexcept {
122     if (this == &from) return *this;
123     if (GetOwningArena() == from.GetOwningArena()
124   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
125         && GetOwningArena() != nullptr
126   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
127     ) {
128       InternalSwap(&from);
129     } else {
130       CopyFrom(from);
131     }
132     return *this;
133   }
134 
default_instance()135   static const FunctionDefLibrary& default_instance() {
136     return *internal_default_instance();
137   }
internal_default_instance()138   static inline const FunctionDefLibrary* internal_default_instance() {
139     return reinterpret_cast<const FunctionDefLibrary*>(
140                &_FunctionDefLibrary_default_instance_);
141   }
142   static constexpr int kIndexInFileMessages =
143     0;
144 
swap(FunctionDefLibrary & a,FunctionDefLibrary & b)145   friend void swap(FunctionDefLibrary& a, FunctionDefLibrary& b) {
146     a.Swap(&b);
147   }
Swap(FunctionDefLibrary * other)148   inline void Swap(FunctionDefLibrary* other) {
149     if (other == this) return;
150   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
151     if (GetOwningArena() != nullptr &&
152         GetOwningArena() == other->GetOwningArena()) {
153    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
154     if (GetOwningArena() == other->GetOwningArena()) {
155   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
156       InternalSwap(other);
157     } else {
158       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
159     }
160   }
161   void UnsafeArenaSwap(FunctionDefLibrary* other) {
162     if (other == this) return;
163     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
164     InternalSwap(other);
165   }
166 
167   // implements Message ----------------------------------------------
168 
169   FunctionDefLibrary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
170     return CreateMaybeMessage<FunctionDefLibrary>(arena);
171   }
172   FunctionDefLibrary* New() const {
173     return New(nullptr);
174   }
175   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
176   void CopyFrom(const FunctionDefLibrary& from);
177   void MergeFrom(const FunctionDefLibrary& from);
178   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
179   bool IsInitialized() const final;
180 
181   size_t ByteSizeLong() const final;
182   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
183   ::uint8_t* _InternalSerialize(
184       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
185   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
186 
187   private:
188   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
189   void SharedDtor();
190   void SetCachedSize(int size) const;
191   void InternalSwap(FunctionDefLibrary* other);
192 
193   private:
194   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
195   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
196     return "tensorflow.FunctionDefLibrary";
197   }
198   protected:
199   explicit FunctionDefLibrary(::PROTOBUF_NAMESPACE_ID::Arena* arena,
200                        bool is_message_owned = false);
201   public:
202 
203   std::string GetTypeName() const final;
204 
205   // nested types ----------------------------------------------------
206 
207   // accessors -------------------------------------------------------
208 
209   enum : int {
210     kFunctionFieldNumber = 1,
211     kGradientFieldNumber = 2,
212     kRegisteredGradientsFieldNumber = 3,
213   };
214   // repeated .tensorflow.FunctionDef function = 1;
215   int function_size() const;
216   private:
217   int _internal_function_size() const;
218   public:
219   void clear_function();
220   ::tensorflow::FunctionDef* mutable_function(int index);
221   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::FunctionDef >*
222       mutable_function();
223   private:
224   const ::tensorflow::FunctionDef& _internal_function(int index) const;
225   ::tensorflow::FunctionDef* _internal_add_function();
226   public:
227   const ::tensorflow::FunctionDef& function(int index) const;
228   ::tensorflow::FunctionDef* add_function();
229   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::FunctionDef >&
230       function() const;
231 
232   // repeated .tensorflow.GradientDef gradient = 2;
233   int gradient_size() const;
234   private:
235   int _internal_gradient_size() const;
236   public:
237   void clear_gradient();
238   ::tensorflow::GradientDef* mutable_gradient(int index);
239   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::GradientDef >*
240       mutable_gradient();
241   private:
242   const ::tensorflow::GradientDef& _internal_gradient(int index) const;
243   ::tensorflow::GradientDef* _internal_add_gradient();
244   public:
245   const ::tensorflow::GradientDef& gradient(int index) const;
246   ::tensorflow::GradientDef* add_gradient();
247   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::GradientDef >&
248       gradient() const;
249 
250   // repeated .tensorflow.RegisteredGradient registered_gradients = 3;
251   int registered_gradients_size() const;
252   private:
253   int _internal_registered_gradients_size() const;
254   public:
255   void clear_registered_gradients();
256   ::tensorflow::RegisteredGradient* mutable_registered_gradients(int index);
257   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::RegisteredGradient >*
258       mutable_registered_gradients();
259   private:
260   const ::tensorflow::RegisteredGradient& _internal_registered_gradients(int index) const;
261   ::tensorflow::RegisteredGradient* _internal_add_registered_gradients();
262   public:
263   const ::tensorflow::RegisteredGradient& registered_gradients(int index) const;
264   ::tensorflow::RegisteredGradient* add_registered_gradients();
265   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::RegisteredGradient >&
266       registered_gradients() const;
267 
268   // @@protoc_insertion_point(class_scope:tensorflow.FunctionDefLibrary)
269  private:
270   class _Internal;
271 
272   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
273   typedef void InternalArenaConstructable_;
274   typedef void DestructorSkippable_;
275   struct Impl_ {
276     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::FunctionDef > function_;
277     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::GradientDef > gradient_;
278     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::RegisteredGradient > registered_gradients_;
279     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
280   };
281   union { Impl_ _impl_; };
282   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2ffunction_2eproto;
283 };
284 // -------------------------------------------------------------------
285 
286 class FunctionDef_AttrEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<FunctionDef_AttrEntry_DoNotUse,
287     std::string, ::tensorflow::AttrValue,
288     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
289     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
290 public:
291   typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<FunctionDef_AttrEntry_DoNotUse,
292     std::string, ::tensorflow::AttrValue,
293     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
294     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
295   FunctionDef_AttrEntry_DoNotUse();
296   explicit PROTOBUF_CONSTEXPR FunctionDef_AttrEntry_DoNotUse(
297       ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
298   explicit FunctionDef_AttrEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
299   void MergeFrom(const FunctionDef_AttrEntry_DoNotUse& other);
internal_default_instance()300   static const FunctionDef_AttrEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const FunctionDef_AttrEntry_DoNotUse*>(&_FunctionDef_AttrEntry_DoNotUse_default_instance_); }
ValidateKey(std::string * s)301   static bool ValidateKey(std::string* s) {
302     return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.FunctionDef.AttrEntry.key");
303  }
ValidateValue(void *)304   static bool ValidateValue(void*) { return true; }
305   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2ffunction_2eproto;
306 };
307 
308 // -------------------------------------------------------------------
309 
310 class FunctionDef_ArgAttrs_AttrEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<FunctionDef_ArgAttrs_AttrEntry_DoNotUse,
311     std::string, ::tensorflow::AttrValue,
312     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
313     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
314 public:
315   typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<FunctionDef_ArgAttrs_AttrEntry_DoNotUse,
316     std::string, ::tensorflow::AttrValue,
317     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
318     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
319   FunctionDef_ArgAttrs_AttrEntry_DoNotUse();
320   explicit PROTOBUF_CONSTEXPR FunctionDef_ArgAttrs_AttrEntry_DoNotUse(
321       ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
322   explicit FunctionDef_ArgAttrs_AttrEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
323   void MergeFrom(const FunctionDef_ArgAttrs_AttrEntry_DoNotUse& other);
internal_default_instance()324   static const FunctionDef_ArgAttrs_AttrEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const FunctionDef_ArgAttrs_AttrEntry_DoNotUse*>(&_FunctionDef_ArgAttrs_AttrEntry_DoNotUse_default_instance_); }
ValidateKey(std::string * s)325   static bool ValidateKey(std::string* s) {
326     return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.FunctionDef.ArgAttrs.AttrEntry.key");
327  }
ValidateValue(void *)328   static bool ValidateValue(void*) { return true; }
329   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2ffunction_2eproto;
330 };
331 
332 // -------------------------------------------------------------------
333 
334 class FunctionDef_ArgAttrs final :
335     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.FunctionDef.ArgAttrs) */ {
336  public:
FunctionDef_ArgAttrs()337   inline FunctionDef_ArgAttrs() : FunctionDef_ArgAttrs(nullptr) {}
338   ~FunctionDef_ArgAttrs() override;
339   explicit PROTOBUF_CONSTEXPR FunctionDef_ArgAttrs(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
340 
341   FunctionDef_ArgAttrs(const FunctionDef_ArgAttrs& from);
FunctionDef_ArgAttrs(FunctionDef_ArgAttrs && from)342   FunctionDef_ArgAttrs(FunctionDef_ArgAttrs&& from) noexcept
343     : FunctionDef_ArgAttrs() {
344     *this = ::std::move(from);
345   }
346 
347   inline FunctionDef_ArgAttrs& operator=(const FunctionDef_ArgAttrs& from) {
348     if (this == &from) return *this;
349     CopyFrom(from);
350     return *this;
351   }
352   inline FunctionDef_ArgAttrs& operator=(FunctionDef_ArgAttrs&& from) noexcept {
353     if (this == &from) return *this;
354     if (GetOwningArena() == from.GetOwningArena()
355   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
356         && GetOwningArena() != nullptr
357   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
358     ) {
359       InternalSwap(&from);
360     } else {
361       CopyFrom(from);
362     }
363     return *this;
364   }
365 
default_instance()366   static const FunctionDef_ArgAttrs& default_instance() {
367     return *internal_default_instance();
368   }
internal_default_instance()369   static inline const FunctionDef_ArgAttrs* internal_default_instance() {
370     return reinterpret_cast<const FunctionDef_ArgAttrs*>(
371                &_FunctionDef_ArgAttrs_default_instance_);
372   }
373   static constexpr int kIndexInFileMessages =
374     3;
375 
swap(FunctionDef_ArgAttrs & a,FunctionDef_ArgAttrs & b)376   friend void swap(FunctionDef_ArgAttrs& a, FunctionDef_ArgAttrs& b) {
377     a.Swap(&b);
378   }
Swap(FunctionDef_ArgAttrs * other)379   inline void Swap(FunctionDef_ArgAttrs* other) {
380     if (other == this) return;
381   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
382     if (GetOwningArena() != nullptr &&
383         GetOwningArena() == other->GetOwningArena()) {
384    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
385     if (GetOwningArena() == other->GetOwningArena()) {
386   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
387       InternalSwap(other);
388     } else {
389       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
390     }
391   }
392   void UnsafeArenaSwap(FunctionDef_ArgAttrs* other) {
393     if (other == this) return;
394     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
395     InternalSwap(other);
396   }
397 
398   // implements Message ----------------------------------------------
399 
400   FunctionDef_ArgAttrs* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
401     return CreateMaybeMessage<FunctionDef_ArgAttrs>(arena);
402   }
403   FunctionDef_ArgAttrs* New() const {
404     return New(nullptr);
405   }
406   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
407   void CopyFrom(const FunctionDef_ArgAttrs& from);
408   void MergeFrom(const FunctionDef_ArgAttrs& from);
409   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
410   bool IsInitialized() const final;
411 
412   size_t ByteSizeLong() const final;
413   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
414   ::uint8_t* _InternalSerialize(
415       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
416   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
417 
418   private:
419   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
420   void SharedDtor();
421   void SetCachedSize(int size) const;
422   void InternalSwap(FunctionDef_ArgAttrs* other);
423 
424   private:
425   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
426   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
427     return "tensorflow.FunctionDef.ArgAttrs";
428   }
429   protected:
430   explicit FunctionDef_ArgAttrs(::PROTOBUF_NAMESPACE_ID::Arena* arena,
431                        bool is_message_owned = false);
432   public:
433 
434   std::string GetTypeName() const final;
435 
436   // nested types ----------------------------------------------------
437 
438 
439   // accessors -------------------------------------------------------
440 
441   enum : int {
442     kAttrFieldNumber = 1,
443   };
444   // map<string, .tensorflow.AttrValue> attr = 1;
445   int attr_size() const;
446   private:
447   int _internal_attr_size() const;
448   public:
449   void clear_attr();
450   private:
451   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >&
452       _internal_attr() const;
453   ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >*
454       _internal_mutable_attr();
455   public:
456   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >&
457       attr() const;
458   ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >*
459       mutable_attr();
460 
461   // @@protoc_insertion_point(class_scope:tensorflow.FunctionDef.ArgAttrs)
462  private:
463   class _Internal;
464 
465   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
466   typedef void InternalArenaConstructable_;
467   typedef void DestructorSkippable_;
468   struct Impl_ {
469     ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
470         FunctionDef_ArgAttrs_AttrEntry_DoNotUse,
471         std::string, ::tensorflow::AttrValue,
472         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
473         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> attr_;
474     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
475   };
476   union { Impl_ _impl_; };
477   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2ffunction_2eproto;
478 };
479 // -------------------------------------------------------------------
480 
481 class FunctionDef_ArgAttrEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<FunctionDef_ArgAttrEntry_DoNotUse,
482     ::uint32_t, ::tensorflow::FunctionDef_ArgAttrs,
483     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
484     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
485 public:
486   typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<FunctionDef_ArgAttrEntry_DoNotUse,
487     ::uint32_t, ::tensorflow::FunctionDef_ArgAttrs,
488     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
489     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
490   FunctionDef_ArgAttrEntry_DoNotUse();
491   explicit PROTOBUF_CONSTEXPR FunctionDef_ArgAttrEntry_DoNotUse(
492       ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
493   explicit FunctionDef_ArgAttrEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
494   void MergeFrom(const FunctionDef_ArgAttrEntry_DoNotUse& other);
internal_default_instance()495   static const FunctionDef_ArgAttrEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const FunctionDef_ArgAttrEntry_DoNotUse*>(&_FunctionDef_ArgAttrEntry_DoNotUse_default_instance_); }
ValidateKey(void *)496   static bool ValidateKey(void*) { return true; }
ValidateValue(void *)497   static bool ValidateValue(void*) { return true; }
498   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2ffunction_2eproto;
499 };
500 
501 // -------------------------------------------------------------------
502 
503 class FunctionDef_ResourceArgUniqueIdEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<FunctionDef_ResourceArgUniqueIdEntry_DoNotUse,
504     ::uint32_t, ::uint32_t,
505     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
506     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32> {
507 public:
508   typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<FunctionDef_ResourceArgUniqueIdEntry_DoNotUse,
509     ::uint32_t, ::uint32_t,
510     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
511     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32> SuperType;
512   FunctionDef_ResourceArgUniqueIdEntry_DoNotUse();
513   explicit PROTOBUF_CONSTEXPR FunctionDef_ResourceArgUniqueIdEntry_DoNotUse(
514       ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
515   explicit FunctionDef_ResourceArgUniqueIdEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
516   void MergeFrom(const FunctionDef_ResourceArgUniqueIdEntry_DoNotUse& other);
internal_default_instance()517   static const FunctionDef_ResourceArgUniqueIdEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const FunctionDef_ResourceArgUniqueIdEntry_DoNotUse*>(&_FunctionDef_ResourceArgUniqueIdEntry_DoNotUse_default_instance_); }
ValidateKey(void *)518   static bool ValidateKey(void*) { return true; }
ValidateValue(void *)519   static bool ValidateValue(void*) { return true; }
520   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2ffunction_2eproto;
521 };
522 
523 // -------------------------------------------------------------------
524 
525 class FunctionDef_RetEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<FunctionDef_RetEntry_DoNotUse,
526     std::string, std::string,
527     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
528     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> {
529 public:
530   typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<FunctionDef_RetEntry_DoNotUse,
531     std::string, std::string,
532     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
533     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> SuperType;
534   FunctionDef_RetEntry_DoNotUse();
535   explicit PROTOBUF_CONSTEXPR FunctionDef_RetEntry_DoNotUse(
536       ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
537   explicit FunctionDef_RetEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
538   void MergeFrom(const FunctionDef_RetEntry_DoNotUse& other);
internal_default_instance()539   static const FunctionDef_RetEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const FunctionDef_RetEntry_DoNotUse*>(&_FunctionDef_RetEntry_DoNotUse_default_instance_); }
ValidateKey(std::string * s)540   static bool ValidateKey(std::string* s) {
541     return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.FunctionDef.RetEntry.key");
542  }
ValidateValue(std::string * s)543   static bool ValidateValue(std::string* s) {
544     return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.FunctionDef.RetEntry.value");
545  }
546   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2ffunction_2eproto;
547 };
548 
549 // -------------------------------------------------------------------
550 
551 class FunctionDef_ControlRetEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<FunctionDef_ControlRetEntry_DoNotUse,
552     std::string, std::string,
553     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
554     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> {
555 public:
556   typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<FunctionDef_ControlRetEntry_DoNotUse,
557     std::string, std::string,
558     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
559     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> SuperType;
560   FunctionDef_ControlRetEntry_DoNotUse();
561   explicit PROTOBUF_CONSTEXPR FunctionDef_ControlRetEntry_DoNotUse(
562       ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
563   explicit FunctionDef_ControlRetEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
564   void MergeFrom(const FunctionDef_ControlRetEntry_DoNotUse& other);
internal_default_instance()565   static const FunctionDef_ControlRetEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const FunctionDef_ControlRetEntry_DoNotUse*>(&_FunctionDef_ControlRetEntry_DoNotUse_default_instance_); }
ValidateKey(std::string * s)566   static bool ValidateKey(std::string* s) {
567     return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.FunctionDef.ControlRetEntry.key");
568  }
ValidateValue(std::string * s)569   static bool ValidateValue(std::string* s) {
570     return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.FunctionDef.ControlRetEntry.value");
571  }
572   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2ffunction_2eproto;
573 };
574 
575 // -------------------------------------------------------------------
576 
577 class FunctionDef final :
578     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.FunctionDef) */ {
579  public:
FunctionDef()580   inline FunctionDef() : FunctionDef(nullptr) {}
581   ~FunctionDef() override;
582   explicit PROTOBUF_CONSTEXPR FunctionDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
583 
584   FunctionDef(const FunctionDef& from);
FunctionDef(FunctionDef && from)585   FunctionDef(FunctionDef&& from) noexcept
586     : FunctionDef() {
587     *this = ::std::move(from);
588   }
589 
590   inline FunctionDef& operator=(const FunctionDef& from) {
591     if (this == &from) return *this;
592     CopyFrom(from);
593     return *this;
594   }
595   inline FunctionDef& operator=(FunctionDef&& from) noexcept {
596     if (this == &from) return *this;
597     if (GetOwningArena() == from.GetOwningArena()
598   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
599         && GetOwningArena() != nullptr
600   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
601     ) {
602       InternalSwap(&from);
603     } else {
604       CopyFrom(from);
605     }
606     return *this;
607   }
608 
default_instance()609   static const FunctionDef& default_instance() {
610     return *internal_default_instance();
611   }
internal_default_instance()612   static inline const FunctionDef* internal_default_instance() {
613     return reinterpret_cast<const FunctionDef*>(
614                &_FunctionDef_default_instance_);
615   }
616   static constexpr int kIndexInFileMessages =
617     8;
618 
swap(FunctionDef & a,FunctionDef & b)619   friend void swap(FunctionDef& a, FunctionDef& b) {
620     a.Swap(&b);
621   }
Swap(FunctionDef * other)622   inline void Swap(FunctionDef* other) {
623     if (other == this) return;
624   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
625     if (GetOwningArena() != nullptr &&
626         GetOwningArena() == other->GetOwningArena()) {
627    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
628     if (GetOwningArena() == other->GetOwningArena()) {
629   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
630       InternalSwap(other);
631     } else {
632       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
633     }
634   }
635   void UnsafeArenaSwap(FunctionDef* other) {
636     if (other == this) return;
637     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
638     InternalSwap(other);
639   }
640 
641   // implements Message ----------------------------------------------
642 
643   FunctionDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
644     return CreateMaybeMessage<FunctionDef>(arena);
645   }
646   FunctionDef* New() const {
647     return New(nullptr);
648   }
649   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
650   void CopyFrom(const FunctionDef& from);
651   void MergeFrom(const FunctionDef& from);
652   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
653   bool IsInitialized() const final;
654 
655   size_t ByteSizeLong() const final;
656   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
657   ::uint8_t* _InternalSerialize(
658       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
659   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
660 
661   private:
662   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
663   void SharedDtor();
664   void SetCachedSize(int size) const;
665   void InternalSwap(FunctionDef* other);
666 
667   private:
668   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
669   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
670     return "tensorflow.FunctionDef";
671   }
672   protected:
673   explicit FunctionDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
674                        bool is_message_owned = false);
675   public:
676 
677   std::string GetTypeName() const final;
678 
679   // nested types ----------------------------------------------------
680 
681   typedef FunctionDef_ArgAttrs ArgAttrs;
682 
683   // accessors -------------------------------------------------------
684 
685   enum : int {
686     kNodeDefFieldNumber = 3,
687     kRetFieldNumber = 4,
688     kAttrFieldNumber = 5,
689     kControlRetFieldNumber = 6,
690     kArgAttrFieldNumber = 7,
691     kResourceArgUniqueIdFieldNumber = 8,
692     kSignatureFieldNumber = 1,
693   };
694   // repeated .tensorflow.NodeDef node_def = 3;
695   int node_def_size() const;
696   private:
697   int _internal_node_def_size() const;
698   public:
699   void clear_node_def();
700   ::tensorflow::NodeDef* mutable_node_def(int index);
701   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NodeDef >*
702       mutable_node_def();
703   private:
704   const ::tensorflow::NodeDef& _internal_node_def(int index) const;
705   ::tensorflow::NodeDef* _internal_add_node_def();
706   public:
707   const ::tensorflow::NodeDef& node_def(int index) const;
708   ::tensorflow::NodeDef* add_node_def();
709   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NodeDef >&
710       node_def() const;
711 
712   // map<string, string> ret = 4;
713   int ret_size() const;
714   private:
715   int _internal_ret_size() const;
716   public:
717   void clear_ret();
718   private:
719   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
720       _internal_ret() const;
721   ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
722       _internal_mutable_ret();
723   public:
724   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
725       ret() const;
726   ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
727       mutable_ret();
728 
729   // map<string, .tensorflow.AttrValue> attr = 5;
730   int attr_size() const;
731   private:
732   int _internal_attr_size() const;
733   public:
734   void clear_attr();
735   private:
736   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >&
737       _internal_attr() const;
738   ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >*
739       _internal_mutable_attr();
740   public:
741   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >&
742       attr() const;
743   ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >*
744       mutable_attr();
745 
746   // map<string, string> control_ret = 6;
747   int control_ret_size() const;
748   private:
749   int _internal_control_ret_size() const;
750   public:
751   void clear_control_ret();
752   private:
753   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
754       _internal_control_ret() const;
755   ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
756       _internal_mutable_control_ret();
757   public:
758   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
759       control_ret() const;
760   ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
761       mutable_control_ret();
762 
763   // map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
764   int arg_attr_size() const;
765   private:
766   int _internal_arg_attr_size() const;
767   public:
768   void clear_arg_attr();
769   private:
770   const ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, ::tensorflow::FunctionDef_ArgAttrs >&
771       _internal_arg_attr() const;
772   ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, ::tensorflow::FunctionDef_ArgAttrs >*
773       _internal_mutable_arg_attr();
774   public:
775   const ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, ::tensorflow::FunctionDef_ArgAttrs >&
776       arg_attr() const;
777   ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, ::tensorflow::FunctionDef_ArgAttrs >*
778       mutable_arg_attr();
779 
780   // map<uint32, uint32> resource_arg_unique_id = 8;
781   int resource_arg_unique_id_size() const;
782   private:
783   int _internal_resource_arg_unique_id_size() const;
784   public:
785   void clear_resource_arg_unique_id();
786   private:
787   const ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, ::uint32_t >&
788       _internal_resource_arg_unique_id() const;
789   ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, ::uint32_t >*
790       _internal_mutable_resource_arg_unique_id();
791   public:
792   const ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, ::uint32_t >&
793       resource_arg_unique_id() const;
794   ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, ::uint32_t >*
795       mutable_resource_arg_unique_id();
796 
797   // .tensorflow.OpDef signature = 1;
798   bool has_signature() const;
799   private:
800   bool _internal_has_signature() const;
801   public:
802   void clear_signature();
803   const ::tensorflow::OpDef& signature() const;
804   PROTOBUF_NODISCARD ::tensorflow::OpDef* release_signature();
805   ::tensorflow::OpDef* mutable_signature();
806   void set_allocated_signature(::tensorflow::OpDef* signature);
807   private:
808   const ::tensorflow::OpDef& _internal_signature() const;
809   ::tensorflow::OpDef* _internal_mutable_signature();
810   public:
811   void unsafe_arena_set_allocated_signature(
812       ::tensorflow::OpDef* signature);
813   ::tensorflow::OpDef* unsafe_arena_release_signature();
814 
815   // @@protoc_insertion_point(class_scope:tensorflow.FunctionDef)
816  private:
817   class _Internal;
818 
819   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
820   typedef void InternalArenaConstructable_;
821   typedef void DestructorSkippable_;
822   struct Impl_ {
823     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NodeDef > node_def_;
824     ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
825         FunctionDef_RetEntry_DoNotUse,
826         std::string, std::string,
827         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
828         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> ret_;
829     ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
830         FunctionDef_AttrEntry_DoNotUse,
831         std::string, ::tensorflow::AttrValue,
832         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
833         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> attr_;
834     ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
835         FunctionDef_ControlRetEntry_DoNotUse,
836         std::string, std::string,
837         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
838         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> control_ret_;
839     ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
840         FunctionDef_ArgAttrEntry_DoNotUse,
841         ::uint32_t, ::tensorflow::FunctionDef_ArgAttrs,
842         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
843         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> arg_attr_;
844     ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
845         FunctionDef_ResourceArgUniqueIdEntry_DoNotUse,
846         ::uint32_t, ::uint32_t,
847         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32,
848         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT32> resource_arg_unique_id_;
849     ::tensorflow::OpDef* signature_;
850     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
851   };
852   union { Impl_ _impl_; };
853   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2ffunction_2eproto;
854 };
855 // -------------------------------------------------------------------
856 
857 class GradientDef final :
858     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.GradientDef) */ {
859  public:
GradientDef()860   inline GradientDef() : GradientDef(nullptr) {}
861   ~GradientDef() override;
862   explicit PROTOBUF_CONSTEXPR GradientDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
863 
864   GradientDef(const GradientDef& from);
GradientDef(GradientDef && from)865   GradientDef(GradientDef&& from) noexcept
866     : GradientDef() {
867     *this = ::std::move(from);
868   }
869 
870   inline GradientDef& operator=(const GradientDef& from) {
871     if (this == &from) return *this;
872     CopyFrom(from);
873     return *this;
874   }
875   inline GradientDef& operator=(GradientDef&& from) noexcept {
876     if (this == &from) return *this;
877     if (GetOwningArena() == from.GetOwningArena()
878   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
879         && GetOwningArena() != nullptr
880   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
881     ) {
882       InternalSwap(&from);
883     } else {
884       CopyFrom(from);
885     }
886     return *this;
887   }
888 
default_instance()889   static const GradientDef& default_instance() {
890     return *internal_default_instance();
891   }
internal_default_instance()892   static inline const GradientDef* internal_default_instance() {
893     return reinterpret_cast<const GradientDef*>(
894                &_GradientDef_default_instance_);
895   }
896   static constexpr int kIndexInFileMessages =
897     9;
898 
swap(GradientDef & a,GradientDef & b)899   friend void swap(GradientDef& a, GradientDef& b) {
900     a.Swap(&b);
901   }
Swap(GradientDef * other)902   inline void Swap(GradientDef* other) {
903     if (other == this) return;
904   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
905     if (GetOwningArena() != nullptr &&
906         GetOwningArena() == other->GetOwningArena()) {
907    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
908     if (GetOwningArena() == other->GetOwningArena()) {
909   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
910       InternalSwap(other);
911     } else {
912       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
913     }
914   }
915   void UnsafeArenaSwap(GradientDef* other) {
916     if (other == this) return;
917     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
918     InternalSwap(other);
919   }
920 
921   // implements Message ----------------------------------------------
922 
923   GradientDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
924     return CreateMaybeMessage<GradientDef>(arena);
925   }
926   GradientDef* New() const {
927     return New(nullptr);
928   }
929   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
930   void CopyFrom(const GradientDef& from);
931   void MergeFrom(const GradientDef& from);
932   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
933   bool IsInitialized() const final;
934 
935   size_t ByteSizeLong() const final;
936   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
937   ::uint8_t* _InternalSerialize(
938       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
939   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
940 
941   private:
942   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
943   void SharedDtor();
944   void SetCachedSize(int size) const;
945   void InternalSwap(GradientDef* other);
946 
947   private:
948   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
949   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
950     return "tensorflow.GradientDef";
951   }
952   protected:
953   explicit GradientDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
954                        bool is_message_owned = false);
955   public:
956 
957   std::string GetTypeName() const final;
958 
959   // nested types ----------------------------------------------------
960 
961   // accessors -------------------------------------------------------
962 
963   enum : int {
964     kFunctionNameFieldNumber = 1,
965     kGradientFuncFieldNumber = 2,
966   };
967   // string function_name = 1;
968   void clear_function_name();
969   const std::string& function_name() const;
970   template <typename ArgT0 = const std::string&, typename... ArgT>
971   void set_function_name(ArgT0&& arg0, ArgT... args);
972   std::string* mutable_function_name();
973   PROTOBUF_NODISCARD std::string* release_function_name();
974   void set_allocated_function_name(std::string* function_name);
975   private:
976   const std::string& _internal_function_name() const;
977   inline PROTOBUF_ALWAYS_INLINE void _internal_set_function_name(const std::string& value);
978   std::string* _internal_mutable_function_name();
979   public:
980 
981   // string gradient_func = 2;
982   void clear_gradient_func();
983   const std::string& gradient_func() const;
984   template <typename ArgT0 = const std::string&, typename... ArgT>
985   void set_gradient_func(ArgT0&& arg0, ArgT... args);
986   std::string* mutable_gradient_func();
987   PROTOBUF_NODISCARD std::string* release_gradient_func();
988   void set_allocated_gradient_func(std::string* gradient_func);
989   private:
990   const std::string& _internal_gradient_func() const;
991   inline PROTOBUF_ALWAYS_INLINE void _internal_set_gradient_func(const std::string& value);
992   std::string* _internal_mutable_gradient_func();
993   public:
994 
995   // @@protoc_insertion_point(class_scope:tensorflow.GradientDef)
996  private:
997   class _Internal;
998 
999   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1000   typedef void InternalArenaConstructable_;
1001   typedef void DestructorSkippable_;
1002   struct Impl_ {
1003     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr function_name_;
1004     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gradient_func_;
1005     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1006   };
1007   union { Impl_ _impl_; };
1008   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2ffunction_2eproto;
1009 };
1010 // -------------------------------------------------------------------
1011 
1012 class RegisteredGradient final :
1013     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.RegisteredGradient) */ {
1014  public:
RegisteredGradient()1015   inline RegisteredGradient() : RegisteredGradient(nullptr) {}
1016   ~RegisteredGradient() override;
1017   explicit PROTOBUF_CONSTEXPR RegisteredGradient(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1018 
1019   RegisteredGradient(const RegisteredGradient& from);
RegisteredGradient(RegisteredGradient && from)1020   RegisteredGradient(RegisteredGradient&& from) noexcept
1021     : RegisteredGradient() {
1022     *this = ::std::move(from);
1023   }
1024 
1025   inline RegisteredGradient& operator=(const RegisteredGradient& from) {
1026     if (this == &from) return *this;
1027     CopyFrom(from);
1028     return *this;
1029   }
1030   inline RegisteredGradient& operator=(RegisteredGradient&& from) noexcept {
1031     if (this == &from) return *this;
1032     if (GetOwningArena() == from.GetOwningArena()
1033   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1034         && GetOwningArena() != nullptr
1035   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1036     ) {
1037       InternalSwap(&from);
1038     } else {
1039       CopyFrom(from);
1040     }
1041     return *this;
1042   }
1043 
default_instance()1044   static const RegisteredGradient& default_instance() {
1045     return *internal_default_instance();
1046   }
internal_default_instance()1047   static inline const RegisteredGradient* internal_default_instance() {
1048     return reinterpret_cast<const RegisteredGradient*>(
1049                &_RegisteredGradient_default_instance_);
1050   }
1051   static constexpr int kIndexInFileMessages =
1052     10;
1053 
swap(RegisteredGradient & a,RegisteredGradient & b)1054   friend void swap(RegisteredGradient& a, RegisteredGradient& b) {
1055     a.Swap(&b);
1056   }
Swap(RegisteredGradient * other)1057   inline void Swap(RegisteredGradient* other) {
1058     if (other == this) return;
1059   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1060     if (GetOwningArena() != nullptr &&
1061         GetOwningArena() == other->GetOwningArena()) {
1062    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1063     if (GetOwningArena() == other->GetOwningArena()) {
1064   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1065       InternalSwap(other);
1066     } else {
1067       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1068     }
1069   }
1070   void UnsafeArenaSwap(RegisteredGradient* other) {
1071     if (other == this) return;
1072     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1073     InternalSwap(other);
1074   }
1075 
1076   // implements Message ----------------------------------------------
1077 
1078   RegisteredGradient* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1079     return CreateMaybeMessage<RegisteredGradient>(arena);
1080   }
1081   RegisteredGradient* New() const {
1082     return New(nullptr);
1083   }
1084   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1085   void CopyFrom(const RegisteredGradient& from);
1086   void MergeFrom(const RegisteredGradient& from);
1087   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1088   bool IsInitialized() const final;
1089 
1090   size_t ByteSizeLong() const final;
1091   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1092   ::uint8_t* _InternalSerialize(
1093       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1094   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1095 
1096   private:
1097   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1098   void SharedDtor();
1099   void SetCachedSize(int size) const;
1100   void InternalSwap(RegisteredGradient* other);
1101 
1102   private:
1103   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1104   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1105     return "tensorflow.RegisteredGradient";
1106   }
1107   protected:
1108   explicit RegisteredGradient(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1109                        bool is_message_owned = false);
1110   public:
1111 
1112   std::string GetTypeName() const final;
1113 
1114   // nested types ----------------------------------------------------
1115 
1116   // accessors -------------------------------------------------------
1117 
1118   enum : int {
1119     kGradientFuncFieldNumber = 1,
1120     kRegisteredOpTypeFieldNumber = 2,
1121   };
1122   // string gradient_func = 1;
1123   void clear_gradient_func();
1124   const std::string& gradient_func() const;
1125   template <typename ArgT0 = const std::string&, typename... ArgT>
1126   void set_gradient_func(ArgT0&& arg0, ArgT... args);
1127   std::string* mutable_gradient_func();
1128   PROTOBUF_NODISCARD std::string* release_gradient_func();
1129   void set_allocated_gradient_func(std::string* gradient_func);
1130   private:
1131   const std::string& _internal_gradient_func() const;
1132   inline PROTOBUF_ALWAYS_INLINE void _internal_set_gradient_func(const std::string& value);
1133   std::string* _internal_mutable_gradient_func();
1134   public:
1135 
1136   // string registered_op_type = 2;
1137   void clear_registered_op_type();
1138   const std::string& registered_op_type() const;
1139   template <typename ArgT0 = const std::string&, typename... ArgT>
1140   void set_registered_op_type(ArgT0&& arg0, ArgT... args);
1141   std::string* mutable_registered_op_type();
1142   PROTOBUF_NODISCARD std::string* release_registered_op_type();
1143   void set_allocated_registered_op_type(std::string* registered_op_type);
1144   private:
1145   const std::string& _internal_registered_op_type() const;
1146   inline PROTOBUF_ALWAYS_INLINE void _internal_set_registered_op_type(const std::string& value);
1147   std::string* _internal_mutable_registered_op_type();
1148   public:
1149 
1150   // @@protoc_insertion_point(class_scope:tensorflow.RegisteredGradient)
1151  private:
1152   class _Internal;
1153 
1154   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1155   typedef void InternalArenaConstructable_;
1156   typedef void DestructorSkippable_;
1157   struct Impl_ {
1158     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gradient_func_;
1159     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr registered_op_type_;
1160     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1161   };
1162   union { Impl_ _impl_; };
1163   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2ffunction_2eproto;
1164 };
1165 // ===================================================================
1166 
1167 
1168 // ===================================================================
1169 
1170 #ifdef __GNUC__
1171   #pragma GCC diagnostic push
1172   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1173 #endif  // __GNUC__
1174 // FunctionDefLibrary
1175 
1176 // repeated .tensorflow.FunctionDef function = 1;
_internal_function_size()1177 inline int FunctionDefLibrary::_internal_function_size() const {
1178   return _impl_.function_.size();
1179 }
function_size()1180 inline int FunctionDefLibrary::function_size() const {
1181   return _internal_function_size();
1182 }
clear_function()1183 inline void FunctionDefLibrary::clear_function() {
1184   _impl_.function_.Clear();
1185 }
mutable_function(int index)1186 inline ::tensorflow::FunctionDef* FunctionDefLibrary::mutable_function(int index) {
1187   // @@protoc_insertion_point(field_mutable:tensorflow.FunctionDefLibrary.function)
1188   return _impl_.function_.Mutable(index);
1189 }
1190 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::FunctionDef >*
mutable_function()1191 FunctionDefLibrary::mutable_function() {
1192   // @@protoc_insertion_point(field_mutable_list:tensorflow.FunctionDefLibrary.function)
1193   return &_impl_.function_;
1194 }
_internal_function(int index)1195 inline const ::tensorflow::FunctionDef& FunctionDefLibrary::_internal_function(int index) const {
1196   return _impl_.function_.Get(index);
1197 }
function(int index)1198 inline const ::tensorflow::FunctionDef& FunctionDefLibrary::function(int index) const {
1199   // @@protoc_insertion_point(field_get:tensorflow.FunctionDefLibrary.function)
1200   return _internal_function(index);
1201 }
_internal_add_function()1202 inline ::tensorflow::FunctionDef* FunctionDefLibrary::_internal_add_function() {
1203   return _impl_.function_.Add();
1204 }
add_function()1205 inline ::tensorflow::FunctionDef* FunctionDefLibrary::add_function() {
1206   ::tensorflow::FunctionDef* _add = _internal_add_function();
1207   // @@protoc_insertion_point(field_add:tensorflow.FunctionDefLibrary.function)
1208   return _add;
1209 }
1210 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::FunctionDef >&
function()1211 FunctionDefLibrary::function() const {
1212   // @@protoc_insertion_point(field_list:tensorflow.FunctionDefLibrary.function)
1213   return _impl_.function_;
1214 }
1215 
1216 // repeated .tensorflow.GradientDef gradient = 2;
_internal_gradient_size()1217 inline int FunctionDefLibrary::_internal_gradient_size() const {
1218   return _impl_.gradient_.size();
1219 }
gradient_size()1220 inline int FunctionDefLibrary::gradient_size() const {
1221   return _internal_gradient_size();
1222 }
clear_gradient()1223 inline void FunctionDefLibrary::clear_gradient() {
1224   _impl_.gradient_.Clear();
1225 }
mutable_gradient(int index)1226 inline ::tensorflow::GradientDef* FunctionDefLibrary::mutable_gradient(int index) {
1227   // @@protoc_insertion_point(field_mutable:tensorflow.FunctionDefLibrary.gradient)
1228   return _impl_.gradient_.Mutable(index);
1229 }
1230 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::GradientDef >*
mutable_gradient()1231 FunctionDefLibrary::mutable_gradient() {
1232   // @@protoc_insertion_point(field_mutable_list:tensorflow.FunctionDefLibrary.gradient)
1233   return &_impl_.gradient_;
1234 }
_internal_gradient(int index)1235 inline const ::tensorflow::GradientDef& FunctionDefLibrary::_internal_gradient(int index) const {
1236   return _impl_.gradient_.Get(index);
1237 }
gradient(int index)1238 inline const ::tensorflow::GradientDef& FunctionDefLibrary::gradient(int index) const {
1239   // @@protoc_insertion_point(field_get:tensorflow.FunctionDefLibrary.gradient)
1240   return _internal_gradient(index);
1241 }
_internal_add_gradient()1242 inline ::tensorflow::GradientDef* FunctionDefLibrary::_internal_add_gradient() {
1243   return _impl_.gradient_.Add();
1244 }
add_gradient()1245 inline ::tensorflow::GradientDef* FunctionDefLibrary::add_gradient() {
1246   ::tensorflow::GradientDef* _add = _internal_add_gradient();
1247   // @@protoc_insertion_point(field_add:tensorflow.FunctionDefLibrary.gradient)
1248   return _add;
1249 }
1250 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::GradientDef >&
gradient()1251 FunctionDefLibrary::gradient() const {
1252   // @@protoc_insertion_point(field_list:tensorflow.FunctionDefLibrary.gradient)
1253   return _impl_.gradient_;
1254 }
1255 
1256 // repeated .tensorflow.RegisteredGradient registered_gradients = 3;
_internal_registered_gradients_size()1257 inline int FunctionDefLibrary::_internal_registered_gradients_size() const {
1258   return _impl_.registered_gradients_.size();
1259 }
registered_gradients_size()1260 inline int FunctionDefLibrary::registered_gradients_size() const {
1261   return _internal_registered_gradients_size();
1262 }
clear_registered_gradients()1263 inline void FunctionDefLibrary::clear_registered_gradients() {
1264   _impl_.registered_gradients_.Clear();
1265 }
mutable_registered_gradients(int index)1266 inline ::tensorflow::RegisteredGradient* FunctionDefLibrary::mutable_registered_gradients(int index) {
1267   // @@protoc_insertion_point(field_mutable:tensorflow.FunctionDefLibrary.registered_gradients)
1268   return _impl_.registered_gradients_.Mutable(index);
1269 }
1270 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::RegisteredGradient >*
mutable_registered_gradients()1271 FunctionDefLibrary::mutable_registered_gradients() {
1272   // @@protoc_insertion_point(field_mutable_list:tensorflow.FunctionDefLibrary.registered_gradients)
1273   return &_impl_.registered_gradients_;
1274 }
_internal_registered_gradients(int index)1275 inline const ::tensorflow::RegisteredGradient& FunctionDefLibrary::_internal_registered_gradients(int index) const {
1276   return _impl_.registered_gradients_.Get(index);
1277 }
registered_gradients(int index)1278 inline const ::tensorflow::RegisteredGradient& FunctionDefLibrary::registered_gradients(int index) const {
1279   // @@protoc_insertion_point(field_get:tensorflow.FunctionDefLibrary.registered_gradients)
1280   return _internal_registered_gradients(index);
1281 }
_internal_add_registered_gradients()1282 inline ::tensorflow::RegisteredGradient* FunctionDefLibrary::_internal_add_registered_gradients() {
1283   return _impl_.registered_gradients_.Add();
1284 }
add_registered_gradients()1285 inline ::tensorflow::RegisteredGradient* FunctionDefLibrary::add_registered_gradients() {
1286   ::tensorflow::RegisteredGradient* _add = _internal_add_registered_gradients();
1287   // @@protoc_insertion_point(field_add:tensorflow.FunctionDefLibrary.registered_gradients)
1288   return _add;
1289 }
1290 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::RegisteredGradient >&
registered_gradients()1291 FunctionDefLibrary::registered_gradients() const {
1292   // @@protoc_insertion_point(field_list:tensorflow.FunctionDefLibrary.registered_gradients)
1293   return _impl_.registered_gradients_;
1294 }
1295 
1296 // -------------------------------------------------------------------
1297 
1298 // -------------------------------------------------------------------
1299 
1300 // -------------------------------------------------------------------
1301 
1302 // FunctionDef_ArgAttrs
1303 
1304 // map<string, .tensorflow.AttrValue> attr = 1;
_internal_attr_size()1305 inline int FunctionDef_ArgAttrs::_internal_attr_size() const {
1306   return _impl_.attr_.size();
1307 }
attr_size()1308 inline int FunctionDef_ArgAttrs::attr_size() const {
1309   return _internal_attr_size();
1310 }
1311 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >&
_internal_attr()1312 FunctionDef_ArgAttrs::_internal_attr() const {
1313   return _impl_.attr_.GetMap();
1314 }
1315 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >&
attr()1316 FunctionDef_ArgAttrs::attr() const {
1317   // @@protoc_insertion_point(field_map:tensorflow.FunctionDef.ArgAttrs.attr)
1318   return _internal_attr();
1319 }
1320 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >*
_internal_mutable_attr()1321 FunctionDef_ArgAttrs::_internal_mutable_attr() {
1322   return _impl_.attr_.MutableMap();
1323 }
1324 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >*
mutable_attr()1325 FunctionDef_ArgAttrs::mutable_attr() {
1326   // @@protoc_insertion_point(field_mutable_map:tensorflow.FunctionDef.ArgAttrs.attr)
1327   return _internal_mutable_attr();
1328 }
1329 
1330 // -------------------------------------------------------------------
1331 
1332 // -------------------------------------------------------------------
1333 
1334 // -------------------------------------------------------------------
1335 
1336 // -------------------------------------------------------------------
1337 
1338 // -------------------------------------------------------------------
1339 
1340 // FunctionDef
1341 
1342 // .tensorflow.OpDef signature = 1;
_internal_has_signature()1343 inline bool FunctionDef::_internal_has_signature() const {
1344   return this != internal_default_instance() && _impl_.signature_ != nullptr;
1345 }
has_signature()1346 inline bool FunctionDef::has_signature() const {
1347   return _internal_has_signature();
1348 }
_internal_signature()1349 inline const ::tensorflow::OpDef& FunctionDef::_internal_signature() const {
1350   const ::tensorflow::OpDef* p = _impl_.signature_;
1351   return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::OpDef&>(
1352       ::tensorflow::_OpDef_default_instance_);
1353 }
signature()1354 inline const ::tensorflow::OpDef& FunctionDef::signature() const {
1355   // @@protoc_insertion_point(field_get:tensorflow.FunctionDef.signature)
1356   return _internal_signature();
1357 }
unsafe_arena_set_allocated_signature(::tensorflow::OpDef * signature)1358 inline void FunctionDef::unsafe_arena_set_allocated_signature(
1359     ::tensorflow::OpDef* signature) {
1360   if (GetArenaForAllocation() == nullptr) {
1361     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.signature_);
1362   }
1363   _impl_.signature_ = signature;
1364   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.FunctionDef.signature)
1365 }
release_signature()1366 inline ::tensorflow::OpDef* FunctionDef::release_signature() {
1367 
1368   ::tensorflow::OpDef* temp = _impl_.signature_;
1369   _impl_.signature_ = nullptr;
1370 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1371   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1372   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1373   if (GetArenaForAllocation() == nullptr) { delete old; }
1374 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
1375   if (GetArenaForAllocation() != nullptr) {
1376     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1377   }
1378 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
1379   return temp;
1380 }
unsafe_arena_release_signature()1381 inline ::tensorflow::OpDef* FunctionDef::unsafe_arena_release_signature() {
1382   // @@protoc_insertion_point(field_release:tensorflow.FunctionDef.signature)
1383 
1384   ::tensorflow::OpDef* temp = _impl_.signature_;
1385   _impl_.signature_ = nullptr;
1386   return temp;
1387 }
_internal_mutable_signature()1388 inline ::tensorflow::OpDef* FunctionDef::_internal_mutable_signature() {
1389 
1390   if (_impl_.signature_ == nullptr) {
1391     auto* p = CreateMaybeMessage<::tensorflow::OpDef>(GetArenaForAllocation());
1392     _impl_.signature_ = p;
1393   }
1394   return _impl_.signature_;
1395 }
mutable_signature()1396 inline ::tensorflow::OpDef* FunctionDef::mutable_signature() {
1397   ::tensorflow::OpDef* _msg = _internal_mutable_signature();
1398   // @@protoc_insertion_point(field_mutable:tensorflow.FunctionDef.signature)
1399   return _msg;
1400 }
set_allocated_signature(::tensorflow::OpDef * signature)1401 inline void FunctionDef::set_allocated_signature(::tensorflow::OpDef* signature) {
1402   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1403   if (message_arena == nullptr) {
1404     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.signature_);
1405   }
1406   if (signature) {
1407     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1408         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1409                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(signature));
1410     if (message_arena != submessage_arena) {
1411       signature = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1412           message_arena, signature, submessage_arena);
1413     }
1414 
1415   } else {
1416 
1417   }
1418   _impl_.signature_ = signature;
1419   // @@protoc_insertion_point(field_set_allocated:tensorflow.FunctionDef.signature)
1420 }
1421 
1422 // map<string, .tensorflow.AttrValue> attr = 5;
_internal_attr_size()1423 inline int FunctionDef::_internal_attr_size() const {
1424   return _impl_.attr_.size();
1425 }
attr_size()1426 inline int FunctionDef::attr_size() const {
1427   return _internal_attr_size();
1428 }
1429 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >&
_internal_attr()1430 FunctionDef::_internal_attr() const {
1431   return _impl_.attr_.GetMap();
1432 }
1433 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >&
attr()1434 FunctionDef::attr() const {
1435   // @@protoc_insertion_point(field_map:tensorflow.FunctionDef.attr)
1436   return _internal_attr();
1437 }
1438 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >*
_internal_mutable_attr()1439 FunctionDef::_internal_mutable_attr() {
1440   return _impl_.attr_.MutableMap();
1441 }
1442 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::AttrValue >*
mutable_attr()1443 FunctionDef::mutable_attr() {
1444   // @@protoc_insertion_point(field_mutable_map:tensorflow.FunctionDef.attr)
1445   return _internal_mutable_attr();
1446 }
1447 
1448 // map<uint32, .tensorflow.FunctionDef.ArgAttrs> arg_attr = 7;
_internal_arg_attr_size()1449 inline int FunctionDef::_internal_arg_attr_size() const {
1450   return _impl_.arg_attr_.size();
1451 }
arg_attr_size()1452 inline int FunctionDef::arg_attr_size() const {
1453   return _internal_arg_attr_size();
1454 }
clear_arg_attr()1455 inline void FunctionDef::clear_arg_attr() {
1456   _impl_.arg_attr_.Clear();
1457 }
1458 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, ::tensorflow::FunctionDef_ArgAttrs >&
_internal_arg_attr()1459 FunctionDef::_internal_arg_attr() const {
1460   return _impl_.arg_attr_.GetMap();
1461 }
1462 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, ::tensorflow::FunctionDef_ArgAttrs >&
arg_attr()1463 FunctionDef::arg_attr() const {
1464   // @@protoc_insertion_point(field_map:tensorflow.FunctionDef.arg_attr)
1465   return _internal_arg_attr();
1466 }
1467 inline ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, ::tensorflow::FunctionDef_ArgAttrs >*
_internal_mutable_arg_attr()1468 FunctionDef::_internal_mutable_arg_attr() {
1469   return _impl_.arg_attr_.MutableMap();
1470 }
1471 inline ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, ::tensorflow::FunctionDef_ArgAttrs >*
mutable_arg_attr()1472 FunctionDef::mutable_arg_attr() {
1473   // @@protoc_insertion_point(field_mutable_map:tensorflow.FunctionDef.arg_attr)
1474   return _internal_mutable_arg_attr();
1475 }
1476 
1477 // map<uint32, uint32> resource_arg_unique_id = 8;
_internal_resource_arg_unique_id_size()1478 inline int FunctionDef::_internal_resource_arg_unique_id_size() const {
1479   return _impl_.resource_arg_unique_id_.size();
1480 }
resource_arg_unique_id_size()1481 inline int FunctionDef::resource_arg_unique_id_size() const {
1482   return _internal_resource_arg_unique_id_size();
1483 }
clear_resource_arg_unique_id()1484 inline void FunctionDef::clear_resource_arg_unique_id() {
1485   _impl_.resource_arg_unique_id_.Clear();
1486 }
1487 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, ::uint32_t >&
_internal_resource_arg_unique_id()1488 FunctionDef::_internal_resource_arg_unique_id() const {
1489   return _impl_.resource_arg_unique_id_.GetMap();
1490 }
1491 inline const ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, ::uint32_t >&
resource_arg_unique_id()1492 FunctionDef::resource_arg_unique_id() const {
1493   // @@protoc_insertion_point(field_map:tensorflow.FunctionDef.resource_arg_unique_id)
1494   return _internal_resource_arg_unique_id();
1495 }
1496 inline ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, ::uint32_t >*
_internal_mutable_resource_arg_unique_id()1497 FunctionDef::_internal_mutable_resource_arg_unique_id() {
1498   return _impl_.resource_arg_unique_id_.MutableMap();
1499 }
1500 inline ::PROTOBUF_NAMESPACE_ID::Map< ::uint32_t, ::uint32_t >*
mutable_resource_arg_unique_id()1501 FunctionDef::mutable_resource_arg_unique_id() {
1502   // @@protoc_insertion_point(field_mutable_map:tensorflow.FunctionDef.resource_arg_unique_id)
1503   return _internal_mutable_resource_arg_unique_id();
1504 }
1505 
1506 // repeated .tensorflow.NodeDef node_def = 3;
_internal_node_def_size()1507 inline int FunctionDef::_internal_node_def_size() const {
1508   return _impl_.node_def_.size();
1509 }
node_def_size()1510 inline int FunctionDef::node_def_size() const {
1511   return _internal_node_def_size();
1512 }
mutable_node_def(int index)1513 inline ::tensorflow::NodeDef* FunctionDef::mutable_node_def(int index) {
1514   // @@protoc_insertion_point(field_mutable:tensorflow.FunctionDef.node_def)
1515   return _impl_.node_def_.Mutable(index);
1516 }
1517 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NodeDef >*
mutable_node_def()1518 FunctionDef::mutable_node_def() {
1519   // @@protoc_insertion_point(field_mutable_list:tensorflow.FunctionDef.node_def)
1520   return &_impl_.node_def_;
1521 }
_internal_node_def(int index)1522 inline const ::tensorflow::NodeDef& FunctionDef::_internal_node_def(int index) const {
1523   return _impl_.node_def_.Get(index);
1524 }
node_def(int index)1525 inline const ::tensorflow::NodeDef& FunctionDef::node_def(int index) const {
1526   // @@protoc_insertion_point(field_get:tensorflow.FunctionDef.node_def)
1527   return _internal_node_def(index);
1528 }
_internal_add_node_def()1529 inline ::tensorflow::NodeDef* FunctionDef::_internal_add_node_def() {
1530   return _impl_.node_def_.Add();
1531 }
add_node_def()1532 inline ::tensorflow::NodeDef* FunctionDef::add_node_def() {
1533   ::tensorflow::NodeDef* _add = _internal_add_node_def();
1534   // @@protoc_insertion_point(field_add:tensorflow.FunctionDef.node_def)
1535   return _add;
1536 }
1537 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::NodeDef >&
node_def()1538 FunctionDef::node_def() const {
1539   // @@protoc_insertion_point(field_list:tensorflow.FunctionDef.node_def)
1540   return _impl_.node_def_;
1541 }
1542 
1543 // map<string, string> ret = 4;
_internal_ret_size()1544 inline int FunctionDef::_internal_ret_size() const {
1545   return _impl_.ret_.size();
1546 }
ret_size()1547 inline int FunctionDef::ret_size() const {
1548   return _internal_ret_size();
1549 }
clear_ret()1550 inline void FunctionDef::clear_ret() {
1551   _impl_.ret_.Clear();
1552 }
1553 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
_internal_ret()1554 FunctionDef::_internal_ret() const {
1555   return _impl_.ret_.GetMap();
1556 }
1557 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
ret()1558 FunctionDef::ret() const {
1559   // @@protoc_insertion_point(field_map:tensorflow.FunctionDef.ret)
1560   return _internal_ret();
1561 }
1562 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
_internal_mutable_ret()1563 FunctionDef::_internal_mutable_ret() {
1564   return _impl_.ret_.MutableMap();
1565 }
1566 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
mutable_ret()1567 FunctionDef::mutable_ret() {
1568   // @@protoc_insertion_point(field_mutable_map:tensorflow.FunctionDef.ret)
1569   return _internal_mutable_ret();
1570 }
1571 
1572 // map<string, string> control_ret = 6;
_internal_control_ret_size()1573 inline int FunctionDef::_internal_control_ret_size() const {
1574   return _impl_.control_ret_.size();
1575 }
control_ret_size()1576 inline int FunctionDef::control_ret_size() const {
1577   return _internal_control_ret_size();
1578 }
clear_control_ret()1579 inline void FunctionDef::clear_control_ret() {
1580   _impl_.control_ret_.Clear();
1581 }
1582 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
_internal_control_ret()1583 FunctionDef::_internal_control_ret() const {
1584   return _impl_.control_ret_.GetMap();
1585 }
1586 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
control_ret()1587 FunctionDef::control_ret() const {
1588   // @@protoc_insertion_point(field_map:tensorflow.FunctionDef.control_ret)
1589   return _internal_control_ret();
1590 }
1591 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
_internal_mutable_control_ret()1592 FunctionDef::_internal_mutable_control_ret() {
1593   return _impl_.control_ret_.MutableMap();
1594 }
1595 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
mutable_control_ret()1596 FunctionDef::mutable_control_ret() {
1597   // @@protoc_insertion_point(field_mutable_map:tensorflow.FunctionDef.control_ret)
1598   return _internal_mutable_control_ret();
1599 }
1600 
1601 // -------------------------------------------------------------------
1602 
1603 // GradientDef
1604 
1605 // string function_name = 1;
clear_function_name()1606 inline void GradientDef::clear_function_name() {
1607   _impl_.function_name_.ClearToEmpty();
1608 }
function_name()1609 inline const std::string& GradientDef::function_name() const {
1610   // @@protoc_insertion_point(field_get:tensorflow.GradientDef.function_name)
1611   return _internal_function_name();
1612 }
1613 template <typename ArgT0, typename... ArgT>
1614 inline PROTOBUF_ALWAYS_INLINE
set_function_name(ArgT0 && arg0,ArgT...args)1615 void GradientDef::set_function_name(ArgT0&& arg0, ArgT... args) {
1616 
1617  _impl_.function_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1618   // @@protoc_insertion_point(field_set:tensorflow.GradientDef.function_name)
1619 }
mutable_function_name()1620 inline std::string* GradientDef::mutable_function_name() {
1621   std::string* _s = _internal_mutable_function_name();
1622   // @@protoc_insertion_point(field_mutable:tensorflow.GradientDef.function_name)
1623   return _s;
1624 }
_internal_function_name()1625 inline const std::string& GradientDef::_internal_function_name() const {
1626   return _impl_.function_name_.Get();
1627 }
_internal_set_function_name(const std::string & value)1628 inline void GradientDef::_internal_set_function_name(const std::string& value) {
1629 
1630   _impl_.function_name_.Set(value, GetArenaForAllocation());
1631 }
_internal_mutable_function_name()1632 inline std::string* GradientDef::_internal_mutable_function_name() {
1633 
1634   return _impl_.function_name_.Mutable(GetArenaForAllocation());
1635 }
release_function_name()1636 inline std::string* GradientDef::release_function_name() {
1637   // @@protoc_insertion_point(field_release:tensorflow.GradientDef.function_name)
1638   return _impl_.function_name_.Release();
1639 }
set_allocated_function_name(std::string * function_name)1640 inline void GradientDef::set_allocated_function_name(std::string* function_name) {
1641   _impl_.function_name_.SetAllocated(function_name, GetArenaForAllocation());
1642 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1643   if (_impl_.function_name_.IsDefault()) {
1644     _impl_.function_name_.Set("", GetArenaForAllocation());
1645   }
1646 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1647   // @@protoc_insertion_point(field_set_allocated:tensorflow.GradientDef.function_name)
1648 }
1649 
1650 // string gradient_func = 2;
clear_gradient_func()1651 inline void GradientDef::clear_gradient_func() {
1652   _impl_.gradient_func_.ClearToEmpty();
1653 }
gradient_func()1654 inline const std::string& GradientDef::gradient_func() const {
1655   // @@protoc_insertion_point(field_get:tensorflow.GradientDef.gradient_func)
1656   return _internal_gradient_func();
1657 }
1658 template <typename ArgT0, typename... ArgT>
1659 inline PROTOBUF_ALWAYS_INLINE
set_gradient_func(ArgT0 && arg0,ArgT...args)1660 void GradientDef::set_gradient_func(ArgT0&& arg0, ArgT... args) {
1661 
1662  _impl_.gradient_func_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1663   // @@protoc_insertion_point(field_set:tensorflow.GradientDef.gradient_func)
1664 }
mutable_gradient_func()1665 inline std::string* GradientDef::mutable_gradient_func() {
1666   std::string* _s = _internal_mutable_gradient_func();
1667   // @@protoc_insertion_point(field_mutable:tensorflow.GradientDef.gradient_func)
1668   return _s;
1669 }
_internal_gradient_func()1670 inline const std::string& GradientDef::_internal_gradient_func() const {
1671   return _impl_.gradient_func_.Get();
1672 }
_internal_set_gradient_func(const std::string & value)1673 inline void GradientDef::_internal_set_gradient_func(const std::string& value) {
1674 
1675   _impl_.gradient_func_.Set(value, GetArenaForAllocation());
1676 }
_internal_mutable_gradient_func()1677 inline std::string* GradientDef::_internal_mutable_gradient_func() {
1678 
1679   return _impl_.gradient_func_.Mutable(GetArenaForAllocation());
1680 }
release_gradient_func()1681 inline std::string* GradientDef::release_gradient_func() {
1682   // @@protoc_insertion_point(field_release:tensorflow.GradientDef.gradient_func)
1683   return _impl_.gradient_func_.Release();
1684 }
set_allocated_gradient_func(std::string * gradient_func)1685 inline void GradientDef::set_allocated_gradient_func(std::string* gradient_func) {
1686   _impl_.gradient_func_.SetAllocated(gradient_func, GetArenaForAllocation());
1687 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1688   if (_impl_.gradient_func_.IsDefault()) {
1689     _impl_.gradient_func_.Set("", GetArenaForAllocation());
1690   }
1691 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1692   // @@protoc_insertion_point(field_set_allocated:tensorflow.GradientDef.gradient_func)
1693 }
1694 
1695 // -------------------------------------------------------------------
1696 
1697 // RegisteredGradient
1698 
1699 // string gradient_func = 1;
clear_gradient_func()1700 inline void RegisteredGradient::clear_gradient_func() {
1701   _impl_.gradient_func_.ClearToEmpty();
1702 }
gradient_func()1703 inline const std::string& RegisteredGradient::gradient_func() const {
1704   // @@protoc_insertion_point(field_get:tensorflow.RegisteredGradient.gradient_func)
1705   return _internal_gradient_func();
1706 }
1707 template <typename ArgT0, typename... ArgT>
1708 inline PROTOBUF_ALWAYS_INLINE
set_gradient_func(ArgT0 && arg0,ArgT...args)1709 void RegisteredGradient::set_gradient_func(ArgT0&& arg0, ArgT... args) {
1710 
1711  _impl_.gradient_func_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1712   // @@protoc_insertion_point(field_set:tensorflow.RegisteredGradient.gradient_func)
1713 }
mutable_gradient_func()1714 inline std::string* RegisteredGradient::mutable_gradient_func() {
1715   std::string* _s = _internal_mutable_gradient_func();
1716   // @@protoc_insertion_point(field_mutable:tensorflow.RegisteredGradient.gradient_func)
1717   return _s;
1718 }
_internal_gradient_func()1719 inline const std::string& RegisteredGradient::_internal_gradient_func() const {
1720   return _impl_.gradient_func_.Get();
1721 }
_internal_set_gradient_func(const std::string & value)1722 inline void RegisteredGradient::_internal_set_gradient_func(const std::string& value) {
1723 
1724   _impl_.gradient_func_.Set(value, GetArenaForAllocation());
1725 }
_internal_mutable_gradient_func()1726 inline std::string* RegisteredGradient::_internal_mutable_gradient_func() {
1727 
1728   return _impl_.gradient_func_.Mutable(GetArenaForAllocation());
1729 }
release_gradient_func()1730 inline std::string* RegisteredGradient::release_gradient_func() {
1731   // @@protoc_insertion_point(field_release:tensorflow.RegisteredGradient.gradient_func)
1732   return _impl_.gradient_func_.Release();
1733 }
set_allocated_gradient_func(std::string * gradient_func)1734 inline void RegisteredGradient::set_allocated_gradient_func(std::string* gradient_func) {
1735   _impl_.gradient_func_.SetAllocated(gradient_func, GetArenaForAllocation());
1736 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1737   if (_impl_.gradient_func_.IsDefault()) {
1738     _impl_.gradient_func_.Set("", GetArenaForAllocation());
1739   }
1740 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1741   // @@protoc_insertion_point(field_set_allocated:tensorflow.RegisteredGradient.gradient_func)
1742 }
1743 
1744 // string registered_op_type = 2;
clear_registered_op_type()1745 inline void RegisteredGradient::clear_registered_op_type() {
1746   _impl_.registered_op_type_.ClearToEmpty();
1747 }
registered_op_type()1748 inline const std::string& RegisteredGradient::registered_op_type() const {
1749   // @@protoc_insertion_point(field_get:tensorflow.RegisteredGradient.registered_op_type)
1750   return _internal_registered_op_type();
1751 }
1752 template <typename ArgT0, typename... ArgT>
1753 inline PROTOBUF_ALWAYS_INLINE
set_registered_op_type(ArgT0 && arg0,ArgT...args)1754 void RegisteredGradient::set_registered_op_type(ArgT0&& arg0, ArgT... args) {
1755 
1756  _impl_.registered_op_type_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1757   // @@protoc_insertion_point(field_set:tensorflow.RegisteredGradient.registered_op_type)
1758 }
mutable_registered_op_type()1759 inline std::string* RegisteredGradient::mutable_registered_op_type() {
1760   std::string* _s = _internal_mutable_registered_op_type();
1761   // @@protoc_insertion_point(field_mutable:tensorflow.RegisteredGradient.registered_op_type)
1762   return _s;
1763 }
_internal_registered_op_type()1764 inline const std::string& RegisteredGradient::_internal_registered_op_type() const {
1765   return _impl_.registered_op_type_.Get();
1766 }
_internal_set_registered_op_type(const std::string & value)1767 inline void RegisteredGradient::_internal_set_registered_op_type(const std::string& value) {
1768 
1769   _impl_.registered_op_type_.Set(value, GetArenaForAllocation());
1770 }
_internal_mutable_registered_op_type()1771 inline std::string* RegisteredGradient::_internal_mutable_registered_op_type() {
1772 
1773   return _impl_.registered_op_type_.Mutable(GetArenaForAllocation());
1774 }
release_registered_op_type()1775 inline std::string* RegisteredGradient::release_registered_op_type() {
1776   // @@protoc_insertion_point(field_release:tensorflow.RegisteredGradient.registered_op_type)
1777   return _impl_.registered_op_type_.Release();
1778 }
set_allocated_registered_op_type(std::string * registered_op_type)1779 inline void RegisteredGradient::set_allocated_registered_op_type(std::string* registered_op_type) {
1780   _impl_.registered_op_type_.SetAllocated(registered_op_type, GetArenaForAllocation());
1781 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1782   if (_impl_.registered_op_type_.IsDefault()) {
1783     _impl_.registered_op_type_.Set("", GetArenaForAllocation());
1784   }
1785 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1786   // @@protoc_insertion_point(field_set_allocated:tensorflow.RegisteredGradient.registered_op_type)
1787 }
1788 
1789 #ifdef __GNUC__
1790   #pragma GCC diagnostic pop
1791 #endif  // __GNUC__
1792 // -------------------------------------------------------------------
1793 
1794 // -------------------------------------------------------------------
1795 
1796 // -------------------------------------------------------------------
1797 
1798 // -------------------------------------------------------------------
1799 
1800 // -------------------------------------------------------------------
1801 
1802 // -------------------------------------------------------------------
1803 
1804 // -------------------------------------------------------------------
1805 
1806 // -------------------------------------------------------------------
1807 
1808 // -------------------------------------------------------------------
1809 
1810 // -------------------------------------------------------------------
1811 
1812 
1813 // @@protoc_insertion_point(namespace_scope)
1814 
1815 }  // namespace tensorflow
1816 
1817 // @@protoc_insertion_point(global_scope)
1818 
1819 #include <google/protobuf/port_undef.inc>
1820 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2ffunction_2eproto
1821