1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | // source: tensorflow/core/protobuf/trackable_object_graph.proto |
3 | |
4 | #ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto |
5 | #define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto |
6 | |
7 | #include <limits> |
8 | #include <string> |
9 | |
10 | #include <google/protobuf/port_def.inc> |
11 | #if PROTOBUF_VERSION < 3009000 |
12 | #error This file was generated by a newer version of protoc which is |
13 | #error incompatible with your Protocol Buffer headers. Please update |
14 | #error your headers. |
15 | #endif |
16 | #if 3009002 < PROTOBUF_MIN_PROTOC_VERSION |
17 | #error This file was generated by an older version of protoc which is |
18 | #error incompatible with your Protocol Buffer headers. Please |
19 | #error regenerate this file with a newer version of protoc. |
20 | #endif |
21 | |
22 | #include <google/protobuf/port_undef.inc> |
23 | #include <google/protobuf/io/coded_stream.h> |
24 | #include <google/protobuf/arena.h> |
25 | #include <google/protobuf/arenastring.h> |
26 | #include <google/protobuf/generated_message_table_driven.h> |
27 | #include <google/protobuf/generated_message_util.h> |
28 | #include <google/protobuf/inlined_string_field.h> |
29 | #include <google/protobuf/metadata.h> |
30 | #include <google/protobuf/generated_message_reflection.h> |
31 | #include <google/protobuf/message.h> |
32 | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
33 | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
34 | #include <google/protobuf/unknown_field_set.h> |
35 | #include <google/protobuf/wrappers.pb.h> |
36 | // @@protoc_insertion_point(includes) |
37 | #include <google/protobuf/port_def.inc> |
38 | #define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto |
39 | PROTOBUF_NAMESPACE_OPEN |
40 | namespace internal { |
41 | class AnyMetadata; |
42 | } // namespace internal |
43 | PROTOBUF_NAMESPACE_CLOSE |
44 | |
45 | // Internal implementation detail -- do not use these members. |
46 | struct TableStruct_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto { |
47 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] |
48 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
49 | static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] |
50 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
51 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[6] |
52 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
53 | static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; |
54 | static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; |
55 | static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; |
56 | }; |
57 | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto; |
58 | namespace tensorflow { |
59 | class RegisteredSaver; |
60 | class RegisteredSaverDefaultTypeInternal; |
61 | extern RegisteredSaverDefaultTypeInternal _RegisteredSaver_default_instance_; |
62 | class TrackableObjectGraph; |
63 | class TrackableObjectGraphDefaultTypeInternal; |
64 | extern TrackableObjectGraphDefaultTypeInternal _TrackableObjectGraph_default_instance_; |
65 | class TrackableObjectGraph_TrackableObject; |
66 | class TrackableObjectGraph_TrackableObjectDefaultTypeInternal; |
67 | extern TrackableObjectGraph_TrackableObjectDefaultTypeInternal _TrackableObjectGraph_TrackableObject_default_instance_; |
68 | class TrackableObjectGraph_TrackableObject_ObjectReference; |
69 | class TrackableObjectGraph_TrackableObject_ObjectReferenceDefaultTypeInternal; |
70 | extern TrackableObjectGraph_TrackableObject_ObjectReferenceDefaultTypeInternal _TrackableObjectGraph_TrackableObject_ObjectReference_default_instance_; |
71 | class TrackableObjectGraph_TrackableObject_SerializedTensor; |
72 | class TrackableObjectGraph_TrackableObject_SerializedTensorDefaultTypeInternal; |
73 | extern TrackableObjectGraph_TrackableObject_SerializedTensorDefaultTypeInternal _TrackableObjectGraph_TrackableObject_SerializedTensor_default_instance_; |
74 | class TrackableObjectGraph_TrackableObject_SlotVariableReference; |
75 | class TrackableObjectGraph_TrackableObject_SlotVariableReferenceDefaultTypeInternal; |
76 | extern TrackableObjectGraph_TrackableObject_SlotVariableReferenceDefaultTypeInternal _TrackableObjectGraph_TrackableObject_SlotVariableReference_default_instance_; |
77 | } // namespace tensorflow |
78 | PROTOBUF_NAMESPACE_OPEN |
79 | template<> ::tensorflow::RegisteredSaver* Arena::CreateMaybeMessage<::tensorflow::RegisteredSaver>(Arena*); |
80 | template<> ::tensorflow::TrackableObjectGraph* Arena::CreateMaybeMessage<::tensorflow::TrackableObjectGraph>(Arena*); |
81 | template<> ::tensorflow::TrackableObjectGraph_TrackableObject* Arena::CreateMaybeMessage<::tensorflow::TrackableObjectGraph_TrackableObject>(Arena*); |
82 | template<> ::tensorflow::TrackableObjectGraph_TrackableObject_ObjectReference* Arena::CreateMaybeMessage<::tensorflow::TrackableObjectGraph_TrackableObject_ObjectReference>(Arena*); |
83 | template<> ::tensorflow::TrackableObjectGraph_TrackableObject_SerializedTensor* Arena::CreateMaybeMessage<::tensorflow::TrackableObjectGraph_TrackableObject_SerializedTensor>(Arena*); |
84 | template<> ::tensorflow::TrackableObjectGraph_TrackableObject_SlotVariableReference* Arena::CreateMaybeMessage<::tensorflow::TrackableObjectGraph_TrackableObject_SlotVariableReference>(Arena*); |
85 | PROTOBUF_NAMESPACE_CLOSE |
86 | namespace tensorflow { |
87 | |
88 | // =================================================================== |
89 | |
90 | class TrackableObjectGraph_TrackableObject_ObjectReference : |
91 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference) */ { |
92 | public: |
93 | TrackableObjectGraph_TrackableObject_ObjectReference(); |
94 | virtual ~TrackableObjectGraph_TrackableObject_ObjectReference(); |
95 | |
96 | TrackableObjectGraph_TrackableObject_ObjectReference(const TrackableObjectGraph_TrackableObject_ObjectReference& from); |
97 | TrackableObjectGraph_TrackableObject_ObjectReference(TrackableObjectGraph_TrackableObject_ObjectReference&& from) noexcept |
98 | : TrackableObjectGraph_TrackableObject_ObjectReference() { |
99 | *this = ::std::move(from); |
100 | } |
101 | |
102 | inline TrackableObjectGraph_TrackableObject_ObjectReference& operator=(const TrackableObjectGraph_TrackableObject_ObjectReference& from) { |
103 | CopyFrom(from); |
104 | return *this; |
105 | } |
106 | inline TrackableObjectGraph_TrackableObject_ObjectReference& operator=(TrackableObjectGraph_TrackableObject_ObjectReference&& from) noexcept { |
107 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
108 | if (this != &from) InternalSwap(&from); |
109 | } else { |
110 | CopyFrom(from); |
111 | } |
112 | return *this; |
113 | } |
114 | |
115 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
116 | return GetArenaNoVirtual(); |
117 | } |
118 | inline void* GetMaybeArenaPointer() const final { |
119 | return MaybeArenaPtr(); |
120 | } |
121 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
122 | return GetDescriptor(); |
123 | } |
124 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
125 | return GetMetadataStatic().descriptor; |
126 | } |
127 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
128 | return GetMetadataStatic().reflection; |
129 | } |
130 | static const TrackableObjectGraph_TrackableObject_ObjectReference& default_instance(); |
131 | |
132 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
133 | static inline const TrackableObjectGraph_TrackableObject_ObjectReference* internal_default_instance() { |
134 | return reinterpret_cast<const TrackableObjectGraph_TrackableObject_ObjectReference*>( |
135 | &_TrackableObjectGraph_TrackableObject_ObjectReference_default_instance_); |
136 | } |
137 | static constexpr int kIndexInFileMessages = |
138 | 0; |
139 | |
140 | friend void swap(TrackableObjectGraph_TrackableObject_ObjectReference& a, TrackableObjectGraph_TrackableObject_ObjectReference& b) { |
141 | a.Swap(&b); |
142 | } |
143 | inline void Swap(TrackableObjectGraph_TrackableObject_ObjectReference* other) { |
144 | if (other == this) return; |
145 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
146 | InternalSwap(other); |
147 | } else { |
148 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
149 | } |
150 | } |
151 | void UnsafeArenaSwap(TrackableObjectGraph_TrackableObject_ObjectReference* other) { |
152 | if (other == this) return; |
153 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
154 | InternalSwap(other); |
155 | } |
156 | |
157 | // implements Message ---------------------------------------------- |
158 | |
159 | inline TrackableObjectGraph_TrackableObject_ObjectReference* New() const final { |
160 | return CreateMaybeMessage<TrackableObjectGraph_TrackableObject_ObjectReference>(nullptr); |
161 | } |
162 | |
163 | TrackableObjectGraph_TrackableObject_ObjectReference* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
164 | return CreateMaybeMessage<TrackableObjectGraph_TrackableObject_ObjectReference>(arena); |
165 | } |
166 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
167 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
168 | void CopyFrom(const TrackableObjectGraph_TrackableObject_ObjectReference& from); |
169 | void MergeFrom(const TrackableObjectGraph_TrackableObject_ObjectReference& from); |
170 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
171 | bool IsInitialized() const final; |
172 | |
173 | size_t ByteSizeLong() const final; |
174 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
175 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
176 | #else |
177 | bool MergePartialFromCodedStream( |
178 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
179 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
180 | void SerializeWithCachedSizes( |
181 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
182 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
183 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
184 | int GetCachedSize() const final { return _cached_size_.Get(); } |
185 | |
186 | private: |
187 | inline void SharedCtor(); |
188 | inline void SharedDtor(); |
189 | void SetCachedSize(int size) const final; |
190 | void InternalSwap(TrackableObjectGraph_TrackableObject_ObjectReference* other); |
191 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
192 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
193 | return "tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference" ; |
194 | } |
195 | protected: |
196 | explicit TrackableObjectGraph_TrackableObject_ObjectReference(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
197 | private: |
198 | static void ArenaDtor(void* object); |
199 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
200 | private: |
201 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
202 | return _internal_metadata_.arena(); |
203 | } |
204 | inline void* MaybeArenaPtr() const { |
205 | return _internal_metadata_.raw_arena_ptr(); |
206 | } |
207 | public: |
208 | |
209 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
210 | private: |
211 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
212 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto); |
213 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto.file_level_metadata[kIndexInFileMessages]; |
214 | } |
215 | |
216 | public: |
217 | |
218 | // nested types ---------------------------------------------------- |
219 | |
220 | // accessors ------------------------------------------------------- |
221 | |
222 | enum : int { |
223 | kLocalNameFieldNumber = 2, |
224 | kNodeIdFieldNumber = 1, |
225 | }; |
226 | // string local_name = 2; |
227 | void clear_local_name(); |
228 | const std::string& local_name() const; |
229 | void set_local_name(const std::string& value); |
230 | void set_local_name(std::string&& value); |
231 | void set_local_name(const char* value); |
232 | void set_local_name(const char* value, size_t size); |
233 | std::string* mutable_local_name(); |
234 | std::string* release_local_name(); |
235 | void set_allocated_local_name(std::string* local_name); |
236 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
237 | " string fields are deprecated and will be removed in a" |
238 | " future release." ) |
239 | std::string* unsafe_arena_release_local_name(); |
240 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
241 | " string fields are deprecated and will be removed in a" |
242 | " future release." ) |
243 | void unsafe_arena_set_allocated_local_name( |
244 | std::string* local_name); |
245 | |
246 | // int32 node_id = 1; |
247 | void clear_node_id(); |
248 | ::PROTOBUF_NAMESPACE_ID::int32 node_id() const; |
249 | void set_node_id(::PROTOBUF_NAMESPACE_ID::int32 value); |
250 | |
251 | // @@protoc_insertion_point(class_scope:tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference) |
252 | private: |
253 | class _Internal; |
254 | |
255 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
256 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
257 | typedef void InternalArenaConstructable_; |
258 | typedef void DestructorSkippable_; |
259 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr local_name_; |
260 | ::PROTOBUF_NAMESPACE_ID::int32 node_id_; |
261 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
262 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto; |
263 | }; |
264 | // ------------------------------------------------------------------- |
265 | |
266 | class TrackableObjectGraph_TrackableObject_SerializedTensor : |
267 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor) */ { |
268 | public: |
269 | TrackableObjectGraph_TrackableObject_SerializedTensor(); |
270 | virtual ~TrackableObjectGraph_TrackableObject_SerializedTensor(); |
271 | |
272 | TrackableObjectGraph_TrackableObject_SerializedTensor(const TrackableObjectGraph_TrackableObject_SerializedTensor& from); |
273 | TrackableObjectGraph_TrackableObject_SerializedTensor(TrackableObjectGraph_TrackableObject_SerializedTensor&& from) noexcept |
274 | : TrackableObjectGraph_TrackableObject_SerializedTensor() { |
275 | *this = ::std::move(from); |
276 | } |
277 | |
278 | inline TrackableObjectGraph_TrackableObject_SerializedTensor& operator=(const TrackableObjectGraph_TrackableObject_SerializedTensor& from) { |
279 | CopyFrom(from); |
280 | return *this; |
281 | } |
282 | inline TrackableObjectGraph_TrackableObject_SerializedTensor& operator=(TrackableObjectGraph_TrackableObject_SerializedTensor&& from) noexcept { |
283 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
284 | if (this != &from) InternalSwap(&from); |
285 | } else { |
286 | CopyFrom(from); |
287 | } |
288 | return *this; |
289 | } |
290 | |
291 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
292 | return GetArenaNoVirtual(); |
293 | } |
294 | inline void* GetMaybeArenaPointer() const final { |
295 | return MaybeArenaPtr(); |
296 | } |
297 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
298 | return GetDescriptor(); |
299 | } |
300 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
301 | return GetMetadataStatic().descriptor; |
302 | } |
303 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
304 | return GetMetadataStatic().reflection; |
305 | } |
306 | static const TrackableObjectGraph_TrackableObject_SerializedTensor& default_instance(); |
307 | |
308 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
309 | static inline const TrackableObjectGraph_TrackableObject_SerializedTensor* internal_default_instance() { |
310 | return reinterpret_cast<const TrackableObjectGraph_TrackableObject_SerializedTensor*>( |
311 | &_TrackableObjectGraph_TrackableObject_SerializedTensor_default_instance_); |
312 | } |
313 | static constexpr int kIndexInFileMessages = |
314 | 1; |
315 | |
316 | friend void swap(TrackableObjectGraph_TrackableObject_SerializedTensor& a, TrackableObjectGraph_TrackableObject_SerializedTensor& b) { |
317 | a.Swap(&b); |
318 | } |
319 | inline void Swap(TrackableObjectGraph_TrackableObject_SerializedTensor* other) { |
320 | if (other == this) return; |
321 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
322 | InternalSwap(other); |
323 | } else { |
324 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
325 | } |
326 | } |
327 | void UnsafeArenaSwap(TrackableObjectGraph_TrackableObject_SerializedTensor* other) { |
328 | if (other == this) return; |
329 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
330 | InternalSwap(other); |
331 | } |
332 | |
333 | // implements Message ---------------------------------------------- |
334 | |
335 | inline TrackableObjectGraph_TrackableObject_SerializedTensor* New() const final { |
336 | return CreateMaybeMessage<TrackableObjectGraph_TrackableObject_SerializedTensor>(nullptr); |
337 | } |
338 | |
339 | TrackableObjectGraph_TrackableObject_SerializedTensor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
340 | return CreateMaybeMessage<TrackableObjectGraph_TrackableObject_SerializedTensor>(arena); |
341 | } |
342 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
343 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
344 | void CopyFrom(const TrackableObjectGraph_TrackableObject_SerializedTensor& from); |
345 | void MergeFrom(const TrackableObjectGraph_TrackableObject_SerializedTensor& from); |
346 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
347 | bool IsInitialized() const final; |
348 | |
349 | size_t ByteSizeLong() const final; |
350 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
351 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
352 | #else |
353 | bool MergePartialFromCodedStream( |
354 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
355 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
356 | void SerializeWithCachedSizes( |
357 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
358 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
359 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
360 | int GetCachedSize() const final { return _cached_size_.Get(); } |
361 | |
362 | private: |
363 | inline void SharedCtor(); |
364 | inline void SharedDtor(); |
365 | void SetCachedSize(int size) const final; |
366 | void InternalSwap(TrackableObjectGraph_TrackableObject_SerializedTensor* other); |
367 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
368 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
369 | return "tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor" ; |
370 | } |
371 | protected: |
372 | explicit TrackableObjectGraph_TrackableObject_SerializedTensor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
373 | private: |
374 | static void ArenaDtor(void* object); |
375 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
376 | private: |
377 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
378 | return _internal_metadata_.arena(); |
379 | } |
380 | inline void* MaybeArenaPtr() const { |
381 | return _internal_metadata_.raw_arena_ptr(); |
382 | } |
383 | public: |
384 | |
385 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
386 | private: |
387 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
388 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto); |
389 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto.file_level_metadata[kIndexInFileMessages]; |
390 | } |
391 | |
392 | public: |
393 | |
394 | // nested types ---------------------------------------------------- |
395 | |
396 | // accessors ------------------------------------------------------- |
397 | |
398 | enum : int { |
399 | kNameFieldNumber = 1, |
400 | kFullNameFieldNumber = 2, |
401 | kCheckpointKeyFieldNumber = 3, |
402 | }; |
403 | // string name = 1; |
404 | void clear_name(); |
405 | const std::string& name() const; |
406 | void set_name(const std::string& value); |
407 | void set_name(std::string&& value); |
408 | void set_name(const char* value); |
409 | void set_name(const char* value, size_t size); |
410 | std::string* mutable_name(); |
411 | std::string* release_name(); |
412 | void set_allocated_name(std::string* name); |
413 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
414 | " string fields are deprecated and will be removed in a" |
415 | " future release." ) |
416 | std::string* unsafe_arena_release_name(); |
417 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
418 | " string fields are deprecated and will be removed in a" |
419 | " future release." ) |
420 | void unsafe_arena_set_allocated_name( |
421 | std::string* name); |
422 | |
423 | // string full_name = 2; |
424 | void clear_full_name(); |
425 | const std::string& full_name() const; |
426 | void set_full_name(const std::string& value); |
427 | void set_full_name(std::string&& value); |
428 | void set_full_name(const char* value); |
429 | void set_full_name(const char* value, size_t size); |
430 | std::string* mutable_full_name(); |
431 | std::string* release_full_name(); |
432 | void set_allocated_full_name(std::string* full_name); |
433 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
434 | " string fields are deprecated and will be removed in a" |
435 | " future release." ) |
436 | std::string* unsafe_arena_release_full_name(); |
437 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
438 | " string fields are deprecated and will be removed in a" |
439 | " future release." ) |
440 | void unsafe_arena_set_allocated_full_name( |
441 | std::string* full_name); |
442 | |
443 | // string checkpoint_key = 3; |
444 | void clear_checkpoint_key(); |
445 | const std::string& checkpoint_key() const; |
446 | void set_checkpoint_key(const std::string& value); |
447 | void set_checkpoint_key(std::string&& value); |
448 | void set_checkpoint_key(const char* value); |
449 | void set_checkpoint_key(const char* value, size_t size); |
450 | std::string* mutable_checkpoint_key(); |
451 | std::string* release_checkpoint_key(); |
452 | void set_allocated_checkpoint_key(std::string* checkpoint_key); |
453 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
454 | " string fields are deprecated and will be removed in a" |
455 | " future release." ) |
456 | std::string* unsafe_arena_release_checkpoint_key(); |
457 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
458 | " string fields are deprecated and will be removed in a" |
459 | " future release." ) |
460 | void unsafe_arena_set_allocated_checkpoint_key( |
461 | std::string* checkpoint_key); |
462 | |
463 | // @@protoc_insertion_point(class_scope:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor) |
464 | private: |
465 | class _Internal; |
466 | |
467 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
468 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
469 | typedef void InternalArenaConstructable_; |
470 | typedef void DestructorSkippable_; |
471 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
472 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_name_; |
473 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr checkpoint_key_; |
474 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
475 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto; |
476 | }; |
477 | // ------------------------------------------------------------------- |
478 | |
479 | class TrackableObjectGraph_TrackableObject_SlotVariableReference : |
480 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference) */ { |
481 | public: |
482 | TrackableObjectGraph_TrackableObject_SlotVariableReference(); |
483 | virtual ~TrackableObjectGraph_TrackableObject_SlotVariableReference(); |
484 | |
485 | TrackableObjectGraph_TrackableObject_SlotVariableReference(const TrackableObjectGraph_TrackableObject_SlotVariableReference& from); |
486 | TrackableObjectGraph_TrackableObject_SlotVariableReference(TrackableObjectGraph_TrackableObject_SlotVariableReference&& from) noexcept |
487 | : TrackableObjectGraph_TrackableObject_SlotVariableReference() { |
488 | *this = ::std::move(from); |
489 | } |
490 | |
491 | inline TrackableObjectGraph_TrackableObject_SlotVariableReference& operator=(const TrackableObjectGraph_TrackableObject_SlotVariableReference& from) { |
492 | CopyFrom(from); |
493 | return *this; |
494 | } |
495 | inline TrackableObjectGraph_TrackableObject_SlotVariableReference& operator=(TrackableObjectGraph_TrackableObject_SlotVariableReference&& from) noexcept { |
496 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
497 | if (this != &from) InternalSwap(&from); |
498 | } else { |
499 | CopyFrom(from); |
500 | } |
501 | return *this; |
502 | } |
503 | |
504 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
505 | return GetArenaNoVirtual(); |
506 | } |
507 | inline void* GetMaybeArenaPointer() const final { |
508 | return MaybeArenaPtr(); |
509 | } |
510 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
511 | return GetDescriptor(); |
512 | } |
513 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
514 | return GetMetadataStatic().descriptor; |
515 | } |
516 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
517 | return GetMetadataStatic().reflection; |
518 | } |
519 | static const TrackableObjectGraph_TrackableObject_SlotVariableReference& default_instance(); |
520 | |
521 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
522 | static inline const TrackableObjectGraph_TrackableObject_SlotVariableReference* internal_default_instance() { |
523 | return reinterpret_cast<const TrackableObjectGraph_TrackableObject_SlotVariableReference*>( |
524 | &_TrackableObjectGraph_TrackableObject_SlotVariableReference_default_instance_); |
525 | } |
526 | static constexpr int kIndexInFileMessages = |
527 | 2; |
528 | |
529 | friend void swap(TrackableObjectGraph_TrackableObject_SlotVariableReference& a, TrackableObjectGraph_TrackableObject_SlotVariableReference& b) { |
530 | a.Swap(&b); |
531 | } |
532 | inline void Swap(TrackableObjectGraph_TrackableObject_SlotVariableReference* other) { |
533 | if (other == this) return; |
534 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
535 | InternalSwap(other); |
536 | } else { |
537 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
538 | } |
539 | } |
540 | void UnsafeArenaSwap(TrackableObjectGraph_TrackableObject_SlotVariableReference* other) { |
541 | if (other == this) return; |
542 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
543 | InternalSwap(other); |
544 | } |
545 | |
546 | // implements Message ---------------------------------------------- |
547 | |
548 | inline TrackableObjectGraph_TrackableObject_SlotVariableReference* New() const final { |
549 | return CreateMaybeMessage<TrackableObjectGraph_TrackableObject_SlotVariableReference>(nullptr); |
550 | } |
551 | |
552 | TrackableObjectGraph_TrackableObject_SlotVariableReference* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
553 | return CreateMaybeMessage<TrackableObjectGraph_TrackableObject_SlotVariableReference>(arena); |
554 | } |
555 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
556 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
557 | void CopyFrom(const TrackableObjectGraph_TrackableObject_SlotVariableReference& from); |
558 | void MergeFrom(const TrackableObjectGraph_TrackableObject_SlotVariableReference& from); |
559 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
560 | bool IsInitialized() const final; |
561 | |
562 | size_t ByteSizeLong() const final; |
563 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
564 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
565 | #else |
566 | bool MergePartialFromCodedStream( |
567 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
568 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
569 | void SerializeWithCachedSizes( |
570 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
571 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
572 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
573 | int GetCachedSize() const final { return _cached_size_.Get(); } |
574 | |
575 | private: |
576 | inline void SharedCtor(); |
577 | inline void SharedDtor(); |
578 | void SetCachedSize(int size) const final; |
579 | void InternalSwap(TrackableObjectGraph_TrackableObject_SlotVariableReference* other); |
580 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
581 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
582 | return "tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference" ; |
583 | } |
584 | protected: |
585 | explicit TrackableObjectGraph_TrackableObject_SlotVariableReference(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
586 | private: |
587 | static void ArenaDtor(void* object); |
588 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
589 | private: |
590 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
591 | return _internal_metadata_.arena(); |
592 | } |
593 | inline void* MaybeArenaPtr() const { |
594 | return _internal_metadata_.raw_arena_ptr(); |
595 | } |
596 | public: |
597 | |
598 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
599 | private: |
600 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
601 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto); |
602 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto.file_level_metadata[kIndexInFileMessages]; |
603 | } |
604 | |
605 | public: |
606 | |
607 | // nested types ---------------------------------------------------- |
608 | |
609 | // accessors ------------------------------------------------------- |
610 | |
611 | enum : int { |
612 | kSlotNameFieldNumber = 2, |
613 | kOriginalVariableNodeIdFieldNumber = 1, |
614 | kSlotVariableNodeIdFieldNumber = 3, |
615 | }; |
616 | // string slot_name = 2; |
617 | void clear_slot_name(); |
618 | const std::string& slot_name() const; |
619 | void set_slot_name(const std::string& value); |
620 | void set_slot_name(std::string&& value); |
621 | void set_slot_name(const char* value); |
622 | void set_slot_name(const char* value, size_t size); |
623 | std::string* mutable_slot_name(); |
624 | std::string* release_slot_name(); |
625 | void set_allocated_slot_name(std::string* slot_name); |
626 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
627 | " string fields are deprecated and will be removed in a" |
628 | " future release." ) |
629 | std::string* unsafe_arena_release_slot_name(); |
630 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
631 | " string fields are deprecated and will be removed in a" |
632 | " future release." ) |
633 | void unsafe_arena_set_allocated_slot_name( |
634 | std::string* slot_name); |
635 | |
636 | // int32 original_variable_node_id = 1; |
637 | void clear_original_variable_node_id(); |
638 | ::PROTOBUF_NAMESPACE_ID::int32 original_variable_node_id() const; |
639 | void set_original_variable_node_id(::PROTOBUF_NAMESPACE_ID::int32 value); |
640 | |
641 | // int32 slot_variable_node_id = 3; |
642 | void clear_slot_variable_node_id(); |
643 | ::PROTOBUF_NAMESPACE_ID::int32 slot_variable_node_id() const; |
644 | void set_slot_variable_node_id(::PROTOBUF_NAMESPACE_ID::int32 value); |
645 | |
646 | // @@protoc_insertion_point(class_scope:tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference) |
647 | private: |
648 | class _Internal; |
649 | |
650 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
651 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
652 | typedef void InternalArenaConstructable_; |
653 | typedef void DestructorSkippable_; |
654 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr slot_name_; |
655 | ::PROTOBUF_NAMESPACE_ID::int32 original_variable_node_id_; |
656 | ::PROTOBUF_NAMESPACE_ID::int32 slot_variable_node_id_; |
657 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
658 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto; |
659 | }; |
660 | // ------------------------------------------------------------------- |
661 | |
662 | class TrackableObjectGraph_TrackableObject : |
663 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.TrackableObjectGraph.TrackableObject) */ { |
664 | public: |
665 | TrackableObjectGraph_TrackableObject(); |
666 | virtual ~TrackableObjectGraph_TrackableObject(); |
667 | |
668 | TrackableObjectGraph_TrackableObject(const TrackableObjectGraph_TrackableObject& from); |
669 | TrackableObjectGraph_TrackableObject(TrackableObjectGraph_TrackableObject&& from) noexcept |
670 | : TrackableObjectGraph_TrackableObject() { |
671 | *this = ::std::move(from); |
672 | } |
673 | |
674 | inline TrackableObjectGraph_TrackableObject& operator=(const TrackableObjectGraph_TrackableObject& from) { |
675 | CopyFrom(from); |
676 | return *this; |
677 | } |
678 | inline TrackableObjectGraph_TrackableObject& operator=(TrackableObjectGraph_TrackableObject&& from) noexcept { |
679 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
680 | if (this != &from) InternalSwap(&from); |
681 | } else { |
682 | CopyFrom(from); |
683 | } |
684 | return *this; |
685 | } |
686 | |
687 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
688 | return GetArenaNoVirtual(); |
689 | } |
690 | inline void* GetMaybeArenaPointer() const final { |
691 | return MaybeArenaPtr(); |
692 | } |
693 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
694 | return GetDescriptor(); |
695 | } |
696 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
697 | return GetMetadataStatic().descriptor; |
698 | } |
699 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
700 | return GetMetadataStatic().reflection; |
701 | } |
702 | static const TrackableObjectGraph_TrackableObject& default_instance(); |
703 | |
704 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
705 | static inline const TrackableObjectGraph_TrackableObject* internal_default_instance() { |
706 | return reinterpret_cast<const TrackableObjectGraph_TrackableObject*>( |
707 | &_TrackableObjectGraph_TrackableObject_default_instance_); |
708 | } |
709 | static constexpr int kIndexInFileMessages = |
710 | 3; |
711 | |
712 | friend void swap(TrackableObjectGraph_TrackableObject& a, TrackableObjectGraph_TrackableObject& b) { |
713 | a.Swap(&b); |
714 | } |
715 | inline void Swap(TrackableObjectGraph_TrackableObject* other) { |
716 | if (other == this) return; |
717 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
718 | InternalSwap(other); |
719 | } else { |
720 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
721 | } |
722 | } |
723 | void UnsafeArenaSwap(TrackableObjectGraph_TrackableObject* other) { |
724 | if (other == this) return; |
725 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
726 | InternalSwap(other); |
727 | } |
728 | |
729 | // implements Message ---------------------------------------------- |
730 | |
731 | inline TrackableObjectGraph_TrackableObject* New() const final { |
732 | return CreateMaybeMessage<TrackableObjectGraph_TrackableObject>(nullptr); |
733 | } |
734 | |
735 | TrackableObjectGraph_TrackableObject* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
736 | return CreateMaybeMessage<TrackableObjectGraph_TrackableObject>(arena); |
737 | } |
738 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
739 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
740 | void CopyFrom(const TrackableObjectGraph_TrackableObject& from); |
741 | void MergeFrom(const TrackableObjectGraph_TrackableObject& from); |
742 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
743 | bool IsInitialized() const final; |
744 | |
745 | size_t ByteSizeLong() const final; |
746 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
747 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
748 | #else |
749 | bool MergePartialFromCodedStream( |
750 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
751 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
752 | void SerializeWithCachedSizes( |
753 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
754 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
755 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
756 | int GetCachedSize() const final { return _cached_size_.Get(); } |
757 | |
758 | private: |
759 | inline void SharedCtor(); |
760 | inline void SharedDtor(); |
761 | void SetCachedSize(int size) const final; |
762 | void InternalSwap(TrackableObjectGraph_TrackableObject* other); |
763 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
764 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
765 | return "tensorflow.TrackableObjectGraph.TrackableObject" ; |
766 | } |
767 | protected: |
768 | explicit TrackableObjectGraph_TrackableObject(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
769 | private: |
770 | static void ArenaDtor(void* object); |
771 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
772 | private: |
773 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
774 | return _internal_metadata_.arena(); |
775 | } |
776 | inline void* MaybeArenaPtr() const { |
777 | return _internal_metadata_.raw_arena_ptr(); |
778 | } |
779 | public: |
780 | |
781 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
782 | private: |
783 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
784 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto); |
785 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto.file_level_metadata[kIndexInFileMessages]; |
786 | } |
787 | |
788 | public: |
789 | |
790 | // nested types ---------------------------------------------------- |
791 | |
792 | typedef TrackableObjectGraph_TrackableObject_ObjectReference ObjectReference; |
793 | typedef TrackableObjectGraph_TrackableObject_SerializedTensor SerializedTensor; |
794 | typedef TrackableObjectGraph_TrackableObject_SlotVariableReference SlotVariableReference; |
795 | |
796 | // accessors ------------------------------------------------------- |
797 | |
798 | enum : int { |
799 | kChildrenFieldNumber = 1, |
800 | kAttributesFieldNumber = 2, |
801 | kSlotVariablesFieldNumber = 3, |
802 | kRegisteredSaverFieldNumber = 4, |
803 | kHasCheckpointValuesFieldNumber = 5, |
804 | }; |
805 | // repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1; |
806 | int children_size() const; |
807 | void clear_children(); |
808 | ::tensorflow::TrackableObjectGraph_TrackableObject_ObjectReference* mutable_children(int index); |
809 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject_ObjectReference >* |
810 | mutable_children(); |
811 | const ::tensorflow::TrackableObjectGraph_TrackableObject_ObjectReference& children(int index) const; |
812 | ::tensorflow::TrackableObjectGraph_TrackableObject_ObjectReference* add_children(); |
813 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject_ObjectReference >& |
814 | children() const; |
815 | |
816 | // repeated .tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor attributes = 2; |
817 | int attributes_size() const; |
818 | void clear_attributes(); |
819 | ::tensorflow::TrackableObjectGraph_TrackableObject_SerializedTensor* mutable_attributes(int index); |
820 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject_SerializedTensor >* |
821 | mutable_attributes(); |
822 | const ::tensorflow::TrackableObjectGraph_TrackableObject_SerializedTensor& attributes(int index) const; |
823 | ::tensorflow::TrackableObjectGraph_TrackableObject_SerializedTensor* add_attributes(); |
824 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject_SerializedTensor >& |
825 | attributes() const; |
826 | |
827 | // repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3; |
828 | int slot_variables_size() const; |
829 | void clear_slot_variables(); |
830 | ::tensorflow::TrackableObjectGraph_TrackableObject_SlotVariableReference* mutable_slot_variables(int index); |
831 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject_SlotVariableReference >* |
832 | mutable_slot_variables(); |
833 | const ::tensorflow::TrackableObjectGraph_TrackableObject_SlotVariableReference& slot_variables(int index) const; |
834 | ::tensorflow::TrackableObjectGraph_TrackableObject_SlotVariableReference* add_slot_variables(); |
835 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject_SlotVariableReference >& |
836 | slot_variables() const; |
837 | |
838 | // .tensorflow.RegisteredSaver registered_saver = 4; |
839 | bool has_registered_saver() const; |
840 | void clear_registered_saver(); |
841 | const ::tensorflow::RegisteredSaver& registered_saver() const; |
842 | ::tensorflow::RegisteredSaver* release_registered_saver(); |
843 | ::tensorflow::RegisteredSaver* mutable_registered_saver(); |
844 | void set_allocated_registered_saver(::tensorflow::RegisteredSaver* registered_saver); |
845 | void unsafe_arena_set_allocated_registered_saver( |
846 | ::tensorflow::RegisteredSaver* registered_saver); |
847 | ::tensorflow::RegisteredSaver* unsafe_arena_release_registered_saver(); |
848 | |
849 | // .google.protobuf.BoolValue has_checkpoint_values = 5; |
850 | bool has_has_checkpoint_values() const; |
851 | void clear_has_checkpoint_values(); |
852 | const PROTOBUF_NAMESPACE_ID::BoolValue& has_checkpoint_values() const; |
853 | PROTOBUF_NAMESPACE_ID::BoolValue* release_has_checkpoint_values(); |
854 | PROTOBUF_NAMESPACE_ID::BoolValue* mutable_has_checkpoint_values(); |
855 | void set_allocated_has_checkpoint_values(PROTOBUF_NAMESPACE_ID::BoolValue* has_checkpoint_values); |
856 | void unsafe_arena_set_allocated_has_checkpoint_values( |
857 | PROTOBUF_NAMESPACE_ID::BoolValue* has_checkpoint_values); |
858 | PROTOBUF_NAMESPACE_ID::BoolValue* unsafe_arena_release_has_checkpoint_values(); |
859 | |
860 | // @@protoc_insertion_point(class_scope:tensorflow.TrackableObjectGraph.TrackableObject) |
861 | private: |
862 | class _Internal; |
863 | |
864 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
865 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
866 | typedef void InternalArenaConstructable_; |
867 | typedef void DestructorSkippable_; |
868 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject_ObjectReference > children_; |
869 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject_SerializedTensor > attributes_; |
870 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject_SlotVariableReference > slot_variables_; |
871 | ::tensorflow::RegisteredSaver* registered_saver_; |
872 | PROTOBUF_NAMESPACE_ID::BoolValue* has_checkpoint_values_; |
873 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
874 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto; |
875 | }; |
876 | // ------------------------------------------------------------------- |
877 | |
878 | class TrackableObjectGraph : |
879 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.TrackableObjectGraph) */ { |
880 | public: |
881 | TrackableObjectGraph(); |
882 | virtual ~TrackableObjectGraph(); |
883 | |
884 | TrackableObjectGraph(const TrackableObjectGraph& from); |
885 | TrackableObjectGraph(TrackableObjectGraph&& from) noexcept |
886 | : TrackableObjectGraph() { |
887 | *this = ::std::move(from); |
888 | } |
889 | |
890 | inline TrackableObjectGraph& operator=(const TrackableObjectGraph& from) { |
891 | CopyFrom(from); |
892 | return *this; |
893 | } |
894 | inline TrackableObjectGraph& operator=(TrackableObjectGraph&& from) noexcept { |
895 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
896 | if (this != &from) InternalSwap(&from); |
897 | } else { |
898 | CopyFrom(from); |
899 | } |
900 | return *this; |
901 | } |
902 | |
903 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
904 | return GetArenaNoVirtual(); |
905 | } |
906 | inline void* GetMaybeArenaPointer() const final { |
907 | return MaybeArenaPtr(); |
908 | } |
909 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
910 | return GetDescriptor(); |
911 | } |
912 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
913 | return GetMetadataStatic().descriptor; |
914 | } |
915 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
916 | return GetMetadataStatic().reflection; |
917 | } |
918 | static const TrackableObjectGraph& default_instance(); |
919 | |
920 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
921 | static inline const TrackableObjectGraph* internal_default_instance() { |
922 | return reinterpret_cast<const TrackableObjectGraph*>( |
923 | &_TrackableObjectGraph_default_instance_); |
924 | } |
925 | static constexpr int kIndexInFileMessages = |
926 | 4; |
927 | |
928 | friend void swap(TrackableObjectGraph& a, TrackableObjectGraph& b) { |
929 | a.Swap(&b); |
930 | } |
931 | inline void Swap(TrackableObjectGraph* other) { |
932 | if (other == this) return; |
933 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
934 | InternalSwap(other); |
935 | } else { |
936 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
937 | } |
938 | } |
939 | void UnsafeArenaSwap(TrackableObjectGraph* other) { |
940 | if (other == this) return; |
941 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
942 | InternalSwap(other); |
943 | } |
944 | |
945 | // implements Message ---------------------------------------------- |
946 | |
947 | inline TrackableObjectGraph* New() const final { |
948 | return CreateMaybeMessage<TrackableObjectGraph>(nullptr); |
949 | } |
950 | |
951 | TrackableObjectGraph* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
952 | return CreateMaybeMessage<TrackableObjectGraph>(arena); |
953 | } |
954 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
955 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
956 | void CopyFrom(const TrackableObjectGraph& from); |
957 | void MergeFrom(const TrackableObjectGraph& from); |
958 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
959 | bool IsInitialized() const final; |
960 | |
961 | size_t ByteSizeLong() const final; |
962 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
963 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
964 | #else |
965 | bool MergePartialFromCodedStream( |
966 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
967 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
968 | void SerializeWithCachedSizes( |
969 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
970 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
971 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
972 | int GetCachedSize() const final { return _cached_size_.Get(); } |
973 | |
974 | private: |
975 | inline void SharedCtor(); |
976 | inline void SharedDtor(); |
977 | void SetCachedSize(int size) const final; |
978 | void InternalSwap(TrackableObjectGraph* other); |
979 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
980 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
981 | return "tensorflow.TrackableObjectGraph" ; |
982 | } |
983 | protected: |
984 | explicit TrackableObjectGraph(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
985 | private: |
986 | static void ArenaDtor(void* object); |
987 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
988 | private: |
989 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
990 | return _internal_metadata_.arena(); |
991 | } |
992 | inline void* MaybeArenaPtr() const { |
993 | return _internal_metadata_.raw_arena_ptr(); |
994 | } |
995 | public: |
996 | |
997 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
998 | private: |
999 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
1000 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto); |
1001 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto.file_level_metadata[kIndexInFileMessages]; |
1002 | } |
1003 | |
1004 | public: |
1005 | |
1006 | // nested types ---------------------------------------------------- |
1007 | |
1008 | typedef TrackableObjectGraph_TrackableObject TrackableObject; |
1009 | |
1010 | // accessors ------------------------------------------------------- |
1011 | |
1012 | enum : int { |
1013 | kNodesFieldNumber = 1, |
1014 | }; |
1015 | // repeated .tensorflow.TrackableObjectGraph.TrackableObject nodes = 1; |
1016 | int nodes_size() const; |
1017 | void clear_nodes(); |
1018 | ::tensorflow::TrackableObjectGraph_TrackableObject* mutable_nodes(int index); |
1019 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject >* |
1020 | mutable_nodes(); |
1021 | const ::tensorflow::TrackableObjectGraph_TrackableObject& nodes(int index) const; |
1022 | ::tensorflow::TrackableObjectGraph_TrackableObject* add_nodes(); |
1023 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject >& |
1024 | nodes() const; |
1025 | |
1026 | // @@protoc_insertion_point(class_scope:tensorflow.TrackableObjectGraph) |
1027 | private: |
1028 | class _Internal; |
1029 | |
1030 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
1031 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1032 | typedef void InternalArenaConstructable_; |
1033 | typedef void DestructorSkippable_; |
1034 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject > nodes_; |
1035 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1036 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto; |
1037 | }; |
1038 | // ------------------------------------------------------------------- |
1039 | |
1040 | class RegisteredSaver : |
1041 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.RegisteredSaver) */ { |
1042 | public: |
1043 | RegisteredSaver(); |
1044 | virtual ~RegisteredSaver(); |
1045 | |
1046 | RegisteredSaver(const RegisteredSaver& from); |
1047 | RegisteredSaver(RegisteredSaver&& from) noexcept |
1048 | : RegisteredSaver() { |
1049 | *this = ::std::move(from); |
1050 | } |
1051 | |
1052 | inline RegisteredSaver& operator=(const RegisteredSaver& from) { |
1053 | CopyFrom(from); |
1054 | return *this; |
1055 | } |
1056 | inline RegisteredSaver& operator=(RegisteredSaver&& from) noexcept { |
1057 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1058 | if (this != &from) InternalSwap(&from); |
1059 | } else { |
1060 | CopyFrom(from); |
1061 | } |
1062 | return *this; |
1063 | } |
1064 | |
1065 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final { |
1066 | return GetArenaNoVirtual(); |
1067 | } |
1068 | inline void* GetMaybeArenaPointer() const final { |
1069 | return MaybeArenaPtr(); |
1070 | } |
1071 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1072 | return GetDescriptor(); |
1073 | } |
1074 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1075 | return GetMetadataStatic().descriptor; |
1076 | } |
1077 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1078 | return GetMetadataStatic().reflection; |
1079 | } |
1080 | static const RegisteredSaver& default_instance(); |
1081 | |
1082 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1083 | static inline const RegisteredSaver* internal_default_instance() { |
1084 | return reinterpret_cast<const RegisteredSaver*>( |
1085 | &_RegisteredSaver_default_instance_); |
1086 | } |
1087 | static constexpr int kIndexInFileMessages = |
1088 | 5; |
1089 | |
1090 | friend void swap(RegisteredSaver& a, RegisteredSaver& b) { |
1091 | a.Swap(&b); |
1092 | } |
1093 | inline void Swap(RegisteredSaver* other) { |
1094 | if (other == this) return; |
1095 | if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) { |
1096 | InternalSwap(other); |
1097 | } else { |
1098 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1099 | } |
1100 | } |
1101 | void UnsafeArenaSwap(RegisteredSaver* other) { |
1102 | if (other == this) return; |
1103 | GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual()); |
1104 | InternalSwap(other); |
1105 | } |
1106 | |
1107 | // implements Message ---------------------------------------------- |
1108 | |
1109 | inline RegisteredSaver* New() const final { |
1110 | return CreateMaybeMessage<RegisteredSaver>(nullptr); |
1111 | } |
1112 | |
1113 | RegisteredSaver* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
1114 | return CreateMaybeMessage<RegisteredSaver>(arena); |
1115 | } |
1116 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1117 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1118 | void CopyFrom(const RegisteredSaver& from); |
1119 | void MergeFrom(const RegisteredSaver& from); |
1120 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1121 | bool IsInitialized() const final; |
1122 | |
1123 | size_t ByteSizeLong() const final; |
1124 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
1125 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1126 | #else |
1127 | bool MergePartialFromCodedStream( |
1128 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
1129 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
1130 | void SerializeWithCachedSizes( |
1131 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
1132 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
1133 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
1134 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1135 | |
1136 | private: |
1137 | inline void SharedCtor(); |
1138 | inline void SharedDtor(); |
1139 | void SetCachedSize(int size) const final; |
1140 | void InternalSwap(RegisteredSaver* other); |
1141 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1142 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1143 | return "tensorflow.RegisteredSaver" ; |
1144 | } |
1145 | protected: |
1146 | explicit RegisteredSaver(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1147 | private: |
1148 | static void ArenaDtor(void* object); |
1149 | inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
1150 | private: |
1151 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
1152 | return _internal_metadata_.arena(); |
1153 | } |
1154 | inline void* MaybeArenaPtr() const { |
1155 | return _internal_metadata_.raw_arena_ptr(); |
1156 | } |
1157 | public: |
1158 | |
1159 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1160 | private: |
1161 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
1162 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto); |
1163 | return ::descriptor_table_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto.file_level_metadata[kIndexInFileMessages]; |
1164 | } |
1165 | |
1166 | public: |
1167 | |
1168 | // nested types ---------------------------------------------------- |
1169 | |
1170 | // accessors ------------------------------------------------------- |
1171 | |
1172 | enum : int { |
1173 | kNameFieldNumber = 1, |
1174 | kObjectNameFieldNumber = 2, |
1175 | }; |
1176 | // string name = 1; |
1177 | void clear_name(); |
1178 | const std::string& name() const; |
1179 | void set_name(const std::string& value); |
1180 | void set_name(std::string&& value); |
1181 | void set_name(const char* value); |
1182 | void set_name(const char* value, size_t size); |
1183 | std::string* mutable_name(); |
1184 | std::string* release_name(); |
1185 | void set_allocated_name(std::string* name); |
1186 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
1187 | " string fields are deprecated and will be removed in a" |
1188 | " future release." ) |
1189 | std::string* unsafe_arena_release_name(); |
1190 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
1191 | " string fields are deprecated and will be removed in a" |
1192 | " future release." ) |
1193 | void unsafe_arena_set_allocated_name( |
1194 | std::string* name); |
1195 | |
1196 | // string object_name = 2; |
1197 | void clear_object_name(); |
1198 | const std::string& object_name() const; |
1199 | void set_object_name(const std::string& value); |
1200 | void set_object_name(std::string&& value); |
1201 | void set_object_name(const char* value); |
1202 | void set_object_name(const char* value, size_t size); |
1203 | std::string* mutable_object_name(); |
1204 | std::string* release_object_name(); |
1205 | void set_allocated_object_name(std::string* object_name); |
1206 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
1207 | " string fields are deprecated and will be removed in a" |
1208 | " future release." ) |
1209 | std::string* unsafe_arena_release_object_name(); |
1210 | GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for" |
1211 | " string fields are deprecated and will be removed in a" |
1212 | " future release." ) |
1213 | void unsafe_arena_set_allocated_object_name( |
1214 | std::string* object_name); |
1215 | |
1216 | // @@protoc_insertion_point(class_scope:tensorflow.RegisteredSaver) |
1217 | private: |
1218 | class _Internal; |
1219 | |
1220 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
1221 | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1222 | typedef void InternalArenaConstructable_; |
1223 | typedef void DestructorSkippable_; |
1224 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
1225 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr object_name_; |
1226 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1227 | friend struct ::TableStruct_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto; |
1228 | }; |
1229 | // =================================================================== |
1230 | |
1231 | |
1232 | // =================================================================== |
1233 | |
1234 | #ifdef __GNUC__ |
1235 | #pragma GCC diagnostic push |
1236 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
1237 | #endif // __GNUC__ |
1238 | // TrackableObjectGraph_TrackableObject_ObjectReference |
1239 | |
1240 | // int32 node_id = 1; |
1241 | inline void TrackableObjectGraph_TrackableObject_ObjectReference::clear_node_id() { |
1242 | node_id_ = 0; |
1243 | } |
1244 | inline ::PROTOBUF_NAMESPACE_ID::int32 TrackableObjectGraph_TrackableObject_ObjectReference::node_id() const { |
1245 | // @@protoc_insertion_point(field_get:tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference.node_id) |
1246 | return node_id_; |
1247 | } |
1248 | inline void TrackableObjectGraph_TrackableObject_ObjectReference::set_node_id(::PROTOBUF_NAMESPACE_ID::int32 value) { |
1249 | |
1250 | node_id_ = value; |
1251 | // @@protoc_insertion_point(field_set:tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference.node_id) |
1252 | } |
1253 | |
1254 | // string local_name = 2; |
1255 | inline void TrackableObjectGraph_TrackableObject_ObjectReference::clear_local_name() { |
1256 | local_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1257 | } |
1258 | inline const std::string& TrackableObjectGraph_TrackableObject_ObjectReference::local_name() const { |
1259 | // @@protoc_insertion_point(field_get:tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference.local_name) |
1260 | return local_name_.Get(); |
1261 | } |
1262 | inline void TrackableObjectGraph_TrackableObject_ObjectReference::set_local_name(const std::string& value) { |
1263 | |
1264 | local_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
1265 | // @@protoc_insertion_point(field_set:tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference.local_name) |
1266 | } |
1267 | inline void TrackableObjectGraph_TrackableObject_ObjectReference::set_local_name(std::string&& value) { |
1268 | |
1269 | local_name_.Set( |
1270 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
1271 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference.local_name) |
1272 | } |
1273 | inline void TrackableObjectGraph_TrackableObject_ObjectReference::set_local_name(const char* value) { |
1274 | GOOGLE_DCHECK(value != nullptr); |
1275 | |
1276 | local_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
1277 | GetArenaNoVirtual()); |
1278 | // @@protoc_insertion_point(field_set_char:tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference.local_name) |
1279 | } |
1280 | inline void TrackableObjectGraph_TrackableObject_ObjectReference::set_local_name(const char* value, |
1281 | size_t size) { |
1282 | |
1283 | local_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
1284 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
1285 | // @@protoc_insertion_point(field_set_pointer:tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference.local_name) |
1286 | } |
1287 | inline std::string* TrackableObjectGraph_TrackableObject_ObjectReference::mutable_local_name() { |
1288 | |
1289 | // @@protoc_insertion_point(field_mutable:tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference.local_name) |
1290 | return local_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1291 | } |
1292 | inline std::string* TrackableObjectGraph_TrackableObject_ObjectReference::release_local_name() { |
1293 | // @@protoc_insertion_point(field_release:tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference.local_name) |
1294 | |
1295 | return local_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1296 | } |
1297 | inline void TrackableObjectGraph_TrackableObject_ObjectReference::set_allocated_local_name(std::string* local_name) { |
1298 | if (local_name != nullptr) { |
1299 | |
1300 | } else { |
1301 | |
1302 | } |
1303 | local_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), local_name, |
1304 | GetArenaNoVirtual()); |
1305 | // @@protoc_insertion_point(field_set_allocated:tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference.local_name) |
1306 | } |
1307 | inline std::string* TrackableObjectGraph_TrackableObject_ObjectReference::unsafe_arena_release_local_name() { |
1308 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference.local_name) |
1309 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
1310 | |
1311 | return local_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1312 | GetArenaNoVirtual()); |
1313 | } |
1314 | inline void TrackableObjectGraph_TrackableObject_ObjectReference::unsafe_arena_set_allocated_local_name( |
1315 | std::string* local_name) { |
1316 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
1317 | if (local_name != nullptr) { |
1318 | |
1319 | } else { |
1320 | |
1321 | } |
1322 | local_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1323 | local_name, GetArenaNoVirtual()); |
1324 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference.local_name) |
1325 | } |
1326 | |
1327 | // ------------------------------------------------------------------- |
1328 | |
1329 | // TrackableObjectGraph_TrackableObject_SerializedTensor |
1330 | |
1331 | // string name = 1; |
1332 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::clear_name() { |
1333 | name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1334 | } |
1335 | inline const std::string& TrackableObjectGraph_TrackableObject_SerializedTensor::name() const { |
1336 | // @@protoc_insertion_point(field_get:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.name) |
1337 | return name_.Get(); |
1338 | } |
1339 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::set_name(const std::string& value) { |
1340 | |
1341 | name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
1342 | // @@protoc_insertion_point(field_set:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.name) |
1343 | } |
1344 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::set_name(std::string&& value) { |
1345 | |
1346 | name_.Set( |
1347 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
1348 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.name) |
1349 | } |
1350 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::set_name(const char* value) { |
1351 | GOOGLE_DCHECK(value != nullptr); |
1352 | |
1353 | name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
1354 | GetArenaNoVirtual()); |
1355 | // @@protoc_insertion_point(field_set_char:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.name) |
1356 | } |
1357 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::set_name(const char* value, |
1358 | size_t size) { |
1359 | |
1360 | name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
1361 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
1362 | // @@protoc_insertion_point(field_set_pointer:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.name) |
1363 | } |
1364 | inline std::string* TrackableObjectGraph_TrackableObject_SerializedTensor::mutable_name() { |
1365 | |
1366 | // @@protoc_insertion_point(field_mutable:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.name) |
1367 | return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1368 | } |
1369 | inline std::string* TrackableObjectGraph_TrackableObject_SerializedTensor::release_name() { |
1370 | // @@protoc_insertion_point(field_release:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.name) |
1371 | |
1372 | return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1373 | } |
1374 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::set_allocated_name(std::string* name) { |
1375 | if (name != nullptr) { |
1376 | |
1377 | } else { |
1378 | |
1379 | } |
1380 | name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, |
1381 | GetArenaNoVirtual()); |
1382 | // @@protoc_insertion_point(field_set_allocated:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.name) |
1383 | } |
1384 | inline std::string* TrackableObjectGraph_TrackableObject_SerializedTensor::unsafe_arena_release_name() { |
1385 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.name) |
1386 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
1387 | |
1388 | return name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1389 | GetArenaNoVirtual()); |
1390 | } |
1391 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::unsafe_arena_set_allocated_name( |
1392 | std::string* name) { |
1393 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
1394 | if (name != nullptr) { |
1395 | |
1396 | } else { |
1397 | |
1398 | } |
1399 | name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1400 | name, GetArenaNoVirtual()); |
1401 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.name) |
1402 | } |
1403 | |
1404 | // string full_name = 2; |
1405 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::clear_full_name() { |
1406 | full_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1407 | } |
1408 | inline const std::string& TrackableObjectGraph_TrackableObject_SerializedTensor::full_name() const { |
1409 | // @@protoc_insertion_point(field_get:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.full_name) |
1410 | return full_name_.Get(); |
1411 | } |
1412 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::set_full_name(const std::string& value) { |
1413 | |
1414 | full_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
1415 | // @@protoc_insertion_point(field_set:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.full_name) |
1416 | } |
1417 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::set_full_name(std::string&& value) { |
1418 | |
1419 | full_name_.Set( |
1420 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
1421 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.full_name) |
1422 | } |
1423 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::set_full_name(const char* value) { |
1424 | GOOGLE_DCHECK(value != nullptr); |
1425 | |
1426 | full_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
1427 | GetArenaNoVirtual()); |
1428 | // @@protoc_insertion_point(field_set_char:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.full_name) |
1429 | } |
1430 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::set_full_name(const char* value, |
1431 | size_t size) { |
1432 | |
1433 | full_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
1434 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
1435 | // @@protoc_insertion_point(field_set_pointer:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.full_name) |
1436 | } |
1437 | inline std::string* TrackableObjectGraph_TrackableObject_SerializedTensor::mutable_full_name() { |
1438 | |
1439 | // @@protoc_insertion_point(field_mutable:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.full_name) |
1440 | return full_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1441 | } |
1442 | inline std::string* TrackableObjectGraph_TrackableObject_SerializedTensor::release_full_name() { |
1443 | // @@protoc_insertion_point(field_release:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.full_name) |
1444 | |
1445 | return full_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1446 | } |
1447 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::set_allocated_full_name(std::string* full_name) { |
1448 | if (full_name != nullptr) { |
1449 | |
1450 | } else { |
1451 | |
1452 | } |
1453 | full_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), full_name, |
1454 | GetArenaNoVirtual()); |
1455 | // @@protoc_insertion_point(field_set_allocated:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.full_name) |
1456 | } |
1457 | inline std::string* TrackableObjectGraph_TrackableObject_SerializedTensor::unsafe_arena_release_full_name() { |
1458 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.full_name) |
1459 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
1460 | |
1461 | return full_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1462 | GetArenaNoVirtual()); |
1463 | } |
1464 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::unsafe_arena_set_allocated_full_name( |
1465 | std::string* full_name) { |
1466 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
1467 | if (full_name != nullptr) { |
1468 | |
1469 | } else { |
1470 | |
1471 | } |
1472 | full_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1473 | full_name, GetArenaNoVirtual()); |
1474 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.full_name) |
1475 | } |
1476 | |
1477 | // string checkpoint_key = 3; |
1478 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::clear_checkpoint_key() { |
1479 | checkpoint_key_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1480 | } |
1481 | inline const std::string& TrackableObjectGraph_TrackableObject_SerializedTensor::checkpoint_key() const { |
1482 | // @@protoc_insertion_point(field_get:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.checkpoint_key) |
1483 | return checkpoint_key_.Get(); |
1484 | } |
1485 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::set_checkpoint_key(const std::string& value) { |
1486 | |
1487 | checkpoint_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
1488 | // @@protoc_insertion_point(field_set:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.checkpoint_key) |
1489 | } |
1490 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::set_checkpoint_key(std::string&& value) { |
1491 | |
1492 | checkpoint_key_.Set( |
1493 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
1494 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.checkpoint_key) |
1495 | } |
1496 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::set_checkpoint_key(const char* value) { |
1497 | GOOGLE_DCHECK(value != nullptr); |
1498 | |
1499 | checkpoint_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
1500 | GetArenaNoVirtual()); |
1501 | // @@protoc_insertion_point(field_set_char:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.checkpoint_key) |
1502 | } |
1503 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::set_checkpoint_key(const char* value, |
1504 | size_t size) { |
1505 | |
1506 | checkpoint_key_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
1507 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
1508 | // @@protoc_insertion_point(field_set_pointer:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.checkpoint_key) |
1509 | } |
1510 | inline std::string* TrackableObjectGraph_TrackableObject_SerializedTensor::mutable_checkpoint_key() { |
1511 | |
1512 | // @@protoc_insertion_point(field_mutable:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.checkpoint_key) |
1513 | return checkpoint_key_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1514 | } |
1515 | inline std::string* TrackableObjectGraph_TrackableObject_SerializedTensor::release_checkpoint_key() { |
1516 | // @@protoc_insertion_point(field_release:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.checkpoint_key) |
1517 | |
1518 | return checkpoint_key_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1519 | } |
1520 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::set_allocated_checkpoint_key(std::string* checkpoint_key) { |
1521 | if (checkpoint_key != nullptr) { |
1522 | |
1523 | } else { |
1524 | |
1525 | } |
1526 | checkpoint_key_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), checkpoint_key, |
1527 | GetArenaNoVirtual()); |
1528 | // @@protoc_insertion_point(field_set_allocated:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.checkpoint_key) |
1529 | } |
1530 | inline std::string* TrackableObjectGraph_TrackableObject_SerializedTensor::unsafe_arena_release_checkpoint_key() { |
1531 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.checkpoint_key) |
1532 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
1533 | |
1534 | return checkpoint_key_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1535 | GetArenaNoVirtual()); |
1536 | } |
1537 | inline void TrackableObjectGraph_TrackableObject_SerializedTensor::unsafe_arena_set_allocated_checkpoint_key( |
1538 | std::string* checkpoint_key) { |
1539 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
1540 | if (checkpoint_key != nullptr) { |
1541 | |
1542 | } else { |
1543 | |
1544 | } |
1545 | checkpoint_key_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1546 | checkpoint_key, GetArenaNoVirtual()); |
1547 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor.checkpoint_key) |
1548 | } |
1549 | |
1550 | // ------------------------------------------------------------------- |
1551 | |
1552 | // TrackableObjectGraph_TrackableObject_SlotVariableReference |
1553 | |
1554 | // int32 original_variable_node_id = 1; |
1555 | inline void TrackableObjectGraph_TrackableObject_SlotVariableReference::clear_original_variable_node_id() { |
1556 | original_variable_node_id_ = 0; |
1557 | } |
1558 | inline ::PROTOBUF_NAMESPACE_ID::int32 TrackableObjectGraph_TrackableObject_SlotVariableReference::original_variable_node_id() const { |
1559 | // @@protoc_insertion_point(field_get:tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference.original_variable_node_id) |
1560 | return original_variable_node_id_; |
1561 | } |
1562 | inline void TrackableObjectGraph_TrackableObject_SlotVariableReference::set_original_variable_node_id(::PROTOBUF_NAMESPACE_ID::int32 value) { |
1563 | |
1564 | original_variable_node_id_ = value; |
1565 | // @@protoc_insertion_point(field_set:tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference.original_variable_node_id) |
1566 | } |
1567 | |
1568 | // string slot_name = 2; |
1569 | inline void TrackableObjectGraph_TrackableObject_SlotVariableReference::clear_slot_name() { |
1570 | slot_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1571 | } |
1572 | inline const std::string& TrackableObjectGraph_TrackableObject_SlotVariableReference::slot_name() const { |
1573 | // @@protoc_insertion_point(field_get:tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference.slot_name) |
1574 | return slot_name_.Get(); |
1575 | } |
1576 | inline void TrackableObjectGraph_TrackableObject_SlotVariableReference::set_slot_name(const std::string& value) { |
1577 | |
1578 | slot_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
1579 | // @@protoc_insertion_point(field_set:tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference.slot_name) |
1580 | } |
1581 | inline void TrackableObjectGraph_TrackableObject_SlotVariableReference::set_slot_name(std::string&& value) { |
1582 | |
1583 | slot_name_.Set( |
1584 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
1585 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference.slot_name) |
1586 | } |
1587 | inline void TrackableObjectGraph_TrackableObject_SlotVariableReference::set_slot_name(const char* value) { |
1588 | GOOGLE_DCHECK(value != nullptr); |
1589 | |
1590 | slot_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
1591 | GetArenaNoVirtual()); |
1592 | // @@protoc_insertion_point(field_set_char:tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference.slot_name) |
1593 | } |
1594 | inline void TrackableObjectGraph_TrackableObject_SlotVariableReference::set_slot_name(const char* value, |
1595 | size_t size) { |
1596 | |
1597 | slot_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
1598 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
1599 | // @@protoc_insertion_point(field_set_pointer:tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference.slot_name) |
1600 | } |
1601 | inline std::string* TrackableObjectGraph_TrackableObject_SlotVariableReference::mutable_slot_name() { |
1602 | |
1603 | // @@protoc_insertion_point(field_mutable:tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference.slot_name) |
1604 | return slot_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1605 | } |
1606 | inline std::string* TrackableObjectGraph_TrackableObject_SlotVariableReference::release_slot_name() { |
1607 | // @@protoc_insertion_point(field_release:tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference.slot_name) |
1608 | |
1609 | return slot_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1610 | } |
1611 | inline void TrackableObjectGraph_TrackableObject_SlotVariableReference::set_allocated_slot_name(std::string* slot_name) { |
1612 | if (slot_name != nullptr) { |
1613 | |
1614 | } else { |
1615 | |
1616 | } |
1617 | slot_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), slot_name, |
1618 | GetArenaNoVirtual()); |
1619 | // @@protoc_insertion_point(field_set_allocated:tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference.slot_name) |
1620 | } |
1621 | inline std::string* TrackableObjectGraph_TrackableObject_SlotVariableReference::unsafe_arena_release_slot_name() { |
1622 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference.slot_name) |
1623 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
1624 | |
1625 | return slot_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1626 | GetArenaNoVirtual()); |
1627 | } |
1628 | inline void TrackableObjectGraph_TrackableObject_SlotVariableReference::unsafe_arena_set_allocated_slot_name( |
1629 | std::string* slot_name) { |
1630 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
1631 | if (slot_name != nullptr) { |
1632 | |
1633 | } else { |
1634 | |
1635 | } |
1636 | slot_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1637 | slot_name, GetArenaNoVirtual()); |
1638 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference.slot_name) |
1639 | } |
1640 | |
1641 | // int32 slot_variable_node_id = 3; |
1642 | inline void TrackableObjectGraph_TrackableObject_SlotVariableReference::clear_slot_variable_node_id() { |
1643 | slot_variable_node_id_ = 0; |
1644 | } |
1645 | inline ::PROTOBUF_NAMESPACE_ID::int32 TrackableObjectGraph_TrackableObject_SlotVariableReference::slot_variable_node_id() const { |
1646 | // @@protoc_insertion_point(field_get:tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference.slot_variable_node_id) |
1647 | return slot_variable_node_id_; |
1648 | } |
1649 | inline void TrackableObjectGraph_TrackableObject_SlotVariableReference::set_slot_variable_node_id(::PROTOBUF_NAMESPACE_ID::int32 value) { |
1650 | |
1651 | slot_variable_node_id_ = value; |
1652 | // @@protoc_insertion_point(field_set:tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference.slot_variable_node_id) |
1653 | } |
1654 | |
1655 | // ------------------------------------------------------------------- |
1656 | |
1657 | // TrackableObjectGraph_TrackableObject |
1658 | |
1659 | // repeated .tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference children = 1; |
1660 | inline int TrackableObjectGraph_TrackableObject::children_size() const { |
1661 | return children_.size(); |
1662 | } |
1663 | inline void TrackableObjectGraph_TrackableObject::clear_children() { |
1664 | children_.Clear(); |
1665 | } |
1666 | inline ::tensorflow::TrackableObjectGraph_TrackableObject_ObjectReference* TrackableObjectGraph_TrackableObject::mutable_children(int index) { |
1667 | // @@protoc_insertion_point(field_mutable:tensorflow.TrackableObjectGraph.TrackableObject.children) |
1668 | return children_.Mutable(index); |
1669 | } |
1670 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject_ObjectReference >* |
1671 | TrackableObjectGraph_TrackableObject::mutable_children() { |
1672 | // @@protoc_insertion_point(field_mutable_list:tensorflow.TrackableObjectGraph.TrackableObject.children) |
1673 | return &children_; |
1674 | } |
1675 | inline const ::tensorflow::TrackableObjectGraph_TrackableObject_ObjectReference& TrackableObjectGraph_TrackableObject::children(int index) const { |
1676 | // @@protoc_insertion_point(field_get:tensorflow.TrackableObjectGraph.TrackableObject.children) |
1677 | return children_.Get(index); |
1678 | } |
1679 | inline ::tensorflow::TrackableObjectGraph_TrackableObject_ObjectReference* TrackableObjectGraph_TrackableObject::add_children() { |
1680 | // @@protoc_insertion_point(field_add:tensorflow.TrackableObjectGraph.TrackableObject.children) |
1681 | return children_.Add(); |
1682 | } |
1683 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject_ObjectReference >& |
1684 | TrackableObjectGraph_TrackableObject::children() const { |
1685 | // @@protoc_insertion_point(field_list:tensorflow.TrackableObjectGraph.TrackableObject.children) |
1686 | return children_; |
1687 | } |
1688 | |
1689 | // repeated .tensorflow.TrackableObjectGraph.TrackableObject.SerializedTensor attributes = 2; |
1690 | inline int TrackableObjectGraph_TrackableObject::attributes_size() const { |
1691 | return attributes_.size(); |
1692 | } |
1693 | inline void TrackableObjectGraph_TrackableObject::clear_attributes() { |
1694 | attributes_.Clear(); |
1695 | } |
1696 | inline ::tensorflow::TrackableObjectGraph_TrackableObject_SerializedTensor* TrackableObjectGraph_TrackableObject::mutable_attributes(int index) { |
1697 | // @@protoc_insertion_point(field_mutable:tensorflow.TrackableObjectGraph.TrackableObject.attributes) |
1698 | return attributes_.Mutable(index); |
1699 | } |
1700 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject_SerializedTensor >* |
1701 | TrackableObjectGraph_TrackableObject::mutable_attributes() { |
1702 | // @@protoc_insertion_point(field_mutable_list:tensorflow.TrackableObjectGraph.TrackableObject.attributes) |
1703 | return &attributes_; |
1704 | } |
1705 | inline const ::tensorflow::TrackableObjectGraph_TrackableObject_SerializedTensor& TrackableObjectGraph_TrackableObject::attributes(int index) const { |
1706 | // @@protoc_insertion_point(field_get:tensorflow.TrackableObjectGraph.TrackableObject.attributes) |
1707 | return attributes_.Get(index); |
1708 | } |
1709 | inline ::tensorflow::TrackableObjectGraph_TrackableObject_SerializedTensor* TrackableObjectGraph_TrackableObject::add_attributes() { |
1710 | // @@protoc_insertion_point(field_add:tensorflow.TrackableObjectGraph.TrackableObject.attributes) |
1711 | return attributes_.Add(); |
1712 | } |
1713 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject_SerializedTensor >& |
1714 | TrackableObjectGraph_TrackableObject::attributes() const { |
1715 | // @@protoc_insertion_point(field_list:tensorflow.TrackableObjectGraph.TrackableObject.attributes) |
1716 | return attributes_; |
1717 | } |
1718 | |
1719 | // repeated .tensorflow.TrackableObjectGraph.TrackableObject.SlotVariableReference slot_variables = 3; |
1720 | inline int TrackableObjectGraph_TrackableObject::slot_variables_size() const { |
1721 | return slot_variables_.size(); |
1722 | } |
1723 | inline void TrackableObjectGraph_TrackableObject::clear_slot_variables() { |
1724 | slot_variables_.Clear(); |
1725 | } |
1726 | inline ::tensorflow::TrackableObjectGraph_TrackableObject_SlotVariableReference* TrackableObjectGraph_TrackableObject::mutable_slot_variables(int index) { |
1727 | // @@protoc_insertion_point(field_mutable:tensorflow.TrackableObjectGraph.TrackableObject.slot_variables) |
1728 | return slot_variables_.Mutable(index); |
1729 | } |
1730 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject_SlotVariableReference >* |
1731 | TrackableObjectGraph_TrackableObject::mutable_slot_variables() { |
1732 | // @@protoc_insertion_point(field_mutable_list:tensorflow.TrackableObjectGraph.TrackableObject.slot_variables) |
1733 | return &slot_variables_; |
1734 | } |
1735 | inline const ::tensorflow::TrackableObjectGraph_TrackableObject_SlotVariableReference& TrackableObjectGraph_TrackableObject::slot_variables(int index) const { |
1736 | // @@protoc_insertion_point(field_get:tensorflow.TrackableObjectGraph.TrackableObject.slot_variables) |
1737 | return slot_variables_.Get(index); |
1738 | } |
1739 | inline ::tensorflow::TrackableObjectGraph_TrackableObject_SlotVariableReference* TrackableObjectGraph_TrackableObject::add_slot_variables() { |
1740 | // @@protoc_insertion_point(field_add:tensorflow.TrackableObjectGraph.TrackableObject.slot_variables) |
1741 | return slot_variables_.Add(); |
1742 | } |
1743 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject_SlotVariableReference >& |
1744 | TrackableObjectGraph_TrackableObject::slot_variables() const { |
1745 | // @@protoc_insertion_point(field_list:tensorflow.TrackableObjectGraph.TrackableObject.slot_variables) |
1746 | return slot_variables_; |
1747 | } |
1748 | |
1749 | // .tensorflow.RegisteredSaver registered_saver = 4; |
1750 | inline bool TrackableObjectGraph_TrackableObject::has_registered_saver() const { |
1751 | return this != internal_default_instance() && registered_saver_ != nullptr; |
1752 | } |
1753 | inline void TrackableObjectGraph_TrackableObject::clear_registered_saver() { |
1754 | if (GetArenaNoVirtual() == nullptr && registered_saver_ != nullptr) { |
1755 | delete registered_saver_; |
1756 | } |
1757 | registered_saver_ = nullptr; |
1758 | } |
1759 | inline const ::tensorflow::RegisteredSaver& TrackableObjectGraph_TrackableObject::registered_saver() const { |
1760 | const ::tensorflow::RegisteredSaver* p = registered_saver_; |
1761 | // @@protoc_insertion_point(field_get:tensorflow.TrackableObjectGraph.TrackableObject.registered_saver) |
1762 | return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::RegisteredSaver*>( |
1763 | &::tensorflow::_RegisteredSaver_default_instance_); |
1764 | } |
1765 | inline ::tensorflow::RegisteredSaver* TrackableObjectGraph_TrackableObject::release_registered_saver() { |
1766 | // @@protoc_insertion_point(field_release:tensorflow.TrackableObjectGraph.TrackableObject.registered_saver) |
1767 | |
1768 | ::tensorflow::RegisteredSaver* temp = registered_saver_; |
1769 | if (GetArenaNoVirtual() != nullptr) { |
1770 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
1771 | } |
1772 | registered_saver_ = nullptr; |
1773 | return temp; |
1774 | } |
1775 | inline ::tensorflow::RegisteredSaver* TrackableObjectGraph_TrackableObject::unsafe_arena_release_registered_saver() { |
1776 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.TrackableObjectGraph.TrackableObject.registered_saver) |
1777 | |
1778 | ::tensorflow::RegisteredSaver* temp = registered_saver_; |
1779 | registered_saver_ = nullptr; |
1780 | return temp; |
1781 | } |
1782 | inline ::tensorflow::RegisteredSaver* TrackableObjectGraph_TrackableObject::mutable_registered_saver() { |
1783 | |
1784 | if (registered_saver_ == nullptr) { |
1785 | auto* p = CreateMaybeMessage<::tensorflow::RegisteredSaver>(GetArenaNoVirtual()); |
1786 | registered_saver_ = p; |
1787 | } |
1788 | // @@protoc_insertion_point(field_mutable:tensorflow.TrackableObjectGraph.TrackableObject.registered_saver) |
1789 | return registered_saver_; |
1790 | } |
1791 | inline void TrackableObjectGraph_TrackableObject::set_allocated_registered_saver(::tensorflow::RegisteredSaver* registered_saver) { |
1792 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
1793 | if (message_arena == nullptr) { |
1794 | delete registered_saver_; |
1795 | } |
1796 | if (registered_saver) { |
1797 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
1798 | ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(registered_saver); |
1799 | if (message_arena != submessage_arena) { |
1800 | registered_saver = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
1801 | message_arena, registered_saver, submessage_arena); |
1802 | } |
1803 | |
1804 | } else { |
1805 | |
1806 | } |
1807 | registered_saver_ = registered_saver; |
1808 | // @@protoc_insertion_point(field_set_allocated:tensorflow.TrackableObjectGraph.TrackableObject.registered_saver) |
1809 | } |
1810 | |
1811 | // .google.protobuf.BoolValue has_checkpoint_values = 5; |
1812 | inline bool TrackableObjectGraph_TrackableObject::has_has_checkpoint_values() const { |
1813 | return this != internal_default_instance() && has_checkpoint_values_ != nullptr; |
1814 | } |
1815 | inline const PROTOBUF_NAMESPACE_ID::BoolValue& TrackableObjectGraph_TrackableObject::has_checkpoint_values() const { |
1816 | const PROTOBUF_NAMESPACE_ID::BoolValue* p = has_checkpoint_values_; |
1817 | // @@protoc_insertion_point(field_get:tensorflow.TrackableObjectGraph.TrackableObject.has_checkpoint_values) |
1818 | return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::BoolValue*>( |
1819 | &PROTOBUF_NAMESPACE_ID::_BoolValue_default_instance_); |
1820 | } |
1821 | inline PROTOBUF_NAMESPACE_ID::BoolValue* TrackableObjectGraph_TrackableObject::release_has_checkpoint_values() { |
1822 | // @@protoc_insertion_point(field_release:tensorflow.TrackableObjectGraph.TrackableObject.has_checkpoint_values) |
1823 | |
1824 | PROTOBUF_NAMESPACE_ID::BoolValue* temp = has_checkpoint_values_; |
1825 | if (GetArenaNoVirtual() != nullptr) { |
1826 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
1827 | } |
1828 | has_checkpoint_values_ = nullptr; |
1829 | return temp; |
1830 | } |
1831 | inline PROTOBUF_NAMESPACE_ID::BoolValue* TrackableObjectGraph_TrackableObject::unsafe_arena_release_has_checkpoint_values() { |
1832 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.TrackableObjectGraph.TrackableObject.has_checkpoint_values) |
1833 | |
1834 | PROTOBUF_NAMESPACE_ID::BoolValue* temp = has_checkpoint_values_; |
1835 | has_checkpoint_values_ = nullptr; |
1836 | return temp; |
1837 | } |
1838 | inline PROTOBUF_NAMESPACE_ID::BoolValue* TrackableObjectGraph_TrackableObject::mutable_has_checkpoint_values() { |
1839 | |
1840 | if (has_checkpoint_values_ == nullptr) { |
1841 | auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::BoolValue>(GetArenaNoVirtual()); |
1842 | has_checkpoint_values_ = p; |
1843 | } |
1844 | // @@protoc_insertion_point(field_mutable:tensorflow.TrackableObjectGraph.TrackableObject.has_checkpoint_values) |
1845 | return has_checkpoint_values_; |
1846 | } |
1847 | inline void TrackableObjectGraph_TrackableObject::set_allocated_has_checkpoint_values(PROTOBUF_NAMESPACE_ID::BoolValue* has_checkpoint_values) { |
1848 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
1849 | if (message_arena == nullptr) { |
1850 | delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(has_checkpoint_values_); |
1851 | } |
1852 | if (has_checkpoint_values) { |
1853 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
1854 | reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(has_checkpoint_values)->GetArena(); |
1855 | if (message_arena != submessage_arena) { |
1856 | has_checkpoint_values = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
1857 | message_arena, has_checkpoint_values, submessage_arena); |
1858 | } |
1859 | |
1860 | } else { |
1861 | |
1862 | } |
1863 | has_checkpoint_values_ = has_checkpoint_values; |
1864 | // @@protoc_insertion_point(field_set_allocated:tensorflow.TrackableObjectGraph.TrackableObject.has_checkpoint_values) |
1865 | } |
1866 | |
1867 | // ------------------------------------------------------------------- |
1868 | |
1869 | // TrackableObjectGraph |
1870 | |
1871 | // repeated .tensorflow.TrackableObjectGraph.TrackableObject nodes = 1; |
1872 | inline int TrackableObjectGraph::nodes_size() const { |
1873 | return nodes_.size(); |
1874 | } |
1875 | inline void TrackableObjectGraph::clear_nodes() { |
1876 | nodes_.Clear(); |
1877 | } |
1878 | inline ::tensorflow::TrackableObjectGraph_TrackableObject* TrackableObjectGraph::mutable_nodes(int index) { |
1879 | // @@protoc_insertion_point(field_mutable:tensorflow.TrackableObjectGraph.nodes) |
1880 | return nodes_.Mutable(index); |
1881 | } |
1882 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject >* |
1883 | TrackableObjectGraph::mutable_nodes() { |
1884 | // @@protoc_insertion_point(field_mutable_list:tensorflow.TrackableObjectGraph.nodes) |
1885 | return &nodes_; |
1886 | } |
1887 | inline const ::tensorflow::TrackableObjectGraph_TrackableObject& TrackableObjectGraph::nodes(int index) const { |
1888 | // @@protoc_insertion_point(field_get:tensorflow.TrackableObjectGraph.nodes) |
1889 | return nodes_.Get(index); |
1890 | } |
1891 | inline ::tensorflow::TrackableObjectGraph_TrackableObject* TrackableObjectGraph::add_nodes() { |
1892 | // @@protoc_insertion_point(field_add:tensorflow.TrackableObjectGraph.nodes) |
1893 | return nodes_.Add(); |
1894 | } |
1895 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TrackableObjectGraph_TrackableObject >& |
1896 | TrackableObjectGraph::nodes() const { |
1897 | // @@protoc_insertion_point(field_list:tensorflow.TrackableObjectGraph.nodes) |
1898 | return nodes_; |
1899 | } |
1900 | |
1901 | // ------------------------------------------------------------------- |
1902 | |
1903 | // RegisteredSaver |
1904 | |
1905 | // string name = 1; |
1906 | inline void RegisteredSaver::clear_name() { |
1907 | name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1908 | } |
1909 | inline const std::string& RegisteredSaver::name() const { |
1910 | // @@protoc_insertion_point(field_get:tensorflow.RegisteredSaver.name) |
1911 | return name_.Get(); |
1912 | } |
1913 | inline void RegisteredSaver::set_name(const std::string& value) { |
1914 | |
1915 | name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
1916 | // @@protoc_insertion_point(field_set:tensorflow.RegisteredSaver.name) |
1917 | } |
1918 | inline void RegisteredSaver::set_name(std::string&& value) { |
1919 | |
1920 | name_.Set( |
1921 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
1922 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.RegisteredSaver.name) |
1923 | } |
1924 | inline void RegisteredSaver::set_name(const char* value) { |
1925 | GOOGLE_DCHECK(value != nullptr); |
1926 | |
1927 | name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
1928 | GetArenaNoVirtual()); |
1929 | // @@protoc_insertion_point(field_set_char:tensorflow.RegisteredSaver.name) |
1930 | } |
1931 | inline void RegisteredSaver::set_name(const char* value, |
1932 | size_t size) { |
1933 | |
1934 | name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
1935 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
1936 | // @@protoc_insertion_point(field_set_pointer:tensorflow.RegisteredSaver.name) |
1937 | } |
1938 | inline std::string* RegisteredSaver::mutable_name() { |
1939 | |
1940 | // @@protoc_insertion_point(field_mutable:tensorflow.RegisteredSaver.name) |
1941 | return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1942 | } |
1943 | inline std::string* RegisteredSaver::release_name() { |
1944 | // @@protoc_insertion_point(field_release:tensorflow.RegisteredSaver.name) |
1945 | |
1946 | return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1947 | } |
1948 | inline void RegisteredSaver::set_allocated_name(std::string* name) { |
1949 | if (name != nullptr) { |
1950 | |
1951 | } else { |
1952 | |
1953 | } |
1954 | name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name, |
1955 | GetArenaNoVirtual()); |
1956 | // @@protoc_insertion_point(field_set_allocated:tensorflow.RegisteredSaver.name) |
1957 | } |
1958 | inline std::string* RegisteredSaver::unsafe_arena_release_name() { |
1959 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RegisteredSaver.name) |
1960 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
1961 | |
1962 | return name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1963 | GetArenaNoVirtual()); |
1964 | } |
1965 | inline void RegisteredSaver::unsafe_arena_set_allocated_name( |
1966 | std::string* name) { |
1967 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
1968 | if (name != nullptr) { |
1969 | |
1970 | } else { |
1971 | |
1972 | } |
1973 | name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1974 | name, GetArenaNoVirtual()); |
1975 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.RegisteredSaver.name) |
1976 | } |
1977 | |
1978 | // string object_name = 2; |
1979 | inline void RegisteredSaver::clear_object_name() { |
1980 | object_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
1981 | } |
1982 | inline const std::string& RegisteredSaver::object_name() const { |
1983 | // @@protoc_insertion_point(field_get:tensorflow.RegisteredSaver.object_name) |
1984 | return object_name_.Get(); |
1985 | } |
1986 | inline void RegisteredSaver::set_object_name(const std::string& value) { |
1987 | |
1988 | object_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual()); |
1989 | // @@protoc_insertion_point(field_set:tensorflow.RegisteredSaver.object_name) |
1990 | } |
1991 | inline void RegisteredSaver::set_object_name(std::string&& value) { |
1992 | |
1993 | object_name_.Set( |
1994 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual()); |
1995 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.RegisteredSaver.object_name) |
1996 | } |
1997 | inline void RegisteredSaver::set_object_name(const char* value) { |
1998 | GOOGLE_DCHECK(value != nullptr); |
1999 | |
2000 | object_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value), |
2001 | GetArenaNoVirtual()); |
2002 | // @@protoc_insertion_point(field_set_char:tensorflow.RegisteredSaver.object_name) |
2003 | } |
2004 | inline void RegisteredSaver::set_object_name(const char* value, |
2005 | size_t size) { |
2006 | |
2007 | object_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string( |
2008 | reinterpret_cast<const char*>(value), size), GetArenaNoVirtual()); |
2009 | // @@protoc_insertion_point(field_set_pointer:tensorflow.RegisteredSaver.object_name) |
2010 | } |
2011 | inline std::string* RegisteredSaver::mutable_object_name() { |
2012 | |
2013 | // @@protoc_insertion_point(field_mutable:tensorflow.RegisteredSaver.object_name) |
2014 | return object_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
2015 | } |
2016 | inline std::string* RegisteredSaver::release_object_name() { |
2017 | // @@protoc_insertion_point(field_release:tensorflow.RegisteredSaver.object_name) |
2018 | |
2019 | return object_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual()); |
2020 | } |
2021 | inline void RegisteredSaver::set_allocated_object_name(std::string* object_name) { |
2022 | if (object_name != nullptr) { |
2023 | |
2024 | } else { |
2025 | |
2026 | } |
2027 | object_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), object_name, |
2028 | GetArenaNoVirtual()); |
2029 | // @@protoc_insertion_point(field_set_allocated:tensorflow.RegisteredSaver.object_name) |
2030 | } |
2031 | inline std::string* RegisteredSaver::unsafe_arena_release_object_name() { |
2032 | // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.RegisteredSaver.object_name) |
2033 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
2034 | |
2035 | return object_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
2036 | GetArenaNoVirtual()); |
2037 | } |
2038 | inline void RegisteredSaver::unsafe_arena_set_allocated_object_name( |
2039 | std::string* object_name) { |
2040 | GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr); |
2041 | if (object_name != nullptr) { |
2042 | |
2043 | } else { |
2044 | |
2045 | } |
2046 | object_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
2047 | object_name, GetArenaNoVirtual()); |
2048 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.RegisteredSaver.object_name) |
2049 | } |
2050 | |
2051 | #ifdef __GNUC__ |
2052 | #pragma GCC diagnostic pop |
2053 | #endif // __GNUC__ |
2054 | // ------------------------------------------------------------------- |
2055 | |
2056 | // ------------------------------------------------------------------- |
2057 | |
2058 | // ------------------------------------------------------------------- |
2059 | |
2060 | // ------------------------------------------------------------------- |
2061 | |
2062 | // ------------------------------------------------------------------- |
2063 | |
2064 | |
2065 | // @@protoc_insertion_point(namespace_scope) |
2066 | |
2067 | } // namespace tensorflow |
2068 | |
2069 | // @@protoc_insertion_point(global_scope) |
2070 | |
2071 | #include <google/protobuf/port_undef.inc> |
2072 | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprotobuf_2ftrackable_5fobject_5fgraph_2eproto |
2073 | |