1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: tensorflow/core/example/feature.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fexample_2ffeature_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fexample_2ffeature_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/map.h> // IWYU pragma: export
35#include <google/protobuf/map_entry.h>
36#include <google/protobuf/map_field_inl.h>
37#include <google/protobuf/unknown_field_set.h>
38// @@protoc_insertion_point(includes)
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fexample_2ffeature_2eproto
41PROTOBUF_NAMESPACE_OPEN
42namespace internal {
43class AnyMetadata;
44} // namespace internal
45PROTOBUF_NAMESPACE_CLOSE
46
47// Internal implementation detail -- do not use these members.
48struct TableStruct_tensorflow_2fcore_2fexample_2ffeature_2eproto {
49 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
50 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
51 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
52 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
53 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[9]
54 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
55 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
56 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
57 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
58};
59extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto;
60namespace tensorflow {
61class BytesList;
62class BytesListDefaultTypeInternal;
63extern BytesListDefaultTypeInternal _BytesList_default_instance_;
64class Feature;
65class FeatureDefaultTypeInternal;
66extern FeatureDefaultTypeInternal _Feature_default_instance_;
67class FeatureList;
68class FeatureListDefaultTypeInternal;
69extern FeatureListDefaultTypeInternal _FeatureList_default_instance_;
70class FeatureLists;
71class FeatureListsDefaultTypeInternal;
72extern FeatureListsDefaultTypeInternal _FeatureLists_default_instance_;
73class FeatureLists_FeatureListEntry_DoNotUse;
74class FeatureLists_FeatureListEntry_DoNotUseDefaultTypeInternal;
75extern FeatureLists_FeatureListEntry_DoNotUseDefaultTypeInternal _FeatureLists_FeatureListEntry_DoNotUse_default_instance_;
76class Features;
77class FeaturesDefaultTypeInternal;
78extern FeaturesDefaultTypeInternal _Features_default_instance_;
79class Features_FeatureEntry_DoNotUse;
80class Features_FeatureEntry_DoNotUseDefaultTypeInternal;
81extern Features_FeatureEntry_DoNotUseDefaultTypeInternal _Features_FeatureEntry_DoNotUse_default_instance_;
82class FloatList;
83class FloatListDefaultTypeInternal;
84extern FloatListDefaultTypeInternal _FloatList_default_instance_;
85class Int64List;
86class Int64ListDefaultTypeInternal;
87extern Int64ListDefaultTypeInternal _Int64List_default_instance_;
88} // namespace tensorflow
89PROTOBUF_NAMESPACE_OPEN
90template<> ::tensorflow::BytesList* Arena::CreateMaybeMessage<::tensorflow::BytesList>(Arena*);
91template<> ::tensorflow::Feature* Arena::CreateMaybeMessage<::tensorflow::Feature>(Arena*);
92template<> ::tensorflow::FeatureList* Arena::CreateMaybeMessage<::tensorflow::FeatureList>(Arena*);
93template<> ::tensorflow::FeatureLists* Arena::CreateMaybeMessage<::tensorflow::FeatureLists>(Arena*);
94template<> ::tensorflow::FeatureLists_FeatureListEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::FeatureLists_FeatureListEntry_DoNotUse>(Arena*);
95template<> ::tensorflow::Features* Arena::CreateMaybeMessage<::tensorflow::Features>(Arena*);
96template<> ::tensorflow::Features_FeatureEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::Features_FeatureEntry_DoNotUse>(Arena*);
97template<> ::tensorflow::FloatList* Arena::CreateMaybeMessage<::tensorflow::FloatList>(Arena*);
98template<> ::tensorflow::Int64List* Arena::CreateMaybeMessage<::tensorflow::Int64List>(Arena*);
99PROTOBUF_NAMESPACE_CLOSE
100namespace tensorflow {
101
102// ===================================================================
103
104class BytesList :
105 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.BytesList) */ {
106 public:
107 BytesList();
108 virtual ~BytesList();
109
110 BytesList(const BytesList& from);
111 BytesList(BytesList&& from) noexcept
112 : BytesList() {
113 *this = ::std::move(from);
114 }
115
116 inline BytesList& operator=(const BytesList& from) {
117 CopyFrom(from);
118 return *this;
119 }
120 inline BytesList& operator=(BytesList&& from) noexcept {
121 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
122 if (this != &from) InternalSwap(&from);
123 } else {
124 CopyFrom(from);
125 }
126 return *this;
127 }
128
129 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
130 return GetArenaNoVirtual();
131 }
132 inline void* GetMaybeArenaPointer() const final {
133 return MaybeArenaPtr();
134 }
135 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
136 return GetDescriptor();
137 }
138 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
139 return GetMetadataStatic().descriptor;
140 }
141 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
142 return GetMetadataStatic().reflection;
143 }
144 static const BytesList& default_instance();
145
146 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
147 static inline const BytesList* internal_default_instance() {
148 return reinterpret_cast<const BytesList*>(
149 &_BytesList_default_instance_);
150 }
151 static constexpr int kIndexInFileMessages =
152 0;
153
154 friend void swap(BytesList& a, BytesList& b) {
155 a.Swap(&b);
156 }
157 inline void Swap(BytesList* other) {
158 if (other == this) return;
159 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
160 InternalSwap(other);
161 } else {
162 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
163 }
164 }
165 void UnsafeArenaSwap(BytesList* other) {
166 if (other == this) return;
167 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
168 InternalSwap(other);
169 }
170
171 // implements Message ----------------------------------------------
172
173 inline BytesList* New() const final {
174 return CreateMaybeMessage<BytesList>(nullptr);
175 }
176
177 BytesList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
178 return CreateMaybeMessage<BytesList>(arena);
179 }
180 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
181 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
182 void CopyFrom(const BytesList& from);
183 void MergeFrom(const BytesList& from);
184 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
185 bool IsInitialized() const final;
186
187 size_t ByteSizeLong() const final;
188 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
189 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
190 #else
191 bool MergePartialFromCodedStream(
192 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
193 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
194 void SerializeWithCachedSizes(
195 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
196 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
197 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
198 int GetCachedSize() const final { return _cached_size_.Get(); }
199
200 private:
201 inline void SharedCtor();
202 inline void SharedDtor();
203 void SetCachedSize(int size) const final;
204 void InternalSwap(BytesList* other);
205 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
206 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
207 return "tensorflow.BytesList";
208 }
209 protected:
210 explicit BytesList(::PROTOBUF_NAMESPACE_ID::Arena* arena);
211 private:
212 static void ArenaDtor(void* object);
213 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
214 private:
215 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
216 return _internal_metadata_.arena();
217 }
218 inline void* MaybeArenaPtr() const {
219 return _internal_metadata_.raw_arena_ptr();
220 }
221 public:
222
223 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
224 private:
225 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
226 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto);
227 return ::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto.file_level_metadata[kIndexInFileMessages];
228 }
229
230 public:
231
232 // nested types ----------------------------------------------------
233
234 // accessors -------------------------------------------------------
235
236 enum : int {
237 kValueFieldNumber = 1,
238 };
239 // repeated bytes value = 1;
240 int value_size() const;
241 void clear_value();
242 const std::string& value(int index) const;
243 std::string* mutable_value(int index);
244 void set_value(int index, const std::string& value);
245 void set_value(int index, std::string&& value);
246 void set_value(int index, const char* value);
247 void set_value(int index, const void* value, size_t size);
248 std::string* add_value();
249 void add_value(const std::string& value);
250 void add_value(std::string&& value);
251 void add_value(const char* value);
252 void add_value(const void* value, size_t size);
253 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& value() const;
254 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_value();
255
256 // @@protoc_insertion_point(class_scope:tensorflow.BytesList)
257 private:
258 class _Internal;
259
260 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
261 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
262 typedef void InternalArenaConstructable_;
263 typedef void DestructorSkippable_;
264 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> value_;
265 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
266 friend struct ::TableStruct_tensorflow_2fcore_2fexample_2ffeature_2eproto;
267};
268// -------------------------------------------------------------------
269
270class FloatList :
271 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.FloatList) */ {
272 public:
273 FloatList();
274 virtual ~FloatList();
275
276 FloatList(const FloatList& from);
277 FloatList(FloatList&& from) noexcept
278 : FloatList() {
279 *this = ::std::move(from);
280 }
281
282 inline FloatList& operator=(const FloatList& from) {
283 CopyFrom(from);
284 return *this;
285 }
286 inline FloatList& operator=(FloatList&& from) noexcept {
287 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
288 if (this != &from) InternalSwap(&from);
289 } else {
290 CopyFrom(from);
291 }
292 return *this;
293 }
294
295 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
296 return GetArenaNoVirtual();
297 }
298 inline void* GetMaybeArenaPointer() const final {
299 return MaybeArenaPtr();
300 }
301 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
302 return GetDescriptor();
303 }
304 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
305 return GetMetadataStatic().descriptor;
306 }
307 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
308 return GetMetadataStatic().reflection;
309 }
310 static const FloatList& default_instance();
311
312 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
313 static inline const FloatList* internal_default_instance() {
314 return reinterpret_cast<const FloatList*>(
315 &_FloatList_default_instance_);
316 }
317 static constexpr int kIndexInFileMessages =
318 1;
319
320 friend void swap(FloatList& a, FloatList& b) {
321 a.Swap(&b);
322 }
323 inline void Swap(FloatList* other) {
324 if (other == this) return;
325 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
326 InternalSwap(other);
327 } else {
328 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
329 }
330 }
331 void UnsafeArenaSwap(FloatList* other) {
332 if (other == this) return;
333 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
334 InternalSwap(other);
335 }
336
337 // implements Message ----------------------------------------------
338
339 inline FloatList* New() const final {
340 return CreateMaybeMessage<FloatList>(nullptr);
341 }
342
343 FloatList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
344 return CreateMaybeMessage<FloatList>(arena);
345 }
346 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
347 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
348 void CopyFrom(const FloatList& from);
349 void MergeFrom(const FloatList& from);
350 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
351 bool IsInitialized() const final;
352
353 size_t ByteSizeLong() const final;
354 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
355 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
356 #else
357 bool MergePartialFromCodedStream(
358 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
359 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
360 void SerializeWithCachedSizes(
361 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
362 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
363 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
364 int GetCachedSize() const final { return _cached_size_.Get(); }
365
366 private:
367 inline void SharedCtor();
368 inline void SharedDtor();
369 void SetCachedSize(int size) const final;
370 void InternalSwap(FloatList* other);
371 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
372 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
373 return "tensorflow.FloatList";
374 }
375 protected:
376 explicit FloatList(::PROTOBUF_NAMESPACE_ID::Arena* arena);
377 private:
378 static void ArenaDtor(void* object);
379 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
380 private:
381 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
382 return _internal_metadata_.arena();
383 }
384 inline void* MaybeArenaPtr() const {
385 return _internal_metadata_.raw_arena_ptr();
386 }
387 public:
388
389 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
390 private:
391 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
392 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto);
393 return ::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto.file_level_metadata[kIndexInFileMessages];
394 }
395
396 public:
397
398 // nested types ----------------------------------------------------
399
400 // accessors -------------------------------------------------------
401
402 enum : int {
403 kValueFieldNumber = 1,
404 };
405 // repeated float value = 1 [packed = true];
406 int value_size() const;
407 void clear_value();
408 float value(int index) const;
409 void set_value(int index, float value);
410 void add_value(float value);
411 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
412 value() const;
413 ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
414 mutable_value();
415
416 // @@protoc_insertion_point(class_scope:tensorflow.FloatList)
417 private:
418 class _Internal;
419
420 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
421 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
422 typedef void InternalArenaConstructable_;
423 typedef void DestructorSkippable_;
424 ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > value_;
425 mutable std::atomic<int> _value_cached_byte_size_;
426 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
427 friend struct ::TableStruct_tensorflow_2fcore_2fexample_2ffeature_2eproto;
428};
429// -------------------------------------------------------------------
430
431class Int64List :
432 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.Int64List) */ {
433 public:
434 Int64List();
435 virtual ~Int64List();
436
437 Int64List(const Int64List& from);
438 Int64List(Int64List&& from) noexcept
439 : Int64List() {
440 *this = ::std::move(from);
441 }
442
443 inline Int64List& operator=(const Int64List& from) {
444 CopyFrom(from);
445 return *this;
446 }
447 inline Int64List& operator=(Int64List&& from) noexcept {
448 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
449 if (this != &from) InternalSwap(&from);
450 } else {
451 CopyFrom(from);
452 }
453 return *this;
454 }
455
456 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
457 return GetArenaNoVirtual();
458 }
459 inline void* GetMaybeArenaPointer() const final {
460 return MaybeArenaPtr();
461 }
462 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
463 return GetDescriptor();
464 }
465 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
466 return GetMetadataStatic().descriptor;
467 }
468 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
469 return GetMetadataStatic().reflection;
470 }
471 static const Int64List& default_instance();
472
473 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
474 static inline const Int64List* internal_default_instance() {
475 return reinterpret_cast<const Int64List*>(
476 &_Int64List_default_instance_);
477 }
478 static constexpr int kIndexInFileMessages =
479 2;
480
481 friend void swap(Int64List& a, Int64List& b) {
482 a.Swap(&b);
483 }
484 inline void Swap(Int64List* other) {
485 if (other == this) return;
486 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
487 InternalSwap(other);
488 } else {
489 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
490 }
491 }
492 void UnsafeArenaSwap(Int64List* other) {
493 if (other == this) return;
494 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
495 InternalSwap(other);
496 }
497
498 // implements Message ----------------------------------------------
499
500 inline Int64List* New() const final {
501 return CreateMaybeMessage<Int64List>(nullptr);
502 }
503
504 Int64List* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
505 return CreateMaybeMessage<Int64List>(arena);
506 }
507 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
508 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
509 void CopyFrom(const Int64List& from);
510 void MergeFrom(const Int64List& from);
511 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
512 bool IsInitialized() const final;
513
514 size_t ByteSizeLong() const final;
515 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
516 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
517 #else
518 bool MergePartialFromCodedStream(
519 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
520 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
521 void SerializeWithCachedSizes(
522 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
523 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
524 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
525 int GetCachedSize() const final { return _cached_size_.Get(); }
526
527 private:
528 inline void SharedCtor();
529 inline void SharedDtor();
530 void SetCachedSize(int size) const final;
531 void InternalSwap(Int64List* other);
532 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
533 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
534 return "tensorflow.Int64List";
535 }
536 protected:
537 explicit Int64List(::PROTOBUF_NAMESPACE_ID::Arena* arena);
538 private:
539 static void ArenaDtor(void* object);
540 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
541 private:
542 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
543 return _internal_metadata_.arena();
544 }
545 inline void* MaybeArenaPtr() const {
546 return _internal_metadata_.raw_arena_ptr();
547 }
548 public:
549
550 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
551 private:
552 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
553 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto);
554 return ::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto.file_level_metadata[kIndexInFileMessages];
555 }
556
557 public:
558
559 // nested types ----------------------------------------------------
560
561 // accessors -------------------------------------------------------
562
563 enum : int {
564 kValueFieldNumber = 1,
565 };
566 // repeated int64 value = 1 [packed = true];
567 int value_size() const;
568 void clear_value();
569 ::PROTOBUF_NAMESPACE_ID::int64 value(int index) const;
570 void set_value(int index, ::PROTOBUF_NAMESPACE_ID::int64 value);
571 void add_value(::PROTOBUF_NAMESPACE_ID::int64 value);
572 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
573 value() const;
574 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
575 mutable_value();
576
577 // @@protoc_insertion_point(class_scope:tensorflow.Int64List)
578 private:
579 class _Internal;
580
581 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
582 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
583 typedef void InternalArenaConstructable_;
584 typedef void DestructorSkippable_;
585 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > value_;
586 mutable std::atomic<int> _value_cached_byte_size_;
587 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
588 friend struct ::TableStruct_tensorflow_2fcore_2fexample_2ffeature_2eproto;
589};
590// -------------------------------------------------------------------
591
592class Feature :
593 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.Feature) */ {
594 public:
595 Feature();
596 virtual ~Feature();
597
598 Feature(const Feature& from);
599 Feature(Feature&& from) noexcept
600 : Feature() {
601 *this = ::std::move(from);
602 }
603
604 inline Feature& operator=(const Feature& from) {
605 CopyFrom(from);
606 return *this;
607 }
608 inline Feature& operator=(Feature&& from) noexcept {
609 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
610 if (this != &from) InternalSwap(&from);
611 } else {
612 CopyFrom(from);
613 }
614 return *this;
615 }
616
617 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
618 return GetArenaNoVirtual();
619 }
620 inline void* GetMaybeArenaPointer() const final {
621 return MaybeArenaPtr();
622 }
623 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
624 return GetDescriptor();
625 }
626 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
627 return GetMetadataStatic().descriptor;
628 }
629 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
630 return GetMetadataStatic().reflection;
631 }
632 static const Feature& default_instance();
633
634 enum KindCase {
635 kBytesList = 1,
636 kFloatList = 2,
637 kInt64List = 3,
638 KIND_NOT_SET = 0,
639 };
640
641 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
642 static inline const Feature* internal_default_instance() {
643 return reinterpret_cast<const Feature*>(
644 &_Feature_default_instance_);
645 }
646 static constexpr int kIndexInFileMessages =
647 3;
648
649 friend void swap(Feature& a, Feature& b) {
650 a.Swap(&b);
651 }
652 inline void Swap(Feature* other) {
653 if (other == this) return;
654 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
655 InternalSwap(other);
656 } else {
657 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
658 }
659 }
660 void UnsafeArenaSwap(Feature* other) {
661 if (other == this) return;
662 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
663 InternalSwap(other);
664 }
665
666 // implements Message ----------------------------------------------
667
668 inline Feature* New() const final {
669 return CreateMaybeMessage<Feature>(nullptr);
670 }
671
672 Feature* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
673 return CreateMaybeMessage<Feature>(arena);
674 }
675 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
676 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
677 void CopyFrom(const Feature& from);
678 void MergeFrom(const Feature& from);
679 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
680 bool IsInitialized() const final;
681
682 size_t ByteSizeLong() const final;
683 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
684 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
685 #else
686 bool MergePartialFromCodedStream(
687 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
688 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
689 void SerializeWithCachedSizes(
690 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
691 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
692 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
693 int GetCachedSize() const final { return _cached_size_.Get(); }
694
695 private:
696 inline void SharedCtor();
697 inline void SharedDtor();
698 void SetCachedSize(int size) const final;
699 void InternalSwap(Feature* other);
700 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
701 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
702 return "tensorflow.Feature";
703 }
704 protected:
705 explicit Feature(::PROTOBUF_NAMESPACE_ID::Arena* arena);
706 private:
707 static void ArenaDtor(void* object);
708 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
709 private:
710 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
711 return _internal_metadata_.arena();
712 }
713 inline void* MaybeArenaPtr() const {
714 return _internal_metadata_.raw_arena_ptr();
715 }
716 public:
717
718 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
719 private:
720 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
721 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto);
722 return ::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto.file_level_metadata[kIndexInFileMessages];
723 }
724
725 public:
726
727 // nested types ----------------------------------------------------
728
729 // accessors -------------------------------------------------------
730
731 enum : int {
732 kBytesListFieldNumber = 1,
733 kFloatListFieldNumber = 2,
734 kInt64ListFieldNumber = 3,
735 };
736 // .tensorflow.BytesList bytes_list = 1;
737 bool has_bytes_list() const;
738 void clear_bytes_list();
739 const ::tensorflow::BytesList& bytes_list() const;
740 ::tensorflow::BytesList* release_bytes_list();
741 ::tensorflow::BytesList* mutable_bytes_list();
742 void set_allocated_bytes_list(::tensorflow::BytesList* bytes_list);
743 void unsafe_arena_set_allocated_bytes_list(
744 ::tensorflow::BytesList* bytes_list);
745 ::tensorflow::BytesList* unsafe_arena_release_bytes_list();
746
747 // .tensorflow.FloatList float_list = 2;
748 bool has_float_list() const;
749 void clear_float_list();
750 const ::tensorflow::FloatList& float_list() const;
751 ::tensorflow::FloatList* release_float_list();
752 ::tensorflow::FloatList* mutable_float_list();
753 void set_allocated_float_list(::tensorflow::FloatList* float_list);
754 void unsafe_arena_set_allocated_float_list(
755 ::tensorflow::FloatList* float_list);
756 ::tensorflow::FloatList* unsafe_arena_release_float_list();
757
758 // .tensorflow.Int64List int64_list = 3;
759 bool has_int64_list() const;
760 void clear_int64_list();
761 const ::tensorflow::Int64List& int64_list() const;
762 ::tensorflow::Int64List* release_int64_list();
763 ::tensorflow::Int64List* mutable_int64_list();
764 void set_allocated_int64_list(::tensorflow::Int64List* int64_list);
765 void unsafe_arena_set_allocated_int64_list(
766 ::tensorflow::Int64List* int64_list);
767 ::tensorflow::Int64List* unsafe_arena_release_int64_list();
768
769 void clear_kind();
770 KindCase kind_case() const;
771 // @@protoc_insertion_point(class_scope:tensorflow.Feature)
772 private:
773 class _Internal;
774 void set_has_bytes_list();
775 void set_has_float_list();
776 void set_has_int64_list();
777
778 inline bool has_kind() const;
779 inline void clear_has_kind();
780
781 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
782 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
783 typedef void InternalArenaConstructable_;
784 typedef void DestructorSkippable_;
785 union KindUnion {
786 KindUnion() {}
787 ::tensorflow::BytesList* bytes_list_;
788 ::tensorflow::FloatList* float_list_;
789 ::tensorflow::Int64List* int64_list_;
790 } kind_;
791 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
792 ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
793
794 friend struct ::TableStruct_tensorflow_2fcore_2fexample_2ffeature_2eproto;
795};
796// -------------------------------------------------------------------
797
798class Features_FeatureEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<Features_FeatureEntry_DoNotUse,
799 std::string, ::tensorflow::Feature,
800 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
801 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
802 0 > {
803public:
804 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<Features_FeatureEntry_DoNotUse,
805 std::string, ::tensorflow::Feature,
806 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
807 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
808 0 > SuperType;
809 Features_FeatureEntry_DoNotUse();
810 Features_FeatureEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
811 void MergeFrom(const Features_FeatureEntry_DoNotUse& other);
812 static const Features_FeatureEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const Features_FeatureEntry_DoNotUse*>(&_Features_FeatureEntry_DoNotUse_default_instance_); }
813 static bool ValidateKey(std::string* s) {
814 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.Features.FeatureEntry.key");
815 }
816 static bool ValidateValue(void*) { return true; }
817 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
818 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
819 private:
820 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
821 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto);
822 return ::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto.file_level_metadata[4];
823 }
824
825 public:
826};
827
828// -------------------------------------------------------------------
829
830class Features :
831 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.Features) */ {
832 public:
833 Features();
834 virtual ~Features();
835
836 Features(const Features& from);
837 Features(Features&& from) noexcept
838 : Features() {
839 *this = ::std::move(from);
840 }
841
842 inline Features& operator=(const Features& from) {
843 CopyFrom(from);
844 return *this;
845 }
846 inline Features& operator=(Features&& from) noexcept {
847 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
848 if (this != &from) InternalSwap(&from);
849 } else {
850 CopyFrom(from);
851 }
852 return *this;
853 }
854
855 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
856 return GetArenaNoVirtual();
857 }
858 inline void* GetMaybeArenaPointer() const final {
859 return MaybeArenaPtr();
860 }
861 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
862 return GetDescriptor();
863 }
864 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
865 return GetMetadataStatic().descriptor;
866 }
867 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
868 return GetMetadataStatic().reflection;
869 }
870 static const Features& default_instance();
871
872 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
873 static inline const Features* internal_default_instance() {
874 return reinterpret_cast<const Features*>(
875 &_Features_default_instance_);
876 }
877 static constexpr int kIndexInFileMessages =
878 5;
879
880 friend void swap(Features& a, Features& b) {
881 a.Swap(&b);
882 }
883 inline void Swap(Features* other) {
884 if (other == this) return;
885 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
886 InternalSwap(other);
887 } else {
888 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
889 }
890 }
891 void UnsafeArenaSwap(Features* other) {
892 if (other == this) return;
893 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
894 InternalSwap(other);
895 }
896
897 // implements Message ----------------------------------------------
898
899 inline Features* New() const final {
900 return CreateMaybeMessage<Features>(nullptr);
901 }
902
903 Features* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
904 return CreateMaybeMessage<Features>(arena);
905 }
906 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
907 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
908 void CopyFrom(const Features& from);
909 void MergeFrom(const Features& from);
910 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
911 bool IsInitialized() const final;
912
913 size_t ByteSizeLong() const final;
914 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
915 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
916 #else
917 bool MergePartialFromCodedStream(
918 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
919 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
920 void SerializeWithCachedSizes(
921 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
922 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
923 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
924 int GetCachedSize() const final { return _cached_size_.Get(); }
925
926 private:
927 inline void SharedCtor();
928 inline void SharedDtor();
929 void SetCachedSize(int size) const final;
930 void InternalSwap(Features* other);
931 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
932 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
933 return "tensorflow.Features";
934 }
935 protected:
936 explicit Features(::PROTOBUF_NAMESPACE_ID::Arena* arena);
937 private:
938 static void ArenaDtor(void* object);
939 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
940 private:
941 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
942 return _internal_metadata_.arena();
943 }
944 inline void* MaybeArenaPtr() const {
945 return _internal_metadata_.raw_arena_ptr();
946 }
947 public:
948
949 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
950 private:
951 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
952 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto);
953 return ::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto.file_level_metadata[kIndexInFileMessages];
954 }
955
956 public:
957
958 // nested types ----------------------------------------------------
959
960
961 // accessors -------------------------------------------------------
962
963 enum : int {
964 kFeatureFieldNumber = 1,
965 };
966 // map<string, .tensorflow.Feature> feature = 1;
967 int feature_size() const;
968 void clear_feature();
969 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::Feature >&
970 feature() const;
971 ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::Feature >*
972 mutable_feature();
973
974 // @@protoc_insertion_point(class_scope:tensorflow.Features)
975 private:
976 class _Internal;
977
978 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
979 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
980 typedef void InternalArenaConstructable_;
981 typedef void DestructorSkippable_;
982 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
983 Features_FeatureEntry_DoNotUse,
984 std::string, ::tensorflow::Feature,
985 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
986 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
987 0 > feature_;
988 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
989 friend struct ::TableStruct_tensorflow_2fcore_2fexample_2ffeature_2eproto;
990};
991// -------------------------------------------------------------------
992
993class FeatureList :
994 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.FeatureList) */ {
995 public:
996 FeatureList();
997 virtual ~FeatureList();
998
999 FeatureList(const FeatureList& from);
1000 FeatureList(FeatureList&& from) noexcept
1001 : FeatureList() {
1002 *this = ::std::move(from);
1003 }
1004
1005 inline FeatureList& operator=(const FeatureList& from) {
1006 CopyFrom(from);
1007 return *this;
1008 }
1009 inline FeatureList& operator=(FeatureList&& from) noexcept {
1010 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1011 if (this != &from) InternalSwap(&from);
1012 } else {
1013 CopyFrom(from);
1014 }
1015 return *this;
1016 }
1017
1018 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
1019 return GetArenaNoVirtual();
1020 }
1021 inline void* GetMaybeArenaPointer() const final {
1022 return MaybeArenaPtr();
1023 }
1024 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1025 return GetDescriptor();
1026 }
1027 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1028 return GetMetadataStatic().descriptor;
1029 }
1030 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1031 return GetMetadataStatic().reflection;
1032 }
1033 static const FeatureList& default_instance();
1034
1035 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1036 static inline const FeatureList* internal_default_instance() {
1037 return reinterpret_cast<const FeatureList*>(
1038 &_FeatureList_default_instance_);
1039 }
1040 static constexpr int kIndexInFileMessages =
1041 6;
1042
1043 friend void swap(FeatureList& a, FeatureList& b) {
1044 a.Swap(&b);
1045 }
1046 inline void Swap(FeatureList* other) {
1047 if (other == this) return;
1048 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
1049 InternalSwap(other);
1050 } else {
1051 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1052 }
1053 }
1054 void UnsafeArenaSwap(FeatureList* other) {
1055 if (other == this) return;
1056 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
1057 InternalSwap(other);
1058 }
1059
1060 // implements Message ----------------------------------------------
1061
1062 inline FeatureList* New() const final {
1063 return CreateMaybeMessage<FeatureList>(nullptr);
1064 }
1065
1066 FeatureList* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1067 return CreateMaybeMessage<FeatureList>(arena);
1068 }
1069 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1070 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1071 void CopyFrom(const FeatureList& from);
1072 void MergeFrom(const FeatureList& from);
1073 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1074 bool IsInitialized() const final;
1075
1076 size_t ByteSizeLong() const final;
1077 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1078 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1079 #else
1080 bool MergePartialFromCodedStream(
1081 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1082 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1083 void SerializeWithCachedSizes(
1084 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1085 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1086 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1087 int GetCachedSize() const final { return _cached_size_.Get(); }
1088
1089 private:
1090 inline void SharedCtor();
1091 inline void SharedDtor();
1092 void SetCachedSize(int size) const final;
1093 void InternalSwap(FeatureList* other);
1094 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1095 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1096 return "tensorflow.FeatureList";
1097 }
1098 protected:
1099 explicit FeatureList(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1100 private:
1101 static void ArenaDtor(void* object);
1102 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1103 private:
1104 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1105 return _internal_metadata_.arena();
1106 }
1107 inline void* MaybeArenaPtr() const {
1108 return _internal_metadata_.raw_arena_ptr();
1109 }
1110 public:
1111
1112 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1113 private:
1114 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1115 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto);
1116 return ::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto.file_level_metadata[kIndexInFileMessages];
1117 }
1118
1119 public:
1120
1121 // nested types ----------------------------------------------------
1122
1123 // accessors -------------------------------------------------------
1124
1125 enum : int {
1126 kFeatureFieldNumber = 1,
1127 };
1128 // repeated .tensorflow.Feature feature = 1;
1129 int feature_size() const;
1130 void clear_feature();
1131 ::tensorflow::Feature* mutable_feature(int index);
1132 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::Feature >*
1133 mutable_feature();
1134 const ::tensorflow::Feature& feature(int index) const;
1135 ::tensorflow::Feature* add_feature();
1136 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::Feature >&
1137 feature() const;
1138
1139 // @@protoc_insertion_point(class_scope:tensorflow.FeatureList)
1140 private:
1141 class _Internal;
1142
1143 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1144 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1145 typedef void InternalArenaConstructable_;
1146 typedef void DestructorSkippable_;
1147 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::Feature > feature_;
1148 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1149 friend struct ::TableStruct_tensorflow_2fcore_2fexample_2ffeature_2eproto;
1150};
1151// -------------------------------------------------------------------
1152
1153class FeatureLists_FeatureListEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<FeatureLists_FeatureListEntry_DoNotUse,
1154 std::string, ::tensorflow::FeatureList,
1155 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1156 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1157 0 > {
1158public:
1159 typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<FeatureLists_FeatureListEntry_DoNotUse,
1160 std::string, ::tensorflow::FeatureList,
1161 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1162 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1163 0 > SuperType;
1164 FeatureLists_FeatureListEntry_DoNotUse();
1165 FeatureLists_FeatureListEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1166 void MergeFrom(const FeatureLists_FeatureListEntry_DoNotUse& other);
1167 static const FeatureLists_FeatureListEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const FeatureLists_FeatureListEntry_DoNotUse*>(&_FeatureLists_FeatureListEntry_DoNotUse_default_instance_); }
1168 static bool ValidateKey(std::string* s) {
1169 return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.FeatureLists.FeatureListEntry.key");
1170 }
1171 static bool ValidateValue(void*) { return true; }
1172 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
1173 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1174 private:
1175 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1176 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto);
1177 return ::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto.file_level_metadata[7];
1178 }
1179
1180 public:
1181};
1182
1183// -------------------------------------------------------------------
1184
1185class FeatureLists :
1186 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.FeatureLists) */ {
1187 public:
1188 FeatureLists();
1189 virtual ~FeatureLists();
1190
1191 FeatureLists(const FeatureLists& from);
1192 FeatureLists(FeatureLists&& from) noexcept
1193 : FeatureLists() {
1194 *this = ::std::move(from);
1195 }
1196
1197 inline FeatureLists& operator=(const FeatureLists& from) {
1198 CopyFrom(from);
1199 return *this;
1200 }
1201 inline FeatureLists& operator=(FeatureLists&& from) noexcept {
1202 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1203 if (this != &from) InternalSwap(&from);
1204 } else {
1205 CopyFrom(from);
1206 }
1207 return *this;
1208 }
1209
1210 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
1211 return GetArenaNoVirtual();
1212 }
1213 inline void* GetMaybeArenaPointer() const final {
1214 return MaybeArenaPtr();
1215 }
1216 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1217 return GetDescriptor();
1218 }
1219 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1220 return GetMetadataStatic().descriptor;
1221 }
1222 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1223 return GetMetadataStatic().reflection;
1224 }
1225 static const FeatureLists& default_instance();
1226
1227 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1228 static inline const FeatureLists* internal_default_instance() {
1229 return reinterpret_cast<const FeatureLists*>(
1230 &_FeatureLists_default_instance_);
1231 }
1232 static constexpr int kIndexInFileMessages =
1233 8;
1234
1235 friend void swap(FeatureLists& a, FeatureLists& b) {
1236 a.Swap(&b);
1237 }
1238 inline void Swap(FeatureLists* other) {
1239 if (other == this) return;
1240 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
1241 InternalSwap(other);
1242 } else {
1243 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1244 }
1245 }
1246 void UnsafeArenaSwap(FeatureLists* other) {
1247 if (other == this) return;
1248 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
1249 InternalSwap(other);
1250 }
1251
1252 // implements Message ----------------------------------------------
1253
1254 inline FeatureLists* New() const final {
1255 return CreateMaybeMessage<FeatureLists>(nullptr);
1256 }
1257
1258 FeatureLists* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1259 return CreateMaybeMessage<FeatureLists>(arena);
1260 }
1261 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1262 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1263 void CopyFrom(const FeatureLists& from);
1264 void MergeFrom(const FeatureLists& from);
1265 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1266 bool IsInitialized() const final;
1267
1268 size_t ByteSizeLong() const final;
1269 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1270 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1271 #else
1272 bool MergePartialFromCodedStream(
1273 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1274 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1275 void SerializeWithCachedSizes(
1276 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1277 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1278 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1279 int GetCachedSize() const final { return _cached_size_.Get(); }
1280
1281 private:
1282 inline void SharedCtor();
1283 inline void SharedDtor();
1284 void SetCachedSize(int size) const final;
1285 void InternalSwap(FeatureLists* other);
1286 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1287 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1288 return "tensorflow.FeatureLists";
1289 }
1290 protected:
1291 explicit FeatureLists(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1292 private:
1293 static void ArenaDtor(void* object);
1294 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1295 private:
1296 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1297 return _internal_metadata_.arena();
1298 }
1299 inline void* MaybeArenaPtr() const {
1300 return _internal_metadata_.raw_arena_ptr();
1301 }
1302 public:
1303
1304 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1305 private:
1306 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1307 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto);
1308 return ::descriptor_table_tensorflow_2fcore_2fexample_2ffeature_2eproto.file_level_metadata[kIndexInFileMessages];
1309 }
1310
1311 public:
1312
1313 // nested types ----------------------------------------------------
1314
1315
1316 // accessors -------------------------------------------------------
1317
1318 enum : int {
1319 kFeatureListFieldNumber = 1,
1320 };
1321 // map<string, .tensorflow.FeatureList> feature_list = 1;
1322 int feature_list_size() const;
1323 void clear_feature_list();
1324 const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::FeatureList >&
1325 feature_list() const;
1326 ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::FeatureList >*
1327 mutable_feature_list();
1328
1329 // @@protoc_insertion_point(class_scope:tensorflow.FeatureLists)
1330 private:
1331 class _Internal;
1332
1333 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1334 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1335 typedef void InternalArenaConstructable_;
1336 typedef void DestructorSkippable_;
1337 ::PROTOBUF_NAMESPACE_ID::internal::MapField<
1338 FeatureLists_FeatureListEntry_DoNotUse,
1339 std::string, ::tensorflow::FeatureList,
1340 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
1341 ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
1342 0 > feature_list_;
1343 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1344 friend struct ::TableStruct_tensorflow_2fcore_2fexample_2ffeature_2eproto;
1345};
1346// ===================================================================
1347
1348
1349// ===================================================================
1350
1351#ifdef __GNUC__
1352 #pragma GCC diagnostic push
1353 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1354#endif // __GNUC__
1355// BytesList
1356
1357// repeated bytes value = 1;
1358inline int BytesList::value_size() const {
1359 return value_.size();
1360}
1361inline void BytesList::clear_value() {
1362 value_.Clear();
1363}
1364inline const std::string& BytesList::value(int index) const {
1365 // @@protoc_insertion_point(field_get:tensorflow.BytesList.value)
1366 return value_.Get(index);
1367}
1368inline std::string* BytesList::mutable_value(int index) {
1369 // @@protoc_insertion_point(field_mutable:tensorflow.BytesList.value)
1370 return value_.Mutable(index);
1371}
1372inline void BytesList::set_value(int index, const std::string& value) {
1373 // @@protoc_insertion_point(field_set:tensorflow.BytesList.value)
1374 value_.Mutable(index)->assign(value);
1375}
1376inline void BytesList::set_value(int index, std::string&& value) {
1377 // @@protoc_insertion_point(field_set:tensorflow.BytesList.value)
1378 value_.Mutable(index)->assign(std::move(value));
1379}
1380inline void BytesList::set_value(int index, const char* value) {
1381 GOOGLE_DCHECK(value != nullptr);
1382 value_.Mutable(index)->assign(value);
1383 // @@protoc_insertion_point(field_set_char:tensorflow.BytesList.value)
1384}
1385inline void BytesList::set_value(int index, const void* value, size_t size) {
1386 value_.Mutable(index)->assign(
1387 reinterpret_cast<const char*>(value), size);
1388 // @@protoc_insertion_point(field_set_pointer:tensorflow.BytesList.value)
1389}
1390inline std::string* BytesList::add_value() {
1391 // @@protoc_insertion_point(field_add_mutable:tensorflow.BytesList.value)
1392 return value_.Add();
1393}
1394inline void BytesList::add_value(const std::string& value) {
1395 value_.Add()->assign(value);
1396 // @@protoc_insertion_point(field_add:tensorflow.BytesList.value)
1397}
1398inline void BytesList::add_value(std::string&& value) {
1399 value_.Add(std::move(value));
1400 // @@protoc_insertion_point(field_add:tensorflow.BytesList.value)
1401}
1402inline void BytesList::add_value(const char* value) {
1403 GOOGLE_DCHECK(value != nullptr);
1404 value_.Add()->assign(value);
1405 // @@protoc_insertion_point(field_add_char:tensorflow.BytesList.value)
1406}
1407inline void BytesList::add_value(const void* value, size_t size) {
1408 value_.Add()->assign(reinterpret_cast<const char*>(value), size);
1409 // @@protoc_insertion_point(field_add_pointer:tensorflow.BytesList.value)
1410}
1411inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1412BytesList::value() const {
1413 // @@protoc_insertion_point(field_list:tensorflow.BytesList.value)
1414 return value_;
1415}
1416inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1417BytesList::mutable_value() {
1418 // @@protoc_insertion_point(field_mutable_list:tensorflow.BytesList.value)
1419 return &value_;
1420}
1421
1422// -------------------------------------------------------------------
1423
1424// FloatList
1425
1426// repeated float value = 1 [packed = true];
1427inline int FloatList::value_size() const {
1428 return value_.size();
1429}
1430inline void FloatList::clear_value() {
1431 value_.Clear();
1432}
1433inline float FloatList::value(int index) const {
1434 // @@protoc_insertion_point(field_get:tensorflow.FloatList.value)
1435 return value_.Get(index);
1436}
1437inline void FloatList::set_value(int index, float value) {
1438 value_.Set(index, value);
1439 // @@protoc_insertion_point(field_set:tensorflow.FloatList.value)
1440}
1441inline void FloatList::add_value(float value) {
1442 value_.Add(value);
1443 // @@protoc_insertion_point(field_add:tensorflow.FloatList.value)
1444}
1445inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
1446FloatList::value() const {
1447 // @@protoc_insertion_point(field_list:tensorflow.FloatList.value)
1448 return value_;
1449}
1450inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
1451FloatList::mutable_value() {
1452 // @@protoc_insertion_point(field_mutable_list:tensorflow.FloatList.value)
1453 return &value_;
1454}
1455
1456// -------------------------------------------------------------------
1457
1458// Int64List
1459
1460// repeated int64 value = 1 [packed = true];
1461inline int Int64List::value_size() const {
1462 return value_.size();
1463}
1464inline void Int64List::clear_value() {
1465 value_.Clear();
1466}
1467inline ::PROTOBUF_NAMESPACE_ID::int64 Int64List::value(int index) const {
1468 // @@protoc_insertion_point(field_get:tensorflow.Int64List.value)
1469 return value_.Get(index);
1470}
1471inline void Int64List::set_value(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) {
1472 value_.Set(index, value);
1473 // @@protoc_insertion_point(field_set:tensorflow.Int64List.value)
1474}
1475inline void Int64List::add_value(::PROTOBUF_NAMESPACE_ID::int64 value) {
1476 value_.Add(value);
1477 // @@protoc_insertion_point(field_add:tensorflow.Int64List.value)
1478}
1479inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >&
1480Int64List::value() const {
1481 // @@protoc_insertion_point(field_list:tensorflow.Int64List.value)
1482 return value_;
1483}
1484inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >*
1485Int64List::mutable_value() {
1486 // @@protoc_insertion_point(field_mutable_list:tensorflow.Int64List.value)
1487 return &value_;
1488}
1489
1490// -------------------------------------------------------------------
1491
1492// Feature
1493
1494// .tensorflow.BytesList bytes_list = 1;
1495inline bool Feature::has_bytes_list() const {
1496 return kind_case() == kBytesList;
1497}
1498inline void Feature::set_has_bytes_list() {
1499 _oneof_case_[0] = kBytesList;
1500}
1501inline void Feature::clear_bytes_list() {
1502 if (has_bytes_list()) {
1503 if (GetArenaNoVirtual() == nullptr) {
1504 delete kind_.bytes_list_;
1505 }
1506 clear_has_kind();
1507 }
1508}
1509inline ::tensorflow::BytesList* Feature::release_bytes_list() {
1510 // @@protoc_insertion_point(field_release:tensorflow.Feature.bytes_list)
1511 if (has_bytes_list()) {
1512 clear_has_kind();
1513 ::tensorflow::BytesList* temp = kind_.bytes_list_;
1514 if (GetArenaNoVirtual() != nullptr) {
1515 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1516 }
1517 kind_.bytes_list_ = nullptr;
1518 return temp;
1519 } else {
1520 return nullptr;
1521 }
1522}
1523inline const ::tensorflow::BytesList& Feature::bytes_list() const {
1524 // @@protoc_insertion_point(field_get:tensorflow.Feature.bytes_list)
1525 return has_bytes_list()
1526 ? *kind_.bytes_list_
1527 : *reinterpret_cast< ::tensorflow::BytesList*>(&::tensorflow::_BytesList_default_instance_);
1528}
1529inline ::tensorflow::BytesList* Feature::unsafe_arena_release_bytes_list() {
1530 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.Feature.bytes_list)
1531 if (has_bytes_list()) {
1532 clear_has_kind();
1533 ::tensorflow::BytesList* temp = kind_.bytes_list_;
1534 kind_.bytes_list_ = nullptr;
1535 return temp;
1536 } else {
1537 return nullptr;
1538 }
1539}
1540inline void Feature::unsafe_arena_set_allocated_bytes_list(::tensorflow::BytesList* bytes_list) {
1541 clear_kind();
1542 if (bytes_list) {
1543 set_has_bytes_list();
1544 kind_.bytes_list_ = bytes_list;
1545 }
1546 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.Feature.bytes_list)
1547}
1548inline ::tensorflow::BytesList* Feature::mutable_bytes_list() {
1549 if (!has_bytes_list()) {
1550 clear_kind();
1551 set_has_bytes_list();
1552 kind_.bytes_list_ = CreateMaybeMessage< ::tensorflow::BytesList >(
1553 GetArenaNoVirtual());
1554 }
1555 // @@protoc_insertion_point(field_mutable:tensorflow.Feature.bytes_list)
1556 return kind_.bytes_list_;
1557}
1558
1559// .tensorflow.FloatList float_list = 2;
1560inline bool Feature::has_float_list() const {
1561 return kind_case() == kFloatList;
1562}
1563inline void Feature::set_has_float_list() {
1564 _oneof_case_[0] = kFloatList;
1565}
1566inline void Feature::clear_float_list() {
1567 if (has_float_list()) {
1568 if (GetArenaNoVirtual() == nullptr) {
1569 delete kind_.float_list_;
1570 }
1571 clear_has_kind();
1572 }
1573}
1574inline ::tensorflow::FloatList* Feature::release_float_list() {
1575 // @@protoc_insertion_point(field_release:tensorflow.Feature.float_list)
1576 if (has_float_list()) {
1577 clear_has_kind();
1578 ::tensorflow::FloatList* temp = kind_.float_list_;
1579 if (GetArenaNoVirtual() != nullptr) {
1580 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1581 }
1582 kind_.float_list_ = nullptr;
1583 return temp;
1584 } else {
1585 return nullptr;
1586 }
1587}
1588inline const ::tensorflow::FloatList& Feature::float_list() const {
1589 // @@protoc_insertion_point(field_get:tensorflow.Feature.float_list)
1590 return has_float_list()
1591 ? *kind_.float_list_
1592 : *reinterpret_cast< ::tensorflow::FloatList*>(&::tensorflow::_FloatList_default_instance_);
1593}
1594inline ::tensorflow::FloatList* Feature::unsafe_arena_release_float_list() {
1595 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.Feature.float_list)
1596 if (has_float_list()) {
1597 clear_has_kind();
1598 ::tensorflow::FloatList* temp = kind_.float_list_;
1599 kind_.float_list_ = nullptr;
1600 return temp;
1601 } else {
1602 return nullptr;
1603 }
1604}
1605inline void Feature::unsafe_arena_set_allocated_float_list(::tensorflow::FloatList* float_list) {
1606 clear_kind();
1607 if (float_list) {
1608 set_has_float_list();
1609 kind_.float_list_ = float_list;
1610 }
1611 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.Feature.float_list)
1612}
1613inline ::tensorflow::FloatList* Feature::mutable_float_list() {
1614 if (!has_float_list()) {
1615 clear_kind();
1616 set_has_float_list();
1617 kind_.float_list_ = CreateMaybeMessage< ::tensorflow::FloatList >(
1618 GetArenaNoVirtual());
1619 }
1620 // @@protoc_insertion_point(field_mutable:tensorflow.Feature.float_list)
1621 return kind_.float_list_;
1622}
1623
1624// .tensorflow.Int64List int64_list = 3;
1625inline bool Feature::has_int64_list() const {
1626 return kind_case() == kInt64List;
1627}
1628inline void Feature::set_has_int64_list() {
1629 _oneof_case_[0] = kInt64List;
1630}
1631inline void Feature::clear_int64_list() {
1632 if (has_int64_list()) {
1633 if (GetArenaNoVirtual() == nullptr) {
1634 delete kind_.int64_list_;
1635 }
1636 clear_has_kind();
1637 }
1638}
1639inline ::tensorflow::Int64List* Feature::release_int64_list() {
1640 // @@protoc_insertion_point(field_release:tensorflow.Feature.int64_list)
1641 if (has_int64_list()) {
1642 clear_has_kind();
1643 ::tensorflow::Int64List* temp = kind_.int64_list_;
1644 if (GetArenaNoVirtual() != nullptr) {
1645 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1646 }
1647 kind_.int64_list_ = nullptr;
1648 return temp;
1649 } else {
1650 return nullptr;
1651 }
1652}
1653inline const ::tensorflow::Int64List& Feature::int64_list() const {
1654 // @@protoc_insertion_point(field_get:tensorflow.Feature.int64_list)
1655 return has_int64_list()
1656 ? *kind_.int64_list_
1657 : *reinterpret_cast< ::tensorflow::Int64List*>(&::tensorflow::_Int64List_default_instance_);
1658}
1659inline ::tensorflow::Int64List* Feature::unsafe_arena_release_int64_list() {
1660 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.Feature.int64_list)
1661 if (has_int64_list()) {
1662 clear_has_kind();
1663 ::tensorflow::Int64List* temp = kind_.int64_list_;
1664 kind_.int64_list_ = nullptr;
1665 return temp;
1666 } else {
1667 return nullptr;
1668 }
1669}
1670inline void Feature::unsafe_arena_set_allocated_int64_list(::tensorflow::Int64List* int64_list) {
1671 clear_kind();
1672 if (int64_list) {
1673 set_has_int64_list();
1674 kind_.int64_list_ = int64_list;
1675 }
1676 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.Feature.int64_list)
1677}
1678inline ::tensorflow::Int64List* Feature::mutable_int64_list() {
1679 if (!has_int64_list()) {
1680 clear_kind();
1681 set_has_int64_list();
1682 kind_.int64_list_ = CreateMaybeMessage< ::tensorflow::Int64List >(
1683 GetArenaNoVirtual());
1684 }
1685 // @@protoc_insertion_point(field_mutable:tensorflow.Feature.int64_list)
1686 return kind_.int64_list_;
1687}
1688
1689inline bool Feature::has_kind() const {
1690 return kind_case() != KIND_NOT_SET;
1691}
1692inline void Feature::clear_has_kind() {
1693 _oneof_case_[0] = KIND_NOT_SET;
1694}
1695inline Feature::KindCase Feature::kind_case() const {
1696 return Feature::KindCase(_oneof_case_[0]);
1697}
1698// -------------------------------------------------------------------
1699
1700// -------------------------------------------------------------------
1701
1702// Features
1703
1704// map<string, .tensorflow.Feature> feature = 1;
1705inline int Features::feature_size() const {
1706 return feature_.size();
1707}
1708inline void Features::clear_feature() {
1709 feature_.Clear();
1710}
1711inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::Feature >&
1712Features::feature() const {
1713 // @@protoc_insertion_point(field_map:tensorflow.Features.feature)
1714 return feature_.GetMap();
1715}
1716inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::Feature >*
1717Features::mutable_feature() {
1718 // @@protoc_insertion_point(field_mutable_map:tensorflow.Features.feature)
1719 return feature_.MutableMap();
1720}
1721
1722// -------------------------------------------------------------------
1723
1724// FeatureList
1725
1726// repeated .tensorflow.Feature feature = 1;
1727inline int FeatureList::feature_size() const {
1728 return feature_.size();
1729}
1730inline void FeatureList::clear_feature() {
1731 feature_.Clear();
1732}
1733inline ::tensorflow::Feature* FeatureList::mutable_feature(int index) {
1734 // @@protoc_insertion_point(field_mutable:tensorflow.FeatureList.feature)
1735 return feature_.Mutable(index);
1736}
1737inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::Feature >*
1738FeatureList::mutable_feature() {
1739 // @@protoc_insertion_point(field_mutable_list:tensorflow.FeatureList.feature)
1740 return &feature_;
1741}
1742inline const ::tensorflow::Feature& FeatureList::feature(int index) const {
1743 // @@protoc_insertion_point(field_get:tensorflow.FeatureList.feature)
1744 return feature_.Get(index);
1745}
1746inline ::tensorflow::Feature* FeatureList::add_feature() {
1747 // @@protoc_insertion_point(field_add:tensorflow.FeatureList.feature)
1748 return feature_.Add();
1749}
1750inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::Feature >&
1751FeatureList::feature() const {
1752 // @@protoc_insertion_point(field_list:tensorflow.FeatureList.feature)
1753 return feature_;
1754}
1755
1756// -------------------------------------------------------------------
1757
1758// -------------------------------------------------------------------
1759
1760// FeatureLists
1761
1762// map<string, .tensorflow.FeatureList> feature_list = 1;
1763inline int FeatureLists::feature_list_size() const {
1764 return feature_list_.size();
1765}
1766inline void FeatureLists::clear_feature_list() {
1767 feature_list_.Clear();
1768}
1769inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::FeatureList >&
1770FeatureLists::feature_list() const {
1771 // @@protoc_insertion_point(field_map:tensorflow.FeatureLists.feature_list)
1772 return feature_list_.GetMap();
1773}
1774inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::FeatureList >*
1775FeatureLists::mutable_feature_list() {
1776 // @@protoc_insertion_point(field_mutable_map:tensorflow.FeatureLists.feature_list)
1777 return feature_list_.MutableMap();
1778}
1779
1780#ifdef __GNUC__
1781 #pragma GCC diagnostic pop
1782#endif // __GNUC__
1783// -------------------------------------------------------------------
1784
1785// -------------------------------------------------------------------
1786
1787// -------------------------------------------------------------------
1788
1789// -------------------------------------------------------------------
1790
1791// -------------------------------------------------------------------
1792
1793// -------------------------------------------------------------------
1794
1795// -------------------------------------------------------------------
1796
1797// -------------------------------------------------------------------
1798
1799
1800// @@protoc_insertion_point(namespace_scope)
1801
1802} // namespace tensorflow
1803
1804// @@protoc_insertion_point(global_scope)
1805
1806#include <google/protobuf/port_undef.inc>
1807#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fexample_2ffeature_2eproto
1808