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