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