1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: 00825_protobuf_format_syntax2.proto
3
4#ifndef PROTOBUF_INCLUDED_00825_5fprotobuf_5fformat_5fsyntax2_2eproto
5#define PROTOBUF_INCLUDED_00825_5fprotobuf_5fformat_5fsyntax2_2eproto
6
7#include <string>
8
9#include <google/protobuf/stubs/common.h>
10
11#if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23#include <google/protobuf/arena.h>
24#include <google/protobuf/arenastring.h>
25#include <google/protobuf/generated_message_table_driven.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/inlined_string_field.h>
28#include <google/protobuf/metadata.h>
29#include <google/protobuf/message.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
34// @@protoc_insertion_point(includes)
35#define PROTOBUF_INTERNAL_EXPORT_protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto
36
37namespace protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto {
38// Internal implementation detail -- do not use these members.
39struct TableStruct {
40 static const ::google::protobuf::internal::ParseTableField entries[];
41 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
42 static const ::google::protobuf::internal::ParseTable schema[6];
43 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
44 static const ::google::protobuf::internal::SerializationTable serialization_table[];
45 static const ::google::protobuf::uint32 offsets[];
46};
47void AddDescriptors();
48} // namespace protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto
49class Syntax2Person;
50class Syntax2PersonDefaultTypeInternal;
51extern Syntax2PersonDefaultTypeInternal _Syntax2Person_default_instance_;
52class Syntax2Person_MeasureUnits;
53class Syntax2Person_MeasureUnitsDefaultTypeInternal;
54extern Syntax2Person_MeasureUnitsDefaultTypeInternal _Syntax2Person_MeasureUnits_default_instance_;
55class Syntax2Person_Nestiness;
56class Syntax2Person_NestinessDefaultTypeInternal;
57extern Syntax2Person_NestinessDefaultTypeInternal _Syntax2Person_Nestiness_default_instance_;
58class Syntax2Person_Nestiness_A;
59class Syntax2Person_Nestiness_ADefaultTypeInternal;
60extern Syntax2Person_Nestiness_ADefaultTypeInternal _Syntax2Person_Nestiness_A_default_instance_;
61class Syntax2Person_Nestiness_A_SubB;
62class Syntax2Person_Nestiness_A_SubBDefaultTypeInternal;
63extern Syntax2Person_Nestiness_A_SubBDefaultTypeInternal _Syntax2Person_Nestiness_A_SubB_default_instance_;
64class Syntax2Person_Nestiness_A_SubB_C;
65class Syntax2Person_Nestiness_A_SubB_CDefaultTypeInternal;
66extern Syntax2Person_Nestiness_A_SubB_CDefaultTypeInternal _Syntax2Person_Nestiness_A_SubB_C_default_instance_;
67namespace google {
68namespace protobuf {
69template<> ::Syntax2Person* Arena::CreateMaybeMessage<::Syntax2Person>(Arena*);
70template<> ::Syntax2Person_MeasureUnits* Arena::CreateMaybeMessage<::Syntax2Person_MeasureUnits>(Arena*);
71template<> ::Syntax2Person_Nestiness* Arena::CreateMaybeMessage<::Syntax2Person_Nestiness>(Arena*);
72template<> ::Syntax2Person_Nestiness_A* Arena::CreateMaybeMessage<::Syntax2Person_Nestiness_A>(Arena*);
73template<> ::Syntax2Person_Nestiness_A_SubB* Arena::CreateMaybeMessage<::Syntax2Person_Nestiness_A_SubB>(Arena*);
74template<> ::Syntax2Person_Nestiness_A_SubB_C* Arena::CreateMaybeMessage<::Syntax2Person_Nestiness_A_SubB_C>(Arena*);
75} // namespace protobuf
76} // namespace google
77
78enum Syntax2Person_Gender {
79 Syntax2Person_Gender_female = 0,
80 Syntax2Person_Gender_male = 1
81};
82bool Syntax2Person_Gender_IsValid(int value);
83const Syntax2Person_Gender Syntax2Person_Gender_Gender_MIN = Syntax2Person_Gender_female;
84const Syntax2Person_Gender Syntax2Person_Gender_Gender_MAX = Syntax2Person_Gender_male;
85const int Syntax2Person_Gender_Gender_ARRAYSIZE = Syntax2Person_Gender_Gender_MAX + 1;
86
87const ::google::protobuf::EnumDescriptor* Syntax2Person_Gender_descriptor();
88inline const ::std::string& Syntax2Person_Gender_Name(Syntax2Person_Gender value) {
89 return ::google::protobuf::internal::NameOfEnum(
90 Syntax2Person_Gender_descriptor(), value);
91}
92inline bool Syntax2Person_Gender_Parse(
93 const ::std::string& name, Syntax2Person_Gender* value) {
94 return ::google::protobuf::internal::ParseNamedEnum<Syntax2Person_Gender>(
95 Syntax2Person_Gender_descriptor(), name, value);
96}
97enum Syntax2Person_ZodiacSign {
98 Syntax2Person_ZodiacSign_aries = 0,
99 Syntax2Person_ZodiacSign_taurus = 1,
100 Syntax2Person_ZodiacSign_gemini = 2,
101 Syntax2Person_ZodiacSign_cancer = 3,
102 Syntax2Person_ZodiacSign_leo = 4,
103 Syntax2Person_ZodiacSign_virgo = 5,
104 Syntax2Person_ZodiacSign_libra = 6,
105 Syntax2Person_ZodiacSign_scorpius = 7,
106 Syntax2Person_ZodiacSign_sagittarius = 8,
107 Syntax2Person_ZodiacSign_capricorn = 9,
108 Syntax2Person_ZodiacSign_aquarius = 10,
109 Syntax2Person_ZodiacSign_pisces = 11
110};
111bool Syntax2Person_ZodiacSign_IsValid(int value);
112const Syntax2Person_ZodiacSign Syntax2Person_ZodiacSign_ZodiacSign_MIN = Syntax2Person_ZodiacSign_aries;
113const Syntax2Person_ZodiacSign Syntax2Person_ZodiacSign_ZodiacSign_MAX = Syntax2Person_ZodiacSign_pisces;
114const int Syntax2Person_ZodiacSign_ZodiacSign_ARRAYSIZE = Syntax2Person_ZodiacSign_ZodiacSign_MAX + 1;
115
116const ::google::protobuf::EnumDescriptor* Syntax2Person_ZodiacSign_descriptor();
117inline const ::std::string& Syntax2Person_ZodiacSign_Name(Syntax2Person_ZodiacSign value) {
118 return ::google::protobuf::internal::NameOfEnum(
119 Syntax2Person_ZodiacSign_descriptor(), value);
120}
121inline bool Syntax2Person_ZodiacSign_Parse(
122 const ::std::string& name, Syntax2Person_ZodiacSign* value) {
123 return ::google::protobuf::internal::ParseNamedEnum<Syntax2Person_ZodiacSign>(
124 Syntax2Person_ZodiacSign_descriptor(), name, value);
125}
126// ===================================================================
127
128class Syntax2Person_MeasureUnits : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Syntax2Person.MeasureUnits) */ {
129 public:
130 Syntax2Person_MeasureUnits();
131 virtual ~Syntax2Person_MeasureUnits();
132
133 Syntax2Person_MeasureUnits(const Syntax2Person_MeasureUnits& from);
134
135 inline Syntax2Person_MeasureUnits& operator=(const Syntax2Person_MeasureUnits& from) {
136 CopyFrom(from);
137 return *this;
138 }
139 #if LANG_CXX11
140 Syntax2Person_MeasureUnits(Syntax2Person_MeasureUnits&& from) noexcept
141 : Syntax2Person_MeasureUnits() {
142 *this = ::std::move(from);
143 }
144
145 inline Syntax2Person_MeasureUnits& operator=(Syntax2Person_MeasureUnits&& from) noexcept {
146 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
147 if (this != &from) InternalSwap(&from);
148 } else {
149 CopyFrom(from);
150 }
151 return *this;
152 }
153 #endif
154 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
155 return _internal_metadata_.unknown_fields();
156 }
157 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
158 return _internal_metadata_.mutable_unknown_fields();
159 }
160
161 static const ::google::protobuf::Descriptor* descriptor();
162 static const Syntax2Person_MeasureUnits& default_instance();
163
164 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
165 static inline const Syntax2Person_MeasureUnits* internal_default_instance() {
166 return reinterpret_cast<const Syntax2Person_MeasureUnits*>(
167 &_Syntax2Person_MeasureUnits_default_instance_);
168 }
169 static constexpr int kIndexInFileMessages =
170 0;
171
172 void Swap(Syntax2Person_MeasureUnits* other);
173 friend void swap(Syntax2Person_MeasureUnits& a, Syntax2Person_MeasureUnits& b) {
174 a.Swap(&b);
175 }
176
177 // implements Message ----------------------------------------------
178
179 inline Syntax2Person_MeasureUnits* New() const final {
180 return CreateMaybeMessage<Syntax2Person_MeasureUnits>(NULL);
181 }
182
183 Syntax2Person_MeasureUnits* New(::google::protobuf::Arena* arena) const final {
184 return CreateMaybeMessage<Syntax2Person_MeasureUnits>(arena);
185 }
186 void CopyFrom(const ::google::protobuf::Message& from) final;
187 void MergeFrom(const ::google::protobuf::Message& from) final;
188 void CopyFrom(const Syntax2Person_MeasureUnits& from);
189 void MergeFrom(const Syntax2Person_MeasureUnits& from);
190 void Clear() final;
191 bool IsInitialized() const final;
192
193 size_t ByteSizeLong() const final;
194 bool MergePartialFromCodedStream(
195 ::google::protobuf::io::CodedInputStream* input) final;
196 void SerializeWithCachedSizes(
197 ::google::protobuf::io::CodedOutputStream* output) const final;
198 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
199 bool deterministic, ::google::protobuf::uint8* target) const final;
200 int GetCachedSize() const final { return _cached_size_.Get(); }
201
202 private:
203 void SharedCtor();
204 void SharedDtor();
205 void SetCachedSize(int size) const final;
206 void InternalSwap(Syntax2Person_MeasureUnits* other);
207 private:
208 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
209 return NULL;
210 }
211 inline void* MaybeArenaPtr() const {
212 return NULL;
213 }
214 public:
215
216 ::google::protobuf::Metadata GetMetadata() const final;
217
218 // nested types ----------------------------------------------------
219
220 // accessors -------------------------------------------------------
221
222 // repeated float coef = 1;
223 int coef_size() const;
224 void clear_coef();
225 static const int kCoefFieldNumber = 1;
226 float coef(int index) const;
227 void set_coef(int index, float value);
228 void add_coef(float value);
229 const ::google::protobuf::RepeatedField< float >&
230 coef() const;
231 ::google::protobuf::RepeatedField< float >*
232 mutable_coef();
233
234 // repeated string unit = 2;
235 int unit_size() const;
236 void clear_unit();
237 static const int kUnitFieldNumber = 2;
238 const ::std::string& unit(int index) const;
239 ::std::string* mutable_unit(int index);
240 void set_unit(int index, const ::std::string& value);
241 #if LANG_CXX11
242 void set_unit(int index, ::std::string&& value);
243 #endif
244 void set_unit(int index, const char* value);
245 void set_unit(int index, const char* value, size_t size);
246 ::std::string* add_unit();
247 void add_unit(const ::std::string& value);
248 #if LANG_CXX11
249 void add_unit(::std::string&& value);
250 #endif
251 void add_unit(const char* value);
252 void add_unit(const char* value, size_t size);
253 const ::google::protobuf::RepeatedPtrField< ::std::string>& unit() const;
254 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_unit();
255
256 // @@protoc_insertion_point(class_scope:Syntax2Person.MeasureUnits)
257 private:
258
259 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
260 ::google::protobuf::internal::HasBits<1> _has_bits_;
261 mutable ::google::protobuf::internal::CachedSize _cached_size_;
262 ::google::protobuf::RepeatedField< float > coef_;
263 ::google::protobuf::RepeatedPtrField< ::std::string> unit_;
264 friend struct ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::TableStruct;
265};
266// -------------------------------------------------------------------
267
268class Syntax2Person_Nestiness_A_SubB_C : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Syntax2Person.Nestiness.A.SubB.C) */ {
269 public:
270 Syntax2Person_Nestiness_A_SubB_C();
271 virtual ~Syntax2Person_Nestiness_A_SubB_C();
272
273 Syntax2Person_Nestiness_A_SubB_C(const Syntax2Person_Nestiness_A_SubB_C& from);
274
275 inline Syntax2Person_Nestiness_A_SubB_C& operator=(const Syntax2Person_Nestiness_A_SubB_C& from) {
276 CopyFrom(from);
277 return *this;
278 }
279 #if LANG_CXX11
280 Syntax2Person_Nestiness_A_SubB_C(Syntax2Person_Nestiness_A_SubB_C&& from) noexcept
281 : Syntax2Person_Nestiness_A_SubB_C() {
282 *this = ::std::move(from);
283 }
284
285 inline Syntax2Person_Nestiness_A_SubB_C& operator=(Syntax2Person_Nestiness_A_SubB_C&& from) noexcept {
286 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
287 if (this != &from) InternalSwap(&from);
288 } else {
289 CopyFrom(from);
290 }
291 return *this;
292 }
293 #endif
294 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
295 return _internal_metadata_.unknown_fields();
296 }
297 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
298 return _internal_metadata_.mutable_unknown_fields();
299 }
300
301 static const ::google::protobuf::Descriptor* descriptor();
302 static const Syntax2Person_Nestiness_A_SubB_C& default_instance();
303
304 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
305 static inline const Syntax2Person_Nestiness_A_SubB_C* internal_default_instance() {
306 return reinterpret_cast<const Syntax2Person_Nestiness_A_SubB_C*>(
307 &_Syntax2Person_Nestiness_A_SubB_C_default_instance_);
308 }
309 static constexpr int kIndexInFileMessages =
310 1;
311
312 void Swap(Syntax2Person_Nestiness_A_SubB_C* other);
313 friend void swap(Syntax2Person_Nestiness_A_SubB_C& a, Syntax2Person_Nestiness_A_SubB_C& b) {
314 a.Swap(&b);
315 }
316
317 // implements Message ----------------------------------------------
318
319 inline Syntax2Person_Nestiness_A_SubB_C* New() const final {
320 return CreateMaybeMessage<Syntax2Person_Nestiness_A_SubB_C>(NULL);
321 }
322
323 Syntax2Person_Nestiness_A_SubB_C* New(::google::protobuf::Arena* arena) const final {
324 return CreateMaybeMessage<Syntax2Person_Nestiness_A_SubB_C>(arena);
325 }
326 void CopyFrom(const ::google::protobuf::Message& from) final;
327 void MergeFrom(const ::google::protobuf::Message& from) final;
328 void CopyFrom(const Syntax2Person_Nestiness_A_SubB_C& from);
329 void MergeFrom(const Syntax2Person_Nestiness_A_SubB_C& from);
330 void Clear() final;
331 bool IsInitialized() const final;
332
333 size_t ByteSizeLong() const final;
334 bool MergePartialFromCodedStream(
335 ::google::protobuf::io::CodedInputStream* input) final;
336 void SerializeWithCachedSizes(
337 ::google::protobuf::io::CodedOutputStream* output) const final;
338 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
339 bool deterministic, ::google::protobuf::uint8* target) const final;
340 int GetCachedSize() const final { return _cached_size_.Get(); }
341
342 private:
343 void SharedCtor();
344 void SharedDtor();
345 void SetCachedSize(int size) const final;
346 void InternalSwap(Syntax2Person_Nestiness_A_SubB_C* other);
347 private:
348 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
349 return NULL;
350 }
351 inline void* MaybeArenaPtr() const {
352 return NULL;
353 }
354 public:
355
356 ::google::protobuf::Metadata GetMetadata() const final;
357
358 // nested types ----------------------------------------------------
359
360 // accessors -------------------------------------------------------
361
362 // repeated uint32 e = 2;
363 int e_size() const;
364 void clear_e();
365 static const int kEFieldNumber = 2;
366 ::google::protobuf::uint32 e(int index) const;
367 void set_e(int index, ::google::protobuf::uint32 value);
368 void add_e(::google::protobuf::uint32 value);
369 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
370 e() const;
371 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
372 mutable_e();
373
374 // optional uint32 d = 1;
375 bool has_d() const;
376 void clear_d();
377 static const int kDFieldNumber = 1;
378 ::google::protobuf::uint32 d() const;
379 void set_d(::google::protobuf::uint32 value);
380
381 // @@protoc_insertion_point(class_scope:Syntax2Person.Nestiness.A.SubB.C)
382 private:
383 void set_has_d();
384 void clear_has_d();
385
386 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
387 ::google::protobuf::internal::HasBits<1> _has_bits_;
388 mutable ::google::protobuf::internal::CachedSize _cached_size_;
389 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > e_;
390 ::google::protobuf::uint32 d_;
391 friend struct ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::TableStruct;
392};
393// -------------------------------------------------------------------
394
395class Syntax2Person_Nestiness_A_SubB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Syntax2Person.Nestiness.A.SubB) */ {
396 public:
397 Syntax2Person_Nestiness_A_SubB();
398 virtual ~Syntax2Person_Nestiness_A_SubB();
399
400 Syntax2Person_Nestiness_A_SubB(const Syntax2Person_Nestiness_A_SubB& from);
401
402 inline Syntax2Person_Nestiness_A_SubB& operator=(const Syntax2Person_Nestiness_A_SubB& from) {
403 CopyFrom(from);
404 return *this;
405 }
406 #if LANG_CXX11
407 Syntax2Person_Nestiness_A_SubB(Syntax2Person_Nestiness_A_SubB&& from) noexcept
408 : Syntax2Person_Nestiness_A_SubB() {
409 *this = ::std::move(from);
410 }
411
412 inline Syntax2Person_Nestiness_A_SubB& operator=(Syntax2Person_Nestiness_A_SubB&& from) noexcept {
413 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
414 if (this != &from) InternalSwap(&from);
415 } else {
416 CopyFrom(from);
417 }
418 return *this;
419 }
420 #endif
421 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
422 return _internal_metadata_.unknown_fields();
423 }
424 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
425 return _internal_metadata_.mutable_unknown_fields();
426 }
427
428 static const ::google::protobuf::Descriptor* descriptor();
429 static const Syntax2Person_Nestiness_A_SubB& default_instance();
430
431 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
432 static inline const Syntax2Person_Nestiness_A_SubB* internal_default_instance() {
433 return reinterpret_cast<const Syntax2Person_Nestiness_A_SubB*>(
434 &_Syntax2Person_Nestiness_A_SubB_default_instance_);
435 }
436 static constexpr int kIndexInFileMessages =
437 2;
438
439 void Swap(Syntax2Person_Nestiness_A_SubB* other);
440 friend void swap(Syntax2Person_Nestiness_A_SubB& a, Syntax2Person_Nestiness_A_SubB& b) {
441 a.Swap(&b);
442 }
443
444 // implements Message ----------------------------------------------
445
446 inline Syntax2Person_Nestiness_A_SubB* New() const final {
447 return CreateMaybeMessage<Syntax2Person_Nestiness_A_SubB>(NULL);
448 }
449
450 Syntax2Person_Nestiness_A_SubB* New(::google::protobuf::Arena* arena) const final {
451 return CreateMaybeMessage<Syntax2Person_Nestiness_A_SubB>(arena);
452 }
453 void CopyFrom(const ::google::protobuf::Message& from) final;
454 void MergeFrom(const ::google::protobuf::Message& from) final;
455 void CopyFrom(const Syntax2Person_Nestiness_A_SubB& from);
456 void MergeFrom(const Syntax2Person_Nestiness_A_SubB& from);
457 void Clear() final;
458 bool IsInitialized() const final;
459
460 size_t ByteSizeLong() const final;
461 bool MergePartialFromCodedStream(
462 ::google::protobuf::io::CodedInputStream* input) final;
463 void SerializeWithCachedSizes(
464 ::google::protobuf::io::CodedOutputStream* output) const final;
465 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
466 bool deterministic, ::google::protobuf::uint8* target) const final;
467 int GetCachedSize() const final { return _cached_size_.Get(); }
468
469 private:
470 void SharedCtor();
471 void SharedDtor();
472 void SetCachedSize(int size) const final;
473 void InternalSwap(Syntax2Person_Nestiness_A_SubB* other);
474 private:
475 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
476 return NULL;
477 }
478 inline void* MaybeArenaPtr() const {
479 return NULL;
480 }
481 public:
482
483 ::google::protobuf::Metadata GetMetadata() const final;
484
485 // nested types ----------------------------------------------------
486
487 typedef Syntax2Person_Nestiness_A_SubB_C C;
488
489 // accessors -------------------------------------------------------
490
491 // optional group C = 1 { ... };
492 bool has_c() const;
493 void clear_c();
494 static const int kCFieldNumber = 1;
495 private:
496 const ::Syntax2Person_Nestiness_A_SubB_C& _internal_c() const;
497 public:
498 const ::Syntax2Person_Nestiness_A_SubB_C& c() const;
499 ::Syntax2Person_Nestiness_A_SubB_C* release_c();
500 ::Syntax2Person_Nestiness_A_SubB_C* mutable_c();
501 void set_allocated_c(::Syntax2Person_Nestiness_A_SubB_C* c);
502
503 // @@protoc_insertion_point(class_scope:Syntax2Person.Nestiness.A.SubB)
504 private:
505 void set_has_c();
506 void clear_has_c();
507
508 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
509 ::google::protobuf::internal::HasBits<1> _has_bits_;
510 mutable ::google::protobuf::internal::CachedSize _cached_size_;
511 ::Syntax2Person_Nestiness_A_SubB_C* c_;
512 friend struct ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::TableStruct;
513};
514// -------------------------------------------------------------------
515
516class Syntax2Person_Nestiness_A : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Syntax2Person.Nestiness.A) */ {
517 public:
518 Syntax2Person_Nestiness_A();
519 virtual ~Syntax2Person_Nestiness_A();
520
521 Syntax2Person_Nestiness_A(const Syntax2Person_Nestiness_A& from);
522
523 inline Syntax2Person_Nestiness_A& operator=(const Syntax2Person_Nestiness_A& from) {
524 CopyFrom(from);
525 return *this;
526 }
527 #if LANG_CXX11
528 Syntax2Person_Nestiness_A(Syntax2Person_Nestiness_A&& from) noexcept
529 : Syntax2Person_Nestiness_A() {
530 *this = ::std::move(from);
531 }
532
533 inline Syntax2Person_Nestiness_A& operator=(Syntax2Person_Nestiness_A&& from) noexcept {
534 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
535 if (this != &from) InternalSwap(&from);
536 } else {
537 CopyFrom(from);
538 }
539 return *this;
540 }
541 #endif
542 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
543 return _internal_metadata_.unknown_fields();
544 }
545 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
546 return _internal_metadata_.mutable_unknown_fields();
547 }
548
549 static const ::google::protobuf::Descriptor* descriptor();
550 static const Syntax2Person_Nestiness_A& default_instance();
551
552 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
553 static inline const Syntax2Person_Nestiness_A* internal_default_instance() {
554 return reinterpret_cast<const Syntax2Person_Nestiness_A*>(
555 &_Syntax2Person_Nestiness_A_default_instance_);
556 }
557 static constexpr int kIndexInFileMessages =
558 3;
559
560 void Swap(Syntax2Person_Nestiness_A* other);
561 friend void swap(Syntax2Person_Nestiness_A& a, Syntax2Person_Nestiness_A& b) {
562 a.Swap(&b);
563 }
564
565 // implements Message ----------------------------------------------
566
567 inline Syntax2Person_Nestiness_A* New() const final {
568 return CreateMaybeMessage<Syntax2Person_Nestiness_A>(NULL);
569 }
570
571 Syntax2Person_Nestiness_A* New(::google::protobuf::Arena* arena) const final {
572 return CreateMaybeMessage<Syntax2Person_Nestiness_A>(arena);
573 }
574 void CopyFrom(const ::google::protobuf::Message& from) final;
575 void MergeFrom(const ::google::protobuf::Message& from) final;
576 void CopyFrom(const Syntax2Person_Nestiness_A& from);
577 void MergeFrom(const Syntax2Person_Nestiness_A& from);
578 void Clear() final;
579 bool IsInitialized() const final;
580
581 size_t ByteSizeLong() const final;
582 bool MergePartialFromCodedStream(
583 ::google::protobuf::io::CodedInputStream* input) final;
584 void SerializeWithCachedSizes(
585 ::google::protobuf::io::CodedOutputStream* output) const final;
586 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
587 bool deterministic, ::google::protobuf::uint8* target) const final;
588 int GetCachedSize() const final { return _cached_size_.Get(); }
589
590 private:
591 void SharedCtor();
592 void SharedDtor();
593 void SetCachedSize(int size) const final;
594 void InternalSwap(Syntax2Person_Nestiness_A* other);
595 private:
596 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
597 return NULL;
598 }
599 inline void* MaybeArenaPtr() const {
600 return NULL;
601 }
602 public:
603
604 ::google::protobuf::Metadata GetMetadata() const final;
605
606 // nested types ----------------------------------------------------
607
608 typedef Syntax2Person_Nestiness_A_SubB SubB;
609
610 // accessors -------------------------------------------------------
611
612 // optional .Syntax2Person.Nestiness.A.SubB b = 100;
613 bool has_b() const;
614 void clear_b();
615 static const int kBFieldNumber = 100;
616 private:
617 const ::Syntax2Person_Nestiness_A_SubB& _internal_b() const;
618 public:
619 const ::Syntax2Person_Nestiness_A_SubB& b() const;
620 ::Syntax2Person_Nestiness_A_SubB* release_b();
621 ::Syntax2Person_Nestiness_A_SubB* mutable_b();
622 void set_allocated_b(::Syntax2Person_Nestiness_A_SubB* b);
623
624 // @@protoc_insertion_point(class_scope:Syntax2Person.Nestiness.A)
625 private:
626 void set_has_b();
627 void clear_has_b();
628
629 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
630 ::google::protobuf::internal::HasBits<1> _has_bits_;
631 mutable ::google::protobuf::internal::CachedSize _cached_size_;
632 ::Syntax2Person_Nestiness_A_SubB* b_;
633 friend struct ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::TableStruct;
634};
635// -------------------------------------------------------------------
636
637class Syntax2Person_Nestiness : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Syntax2Person.Nestiness) */ {
638 public:
639 Syntax2Person_Nestiness();
640 virtual ~Syntax2Person_Nestiness();
641
642 Syntax2Person_Nestiness(const Syntax2Person_Nestiness& from);
643
644 inline Syntax2Person_Nestiness& operator=(const Syntax2Person_Nestiness& from) {
645 CopyFrom(from);
646 return *this;
647 }
648 #if LANG_CXX11
649 Syntax2Person_Nestiness(Syntax2Person_Nestiness&& from) noexcept
650 : Syntax2Person_Nestiness() {
651 *this = ::std::move(from);
652 }
653
654 inline Syntax2Person_Nestiness& operator=(Syntax2Person_Nestiness&& from) noexcept {
655 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
656 if (this != &from) InternalSwap(&from);
657 } else {
658 CopyFrom(from);
659 }
660 return *this;
661 }
662 #endif
663 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
664 return _internal_metadata_.unknown_fields();
665 }
666 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
667 return _internal_metadata_.mutable_unknown_fields();
668 }
669
670 static const ::google::protobuf::Descriptor* descriptor();
671 static const Syntax2Person_Nestiness& default_instance();
672
673 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
674 static inline const Syntax2Person_Nestiness* internal_default_instance() {
675 return reinterpret_cast<const Syntax2Person_Nestiness*>(
676 &_Syntax2Person_Nestiness_default_instance_);
677 }
678 static constexpr int kIndexInFileMessages =
679 4;
680
681 void Swap(Syntax2Person_Nestiness* other);
682 friend void swap(Syntax2Person_Nestiness& a, Syntax2Person_Nestiness& b) {
683 a.Swap(&b);
684 }
685
686 // implements Message ----------------------------------------------
687
688 inline Syntax2Person_Nestiness* New() const final {
689 return CreateMaybeMessage<Syntax2Person_Nestiness>(NULL);
690 }
691
692 Syntax2Person_Nestiness* New(::google::protobuf::Arena* arena) const final {
693 return CreateMaybeMessage<Syntax2Person_Nestiness>(arena);
694 }
695 void CopyFrom(const ::google::protobuf::Message& from) final;
696 void MergeFrom(const ::google::protobuf::Message& from) final;
697 void CopyFrom(const Syntax2Person_Nestiness& from);
698 void MergeFrom(const Syntax2Person_Nestiness& from);
699 void Clear() final;
700 bool IsInitialized() const final;
701
702 size_t ByteSizeLong() const final;
703 bool MergePartialFromCodedStream(
704 ::google::protobuf::io::CodedInputStream* input) final;
705 void SerializeWithCachedSizes(
706 ::google::protobuf::io::CodedOutputStream* output) const final;
707 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
708 bool deterministic, ::google::protobuf::uint8* target) const final;
709 int GetCachedSize() const final { return _cached_size_.Get(); }
710
711 private:
712 void SharedCtor();
713 void SharedDtor();
714 void SetCachedSize(int size) const final;
715 void InternalSwap(Syntax2Person_Nestiness* other);
716 private:
717 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
718 return NULL;
719 }
720 inline void* MaybeArenaPtr() const {
721 return NULL;
722 }
723 public:
724
725 ::google::protobuf::Metadata GetMetadata() const final;
726
727 // nested types ----------------------------------------------------
728
729 typedef Syntax2Person_Nestiness_A A;
730
731 // accessors -------------------------------------------------------
732
733 // optional group A = 1 { ... };
734 bool has_a() const;
735 void clear_a();
736 static const int kAFieldNumber = 1;
737 private:
738 const ::Syntax2Person_Nestiness_A& _internal_a() const;
739 public:
740 const ::Syntax2Person_Nestiness_A& a() const;
741 ::Syntax2Person_Nestiness_A* release_a();
742 ::Syntax2Person_Nestiness_A* mutable_a();
743 void set_allocated_a(::Syntax2Person_Nestiness_A* a);
744
745 // @@protoc_insertion_point(class_scope:Syntax2Person.Nestiness)
746 private:
747 void set_has_a();
748 void clear_has_a();
749
750 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
751 ::google::protobuf::internal::HasBits<1> _has_bits_;
752 mutable ::google::protobuf::internal::CachedSize _cached_size_;
753 ::Syntax2Person_Nestiness_A* a_;
754 friend struct ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::TableStruct;
755};
756// -------------------------------------------------------------------
757
758class Syntax2Person : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Syntax2Person) */ {
759 public:
760 Syntax2Person();
761 virtual ~Syntax2Person();
762
763 Syntax2Person(const Syntax2Person& from);
764
765 inline Syntax2Person& operator=(const Syntax2Person& from) {
766 CopyFrom(from);
767 return *this;
768 }
769 #if LANG_CXX11
770 Syntax2Person(Syntax2Person&& from) noexcept
771 : Syntax2Person() {
772 *this = ::std::move(from);
773 }
774
775 inline Syntax2Person& operator=(Syntax2Person&& from) noexcept {
776 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
777 if (this != &from) InternalSwap(&from);
778 } else {
779 CopyFrom(from);
780 }
781 return *this;
782 }
783 #endif
784 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
785 return _internal_metadata_.unknown_fields();
786 }
787 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
788 return _internal_metadata_.mutable_unknown_fields();
789 }
790
791 static const ::google::protobuf::Descriptor* descriptor();
792 static const Syntax2Person& default_instance();
793
794 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
795 static inline const Syntax2Person* internal_default_instance() {
796 return reinterpret_cast<const Syntax2Person*>(
797 &_Syntax2Person_default_instance_);
798 }
799 static constexpr int kIndexInFileMessages =
800 5;
801
802 void Swap(Syntax2Person* other);
803 friend void swap(Syntax2Person& a, Syntax2Person& b) {
804 a.Swap(&b);
805 }
806
807 // implements Message ----------------------------------------------
808
809 inline Syntax2Person* New() const final {
810 return CreateMaybeMessage<Syntax2Person>(NULL);
811 }
812
813 Syntax2Person* New(::google::protobuf::Arena* arena) const final {
814 return CreateMaybeMessage<Syntax2Person>(arena);
815 }
816 void CopyFrom(const ::google::protobuf::Message& from) final;
817 void MergeFrom(const ::google::protobuf::Message& from) final;
818 void CopyFrom(const Syntax2Person& from);
819 void MergeFrom(const Syntax2Person& from);
820 void Clear() final;
821 bool IsInitialized() const final;
822
823 size_t ByteSizeLong() const final;
824 bool MergePartialFromCodedStream(
825 ::google::protobuf::io::CodedInputStream* input) final;
826 void SerializeWithCachedSizes(
827 ::google::protobuf::io::CodedOutputStream* output) const final;
828 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
829 bool deterministic, ::google::protobuf::uint8* target) const final;
830 int GetCachedSize() const final { return _cached_size_.Get(); }
831
832 private:
833 void SharedCtor();
834 void SharedDtor();
835 void SetCachedSize(int size) const final;
836 void InternalSwap(Syntax2Person* other);
837 private:
838 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
839 return NULL;
840 }
841 inline void* MaybeArenaPtr() const {
842 return NULL;
843 }
844 public:
845
846 ::google::protobuf::Metadata GetMetadata() const final;
847
848 // nested types ----------------------------------------------------
849
850 typedef Syntax2Person_MeasureUnits MeasureUnits;
851 typedef Syntax2Person_Nestiness Nestiness;
852
853 typedef Syntax2Person_Gender Gender;
854 static const Gender female =
855 Syntax2Person_Gender_female;
856 static const Gender male =
857 Syntax2Person_Gender_male;
858 static inline bool Gender_IsValid(int value) {
859 return Syntax2Person_Gender_IsValid(value);
860 }
861 static const Gender Gender_MIN =
862 Syntax2Person_Gender_Gender_MIN;
863 static const Gender Gender_MAX =
864 Syntax2Person_Gender_Gender_MAX;
865 static const int Gender_ARRAYSIZE =
866 Syntax2Person_Gender_Gender_ARRAYSIZE;
867 static inline const ::google::protobuf::EnumDescriptor*
868 Gender_descriptor() {
869 return Syntax2Person_Gender_descriptor();
870 }
871 static inline const ::std::string& Gender_Name(Gender value) {
872 return Syntax2Person_Gender_Name(value);
873 }
874 static inline bool Gender_Parse(const ::std::string& name,
875 Gender* value) {
876 return Syntax2Person_Gender_Parse(name, value);
877 }
878
879 typedef Syntax2Person_ZodiacSign ZodiacSign;
880 static const ZodiacSign aries =
881 Syntax2Person_ZodiacSign_aries;
882 static const ZodiacSign taurus =
883 Syntax2Person_ZodiacSign_taurus;
884 static const ZodiacSign gemini =
885 Syntax2Person_ZodiacSign_gemini;
886 static const ZodiacSign cancer =
887 Syntax2Person_ZodiacSign_cancer;
888 static const ZodiacSign leo =
889 Syntax2Person_ZodiacSign_leo;
890 static const ZodiacSign virgo =
891 Syntax2Person_ZodiacSign_virgo;
892 static const ZodiacSign libra =
893 Syntax2Person_ZodiacSign_libra;
894 static const ZodiacSign scorpius =
895 Syntax2Person_ZodiacSign_scorpius;
896 static const ZodiacSign sagittarius =
897 Syntax2Person_ZodiacSign_sagittarius;
898 static const ZodiacSign capricorn =
899 Syntax2Person_ZodiacSign_capricorn;
900 static const ZodiacSign aquarius =
901 Syntax2Person_ZodiacSign_aquarius;
902 static const ZodiacSign pisces =
903 Syntax2Person_ZodiacSign_pisces;
904 static inline bool ZodiacSign_IsValid(int value) {
905 return Syntax2Person_ZodiacSign_IsValid(value);
906 }
907 static const ZodiacSign ZodiacSign_MIN =
908 Syntax2Person_ZodiacSign_ZodiacSign_MIN;
909 static const ZodiacSign ZodiacSign_MAX =
910 Syntax2Person_ZodiacSign_ZodiacSign_MAX;
911 static const int ZodiacSign_ARRAYSIZE =
912 Syntax2Person_ZodiacSign_ZodiacSign_ARRAYSIZE;
913 static inline const ::google::protobuf::EnumDescriptor*
914 ZodiacSign_descriptor() {
915 return Syntax2Person_ZodiacSign_descriptor();
916 }
917 static inline const ::std::string& ZodiacSign_Name(ZodiacSign value) {
918 return Syntax2Person_ZodiacSign_Name(value);
919 }
920 static inline bool ZodiacSign_Parse(const ::std::string& name,
921 ZodiacSign* value) {
922 return Syntax2Person_ZodiacSign_Parse(name, value);
923 }
924
925 // accessors -------------------------------------------------------
926
927 // repeated string songs = 12;
928 int songs_size() const;
929 void clear_songs();
930 static const int kSongsFieldNumber = 12;
931 const ::std::string& songs(int index) const;
932 ::std::string* mutable_songs(int index);
933 void set_songs(int index, const ::std::string& value);
934 #if LANG_CXX11
935 void set_songs(int index, ::std::string&& value);
936 #endif
937 void set_songs(int index, const char* value);
938 void set_songs(int index, const char* value, size_t size);
939 ::std::string* add_songs();
940 void add_songs(const ::std::string& value);
941 #if LANG_CXX11
942 void add_songs(::std::string&& value);
943 #endif
944 void add_songs(const char* value);
945 void add_songs(const char* value, size_t size);
946 const ::google::protobuf::RepeatedPtrField< ::std::string>& songs() const;
947 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_songs();
948
949 // repeated uint32 color = 13;
950 int color_size() const;
951 void clear_color();
952 static const int kColorFieldNumber = 13;
953 ::google::protobuf::uint32 color(int index) const;
954 void set_color(int index, ::google::protobuf::uint32 value);
955 void add_color(::google::protobuf::uint32 value);
956 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
957 color() const;
958 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
959 mutable_color();
960
961 // repeated float location = 15 [packed = true];
962 int location_size() const;
963 void clear_location();
964 static const int kLocationFieldNumber = 15;
965 float location(int index) const;
966 void set_location(int index, float value);
967 void add_location(float value);
968 const ::google::protobuf::RepeatedField< float >&
969 location() const;
970 ::google::protobuf::RepeatedField< float >*
971 mutable_location();
972
973 // required string uuid = 1;
974 bool has_uuid() const;
975 void clear_uuid();
976 static const int kUuidFieldNumber = 1;
977 const ::std::string& uuid() const;
978 void set_uuid(const ::std::string& value);
979 #if LANG_CXX11
980 void set_uuid(::std::string&& value);
981 #endif
982 void set_uuid(const char* value);
983 void set_uuid(const char* value, size_t size);
984 ::std::string* mutable_uuid();
985 ::std::string* release_uuid();
986 void set_allocated_uuid(::std::string* uuid);
987
988 // required string name = 2;
989 bool has_name() const;
990 void clear_name();
991 static const int kNameFieldNumber = 2;
992 const ::std::string& name() const;
993 void set_name(const ::std::string& value);
994 #if LANG_CXX11
995 void set_name(::std::string&& value);
996 #endif
997 void set_name(const char* value);
998 void set_name(const char* value, size_t size);
999 ::std::string* mutable_name();
1000 ::std::string* release_name();
1001 void set_allocated_name(::std::string* name);
1002
1003 // required string surname = 3;
1004 bool has_surname() const;
1005 void clear_surname();
1006 static const int kSurnameFieldNumber = 3;
1007 const ::std::string& surname() const;
1008 void set_surname(const ::std::string& value);
1009 #if LANG_CXX11
1010 void set_surname(::std::string&& value);
1011 #endif
1012 void set_surname(const char* value);
1013 void set_surname(const char* value, size_t size);
1014 ::std::string* mutable_surname();
1015 ::std::string* release_surname();
1016 void set_allocated_surname(::std::string* surname);
1017
1018 // optional bytes photo = 6;
1019 bool has_photo() const;
1020 void clear_photo();
1021 static const int kPhotoFieldNumber = 6;
1022 const ::std::string& photo() const;
1023 void set_photo(const ::std::string& value);
1024 #if LANG_CXX11
1025 void set_photo(::std::string&& value);
1026 #endif
1027 void set_photo(const char* value);
1028 void set_photo(const void* value, size_t size);
1029 ::std::string* mutable_photo();
1030 ::std::string* release_photo();
1031 void set_allocated_photo(::std::string* photo);
1032
1033 // optional string phoneNumber = 7;
1034 bool has_phonenumber() const;
1035 void clear_phonenumber();
1036 static const int kPhoneNumberFieldNumber = 7;
1037 const ::std::string& phonenumber() const;
1038 void set_phonenumber(const ::std::string& value);
1039 #if LANG_CXX11
1040 void set_phonenumber(::std::string&& value);
1041 #endif
1042 void set_phonenumber(const char* value);
1043 void set_phonenumber(const char* value, size_t size);
1044 ::std::string* mutable_phonenumber();
1045 ::std::string* release_phonenumber();
1046 void set_allocated_phonenumber(::std::string* phonenumber);
1047
1048 // optional string hometown = 14 [default = "Moscow"];
1049 bool has_hometown() const;
1050 void clear_hometown();
1051 static const int kHometownFieldNumber = 14;
1052 const ::std::string& hometown() const;
1053 void set_hometown(const ::std::string& value);
1054 #if LANG_CXX11
1055 void set_hometown(::std::string&& value);
1056 #endif
1057 void set_hometown(const char* value);
1058 void set_hometown(const char* value, size_t size);
1059 ::std::string* mutable_hometown();
1060 ::std::string* release_hometown();
1061 void set_allocated_hometown(::std::string* hometown);
1062
1063 // optional string newFieldStr = 23 [default = "abc"];
1064 bool has_newfieldstr() const;
1065 void clear_newfieldstr();
1066 static const int kNewFieldStrFieldNumber = 23;
1067 const ::std::string& newfieldstr() const;
1068 void set_newfieldstr(const ::std::string& value);
1069 #if LANG_CXX11
1070 void set_newfieldstr(::std::string&& value);
1071 #endif
1072 void set_newfieldstr(const char* value);
1073 void set_newfieldstr(const char* value, size_t size);
1074 ::std::string* mutable_newfieldstr();
1075 ::std::string* release_newfieldstr();
1076 void set_allocated_newfieldstr(::std::string* newfieldstr);
1077
1078 // optional group MeasureUnits = 21 { ... };
1079 bool has_measureunits() const;
1080 void clear_measureunits();
1081 static const int kMeasureunitsFieldNumber = 21;
1082 private:
1083 const ::Syntax2Person_MeasureUnits& _internal_measureunits() const;
1084 public:
1085 const ::Syntax2Person_MeasureUnits& measureunits() const;
1086 ::Syntax2Person_MeasureUnits* release_measureunits();
1087 ::Syntax2Person_MeasureUnits* mutable_measureunits();
1088 void set_allocated_measureunits(::Syntax2Person_MeasureUnits* measureunits);
1089
1090 // optional group Nestiness = 22 { ... };
1091 bool has_nestiness() const;
1092 void clear_nestiness();
1093 static const int kNestinessFieldNumber = 22;
1094 private:
1095 const ::Syntax2Person_Nestiness& _internal_nestiness() const;
1096 public:
1097 const ::Syntax2Person_Nestiness& nestiness() const;
1098 ::Syntax2Person_Nestiness* release_nestiness();
1099 ::Syntax2Person_Nestiness* mutable_nestiness();
1100 void set_allocated_nestiness(::Syntax2Person_Nestiness* nestiness);
1101
1102 // required .Syntax2Person.Gender gender = 4;
1103 bool has_gender() const;
1104 void clear_gender();
1105 static const int kGenderFieldNumber = 4;
1106 ::Syntax2Person_Gender gender() const;
1107 void set_gender(::Syntax2Person_Gender value);
1108
1109 // required uint32 birthDate = 5;
1110 bool has_birthdate() const;
1111 void clear_birthdate();
1112 static const int kBirthDateFieldNumber = 5;
1113 ::google::protobuf::uint32 birthdate() const;
1114 void set_birthdate(::google::protobuf::uint32 value);
1115
1116 // optional bool isOnline = 8;
1117 bool has_isonline() const;
1118 void clear_isonline();
1119 static const int kIsOnlineFieldNumber = 8;
1120 bool isonline() const;
1121 void set_isonline(bool value);
1122
1123 // optional fixed32 visitTime = 9;
1124 bool has_visittime() const;
1125 void clear_visittime();
1126 static const int kVisitTimeFieldNumber = 9;
1127 ::google::protobuf::uint32 visittime() const;
1128 void set_visittime(::google::protobuf::uint32 value);
1129
1130 // optional uint32 age = 10;
1131 bool has_age() const;
1132 void clear_age();
1133 static const int kAgeFieldNumber = 10;
1134 ::google::protobuf::uint32 age() const;
1135 void set_age(::google::protobuf::uint32 value);
1136
1137 // optional .Syntax2Person.ZodiacSign zodiacSign = 11;
1138 bool has_zodiacsign() const;
1139 void clear_zodiacsign();
1140 static const int kZodiacSignFieldNumber = 11;
1141 ::Syntax2Person_ZodiacSign zodiacsign() const;
1142 void set_zodiacsign(::Syntax2Person_ZodiacSign value);
1143
1144 // optional double pi = 16;
1145 bool has_pi() const;
1146 void clear_pi();
1147 static const int kPiFieldNumber = 16;
1148 double pi() const;
1149 void set_pi(double value);
1150
1151 // optional double lotteryWin = 17;
1152 bool has_lotterywin() const;
1153 void clear_lotterywin();
1154 static const int kLotteryWinFieldNumber = 17;
1155 double lotterywin() const;
1156 void set_lotterywin(double value);
1157
1158 // optional float someRatio = 18;
1159 bool has_someratio() const;
1160 void clear_someratio();
1161 static const int kSomeRatioFieldNumber = 18;
1162 float someratio() const;
1163 void set_someratio(float value);
1164
1165 // optional float temperature = 19;
1166 bool has_temperature() const;
1167 void clear_temperature();
1168 static const int kTemperatureFieldNumber = 19;
1169 float temperature() const;
1170 void set_temperature(float value);
1171
1172 // optional sint64 randomBigNumber = 20;
1173 bool has_randombignumber() const;
1174 void clear_randombignumber();
1175 static const int kRandomBigNumberFieldNumber = 20;
1176 ::google::protobuf::int64 randombignumber() const;
1177 void set_randombignumber(::google::protobuf::int64 value);
1178
1179 // optional int32 newFieldInt = 24 [default = -11];
1180 bool has_newfieldint() const;
1181 void clear_newfieldint();
1182 static const int kNewFieldIntFieldNumber = 24;
1183 ::google::protobuf::int32 newfieldint() const;
1184 void set_newfieldint(::google::protobuf::int32 value);
1185
1186 // optional bool newBool = 25 [default = true];
1187 bool has_newbool() const;
1188 void clear_newbool();
1189 static const int kNewBoolFieldNumber = 25;
1190 bool newbool() const;
1191 void set_newbool(bool value);
1192
1193 // @@protoc_insertion_point(class_scope:Syntax2Person)
1194 private:
1195 void set_has_uuid();
1196 void clear_has_uuid();
1197 void set_has_name();
1198 void clear_has_name();
1199 void set_has_surname();
1200 void clear_has_surname();
1201 void set_has_gender();
1202 void clear_has_gender();
1203 void set_has_birthdate();
1204 void clear_has_birthdate();
1205 void set_has_photo();
1206 void clear_has_photo();
1207 void set_has_phonenumber();
1208 void clear_has_phonenumber();
1209 void set_has_isonline();
1210 void clear_has_isonline();
1211 void set_has_visittime();
1212 void clear_has_visittime();
1213 void set_has_age();
1214 void clear_has_age();
1215 void set_has_zodiacsign();
1216 void clear_has_zodiacsign();
1217 void set_has_hometown();
1218 void clear_has_hometown();
1219 void set_has_pi();
1220 void clear_has_pi();
1221 void set_has_lotterywin();
1222 void clear_has_lotterywin();
1223 void set_has_someratio();
1224 void clear_has_someratio();
1225 void set_has_temperature();
1226 void clear_has_temperature();
1227 void set_has_randombignumber();
1228 void clear_has_randombignumber();
1229 void set_has_measureunits();
1230 void clear_has_measureunits();
1231 void set_has_nestiness();
1232 void clear_has_nestiness();
1233 void set_has_newfieldstr();
1234 void clear_has_newfieldstr();
1235 void set_has_newfieldint();
1236 void clear_has_newfieldint();
1237 void set_has_newbool();
1238 void clear_has_newbool();
1239
1240 // helper for ByteSizeLong()
1241 size_t RequiredFieldsByteSizeFallback() const;
1242
1243 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1244 ::google::protobuf::internal::HasBits<1> _has_bits_;
1245 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1246 ::google::protobuf::RepeatedPtrField< ::std::string> songs_;
1247 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > color_;
1248 ::google::protobuf::RepeatedField< float > location_;
1249 mutable int _location_cached_byte_size_;
1250 ::google::protobuf::internal::ArenaStringPtr uuid_;
1251 ::google::protobuf::internal::ArenaStringPtr name_;
1252 ::google::protobuf::internal::ArenaStringPtr surname_;
1253 ::google::protobuf::internal::ArenaStringPtr photo_;
1254 ::google::protobuf::internal::ArenaStringPtr phonenumber_;
1255 public:
1256 static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_hometown_;
1257 private:
1258 ::google::protobuf::internal::ArenaStringPtr hometown_;
1259 public:
1260 static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _i_give_permission_to_break_this_code_default_newfieldstr_;
1261 private:
1262 ::google::protobuf::internal::ArenaStringPtr newfieldstr_;
1263 ::Syntax2Person_MeasureUnits* measureunits_;
1264 ::Syntax2Person_Nestiness* nestiness_;
1265 int gender_;
1266 ::google::protobuf::uint32 birthdate_;
1267 bool isonline_;
1268 ::google::protobuf::uint32 visittime_;
1269 ::google::protobuf::uint32 age_;
1270 int zodiacsign_;
1271 double pi_;
1272 double lotterywin_;
1273 float someratio_;
1274 float temperature_;
1275 ::google::protobuf::int64 randombignumber_;
1276 ::google::protobuf::int32 newfieldint_;
1277 bool newbool_;
1278 friend struct ::protobuf_00825_5fprotobuf_5fformat_5fsyntax2_2eproto::TableStruct;
1279};
1280// ===================================================================
1281
1282
1283// ===================================================================
1284
1285#ifdef __GNUC__
1286 #pragma GCC diagnostic push
1287 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1288#endif // __GNUC__
1289// Syntax2Person_MeasureUnits
1290
1291// repeated float coef = 1;
1292inline int Syntax2Person_MeasureUnits::coef_size() const {
1293 return coef_.size();
1294}
1295inline void Syntax2Person_MeasureUnits::clear_coef() {
1296 coef_.Clear();
1297}
1298inline float Syntax2Person_MeasureUnits::coef(int index) const {
1299 // @@protoc_insertion_point(field_get:Syntax2Person.MeasureUnits.coef)
1300 return coef_.Get(index);
1301}
1302inline void Syntax2Person_MeasureUnits::set_coef(int index, float value) {
1303 coef_.Set(index, value);
1304 // @@protoc_insertion_point(field_set:Syntax2Person.MeasureUnits.coef)
1305}
1306inline void Syntax2Person_MeasureUnits::add_coef(float value) {
1307 coef_.Add(value);
1308 // @@protoc_insertion_point(field_add:Syntax2Person.MeasureUnits.coef)
1309}
1310inline const ::google::protobuf::RepeatedField< float >&
1311Syntax2Person_MeasureUnits::coef() const {
1312 // @@protoc_insertion_point(field_list:Syntax2Person.MeasureUnits.coef)
1313 return coef_;
1314}
1315inline ::google::protobuf::RepeatedField< float >*
1316Syntax2Person_MeasureUnits::mutable_coef() {
1317 // @@protoc_insertion_point(field_mutable_list:Syntax2Person.MeasureUnits.coef)
1318 return &coef_;
1319}
1320
1321// repeated string unit = 2;
1322inline int Syntax2Person_MeasureUnits::unit_size() const {
1323 return unit_.size();
1324}
1325inline void Syntax2Person_MeasureUnits::clear_unit() {
1326 unit_.Clear();
1327}
1328inline const ::std::string& Syntax2Person_MeasureUnits::unit(int index) const {
1329 // @@protoc_insertion_point(field_get:Syntax2Person.MeasureUnits.unit)
1330 return unit_.Get(index);
1331}
1332inline ::std::string* Syntax2Person_MeasureUnits::mutable_unit(int index) {
1333 // @@protoc_insertion_point(field_mutable:Syntax2Person.MeasureUnits.unit)
1334 return unit_.Mutable(index);
1335}
1336inline void Syntax2Person_MeasureUnits::set_unit(int index, const ::std::string& value) {
1337 // @@protoc_insertion_point(field_set:Syntax2Person.MeasureUnits.unit)
1338 unit_.Mutable(index)->assign(value);
1339}
1340#if LANG_CXX11
1341inline void Syntax2Person_MeasureUnits::set_unit(int index, ::std::string&& value) {
1342 // @@protoc_insertion_point(field_set:Syntax2Person.MeasureUnits.unit)
1343 unit_.Mutable(index)->assign(std::move(value));
1344}
1345#endif
1346inline void Syntax2Person_MeasureUnits::set_unit(int index, const char* value) {
1347 GOOGLE_DCHECK(value != NULL);
1348 unit_.Mutable(index)->assign(value);
1349 // @@protoc_insertion_point(field_set_char:Syntax2Person.MeasureUnits.unit)
1350}
1351inline void Syntax2Person_MeasureUnits::set_unit(int index, const char* value, size_t size) {
1352 unit_.Mutable(index)->assign(
1353 reinterpret_cast<const char*>(value), size);
1354 // @@protoc_insertion_point(field_set_pointer:Syntax2Person.MeasureUnits.unit)
1355}
1356inline ::std::string* Syntax2Person_MeasureUnits::add_unit() {
1357 // @@protoc_insertion_point(field_add_mutable:Syntax2Person.MeasureUnits.unit)
1358 return unit_.Add();
1359}
1360inline void Syntax2Person_MeasureUnits::add_unit(const ::std::string& value) {
1361 unit_.Add()->assign(value);
1362 // @@protoc_insertion_point(field_add:Syntax2Person.MeasureUnits.unit)
1363}
1364#if LANG_CXX11
1365inline void Syntax2Person_MeasureUnits::add_unit(::std::string&& value) {
1366 unit_.Add(std::move(value));
1367 // @@protoc_insertion_point(field_add:Syntax2Person.MeasureUnits.unit)
1368}
1369#endif
1370inline void Syntax2Person_MeasureUnits::add_unit(const char* value) {
1371 GOOGLE_DCHECK(value != NULL);
1372 unit_.Add()->assign(value);
1373 // @@protoc_insertion_point(field_add_char:Syntax2Person.MeasureUnits.unit)
1374}
1375inline void Syntax2Person_MeasureUnits::add_unit(const char* value, size_t size) {
1376 unit_.Add()->assign(reinterpret_cast<const char*>(value), size);
1377 // @@protoc_insertion_point(field_add_pointer:Syntax2Person.MeasureUnits.unit)
1378}
1379inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1380Syntax2Person_MeasureUnits::unit() const {
1381 // @@protoc_insertion_point(field_list:Syntax2Person.MeasureUnits.unit)
1382 return unit_;
1383}
1384inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1385Syntax2Person_MeasureUnits::mutable_unit() {
1386 // @@protoc_insertion_point(field_mutable_list:Syntax2Person.MeasureUnits.unit)
1387 return &unit_;
1388}
1389
1390// -------------------------------------------------------------------
1391
1392// Syntax2Person_Nestiness_A_SubB_C
1393
1394// optional uint32 d = 1;
1395inline bool Syntax2Person_Nestiness_A_SubB_C::has_d() const {
1396 return (_has_bits_[0] & 0x00000001u) != 0;
1397}
1398inline void Syntax2Person_Nestiness_A_SubB_C::set_has_d() {
1399 _has_bits_[0] |= 0x00000001u;
1400}
1401inline void Syntax2Person_Nestiness_A_SubB_C::clear_has_d() {
1402 _has_bits_[0] &= ~0x00000001u;
1403}
1404inline void Syntax2Person_Nestiness_A_SubB_C::clear_d() {
1405 d_ = 0u;
1406 clear_has_d();
1407}
1408inline ::google::protobuf::uint32 Syntax2Person_Nestiness_A_SubB_C::d() const {
1409 // @@protoc_insertion_point(field_get:Syntax2Person.Nestiness.A.SubB.C.d)
1410 return d_;
1411}
1412inline void Syntax2Person_Nestiness_A_SubB_C::set_d(::google::protobuf::uint32 value) {
1413 set_has_d();
1414 d_ = value;
1415 // @@protoc_insertion_point(field_set:Syntax2Person.Nestiness.A.SubB.C.d)
1416}
1417
1418// repeated uint32 e = 2;
1419inline int Syntax2Person_Nestiness_A_SubB_C::e_size() const {
1420 return e_.size();
1421}
1422inline void Syntax2Person_Nestiness_A_SubB_C::clear_e() {
1423 e_.Clear();
1424}
1425inline ::google::protobuf::uint32 Syntax2Person_Nestiness_A_SubB_C::e(int index) const {
1426 // @@protoc_insertion_point(field_get:Syntax2Person.Nestiness.A.SubB.C.e)
1427 return e_.Get(index);
1428}
1429inline void Syntax2Person_Nestiness_A_SubB_C::set_e(int index, ::google::protobuf::uint32 value) {
1430 e_.Set(index, value);
1431 // @@protoc_insertion_point(field_set:Syntax2Person.Nestiness.A.SubB.C.e)
1432}
1433inline void Syntax2Person_Nestiness_A_SubB_C::add_e(::google::protobuf::uint32 value) {
1434 e_.Add(value);
1435 // @@protoc_insertion_point(field_add:Syntax2Person.Nestiness.A.SubB.C.e)
1436}
1437inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1438Syntax2Person_Nestiness_A_SubB_C::e() const {
1439 // @@protoc_insertion_point(field_list:Syntax2Person.Nestiness.A.SubB.C.e)
1440 return e_;
1441}
1442inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1443Syntax2Person_Nestiness_A_SubB_C::mutable_e() {
1444 // @@protoc_insertion_point(field_mutable_list:Syntax2Person.Nestiness.A.SubB.C.e)
1445 return &e_;
1446}
1447
1448// -------------------------------------------------------------------
1449
1450// Syntax2Person_Nestiness_A_SubB
1451
1452// optional group C = 1 { ... };
1453inline bool Syntax2Person_Nestiness_A_SubB::has_c() const {
1454 return (_has_bits_[0] & 0x00000001u) != 0;
1455}
1456inline void Syntax2Person_Nestiness_A_SubB::set_has_c() {
1457 _has_bits_[0] |= 0x00000001u;
1458}
1459inline void Syntax2Person_Nestiness_A_SubB::clear_has_c() {
1460 _has_bits_[0] &= ~0x00000001u;
1461}
1462inline void Syntax2Person_Nestiness_A_SubB::clear_c() {
1463 if (c_ != NULL) c_->Clear();
1464 clear_has_c();
1465}
1466inline const ::Syntax2Person_Nestiness_A_SubB_C& Syntax2Person_Nestiness_A_SubB::_internal_c() const {
1467 return *c_;
1468}
1469inline const ::Syntax2Person_Nestiness_A_SubB_C& Syntax2Person_Nestiness_A_SubB::c() const {
1470 const ::Syntax2Person_Nestiness_A_SubB_C* p = c_;
1471 // @@protoc_insertion_point(field_get:Syntax2Person.Nestiness.A.SubB.c)
1472 return p != NULL ? *p : *reinterpret_cast<const ::Syntax2Person_Nestiness_A_SubB_C*>(
1473 &::_Syntax2Person_Nestiness_A_SubB_C_default_instance_);
1474}
1475inline ::Syntax2Person_Nestiness_A_SubB_C* Syntax2Person_Nestiness_A_SubB::release_c() {
1476 // @@protoc_insertion_point(field_release:Syntax2Person.Nestiness.A.SubB.c)
1477 clear_has_c();
1478 ::Syntax2Person_Nestiness_A_SubB_C* temp = c_;
1479 c_ = NULL;
1480 return temp;
1481}
1482inline ::Syntax2Person_Nestiness_A_SubB_C* Syntax2Person_Nestiness_A_SubB::mutable_c() {
1483 set_has_c();
1484 if (c_ == NULL) {
1485 auto* p = CreateMaybeMessage<::Syntax2Person_Nestiness_A_SubB_C>(GetArenaNoVirtual());
1486 c_ = p;
1487 }
1488 // @@protoc_insertion_point(field_mutable:Syntax2Person.Nestiness.A.SubB.c)
1489 return c_;
1490}
1491inline void Syntax2Person_Nestiness_A_SubB::set_allocated_c(::Syntax2Person_Nestiness_A_SubB_C* c) {
1492 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1493 if (message_arena == NULL) {
1494 delete c_;
1495 }
1496 if (c) {
1497 ::google::protobuf::Arena* submessage_arena = NULL;
1498 if (message_arena != submessage_arena) {
1499 c = ::google::protobuf::internal::GetOwnedMessage(
1500 message_arena, c, submessage_arena);
1501 }
1502 set_has_c();
1503 } else {
1504 clear_has_c();
1505 }
1506 c_ = c;
1507 // @@protoc_insertion_point(field_set_allocated:Syntax2Person.Nestiness.A.SubB.c)
1508}
1509
1510// -------------------------------------------------------------------
1511
1512// Syntax2Person_Nestiness_A
1513
1514// optional .Syntax2Person.Nestiness.A.SubB b = 100;
1515inline bool Syntax2Person_Nestiness_A::has_b() const {
1516 return (_has_bits_[0] & 0x00000001u) != 0;
1517}
1518inline void Syntax2Person_Nestiness_A::set_has_b() {
1519 _has_bits_[0] |= 0x00000001u;
1520}
1521inline void Syntax2Person_Nestiness_A::clear_has_b() {
1522 _has_bits_[0] &= ~0x00000001u;
1523}
1524inline void Syntax2Person_Nestiness_A::clear_b() {
1525 if (b_ != NULL) b_->Clear();
1526 clear_has_b();
1527}
1528inline const ::Syntax2Person_Nestiness_A_SubB& Syntax2Person_Nestiness_A::_internal_b() const {
1529 return *b_;
1530}
1531inline const ::Syntax2Person_Nestiness_A_SubB& Syntax2Person_Nestiness_A::b() const {
1532 const ::Syntax2Person_Nestiness_A_SubB* p = b_;
1533 // @@protoc_insertion_point(field_get:Syntax2Person.Nestiness.A.b)
1534 return p != NULL ? *p : *reinterpret_cast<const ::Syntax2Person_Nestiness_A_SubB*>(
1535 &::_Syntax2Person_Nestiness_A_SubB_default_instance_);
1536}
1537inline ::Syntax2Person_Nestiness_A_SubB* Syntax2Person_Nestiness_A::release_b() {
1538 // @@protoc_insertion_point(field_release:Syntax2Person.Nestiness.A.b)
1539 clear_has_b();
1540 ::Syntax2Person_Nestiness_A_SubB* temp = b_;
1541 b_ = NULL;
1542 return temp;
1543}
1544inline ::Syntax2Person_Nestiness_A_SubB* Syntax2Person_Nestiness_A::mutable_b() {
1545 set_has_b();
1546 if (b_ == NULL) {
1547 auto* p = CreateMaybeMessage<::Syntax2Person_Nestiness_A_SubB>(GetArenaNoVirtual());
1548 b_ = p;
1549 }
1550 // @@protoc_insertion_point(field_mutable:Syntax2Person.Nestiness.A.b)
1551 return b_;
1552}
1553inline void Syntax2Person_Nestiness_A::set_allocated_b(::Syntax2Person_Nestiness_A_SubB* b) {
1554 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1555 if (message_arena == NULL) {
1556 delete b_;
1557 }
1558 if (b) {
1559 ::google::protobuf::Arena* submessage_arena = NULL;
1560 if (message_arena != submessage_arena) {
1561 b = ::google::protobuf::internal::GetOwnedMessage(
1562 message_arena, b, submessage_arena);
1563 }
1564 set_has_b();
1565 } else {
1566 clear_has_b();
1567 }
1568 b_ = b;
1569 // @@protoc_insertion_point(field_set_allocated:Syntax2Person.Nestiness.A.b)
1570}
1571
1572// -------------------------------------------------------------------
1573
1574// Syntax2Person_Nestiness
1575
1576// optional group A = 1 { ... };
1577inline bool Syntax2Person_Nestiness::has_a() const {
1578 return (_has_bits_[0] & 0x00000001u) != 0;
1579}
1580inline void Syntax2Person_Nestiness::set_has_a() {
1581 _has_bits_[0] |= 0x00000001u;
1582}
1583inline void Syntax2Person_Nestiness::clear_has_a() {
1584 _has_bits_[0] &= ~0x00000001u;
1585}
1586inline void Syntax2Person_Nestiness::clear_a() {
1587 if (a_ != NULL) a_->Clear();
1588 clear_has_a();
1589}
1590inline const ::Syntax2Person_Nestiness_A& Syntax2Person_Nestiness::_internal_a() const {
1591 return *a_;
1592}
1593inline const ::Syntax2Person_Nestiness_A& Syntax2Person_Nestiness::a() const {
1594 const ::Syntax2Person_Nestiness_A* p = a_;
1595 // @@protoc_insertion_point(field_get:Syntax2Person.Nestiness.a)
1596 return p != NULL ? *p : *reinterpret_cast<const ::Syntax2Person_Nestiness_A*>(
1597 &::_Syntax2Person_Nestiness_A_default_instance_);
1598}
1599inline ::Syntax2Person_Nestiness_A* Syntax2Person_Nestiness::release_a() {
1600 // @@protoc_insertion_point(field_release:Syntax2Person.Nestiness.a)
1601 clear_has_a();
1602 ::Syntax2Person_Nestiness_A* temp = a_;
1603 a_ = NULL;
1604 return temp;
1605}
1606inline ::Syntax2Person_Nestiness_A* Syntax2Person_Nestiness::mutable_a() {
1607 set_has_a();
1608 if (a_ == NULL) {
1609 auto* p = CreateMaybeMessage<::Syntax2Person_Nestiness_A>(GetArenaNoVirtual());
1610 a_ = p;
1611 }
1612 // @@protoc_insertion_point(field_mutable:Syntax2Person.Nestiness.a)
1613 return a_;
1614}
1615inline void Syntax2Person_Nestiness::set_allocated_a(::Syntax2Person_Nestiness_A* a) {
1616 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1617 if (message_arena == NULL) {
1618 delete a_;
1619 }
1620 if (a) {
1621 ::google::protobuf::Arena* submessage_arena = NULL;
1622 if (message_arena != submessage_arena) {
1623 a = ::google::protobuf::internal::GetOwnedMessage(
1624 message_arena, a, submessage_arena);
1625 }
1626 set_has_a();
1627 } else {
1628 clear_has_a();
1629 }
1630 a_ = a;
1631 // @@protoc_insertion_point(field_set_allocated:Syntax2Person.Nestiness.a)
1632}
1633
1634// -------------------------------------------------------------------
1635
1636// Syntax2Person
1637
1638// required string uuid = 1;
1639inline bool Syntax2Person::has_uuid() const {
1640 return (_has_bits_[0] & 0x00000001u) != 0;
1641}
1642inline void Syntax2Person::set_has_uuid() {
1643 _has_bits_[0] |= 0x00000001u;
1644}
1645inline void Syntax2Person::clear_has_uuid() {
1646 _has_bits_[0] &= ~0x00000001u;
1647}
1648inline void Syntax2Person::clear_uuid() {
1649 uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1650 clear_has_uuid();
1651}
1652inline const ::std::string& Syntax2Person::uuid() const {
1653 // @@protoc_insertion_point(field_get:Syntax2Person.uuid)
1654 return uuid_.GetNoArena();
1655}
1656inline void Syntax2Person::set_uuid(const ::std::string& value) {
1657 set_has_uuid();
1658 uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1659 // @@protoc_insertion_point(field_set:Syntax2Person.uuid)
1660}
1661#if LANG_CXX11
1662inline void Syntax2Person::set_uuid(::std::string&& value) {
1663 set_has_uuid();
1664 uuid_.SetNoArena(
1665 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1666 // @@protoc_insertion_point(field_set_rvalue:Syntax2Person.uuid)
1667}
1668#endif
1669inline void Syntax2Person::set_uuid(const char* value) {
1670 GOOGLE_DCHECK(value != NULL);
1671 set_has_uuid();
1672 uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1673 // @@protoc_insertion_point(field_set_char:Syntax2Person.uuid)
1674}
1675inline void Syntax2Person::set_uuid(const char* value, size_t size) {
1676 set_has_uuid();
1677 uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1678 ::std::string(reinterpret_cast<const char*>(value), size));
1679 // @@protoc_insertion_point(field_set_pointer:Syntax2Person.uuid)
1680}
1681inline ::std::string* Syntax2Person::mutable_uuid() {
1682 set_has_uuid();
1683 // @@protoc_insertion_point(field_mutable:Syntax2Person.uuid)
1684 return uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1685}
1686inline ::std::string* Syntax2Person::release_uuid() {
1687 // @@protoc_insertion_point(field_release:Syntax2Person.uuid)
1688 if (!has_uuid()) {
1689 return NULL;
1690 }
1691 clear_has_uuid();
1692 return uuid_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1693}
1694inline void Syntax2Person::set_allocated_uuid(::std::string* uuid) {
1695 if (uuid != NULL) {
1696 set_has_uuid();
1697 } else {
1698 clear_has_uuid();
1699 }
1700 uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), uuid);
1701 // @@protoc_insertion_point(field_set_allocated:Syntax2Person.uuid)
1702}
1703
1704// required string name = 2;
1705inline bool Syntax2Person::has_name() const {
1706 return (_has_bits_[0] & 0x00000002u) != 0;
1707}
1708inline void Syntax2Person::set_has_name() {
1709 _has_bits_[0] |= 0x00000002u;
1710}
1711inline void Syntax2Person::clear_has_name() {
1712 _has_bits_[0] &= ~0x00000002u;
1713}
1714inline void Syntax2Person::clear_name() {
1715 name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1716 clear_has_name();
1717}
1718inline const ::std::string& Syntax2Person::name() const {
1719 // @@protoc_insertion_point(field_get:Syntax2Person.name)
1720 return name_.GetNoArena();
1721}
1722inline void Syntax2Person::set_name(const ::std::string& value) {
1723 set_has_name();
1724 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1725 // @@protoc_insertion_point(field_set:Syntax2Person.name)
1726}
1727#if LANG_CXX11
1728inline void Syntax2Person::set_name(::std::string&& value) {
1729 set_has_name();
1730 name_.SetNoArena(
1731 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1732 // @@protoc_insertion_point(field_set_rvalue:Syntax2Person.name)
1733}
1734#endif
1735inline void Syntax2Person::set_name(const char* value) {
1736 GOOGLE_DCHECK(value != NULL);
1737 set_has_name();
1738 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1739 // @@protoc_insertion_point(field_set_char:Syntax2Person.name)
1740}
1741inline void Syntax2Person::set_name(const char* value, size_t size) {
1742 set_has_name();
1743 name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1744 ::std::string(reinterpret_cast<const char*>(value), size));
1745 // @@protoc_insertion_point(field_set_pointer:Syntax2Person.name)
1746}
1747inline ::std::string* Syntax2Person::mutable_name() {
1748 set_has_name();
1749 // @@protoc_insertion_point(field_mutable:Syntax2Person.name)
1750 return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1751}
1752inline ::std::string* Syntax2Person::release_name() {
1753 // @@protoc_insertion_point(field_release:Syntax2Person.name)
1754 if (!has_name()) {
1755 return NULL;
1756 }
1757 clear_has_name();
1758 return name_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1759}
1760inline void Syntax2Person::set_allocated_name(::std::string* name) {
1761 if (name != NULL) {
1762 set_has_name();
1763 } else {
1764 clear_has_name();
1765 }
1766 name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
1767 // @@protoc_insertion_point(field_set_allocated:Syntax2Person.name)
1768}
1769
1770// required string surname = 3;
1771inline bool Syntax2Person::has_surname() const {
1772 return (_has_bits_[0] & 0x00000004u) != 0;
1773}
1774inline void Syntax2Person::set_has_surname() {
1775 _has_bits_[0] |= 0x00000004u;
1776}
1777inline void Syntax2Person::clear_has_surname() {
1778 _has_bits_[0] &= ~0x00000004u;
1779}
1780inline void Syntax2Person::clear_surname() {
1781 surname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1782 clear_has_surname();
1783}
1784inline const ::std::string& Syntax2Person::surname() const {
1785 // @@protoc_insertion_point(field_get:Syntax2Person.surname)
1786 return surname_.GetNoArena();
1787}
1788inline void Syntax2Person::set_surname(const ::std::string& value) {
1789 set_has_surname();
1790 surname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1791 // @@protoc_insertion_point(field_set:Syntax2Person.surname)
1792}
1793#if LANG_CXX11
1794inline void Syntax2Person::set_surname(::std::string&& value) {
1795 set_has_surname();
1796 surname_.SetNoArena(
1797 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1798 // @@protoc_insertion_point(field_set_rvalue:Syntax2Person.surname)
1799}
1800#endif
1801inline void Syntax2Person::set_surname(const char* value) {
1802 GOOGLE_DCHECK(value != NULL);
1803 set_has_surname();
1804 surname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1805 // @@protoc_insertion_point(field_set_char:Syntax2Person.surname)
1806}
1807inline void Syntax2Person::set_surname(const char* value, size_t size) {
1808 set_has_surname();
1809 surname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1810 ::std::string(reinterpret_cast<const char*>(value), size));
1811 // @@protoc_insertion_point(field_set_pointer:Syntax2Person.surname)
1812}
1813inline ::std::string* Syntax2Person::mutable_surname() {
1814 set_has_surname();
1815 // @@protoc_insertion_point(field_mutable:Syntax2Person.surname)
1816 return surname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1817}
1818inline ::std::string* Syntax2Person::release_surname() {
1819 // @@protoc_insertion_point(field_release:Syntax2Person.surname)
1820 if (!has_surname()) {
1821 return NULL;
1822 }
1823 clear_has_surname();
1824 return surname_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1825}
1826inline void Syntax2Person::set_allocated_surname(::std::string* surname) {
1827 if (surname != NULL) {
1828 set_has_surname();
1829 } else {
1830 clear_has_surname();
1831 }
1832 surname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), surname);
1833 // @@protoc_insertion_point(field_set_allocated:Syntax2Person.surname)
1834}
1835
1836// required .Syntax2Person.Gender gender = 4;
1837inline bool Syntax2Person::has_gender() const {
1838 return (_has_bits_[0] & 0x00000200u) != 0;
1839}
1840inline void Syntax2Person::set_has_gender() {
1841 _has_bits_[0] |= 0x00000200u;
1842}
1843inline void Syntax2Person::clear_has_gender() {
1844 _has_bits_[0] &= ~0x00000200u;
1845}
1846inline void Syntax2Person::clear_gender() {
1847 gender_ = 0;
1848 clear_has_gender();
1849}
1850inline ::Syntax2Person_Gender Syntax2Person::gender() const {
1851 // @@protoc_insertion_point(field_get:Syntax2Person.gender)
1852 return static_cast< ::Syntax2Person_Gender >(gender_);
1853}
1854inline void Syntax2Person::set_gender(::Syntax2Person_Gender value) {
1855 assert(::Syntax2Person_Gender_IsValid(value));
1856 set_has_gender();
1857 gender_ = value;
1858 // @@protoc_insertion_point(field_set:Syntax2Person.gender)
1859}
1860
1861// required uint32 birthDate = 5;
1862inline bool Syntax2Person::has_birthdate() const {
1863 return (_has_bits_[0] & 0x00000400u) != 0;
1864}
1865inline void Syntax2Person::set_has_birthdate() {
1866 _has_bits_[0] |= 0x00000400u;
1867}
1868inline void Syntax2Person::clear_has_birthdate() {
1869 _has_bits_[0] &= ~0x00000400u;
1870}
1871inline void Syntax2Person::clear_birthdate() {
1872 birthdate_ = 0u;
1873 clear_has_birthdate();
1874}
1875inline ::google::protobuf::uint32 Syntax2Person::birthdate() const {
1876 // @@protoc_insertion_point(field_get:Syntax2Person.birthDate)
1877 return birthdate_;
1878}
1879inline void Syntax2Person::set_birthdate(::google::protobuf::uint32 value) {
1880 set_has_birthdate();
1881 birthdate_ = value;
1882 // @@protoc_insertion_point(field_set:Syntax2Person.birthDate)
1883}
1884
1885// optional bytes photo = 6;
1886inline bool Syntax2Person::has_photo() const {
1887 return (_has_bits_[0] & 0x00000008u) != 0;
1888}
1889inline void Syntax2Person::set_has_photo() {
1890 _has_bits_[0] |= 0x00000008u;
1891}
1892inline void Syntax2Person::clear_has_photo() {
1893 _has_bits_[0] &= ~0x00000008u;
1894}
1895inline void Syntax2Person::clear_photo() {
1896 photo_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1897 clear_has_photo();
1898}
1899inline const ::std::string& Syntax2Person::photo() const {
1900 // @@protoc_insertion_point(field_get:Syntax2Person.photo)
1901 return photo_.GetNoArena();
1902}
1903inline void Syntax2Person::set_photo(const ::std::string& value) {
1904 set_has_photo();
1905 photo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1906 // @@protoc_insertion_point(field_set:Syntax2Person.photo)
1907}
1908#if LANG_CXX11
1909inline void Syntax2Person::set_photo(::std::string&& value) {
1910 set_has_photo();
1911 photo_.SetNoArena(
1912 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1913 // @@protoc_insertion_point(field_set_rvalue:Syntax2Person.photo)
1914}
1915#endif
1916inline void Syntax2Person::set_photo(const char* value) {
1917 GOOGLE_DCHECK(value != NULL);
1918 set_has_photo();
1919 photo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1920 // @@protoc_insertion_point(field_set_char:Syntax2Person.photo)
1921}
1922inline void Syntax2Person::set_photo(const void* value, size_t size) {
1923 set_has_photo();
1924 photo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1925 ::std::string(reinterpret_cast<const char*>(value), size));
1926 // @@protoc_insertion_point(field_set_pointer:Syntax2Person.photo)
1927}
1928inline ::std::string* Syntax2Person::mutable_photo() {
1929 set_has_photo();
1930 // @@protoc_insertion_point(field_mutable:Syntax2Person.photo)
1931 return photo_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1932}
1933inline ::std::string* Syntax2Person::release_photo() {
1934 // @@protoc_insertion_point(field_release:Syntax2Person.photo)
1935 if (!has_photo()) {
1936 return NULL;
1937 }
1938 clear_has_photo();
1939 return photo_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1940}
1941inline void Syntax2Person::set_allocated_photo(::std::string* photo) {
1942 if (photo != NULL) {
1943 set_has_photo();
1944 } else {
1945 clear_has_photo();
1946 }
1947 photo_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), photo);
1948 // @@protoc_insertion_point(field_set_allocated:Syntax2Person.photo)
1949}
1950
1951// optional string phoneNumber = 7;
1952inline bool Syntax2Person::has_phonenumber() const {
1953 return (_has_bits_[0] & 0x00000010u) != 0;
1954}
1955inline void Syntax2Person::set_has_phonenumber() {
1956 _has_bits_[0] |= 0x00000010u;
1957}
1958inline void Syntax2Person::clear_has_phonenumber() {
1959 _has_bits_[0] &= ~0x00000010u;
1960}
1961inline void Syntax2Person::clear_phonenumber() {
1962 phonenumber_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1963 clear_has_phonenumber();
1964}
1965inline const ::std::string& Syntax2Person::phonenumber() const {
1966 // @@protoc_insertion_point(field_get:Syntax2Person.phoneNumber)
1967 return phonenumber_.GetNoArena();
1968}
1969inline void Syntax2Person::set_phonenumber(const ::std::string& value) {
1970 set_has_phonenumber();
1971 phonenumber_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1972 // @@protoc_insertion_point(field_set:Syntax2Person.phoneNumber)
1973}
1974#if LANG_CXX11
1975inline void Syntax2Person::set_phonenumber(::std::string&& value) {
1976 set_has_phonenumber();
1977 phonenumber_.SetNoArena(
1978 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1979 // @@protoc_insertion_point(field_set_rvalue:Syntax2Person.phoneNumber)
1980}
1981#endif
1982inline void Syntax2Person::set_phonenumber(const char* value) {
1983 GOOGLE_DCHECK(value != NULL);
1984 set_has_phonenumber();
1985 phonenumber_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1986 // @@protoc_insertion_point(field_set_char:Syntax2Person.phoneNumber)
1987}
1988inline void Syntax2Person::set_phonenumber(const char* value, size_t size) {
1989 set_has_phonenumber();
1990 phonenumber_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1991 ::std::string(reinterpret_cast<const char*>(value), size));
1992 // @@protoc_insertion_point(field_set_pointer:Syntax2Person.phoneNumber)
1993}
1994inline ::std::string* Syntax2Person::mutable_phonenumber() {
1995 set_has_phonenumber();
1996 // @@protoc_insertion_point(field_mutable:Syntax2Person.phoneNumber)
1997 return phonenumber_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1998}
1999inline ::std::string* Syntax2Person::release_phonenumber() {
2000 // @@protoc_insertion_point(field_release:Syntax2Person.phoneNumber)
2001 if (!has_phonenumber()) {
2002 return NULL;
2003 }
2004 clear_has_phonenumber();
2005 return phonenumber_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
2006}
2007inline void Syntax2Person::set_allocated_phonenumber(::std::string* phonenumber) {
2008 if (phonenumber != NULL) {
2009 set_has_phonenumber();
2010 } else {
2011 clear_has_phonenumber();
2012 }
2013 phonenumber_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), phonenumber);
2014 // @@protoc_insertion_point(field_set_allocated:Syntax2Person.phoneNumber)
2015}
2016
2017// optional bool isOnline = 8;
2018inline bool Syntax2Person::has_isonline() const {
2019 return (_has_bits_[0] & 0x00000800u) != 0;
2020}
2021inline void Syntax2Person::set_has_isonline() {
2022 _has_bits_[0] |= 0x00000800u;
2023}
2024inline void Syntax2Person::clear_has_isonline() {
2025 _has_bits_[0] &= ~0x00000800u;
2026}
2027inline void Syntax2Person::clear_isonline() {
2028 isonline_ = false;
2029 clear_has_isonline();
2030}
2031inline bool Syntax2Person::isonline() const {
2032 // @@protoc_insertion_point(field_get:Syntax2Person.isOnline)
2033 return isonline_;
2034}
2035inline void Syntax2Person::set_isonline(bool value) {
2036 set_has_isonline();
2037 isonline_ = value;
2038 // @@protoc_insertion_point(field_set:Syntax2Person.isOnline)
2039}
2040
2041// optional fixed32 visitTime = 9;
2042inline bool Syntax2Person::has_visittime() const {
2043 return (_has_bits_[0] & 0x00001000u) != 0;
2044}
2045inline void Syntax2Person::set_has_visittime() {
2046 _has_bits_[0] |= 0x00001000u;
2047}
2048inline void Syntax2Person::clear_has_visittime() {
2049 _has_bits_[0] &= ~0x00001000u;
2050}
2051inline void Syntax2Person::clear_visittime() {
2052 visittime_ = 0u;
2053 clear_has_visittime();
2054}
2055inline ::google::protobuf::uint32 Syntax2Person::visittime() const {
2056 // @@protoc_insertion_point(field_get:Syntax2Person.visitTime)
2057 return visittime_;
2058}
2059inline void Syntax2Person::set_visittime(::google::protobuf::uint32 value) {
2060 set_has_visittime();
2061 visittime_ = value;
2062 // @@protoc_insertion_point(field_set:Syntax2Person.visitTime)
2063}
2064
2065// optional uint32 age = 10;
2066inline bool Syntax2Person::has_age() const {
2067 return (_has_bits_[0] & 0x00002000u) != 0;
2068}
2069inline void Syntax2Person::set_has_age() {
2070 _has_bits_[0] |= 0x00002000u;
2071}
2072inline void Syntax2Person::clear_has_age() {
2073 _has_bits_[0] &= ~0x00002000u;
2074}
2075inline void Syntax2Person::clear_age() {
2076 age_ = 0u;
2077 clear_has_age();
2078}
2079inline ::google::protobuf::uint32 Syntax2Person::age() const {
2080 // @@protoc_insertion_point(field_get:Syntax2Person.age)
2081 return age_;
2082}
2083inline void Syntax2Person::set_age(::google::protobuf::uint32 value) {
2084 set_has_age();
2085 age_ = value;
2086 // @@protoc_insertion_point(field_set:Syntax2Person.age)
2087}
2088
2089// optional .Syntax2Person.ZodiacSign zodiacSign = 11;
2090inline bool Syntax2Person::has_zodiacsign() const {
2091 return (_has_bits_[0] & 0x00004000u) != 0;
2092}
2093inline void Syntax2Person::set_has_zodiacsign() {
2094 _has_bits_[0] |= 0x00004000u;
2095}
2096inline void Syntax2Person::clear_has_zodiacsign() {
2097 _has_bits_[0] &= ~0x00004000u;
2098}
2099inline void Syntax2Person::clear_zodiacsign() {
2100 zodiacsign_ = 0;
2101 clear_has_zodiacsign();
2102}
2103inline ::Syntax2Person_ZodiacSign Syntax2Person::zodiacsign() const {
2104 // @@protoc_insertion_point(field_get:Syntax2Person.zodiacSign)
2105 return static_cast< ::Syntax2Person_ZodiacSign >(zodiacsign_);
2106}
2107inline void Syntax2Person::set_zodiacsign(::Syntax2Person_ZodiacSign value) {
2108 assert(::Syntax2Person_ZodiacSign_IsValid(value));
2109 set_has_zodiacsign();
2110 zodiacsign_ = value;
2111 // @@protoc_insertion_point(field_set:Syntax2Person.zodiacSign)
2112}
2113
2114// repeated string songs = 12;
2115inline int Syntax2Person::songs_size() const {
2116 return songs_.size();
2117}
2118inline void Syntax2Person::clear_songs() {
2119 songs_.Clear();
2120}
2121inline const ::std::string& Syntax2Person::songs(int index) const {
2122 // @@protoc_insertion_point(field_get:Syntax2Person.songs)
2123 return songs_.Get(index);
2124}
2125inline ::std::string* Syntax2Person::mutable_songs(int index) {
2126 // @@protoc_insertion_point(field_mutable:Syntax2Person.songs)
2127 return songs_.Mutable(index);
2128}
2129inline void Syntax2Person::set_songs(int index, const ::std::string& value) {
2130 // @@protoc_insertion_point(field_set:Syntax2Person.songs)
2131 songs_.Mutable(index)->assign(value);
2132}
2133#if LANG_CXX11
2134inline void Syntax2Person::set_songs(int index, ::std::string&& value) {
2135 // @@protoc_insertion_point(field_set:Syntax2Person.songs)
2136 songs_.Mutable(index)->assign(std::move(value));
2137}
2138#endif
2139inline void Syntax2Person::set_songs(int index, const char* value) {
2140 GOOGLE_DCHECK(value != NULL);
2141 songs_.Mutable(index)->assign(value);
2142 // @@protoc_insertion_point(field_set_char:Syntax2Person.songs)
2143}
2144inline void Syntax2Person::set_songs(int index, const char* value, size_t size) {
2145 songs_.Mutable(index)->assign(
2146 reinterpret_cast<const char*>(value), size);
2147 // @@protoc_insertion_point(field_set_pointer:Syntax2Person.songs)
2148}
2149inline ::std::string* Syntax2Person::add_songs() {
2150 // @@protoc_insertion_point(field_add_mutable:Syntax2Person.songs)
2151 return songs_.Add();
2152}
2153inline void Syntax2Person::add_songs(const ::std::string& value) {
2154 songs_.Add()->assign(value);
2155 // @@protoc_insertion_point(field_add:Syntax2Person.songs)
2156}
2157#if LANG_CXX11
2158inline void Syntax2Person::add_songs(::std::string&& value) {
2159 songs_.Add(std::move(value));
2160 // @@protoc_insertion_point(field_add:Syntax2Person.songs)
2161}
2162#endif
2163inline void Syntax2Person::add_songs(const char* value) {
2164 GOOGLE_DCHECK(value != NULL);
2165 songs_.Add()->assign(value);
2166 // @@protoc_insertion_point(field_add_char:Syntax2Person.songs)
2167}
2168inline void Syntax2Person::add_songs(const char* value, size_t size) {
2169 songs_.Add()->assign(reinterpret_cast<const char*>(value), size);
2170 // @@protoc_insertion_point(field_add_pointer:Syntax2Person.songs)
2171}
2172inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
2173Syntax2Person::songs() const {
2174 // @@protoc_insertion_point(field_list:Syntax2Person.songs)
2175 return songs_;
2176}
2177inline ::google::protobuf::RepeatedPtrField< ::std::string>*
2178Syntax2Person::mutable_songs() {
2179 // @@protoc_insertion_point(field_mutable_list:Syntax2Person.songs)
2180 return &songs_;
2181}
2182
2183// repeated uint32 color = 13;
2184inline int Syntax2Person::color_size() const {
2185 return color_.size();
2186}
2187inline void Syntax2Person::clear_color() {
2188 color_.Clear();
2189}
2190inline ::google::protobuf::uint32 Syntax2Person::color(int index) const {
2191 // @@protoc_insertion_point(field_get:Syntax2Person.color)
2192 return color_.Get(index);
2193}
2194inline void Syntax2Person::set_color(int index, ::google::protobuf::uint32 value) {
2195 color_.Set(index, value);
2196 // @@protoc_insertion_point(field_set:Syntax2Person.color)
2197}
2198inline void Syntax2Person::add_color(::google::protobuf::uint32 value) {
2199 color_.Add(value);
2200 // @@protoc_insertion_point(field_add:Syntax2Person.color)
2201}
2202inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
2203Syntax2Person::color() const {
2204 // @@protoc_insertion_point(field_list:Syntax2Person.color)
2205 return color_;
2206}
2207inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
2208Syntax2Person::mutable_color() {
2209 // @@protoc_insertion_point(field_mutable_list:Syntax2Person.color)
2210 return &color_;
2211}
2212
2213// optional string hometown = 14 [default = "Moscow"];
2214inline bool Syntax2Person::has_hometown() const {
2215 return (_has_bits_[0] & 0x00000020u) != 0;
2216}
2217inline void Syntax2Person::set_has_hometown() {
2218 _has_bits_[0] |= 0x00000020u;
2219}
2220inline void Syntax2Person::clear_has_hometown() {
2221 _has_bits_[0] &= ~0x00000020u;
2222}
2223inline void Syntax2Person::clear_hometown() {
2224 hometown_.ClearToDefaultNoArena(&::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get());
2225 clear_has_hometown();
2226}
2227inline const ::std::string& Syntax2Person::hometown() const {
2228 // @@protoc_insertion_point(field_get:Syntax2Person.hometown)
2229 return hometown_.GetNoArena();
2230}
2231inline void Syntax2Person::set_hometown(const ::std::string& value) {
2232 set_has_hometown();
2233 hometown_.SetNoArena(&::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get(), value);
2234 // @@protoc_insertion_point(field_set:Syntax2Person.hometown)
2235}
2236#if LANG_CXX11
2237inline void Syntax2Person::set_hometown(::std::string&& value) {
2238 set_has_hometown();
2239 hometown_.SetNoArena(
2240 &::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get(), ::std::move(value));
2241 // @@protoc_insertion_point(field_set_rvalue:Syntax2Person.hometown)
2242}
2243#endif
2244inline void Syntax2Person::set_hometown(const char* value) {
2245 GOOGLE_DCHECK(value != NULL);
2246 set_has_hometown();
2247 hometown_.SetNoArena(&::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get(), ::std::string(value));
2248 // @@protoc_insertion_point(field_set_char:Syntax2Person.hometown)
2249}
2250inline void Syntax2Person::set_hometown(const char* value, size_t size) {
2251 set_has_hometown();
2252 hometown_.SetNoArena(&::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get(),
2253 ::std::string(reinterpret_cast<const char*>(value), size));
2254 // @@protoc_insertion_point(field_set_pointer:Syntax2Person.hometown)
2255}
2256inline ::std::string* Syntax2Person::mutable_hometown() {
2257 set_has_hometown();
2258 // @@protoc_insertion_point(field_mutable:Syntax2Person.hometown)
2259 return hometown_.MutableNoArena(&::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get());
2260}
2261inline ::std::string* Syntax2Person::release_hometown() {
2262 // @@protoc_insertion_point(field_release:Syntax2Person.hometown)
2263 if (!has_hometown()) {
2264 return NULL;
2265 }
2266 clear_has_hometown();
2267 return hometown_.ReleaseNonDefaultNoArena(&::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get());
2268}
2269inline void Syntax2Person::set_allocated_hometown(::std::string* hometown) {
2270 if (hometown != NULL) {
2271 set_has_hometown();
2272 } else {
2273 clear_has_hometown();
2274 }
2275 hometown_.SetAllocatedNoArena(&::Syntax2Person::_i_give_permission_to_break_this_code_default_hometown_.get(), hometown);
2276 // @@protoc_insertion_point(field_set_allocated:Syntax2Person.hometown)
2277}
2278
2279// repeated float location = 15 [packed = true];
2280inline int Syntax2Person::location_size() const {
2281 return location_.size();
2282}
2283inline void Syntax2Person::clear_location() {
2284 location_.Clear();
2285}
2286inline float Syntax2Person::location(int index) const {
2287 // @@protoc_insertion_point(field_get:Syntax2Person.location)
2288 return location_.Get(index);
2289}
2290inline void Syntax2Person::set_location(int index, float value) {
2291 location_.Set(index, value);
2292 // @@protoc_insertion_point(field_set:Syntax2Person.location)
2293}
2294inline void Syntax2Person::add_location(float value) {
2295 location_.Add(value);
2296 // @@protoc_insertion_point(field_add:Syntax2Person.location)
2297}
2298inline const ::google::protobuf::RepeatedField< float >&
2299Syntax2Person::location() const {
2300 // @@protoc_insertion_point(field_list:Syntax2Person.location)
2301 return location_;
2302}
2303inline ::google::protobuf::RepeatedField< float >*
2304Syntax2Person::mutable_location() {
2305 // @@protoc_insertion_point(field_mutable_list:Syntax2Person.location)
2306 return &location_;
2307}
2308
2309// optional double pi = 16;
2310inline bool Syntax2Person::has_pi() const {
2311 return (_has_bits_[0] & 0x00008000u) != 0;
2312}
2313inline void Syntax2Person::set_has_pi() {
2314 _has_bits_[0] |= 0x00008000u;
2315}
2316inline void Syntax2Person::clear_has_pi() {
2317 _has_bits_[0] &= ~0x00008000u;
2318}
2319inline void Syntax2Person::clear_pi() {
2320 pi_ = 0;
2321 clear_has_pi();
2322}
2323inline double Syntax2Person::pi() const {
2324 // @@protoc_insertion_point(field_get:Syntax2Person.pi)
2325 return pi_;
2326}
2327inline void Syntax2Person::set_pi(double value) {
2328 set_has_pi();
2329 pi_ = value;
2330 // @@protoc_insertion_point(field_set:Syntax2Person.pi)
2331}
2332
2333// optional double lotteryWin = 17;
2334inline bool Syntax2Person::has_lotterywin() const {
2335 return (_has_bits_[0] & 0x00010000u) != 0;
2336}
2337inline void Syntax2Person::set_has_lotterywin() {
2338 _has_bits_[0] |= 0x00010000u;
2339}
2340inline void Syntax2Person::clear_has_lotterywin() {
2341 _has_bits_[0] &= ~0x00010000u;
2342}
2343inline void Syntax2Person::clear_lotterywin() {
2344 lotterywin_ = 0;
2345 clear_has_lotterywin();
2346}
2347inline double Syntax2Person::lotterywin() const {
2348 // @@protoc_insertion_point(field_get:Syntax2Person.lotteryWin)
2349 return lotterywin_;
2350}
2351inline void Syntax2Person::set_lotterywin(double value) {
2352 set_has_lotterywin();
2353 lotterywin_ = value;
2354 // @@protoc_insertion_point(field_set:Syntax2Person.lotteryWin)
2355}
2356
2357// optional float someRatio = 18;
2358inline bool Syntax2Person::has_someratio() const {
2359 return (_has_bits_[0] & 0x00020000u) != 0;
2360}
2361inline void Syntax2Person::set_has_someratio() {
2362 _has_bits_[0] |= 0x00020000u;
2363}
2364inline void Syntax2Person::clear_has_someratio() {
2365 _has_bits_[0] &= ~0x00020000u;
2366}
2367inline void Syntax2Person::clear_someratio() {
2368 someratio_ = 0;
2369 clear_has_someratio();
2370}
2371inline float Syntax2Person::someratio() const {
2372 // @@protoc_insertion_point(field_get:Syntax2Person.someRatio)
2373 return someratio_;
2374}
2375inline void Syntax2Person::set_someratio(float value) {
2376 set_has_someratio();
2377 someratio_ = value;
2378 // @@protoc_insertion_point(field_set:Syntax2Person.someRatio)
2379}
2380
2381// optional float temperature = 19;
2382inline bool Syntax2Person::has_temperature() const {
2383 return (_has_bits_[0] & 0x00040000u) != 0;
2384}
2385inline void Syntax2Person::set_has_temperature() {
2386 _has_bits_[0] |= 0x00040000u;
2387}
2388inline void Syntax2Person::clear_has_temperature() {
2389 _has_bits_[0] &= ~0x00040000u;
2390}
2391inline void Syntax2Person::clear_temperature() {
2392 temperature_ = 0;
2393 clear_has_temperature();
2394}
2395inline float Syntax2Person::temperature() const {
2396 // @@protoc_insertion_point(field_get:Syntax2Person.temperature)
2397 return temperature_;
2398}
2399inline void Syntax2Person::set_temperature(float value) {
2400 set_has_temperature();
2401 temperature_ = value;
2402 // @@protoc_insertion_point(field_set:Syntax2Person.temperature)
2403}
2404
2405// optional sint64 randomBigNumber = 20;
2406inline bool Syntax2Person::has_randombignumber() const {
2407 return (_has_bits_[0] & 0x00080000u) != 0;
2408}
2409inline void Syntax2Person::set_has_randombignumber() {
2410 _has_bits_[0] |= 0x00080000u;
2411}
2412inline void Syntax2Person::clear_has_randombignumber() {
2413 _has_bits_[0] &= ~0x00080000u;
2414}
2415inline void Syntax2Person::clear_randombignumber() {
2416 randombignumber_ = GOOGLE_LONGLONG(0);
2417 clear_has_randombignumber();
2418}
2419inline ::google::protobuf::int64 Syntax2Person::randombignumber() const {
2420 // @@protoc_insertion_point(field_get:Syntax2Person.randomBigNumber)
2421 return randombignumber_;
2422}
2423inline void Syntax2Person::set_randombignumber(::google::protobuf::int64 value) {
2424 set_has_randombignumber();
2425 randombignumber_ = value;
2426 // @@protoc_insertion_point(field_set:Syntax2Person.randomBigNumber)
2427}
2428
2429// optional group MeasureUnits = 21 { ... };
2430inline bool Syntax2Person::has_measureunits() const {
2431 return (_has_bits_[0] & 0x00000080u) != 0;
2432}
2433inline void Syntax2Person::set_has_measureunits() {
2434 _has_bits_[0] |= 0x00000080u;
2435}
2436inline void Syntax2Person::clear_has_measureunits() {
2437 _has_bits_[0] &= ~0x00000080u;
2438}
2439inline void Syntax2Person::clear_measureunits() {
2440 if (measureunits_ != NULL) measureunits_->Clear();
2441 clear_has_measureunits();
2442}
2443inline const ::Syntax2Person_MeasureUnits& Syntax2Person::_internal_measureunits() const {
2444 return *measureunits_;
2445}
2446inline const ::Syntax2Person_MeasureUnits& Syntax2Person::measureunits() const {
2447 const ::Syntax2Person_MeasureUnits* p = measureunits_;
2448 // @@protoc_insertion_point(field_get:Syntax2Person.measureunits)
2449 return p != NULL ? *p : *reinterpret_cast<const ::Syntax2Person_MeasureUnits*>(
2450 &::_Syntax2Person_MeasureUnits_default_instance_);
2451}
2452inline ::Syntax2Person_MeasureUnits* Syntax2Person::release_measureunits() {
2453 // @@protoc_insertion_point(field_release:Syntax2Person.measureunits)
2454 clear_has_measureunits();
2455 ::Syntax2Person_MeasureUnits* temp = measureunits_;
2456 measureunits_ = NULL;
2457 return temp;
2458}
2459inline ::Syntax2Person_MeasureUnits* Syntax2Person::mutable_measureunits() {
2460 set_has_measureunits();
2461 if (measureunits_ == NULL) {
2462 auto* p = CreateMaybeMessage<::Syntax2Person_MeasureUnits>(GetArenaNoVirtual());
2463 measureunits_ = p;
2464 }
2465 // @@protoc_insertion_point(field_mutable:Syntax2Person.measureunits)
2466 return measureunits_;
2467}
2468inline void Syntax2Person::set_allocated_measureunits(::Syntax2Person_MeasureUnits* measureunits) {
2469 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2470 if (message_arena == NULL) {
2471 delete measureunits_;
2472 }
2473 if (measureunits) {
2474 ::google::protobuf::Arena* submessage_arena = NULL;
2475 if (message_arena != submessage_arena) {
2476 measureunits = ::google::protobuf::internal::GetOwnedMessage(
2477 message_arena, measureunits, submessage_arena);
2478 }
2479 set_has_measureunits();
2480 } else {
2481 clear_has_measureunits();
2482 }
2483 measureunits_ = measureunits;
2484 // @@protoc_insertion_point(field_set_allocated:Syntax2Person.measureunits)
2485}
2486
2487// optional group Nestiness = 22 { ... };
2488inline bool Syntax2Person::has_nestiness() const {
2489 return (_has_bits_[0] & 0x00000100u) != 0;
2490}
2491inline void Syntax2Person::set_has_nestiness() {
2492 _has_bits_[0] |= 0x00000100u;
2493}
2494inline void Syntax2Person::clear_has_nestiness() {
2495 _has_bits_[0] &= ~0x00000100u;
2496}
2497inline void Syntax2Person::clear_nestiness() {
2498 if (nestiness_ != NULL) nestiness_->Clear();
2499 clear_has_nestiness();
2500}
2501inline const ::Syntax2Person_Nestiness& Syntax2Person::_internal_nestiness() const {
2502 return *nestiness_;
2503}
2504inline const ::Syntax2Person_Nestiness& Syntax2Person::nestiness() const {
2505 const ::Syntax2Person_Nestiness* p = nestiness_;
2506 // @@protoc_insertion_point(field_get:Syntax2Person.nestiness)
2507 return p != NULL ? *p : *reinterpret_cast<const ::Syntax2Person_Nestiness*>(
2508 &::_Syntax2Person_Nestiness_default_instance_);
2509}
2510inline ::Syntax2Person_Nestiness* Syntax2Person::release_nestiness() {
2511 // @@protoc_insertion_point(field_release:Syntax2Person.nestiness)
2512 clear_has_nestiness();
2513 ::Syntax2Person_Nestiness* temp = nestiness_;
2514 nestiness_ = NULL;
2515 return temp;
2516}
2517inline ::Syntax2Person_Nestiness* Syntax2Person::mutable_nestiness() {
2518 set_has_nestiness();
2519 if (nestiness_ == NULL) {
2520 auto* p = CreateMaybeMessage<::Syntax2Person_Nestiness>(GetArenaNoVirtual());
2521 nestiness_ = p;
2522 }
2523 // @@protoc_insertion_point(field_mutable:Syntax2Person.nestiness)
2524 return nestiness_;
2525}
2526inline void Syntax2Person::set_allocated_nestiness(::Syntax2Person_Nestiness* nestiness) {
2527 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2528 if (message_arena == NULL) {
2529 delete nestiness_;
2530 }
2531 if (nestiness) {
2532 ::google::protobuf::Arena* submessage_arena = NULL;
2533 if (message_arena != submessage_arena) {
2534 nestiness = ::google::protobuf::internal::GetOwnedMessage(
2535 message_arena, nestiness, submessage_arena);
2536 }
2537 set_has_nestiness();
2538 } else {
2539 clear_has_nestiness();
2540 }
2541 nestiness_ = nestiness;
2542 // @@protoc_insertion_point(field_set_allocated:Syntax2Person.nestiness)
2543}
2544
2545// optional string newFieldStr = 23 [default = "abc"];
2546inline bool Syntax2Person::has_newfieldstr() const {
2547 return (_has_bits_[0] & 0x00000040u) != 0;
2548}
2549inline void Syntax2Person::set_has_newfieldstr() {
2550 _has_bits_[0] |= 0x00000040u;
2551}
2552inline void Syntax2Person::clear_has_newfieldstr() {
2553 _has_bits_[0] &= ~0x00000040u;
2554}
2555inline void Syntax2Person::clear_newfieldstr() {
2556 newfieldstr_.ClearToDefaultNoArena(&::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get());
2557 clear_has_newfieldstr();
2558}
2559inline const ::std::string& Syntax2Person::newfieldstr() const {
2560 // @@protoc_insertion_point(field_get:Syntax2Person.newFieldStr)
2561 return newfieldstr_.GetNoArena();
2562}
2563inline void Syntax2Person::set_newfieldstr(const ::std::string& value) {
2564 set_has_newfieldstr();
2565 newfieldstr_.SetNoArena(&::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get(), value);
2566 // @@protoc_insertion_point(field_set:Syntax2Person.newFieldStr)
2567}
2568#if LANG_CXX11
2569inline void Syntax2Person::set_newfieldstr(::std::string&& value) {
2570 set_has_newfieldstr();
2571 newfieldstr_.SetNoArena(
2572 &::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get(), ::std::move(value));
2573 // @@protoc_insertion_point(field_set_rvalue:Syntax2Person.newFieldStr)
2574}
2575#endif
2576inline void Syntax2Person::set_newfieldstr(const char* value) {
2577 GOOGLE_DCHECK(value != NULL);
2578 set_has_newfieldstr();
2579 newfieldstr_.SetNoArena(&::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get(), ::std::string(value));
2580 // @@protoc_insertion_point(field_set_char:Syntax2Person.newFieldStr)
2581}
2582inline void Syntax2Person::set_newfieldstr(const char* value, size_t size) {
2583 set_has_newfieldstr();
2584 newfieldstr_.SetNoArena(&::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get(),
2585 ::std::string(reinterpret_cast<const char*>(value), size));
2586 // @@protoc_insertion_point(field_set_pointer:Syntax2Person.newFieldStr)
2587}
2588inline ::std::string* Syntax2Person::mutable_newfieldstr() {
2589 set_has_newfieldstr();
2590 // @@protoc_insertion_point(field_mutable:Syntax2Person.newFieldStr)
2591 return newfieldstr_.MutableNoArena(&::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get());
2592}
2593inline ::std::string* Syntax2Person::release_newfieldstr() {
2594 // @@protoc_insertion_point(field_release:Syntax2Person.newFieldStr)
2595 if (!has_newfieldstr()) {
2596 return NULL;
2597 }
2598 clear_has_newfieldstr();
2599 return newfieldstr_.ReleaseNonDefaultNoArena(&::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get());
2600}
2601inline void Syntax2Person::set_allocated_newfieldstr(::std::string* newfieldstr) {
2602 if (newfieldstr != NULL) {
2603 set_has_newfieldstr();
2604 } else {
2605 clear_has_newfieldstr();
2606 }
2607 newfieldstr_.SetAllocatedNoArena(&::Syntax2Person::_i_give_permission_to_break_this_code_default_newfieldstr_.get(), newfieldstr);
2608 // @@protoc_insertion_point(field_set_allocated:Syntax2Person.newFieldStr)
2609}
2610
2611// optional int32 newFieldInt = 24 [default = -11];
2612inline bool Syntax2Person::has_newfieldint() const {
2613 return (_has_bits_[0] & 0x00100000u) != 0;
2614}
2615inline void Syntax2Person::set_has_newfieldint() {
2616 _has_bits_[0] |= 0x00100000u;
2617}
2618inline void Syntax2Person::clear_has_newfieldint() {
2619 _has_bits_[0] &= ~0x00100000u;
2620}
2621inline void Syntax2Person::clear_newfieldint() {
2622 newfieldint_ = -11;
2623 clear_has_newfieldint();
2624}
2625inline ::google::protobuf::int32 Syntax2Person::newfieldint() const {
2626 // @@protoc_insertion_point(field_get:Syntax2Person.newFieldInt)
2627 return newfieldint_;
2628}
2629inline void Syntax2Person::set_newfieldint(::google::protobuf::int32 value) {
2630 set_has_newfieldint();
2631 newfieldint_ = value;
2632 // @@protoc_insertion_point(field_set:Syntax2Person.newFieldInt)
2633}
2634
2635// optional bool newBool = 25 [default = true];
2636inline bool Syntax2Person::has_newbool() const {
2637 return (_has_bits_[0] & 0x00200000u) != 0;
2638}
2639inline void Syntax2Person::set_has_newbool() {
2640 _has_bits_[0] |= 0x00200000u;
2641}
2642inline void Syntax2Person::clear_has_newbool() {
2643 _has_bits_[0] &= ~0x00200000u;
2644}
2645inline void Syntax2Person::clear_newbool() {
2646 newbool_ = true;
2647 clear_has_newbool();
2648}
2649inline bool Syntax2Person::newbool() const {
2650 // @@protoc_insertion_point(field_get:Syntax2Person.newBool)
2651 return newbool_;
2652}
2653inline void Syntax2Person::set_newbool(bool value) {
2654 set_has_newbool();
2655 newbool_ = value;
2656 // @@protoc_insertion_point(field_set:Syntax2Person.newBool)
2657}
2658
2659#ifdef __GNUC__
2660 #pragma GCC diagnostic pop
2661#endif // __GNUC__
2662// -------------------------------------------------------------------
2663
2664// -------------------------------------------------------------------
2665
2666// -------------------------------------------------------------------
2667
2668// -------------------------------------------------------------------
2669
2670// -------------------------------------------------------------------
2671
2672
2673// @@protoc_insertion_point(namespace_scope)
2674
2675
2676namespace google {
2677namespace protobuf {
2678
2679template <> struct is_proto_enum< ::Syntax2Person_Gender> : ::std::true_type {};
2680template <>
2681inline const EnumDescriptor* GetEnumDescriptor< ::Syntax2Person_Gender>() {
2682 return ::Syntax2Person_Gender_descriptor();
2683}
2684template <> struct is_proto_enum< ::Syntax2Person_ZodiacSign> : ::std::true_type {};
2685template <>
2686inline const EnumDescriptor* GetEnumDescriptor< ::Syntax2Person_ZodiacSign>() {
2687 return ::Syntax2Person_ZodiacSign_descriptor();
2688}
2689
2690} // namespace protobuf
2691} // namespace google
2692
2693// @@protoc_insertion_point(global_scope)
2694
2695#endif // PROTOBUF_INCLUDED_00825_5fprotobuf_5fformat_5fsyntax2_2eproto
2696