1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: tensorflow/core/example/example.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fexample_2fexample_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fexample_2fexample_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3009000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3009002 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_table_driven.h>
27#include <google/protobuf/generated_message_util.h>
28#include <google/protobuf/inlined_string_field.h>
29#include <google/protobuf/metadata.h>
30#include <google/protobuf/generated_message_reflection.h>
31#include <google/protobuf/message.h>
32#include <google/protobuf/repeated_field.h> // IWYU pragma: export
33#include <google/protobuf/extension_set.h> // IWYU pragma: export
34#include <google/protobuf/unknown_field_set.h>
35#include "tensorflow/core/example/feature.pb.h"
36// @@protoc_insertion_point(includes)
37#include <google/protobuf/port_def.inc>
38#define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fexample_2fexample_2eproto
39PROTOBUF_NAMESPACE_OPEN
40namespace internal {
41class AnyMetadata;
42} // namespace internal
43PROTOBUF_NAMESPACE_CLOSE
44
45// Internal implementation detail -- do not use these members.
46struct TableStruct_tensorflow_2fcore_2fexample_2fexample_2eproto {
47 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
48 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
49 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
50 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
51 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
52 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
53 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
54 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
55 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
56};
57extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fexample_2fexample_2eproto;
58namespace tensorflow {
59class Example;
60class ExampleDefaultTypeInternal;
61extern ExampleDefaultTypeInternal _Example_default_instance_;
62class SequenceExample;
63class SequenceExampleDefaultTypeInternal;
64extern SequenceExampleDefaultTypeInternal _SequenceExample_default_instance_;
65} // namespace tensorflow
66PROTOBUF_NAMESPACE_OPEN
67template<> ::tensorflow::Example* Arena::CreateMaybeMessage<::tensorflow::Example>(Arena*);
68template<> ::tensorflow::SequenceExample* Arena::CreateMaybeMessage<::tensorflow::SequenceExample>(Arena*);
69PROTOBUF_NAMESPACE_CLOSE
70namespace tensorflow {
71
72// ===================================================================
73
74class Example :
75 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.Example) */ {
76 public:
77 Example();
78 virtual ~Example();
79
80 Example(const Example& from);
81 Example(Example&& from) noexcept
82 : Example() {
83 *this = ::std::move(from);
84 }
85
86 inline Example& operator=(const Example& from) {
87 CopyFrom(from);
88 return *this;
89 }
90 inline Example& operator=(Example&& from) noexcept {
91 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
92 if (this != &from) InternalSwap(&from);
93 } else {
94 CopyFrom(from);
95 }
96 return *this;
97 }
98
99 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
100 return GetArenaNoVirtual();
101 }
102 inline void* GetMaybeArenaPointer() const final {
103 return MaybeArenaPtr();
104 }
105 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
106 return GetDescriptor();
107 }
108 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
109 return GetMetadataStatic().descriptor;
110 }
111 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
112 return GetMetadataStatic().reflection;
113 }
114 static const Example& default_instance();
115
116 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
117 static inline const Example* internal_default_instance() {
118 return reinterpret_cast<const Example*>(
119 &_Example_default_instance_);
120 }
121 static constexpr int kIndexInFileMessages =
122 0;
123
124 friend void swap(Example& a, Example& b) {
125 a.Swap(&b);
126 }
127 inline void Swap(Example* other) {
128 if (other == this) return;
129 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
130 InternalSwap(other);
131 } else {
132 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
133 }
134 }
135 void UnsafeArenaSwap(Example* other) {
136 if (other == this) return;
137 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
138 InternalSwap(other);
139 }
140
141 // implements Message ----------------------------------------------
142
143 inline Example* New() const final {
144 return CreateMaybeMessage<Example>(nullptr);
145 }
146
147 Example* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
148 return CreateMaybeMessage<Example>(arena);
149 }
150 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
151 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
152 void CopyFrom(const Example& from);
153 void MergeFrom(const Example& from);
154 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
155 bool IsInitialized() const final;
156
157 size_t ByteSizeLong() const final;
158 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
159 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
160 #else
161 bool MergePartialFromCodedStream(
162 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
163 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
164 void SerializeWithCachedSizes(
165 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
166 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
167 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
168 int GetCachedSize() const final { return _cached_size_.Get(); }
169
170 private:
171 inline void SharedCtor();
172 inline void SharedDtor();
173 void SetCachedSize(int size) const final;
174 void InternalSwap(Example* other);
175 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
176 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
177 return "tensorflow.Example";
178 }
179 protected:
180 explicit Example(::PROTOBUF_NAMESPACE_ID::Arena* arena);
181 private:
182 static void ArenaDtor(void* object);
183 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
184 private:
185 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
186 return _internal_metadata_.arena();
187 }
188 inline void* MaybeArenaPtr() const {
189 return _internal_metadata_.raw_arena_ptr();
190 }
191 public:
192
193 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
194 private:
195 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
196 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fexample_2fexample_2eproto);
197 return ::descriptor_table_tensorflow_2fcore_2fexample_2fexample_2eproto.file_level_metadata[kIndexInFileMessages];
198 }
199
200 public:
201
202 // nested types ----------------------------------------------------
203
204 // accessors -------------------------------------------------------
205
206 enum : int {
207 kFeaturesFieldNumber = 1,
208 };
209 // .tensorflow.Features features = 1;
210 bool has_features() const;
211 void clear_features();
212 const ::tensorflow::Features& features() const;
213 ::tensorflow::Features* release_features();
214 ::tensorflow::Features* mutable_features();
215 void set_allocated_features(::tensorflow::Features* features);
216 void unsafe_arena_set_allocated_features(
217 ::tensorflow::Features* features);
218 ::tensorflow::Features* unsafe_arena_release_features();
219
220 // @@protoc_insertion_point(class_scope:tensorflow.Example)
221 private:
222 class _Internal;
223
224 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
225 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
226 typedef void InternalArenaConstructable_;
227 typedef void DestructorSkippable_;
228 ::tensorflow::Features* features_;
229 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
230 friend struct ::TableStruct_tensorflow_2fcore_2fexample_2fexample_2eproto;
231};
232// -------------------------------------------------------------------
233
234class SequenceExample :
235 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.SequenceExample) */ {
236 public:
237 SequenceExample();
238 virtual ~SequenceExample();
239
240 SequenceExample(const SequenceExample& from);
241 SequenceExample(SequenceExample&& from) noexcept
242 : SequenceExample() {
243 *this = ::std::move(from);
244 }
245
246 inline SequenceExample& operator=(const SequenceExample& from) {
247 CopyFrom(from);
248 return *this;
249 }
250 inline SequenceExample& operator=(SequenceExample&& from) noexcept {
251 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
252 if (this != &from) InternalSwap(&from);
253 } else {
254 CopyFrom(from);
255 }
256 return *this;
257 }
258
259 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
260 return GetArenaNoVirtual();
261 }
262 inline void* GetMaybeArenaPointer() const final {
263 return MaybeArenaPtr();
264 }
265 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
266 return GetDescriptor();
267 }
268 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
269 return GetMetadataStatic().descriptor;
270 }
271 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
272 return GetMetadataStatic().reflection;
273 }
274 static const SequenceExample& default_instance();
275
276 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
277 static inline const SequenceExample* internal_default_instance() {
278 return reinterpret_cast<const SequenceExample*>(
279 &_SequenceExample_default_instance_);
280 }
281 static constexpr int kIndexInFileMessages =
282 1;
283
284 friend void swap(SequenceExample& a, SequenceExample& b) {
285 a.Swap(&b);
286 }
287 inline void Swap(SequenceExample* other) {
288 if (other == this) return;
289 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
290 InternalSwap(other);
291 } else {
292 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
293 }
294 }
295 void UnsafeArenaSwap(SequenceExample* other) {
296 if (other == this) return;
297 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
298 InternalSwap(other);
299 }
300
301 // implements Message ----------------------------------------------
302
303 inline SequenceExample* New() const final {
304 return CreateMaybeMessage<SequenceExample>(nullptr);
305 }
306
307 SequenceExample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
308 return CreateMaybeMessage<SequenceExample>(arena);
309 }
310 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
311 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
312 void CopyFrom(const SequenceExample& from);
313 void MergeFrom(const SequenceExample& from);
314 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
315 bool IsInitialized() const final;
316
317 size_t ByteSizeLong() const final;
318 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
319 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
320 #else
321 bool MergePartialFromCodedStream(
322 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
323 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
324 void SerializeWithCachedSizes(
325 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
326 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
327 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
328 int GetCachedSize() const final { return _cached_size_.Get(); }
329
330 private:
331 inline void SharedCtor();
332 inline void SharedDtor();
333 void SetCachedSize(int size) const final;
334 void InternalSwap(SequenceExample* other);
335 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
336 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
337 return "tensorflow.SequenceExample";
338 }
339 protected:
340 explicit SequenceExample(::PROTOBUF_NAMESPACE_ID::Arena* arena);
341 private:
342 static void ArenaDtor(void* object);
343 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
344 private:
345 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
346 return _internal_metadata_.arena();
347 }
348 inline void* MaybeArenaPtr() const {
349 return _internal_metadata_.raw_arena_ptr();
350 }
351 public:
352
353 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
354 private:
355 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
356 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fexample_2fexample_2eproto);
357 return ::descriptor_table_tensorflow_2fcore_2fexample_2fexample_2eproto.file_level_metadata[kIndexInFileMessages];
358 }
359
360 public:
361
362 // nested types ----------------------------------------------------
363
364 // accessors -------------------------------------------------------
365
366 enum : int {
367 kContextFieldNumber = 1,
368 kFeatureListsFieldNumber = 2,
369 };
370 // .tensorflow.Features context = 1;
371 bool has_context() const;
372 void clear_context();
373 const ::tensorflow::Features& context() const;
374 ::tensorflow::Features* release_context();
375 ::tensorflow::Features* mutable_context();
376 void set_allocated_context(::tensorflow::Features* context);
377 void unsafe_arena_set_allocated_context(
378 ::tensorflow::Features* context);
379 ::tensorflow::Features* unsafe_arena_release_context();
380
381 // .tensorflow.FeatureLists feature_lists = 2;
382 bool has_feature_lists() const;
383 void clear_feature_lists();
384 const ::tensorflow::FeatureLists& feature_lists() const;
385 ::tensorflow::FeatureLists* release_feature_lists();
386 ::tensorflow::FeatureLists* mutable_feature_lists();
387 void set_allocated_feature_lists(::tensorflow::FeatureLists* feature_lists);
388 void unsafe_arena_set_allocated_feature_lists(
389 ::tensorflow::FeatureLists* feature_lists);
390 ::tensorflow::FeatureLists* unsafe_arena_release_feature_lists();
391
392 // @@protoc_insertion_point(class_scope:tensorflow.SequenceExample)
393 private:
394 class _Internal;
395
396 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
397 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
398 typedef void InternalArenaConstructable_;
399 typedef void DestructorSkippable_;
400 ::tensorflow::Features* context_;
401 ::tensorflow::FeatureLists* feature_lists_;
402 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
403 friend struct ::TableStruct_tensorflow_2fcore_2fexample_2fexample_2eproto;
404};
405// ===================================================================
406
407
408// ===================================================================
409
410#ifdef __GNUC__
411 #pragma GCC diagnostic push
412 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
413#endif // __GNUC__
414// Example
415
416// .tensorflow.Features features = 1;
417inline bool Example::has_features() const {
418 return this != internal_default_instance() && features_ != nullptr;
419}
420inline const ::tensorflow::Features& Example::features() const {
421 const ::tensorflow::Features* p = features_;
422 // @@protoc_insertion_point(field_get:tensorflow.Example.features)
423 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::Features*>(
424 &::tensorflow::_Features_default_instance_);
425}
426inline ::tensorflow::Features* Example::release_features() {
427 // @@protoc_insertion_point(field_release:tensorflow.Example.features)
428
429 ::tensorflow::Features* temp = features_;
430 if (GetArenaNoVirtual() != nullptr) {
431 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
432 }
433 features_ = nullptr;
434 return temp;
435}
436inline ::tensorflow::Features* Example::unsafe_arena_release_features() {
437 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.Example.features)
438
439 ::tensorflow::Features* temp = features_;
440 features_ = nullptr;
441 return temp;
442}
443inline ::tensorflow::Features* Example::mutable_features() {
444
445 if (features_ == nullptr) {
446 auto* p = CreateMaybeMessage<::tensorflow::Features>(GetArenaNoVirtual());
447 features_ = p;
448 }
449 // @@protoc_insertion_point(field_mutable:tensorflow.Example.features)
450 return features_;
451}
452inline void Example::set_allocated_features(::tensorflow::Features* features) {
453 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
454 if (message_arena == nullptr) {
455 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(features_);
456 }
457 if (features) {
458 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
459 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(features)->GetArena();
460 if (message_arena != submessage_arena) {
461 features = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
462 message_arena, features, submessage_arena);
463 }
464
465 } else {
466
467 }
468 features_ = features;
469 // @@protoc_insertion_point(field_set_allocated:tensorflow.Example.features)
470}
471
472// -------------------------------------------------------------------
473
474// SequenceExample
475
476// .tensorflow.Features context = 1;
477inline bool SequenceExample::has_context() const {
478 return this != internal_default_instance() && context_ != nullptr;
479}
480inline const ::tensorflow::Features& SequenceExample::context() const {
481 const ::tensorflow::Features* p = context_;
482 // @@protoc_insertion_point(field_get:tensorflow.SequenceExample.context)
483 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::Features*>(
484 &::tensorflow::_Features_default_instance_);
485}
486inline ::tensorflow::Features* SequenceExample::release_context() {
487 // @@protoc_insertion_point(field_release:tensorflow.SequenceExample.context)
488
489 ::tensorflow::Features* temp = context_;
490 if (GetArenaNoVirtual() != nullptr) {
491 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
492 }
493 context_ = nullptr;
494 return temp;
495}
496inline ::tensorflow::Features* SequenceExample::unsafe_arena_release_context() {
497 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.SequenceExample.context)
498
499 ::tensorflow::Features* temp = context_;
500 context_ = nullptr;
501 return temp;
502}
503inline ::tensorflow::Features* SequenceExample::mutable_context() {
504
505 if (context_ == nullptr) {
506 auto* p = CreateMaybeMessage<::tensorflow::Features>(GetArenaNoVirtual());
507 context_ = p;
508 }
509 // @@protoc_insertion_point(field_mutable:tensorflow.SequenceExample.context)
510 return context_;
511}
512inline void SequenceExample::set_allocated_context(::tensorflow::Features* context) {
513 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
514 if (message_arena == nullptr) {
515 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(context_);
516 }
517 if (context) {
518 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
519 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(context)->GetArena();
520 if (message_arena != submessage_arena) {
521 context = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
522 message_arena, context, submessage_arena);
523 }
524
525 } else {
526
527 }
528 context_ = context;
529 // @@protoc_insertion_point(field_set_allocated:tensorflow.SequenceExample.context)
530}
531
532// .tensorflow.FeatureLists feature_lists = 2;
533inline bool SequenceExample::has_feature_lists() const {
534 return this != internal_default_instance() && feature_lists_ != nullptr;
535}
536inline const ::tensorflow::FeatureLists& SequenceExample::feature_lists() const {
537 const ::tensorflow::FeatureLists* p = feature_lists_;
538 // @@protoc_insertion_point(field_get:tensorflow.SequenceExample.feature_lists)
539 return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::FeatureLists*>(
540 &::tensorflow::_FeatureLists_default_instance_);
541}
542inline ::tensorflow::FeatureLists* SequenceExample::release_feature_lists() {
543 // @@protoc_insertion_point(field_release:tensorflow.SequenceExample.feature_lists)
544
545 ::tensorflow::FeatureLists* temp = feature_lists_;
546 if (GetArenaNoVirtual() != nullptr) {
547 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
548 }
549 feature_lists_ = nullptr;
550 return temp;
551}
552inline ::tensorflow::FeatureLists* SequenceExample::unsafe_arena_release_feature_lists() {
553 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.SequenceExample.feature_lists)
554
555 ::tensorflow::FeatureLists* temp = feature_lists_;
556 feature_lists_ = nullptr;
557 return temp;
558}
559inline ::tensorflow::FeatureLists* SequenceExample::mutable_feature_lists() {
560
561 if (feature_lists_ == nullptr) {
562 auto* p = CreateMaybeMessage<::tensorflow::FeatureLists>(GetArenaNoVirtual());
563 feature_lists_ = p;
564 }
565 // @@protoc_insertion_point(field_mutable:tensorflow.SequenceExample.feature_lists)
566 return feature_lists_;
567}
568inline void SequenceExample::set_allocated_feature_lists(::tensorflow::FeatureLists* feature_lists) {
569 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
570 if (message_arena == nullptr) {
571 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(feature_lists_);
572 }
573 if (feature_lists) {
574 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
575 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(feature_lists)->GetArena();
576 if (message_arena != submessage_arena) {
577 feature_lists = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
578 message_arena, feature_lists, submessage_arena);
579 }
580
581 } else {
582
583 }
584 feature_lists_ = feature_lists;
585 // @@protoc_insertion_point(field_set_allocated:tensorflow.SequenceExample.feature_lists)
586}
587
588#ifdef __GNUC__
589 #pragma GCC diagnostic pop
590#endif // __GNUC__
591// -------------------------------------------------------------------
592
593
594// @@protoc_insertion_point(namespace_scope)
595
596} // namespace tensorflow
597
598// @@protoc_insertion_point(global_scope)
599
600#include <google/protobuf/port_undef.inc>
601#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fexample_2fexample_2eproto
602