1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: tensorflow/core/protobuf/meta_graph.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_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 <google/protobuf/any.pb.h>
36 #include "tensorflow/core/framework/graph.pb.h"
37 #include "tensorflow/core/framework/op_def.pb.h"
38 #include "tensorflow/core/framework/tensor_shape.pb.h"
39 #include "tensorflow/core/framework/types.pb.h"
40 #include "tensorflow/core/protobuf/saved_object_graph.pb.h"
41 #include "tensorflow/core/protobuf/saver.pb.h"
42 #include "tensorflow/core/protobuf/struct.pb.h"
43 // @@protoc_insertion_point(includes)
44 #include <google/protobuf/port_def.inc>
45 #define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto
46 PROTOBUF_NAMESPACE_OPEN
47 namespace internal {
48 class AnyMetadata;
49 }  // namespace internal
50 PROTOBUF_NAMESPACE_CLOSE
51 
52 // Internal implementation detail -- do not use these members.
53 struct TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto {
54   static const ::uint32_t offsets[];
55 };
56 namespace tensorflow {
57 class AssetFileDef;
58 struct AssetFileDefDefaultTypeInternal;
59 extern AssetFileDefDefaultTypeInternal _AssetFileDef_default_instance_;
60 class CollectionDef;
61 struct CollectionDefDefaultTypeInternal;
62 extern CollectionDefDefaultTypeInternal _CollectionDef_default_instance_;
63 class CollectionDef_AnyList;
64 struct CollectionDef_AnyListDefaultTypeInternal;
65 extern CollectionDef_AnyListDefaultTypeInternal _CollectionDef_AnyList_default_instance_;
66 class CollectionDef_BytesList;
67 struct CollectionDef_BytesListDefaultTypeInternal;
68 extern CollectionDef_BytesListDefaultTypeInternal _CollectionDef_BytesList_default_instance_;
69 class CollectionDef_FloatList;
70 struct CollectionDef_FloatListDefaultTypeInternal;
71 extern CollectionDef_FloatListDefaultTypeInternal _CollectionDef_FloatList_default_instance_;
72 class CollectionDef_Int64List;
73 struct CollectionDef_Int64ListDefaultTypeInternal;
74 extern CollectionDef_Int64ListDefaultTypeInternal _CollectionDef_Int64List_default_instance_;
75 class CollectionDef_NodeList;
76 struct CollectionDef_NodeListDefaultTypeInternal;
77 extern CollectionDef_NodeListDefaultTypeInternal _CollectionDef_NodeList_default_instance_;
78 class MetaGraphDef;
79 struct MetaGraphDefDefaultTypeInternal;
80 extern MetaGraphDefDefaultTypeInternal _MetaGraphDef_default_instance_;
81 class MetaGraphDef_CollectionDefEntry_DoNotUse;
82 struct MetaGraphDef_CollectionDefEntry_DoNotUseDefaultTypeInternal;
83 extern MetaGraphDef_CollectionDefEntry_DoNotUseDefaultTypeInternal _MetaGraphDef_CollectionDefEntry_DoNotUse_default_instance_;
84 class MetaGraphDef_MetaInfoDef;
85 struct MetaGraphDef_MetaInfoDefDefaultTypeInternal;
86 extern MetaGraphDef_MetaInfoDefDefaultTypeInternal _MetaGraphDef_MetaInfoDef_default_instance_;
87 class MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUse;
88 struct MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUseDefaultTypeInternal;
89 extern MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUseDefaultTypeInternal _MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUse_default_instance_;
90 class MetaGraphDef_SignatureDefEntry_DoNotUse;
91 struct MetaGraphDef_SignatureDefEntry_DoNotUseDefaultTypeInternal;
92 extern MetaGraphDef_SignatureDefEntry_DoNotUseDefaultTypeInternal _MetaGraphDef_SignatureDefEntry_DoNotUse_default_instance_;
93 class SignatureDef;
94 struct SignatureDefDefaultTypeInternal;
95 extern SignatureDefDefaultTypeInternal _SignatureDef_default_instance_;
96 class SignatureDef_InputsEntry_DoNotUse;
97 struct SignatureDef_InputsEntry_DoNotUseDefaultTypeInternal;
98 extern SignatureDef_InputsEntry_DoNotUseDefaultTypeInternal _SignatureDef_InputsEntry_DoNotUse_default_instance_;
99 class SignatureDef_OutputsEntry_DoNotUse;
100 struct SignatureDef_OutputsEntry_DoNotUseDefaultTypeInternal;
101 extern SignatureDef_OutputsEntry_DoNotUseDefaultTypeInternal _SignatureDef_OutputsEntry_DoNotUse_default_instance_;
102 class TensorInfo;
103 struct TensorInfoDefaultTypeInternal;
104 extern TensorInfoDefaultTypeInternal _TensorInfo_default_instance_;
105 class TensorInfo_CompositeTensor;
106 struct TensorInfo_CompositeTensorDefaultTypeInternal;
107 extern TensorInfo_CompositeTensorDefaultTypeInternal _TensorInfo_CompositeTensor_default_instance_;
108 class TensorInfo_CooSparse;
109 struct TensorInfo_CooSparseDefaultTypeInternal;
110 extern TensorInfo_CooSparseDefaultTypeInternal _TensorInfo_CooSparse_default_instance_;
111 }  // namespace tensorflow
112 PROTOBUF_NAMESPACE_OPEN
113 template<> ::tensorflow::AssetFileDef* Arena::CreateMaybeMessage<::tensorflow::AssetFileDef>(Arena*);
114 template<> ::tensorflow::CollectionDef* Arena::CreateMaybeMessage<::tensorflow::CollectionDef>(Arena*);
115 template<> ::tensorflow::CollectionDef_AnyList* Arena::CreateMaybeMessage<::tensorflow::CollectionDef_AnyList>(Arena*);
116 template<> ::tensorflow::CollectionDef_BytesList* Arena::CreateMaybeMessage<::tensorflow::CollectionDef_BytesList>(Arena*);
117 template<> ::tensorflow::CollectionDef_FloatList* Arena::CreateMaybeMessage<::tensorflow::CollectionDef_FloatList>(Arena*);
118 template<> ::tensorflow::CollectionDef_Int64List* Arena::CreateMaybeMessage<::tensorflow::CollectionDef_Int64List>(Arena*);
119 template<> ::tensorflow::CollectionDef_NodeList* Arena::CreateMaybeMessage<::tensorflow::CollectionDef_NodeList>(Arena*);
120 template<> ::tensorflow::MetaGraphDef* Arena::CreateMaybeMessage<::tensorflow::MetaGraphDef>(Arena*);
121 template<> ::tensorflow::MetaGraphDef_CollectionDefEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::MetaGraphDef_CollectionDefEntry_DoNotUse>(Arena*);
122 template<> ::tensorflow::MetaGraphDef_MetaInfoDef* Arena::CreateMaybeMessage<::tensorflow::MetaGraphDef_MetaInfoDef>(Arena*);
123 template<> ::tensorflow::MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUse>(Arena*);
124 template<> ::tensorflow::MetaGraphDef_SignatureDefEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::MetaGraphDef_SignatureDefEntry_DoNotUse>(Arena*);
125 template<> ::tensorflow::SignatureDef* Arena::CreateMaybeMessage<::tensorflow::SignatureDef>(Arena*);
126 template<> ::tensorflow::SignatureDef_InputsEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::SignatureDef_InputsEntry_DoNotUse>(Arena*);
127 template<> ::tensorflow::SignatureDef_OutputsEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::SignatureDef_OutputsEntry_DoNotUse>(Arena*);
128 template<> ::tensorflow::TensorInfo* Arena::CreateMaybeMessage<::tensorflow::TensorInfo>(Arena*);
129 template<> ::tensorflow::TensorInfo_CompositeTensor* Arena::CreateMaybeMessage<::tensorflow::TensorInfo_CompositeTensor>(Arena*);
130 template<> ::tensorflow::TensorInfo_CooSparse* Arena::CreateMaybeMessage<::tensorflow::TensorInfo_CooSparse>(Arena*);
131 PROTOBUF_NAMESPACE_CLOSE
132 namespace tensorflow {
133 
134 // ===================================================================
135 
136 class MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUse,
137     std::string, std::string,
138     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
139     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> {
140 public:
141   typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUse,
142     std::string, std::string,
143     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
144     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> SuperType;
145   MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUse();
146   explicit PROTOBUF_CONSTEXPR MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUse(
147       ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
148   explicit MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
149   void MergeFrom(const MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUse& other);
internal_default_instance()150   static const MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUse*>(&_MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUse_default_instance_); }
ValidateKey(std::string * s)151   static bool ValidateKey(std::string* s) {
152     return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.MetaGraphDef.MetaInfoDef.FunctionAliasesEntry.key");
153  }
ValidateValue(std::string * s)154   static bool ValidateValue(std::string* s) {
155     return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.MetaGraphDef.MetaInfoDef.FunctionAliasesEntry.value");
156  }
157   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
158 };
159 
160 // -------------------------------------------------------------------
161 
162 class MetaGraphDef_MetaInfoDef final :
163     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.MetaGraphDef.MetaInfoDef) */ {
164  public:
MetaGraphDef_MetaInfoDef()165   inline MetaGraphDef_MetaInfoDef() : MetaGraphDef_MetaInfoDef(nullptr) {}
166   ~MetaGraphDef_MetaInfoDef() override;
167   explicit PROTOBUF_CONSTEXPR MetaGraphDef_MetaInfoDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
168 
169   MetaGraphDef_MetaInfoDef(const MetaGraphDef_MetaInfoDef& from);
MetaGraphDef_MetaInfoDef(MetaGraphDef_MetaInfoDef && from)170   MetaGraphDef_MetaInfoDef(MetaGraphDef_MetaInfoDef&& from) noexcept
171     : MetaGraphDef_MetaInfoDef() {
172     *this = ::std::move(from);
173   }
174 
175   inline MetaGraphDef_MetaInfoDef& operator=(const MetaGraphDef_MetaInfoDef& from) {
176     if (this == &from) return *this;
177     CopyFrom(from);
178     return *this;
179   }
180   inline MetaGraphDef_MetaInfoDef& operator=(MetaGraphDef_MetaInfoDef&& from) noexcept {
181     if (this == &from) return *this;
182     if (GetOwningArena() == from.GetOwningArena()
183   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
184         && GetOwningArena() != nullptr
185   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
186     ) {
187       InternalSwap(&from);
188     } else {
189       CopyFrom(from);
190     }
191     return *this;
192   }
193 
default_instance()194   static const MetaGraphDef_MetaInfoDef& default_instance() {
195     return *internal_default_instance();
196   }
internal_default_instance()197   static inline const MetaGraphDef_MetaInfoDef* internal_default_instance() {
198     return reinterpret_cast<const MetaGraphDef_MetaInfoDef*>(
199                &_MetaGraphDef_MetaInfoDef_default_instance_);
200   }
201   static constexpr int kIndexInFileMessages =
202     1;
203 
swap(MetaGraphDef_MetaInfoDef & a,MetaGraphDef_MetaInfoDef & b)204   friend void swap(MetaGraphDef_MetaInfoDef& a, MetaGraphDef_MetaInfoDef& b) {
205     a.Swap(&b);
206   }
Swap(MetaGraphDef_MetaInfoDef * other)207   inline void Swap(MetaGraphDef_MetaInfoDef* other) {
208     if (other == this) return;
209   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
210     if (GetOwningArena() != nullptr &&
211         GetOwningArena() == other->GetOwningArena()) {
212    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
213     if (GetOwningArena() == other->GetOwningArena()) {
214   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
215       InternalSwap(other);
216     } else {
217       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
218     }
219   }
220   void UnsafeArenaSwap(MetaGraphDef_MetaInfoDef* other) {
221     if (other == this) return;
222     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
223     InternalSwap(other);
224   }
225 
226   // implements Message ----------------------------------------------
227 
228   MetaGraphDef_MetaInfoDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
229     return CreateMaybeMessage<MetaGraphDef_MetaInfoDef>(arena);
230   }
231   MetaGraphDef_MetaInfoDef* New() const {
232     return New(nullptr);
233   }
234   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
235   void CopyFrom(const MetaGraphDef_MetaInfoDef& from);
236   void MergeFrom(const MetaGraphDef_MetaInfoDef& from);
237   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
238   bool IsInitialized() const final;
239 
240   size_t ByteSizeLong() const final;
241   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
242   ::uint8_t* _InternalSerialize(
243       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
244   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
245 
246   private:
247   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
248   void SharedDtor();
249   void SetCachedSize(int size) const;
250   void InternalSwap(MetaGraphDef_MetaInfoDef* other);
251 
252   private:
253   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
254   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
255     return "tensorflow.MetaGraphDef.MetaInfoDef";
256   }
257   protected:
258   explicit MetaGraphDef_MetaInfoDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
259                        bool is_message_owned = false);
260   public:
261 
262   std::string GetTypeName() const final;
263 
264   // nested types ----------------------------------------------------
265 
266 
267   // accessors -------------------------------------------------------
268 
269   enum : int {
270     kTagsFieldNumber = 4,
271     kFunctionAliasesFieldNumber = 8,
272     kMetaGraphVersionFieldNumber = 1,
273     kTensorflowVersionFieldNumber = 5,
274     kTensorflowGitVersionFieldNumber = 6,
275     kStrippedOpListFieldNumber = 2,
276     kAnyInfoFieldNumber = 3,
277     kStrippedDefaultAttrsFieldNumber = 7,
278   };
279   // repeated string tags = 4;
280   int tags_size() const;
281   private:
282   int _internal_tags_size() const;
283   public:
284   void clear_tags();
285   const std::string& tags(int index) const;
286   std::string* mutable_tags(int index);
287   void set_tags(int index, const std::string& value);
288   void set_tags(int index, std::string&& value);
289   void set_tags(int index, const char* value);
290   void set_tags(int index, const char* value, size_t size);
291   std::string* add_tags();
292   void add_tags(const std::string& value);
293   void add_tags(std::string&& value);
294   void add_tags(const char* value);
295   void add_tags(const char* value, size_t size);
296   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& tags() const;
297   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_tags();
298   private:
299   const std::string& _internal_tags(int index) const;
300   std::string* _internal_add_tags();
301   public:
302 
303   // map<string, string> function_aliases = 8;
304   int function_aliases_size() const;
305   private:
306   int _internal_function_aliases_size() const;
307   public:
308   void clear_function_aliases();
309   private:
310   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
311       _internal_function_aliases() const;
312   ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
313       _internal_mutable_function_aliases();
314   public:
315   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
316       function_aliases() const;
317   ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
318       mutable_function_aliases();
319 
320   // string meta_graph_version = 1;
321   void clear_meta_graph_version();
322   const std::string& meta_graph_version() const;
323   template <typename ArgT0 = const std::string&, typename... ArgT>
324   void set_meta_graph_version(ArgT0&& arg0, ArgT... args);
325   std::string* mutable_meta_graph_version();
326   PROTOBUF_NODISCARD std::string* release_meta_graph_version();
327   void set_allocated_meta_graph_version(std::string* meta_graph_version);
328   private:
329   const std::string& _internal_meta_graph_version() const;
330   inline PROTOBUF_ALWAYS_INLINE void _internal_set_meta_graph_version(const std::string& value);
331   std::string* _internal_mutable_meta_graph_version();
332   public:
333 
334   // string tensorflow_version = 5;
335   void clear_tensorflow_version();
336   const std::string& tensorflow_version() const;
337   template <typename ArgT0 = const std::string&, typename... ArgT>
338   void set_tensorflow_version(ArgT0&& arg0, ArgT... args);
339   std::string* mutable_tensorflow_version();
340   PROTOBUF_NODISCARD std::string* release_tensorflow_version();
341   void set_allocated_tensorflow_version(std::string* tensorflow_version);
342   private:
343   const std::string& _internal_tensorflow_version() const;
344   inline PROTOBUF_ALWAYS_INLINE void _internal_set_tensorflow_version(const std::string& value);
345   std::string* _internal_mutable_tensorflow_version();
346   public:
347 
348   // string tensorflow_git_version = 6;
349   void clear_tensorflow_git_version();
350   const std::string& tensorflow_git_version() const;
351   template <typename ArgT0 = const std::string&, typename... ArgT>
352   void set_tensorflow_git_version(ArgT0&& arg0, ArgT... args);
353   std::string* mutable_tensorflow_git_version();
354   PROTOBUF_NODISCARD std::string* release_tensorflow_git_version();
355   void set_allocated_tensorflow_git_version(std::string* tensorflow_git_version);
356   private:
357   const std::string& _internal_tensorflow_git_version() const;
358   inline PROTOBUF_ALWAYS_INLINE void _internal_set_tensorflow_git_version(const std::string& value);
359   std::string* _internal_mutable_tensorflow_git_version();
360   public:
361 
362   // .tensorflow.OpList stripped_op_list = 2;
363   bool has_stripped_op_list() const;
364   private:
365   bool _internal_has_stripped_op_list() const;
366   public:
367   void clear_stripped_op_list();
368   const ::tensorflow::OpList& stripped_op_list() const;
369   PROTOBUF_NODISCARD ::tensorflow::OpList* release_stripped_op_list();
370   ::tensorflow::OpList* mutable_stripped_op_list();
371   void set_allocated_stripped_op_list(::tensorflow::OpList* stripped_op_list);
372   private:
373   const ::tensorflow::OpList& _internal_stripped_op_list() const;
374   ::tensorflow::OpList* _internal_mutable_stripped_op_list();
375   public:
376   void unsafe_arena_set_allocated_stripped_op_list(
377       ::tensorflow::OpList* stripped_op_list);
378   ::tensorflow::OpList* unsafe_arena_release_stripped_op_list();
379 
380   // .google.protobuf.Any any_info = 3;
381   bool has_any_info() const;
382   private:
383   bool _internal_has_any_info() const;
384   public:
385   void clear_any_info();
386   const ::PROTOBUF_NAMESPACE_ID::Any& any_info() const;
387   PROTOBUF_NODISCARD ::PROTOBUF_NAMESPACE_ID::Any* release_any_info();
388   ::PROTOBUF_NAMESPACE_ID::Any* mutable_any_info();
389   void set_allocated_any_info(::PROTOBUF_NAMESPACE_ID::Any* any_info);
390   private:
391   const ::PROTOBUF_NAMESPACE_ID::Any& _internal_any_info() const;
392   ::PROTOBUF_NAMESPACE_ID::Any* _internal_mutable_any_info();
393   public:
394   void unsafe_arena_set_allocated_any_info(
395       ::PROTOBUF_NAMESPACE_ID::Any* any_info);
396   ::PROTOBUF_NAMESPACE_ID::Any* unsafe_arena_release_any_info();
397 
398   // bool stripped_default_attrs = 7;
399   void clear_stripped_default_attrs();
400   bool stripped_default_attrs() const;
401   void set_stripped_default_attrs(bool value);
402   private:
403   bool _internal_stripped_default_attrs() const;
404   void _internal_set_stripped_default_attrs(bool value);
405   public:
406 
407   // @@protoc_insertion_point(class_scope:tensorflow.MetaGraphDef.MetaInfoDef)
408  private:
409   class _Internal;
410 
411   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
412   typedef void InternalArenaConstructable_;
413   typedef void DestructorSkippable_;
414   struct Impl_ {
415     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> tags_;
416     ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
417         MetaGraphDef_MetaInfoDef_FunctionAliasesEntry_DoNotUse,
418         std::string, std::string,
419         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
420         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING> function_aliases_;
421     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr meta_graph_version_;
422     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tensorflow_version_;
423     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tensorflow_git_version_;
424     ::tensorflow::OpList* stripped_op_list_;
425     ::PROTOBUF_NAMESPACE_ID::Any* any_info_;
426     bool stripped_default_attrs_;
427     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
428   };
429   union { Impl_ _impl_; };
430   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
431 };
432 // -------------------------------------------------------------------
433 
434 class MetaGraphDef_CollectionDefEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<MetaGraphDef_CollectionDefEntry_DoNotUse,
435     std::string, ::tensorflow::CollectionDef,
436     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
437     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
438 public:
439   typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<MetaGraphDef_CollectionDefEntry_DoNotUse,
440     std::string, ::tensorflow::CollectionDef,
441     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
442     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
443   MetaGraphDef_CollectionDefEntry_DoNotUse();
444   explicit PROTOBUF_CONSTEXPR MetaGraphDef_CollectionDefEntry_DoNotUse(
445       ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
446   explicit MetaGraphDef_CollectionDefEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
447   void MergeFrom(const MetaGraphDef_CollectionDefEntry_DoNotUse& other);
internal_default_instance()448   static const MetaGraphDef_CollectionDefEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const MetaGraphDef_CollectionDefEntry_DoNotUse*>(&_MetaGraphDef_CollectionDefEntry_DoNotUse_default_instance_); }
ValidateKey(std::string * s)449   static bool ValidateKey(std::string* s) {
450     return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.MetaGraphDef.CollectionDefEntry.key");
451  }
ValidateValue(void *)452   static bool ValidateValue(void*) { return true; }
453   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
454 };
455 
456 // -------------------------------------------------------------------
457 
458 class MetaGraphDef_SignatureDefEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<MetaGraphDef_SignatureDefEntry_DoNotUse,
459     std::string, ::tensorflow::SignatureDef,
460     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
461     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
462 public:
463   typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<MetaGraphDef_SignatureDefEntry_DoNotUse,
464     std::string, ::tensorflow::SignatureDef,
465     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
466     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
467   MetaGraphDef_SignatureDefEntry_DoNotUse();
468   explicit PROTOBUF_CONSTEXPR MetaGraphDef_SignatureDefEntry_DoNotUse(
469       ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
470   explicit MetaGraphDef_SignatureDefEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
471   void MergeFrom(const MetaGraphDef_SignatureDefEntry_DoNotUse& other);
internal_default_instance()472   static const MetaGraphDef_SignatureDefEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const MetaGraphDef_SignatureDefEntry_DoNotUse*>(&_MetaGraphDef_SignatureDefEntry_DoNotUse_default_instance_); }
ValidateKey(std::string * s)473   static bool ValidateKey(std::string* s) {
474     return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.MetaGraphDef.SignatureDefEntry.key");
475  }
ValidateValue(void *)476   static bool ValidateValue(void*) { return true; }
477   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
478 };
479 
480 // -------------------------------------------------------------------
481 
482 class MetaGraphDef final :
483     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.MetaGraphDef) */ {
484  public:
MetaGraphDef()485   inline MetaGraphDef() : MetaGraphDef(nullptr) {}
486   ~MetaGraphDef() override;
487   explicit PROTOBUF_CONSTEXPR MetaGraphDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
488 
489   MetaGraphDef(const MetaGraphDef& from);
MetaGraphDef(MetaGraphDef && from)490   MetaGraphDef(MetaGraphDef&& from) noexcept
491     : MetaGraphDef() {
492     *this = ::std::move(from);
493   }
494 
495   inline MetaGraphDef& operator=(const MetaGraphDef& from) {
496     if (this == &from) return *this;
497     CopyFrom(from);
498     return *this;
499   }
500   inline MetaGraphDef& operator=(MetaGraphDef&& from) noexcept {
501     if (this == &from) return *this;
502     if (GetOwningArena() == from.GetOwningArena()
503   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
504         && GetOwningArena() != nullptr
505   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
506     ) {
507       InternalSwap(&from);
508     } else {
509       CopyFrom(from);
510     }
511     return *this;
512   }
513 
default_instance()514   static const MetaGraphDef& default_instance() {
515     return *internal_default_instance();
516   }
internal_default_instance()517   static inline const MetaGraphDef* internal_default_instance() {
518     return reinterpret_cast<const MetaGraphDef*>(
519                &_MetaGraphDef_default_instance_);
520   }
521   static constexpr int kIndexInFileMessages =
522     4;
523 
swap(MetaGraphDef & a,MetaGraphDef & b)524   friend void swap(MetaGraphDef& a, MetaGraphDef& b) {
525     a.Swap(&b);
526   }
Swap(MetaGraphDef * other)527   inline void Swap(MetaGraphDef* other) {
528     if (other == this) return;
529   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
530     if (GetOwningArena() != nullptr &&
531         GetOwningArena() == other->GetOwningArena()) {
532    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
533     if (GetOwningArena() == other->GetOwningArena()) {
534   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
535       InternalSwap(other);
536     } else {
537       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
538     }
539   }
540   void UnsafeArenaSwap(MetaGraphDef* other) {
541     if (other == this) return;
542     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
543     InternalSwap(other);
544   }
545 
546   // implements Message ----------------------------------------------
547 
548   MetaGraphDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
549     return CreateMaybeMessage<MetaGraphDef>(arena);
550   }
551   MetaGraphDef* New() const {
552     return New(nullptr);
553   }
554   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
555   void CopyFrom(const MetaGraphDef& from);
556   void MergeFrom(const MetaGraphDef& from);
557   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
558   bool IsInitialized() const final;
559 
560   size_t ByteSizeLong() const final;
561   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
562   ::uint8_t* _InternalSerialize(
563       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
564   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
565 
566   private:
567   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
568   void SharedDtor();
569   void SetCachedSize(int size) const;
570   void InternalSwap(MetaGraphDef* other);
571 
572   private:
573   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
574   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
575     return "tensorflow.MetaGraphDef";
576   }
577   protected:
578   explicit MetaGraphDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
579                        bool is_message_owned = false);
580   public:
581 
582   std::string GetTypeName() const final;
583 
584   // nested types ----------------------------------------------------
585 
586   typedef MetaGraphDef_MetaInfoDef MetaInfoDef;
587 
588   // accessors -------------------------------------------------------
589 
590   enum : int {
591     kCollectionDefFieldNumber = 4,
592     kSignatureDefFieldNumber = 5,
593     kAssetFileDefFieldNumber = 6,
594     kMetaInfoDefFieldNumber = 1,
595     kGraphDefFieldNumber = 2,
596     kSaverDefFieldNumber = 3,
597     kObjectGraphDefFieldNumber = 7,
598   };
599   // map<string, .tensorflow.CollectionDef> collection_def = 4;
600   int collection_def_size() const;
601   private:
602   int _internal_collection_def_size() const;
603   public:
604   void clear_collection_def();
605   private:
606   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::CollectionDef >&
607       _internal_collection_def() const;
608   ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::CollectionDef >*
609       _internal_mutable_collection_def();
610   public:
611   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::CollectionDef >&
612       collection_def() const;
613   ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::CollectionDef >*
614       mutable_collection_def();
615 
616   // map<string, .tensorflow.SignatureDef> signature_def = 5;
617   int signature_def_size() const;
618   private:
619   int _internal_signature_def_size() const;
620   public:
621   void clear_signature_def();
622   private:
623   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::SignatureDef >&
624       _internal_signature_def() const;
625   ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::SignatureDef >*
626       _internal_mutable_signature_def();
627   public:
628   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::SignatureDef >&
629       signature_def() const;
630   ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::SignatureDef >*
631       mutable_signature_def();
632 
633   // repeated .tensorflow.AssetFileDef asset_file_def = 6;
634   int asset_file_def_size() const;
635   private:
636   int _internal_asset_file_def_size() const;
637   public:
638   void clear_asset_file_def();
639   ::tensorflow::AssetFileDef* mutable_asset_file_def(int index);
640   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AssetFileDef >*
641       mutable_asset_file_def();
642   private:
643   const ::tensorflow::AssetFileDef& _internal_asset_file_def(int index) const;
644   ::tensorflow::AssetFileDef* _internal_add_asset_file_def();
645   public:
646   const ::tensorflow::AssetFileDef& asset_file_def(int index) const;
647   ::tensorflow::AssetFileDef* add_asset_file_def();
648   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AssetFileDef >&
649       asset_file_def() const;
650 
651   // .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
652   bool has_meta_info_def() const;
653   private:
654   bool _internal_has_meta_info_def() const;
655   public:
656   void clear_meta_info_def();
657   const ::tensorflow::MetaGraphDef_MetaInfoDef& meta_info_def() const;
658   PROTOBUF_NODISCARD ::tensorflow::MetaGraphDef_MetaInfoDef* release_meta_info_def();
659   ::tensorflow::MetaGraphDef_MetaInfoDef* mutable_meta_info_def();
660   void set_allocated_meta_info_def(::tensorflow::MetaGraphDef_MetaInfoDef* meta_info_def);
661   private:
662   const ::tensorflow::MetaGraphDef_MetaInfoDef& _internal_meta_info_def() const;
663   ::tensorflow::MetaGraphDef_MetaInfoDef* _internal_mutable_meta_info_def();
664   public:
665   void unsafe_arena_set_allocated_meta_info_def(
666       ::tensorflow::MetaGraphDef_MetaInfoDef* meta_info_def);
667   ::tensorflow::MetaGraphDef_MetaInfoDef* unsafe_arena_release_meta_info_def();
668 
669   // .tensorflow.GraphDef graph_def = 2;
670   bool has_graph_def() const;
671   private:
672   bool _internal_has_graph_def() const;
673   public:
674   void clear_graph_def();
675   const ::tensorflow::GraphDef& graph_def() const;
676   PROTOBUF_NODISCARD ::tensorflow::GraphDef* release_graph_def();
677   ::tensorflow::GraphDef* mutable_graph_def();
678   void set_allocated_graph_def(::tensorflow::GraphDef* graph_def);
679   private:
680   const ::tensorflow::GraphDef& _internal_graph_def() const;
681   ::tensorflow::GraphDef* _internal_mutable_graph_def();
682   public:
683   void unsafe_arena_set_allocated_graph_def(
684       ::tensorflow::GraphDef* graph_def);
685   ::tensorflow::GraphDef* unsafe_arena_release_graph_def();
686 
687   // .tensorflow.SaverDef saver_def = 3;
688   bool has_saver_def() const;
689   private:
690   bool _internal_has_saver_def() const;
691   public:
692   void clear_saver_def();
693   const ::tensorflow::SaverDef& saver_def() const;
694   PROTOBUF_NODISCARD ::tensorflow::SaverDef* release_saver_def();
695   ::tensorflow::SaverDef* mutable_saver_def();
696   void set_allocated_saver_def(::tensorflow::SaverDef* saver_def);
697   private:
698   const ::tensorflow::SaverDef& _internal_saver_def() const;
699   ::tensorflow::SaverDef* _internal_mutable_saver_def();
700   public:
701   void unsafe_arena_set_allocated_saver_def(
702       ::tensorflow::SaverDef* saver_def);
703   ::tensorflow::SaverDef* unsafe_arena_release_saver_def();
704 
705   // .tensorflow.SavedObjectGraph object_graph_def = 7;
706   bool has_object_graph_def() const;
707   private:
708   bool _internal_has_object_graph_def() const;
709   public:
710   void clear_object_graph_def();
711   const ::tensorflow::SavedObjectGraph& object_graph_def() const;
712   PROTOBUF_NODISCARD ::tensorflow::SavedObjectGraph* release_object_graph_def();
713   ::tensorflow::SavedObjectGraph* mutable_object_graph_def();
714   void set_allocated_object_graph_def(::tensorflow::SavedObjectGraph* object_graph_def);
715   private:
716   const ::tensorflow::SavedObjectGraph& _internal_object_graph_def() const;
717   ::tensorflow::SavedObjectGraph* _internal_mutable_object_graph_def();
718   public:
719   void unsafe_arena_set_allocated_object_graph_def(
720       ::tensorflow::SavedObjectGraph* object_graph_def);
721   ::tensorflow::SavedObjectGraph* unsafe_arena_release_object_graph_def();
722 
723   // @@protoc_insertion_point(class_scope:tensorflow.MetaGraphDef)
724  private:
725   class _Internal;
726 
727   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
728   typedef void InternalArenaConstructable_;
729   typedef void DestructorSkippable_;
730   struct Impl_ {
731     ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
732         MetaGraphDef_CollectionDefEntry_DoNotUse,
733         std::string, ::tensorflow::CollectionDef,
734         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
735         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> collection_def_;
736     ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
737         MetaGraphDef_SignatureDefEntry_DoNotUse,
738         std::string, ::tensorflow::SignatureDef,
739         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
740         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> signature_def_;
741     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AssetFileDef > asset_file_def_;
742     ::tensorflow::MetaGraphDef_MetaInfoDef* meta_info_def_;
743     ::tensorflow::GraphDef* graph_def_;
744     ::tensorflow::SaverDef* saver_def_;
745     ::tensorflow::SavedObjectGraph* object_graph_def_;
746     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
747   };
748   union { Impl_ _impl_; };
749   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
750 };
751 // -------------------------------------------------------------------
752 
753 class CollectionDef_NodeList final :
754     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.CollectionDef.NodeList) */ {
755  public:
CollectionDef_NodeList()756   inline CollectionDef_NodeList() : CollectionDef_NodeList(nullptr) {}
757   ~CollectionDef_NodeList() override;
758   explicit PROTOBUF_CONSTEXPR CollectionDef_NodeList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
759 
760   CollectionDef_NodeList(const CollectionDef_NodeList& from);
CollectionDef_NodeList(CollectionDef_NodeList && from)761   CollectionDef_NodeList(CollectionDef_NodeList&& from) noexcept
762     : CollectionDef_NodeList() {
763     *this = ::std::move(from);
764   }
765 
766   inline CollectionDef_NodeList& operator=(const CollectionDef_NodeList& from) {
767     if (this == &from) return *this;
768     CopyFrom(from);
769     return *this;
770   }
771   inline CollectionDef_NodeList& operator=(CollectionDef_NodeList&& from) noexcept {
772     if (this == &from) return *this;
773     if (GetOwningArena() == from.GetOwningArena()
774   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
775         && GetOwningArena() != nullptr
776   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
777     ) {
778       InternalSwap(&from);
779     } else {
780       CopyFrom(from);
781     }
782     return *this;
783   }
784 
default_instance()785   static const CollectionDef_NodeList& default_instance() {
786     return *internal_default_instance();
787   }
internal_default_instance()788   static inline const CollectionDef_NodeList* internal_default_instance() {
789     return reinterpret_cast<const CollectionDef_NodeList*>(
790                &_CollectionDef_NodeList_default_instance_);
791   }
792   static constexpr int kIndexInFileMessages =
793     5;
794 
swap(CollectionDef_NodeList & a,CollectionDef_NodeList & b)795   friend void swap(CollectionDef_NodeList& a, CollectionDef_NodeList& b) {
796     a.Swap(&b);
797   }
Swap(CollectionDef_NodeList * other)798   inline void Swap(CollectionDef_NodeList* other) {
799     if (other == this) return;
800   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
801     if (GetOwningArena() != nullptr &&
802         GetOwningArena() == other->GetOwningArena()) {
803    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
804     if (GetOwningArena() == other->GetOwningArena()) {
805   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
806       InternalSwap(other);
807     } else {
808       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
809     }
810   }
811   void UnsafeArenaSwap(CollectionDef_NodeList* other) {
812     if (other == this) return;
813     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
814     InternalSwap(other);
815   }
816 
817   // implements Message ----------------------------------------------
818 
819   CollectionDef_NodeList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
820     return CreateMaybeMessage<CollectionDef_NodeList>(arena);
821   }
822   CollectionDef_NodeList* New() const {
823     return New(nullptr);
824   }
825   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
826   void CopyFrom(const CollectionDef_NodeList& from);
827   void MergeFrom(const CollectionDef_NodeList& from);
828   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
829   bool IsInitialized() const final;
830 
831   size_t ByteSizeLong() const final;
832   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
833   ::uint8_t* _InternalSerialize(
834       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
835   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
836 
837   private:
838   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
839   void SharedDtor();
840   void SetCachedSize(int size) const;
841   void InternalSwap(CollectionDef_NodeList* other);
842 
843   private:
844   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
845   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
846     return "tensorflow.CollectionDef.NodeList";
847   }
848   protected:
849   explicit CollectionDef_NodeList(::PROTOBUF_NAMESPACE_ID::Arena* arena,
850                        bool is_message_owned = false);
851   public:
852 
853   std::string GetTypeName() const final;
854 
855   // nested types ----------------------------------------------------
856 
857   // accessors -------------------------------------------------------
858 
859   enum : int {
860     kValueFieldNumber = 1,
861   };
862   // repeated string value = 1;
863   int value_size() const;
864   private:
865   int _internal_value_size() const;
866   public:
867   void clear_value();
868   const std::string& value(int index) const;
869   std::string* mutable_value(int index);
870   void set_value(int index, const std::string& value);
871   void set_value(int index, std::string&& value);
872   void set_value(int index, const char* value);
873   void set_value(int index, const char* value, size_t size);
874   std::string* add_value();
875   void add_value(const std::string& value);
876   void add_value(std::string&& value);
877   void add_value(const char* value);
878   void add_value(const char* value, size_t size);
879   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& value() const;
880   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_value();
881   private:
882   const std::string& _internal_value(int index) const;
883   std::string* _internal_add_value();
884   public:
885 
886   // @@protoc_insertion_point(class_scope:tensorflow.CollectionDef.NodeList)
887  private:
888   class _Internal;
889 
890   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
891   typedef void InternalArenaConstructable_;
892   typedef void DestructorSkippable_;
893   struct Impl_ {
894     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> value_;
895     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
896   };
897   union { Impl_ _impl_; };
898   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
899 };
900 // -------------------------------------------------------------------
901 
902 class CollectionDef_BytesList final :
903     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.CollectionDef.BytesList) */ {
904  public:
CollectionDef_BytesList()905   inline CollectionDef_BytesList() : CollectionDef_BytesList(nullptr) {}
906   ~CollectionDef_BytesList() override;
907   explicit PROTOBUF_CONSTEXPR CollectionDef_BytesList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
908 
909   CollectionDef_BytesList(const CollectionDef_BytesList& from);
CollectionDef_BytesList(CollectionDef_BytesList && from)910   CollectionDef_BytesList(CollectionDef_BytesList&& from) noexcept
911     : CollectionDef_BytesList() {
912     *this = ::std::move(from);
913   }
914 
915   inline CollectionDef_BytesList& operator=(const CollectionDef_BytesList& from) {
916     if (this == &from) return *this;
917     CopyFrom(from);
918     return *this;
919   }
920   inline CollectionDef_BytesList& operator=(CollectionDef_BytesList&& from) noexcept {
921     if (this == &from) return *this;
922     if (GetOwningArena() == from.GetOwningArena()
923   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
924         && GetOwningArena() != nullptr
925   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
926     ) {
927       InternalSwap(&from);
928     } else {
929       CopyFrom(from);
930     }
931     return *this;
932   }
933 
default_instance()934   static const CollectionDef_BytesList& default_instance() {
935     return *internal_default_instance();
936   }
internal_default_instance()937   static inline const CollectionDef_BytesList* internal_default_instance() {
938     return reinterpret_cast<const CollectionDef_BytesList*>(
939                &_CollectionDef_BytesList_default_instance_);
940   }
941   static constexpr int kIndexInFileMessages =
942     6;
943 
swap(CollectionDef_BytesList & a,CollectionDef_BytesList & b)944   friend void swap(CollectionDef_BytesList& a, CollectionDef_BytesList& b) {
945     a.Swap(&b);
946   }
Swap(CollectionDef_BytesList * other)947   inline void Swap(CollectionDef_BytesList* other) {
948     if (other == this) return;
949   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
950     if (GetOwningArena() != nullptr &&
951         GetOwningArena() == other->GetOwningArena()) {
952    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
953     if (GetOwningArena() == other->GetOwningArena()) {
954   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
955       InternalSwap(other);
956     } else {
957       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
958     }
959   }
960   void UnsafeArenaSwap(CollectionDef_BytesList* other) {
961     if (other == this) return;
962     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
963     InternalSwap(other);
964   }
965 
966   // implements Message ----------------------------------------------
967 
968   CollectionDef_BytesList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
969     return CreateMaybeMessage<CollectionDef_BytesList>(arena);
970   }
971   CollectionDef_BytesList* New() const {
972     return New(nullptr);
973   }
974   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
975   void CopyFrom(const CollectionDef_BytesList& from);
976   void MergeFrom(const CollectionDef_BytesList& from);
977   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
978   bool IsInitialized() const final;
979 
980   size_t ByteSizeLong() const final;
981   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
982   ::uint8_t* _InternalSerialize(
983       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
984   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
985 
986   private:
987   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
988   void SharedDtor();
989   void SetCachedSize(int size) const;
990   void InternalSwap(CollectionDef_BytesList* other);
991 
992   private:
993   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
994   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
995     return "tensorflow.CollectionDef.BytesList";
996   }
997   protected:
998   explicit CollectionDef_BytesList(::PROTOBUF_NAMESPACE_ID::Arena* arena,
999                        bool is_message_owned = false);
1000   public:
1001 
1002   std::string GetTypeName() const final;
1003 
1004   // nested types ----------------------------------------------------
1005 
1006   // accessors -------------------------------------------------------
1007 
1008   enum : int {
1009     kValueFieldNumber = 1,
1010   };
1011   // repeated bytes value = 1;
1012   int value_size() const;
1013   private:
1014   int _internal_value_size() const;
1015   public:
1016   void clear_value();
1017   const std::string& value(int index) const;
1018   std::string* mutable_value(int index);
1019   void set_value(int index, const std::string& value);
1020   void set_value(int index, std::string&& value);
1021   void set_value(int index, const char* value);
1022   void set_value(int index, const void* value, size_t size);
1023   std::string* add_value();
1024   void add_value(const std::string& value);
1025   void add_value(std::string&& value);
1026   void add_value(const char* value);
1027   void add_value(const void* value, size_t size);
1028   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& value() const;
1029   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_value();
1030   private:
1031   const std::string& _internal_value(int index) const;
1032   std::string* _internal_add_value();
1033   public:
1034 
1035   // @@protoc_insertion_point(class_scope:tensorflow.CollectionDef.BytesList)
1036  private:
1037   class _Internal;
1038 
1039   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1040   typedef void InternalArenaConstructable_;
1041   typedef void DestructorSkippable_;
1042   struct Impl_ {
1043     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> value_;
1044     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1045   };
1046   union { Impl_ _impl_; };
1047   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
1048 };
1049 // -------------------------------------------------------------------
1050 
1051 class CollectionDef_Int64List final :
1052     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.CollectionDef.Int64List) */ {
1053  public:
CollectionDef_Int64List()1054   inline CollectionDef_Int64List() : CollectionDef_Int64List(nullptr) {}
1055   ~CollectionDef_Int64List() override;
1056   explicit PROTOBUF_CONSTEXPR CollectionDef_Int64List(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1057 
1058   CollectionDef_Int64List(const CollectionDef_Int64List& from);
CollectionDef_Int64List(CollectionDef_Int64List && from)1059   CollectionDef_Int64List(CollectionDef_Int64List&& from) noexcept
1060     : CollectionDef_Int64List() {
1061     *this = ::std::move(from);
1062   }
1063 
1064   inline CollectionDef_Int64List& operator=(const CollectionDef_Int64List& from) {
1065     if (this == &from) return *this;
1066     CopyFrom(from);
1067     return *this;
1068   }
1069   inline CollectionDef_Int64List& operator=(CollectionDef_Int64List&& from) noexcept {
1070     if (this == &from) return *this;
1071     if (GetOwningArena() == from.GetOwningArena()
1072   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1073         && GetOwningArena() != nullptr
1074   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1075     ) {
1076       InternalSwap(&from);
1077     } else {
1078       CopyFrom(from);
1079     }
1080     return *this;
1081   }
1082 
default_instance()1083   static const CollectionDef_Int64List& default_instance() {
1084     return *internal_default_instance();
1085   }
internal_default_instance()1086   static inline const CollectionDef_Int64List* internal_default_instance() {
1087     return reinterpret_cast<const CollectionDef_Int64List*>(
1088                &_CollectionDef_Int64List_default_instance_);
1089   }
1090   static constexpr int kIndexInFileMessages =
1091     7;
1092 
swap(CollectionDef_Int64List & a,CollectionDef_Int64List & b)1093   friend void swap(CollectionDef_Int64List& a, CollectionDef_Int64List& b) {
1094     a.Swap(&b);
1095   }
Swap(CollectionDef_Int64List * other)1096   inline void Swap(CollectionDef_Int64List* other) {
1097     if (other == this) return;
1098   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1099     if (GetOwningArena() != nullptr &&
1100         GetOwningArena() == other->GetOwningArena()) {
1101    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1102     if (GetOwningArena() == other->GetOwningArena()) {
1103   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1104       InternalSwap(other);
1105     } else {
1106       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1107     }
1108   }
1109   void UnsafeArenaSwap(CollectionDef_Int64List* other) {
1110     if (other == this) return;
1111     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1112     InternalSwap(other);
1113   }
1114 
1115   // implements Message ----------------------------------------------
1116 
1117   CollectionDef_Int64List* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1118     return CreateMaybeMessage<CollectionDef_Int64List>(arena);
1119   }
1120   CollectionDef_Int64List* New() const {
1121     return New(nullptr);
1122   }
1123   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1124   void CopyFrom(const CollectionDef_Int64List& from);
1125   void MergeFrom(const CollectionDef_Int64List& from);
1126   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1127   bool IsInitialized() const final;
1128 
1129   size_t ByteSizeLong() const final;
1130   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1131   ::uint8_t* _InternalSerialize(
1132       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1133   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1134 
1135   private:
1136   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1137   void SharedDtor();
1138   void SetCachedSize(int size) const;
1139   void InternalSwap(CollectionDef_Int64List* other);
1140 
1141   private:
1142   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1143   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1144     return "tensorflow.CollectionDef.Int64List";
1145   }
1146   protected:
1147   explicit CollectionDef_Int64List(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1148                        bool is_message_owned = false);
1149   public:
1150 
1151   std::string GetTypeName() const final;
1152 
1153   // nested types ----------------------------------------------------
1154 
1155   // accessors -------------------------------------------------------
1156 
1157   enum : int {
1158     kValueFieldNumber = 1,
1159   };
1160   // repeated int64 value = 1 [packed = true];
1161   int value_size() const;
1162   private:
1163   int _internal_value_size() const;
1164   public:
1165   void clear_value();
1166   private:
1167   ::int64_t _internal_value(int index) const;
1168   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >&
1169       _internal_value() const;
1170   void _internal_add_value(::int64_t value);
1171   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >*
1172       _internal_mutable_value();
1173   public:
1174   ::int64_t value(int index) const;
1175   void set_value(int index, ::int64_t value);
1176   void add_value(::int64_t value);
1177   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >&
1178       value() const;
1179   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >*
1180       mutable_value();
1181 
1182   // @@protoc_insertion_point(class_scope:tensorflow.CollectionDef.Int64List)
1183  private:
1184   class _Internal;
1185 
1186   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1187   typedef void InternalArenaConstructable_;
1188   typedef void DestructorSkippable_;
1189   struct Impl_ {
1190     ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t > value_;
1191     mutable std::atomic<int> _value_cached_byte_size_;
1192     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1193   };
1194   union { Impl_ _impl_; };
1195   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
1196 };
1197 // -------------------------------------------------------------------
1198 
1199 class CollectionDef_FloatList final :
1200     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.CollectionDef.FloatList) */ {
1201  public:
CollectionDef_FloatList()1202   inline CollectionDef_FloatList() : CollectionDef_FloatList(nullptr) {}
1203   ~CollectionDef_FloatList() override;
1204   explicit PROTOBUF_CONSTEXPR CollectionDef_FloatList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1205 
1206   CollectionDef_FloatList(const CollectionDef_FloatList& from);
CollectionDef_FloatList(CollectionDef_FloatList && from)1207   CollectionDef_FloatList(CollectionDef_FloatList&& from) noexcept
1208     : CollectionDef_FloatList() {
1209     *this = ::std::move(from);
1210   }
1211 
1212   inline CollectionDef_FloatList& operator=(const CollectionDef_FloatList& from) {
1213     if (this == &from) return *this;
1214     CopyFrom(from);
1215     return *this;
1216   }
1217   inline CollectionDef_FloatList& operator=(CollectionDef_FloatList&& from) noexcept {
1218     if (this == &from) return *this;
1219     if (GetOwningArena() == from.GetOwningArena()
1220   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1221         && GetOwningArena() != nullptr
1222   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1223     ) {
1224       InternalSwap(&from);
1225     } else {
1226       CopyFrom(from);
1227     }
1228     return *this;
1229   }
1230 
default_instance()1231   static const CollectionDef_FloatList& default_instance() {
1232     return *internal_default_instance();
1233   }
internal_default_instance()1234   static inline const CollectionDef_FloatList* internal_default_instance() {
1235     return reinterpret_cast<const CollectionDef_FloatList*>(
1236                &_CollectionDef_FloatList_default_instance_);
1237   }
1238   static constexpr int kIndexInFileMessages =
1239     8;
1240 
swap(CollectionDef_FloatList & a,CollectionDef_FloatList & b)1241   friend void swap(CollectionDef_FloatList& a, CollectionDef_FloatList& b) {
1242     a.Swap(&b);
1243   }
Swap(CollectionDef_FloatList * other)1244   inline void Swap(CollectionDef_FloatList* other) {
1245     if (other == this) return;
1246   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1247     if (GetOwningArena() != nullptr &&
1248         GetOwningArena() == other->GetOwningArena()) {
1249    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1250     if (GetOwningArena() == other->GetOwningArena()) {
1251   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1252       InternalSwap(other);
1253     } else {
1254       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1255     }
1256   }
1257   void UnsafeArenaSwap(CollectionDef_FloatList* other) {
1258     if (other == this) return;
1259     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1260     InternalSwap(other);
1261   }
1262 
1263   // implements Message ----------------------------------------------
1264 
1265   CollectionDef_FloatList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1266     return CreateMaybeMessage<CollectionDef_FloatList>(arena);
1267   }
1268   CollectionDef_FloatList* New() const {
1269     return New(nullptr);
1270   }
1271   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1272   void CopyFrom(const CollectionDef_FloatList& from);
1273   void MergeFrom(const CollectionDef_FloatList& from);
1274   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1275   bool IsInitialized() const final;
1276 
1277   size_t ByteSizeLong() const final;
1278   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1279   ::uint8_t* _InternalSerialize(
1280       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1281   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1282 
1283   private:
1284   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1285   void SharedDtor();
1286   void SetCachedSize(int size) const;
1287   void InternalSwap(CollectionDef_FloatList* other);
1288 
1289   private:
1290   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1291   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1292     return "tensorflow.CollectionDef.FloatList";
1293   }
1294   protected:
1295   explicit CollectionDef_FloatList(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1296                        bool is_message_owned = false);
1297   public:
1298 
1299   std::string GetTypeName() const final;
1300 
1301   // nested types ----------------------------------------------------
1302 
1303   // accessors -------------------------------------------------------
1304 
1305   enum : int {
1306     kValueFieldNumber = 1,
1307   };
1308   // repeated float value = 1 [packed = true];
1309   int value_size() const;
1310   private:
1311   int _internal_value_size() const;
1312   public:
1313   void clear_value();
1314   private:
1315   float _internal_value(int index) const;
1316   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
1317       _internal_value() const;
1318   void _internal_add_value(float value);
1319   ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
1320       _internal_mutable_value();
1321   public:
1322   float value(int index) const;
1323   void set_value(int index, float value);
1324   void add_value(float value);
1325   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
1326       value() const;
1327   ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
1328       mutable_value();
1329 
1330   // @@protoc_insertion_point(class_scope:tensorflow.CollectionDef.FloatList)
1331  private:
1332   class _Internal;
1333 
1334   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1335   typedef void InternalArenaConstructable_;
1336   typedef void DestructorSkippable_;
1337   struct Impl_ {
1338     ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > value_;
1339     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1340   };
1341   union { Impl_ _impl_; };
1342   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
1343 };
1344 // -------------------------------------------------------------------
1345 
1346 class CollectionDef_AnyList final :
1347     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.CollectionDef.AnyList) */ {
1348  public:
CollectionDef_AnyList()1349   inline CollectionDef_AnyList() : CollectionDef_AnyList(nullptr) {}
1350   ~CollectionDef_AnyList() override;
1351   explicit PROTOBUF_CONSTEXPR CollectionDef_AnyList(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1352 
1353   CollectionDef_AnyList(const CollectionDef_AnyList& from);
CollectionDef_AnyList(CollectionDef_AnyList && from)1354   CollectionDef_AnyList(CollectionDef_AnyList&& from) noexcept
1355     : CollectionDef_AnyList() {
1356     *this = ::std::move(from);
1357   }
1358 
1359   inline CollectionDef_AnyList& operator=(const CollectionDef_AnyList& from) {
1360     if (this == &from) return *this;
1361     CopyFrom(from);
1362     return *this;
1363   }
1364   inline CollectionDef_AnyList& operator=(CollectionDef_AnyList&& from) noexcept {
1365     if (this == &from) return *this;
1366     if (GetOwningArena() == from.GetOwningArena()
1367   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1368         && GetOwningArena() != nullptr
1369   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1370     ) {
1371       InternalSwap(&from);
1372     } else {
1373       CopyFrom(from);
1374     }
1375     return *this;
1376   }
1377 
default_instance()1378   static const CollectionDef_AnyList& default_instance() {
1379     return *internal_default_instance();
1380   }
internal_default_instance()1381   static inline const CollectionDef_AnyList* internal_default_instance() {
1382     return reinterpret_cast<const CollectionDef_AnyList*>(
1383                &_CollectionDef_AnyList_default_instance_);
1384   }
1385   static constexpr int kIndexInFileMessages =
1386     9;
1387 
swap(CollectionDef_AnyList & a,CollectionDef_AnyList & b)1388   friend void swap(CollectionDef_AnyList& a, CollectionDef_AnyList& b) {
1389     a.Swap(&b);
1390   }
Swap(CollectionDef_AnyList * other)1391   inline void Swap(CollectionDef_AnyList* other) {
1392     if (other == this) return;
1393   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1394     if (GetOwningArena() != nullptr &&
1395         GetOwningArena() == other->GetOwningArena()) {
1396    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1397     if (GetOwningArena() == other->GetOwningArena()) {
1398   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1399       InternalSwap(other);
1400     } else {
1401       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1402     }
1403   }
1404   void UnsafeArenaSwap(CollectionDef_AnyList* other) {
1405     if (other == this) return;
1406     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1407     InternalSwap(other);
1408   }
1409 
1410   // implements Message ----------------------------------------------
1411 
1412   CollectionDef_AnyList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1413     return CreateMaybeMessage<CollectionDef_AnyList>(arena);
1414   }
1415   CollectionDef_AnyList* New() const {
1416     return New(nullptr);
1417   }
1418   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1419   void CopyFrom(const CollectionDef_AnyList& from);
1420   void MergeFrom(const CollectionDef_AnyList& from);
1421   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1422   bool IsInitialized() const final;
1423 
1424   size_t ByteSizeLong() const final;
1425   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1426   ::uint8_t* _InternalSerialize(
1427       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1428   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1429 
1430   private:
1431   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1432   void SharedDtor();
1433   void SetCachedSize(int size) const;
1434   void InternalSwap(CollectionDef_AnyList* other);
1435 
1436   private:
1437   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1438   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1439     return "tensorflow.CollectionDef.AnyList";
1440   }
1441   protected:
1442   explicit CollectionDef_AnyList(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1443                        bool is_message_owned = false);
1444   public:
1445 
1446   std::string GetTypeName() const final;
1447 
1448   // nested types ----------------------------------------------------
1449 
1450   // accessors -------------------------------------------------------
1451 
1452   enum : int {
1453     kValueFieldNumber = 1,
1454   };
1455   // repeated .google.protobuf.Any value = 1;
1456   int value_size() const;
1457   private:
1458   int _internal_value_size() const;
1459   public:
1460   void clear_value();
1461   ::PROTOBUF_NAMESPACE_ID::Any* mutable_value(int index);
1462   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >*
1463       mutable_value();
1464   private:
1465   const ::PROTOBUF_NAMESPACE_ID::Any& _internal_value(int index) const;
1466   ::PROTOBUF_NAMESPACE_ID::Any* _internal_add_value();
1467   public:
1468   const ::PROTOBUF_NAMESPACE_ID::Any& value(int index) const;
1469   ::PROTOBUF_NAMESPACE_ID::Any* add_value();
1470   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >&
1471       value() const;
1472 
1473   // @@protoc_insertion_point(class_scope:tensorflow.CollectionDef.AnyList)
1474  private:
1475   class _Internal;
1476 
1477   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1478   typedef void InternalArenaConstructable_;
1479   typedef void DestructorSkippable_;
1480   struct Impl_ {
1481     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any > value_;
1482     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1483   };
1484   union { Impl_ _impl_; };
1485   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
1486 };
1487 // -------------------------------------------------------------------
1488 
1489 class CollectionDef final :
1490     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.CollectionDef) */ {
1491  public:
CollectionDef()1492   inline CollectionDef() : CollectionDef(nullptr) {}
1493   ~CollectionDef() override;
1494   explicit PROTOBUF_CONSTEXPR CollectionDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1495 
1496   CollectionDef(const CollectionDef& from);
CollectionDef(CollectionDef && from)1497   CollectionDef(CollectionDef&& from) noexcept
1498     : CollectionDef() {
1499     *this = ::std::move(from);
1500   }
1501 
1502   inline CollectionDef& operator=(const CollectionDef& from) {
1503     if (this == &from) return *this;
1504     CopyFrom(from);
1505     return *this;
1506   }
1507   inline CollectionDef& operator=(CollectionDef&& from) noexcept {
1508     if (this == &from) return *this;
1509     if (GetOwningArena() == from.GetOwningArena()
1510   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1511         && GetOwningArena() != nullptr
1512   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1513     ) {
1514       InternalSwap(&from);
1515     } else {
1516       CopyFrom(from);
1517     }
1518     return *this;
1519   }
1520 
default_instance()1521   static const CollectionDef& default_instance() {
1522     return *internal_default_instance();
1523   }
1524   enum KindCase {
1525     kNodeList = 1,
1526     kBytesList = 2,
1527     kInt64List = 3,
1528     kFloatList = 4,
1529     kAnyList = 5,
1530     KIND_NOT_SET = 0,
1531   };
1532 
internal_default_instance()1533   static inline const CollectionDef* internal_default_instance() {
1534     return reinterpret_cast<const CollectionDef*>(
1535                &_CollectionDef_default_instance_);
1536   }
1537   static constexpr int kIndexInFileMessages =
1538     10;
1539 
swap(CollectionDef & a,CollectionDef & b)1540   friend void swap(CollectionDef& a, CollectionDef& b) {
1541     a.Swap(&b);
1542   }
Swap(CollectionDef * other)1543   inline void Swap(CollectionDef* other) {
1544     if (other == this) return;
1545   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1546     if (GetOwningArena() != nullptr &&
1547         GetOwningArena() == other->GetOwningArena()) {
1548    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1549     if (GetOwningArena() == other->GetOwningArena()) {
1550   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1551       InternalSwap(other);
1552     } else {
1553       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1554     }
1555   }
1556   void UnsafeArenaSwap(CollectionDef* other) {
1557     if (other == this) return;
1558     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1559     InternalSwap(other);
1560   }
1561 
1562   // implements Message ----------------------------------------------
1563 
1564   CollectionDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1565     return CreateMaybeMessage<CollectionDef>(arena);
1566   }
1567   CollectionDef* New() const {
1568     return New(nullptr);
1569   }
1570   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1571   void CopyFrom(const CollectionDef& from);
1572   void MergeFrom(const CollectionDef& from);
1573   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1574   bool IsInitialized() const final;
1575 
1576   size_t ByteSizeLong() const final;
1577   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1578   ::uint8_t* _InternalSerialize(
1579       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1580   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1581 
1582   private:
1583   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1584   void SharedDtor();
1585   void SetCachedSize(int size) const;
1586   void InternalSwap(CollectionDef* other);
1587 
1588   private:
1589   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1590   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1591     return "tensorflow.CollectionDef";
1592   }
1593   protected:
1594   explicit CollectionDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1595                        bool is_message_owned = false);
1596   public:
1597 
1598   std::string GetTypeName() const final;
1599 
1600   // nested types ----------------------------------------------------
1601 
1602   typedef CollectionDef_NodeList NodeList;
1603   typedef CollectionDef_BytesList BytesList;
1604   typedef CollectionDef_Int64List Int64List;
1605   typedef CollectionDef_FloatList FloatList;
1606   typedef CollectionDef_AnyList AnyList;
1607 
1608   // accessors -------------------------------------------------------
1609 
1610   enum : int {
1611     kNodeListFieldNumber = 1,
1612     kBytesListFieldNumber = 2,
1613     kInt64ListFieldNumber = 3,
1614     kFloatListFieldNumber = 4,
1615     kAnyListFieldNumber = 5,
1616   };
1617   // .tensorflow.CollectionDef.NodeList node_list = 1;
1618   bool has_node_list() const;
1619   private:
1620   bool _internal_has_node_list() const;
1621   public:
1622   void clear_node_list();
1623   const ::tensorflow::CollectionDef_NodeList& node_list() const;
1624   PROTOBUF_NODISCARD ::tensorflow::CollectionDef_NodeList* release_node_list();
1625   ::tensorflow::CollectionDef_NodeList* mutable_node_list();
1626   void set_allocated_node_list(::tensorflow::CollectionDef_NodeList* node_list);
1627   private:
1628   const ::tensorflow::CollectionDef_NodeList& _internal_node_list() const;
1629   ::tensorflow::CollectionDef_NodeList* _internal_mutable_node_list();
1630   public:
1631   void unsafe_arena_set_allocated_node_list(
1632       ::tensorflow::CollectionDef_NodeList* node_list);
1633   ::tensorflow::CollectionDef_NodeList* unsafe_arena_release_node_list();
1634 
1635   // .tensorflow.CollectionDef.BytesList bytes_list = 2;
1636   bool has_bytes_list() const;
1637   private:
1638   bool _internal_has_bytes_list() const;
1639   public:
1640   void clear_bytes_list();
1641   const ::tensorflow::CollectionDef_BytesList& bytes_list() const;
1642   PROTOBUF_NODISCARD ::tensorflow::CollectionDef_BytesList* release_bytes_list();
1643   ::tensorflow::CollectionDef_BytesList* mutable_bytes_list();
1644   void set_allocated_bytes_list(::tensorflow::CollectionDef_BytesList* bytes_list);
1645   private:
1646   const ::tensorflow::CollectionDef_BytesList& _internal_bytes_list() const;
1647   ::tensorflow::CollectionDef_BytesList* _internal_mutable_bytes_list();
1648   public:
1649   void unsafe_arena_set_allocated_bytes_list(
1650       ::tensorflow::CollectionDef_BytesList* bytes_list);
1651   ::tensorflow::CollectionDef_BytesList* unsafe_arena_release_bytes_list();
1652 
1653   // .tensorflow.CollectionDef.Int64List int64_list = 3;
1654   bool has_int64_list() const;
1655   private:
1656   bool _internal_has_int64_list() const;
1657   public:
1658   void clear_int64_list();
1659   const ::tensorflow::CollectionDef_Int64List& int64_list() const;
1660   PROTOBUF_NODISCARD ::tensorflow::CollectionDef_Int64List* release_int64_list();
1661   ::tensorflow::CollectionDef_Int64List* mutable_int64_list();
1662   void set_allocated_int64_list(::tensorflow::CollectionDef_Int64List* int64_list);
1663   private:
1664   const ::tensorflow::CollectionDef_Int64List& _internal_int64_list() const;
1665   ::tensorflow::CollectionDef_Int64List* _internal_mutable_int64_list();
1666   public:
1667   void unsafe_arena_set_allocated_int64_list(
1668       ::tensorflow::CollectionDef_Int64List* int64_list);
1669   ::tensorflow::CollectionDef_Int64List* unsafe_arena_release_int64_list();
1670 
1671   // .tensorflow.CollectionDef.FloatList float_list = 4;
1672   bool has_float_list() const;
1673   private:
1674   bool _internal_has_float_list() const;
1675   public:
1676   void clear_float_list();
1677   const ::tensorflow::CollectionDef_FloatList& float_list() const;
1678   PROTOBUF_NODISCARD ::tensorflow::CollectionDef_FloatList* release_float_list();
1679   ::tensorflow::CollectionDef_FloatList* mutable_float_list();
1680   void set_allocated_float_list(::tensorflow::CollectionDef_FloatList* float_list);
1681   private:
1682   const ::tensorflow::CollectionDef_FloatList& _internal_float_list() const;
1683   ::tensorflow::CollectionDef_FloatList* _internal_mutable_float_list();
1684   public:
1685   void unsafe_arena_set_allocated_float_list(
1686       ::tensorflow::CollectionDef_FloatList* float_list);
1687   ::tensorflow::CollectionDef_FloatList* unsafe_arena_release_float_list();
1688 
1689   // .tensorflow.CollectionDef.AnyList any_list = 5;
1690   bool has_any_list() const;
1691   private:
1692   bool _internal_has_any_list() const;
1693   public:
1694   void clear_any_list();
1695   const ::tensorflow::CollectionDef_AnyList& any_list() const;
1696   PROTOBUF_NODISCARD ::tensorflow::CollectionDef_AnyList* release_any_list();
1697   ::tensorflow::CollectionDef_AnyList* mutable_any_list();
1698   void set_allocated_any_list(::tensorflow::CollectionDef_AnyList* any_list);
1699   private:
1700   const ::tensorflow::CollectionDef_AnyList& _internal_any_list() const;
1701   ::tensorflow::CollectionDef_AnyList* _internal_mutable_any_list();
1702   public:
1703   void unsafe_arena_set_allocated_any_list(
1704       ::tensorflow::CollectionDef_AnyList* any_list);
1705   ::tensorflow::CollectionDef_AnyList* unsafe_arena_release_any_list();
1706 
1707   void clear_kind();
1708   KindCase kind_case() const;
1709   // @@protoc_insertion_point(class_scope:tensorflow.CollectionDef)
1710  private:
1711   class _Internal;
1712   void set_has_node_list();
1713   void set_has_bytes_list();
1714   void set_has_int64_list();
1715   void set_has_float_list();
1716   void set_has_any_list();
1717 
1718   inline bool has_kind() const;
1719   inline void clear_has_kind();
1720 
1721   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1722   typedef void InternalArenaConstructable_;
1723   typedef void DestructorSkippable_;
1724   struct Impl_ {
1725     union KindUnion {
1726       constexpr KindUnion() : _constinit_{} {}
1727         ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
1728       ::tensorflow::CollectionDef_NodeList* node_list_;
1729       ::tensorflow::CollectionDef_BytesList* bytes_list_;
1730       ::tensorflow::CollectionDef_Int64List* int64_list_;
1731       ::tensorflow::CollectionDef_FloatList* float_list_;
1732       ::tensorflow::CollectionDef_AnyList* any_list_;
1733     } kind_;
1734     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1735     ::uint32_t _oneof_case_[1];
1736 
1737   };
1738   union { Impl_ _impl_; };
1739   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
1740 };
1741 // -------------------------------------------------------------------
1742 
1743 class TensorInfo_CooSparse final :
1744     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.TensorInfo.CooSparse) */ {
1745  public:
TensorInfo_CooSparse()1746   inline TensorInfo_CooSparse() : TensorInfo_CooSparse(nullptr) {}
1747   ~TensorInfo_CooSparse() override;
1748   explicit PROTOBUF_CONSTEXPR TensorInfo_CooSparse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1749 
1750   TensorInfo_CooSparse(const TensorInfo_CooSparse& from);
TensorInfo_CooSparse(TensorInfo_CooSparse && from)1751   TensorInfo_CooSparse(TensorInfo_CooSparse&& from) noexcept
1752     : TensorInfo_CooSparse() {
1753     *this = ::std::move(from);
1754   }
1755 
1756   inline TensorInfo_CooSparse& operator=(const TensorInfo_CooSparse& from) {
1757     if (this == &from) return *this;
1758     CopyFrom(from);
1759     return *this;
1760   }
1761   inline TensorInfo_CooSparse& operator=(TensorInfo_CooSparse&& from) noexcept {
1762     if (this == &from) return *this;
1763     if (GetOwningArena() == from.GetOwningArena()
1764   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1765         && GetOwningArena() != nullptr
1766   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1767     ) {
1768       InternalSwap(&from);
1769     } else {
1770       CopyFrom(from);
1771     }
1772     return *this;
1773   }
1774 
default_instance()1775   static const TensorInfo_CooSparse& default_instance() {
1776     return *internal_default_instance();
1777   }
internal_default_instance()1778   static inline const TensorInfo_CooSparse* internal_default_instance() {
1779     return reinterpret_cast<const TensorInfo_CooSparse*>(
1780                &_TensorInfo_CooSparse_default_instance_);
1781   }
1782   static constexpr int kIndexInFileMessages =
1783     11;
1784 
swap(TensorInfo_CooSparse & a,TensorInfo_CooSparse & b)1785   friend void swap(TensorInfo_CooSparse& a, TensorInfo_CooSparse& b) {
1786     a.Swap(&b);
1787   }
Swap(TensorInfo_CooSparse * other)1788   inline void Swap(TensorInfo_CooSparse* other) {
1789     if (other == this) return;
1790   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1791     if (GetOwningArena() != nullptr &&
1792         GetOwningArena() == other->GetOwningArena()) {
1793    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1794     if (GetOwningArena() == other->GetOwningArena()) {
1795   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1796       InternalSwap(other);
1797     } else {
1798       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1799     }
1800   }
1801   void UnsafeArenaSwap(TensorInfo_CooSparse* other) {
1802     if (other == this) return;
1803     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1804     InternalSwap(other);
1805   }
1806 
1807   // implements Message ----------------------------------------------
1808 
1809   TensorInfo_CooSparse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1810     return CreateMaybeMessage<TensorInfo_CooSparse>(arena);
1811   }
1812   TensorInfo_CooSparse* New() const {
1813     return New(nullptr);
1814   }
1815   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1816   void CopyFrom(const TensorInfo_CooSparse& from);
1817   void MergeFrom(const TensorInfo_CooSparse& from);
1818   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1819   bool IsInitialized() const final;
1820 
1821   size_t ByteSizeLong() const final;
1822   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1823   ::uint8_t* _InternalSerialize(
1824       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1825   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1826 
1827   private:
1828   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1829   void SharedDtor();
1830   void SetCachedSize(int size) const;
1831   void InternalSwap(TensorInfo_CooSparse* other);
1832 
1833   private:
1834   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1835   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1836     return "tensorflow.TensorInfo.CooSparse";
1837   }
1838   protected:
1839   explicit TensorInfo_CooSparse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1840                        bool is_message_owned = false);
1841   public:
1842 
1843   std::string GetTypeName() const final;
1844 
1845   // nested types ----------------------------------------------------
1846 
1847   // accessors -------------------------------------------------------
1848 
1849   enum : int {
1850     kValuesTensorNameFieldNumber = 1,
1851     kIndicesTensorNameFieldNumber = 2,
1852     kDenseShapeTensorNameFieldNumber = 3,
1853   };
1854   // string values_tensor_name = 1;
1855   void clear_values_tensor_name();
1856   const std::string& values_tensor_name() const;
1857   template <typename ArgT0 = const std::string&, typename... ArgT>
1858   void set_values_tensor_name(ArgT0&& arg0, ArgT... args);
1859   std::string* mutable_values_tensor_name();
1860   PROTOBUF_NODISCARD std::string* release_values_tensor_name();
1861   void set_allocated_values_tensor_name(std::string* values_tensor_name);
1862   private:
1863   const std::string& _internal_values_tensor_name() const;
1864   inline PROTOBUF_ALWAYS_INLINE void _internal_set_values_tensor_name(const std::string& value);
1865   std::string* _internal_mutable_values_tensor_name();
1866   public:
1867 
1868   // string indices_tensor_name = 2;
1869   void clear_indices_tensor_name();
1870   const std::string& indices_tensor_name() const;
1871   template <typename ArgT0 = const std::string&, typename... ArgT>
1872   void set_indices_tensor_name(ArgT0&& arg0, ArgT... args);
1873   std::string* mutable_indices_tensor_name();
1874   PROTOBUF_NODISCARD std::string* release_indices_tensor_name();
1875   void set_allocated_indices_tensor_name(std::string* indices_tensor_name);
1876   private:
1877   const std::string& _internal_indices_tensor_name() const;
1878   inline PROTOBUF_ALWAYS_INLINE void _internal_set_indices_tensor_name(const std::string& value);
1879   std::string* _internal_mutable_indices_tensor_name();
1880   public:
1881 
1882   // string dense_shape_tensor_name = 3;
1883   void clear_dense_shape_tensor_name();
1884   const std::string& dense_shape_tensor_name() const;
1885   template <typename ArgT0 = const std::string&, typename... ArgT>
1886   void set_dense_shape_tensor_name(ArgT0&& arg0, ArgT... args);
1887   std::string* mutable_dense_shape_tensor_name();
1888   PROTOBUF_NODISCARD std::string* release_dense_shape_tensor_name();
1889   void set_allocated_dense_shape_tensor_name(std::string* dense_shape_tensor_name);
1890   private:
1891   const std::string& _internal_dense_shape_tensor_name() const;
1892   inline PROTOBUF_ALWAYS_INLINE void _internal_set_dense_shape_tensor_name(const std::string& value);
1893   std::string* _internal_mutable_dense_shape_tensor_name();
1894   public:
1895 
1896   // @@protoc_insertion_point(class_scope:tensorflow.TensorInfo.CooSparse)
1897  private:
1898   class _Internal;
1899 
1900   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1901   typedef void InternalArenaConstructable_;
1902   typedef void DestructorSkippable_;
1903   struct Impl_ {
1904     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr values_tensor_name_;
1905     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr indices_tensor_name_;
1906     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr dense_shape_tensor_name_;
1907     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1908   };
1909   union { Impl_ _impl_; };
1910   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
1911 };
1912 // -------------------------------------------------------------------
1913 
1914 class TensorInfo_CompositeTensor final :
1915     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.TensorInfo.CompositeTensor) */ {
1916  public:
TensorInfo_CompositeTensor()1917   inline TensorInfo_CompositeTensor() : TensorInfo_CompositeTensor(nullptr) {}
1918   ~TensorInfo_CompositeTensor() override;
1919   explicit PROTOBUF_CONSTEXPR TensorInfo_CompositeTensor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1920 
1921   TensorInfo_CompositeTensor(const TensorInfo_CompositeTensor& from);
TensorInfo_CompositeTensor(TensorInfo_CompositeTensor && from)1922   TensorInfo_CompositeTensor(TensorInfo_CompositeTensor&& from) noexcept
1923     : TensorInfo_CompositeTensor() {
1924     *this = ::std::move(from);
1925   }
1926 
1927   inline TensorInfo_CompositeTensor& operator=(const TensorInfo_CompositeTensor& from) {
1928     if (this == &from) return *this;
1929     CopyFrom(from);
1930     return *this;
1931   }
1932   inline TensorInfo_CompositeTensor& operator=(TensorInfo_CompositeTensor&& from) noexcept {
1933     if (this == &from) return *this;
1934     if (GetOwningArena() == from.GetOwningArena()
1935   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1936         && GetOwningArena() != nullptr
1937   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1938     ) {
1939       InternalSwap(&from);
1940     } else {
1941       CopyFrom(from);
1942     }
1943     return *this;
1944   }
1945 
default_instance()1946   static const TensorInfo_CompositeTensor& default_instance() {
1947     return *internal_default_instance();
1948   }
internal_default_instance()1949   static inline const TensorInfo_CompositeTensor* internal_default_instance() {
1950     return reinterpret_cast<const TensorInfo_CompositeTensor*>(
1951                &_TensorInfo_CompositeTensor_default_instance_);
1952   }
1953   static constexpr int kIndexInFileMessages =
1954     12;
1955 
swap(TensorInfo_CompositeTensor & a,TensorInfo_CompositeTensor & b)1956   friend void swap(TensorInfo_CompositeTensor& a, TensorInfo_CompositeTensor& b) {
1957     a.Swap(&b);
1958   }
Swap(TensorInfo_CompositeTensor * other)1959   inline void Swap(TensorInfo_CompositeTensor* other) {
1960     if (other == this) return;
1961   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1962     if (GetOwningArena() != nullptr &&
1963         GetOwningArena() == other->GetOwningArena()) {
1964    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1965     if (GetOwningArena() == other->GetOwningArena()) {
1966   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1967       InternalSwap(other);
1968     } else {
1969       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1970     }
1971   }
1972   void UnsafeArenaSwap(TensorInfo_CompositeTensor* other) {
1973     if (other == this) return;
1974     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1975     InternalSwap(other);
1976   }
1977 
1978   // implements Message ----------------------------------------------
1979 
1980   TensorInfo_CompositeTensor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1981     return CreateMaybeMessage<TensorInfo_CompositeTensor>(arena);
1982   }
1983   TensorInfo_CompositeTensor* New() const {
1984     return New(nullptr);
1985   }
1986   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1987   void CopyFrom(const TensorInfo_CompositeTensor& from);
1988   void MergeFrom(const TensorInfo_CompositeTensor& from);
1989   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1990   bool IsInitialized() const final;
1991 
1992   size_t ByteSizeLong() const final;
1993   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1994   ::uint8_t* _InternalSerialize(
1995       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1996   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1997 
1998   private:
1999   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2000   void SharedDtor();
2001   void SetCachedSize(int size) const;
2002   void InternalSwap(TensorInfo_CompositeTensor* other);
2003 
2004   private:
2005   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2006   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2007     return "tensorflow.TensorInfo.CompositeTensor";
2008   }
2009   protected:
2010   explicit TensorInfo_CompositeTensor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2011                        bool is_message_owned = false);
2012   public:
2013 
2014   std::string GetTypeName() const final;
2015 
2016   // nested types ----------------------------------------------------
2017 
2018   // accessors -------------------------------------------------------
2019 
2020   enum : int {
2021     kComponentsFieldNumber = 2,
2022     kTypeSpecFieldNumber = 1,
2023   };
2024   // repeated .tensorflow.TensorInfo components = 2;
2025   int components_size() const;
2026   private:
2027   int _internal_components_size() const;
2028   public:
2029   void clear_components();
2030   ::tensorflow::TensorInfo* mutable_components(int index);
2031   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorInfo >*
2032       mutable_components();
2033   private:
2034   const ::tensorflow::TensorInfo& _internal_components(int index) const;
2035   ::tensorflow::TensorInfo* _internal_add_components();
2036   public:
2037   const ::tensorflow::TensorInfo& components(int index) const;
2038   ::tensorflow::TensorInfo* add_components();
2039   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorInfo >&
2040       components() const;
2041 
2042   // .tensorflow.TypeSpecProto type_spec = 1;
2043   bool has_type_spec() const;
2044   private:
2045   bool _internal_has_type_spec() const;
2046   public:
2047   void clear_type_spec();
2048   const ::tensorflow::TypeSpecProto& type_spec() const;
2049   PROTOBUF_NODISCARD ::tensorflow::TypeSpecProto* release_type_spec();
2050   ::tensorflow::TypeSpecProto* mutable_type_spec();
2051   void set_allocated_type_spec(::tensorflow::TypeSpecProto* type_spec);
2052   private:
2053   const ::tensorflow::TypeSpecProto& _internal_type_spec() const;
2054   ::tensorflow::TypeSpecProto* _internal_mutable_type_spec();
2055   public:
2056   void unsafe_arena_set_allocated_type_spec(
2057       ::tensorflow::TypeSpecProto* type_spec);
2058   ::tensorflow::TypeSpecProto* unsafe_arena_release_type_spec();
2059 
2060   // @@protoc_insertion_point(class_scope:tensorflow.TensorInfo.CompositeTensor)
2061  private:
2062   class _Internal;
2063 
2064   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2065   typedef void InternalArenaConstructable_;
2066   typedef void DestructorSkippable_;
2067   struct Impl_ {
2068     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorInfo > components_;
2069     ::tensorflow::TypeSpecProto* type_spec_;
2070     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2071   };
2072   union { Impl_ _impl_; };
2073   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
2074 };
2075 // -------------------------------------------------------------------
2076 
2077 class TensorInfo final :
2078     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.TensorInfo) */ {
2079  public:
TensorInfo()2080   inline TensorInfo() : TensorInfo(nullptr) {}
2081   ~TensorInfo() override;
2082   explicit PROTOBUF_CONSTEXPR TensorInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2083 
2084   TensorInfo(const TensorInfo& from);
TensorInfo(TensorInfo && from)2085   TensorInfo(TensorInfo&& from) noexcept
2086     : TensorInfo() {
2087     *this = ::std::move(from);
2088   }
2089 
2090   inline TensorInfo& operator=(const TensorInfo& from) {
2091     if (this == &from) return *this;
2092     CopyFrom(from);
2093     return *this;
2094   }
2095   inline TensorInfo& operator=(TensorInfo&& from) noexcept {
2096     if (this == &from) return *this;
2097     if (GetOwningArena() == from.GetOwningArena()
2098   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2099         && GetOwningArena() != nullptr
2100   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
2101     ) {
2102       InternalSwap(&from);
2103     } else {
2104       CopyFrom(from);
2105     }
2106     return *this;
2107   }
2108 
default_instance()2109   static const TensorInfo& default_instance() {
2110     return *internal_default_instance();
2111   }
2112   enum EncodingCase {
2113     kName = 1,
2114     kCooSparse = 4,
2115     kCompositeTensor = 5,
2116     ENCODING_NOT_SET = 0,
2117   };
2118 
internal_default_instance()2119   static inline const TensorInfo* internal_default_instance() {
2120     return reinterpret_cast<const TensorInfo*>(
2121                &_TensorInfo_default_instance_);
2122   }
2123   static constexpr int kIndexInFileMessages =
2124     13;
2125 
swap(TensorInfo & a,TensorInfo & b)2126   friend void swap(TensorInfo& a, TensorInfo& b) {
2127     a.Swap(&b);
2128   }
Swap(TensorInfo * other)2129   inline void Swap(TensorInfo* other) {
2130     if (other == this) return;
2131   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2132     if (GetOwningArena() != nullptr &&
2133         GetOwningArena() == other->GetOwningArena()) {
2134    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
2135     if (GetOwningArena() == other->GetOwningArena()) {
2136   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
2137       InternalSwap(other);
2138     } else {
2139       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2140     }
2141   }
2142   void UnsafeArenaSwap(TensorInfo* other) {
2143     if (other == this) return;
2144     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2145     InternalSwap(other);
2146   }
2147 
2148   // implements Message ----------------------------------------------
2149 
2150   TensorInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2151     return CreateMaybeMessage<TensorInfo>(arena);
2152   }
2153   TensorInfo* New() const {
2154     return New(nullptr);
2155   }
2156   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
2157   void CopyFrom(const TensorInfo& from);
2158   void MergeFrom(const TensorInfo& from);
2159   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2160   bool IsInitialized() const final;
2161 
2162   size_t ByteSizeLong() const final;
2163   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2164   ::uint8_t* _InternalSerialize(
2165       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2166   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2167 
2168   private:
2169   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2170   void SharedDtor();
2171   void SetCachedSize(int size) const;
2172   void InternalSwap(TensorInfo* other);
2173 
2174   private:
2175   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2176   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2177     return "tensorflow.TensorInfo";
2178   }
2179   protected:
2180   explicit TensorInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2181                        bool is_message_owned = false);
2182   public:
2183 
2184   std::string GetTypeName() const final;
2185 
2186   // nested types ----------------------------------------------------
2187 
2188   typedef TensorInfo_CooSparse CooSparse;
2189   typedef TensorInfo_CompositeTensor CompositeTensor;
2190 
2191   // accessors -------------------------------------------------------
2192 
2193   enum : int {
2194     kTensorShapeFieldNumber = 3,
2195     kDtypeFieldNumber = 2,
2196     kNameFieldNumber = 1,
2197     kCooSparseFieldNumber = 4,
2198     kCompositeTensorFieldNumber = 5,
2199   };
2200   // .tensorflow.TensorShapeProto tensor_shape = 3;
2201   bool has_tensor_shape() const;
2202   private:
2203   bool _internal_has_tensor_shape() const;
2204   public:
2205   void clear_tensor_shape();
2206   const ::tensorflow::TensorShapeProto& tensor_shape() const;
2207   PROTOBUF_NODISCARD ::tensorflow::TensorShapeProto* release_tensor_shape();
2208   ::tensorflow::TensorShapeProto* mutable_tensor_shape();
2209   void set_allocated_tensor_shape(::tensorflow::TensorShapeProto* tensor_shape);
2210   private:
2211   const ::tensorflow::TensorShapeProto& _internal_tensor_shape() const;
2212   ::tensorflow::TensorShapeProto* _internal_mutable_tensor_shape();
2213   public:
2214   void unsafe_arena_set_allocated_tensor_shape(
2215       ::tensorflow::TensorShapeProto* tensor_shape);
2216   ::tensorflow::TensorShapeProto* unsafe_arena_release_tensor_shape();
2217 
2218   // .tensorflow.DataType dtype = 2;
2219   void clear_dtype();
2220   ::tensorflow::DataType dtype() const;
2221   void set_dtype(::tensorflow::DataType value);
2222   private:
2223   ::tensorflow::DataType _internal_dtype() const;
2224   void _internal_set_dtype(::tensorflow::DataType value);
2225   public:
2226 
2227   // string name = 1;
2228   bool has_name() const;
2229   private:
2230   bool _internal_has_name() const;
2231   public:
2232   void clear_name();
2233   const std::string& name() const;
2234   template <typename ArgT0 = const std::string&, typename... ArgT>
2235   void set_name(ArgT0&& arg0, ArgT... args);
2236   std::string* mutable_name();
2237   PROTOBUF_NODISCARD std::string* release_name();
2238   void set_allocated_name(std::string* name);
2239   private:
2240   const std::string& _internal_name() const;
2241   inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
2242   std::string* _internal_mutable_name();
2243   public:
2244 
2245   // .tensorflow.TensorInfo.CooSparse coo_sparse = 4;
2246   bool has_coo_sparse() const;
2247   private:
2248   bool _internal_has_coo_sparse() const;
2249   public:
2250   void clear_coo_sparse();
2251   const ::tensorflow::TensorInfo_CooSparse& coo_sparse() const;
2252   PROTOBUF_NODISCARD ::tensorflow::TensorInfo_CooSparse* release_coo_sparse();
2253   ::tensorflow::TensorInfo_CooSparse* mutable_coo_sparse();
2254   void set_allocated_coo_sparse(::tensorflow::TensorInfo_CooSparse* coo_sparse);
2255   private:
2256   const ::tensorflow::TensorInfo_CooSparse& _internal_coo_sparse() const;
2257   ::tensorflow::TensorInfo_CooSparse* _internal_mutable_coo_sparse();
2258   public:
2259   void unsafe_arena_set_allocated_coo_sparse(
2260       ::tensorflow::TensorInfo_CooSparse* coo_sparse);
2261   ::tensorflow::TensorInfo_CooSparse* unsafe_arena_release_coo_sparse();
2262 
2263   // .tensorflow.TensorInfo.CompositeTensor composite_tensor = 5;
2264   bool has_composite_tensor() const;
2265   private:
2266   bool _internal_has_composite_tensor() const;
2267   public:
2268   void clear_composite_tensor();
2269   const ::tensorflow::TensorInfo_CompositeTensor& composite_tensor() const;
2270   PROTOBUF_NODISCARD ::tensorflow::TensorInfo_CompositeTensor* release_composite_tensor();
2271   ::tensorflow::TensorInfo_CompositeTensor* mutable_composite_tensor();
2272   void set_allocated_composite_tensor(::tensorflow::TensorInfo_CompositeTensor* composite_tensor);
2273   private:
2274   const ::tensorflow::TensorInfo_CompositeTensor& _internal_composite_tensor() const;
2275   ::tensorflow::TensorInfo_CompositeTensor* _internal_mutable_composite_tensor();
2276   public:
2277   void unsafe_arena_set_allocated_composite_tensor(
2278       ::tensorflow::TensorInfo_CompositeTensor* composite_tensor);
2279   ::tensorflow::TensorInfo_CompositeTensor* unsafe_arena_release_composite_tensor();
2280 
2281   void clear_encoding();
2282   EncodingCase encoding_case() const;
2283   // @@protoc_insertion_point(class_scope:tensorflow.TensorInfo)
2284  private:
2285   class _Internal;
2286   void set_has_name();
2287   void set_has_coo_sparse();
2288   void set_has_composite_tensor();
2289 
2290   inline bool has_encoding() const;
2291   inline void clear_has_encoding();
2292 
2293   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2294   typedef void InternalArenaConstructable_;
2295   typedef void DestructorSkippable_;
2296   struct Impl_ {
2297     ::tensorflow::TensorShapeProto* tensor_shape_;
2298     int dtype_;
2299     union EncodingUnion {
2300       constexpr EncodingUnion() : _constinit_{} {}
2301         ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
2302       ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
2303       ::tensorflow::TensorInfo_CooSparse* coo_sparse_;
2304       ::tensorflow::TensorInfo_CompositeTensor* composite_tensor_;
2305     } encoding_;
2306     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2307     ::uint32_t _oneof_case_[1];
2308 
2309   };
2310   union { Impl_ _impl_; };
2311   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
2312 };
2313 // -------------------------------------------------------------------
2314 
2315 class SignatureDef_InputsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<SignatureDef_InputsEntry_DoNotUse,
2316     std::string, ::tensorflow::TensorInfo,
2317     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
2318     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
2319 public:
2320   typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<SignatureDef_InputsEntry_DoNotUse,
2321     std::string, ::tensorflow::TensorInfo,
2322     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
2323     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
2324   SignatureDef_InputsEntry_DoNotUse();
2325   explicit PROTOBUF_CONSTEXPR SignatureDef_InputsEntry_DoNotUse(
2326       ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2327   explicit SignatureDef_InputsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2328   void MergeFrom(const SignatureDef_InputsEntry_DoNotUse& other);
internal_default_instance()2329   static const SignatureDef_InputsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const SignatureDef_InputsEntry_DoNotUse*>(&_SignatureDef_InputsEntry_DoNotUse_default_instance_); }
ValidateKey(std::string * s)2330   static bool ValidateKey(std::string* s) {
2331     return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.SignatureDef.InputsEntry.key");
2332  }
ValidateValue(void *)2333   static bool ValidateValue(void*) { return true; }
2334   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
2335 };
2336 
2337 // -------------------------------------------------------------------
2338 
2339 class SignatureDef_OutputsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<SignatureDef_OutputsEntry_DoNotUse,
2340     std::string, ::tensorflow::TensorInfo,
2341     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
2342     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
2343 public:
2344   typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntryLite<SignatureDef_OutputsEntry_DoNotUse,
2345     std::string, ::tensorflow::TensorInfo,
2346     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
2347     ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
2348   SignatureDef_OutputsEntry_DoNotUse();
2349   explicit PROTOBUF_CONSTEXPR SignatureDef_OutputsEntry_DoNotUse(
2350       ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2351   explicit SignatureDef_OutputsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2352   void MergeFrom(const SignatureDef_OutputsEntry_DoNotUse& other);
internal_default_instance()2353   static const SignatureDef_OutputsEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const SignatureDef_OutputsEntry_DoNotUse*>(&_SignatureDef_OutputsEntry_DoNotUse_default_instance_); }
ValidateKey(std::string * s)2354   static bool ValidateKey(std::string* s) {
2355     return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.SignatureDef.OutputsEntry.key");
2356  }
ValidateValue(void *)2357   static bool ValidateValue(void*) { return true; }
2358   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
2359 };
2360 
2361 // -------------------------------------------------------------------
2362 
2363 class SignatureDef final :
2364     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.SignatureDef) */ {
2365  public:
SignatureDef()2366   inline SignatureDef() : SignatureDef(nullptr) {}
2367   ~SignatureDef() override;
2368   explicit PROTOBUF_CONSTEXPR SignatureDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2369 
2370   SignatureDef(const SignatureDef& from);
SignatureDef(SignatureDef && from)2371   SignatureDef(SignatureDef&& from) noexcept
2372     : SignatureDef() {
2373     *this = ::std::move(from);
2374   }
2375 
2376   inline SignatureDef& operator=(const SignatureDef& from) {
2377     if (this == &from) return *this;
2378     CopyFrom(from);
2379     return *this;
2380   }
2381   inline SignatureDef& operator=(SignatureDef&& from) noexcept {
2382     if (this == &from) return *this;
2383     if (GetOwningArena() == from.GetOwningArena()
2384   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2385         && GetOwningArena() != nullptr
2386   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
2387     ) {
2388       InternalSwap(&from);
2389     } else {
2390       CopyFrom(from);
2391     }
2392     return *this;
2393   }
2394 
default_instance()2395   static const SignatureDef& default_instance() {
2396     return *internal_default_instance();
2397   }
internal_default_instance()2398   static inline const SignatureDef* internal_default_instance() {
2399     return reinterpret_cast<const SignatureDef*>(
2400                &_SignatureDef_default_instance_);
2401   }
2402   static constexpr int kIndexInFileMessages =
2403     16;
2404 
swap(SignatureDef & a,SignatureDef & b)2405   friend void swap(SignatureDef& a, SignatureDef& b) {
2406     a.Swap(&b);
2407   }
Swap(SignatureDef * other)2408   inline void Swap(SignatureDef* other) {
2409     if (other == this) return;
2410   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2411     if (GetOwningArena() != nullptr &&
2412         GetOwningArena() == other->GetOwningArena()) {
2413    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
2414     if (GetOwningArena() == other->GetOwningArena()) {
2415   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
2416       InternalSwap(other);
2417     } else {
2418       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2419     }
2420   }
2421   void UnsafeArenaSwap(SignatureDef* other) {
2422     if (other == this) return;
2423     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2424     InternalSwap(other);
2425   }
2426 
2427   // implements Message ----------------------------------------------
2428 
2429   SignatureDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2430     return CreateMaybeMessage<SignatureDef>(arena);
2431   }
2432   SignatureDef* New() const {
2433     return New(nullptr);
2434   }
2435   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
2436   void CopyFrom(const SignatureDef& from);
2437   void MergeFrom(const SignatureDef& from);
2438   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2439   bool IsInitialized() const final;
2440 
2441   size_t ByteSizeLong() const final;
2442   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2443   ::uint8_t* _InternalSerialize(
2444       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2445   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2446 
2447   private:
2448   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2449   void SharedDtor();
2450   void SetCachedSize(int size) const;
2451   void InternalSwap(SignatureDef* other);
2452 
2453   private:
2454   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2455   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2456     return "tensorflow.SignatureDef";
2457   }
2458   protected:
2459   explicit SignatureDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2460                        bool is_message_owned = false);
2461   public:
2462 
2463   std::string GetTypeName() const final;
2464 
2465   // nested types ----------------------------------------------------
2466 
2467 
2468   // accessors -------------------------------------------------------
2469 
2470   enum : int {
2471     kInputsFieldNumber = 1,
2472     kOutputsFieldNumber = 2,
2473     kMethodNameFieldNumber = 3,
2474   };
2475   // map<string, .tensorflow.TensorInfo> inputs = 1;
2476   int inputs_size() const;
2477   private:
2478   int _internal_inputs_size() const;
2479   public:
2480   void clear_inputs();
2481   private:
2482   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::TensorInfo >&
2483       _internal_inputs() const;
2484   ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::TensorInfo >*
2485       _internal_mutable_inputs();
2486   public:
2487   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::TensorInfo >&
2488       inputs() const;
2489   ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::TensorInfo >*
2490       mutable_inputs();
2491 
2492   // map<string, .tensorflow.TensorInfo> outputs = 2;
2493   int outputs_size() const;
2494   private:
2495   int _internal_outputs_size() const;
2496   public:
2497   void clear_outputs();
2498   private:
2499   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::TensorInfo >&
2500       _internal_outputs() const;
2501   ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::TensorInfo >*
2502       _internal_mutable_outputs();
2503   public:
2504   const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::TensorInfo >&
2505       outputs() const;
2506   ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::TensorInfo >*
2507       mutable_outputs();
2508 
2509   // string method_name = 3;
2510   void clear_method_name();
2511   const std::string& method_name() const;
2512   template <typename ArgT0 = const std::string&, typename... ArgT>
2513   void set_method_name(ArgT0&& arg0, ArgT... args);
2514   std::string* mutable_method_name();
2515   PROTOBUF_NODISCARD std::string* release_method_name();
2516   void set_allocated_method_name(std::string* method_name);
2517   private:
2518   const std::string& _internal_method_name() const;
2519   inline PROTOBUF_ALWAYS_INLINE void _internal_set_method_name(const std::string& value);
2520   std::string* _internal_mutable_method_name();
2521   public:
2522 
2523   // @@protoc_insertion_point(class_scope:tensorflow.SignatureDef)
2524  private:
2525   class _Internal;
2526 
2527   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2528   typedef void InternalArenaConstructable_;
2529   typedef void DestructorSkippable_;
2530   struct Impl_ {
2531     ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
2532         SignatureDef_InputsEntry_DoNotUse,
2533         std::string, ::tensorflow::TensorInfo,
2534         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
2535         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> inputs_;
2536     ::PROTOBUF_NAMESPACE_ID::internal::MapFieldLite<
2537         SignatureDef_OutputsEntry_DoNotUse,
2538         std::string, ::tensorflow::TensorInfo,
2539         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
2540         ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> outputs_;
2541     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr method_name_;
2542     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2543   };
2544   union { Impl_ _impl_; };
2545   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
2546 };
2547 // -------------------------------------------------------------------
2548 
2549 class AssetFileDef final :
2550     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.AssetFileDef) */ {
2551  public:
AssetFileDef()2552   inline AssetFileDef() : AssetFileDef(nullptr) {}
2553   ~AssetFileDef() override;
2554   explicit PROTOBUF_CONSTEXPR AssetFileDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2555 
2556   AssetFileDef(const AssetFileDef& from);
AssetFileDef(AssetFileDef && from)2557   AssetFileDef(AssetFileDef&& from) noexcept
2558     : AssetFileDef() {
2559     *this = ::std::move(from);
2560   }
2561 
2562   inline AssetFileDef& operator=(const AssetFileDef& from) {
2563     if (this == &from) return *this;
2564     CopyFrom(from);
2565     return *this;
2566   }
2567   inline AssetFileDef& operator=(AssetFileDef&& from) noexcept {
2568     if (this == &from) return *this;
2569     if (GetOwningArena() == from.GetOwningArena()
2570   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2571         && GetOwningArena() != nullptr
2572   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
2573     ) {
2574       InternalSwap(&from);
2575     } else {
2576       CopyFrom(from);
2577     }
2578     return *this;
2579   }
2580 
default_instance()2581   static const AssetFileDef& default_instance() {
2582     return *internal_default_instance();
2583   }
internal_default_instance()2584   static inline const AssetFileDef* internal_default_instance() {
2585     return reinterpret_cast<const AssetFileDef*>(
2586                &_AssetFileDef_default_instance_);
2587   }
2588   static constexpr int kIndexInFileMessages =
2589     17;
2590 
swap(AssetFileDef & a,AssetFileDef & b)2591   friend void swap(AssetFileDef& a, AssetFileDef& b) {
2592     a.Swap(&b);
2593   }
Swap(AssetFileDef * other)2594   inline void Swap(AssetFileDef* other) {
2595     if (other == this) return;
2596   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2597     if (GetOwningArena() != nullptr &&
2598         GetOwningArena() == other->GetOwningArena()) {
2599    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
2600     if (GetOwningArena() == other->GetOwningArena()) {
2601   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
2602       InternalSwap(other);
2603     } else {
2604       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2605     }
2606   }
2607   void UnsafeArenaSwap(AssetFileDef* other) {
2608     if (other == this) return;
2609     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2610     InternalSwap(other);
2611   }
2612 
2613   // implements Message ----------------------------------------------
2614 
2615   AssetFileDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2616     return CreateMaybeMessage<AssetFileDef>(arena);
2617   }
2618   AssetFileDef* New() const {
2619     return New(nullptr);
2620   }
2621   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
2622   void CopyFrom(const AssetFileDef& from);
2623   void MergeFrom(const AssetFileDef& from);
2624   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2625   bool IsInitialized() const final;
2626 
2627   size_t ByteSizeLong() const final;
2628   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2629   ::uint8_t* _InternalSerialize(
2630       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2631   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2632 
2633   private:
2634   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2635   void SharedDtor();
2636   void SetCachedSize(int size) const;
2637   void InternalSwap(AssetFileDef* other);
2638 
2639   private:
2640   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2641   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2642     return "tensorflow.AssetFileDef";
2643   }
2644   protected:
2645   explicit AssetFileDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2646                        bool is_message_owned = false);
2647   public:
2648 
2649   std::string GetTypeName() const final;
2650 
2651   // nested types ----------------------------------------------------
2652 
2653   // accessors -------------------------------------------------------
2654 
2655   enum : int {
2656     kFilenameFieldNumber = 2,
2657     kTensorInfoFieldNumber = 1,
2658   };
2659   // string filename = 2;
2660   void clear_filename();
2661   const std::string& filename() const;
2662   template <typename ArgT0 = const std::string&, typename... ArgT>
2663   void set_filename(ArgT0&& arg0, ArgT... args);
2664   std::string* mutable_filename();
2665   PROTOBUF_NODISCARD std::string* release_filename();
2666   void set_allocated_filename(std::string* filename);
2667   private:
2668   const std::string& _internal_filename() const;
2669   inline PROTOBUF_ALWAYS_INLINE void _internal_set_filename(const std::string& value);
2670   std::string* _internal_mutable_filename();
2671   public:
2672 
2673   // .tensorflow.TensorInfo tensor_info = 1;
2674   bool has_tensor_info() const;
2675   private:
2676   bool _internal_has_tensor_info() const;
2677   public:
2678   void clear_tensor_info();
2679   const ::tensorflow::TensorInfo& tensor_info() const;
2680   PROTOBUF_NODISCARD ::tensorflow::TensorInfo* release_tensor_info();
2681   ::tensorflow::TensorInfo* mutable_tensor_info();
2682   void set_allocated_tensor_info(::tensorflow::TensorInfo* tensor_info);
2683   private:
2684   const ::tensorflow::TensorInfo& _internal_tensor_info() const;
2685   ::tensorflow::TensorInfo* _internal_mutable_tensor_info();
2686   public:
2687   void unsafe_arena_set_allocated_tensor_info(
2688       ::tensorflow::TensorInfo* tensor_info);
2689   ::tensorflow::TensorInfo* unsafe_arena_release_tensor_info();
2690 
2691   // @@protoc_insertion_point(class_scope:tensorflow.AssetFileDef)
2692  private:
2693   class _Internal;
2694 
2695   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2696   typedef void InternalArenaConstructable_;
2697   typedef void DestructorSkippable_;
2698   struct Impl_ {
2699     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr filename_;
2700     ::tensorflow::TensorInfo* tensor_info_;
2701     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2702   };
2703   union { Impl_ _impl_; };
2704   friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto;
2705 };
2706 // ===================================================================
2707 
2708 
2709 // ===================================================================
2710 
2711 #ifdef __GNUC__
2712   #pragma GCC diagnostic push
2713   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
2714 #endif  // __GNUC__
2715 // -------------------------------------------------------------------
2716 
2717 // MetaGraphDef_MetaInfoDef
2718 
2719 // string meta_graph_version = 1;
clear_meta_graph_version()2720 inline void MetaGraphDef_MetaInfoDef::clear_meta_graph_version() {
2721   _impl_.meta_graph_version_.ClearToEmpty();
2722 }
meta_graph_version()2723 inline const std::string& MetaGraphDef_MetaInfoDef::meta_graph_version() const {
2724   // @@protoc_insertion_point(field_get:tensorflow.MetaGraphDef.MetaInfoDef.meta_graph_version)
2725   return _internal_meta_graph_version();
2726 }
2727 template <typename ArgT0, typename... ArgT>
2728 inline PROTOBUF_ALWAYS_INLINE
set_meta_graph_version(ArgT0 && arg0,ArgT...args)2729 void MetaGraphDef_MetaInfoDef::set_meta_graph_version(ArgT0&& arg0, ArgT... args) {
2730 
2731  _impl_.meta_graph_version_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2732   // @@protoc_insertion_point(field_set:tensorflow.MetaGraphDef.MetaInfoDef.meta_graph_version)
2733 }
mutable_meta_graph_version()2734 inline std::string* MetaGraphDef_MetaInfoDef::mutable_meta_graph_version() {
2735   std::string* _s = _internal_mutable_meta_graph_version();
2736   // @@protoc_insertion_point(field_mutable:tensorflow.MetaGraphDef.MetaInfoDef.meta_graph_version)
2737   return _s;
2738 }
_internal_meta_graph_version()2739 inline const std::string& MetaGraphDef_MetaInfoDef::_internal_meta_graph_version() const {
2740   return _impl_.meta_graph_version_.Get();
2741 }
_internal_set_meta_graph_version(const std::string & value)2742 inline void MetaGraphDef_MetaInfoDef::_internal_set_meta_graph_version(const std::string& value) {
2743 
2744   _impl_.meta_graph_version_.Set(value, GetArenaForAllocation());
2745 }
_internal_mutable_meta_graph_version()2746 inline std::string* MetaGraphDef_MetaInfoDef::_internal_mutable_meta_graph_version() {
2747 
2748   return _impl_.meta_graph_version_.Mutable(GetArenaForAllocation());
2749 }
release_meta_graph_version()2750 inline std::string* MetaGraphDef_MetaInfoDef::release_meta_graph_version() {
2751   // @@protoc_insertion_point(field_release:tensorflow.MetaGraphDef.MetaInfoDef.meta_graph_version)
2752   return _impl_.meta_graph_version_.Release();
2753 }
set_allocated_meta_graph_version(std::string * meta_graph_version)2754 inline void MetaGraphDef_MetaInfoDef::set_allocated_meta_graph_version(std::string* meta_graph_version) {
2755   _impl_.meta_graph_version_.SetAllocated(meta_graph_version, GetArenaForAllocation());
2756 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2757   if (_impl_.meta_graph_version_.IsDefault()) {
2758     _impl_.meta_graph_version_.Set("", GetArenaForAllocation());
2759   }
2760 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2761   // @@protoc_insertion_point(field_set_allocated:tensorflow.MetaGraphDef.MetaInfoDef.meta_graph_version)
2762 }
2763 
2764 // .tensorflow.OpList stripped_op_list = 2;
_internal_has_stripped_op_list()2765 inline bool MetaGraphDef_MetaInfoDef::_internal_has_stripped_op_list() const {
2766   return this != internal_default_instance() && _impl_.stripped_op_list_ != nullptr;
2767 }
has_stripped_op_list()2768 inline bool MetaGraphDef_MetaInfoDef::has_stripped_op_list() const {
2769   return _internal_has_stripped_op_list();
2770 }
_internal_stripped_op_list()2771 inline const ::tensorflow::OpList& MetaGraphDef_MetaInfoDef::_internal_stripped_op_list() const {
2772   const ::tensorflow::OpList* p = _impl_.stripped_op_list_;
2773   return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::OpList&>(
2774       ::tensorflow::_OpList_default_instance_);
2775 }
stripped_op_list()2776 inline const ::tensorflow::OpList& MetaGraphDef_MetaInfoDef::stripped_op_list() const {
2777   // @@protoc_insertion_point(field_get:tensorflow.MetaGraphDef.MetaInfoDef.stripped_op_list)
2778   return _internal_stripped_op_list();
2779 }
unsafe_arena_set_allocated_stripped_op_list(::tensorflow::OpList * stripped_op_list)2780 inline void MetaGraphDef_MetaInfoDef::unsafe_arena_set_allocated_stripped_op_list(
2781     ::tensorflow::OpList* stripped_op_list) {
2782   if (GetArenaForAllocation() == nullptr) {
2783     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.stripped_op_list_);
2784   }
2785   _impl_.stripped_op_list_ = stripped_op_list;
2786   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.MetaGraphDef.MetaInfoDef.stripped_op_list)
2787 }
release_stripped_op_list()2788 inline ::tensorflow::OpList* MetaGraphDef_MetaInfoDef::release_stripped_op_list() {
2789 
2790   ::tensorflow::OpList* temp = _impl_.stripped_op_list_;
2791   _impl_.stripped_op_list_ = nullptr;
2792 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2793   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2794   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2795   if (GetArenaForAllocation() == nullptr) { delete old; }
2796 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
2797   if (GetArenaForAllocation() != nullptr) {
2798     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2799   }
2800 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
2801   return temp;
2802 }
unsafe_arena_release_stripped_op_list()2803 inline ::tensorflow::OpList* MetaGraphDef_MetaInfoDef::unsafe_arena_release_stripped_op_list() {
2804   // @@protoc_insertion_point(field_release:tensorflow.MetaGraphDef.MetaInfoDef.stripped_op_list)
2805 
2806   ::tensorflow::OpList* temp = _impl_.stripped_op_list_;
2807   _impl_.stripped_op_list_ = nullptr;
2808   return temp;
2809 }
_internal_mutable_stripped_op_list()2810 inline ::tensorflow::OpList* MetaGraphDef_MetaInfoDef::_internal_mutable_stripped_op_list() {
2811 
2812   if (_impl_.stripped_op_list_ == nullptr) {
2813     auto* p = CreateMaybeMessage<::tensorflow::OpList>(GetArenaForAllocation());
2814     _impl_.stripped_op_list_ = p;
2815   }
2816   return _impl_.stripped_op_list_;
2817 }
mutable_stripped_op_list()2818 inline ::tensorflow::OpList* MetaGraphDef_MetaInfoDef::mutable_stripped_op_list() {
2819   ::tensorflow::OpList* _msg = _internal_mutable_stripped_op_list();
2820   // @@protoc_insertion_point(field_mutable:tensorflow.MetaGraphDef.MetaInfoDef.stripped_op_list)
2821   return _msg;
2822 }
set_allocated_stripped_op_list(::tensorflow::OpList * stripped_op_list)2823 inline void MetaGraphDef_MetaInfoDef::set_allocated_stripped_op_list(::tensorflow::OpList* stripped_op_list) {
2824   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2825   if (message_arena == nullptr) {
2826     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.stripped_op_list_);
2827   }
2828   if (stripped_op_list) {
2829     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2830         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2831                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(stripped_op_list));
2832     if (message_arena != submessage_arena) {
2833       stripped_op_list = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2834           message_arena, stripped_op_list, submessage_arena);
2835     }
2836 
2837   } else {
2838 
2839   }
2840   _impl_.stripped_op_list_ = stripped_op_list;
2841   // @@protoc_insertion_point(field_set_allocated:tensorflow.MetaGraphDef.MetaInfoDef.stripped_op_list)
2842 }
2843 
2844 // .google.protobuf.Any any_info = 3;
_internal_has_any_info()2845 inline bool MetaGraphDef_MetaInfoDef::_internal_has_any_info() const {
2846   return this != internal_default_instance() && _impl_.any_info_ != nullptr;
2847 }
has_any_info()2848 inline bool MetaGraphDef_MetaInfoDef::has_any_info() const {
2849   return _internal_has_any_info();
2850 }
_internal_any_info()2851 inline const ::PROTOBUF_NAMESPACE_ID::Any& MetaGraphDef_MetaInfoDef::_internal_any_info() const {
2852   const ::PROTOBUF_NAMESPACE_ID::Any* p = _impl_.any_info_;
2853   return p != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Any&>(
2854       ::PROTOBUF_NAMESPACE_ID::_Any_default_instance_);
2855 }
any_info()2856 inline const ::PROTOBUF_NAMESPACE_ID::Any& MetaGraphDef_MetaInfoDef::any_info() const {
2857   // @@protoc_insertion_point(field_get:tensorflow.MetaGraphDef.MetaInfoDef.any_info)
2858   return _internal_any_info();
2859 }
unsafe_arena_set_allocated_any_info(::PROTOBUF_NAMESPACE_ID::Any * any_info)2860 inline void MetaGraphDef_MetaInfoDef::unsafe_arena_set_allocated_any_info(
2861     ::PROTOBUF_NAMESPACE_ID::Any* any_info) {
2862   if (GetArenaForAllocation() == nullptr) {
2863     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.any_info_);
2864   }
2865   _impl_.any_info_ = any_info;
2866   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.MetaGraphDef.MetaInfoDef.any_info)
2867 }
release_any_info()2868 inline ::PROTOBUF_NAMESPACE_ID::Any* MetaGraphDef_MetaInfoDef::release_any_info() {
2869 
2870   ::PROTOBUF_NAMESPACE_ID::Any* temp = _impl_.any_info_;
2871   _impl_.any_info_ = nullptr;
2872 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2873   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2874   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2875   if (GetArenaForAllocation() == nullptr) { delete old; }
2876 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
2877   if (GetArenaForAllocation() != nullptr) {
2878     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2879   }
2880 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
2881   return temp;
2882 }
unsafe_arena_release_any_info()2883 inline ::PROTOBUF_NAMESPACE_ID::Any* MetaGraphDef_MetaInfoDef::unsafe_arena_release_any_info() {
2884   // @@protoc_insertion_point(field_release:tensorflow.MetaGraphDef.MetaInfoDef.any_info)
2885 
2886   ::PROTOBUF_NAMESPACE_ID::Any* temp = _impl_.any_info_;
2887   _impl_.any_info_ = nullptr;
2888   return temp;
2889 }
_internal_mutable_any_info()2890 inline ::PROTOBUF_NAMESPACE_ID::Any* MetaGraphDef_MetaInfoDef::_internal_mutable_any_info() {
2891 
2892   if (_impl_.any_info_ == nullptr) {
2893     auto* p = CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Any>(GetArenaForAllocation());
2894     _impl_.any_info_ = p;
2895   }
2896   return _impl_.any_info_;
2897 }
mutable_any_info()2898 inline ::PROTOBUF_NAMESPACE_ID::Any* MetaGraphDef_MetaInfoDef::mutable_any_info() {
2899   ::PROTOBUF_NAMESPACE_ID::Any* _msg = _internal_mutable_any_info();
2900   // @@protoc_insertion_point(field_mutable:tensorflow.MetaGraphDef.MetaInfoDef.any_info)
2901   return _msg;
2902 }
set_allocated_any_info(::PROTOBUF_NAMESPACE_ID::Any * any_info)2903 inline void MetaGraphDef_MetaInfoDef::set_allocated_any_info(::PROTOBUF_NAMESPACE_ID::Any* any_info) {
2904   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2905   if (message_arena == nullptr) {
2906     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.any_info_);
2907   }
2908   if (any_info) {
2909     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2910         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2911                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(any_info));
2912     if (message_arena != submessage_arena) {
2913       any_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2914           message_arena, any_info, submessage_arena);
2915     }
2916 
2917   } else {
2918 
2919   }
2920   _impl_.any_info_ = any_info;
2921   // @@protoc_insertion_point(field_set_allocated:tensorflow.MetaGraphDef.MetaInfoDef.any_info)
2922 }
2923 
2924 // repeated string tags = 4;
_internal_tags_size()2925 inline int MetaGraphDef_MetaInfoDef::_internal_tags_size() const {
2926   return _impl_.tags_.size();
2927 }
tags_size()2928 inline int MetaGraphDef_MetaInfoDef::tags_size() const {
2929   return _internal_tags_size();
2930 }
clear_tags()2931 inline void MetaGraphDef_MetaInfoDef::clear_tags() {
2932   _impl_.tags_.Clear();
2933 }
add_tags()2934 inline std::string* MetaGraphDef_MetaInfoDef::add_tags() {
2935   std::string* _s = _internal_add_tags();
2936   // @@protoc_insertion_point(field_add_mutable:tensorflow.MetaGraphDef.MetaInfoDef.tags)
2937   return _s;
2938 }
_internal_tags(int index)2939 inline const std::string& MetaGraphDef_MetaInfoDef::_internal_tags(int index) const {
2940   return _impl_.tags_.Get(index);
2941 }
tags(int index)2942 inline const std::string& MetaGraphDef_MetaInfoDef::tags(int index) const {
2943   // @@protoc_insertion_point(field_get:tensorflow.MetaGraphDef.MetaInfoDef.tags)
2944   return _internal_tags(index);
2945 }
mutable_tags(int index)2946 inline std::string* MetaGraphDef_MetaInfoDef::mutable_tags(int index) {
2947   // @@protoc_insertion_point(field_mutable:tensorflow.MetaGraphDef.MetaInfoDef.tags)
2948   return _impl_.tags_.Mutable(index);
2949 }
set_tags(int index,const std::string & value)2950 inline void MetaGraphDef_MetaInfoDef::set_tags(int index, const std::string& value) {
2951   _impl_.tags_.Mutable(index)->assign(value);
2952   // @@protoc_insertion_point(field_set:tensorflow.MetaGraphDef.MetaInfoDef.tags)
2953 }
set_tags(int index,std::string && value)2954 inline void MetaGraphDef_MetaInfoDef::set_tags(int index, std::string&& value) {
2955   _impl_.tags_.Mutable(index)->assign(std::move(value));
2956   // @@protoc_insertion_point(field_set:tensorflow.MetaGraphDef.MetaInfoDef.tags)
2957 }
set_tags(int index,const char * value)2958 inline void MetaGraphDef_MetaInfoDef::set_tags(int index, const char* value) {
2959   GOOGLE_DCHECK(value != nullptr);
2960   _impl_.tags_.Mutable(index)->assign(value);
2961   // @@protoc_insertion_point(field_set_char:tensorflow.MetaGraphDef.MetaInfoDef.tags)
2962 }
set_tags(int index,const char * value,size_t size)2963 inline void MetaGraphDef_MetaInfoDef::set_tags(int index, const char* value, size_t size) {
2964   _impl_.tags_.Mutable(index)->assign(
2965     reinterpret_cast<const char*>(value), size);
2966   // @@protoc_insertion_point(field_set_pointer:tensorflow.MetaGraphDef.MetaInfoDef.tags)
2967 }
_internal_add_tags()2968 inline std::string* MetaGraphDef_MetaInfoDef::_internal_add_tags() {
2969   return _impl_.tags_.Add();
2970 }
add_tags(const std::string & value)2971 inline void MetaGraphDef_MetaInfoDef::add_tags(const std::string& value) {
2972   _impl_.tags_.Add()->assign(value);
2973   // @@protoc_insertion_point(field_add:tensorflow.MetaGraphDef.MetaInfoDef.tags)
2974 }
add_tags(std::string && value)2975 inline void MetaGraphDef_MetaInfoDef::add_tags(std::string&& value) {
2976   _impl_.tags_.Add(std::move(value));
2977   // @@protoc_insertion_point(field_add:tensorflow.MetaGraphDef.MetaInfoDef.tags)
2978 }
add_tags(const char * value)2979 inline void MetaGraphDef_MetaInfoDef::add_tags(const char* value) {
2980   GOOGLE_DCHECK(value != nullptr);
2981   _impl_.tags_.Add()->assign(value);
2982   // @@protoc_insertion_point(field_add_char:tensorflow.MetaGraphDef.MetaInfoDef.tags)
2983 }
add_tags(const char * value,size_t size)2984 inline void MetaGraphDef_MetaInfoDef::add_tags(const char* value, size_t size) {
2985   _impl_.tags_.Add()->assign(reinterpret_cast<const char*>(value), size);
2986   // @@protoc_insertion_point(field_add_pointer:tensorflow.MetaGraphDef.MetaInfoDef.tags)
2987 }
2988 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
tags()2989 MetaGraphDef_MetaInfoDef::tags() const {
2990   // @@protoc_insertion_point(field_list:tensorflow.MetaGraphDef.MetaInfoDef.tags)
2991   return _impl_.tags_;
2992 }
2993 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
mutable_tags()2994 MetaGraphDef_MetaInfoDef::mutable_tags() {
2995   // @@protoc_insertion_point(field_mutable_list:tensorflow.MetaGraphDef.MetaInfoDef.tags)
2996   return &_impl_.tags_;
2997 }
2998 
2999 // string tensorflow_version = 5;
clear_tensorflow_version()3000 inline void MetaGraphDef_MetaInfoDef::clear_tensorflow_version() {
3001   _impl_.tensorflow_version_.ClearToEmpty();
3002 }
tensorflow_version()3003 inline const std::string& MetaGraphDef_MetaInfoDef::tensorflow_version() const {
3004   // @@protoc_insertion_point(field_get:tensorflow.MetaGraphDef.MetaInfoDef.tensorflow_version)
3005   return _internal_tensorflow_version();
3006 }
3007 template <typename ArgT0, typename... ArgT>
3008 inline PROTOBUF_ALWAYS_INLINE
set_tensorflow_version(ArgT0 && arg0,ArgT...args)3009 void MetaGraphDef_MetaInfoDef::set_tensorflow_version(ArgT0&& arg0, ArgT... args) {
3010 
3011  _impl_.tensorflow_version_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
3012   // @@protoc_insertion_point(field_set:tensorflow.MetaGraphDef.MetaInfoDef.tensorflow_version)
3013 }
mutable_tensorflow_version()3014 inline std::string* MetaGraphDef_MetaInfoDef::mutable_tensorflow_version() {
3015   std::string* _s = _internal_mutable_tensorflow_version();
3016   // @@protoc_insertion_point(field_mutable:tensorflow.MetaGraphDef.MetaInfoDef.tensorflow_version)
3017   return _s;
3018 }
_internal_tensorflow_version()3019 inline const std::string& MetaGraphDef_MetaInfoDef::_internal_tensorflow_version() const {
3020   return _impl_.tensorflow_version_.Get();
3021 }
_internal_set_tensorflow_version(const std::string & value)3022 inline void MetaGraphDef_MetaInfoDef::_internal_set_tensorflow_version(const std::string& value) {
3023 
3024   _impl_.tensorflow_version_.Set(value, GetArenaForAllocation());
3025 }
_internal_mutable_tensorflow_version()3026 inline std::string* MetaGraphDef_MetaInfoDef::_internal_mutable_tensorflow_version() {
3027 
3028   return _impl_.tensorflow_version_.Mutable(GetArenaForAllocation());
3029 }
release_tensorflow_version()3030 inline std::string* MetaGraphDef_MetaInfoDef::release_tensorflow_version() {
3031   // @@protoc_insertion_point(field_release:tensorflow.MetaGraphDef.MetaInfoDef.tensorflow_version)
3032   return _impl_.tensorflow_version_.Release();
3033 }
set_allocated_tensorflow_version(std::string * tensorflow_version)3034 inline void MetaGraphDef_MetaInfoDef::set_allocated_tensorflow_version(std::string* tensorflow_version) {
3035   _impl_.tensorflow_version_.SetAllocated(tensorflow_version, GetArenaForAllocation());
3036 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3037   if (_impl_.tensorflow_version_.IsDefault()) {
3038     _impl_.tensorflow_version_.Set("", GetArenaForAllocation());
3039   }
3040 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3041   // @@protoc_insertion_point(field_set_allocated:tensorflow.MetaGraphDef.MetaInfoDef.tensorflow_version)
3042 }
3043 
3044 // string tensorflow_git_version = 6;
clear_tensorflow_git_version()3045 inline void MetaGraphDef_MetaInfoDef::clear_tensorflow_git_version() {
3046   _impl_.tensorflow_git_version_.ClearToEmpty();
3047 }
tensorflow_git_version()3048 inline const std::string& MetaGraphDef_MetaInfoDef::tensorflow_git_version() const {
3049   // @@protoc_insertion_point(field_get:tensorflow.MetaGraphDef.MetaInfoDef.tensorflow_git_version)
3050   return _internal_tensorflow_git_version();
3051 }
3052 template <typename ArgT0, typename... ArgT>
3053 inline PROTOBUF_ALWAYS_INLINE
set_tensorflow_git_version(ArgT0 && arg0,ArgT...args)3054 void MetaGraphDef_MetaInfoDef::set_tensorflow_git_version(ArgT0&& arg0, ArgT... args) {
3055 
3056  _impl_.tensorflow_git_version_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
3057   // @@protoc_insertion_point(field_set:tensorflow.MetaGraphDef.MetaInfoDef.tensorflow_git_version)
3058 }
mutable_tensorflow_git_version()3059 inline std::string* MetaGraphDef_MetaInfoDef::mutable_tensorflow_git_version() {
3060   std::string* _s = _internal_mutable_tensorflow_git_version();
3061   // @@protoc_insertion_point(field_mutable:tensorflow.MetaGraphDef.MetaInfoDef.tensorflow_git_version)
3062   return _s;
3063 }
_internal_tensorflow_git_version()3064 inline const std::string& MetaGraphDef_MetaInfoDef::_internal_tensorflow_git_version() const {
3065   return _impl_.tensorflow_git_version_.Get();
3066 }
_internal_set_tensorflow_git_version(const std::string & value)3067 inline void MetaGraphDef_MetaInfoDef::_internal_set_tensorflow_git_version(const std::string& value) {
3068 
3069   _impl_.tensorflow_git_version_.Set(value, GetArenaForAllocation());
3070 }
_internal_mutable_tensorflow_git_version()3071 inline std::string* MetaGraphDef_MetaInfoDef::_internal_mutable_tensorflow_git_version() {
3072 
3073   return _impl_.tensorflow_git_version_.Mutable(GetArenaForAllocation());
3074 }
release_tensorflow_git_version()3075 inline std::string* MetaGraphDef_MetaInfoDef::release_tensorflow_git_version() {
3076   // @@protoc_insertion_point(field_release:tensorflow.MetaGraphDef.MetaInfoDef.tensorflow_git_version)
3077   return _impl_.tensorflow_git_version_.Release();
3078 }
set_allocated_tensorflow_git_version(std::string * tensorflow_git_version)3079 inline void MetaGraphDef_MetaInfoDef::set_allocated_tensorflow_git_version(std::string* tensorflow_git_version) {
3080   _impl_.tensorflow_git_version_.SetAllocated(tensorflow_git_version, GetArenaForAllocation());
3081 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3082   if (_impl_.tensorflow_git_version_.IsDefault()) {
3083     _impl_.tensorflow_git_version_.Set("", GetArenaForAllocation());
3084   }
3085 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3086   // @@protoc_insertion_point(field_set_allocated:tensorflow.MetaGraphDef.MetaInfoDef.tensorflow_git_version)
3087 }
3088 
3089 // bool stripped_default_attrs = 7;
clear_stripped_default_attrs()3090 inline void MetaGraphDef_MetaInfoDef::clear_stripped_default_attrs() {
3091   _impl_.stripped_default_attrs_ = false;
3092 }
_internal_stripped_default_attrs()3093 inline bool MetaGraphDef_MetaInfoDef::_internal_stripped_default_attrs() const {
3094   return _impl_.stripped_default_attrs_;
3095 }
stripped_default_attrs()3096 inline bool MetaGraphDef_MetaInfoDef::stripped_default_attrs() const {
3097   // @@protoc_insertion_point(field_get:tensorflow.MetaGraphDef.MetaInfoDef.stripped_default_attrs)
3098   return _internal_stripped_default_attrs();
3099 }
_internal_set_stripped_default_attrs(bool value)3100 inline void MetaGraphDef_MetaInfoDef::_internal_set_stripped_default_attrs(bool value) {
3101 
3102   _impl_.stripped_default_attrs_ = value;
3103 }
set_stripped_default_attrs(bool value)3104 inline void MetaGraphDef_MetaInfoDef::set_stripped_default_attrs(bool value) {
3105   _internal_set_stripped_default_attrs(value);
3106   // @@protoc_insertion_point(field_set:tensorflow.MetaGraphDef.MetaInfoDef.stripped_default_attrs)
3107 }
3108 
3109 // map<string, string> function_aliases = 8;
_internal_function_aliases_size()3110 inline int MetaGraphDef_MetaInfoDef::_internal_function_aliases_size() const {
3111   return _impl_.function_aliases_.size();
3112 }
function_aliases_size()3113 inline int MetaGraphDef_MetaInfoDef::function_aliases_size() const {
3114   return _internal_function_aliases_size();
3115 }
clear_function_aliases()3116 inline void MetaGraphDef_MetaInfoDef::clear_function_aliases() {
3117   _impl_.function_aliases_.Clear();
3118 }
3119 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
_internal_function_aliases()3120 MetaGraphDef_MetaInfoDef::_internal_function_aliases() const {
3121   return _impl_.function_aliases_.GetMap();
3122 }
3123 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >&
function_aliases()3124 MetaGraphDef_MetaInfoDef::function_aliases() const {
3125   // @@protoc_insertion_point(field_map:tensorflow.MetaGraphDef.MetaInfoDef.function_aliases)
3126   return _internal_function_aliases();
3127 }
3128 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
_internal_mutable_function_aliases()3129 MetaGraphDef_MetaInfoDef::_internal_mutable_function_aliases() {
3130   return _impl_.function_aliases_.MutableMap();
3131 }
3132 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, std::string >*
mutable_function_aliases()3133 MetaGraphDef_MetaInfoDef::mutable_function_aliases() {
3134   // @@protoc_insertion_point(field_mutable_map:tensorflow.MetaGraphDef.MetaInfoDef.function_aliases)
3135   return _internal_mutable_function_aliases();
3136 }
3137 
3138 // -------------------------------------------------------------------
3139 
3140 // -------------------------------------------------------------------
3141 
3142 // -------------------------------------------------------------------
3143 
3144 // MetaGraphDef
3145 
3146 // .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
_internal_has_meta_info_def()3147 inline bool MetaGraphDef::_internal_has_meta_info_def() const {
3148   return this != internal_default_instance() && _impl_.meta_info_def_ != nullptr;
3149 }
has_meta_info_def()3150 inline bool MetaGraphDef::has_meta_info_def() const {
3151   return _internal_has_meta_info_def();
3152 }
clear_meta_info_def()3153 inline void MetaGraphDef::clear_meta_info_def() {
3154   if (GetArenaForAllocation() == nullptr && _impl_.meta_info_def_ != nullptr) {
3155     delete _impl_.meta_info_def_;
3156   }
3157   _impl_.meta_info_def_ = nullptr;
3158 }
_internal_meta_info_def()3159 inline const ::tensorflow::MetaGraphDef_MetaInfoDef& MetaGraphDef::_internal_meta_info_def() const {
3160   const ::tensorflow::MetaGraphDef_MetaInfoDef* p = _impl_.meta_info_def_;
3161   return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::MetaGraphDef_MetaInfoDef&>(
3162       ::tensorflow::_MetaGraphDef_MetaInfoDef_default_instance_);
3163 }
meta_info_def()3164 inline const ::tensorflow::MetaGraphDef_MetaInfoDef& MetaGraphDef::meta_info_def() const {
3165   // @@protoc_insertion_point(field_get:tensorflow.MetaGraphDef.meta_info_def)
3166   return _internal_meta_info_def();
3167 }
unsafe_arena_set_allocated_meta_info_def(::tensorflow::MetaGraphDef_MetaInfoDef * meta_info_def)3168 inline void MetaGraphDef::unsafe_arena_set_allocated_meta_info_def(
3169     ::tensorflow::MetaGraphDef_MetaInfoDef* meta_info_def) {
3170   if (GetArenaForAllocation() == nullptr) {
3171     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.meta_info_def_);
3172   }
3173   _impl_.meta_info_def_ = meta_info_def;
3174   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.MetaGraphDef.meta_info_def)
3175 }
release_meta_info_def()3176 inline ::tensorflow::MetaGraphDef_MetaInfoDef* MetaGraphDef::release_meta_info_def() {
3177 
3178   ::tensorflow::MetaGraphDef_MetaInfoDef* temp = _impl_.meta_info_def_;
3179   _impl_.meta_info_def_ = nullptr;
3180 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
3181   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
3182   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3183   if (GetArenaForAllocation() == nullptr) { delete old; }
3184 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
3185   if (GetArenaForAllocation() != nullptr) {
3186     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3187   }
3188 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
3189   return temp;
3190 }
unsafe_arena_release_meta_info_def()3191 inline ::tensorflow::MetaGraphDef_MetaInfoDef* MetaGraphDef::unsafe_arena_release_meta_info_def() {
3192   // @@protoc_insertion_point(field_release:tensorflow.MetaGraphDef.meta_info_def)
3193 
3194   ::tensorflow::MetaGraphDef_MetaInfoDef* temp = _impl_.meta_info_def_;
3195   _impl_.meta_info_def_ = nullptr;
3196   return temp;
3197 }
_internal_mutable_meta_info_def()3198 inline ::tensorflow::MetaGraphDef_MetaInfoDef* MetaGraphDef::_internal_mutable_meta_info_def() {
3199 
3200   if (_impl_.meta_info_def_ == nullptr) {
3201     auto* p = CreateMaybeMessage<::tensorflow::MetaGraphDef_MetaInfoDef>(GetArenaForAllocation());
3202     _impl_.meta_info_def_ = p;
3203   }
3204   return _impl_.meta_info_def_;
3205 }
mutable_meta_info_def()3206 inline ::tensorflow::MetaGraphDef_MetaInfoDef* MetaGraphDef::mutable_meta_info_def() {
3207   ::tensorflow::MetaGraphDef_MetaInfoDef* _msg = _internal_mutable_meta_info_def();
3208   // @@protoc_insertion_point(field_mutable:tensorflow.MetaGraphDef.meta_info_def)
3209   return _msg;
3210 }
set_allocated_meta_info_def(::tensorflow::MetaGraphDef_MetaInfoDef * meta_info_def)3211 inline void MetaGraphDef::set_allocated_meta_info_def(::tensorflow::MetaGraphDef_MetaInfoDef* meta_info_def) {
3212   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
3213   if (message_arena == nullptr) {
3214     delete _impl_.meta_info_def_;
3215   }
3216   if (meta_info_def) {
3217     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
3218         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(meta_info_def);
3219     if (message_arena != submessage_arena) {
3220       meta_info_def = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3221           message_arena, meta_info_def, submessage_arena);
3222     }
3223 
3224   } else {
3225 
3226   }
3227   _impl_.meta_info_def_ = meta_info_def;
3228   // @@protoc_insertion_point(field_set_allocated:tensorflow.MetaGraphDef.meta_info_def)
3229 }
3230 
3231 // .tensorflow.GraphDef graph_def = 2;
_internal_has_graph_def()3232 inline bool MetaGraphDef::_internal_has_graph_def() const {
3233   return this != internal_default_instance() && _impl_.graph_def_ != nullptr;
3234 }
has_graph_def()3235 inline bool MetaGraphDef::has_graph_def() const {
3236   return _internal_has_graph_def();
3237 }
_internal_graph_def()3238 inline const ::tensorflow::GraphDef& MetaGraphDef::_internal_graph_def() const {
3239   const ::tensorflow::GraphDef* p = _impl_.graph_def_;
3240   return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::GraphDef&>(
3241       ::tensorflow::_GraphDef_default_instance_);
3242 }
graph_def()3243 inline const ::tensorflow::GraphDef& MetaGraphDef::graph_def() const {
3244   // @@protoc_insertion_point(field_get:tensorflow.MetaGraphDef.graph_def)
3245   return _internal_graph_def();
3246 }
unsafe_arena_set_allocated_graph_def(::tensorflow::GraphDef * graph_def)3247 inline void MetaGraphDef::unsafe_arena_set_allocated_graph_def(
3248     ::tensorflow::GraphDef* graph_def) {
3249   if (GetArenaForAllocation() == nullptr) {
3250     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.graph_def_);
3251   }
3252   _impl_.graph_def_ = graph_def;
3253   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.MetaGraphDef.graph_def)
3254 }
release_graph_def()3255 inline ::tensorflow::GraphDef* MetaGraphDef::release_graph_def() {
3256 
3257   ::tensorflow::GraphDef* temp = _impl_.graph_def_;
3258   _impl_.graph_def_ = nullptr;
3259 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
3260   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
3261   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3262   if (GetArenaForAllocation() == nullptr) { delete old; }
3263 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
3264   if (GetArenaForAllocation() != nullptr) {
3265     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3266   }
3267 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
3268   return temp;
3269 }
unsafe_arena_release_graph_def()3270 inline ::tensorflow::GraphDef* MetaGraphDef::unsafe_arena_release_graph_def() {
3271   // @@protoc_insertion_point(field_release:tensorflow.MetaGraphDef.graph_def)
3272 
3273   ::tensorflow::GraphDef* temp = _impl_.graph_def_;
3274   _impl_.graph_def_ = nullptr;
3275   return temp;
3276 }
_internal_mutable_graph_def()3277 inline ::tensorflow::GraphDef* MetaGraphDef::_internal_mutable_graph_def() {
3278 
3279   if (_impl_.graph_def_ == nullptr) {
3280     auto* p = CreateMaybeMessage<::tensorflow::GraphDef>(GetArenaForAllocation());
3281     _impl_.graph_def_ = p;
3282   }
3283   return _impl_.graph_def_;
3284 }
mutable_graph_def()3285 inline ::tensorflow::GraphDef* MetaGraphDef::mutable_graph_def() {
3286   ::tensorflow::GraphDef* _msg = _internal_mutable_graph_def();
3287   // @@protoc_insertion_point(field_mutable:tensorflow.MetaGraphDef.graph_def)
3288   return _msg;
3289 }
set_allocated_graph_def(::tensorflow::GraphDef * graph_def)3290 inline void MetaGraphDef::set_allocated_graph_def(::tensorflow::GraphDef* graph_def) {
3291   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
3292   if (message_arena == nullptr) {
3293     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.graph_def_);
3294   }
3295   if (graph_def) {
3296     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
3297         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
3298                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(graph_def));
3299     if (message_arena != submessage_arena) {
3300       graph_def = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3301           message_arena, graph_def, submessage_arena);
3302     }
3303 
3304   } else {
3305 
3306   }
3307   _impl_.graph_def_ = graph_def;
3308   // @@protoc_insertion_point(field_set_allocated:tensorflow.MetaGraphDef.graph_def)
3309 }
3310 
3311 // .tensorflow.SaverDef saver_def = 3;
_internal_has_saver_def()3312 inline bool MetaGraphDef::_internal_has_saver_def() const {
3313   return this != internal_default_instance() && _impl_.saver_def_ != nullptr;
3314 }
has_saver_def()3315 inline bool MetaGraphDef::has_saver_def() const {
3316   return _internal_has_saver_def();
3317 }
_internal_saver_def()3318 inline const ::tensorflow::SaverDef& MetaGraphDef::_internal_saver_def() const {
3319   const ::tensorflow::SaverDef* p = _impl_.saver_def_;
3320   return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::SaverDef&>(
3321       ::tensorflow::_SaverDef_default_instance_);
3322 }
saver_def()3323 inline const ::tensorflow::SaverDef& MetaGraphDef::saver_def() const {
3324   // @@protoc_insertion_point(field_get:tensorflow.MetaGraphDef.saver_def)
3325   return _internal_saver_def();
3326 }
unsafe_arena_set_allocated_saver_def(::tensorflow::SaverDef * saver_def)3327 inline void MetaGraphDef::unsafe_arena_set_allocated_saver_def(
3328     ::tensorflow::SaverDef* saver_def) {
3329   if (GetArenaForAllocation() == nullptr) {
3330     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.saver_def_);
3331   }
3332   _impl_.saver_def_ = saver_def;
3333   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.MetaGraphDef.saver_def)
3334 }
release_saver_def()3335 inline ::tensorflow::SaverDef* MetaGraphDef::release_saver_def() {
3336 
3337   ::tensorflow::SaverDef* temp = _impl_.saver_def_;
3338   _impl_.saver_def_ = nullptr;
3339 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
3340   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
3341   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3342   if (GetArenaForAllocation() == nullptr) { delete old; }
3343 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
3344   if (GetArenaForAllocation() != nullptr) {
3345     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3346   }
3347 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
3348   return temp;
3349 }
unsafe_arena_release_saver_def()3350 inline ::tensorflow::SaverDef* MetaGraphDef::unsafe_arena_release_saver_def() {
3351   // @@protoc_insertion_point(field_release:tensorflow.MetaGraphDef.saver_def)
3352 
3353   ::tensorflow::SaverDef* temp = _impl_.saver_def_;
3354   _impl_.saver_def_ = nullptr;
3355   return temp;
3356 }
_internal_mutable_saver_def()3357 inline ::tensorflow::SaverDef* MetaGraphDef::_internal_mutable_saver_def() {
3358 
3359   if (_impl_.saver_def_ == nullptr) {
3360     auto* p = CreateMaybeMessage<::tensorflow::SaverDef>(GetArenaForAllocation());
3361     _impl_.saver_def_ = p;
3362   }
3363   return _impl_.saver_def_;
3364 }
mutable_saver_def()3365 inline ::tensorflow::SaverDef* MetaGraphDef::mutable_saver_def() {
3366   ::tensorflow::SaverDef* _msg = _internal_mutable_saver_def();
3367   // @@protoc_insertion_point(field_mutable:tensorflow.MetaGraphDef.saver_def)
3368   return _msg;
3369 }
set_allocated_saver_def(::tensorflow::SaverDef * saver_def)3370 inline void MetaGraphDef::set_allocated_saver_def(::tensorflow::SaverDef* saver_def) {
3371   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
3372   if (message_arena == nullptr) {
3373     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.saver_def_);
3374   }
3375   if (saver_def) {
3376     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
3377         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
3378                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(saver_def));
3379     if (message_arena != submessage_arena) {
3380       saver_def = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3381           message_arena, saver_def, submessage_arena);
3382     }
3383 
3384   } else {
3385 
3386   }
3387   _impl_.saver_def_ = saver_def;
3388   // @@protoc_insertion_point(field_set_allocated:tensorflow.MetaGraphDef.saver_def)
3389 }
3390 
3391 // map<string, .tensorflow.CollectionDef> collection_def = 4;
_internal_collection_def_size()3392 inline int MetaGraphDef::_internal_collection_def_size() const {
3393   return _impl_.collection_def_.size();
3394 }
collection_def_size()3395 inline int MetaGraphDef::collection_def_size() const {
3396   return _internal_collection_def_size();
3397 }
clear_collection_def()3398 inline void MetaGraphDef::clear_collection_def() {
3399   _impl_.collection_def_.Clear();
3400 }
3401 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::CollectionDef >&
_internal_collection_def()3402 MetaGraphDef::_internal_collection_def() const {
3403   return _impl_.collection_def_.GetMap();
3404 }
3405 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::CollectionDef >&
collection_def()3406 MetaGraphDef::collection_def() const {
3407   // @@protoc_insertion_point(field_map:tensorflow.MetaGraphDef.collection_def)
3408   return _internal_collection_def();
3409 }
3410 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::CollectionDef >*
_internal_mutable_collection_def()3411 MetaGraphDef::_internal_mutable_collection_def() {
3412   return _impl_.collection_def_.MutableMap();
3413 }
3414 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::CollectionDef >*
mutable_collection_def()3415 MetaGraphDef::mutable_collection_def() {
3416   // @@protoc_insertion_point(field_mutable_map:tensorflow.MetaGraphDef.collection_def)
3417   return _internal_mutable_collection_def();
3418 }
3419 
3420 // map<string, .tensorflow.SignatureDef> signature_def = 5;
_internal_signature_def_size()3421 inline int MetaGraphDef::_internal_signature_def_size() const {
3422   return _impl_.signature_def_.size();
3423 }
signature_def_size()3424 inline int MetaGraphDef::signature_def_size() const {
3425   return _internal_signature_def_size();
3426 }
clear_signature_def()3427 inline void MetaGraphDef::clear_signature_def() {
3428   _impl_.signature_def_.Clear();
3429 }
3430 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::SignatureDef >&
_internal_signature_def()3431 MetaGraphDef::_internal_signature_def() const {
3432   return _impl_.signature_def_.GetMap();
3433 }
3434 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::SignatureDef >&
signature_def()3435 MetaGraphDef::signature_def() const {
3436   // @@protoc_insertion_point(field_map:tensorflow.MetaGraphDef.signature_def)
3437   return _internal_signature_def();
3438 }
3439 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::SignatureDef >*
_internal_mutable_signature_def()3440 MetaGraphDef::_internal_mutable_signature_def() {
3441   return _impl_.signature_def_.MutableMap();
3442 }
3443 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::SignatureDef >*
mutable_signature_def()3444 MetaGraphDef::mutable_signature_def() {
3445   // @@protoc_insertion_point(field_mutable_map:tensorflow.MetaGraphDef.signature_def)
3446   return _internal_mutable_signature_def();
3447 }
3448 
3449 // repeated .tensorflow.AssetFileDef asset_file_def = 6;
_internal_asset_file_def_size()3450 inline int MetaGraphDef::_internal_asset_file_def_size() const {
3451   return _impl_.asset_file_def_.size();
3452 }
asset_file_def_size()3453 inline int MetaGraphDef::asset_file_def_size() const {
3454   return _internal_asset_file_def_size();
3455 }
clear_asset_file_def()3456 inline void MetaGraphDef::clear_asset_file_def() {
3457   _impl_.asset_file_def_.Clear();
3458 }
mutable_asset_file_def(int index)3459 inline ::tensorflow::AssetFileDef* MetaGraphDef::mutable_asset_file_def(int index) {
3460   // @@protoc_insertion_point(field_mutable:tensorflow.MetaGraphDef.asset_file_def)
3461   return _impl_.asset_file_def_.Mutable(index);
3462 }
3463 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AssetFileDef >*
mutable_asset_file_def()3464 MetaGraphDef::mutable_asset_file_def() {
3465   // @@protoc_insertion_point(field_mutable_list:tensorflow.MetaGraphDef.asset_file_def)
3466   return &_impl_.asset_file_def_;
3467 }
_internal_asset_file_def(int index)3468 inline const ::tensorflow::AssetFileDef& MetaGraphDef::_internal_asset_file_def(int index) const {
3469   return _impl_.asset_file_def_.Get(index);
3470 }
asset_file_def(int index)3471 inline const ::tensorflow::AssetFileDef& MetaGraphDef::asset_file_def(int index) const {
3472   // @@protoc_insertion_point(field_get:tensorflow.MetaGraphDef.asset_file_def)
3473   return _internal_asset_file_def(index);
3474 }
_internal_add_asset_file_def()3475 inline ::tensorflow::AssetFileDef* MetaGraphDef::_internal_add_asset_file_def() {
3476   return _impl_.asset_file_def_.Add();
3477 }
add_asset_file_def()3478 inline ::tensorflow::AssetFileDef* MetaGraphDef::add_asset_file_def() {
3479   ::tensorflow::AssetFileDef* _add = _internal_add_asset_file_def();
3480   // @@protoc_insertion_point(field_add:tensorflow.MetaGraphDef.asset_file_def)
3481   return _add;
3482 }
3483 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::AssetFileDef >&
asset_file_def()3484 MetaGraphDef::asset_file_def() const {
3485   // @@protoc_insertion_point(field_list:tensorflow.MetaGraphDef.asset_file_def)
3486   return _impl_.asset_file_def_;
3487 }
3488 
3489 // .tensorflow.SavedObjectGraph object_graph_def = 7;
_internal_has_object_graph_def()3490 inline bool MetaGraphDef::_internal_has_object_graph_def() const {
3491   return this != internal_default_instance() && _impl_.object_graph_def_ != nullptr;
3492 }
has_object_graph_def()3493 inline bool MetaGraphDef::has_object_graph_def() const {
3494   return _internal_has_object_graph_def();
3495 }
_internal_object_graph_def()3496 inline const ::tensorflow::SavedObjectGraph& MetaGraphDef::_internal_object_graph_def() const {
3497   const ::tensorflow::SavedObjectGraph* p = _impl_.object_graph_def_;
3498   return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::SavedObjectGraph&>(
3499       ::tensorflow::_SavedObjectGraph_default_instance_);
3500 }
object_graph_def()3501 inline const ::tensorflow::SavedObjectGraph& MetaGraphDef::object_graph_def() const {
3502   // @@protoc_insertion_point(field_get:tensorflow.MetaGraphDef.object_graph_def)
3503   return _internal_object_graph_def();
3504 }
unsafe_arena_set_allocated_object_graph_def(::tensorflow::SavedObjectGraph * object_graph_def)3505 inline void MetaGraphDef::unsafe_arena_set_allocated_object_graph_def(
3506     ::tensorflow::SavedObjectGraph* object_graph_def) {
3507   if (GetArenaForAllocation() == nullptr) {
3508     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.object_graph_def_);
3509   }
3510   _impl_.object_graph_def_ = object_graph_def;
3511   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.MetaGraphDef.object_graph_def)
3512 }
release_object_graph_def()3513 inline ::tensorflow::SavedObjectGraph* MetaGraphDef::release_object_graph_def() {
3514 
3515   ::tensorflow::SavedObjectGraph* temp = _impl_.object_graph_def_;
3516   _impl_.object_graph_def_ = nullptr;
3517 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
3518   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
3519   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3520   if (GetArenaForAllocation() == nullptr) { delete old; }
3521 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
3522   if (GetArenaForAllocation() != nullptr) {
3523     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3524   }
3525 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
3526   return temp;
3527 }
unsafe_arena_release_object_graph_def()3528 inline ::tensorflow::SavedObjectGraph* MetaGraphDef::unsafe_arena_release_object_graph_def() {
3529   // @@protoc_insertion_point(field_release:tensorflow.MetaGraphDef.object_graph_def)
3530 
3531   ::tensorflow::SavedObjectGraph* temp = _impl_.object_graph_def_;
3532   _impl_.object_graph_def_ = nullptr;
3533   return temp;
3534 }
_internal_mutable_object_graph_def()3535 inline ::tensorflow::SavedObjectGraph* MetaGraphDef::_internal_mutable_object_graph_def() {
3536 
3537   if (_impl_.object_graph_def_ == nullptr) {
3538     auto* p = CreateMaybeMessage<::tensorflow::SavedObjectGraph>(GetArenaForAllocation());
3539     _impl_.object_graph_def_ = p;
3540   }
3541   return _impl_.object_graph_def_;
3542 }
mutable_object_graph_def()3543 inline ::tensorflow::SavedObjectGraph* MetaGraphDef::mutable_object_graph_def() {
3544   ::tensorflow::SavedObjectGraph* _msg = _internal_mutable_object_graph_def();
3545   // @@protoc_insertion_point(field_mutable:tensorflow.MetaGraphDef.object_graph_def)
3546   return _msg;
3547 }
set_allocated_object_graph_def(::tensorflow::SavedObjectGraph * object_graph_def)3548 inline void MetaGraphDef::set_allocated_object_graph_def(::tensorflow::SavedObjectGraph* object_graph_def) {
3549   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
3550   if (message_arena == nullptr) {
3551     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.object_graph_def_);
3552   }
3553   if (object_graph_def) {
3554     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
3555         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
3556                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(object_graph_def));
3557     if (message_arena != submessage_arena) {
3558       object_graph_def = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3559           message_arena, object_graph_def, submessage_arena);
3560     }
3561 
3562   } else {
3563 
3564   }
3565   _impl_.object_graph_def_ = object_graph_def;
3566   // @@protoc_insertion_point(field_set_allocated:tensorflow.MetaGraphDef.object_graph_def)
3567 }
3568 
3569 // -------------------------------------------------------------------
3570 
3571 // CollectionDef_NodeList
3572 
3573 // repeated string value = 1;
_internal_value_size()3574 inline int CollectionDef_NodeList::_internal_value_size() const {
3575   return _impl_.value_.size();
3576 }
value_size()3577 inline int CollectionDef_NodeList::value_size() const {
3578   return _internal_value_size();
3579 }
clear_value()3580 inline void CollectionDef_NodeList::clear_value() {
3581   _impl_.value_.Clear();
3582 }
add_value()3583 inline std::string* CollectionDef_NodeList::add_value() {
3584   std::string* _s = _internal_add_value();
3585   // @@protoc_insertion_point(field_add_mutable:tensorflow.CollectionDef.NodeList.value)
3586   return _s;
3587 }
_internal_value(int index)3588 inline const std::string& CollectionDef_NodeList::_internal_value(int index) const {
3589   return _impl_.value_.Get(index);
3590 }
value(int index)3591 inline const std::string& CollectionDef_NodeList::value(int index) const {
3592   // @@protoc_insertion_point(field_get:tensorflow.CollectionDef.NodeList.value)
3593   return _internal_value(index);
3594 }
mutable_value(int index)3595 inline std::string* CollectionDef_NodeList::mutable_value(int index) {
3596   // @@protoc_insertion_point(field_mutable:tensorflow.CollectionDef.NodeList.value)
3597   return _impl_.value_.Mutable(index);
3598 }
set_value(int index,const std::string & value)3599 inline void CollectionDef_NodeList::set_value(int index, const std::string& value) {
3600   _impl_.value_.Mutable(index)->assign(value);
3601   // @@protoc_insertion_point(field_set:tensorflow.CollectionDef.NodeList.value)
3602 }
set_value(int index,std::string && value)3603 inline void CollectionDef_NodeList::set_value(int index, std::string&& value) {
3604   _impl_.value_.Mutable(index)->assign(std::move(value));
3605   // @@protoc_insertion_point(field_set:tensorflow.CollectionDef.NodeList.value)
3606 }
set_value(int index,const char * value)3607 inline void CollectionDef_NodeList::set_value(int index, const char* value) {
3608   GOOGLE_DCHECK(value != nullptr);
3609   _impl_.value_.Mutable(index)->assign(value);
3610   // @@protoc_insertion_point(field_set_char:tensorflow.CollectionDef.NodeList.value)
3611 }
set_value(int index,const char * value,size_t size)3612 inline void CollectionDef_NodeList::set_value(int index, const char* value, size_t size) {
3613   _impl_.value_.Mutable(index)->assign(
3614     reinterpret_cast<const char*>(value), size);
3615   // @@protoc_insertion_point(field_set_pointer:tensorflow.CollectionDef.NodeList.value)
3616 }
_internal_add_value()3617 inline std::string* CollectionDef_NodeList::_internal_add_value() {
3618   return _impl_.value_.Add();
3619 }
add_value(const std::string & value)3620 inline void CollectionDef_NodeList::add_value(const std::string& value) {
3621   _impl_.value_.Add()->assign(value);
3622   // @@protoc_insertion_point(field_add:tensorflow.CollectionDef.NodeList.value)
3623 }
add_value(std::string && value)3624 inline void CollectionDef_NodeList::add_value(std::string&& value) {
3625   _impl_.value_.Add(std::move(value));
3626   // @@protoc_insertion_point(field_add:tensorflow.CollectionDef.NodeList.value)
3627 }
add_value(const char * value)3628 inline void CollectionDef_NodeList::add_value(const char* value) {
3629   GOOGLE_DCHECK(value != nullptr);
3630   _impl_.value_.Add()->assign(value);
3631   // @@protoc_insertion_point(field_add_char:tensorflow.CollectionDef.NodeList.value)
3632 }
add_value(const char * value,size_t size)3633 inline void CollectionDef_NodeList::add_value(const char* value, size_t size) {
3634   _impl_.value_.Add()->assign(reinterpret_cast<const char*>(value), size);
3635   // @@protoc_insertion_point(field_add_pointer:tensorflow.CollectionDef.NodeList.value)
3636 }
3637 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
value()3638 CollectionDef_NodeList::value() const {
3639   // @@protoc_insertion_point(field_list:tensorflow.CollectionDef.NodeList.value)
3640   return _impl_.value_;
3641 }
3642 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
mutable_value()3643 CollectionDef_NodeList::mutable_value() {
3644   // @@protoc_insertion_point(field_mutable_list:tensorflow.CollectionDef.NodeList.value)
3645   return &_impl_.value_;
3646 }
3647 
3648 // -------------------------------------------------------------------
3649 
3650 // CollectionDef_BytesList
3651 
3652 // repeated bytes value = 1;
_internal_value_size()3653 inline int CollectionDef_BytesList::_internal_value_size() const {
3654   return _impl_.value_.size();
3655 }
value_size()3656 inline int CollectionDef_BytesList::value_size() const {
3657   return _internal_value_size();
3658 }
clear_value()3659 inline void CollectionDef_BytesList::clear_value() {
3660   _impl_.value_.Clear();
3661 }
add_value()3662 inline std::string* CollectionDef_BytesList::add_value() {
3663   std::string* _s = _internal_add_value();
3664   // @@protoc_insertion_point(field_add_mutable:tensorflow.CollectionDef.BytesList.value)
3665   return _s;
3666 }
_internal_value(int index)3667 inline const std::string& CollectionDef_BytesList::_internal_value(int index) const {
3668   return _impl_.value_.Get(index);
3669 }
value(int index)3670 inline const std::string& CollectionDef_BytesList::value(int index) const {
3671   // @@protoc_insertion_point(field_get:tensorflow.CollectionDef.BytesList.value)
3672   return _internal_value(index);
3673 }
mutable_value(int index)3674 inline std::string* CollectionDef_BytesList::mutable_value(int index) {
3675   // @@protoc_insertion_point(field_mutable:tensorflow.CollectionDef.BytesList.value)
3676   return _impl_.value_.Mutable(index);
3677 }
set_value(int index,const std::string & value)3678 inline void CollectionDef_BytesList::set_value(int index, const std::string& value) {
3679   _impl_.value_.Mutable(index)->assign(value);
3680   // @@protoc_insertion_point(field_set:tensorflow.CollectionDef.BytesList.value)
3681 }
set_value(int index,std::string && value)3682 inline void CollectionDef_BytesList::set_value(int index, std::string&& value) {
3683   _impl_.value_.Mutable(index)->assign(std::move(value));
3684   // @@protoc_insertion_point(field_set:tensorflow.CollectionDef.BytesList.value)
3685 }
set_value(int index,const char * value)3686 inline void CollectionDef_BytesList::set_value(int index, const char* value) {
3687   GOOGLE_DCHECK(value != nullptr);
3688   _impl_.value_.Mutable(index)->assign(value);
3689   // @@protoc_insertion_point(field_set_char:tensorflow.CollectionDef.BytesList.value)
3690 }
set_value(int index,const void * value,size_t size)3691 inline void CollectionDef_BytesList::set_value(int index, const void* value, size_t size) {
3692   _impl_.value_.Mutable(index)->assign(
3693     reinterpret_cast<const char*>(value), size);
3694   // @@protoc_insertion_point(field_set_pointer:tensorflow.CollectionDef.BytesList.value)
3695 }
_internal_add_value()3696 inline std::string* CollectionDef_BytesList::_internal_add_value() {
3697   return _impl_.value_.Add();
3698 }
add_value(const std::string & value)3699 inline void CollectionDef_BytesList::add_value(const std::string& value) {
3700   _impl_.value_.Add()->assign(value);
3701   // @@protoc_insertion_point(field_add:tensorflow.CollectionDef.BytesList.value)
3702 }
add_value(std::string && value)3703 inline void CollectionDef_BytesList::add_value(std::string&& value) {
3704   _impl_.value_.Add(std::move(value));
3705   // @@protoc_insertion_point(field_add:tensorflow.CollectionDef.BytesList.value)
3706 }
add_value(const char * value)3707 inline void CollectionDef_BytesList::add_value(const char* value) {
3708   GOOGLE_DCHECK(value != nullptr);
3709   _impl_.value_.Add()->assign(value);
3710   // @@protoc_insertion_point(field_add_char:tensorflow.CollectionDef.BytesList.value)
3711 }
add_value(const void * value,size_t size)3712 inline void CollectionDef_BytesList::add_value(const void* value, size_t size) {
3713   _impl_.value_.Add()->assign(reinterpret_cast<const char*>(value), size);
3714   // @@protoc_insertion_point(field_add_pointer:tensorflow.CollectionDef.BytesList.value)
3715 }
3716 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
value()3717 CollectionDef_BytesList::value() const {
3718   // @@protoc_insertion_point(field_list:tensorflow.CollectionDef.BytesList.value)
3719   return _impl_.value_;
3720 }
3721 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
mutable_value()3722 CollectionDef_BytesList::mutable_value() {
3723   // @@protoc_insertion_point(field_mutable_list:tensorflow.CollectionDef.BytesList.value)
3724   return &_impl_.value_;
3725 }
3726 
3727 // -------------------------------------------------------------------
3728 
3729 // CollectionDef_Int64List
3730 
3731 // repeated int64 value = 1 [packed = true];
_internal_value_size()3732 inline int CollectionDef_Int64List::_internal_value_size() const {
3733   return _impl_.value_.size();
3734 }
value_size()3735 inline int CollectionDef_Int64List::value_size() const {
3736   return _internal_value_size();
3737 }
clear_value()3738 inline void CollectionDef_Int64List::clear_value() {
3739   _impl_.value_.Clear();
3740 }
_internal_value(int index)3741 inline ::int64_t CollectionDef_Int64List::_internal_value(int index) const {
3742   return _impl_.value_.Get(index);
3743 }
value(int index)3744 inline ::int64_t CollectionDef_Int64List::value(int index) const {
3745   // @@protoc_insertion_point(field_get:tensorflow.CollectionDef.Int64List.value)
3746   return _internal_value(index);
3747 }
set_value(int index,::int64_t value)3748 inline void CollectionDef_Int64List::set_value(int index, ::int64_t value) {
3749   _impl_.value_.Set(index, value);
3750   // @@protoc_insertion_point(field_set:tensorflow.CollectionDef.Int64List.value)
3751 }
_internal_add_value(::int64_t value)3752 inline void CollectionDef_Int64List::_internal_add_value(::int64_t value) {
3753   _impl_.value_.Add(value);
3754 }
add_value(::int64_t value)3755 inline void CollectionDef_Int64List::add_value(::int64_t value) {
3756   _internal_add_value(value);
3757   // @@protoc_insertion_point(field_add:tensorflow.CollectionDef.Int64List.value)
3758 }
3759 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >&
_internal_value()3760 CollectionDef_Int64List::_internal_value() const {
3761   return _impl_.value_;
3762 }
3763 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >&
value()3764 CollectionDef_Int64List::value() const {
3765   // @@protoc_insertion_point(field_list:tensorflow.CollectionDef.Int64List.value)
3766   return _internal_value();
3767 }
3768 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >*
_internal_mutable_value()3769 CollectionDef_Int64List::_internal_mutable_value() {
3770   return &_impl_.value_;
3771 }
3772 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >*
mutable_value()3773 CollectionDef_Int64List::mutable_value() {
3774   // @@protoc_insertion_point(field_mutable_list:tensorflow.CollectionDef.Int64List.value)
3775   return _internal_mutable_value();
3776 }
3777 
3778 // -------------------------------------------------------------------
3779 
3780 // CollectionDef_FloatList
3781 
3782 // repeated float value = 1 [packed = true];
_internal_value_size()3783 inline int CollectionDef_FloatList::_internal_value_size() const {
3784   return _impl_.value_.size();
3785 }
value_size()3786 inline int CollectionDef_FloatList::value_size() const {
3787   return _internal_value_size();
3788 }
clear_value()3789 inline void CollectionDef_FloatList::clear_value() {
3790   _impl_.value_.Clear();
3791 }
_internal_value(int index)3792 inline float CollectionDef_FloatList::_internal_value(int index) const {
3793   return _impl_.value_.Get(index);
3794 }
value(int index)3795 inline float CollectionDef_FloatList::value(int index) const {
3796   // @@protoc_insertion_point(field_get:tensorflow.CollectionDef.FloatList.value)
3797   return _internal_value(index);
3798 }
set_value(int index,float value)3799 inline void CollectionDef_FloatList::set_value(int index, float value) {
3800   _impl_.value_.Set(index, value);
3801   // @@protoc_insertion_point(field_set:tensorflow.CollectionDef.FloatList.value)
3802 }
_internal_add_value(float value)3803 inline void CollectionDef_FloatList::_internal_add_value(float value) {
3804   _impl_.value_.Add(value);
3805 }
add_value(float value)3806 inline void CollectionDef_FloatList::add_value(float value) {
3807   _internal_add_value(value);
3808   // @@protoc_insertion_point(field_add:tensorflow.CollectionDef.FloatList.value)
3809 }
3810 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
_internal_value()3811 CollectionDef_FloatList::_internal_value() const {
3812   return _impl_.value_;
3813 }
3814 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
value()3815 CollectionDef_FloatList::value() const {
3816   // @@protoc_insertion_point(field_list:tensorflow.CollectionDef.FloatList.value)
3817   return _internal_value();
3818 }
3819 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
_internal_mutable_value()3820 CollectionDef_FloatList::_internal_mutable_value() {
3821   return &_impl_.value_;
3822 }
3823 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
mutable_value()3824 CollectionDef_FloatList::mutable_value() {
3825   // @@protoc_insertion_point(field_mutable_list:tensorflow.CollectionDef.FloatList.value)
3826   return _internal_mutable_value();
3827 }
3828 
3829 // -------------------------------------------------------------------
3830 
3831 // CollectionDef_AnyList
3832 
3833 // repeated .google.protobuf.Any value = 1;
_internal_value_size()3834 inline int CollectionDef_AnyList::_internal_value_size() const {
3835   return _impl_.value_.size();
3836 }
value_size()3837 inline int CollectionDef_AnyList::value_size() const {
3838   return _internal_value_size();
3839 }
mutable_value(int index)3840 inline ::PROTOBUF_NAMESPACE_ID::Any* CollectionDef_AnyList::mutable_value(int index) {
3841   // @@protoc_insertion_point(field_mutable:tensorflow.CollectionDef.AnyList.value)
3842   return _impl_.value_.Mutable(index);
3843 }
3844 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >*
mutable_value()3845 CollectionDef_AnyList::mutable_value() {
3846   // @@protoc_insertion_point(field_mutable_list:tensorflow.CollectionDef.AnyList.value)
3847   return &_impl_.value_;
3848 }
_internal_value(int index)3849 inline const ::PROTOBUF_NAMESPACE_ID::Any& CollectionDef_AnyList::_internal_value(int index) const {
3850   return _impl_.value_.Get(index);
3851 }
value(int index)3852 inline const ::PROTOBUF_NAMESPACE_ID::Any& CollectionDef_AnyList::value(int index) const {
3853   // @@protoc_insertion_point(field_get:tensorflow.CollectionDef.AnyList.value)
3854   return _internal_value(index);
3855 }
_internal_add_value()3856 inline ::PROTOBUF_NAMESPACE_ID::Any* CollectionDef_AnyList::_internal_add_value() {
3857   return _impl_.value_.Add();
3858 }
add_value()3859 inline ::PROTOBUF_NAMESPACE_ID::Any* CollectionDef_AnyList::add_value() {
3860   ::PROTOBUF_NAMESPACE_ID::Any* _add = _internal_add_value();
3861   // @@protoc_insertion_point(field_add:tensorflow.CollectionDef.AnyList.value)
3862   return _add;
3863 }
3864 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Any >&
value()3865 CollectionDef_AnyList::value() const {
3866   // @@protoc_insertion_point(field_list:tensorflow.CollectionDef.AnyList.value)
3867   return _impl_.value_;
3868 }
3869 
3870 // -------------------------------------------------------------------
3871 
3872 // CollectionDef
3873 
3874 // .tensorflow.CollectionDef.NodeList node_list = 1;
_internal_has_node_list()3875 inline bool CollectionDef::_internal_has_node_list() const {
3876   return kind_case() == kNodeList;
3877 }
has_node_list()3878 inline bool CollectionDef::has_node_list() const {
3879   return _internal_has_node_list();
3880 }
set_has_node_list()3881 inline void CollectionDef::set_has_node_list() {
3882   _impl_._oneof_case_[0] = kNodeList;
3883 }
clear_node_list()3884 inline void CollectionDef::clear_node_list() {
3885   if (_internal_has_node_list()) {
3886     if (GetArenaForAllocation() == nullptr) {
3887       delete _impl_.kind_.node_list_;
3888     }
3889     clear_has_kind();
3890   }
3891 }
release_node_list()3892 inline ::tensorflow::CollectionDef_NodeList* CollectionDef::release_node_list() {
3893   // @@protoc_insertion_point(field_release:tensorflow.CollectionDef.node_list)
3894   if (_internal_has_node_list()) {
3895     clear_has_kind();
3896     ::tensorflow::CollectionDef_NodeList* temp = _impl_.kind_.node_list_;
3897     if (GetArenaForAllocation() != nullptr) {
3898       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3899     }
3900     _impl_.kind_.node_list_ = nullptr;
3901     return temp;
3902   } else {
3903     return nullptr;
3904   }
3905 }
_internal_node_list()3906 inline const ::tensorflow::CollectionDef_NodeList& CollectionDef::_internal_node_list() const {
3907   return _internal_has_node_list()
3908       ? *_impl_.kind_.node_list_
3909       : reinterpret_cast< ::tensorflow::CollectionDef_NodeList&>(::tensorflow::_CollectionDef_NodeList_default_instance_);
3910 }
node_list()3911 inline const ::tensorflow::CollectionDef_NodeList& CollectionDef::node_list() const {
3912   // @@protoc_insertion_point(field_get:tensorflow.CollectionDef.node_list)
3913   return _internal_node_list();
3914 }
unsafe_arena_release_node_list()3915 inline ::tensorflow::CollectionDef_NodeList* CollectionDef::unsafe_arena_release_node_list() {
3916   // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CollectionDef.node_list)
3917   if (_internal_has_node_list()) {
3918     clear_has_kind();
3919     ::tensorflow::CollectionDef_NodeList* temp = _impl_.kind_.node_list_;
3920     _impl_.kind_.node_list_ = nullptr;
3921     return temp;
3922   } else {
3923     return nullptr;
3924   }
3925 }
unsafe_arena_set_allocated_node_list(::tensorflow::CollectionDef_NodeList * node_list)3926 inline void CollectionDef::unsafe_arena_set_allocated_node_list(::tensorflow::CollectionDef_NodeList* node_list) {
3927   clear_kind();
3928   if (node_list) {
3929     set_has_node_list();
3930     _impl_.kind_.node_list_ = node_list;
3931   }
3932   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CollectionDef.node_list)
3933 }
_internal_mutable_node_list()3934 inline ::tensorflow::CollectionDef_NodeList* CollectionDef::_internal_mutable_node_list() {
3935   if (!_internal_has_node_list()) {
3936     clear_kind();
3937     set_has_node_list();
3938     _impl_.kind_.node_list_ = CreateMaybeMessage< ::tensorflow::CollectionDef_NodeList >(GetArenaForAllocation());
3939   }
3940   return _impl_.kind_.node_list_;
3941 }
mutable_node_list()3942 inline ::tensorflow::CollectionDef_NodeList* CollectionDef::mutable_node_list() {
3943   ::tensorflow::CollectionDef_NodeList* _msg = _internal_mutable_node_list();
3944   // @@protoc_insertion_point(field_mutable:tensorflow.CollectionDef.node_list)
3945   return _msg;
3946 }
3947 
3948 // .tensorflow.CollectionDef.BytesList bytes_list = 2;
_internal_has_bytes_list()3949 inline bool CollectionDef::_internal_has_bytes_list() const {
3950   return kind_case() == kBytesList;
3951 }
has_bytes_list()3952 inline bool CollectionDef::has_bytes_list() const {
3953   return _internal_has_bytes_list();
3954 }
set_has_bytes_list()3955 inline void CollectionDef::set_has_bytes_list() {
3956   _impl_._oneof_case_[0] = kBytesList;
3957 }
clear_bytes_list()3958 inline void CollectionDef::clear_bytes_list() {
3959   if (_internal_has_bytes_list()) {
3960     if (GetArenaForAllocation() == nullptr) {
3961       delete _impl_.kind_.bytes_list_;
3962     }
3963     clear_has_kind();
3964   }
3965 }
release_bytes_list()3966 inline ::tensorflow::CollectionDef_BytesList* CollectionDef::release_bytes_list() {
3967   // @@protoc_insertion_point(field_release:tensorflow.CollectionDef.bytes_list)
3968   if (_internal_has_bytes_list()) {
3969     clear_has_kind();
3970     ::tensorflow::CollectionDef_BytesList* temp = _impl_.kind_.bytes_list_;
3971     if (GetArenaForAllocation() != nullptr) {
3972       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3973     }
3974     _impl_.kind_.bytes_list_ = nullptr;
3975     return temp;
3976   } else {
3977     return nullptr;
3978   }
3979 }
_internal_bytes_list()3980 inline const ::tensorflow::CollectionDef_BytesList& CollectionDef::_internal_bytes_list() const {
3981   return _internal_has_bytes_list()
3982       ? *_impl_.kind_.bytes_list_
3983       : reinterpret_cast< ::tensorflow::CollectionDef_BytesList&>(::tensorflow::_CollectionDef_BytesList_default_instance_);
3984 }
bytes_list()3985 inline const ::tensorflow::CollectionDef_BytesList& CollectionDef::bytes_list() const {
3986   // @@protoc_insertion_point(field_get:tensorflow.CollectionDef.bytes_list)
3987   return _internal_bytes_list();
3988 }
unsafe_arena_release_bytes_list()3989 inline ::tensorflow::CollectionDef_BytesList* CollectionDef::unsafe_arena_release_bytes_list() {
3990   // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CollectionDef.bytes_list)
3991   if (_internal_has_bytes_list()) {
3992     clear_has_kind();
3993     ::tensorflow::CollectionDef_BytesList* temp = _impl_.kind_.bytes_list_;
3994     _impl_.kind_.bytes_list_ = nullptr;
3995     return temp;
3996   } else {
3997     return nullptr;
3998   }
3999 }
unsafe_arena_set_allocated_bytes_list(::tensorflow::CollectionDef_BytesList * bytes_list)4000 inline void CollectionDef::unsafe_arena_set_allocated_bytes_list(::tensorflow::CollectionDef_BytesList* bytes_list) {
4001   clear_kind();
4002   if (bytes_list) {
4003     set_has_bytes_list();
4004     _impl_.kind_.bytes_list_ = bytes_list;
4005   }
4006   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CollectionDef.bytes_list)
4007 }
_internal_mutable_bytes_list()4008 inline ::tensorflow::CollectionDef_BytesList* CollectionDef::_internal_mutable_bytes_list() {
4009   if (!_internal_has_bytes_list()) {
4010     clear_kind();
4011     set_has_bytes_list();
4012     _impl_.kind_.bytes_list_ = CreateMaybeMessage< ::tensorflow::CollectionDef_BytesList >(GetArenaForAllocation());
4013   }
4014   return _impl_.kind_.bytes_list_;
4015 }
mutable_bytes_list()4016 inline ::tensorflow::CollectionDef_BytesList* CollectionDef::mutable_bytes_list() {
4017   ::tensorflow::CollectionDef_BytesList* _msg = _internal_mutable_bytes_list();
4018   // @@protoc_insertion_point(field_mutable:tensorflow.CollectionDef.bytes_list)
4019   return _msg;
4020 }
4021 
4022 // .tensorflow.CollectionDef.Int64List int64_list = 3;
_internal_has_int64_list()4023 inline bool CollectionDef::_internal_has_int64_list() const {
4024   return kind_case() == kInt64List;
4025 }
has_int64_list()4026 inline bool CollectionDef::has_int64_list() const {
4027   return _internal_has_int64_list();
4028 }
set_has_int64_list()4029 inline void CollectionDef::set_has_int64_list() {
4030   _impl_._oneof_case_[0] = kInt64List;
4031 }
clear_int64_list()4032 inline void CollectionDef::clear_int64_list() {
4033   if (_internal_has_int64_list()) {
4034     if (GetArenaForAllocation() == nullptr) {
4035       delete _impl_.kind_.int64_list_;
4036     }
4037     clear_has_kind();
4038   }
4039 }
release_int64_list()4040 inline ::tensorflow::CollectionDef_Int64List* CollectionDef::release_int64_list() {
4041   // @@protoc_insertion_point(field_release:tensorflow.CollectionDef.int64_list)
4042   if (_internal_has_int64_list()) {
4043     clear_has_kind();
4044     ::tensorflow::CollectionDef_Int64List* temp = _impl_.kind_.int64_list_;
4045     if (GetArenaForAllocation() != nullptr) {
4046       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4047     }
4048     _impl_.kind_.int64_list_ = nullptr;
4049     return temp;
4050   } else {
4051     return nullptr;
4052   }
4053 }
_internal_int64_list()4054 inline const ::tensorflow::CollectionDef_Int64List& CollectionDef::_internal_int64_list() const {
4055   return _internal_has_int64_list()
4056       ? *_impl_.kind_.int64_list_
4057       : reinterpret_cast< ::tensorflow::CollectionDef_Int64List&>(::tensorflow::_CollectionDef_Int64List_default_instance_);
4058 }
int64_list()4059 inline const ::tensorflow::CollectionDef_Int64List& CollectionDef::int64_list() const {
4060   // @@protoc_insertion_point(field_get:tensorflow.CollectionDef.int64_list)
4061   return _internal_int64_list();
4062 }
unsafe_arena_release_int64_list()4063 inline ::tensorflow::CollectionDef_Int64List* CollectionDef::unsafe_arena_release_int64_list() {
4064   // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CollectionDef.int64_list)
4065   if (_internal_has_int64_list()) {
4066     clear_has_kind();
4067     ::tensorflow::CollectionDef_Int64List* temp = _impl_.kind_.int64_list_;
4068     _impl_.kind_.int64_list_ = nullptr;
4069     return temp;
4070   } else {
4071     return nullptr;
4072   }
4073 }
unsafe_arena_set_allocated_int64_list(::tensorflow::CollectionDef_Int64List * int64_list)4074 inline void CollectionDef::unsafe_arena_set_allocated_int64_list(::tensorflow::CollectionDef_Int64List* int64_list) {
4075   clear_kind();
4076   if (int64_list) {
4077     set_has_int64_list();
4078     _impl_.kind_.int64_list_ = int64_list;
4079   }
4080   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CollectionDef.int64_list)
4081 }
_internal_mutable_int64_list()4082 inline ::tensorflow::CollectionDef_Int64List* CollectionDef::_internal_mutable_int64_list() {
4083   if (!_internal_has_int64_list()) {
4084     clear_kind();
4085     set_has_int64_list();
4086     _impl_.kind_.int64_list_ = CreateMaybeMessage< ::tensorflow::CollectionDef_Int64List >(GetArenaForAllocation());
4087   }
4088   return _impl_.kind_.int64_list_;
4089 }
mutable_int64_list()4090 inline ::tensorflow::CollectionDef_Int64List* CollectionDef::mutable_int64_list() {
4091   ::tensorflow::CollectionDef_Int64List* _msg = _internal_mutable_int64_list();
4092   // @@protoc_insertion_point(field_mutable:tensorflow.CollectionDef.int64_list)
4093   return _msg;
4094 }
4095 
4096 // .tensorflow.CollectionDef.FloatList float_list = 4;
_internal_has_float_list()4097 inline bool CollectionDef::_internal_has_float_list() const {
4098   return kind_case() == kFloatList;
4099 }
has_float_list()4100 inline bool CollectionDef::has_float_list() const {
4101   return _internal_has_float_list();
4102 }
set_has_float_list()4103 inline void CollectionDef::set_has_float_list() {
4104   _impl_._oneof_case_[0] = kFloatList;
4105 }
clear_float_list()4106 inline void CollectionDef::clear_float_list() {
4107   if (_internal_has_float_list()) {
4108     if (GetArenaForAllocation() == nullptr) {
4109       delete _impl_.kind_.float_list_;
4110     }
4111     clear_has_kind();
4112   }
4113 }
release_float_list()4114 inline ::tensorflow::CollectionDef_FloatList* CollectionDef::release_float_list() {
4115   // @@protoc_insertion_point(field_release:tensorflow.CollectionDef.float_list)
4116   if (_internal_has_float_list()) {
4117     clear_has_kind();
4118     ::tensorflow::CollectionDef_FloatList* temp = _impl_.kind_.float_list_;
4119     if (GetArenaForAllocation() != nullptr) {
4120       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4121     }
4122     _impl_.kind_.float_list_ = nullptr;
4123     return temp;
4124   } else {
4125     return nullptr;
4126   }
4127 }
_internal_float_list()4128 inline const ::tensorflow::CollectionDef_FloatList& CollectionDef::_internal_float_list() const {
4129   return _internal_has_float_list()
4130       ? *_impl_.kind_.float_list_
4131       : reinterpret_cast< ::tensorflow::CollectionDef_FloatList&>(::tensorflow::_CollectionDef_FloatList_default_instance_);
4132 }
float_list()4133 inline const ::tensorflow::CollectionDef_FloatList& CollectionDef::float_list() const {
4134   // @@protoc_insertion_point(field_get:tensorflow.CollectionDef.float_list)
4135   return _internal_float_list();
4136 }
unsafe_arena_release_float_list()4137 inline ::tensorflow::CollectionDef_FloatList* CollectionDef::unsafe_arena_release_float_list() {
4138   // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CollectionDef.float_list)
4139   if (_internal_has_float_list()) {
4140     clear_has_kind();
4141     ::tensorflow::CollectionDef_FloatList* temp = _impl_.kind_.float_list_;
4142     _impl_.kind_.float_list_ = nullptr;
4143     return temp;
4144   } else {
4145     return nullptr;
4146   }
4147 }
unsafe_arena_set_allocated_float_list(::tensorflow::CollectionDef_FloatList * float_list)4148 inline void CollectionDef::unsafe_arena_set_allocated_float_list(::tensorflow::CollectionDef_FloatList* float_list) {
4149   clear_kind();
4150   if (float_list) {
4151     set_has_float_list();
4152     _impl_.kind_.float_list_ = float_list;
4153   }
4154   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CollectionDef.float_list)
4155 }
_internal_mutable_float_list()4156 inline ::tensorflow::CollectionDef_FloatList* CollectionDef::_internal_mutable_float_list() {
4157   if (!_internal_has_float_list()) {
4158     clear_kind();
4159     set_has_float_list();
4160     _impl_.kind_.float_list_ = CreateMaybeMessage< ::tensorflow::CollectionDef_FloatList >(GetArenaForAllocation());
4161   }
4162   return _impl_.kind_.float_list_;
4163 }
mutable_float_list()4164 inline ::tensorflow::CollectionDef_FloatList* CollectionDef::mutable_float_list() {
4165   ::tensorflow::CollectionDef_FloatList* _msg = _internal_mutable_float_list();
4166   // @@protoc_insertion_point(field_mutable:tensorflow.CollectionDef.float_list)
4167   return _msg;
4168 }
4169 
4170 // .tensorflow.CollectionDef.AnyList any_list = 5;
_internal_has_any_list()4171 inline bool CollectionDef::_internal_has_any_list() const {
4172   return kind_case() == kAnyList;
4173 }
has_any_list()4174 inline bool CollectionDef::has_any_list() const {
4175   return _internal_has_any_list();
4176 }
set_has_any_list()4177 inline void CollectionDef::set_has_any_list() {
4178   _impl_._oneof_case_[0] = kAnyList;
4179 }
clear_any_list()4180 inline void CollectionDef::clear_any_list() {
4181   if (_internal_has_any_list()) {
4182     if (GetArenaForAllocation() == nullptr) {
4183       delete _impl_.kind_.any_list_;
4184     }
4185     clear_has_kind();
4186   }
4187 }
release_any_list()4188 inline ::tensorflow::CollectionDef_AnyList* CollectionDef::release_any_list() {
4189   // @@protoc_insertion_point(field_release:tensorflow.CollectionDef.any_list)
4190   if (_internal_has_any_list()) {
4191     clear_has_kind();
4192     ::tensorflow::CollectionDef_AnyList* temp = _impl_.kind_.any_list_;
4193     if (GetArenaForAllocation() != nullptr) {
4194       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4195     }
4196     _impl_.kind_.any_list_ = nullptr;
4197     return temp;
4198   } else {
4199     return nullptr;
4200   }
4201 }
_internal_any_list()4202 inline const ::tensorflow::CollectionDef_AnyList& CollectionDef::_internal_any_list() const {
4203   return _internal_has_any_list()
4204       ? *_impl_.kind_.any_list_
4205       : reinterpret_cast< ::tensorflow::CollectionDef_AnyList&>(::tensorflow::_CollectionDef_AnyList_default_instance_);
4206 }
any_list()4207 inline const ::tensorflow::CollectionDef_AnyList& CollectionDef::any_list() const {
4208   // @@protoc_insertion_point(field_get:tensorflow.CollectionDef.any_list)
4209   return _internal_any_list();
4210 }
unsafe_arena_release_any_list()4211 inline ::tensorflow::CollectionDef_AnyList* CollectionDef::unsafe_arena_release_any_list() {
4212   // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.CollectionDef.any_list)
4213   if (_internal_has_any_list()) {
4214     clear_has_kind();
4215     ::tensorflow::CollectionDef_AnyList* temp = _impl_.kind_.any_list_;
4216     _impl_.kind_.any_list_ = nullptr;
4217     return temp;
4218   } else {
4219     return nullptr;
4220   }
4221 }
unsafe_arena_set_allocated_any_list(::tensorflow::CollectionDef_AnyList * any_list)4222 inline void CollectionDef::unsafe_arena_set_allocated_any_list(::tensorflow::CollectionDef_AnyList* any_list) {
4223   clear_kind();
4224   if (any_list) {
4225     set_has_any_list();
4226     _impl_.kind_.any_list_ = any_list;
4227   }
4228   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.CollectionDef.any_list)
4229 }
_internal_mutable_any_list()4230 inline ::tensorflow::CollectionDef_AnyList* CollectionDef::_internal_mutable_any_list() {
4231   if (!_internal_has_any_list()) {
4232     clear_kind();
4233     set_has_any_list();
4234     _impl_.kind_.any_list_ = CreateMaybeMessage< ::tensorflow::CollectionDef_AnyList >(GetArenaForAllocation());
4235   }
4236   return _impl_.kind_.any_list_;
4237 }
mutable_any_list()4238 inline ::tensorflow::CollectionDef_AnyList* CollectionDef::mutable_any_list() {
4239   ::tensorflow::CollectionDef_AnyList* _msg = _internal_mutable_any_list();
4240   // @@protoc_insertion_point(field_mutable:tensorflow.CollectionDef.any_list)
4241   return _msg;
4242 }
4243 
has_kind()4244 inline bool CollectionDef::has_kind() const {
4245   return kind_case() != KIND_NOT_SET;
4246 }
clear_has_kind()4247 inline void CollectionDef::clear_has_kind() {
4248   _impl_._oneof_case_[0] = KIND_NOT_SET;
4249 }
kind_case()4250 inline CollectionDef::KindCase CollectionDef::kind_case() const {
4251   return CollectionDef::KindCase(_impl_._oneof_case_[0]);
4252 }
4253 // -------------------------------------------------------------------
4254 
4255 // TensorInfo_CooSparse
4256 
4257 // string values_tensor_name = 1;
clear_values_tensor_name()4258 inline void TensorInfo_CooSparse::clear_values_tensor_name() {
4259   _impl_.values_tensor_name_.ClearToEmpty();
4260 }
values_tensor_name()4261 inline const std::string& TensorInfo_CooSparse::values_tensor_name() const {
4262   // @@protoc_insertion_point(field_get:tensorflow.TensorInfo.CooSparse.values_tensor_name)
4263   return _internal_values_tensor_name();
4264 }
4265 template <typename ArgT0, typename... ArgT>
4266 inline PROTOBUF_ALWAYS_INLINE
set_values_tensor_name(ArgT0 && arg0,ArgT...args)4267 void TensorInfo_CooSparse::set_values_tensor_name(ArgT0&& arg0, ArgT... args) {
4268 
4269  _impl_.values_tensor_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
4270   // @@protoc_insertion_point(field_set:tensorflow.TensorInfo.CooSparse.values_tensor_name)
4271 }
mutable_values_tensor_name()4272 inline std::string* TensorInfo_CooSparse::mutable_values_tensor_name() {
4273   std::string* _s = _internal_mutable_values_tensor_name();
4274   // @@protoc_insertion_point(field_mutable:tensorflow.TensorInfo.CooSparse.values_tensor_name)
4275   return _s;
4276 }
_internal_values_tensor_name()4277 inline const std::string& TensorInfo_CooSparse::_internal_values_tensor_name() const {
4278   return _impl_.values_tensor_name_.Get();
4279 }
_internal_set_values_tensor_name(const std::string & value)4280 inline void TensorInfo_CooSparse::_internal_set_values_tensor_name(const std::string& value) {
4281 
4282   _impl_.values_tensor_name_.Set(value, GetArenaForAllocation());
4283 }
_internal_mutable_values_tensor_name()4284 inline std::string* TensorInfo_CooSparse::_internal_mutable_values_tensor_name() {
4285 
4286   return _impl_.values_tensor_name_.Mutable(GetArenaForAllocation());
4287 }
release_values_tensor_name()4288 inline std::string* TensorInfo_CooSparse::release_values_tensor_name() {
4289   // @@protoc_insertion_point(field_release:tensorflow.TensorInfo.CooSparse.values_tensor_name)
4290   return _impl_.values_tensor_name_.Release();
4291 }
set_allocated_values_tensor_name(std::string * values_tensor_name)4292 inline void TensorInfo_CooSparse::set_allocated_values_tensor_name(std::string* values_tensor_name) {
4293   _impl_.values_tensor_name_.SetAllocated(values_tensor_name, GetArenaForAllocation());
4294 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4295   if (_impl_.values_tensor_name_.IsDefault()) {
4296     _impl_.values_tensor_name_.Set("", GetArenaForAllocation());
4297   }
4298 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4299   // @@protoc_insertion_point(field_set_allocated:tensorflow.TensorInfo.CooSparse.values_tensor_name)
4300 }
4301 
4302 // string indices_tensor_name = 2;
clear_indices_tensor_name()4303 inline void TensorInfo_CooSparse::clear_indices_tensor_name() {
4304   _impl_.indices_tensor_name_.ClearToEmpty();
4305 }
indices_tensor_name()4306 inline const std::string& TensorInfo_CooSparse::indices_tensor_name() const {
4307   // @@protoc_insertion_point(field_get:tensorflow.TensorInfo.CooSparse.indices_tensor_name)
4308   return _internal_indices_tensor_name();
4309 }
4310 template <typename ArgT0, typename... ArgT>
4311 inline PROTOBUF_ALWAYS_INLINE
set_indices_tensor_name(ArgT0 && arg0,ArgT...args)4312 void TensorInfo_CooSparse::set_indices_tensor_name(ArgT0&& arg0, ArgT... args) {
4313 
4314  _impl_.indices_tensor_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
4315   // @@protoc_insertion_point(field_set:tensorflow.TensorInfo.CooSparse.indices_tensor_name)
4316 }
mutable_indices_tensor_name()4317 inline std::string* TensorInfo_CooSparse::mutable_indices_tensor_name() {
4318   std::string* _s = _internal_mutable_indices_tensor_name();
4319   // @@protoc_insertion_point(field_mutable:tensorflow.TensorInfo.CooSparse.indices_tensor_name)
4320   return _s;
4321 }
_internal_indices_tensor_name()4322 inline const std::string& TensorInfo_CooSparse::_internal_indices_tensor_name() const {
4323   return _impl_.indices_tensor_name_.Get();
4324 }
_internal_set_indices_tensor_name(const std::string & value)4325 inline void TensorInfo_CooSparse::_internal_set_indices_tensor_name(const std::string& value) {
4326 
4327   _impl_.indices_tensor_name_.Set(value, GetArenaForAllocation());
4328 }
_internal_mutable_indices_tensor_name()4329 inline std::string* TensorInfo_CooSparse::_internal_mutable_indices_tensor_name() {
4330 
4331   return _impl_.indices_tensor_name_.Mutable(GetArenaForAllocation());
4332 }
release_indices_tensor_name()4333 inline std::string* TensorInfo_CooSparse::release_indices_tensor_name() {
4334   // @@protoc_insertion_point(field_release:tensorflow.TensorInfo.CooSparse.indices_tensor_name)
4335   return _impl_.indices_tensor_name_.Release();
4336 }
set_allocated_indices_tensor_name(std::string * indices_tensor_name)4337 inline void TensorInfo_CooSparse::set_allocated_indices_tensor_name(std::string* indices_tensor_name) {
4338   _impl_.indices_tensor_name_.SetAllocated(indices_tensor_name, GetArenaForAllocation());
4339 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4340   if (_impl_.indices_tensor_name_.IsDefault()) {
4341     _impl_.indices_tensor_name_.Set("", GetArenaForAllocation());
4342   }
4343 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4344   // @@protoc_insertion_point(field_set_allocated:tensorflow.TensorInfo.CooSparse.indices_tensor_name)
4345 }
4346 
4347 // string dense_shape_tensor_name = 3;
clear_dense_shape_tensor_name()4348 inline void TensorInfo_CooSparse::clear_dense_shape_tensor_name() {
4349   _impl_.dense_shape_tensor_name_.ClearToEmpty();
4350 }
dense_shape_tensor_name()4351 inline const std::string& TensorInfo_CooSparse::dense_shape_tensor_name() const {
4352   // @@protoc_insertion_point(field_get:tensorflow.TensorInfo.CooSparse.dense_shape_tensor_name)
4353   return _internal_dense_shape_tensor_name();
4354 }
4355 template <typename ArgT0, typename... ArgT>
4356 inline PROTOBUF_ALWAYS_INLINE
set_dense_shape_tensor_name(ArgT0 && arg0,ArgT...args)4357 void TensorInfo_CooSparse::set_dense_shape_tensor_name(ArgT0&& arg0, ArgT... args) {
4358 
4359  _impl_.dense_shape_tensor_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
4360   // @@protoc_insertion_point(field_set:tensorflow.TensorInfo.CooSparse.dense_shape_tensor_name)
4361 }
mutable_dense_shape_tensor_name()4362 inline std::string* TensorInfo_CooSparse::mutable_dense_shape_tensor_name() {
4363   std::string* _s = _internal_mutable_dense_shape_tensor_name();
4364   // @@protoc_insertion_point(field_mutable:tensorflow.TensorInfo.CooSparse.dense_shape_tensor_name)
4365   return _s;
4366 }
_internal_dense_shape_tensor_name()4367 inline const std::string& TensorInfo_CooSparse::_internal_dense_shape_tensor_name() const {
4368   return _impl_.dense_shape_tensor_name_.Get();
4369 }
_internal_set_dense_shape_tensor_name(const std::string & value)4370 inline void TensorInfo_CooSparse::_internal_set_dense_shape_tensor_name(const std::string& value) {
4371 
4372   _impl_.dense_shape_tensor_name_.Set(value, GetArenaForAllocation());
4373 }
_internal_mutable_dense_shape_tensor_name()4374 inline std::string* TensorInfo_CooSparse::_internal_mutable_dense_shape_tensor_name() {
4375 
4376   return _impl_.dense_shape_tensor_name_.Mutable(GetArenaForAllocation());
4377 }
release_dense_shape_tensor_name()4378 inline std::string* TensorInfo_CooSparse::release_dense_shape_tensor_name() {
4379   // @@protoc_insertion_point(field_release:tensorflow.TensorInfo.CooSparse.dense_shape_tensor_name)
4380   return _impl_.dense_shape_tensor_name_.Release();
4381 }
set_allocated_dense_shape_tensor_name(std::string * dense_shape_tensor_name)4382 inline void TensorInfo_CooSparse::set_allocated_dense_shape_tensor_name(std::string* dense_shape_tensor_name) {
4383   _impl_.dense_shape_tensor_name_.SetAllocated(dense_shape_tensor_name, GetArenaForAllocation());
4384 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4385   if (_impl_.dense_shape_tensor_name_.IsDefault()) {
4386     _impl_.dense_shape_tensor_name_.Set("", GetArenaForAllocation());
4387   }
4388 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4389   // @@protoc_insertion_point(field_set_allocated:tensorflow.TensorInfo.CooSparse.dense_shape_tensor_name)
4390 }
4391 
4392 // -------------------------------------------------------------------
4393 
4394 // TensorInfo_CompositeTensor
4395 
4396 // .tensorflow.TypeSpecProto type_spec = 1;
_internal_has_type_spec()4397 inline bool TensorInfo_CompositeTensor::_internal_has_type_spec() const {
4398   return this != internal_default_instance() && _impl_.type_spec_ != nullptr;
4399 }
has_type_spec()4400 inline bool TensorInfo_CompositeTensor::has_type_spec() const {
4401   return _internal_has_type_spec();
4402 }
_internal_type_spec()4403 inline const ::tensorflow::TypeSpecProto& TensorInfo_CompositeTensor::_internal_type_spec() const {
4404   const ::tensorflow::TypeSpecProto* p = _impl_.type_spec_;
4405   return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::TypeSpecProto&>(
4406       ::tensorflow::_TypeSpecProto_default_instance_);
4407 }
type_spec()4408 inline const ::tensorflow::TypeSpecProto& TensorInfo_CompositeTensor::type_spec() const {
4409   // @@protoc_insertion_point(field_get:tensorflow.TensorInfo.CompositeTensor.type_spec)
4410   return _internal_type_spec();
4411 }
unsafe_arena_set_allocated_type_spec(::tensorflow::TypeSpecProto * type_spec)4412 inline void TensorInfo_CompositeTensor::unsafe_arena_set_allocated_type_spec(
4413     ::tensorflow::TypeSpecProto* type_spec) {
4414   if (GetArenaForAllocation() == nullptr) {
4415     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.type_spec_);
4416   }
4417   _impl_.type_spec_ = type_spec;
4418   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.TensorInfo.CompositeTensor.type_spec)
4419 }
release_type_spec()4420 inline ::tensorflow::TypeSpecProto* TensorInfo_CompositeTensor::release_type_spec() {
4421 
4422   ::tensorflow::TypeSpecProto* temp = _impl_.type_spec_;
4423   _impl_.type_spec_ = nullptr;
4424 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4425   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4426   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4427   if (GetArenaForAllocation() == nullptr) { delete old; }
4428 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
4429   if (GetArenaForAllocation() != nullptr) {
4430     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4431   }
4432 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
4433   return temp;
4434 }
unsafe_arena_release_type_spec()4435 inline ::tensorflow::TypeSpecProto* TensorInfo_CompositeTensor::unsafe_arena_release_type_spec() {
4436   // @@protoc_insertion_point(field_release:tensorflow.TensorInfo.CompositeTensor.type_spec)
4437 
4438   ::tensorflow::TypeSpecProto* temp = _impl_.type_spec_;
4439   _impl_.type_spec_ = nullptr;
4440   return temp;
4441 }
_internal_mutable_type_spec()4442 inline ::tensorflow::TypeSpecProto* TensorInfo_CompositeTensor::_internal_mutable_type_spec() {
4443 
4444   if (_impl_.type_spec_ == nullptr) {
4445     auto* p = CreateMaybeMessage<::tensorflow::TypeSpecProto>(GetArenaForAllocation());
4446     _impl_.type_spec_ = p;
4447   }
4448   return _impl_.type_spec_;
4449 }
mutable_type_spec()4450 inline ::tensorflow::TypeSpecProto* TensorInfo_CompositeTensor::mutable_type_spec() {
4451   ::tensorflow::TypeSpecProto* _msg = _internal_mutable_type_spec();
4452   // @@protoc_insertion_point(field_mutable:tensorflow.TensorInfo.CompositeTensor.type_spec)
4453   return _msg;
4454 }
set_allocated_type_spec(::tensorflow::TypeSpecProto * type_spec)4455 inline void TensorInfo_CompositeTensor::set_allocated_type_spec(::tensorflow::TypeSpecProto* type_spec) {
4456   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4457   if (message_arena == nullptr) {
4458     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.type_spec_);
4459   }
4460   if (type_spec) {
4461     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4462         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
4463                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(type_spec));
4464     if (message_arena != submessage_arena) {
4465       type_spec = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4466           message_arena, type_spec, submessage_arena);
4467     }
4468 
4469   } else {
4470 
4471   }
4472   _impl_.type_spec_ = type_spec;
4473   // @@protoc_insertion_point(field_set_allocated:tensorflow.TensorInfo.CompositeTensor.type_spec)
4474 }
4475 
4476 // repeated .tensorflow.TensorInfo components = 2;
_internal_components_size()4477 inline int TensorInfo_CompositeTensor::_internal_components_size() const {
4478   return _impl_.components_.size();
4479 }
components_size()4480 inline int TensorInfo_CompositeTensor::components_size() const {
4481   return _internal_components_size();
4482 }
clear_components()4483 inline void TensorInfo_CompositeTensor::clear_components() {
4484   _impl_.components_.Clear();
4485 }
mutable_components(int index)4486 inline ::tensorflow::TensorInfo* TensorInfo_CompositeTensor::mutable_components(int index) {
4487   // @@protoc_insertion_point(field_mutable:tensorflow.TensorInfo.CompositeTensor.components)
4488   return _impl_.components_.Mutable(index);
4489 }
4490 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorInfo >*
mutable_components()4491 TensorInfo_CompositeTensor::mutable_components() {
4492   // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorInfo.CompositeTensor.components)
4493   return &_impl_.components_;
4494 }
_internal_components(int index)4495 inline const ::tensorflow::TensorInfo& TensorInfo_CompositeTensor::_internal_components(int index) const {
4496   return _impl_.components_.Get(index);
4497 }
components(int index)4498 inline const ::tensorflow::TensorInfo& TensorInfo_CompositeTensor::components(int index) const {
4499   // @@protoc_insertion_point(field_get:tensorflow.TensorInfo.CompositeTensor.components)
4500   return _internal_components(index);
4501 }
_internal_add_components()4502 inline ::tensorflow::TensorInfo* TensorInfo_CompositeTensor::_internal_add_components() {
4503   return _impl_.components_.Add();
4504 }
add_components()4505 inline ::tensorflow::TensorInfo* TensorInfo_CompositeTensor::add_components() {
4506   ::tensorflow::TensorInfo* _add = _internal_add_components();
4507   // @@protoc_insertion_point(field_add:tensorflow.TensorInfo.CompositeTensor.components)
4508   return _add;
4509 }
4510 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorInfo >&
components()4511 TensorInfo_CompositeTensor::components() const {
4512   // @@protoc_insertion_point(field_list:tensorflow.TensorInfo.CompositeTensor.components)
4513   return _impl_.components_;
4514 }
4515 
4516 // -------------------------------------------------------------------
4517 
4518 // TensorInfo
4519 
4520 // string name = 1;
_internal_has_name()4521 inline bool TensorInfo::_internal_has_name() const {
4522   return encoding_case() == kName;
4523 }
has_name()4524 inline bool TensorInfo::has_name() const {
4525   return _internal_has_name();
4526 }
set_has_name()4527 inline void TensorInfo::set_has_name() {
4528   _impl_._oneof_case_[0] = kName;
4529 }
clear_name()4530 inline void TensorInfo::clear_name() {
4531   if (_internal_has_name()) {
4532     _impl_.encoding_.name_.Destroy();
4533     clear_has_encoding();
4534   }
4535 }
name()4536 inline const std::string& TensorInfo::name() const {
4537   // @@protoc_insertion_point(field_get:tensorflow.TensorInfo.name)
4538   return _internal_name();
4539 }
4540 template <typename ArgT0, typename... ArgT>
set_name(ArgT0 && arg0,ArgT...args)4541 inline void TensorInfo::set_name(ArgT0&& arg0, ArgT... args) {
4542   if (!_internal_has_name()) {
4543     clear_encoding();
4544     set_has_name();
4545     _impl_.encoding_.name_.InitDefault();
4546   }
4547   _impl_.encoding_.name_.Set( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
4548   // @@protoc_insertion_point(field_set:tensorflow.TensorInfo.name)
4549 }
mutable_name()4550 inline std::string* TensorInfo::mutable_name() {
4551   std::string* _s = _internal_mutable_name();
4552   // @@protoc_insertion_point(field_mutable:tensorflow.TensorInfo.name)
4553   return _s;
4554 }
_internal_name()4555 inline const std::string& TensorInfo::_internal_name() const {
4556   if (_internal_has_name()) {
4557     return _impl_.encoding_.name_.Get();
4558   }
4559   return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
4560 }
_internal_set_name(const std::string & value)4561 inline void TensorInfo::_internal_set_name(const std::string& value) {
4562   if (!_internal_has_name()) {
4563     clear_encoding();
4564     set_has_name();
4565     _impl_.encoding_.name_.InitDefault();
4566   }
4567   _impl_.encoding_.name_.Set(value, GetArenaForAllocation());
4568 }
_internal_mutable_name()4569 inline std::string* TensorInfo::_internal_mutable_name() {
4570   if (!_internal_has_name()) {
4571     clear_encoding();
4572     set_has_name();
4573     _impl_.encoding_.name_.InitDefault();
4574   }
4575   return _impl_.encoding_.name_.Mutable(      GetArenaForAllocation());
4576 }
release_name()4577 inline std::string* TensorInfo::release_name() {
4578   // @@protoc_insertion_point(field_release:tensorflow.TensorInfo.name)
4579   if (_internal_has_name()) {
4580     clear_has_encoding();
4581     return _impl_.encoding_.name_.Release();
4582   } else {
4583     return nullptr;
4584   }
4585 }
set_allocated_name(std::string * name)4586 inline void TensorInfo::set_allocated_name(std::string* name) {
4587   if (has_encoding()) {
4588     clear_encoding();
4589   }
4590   if (name != nullptr) {
4591     set_has_name();
4592     _impl_.encoding_.name_.InitAllocated(name, GetArenaForAllocation());
4593   }
4594   // @@protoc_insertion_point(field_set_allocated:tensorflow.TensorInfo.name)
4595 }
4596 
4597 // .tensorflow.TensorInfo.CooSparse coo_sparse = 4;
_internal_has_coo_sparse()4598 inline bool TensorInfo::_internal_has_coo_sparse() const {
4599   return encoding_case() == kCooSparse;
4600 }
has_coo_sparse()4601 inline bool TensorInfo::has_coo_sparse() const {
4602   return _internal_has_coo_sparse();
4603 }
set_has_coo_sparse()4604 inline void TensorInfo::set_has_coo_sparse() {
4605   _impl_._oneof_case_[0] = kCooSparse;
4606 }
clear_coo_sparse()4607 inline void TensorInfo::clear_coo_sparse() {
4608   if (_internal_has_coo_sparse()) {
4609     if (GetArenaForAllocation() == nullptr) {
4610       delete _impl_.encoding_.coo_sparse_;
4611     }
4612     clear_has_encoding();
4613   }
4614 }
release_coo_sparse()4615 inline ::tensorflow::TensorInfo_CooSparse* TensorInfo::release_coo_sparse() {
4616   // @@protoc_insertion_point(field_release:tensorflow.TensorInfo.coo_sparse)
4617   if (_internal_has_coo_sparse()) {
4618     clear_has_encoding();
4619     ::tensorflow::TensorInfo_CooSparse* temp = _impl_.encoding_.coo_sparse_;
4620     if (GetArenaForAllocation() != nullptr) {
4621       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4622     }
4623     _impl_.encoding_.coo_sparse_ = nullptr;
4624     return temp;
4625   } else {
4626     return nullptr;
4627   }
4628 }
_internal_coo_sparse()4629 inline const ::tensorflow::TensorInfo_CooSparse& TensorInfo::_internal_coo_sparse() const {
4630   return _internal_has_coo_sparse()
4631       ? *_impl_.encoding_.coo_sparse_
4632       : reinterpret_cast< ::tensorflow::TensorInfo_CooSparse&>(::tensorflow::_TensorInfo_CooSparse_default_instance_);
4633 }
coo_sparse()4634 inline const ::tensorflow::TensorInfo_CooSparse& TensorInfo::coo_sparse() const {
4635   // @@protoc_insertion_point(field_get:tensorflow.TensorInfo.coo_sparse)
4636   return _internal_coo_sparse();
4637 }
unsafe_arena_release_coo_sparse()4638 inline ::tensorflow::TensorInfo_CooSparse* TensorInfo::unsafe_arena_release_coo_sparse() {
4639   // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.TensorInfo.coo_sparse)
4640   if (_internal_has_coo_sparse()) {
4641     clear_has_encoding();
4642     ::tensorflow::TensorInfo_CooSparse* temp = _impl_.encoding_.coo_sparse_;
4643     _impl_.encoding_.coo_sparse_ = nullptr;
4644     return temp;
4645   } else {
4646     return nullptr;
4647   }
4648 }
unsafe_arena_set_allocated_coo_sparse(::tensorflow::TensorInfo_CooSparse * coo_sparse)4649 inline void TensorInfo::unsafe_arena_set_allocated_coo_sparse(::tensorflow::TensorInfo_CooSparse* coo_sparse) {
4650   clear_encoding();
4651   if (coo_sparse) {
4652     set_has_coo_sparse();
4653     _impl_.encoding_.coo_sparse_ = coo_sparse;
4654   }
4655   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.TensorInfo.coo_sparse)
4656 }
_internal_mutable_coo_sparse()4657 inline ::tensorflow::TensorInfo_CooSparse* TensorInfo::_internal_mutable_coo_sparse() {
4658   if (!_internal_has_coo_sparse()) {
4659     clear_encoding();
4660     set_has_coo_sparse();
4661     _impl_.encoding_.coo_sparse_ = CreateMaybeMessage< ::tensorflow::TensorInfo_CooSparse >(GetArenaForAllocation());
4662   }
4663   return _impl_.encoding_.coo_sparse_;
4664 }
mutable_coo_sparse()4665 inline ::tensorflow::TensorInfo_CooSparse* TensorInfo::mutable_coo_sparse() {
4666   ::tensorflow::TensorInfo_CooSparse* _msg = _internal_mutable_coo_sparse();
4667   // @@protoc_insertion_point(field_mutable:tensorflow.TensorInfo.coo_sparse)
4668   return _msg;
4669 }
4670 
4671 // .tensorflow.TensorInfo.CompositeTensor composite_tensor = 5;
_internal_has_composite_tensor()4672 inline bool TensorInfo::_internal_has_composite_tensor() const {
4673   return encoding_case() == kCompositeTensor;
4674 }
has_composite_tensor()4675 inline bool TensorInfo::has_composite_tensor() const {
4676   return _internal_has_composite_tensor();
4677 }
set_has_composite_tensor()4678 inline void TensorInfo::set_has_composite_tensor() {
4679   _impl_._oneof_case_[0] = kCompositeTensor;
4680 }
clear_composite_tensor()4681 inline void TensorInfo::clear_composite_tensor() {
4682   if (_internal_has_composite_tensor()) {
4683     if (GetArenaForAllocation() == nullptr) {
4684       delete _impl_.encoding_.composite_tensor_;
4685     }
4686     clear_has_encoding();
4687   }
4688 }
release_composite_tensor()4689 inline ::tensorflow::TensorInfo_CompositeTensor* TensorInfo::release_composite_tensor() {
4690   // @@protoc_insertion_point(field_release:tensorflow.TensorInfo.composite_tensor)
4691   if (_internal_has_composite_tensor()) {
4692     clear_has_encoding();
4693     ::tensorflow::TensorInfo_CompositeTensor* temp = _impl_.encoding_.composite_tensor_;
4694     if (GetArenaForAllocation() != nullptr) {
4695       temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4696     }
4697     _impl_.encoding_.composite_tensor_ = nullptr;
4698     return temp;
4699   } else {
4700     return nullptr;
4701   }
4702 }
_internal_composite_tensor()4703 inline const ::tensorflow::TensorInfo_CompositeTensor& TensorInfo::_internal_composite_tensor() const {
4704   return _internal_has_composite_tensor()
4705       ? *_impl_.encoding_.composite_tensor_
4706       : reinterpret_cast< ::tensorflow::TensorInfo_CompositeTensor&>(::tensorflow::_TensorInfo_CompositeTensor_default_instance_);
4707 }
composite_tensor()4708 inline const ::tensorflow::TensorInfo_CompositeTensor& TensorInfo::composite_tensor() const {
4709   // @@protoc_insertion_point(field_get:tensorflow.TensorInfo.composite_tensor)
4710   return _internal_composite_tensor();
4711 }
unsafe_arena_release_composite_tensor()4712 inline ::tensorflow::TensorInfo_CompositeTensor* TensorInfo::unsafe_arena_release_composite_tensor() {
4713   // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.TensorInfo.composite_tensor)
4714   if (_internal_has_composite_tensor()) {
4715     clear_has_encoding();
4716     ::tensorflow::TensorInfo_CompositeTensor* temp = _impl_.encoding_.composite_tensor_;
4717     _impl_.encoding_.composite_tensor_ = nullptr;
4718     return temp;
4719   } else {
4720     return nullptr;
4721   }
4722 }
unsafe_arena_set_allocated_composite_tensor(::tensorflow::TensorInfo_CompositeTensor * composite_tensor)4723 inline void TensorInfo::unsafe_arena_set_allocated_composite_tensor(::tensorflow::TensorInfo_CompositeTensor* composite_tensor) {
4724   clear_encoding();
4725   if (composite_tensor) {
4726     set_has_composite_tensor();
4727     _impl_.encoding_.composite_tensor_ = composite_tensor;
4728   }
4729   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.TensorInfo.composite_tensor)
4730 }
_internal_mutable_composite_tensor()4731 inline ::tensorflow::TensorInfo_CompositeTensor* TensorInfo::_internal_mutable_composite_tensor() {
4732   if (!_internal_has_composite_tensor()) {
4733     clear_encoding();
4734     set_has_composite_tensor();
4735     _impl_.encoding_.composite_tensor_ = CreateMaybeMessage< ::tensorflow::TensorInfo_CompositeTensor >(GetArenaForAllocation());
4736   }
4737   return _impl_.encoding_.composite_tensor_;
4738 }
mutable_composite_tensor()4739 inline ::tensorflow::TensorInfo_CompositeTensor* TensorInfo::mutable_composite_tensor() {
4740   ::tensorflow::TensorInfo_CompositeTensor* _msg = _internal_mutable_composite_tensor();
4741   // @@protoc_insertion_point(field_mutable:tensorflow.TensorInfo.composite_tensor)
4742   return _msg;
4743 }
4744 
4745 // .tensorflow.DataType dtype = 2;
clear_dtype()4746 inline void TensorInfo::clear_dtype() {
4747   _impl_.dtype_ = 0;
4748 }
_internal_dtype()4749 inline ::tensorflow::DataType TensorInfo::_internal_dtype() const {
4750   return static_cast< ::tensorflow::DataType >(_impl_.dtype_);
4751 }
dtype()4752 inline ::tensorflow::DataType TensorInfo::dtype() const {
4753   // @@protoc_insertion_point(field_get:tensorflow.TensorInfo.dtype)
4754   return _internal_dtype();
4755 }
_internal_set_dtype(::tensorflow::DataType value)4756 inline void TensorInfo::_internal_set_dtype(::tensorflow::DataType value) {
4757 
4758   _impl_.dtype_ = value;
4759 }
set_dtype(::tensorflow::DataType value)4760 inline void TensorInfo::set_dtype(::tensorflow::DataType value) {
4761   _internal_set_dtype(value);
4762   // @@protoc_insertion_point(field_set:tensorflow.TensorInfo.dtype)
4763 }
4764 
4765 // .tensorflow.TensorShapeProto tensor_shape = 3;
_internal_has_tensor_shape()4766 inline bool TensorInfo::_internal_has_tensor_shape() const {
4767   return this != internal_default_instance() && _impl_.tensor_shape_ != nullptr;
4768 }
has_tensor_shape()4769 inline bool TensorInfo::has_tensor_shape() const {
4770   return _internal_has_tensor_shape();
4771 }
_internal_tensor_shape()4772 inline const ::tensorflow::TensorShapeProto& TensorInfo::_internal_tensor_shape() const {
4773   const ::tensorflow::TensorShapeProto* p = _impl_.tensor_shape_;
4774   return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::TensorShapeProto&>(
4775       ::tensorflow::_TensorShapeProto_default_instance_);
4776 }
tensor_shape()4777 inline const ::tensorflow::TensorShapeProto& TensorInfo::tensor_shape() const {
4778   // @@protoc_insertion_point(field_get:tensorflow.TensorInfo.tensor_shape)
4779   return _internal_tensor_shape();
4780 }
unsafe_arena_set_allocated_tensor_shape(::tensorflow::TensorShapeProto * tensor_shape)4781 inline void TensorInfo::unsafe_arena_set_allocated_tensor_shape(
4782     ::tensorflow::TensorShapeProto* tensor_shape) {
4783   if (GetArenaForAllocation() == nullptr) {
4784     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tensor_shape_);
4785   }
4786   _impl_.tensor_shape_ = tensor_shape;
4787   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.TensorInfo.tensor_shape)
4788 }
release_tensor_shape()4789 inline ::tensorflow::TensorShapeProto* TensorInfo::release_tensor_shape() {
4790 
4791   ::tensorflow::TensorShapeProto* temp = _impl_.tensor_shape_;
4792   _impl_.tensor_shape_ = nullptr;
4793 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
4794   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
4795   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4796   if (GetArenaForAllocation() == nullptr) { delete old; }
4797 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
4798   if (GetArenaForAllocation() != nullptr) {
4799     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4800   }
4801 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
4802   return temp;
4803 }
unsafe_arena_release_tensor_shape()4804 inline ::tensorflow::TensorShapeProto* TensorInfo::unsafe_arena_release_tensor_shape() {
4805   // @@protoc_insertion_point(field_release:tensorflow.TensorInfo.tensor_shape)
4806 
4807   ::tensorflow::TensorShapeProto* temp = _impl_.tensor_shape_;
4808   _impl_.tensor_shape_ = nullptr;
4809   return temp;
4810 }
_internal_mutable_tensor_shape()4811 inline ::tensorflow::TensorShapeProto* TensorInfo::_internal_mutable_tensor_shape() {
4812 
4813   if (_impl_.tensor_shape_ == nullptr) {
4814     auto* p = CreateMaybeMessage<::tensorflow::TensorShapeProto>(GetArenaForAllocation());
4815     _impl_.tensor_shape_ = p;
4816   }
4817   return _impl_.tensor_shape_;
4818 }
mutable_tensor_shape()4819 inline ::tensorflow::TensorShapeProto* TensorInfo::mutable_tensor_shape() {
4820   ::tensorflow::TensorShapeProto* _msg = _internal_mutable_tensor_shape();
4821   // @@protoc_insertion_point(field_mutable:tensorflow.TensorInfo.tensor_shape)
4822   return _msg;
4823 }
set_allocated_tensor_shape(::tensorflow::TensorShapeProto * tensor_shape)4824 inline void TensorInfo::set_allocated_tensor_shape(::tensorflow::TensorShapeProto* tensor_shape) {
4825   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
4826   if (message_arena == nullptr) {
4827     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tensor_shape_);
4828   }
4829   if (tensor_shape) {
4830     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4831         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
4832                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(tensor_shape));
4833     if (message_arena != submessage_arena) {
4834       tensor_shape = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4835           message_arena, tensor_shape, submessage_arena);
4836     }
4837 
4838   } else {
4839 
4840   }
4841   _impl_.tensor_shape_ = tensor_shape;
4842   // @@protoc_insertion_point(field_set_allocated:tensorflow.TensorInfo.tensor_shape)
4843 }
4844 
has_encoding()4845 inline bool TensorInfo::has_encoding() const {
4846   return encoding_case() != ENCODING_NOT_SET;
4847 }
clear_has_encoding()4848 inline void TensorInfo::clear_has_encoding() {
4849   _impl_._oneof_case_[0] = ENCODING_NOT_SET;
4850 }
encoding_case()4851 inline TensorInfo::EncodingCase TensorInfo::encoding_case() const {
4852   return TensorInfo::EncodingCase(_impl_._oneof_case_[0]);
4853 }
4854 // -------------------------------------------------------------------
4855 
4856 // -------------------------------------------------------------------
4857 
4858 // -------------------------------------------------------------------
4859 
4860 // SignatureDef
4861 
4862 // map<string, .tensorflow.TensorInfo> inputs = 1;
_internal_inputs_size()4863 inline int SignatureDef::_internal_inputs_size() const {
4864   return _impl_.inputs_.size();
4865 }
inputs_size()4866 inline int SignatureDef::inputs_size() const {
4867   return _internal_inputs_size();
4868 }
clear_inputs()4869 inline void SignatureDef::clear_inputs() {
4870   _impl_.inputs_.Clear();
4871 }
4872 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::TensorInfo >&
_internal_inputs()4873 SignatureDef::_internal_inputs() const {
4874   return _impl_.inputs_.GetMap();
4875 }
4876 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::TensorInfo >&
inputs()4877 SignatureDef::inputs() const {
4878   // @@protoc_insertion_point(field_map:tensorflow.SignatureDef.inputs)
4879   return _internal_inputs();
4880 }
4881 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::TensorInfo >*
_internal_mutable_inputs()4882 SignatureDef::_internal_mutable_inputs() {
4883   return _impl_.inputs_.MutableMap();
4884 }
4885 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::TensorInfo >*
mutable_inputs()4886 SignatureDef::mutable_inputs() {
4887   // @@protoc_insertion_point(field_mutable_map:tensorflow.SignatureDef.inputs)
4888   return _internal_mutable_inputs();
4889 }
4890 
4891 // map<string, .tensorflow.TensorInfo> outputs = 2;
_internal_outputs_size()4892 inline int SignatureDef::_internal_outputs_size() const {
4893   return _impl_.outputs_.size();
4894 }
outputs_size()4895 inline int SignatureDef::outputs_size() const {
4896   return _internal_outputs_size();
4897 }
clear_outputs()4898 inline void SignatureDef::clear_outputs() {
4899   _impl_.outputs_.Clear();
4900 }
4901 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::TensorInfo >&
_internal_outputs()4902 SignatureDef::_internal_outputs() const {
4903   return _impl_.outputs_.GetMap();
4904 }
4905 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::TensorInfo >&
outputs()4906 SignatureDef::outputs() const {
4907   // @@protoc_insertion_point(field_map:tensorflow.SignatureDef.outputs)
4908   return _internal_outputs();
4909 }
4910 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::TensorInfo >*
_internal_mutable_outputs()4911 SignatureDef::_internal_mutable_outputs() {
4912   return _impl_.outputs_.MutableMap();
4913 }
4914 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::TensorInfo >*
mutable_outputs()4915 SignatureDef::mutable_outputs() {
4916   // @@protoc_insertion_point(field_mutable_map:tensorflow.SignatureDef.outputs)
4917   return _internal_mutable_outputs();
4918 }
4919 
4920 // string method_name = 3;
clear_method_name()4921 inline void SignatureDef::clear_method_name() {
4922   _impl_.method_name_.ClearToEmpty();
4923 }
method_name()4924 inline const std::string& SignatureDef::method_name() const {
4925   // @@protoc_insertion_point(field_get:tensorflow.SignatureDef.method_name)
4926   return _internal_method_name();
4927 }
4928 template <typename ArgT0, typename... ArgT>
4929 inline PROTOBUF_ALWAYS_INLINE
set_method_name(ArgT0 && arg0,ArgT...args)4930 void SignatureDef::set_method_name(ArgT0&& arg0, ArgT... args) {
4931 
4932  _impl_.method_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
4933   // @@protoc_insertion_point(field_set:tensorflow.SignatureDef.method_name)
4934 }
mutable_method_name()4935 inline std::string* SignatureDef::mutable_method_name() {
4936   std::string* _s = _internal_mutable_method_name();
4937   // @@protoc_insertion_point(field_mutable:tensorflow.SignatureDef.method_name)
4938   return _s;
4939 }
_internal_method_name()4940 inline const std::string& SignatureDef::_internal_method_name() const {
4941   return _impl_.method_name_.Get();
4942 }
_internal_set_method_name(const std::string & value)4943 inline void SignatureDef::_internal_set_method_name(const std::string& value) {
4944 
4945   _impl_.method_name_.Set(value, GetArenaForAllocation());
4946 }
_internal_mutable_method_name()4947 inline std::string* SignatureDef::_internal_mutable_method_name() {
4948 
4949   return _impl_.method_name_.Mutable(GetArenaForAllocation());
4950 }
release_method_name()4951 inline std::string* SignatureDef::release_method_name() {
4952   // @@protoc_insertion_point(field_release:tensorflow.SignatureDef.method_name)
4953   return _impl_.method_name_.Release();
4954 }
set_allocated_method_name(std::string * method_name)4955 inline void SignatureDef::set_allocated_method_name(std::string* method_name) {
4956   _impl_.method_name_.SetAllocated(method_name, GetArenaForAllocation());
4957 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4958   if (_impl_.method_name_.IsDefault()) {
4959     _impl_.method_name_.Set("", GetArenaForAllocation());
4960   }
4961 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4962   // @@protoc_insertion_point(field_set_allocated:tensorflow.SignatureDef.method_name)
4963 }
4964 
4965 // -------------------------------------------------------------------
4966 
4967 // AssetFileDef
4968 
4969 // .tensorflow.TensorInfo tensor_info = 1;
_internal_has_tensor_info()4970 inline bool AssetFileDef::_internal_has_tensor_info() const {
4971   return this != internal_default_instance() && _impl_.tensor_info_ != nullptr;
4972 }
has_tensor_info()4973 inline bool AssetFileDef::has_tensor_info() const {
4974   return _internal_has_tensor_info();
4975 }
clear_tensor_info()4976 inline void AssetFileDef::clear_tensor_info() {
4977   if (GetArenaForAllocation() == nullptr && _impl_.tensor_info_ != nullptr) {
4978     delete _impl_.tensor_info_;
4979   }
4980   _impl_.tensor_info_ = nullptr;
4981 }
_internal_tensor_info()4982 inline const ::tensorflow::TensorInfo& AssetFileDef::_internal_tensor_info() const {
4983   const ::tensorflow::TensorInfo* p = _impl_.tensor_info_;
4984   return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::TensorInfo&>(
4985       ::tensorflow::_TensorInfo_default_instance_);
4986 }
tensor_info()4987 inline const ::tensorflow::TensorInfo& AssetFileDef::tensor_info() const {
4988   // @@protoc_insertion_point(field_get:tensorflow.AssetFileDef.tensor_info)
4989   return _internal_tensor_info();
4990 }
unsafe_arena_set_allocated_tensor_info(::tensorflow::TensorInfo * tensor_info)4991 inline void AssetFileDef::unsafe_arena_set_allocated_tensor_info(
4992     ::tensorflow::TensorInfo* tensor_info) {
4993   if (GetArenaForAllocation() == nullptr) {
4994     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tensor_info_);
4995   }
4996   _impl_.tensor_info_ = tensor_info;
4997   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.AssetFileDef.tensor_info)
4998 }
release_tensor_info()4999 inline ::tensorflow::TensorInfo* AssetFileDef::release_tensor_info() {
5000 
5001   ::tensorflow::TensorInfo* temp = _impl_.tensor_info_;
5002   _impl_.tensor_info_ = nullptr;
5003 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5004   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
5005   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5006   if (GetArenaForAllocation() == nullptr) { delete old; }
5007 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
5008   if (GetArenaForAllocation() != nullptr) {
5009     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5010   }
5011 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
5012   return temp;
5013 }
unsafe_arena_release_tensor_info()5014 inline ::tensorflow::TensorInfo* AssetFileDef::unsafe_arena_release_tensor_info() {
5015   // @@protoc_insertion_point(field_release:tensorflow.AssetFileDef.tensor_info)
5016 
5017   ::tensorflow::TensorInfo* temp = _impl_.tensor_info_;
5018   _impl_.tensor_info_ = nullptr;
5019   return temp;
5020 }
_internal_mutable_tensor_info()5021 inline ::tensorflow::TensorInfo* AssetFileDef::_internal_mutable_tensor_info() {
5022 
5023   if (_impl_.tensor_info_ == nullptr) {
5024     auto* p = CreateMaybeMessage<::tensorflow::TensorInfo>(GetArenaForAllocation());
5025     _impl_.tensor_info_ = p;
5026   }
5027   return _impl_.tensor_info_;
5028 }
mutable_tensor_info()5029 inline ::tensorflow::TensorInfo* AssetFileDef::mutable_tensor_info() {
5030   ::tensorflow::TensorInfo* _msg = _internal_mutable_tensor_info();
5031   // @@protoc_insertion_point(field_mutable:tensorflow.AssetFileDef.tensor_info)
5032   return _msg;
5033 }
set_allocated_tensor_info(::tensorflow::TensorInfo * tensor_info)5034 inline void AssetFileDef::set_allocated_tensor_info(::tensorflow::TensorInfo* tensor_info) {
5035   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5036   if (message_arena == nullptr) {
5037     delete _impl_.tensor_info_;
5038   }
5039   if (tensor_info) {
5040     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5041         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(tensor_info);
5042     if (message_arena != submessage_arena) {
5043       tensor_info = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5044           message_arena, tensor_info, submessage_arena);
5045     }
5046 
5047   } else {
5048 
5049   }
5050   _impl_.tensor_info_ = tensor_info;
5051   // @@protoc_insertion_point(field_set_allocated:tensorflow.AssetFileDef.tensor_info)
5052 }
5053 
5054 // string filename = 2;
clear_filename()5055 inline void AssetFileDef::clear_filename() {
5056   _impl_.filename_.ClearToEmpty();
5057 }
filename()5058 inline const std::string& AssetFileDef::filename() const {
5059   // @@protoc_insertion_point(field_get:tensorflow.AssetFileDef.filename)
5060   return _internal_filename();
5061 }
5062 template <typename ArgT0, typename... ArgT>
5063 inline PROTOBUF_ALWAYS_INLINE
set_filename(ArgT0 && arg0,ArgT...args)5064 void AssetFileDef::set_filename(ArgT0&& arg0, ArgT... args) {
5065 
5066  _impl_.filename_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
5067   // @@protoc_insertion_point(field_set:tensorflow.AssetFileDef.filename)
5068 }
mutable_filename()5069 inline std::string* AssetFileDef::mutable_filename() {
5070   std::string* _s = _internal_mutable_filename();
5071   // @@protoc_insertion_point(field_mutable:tensorflow.AssetFileDef.filename)
5072   return _s;
5073 }
_internal_filename()5074 inline const std::string& AssetFileDef::_internal_filename() const {
5075   return _impl_.filename_.Get();
5076 }
_internal_set_filename(const std::string & value)5077 inline void AssetFileDef::_internal_set_filename(const std::string& value) {
5078 
5079   _impl_.filename_.Set(value, GetArenaForAllocation());
5080 }
_internal_mutable_filename()5081 inline std::string* AssetFileDef::_internal_mutable_filename() {
5082 
5083   return _impl_.filename_.Mutable(GetArenaForAllocation());
5084 }
release_filename()5085 inline std::string* AssetFileDef::release_filename() {
5086   // @@protoc_insertion_point(field_release:tensorflow.AssetFileDef.filename)
5087   return _impl_.filename_.Release();
5088 }
set_allocated_filename(std::string * filename)5089 inline void AssetFileDef::set_allocated_filename(std::string* filename) {
5090   _impl_.filename_.SetAllocated(filename, GetArenaForAllocation());
5091 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
5092   if (_impl_.filename_.IsDefault()) {
5093     _impl_.filename_.Set("", GetArenaForAllocation());
5094   }
5095 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
5096   // @@protoc_insertion_point(field_set_allocated:tensorflow.AssetFileDef.filename)
5097 }
5098 
5099 #ifdef __GNUC__
5100   #pragma GCC diagnostic pop
5101 #endif  // __GNUC__
5102 // -------------------------------------------------------------------
5103 
5104 // -------------------------------------------------------------------
5105 
5106 // -------------------------------------------------------------------
5107 
5108 // -------------------------------------------------------------------
5109 
5110 // -------------------------------------------------------------------
5111 
5112 // -------------------------------------------------------------------
5113 
5114 // -------------------------------------------------------------------
5115 
5116 // -------------------------------------------------------------------
5117 
5118 // -------------------------------------------------------------------
5119 
5120 // -------------------------------------------------------------------
5121 
5122 // -------------------------------------------------------------------
5123 
5124 // -------------------------------------------------------------------
5125 
5126 // -------------------------------------------------------------------
5127 
5128 // -------------------------------------------------------------------
5129 
5130 // -------------------------------------------------------------------
5131 
5132 // -------------------------------------------------------------------
5133 
5134 // -------------------------------------------------------------------
5135 
5136 
5137 // @@protoc_insertion_point(namespace_scope)
5138 
5139 }  // namespace tensorflow
5140 
5141 // @@protoc_insertion_point(global_scope)
5142 
5143 #include <google/protobuf/port_undef.inc>
5144 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2fmeta_5fgraph_2eproto
5145