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