1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: tensorflow/core/util/memmapped_file_system.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2futil_2fmemmapped_5ffile_5fsystem_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2futil_2fmemmapped_5ffile_5fsystem_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// @@protoc_insertion_point(includes)
36#include <google/protobuf/port_def.inc>
37#define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2futil_2fmemmapped_5ffile_5fsystem_2eproto
38PROTOBUF_NAMESPACE_OPEN
39namespace internal {
40class AnyMetadata;
41} // namespace internal
42PROTOBUF_NAMESPACE_CLOSE
43
44// Internal implementation detail -- do not use these members.
45struct TableStruct_tensorflow_2fcore_2futil_2fmemmapped_5ffile_5fsystem_2eproto {
46 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
47 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
48 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
49 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
50 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
51 PROTOBUF_SECTION_VARIABLE(protodesc_cold);
52 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
53 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
54 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
55};
56extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2futil_2fmemmapped_5ffile_5fsystem_2eproto;
57namespace tensorflow {
58class MemmappedFileSystemDirectory;
59class MemmappedFileSystemDirectoryDefaultTypeInternal;
60extern MemmappedFileSystemDirectoryDefaultTypeInternal _MemmappedFileSystemDirectory_default_instance_;
61class MemmappedFileSystemDirectoryElement;
62class MemmappedFileSystemDirectoryElementDefaultTypeInternal;
63extern MemmappedFileSystemDirectoryElementDefaultTypeInternal _MemmappedFileSystemDirectoryElement_default_instance_;
64} // namespace tensorflow
65PROTOBUF_NAMESPACE_OPEN
66template<> ::tensorflow::MemmappedFileSystemDirectory* Arena::CreateMaybeMessage<::tensorflow::MemmappedFileSystemDirectory>(Arena*);
67template<> ::tensorflow::MemmappedFileSystemDirectoryElement* Arena::CreateMaybeMessage<::tensorflow::MemmappedFileSystemDirectoryElement>(Arena*);
68PROTOBUF_NAMESPACE_CLOSE
69namespace tensorflow {
70
71// ===================================================================
72
73class MemmappedFileSystemDirectoryElement :
74 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.MemmappedFileSystemDirectoryElement) */ {
75 public:
76 MemmappedFileSystemDirectoryElement();
77 virtual ~MemmappedFileSystemDirectoryElement();
78
79 MemmappedFileSystemDirectoryElement(const MemmappedFileSystemDirectoryElement& from);
80 MemmappedFileSystemDirectoryElement(MemmappedFileSystemDirectoryElement&& from) noexcept
81 : MemmappedFileSystemDirectoryElement() {
82 *this = ::std::move(from);
83 }
84
85 inline MemmappedFileSystemDirectoryElement& operator=(const MemmappedFileSystemDirectoryElement& from) {
86 CopyFrom(from);
87 return *this;
88 }
89 inline MemmappedFileSystemDirectoryElement& operator=(MemmappedFileSystemDirectoryElement&& from) noexcept {
90 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
91 if (this != &from) InternalSwap(&from);
92 } else {
93 CopyFrom(from);
94 }
95 return *this;
96 }
97
98 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
99 return GetArenaNoVirtual();
100 }
101 inline void* GetMaybeArenaPointer() const final {
102 return MaybeArenaPtr();
103 }
104 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
105 return GetDescriptor();
106 }
107 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
108 return GetMetadataStatic().descriptor;
109 }
110 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
111 return GetMetadataStatic().reflection;
112 }
113 static const MemmappedFileSystemDirectoryElement& default_instance();
114
115 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
116 static inline const MemmappedFileSystemDirectoryElement* internal_default_instance() {
117 return reinterpret_cast<const MemmappedFileSystemDirectoryElement*>(
118 &_MemmappedFileSystemDirectoryElement_default_instance_);
119 }
120 static constexpr int kIndexInFileMessages =
121 0;
122
123 friend void swap(MemmappedFileSystemDirectoryElement& a, MemmappedFileSystemDirectoryElement& b) {
124 a.Swap(&b);
125 }
126 inline void Swap(MemmappedFileSystemDirectoryElement* other) {
127 if (other == this) return;
128 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
129 InternalSwap(other);
130 } else {
131 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
132 }
133 }
134 void UnsafeArenaSwap(MemmappedFileSystemDirectoryElement* other) {
135 if (other == this) return;
136 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
137 InternalSwap(other);
138 }
139
140 // implements Message ----------------------------------------------
141
142 inline MemmappedFileSystemDirectoryElement* New() const final {
143 return CreateMaybeMessage<MemmappedFileSystemDirectoryElement>(nullptr);
144 }
145
146 MemmappedFileSystemDirectoryElement* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
147 return CreateMaybeMessage<MemmappedFileSystemDirectoryElement>(arena);
148 }
149 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
150 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
151 void CopyFrom(const MemmappedFileSystemDirectoryElement& from);
152 void MergeFrom(const MemmappedFileSystemDirectoryElement& from);
153 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
154 bool IsInitialized() const final;
155
156 size_t ByteSizeLong() const final;
157 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
158 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
159 #else
160 bool MergePartialFromCodedStream(
161 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
162 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
163 void SerializeWithCachedSizes(
164 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
165 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
166 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
167 int GetCachedSize() const final { return _cached_size_.Get(); }
168
169 private:
170 inline void SharedCtor();
171 inline void SharedDtor();
172 void SetCachedSize(int size) const final;
173 void InternalSwap(MemmappedFileSystemDirectoryElement* other);
174 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
175 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
176 return "tensorflow.MemmappedFileSystemDirectoryElement";
177 }
178 protected:
179 explicit MemmappedFileSystemDirectoryElement(::PROTOBUF_NAMESPACE_ID::Arena* arena);
180 private:
181 static void ArenaDtor(void* object);
182 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183 private:
184 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
185 return _internal_metadata_.arena();
186 }
187 inline void* MaybeArenaPtr() const {
188 return _internal_metadata_.raw_arena_ptr();
189 }
190 public:
191
192 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
193 private:
194 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
195 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2futil_2fmemmapped_5ffile_5fsystem_2eproto);
196 return ::descriptor_table_tensorflow_2fcore_2futil_2fmemmapped_5ffile_5fsystem_2eproto.file_level_metadata[kIndexInFileMessages];
197 }
198
199 public:
200
201 // nested types ----------------------------------------------------
202
203 // accessors -------------------------------------------------------
204
205 enum : int {
206 kNameFieldNumber = 2,
207 kOffsetFieldNumber = 1,
208 kLengthFieldNumber = 3,
209 };
210 // string name = 2;
211 void clear_name();
212 const std::string& name() const;
213 void set_name(const std::string& value);
214 void set_name(std::string&& value);
215 void set_name(const char* value);
216 void set_name(const char* value, size_t size);
217 std::string* mutable_name();
218 std::string* release_name();
219 void set_allocated_name(std::string* name);
220 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
221 " string fields are deprecated and will be removed in a"
222 " future release.")
223 std::string* unsafe_arena_release_name();
224 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
225 " string fields are deprecated and will be removed in a"
226 " future release.")
227 void unsafe_arena_set_allocated_name(
228 std::string* name);
229
230 // uint64 offset = 1;
231 void clear_offset();
232 ::PROTOBUF_NAMESPACE_ID::uint64 offset() const;
233 void set_offset(::PROTOBUF_NAMESPACE_ID::uint64 value);
234
235 // uint64 length = 3;
236 void clear_length();
237 ::PROTOBUF_NAMESPACE_ID::uint64 length() const;
238 void set_length(::PROTOBUF_NAMESPACE_ID::uint64 value);
239
240 // @@protoc_insertion_point(class_scope:tensorflow.MemmappedFileSystemDirectoryElement)
241 private:
242 class _Internal;
243
244 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
245 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
246 typedef void InternalArenaConstructable_;
247 typedef void DestructorSkippable_;
248 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
249 ::PROTOBUF_NAMESPACE_ID::uint64 offset_;
250 ::PROTOBUF_NAMESPACE_ID::uint64 length_;
251 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
252 friend struct ::TableStruct_tensorflow_2fcore_2futil_2fmemmapped_5ffile_5fsystem_2eproto;
253};
254// -------------------------------------------------------------------
255
256class MemmappedFileSystemDirectory :
257 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.MemmappedFileSystemDirectory) */ {
258 public:
259 MemmappedFileSystemDirectory();
260 virtual ~MemmappedFileSystemDirectory();
261
262 MemmappedFileSystemDirectory(const MemmappedFileSystemDirectory& from);
263 MemmappedFileSystemDirectory(MemmappedFileSystemDirectory&& from) noexcept
264 : MemmappedFileSystemDirectory() {
265 *this = ::std::move(from);
266 }
267
268 inline MemmappedFileSystemDirectory& operator=(const MemmappedFileSystemDirectory& from) {
269 CopyFrom(from);
270 return *this;
271 }
272 inline MemmappedFileSystemDirectory& operator=(MemmappedFileSystemDirectory&& from) noexcept {
273 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
274 if (this != &from) InternalSwap(&from);
275 } else {
276 CopyFrom(from);
277 }
278 return *this;
279 }
280
281 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
282 return GetArenaNoVirtual();
283 }
284 inline void* GetMaybeArenaPointer() const final {
285 return MaybeArenaPtr();
286 }
287 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
288 return GetDescriptor();
289 }
290 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
291 return GetMetadataStatic().descriptor;
292 }
293 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
294 return GetMetadataStatic().reflection;
295 }
296 static const MemmappedFileSystemDirectory& default_instance();
297
298 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
299 static inline const MemmappedFileSystemDirectory* internal_default_instance() {
300 return reinterpret_cast<const MemmappedFileSystemDirectory*>(
301 &_MemmappedFileSystemDirectory_default_instance_);
302 }
303 static constexpr int kIndexInFileMessages =
304 1;
305
306 friend void swap(MemmappedFileSystemDirectory& a, MemmappedFileSystemDirectory& b) {
307 a.Swap(&b);
308 }
309 inline void Swap(MemmappedFileSystemDirectory* other) {
310 if (other == this) return;
311 if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
312 InternalSwap(other);
313 } else {
314 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
315 }
316 }
317 void UnsafeArenaSwap(MemmappedFileSystemDirectory* other) {
318 if (other == this) return;
319 GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
320 InternalSwap(other);
321 }
322
323 // implements Message ----------------------------------------------
324
325 inline MemmappedFileSystemDirectory* New() const final {
326 return CreateMaybeMessage<MemmappedFileSystemDirectory>(nullptr);
327 }
328
329 MemmappedFileSystemDirectory* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
330 return CreateMaybeMessage<MemmappedFileSystemDirectory>(arena);
331 }
332 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
333 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
334 void CopyFrom(const MemmappedFileSystemDirectory& from);
335 void MergeFrom(const MemmappedFileSystemDirectory& from);
336 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
337 bool IsInitialized() const final;
338
339 size_t ByteSizeLong() const final;
340 #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
341 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
342 #else
343 bool MergePartialFromCodedStream(
344 ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
345 #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
346 void SerializeWithCachedSizes(
347 ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
348 ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
349 ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
350 int GetCachedSize() const final { return _cached_size_.Get(); }
351
352 private:
353 inline void SharedCtor();
354 inline void SharedDtor();
355 void SetCachedSize(int size) const final;
356 void InternalSwap(MemmappedFileSystemDirectory* other);
357 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
358 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
359 return "tensorflow.MemmappedFileSystemDirectory";
360 }
361 protected:
362 explicit MemmappedFileSystemDirectory(::PROTOBUF_NAMESPACE_ID::Arena* arena);
363 private:
364 static void ArenaDtor(void* object);
365 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
366 private:
367 inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
368 return _internal_metadata_.arena();
369 }
370 inline void* MaybeArenaPtr() const {
371 return _internal_metadata_.raw_arena_ptr();
372 }
373 public:
374
375 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
376 private:
377 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
378 ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2futil_2fmemmapped_5ffile_5fsystem_2eproto);
379 return ::descriptor_table_tensorflow_2fcore_2futil_2fmemmapped_5ffile_5fsystem_2eproto.file_level_metadata[kIndexInFileMessages];
380 }
381
382 public:
383
384 // nested types ----------------------------------------------------
385
386 // accessors -------------------------------------------------------
387
388 enum : int {
389 kElementFieldNumber = 1,
390 };
391 // repeated .tensorflow.MemmappedFileSystemDirectoryElement element = 1;
392 int element_size() const;
393 void clear_element();
394 ::tensorflow::MemmappedFileSystemDirectoryElement* mutable_element(int index);
395 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::MemmappedFileSystemDirectoryElement >*
396 mutable_element();
397 const ::tensorflow::MemmappedFileSystemDirectoryElement& element(int index) const;
398 ::tensorflow::MemmappedFileSystemDirectoryElement* add_element();
399 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::MemmappedFileSystemDirectoryElement >&
400 element() const;
401
402 // @@protoc_insertion_point(class_scope:tensorflow.MemmappedFileSystemDirectory)
403 private:
404 class _Internal;
405
406 ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
407 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
408 typedef void InternalArenaConstructable_;
409 typedef void DestructorSkippable_;
410 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::MemmappedFileSystemDirectoryElement > element_;
411 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
412 friend struct ::TableStruct_tensorflow_2fcore_2futil_2fmemmapped_5ffile_5fsystem_2eproto;
413};
414// ===================================================================
415
416
417// ===================================================================
418
419#ifdef __GNUC__
420 #pragma GCC diagnostic push
421 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
422#endif // __GNUC__
423// MemmappedFileSystemDirectoryElement
424
425// uint64 offset = 1;
426inline void MemmappedFileSystemDirectoryElement::clear_offset() {
427 offset_ = PROTOBUF_ULONGLONG(0);
428}
429inline ::PROTOBUF_NAMESPACE_ID::uint64 MemmappedFileSystemDirectoryElement::offset() const {
430 // @@protoc_insertion_point(field_get:tensorflow.MemmappedFileSystemDirectoryElement.offset)
431 return offset_;
432}
433inline void MemmappedFileSystemDirectoryElement::set_offset(::PROTOBUF_NAMESPACE_ID::uint64 value) {
434
435 offset_ = value;
436 // @@protoc_insertion_point(field_set:tensorflow.MemmappedFileSystemDirectoryElement.offset)
437}
438
439// string name = 2;
440inline void MemmappedFileSystemDirectoryElement::clear_name() {
441 name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
442}
443inline const std::string& MemmappedFileSystemDirectoryElement::name() const {
444 // @@protoc_insertion_point(field_get:tensorflow.MemmappedFileSystemDirectoryElement.name)
445 return name_.Get();
446}
447inline void MemmappedFileSystemDirectoryElement::set_name(const std::string& value) {
448
449 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
450 // @@protoc_insertion_point(field_set:tensorflow.MemmappedFileSystemDirectoryElement.name)
451}
452inline void MemmappedFileSystemDirectoryElement::set_name(std::string&& value) {
453
454 name_.Set(
455 &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
456 // @@protoc_insertion_point(field_set_rvalue:tensorflow.MemmappedFileSystemDirectoryElement.name)
457}
458inline void MemmappedFileSystemDirectoryElement::set_name(const char* value) {
459 GOOGLE_DCHECK(value != nullptr);
460
461 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
462 GetArenaNoVirtual());
463 // @@protoc_insertion_point(field_set_char:tensorflow.MemmappedFileSystemDirectoryElement.name)
464}
465inline void MemmappedFileSystemDirectoryElement::set_name(const char* value,
466 size_t size) {
467
468 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
469 reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
470 // @@protoc_insertion_point(field_set_pointer:tensorflow.MemmappedFileSystemDirectoryElement.name)
471}
472inline std::string* MemmappedFileSystemDirectoryElement::mutable_name() {
473
474 // @@protoc_insertion_point(field_mutable:tensorflow.MemmappedFileSystemDirectoryElement.name)
475 return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
476}
477inline std::string* MemmappedFileSystemDirectoryElement::release_name() {
478 // @@protoc_insertion_point(field_release:tensorflow.MemmappedFileSystemDirectoryElement.name)
479
480 return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
481}
482inline void MemmappedFileSystemDirectoryElement::set_allocated_name(std::string* name) {
483 if (name != nullptr) {
484
485 } else {
486
487 }
488 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
489 GetArenaNoVirtual());
490 // @@protoc_insertion_point(field_set_allocated:tensorflow.MemmappedFileSystemDirectoryElement.name)
491}
492inline std::string* MemmappedFileSystemDirectoryElement::unsafe_arena_release_name() {
493 // @@protoc_insertion_point(field_unsafe_arena_release:tensorflow.MemmappedFileSystemDirectoryElement.name)
494 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
495
496 return name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
497 GetArenaNoVirtual());
498}
499inline void MemmappedFileSystemDirectoryElement::unsafe_arena_set_allocated_name(
500 std::string* name) {
501 GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
502 if (name != nullptr) {
503
504 } else {
505
506 }
507 name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
508 name, GetArenaNoVirtual());
509 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.MemmappedFileSystemDirectoryElement.name)
510}
511
512// uint64 length = 3;
513inline void MemmappedFileSystemDirectoryElement::clear_length() {
514 length_ = PROTOBUF_ULONGLONG(0);
515}
516inline ::PROTOBUF_NAMESPACE_ID::uint64 MemmappedFileSystemDirectoryElement::length() const {
517 // @@protoc_insertion_point(field_get:tensorflow.MemmappedFileSystemDirectoryElement.length)
518 return length_;
519}
520inline void MemmappedFileSystemDirectoryElement::set_length(::PROTOBUF_NAMESPACE_ID::uint64 value) {
521
522 length_ = value;
523 // @@protoc_insertion_point(field_set:tensorflow.MemmappedFileSystemDirectoryElement.length)
524}
525
526// -------------------------------------------------------------------
527
528// MemmappedFileSystemDirectory
529
530// repeated .tensorflow.MemmappedFileSystemDirectoryElement element = 1;
531inline int MemmappedFileSystemDirectory::element_size() const {
532 return element_.size();
533}
534inline void MemmappedFileSystemDirectory::clear_element() {
535 element_.Clear();
536}
537inline ::tensorflow::MemmappedFileSystemDirectoryElement* MemmappedFileSystemDirectory::mutable_element(int index) {
538 // @@protoc_insertion_point(field_mutable:tensorflow.MemmappedFileSystemDirectory.element)
539 return element_.Mutable(index);
540}
541inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::MemmappedFileSystemDirectoryElement >*
542MemmappedFileSystemDirectory::mutable_element() {
543 // @@protoc_insertion_point(field_mutable_list:tensorflow.MemmappedFileSystemDirectory.element)
544 return &element_;
545}
546inline const ::tensorflow::MemmappedFileSystemDirectoryElement& MemmappedFileSystemDirectory::element(int index) const {
547 // @@protoc_insertion_point(field_get:tensorflow.MemmappedFileSystemDirectory.element)
548 return element_.Get(index);
549}
550inline ::tensorflow::MemmappedFileSystemDirectoryElement* MemmappedFileSystemDirectory::add_element() {
551 // @@protoc_insertion_point(field_add:tensorflow.MemmappedFileSystemDirectory.element)
552 return element_.Add();
553}
554inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::MemmappedFileSystemDirectoryElement >&
555MemmappedFileSystemDirectory::element() const {
556 // @@protoc_insertion_point(field_list:tensorflow.MemmappedFileSystemDirectory.element)
557 return element_;
558}
559
560#ifdef __GNUC__
561 #pragma GCC diagnostic pop
562#endif // __GNUC__
563// -------------------------------------------------------------------
564
565
566// @@protoc_insertion_point(namespace_scope)
567
568} // namespace tensorflow
569
570// @@protoc_insertion_point(global_scope)
571
572#include <google/protobuf/port_undef.inc>
573#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2futil_2fmemmapped_5ffile_5fsystem_2eproto
574