1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | // source: 00825_protobuf_format.proto |
3 | |
4 | #ifndef PROTOBUF_INCLUDED_00825_5fprotobuf_5fformat_2eproto |
5 | #define PROTOBUF_INCLUDED_00825_5fprotobuf_5fformat_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_2eproto |
36 | |
37 | namespace protobuf_00825_5fprotobuf_5fformat_2eproto { |
38 | // Internal implementation detail -- do not use these members. |
39 | struct 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[14]; |
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 | }; |
47 | void AddDescriptors(); |
48 | } // namespace protobuf_00825_5fprotobuf_5fformat_2eproto |
49 | class AltPerson; |
50 | class AltPersonDefaultTypeInternal; |
51 | extern AltPersonDefaultTypeInternal _AltPerson_default_instance_; |
52 | class AltPerson_Dummy; |
53 | class AltPerson_DummyDefaultTypeInternal; |
54 | extern AltPerson_DummyDefaultTypeInternal _AltPerson_Dummy_default_instance_; |
55 | class AltPerson_Dummy_Empty; |
56 | class AltPerson_Dummy_EmptyDefaultTypeInternal; |
57 | extern AltPerson_Dummy_EmptyDefaultTypeInternal _AltPerson_Dummy_Empty_default_instance_; |
58 | class Nestiness; |
59 | class NestinessDefaultTypeInternal; |
60 | extern NestinessDefaultTypeInternal _Nestiness_default_instance_; |
61 | class Nestiness_SubA; |
62 | class Nestiness_SubADefaultTypeInternal; |
63 | extern Nestiness_SubADefaultTypeInternal _Nestiness_SubA_default_instance_; |
64 | class Nestiness_SubA_SubB; |
65 | class Nestiness_SubA_SubBDefaultTypeInternal; |
66 | extern Nestiness_SubA_SubBDefaultTypeInternal _Nestiness_SubA_SubB_default_instance_; |
67 | class Nestiness_SubA_SubB_SubC; |
68 | class Nestiness_SubA_SubB_SubCDefaultTypeInternal; |
69 | extern Nestiness_SubA_SubB_SubCDefaultTypeInternal _Nestiness_SubA_SubB_SubC_default_instance_; |
70 | class NumberAndSquare; |
71 | class NumberAndSquareDefaultTypeInternal; |
72 | extern NumberAndSquareDefaultTypeInternal _NumberAndSquare_default_instance_; |
73 | class Person; |
74 | class PersonDefaultTypeInternal; |
75 | extern PersonDefaultTypeInternal _Person_default_instance_; |
76 | class Person_MeasureUnit; |
77 | class Person_MeasureUnitDefaultTypeInternal; |
78 | extern Person_MeasureUnitDefaultTypeInternal _Person_MeasureUnit_default_instance_; |
79 | class StrPerson; |
80 | class StrPersonDefaultTypeInternal; |
81 | extern StrPersonDefaultTypeInternal _StrPerson_default_instance_; |
82 | class StrPerson_MeasureUnits; |
83 | class StrPerson_MeasureUnitsDefaultTypeInternal; |
84 | extern StrPerson_MeasureUnitsDefaultTypeInternal _StrPerson_MeasureUnits_default_instance_; |
85 | class StrPerson_NestinessA; |
86 | class StrPerson_NestinessADefaultTypeInternal; |
87 | extern StrPerson_NestinessADefaultTypeInternal _StrPerson_NestinessA_default_instance_; |
88 | class StrPerson_NestinessA_SubBC; |
89 | class StrPerson_NestinessA_SubBCDefaultTypeInternal; |
90 | extern StrPerson_NestinessA_SubBCDefaultTypeInternal _StrPerson_NestinessA_SubBC_default_instance_; |
91 | namespace google { |
92 | namespace protobuf { |
93 | template<> ::AltPerson* Arena::CreateMaybeMessage<::AltPerson>(Arena*); |
94 | template<> ::AltPerson_Dummy* Arena::CreateMaybeMessage<::AltPerson_Dummy>(Arena*); |
95 | template<> ::AltPerson_Dummy_Empty* Arena::CreateMaybeMessage<::AltPerson_Dummy_Empty>(Arena*); |
96 | template<> ::Nestiness* Arena::CreateMaybeMessage<::Nestiness>(Arena*); |
97 | template<> ::Nestiness_SubA* Arena::CreateMaybeMessage<::Nestiness_SubA>(Arena*); |
98 | template<> ::Nestiness_SubA_SubB* Arena::CreateMaybeMessage<::Nestiness_SubA_SubB>(Arena*); |
99 | template<> ::Nestiness_SubA_SubB_SubC* Arena::CreateMaybeMessage<::Nestiness_SubA_SubB_SubC>(Arena*); |
100 | template<> ::NumberAndSquare* Arena::CreateMaybeMessage<::NumberAndSquare>(Arena*); |
101 | template<> ::Person* Arena::CreateMaybeMessage<::Person>(Arena*); |
102 | template<> ::Person_MeasureUnit* Arena::CreateMaybeMessage<::Person_MeasureUnit>(Arena*); |
103 | template<> ::StrPerson* Arena::CreateMaybeMessage<::StrPerson>(Arena*); |
104 | template<> ::StrPerson_MeasureUnits* Arena::CreateMaybeMessage<::StrPerson_MeasureUnits>(Arena*); |
105 | template<> ::StrPerson_NestinessA* Arena::CreateMaybeMessage<::StrPerson_NestinessA>(Arena*); |
106 | template<> ::StrPerson_NestinessA_SubBC* Arena::CreateMaybeMessage<::StrPerson_NestinessA_SubBC>(Arena*); |
107 | } // namespace protobuf |
108 | } // namespace google |
109 | |
110 | enum AltPerson_Gender { |
111 | AltPerson_Gender_male = 0, |
112 | AltPerson_Gender_female = 1, |
113 | AltPerson_Gender_AltPerson_Gender_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min, |
114 | AltPerson_Gender_AltPerson_Gender_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max |
115 | }; |
116 | bool AltPerson_Gender_IsValid(int value); |
117 | const AltPerson_Gender AltPerson_Gender_Gender_MIN = AltPerson_Gender_male; |
118 | const AltPerson_Gender AltPerson_Gender_Gender_MAX = AltPerson_Gender_female; |
119 | const int AltPerson_Gender_Gender_ARRAYSIZE = AltPerson_Gender_Gender_MAX + 1; |
120 | |
121 | const ::google::protobuf::EnumDescriptor* AltPerson_Gender_descriptor(); |
122 | inline const ::std::string& AltPerson_Gender_Name(AltPerson_Gender value) { |
123 | return ::google::protobuf::internal::NameOfEnum( |
124 | AltPerson_Gender_descriptor(), value); |
125 | } |
126 | inline bool AltPerson_Gender_Parse( |
127 | const ::std::string& name, AltPerson_Gender* value) { |
128 | return ::google::protobuf::internal::ParseNamedEnum<AltPerson_Gender>( |
129 | AltPerson_Gender_descriptor(), name, value); |
130 | } |
131 | enum Gender { |
132 | female = 0, |
133 | male = 1, |
134 | Gender_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min, |
135 | Gender_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max |
136 | }; |
137 | bool Gender_IsValid(int value); |
138 | const Gender Gender_MIN = female; |
139 | const Gender Gender_MAX = male; |
140 | const int Gender_ARRAYSIZE = Gender_MAX + 1; |
141 | |
142 | const ::google::protobuf::EnumDescriptor* Gender_descriptor(); |
143 | inline const ::std::string& Gender_Name(Gender value) { |
144 | return ::google::protobuf::internal::NameOfEnum( |
145 | Gender_descriptor(), value); |
146 | } |
147 | inline bool Gender_Parse( |
148 | const ::std::string& name, Gender* value) { |
149 | return ::google::protobuf::internal::ParseNamedEnum<Gender>( |
150 | Gender_descriptor(), name, value); |
151 | } |
152 | enum ZodiacSign { |
153 | aries = 0, |
154 | taurus = 1, |
155 | gemini = 2, |
156 | cancer = 3, |
157 | leo = 4, |
158 | virgo = 5, |
159 | libra = 6, |
160 | scorpius = 7, |
161 | sagittarius = 8, |
162 | capricorn = 9, |
163 | aquarius = 10, |
164 | pisces = 11, |
165 | ZodiacSign_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min, |
166 | ZodiacSign_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max |
167 | }; |
168 | bool ZodiacSign_IsValid(int value); |
169 | const ZodiacSign ZodiacSign_MIN = aries; |
170 | const ZodiacSign ZodiacSign_MAX = pisces; |
171 | const int ZodiacSign_ARRAYSIZE = ZodiacSign_MAX + 1; |
172 | |
173 | const ::google::protobuf::EnumDescriptor* ZodiacSign_descriptor(); |
174 | inline const ::std::string& ZodiacSign_Name(ZodiacSign value) { |
175 | return ::google::protobuf::internal::NameOfEnum( |
176 | ZodiacSign_descriptor(), value); |
177 | } |
178 | inline bool ZodiacSign_Parse( |
179 | const ::std::string& name, ZodiacSign* value) { |
180 | return ::google::protobuf::internal::ParseNamedEnum<ZodiacSign>( |
181 | ZodiacSign_descriptor(), name, value); |
182 | } |
183 | enum OnlineStatus { |
184 | offline = 0, |
185 | online = 1, |
186 | OnlineStatus_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min, |
187 | OnlineStatus_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max |
188 | }; |
189 | bool OnlineStatus_IsValid(int value); |
190 | const OnlineStatus OnlineStatus_MIN = offline; |
191 | const OnlineStatus OnlineStatus_MAX = online; |
192 | const int OnlineStatus_ARRAYSIZE = OnlineStatus_MAX + 1; |
193 | |
194 | const ::google::protobuf::EnumDescriptor* OnlineStatus_descriptor(); |
195 | inline const ::std::string& OnlineStatus_Name(OnlineStatus value) { |
196 | return ::google::protobuf::internal::NameOfEnum( |
197 | OnlineStatus_descriptor(), value); |
198 | } |
199 | inline bool OnlineStatus_Parse( |
200 | const ::std::string& name, OnlineStatus* value) { |
201 | return ::google::protobuf::internal::ParseNamedEnum<OnlineStatus>( |
202 | OnlineStatus_descriptor(), name, value); |
203 | } |
204 | // =================================================================== |
205 | |
206 | class Nestiness_SubA_SubB_SubC : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Nestiness.SubA.SubB.SubC) */ { |
207 | public: |
208 | Nestiness_SubA_SubB_SubC(); |
209 | virtual ~Nestiness_SubA_SubB_SubC(); |
210 | |
211 | Nestiness_SubA_SubB_SubC(const Nestiness_SubA_SubB_SubC& from); |
212 | |
213 | inline Nestiness_SubA_SubB_SubC& operator=(const Nestiness_SubA_SubB_SubC& from) { |
214 | CopyFrom(from); |
215 | return *this; |
216 | } |
217 | #if LANG_CXX11 |
218 | Nestiness_SubA_SubB_SubC(Nestiness_SubA_SubB_SubC&& from) noexcept |
219 | : Nestiness_SubA_SubB_SubC() { |
220 | *this = ::std::move(from); |
221 | } |
222 | |
223 | inline Nestiness_SubA_SubB_SubC& operator=(Nestiness_SubA_SubB_SubC&& from) noexcept { |
224 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
225 | if (this != &from) InternalSwap(&from); |
226 | } else { |
227 | CopyFrom(from); |
228 | } |
229 | return *this; |
230 | } |
231 | #endif |
232 | static const ::google::protobuf::Descriptor* descriptor(); |
233 | static const Nestiness_SubA_SubB_SubC& default_instance(); |
234 | |
235 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
236 | static inline const Nestiness_SubA_SubB_SubC* internal_default_instance() { |
237 | return reinterpret_cast<const Nestiness_SubA_SubB_SubC*>( |
238 | &_Nestiness_SubA_SubB_SubC_default_instance_); |
239 | } |
240 | static constexpr int kIndexInFileMessages = |
241 | 0; |
242 | |
243 | void Swap(Nestiness_SubA_SubB_SubC* other); |
244 | friend void swap(Nestiness_SubA_SubB_SubC& a, Nestiness_SubA_SubB_SubC& b) { |
245 | a.Swap(&b); |
246 | } |
247 | |
248 | // implements Message ---------------------------------------------- |
249 | |
250 | inline Nestiness_SubA_SubB_SubC* New() const final { |
251 | return CreateMaybeMessage<Nestiness_SubA_SubB_SubC>(NULL); |
252 | } |
253 | |
254 | Nestiness_SubA_SubB_SubC* New(::google::protobuf::Arena* arena) const final { |
255 | return CreateMaybeMessage<Nestiness_SubA_SubB_SubC>(arena); |
256 | } |
257 | void CopyFrom(const ::google::protobuf::Message& from) final; |
258 | void MergeFrom(const ::google::protobuf::Message& from) final; |
259 | void CopyFrom(const Nestiness_SubA_SubB_SubC& from); |
260 | void MergeFrom(const Nestiness_SubA_SubB_SubC& from); |
261 | void Clear() final; |
262 | bool IsInitialized() const final; |
263 | |
264 | size_t ByteSizeLong() const final; |
265 | bool MergePartialFromCodedStream( |
266 | ::google::protobuf::io::CodedInputStream* input) final; |
267 | void SerializeWithCachedSizes( |
268 | ::google::protobuf::io::CodedOutputStream* output) const final; |
269 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
270 | bool deterministic, ::google::protobuf::uint8* target) const final; |
271 | int GetCachedSize() const final { return _cached_size_.Get(); } |
272 | |
273 | private: |
274 | void SharedCtor(); |
275 | void SharedDtor(); |
276 | void SetCachedSize(int size) const final; |
277 | void InternalSwap(Nestiness_SubA_SubB_SubC* other); |
278 | private: |
279 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
280 | return NULL; |
281 | } |
282 | inline void* MaybeArenaPtr() const { |
283 | return NULL; |
284 | } |
285 | public: |
286 | |
287 | ::google::protobuf::Metadata GetMetadata() const final; |
288 | |
289 | // nested types ---------------------------------------------------- |
290 | |
291 | // accessors ------------------------------------------------------- |
292 | |
293 | // repeated uint32 e = 2; |
294 | int e_size() const; |
295 | void clear_e(); |
296 | static const int kEFieldNumber = 2; |
297 | ::google::protobuf::uint32 e(int index) const; |
298 | void set_e(int index, ::google::protobuf::uint32 value); |
299 | void add_e(::google::protobuf::uint32 value); |
300 | const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& |
301 | e() const; |
302 | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* |
303 | mutable_e(); |
304 | |
305 | // uint32 d = 1; |
306 | void clear_d(); |
307 | static const int kDFieldNumber = 1; |
308 | ::google::protobuf::uint32 d() const; |
309 | void set_d(::google::protobuf::uint32 value); |
310 | |
311 | // @@protoc_insertion_point(class_scope:Nestiness.SubA.SubB.SubC) |
312 | private: |
313 | |
314 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
315 | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > e_; |
316 | mutable int _e_cached_byte_size_; |
317 | ::google::protobuf::uint32 d_; |
318 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
319 | friend struct ::protobuf_00825_5fprotobuf_5fformat_2eproto::TableStruct; |
320 | }; |
321 | // ------------------------------------------------------------------- |
322 | |
323 | class Nestiness_SubA_SubB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Nestiness.SubA.SubB) */ { |
324 | public: |
325 | Nestiness_SubA_SubB(); |
326 | virtual ~Nestiness_SubA_SubB(); |
327 | |
328 | Nestiness_SubA_SubB(const Nestiness_SubA_SubB& from); |
329 | |
330 | inline Nestiness_SubA_SubB& operator=(const Nestiness_SubA_SubB& from) { |
331 | CopyFrom(from); |
332 | return *this; |
333 | } |
334 | #if LANG_CXX11 |
335 | Nestiness_SubA_SubB(Nestiness_SubA_SubB&& from) noexcept |
336 | : Nestiness_SubA_SubB() { |
337 | *this = ::std::move(from); |
338 | } |
339 | |
340 | inline Nestiness_SubA_SubB& operator=(Nestiness_SubA_SubB&& from) noexcept { |
341 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
342 | if (this != &from) InternalSwap(&from); |
343 | } else { |
344 | CopyFrom(from); |
345 | } |
346 | return *this; |
347 | } |
348 | #endif |
349 | static const ::google::protobuf::Descriptor* descriptor(); |
350 | static const Nestiness_SubA_SubB& default_instance(); |
351 | |
352 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
353 | static inline const Nestiness_SubA_SubB* internal_default_instance() { |
354 | return reinterpret_cast<const Nestiness_SubA_SubB*>( |
355 | &_Nestiness_SubA_SubB_default_instance_); |
356 | } |
357 | static constexpr int kIndexInFileMessages = |
358 | 1; |
359 | |
360 | void Swap(Nestiness_SubA_SubB* other); |
361 | friend void swap(Nestiness_SubA_SubB& a, Nestiness_SubA_SubB& b) { |
362 | a.Swap(&b); |
363 | } |
364 | |
365 | // implements Message ---------------------------------------------- |
366 | |
367 | inline Nestiness_SubA_SubB* New() const final { |
368 | return CreateMaybeMessage<Nestiness_SubA_SubB>(NULL); |
369 | } |
370 | |
371 | Nestiness_SubA_SubB* New(::google::protobuf::Arena* arena) const final { |
372 | return CreateMaybeMessage<Nestiness_SubA_SubB>(arena); |
373 | } |
374 | void CopyFrom(const ::google::protobuf::Message& from) final; |
375 | void MergeFrom(const ::google::protobuf::Message& from) final; |
376 | void CopyFrom(const Nestiness_SubA_SubB& from); |
377 | void MergeFrom(const Nestiness_SubA_SubB& from); |
378 | void Clear() final; |
379 | bool IsInitialized() const final; |
380 | |
381 | size_t ByteSizeLong() const final; |
382 | bool MergePartialFromCodedStream( |
383 | ::google::protobuf::io::CodedInputStream* input) final; |
384 | void SerializeWithCachedSizes( |
385 | ::google::protobuf::io::CodedOutputStream* output) const final; |
386 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
387 | bool deterministic, ::google::protobuf::uint8* target) const final; |
388 | int GetCachedSize() const final { return _cached_size_.Get(); } |
389 | |
390 | private: |
391 | void SharedCtor(); |
392 | void SharedDtor(); |
393 | void SetCachedSize(int size) const final; |
394 | void InternalSwap(Nestiness_SubA_SubB* other); |
395 | private: |
396 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
397 | return NULL; |
398 | } |
399 | inline void* MaybeArenaPtr() const { |
400 | return NULL; |
401 | } |
402 | public: |
403 | |
404 | ::google::protobuf::Metadata GetMetadata() const final; |
405 | |
406 | // nested types ---------------------------------------------------- |
407 | |
408 | typedef Nestiness_SubA_SubB_SubC SubC; |
409 | |
410 | // accessors ------------------------------------------------------- |
411 | |
412 | // .Nestiness.SubA.SubB.SubC c = 1; |
413 | bool has_c() const; |
414 | void clear_c(); |
415 | static const int kCFieldNumber = 1; |
416 | private: |
417 | const ::Nestiness_SubA_SubB_SubC& _internal_c() const; |
418 | public: |
419 | const ::Nestiness_SubA_SubB_SubC& c() const; |
420 | ::Nestiness_SubA_SubB_SubC* release_c(); |
421 | ::Nestiness_SubA_SubB_SubC* mutable_c(); |
422 | void set_allocated_c(::Nestiness_SubA_SubB_SubC* c); |
423 | |
424 | // @@protoc_insertion_point(class_scope:Nestiness.SubA.SubB) |
425 | private: |
426 | |
427 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
428 | ::Nestiness_SubA_SubB_SubC* c_; |
429 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
430 | friend struct ::protobuf_00825_5fprotobuf_5fformat_2eproto::TableStruct; |
431 | }; |
432 | // ------------------------------------------------------------------- |
433 | |
434 | class Nestiness_SubA : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Nestiness.SubA) */ { |
435 | public: |
436 | Nestiness_SubA(); |
437 | virtual ~Nestiness_SubA(); |
438 | |
439 | Nestiness_SubA(const Nestiness_SubA& from); |
440 | |
441 | inline Nestiness_SubA& operator=(const Nestiness_SubA& from) { |
442 | CopyFrom(from); |
443 | return *this; |
444 | } |
445 | #if LANG_CXX11 |
446 | Nestiness_SubA(Nestiness_SubA&& from) noexcept |
447 | : Nestiness_SubA() { |
448 | *this = ::std::move(from); |
449 | } |
450 | |
451 | inline Nestiness_SubA& operator=(Nestiness_SubA&& from) noexcept { |
452 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
453 | if (this != &from) InternalSwap(&from); |
454 | } else { |
455 | CopyFrom(from); |
456 | } |
457 | return *this; |
458 | } |
459 | #endif |
460 | static const ::google::protobuf::Descriptor* descriptor(); |
461 | static const Nestiness_SubA& default_instance(); |
462 | |
463 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
464 | static inline const Nestiness_SubA* internal_default_instance() { |
465 | return reinterpret_cast<const Nestiness_SubA*>( |
466 | &_Nestiness_SubA_default_instance_); |
467 | } |
468 | static constexpr int kIndexInFileMessages = |
469 | 2; |
470 | |
471 | void Swap(Nestiness_SubA* other); |
472 | friend void swap(Nestiness_SubA& a, Nestiness_SubA& b) { |
473 | a.Swap(&b); |
474 | } |
475 | |
476 | // implements Message ---------------------------------------------- |
477 | |
478 | inline Nestiness_SubA* New() const final { |
479 | return CreateMaybeMessage<Nestiness_SubA>(NULL); |
480 | } |
481 | |
482 | Nestiness_SubA* New(::google::protobuf::Arena* arena) const final { |
483 | return CreateMaybeMessage<Nestiness_SubA>(arena); |
484 | } |
485 | void CopyFrom(const ::google::protobuf::Message& from) final; |
486 | void MergeFrom(const ::google::protobuf::Message& from) final; |
487 | void CopyFrom(const Nestiness_SubA& from); |
488 | void MergeFrom(const Nestiness_SubA& from); |
489 | void Clear() final; |
490 | bool IsInitialized() const final; |
491 | |
492 | size_t ByteSizeLong() const final; |
493 | bool MergePartialFromCodedStream( |
494 | ::google::protobuf::io::CodedInputStream* input) final; |
495 | void SerializeWithCachedSizes( |
496 | ::google::protobuf::io::CodedOutputStream* output) const final; |
497 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
498 | bool deterministic, ::google::protobuf::uint8* target) const final; |
499 | int GetCachedSize() const final { return _cached_size_.Get(); } |
500 | |
501 | private: |
502 | void SharedCtor(); |
503 | void SharedDtor(); |
504 | void SetCachedSize(int size) const final; |
505 | void InternalSwap(Nestiness_SubA* other); |
506 | private: |
507 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
508 | return NULL; |
509 | } |
510 | inline void* MaybeArenaPtr() const { |
511 | return NULL; |
512 | } |
513 | public: |
514 | |
515 | ::google::protobuf::Metadata GetMetadata() const final; |
516 | |
517 | // nested types ---------------------------------------------------- |
518 | |
519 | typedef Nestiness_SubA_SubB SubB; |
520 | |
521 | // accessors ------------------------------------------------------- |
522 | |
523 | // .Nestiness.SubA.SubB b = 100; |
524 | bool has_b() const; |
525 | void clear_b(); |
526 | static const int kBFieldNumber = 100; |
527 | private: |
528 | const ::Nestiness_SubA_SubB& _internal_b() const; |
529 | public: |
530 | const ::Nestiness_SubA_SubB& b() const; |
531 | ::Nestiness_SubA_SubB* release_b(); |
532 | ::Nestiness_SubA_SubB* mutable_b(); |
533 | void set_allocated_b(::Nestiness_SubA_SubB* b); |
534 | |
535 | // @@protoc_insertion_point(class_scope:Nestiness.SubA) |
536 | private: |
537 | |
538 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
539 | ::Nestiness_SubA_SubB* b_; |
540 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
541 | friend struct ::protobuf_00825_5fprotobuf_5fformat_2eproto::TableStruct; |
542 | }; |
543 | // ------------------------------------------------------------------- |
544 | |
545 | class Nestiness : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Nestiness) */ { |
546 | public: |
547 | Nestiness(); |
548 | virtual ~Nestiness(); |
549 | |
550 | Nestiness(const Nestiness& from); |
551 | |
552 | inline Nestiness& operator=(const Nestiness& from) { |
553 | CopyFrom(from); |
554 | return *this; |
555 | } |
556 | #if LANG_CXX11 |
557 | Nestiness(Nestiness&& from) noexcept |
558 | : Nestiness() { |
559 | *this = ::std::move(from); |
560 | } |
561 | |
562 | inline Nestiness& operator=(Nestiness&& from) noexcept { |
563 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
564 | if (this != &from) InternalSwap(&from); |
565 | } else { |
566 | CopyFrom(from); |
567 | } |
568 | return *this; |
569 | } |
570 | #endif |
571 | static const ::google::protobuf::Descriptor* descriptor(); |
572 | static const Nestiness& default_instance(); |
573 | |
574 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
575 | static inline const Nestiness* internal_default_instance() { |
576 | return reinterpret_cast<const Nestiness*>( |
577 | &_Nestiness_default_instance_); |
578 | } |
579 | static constexpr int kIndexInFileMessages = |
580 | 3; |
581 | |
582 | void Swap(Nestiness* other); |
583 | friend void swap(Nestiness& a, Nestiness& b) { |
584 | a.Swap(&b); |
585 | } |
586 | |
587 | // implements Message ---------------------------------------------- |
588 | |
589 | inline Nestiness* New() const final { |
590 | return CreateMaybeMessage<Nestiness>(NULL); |
591 | } |
592 | |
593 | Nestiness* New(::google::protobuf::Arena* arena) const final { |
594 | return CreateMaybeMessage<Nestiness>(arena); |
595 | } |
596 | void CopyFrom(const ::google::protobuf::Message& from) final; |
597 | void MergeFrom(const ::google::protobuf::Message& from) final; |
598 | void CopyFrom(const Nestiness& from); |
599 | void MergeFrom(const Nestiness& from); |
600 | void Clear() final; |
601 | bool IsInitialized() const final; |
602 | |
603 | size_t ByteSizeLong() const final; |
604 | bool MergePartialFromCodedStream( |
605 | ::google::protobuf::io::CodedInputStream* input) final; |
606 | void SerializeWithCachedSizes( |
607 | ::google::protobuf::io::CodedOutputStream* output) const final; |
608 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
609 | bool deterministic, ::google::protobuf::uint8* target) const final; |
610 | int GetCachedSize() const final { return _cached_size_.Get(); } |
611 | |
612 | private: |
613 | void SharedCtor(); |
614 | void SharedDtor(); |
615 | void SetCachedSize(int size) const final; |
616 | void InternalSwap(Nestiness* other); |
617 | private: |
618 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
619 | return NULL; |
620 | } |
621 | inline void* MaybeArenaPtr() const { |
622 | return NULL; |
623 | } |
624 | public: |
625 | |
626 | ::google::protobuf::Metadata GetMetadata() const final; |
627 | |
628 | // nested types ---------------------------------------------------- |
629 | |
630 | typedef Nestiness_SubA SubA; |
631 | |
632 | // accessors ------------------------------------------------------- |
633 | |
634 | // .Nestiness.SubA a = 1; |
635 | bool has_a() const; |
636 | void clear_a(); |
637 | static const int kAFieldNumber = 1; |
638 | private: |
639 | const ::Nestiness_SubA& _internal_a() const; |
640 | public: |
641 | const ::Nestiness_SubA& a() const; |
642 | ::Nestiness_SubA* release_a(); |
643 | ::Nestiness_SubA* mutable_a(); |
644 | void set_allocated_a(::Nestiness_SubA* a); |
645 | |
646 | // @@protoc_insertion_point(class_scope:Nestiness) |
647 | private: |
648 | |
649 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
650 | ::Nestiness_SubA* a_; |
651 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
652 | friend struct ::protobuf_00825_5fprotobuf_5fformat_2eproto::TableStruct; |
653 | }; |
654 | // ------------------------------------------------------------------- |
655 | |
656 | class Person_MeasureUnit : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Person.MeasureUnit) */ { |
657 | public: |
658 | Person_MeasureUnit(); |
659 | virtual ~Person_MeasureUnit(); |
660 | |
661 | Person_MeasureUnit(const Person_MeasureUnit& from); |
662 | |
663 | inline Person_MeasureUnit& operator=(const Person_MeasureUnit& from) { |
664 | CopyFrom(from); |
665 | return *this; |
666 | } |
667 | #if LANG_CXX11 |
668 | Person_MeasureUnit(Person_MeasureUnit&& from) noexcept |
669 | : Person_MeasureUnit() { |
670 | *this = ::std::move(from); |
671 | } |
672 | |
673 | inline Person_MeasureUnit& operator=(Person_MeasureUnit&& from) noexcept { |
674 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
675 | if (this != &from) InternalSwap(&from); |
676 | } else { |
677 | CopyFrom(from); |
678 | } |
679 | return *this; |
680 | } |
681 | #endif |
682 | static const ::google::protobuf::Descriptor* descriptor(); |
683 | static const Person_MeasureUnit& default_instance(); |
684 | |
685 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
686 | static inline const Person_MeasureUnit* internal_default_instance() { |
687 | return reinterpret_cast<const Person_MeasureUnit*>( |
688 | &_Person_MeasureUnit_default_instance_); |
689 | } |
690 | static constexpr int kIndexInFileMessages = |
691 | 4; |
692 | |
693 | void Swap(Person_MeasureUnit* other); |
694 | friend void swap(Person_MeasureUnit& a, Person_MeasureUnit& b) { |
695 | a.Swap(&b); |
696 | } |
697 | |
698 | // implements Message ---------------------------------------------- |
699 | |
700 | inline Person_MeasureUnit* New() const final { |
701 | return CreateMaybeMessage<Person_MeasureUnit>(NULL); |
702 | } |
703 | |
704 | Person_MeasureUnit* New(::google::protobuf::Arena* arena) const final { |
705 | return CreateMaybeMessage<Person_MeasureUnit>(arena); |
706 | } |
707 | void CopyFrom(const ::google::protobuf::Message& from) final; |
708 | void MergeFrom(const ::google::protobuf::Message& from) final; |
709 | void CopyFrom(const Person_MeasureUnit& from); |
710 | void MergeFrom(const Person_MeasureUnit& from); |
711 | void Clear() final; |
712 | bool IsInitialized() const final; |
713 | |
714 | size_t ByteSizeLong() const final; |
715 | bool MergePartialFromCodedStream( |
716 | ::google::protobuf::io::CodedInputStream* input) final; |
717 | void SerializeWithCachedSizes( |
718 | ::google::protobuf::io::CodedOutputStream* output) const final; |
719 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
720 | bool deterministic, ::google::protobuf::uint8* target) const final; |
721 | int GetCachedSize() const final { return _cached_size_.Get(); } |
722 | |
723 | private: |
724 | void SharedCtor(); |
725 | void SharedDtor(); |
726 | void SetCachedSize(int size) const final; |
727 | void InternalSwap(Person_MeasureUnit* other); |
728 | private: |
729 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
730 | return NULL; |
731 | } |
732 | inline void* MaybeArenaPtr() const { |
733 | return NULL; |
734 | } |
735 | public: |
736 | |
737 | ::google::protobuf::Metadata GetMetadata() const final; |
738 | |
739 | // nested types ---------------------------------------------------- |
740 | |
741 | // accessors ------------------------------------------------------- |
742 | |
743 | // string unit = 1; |
744 | void clear_unit(); |
745 | static const int kUnitFieldNumber = 1; |
746 | const ::std::string& unit() const; |
747 | void set_unit(const ::std::string& value); |
748 | #if LANG_CXX11 |
749 | void set_unit(::std::string&& value); |
750 | #endif |
751 | void set_unit(const char* value); |
752 | void set_unit(const char* value, size_t size); |
753 | ::std::string* mutable_unit(); |
754 | ::std::string* release_unit(); |
755 | void set_allocated_unit(::std::string* unit); |
756 | |
757 | // float coef = 2; |
758 | void clear_coef(); |
759 | static const int kCoefFieldNumber = 2; |
760 | float coef() const; |
761 | void set_coef(float value); |
762 | |
763 | // @@protoc_insertion_point(class_scope:Person.MeasureUnit) |
764 | private: |
765 | |
766 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
767 | ::google::protobuf::internal::ArenaStringPtr unit_; |
768 | float coef_; |
769 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
770 | friend struct ::protobuf_00825_5fprotobuf_5fformat_2eproto::TableStruct; |
771 | }; |
772 | // ------------------------------------------------------------------- |
773 | |
774 | class Person : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:Person) */ { |
775 | public: |
776 | Person(); |
777 | virtual ~Person(); |
778 | |
779 | Person(const Person& from); |
780 | |
781 | inline Person& operator=(const Person& from) { |
782 | CopyFrom(from); |
783 | return *this; |
784 | } |
785 | #if LANG_CXX11 |
786 | Person(Person&& from) noexcept |
787 | : Person() { |
788 | *this = ::std::move(from); |
789 | } |
790 | |
791 | inline Person& operator=(Person&& from) noexcept { |
792 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
793 | if (this != &from) InternalSwap(&from); |
794 | } else { |
795 | CopyFrom(from); |
796 | } |
797 | return *this; |
798 | } |
799 | #endif |
800 | static const ::google::protobuf::Descriptor* descriptor(); |
801 | static const Person& default_instance(); |
802 | |
803 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
804 | static inline const Person* internal_default_instance() { |
805 | return reinterpret_cast<const Person*>( |
806 | &_Person_default_instance_); |
807 | } |
808 | static constexpr int kIndexInFileMessages = |
809 | 5; |
810 | |
811 | void Swap(Person* other); |
812 | friend void swap(Person& a, Person& b) { |
813 | a.Swap(&b); |
814 | } |
815 | |
816 | // implements Message ---------------------------------------------- |
817 | |
818 | inline Person* New() const final { |
819 | return CreateMaybeMessage<Person>(NULL); |
820 | } |
821 | |
822 | Person* New(::google::protobuf::Arena* arena) const final { |
823 | return CreateMaybeMessage<Person>(arena); |
824 | } |
825 | void CopyFrom(const ::google::protobuf::Message& from) final; |
826 | void MergeFrom(const ::google::protobuf::Message& from) final; |
827 | void CopyFrom(const Person& from); |
828 | void MergeFrom(const Person& from); |
829 | void Clear() final; |
830 | bool IsInitialized() const final; |
831 | |
832 | size_t ByteSizeLong() const final; |
833 | bool MergePartialFromCodedStream( |
834 | ::google::protobuf::io::CodedInputStream* input) final; |
835 | void SerializeWithCachedSizes( |
836 | ::google::protobuf::io::CodedOutputStream* output) const final; |
837 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
838 | bool deterministic, ::google::protobuf::uint8* target) const final; |
839 | int GetCachedSize() const final { return _cached_size_.Get(); } |
840 | |
841 | private: |
842 | void SharedCtor(); |
843 | void SharedDtor(); |
844 | void SetCachedSize(int size) const final; |
845 | void InternalSwap(Person* other); |
846 | private: |
847 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
848 | return NULL; |
849 | } |
850 | inline void* MaybeArenaPtr() const { |
851 | return NULL; |
852 | } |
853 | public: |
854 | |
855 | ::google::protobuf::Metadata GetMetadata() const final; |
856 | |
857 | // nested types ---------------------------------------------------- |
858 | |
859 | typedef Person_MeasureUnit MeasureUnit; |
860 | |
861 | // accessors ------------------------------------------------------- |
862 | |
863 | // repeated string songs = 12; |
864 | int songs_size() const; |
865 | void clear_songs(); |
866 | static const int kSongsFieldNumber = 12; |
867 | const ::std::string& songs(int index) const; |
868 | ::std::string* mutable_songs(int index); |
869 | void set_songs(int index, const ::std::string& value); |
870 | #if LANG_CXX11 |
871 | void set_songs(int index, ::std::string&& value); |
872 | #endif |
873 | void set_songs(int index, const char* value); |
874 | void set_songs(int index, const char* value, size_t size); |
875 | ::std::string* add_songs(); |
876 | void add_songs(const ::std::string& value); |
877 | #if LANG_CXX11 |
878 | void add_songs(::std::string&& value); |
879 | #endif |
880 | void add_songs(const char* value); |
881 | void add_songs(const char* value, size_t size); |
882 | const ::google::protobuf::RepeatedPtrField< ::std::string>& songs() const; |
883 | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_songs(); |
884 | |
885 | // repeated uint32 color = 13; |
886 | int color_size() const; |
887 | void clear_color(); |
888 | static const int kColorFieldNumber = 13; |
889 | ::google::protobuf::uint32 color(int index) const; |
890 | void set_color(int index, ::google::protobuf::uint32 value); |
891 | void add_color(::google::protobuf::uint32 value); |
892 | const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& |
893 | color() const; |
894 | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* |
895 | mutable_color(); |
896 | |
897 | // repeated float location = 15; |
898 | int location_size() const; |
899 | void clear_location(); |
900 | static const int kLocationFieldNumber = 15; |
901 | float location(int index) const; |
902 | void set_location(int index, float value); |
903 | void add_location(float value); |
904 | const ::google::protobuf::RepeatedField< float >& |
905 | location() const; |
906 | ::google::protobuf::RepeatedField< float >* |
907 | mutable_location(); |
908 | |
909 | // repeated .Person.MeasureUnit measureUnits = 21; |
910 | int measureunits_size() const; |
911 | void clear_measureunits(); |
912 | static const int kMeasureUnitsFieldNumber = 21; |
913 | ::Person_MeasureUnit* mutable_measureunits(int index); |
914 | ::google::protobuf::RepeatedPtrField< ::Person_MeasureUnit >* |
915 | mutable_measureunits(); |
916 | const ::Person_MeasureUnit& measureunits(int index) const; |
917 | ::Person_MeasureUnit* add_measureunits(); |
918 | const ::google::protobuf::RepeatedPtrField< ::Person_MeasureUnit >& |
919 | measureunits() const; |
920 | |
921 | // string uuid = 1; |
922 | void clear_uuid(); |
923 | static const int kUuidFieldNumber = 1; |
924 | const ::std::string& uuid() const; |
925 | void set_uuid(const ::std::string& value); |
926 | #if LANG_CXX11 |
927 | void set_uuid(::std::string&& value); |
928 | #endif |
929 | void set_uuid(const char* value); |
930 | void set_uuid(const char* value, size_t size); |
931 | ::std::string* mutable_uuid(); |
932 | ::std::string* release_uuid(); |
933 | void set_allocated_uuid(::std::string* uuid); |
934 | |
935 | // string name = 2; |
936 | void clear_name(); |
937 | static const int kNameFieldNumber = 2; |
938 | const ::std::string& name() const; |
939 | void set_name(const ::std::string& value); |
940 | #if LANG_CXX11 |
941 | void set_name(::std::string&& value); |
942 | #endif |
943 | void set_name(const char* value); |
944 | void set_name(const char* value, size_t size); |
945 | ::std::string* mutable_name(); |
946 | ::std::string* release_name(); |
947 | void set_allocated_name(::std::string* name); |
948 | |
949 | // string surname = 3; |
950 | void clear_surname(); |
951 | static const int kSurnameFieldNumber = 3; |
952 | const ::std::string& surname() const; |
953 | void set_surname(const ::std::string& value); |
954 | #if LANG_CXX11 |
955 | void set_surname(::std::string&& value); |
956 | #endif |
957 | void set_surname(const char* value); |
958 | void set_surname(const char* value, size_t size); |
959 | ::std::string* mutable_surname(); |
960 | ::std::string* release_surname(); |
961 | void set_allocated_surname(::std::string* surname); |
962 | |
963 | // bytes photo = 6; |
964 | void clear_photo(); |
965 | static const int kPhotoFieldNumber = 6; |
966 | const ::std::string& photo() const; |
967 | void set_photo(const ::std::string& value); |
968 | #if LANG_CXX11 |
969 | void set_photo(::std::string&& value); |
970 | #endif |
971 | void set_photo(const char* value); |
972 | void set_photo(const void* value, size_t size); |
973 | ::std::string* mutable_photo(); |
974 | ::std::string* release_photo(); |
975 | void set_allocated_photo(::std::string* photo); |
976 | |
977 | // string phoneNumber = 7; |
978 | void clear_phonenumber(); |
979 | static const int kPhoneNumberFieldNumber = 7; |
980 | const ::std::string& phonenumber() const; |
981 | void set_phonenumber(const ::std::string& value); |
982 | #if LANG_CXX11 |
983 | void set_phonenumber(::std::string&& value); |
984 | #endif |
985 | void set_phonenumber(const char* value); |
986 | void set_phonenumber(const char* value, size_t size); |
987 | ::std::string* mutable_phonenumber(); |
988 | ::std::string* release_phonenumber(); |
989 | void set_allocated_phonenumber(::std::string* phonenumber); |
990 | |
991 | // string hometown = 14; |
992 | void clear_hometown(); |
993 | static const int kHometownFieldNumber = 14; |
994 | const ::std::string& hometown() const; |
995 | void set_hometown(const ::std::string& value); |
996 | #if LANG_CXX11 |
997 | void set_hometown(::std::string&& value); |
998 | #endif |
999 | void set_hometown(const char* value); |
1000 | void set_hometown(const char* value, size_t size); |
1001 | ::std::string* mutable_hometown(); |
1002 | ::std::string* release_hometown(); |
1003 | void set_allocated_hometown(::std::string* hometown); |
1004 | |
1005 | // .Nestiness nestiness = 22; |
1006 | bool has_nestiness() const; |
1007 | void clear_nestiness(); |
1008 | static const int kNestinessFieldNumber = 22; |
1009 | private: |
1010 | const ::Nestiness& _internal_nestiness() const; |
1011 | public: |
1012 | const ::Nestiness& nestiness() const; |
1013 | ::Nestiness* release_nestiness(); |
1014 | ::Nestiness* mutable_nestiness(); |
1015 | void set_allocated_nestiness(::Nestiness* nestiness); |
1016 | |
1017 | // .Gender gender = 4; |
1018 | void clear_gender(); |
1019 | static const int kGenderFieldNumber = 4; |
1020 | ::Gender gender() const; |
1021 | void set_gender(::Gender value); |
1022 | |
1023 | // uint32 birthDate = 5; |
1024 | void clear_birthdate(); |
1025 | static const int kBirthDateFieldNumber = 5; |
1026 | ::google::protobuf::uint32 birthdate() const; |
1027 | void set_birthdate(::google::protobuf::uint32 value); |
1028 | |
1029 | // bool isOnline = 8; |
1030 | void clear_isonline(); |
1031 | static const int kIsOnlineFieldNumber = 8; |
1032 | bool isonline() const; |
1033 | void set_isonline(bool value); |
1034 | |
1035 | // fixed32 visitTime = 9; |
1036 | void clear_visittime(); |
1037 | static const int kVisitTimeFieldNumber = 9; |
1038 | ::google::protobuf::uint32 visittime() const; |
1039 | void set_visittime(::google::protobuf::uint32 value); |
1040 | |
1041 | // uint32 age = 10; |
1042 | void clear_age(); |
1043 | static const int kAgeFieldNumber = 10; |
1044 | ::google::protobuf::uint32 age() const; |
1045 | void set_age(::google::protobuf::uint32 value); |
1046 | |
1047 | // .ZodiacSign zodiacSign = 11; |
1048 | void clear_zodiacsign(); |
1049 | static const int kZodiacSignFieldNumber = 11; |
1050 | ::ZodiacSign zodiacsign() const; |
1051 | void set_zodiacsign(::ZodiacSign value); |
1052 | |
1053 | // double pi = 16; |
1054 | void clear_pi(); |
1055 | static const int kPiFieldNumber = 16; |
1056 | double pi() const; |
1057 | void set_pi(double value); |
1058 | |
1059 | // double lotteryWin = 17; |
1060 | void clear_lotterywin(); |
1061 | static const int kLotteryWinFieldNumber = 17; |
1062 | double lotterywin() const; |
1063 | void set_lotterywin(double value); |
1064 | |
1065 | // float someRatio = 18; |
1066 | void clear_someratio(); |
1067 | static const int kSomeRatioFieldNumber = 18; |
1068 | float someratio() const; |
1069 | void set_someratio(float value); |
1070 | |
1071 | // float temperature = 19; |
1072 | void clear_temperature(); |
1073 | static const int kTemperatureFieldNumber = 19; |
1074 | float temperature() const; |
1075 | void set_temperature(float value); |
1076 | |
1077 | // sint64 randomBigNumber = 20; |
1078 | void clear_randombignumber(); |
1079 | static const int kRandomBigNumberFieldNumber = 20; |
1080 | ::google::protobuf::int64 randombignumber() const; |
1081 | void set_randombignumber(::google::protobuf::int64 value); |
1082 | |
1083 | // @@protoc_insertion_point(class_scope:Person) |
1084 | private: |
1085 | |
1086 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1087 | ::google::protobuf::RepeatedPtrField< ::std::string> songs_; |
1088 | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > color_; |
1089 | mutable int _color_cached_byte_size_; |
1090 | ::google::protobuf::RepeatedField< float > location_; |
1091 | mutable int _location_cached_byte_size_; |
1092 | ::google::protobuf::RepeatedPtrField< ::Person_MeasureUnit > measureunits_; |
1093 | ::google::protobuf::internal::ArenaStringPtr uuid_; |
1094 | ::google::protobuf::internal::ArenaStringPtr name_; |
1095 | ::google::protobuf::internal::ArenaStringPtr surname_; |
1096 | ::google::protobuf::internal::ArenaStringPtr photo_; |
1097 | ::google::protobuf::internal::ArenaStringPtr phonenumber_; |
1098 | ::google::protobuf::internal::ArenaStringPtr hometown_; |
1099 | ::Nestiness* nestiness_; |
1100 | int gender_; |
1101 | ::google::protobuf::uint32 birthdate_; |
1102 | bool isonline_; |
1103 | ::google::protobuf::uint32 visittime_; |
1104 | ::google::protobuf::uint32 age_; |
1105 | int zodiacsign_; |
1106 | double pi_; |
1107 | double lotterywin_; |
1108 | float someratio_; |
1109 | float temperature_; |
1110 | ::google::protobuf::int64 randombignumber_; |
1111 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1112 | friend struct ::protobuf_00825_5fprotobuf_5fformat_2eproto::TableStruct; |
1113 | }; |
1114 | // ------------------------------------------------------------------- |
1115 | |
1116 | class AltPerson_Dummy_Empty : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:AltPerson.Dummy.Empty) */ { |
1117 | public: |
1118 | AltPerson_Dummy_Empty(); |
1119 | virtual ~AltPerson_Dummy_Empty(); |
1120 | |
1121 | AltPerson_Dummy_Empty(const AltPerson_Dummy_Empty& from); |
1122 | |
1123 | inline AltPerson_Dummy_Empty& operator=(const AltPerson_Dummy_Empty& from) { |
1124 | CopyFrom(from); |
1125 | return *this; |
1126 | } |
1127 | #if LANG_CXX11 |
1128 | AltPerson_Dummy_Empty(AltPerson_Dummy_Empty&& from) noexcept |
1129 | : AltPerson_Dummy_Empty() { |
1130 | *this = ::std::move(from); |
1131 | } |
1132 | |
1133 | inline AltPerson_Dummy_Empty& operator=(AltPerson_Dummy_Empty&& from) noexcept { |
1134 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1135 | if (this != &from) InternalSwap(&from); |
1136 | } else { |
1137 | CopyFrom(from); |
1138 | } |
1139 | return *this; |
1140 | } |
1141 | #endif |
1142 | static const ::google::protobuf::Descriptor* descriptor(); |
1143 | static const AltPerson_Dummy_Empty& default_instance(); |
1144 | |
1145 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1146 | static inline const AltPerson_Dummy_Empty* internal_default_instance() { |
1147 | return reinterpret_cast<const AltPerson_Dummy_Empty*>( |
1148 | &_AltPerson_Dummy_Empty_default_instance_); |
1149 | } |
1150 | static constexpr int kIndexInFileMessages = |
1151 | 6; |
1152 | |
1153 | void Swap(AltPerson_Dummy_Empty* other); |
1154 | friend void swap(AltPerson_Dummy_Empty& a, AltPerson_Dummy_Empty& b) { |
1155 | a.Swap(&b); |
1156 | } |
1157 | |
1158 | // implements Message ---------------------------------------------- |
1159 | |
1160 | inline AltPerson_Dummy_Empty* New() const final { |
1161 | return CreateMaybeMessage<AltPerson_Dummy_Empty>(NULL); |
1162 | } |
1163 | |
1164 | AltPerson_Dummy_Empty* New(::google::protobuf::Arena* arena) const final { |
1165 | return CreateMaybeMessage<AltPerson_Dummy_Empty>(arena); |
1166 | } |
1167 | void CopyFrom(const ::google::protobuf::Message& from) final; |
1168 | void MergeFrom(const ::google::protobuf::Message& from) final; |
1169 | void CopyFrom(const AltPerson_Dummy_Empty& from); |
1170 | void MergeFrom(const AltPerson_Dummy_Empty& from); |
1171 | void Clear() final; |
1172 | bool IsInitialized() const final; |
1173 | |
1174 | size_t ByteSizeLong() const final; |
1175 | bool MergePartialFromCodedStream( |
1176 | ::google::protobuf::io::CodedInputStream* input) final; |
1177 | void SerializeWithCachedSizes( |
1178 | ::google::protobuf::io::CodedOutputStream* output) const final; |
1179 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1180 | bool deterministic, ::google::protobuf::uint8* target) const final; |
1181 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1182 | |
1183 | private: |
1184 | void SharedCtor(); |
1185 | void SharedDtor(); |
1186 | void SetCachedSize(int size) const final; |
1187 | void InternalSwap(AltPerson_Dummy_Empty* other); |
1188 | private: |
1189 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1190 | return NULL; |
1191 | } |
1192 | inline void* MaybeArenaPtr() const { |
1193 | return NULL; |
1194 | } |
1195 | public: |
1196 | |
1197 | ::google::protobuf::Metadata GetMetadata() const final; |
1198 | |
1199 | // nested types ---------------------------------------------------- |
1200 | |
1201 | // accessors ------------------------------------------------------- |
1202 | |
1203 | // @@protoc_insertion_point(class_scope:AltPerson.Dummy.Empty) |
1204 | private: |
1205 | |
1206 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1207 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1208 | friend struct ::protobuf_00825_5fprotobuf_5fformat_2eproto::TableStruct; |
1209 | }; |
1210 | // ------------------------------------------------------------------- |
1211 | |
1212 | class AltPerson_Dummy : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:AltPerson.Dummy) */ { |
1213 | public: |
1214 | AltPerson_Dummy(); |
1215 | virtual ~AltPerson_Dummy(); |
1216 | |
1217 | AltPerson_Dummy(const AltPerson_Dummy& from); |
1218 | |
1219 | inline AltPerson_Dummy& operator=(const AltPerson_Dummy& from) { |
1220 | CopyFrom(from); |
1221 | return *this; |
1222 | } |
1223 | #if LANG_CXX11 |
1224 | AltPerson_Dummy(AltPerson_Dummy&& from) noexcept |
1225 | : AltPerson_Dummy() { |
1226 | *this = ::std::move(from); |
1227 | } |
1228 | |
1229 | inline AltPerson_Dummy& operator=(AltPerson_Dummy&& from) noexcept { |
1230 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1231 | if (this != &from) InternalSwap(&from); |
1232 | } else { |
1233 | CopyFrom(from); |
1234 | } |
1235 | return *this; |
1236 | } |
1237 | #endif |
1238 | static const ::google::protobuf::Descriptor* descriptor(); |
1239 | static const AltPerson_Dummy& default_instance(); |
1240 | |
1241 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1242 | static inline const AltPerson_Dummy* internal_default_instance() { |
1243 | return reinterpret_cast<const AltPerson_Dummy*>( |
1244 | &_AltPerson_Dummy_default_instance_); |
1245 | } |
1246 | static constexpr int kIndexInFileMessages = |
1247 | 7; |
1248 | |
1249 | void Swap(AltPerson_Dummy* other); |
1250 | friend void swap(AltPerson_Dummy& a, AltPerson_Dummy& b) { |
1251 | a.Swap(&b); |
1252 | } |
1253 | |
1254 | // implements Message ---------------------------------------------- |
1255 | |
1256 | inline AltPerson_Dummy* New() const final { |
1257 | return CreateMaybeMessage<AltPerson_Dummy>(NULL); |
1258 | } |
1259 | |
1260 | AltPerson_Dummy* New(::google::protobuf::Arena* arena) const final { |
1261 | return CreateMaybeMessage<AltPerson_Dummy>(arena); |
1262 | } |
1263 | void CopyFrom(const ::google::protobuf::Message& from) final; |
1264 | void MergeFrom(const ::google::protobuf::Message& from) final; |
1265 | void CopyFrom(const AltPerson_Dummy& from); |
1266 | void MergeFrom(const AltPerson_Dummy& from); |
1267 | void Clear() final; |
1268 | bool IsInitialized() const final; |
1269 | |
1270 | size_t ByteSizeLong() const final; |
1271 | bool MergePartialFromCodedStream( |
1272 | ::google::protobuf::io::CodedInputStream* input) final; |
1273 | void SerializeWithCachedSizes( |
1274 | ::google::protobuf::io::CodedOutputStream* output) const final; |
1275 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1276 | bool deterministic, ::google::protobuf::uint8* target) const final; |
1277 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1278 | |
1279 | private: |
1280 | void SharedCtor(); |
1281 | void SharedDtor(); |
1282 | void SetCachedSize(int size) const final; |
1283 | void InternalSwap(AltPerson_Dummy* other); |
1284 | private: |
1285 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1286 | return NULL; |
1287 | } |
1288 | inline void* MaybeArenaPtr() const { |
1289 | return NULL; |
1290 | } |
1291 | public: |
1292 | |
1293 | ::google::protobuf::Metadata GetMetadata() const final; |
1294 | |
1295 | // nested types ---------------------------------------------------- |
1296 | |
1297 | typedef AltPerson_Dummy_Empty Empty; |
1298 | |
1299 | // accessors ------------------------------------------------------- |
1300 | |
1301 | // repeated .AltPerson.Dummy.Empty empty = 1; |
1302 | int empty_size() const; |
1303 | void clear_empty(); |
1304 | static const int kEmptyFieldNumber = 1; |
1305 | ::AltPerson_Dummy_Empty* mutable_empty(int index); |
1306 | ::google::protobuf::RepeatedPtrField< ::AltPerson_Dummy_Empty >* |
1307 | mutable_empty(); |
1308 | const ::AltPerson_Dummy_Empty& empty(int index) const; |
1309 | ::AltPerson_Dummy_Empty* add_empty(); |
1310 | const ::google::protobuf::RepeatedPtrField< ::AltPerson_Dummy_Empty >& |
1311 | empty() const; |
1312 | |
1313 | // float z = 2; |
1314 | void clear_z(); |
1315 | static const int kZFieldNumber = 2; |
1316 | float z() const; |
1317 | void set_z(float value); |
1318 | |
1319 | // @@protoc_insertion_point(class_scope:AltPerson.Dummy) |
1320 | private: |
1321 | |
1322 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1323 | ::google::protobuf::RepeatedPtrField< ::AltPerson_Dummy_Empty > empty_; |
1324 | float z_; |
1325 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1326 | friend struct ::protobuf_00825_5fprotobuf_5fformat_2eproto::TableStruct; |
1327 | }; |
1328 | // ------------------------------------------------------------------- |
1329 | |
1330 | class AltPerson : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:AltPerson) */ { |
1331 | public: |
1332 | AltPerson(); |
1333 | virtual ~AltPerson(); |
1334 | |
1335 | AltPerson(const AltPerson& from); |
1336 | |
1337 | inline AltPerson& operator=(const AltPerson& from) { |
1338 | CopyFrom(from); |
1339 | return *this; |
1340 | } |
1341 | #if LANG_CXX11 |
1342 | AltPerson(AltPerson&& from) noexcept |
1343 | : AltPerson() { |
1344 | *this = ::std::move(from); |
1345 | } |
1346 | |
1347 | inline AltPerson& operator=(AltPerson&& from) noexcept { |
1348 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1349 | if (this != &from) InternalSwap(&from); |
1350 | } else { |
1351 | CopyFrom(from); |
1352 | } |
1353 | return *this; |
1354 | } |
1355 | #endif |
1356 | static const ::google::protobuf::Descriptor* descriptor(); |
1357 | static const AltPerson& default_instance(); |
1358 | |
1359 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1360 | static inline const AltPerson* internal_default_instance() { |
1361 | return reinterpret_cast<const AltPerson*>( |
1362 | &_AltPerson_default_instance_); |
1363 | } |
1364 | static constexpr int kIndexInFileMessages = |
1365 | 8; |
1366 | |
1367 | void Swap(AltPerson* other); |
1368 | friend void swap(AltPerson& a, AltPerson& b) { |
1369 | a.Swap(&b); |
1370 | } |
1371 | |
1372 | // implements Message ---------------------------------------------- |
1373 | |
1374 | inline AltPerson* New() const final { |
1375 | return CreateMaybeMessage<AltPerson>(NULL); |
1376 | } |
1377 | |
1378 | AltPerson* New(::google::protobuf::Arena* arena) const final { |
1379 | return CreateMaybeMessage<AltPerson>(arena); |
1380 | } |
1381 | void CopyFrom(const ::google::protobuf::Message& from) final; |
1382 | void MergeFrom(const ::google::protobuf::Message& from) final; |
1383 | void CopyFrom(const AltPerson& from); |
1384 | void MergeFrom(const AltPerson& from); |
1385 | void Clear() final; |
1386 | bool IsInitialized() const final; |
1387 | |
1388 | size_t ByteSizeLong() const final; |
1389 | bool MergePartialFromCodedStream( |
1390 | ::google::protobuf::io::CodedInputStream* input) final; |
1391 | void SerializeWithCachedSizes( |
1392 | ::google::protobuf::io::CodedOutputStream* output) const final; |
1393 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1394 | bool deterministic, ::google::protobuf::uint8* target) const final; |
1395 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1396 | |
1397 | private: |
1398 | void SharedCtor(); |
1399 | void SharedDtor(); |
1400 | void SetCachedSize(int size) const final; |
1401 | void InternalSwap(AltPerson* other); |
1402 | private: |
1403 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1404 | return NULL; |
1405 | } |
1406 | inline void* MaybeArenaPtr() const { |
1407 | return NULL; |
1408 | } |
1409 | public: |
1410 | |
1411 | ::google::protobuf::Metadata GetMetadata() const final; |
1412 | |
1413 | // nested types ---------------------------------------------------- |
1414 | |
1415 | typedef AltPerson_Dummy Dummy; |
1416 | |
1417 | typedef AltPerson_Gender Gender; |
1418 | static const Gender male = |
1419 | AltPerson_Gender_male; |
1420 | static const Gender female = |
1421 | AltPerson_Gender_female; |
1422 | static inline bool Gender_IsValid(int value) { |
1423 | return AltPerson_Gender_IsValid(value); |
1424 | } |
1425 | static const Gender Gender_MIN = |
1426 | AltPerson_Gender_Gender_MIN; |
1427 | static const Gender Gender_MAX = |
1428 | AltPerson_Gender_Gender_MAX; |
1429 | static const int Gender_ARRAYSIZE = |
1430 | AltPerson_Gender_Gender_ARRAYSIZE; |
1431 | static inline const ::google::protobuf::EnumDescriptor* |
1432 | Gender_descriptor() { |
1433 | return AltPerson_Gender_descriptor(); |
1434 | } |
1435 | static inline const ::std::string& Gender_Name(Gender value) { |
1436 | return AltPerson_Gender_Name(value); |
1437 | } |
1438 | static inline bool Gender_Parse(const ::std::string& name, |
1439 | Gender* value) { |
1440 | return AltPerson_Gender_Parse(name, value); |
1441 | } |
1442 | |
1443 | // accessors ------------------------------------------------------- |
1444 | |
1445 | // repeated float color = 14; |
1446 | int color_size() const; |
1447 | void clear_color(); |
1448 | static const int kColorFieldNumber = 14; |
1449 | float color(int index) const; |
1450 | void set_color(int index, float value); |
1451 | void add_color(float value); |
1452 | const ::google::protobuf::RepeatedField< float >& |
1453 | color() const; |
1454 | ::google::protobuf::RepeatedField< float >* |
1455 | mutable_color(); |
1456 | |
1457 | // repeated float measureUnits_coef = 88; |
1458 | int measureunits_coef_size() const; |
1459 | void clear_measureunits_coef(); |
1460 | static const int kMeasureUnitsCoefFieldNumber = 88; |
1461 | float measureunits_coef(int index) const; |
1462 | void set_measureunits_coef(int index, float value); |
1463 | void add_measureunits_coef(float value); |
1464 | const ::google::protobuf::RepeatedField< float >& |
1465 | measureunits_coef() const; |
1466 | ::google::protobuf::RepeatedField< float >* |
1467 | mutable_measureunits_coef(); |
1468 | |
1469 | // repeated string measureUnits_unit = 99; |
1470 | int measureunits_unit_size() const; |
1471 | void clear_measureunits_unit(); |
1472 | static const int kMeasureUnitsUnitFieldNumber = 99; |
1473 | const ::std::string& measureunits_unit(int index) const; |
1474 | ::std::string* mutable_measureunits_unit(int index); |
1475 | void set_measureunits_unit(int index, const ::std::string& value); |
1476 | #if LANG_CXX11 |
1477 | void set_measureunits_unit(int index, ::std::string&& value); |
1478 | #endif |
1479 | void set_measureunits_unit(int index, const char* value); |
1480 | void set_measureunits_unit(int index, const char* value, size_t size); |
1481 | ::std::string* add_measureunits_unit(); |
1482 | void add_measureunits_unit(const ::std::string& value); |
1483 | #if LANG_CXX11 |
1484 | void add_measureunits_unit(::std::string&& value); |
1485 | #endif |
1486 | void add_measureunits_unit(const char* value); |
1487 | void add_measureunits_unit(const char* value, size_t size); |
1488 | const ::google::protobuf::RepeatedPtrField< ::std::string>& measureunits_unit() const; |
1489 | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_measureunits_unit(); |
1490 | |
1491 | // repeated int32 location = 101 [packed = false]; |
1492 | int location_size() const; |
1493 | void clear_location(); |
1494 | static const int kLocationFieldNumber = 101; |
1495 | ::google::protobuf::int32 location(int index) const; |
1496 | void set_location(int index, ::google::protobuf::int32 value); |
1497 | void add_location(::google::protobuf::int32 value); |
1498 | const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
1499 | location() const; |
1500 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
1501 | mutable_location(); |
1502 | |
1503 | // repeated int32 newFieldInt = 104; |
1504 | int newfieldint_size() const; |
1505 | void clear_newfieldint(); |
1506 | static const int kNewFieldIntFieldNumber = 104; |
1507 | ::google::protobuf::int32 newfieldint(int index) const; |
1508 | void set_newfieldint(int index, ::google::protobuf::int32 value); |
1509 | void add_newfieldint(::google::protobuf::int32 value); |
1510 | const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
1511 | newfieldint() const; |
1512 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
1513 | mutable_newfieldint(); |
1514 | |
1515 | // repeated uint32 nestiness_a_b_c_e = 901; |
1516 | int nestiness_a_b_c_e_size() const; |
1517 | void clear_nestiness_a_b_c_e(); |
1518 | static const int kNestinessABCEFieldNumber = 901; |
1519 | ::google::protobuf::uint32 nestiness_a_b_c_e(int index) const; |
1520 | void set_nestiness_a_b_c_e(int index, ::google::protobuf::uint32 value); |
1521 | void add_nestiness_a_b_c_e(::google::protobuf::uint32 value); |
1522 | const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& |
1523 | nestiness_a_b_c_e() const; |
1524 | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* |
1525 | mutable_nestiness_a_b_c_e(); |
1526 | |
1527 | // string name = 2; |
1528 | void clear_name(); |
1529 | static const int kNameFieldNumber = 2; |
1530 | const ::std::string& name() const; |
1531 | void set_name(const ::std::string& value); |
1532 | #if LANG_CXX11 |
1533 | void set_name(::std::string&& value); |
1534 | #endif |
1535 | void set_name(const char* value); |
1536 | void set_name(const char* value, size_t size); |
1537 | ::std::string* mutable_name(); |
1538 | ::std::string* release_name(); |
1539 | void set_allocated_name(::std::string* name); |
1540 | |
1541 | // bytes surname = 10; |
1542 | void clear_surname(); |
1543 | static const int kSurnameFieldNumber = 10; |
1544 | const ::std::string& surname() const; |
1545 | void set_surname(const ::std::string& value); |
1546 | #if LANG_CXX11 |
1547 | void set_surname(::std::string&& value); |
1548 | #endif |
1549 | void set_surname(const char* value); |
1550 | void set_surname(const void* value, size_t size); |
1551 | ::std::string* mutable_surname(); |
1552 | ::std::string* release_surname(); |
1553 | void set_allocated_surname(::std::string* surname); |
1554 | |
1555 | // string newFieldStr = 21; |
1556 | void clear_newfieldstr(); |
1557 | static const int kNewFieldStrFieldNumber = 21; |
1558 | const ::std::string& newfieldstr() const; |
1559 | void set_newfieldstr(const ::std::string& value); |
1560 | #if LANG_CXX11 |
1561 | void set_newfieldstr(::std::string&& value); |
1562 | #endif |
1563 | void set_newfieldstr(const char* value); |
1564 | void set_newfieldstr(const char* value, size_t size); |
1565 | ::std::string* mutable_newfieldstr(); |
1566 | ::std::string* release_newfieldstr(); |
1567 | void set_allocated_newfieldstr(::std::string* newfieldstr); |
1568 | |
1569 | // bytes age = 111; |
1570 | void clear_age(); |
1571 | static const int kAgeFieldNumber = 111; |
1572 | const ::std::string& age() const; |
1573 | void set_age(const ::std::string& value); |
1574 | #if LANG_CXX11 |
1575 | void set_age(::std::string&& value); |
1576 | #endif |
1577 | void set_age(const char* value); |
1578 | void set_age(const void* value, size_t size); |
1579 | ::std::string* mutable_age(); |
1580 | ::std::string* release_age(); |
1581 | void set_allocated_age(::std::string* age); |
1582 | |
1583 | // bytes uuid = 300; |
1584 | void clear_uuid(); |
1585 | static const int kUuidFieldNumber = 300; |
1586 | const ::std::string& uuid() const; |
1587 | void set_uuid(const ::std::string& value); |
1588 | #if LANG_CXX11 |
1589 | void set_uuid(::std::string&& value); |
1590 | #endif |
1591 | void set_uuid(const char* value); |
1592 | void set_uuid(const void* value, size_t size); |
1593 | ::std::string* mutable_uuid(); |
1594 | ::std::string* release_uuid(); |
1595 | void set_allocated_uuid(::std::string* uuid); |
1596 | |
1597 | // .AltPerson.Dummy newMessage = 1000; |
1598 | bool has_newmessage() const; |
1599 | void clear_newmessage(); |
1600 | static const int kNewMessageFieldNumber = 1000; |
1601 | private: |
1602 | const ::AltPerson_Dummy& _internal_newmessage() const; |
1603 | public: |
1604 | const ::AltPerson_Dummy& newmessage() const; |
1605 | ::AltPerson_Dummy* release_newmessage(); |
1606 | ::AltPerson_Dummy* mutable_newmessage(); |
1607 | void set_allocated_newmessage(::AltPerson_Dummy* newmessage); |
1608 | |
1609 | // uint64 phoneNumber = 5; |
1610 | void clear_phonenumber(); |
1611 | static const int kPhoneNumberFieldNumber = 5; |
1612 | ::google::protobuf::uint64 phonenumber() const; |
1613 | void set_phonenumber(::google::protobuf::uint64 value); |
1614 | |
1615 | // fixed64 visitTime = 15; |
1616 | void clear_visittime(); |
1617 | static const int kVisitTimeFieldNumber = 15; |
1618 | ::google::protobuf::uint64 visittime() const; |
1619 | void set_visittime(::google::protobuf::uint64 value); |
1620 | |
1621 | // .OnlineStatus isOnline = 1; |
1622 | void clear_isonline(); |
1623 | static const int kIsOnlineFieldNumber = 1; |
1624 | ::OnlineStatus isonline() const; |
1625 | void set_isonline(::OnlineStatus value); |
1626 | |
1627 | // sint32 temperature = 41; |
1628 | void clear_temperature(); |
1629 | static const int kTemperatureFieldNumber = 41; |
1630 | ::google::protobuf::int32 temperature() const; |
1631 | void set_temperature(::google::protobuf::int32 value); |
1632 | |
1633 | // uint32 nestiness_a_b_c_d = 900; |
1634 | void clear_nestiness_a_b_c_d(); |
1635 | static const int kNestinessABCDFieldNumber = 900; |
1636 | ::google::protobuf::uint32 nestiness_a_b_c_d() const; |
1637 | void set_nestiness_a_b_c_d(::google::protobuf::uint32 value); |
1638 | |
1639 | // double someRatio = 100; |
1640 | void clear_someratio(); |
1641 | static const int kSomeRatioFieldNumber = 100; |
1642 | double someratio() const; |
1643 | void set_someratio(double value); |
1644 | |
1645 | // .AltPerson.Gender gender = 102; |
1646 | void clear_gender(); |
1647 | static const int kGenderFieldNumber = 102; |
1648 | ::AltPerson_Gender gender() const; |
1649 | void set_gender(::AltPerson_Gender value); |
1650 | |
1651 | // float pi = 103; |
1652 | void clear_pi(); |
1653 | static const int kPiFieldNumber = 103; |
1654 | float pi() const; |
1655 | void set_pi(float value); |
1656 | |
1657 | // sfixed64 randomBigNumber = 140; |
1658 | void clear_randombignumber(); |
1659 | static const int kRandomBigNumberFieldNumber = 140; |
1660 | ::google::protobuf::int64 randombignumber() const; |
1661 | void set_randombignumber(::google::protobuf::int64 value); |
1662 | |
1663 | // int64 birthDate = 150; |
1664 | void clear_birthdate(); |
1665 | static const int kBirthDateFieldNumber = 150; |
1666 | ::google::protobuf::int64 birthdate() const; |
1667 | void set_birthdate(::google::protobuf::int64 value); |
1668 | |
1669 | // uint64 lotteryWin = 202; |
1670 | void clear_lotterywin(); |
1671 | static const int kLotteryWinFieldNumber = 202; |
1672 | ::google::protobuf::uint64 lotterywin() const; |
1673 | void set_lotterywin(::google::protobuf::uint64 value); |
1674 | |
1675 | // int32 zodiacSign = 130; |
1676 | void clear_zodiacsign(); |
1677 | static const int kZodiacSignFieldNumber = 130; |
1678 | ::google::protobuf::int32 zodiacsign() const; |
1679 | void set_zodiacsign(::google::protobuf::int32 value); |
1680 | |
1681 | // bool newFieldBool = 299; |
1682 | void clear_newfieldbool(); |
1683 | static const int kNewFieldBoolFieldNumber = 299; |
1684 | bool newfieldbool() const; |
1685 | void set_newfieldbool(bool value); |
1686 | |
1687 | // @@protoc_insertion_point(class_scope:AltPerson) |
1688 | private: |
1689 | |
1690 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1691 | ::google::protobuf::RepeatedField< float > color_; |
1692 | mutable int _color_cached_byte_size_; |
1693 | ::google::protobuf::RepeatedField< float > measureunits_coef_; |
1694 | mutable int _measureunits_coef_cached_byte_size_; |
1695 | ::google::protobuf::RepeatedPtrField< ::std::string> measureunits_unit_; |
1696 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > location_; |
1697 | ::google::protobuf::RepeatedField< ::google::protobuf::int32 > newfieldint_; |
1698 | mutable int _newfieldint_cached_byte_size_; |
1699 | ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > nestiness_a_b_c_e_; |
1700 | mutable int _nestiness_a_b_c_e_cached_byte_size_; |
1701 | ::google::protobuf::internal::ArenaStringPtr name_; |
1702 | ::google::protobuf::internal::ArenaStringPtr surname_; |
1703 | ::google::protobuf::internal::ArenaStringPtr newfieldstr_; |
1704 | ::google::protobuf::internal::ArenaStringPtr age_; |
1705 | ::google::protobuf::internal::ArenaStringPtr uuid_; |
1706 | ::AltPerson_Dummy* newmessage_; |
1707 | ::google::protobuf::uint64 phonenumber_; |
1708 | ::google::protobuf::uint64 visittime_; |
1709 | int isonline_; |
1710 | ::google::protobuf::int32 temperature_; |
1711 | ::google::protobuf::uint32 nestiness_a_b_c_d_; |
1712 | double someratio_; |
1713 | int gender_; |
1714 | float pi_; |
1715 | ::google::protobuf::int64 randombignumber_; |
1716 | ::google::protobuf::int64 birthdate_; |
1717 | ::google::protobuf::uint64 lotterywin_; |
1718 | ::google::protobuf::int32 zodiacsign_; |
1719 | bool newfieldbool_; |
1720 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1721 | friend struct ::protobuf_00825_5fprotobuf_5fformat_2eproto::TableStruct; |
1722 | }; |
1723 | // ------------------------------------------------------------------- |
1724 | |
1725 | class StrPerson_MeasureUnits : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:StrPerson.MeasureUnits) */ { |
1726 | public: |
1727 | StrPerson_MeasureUnits(); |
1728 | virtual ~StrPerson_MeasureUnits(); |
1729 | |
1730 | StrPerson_MeasureUnits(const StrPerson_MeasureUnits& from); |
1731 | |
1732 | inline StrPerson_MeasureUnits& operator=(const StrPerson_MeasureUnits& from) { |
1733 | CopyFrom(from); |
1734 | return *this; |
1735 | } |
1736 | #if LANG_CXX11 |
1737 | StrPerson_MeasureUnits(StrPerson_MeasureUnits&& from) noexcept |
1738 | : StrPerson_MeasureUnits() { |
1739 | *this = ::std::move(from); |
1740 | } |
1741 | |
1742 | inline StrPerson_MeasureUnits& operator=(StrPerson_MeasureUnits&& from) noexcept { |
1743 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1744 | if (this != &from) InternalSwap(&from); |
1745 | } else { |
1746 | CopyFrom(from); |
1747 | } |
1748 | return *this; |
1749 | } |
1750 | #endif |
1751 | static const ::google::protobuf::Descriptor* descriptor(); |
1752 | static const StrPerson_MeasureUnits& default_instance(); |
1753 | |
1754 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1755 | static inline const StrPerson_MeasureUnits* internal_default_instance() { |
1756 | return reinterpret_cast<const StrPerson_MeasureUnits*>( |
1757 | &_StrPerson_MeasureUnits_default_instance_); |
1758 | } |
1759 | static constexpr int kIndexInFileMessages = |
1760 | 9; |
1761 | |
1762 | void Swap(StrPerson_MeasureUnits* other); |
1763 | friend void swap(StrPerson_MeasureUnits& a, StrPerson_MeasureUnits& b) { |
1764 | a.Swap(&b); |
1765 | } |
1766 | |
1767 | // implements Message ---------------------------------------------- |
1768 | |
1769 | inline StrPerson_MeasureUnits* New() const final { |
1770 | return CreateMaybeMessage<StrPerson_MeasureUnits>(NULL); |
1771 | } |
1772 | |
1773 | StrPerson_MeasureUnits* New(::google::protobuf::Arena* arena) const final { |
1774 | return CreateMaybeMessage<StrPerson_MeasureUnits>(arena); |
1775 | } |
1776 | void CopyFrom(const ::google::protobuf::Message& from) final; |
1777 | void MergeFrom(const ::google::protobuf::Message& from) final; |
1778 | void CopyFrom(const StrPerson_MeasureUnits& from); |
1779 | void MergeFrom(const StrPerson_MeasureUnits& from); |
1780 | void Clear() final; |
1781 | bool IsInitialized() const final; |
1782 | |
1783 | size_t ByteSizeLong() const final; |
1784 | bool MergePartialFromCodedStream( |
1785 | ::google::protobuf::io::CodedInputStream* input) final; |
1786 | void SerializeWithCachedSizes( |
1787 | ::google::protobuf::io::CodedOutputStream* output) const final; |
1788 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1789 | bool deterministic, ::google::protobuf::uint8* target) const final; |
1790 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1791 | |
1792 | private: |
1793 | void SharedCtor(); |
1794 | void SharedDtor(); |
1795 | void SetCachedSize(int size) const final; |
1796 | void InternalSwap(StrPerson_MeasureUnits* other); |
1797 | private: |
1798 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1799 | return NULL; |
1800 | } |
1801 | inline void* MaybeArenaPtr() const { |
1802 | return NULL; |
1803 | } |
1804 | public: |
1805 | |
1806 | ::google::protobuf::Metadata GetMetadata() const final; |
1807 | |
1808 | // nested types ---------------------------------------------------- |
1809 | |
1810 | // accessors ------------------------------------------------------- |
1811 | |
1812 | // repeated string unit = 1; |
1813 | int unit_size() const; |
1814 | void clear_unit(); |
1815 | static const int kUnitFieldNumber = 1; |
1816 | const ::std::string& unit(int index) const; |
1817 | ::std::string* mutable_unit(int index); |
1818 | void set_unit(int index, const ::std::string& value); |
1819 | #if LANG_CXX11 |
1820 | void set_unit(int index, ::std::string&& value); |
1821 | #endif |
1822 | void set_unit(int index, const char* value); |
1823 | void set_unit(int index, const char* value, size_t size); |
1824 | ::std::string* add_unit(); |
1825 | void add_unit(const ::std::string& value); |
1826 | #if LANG_CXX11 |
1827 | void add_unit(::std::string&& value); |
1828 | #endif |
1829 | void add_unit(const char* value); |
1830 | void add_unit(const char* value, size_t size); |
1831 | const ::google::protobuf::RepeatedPtrField< ::std::string>& unit() const; |
1832 | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_unit(); |
1833 | |
1834 | // repeated string coef = 2; |
1835 | int coef_size() const; |
1836 | void clear_coef(); |
1837 | static const int kCoefFieldNumber = 2; |
1838 | const ::std::string& coef(int index) const; |
1839 | ::std::string* mutable_coef(int index); |
1840 | void set_coef(int index, const ::std::string& value); |
1841 | #if LANG_CXX11 |
1842 | void set_coef(int index, ::std::string&& value); |
1843 | #endif |
1844 | void set_coef(int index, const char* value); |
1845 | void set_coef(int index, const char* value, size_t size); |
1846 | ::std::string* add_coef(); |
1847 | void add_coef(const ::std::string& value); |
1848 | #if LANG_CXX11 |
1849 | void add_coef(::std::string&& value); |
1850 | #endif |
1851 | void add_coef(const char* value); |
1852 | void add_coef(const char* value, size_t size); |
1853 | const ::google::protobuf::RepeatedPtrField< ::std::string>& coef() const; |
1854 | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_coef(); |
1855 | |
1856 | // @@protoc_insertion_point(class_scope:StrPerson.MeasureUnits) |
1857 | private: |
1858 | |
1859 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1860 | ::google::protobuf::RepeatedPtrField< ::std::string> unit_; |
1861 | ::google::protobuf::RepeatedPtrField< ::std::string> coef_; |
1862 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1863 | friend struct ::protobuf_00825_5fprotobuf_5fformat_2eproto::TableStruct; |
1864 | }; |
1865 | // ------------------------------------------------------------------- |
1866 | |
1867 | class StrPerson_NestinessA_SubBC : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:StrPerson.NestinessA.SubBC) */ { |
1868 | public: |
1869 | StrPerson_NestinessA_SubBC(); |
1870 | virtual ~StrPerson_NestinessA_SubBC(); |
1871 | |
1872 | StrPerson_NestinessA_SubBC(const StrPerson_NestinessA_SubBC& from); |
1873 | |
1874 | inline StrPerson_NestinessA_SubBC& operator=(const StrPerson_NestinessA_SubBC& from) { |
1875 | CopyFrom(from); |
1876 | return *this; |
1877 | } |
1878 | #if LANG_CXX11 |
1879 | StrPerson_NestinessA_SubBC(StrPerson_NestinessA_SubBC&& from) noexcept |
1880 | : StrPerson_NestinessA_SubBC() { |
1881 | *this = ::std::move(from); |
1882 | } |
1883 | |
1884 | inline StrPerson_NestinessA_SubBC& operator=(StrPerson_NestinessA_SubBC&& from) noexcept { |
1885 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1886 | if (this != &from) InternalSwap(&from); |
1887 | } else { |
1888 | CopyFrom(from); |
1889 | } |
1890 | return *this; |
1891 | } |
1892 | #endif |
1893 | static const ::google::protobuf::Descriptor* descriptor(); |
1894 | static const StrPerson_NestinessA_SubBC& default_instance(); |
1895 | |
1896 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1897 | static inline const StrPerson_NestinessA_SubBC* internal_default_instance() { |
1898 | return reinterpret_cast<const StrPerson_NestinessA_SubBC*>( |
1899 | &_StrPerson_NestinessA_SubBC_default_instance_); |
1900 | } |
1901 | static constexpr int kIndexInFileMessages = |
1902 | 10; |
1903 | |
1904 | void Swap(StrPerson_NestinessA_SubBC* other); |
1905 | friend void swap(StrPerson_NestinessA_SubBC& a, StrPerson_NestinessA_SubBC& b) { |
1906 | a.Swap(&b); |
1907 | } |
1908 | |
1909 | // implements Message ---------------------------------------------- |
1910 | |
1911 | inline StrPerson_NestinessA_SubBC* New() const final { |
1912 | return CreateMaybeMessage<StrPerson_NestinessA_SubBC>(NULL); |
1913 | } |
1914 | |
1915 | StrPerson_NestinessA_SubBC* New(::google::protobuf::Arena* arena) const final { |
1916 | return CreateMaybeMessage<StrPerson_NestinessA_SubBC>(arena); |
1917 | } |
1918 | void CopyFrom(const ::google::protobuf::Message& from) final; |
1919 | void MergeFrom(const ::google::protobuf::Message& from) final; |
1920 | void CopyFrom(const StrPerson_NestinessA_SubBC& from); |
1921 | void MergeFrom(const StrPerson_NestinessA_SubBC& from); |
1922 | void Clear() final; |
1923 | bool IsInitialized() const final; |
1924 | |
1925 | size_t ByteSizeLong() const final; |
1926 | bool MergePartialFromCodedStream( |
1927 | ::google::protobuf::io::CodedInputStream* input) final; |
1928 | void SerializeWithCachedSizes( |
1929 | ::google::protobuf::io::CodedOutputStream* output) const final; |
1930 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
1931 | bool deterministic, ::google::protobuf::uint8* target) const final; |
1932 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1933 | |
1934 | private: |
1935 | void SharedCtor(); |
1936 | void SharedDtor(); |
1937 | void SetCachedSize(int size) const final; |
1938 | void InternalSwap(StrPerson_NestinessA_SubBC* other); |
1939 | private: |
1940 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
1941 | return NULL; |
1942 | } |
1943 | inline void* MaybeArenaPtr() const { |
1944 | return NULL; |
1945 | } |
1946 | public: |
1947 | |
1948 | ::google::protobuf::Metadata GetMetadata() const final; |
1949 | |
1950 | // nested types ---------------------------------------------------- |
1951 | |
1952 | // accessors ------------------------------------------------------- |
1953 | |
1954 | // repeated string e = 2; |
1955 | int e_size() const; |
1956 | void clear_e(); |
1957 | static const int kEFieldNumber = 2; |
1958 | const ::std::string& e(int index) const; |
1959 | ::std::string* mutable_e(int index); |
1960 | void set_e(int index, const ::std::string& value); |
1961 | #if LANG_CXX11 |
1962 | void set_e(int index, ::std::string&& value); |
1963 | #endif |
1964 | void set_e(int index, const char* value); |
1965 | void set_e(int index, const char* value, size_t size); |
1966 | ::std::string* add_e(); |
1967 | void add_e(const ::std::string& value); |
1968 | #if LANG_CXX11 |
1969 | void add_e(::std::string&& value); |
1970 | #endif |
1971 | void add_e(const char* value); |
1972 | void add_e(const char* value, size_t size); |
1973 | const ::google::protobuf::RepeatedPtrField< ::std::string>& e() const; |
1974 | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_e(); |
1975 | |
1976 | // string d = 1; |
1977 | void clear_d(); |
1978 | static const int kDFieldNumber = 1; |
1979 | const ::std::string& d() const; |
1980 | void set_d(const ::std::string& value); |
1981 | #if LANG_CXX11 |
1982 | void set_d(::std::string&& value); |
1983 | #endif |
1984 | void set_d(const char* value); |
1985 | void set_d(const char* value, size_t size); |
1986 | ::std::string* mutable_d(); |
1987 | ::std::string* release_d(); |
1988 | void set_allocated_d(::std::string* d); |
1989 | |
1990 | // @@protoc_insertion_point(class_scope:StrPerson.NestinessA.SubBC) |
1991 | private: |
1992 | |
1993 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
1994 | ::google::protobuf::RepeatedPtrField< ::std::string> e_; |
1995 | ::google::protobuf::internal::ArenaStringPtr d_; |
1996 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
1997 | friend struct ::protobuf_00825_5fprotobuf_5fformat_2eproto::TableStruct; |
1998 | }; |
1999 | // ------------------------------------------------------------------- |
2000 | |
2001 | class StrPerson_NestinessA : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:StrPerson.NestinessA) */ { |
2002 | public: |
2003 | StrPerson_NestinessA(); |
2004 | virtual ~StrPerson_NestinessA(); |
2005 | |
2006 | StrPerson_NestinessA(const StrPerson_NestinessA& from); |
2007 | |
2008 | inline StrPerson_NestinessA& operator=(const StrPerson_NestinessA& from) { |
2009 | CopyFrom(from); |
2010 | return *this; |
2011 | } |
2012 | #if LANG_CXX11 |
2013 | StrPerson_NestinessA(StrPerson_NestinessA&& from) noexcept |
2014 | : StrPerson_NestinessA() { |
2015 | *this = ::std::move(from); |
2016 | } |
2017 | |
2018 | inline StrPerson_NestinessA& operator=(StrPerson_NestinessA&& from) noexcept { |
2019 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2020 | if (this != &from) InternalSwap(&from); |
2021 | } else { |
2022 | CopyFrom(from); |
2023 | } |
2024 | return *this; |
2025 | } |
2026 | #endif |
2027 | static const ::google::protobuf::Descriptor* descriptor(); |
2028 | static const StrPerson_NestinessA& default_instance(); |
2029 | |
2030 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2031 | static inline const StrPerson_NestinessA* internal_default_instance() { |
2032 | return reinterpret_cast<const StrPerson_NestinessA*>( |
2033 | &_StrPerson_NestinessA_default_instance_); |
2034 | } |
2035 | static constexpr int kIndexInFileMessages = |
2036 | 11; |
2037 | |
2038 | void Swap(StrPerson_NestinessA* other); |
2039 | friend void swap(StrPerson_NestinessA& a, StrPerson_NestinessA& b) { |
2040 | a.Swap(&b); |
2041 | } |
2042 | |
2043 | // implements Message ---------------------------------------------- |
2044 | |
2045 | inline StrPerson_NestinessA* New() const final { |
2046 | return CreateMaybeMessage<StrPerson_NestinessA>(NULL); |
2047 | } |
2048 | |
2049 | StrPerson_NestinessA* New(::google::protobuf::Arena* arena) const final { |
2050 | return CreateMaybeMessage<StrPerson_NestinessA>(arena); |
2051 | } |
2052 | void CopyFrom(const ::google::protobuf::Message& from) final; |
2053 | void MergeFrom(const ::google::protobuf::Message& from) final; |
2054 | void CopyFrom(const StrPerson_NestinessA& from); |
2055 | void MergeFrom(const StrPerson_NestinessA& from); |
2056 | void Clear() final; |
2057 | bool IsInitialized() const final; |
2058 | |
2059 | size_t ByteSizeLong() const final; |
2060 | bool MergePartialFromCodedStream( |
2061 | ::google::protobuf::io::CodedInputStream* input) final; |
2062 | void SerializeWithCachedSizes( |
2063 | ::google::protobuf::io::CodedOutputStream* output) const final; |
2064 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2065 | bool deterministic, ::google::protobuf::uint8* target) const final; |
2066 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2067 | |
2068 | private: |
2069 | void SharedCtor(); |
2070 | void SharedDtor(); |
2071 | void SetCachedSize(int size) const final; |
2072 | void InternalSwap(StrPerson_NestinessA* other); |
2073 | private: |
2074 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2075 | return NULL; |
2076 | } |
2077 | inline void* MaybeArenaPtr() const { |
2078 | return NULL; |
2079 | } |
2080 | public: |
2081 | |
2082 | ::google::protobuf::Metadata GetMetadata() const final; |
2083 | |
2084 | // nested types ---------------------------------------------------- |
2085 | |
2086 | typedef StrPerson_NestinessA_SubBC SubBC; |
2087 | |
2088 | // accessors ------------------------------------------------------- |
2089 | |
2090 | // .StrPerson.NestinessA.SubBC b_c = 1; |
2091 | bool has_b_c() const; |
2092 | void clear_b_c(); |
2093 | static const int kBCFieldNumber = 1; |
2094 | private: |
2095 | const ::StrPerson_NestinessA_SubBC& _internal_b_c() const; |
2096 | public: |
2097 | const ::StrPerson_NestinessA_SubBC& b_c() const; |
2098 | ::StrPerson_NestinessA_SubBC* release_b_c(); |
2099 | ::StrPerson_NestinessA_SubBC* mutable_b_c(); |
2100 | void set_allocated_b_c(::StrPerson_NestinessA_SubBC* b_c); |
2101 | |
2102 | // @@protoc_insertion_point(class_scope:StrPerson.NestinessA) |
2103 | private: |
2104 | |
2105 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2106 | ::StrPerson_NestinessA_SubBC* b_c_; |
2107 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
2108 | friend struct ::protobuf_00825_5fprotobuf_5fformat_2eproto::TableStruct; |
2109 | }; |
2110 | // ------------------------------------------------------------------- |
2111 | |
2112 | class StrPerson : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:StrPerson) */ { |
2113 | public: |
2114 | StrPerson(); |
2115 | virtual ~StrPerson(); |
2116 | |
2117 | StrPerson(const StrPerson& from); |
2118 | |
2119 | inline StrPerson& operator=(const StrPerson& from) { |
2120 | CopyFrom(from); |
2121 | return *this; |
2122 | } |
2123 | #if LANG_CXX11 |
2124 | StrPerson(StrPerson&& from) noexcept |
2125 | : StrPerson() { |
2126 | *this = ::std::move(from); |
2127 | } |
2128 | |
2129 | inline StrPerson& operator=(StrPerson&& from) noexcept { |
2130 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2131 | if (this != &from) InternalSwap(&from); |
2132 | } else { |
2133 | CopyFrom(from); |
2134 | } |
2135 | return *this; |
2136 | } |
2137 | #endif |
2138 | static const ::google::protobuf::Descriptor* descriptor(); |
2139 | static const StrPerson& default_instance(); |
2140 | |
2141 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2142 | static inline const StrPerson* internal_default_instance() { |
2143 | return reinterpret_cast<const StrPerson*>( |
2144 | &_StrPerson_default_instance_); |
2145 | } |
2146 | static constexpr int kIndexInFileMessages = |
2147 | 12; |
2148 | |
2149 | void Swap(StrPerson* other); |
2150 | friend void swap(StrPerson& a, StrPerson& b) { |
2151 | a.Swap(&b); |
2152 | } |
2153 | |
2154 | // implements Message ---------------------------------------------- |
2155 | |
2156 | inline StrPerson* New() const final { |
2157 | return CreateMaybeMessage<StrPerson>(NULL); |
2158 | } |
2159 | |
2160 | StrPerson* New(::google::protobuf::Arena* arena) const final { |
2161 | return CreateMaybeMessage<StrPerson>(arena); |
2162 | } |
2163 | void CopyFrom(const ::google::protobuf::Message& from) final; |
2164 | void MergeFrom(const ::google::protobuf::Message& from) final; |
2165 | void CopyFrom(const StrPerson& from); |
2166 | void MergeFrom(const StrPerson& from); |
2167 | void Clear() final; |
2168 | bool IsInitialized() const final; |
2169 | |
2170 | size_t ByteSizeLong() const final; |
2171 | bool MergePartialFromCodedStream( |
2172 | ::google::protobuf::io::CodedInputStream* input) final; |
2173 | void SerializeWithCachedSizes( |
2174 | ::google::protobuf::io::CodedOutputStream* output) const final; |
2175 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2176 | bool deterministic, ::google::protobuf::uint8* target) const final; |
2177 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2178 | |
2179 | private: |
2180 | void SharedCtor(); |
2181 | void SharedDtor(); |
2182 | void SetCachedSize(int size) const final; |
2183 | void InternalSwap(StrPerson* other); |
2184 | private: |
2185 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2186 | return NULL; |
2187 | } |
2188 | inline void* MaybeArenaPtr() const { |
2189 | return NULL; |
2190 | } |
2191 | public: |
2192 | |
2193 | ::google::protobuf::Metadata GetMetadata() const final; |
2194 | |
2195 | // nested types ---------------------------------------------------- |
2196 | |
2197 | typedef StrPerson_MeasureUnits MeasureUnits; |
2198 | typedef StrPerson_NestinessA NestinessA; |
2199 | |
2200 | // accessors ------------------------------------------------------- |
2201 | |
2202 | // repeated string songs = 12; |
2203 | int songs_size() const; |
2204 | void clear_songs(); |
2205 | static const int kSongsFieldNumber = 12; |
2206 | const ::std::string& songs(int index) const; |
2207 | ::std::string* mutable_songs(int index); |
2208 | void set_songs(int index, const ::std::string& value); |
2209 | #if LANG_CXX11 |
2210 | void set_songs(int index, ::std::string&& value); |
2211 | #endif |
2212 | void set_songs(int index, const char* value); |
2213 | void set_songs(int index, const char* value, size_t size); |
2214 | ::std::string* add_songs(); |
2215 | void add_songs(const ::std::string& value); |
2216 | #if LANG_CXX11 |
2217 | void add_songs(::std::string&& value); |
2218 | #endif |
2219 | void add_songs(const char* value); |
2220 | void add_songs(const char* value, size_t size); |
2221 | const ::google::protobuf::RepeatedPtrField< ::std::string>& songs() const; |
2222 | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_songs(); |
2223 | |
2224 | // repeated string color = 13; |
2225 | int color_size() const; |
2226 | void clear_color(); |
2227 | static const int kColorFieldNumber = 13; |
2228 | const ::std::string& color(int index) const; |
2229 | ::std::string* mutable_color(int index); |
2230 | void set_color(int index, const ::std::string& value); |
2231 | #if LANG_CXX11 |
2232 | void set_color(int index, ::std::string&& value); |
2233 | #endif |
2234 | void set_color(int index, const char* value); |
2235 | void set_color(int index, const char* value, size_t size); |
2236 | ::std::string* add_color(); |
2237 | void add_color(const ::std::string& value); |
2238 | #if LANG_CXX11 |
2239 | void add_color(::std::string&& value); |
2240 | #endif |
2241 | void add_color(const char* value); |
2242 | void add_color(const char* value, size_t size); |
2243 | const ::google::protobuf::RepeatedPtrField< ::std::string>& color() const; |
2244 | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_color(); |
2245 | |
2246 | // repeated string location = 15; |
2247 | int location_size() const; |
2248 | void clear_location(); |
2249 | static const int kLocationFieldNumber = 15; |
2250 | const ::std::string& location(int index) const; |
2251 | ::std::string* mutable_location(int index); |
2252 | void set_location(int index, const ::std::string& value); |
2253 | #if LANG_CXX11 |
2254 | void set_location(int index, ::std::string&& value); |
2255 | #endif |
2256 | void set_location(int index, const char* value); |
2257 | void set_location(int index, const char* value, size_t size); |
2258 | ::std::string* add_location(); |
2259 | void add_location(const ::std::string& value); |
2260 | #if LANG_CXX11 |
2261 | void add_location(::std::string&& value); |
2262 | #endif |
2263 | void add_location(const char* value); |
2264 | void add_location(const char* value, size_t size); |
2265 | const ::google::protobuf::RepeatedPtrField< ::std::string>& location() const; |
2266 | ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_location(); |
2267 | |
2268 | // string uuid = 1; |
2269 | void clear_uuid(); |
2270 | static const int kUuidFieldNumber = 1; |
2271 | const ::std::string& uuid() const; |
2272 | void set_uuid(const ::std::string& value); |
2273 | #if LANG_CXX11 |
2274 | void set_uuid(::std::string&& value); |
2275 | #endif |
2276 | void set_uuid(const char* value); |
2277 | void set_uuid(const char* value, size_t size); |
2278 | ::std::string* mutable_uuid(); |
2279 | ::std::string* release_uuid(); |
2280 | void set_allocated_uuid(::std::string* uuid); |
2281 | |
2282 | // string name = 2; |
2283 | void clear_name(); |
2284 | static const int kNameFieldNumber = 2; |
2285 | const ::std::string& name() const; |
2286 | void set_name(const ::std::string& value); |
2287 | #if LANG_CXX11 |
2288 | void set_name(::std::string&& value); |
2289 | #endif |
2290 | void set_name(const char* value); |
2291 | void set_name(const char* value, size_t size); |
2292 | ::std::string* mutable_name(); |
2293 | ::std::string* release_name(); |
2294 | void set_allocated_name(::std::string* name); |
2295 | |
2296 | // string surname = 3; |
2297 | void clear_surname(); |
2298 | static const int kSurnameFieldNumber = 3; |
2299 | const ::std::string& surname() const; |
2300 | void set_surname(const ::std::string& value); |
2301 | #if LANG_CXX11 |
2302 | void set_surname(::std::string&& value); |
2303 | #endif |
2304 | void set_surname(const char* value); |
2305 | void set_surname(const char* value, size_t size); |
2306 | ::std::string* mutable_surname(); |
2307 | ::std::string* release_surname(); |
2308 | void set_allocated_surname(::std::string* surname); |
2309 | |
2310 | // string gender = 4; |
2311 | void clear_gender(); |
2312 | static const int kGenderFieldNumber = 4; |
2313 | const ::std::string& gender() const; |
2314 | void set_gender(const ::std::string& value); |
2315 | #if LANG_CXX11 |
2316 | void set_gender(::std::string&& value); |
2317 | #endif |
2318 | void set_gender(const char* value); |
2319 | void set_gender(const char* value, size_t size); |
2320 | ::std::string* mutable_gender(); |
2321 | ::std::string* release_gender(); |
2322 | void set_allocated_gender(::std::string* gender); |
2323 | |
2324 | // string birthDate = 5; |
2325 | void clear_birthdate(); |
2326 | static const int kBirthDateFieldNumber = 5; |
2327 | const ::std::string& birthdate() const; |
2328 | void set_birthdate(const ::std::string& value); |
2329 | #if LANG_CXX11 |
2330 | void set_birthdate(::std::string&& value); |
2331 | #endif |
2332 | void set_birthdate(const char* value); |
2333 | void set_birthdate(const char* value, size_t size); |
2334 | ::std::string* mutable_birthdate(); |
2335 | ::std::string* release_birthdate(); |
2336 | void set_allocated_birthdate(::std::string* birthdate); |
2337 | |
2338 | // string phoneNumber = 7; |
2339 | void clear_phonenumber(); |
2340 | static const int kPhoneNumberFieldNumber = 7; |
2341 | const ::std::string& phonenumber() const; |
2342 | void set_phonenumber(const ::std::string& value); |
2343 | #if LANG_CXX11 |
2344 | void set_phonenumber(::std::string&& value); |
2345 | #endif |
2346 | void set_phonenumber(const char* value); |
2347 | void set_phonenumber(const char* value, size_t size); |
2348 | ::std::string* mutable_phonenumber(); |
2349 | ::std::string* release_phonenumber(); |
2350 | void set_allocated_phonenumber(::std::string* phonenumber); |
2351 | |
2352 | // string isOnline = 8; |
2353 | void clear_isonline(); |
2354 | static const int kIsOnlineFieldNumber = 8; |
2355 | const ::std::string& isonline() const; |
2356 | void set_isonline(const ::std::string& value); |
2357 | #if LANG_CXX11 |
2358 | void set_isonline(::std::string&& value); |
2359 | #endif |
2360 | void set_isonline(const char* value); |
2361 | void set_isonline(const char* value, size_t size); |
2362 | ::std::string* mutable_isonline(); |
2363 | ::std::string* release_isonline(); |
2364 | void set_allocated_isonline(::std::string* isonline); |
2365 | |
2366 | // string visitTime = 9; |
2367 | void clear_visittime(); |
2368 | static const int kVisitTimeFieldNumber = 9; |
2369 | const ::std::string& visittime() const; |
2370 | void set_visittime(const ::std::string& value); |
2371 | #if LANG_CXX11 |
2372 | void set_visittime(::std::string&& value); |
2373 | #endif |
2374 | void set_visittime(const char* value); |
2375 | void set_visittime(const char* value, size_t size); |
2376 | ::std::string* mutable_visittime(); |
2377 | ::std::string* release_visittime(); |
2378 | void set_allocated_visittime(::std::string* visittime); |
2379 | |
2380 | // string age = 10; |
2381 | void clear_age(); |
2382 | static const int kAgeFieldNumber = 10; |
2383 | const ::std::string& age() const; |
2384 | void set_age(const ::std::string& value); |
2385 | #if LANG_CXX11 |
2386 | void set_age(::std::string&& value); |
2387 | #endif |
2388 | void set_age(const char* value); |
2389 | void set_age(const char* value, size_t size); |
2390 | ::std::string* mutable_age(); |
2391 | ::std::string* release_age(); |
2392 | void set_allocated_age(::std::string* age); |
2393 | |
2394 | // string zodiacSign = 11; |
2395 | void clear_zodiacsign(); |
2396 | static const int kZodiacSignFieldNumber = 11; |
2397 | const ::std::string& zodiacsign() const; |
2398 | void set_zodiacsign(const ::std::string& value); |
2399 | #if LANG_CXX11 |
2400 | void set_zodiacsign(::std::string&& value); |
2401 | #endif |
2402 | void set_zodiacsign(const char* value); |
2403 | void set_zodiacsign(const char* value, size_t size); |
2404 | ::std::string* mutable_zodiacsign(); |
2405 | ::std::string* release_zodiacsign(); |
2406 | void set_allocated_zodiacsign(::std::string* zodiacsign); |
2407 | |
2408 | // string hometown = 14; |
2409 | void clear_hometown(); |
2410 | static const int kHometownFieldNumber = 14; |
2411 | const ::std::string& hometown() const; |
2412 | void set_hometown(const ::std::string& value); |
2413 | #if LANG_CXX11 |
2414 | void set_hometown(::std::string&& value); |
2415 | #endif |
2416 | void set_hometown(const char* value); |
2417 | void set_hometown(const char* value, size_t size); |
2418 | ::std::string* mutable_hometown(); |
2419 | ::std::string* release_hometown(); |
2420 | void set_allocated_hometown(::std::string* hometown); |
2421 | |
2422 | // string pi = 16; |
2423 | void clear_pi(); |
2424 | static const int kPiFieldNumber = 16; |
2425 | const ::std::string& pi() const; |
2426 | void set_pi(const ::std::string& value); |
2427 | #if LANG_CXX11 |
2428 | void set_pi(::std::string&& value); |
2429 | #endif |
2430 | void set_pi(const char* value); |
2431 | void set_pi(const char* value, size_t size); |
2432 | ::std::string* mutable_pi(); |
2433 | ::std::string* release_pi(); |
2434 | void set_allocated_pi(::std::string* pi); |
2435 | |
2436 | // string lotteryWin = 17; |
2437 | void clear_lotterywin(); |
2438 | static const int kLotteryWinFieldNumber = 17; |
2439 | const ::std::string& lotterywin() const; |
2440 | void set_lotterywin(const ::std::string& value); |
2441 | #if LANG_CXX11 |
2442 | void set_lotterywin(::std::string&& value); |
2443 | #endif |
2444 | void set_lotterywin(const char* value); |
2445 | void set_lotterywin(const char* value, size_t size); |
2446 | ::std::string* mutable_lotterywin(); |
2447 | ::std::string* release_lotterywin(); |
2448 | void set_allocated_lotterywin(::std::string* lotterywin); |
2449 | |
2450 | // string someRatio = 18; |
2451 | void clear_someratio(); |
2452 | static const int kSomeRatioFieldNumber = 18; |
2453 | const ::std::string& someratio() const; |
2454 | void set_someratio(const ::std::string& value); |
2455 | #if LANG_CXX11 |
2456 | void set_someratio(::std::string&& value); |
2457 | #endif |
2458 | void set_someratio(const char* value); |
2459 | void set_someratio(const char* value, size_t size); |
2460 | ::std::string* mutable_someratio(); |
2461 | ::std::string* release_someratio(); |
2462 | void set_allocated_someratio(::std::string* someratio); |
2463 | |
2464 | // string temperature = 19; |
2465 | void clear_temperature(); |
2466 | static const int kTemperatureFieldNumber = 19; |
2467 | const ::std::string& temperature() const; |
2468 | void set_temperature(const ::std::string& value); |
2469 | #if LANG_CXX11 |
2470 | void set_temperature(::std::string&& value); |
2471 | #endif |
2472 | void set_temperature(const char* value); |
2473 | void set_temperature(const char* value, size_t size); |
2474 | ::std::string* mutable_temperature(); |
2475 | ::std::string* release_temperature(); |
2476 | void set_allocated_temperature(::std::string* temperature); |
2477 | |
2478 | // string randomBigNumber = 20; |
2479 | void clear_randombignumber(); |
2480 | static const int kRandomBigNumberFieldNumber = 20; |
2481 | const ::std::string& randombignumber() const; |
2482 | void set_randombignumber(const ::std::string& value); |
2483 | #if LANG_CXX11 |
2484 | void set_randombignumber(::std::string&& value); |
2485 | #endif |
2486 | void set_randombignumber(const char* value); |
2487 | void set_randombignumber(const char* value, size_t size); |
2488 | ::std::string* mutable_randombignumber(); |
2489 | ::std::string* release_randombignumber(); |
2490 | void set_allocated_randombignumber(::std::string* randombignumber); |
2491 | |
2492 | // .StrPerson.MeasureUnits measureUnits = 21; |
2493 | bool has_measureunits() const; |
2494 | void clear_measureunits(); |
2495 | static const int kMeasureUnitsFieldNumber = 21; |
2496 | private: |
2497 | const ::StrPerson_MeasureUnits& _internal_measureunits() const; |
2498 | public: |
2499 | const ::StrPerson_MeasureUnits& measureunits() const; |
2500 | ::StrPerson_MeasureUnits* release_measureunits(); |
2501 | ::StrPerson_MeasureUnits* mutable_measureunits(); |
2502 | void set_allocated_measureunits(::StrPerson_MeasureUnits* measureunits); |
2503 | |
2504 | // .StrPerson.NestinessA nestiness_a = 22; |
2505 | bool has_nestiness_a() const; |
2506 | void clear_nestiness_a(); |
2507 | static const int kNestinessAFieldNumber = 22; |
2508 | private: |
2509 | const ::StrPerson_NestinessA& _internal_nestiness_a() const; |
2510 | public: |
2511 | const ::StrPerson_NestinessA& nestiness_a() const; |
2512 | ::StrPerson_NestinessA* release_nestiness_a(); |
2513 | ::StrPerson_NestinessA* mutable_nestiness_a(); |
2514 | void set_allocated_nestiness_a(::StrPerson_NestinessA* nestiness_a); |
2515 | |
2516 | // @@protoc_insertion_point(class_scope:StrPerson) |
2517 | private: |
2518 | |
2519 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2520 | ::google::protobuf::RepeatedPtrField< ::std::string> songs_; |
2521 | ::google::protobuf::RepeatedPtrField< ::std::string> color_; |
2522 | ::google::protobuf::RepeatedPtrField< ::std::string> location_; |
2523 | ::google::protobuf::internal::ArenaStringPtr uuid_; |
2524 | ::google::protobuf::internal::ArenaStringPtr name_; |
2525 | ::google::protobuf::internal::ArenaStringPtr surname_; |
2526 | ::google::protobuf::internal::ArenaStringPtr gender_; |
2527 | ::google::protobuf::internal::ArenaStringPtr birthdate_; |
2528 | ::google::protobuf::internal::ArenaStringPtr phonenumber_; |
2529 | ::google::protobuf::internal::ArenaStringPtr isonline_; |
2530 | ::google::protobuf::internal::ArenaStringPtr visittime_; |
2531 | ::google::protobuf::internal::ArenaStringPtr age_; |
2532 | ::google::protobuf::internal::ArenaStringPtr zodiacsign_; |
2533 | ::google::protobuf::internal::ArenaStringPtr hometown_; |
2534 | ::google::protobuf::internal::ArenaStringPtr pi_; |
2535 | ::google::protobuf::internal::ArenaStringPtr lotterywin_; |
2536 | ::google::protobuf::internal::ArenaStringPtr someratio_; |
2537 | ::google::protobuf::internal::ArenaStringPtr temperature_; |
2538 | ::google::protobuf::internal::ArenaStringPtr randombignumber_; |
2539 | ::StrPerson_MeasureUnits* measureunits_; |
2540 | ::StrPerson_NestinessA* nestiness_a_; |
2541 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
2542 | friend struct ::protobuf_00825_5fprotobuf_5fformat_2eproto::TableStruct; |
2543 | }; |
2544 | // ------------------------------------------------------------------- |
2545 | |
2546 | class NumberAndSquare : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:NumberAndSquare) */ { |
2547 | public: |
2548 | NumberAndSquare(); |
2549 | virtual ~NumberAndSquare(); |
2550 | |
2551 | NumberAndSquare(const NumberAndSquare& from); |
2552 | |
2553 | inline NumberAndSquare& operator=(const NumberAndSquare& from) { |
2554 | CopyFrom(from); |
2555 | return *this; |
2556 | } |
2557 | #if LANG_CXX11 |
2558 | NumberAndSquare(NumberAndSquare&& from) noexcept |
2559 | : NumberAndSquare() { |
2560 | *this = ::std::move(from); |
2561 | } |
2562 | |
2563 | inline NumberAndSquare& operator=(NumberAndSquare&& from) noexcept { |
2564 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
2565 | if (this != &from) InternalSwap(&from); |
2566 | } else { |
2567 | CopyFrom(from); |
2568 | } |
2569 | return *this; |
2570 | } |
2571 | #endif |
2572 | static const ::google::protobuf::Descriptor* descriptor(); |
2573 | static const NumberAndSquare& default_instance(); |
2574 | |
2575 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
2576 | static inline const NumberAndSquare* internal_default_instance() { |
2577 | return reinterpret_cast<const NumberAndSquare*>( |
2578 | &_NumberAndSquare_default_instance_); |
2579 | } |
2580 | static constexpr int kIndexInFileMessages = |
2581 | 13; |
2582 | |
2583 | void Swap(NumberAndSquare* other); |
2584 | friend void swap(NumberAndSquare& a, NumberAndSquare& b) { |
2585 | a.Swap(&b); |
2586 | } |
2587 | |
2588 | // implements Message ---------------------------------------------- |
2589 | |
2590 | inline NumberAndSquare* New() const final { |
2591 | return CreateMaybeMessage<NumberAndSquare>(NULL); |
2592 | } |
2593 | |
2594 | NumberAndSquare* New(::google::protobuf::Arena* arena) const final { |
2595 | return CreateMaybeMessage<NumberAndSquare>(arena); |
2596 | } |
2597 | void CopyFrom(const ::google::protobuf::Message& from) final; |
2598 | void MergeFrom(const ::google::protobuf::Message& from) final; |
2599 | void CopyFrom(const NumberAndSquare& from); |
2600 | void MergeFrom(const NumberAndSquare& from); |
2601 | void Clear() final; |
2602 | bool IsInitialized() const final; |
2603 | |
2604 | size_t ByteSizeLong() const final; |
2605 | bool MergePartialFromCodedStream( |
2606 | ::google::protobuf::io::CodedInputStream* input) final; |
2607 | void SerializeWithCachedSizes( |
2608 | ::google::protobuf::io::CodedOutputStream* output) const final; |
2609 | ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( |
2610 | bool deterministic, ::google::protobuf::uint8* target) const final; |
2611 | int GetCachedSize() const final { return _cached_size_.Get(); } |
2612 | |
2613 | private: |
2614 | void SharedCtor(); |
2615 | void SharedDtor(); |
2616 | void SetCachedSize(int size) const final; |
2617 | void InternalSwap(NumberAndSquare* other); |
2618 | private: |
2619 | inline ::google::protobuf::Arena* GetArenaNoVirtual() const { |
2620 | return NULL; |
2621 | } |
2622 | inline void* MaybeArenaPtr() const { |
2623 | return NULL; |
2624 | } |
2625 | public: |
2626 | |
2627 | ::google::protobuf::Metadata GetMetadata() const final; |
2628 | |
2629 | // nested types ---------------------------------------------------- |
2630 | |
2631 | // accessors ------------------------------------------------------- |
2632 | |
2633 | // uint64 square = 2; |
2634 | void clear_square(); |
2635 | static const int kSquareFieldNumber = 2; |
2636 | ::google::protobuf::uint64 square() const; |
2637 | void set_square(::google::protobuf::uint64 value); |
2638 | |
2639 | // uint32 number = 1; |
2640 | void clear_number(); |
2641 | static const int kNumberFieldNumber = 1; |
2642 | ::google::protobuf::uint32 number() const; |
2643 | void set_number(::google::protobuf::uint32 value); |
2644 | |
2645 | // @@protoc_insertion_point(class_scope:NumberAndSquare) |
2646 | private: |
2647 | |
2648 | ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; |
2649 | ::google::protobuf::uint64 square_; |
2650 | ::google::protobuf::uint32 number_; |
2651 | mutable ::google::protobuf::internal::CachedSize _cached_size_; |
2652 | friend struct ::protobuf_00825_5fprotobuf_5fformat_2eproto::TableStruct; |
2653 | }; |
2654 | // =================================================================== |
2655 | |
2656 | |
2657 | // =================================================================== |
2658 | |
2659 | #ifdef __GNUC__ |
2660 | #pragma GCC diagnostic push |
2661 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
2662 | #endif // __GNUC__ |
2663 | // Nestiness_SubA_SubB_SubC |
2664 | |
2665 | // uint32 d = 1; |
2666 | inline void Nestiness_SubA_SubB_SubC::clear_d() { |
2667 | d_ = 0u; |
2668 | } |
2669 | inline ::google::protobuf::uint32 Nestiness_SubA_SubB_SubC::d() const { |
2670 | // @@protoc_insertion_point(field_get:Nestiness.SubA.SubB.SubC.d) |
2671 | return d_; |
2672 | } |
2673 | inline void Nestiness_SubA_SubB_SubC::set_d(::google::protobuf::uint32 value) { |
2674 | |
2675 | d_ = value; |
2676 | // @@protoc_insertion_point(field_set:Nestiness.SubA.SubB.SubC.d) |
2677 | } |
2678 | |
2679 | // repeated uint32 e = 2; |
2680 | inline int Nestiness_SubA_SubB_SubC::e_size() const { |
2681 | return e_.size(); |
2682 | } |
2683 | inline void Nestiness_SubA_SubB_SubC::clear_e() { |
2684 | e_.Clear(); |
2685 | } |
2686 | inline ::google::protobuf::uint32 Nestiness_SubA_SubB_SubC::e(int index) const { |
2687 | // @@protoc_insertion_point(field_get:Nestiness.SubA.SubB.SubC.e) |
2688 | return e_.Get(index); |
2689 | } |
2690 | inline void Nestiness_SubA_SubB_SubC::set_e(int index, ::google::protobuf::uint32 value) { |
2691 | e_.Set(index, value); |
2692 | // @@protoc_insertion_point(field_set:Nestiness.SubA.SubB.SubC.e) |
2693 | } |
2694 | inline void Nestiness_SubA_SubB_SubC::add_e(::google::protobuf::uint32 value) { |
2695 | e_.Add(value); |
2696 | // @@protoc_insertion_point(field_add:Nestiness.SubA.SubB.SubC.e) |
2697 | } |
2698 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& |
2699 | Nestiness_SubA_SubB_SubC::e() const { |
2700 | // @@protoc_insertion_point(field_list:Nestiness.SubA.SubB.SubC.e) |
2701 | return e_; |
2702 | } |
2703 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* |
2704 | Nestiness_SubA_SubB_SubC::mutable_e() { |
2705 | // @@protoc_insertion_point(field_mutable_list:Nestiness.SubA.SubB.SubC.e) |
2706 | return &e_; |
2707 | } |
2708 | |
2709 | // ------------------------------------------------------------------- |
2710 | |
2711 | // Nestiness_SubA_SubB |
2712 | |
2713 | // .Nestiness.SubA.SubB.SubC c = 1; |
2714 | inline bool Nestiness_SubA_SubB::has_c() const { |
2715 | return this != internal_default_instance() && c_ != NULL; |
2716 | } |
2717 | inline void Nestiness_SubA_SubB::clear_c() { |
2718 | if (GetArenaNoVirtual() == NULL && c_ != NULL) { |
2719 | delete c_; |
2720 | } |
2721 | c_ = NULL; |
2722 | } |
2723 | inline const ::Nestiness_SubA_SubB_SubC& Nestiness_SubA_SubB::_internal_c() const { |
2724 | return *c_; |
2725 | } |
2726 | inline const ::Nestiness_SubA_SubB_SubC& Nestiness_SubA_SubB::c() const { |
2727 | const ::Nestiness_SubA_SubB_SubC* p = c_; |
2728 | // @@protoc_insertion_point(field_get:Nestiness.SubA.SubB.c) |
2729 | return p != NULL ? *p : *reinterpret_cast<const ::Nestiness_SubA_SubB_SubC*>( |
2730 | &::_Nestiness_SubA_SubB_SubC_default_instance_); |
2731 | } |
2732 | inline ::Nestiness_SubA_SubB_SubC* Nestiness_SubA_SubB::release_c() { |
2733 | // @@protoc_insertion_point(field_release:Nestiness.SubA.SubB.c) |
2734 | |
2735 | ::Nestiness_SubA_SubB_SubC* temp = c_; |
2736 | c_ = NULL; |
2737 | return temp; |
2738 | } |
2739 | inline ::Nestiness_SubA_SubB_SubC* Nestiness_SubA_SubB::mutable_c() { |
2740 | |
2741 | if (c_ == NULL) { |
2742 | auto* p = CreateMaybeMessage<::Nestiness_SubA_SubB_SubC>(GetArenaNoVirtual()); |
2743 | c_ = p; |
2744 | } |
2745 | // @@protoc_insertion_point(field_mutable:Nestiness.SubA.SubB.c) |
2746 | return c_; |
2747 | } |
2748 | inline void Nestiness_SubA_SubB::set_allocated_c(::Nestiness_SubA_SubB_SubC* c) { |
2749 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
2750 | if (message_arena == NULL) { |
2751 | delete c_; |
2752 | } |
2753 | if (c) { |
2754 | ::google::protobuf::Arena* submessage_arena = NULL; |
2755 | if (message_arena != submessage_arena) { |
2756 | c = ::google::protobuf::internal::GetOwnedMessage( |
2757 | message_arena, c, submessage_arena); |
2758 | } |
2759 | |
2760 | } else { |
2761 | |
2762 | } |
2763 | c_ = c; |
2764 | // @@protoc_insertion_point(field_set_allocated:Nestiness.SubA.SubB.c) |
2765 | } |
2766 | |
2767 | // ------------------------------------------------------------------- |
2768 | |
2769 | // Nestiness_SubA |
2770 | |
2771 | // .Nestiness.SubA.SubB b = 100; |
2772 | inline bool Nestiness_SubA::has_b() const { |
2773 | return this != internal_default_instance() && b_ != NULL; |
2774 | } |
2775 | inline void Nestiness_SubA::clear_b() { |
2776 | if (GetArenaNoVirtual() == NULL && b_ != NULL) { |
2777 | delete b_; |
2778 | } |
2779 | b_ = NULL; |
2780 | } |
2781 | inline const ::Nestiness_SubA_SubB& Nestiness_SubA::_internal_b() const { |
2782 | return *b_; |
2783 | } |
2784 | inline const ::Nestiness_SubA_SubB& Nestiness_SubA::b() const { |
2785 | const ::Nestiness_SubA_SubB* p = b_; |
2786 | // @@protoc_insertion_point(field_get:Nestiness.SubA.b) |
2787 | return p != NULL ? *p : *reinterpret_cast<const ::Nestiness_SubA_SubB*>( |
2788 | &::_Nestiness_SubA_SubB_default_instance_); |
2789 | } |
2790 | inline ::Nestiness_SubA_SubB* Nestiness_SubA::release_b() { |
2791 | // @@protoc_insertion_point(field_release:Nestiness.SubA.b) |
2792 | |
2793 | ::Nestiness_SubA_SubB* temp = b_; |
2794 | b_ = NULL; |
2795 | return temp; |
2796 | } |
2797 | inline ::Nestiness_SubA_SubB* Nestiness_SubA::mutable_b() { |
2798 | |
2799 | if (b_ == NULL) { |
2800 | auto* p = CreateMaybeMessage<::Nestiness_SubA_SubB>(GetArenaNoVirtual()); |
2801 | b_ = p; |
2802 | } |
2803 | // @@protoc_insertion_point(field_mutable:Nestiness.SubA.b) |
2804 | return b_; |
2805 | } |
2806 | inline void Nestiness_SubA::set_allocated_b(::Nestiness_SubA_SubB* b) { |
2807 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
2808 | if (message_arena == NULL) { |
2809 | delete b_; |
2810 | } |
2811 | if (b) { |
2812 | ::google::protobuf::Arena* submessage_arena = NULL; |
2813 | if (message_arena != submessage_arena) { |
2814 | b = ::google::protobuf::internal::GetOwnedMessage( |
2815 | message_arena, b, submessage_arena); |
2816 | } |
2817 | |
2818 | } else { |
2819 | |
2820 | } |
2821 | b_ = b; |
2822 | // @@protoc_insertion_point(field_set_allocated:Nestiness.SubA.b) |
2823 | } |
2824 | |
2825 | // ------------------------------------------------------------------- |
2826 | |
2827 | // Nestiness |
2828 | |
2829 | // .Nestiness.SubA a = 1; |
2830 | inline bool Nestiness::has_a() const { |
2831 | return this != internal_default_instance() && a_ != NULL; |
2832 | } |
2833 | inline void Nestiness::clear_a() { |
2834 | if (GetArenaNoVirtual() == NULL && a_ != NULL) { |
2835 | delete a_; |
2836 | } |
2837 | a_ = NULL; |
2838 | } |
2839 | inline const ::Nestiness_SubA& Nestiness::_internal_a() const { |
2840 | return *a_; |
2841 | } |
2842 | inline const ::Nestiness_SubA& Nestiness::a() const { |
2843 | const ::Nestiness_SubA* p = a_; |
2844 | // @@protoc_insertion_point(field_get:Nestiness.a) |
2845 | return p != NULL ? *p : *reinterpret_cast<const ::Nestiness_SubA*>( |
2846 | &::_Nestiness_SubA_default_instance_); |
2847 | } |
2848 | inline ::Nestiness_SubA* Nestiness::release_a() { |
2849 | // @@protoc_insertion_point(field_release:Nestiness.a) |
2850 | |
2851 | ::Nestiness_SubA* temp = a_; |
2852 | a_ = NULL; |
2853 | return temp; |
2854 | } |
2855 | inline ::Nestiness_SubA* Nestiness::mutable_a() { |
2856 | |
2857 | if (a_ == NULL) { |
2858 | auto* p = CreateMaybeMessage<::Nestiness_SubA>(GetArenaNoVirtual()); |
2859 | a_ = p; |
2860 | } |
2861 | // @@protoc_insertion_point(field_mutable:Nestiness.a) |
2862 | return a_; |
2863 | } |
2864 | inline void Nestiness::set_allocated_a(::Nestiness_SubA* a) { |
2865 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
2866 | if (message_arena == NULL) { |
2867 | delete a_; |
2868 | } |
2869 | if (a) { |
2870 | ::google::protobuf::Arena* submessage_arena = NULL; |
2871 | if (message_arena != submessage_arena) { |
2872 | a = ::google::protobuf::internal::GetOwnedMessage( |
2873 | message_arena, a, submessage_arena); |
2874 | } |
2875 | |
2876 | } else { |
2877 | |
2878 | } |
2879 | a_ = a; |
2880 | // @@protoc_insertion_point(field_set_allocated:Nestiness.a) |
2881 | } |
2882 | |
2883 | // ------------------------------------------------------------------- |
2884 | |
2885 | // Person_MeasureUnit |
2886 | |
2887 | // string unit = 1; |
2888 | inline void Person_MeasureUnit::clear_unit() { |
2889 | unit_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2890 | } |
2891 | inline const ::std::string& Person_MeasureUnit::unit() const { |
2892 | // @@protoc_insertion_point(field_get:Person.MeasureUnit.unit) |
2893 | return unit_.GetNoArena(); |
2894 | } |
2895 | inline void Person_MeasureUnit::set_unit(const ::std::string& value) { |
2896 | |
2897 | unit_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2898 | // @@protoc_insertion_point(field_set:Person.MeasureUnit.unit) |
2899 | } |
2900 | #if LANG_CXX11 |
2901 | inline void Person_MeasureUnit::set_unit(::std::string&& value) { |
2902 | |
2903 | unit_.SetNoArena( |
2904 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2905 | // @@protoc_insertion_point(field_set_rvalue:Person.MeasureUnit.unit) |
2906 | } |
2907 | #endif |
2908 | inline void Person_MeasureUnit::set_unit(const char* value) { |
2909 | GOOGLE_DCHECK(value != NULL); |
2910 | |
2911 | unit_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
2912 | // @@protoc_insertion_point(field_set_char:Person.MeasureUnit.unit) |
2913 | } |
2914 | inline void Person_MeasureUnit::set_unit(const char* value, size_t size) { |
2915 | |
2916 | unit_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2917 | ::std::string(reinterpret_cast<const char*>(value), size)); |
2918 | // @@protoc_insertion_point(field_set_pointer:Person.MeasureUnit.unit) |
2919 | } |
2920 | inline ::std::string* Person_MeasureUnit::mutable_unit() { |
2921 | |
2922 | // @@protoc_insertion_point(field_mutable:Person.MeasureUnit.unit) |
2923 | return unit_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2924 | } |
2925 | inline ::std::string* Person_MeasureUnit::release_unit() { |
2926 | // @@protoc_insertion_point(field_release:Person.MeasureUnit.unit) |
2927 | |
2928 | return unit_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2929 | } |
2930 | inline void Person_MeasureUnit::set_allocated_unit(::std::string* unit) { |
2931 | if (unit != NULL) { |
2932 | |
2933 | } else { |
2934 | |
2935 | } |
2936 | unit_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), unit); |
2937 | // @@protoc_insertion_point(field_set_allocated:Person.MeasureUnit.unit) |
2938 | } |
2939 | |
2940 | // float coef = 2; |
2941 | inline void Person_MeasureUnit::clear_coef() { |
2942 | coef_ = 0; |
2943 | } |
2944 | inline float Person_MeasureUnit::coef() const { |
2945 | // @@protoc_insertion_point(field_get:Person.MeasureUnit.coef) |
2946 | return coef_; |
2947 | } |
2948 | inline void Person_MeasureUnit::set_coef(float value) { |
2949 | |
2950 | coef_ = value; |
2951 | // @@protoc_insertion_point(field_set:Person.MeasureUnit.coef) |
2952 | } |
2953 | |
2954 | // ------------------------------------------------------------------- |
2955 | |
2956 | // Person |
2957 | |
2958 | // string uuid = 1; |
2959 | inline void Person::clear_uuid() { |
2960 | uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2961 | } |
2962 | inline const ::std::string& Person::uuid() const { |
2963 | // @@protoc_insertion_point(field_get:Person.uuid) |
2964 | return uuid_.GetNoArena(); |
2965 | } |
2966 | inline void Person::set_uuid(const ::std::string& value) { |
2967 | |
2968 | uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
2969 | // @@protoc_insertion_point(field_set:Person.uuid) |
2970 | } |
2971 | #if LANG_CXX11 |
2972 | inline void Person::set_uuid(::std::string&& value) { |
2973 | |
2974 | uuid_.SetNoArena( |
2975 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
2976 | // @@protoc_insertion_point(field_set_rvalue:Person.uuid) |
2977 | } |
2978 | #endif |
2979 | inline void Person::set_uuid(const char* value) { |
2980 | GOOGLE_DCHECK(value != NULL); |
2981 | |
2982 | uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
2983 | // @@protoc_insertion_point(field_set_char:Person.uuid) |
2984 | } |
2985 | inline void Person::set_uuid(const char* value, size_t size) { |
2986 | |
2987 | uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
2988 | ::std::string(reinterpret_cast<const char*>(value), size)); |
2989 | // @@protoc_insertion_point(field_set_pointer:Person.uuid) |
2990 | } |
2991 | inline ::std::string* Person::mutable_uuid() { |
2992 | |
2993 | // @@protoc_insertion_point(field_mutable:Person.uuid) |
2994 | return uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
2995 | } |
2996 | inline ::std::string* Person::release_uuid() { |
2997 | // @@protoc_insertion_point(field_release:Person.uuid) |
2998 | |
2999 | return uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3000 | } |
3001 | inline void Person::set_allocated_uuid(::std::string* uuid) { |
3002 | if (uuid != NULL) { |
3003 | |
3004 | } else { |
3005 | |
3006 | } |
3007 | uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), uuid); |
3008 | // @@protoc_insertion_point(field_set_allocated:Person.uuid) |
3009 | } |
3010 | |
3011 | // string name = 2; |
3012 | inline void Person::clear_name() { |
3013 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3014 | } |
3015 | inline const ::std::string& Person::name() const { |
3016 | // @@protoc_insertion_point(field_get:Person.name) |
3017 | return name_.GetNoArena(); |
3018 | } |
3019 | inline void Person::set_name(const ::std::string& value) { |
3020 | |
3021 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3022 | // @@protoc_insertion_point(field_set:Person.name) |
3023 | } |
3024 | #if LANG_CXX11 |
3025 | inline void Person::set_name(::std::string&& value) { |
3026 | |
3027 | name_.SetNoArena( |
3028 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3029 | // @@protoc_insertion_point(field_set_rvalue:Person.name) |
3030 | } |
3031 | #endif |
3032 | inline void Person::set_name(const char* value) { |
3033 | GOOGLE_DCHECK(value != NULL); |
3034 | |
3035 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3036 | // @@protoc_insertion_point(field_set_char:Person.name) |
3037 | } |
3038 | inline void Person::set_name(const char* value, size_t size) { |
3039 | |
3040 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3041 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3042 | // @@protoc_insertion_point(field_set_pointer:Person.name) |
3043 | } |
3044 | inline ::std::string* Person::mutable_name() { |
3045 | |
3046 | // @@protoc_insertion_point(field_mutable:Person.name) |
3047 | return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3048 | } |
3049 | inline ::std::string* Person::release_name() { |
3050 | // @@protoc_insertion_point(field_release:Person.name) |
3051 | |
3052 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3053 | } |
3054 | inline void Person::set_allocated_name(::std::string* name) { |
3055 | if (name != NULL) { |
3056 | |
3057 | } else { |
3058 | |
3059 | } |
3060 | name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); |
3061 | // @@protoc_insertion_point(field_set_allocated:Person.name) |
3062 | } |
3063 | |
3064 | // string surname = 3; |
3065 | inline void Person::clear_surname() { |
3066 | surname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3067 | } |
3068 | inline const ::std::string& Person::surname() const { |
3069 | // @@protoc_insertion_point(field_get:Person.surname) |
3070 | return surname_.GetNoArena(); |
3071 | } |
3072 | inline void Person::set_surname(const ::std::string& value) { |
3073 | |
3074 | surname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3075 | // @@protoc_insertion_point(field_set:Person.surname) |
3076 | } |
3077 | #if LANG_CXX11 |
3078 | inline void Person::set_surname(::std::string&& value) { |
3079 | |
3080 | surname_.SetNoArena( |
3081 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3082 | // @@protoc_insertion_point(field_set_rvalue:Person.surname) |
3083 | } |
3084 | #endif |
3085 | inline void Person::set_surname(const char* value) { |
3086 | GOOGLE_DCHECK(value != NULL); |
3087 | |
3088 | surname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3089 | // @@protoc_insertion_point(field_set_char:Person.surname) |
3090 | } |
3091 | inline void Person::set_surname(const char* value, size_t size) { |
3092 | |
3093 | surname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3094 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3095 | // @@protoc_insertion_point(field_set_pointer:Person.surname) |
3096 | } |
3097 | inline ::std::string* Person::mutable_surname() { |
3098 | |
3099 | // @@protoc_insertion_point(field_mutable:Person.surname) |
3100 | return surname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3101 | } |
3102 | inline ::std::string* Person::release_surname() { |
3103 | // @@protoc_insertion_point(field_release:Person.surname) |
3104 | |
3105 | return surname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3106 | } |
3107 | inline void Person::set_allocated_surname(::std::string* surname) { |
3108 | if (surname != NULL) { |
3109 | |
3110 | } else { |
3111 | |
3112 | } |
3113 | surname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), surname); |
3114 | // @@protoc_insertion_point(field_set_allocated:Person.surname) |
3115 | } |
3116 | |
3117 | // .Gender gender = 4; |
3118 | inline void Person::clear_gender() { |
3119 | gender_ = 0; |
3120 | } |
3121 | inline ::Gender Person::gender() const { |
3122 | // @@protoc_insertion_point(field_get:Person.gender) |
3123 | return static_cast< ::Gender >(gender_); |
3124 | } |
3125 | inline void Person::set_gender(::Gender value) { |
3126 | |
3127 | gender_ = value; |
3128 | // @@protoc_insertion_point(field_set:Person.gender) |
3129 | } |
3130 | |
3131 | // uint32 birthDate = 5; |
3132 | inline void Person::clear_birthdate() { |
3133 | birthdate_ = 0u; |
3134 | } |
3135 | inline ::google::protobuf::uint32 Person::birthdate() const { |
3136 | // @@protoc_insertion_point(field_get:Person.birthDate) |
3137 | return birthdate_; |
3138 | } |
3139 | inline void Person::set_birthdate(::google::protobuf::uint32 value) { |
3140 | |
3141 | birthdate_ = value; |
3142 | // @@protoc_insertion_point(field_set:Person.birthDate) |
3143 | } |
3144 | |
3145 | // bytes photo = 6; |
3146 | inline void Person::clear_photo() { |
3147 | photo_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3148 | } |
3149 | inline const ::std::string& Person::photo() const { |
3150 | // @@protoc_insertion_point(field_get:Person.photo) |
3151 | return photo_.GetNoArena(); |
3152 | } |
3153 | inline void Person::set_photo(const ::std::string& value) { |
3154 | |
3155 | photo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3156 | // @@protoc_insertion_point(field_set:Person.photo) |
3157 | } |
3158 | #if LANG_CXX11 |
3159 | inline void Person::set_photo(::std::string&& value) { |
3160 | |
3161 | photo_.SetNoArena( |
3162 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3163 | // @@protoc_insertion_point(field_set_rvalue:Person.photo) |
3164 | } |
3165 | #endif |
3166 | inline void Person::set_photo(const char* value) { |
3167 | GOOGLE_DCHECK(value != NULL); |
3168 | |
3169 | photo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3170 | // @@protoc_insertion_point(field_set_char:Person.photo) |
3171 | } |
3172 | inline void Person::set_photo(const void* value, size_t size) { |
3173 | |
3174 | photo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3175 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3176 | // @@protoc_insertion_point(field_set_pointer:Person.photo) |
3177 | } |
3178 | inline ::std::string* Person::mutable_photo() { |
3179 | |
3180 | // @@protoc_insertion_point(field_mutable:Person.photo) |
3181 | return photo_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3182 | } |
3183 | inline ::std::string* Person::release_photo() { |
3184 | // @@protoc_insertion_point(field_release:Person.photo) |
3185 | |
3186 | return photo_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3187 | } |
3188 | inline void Person::set_allocated_photo(::std::string* photo) { |
3189 | if (photo != NULL) { |
3190 | |
3191 | } else { |
3192 | |
3193 | } |
3194 | photo_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), photo); |
3195 | // @@protoc_insertion_point(field_set_allocated:Person.photo) |
3196 | } |
3197 | |
3198 | // string phoneNumber = 7; |
3199 | inline void Person::clear_phonenumber() { |
3200 | phonenumber_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3201 | } |
3202 | inline const ::std::string& Person::phonenumber() const { |
3203 | // @@protoc_insertion_point(field_get:Person.phoneNumber) |
3204 | return phonenumber_.GetNoArena(); |
3205 | } |
3206 | inline void Person::set_phonenumber(const ::std::string& value) { |
3207 | |
3208 | phonenumber_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3209 | // @@protoc_insertion_point(field_set:Person.phoneNumber) |
3210 | } |
3211 | #if LANG_CXX11 |
3212 | inline void Person::set_phonenumber(::std::string&& value) { |
3213 | |
3214 | phonenumber_.SetNoArena( |
3215 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3216 | // @@protoc_insertion_point(field_set_rvalue:Person.phoneNumber) |
3217 | } |
3218 | #endif |
3219 | inline void Person::set_phonenumber(const char* value) { |
3220 | GOOGLE_DCHECK(value != NULL); |
3221 | |
3222 | phonenumber_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3223 | // @@protoc_insertion_point(field_set_char:Person.phoneNumber) |
3224 | } |
3225 | inline void Person::set_phonenumber(const char* value, size_t size) { |
3226 | |
3227 | phonenumber_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3228 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3229 | // @@protoc_insertion_point(field_set_pointer:Person.phoneNumber) |
3230 | } |
3231 | inline ::std::string* Person::mutable_phonenumber() { |
3232 | |
3233 | // @@protoc_insertion_point(field_mutable:Person.phoneNumber) |
3234 | return phonenumber_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3235 | } |
3236 | inline ::std::string* Person::release_phonenumber() { |
3237 | // @@protoc_insertion_point(field_release:Person.phoneNumber) |
3238 | |
3239 | return phonenumber_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3240 | } |
3241 | inline void Person::set_allocated_phonenumber(::std::string* phonenumber) { |
3242 | if (phonenumber != NULL) { |
3243 | |
3244 | } else { |
3245 | |
3246 | } |
3247 | phonenumber_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), phonenumber); |
3248 | // @@protoc_insertion_point(field_set_allocated:Person.phoneNumber) |
3249 | } |
3250 | |
3251 | // bool isOnline = 8; |
3252 | inline void Person::clear_isonline() { |
3253 | isonline_ = false; |
3254 | } |
3255 | inline bool Person::isonline() const { |
3256 | // @@protoc_insertion_point(field_get:Person.isOnline) |
3257 | return isonline_; |
3258 | } |
3259 | inline void Person::set_isonline(bool value) { |
3260 | |
3261 | isonline_ = value; |
3262 | // @@protoc_insertion_point(field_set:Person.isOnline) |
3263 | } |
3264 | |
3265 | // fixed32 visitTime = 9; |
3266 | inline void Person::clear_visittime() { |
3267 | visittime_ = 0u; |
3268 | } |
3269 | inline ::google::protobuf::uint32 Person::visittime() const { |
3270 | // @@protoc_insertion_point(field_get:Person.visitTime) |
3271 | return visittime_; |
3272 | } |
3273 | inline void Person::set_visittime(::google::protobuf::uint32 value) { |
3274 | |
3275 | visittime_ = value; |
3276 | // @@protoc_insertion_point(field_set:Person.visitTime) |
3277 | } |
3278 | |
3279 | // uint32 age = 10; |
3280 | inline void Person::clear_age() { |
3281 | age_ = 0u; |
3282 | } |
3283 | inline ::google::protobuf::uint32 Person::age() const { |
3284 | // @@protoc_insertion_point(field_get:Person.age) |
3285 | return age_; |
3286 | } |
3287 | inline void Person::set_age(::google::protobuf::uint32 value) { |
3288 | |
3289 | age_ = value; |
3290 | // @@protoc_insertion_point(field_set:Person.age) |
3291 | } |
3292 | |
3293 | // .ZodiacSign zodiacSign = 11; |
3294 | inline void Person::clear_zodiacsign() { |
3295 | zodiacsign_ = 0; |
3296 | } |
3297 | inline ::ZodiacSign Person::zodiacsign() const { |
3298 | // @@protoc_insertion_point(field_get:Person.zodiacSign) |
3299 | return static_cast< ::ZodiacSign >(zodiacsign_); |
3300 | } |
3301 | inline void Person::set_zodiacsign(::ZodiacSign value) { |
3302 | |
3303 | zodiacsign_ = value; |
3304 | // @@protoc_insertion_point(field_set:Person.zodiacSign) |
3305 | } |
3306 | |
3307 | // repeated string songs = 12; |
3308 | inline int Person::songs_size() const { |
3309 | return songs_.size(); |
3310 | } |
3311 | inline void Person::clear_songs() { |
3312 | songs_.Clear(); |
3313 | } |
3314 | inline const ::std::string& Person::songs(int index) const { |
3315 | // @@protoc_insertion_point(field_get:Person.songs) |
3316 | return songs_.Get(index); |
3317 | } |
3318 | inline ::std::string* Person::mutable_songs(int index) { |
3319 | // @@protoc_insertion_point(field_mutable:Person.songs) |
3320 | return songs_.Mutable(index); |
3321 | } |
3322 | inline void Person::set_songs(int index, const ::std::string& value) { |
3323 | // @@protoc_insertion_point(field_set:Person.songs) |
3324 | songs_.Mutable(index)->assign(value); |
3325 | } |
3326 | #if LANG_CXX11 |
3327 | inline void Person::set_songs(int index, ::std::string&& value) { |
3328 | // @@protoc_insertion_point(field_set:Person.songs) |
3329 | songs_.Mutable(index)->assign(std::move(value)); |
3330 | } |
3331 | #endif |
3332 | inline void Person::set_songs(int index, const char* value) { |
3333 | GOOGLE_DCHECK(value != NULL); |
3334 | songs_.Mutable(index)->assign(value); |
3335 | // @@protoc_insertion_point(field_set_char:Person.songs) |
3336 | } |
3337 | inline void Person::set_songs(int index, const char* value, size_t size) { |
3338 | songs_.Mutable(index)->assign( |
3339 | reinterpret_cast<const char*>(value), size); |
3340 | // @@protoc_insertion_point(field_set_pointer:Person.songs) |
3341 | } |
3342 | inline ::std::string* Person::add_songs() { |
3343 | // @@protoc_insertion_point(field_add_mutable:Person.songs) |
3344 | return songs_.Add(); |
3345 | } |
3346 | inline void Person::add_songs(const ::std::string& value) { |
3347 | songs_.Add()->assign(value); |
3348 | // @@protoc_insertion_point(field_add:Person.songs) |
3349 | } |
3350 | #if LANG_CXX11 |
3351 | inline void Person::add_songs(::std::string&& value) { |
3352 | songs_.Add(std::move(value)); |
3353 | // @@protoc_insertion_point(field_add:Person.songs) |
3354 | } |
3355 | #endif |
3356 | inline void Person::add_songs(const char* value) { |
3357 | GOOGLE_DCHECK(value != NULL); |
3358 | songs_.Add()->assign(value); |
3359 | // @@protoc_insertion_point(field_add_char:Person.songs) |
3360 | } |
3361 | inline void Person::add_songs(const char* value, size_t size) { |
3362 | songs_.Add()->assign(reinterpret_cast<const char*>(value), size); |
3363 | // @@protoc_insertion_point(field_add_pointer:Person.songs) |
3364 | } |
3365 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
3366 | Person::songs() const { |
3367 | // @@protoc_insertion_point(field_list:Person.songs) |
3368 | return songs_; |
3369 | } |
3370 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
3371 | Person::mutable_songs() { |
3372 | // @@protoc_insertion_point(field_mutable_list:Person.songs) |
3373 | return &songs_; |
3374 | } |
3375 | |
3376 | // repeated uint32 color = 13; |
3377 | inline int Person::color_size() const { |
3378 | return color_.size(); |
3379 | } |
3380 | inline void Person::clear_color() { |
3381 | color_.Clear(); |
3382 | } |
3383 | inline ::google::protobuf::uint32 Person::color(int index) const { |
3384 | // @@protoc_insertion_point(field_get:Person.color) |
3385 | return color_.Get(index); |
3386 | } |
3387 | inline void Person::set_color(int index, ::google::protobuf::uint32 value) { |
3388 | color_.Set(index, value); |
3389 | // @@protoc_insertion_point(field_set:Person.color) |
3390 | } |
3391 | inline void Person::add_color(::google::protobuf::uint32 value) { |
3392 | color_.Add(value); |
3393 | // @@protoc_insertion_point(field_add:Person.color) |
3394 | } |
3395 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& |
3396 | Person::color() const { |
3397 | // @@protoc_insertion_point(field_list:Person.color) |
3398 | return color_; |
3399 | } |
3400 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* |
3401 | Person::mutable_color() { |
3402 | // @@protoc_insertion_point(field_mutable_list:Person.color) |
3403 | return &color_; |
3404 | } |
3405 | |
3406 | // string hometown = 14; |
3407 | inline void Person::clear_hometown() { |
3408 | hometown_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3409 | } |
3410 | inline const ::std::string& Person::hometown() const { |
3411 | // @@protoc_insertion_point(field_get:Person.hometown) |
3412 | return hometown_.GetNoArena(); |
3413 | } |
3414 | inline void Person::set_hometown(const ::std::string& value) { |
3415 | |
3416 | hometown_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3417 | // @@protoc_insertion_point(field_set:Person.hometown) |
3418 | } |
3419 | #if LANG_CXX11 |
3420 | inline void Person::set_hometown(::std::string&& value) { |
3421 | |
3422 | hometown_.SetNoArena( |
3423 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3424 | // @@protoc_insertion_point(field_set_rvalue:Person.hometown) |
3425 | } |
3426 | #endif |
3427 | inline void Person::set_hometown(const char* value) { |
3428 | GOOGLE_DCHECK(value != NULL); |
3429 | |
3430 | hometown_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3431 | // @@protoc_insertion_point(field_set_char:Person.hometown) |
3432 | } |
3433 | inline void Person::set_hometown(const char* value, size_t size) { |
3434 | |
3435 | hometown_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3436 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3437 | // @@protoc_insertion_point(field_set_pointer:Person.hometown) |
3438 | } |
3439 | inline ::std::string* Person::mutable_hometown() { |
3440 | |
3441 | // @@protoc_insertion_point(field_mutable:Person.hometown) |
3442 | return hometown_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3443 | } |
3444 | inline ::std::string* Person::release_hometown() { |
3445 | // @@protoc_insertion_point(field_release:Person.hometown) |
3446 | |
3447 | return hometown_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3448 | } |
3449 | inline void Person::set_allocated_hometown(::std::string* hometown) { |
3450 | if (hometown != NULL) { |
3451 | |
3452 | } else { |
3453 | |
3454 | } |
3455 | hometown_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), hometown); |
3456 | // @@protoc_insertion_point(field_set_allocated:Person.hometown) |
3457 | } |
3458 | |
3459 | // repeated float location = 15; |
3460 | inline int Person::location_size() const { |
3461 | return location_.size(); |
3462 | } |
3463 | inline void Person::clear_location() { |
3464 | location_.Clear(); |
3465 | } |
3466 | inline float Person::location(int index) const { |
3467 | // @@protoc_insertion_point(field_get:Person.location) |
3468 | return location_.Get(index); |
3469 | } |
3470 | inline void Person::set_location(int index, float value) { |
3471 | location_.Set(index, value); |
3472 | // @@protoc_insertion_point(field_set:Person.location) |
3473 | } |
3474 | inline void Person::add_location(float value) { |
3475 | location_.Add(value); |
3476 | // @@protoc_insertion_point(field_add:Person.location) |
3477 | } |
3478 | inline const ::google::protobuf::RepeatedField< float >& |
3479 | Person::location() const { |
3480 | // @@protoc_insertion_point(field_list:Person.location) |
3481 | return location_; |
3482 | } |
3483 | inline ::google::protobuf::RepeatedField< float >* |
3484 | Person::mutable_location() { |
3485 | // @@protoc_insertion_point(field_mutable_list:Person.location) |
3486 | return &location_; |
3487 | } |
3488 | |
3489 | // double pi = 16; |
3490 | inline void Person::clear_pi() { |
3491 | pi_ = 0; |
3492 | } |
3493 | inline double Person::pi() const { |
3494 | // @@protoc_insertion_point(field_get:Person.pi) |
3495 | return pi_; |
3496 | } |
3497 | inline void Person::set_pi(double value) { |
3498 | |
3499 | pi_ = value; |
3500 | // @@protoc_insertion_point(field_set:Person.pi) |
3501 | } |
3502 | |
3503 | // double lotteryWin = 17; |
3504 | inline void Person::clear_lotterywin() { |
3505 | lotterywin_ = 0; |
3506 | } |
3507 | inline double Person::lotterywin() const { |
3508 | // @@protoc_insertion_point(field_get:Person.lotteryWin) |
3509 | return lotterywin_; |
3510 | } |
3511 | inline void Person::set_lotterywin(double value) { |
3512 | |
3513 | lotterywin_ = value; |
3514 | // @@protoc_insertion_point(field_set:Person.lotteryWin) |
3515 | } |
3516 | |
3517 | // float someRatio = 18; |
3518 | inline void Person::clear_someratio() { |
3519 | someratio_ = 0; |
3520 | } |
3521 | inline float Person::someratio() const { |
3522 | // @@protoc_insertion_point(field_get:Person.someRatio) |
3523 | return someratio_; |
3524 | } |
3525 | inline void Person::set_someratio(float value) { |
3526 | |
3527 | someratio_ = value; |
3528 | // @@protoc_insertion_point(field_set:Person.someRatio) |
3529 | } |
3530 | |
3531 | // float temperature = 19; |
3532 | inline void Person::clear_temperature() { |
3533 | temperature_ = 0; |
3534 | } |
3535 | inline float Person::temperature() const { |
3536 | // @@protoc_insertion_point(field_get:Person.temperature) |
3537 | return temperature_; |
3538 | } |
3539 | inline void Person::set_temperature(float value) { |
3540 | |
3541 | temperature_ = value; |
3542 | // @@protoc_insertion_point(field_set:Person.temperature) |
3543 | } |
3544 | |
3545 | // sint64 randomBigNumber = 20; |
3546 | inline void Person::clear_randombignumber() { |
3547 | randombignumber_ = GOOGLE_LONGLONG(0); |
3548 | } |
3549 | inline ::google::protobuf::int64 Person::randombignumber() const { |
3550 | // @@protoc_insertion_point(field_get:Person.randomBigNumber) |
3551 | return randombignumber_; |
3552 | } |
3553 | inline void Person::set_randombignumber(::google::protobuf::int64 value) { |
3554 | |
3555 | randombignumber_ = value; |
3556 | // @@protoc_insertion_point(field_set:Person.randomBigNumber) |
3557 | } |
3558 | |
3559 | // repeated .Person.MeasureUnit measureUnits = 21; |
3560 | inline int Person::measureunits_size() const { |
3561 | return measureunits_.size(); |
3562 | } |
3563 | inline void Person::clear_measureunits() { |
3564 | measureunits_.Clear(); |
3565 | } |
3566 | inline ::Person_MeasureUnit* Person::mutable_measureunits(int index) { |
3567 | // @@protoc_insertion_point(field_mutable:Person.measureUnits) |
3568 | return measureunits_.Mutable(index); |
3569 | } |
3570 | inline ::google::protobuf::RepeatedPtrField< ::Person_MeasureUnit >* |
3571 | Person::mutable_measureunits() { |
3572 | // @@protoc_insertion_point(field_mutable_list:Person.measureUnits) |
3573 | return &measureunits_; |
3574 | } |
3575 | inline const ::Person_MeasureUnit& Person::measureunits(int index) const { |
3576 | // @@protoc_insertion_point(field_get:Person.measureUnits) |
3577 | return measureunits_.Get(index); |
3578 | } |
3579 | inline ::Person_MeasureUnit* Person::add_measureunits() { |
3580 | // @@protoc_insertion_point(field_add:Person.measureUnits) |
3581 | return measureunits_.Add(); |
3582 | } |
3583 | inline const ::google::protobuf::RepeatedPtrField< ::Person_MeasureUnit >& |
3584 | Person::measureunits() const { |
3585 | // @@protoc_insertion_point(field_list:Person.measureUnits) |
3586 | return measureunits_; |
3587 | } |
3588 | |
3589 | // .Nestiness nestiness = 22; |
3590 | inline bool Person::has_nestiness() const { |
3591 | return this != internal_default_instance() && nestiness_ != NULL; |
3592 | } |
3593 | inline void Person::clear_nestiness() { |
3594 | if (GetArenaNoVirtual() == NULL && nestiness_ != NULL) { |
3595 | delete nestiness_; |
3596 | } |
3597 | nestiness_ = NULL; |
3598 | } |
3599 | inline const ::Nestiness& Person::_internal_nestiness() const { |
3600 | return *nestiness_; |
3601 | } |
3602 | inline const ::Nestiness& Person::nestiness() const { |
3603 | const ::Nestiness* p = nestiness_; |
3604 | // @@protoc_insertion_point(field_get:Person.nestiness) |
3605 | return p != NULL ? *p : *reinterpret_cast<const ::Nestiness*>( |
3606 | &::_Nestiness_default_instance_); |
3607 | } |
3608 | inline ::Nestiness* Person::release_nestiness() { |
3609 | // @@protoc_insertion_point(field_release:Person.nestiness) |
3610 | |
3611 | ::Nestiness* temp = nestiness_; |
3612 | nestiness_ = NULL; |
3613 | return temp; |
3614 | } |
3615 | inline ::Nestiness* Person::mutable_nestiness() { |
3616 | |
3617 | if (nestiness_ == NULL) { |
3618 | auto* p = CreateMaybeMessage<::Nestiness>(GetArenaNoVirtual()); |
3619 | nestiness_ = p; |
3620 | } |
3621 | // @@protoc_insertion_point(field_mutable:Person.nestiness) |
3622 | return nestiness_; |
3623 | } |
3624 | inline void Person::set_allocated_nestiness(::Nestiness* nestiness) { |
3625 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
3626 | if (message_arena == NULL) { |
3627 | delete nestiness_; |
3628 | } |
3629 | if (nestiness) { |
3630 | ::google::protobuf::Arena* submessage_arena = NULL; |
3631 | if (message_arena != submessage_arena) { |
3632 | nestiness = ::google::protobuf::internal::GetOwnedMessage( |
3633 | message_arena, nestiness, submessage_arena); |
3634 | } |
3635 | |
3636 | } else { |
3637 | |
3638 | } |
3639 | nestiness_ = nestiness; |
3640 | // @@protoc_insertion_point(field_set_allocated:Person.nestiness) |
3641 | } |
3642 | |
3643 | // ------------------------------------------------------------------- |
3644 | |
3645 | // AltPerson_Dummy_Empty |
3646 | |
3647 | // ------------------------------------------------------------------- |
3648 | |
3649 | // AltPerson_Dummy |
3650 | |
3651 | // repeated .AltPerson.Dummy.Empty empty = 1; |
3652 | inline int AltPerson_Dummy::empty_size() const { |
3653 | return empty_.size(); |
3654 | } |
3655 | inline void AltPerson_Dummy::clear_empty() { |
3656 | empty_.Clear(); |
3657 | } |
3658 | inline ::AltPerson_Dummy_Empty* AltPerson_Dummy::mutable_empty(int index) { |
3659 | // @@protoc_insertion_point(field_mutable:AltPerson.Dummy.empty) |
3660 | return empty_.Mutable(index); |
3661 | } |
3662 | inline ::google::protobuf::RepeatedPtrField< ::AltPerson_Dummy_Empty >* |
3663 | AltPerson_Dummy::mutable_empty() { |
3664 | // @@protoc_insertion_point(field_mutable_list:AltPerson.Dummy.empty) |
3665 | return &empty_; |
3666 | } |
3667 | inline const ::AltPerson_Dummy_Empty& AltPerson_Dummy::empty(int index) const { |
3668 | // @@protoc_insertion_point(field_get:AltPerson.Dummy.empty) |
3669 | return empty_.Get(index); |
3670 | } |
3671 | inline ::AltPerson_Dummy_Empty* AltPerson_Dummy::add_empty() { |
3672 | // @@protoc_insertion_point(field_add:AltPerson.Dummy.empty) |
3673 | return empty_.Add(); |
3674 | } |
3675 | inline const ::google::protobuf::RepeatedPtrField< ::AltPerson_Dummy_Empty >& |
3676 | AltPerson_Dummy::empty() const { |
3677 | // @@protoc_insertion_point(field_list:AltPerson.Dummy.empty) |
3678 | return empty_; |
3679 | } |
3680 | |
3681 | // float z = 2; |
3682 | inline void AltPerson_Dummy::clear_z() { |
3683 | z_ = 0; |
3684 | } |
3685 | inline float AltPerson_Dummy::z() const { |
3686 | // @@protoc_insertion_point(field_get:AltPerson.Dummy.z) |
3687 | return z_; |
3688 | } |
3689 | inline void AltPerson_Dummy::set_z(float value) { |
3690 | |
3691 | z_ = value; |
3692 | // @@protoc_insertion_point(field_set:AltPerson.Dummy.z) |
3693 | } |
3694 | |
3695 | // ------------------------------------------------------------------- |
3696 | |
3697 | // AltPerson |
3698 | |
3699 | // repeated int32 location = 101 [packed = false]; |
3700 | inline int AltPerson::location_size() const { |
3701 | return location_.size(); |
3702 | } |
3703 | inline void AltPerson::clear_location() { |
3704 | location_.Clear(); |
3705 | } |
3706 | inline ::google::protobuf::int32 AltPerson::location(int index) const { |
3707 | // @@protoc_insertion_point(field_get:AltPerson.location) |
3708 | return location_.Get(index); |
3709 | } |
3710 | inline void AltPerson::set_location(int index, ::google::protobuf::int32 value) { |
3711 | location_.Set(index, value); |
3712 | // @@protoc_insertion_point(field_set:AltPerson.location) |
3713 | } |
3714 | inline void AltPerson::add_location(::google::protobuf::int32 value) { |
3715 | location_.Add(value); |
3716 | // @@protoc_insertion_point(field_add:AltPerson.location) |
3717 | } |
3718 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
3719 | AltPerson::location() const { |
3720 | // @@protoc_insertion_point(field_list:AltPerson.location) |
3721 | return location_; |
3722 | } |
3723 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
3724 | AltPerson::mutable_location() { |
3725 | // @@protoc_insertion_point(field_mutable_list:AltPerson.location) |
3726 | return &location_; |
3727 | } |
3728 | |
3729 | // float pi = 103; |
3730 | inline void AltPerson::clear_pi() { |
3731 | pi_ = 0; |
3732 | } |
3733 | inline float AltPerson::pi() const { |
3734 | // @@protoc_insertion_point(field_get:AltPerson.pi) |
3735 | return pi_; |
3736 | } |
3737 | inline void AltPerson::set_pi(float value) { |
3738 | |
3739 | pi_ = value; |
3740 | // @@protoc_insertion_point(field_set:AltPerson.pi) |
3741 | } |
3742 | |
3743 | // bytes uuid = 300; |
3744 | inline void AltPerson::clear_uuid() { |
3745 | uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3746 | } |
3747 | inline const ::std::string& AltPerson::uuid() const { |
3748 | // @@protoc_insertion_point(field_get:AltPerson.uuid) |
3749 | return uuid_.GetNoArena(); |
3750 | } |
3751 | inline void AltPerson::set_uuid(const ::std::string& value) { |
3752 | |
3753 | uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3754 | // @@protoc_insertion_point(field_set:AltPerson.uuid) |
3755 | } |
3756 | #if LANG_CXX11 |
3757 | inline void AltPerson::set_uuid(::std::string&& value) { |
3758 | |
3759 | uuid_.SetNoArena( |
3760 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3761 | // @@protoc_insertion_point(field_set_rvalue:AltPerson.uuid) |
3762 | } |
3763 | #endif |
3764 | inline void AltPerson::set_uuid(const char* value) { |
3765 | GOOGLE_DCHECK(value != NULL); |
3766 | |
3767 | uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3768 | // @@protoc_insertion_point(field_set_char:AltPerson.uuid) |
3769 | } |
3770 | inline void AltPerson::set_uuid(const void* value, size_t size) { |
3771 | |
3772 | uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3773 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3774 | // @@protoc_insertion_point(field_set_pointer:AltPerson.uuid) |
3775 | } |
3776 | inline ::std::string* AltPerson::mutable_uuid() { |
3777 | |
3778 | // @@protoc_insertion_point(field_mutable:AltPerson.uuid) |
3779 | return uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3780 | } |
3781 | inline ::std::string* AltPerson::release_uuid() { |
3782 | // @@protoc_insertion_point(field_release:AltPerson.uuid) |
3783 | |
3784 | return uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3785 | } |
3786 | inline void AltPerson::set_allocated_uuid(::std::string* uuid) { |
3787 | if (uuid != NULL) { |
3788 | |
3789 | } else { |
3790 | |
3791 | } |
3792 | uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), uuid); |
3793 | // @@protoc_insertion_point(field_set_allocated:AltPerson.uuid) |
3794 | } |
3795 | |
3796 | // bool newFieldBool = 299; |
3797 | inline void AltPerson::clear_newfieldbool() { |
3798 | newfieldbool_ = false; |
3799 | } |
3800 | inline bool AltPerson::newfieldbool() const { |
3801 | // @@protoc_insertion_point(field_get:AltPerson.newFieldBool) |
3802 | return newfieldbool_; |
3803 | } |
3804 | inline void AltPerson::set_newfieldbool(bool value) { |
3805 | |
3806 | newfieldbool_ = value; |
3807 | // @@protoc_insertion_point(field_set:AltPerson.newFieldBool) |
3808 | } |
3809 | |
3810 | // string name = 2; |
3811 | inline void AltPerson::clear_name() { |
3812 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3813 | } |
3814 | inline const ::std::string& AltPerson::name() const { |
3815 | // @@protoc_insertion_point(field_get:AltPerson.name) |
3816 | return name_.GetNoArena(); |
3817 | } |
3818 | inline void AltPerson::set_name(const ::std::string& value) { |
3819 | |
3820 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3821 | // @@protoc_insertion_point(field_set:AltPerson.name) |
3822 | } |
3823 | #if LANG_CXX11 |
3824 | inline void AltPerson::set_name(::std::string&& value) { |
3825 | |
3826 | name_.SetNoArena( |
3827 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3828 | // @@protoc_insertion_point(field_set_rvalue:AltPerson.name) |
3829 | } |
3830 | #endif |
3831 | inline void AltPerson::set_name(const char* value) { |
3832 | GOOGLE_DCHECK(value != NULL); |
3833 | |
3834 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3835 | // @@protoc_insertion_point(field_set_char:AltPerson.name) |
3836 | } |
3837 | inline void AltPerson::set_name(const char* value, size_t size) { |
3838 | |
3839 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3840 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3841 | // @@protoc_insertion_point(field_set_pointer:AltPerson.name) |
3842 | } |
3843 | inline ::std::string* AltPerson::mutable_name() { |
3844 | |
3845 | // @@protoc_insertion_point(field_mutable:AltPerson.name) |
3846 | return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3847 | } |
3848 | inline ::std::string* AltPerson::release_name() { |
3849 | // @@protoc_insertion_point(field_release:AltPerson.name) |
3850 | |
3851 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3852 | } |
3853 | inline void AltPerson::set_allocated_name(::std::string* name) { |
3854 | if (name != NULL) { |
3855 | |
3856 | } else { |
3857 | |
3858 | } |
3859 | name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); |
3860 | // @@protoc_insertion_point(field_set_allocated:AltPerson.name) |
3861 | } |
3862 | |
3863 | // .AltPerson.Gender gender = 102; |
3864 | inline void AltPerson::clear_gender() { |
3865 | gender_ = 0; |
3866 | } |
3867 | inline ::AltPerson_Gender AltPerson::gender() const { |
3868 | // @@protoc_insertion_point(field_get:AltPerson.gender) |
3869 | return static_cast< ::AltPerson_Gender >(gender_); |
3870 | } |
3871 | inline void AltPerson::set_gender(::AltPerson_Gender value) { |
3872 | |
3873 | gender_ = value; |
3874 | // @@protoc_insertion_point(field_set:AltPerson.gender) |
3875 | } |
3876 | |
3877 | // int32 zodiacSign = 130; |
3878 | inline void AltPerson::clear_zodiacsign() { |
3879 | zodiacsign_ = 0; |
3880 | } |
3881 | inline ::google::protobuf::int32 AltPerson::zodiacsign() const { |
3882 | // @@protoc_insertion_point(field_get:AltPerson.zodiacSign) |
3883 | return zodiacsign_; |
3884 | } |
3885 | inline void AltPerson::set_zodiacsign(::google::protobuf::int32 value) { |
3886 | |
3887 | zodiacsign_ = value; |
3888 | // @@protoc_insertion_point(field_set:AltPerson.zodiacSign) |
3889 | } |
3890 | |
3891 | // int64 birthDate = 150; |
3892 | inline void AltPerson::clear_birthdate() { |
3893 | birthdate_ = GOOGLE_LONGLONG(0); |
3894 | } |
3895 | inline ::google::protobuf::int64 AltPerson::birthdate() const { |
3896 | // @@protoc_insertion_point(field_get:AltPerson.birthDate) |
3897 | return birthdate_; |
3898 | } |
3899 | inline void AltPerson::set_birthdate(::google::protobuf::int64 value) { |
3900 | |
3901 | birthdate_ = value; |
3902 | // @@protoc_insertion_point(field_set:AltPerson.birthDate) |
3903 | } |
3904 | |
3905 | // bytes age = 111; |
3906 | inline void AltPerson::clear_age() { |
3907 | age_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3908 | } |
3909 | inline const ::std::string& AltPerson::age() const { |
3910 | // @@protoc_insertion_point(field_get:AltPerson.age) |
3911 | return age_.GetNoArena(); |
3912 | } |
3913 | inline void AltPerson::set_age(const ::std::string& value) { |
3914 | |
3915 | age_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
3916 | // @@protoc_insertion_point(field_set:AltPerson.age) |
3917 | } |
3918 | #if LANG_CXX11 |
3919 | inline void AltPerson::set_age(::std::string&& value) { |
3920 | |
3921 | age_.SetNoArena( |
3922 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
3923 | // @@protoc_insertion_point(field_set_rvalue:AltPerson.age) |
3924 | } |
3925 | #endif |
3926 | inline void AltPerson::set_age(const char* value) { |
3927 | GOOGLE_DCHECK(value != NULL); |
3928 | |
3929 | age_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
3930 | // @@protoc_insertion_point(field_set_char:AltPerson.age) |
3931 | } |
3932 | inline void AltPerson::set_age(const void* value, size_t size) { |
3933 | |
3934 | age_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
3935 | ::std::string(reinterpret_cast<const char*>(value), size)); |
3936 | // @@protoc_insertion_point(field_set_pointer:AltPerson.age) |
3937 | } |
3938 | inline ::std::string* AltPerson::mutable_age() { |
3939 | |
3940 | // @@protoc_insertion_point(field_mutable:AltPerson.age) |
3941 | return age_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3942 | } |
3943 | inline ::std::string* AltPerson::release_age() { |
3944 | // @@protoc_insertion_point(field_release:AltPerson.age) |
3945 | |
3946 | return age_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
3947 | } |
3948 | inline void AltPerson::set_allocated_age(::std::string* age) { |
3949 | if (age != NULL) { |
3950 | |
3951 | } else { |
3952 | |
3953 | } |
3954 | age_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), age); |
3955 | // @@protoc_insertion_point(field_set_allocated:AltPerson.age) |
3956 | } |
3957 | |
3958 | // .OnlineStatus isOnline = 1; |
3959 | inline void AltPerson::clear_isonline() { |
3960 | isonline_ = 0; |
3961 | } |
3962 | inline ::OnlineStatus AltPerson::isonline() const { |
3963 | // @@protoc_insertion_point(field_get:AltPerson.isOnline) |
3964 | return static_cast< ::OnlineStatus >(isonline_); |
3965 | } |
3966 | inline void AltPerson::set_isonline(::OnlineStatus value) { |
3967 | |
3968 | isonline_ = value; |
3969 | // @@protoc_insertion_point(field_set:AltPerson.isOnline) |
3970 | } |
3971 | |
3972 | // double someRatio = 100; |
3973 | inline void AltPerson::clear_someratio() { |
3974 | someratio_ = 0; |
3975 | } |
3976 | inline double AltPerson::someratio() const { |
3977 | // @@protoc_insertion_point(field_get:AltPerson.someRatio) |
3978 | return someratio_; |
3979 | } |
3980 | inline void AltPerson::set_someratio(double value) { |
3981 | |
3982 | someratio_ = value; |
3983 | // @@protoc_insertion_point(field_set:AltPerson.someRatio) |
3984 | } |
3985 | |
3986 | // fixed64 visitTime = 15; |
3987 | inline void AltPerson::clear_visittime() { |
3988 | visittime_ = GOOGLE_ULONGLONG(0); |
3989 | } |
3990 | inline ::google::protobuf::uint64 AltPerson::visittime() const { |
3991 | // @@protoc_insertion_point(field_get:AltPerson.visitTime) |
3992 | return visittime_; |
3993 | } |
3994 | inline void AltPerson::set_visittime(::google::protobuf::uint64 value) { |
3995 | |
3996 | visittime_ = value; |
3997 | // @@protoc_insertion_point(field_set:AltPerson.visitTime) |
3998 | } |
3999 | |
4000 | // .AltPerson.Dummy newMessage = 1000; |
4001 | inline bool AltPerson::has_newmessage() const { |
4002 | return this != internal_default_instance() && newmessage_ != NULL; |
4003 | } |
4004 | inline void AltPerson::clear_newmessage() { |
4005 | if (GetArenaNoVirtual() == NULL && newmessage_ != NULL) { |
4006 | delete newmessage_; |
4007 | } |
4008 | newmessage_ = NULL; |
4009 | } |
4010 | inline const ::AltPerson_Dummy& AltPerson::_internal_newmessage() const { |
4011 | return *newmessage_; |
4012 | } |
4013 | inline const ::AltPerson_Dummy& AltPerson::newmessage() const { |
4014 | const ::AltPerson_Dummy* p = newmessage_; |
4015 | // @@protoc_insertion_point(field_get:AltPerson.newMessage) |
4016 | return p != NULL ? *p : *reinterpret_cast<const ::AltPerson_Dummy*>( |
4017 | &::_AltPerson_Dummy_default_instance_); |
4018 | } |
4019 | inline ::AltPerson_Dummy* AltPerson::release_newmessage() { |
4020 | // @@protoc_insertion_point(field_release:AltPerson.newMessage) |
4021 | |
4022 | ::AltPerson_Dummy* temp = newmessage_; |
4023 | newmessage_ = NULL; |
4024 | return temp; |
4025 | } |
4026 | inline ::AltPerson_Dummy* AltPerson::mutable_newmessage() { |
4027 | |
4028 | if (newmessage_ == NULL) { |
4029 | auto* p = CreateMaybeMessage<::AltPerson_Dummy>(GetArenaNoVirtual()); |
4030 | newmessage_ = p; |
4031 | } |
4032 | // @@protoc_insertion_point(field_mutable:AltPerson.newMessage) |
4033 | return newmessage_; |
4034 | } |
4035 | inline void AltPerson::set_allocated_newmessage(::AltPerson_Dummy* newmessage) { |
4036 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4037 | if (message_arena == NULL) { |
4038 | delete newmessage_; |
4039 | } |
4040 | if (newmessage) { |
4041 | ::google::protobuf::Arena* submessage_arena = NULL; |
4042 | if (message_arena != submessage_arena) { |
4043 | newmessage = ::google::protobuf::internal::GetOwnedMessage( |
4044 | message_arena, newmessage, submessage_arena); |
4045 | } |
4046 | |
4047 | } else { |
4048 | |
4049 | } |
4050 | newmessage_ = newmessage; |
4051 | // @@protoc_insertion_point(field_set_allocated:AltPerson.newMessage) |
4052 | } |
4053 | |
4054 | // sfixed64 randomBigNumber = 140; |
4055 | inline void AltPerson::clear_randombignumber() { |
4056 | randombignumber_ = GOOGLE_LONGLONG(0); |
4057 | } |
4058 | inline ::google::protobuf::int64 AltPerson::randombignumber() const { |
4059 | // @@protoc_insertion_point(field_get:AltPerson.randomBigNumber) |
4060 | return randombignumber_; |
4061 | } |
4062 | inline void AltPerson::set_randombignumber(::google::protobuf::int64 value) { |
4063 | |
4064 | randombignumber_ = value; |
4065 | // @@protoc_insertion_point(field_set:AltPerson.randomBigNumber) |
4066 | } |
4067 | |
4068 | // repeated int32 newFieldInt = 104; |
4069 | inline int AltPerson::newfieldint_size() const { |
4070 | return newfieldint_.size(); |
4071 | } |
4072 | inline void AltPerson::clear_newfieldint() { |
4073 | newfieldint_.Clear(); |
4074 | } |
4075 | inline ::google::protobuf::int32 AltPerson::newfieldint(int index) const { |
4076 | // @@protoc_insertion_point(field_get:AltPerson.newFieldInt) |
4077 | return newfieldint_.Get(index); |
4078 | } |
4079 | inline void AltPerson::set_newfieldint(int index, ::google::protobuf::int32 value) { |
4080 | newfieldint_.Set(index, value); |
4081 | // @@protoc_insertion_point(field_set:AltPerson.newFieldInt) |
4082 | } |
4083 | inline void AltPerson::add_newfieldint(::google::protobuf::int32 value) { |
4084 | newfieldint_.Add(value); |
4085 | // @@protoc_insertion_point(field_add:AltPerson.newFieldInt) |
4086 | } |
4087 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >& |
4088 | AltPerson::newfieldint() const { |
4089 | // @@protoc_insertion_point(field_list:AltPerson.newFieldInt) |
4090 | return newfieldint_; |
4091 | } |
4092 | inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >* |
4093 | AltPerson::mutable_newfieldint() { |
4094 | // @@protoc_insertion_point(field_mutable_list:AltPerson.newFieldInt) |
4095 | return &newfieldint_; |
4096 | } |
4097 | |
4098 | // repeated float color = 14; |
4099 | inline int AltPerson::color_size() const { |
4100 | return color_.size(); |
4101 | } |
4102 | inline void AltPerson::clear_color() { |
4103 | color_.Clear(); |
4104 | } |
4105 | inline float AltPerson::color(int index) const { |
4106 | // @@protoc_insertion_point(field_get:AltPerson.color) |
4107 | return color_.Get(index); |
4108 | } |
4109 | inline void AltPerson::set_color(int index, float value) { |
4110 | color_.Set(index, value); |
4111 | // @@protoc_insertion_point(field_set:AltPerson.color) |
4112 | } |
4113 | inline void AltPerson::add_color(float value) { |
4114 | color_.Add(value); |
4115 | // @@protoc_insertion_point(field_add:AltPerson.color) |
4116 | } |
4117 | inline const ::google::protobuf::RepeatedField< float >& |
4118 | AltPerson::color() const { |
4119 | // @@protoc_insertion_point(field_list:AltPerson.color) |
4120 | return color_; |
4121 | } |
4122 | inline ::google::protobuf::RepeatedField< float >* |
4123 | AltPerson::mutable_color() { |
4124 | // @@protoc_insertion_point(field_mutable_list:AltPerson.color) |
4125 | return &color_; |
4126 | } |
4127 | |
4128 | // uint64 lotteryWin = 202; |
4129 | inline void AltPerson::clear_lotterywin() { |
4130 | lotterywin_ = GOOGLE_ULONGLONG(0); |
4131 | } |
4132 | inline ::google::protobuf::uint64 AltPerson::lotterywin() const { |
4133 | // @@protoc_insertion_point(field_get:AltPerson.lotteryWin) |
4134 | return lotterywin_; |
4135 | } |
4136 | inline void AltPerson::set_lotterywin(::google::protobuf::uint64 value) { |
4137 | |
4138 | lotterywin_ = value; |
4139 | // @@protoc_insertion_point(field_set:AltPerson.lotteryWin) |
4140 | } |
4141 | |
4142 | // bytes surname = 10; |
4143 | inline void AltPerson::clear_surname() { |
4144 | surname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4145 | } |
4146 | inline const ::std::string& AltPerson::surname() const { |
4147 | // @@protoc_insertion_point(field_get:AltPerson.surname) |
4148 | return surname_.GetNoArena(); |
4149 | } |
4150 | inline void AltPerson::set_surname(const ::std::string& value) { |
4151 | |
4152 | surname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4153 | // @@protoc_insertion_point(field_set:AltPerson.surname) |
4154 | } |
4155 | #if LANG_CXX11 |
4156 | inline void AltPerson::set_surname(::std::string&& value) { |
4157 | |
4158 | surname_.SetNoArena( |
4159 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4160 | // @@protoc_insertion_point(field_set_rvalue:AltPerson.surname) |
4161 | } |
4162 | #endif |
4163 | inline void AltPerson::set_surname(const char* value) { |
4164 | GOOGLE_DCHECK(value != NULL); |
4165 | |
4166 | surname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4167 | // @@protoc_insertion_point(field_set_char:AltPerson.surname) |
4168 | } |
4169 | inline void AltPerson::set_surname(const void* value, size_t size) { |
4170 | |
4171 | surname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4172 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4173 | // @@protoc_insertion_point(field_set_pointer:AltPerson.surname) |
4174 | } |
4175 | inline ::std::string* AltPerson::mutable_surname() { |
4176 | |
4177 | // @@protoc_insertion_point(field_mutable:AltPerson.surname) |
4178 | return surname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4179 | } |
4180 | inline ::std::string* AltPerson::release_surname() { |
4181 | // @@protoc_insertion_point(field_release:AltPerson.surname) |
4182 | |
4183 | return surname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4184 | } |
4185 | inline void AltPerson::set_allocated_surname(::std::string* surname) { |
4186 | if (surname != NULL) { |
4187 | |
4188 | } else { |
4189 | |
4190 | } |
4191 | surname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), surname); |
4192 | // @@protoc_insertion_point(field_set_allocated:AltPerson.surname) |
4193 | } |
4194 | |
4195 | // uint64 phoneNumber = 5; |
4196 | inline void AltPerson::clear_phonenumber() { |
4197 | phonenumber_ = GOOGLE_ULONGLONG(0); |
4198 | } |
4199 | inline ::google::protobuf::uint64 AltPerson::phonenumber() const { |
4200 | // @@protoc_insertion_point(field_get:AltPerson.phoneNumber) |
4201 | return phonenumber_; |
4202 | } |
4203 | inline void AltPerson::set_phonenumber(::google::protobuf::uint64 value) { |
4204 | |
4205 | phonenumber_ = value; |
4206 | // @@protoc_insertion_point(field_set:AltPerson.phoneNumber) |
4207 | } |
4208 | |
4209 | // sint32 temperature = 41; |
4210 | inline void AltPerson::clear_temperature() { |
4211 | temperature_ = 0; |
4212 | } |
4213 | inline ::google::protobuf::int32 AltPerson::temperature() const { |
4214 | // @@protoc_insertion_point(field_get:AltPerson.temperature) |
4215 | return temperature_; |
4216 | } |
4217 | inline void AltPerson::set_temperature(::google::protobuf::int32 value) { |
4218 | |
4219 | temperature_ = value; |
4220 | // @@protoc_insertion_point(field_set:AltPerson.temperature) |
4221 | } |
4222 | |
4223 | // string newFieldStr = 21; |
4224 | inline void AltPerson::clear_newfieldstr() { |
4225 | newfieldstr_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4226 | } |
4227 | inline const ::std::string& AltPerson::newfieldstr() const { |
4228 | // @@protoc_insertion_point(field_get:AltPerson.newFieldStr) |
4229 | return newfieldstr_.GetNoArena(); |
4230 | } |
4231 | inline void AltPerson::set_newfieldstr(const ::std::string& value) { |
4232 | |
4233 | newfieldstr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4234 | // @@protoc_insertion_point(field_set:AltPerson.newFieldStr) |
4235 | } |
4236 | #if LANG_CXX11 |
4237 | inline void AltPerson::set_newfieldstr(::std::string&& value) { |
4238 | |
4239 | newfieldstr_.SetNoArena( |
4240 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4241 | // @@protoc_insertion_point(field_set_rvalue:AltPerson.newFieldStr) |
4242 | } |
4243 | #endif |
4244 | inline void AltPerson::set_newfieldstr(const char* value) { |
4245 | GOOGLE_DCHECK(value != NULL); |
4246 | |
4247 | newfieldstr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4248 | // @@protoc_insertion_point(field_set_char:AltPerson.newFieldStr) |
4249 | } |
4250 | inline void AltPerson::set_newfieldstr(const char* value, size_t size) { |
4251 | |
4252 | newfieldstr_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4253 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4254 | // @@protoc_insertion_point(field_set_pointer:AltPerson.newFieldStr) |
4255 | } |
4256 | inline ::std::string* AltPerson::mutable_newfieldstr() { |
4257 | |
4258 | // @@protoc_insertion_point(field_mutable:AltPerson.newFieldStr) |
4259 | return newfieldstr_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4260 | } |
4261 | inline ::std::string* AltPerson::release_newfieldstr() { |
4262 | // @@protoc_insertion_point(field_release:AltPerson.newFieldStr) |
4263 | |
4264 | return newfieldstr_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4265 | } |
4266 | inline void AltPerson::set_allocated_newfieldstr(::std::string* newfieldstr) { |
4267 | if (newfieldstr != NULL) { |
4268 | |
4269 | } else { |
4270 | |
4271 | } |
4272 | newfieldstr_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), newfieldstr); |
4273 | // @@protoc_insertion_point(field_set_allocated:AltPerson.newFieldStr) |
4274 | } |
4275 | |
4276 | // repeated string measureUnits_unit = 99; |
4277 | inline int AltPerson::measureunits_unit_size() const { |
4278 | return measureunits_unit_.size(); |
4279 | } |
4280 | inline void AltPerson::clear_measureunits_unit() { |
4281 | measureunits_unit_.Clear(); |
4282 | } |
4283 | inline const ::std::string& AltPerson::measureunits_unit(int index) const { |
4284 | // @@protoc_insertion_point(field_get:AltPerson.measureUnits_unit) |
4285 | return measureunits_unit_.Get(index); |
4286 | } |
4287 | inline ::std::string* AltPerson::mutable_measureunits_unit(int index) { |
4288 | // @@protoc_insertion_point(field_mutable:AltPerson.measureUnits_unit) |
4289 | return measureunits_unit_.Mutable(index); |
4290 | } |
4291 | inline void AltPerson::set_measureunits_unit(int index, const ::std::string& value) { |
4292 | // @@protoc_insertion_point(field_set:AltPerson.measureUnits_unit) |
4293 | measureunits_unit_.Mutable(index)->assign(value); |
4294 | } |
4295 | #if LANG_CXX11 |
4296 | inline void AltPerson::set_measureunits_unit(int index, ::std::string&& value) { |
4297 | // @@protoc_insertion_point(field_set:AltPerson.measureUnits_unit) |
4298 | measureunits_unit_.Mutable(index)->assign(std::move(value)); |
4299 | } |
4300 | #endif |
4301 | inline void AltPerson::set_measureunits_unit(int index, const char* value) { |
4302 | GOOGLE_DCHECK(value != NULL); |
4303 | measureunits_unit_.Mutable(index)->assign(value); |
4304 | // @@protoc_insertion_point(field_set_char:AltPerson.measureUnits_unit) |
4305 | } |
4306 | inline void AltPerson::set_measureunits_unit(int index, const char* value, size_t size) { |
4307 | measureunits_unit_.Mutable(index)->assign( |
4308 | reinterpret_cast<const char*>(value), size); |
4309 | // @@protoc_insertion_point(field_set_pointer:AltPerson.measureUnits_unit) |
4310 | } |
4311 | inline ::std::string* AltPerson::add_measureunits_unit() { |
4312 | // @@protoc_insertion_point(field_add_mutable:AltPerson.measureUnits_unit) |
4313 | return measureunits_unit_.Add(); |
4314 | } |
4315 | inline void AltPerson::add_measureunits_unit(const ::std::string& value) { |
4316 | measureunits_unit_.Add()->assign(value); |
4317 | // @@protoc_insertion_point(field_add:AltPerson.measureUnits_unit) |
4318 | } |
4319 | #if LANG_CXX11 |
4320 | inline void AltPerson::add_measureunits_unit(::std::string&& value) { |
4321 | measureunits_unit_.Add(std::move(value)); |
4322 | // @@protoc_insertion_point(field_add:AltPerson.measureUnits_unit) |
4323 | } |
4324 | #endif |
4325 | inline void AltPerson::add_measureunits_unit(const char* value) { |
4326 | GOOGLE_DCHECK(value != NULL); |
4327 | measureunits_unit_.Add()->assign(value); |
4328 | // @@protoc_insertion_point(field_add_char:AltPerson.measureUnits_unit) |
4329 | } |
4330 | inline void AltPerson::add_measureunits_unit(const char* value, size_t size) { |
4331 | measureunits_unit_.Add()->assign(reinterpret_cast<const char*>(value), size); |
4332 | // @@protoc_insertion_point(field_add_pointer:AltPerson.measureUnits_unit) |
4333 | } |
4334 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
4335 | AltPerson::measureunits_unit() const { |
4336 | // @@protoc_insertion_point(field_list:AltPerson.measureUnits_unit) |
4337 | return measureunits_unit_; |
4338 | } |
4339 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
4340 | AltPerson::mutable_measureunits_unit() { |
4341 | // @@protoc_insertion_point(field_mutable_list:AltPerson.measureUnits_unit) |
4342 | return &measureunits_unit_; |
4343 | } |
4344 | |
4345 | // repeated float measureUnits_coef = 88; |
4346 | inline int AltPerson::measureunits_coef_size() const { |
4347 | return measureunits_coef_.size(); |
4348 | } |
4349 | inline void AltPerson::clear_measureunits_coef() { |
4350 | measureunits_coef_.Clear(); |
4351 | } |
4352 | inline float AltPerson::measureunits_coef(int index) const { |
4353 | // @@protoc_insertion_point(field_get:AltPerson.measureUnits_coef) |
4354 | return measureunits_coef_.Get(index); |
4355 | } |
4356 | inline void AltPerson::set_measureunits_coef(int index, float value) { |
4357 | measureunits_coef_.Set(index, value); |
4358 | // @@protoc_insertion_point(field_set:AltPerson.measureUnits_coef) |
4359 | } |
4360 | inline void AltPerson::add_measureunits_coef(float value) { |
4361 | measureunits_coef_.Add(value); |
4362 | // @@protoc_insertion_point(field_add:AltPerson.measureUnits_coef) |
4363 | } |
4364 | inline const ::google::protobuf::RepeatedField< float >& |
4365 | AltPerson::measureunits_coef() const { |
4366 | // @@protoc_insertion_point(field_list:AltPerson.measureUnits_coef) |
4367 | return measureunits_coef_; |
4368 | } |
4369 | inline ::google::protobuf::RepeatedField< float >* |
4370 | AltPerson::mutable_measureunits_coef() { |
4371 | // @@protoc_insertion_point(field_mutable_list:AltPerson.measureUnits_coef) |
4372 | return &measureunits_coef_; |
4373 | } |
4374 | |
4375 | // uint32 nestiness_a_b_c_d = 900; |
4376 | inline void AltPerson::clear_nestiness_a_b_c_d() { |
4377 | nestiness_a_b_c_d_ = 0u; |
4378 | } |
4379 | inline ::google::protobuf::uint32 AltPerson::nestiness_a_b_c_d() const { |
4380 | // @@protoc_insertion_point(field_get:AltPerson.nestiness_a_b_c_d) |
4381 | return nestiness_a_b_c_d_; |
4382 | } |
4383 | inline void AltPerson::set_nestiness_a_b_c_d(::google::protobuf::uint32 value) { |
4384 | |
4385 | nestiness_a_b_c_d_ = value; |
4386 | // @@protoc_insertion_point(field_set:AltPerson.nestiness_a_b_c_d) |
4387 | } |
4388 | |
4389 | // repeated uint32 nestiness_a_b_c_e = 901; |
4390 | inline int AltPerson::nestiness_a_b_c_e_size() const { |
4391 | return nestiness_a_b_c_e_.size(); |
4392 | } |
4393 | inline void AltPerson::clear_nestiness_a_b_c_e() { |
4394 | nestiness_a_b_c_e_.Clear(); |
4395 | } |
4396 | inline ::google::protobuf::uint32 AltPerson::nestiness_a_b_c_e(int index) const { |
4397 | // @@protoc_insertion_point(field_get:AltPerson.nestiness_a_b_c_e) |
4398 | return nestiness_a_b_c_e_.Get(index); |
4399 | } |
4400 | inline void AltPerson::set_nestiness_a_b_c_e(int index, ::google::protobuf::uint32 value) { |
4401 | nestiness_a_b_c_e_.Set(index, value); |
4402 | // @@protoc_insertion_point(field_set:AltPerson.nestiness_a_b_c_e) |
4403 | } |
4404 | inline void AltPerson::add_nestiness_a_b_c_e(::google::protobuf::uint32 value) { |
4405 | nestiness_a_b_c_e_.Add(value); |
4406 | // @@protoc_insertion_point(field_add:AltPerson.nestiness_a_b_c_e) |
4407 | } |
4408 | inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >& |
4409 | AltPerson::nestiness_a_b_c_e() const { |
4410 | // @@protoc_insertion_point(field_list:AltPerson.nestiness_a_b_c_e) |
4411 | return nestiness_a_b_c_e_; |
4412 | } |
4413 | inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >* |
4414 | AltPerson::mutable_nestiness_a_b_c_e() { |
4415 | // @@protoc_insertion_point(field_mutable_list:AltPerson.nestiness_a_b_c_e) |
4416 | return &nestiness_a_b_c_e_; |
4417 | } |
4418 | |
4419 | // ------------------------------------------------------------------- |
4420 | |
4421 | // StrPerson_MeasureUnits |
4422 | |
4423 | // repeated string unit = 1; |
4424 | inline int StrPerson_MeasureUnits::unit_size() const { |
4425 | return unit_.size(); |
4426 | } |
4427 | inline void StrPerson_MeasureUnits::clear_unit() { |
4428 | unit_.Clear(); |
4429 | } |
4430 | inline const ::std::string& StrPerson_MeasureUnits::unit(int index) const { |
4431 | // @@protoc_insertion_point(field_get:StrPerson.MeasureUnits.unit) |
4432 | return unit_.Get(index); |
4433 | } |
4434 | inline ::std::string* StrPerson_MeasureUnits::mutable_unit(int index) { |
4435 | // @@protoc_insertion_point(field_mutable:StrPerson.MeasureUnits.unit) |
4436 | return unit_.Mutable(index); |
4437 | } |
4438 | inline void StrPerson_MeasureUnits::set_unit(int index, const ::std::string& value) { |
4439 | // @@protoc_insertion_point(field_set:StrPerson.MeasureUnits.unit) |
4440 | unit_.Mutable(index)->assign(value); |
4441 | } |
4442 | #if LANG_CXX11 |
4443 | inline void StrPerson_MeasureUnits::set_unit(int index, ::std::string&& value) { |
4444 | // @@protoc_insertion_point(field_set:StrPerson.MeasureUnits.unit) |
4445 | unit_.Mutable(index)->assign(std::move(value)); |
4446 | } |
4447 | #endif |
4448 | inline void StrPerson_MeasureUnits::set_unit(int index, const char* value) { |
4449 | GOOGLE_DCHECK(value != NULL); |
4450 | unit_.Mutable(index)->assign(value); |
4451 | // @@protoc_insertion_point(field_set_char:StrPerson.MeasureUnits.unit) |
4452 | } |
4453 | inline void StrPerson_MeasureUnits::set_unit(int index, const char* value, size_t size) { |
4454 | unit_.Mutable(index)->assign( |
4455 | reinterpret_cast<const char*>(value), size); |
4456 | // @@protoc_insertion_point(field_set_pointer:StrPerson.MeasureUnits.unit) |
4457 | } |
4458 | inline ::std::string* StrPerson_MeasureUnits::add_unit() { |
4459 | // @@protoc_insertion_point(field_add_mutable:StrPerson.MeasureUnits.unit) |
4460 | return unit_.Add(); |
4461 | } |
4462 | inline void StrPerson_MeasureUnits::add_unit(const ::std::string& value) { |
4463 | unit_.Add()->assign(value); |
4464 | // @@protoc_insertion_point(field_add:StrPerson.MeasureUnits.unit) |
4465 | } |
4466 | #if LANG_CXX11 |
4467 | inline void StrPerson_MeasureUnits::add_unit(::std::string&& value) { |
4468 | unit_.Add(std::move(value)); |
4469 | // @@protoc_insertion_point(field_add:StrPerson.MeasureUnits.unit) |
4470 | } |
4471 | #endif |
4472 | inline void StrPerson_MeasureUnits::add_unit(const char* value) { |
4473 | GOOGLE_DCHECK(value != NULL); |
4474 | unit_.Add()->assign(value); |
4475 | // @@protoc_insertion_point(field_add_char:StrPerson.MeasureUnits.unit) |
4476 | } |
4477 | inline void StrPerson_MeasureUnits::add_unit(const char* value, size_t size) { |
4478 | unit_.Add()->assign(reinterpret_cast<const char*>(value), size); |
4479 | // @@protoc_insertion_point(field_add_pointer:StrPerson.MeasureUnits.unit) |
4480 | } |
4481 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
4482 | StrPerson_MeasureUnits::unit() const { |
4483 | // @@protoc_insertion_point(field_list:StrPerson.MeasureUnits.unit) |
4484 | return unit_; |
4485 | } |
4486 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
4487 | StrPerson_MeasureUnits::mutable_unit() { |
4488 | // @@protoc_insertion_point(field_mutable_list:StrPerson.MeasureUnits.unit) |
4489 | return &unit_; |
4490 | } |
4491 | |
4492 | // repeated string coef = 2; |
4493 | inline int StrPerson_MeasureUnits::coef_size() const { |
4494 | return coef_.size(); |
4495 | } |
4496 | inline void StrPerson_MeasureUnits::clear_coef() { |
4497 | coef_.Clear(); |
4498 | } |
4499 | inline const ::std::string& StrPerson_MeasureUnits::coef(int index) const { |
4500 | // @@protoc_insertion_point(field_get:StrPerson.MeasureUnits.coef) |
4501 | return coef_.Get(index); |
4502 | } |
4503 | inline ::std::string* StrPerson_MeasureUnits::mutable_coef(int index) { |
4504 | // @@protoc_insertion_point(field_mutable:StrPerson.MeasureUnits.coef) |
4505 | return coef_.Mutable(index); |
4506 | } |
4507 | inline void StrPerson_MeasureUnits::set_coef(int index, const ::std::string& value) { |
4508 | // @@protoc_insertion_point(field_set:StrPerson.MeasureUnits.coef) |
4509 | coef_.Mutable(index)->assign(value); |
4510 | } |
4511 | #if LANG_CXX11 |
4512 | inline void StrPerson_MeasureUnits::set_coef(int index, ::std::string&& value) { |
4513 | // @@protoc_insertion_point(field_set:StrPerson.MeasureUnits.coef) |
4514 | coef_.Mutable(index)->assign(std::move(value)); |
4515 | } |
4516 | #endif |
4517 | inline void StrPerson_MeasureUnits::set_coef(int index, const char* value) { |
4518 | GOOGLE_DCHECK(value != NULL); |
4519 | coef_.Mutable(index)->assign(value); |
4520 | // @@protoc_insertion_point(field_set_char:StrPerson.MeasureUnits.coef) |
4521 | } |
4522 | inline void StrPerson_MeasureUnits::set_coef(int index, const char* value, size_t size) { |
4523 | coef_.Mutable(index)->assign( |
4524 | reinterpret_cast<const char*>(value), size); |
4525 | // @@protoc_insertion_point(field_set_pointer:StrPerson.MeasureUnits.coef) |
4526 | } |
4527 | inline ::std::string* StrPerson_MeasureUnits::add_coef() { |
4528 | // @@protoc_insertion_point(field_add_mutable:StrPerson.MeasureUnits.coef) |
4529 | return coef_.Add(); |
4530 | } |
4531 | inline void StrPerson_MeasureUnits::add_coef(const ::std::string& value) { |
4532 | coef_.Add()->assign(value); |
4533 | // @@protoc_insertion_point(field_add:StrPerson.MeasureUnits.coef) |
4534 | } |
4535 | #if LANG_CXX11 |
4536 | inline void StrPerson_MeasureUnits::add_coef(::std::string&& value) { |
4537 | coef_.Add(std::move(value)); |
4538 | // @@protoc_insertion_point(field_add:StrPerson.MeasureUnits.coef) |
4539 | } |
4540 | #endif |
4541 | inline void StrPerson_MeasureUnits::add_coef(const char* value) { |
4542 | GOOGLE_DCHECK(value != NULL); |
4543 | coef_.Add()->assign(value); |
4544 | // @@protoc_insertion_point(field_add_char:StrPerson.MeasureUnits.coef) |
4545 | } |
4546 | inline void StrPerson_MeasureUnits::add_coef(const char* value, size_t size) { |
4547 | coef_.Add()->assign(reinterpret_cast<const char*>(value), size); |
4548 | // @@protoc_insertion_point(field_add_pointer:StrPerson.MeasureUnits.coef) |
4549 | } |
4550 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
4551 | StrPerson_MeasureUnits::coef() const { |
4552 | // @@protoc_insertion_point(field_list:StrPerson.MeasureUnits.coef) |
4553 | return coef_; |
4554 | } |
4555 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
4556 | StrPerson_MeasureUnits::mutable_coef() { |
4557 | // @@protoc_insertion_point(field_mutable_list:StrPerson.MeasureUnits.coef) |
4558 | return &coef_; |
4559 | } |
4560 | |
4561 | // ------------------------------------------------------------------- |
4562 | |
4563 | // StrPerson_NestinessA_SubBC |
4564 | |
4565 | // string d = 1; |
4566 | inline void StrPerson_NestinessA_SubBC::clear_d() { |
4567 | d_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4568 | } |
4569 | inline const ::std::string& StrPerson_NestinessA_SubBC::d() const { |
4570 | // @@protoc_insertion_point(field_get:StrPerson.NestinessA.SubBC.d) |
4571 | return d_.GetNoArena(); |
4572 | } |
4573 | inline void StrPerson_NestinessA_SubBC::set_d(const ::std::string& value) { |
4574 | |
4575 | d_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4576 | // @@protoc_insertion_point(field_set:StrPerson.NestinessA.SubBC.d) |
4577 | } |
4578 | #if LANG_CXX11 |
4579 | inline void StrPerson_NestinessA_SubBC::set_d(::std::string&& value) { |
4580 | |
4581 | d_.SetNoArena( |
4582 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4583 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.NestinessA.SubBC.d) |
4584 | } |
4585 | #endif |
4586 | inline void StrPerson_NestinessA_SubBC::set_d(const char* value) { |
4587 | GOOGLE_DCHECK(value != NULL); |
4588 | |
4589 | d_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4590 | // @@protoc_insertion_point(field_set_char:StrPerson.NestinessA.SubBC.d) |
4591 | } |
4592 | inline void StrPerson_NestinessA_SubBC::set_d(const char* value, size_t size) { |
4593 | |
4594 | d_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4595 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4596 | // @@protoc_insertion_point(field_set_pointer:StrPerson.NestinessA.SubBC.d) |
4597 | } |
4598 | inline ::std::string* StrPerson_NestinessA_SubBC::mutable_d() { |
4599 | |
4600 | // @@protoc_insertion_point(field_mutable:StrPerson.NestinessA.SubBC.d) |
4601 | return d_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4602 | } |
4603 | inline ::std::string* StrPerson_NestinessA_SubBC::release_d() { |
4604 | // @@protoc_insertion_point(field_release:StrPerson.NestinessA.SubBC.d) |
4605 | |
4606 | return d_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4607 | } |
4608 | inline void StrPerson_NestinessA_SubBC::set_allocated_d(::std::string* d) { |
4609 | if (d != NULL) { |
4610 | |
4611 | } else { |
4612 | |
4613 | } |
4614 | d_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), d); |
4615 | // @@protoc_insertion_point(field_set_allocated:StrPerson.NestinessA.SubBC.d) |
4616 | } |
4617 | |
4618 | // repeated string e = 2; |
4619 | inline int StrPerson_NestinessA_SubBC::e_size() const { |
4620 | return e_.size(); |
4621 | } |
4622 | inline void StrPerson_NestinessA_SubBC::clear_e() { |
4623 | e_.Clear(); |
4624 | } |
4625 | inline const ::std::string& StrPerson_NestinessA_SubBC::e(int index) const { |
4626 | // @@protoc_insertion_point(field_get:StrPerson.NestinessA.SubBC.e) |
4627 | return e_.Get(index); |
4628 | } |
4629 | inline ::std::string* StrPerson_NestinessA_SubBC::mutable_e(int index) { |
4630 | // @@protoc_insertion_point(field_mutable:StrPerson.NestinessA.SubBC.e) |
4631 | return e_.Mutable(index); |
4632 | } |
4633 | inline void StrPerson_NestinessA_SubBC::set_e(int index, const ::std::string& value) { |
4634 | // @@protoc_insertion_point(field_set:StrPerson.NestinessA.SubBC.e) |
4635 | e_.Mutable(index)->assign(value); |
4636 | } |
4637 | #if LANG_CXX11 |
4638 | inline void StrPerson_NestinessA_SubBC::set_e(int index, ::std::string&& value) { |
4639 | // @@protoc_insertion_point(field_set:StrPerson.NestinessA.SubBC.e) |
4640 | e_.Mutable(index)->assign(std::move(value)); |
4641 | } |
4642 | #endif |
4643 | inline void StrPerson_NestinessA_SubBC::set_e(int index, const char* value) { |
4644 | GOOGLE_DCHECK(value != NULL); |
4645 | e_.Mutable(index)->assign(value); |
4646 | // @@protoc_insertion_point(field_set_char:StrPerson.NestinessA.SubBC.e) |
4647 | } |
4648 | inline void StrPerson_NestinessA_SubBC::set_e(int index, const char* value, size_t size) { |
4649 | e_.Mutable(index)->assign( |
4650 | reinterpret_cast<const char*>(value), size); |
4651 | // @@protoc_insertion_point(field_set_pointer:StrPerson.NestinessA.SubBC.e) |
4652 | } |
4653 | inline ::std::string* StrPerson_NestinessA_SubBC::add_e() { |
4654 | // @@protoc_insertion_point(field_add_mutable:StrPerson.NestinessA.SubBC.e) |
4655 | return e_.Add(); |
4656 | } |
4657 | inline void StrPerson_NestinessA_SubBC::add_e(const ::std::string& value) { |
4658 | e_.Add()->assign(value); |
4659 | // @@protoc_insertion_point(field_add:StrPerson.NestinessA.SubBC.e) |
4660 | } |
4661 | #if LANG_CXX11 |
4662 | inline void StrPerson_NestinessA_SubBC::add_e(::std::string&& value) { |
4663 | e_.Add(std::move(value)); |
4664 | // @@protoc_insertion_point(field_add:StrPerson.NestinessA.SubBC.e) |
4665 | } |
4666 | #endif |
4667 | inline void StrPerson_NestinessA_SubBC::add_e(const char* value) { |
4668 | GOOGLE_DCHECK(value != NULL); |
4669 | e_.Add()->assign(value); |
4670 | // @@protoc_insertion_point(field_add_char:StrPerson.NestinessA.SubBC.e) |
4671 | } |
4672 | inline void StrPerson_NestinessA_SubBC::add_e(const char* value, size_t size) { |
4673 | e_.Add()->assign(reinterpret_cast<const char*>(value), size); |
4674 | // @@protoc_insertion_point(field_add_pointer:StrPerson.NestinessA.SubBC.e) |
4675 | } |
4676 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
4677 | StrPerson_NestinessA_SubBC::e() const { |
4678 | // @@protoc_insertion_point(field_list:StrPerson.NestinessA.SubBC.e) |
4679 | return e_; |
4680 | } |
4681 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
4682 | StrPerson_NestinessA_SubBC::mutable_e() { |
4683 | // @@protoc_insertion_point(field_mutable_list:StrPerson.NestinessA.SubBC.e) |
4684 | return &e_; |
4685 | } |
4686 | |
4687 | // ------------------------------------------------------------------- |
4688 | |
4689 | // StrPerson_NestinessA |
4690 | |
4691 | // .StrPerson.NestinessA.SubBC b_c = 1; |
4692 | inline bool StrPerson_NestinessA::has_b_c() const { |
4693 | return this != internal_default_instance() && b_c_ != NULL; |
4694 | } |
4695 | inline void StrPerson_NestinessA::clear_b_c() { |
4696 | if (GetArenaNoVirtual() == NULL && b_c_ != NULL) { |
4697 | delete b_c_; |
4698 | } |
4699 | b_c_ = NULL; |
4700 | } |
4701 | inline const ::StrPerson_NestinessA_SubBC& StrPerson_NestinessA::_internal_b_c() const { |
4702 | return *b_c_; |
4703 | } |
4704 | inline const ::StrPerson_NestinessA_SubBC& StrPerson_NestinessA::b_c() const { |
4705 | const ::StrPerson_NestinessA_SubBC* p = b_c_; |
4706 | // @@protoc_insertion_point(field_get:StrPerson.NestinessA.b_c) |
4707 | return p != NULL ? *p : *reinterpret_cast<const ::StrPerson_NestinessA_SubBC*>( |
4708 | &::_StrPerson_NestinessA_SubBC_default_instance_); |
4709 | } |
4710 | inline ::StrPerson_NestinessA_SubBC* StrPerson_NestinessA::release_b_c() { |
4711 | // @@protoc_insertion_point(field_release:StrPerson.NestinessA.b_c) |
4712 | |
4713 | ::StrPerson_NestinessA_SubBC* temp = b_c_; |
4714 | b_c_ = NULL; |
4715 | return temp; |
4716 | } |
4717 | inline ::StrPerson_NestinessA_SubBC* StrPerson_NestinessA::mutable_b_c() { |
4718 | |
4719 | if (b_c_ == NULL) { |
4720 | auto* p = CreateMaybeMessage<::StrPerson_NestinessA_SubBC>(GetArenaNoVirtual()); |
4721 | b_c_ = p; |
4722 | } |
4723 | // @@protoc_insertion_point(field_mutable:StrPerson.NestinessA.b_c) |
4724 | return b_c_; |
4725 | } |
4726 | inline void StrPerson_NestinessA::set_allocated_b_c(::StrPerson_NestinessA_SubBC* b_c) { |
4727 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
4728 | if (message_arena == NULL) { |
4729 | delete b_c_; |
4730 | } |
4731 | if (b_c) { |
4732 | ::google::protobuf::Arena* submessage_arena = NULL; |
4733 | if (message_arena != submessage_arena) { |
4734 | b_c = ::google::protobuf::internal::GetOwnedMessage( |
4735 | message_arena, b_c, submessage_arena); |
4736 | } |
4737 | |
4738 | } else { |
4739 | |
4740 | } |
4741 | b_c_ = b_c; |
4742 | // @@protoc_insertion_point(field_set_allocated:StrPerson.NestinessA.b_c) |
4743 | } |
4744 | |
4745 | // ------------------------------------------------------------------- |
4746 | |
4747 | // StrPerson |
4748 | |
4749 | // string uuid = 1; |
4750 | inline void StrPerson::clear_uuid() { |
4751 | uuid_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4752 | } |
4753 | inline const ::std::string& StrPerson::uuid() const { |
4754 | // @@protoc_insertion_point(field_get:StrPerson.uuid) |
4755 | return uuid_.GetNoArena(); |
4756 | } |
4757 | inline void StrPerson::set_uuid(const ::std::string& value) { |
4758 | |
4759 | uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4760 | // @@protoc_insertion_point(field_set:StrPerson.uuid) |
4761 | } |
4762 | #if LANG_CXX11 |
4763 | inline void StrPerson::set_uuid(::std::string&& value) { |
4764 | |
4765 | uuid_.SetNoArena( |
4766 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4767 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.uuid) |
4768 | } |
4769 | #endif |
4770 | inline void StrPerson::set_uuid(const char* value) { |
4771 | GOOGLE_DCHECK(value != NULL); |
4772 | |
4773 | uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4774 | // @@protoc_insertion_point(field_set_char:StrPerson.uuid) |
4775 | } |
4776 | inline void StrPerson::set_uuid(const char* value, size_t size) { |
4777 | |
4778 | uuid_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4779 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4780 | // @@protoc_insertion_point(field_set_pointer:StrPerson.uuid) |
4781 | } |
4782 | inline ::std::string* StrPerson::mutable_uuid() { |
4783 | |
4784 | // @@protoc_insertion_point(field_mutable:StrPerson.uuid) |
4785 | return uuid_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4786 | } |
4787 | inline ::std::string* StrPerson::release_uuid() { |
4788 | // @@protoc_insertion_point(field_release:StrPerson.uuid) |
4789 | |
4790 | return uuid_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4791 | } |
4792 | inline void StrPerson::set_allocated_uuid(::std::string* uuid) { |
4793 | if (uuid != NULL) { |
4794 | |
4795 | } else { |
4796 | |
4797 | } |
4798 | uuid_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), uuid); |
4799 | // @@protoc_insertion_point(field_set_allocated:StrPerson.uuid) |
4800 | } |
4801 | |
4802 | // string name = 2; |
4803 | inline void StrPerson::clear_name() { |
4804 | name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4805 | } |
4806 | inline const ::std::string& StrPerson::name() const { |
4807 | // @@protoc_insertion_point(field_get:StrPerson.name) |
4808 | return name_.GetNoArena(); |
4809 | } |
4810 | inline void StrPerson::set_name(const ::std::string& value) { |
4811 | |
4812 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4813 | // @@protoc_insertion_point(field_set:StrPerson.name) |
4814 | } |
4815 | #if LANG_CXX11 |
4816 | inline void StrPerson::set_name(::std::string&& value) { |
4817 | |
4818 | name_.SetNoArena( |
4819 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4820 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.name) |
4821 | } |
4822 | #endif |
4823 | inline void StrPerson::set_name(const char* value) { |
4824 | GOOGLE_DCHECK(value != NULL); |
4825 | |
4826 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4827 | // @@protoc_insertion_point(field_set_char:StrPerson.name) |
4828 | } |
4829 | inline void StrPerson::set_name(const char* value, size_t size) { |
4830 | |
4831 | name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4832 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4833 | // @@protoc_insertion_point(field_set_pointer:StrPerson.name) |
4834 | } |
4835 | inline ::std::string* StrPerson::mutable_name() { |
4836 | |
4837 | // @@protoc_insertion_point(field_mutable:StrPerson.name) |
4838 | return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4839 | } |
4840 | inline ::std::string* StrPerson::release_name() { |
4841 | // @@protoc_insertion_point(field_release:StrPerson.name) |
4842 | |
4843 | return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4844 | } |
4845 | inline void StrPerson::set_allocated_name(::std::string* name) { |
4846 | if (name != NULL) { |
4847 | |
4848 | } else { |
4849 | |
4850 | } |
4851 | name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name); |
4852 | // @@protoc_insertion_point(field_set_allocated:StrPerson.name) |
4853 | } |
4854 | |
4855 | // string surname = 3; |
4856 | inline void StrPerson::clear_surname() { |
4857 | surname_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4858 | } |
4859 | inline const ::std::string& StrPerson::surname() const { |
4860 | // @@protoc_insertion_point(field_get:StrPerson.surname) |
4861 | return surname_.GetNoArena(); |
4862 | } |
4863 | inline void StrPerson::set_surname(const ::std::string& value) { |
4864 | |
4865 | surname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4866 | // @@protoc_insertion_point(field_set:StrPerson.surname) |
4867 | } |
4868 | #if LANG_CXX11 |
4869 | inline void StrPerson::set_surname(::std::string&& value) { |
4870 | |
4871 | surname_.SetNoArena( |
4872 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4873 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.surname) |
4874 | } |
4875 | #endif |
4876 | inline void StrPerson::set_surname(const char* value) { |
4877 | GOOGLE_DCHECK(value != NULL); |
4878 | |
4879 | surname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4880 | // @@protoc_insertion_point(field_set_char:StrPerson.surname) |
4881 | } |
4882 | inline void StrPerson::set_surname(const char* value, size_t size) { |
4883 | |
4884 | surname_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4885 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4886 | // @@protoc_insertion_point(field_set_pointer:StrPerson.surname) |
4887 | } |
4888 | inline ::std::string* StrPerson::mutable_surname() { |
4889 | |
4890 | // @@protoc_insertion_point(field_mutable:StrPerson.surname) |
4891 | return surname_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4892 | } |
4893 | inline ::std::string* StrPerson::release_surname() { |
4894 | // @@protoc_insertion_point(field_release:StrPerson.surname) |
4895 | |
4896 | return surname_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4897 | } |
4898 | inline void StrPerson::set_allocated_surname(::std::string* surname) { |
4899 | if (surname != NULL) { |
4900 | |
4901 | } else { |
4902 | |
4903 | } |
4904 | surname_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), surname); |
4905 | // @@protoc_insertion_point(field_set_allocated:StrPerson.surname) |
4906 | } |
4907 | |
4908 | // string gender = 4; |
4909 | inline void StrPerson::clear_gender() { |
4910 | gender_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4911 | } |
4912 | inline const ::std::string& StrPerson::gender() const { |
4913 | // @@protoc_insertion_point(field_get:StrPerson.gender) |
4914 | return gender_.GetNoArena(); |
4915 | } |
4916 | inline void StrPerson::set_gender(const ::std::string& value) { |
4917 | |
4918 | gender_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4919 | // @@protoc_insertion_point(field_set:StrPerson.gender) |
4920 | } |
4921 | #if LANG_CXX11 |
4922 | inline void StrPerson::set_gender(::std::string&& value) { |
4923 | |
4924 | gender_.SetNoArena( |
4925 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4926 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.gender) |
4927 | } |
4928 | #endif |
4929 | inline void StrPerson::set_gender(const char* value) { |
4930 | GOOGLE_DCHECK(value != NULL); |
4931 | |
4932 | gender_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4933 | // @@protoc_insertion_point(field_set_char:StrPerson.gender) |
4934 | } |
4935 | inline void StrPerson::set_gender(const char* value, size_t size) { |
4936 | |
4937 | gender_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4938 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4939 | // @@protoc_insertion_point(field_set_pointer:StrPerson.gender) |
4940 | } |
4941 | inline ::std::string* StrPerson::mutable_gender() { |
4942 | |
4943 | // @@protoc_insertion_point(field_mutable:StrPerson.gender) |
4944 | return gender_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4945 | } |
4946 | inline ::std::string* StrPerson::release_gender() { |
4947 | // @@protoc_insertion_point(field_release:StrPerson.gender) |
4948 | |
4949 | return gender_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4950 | } |
4951 | inline void StrPerson::set_allocated_gender(::std::string* gender) { |
4952 | if (gender != NULL) { |
4953 | |
4954 | } else { |
4955 | |
4956 | } |
4957 | gender_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), gender); |
4958 | // @@protoc_insertion_point(field_set_allocated:StrPerson.gender) |
4959 | } |
4960 | |
4961 | // string birthDate = 5; |
4962 | inline void StrPerson::clear_birthdate() { |
4963 | birthdate_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4964 | } |
4965 | inline const ::std::string& StrPerson::birthdate() const { |
4966 | // @@protoc_insertion_point(field_get:StrPerson.birthDate) |
4967 | return birthdate_.GetNoArena(); |
4968 | } |
4969 | inline void StrPerson::set_birthdate(const ::std::string& value) { |
4970 | |
4971 | birthdate_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
4972 | // @@protoc_insertion_point(field_set:StrPerson.birthDate) |
4973 | } |
4974 | #if LANG_CXX11 |
4975 | inline void StrPerson::set_birthdate(::std::string&& value) { |
4976 | |
4977 | birthdate_.SetNoArena( |
4978 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
4979 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.birthDate) |
4980 | } |
4981 | #endif |
4982 | inline void StrPerson::set_birthdate(const char* value) { |
4983 | GOOGLE_DCHECK(value != NULL); |
4984 | |
4985 | birthdate_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
4986 | // @@protoc_insertion_point(field_set_char:StrPerson.birthDate) |
4987 | } |
4988 | inline void StrPerson::set_birthdate(const char* value, size_t size) { |
4989 | |
4990 | birthdate_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
4991 | ::std::string(reinterpret_cast<const char*>(value), size)); |
4992 | // @@protoc_insertion_point(field_set_pointer:StrPerson.birthDate) |
4993 | } |
4994 | inline ::std::string* StrPerson::mutable_birthdate() { |
4995 | |
4996 | // @@protoc_insertion_point(field_mutable:StrPerson.birthDate) |
4997 | return birthdate_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
4998 | } |
4999 | inline ::std::string* StrPerson::release_birthdate() { |
5000 | // @@protoc_insertion_point(field_release:StrPerson.birthDate) |
5001 | |
5002 | return birthdate_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5003 | } |
5004 | inline void StrPerson::set_allocated_birthdate(::std::string* birthdate) { |
5005 | if (birthdate != NULL) { |
5006 | |
5007 | } else { |
5008 | |
5009 | } |
5010 | birthdate_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), birthdate); |
5011 | // @@protoc_insertion_point(field_set_allocated:StrPerson.birthDate) |
5012 | } |
5013 | |
5014 | // string phoneNumber = 7; |
5015 | inline void StrPerson::clear_phonenumber() { |
5016 | phonenumber_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5017 | } |
5018 | inline const ::std::string& StrPerson::phonenumber() const { |
5019 | // @@protoc_insertion_point(field_get:StrPerson.phoneNumber) |
5020 | return phonenumber_.GetNoArena(); |
5021 | } |
5022 | inline void StrPerson::set_phonenumber(const ::std::string& value) { |
5023 | |
5024 | phonenumber_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5025 | // @@protoc_insertion_point(field_set:StrPerson.phoneNumber) |
5026 | } |
5027 | #if LANG_CXX11 |
5028 | inline void StrPerson::set_phonenumber(::std::string&& value) { |
5029 | |
5030 | phonenumber_.SetNoArena( |
5031 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5032 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.phoneNumber) |
5033 | } |
5034 | #endif |
5035 | inline void StrPerson::set_phonenumber(const char* value) { |
5036 | GOOGLE_DCHECK(value != NULL); |
5037 | |
5038 | phonenumber_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5039 | // @@protoc_insertion_point(field_set_char:StrPerson.phoneNumber) |
5040 | } |
5041 | inline void StrPerson::set_phonenumber(const char* value, size_t size) { |
5042 | |
5043 | phonenumber_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5044 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5045 | // @@protoc_insertion_point(field_set_pointer:StrPerson.phoneNumber) |
5046 | } |
5047 | inline ::std::string* StrPerson::mutable_phonenumber() { |
5048 | |
5049 | // @@protoc_insertion_point(field_mutable:StrPerson.phoneNumber) |
5050 | return phonenumber_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5051 | } |
5052 | inline ::std::string* StrPerson::release_phonenumber() { |
5053 | // @@protoc_insertion_point(field_release:StrPerson.phoneNumber) |
5054 | |
5055 | return phonenumber_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5056 | } |
5057 | inline void StrPerson::set_allocated_phonenumber(::std::string* phonenumber) { |
5058 | if (phonenumber != NULL) { |
5059 | |
5060 | } else { |
5061 | |
5062 | } |
5063 | phonenumber_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), phonenumber); |
5064 | // @@protoc_insertion_point(field_set_allocated:StrPerson.phoneNumber) |
5065 | } |
5066 | |
5067 | // string isOnline = 8; |
5068 | inline void StrPerson::clear_isonline() { |
5069 | isonline_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5070 | } |
5071 | inline const ::std::string& StrPerson::isonline() const { |
5072 | // @@protoc_insertion_point(field_get:StrPerson.isOnline) |
5073 | return isonline_.GetNoArena(); |
5074 | } |
5075 | inline void StrPerson::set_isonline(const ::std::string& value) { |
5076 | |
5077 | isonline_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5078 | // @@protoc_insertion_point(field_set:StrPerson.isOnline) |
5079 | } |
5080 | #if LANG_CXX11 |
5081 | inline void StrPerson::set_isonline(::std::string&& value) { |
5082 | |
5083 | isonline_.SetNoArena( |
5084 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5085 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.isOnline) |
5086 | } |
5087 | #endif |
5088 | inline void StrPerson::set_isonline(const char* value) { |
5089 | GOOGLE_DCHECK(value != NULL); |
5090 | |
5091 | isonline_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5092 | // @@protoc_insertion_point(field_set_char:StrPerson.isOnline) |
5093 | } |
5094 | inline void StrPerson::set_isonline(const char* value, size_t size) { |
5095 | |
5096 | isonline_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5097 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5098 | // @@protoc_insertion_point(field_set_pointer:StrPerson.isOnline) |
5099 | } |
5100 | inline ::std::string* StrPerson::mutable_isonline() { |
5101 | |
5102 | // @@protoc_insertion_point(field_mutable:StrPerson.isOnline) |
5103 | return isonline_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5104 | } |
5105 | inline ::std::string* StrPerson::release_isonline() { |
5106 | // @@protoc_insertion_point(field_release:StrPerson.isOnline) |
5107 | |
5108 | return isonline_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5109 | } |
5110 | inline void StrPerson::set_allocated_isonline(::std::string* isonline) { |
5111 | if (isonline != NULL) { |
5112 | |
5113 | } else { |
5114 | |
5115 | } |
5116 | isonline_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), isonline); |
5117 | // @@protoc_insertion_point(field_set_allocated:StrPerson.isOnline) |
5118 | } |
5119 | |
5120 | // string visitTime = 9; |
5121 | inline void StrPerson::clear_visittime() { |
5122 | visittime_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5123 | } |
5124 | inline const ::std::string& StrPerson::visittime() const { |
5125 | // @@protoc_insertion_point(field_get:StrPerson.visitTime) |
5126 | return visittime_.GetNoArena(); |
5127 | } |
5128 | inline void StrPerson::set_visittime(const ::std::string& value) { |
5129 | |
5130 | visittime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5131 | // @@protoc_insertion_point(field_set:StrPerson.visitTime) |
5132 | } |
5133 | #if LANG_CXX11 |
5134 | inline void StrPerson::set_visittime(::std::string&& value) { |
5135 | |
5136 | visittime_.SetNoArena( |
5137 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5138 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.visitTime) |
5139 | } |
5140 | #endif |
5141 | inline void StrPerson::set_visittime(const char* value) { |
5142 | GOOGLE_DCHECK(value != NULL); |
5143 | |
5144 | visittime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5145 | // @@protoc_insertion_point(field_set_char:StrPerson.visitTime) |
5146 | } |
5147 | inline void StrPerson::set_visittime(const char* value, size_t size) { |
5148 | |
5149 | visittime_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5150 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5151 | // @@protoc_insertion_point(field_set_pointer:StrPerson.visitTime) |
5152 | } |
5153 | inline ::std::string* StrPerson::mutable_visittime() { |
5154 | |
5155 | // @@protoc_insertion_point(field_mutable:StrPerson.visitTime) |
5156 | return visittime_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5157 | } |
5158 | inline ::std::string* StrPerson::release_visittime() { |
5159 | // @@protoc_insertion_point(field_release:StrPerson.visitTime) |
5160 | |
5161 | return visittime_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5162 | } |
5163 | inline void StrPerson::set_allocated_visittime(::std::string* visittime) { |
5164 | if (visittime != NULL) { |
5165 | |
5166 | } else { |
5167 | |
5168 | } |
5169 | visittime_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), visittime); |
5170 | // @@protoc_insertion_point(field_set_allocated:StrPerson.visitTime) |
5171 | } |
5172 | |
5173 | // string age = 10; |
5174 | inline void StrPerson::clear_age() { |
5175 | age_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5176 | } |
5177 | inline const ::std::string& StrPerson::age() const { |
5178 | // @@protoc_insertion_point(field_get:StrPerson.age) |
5179 | return age_.GetNoArena(); |
5180 | } |
5181 | inline void StrPerson::set_age(const ::std::string& value) { |
5182 | |
5183 | age_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5184 | // @@protoc_insertion_point(field_set:StrPerson.age) |
5185 | } |
5186 | #if LANG_CXX11 |
5187 | inline void StrPerson::set_age(::std::string&& value) { |
5188 | |
5189 | age_.SetNoArena( |
5190 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5191 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.age) |
5192 | } |
5193 | #endif |
5194 | inline void StrPerson::set_age(const char* value) { |
5195 | GOOGLE_DCHECK(value != NULL); |
5196 | |
5197 | age_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5198 | // @@protoc_insertion_point(field_set_char:StrPerson.age) |
5199 | } |
5200 | inline void StrPerson::set_age(const char* value, size_t size) { |
5201 | |
5202 | age_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5203 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5204 | // @@protoc_insertion_point(field_set_pointer:StrPerson.age) |
5205 | } |
5206 | inline ::std::string* StrPerson::mutable_age() { |
5207 | |
5208 | // @@protoc_insertion_point(field_mutable:StrPerson.age) |
5209 | return age_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5210 | } |
5211 | inline ::std::string* StrPerson::release_age() { |
5212 | // @@protoc_insertion_point(field_release:StrPerson.age) |
5213 | |
5214 | return age_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5215 | } |
5216 | inline void StrPerson::set_allocated_age(::std::string* age) { |
5217 | if (age != NULL) { |
5218 | |
5219 | } else { |
5220 | |
5221 | } |
5222 | age_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), age); |
5223 | // @@protoc_insertion_point(field_set_allocated:StrPerson.age) |
5224 | } |
5225 | |
5226 | // string zodiacSign = 11; |
5227 | inline void StrPerson::clear_zodiacsign() { |
5228 | zodiacsign_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5229 | } |
5230 | inline const ::std::string& StrPerson::zodiacsign() const { |
5231 | // @@protoc_insertion_point(field_get:StrPerson.zodiacSign) |
5232 | return zodiacsign_.GetNoArena(); |
5233 | } |
5234 | inline void StrPerson::set_zodiacsign(const ::std::string& value) { |
5235 | |
5236 | zodiacsign_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5237 | // @@protoc_insertion_point(field_set:StrPerson.zodiacSign) |
5238 | } |
5239 | #if LANG_CXX11 |
5240 | inline void StrPerson::set_zodiacsign(::std::string&& value) { |
5241 | |
5242 | zodiacsign_.SetNoArena( |
5243 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5244 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.zodiacSign) |
5245 | } |
5246 | #endif |
5247 | inline void StrPerson::set_zodiacsign(const char* value) { |
5248 | GOOGLE_DCHECK(value != NULL); |
5249 | |
5250 | zodiacsign_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5251 | // @@protoc_insertion_point(field_set_char:StrPerson.zodiacSign) |
5252 | } |
5253 | inline void StrPerson::set_zodiacsign(const char* value, size_t size) { |
5254 | |
5255 | zodiacsign_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5256 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5257 | // @@protoc_insertion_point(field_set_pointer:StrPerson.zodiacSign) |
5258 | } |
5259 | inline ::std::string* StrPerson::mutable_zodiacsign() { |
5260 | |
5261 | // @@protoc_insertion_point(field_mutable:StrPerson.zodiacSign) |
5262 | return zodiacsign_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5263 | } |
5264 | inline ::std::string* StrPerson::release_zodiacsign() { |
5265 | // @@protoc_insertion_point(field_release:StrPerson.zodiacSign) |
5266 | |
5267 | return zodiacsign_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5268 | } |
5269 | inline void StrPerson::set_allocated_zodiacsign(::std::string* zodiacsign) { |
5270 | if (zodiacsign != NULL) { |
5271 | |
5272 | } else { |
5273 | |
5274 | } |
5275 | zodiacsign_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), zodiacsign); |
5276 | // @@protoc_insertion_point(field_set_allocated:StrPerson.zodiacSign) |
5277 | } |
5278 | |
5279 | // repeated string songs = 12; |
5280 | inline int StrPerson::songs_size() const { |
5281 | return songs_.size(); |
5282 | } |
5283 | inline void StrPerson::clear_songs() { |
5284 | songs_.Clear(); |
5285 | } |
5286 | inline const ::std::string& StrPerson::songs(int index) const { |
5287 | // @@protoc_insertion_point(field_get:StrPerson.songs) |
5288 | return songs_.Get(index); |
5289 | } |
5290 | inline ::std::string* StrPerson::mutable_songs(int index) { |
5291 | // @@protoc_insertion_point(field_mutable:StrPerson.songs) |
5292 | return songs_.Mutable(index); |
5293 | } |
5294 | inline void StrPerson::set_songs(int index, const ::std::string& value) { |
5295 | // @@protoc_insertion_point(field_set:StrPerson.songs) |
5296 | songs_.Mutable(index)->assign(value); |
5297 | } |
5298 | #if LANG_CXX11 |
5299 | inline void StrPerson::set_songs(int index, ::std::string&& value) { |
5300 | // @@protoc_insertion_point(field_set:StrPerson.songs) |
5301 | songs_.Mutable(index)->assign(std::move(value)); |
5302 | } |
5303 | #endif |
5304 | inline void StrPerson::set_songs(int index, const char* value) { |
5305 | GOOGLE_DCHECK(value != NULL); |
5306 | songs_.Mutable(index)->assign(value); |
5307 | // @@protoc_insertion_point(field_set_char:StrPerson.songs) |
5308 | } |
5309 | inline void StrPerson::set_songs(int index, const char* value, size_t size) { |
5310 | songs_.Mutable(index)->assign( |
5311 | reinterpret_cast<const char*>(value), size); |
5312 | // @@protoc_insertion_point(field_set_pointer:StrPerson.songs) |
5313 | } |
5314 | inline ::std::string* StrPerson::add_songs() { |
5315 | // @@protoc_insertion_point(field_add_mutable:StrPerson.songs) |
5316 | return songs_.Add(); |
5317 | } |
5318 | inline void StrPerson::add_songs(const ::std::string& value) { |
5319 | songs_.Add()->assign(value); |
5320 | // @@protoc_insertion_point(field_add:StrPerson.songs) |
5321 | } |
5322 | #if LANG_CXX11 |
5323 | inline void StrPerson::add_songs(::std::string&& value) { |
5324 | songs_.Add(std::move(value)); |
5325 | // @@protoc_insertion_point(field_add:StrPerson.songs) |
5326 | } |
5327 | #endif |
5328 | inline void StrPerson::add_songs(const char* value) { |
5329 | GOOGLE_DCHECK(value != NULL); |
5330 | songs_.Add()->assign(value); |
5331 | // @@protoc_insertion_point(field_add_char:StrPerson.songs) |
5332 | } |
5333 | inline void StrPerson::add_songs(const char* value, size_t size) { |
5334 | songs_.Add()->assign(reinterpret_cast<const char*>(value), size); |
5335 | // @@protoc_insertion_point(field_add_pointer:StrPerson.songs) |
5336 | } |
5337 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
5338 | StrPerson::songs() const { |
5339 | // @@protoc_insertion_point(field_list:StrPerson.songs) |
5340 | return songs_; |
5341 | } |
5342 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
5343 | StrPerson::mutable_songs() { |
5344 | // @@protoc_insertion_point(field_mutable_list:StrPerson.songs) |
5345 | return &songs_; |
5346 | } |
5347 | |
5348 | // repeated string color = 13; |
5349 | inline int StrPerson::color_size() const { |
5350 | return color_.size(); |
5351 | } |
5352 | inline void StrPerson::clear_color() { |
5353 | color_.Clear(); |
5354 | } |
5355 | inline const ::std::string& StrPerson::color(int index) const { |
5356 | // @@protoc_insertion_point(field_get:StrPerson.color) |
5357 | return color_.Get(index); |
5358 | } |
5359 | inline ::std::string* StrPerson::mutable_color(int index) { |
5360 | // @@protoc_insertion_point(field_mutable:StrPerson.color) |
5361 | return color_.Mutable(index); |
5362 | } |
5363 | inline void StrPerson::set_color(int index, const ::std::string& value) { |
5364 | // @@protoc_insertion_point(field_set:StrPerson.color) |
5365 | color_.Mutable(index)->assign(value); |
5366 | } |
5367 | #if LANG_CXX11 |
5368 | inline void StrPerson::set_color(int index, ::std::string&& value) { |
5369 | // @@protoc_insertion_point(field_set:StrPerson.color) |
5370 | color_.Mutable(index)->assign(std::move(value)); |
5371 | } |
5372 | #endif |
5373 | inline void StrPerson::set_color(int index, const char* value) { |
5374 | GOOGLE_DCHECK(value != NULL); |
5375 | color_.Mutable(index)->assign(value); |
5376 | // @@protoc_insertion_point(field_set_char:StrPerson.color) |
5377 | } |
5378 | inline void StrPerson::set_color(int index, const char* value, size_t size) { |
5379 | color_.Mutable(index)->assign( |
5380 | reinterpret_cast<const char*>(value), size); |
5381 | // @@protoc_insertion_point(field_set_pointer:StrPerson.color) |
5382 | } |
5383 | inline ::std::string* StrPerson::add_color() { |
5384 | // @@protoc_insertion_point(field_add_mutable:StrPerson.color) |
5385 | return color_.Add(); |
5386 | } |
5387 | inline void StrPerson::add_color(const ::std::string& value) { |
5388 | color_.Add()->assign(value); |
5389 | // @@protoc_insertion_point(field_add:StrPerson.color) |
5390 | } |
5391 | #if LANG_CXX11 |
5392 | inline void StrPerson::add_color(::std::string&& value) { |
5393 | color_.Add(std::move(value)); |
5394 | // @@protoc_insertion_point(field_add:StrPerson.color) |
5395 | } |
5396 | #endif |
5397 | inline void StrPerson::add_color(const char* value) { |
5398 | GOOGLE_DCHECK(value != NULL); |
5399 | color_.Add()->assign(value); |
5400 | // @@protoc_insertion_point(field_add_char:StrPerson.color) |
5401 | } |
5402 | inline void StrPerson::add_color(const char* value, size_t size) { |
5403 | color_.Add()->assign(reinterpret_cast<const char*>(value), size); |
5404 | // @@protoc_insertion_point(field_add_pointer:StrPerson.color) |
5405 | } |
5406 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
5407 | StrPerson::color() const { |
5408 | // @@protoc_insertion_point(field_list:StrPerson.color) |
5409 | return color_; |
5410 | } |
5411 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
5412 | StrPerson::mutable_color() { |
5413 | // @@protoc_insertion_point(field_mutable_list:StrPerson.color) |
5414 | return &color_; |
5415 | } |
5416 | |
5417 | // string hometown = 14; |
5418 | inline void StrPerson::clear_hometown() { |
5419 | hometown_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5420 | } |
5421 | inline const ::std::string& StrPerson::hometown() const { |
5422 | // @@protoc_insertion_point(field_get:StrPerson.hometown) |
5423 | return hometown_.GetNoArena(); |
5424 | } |
5425 | inline void StrPerson::set_hometown(const ::std::string& value) { |
5426 | |
5427 | hometown_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5428 | // @@protoc_insertion_point(field_set:StrPerson.hometown) |
5429 | } |
5430 | #if LANG_CXX11 |
5431 | inline void StrPerson::set_hometown(::std::string&& value) { |
5432 | |
5433 | hometown_.SetNoArena( |
5434 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5435 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.hometown) |
5436 | } |
5437 | #endif |
5438 | inline void StrPerson::set_hometown(const char* value) { |
5439 | GOOGLE_DCHECK(value != NULL); |
5440 | |
5441 | hometown_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5442 | // @@protoc_insertion_point(field_set_char:StrPerson.hometown) |
5443 | } |
5444 | inline void StrPerson::set_hometown(const char* value, size_t size) { |
5445 | |
5446 | hometown_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5447 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5448 | // @@protoc_insertion_point(field_set_pointer:StrPerson.hometown) |
5449 | } |
5450 | inline ::std::string* StrPerson::mutable_hometown() { |
5451 | |
5452 | // @@protoc_insertion_point(field_mutable:StrPerson.hometown) |
5453 | return hometown_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5454 | } |
5455 | inline ::std::string* StrPerson::release_hometown() { |
5456 | // @@protoc_insertion_point(field_release:StrPerson.hometown) |
5457 | |
5458 | return hometown_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5459 | } |
5460 | inline void StrPerson::set_allocated_hometown(::std::string* hometown) { |
5461 | if (hometown != NULL) { |
5462 | |
5463 | } else { |
5464 | |
5465 | } |
5466 | hometown_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), hometown); |
5467 | // @@protoc_insertion_point(field_set_allocated:StrPerson.hometown) |
5468 | } |
5469 | |
5470 | // repeated string location = 15; |
5471 | inline int StrPerson::location_size() const { |
5472 | return location_.size(); |
5473 | } |
5474 | inline void StrPerson::clear_location() { |
5475 | location_.Clear(); |
5476 | } |
5477 | inline const ::std::string& StrPerson::location(int index) const { |
5478 | // @@protoc_insertion_point(field_get:StrPerson.location) |
5479 | return location_.Get(index); |
5480 | } |
5481 | inline ::std::string* StrPerson::mutable_location(int index) { |
5482 | // @@protoc_insertion_point(field_mutable:StrPerson.location) |
5483 | return location_.Mutable(index); |
5484 | } |
5485 | inline void StrPerson::set_location(int index, const ::std::string& value) { |
5486 | // @@protoc_insertion_point(field_set:StrPerson.location) |
5487 | location_.Mutable(index)->assign(value); |
5488 | } |
5489 | #if LANG_CXX11 |
5490 | inline void StrPerson::set_location(int index, ::std::string&& value) { |
5491 | // @@protoc_insertion_point(field_set:StrPerson.location) |
5492 | location_.Mutable(index)->assign(std::move(value)); |
5493 | } |
5494 | #endif |
5495 | inline void StrPerson::set_location(int index, const char* value) { |
5496 | GOOGLE_DCHECK(value != NULL); |
5497 | location_.Mutable(index)->assign(value); |
5498 | // @@protoc_insertion_point(field_set_char:StrPerson.location) |
5499 | } |
5500 | inline void StrPerson::set_location(int index, const char* value, size_t size) { |
5501 | location_.Mutable(index)->assign( |
5502 | reinterpret_cast<const char*>(value), size); |
5503 | // @@protoc_insertion_point(field_set_pointer:StrPerson.location) |
5504 | } |
5505 | inline ::std::string* StrPerson::add_location() { |
5506 | // @@protoc_insertion_point(field_add_mutable:StrPerson.location) |
5507 | return location_.Add(); |
5508 | } |
5509 | inline void StrPerson::add_location(const ::std::string& value) { |
5510 | location_.Add()->assign(value); |
5511 | // @@protoc_insertion_point(field_add:StrPerson.location) |
5512 | } |
5513 | #if LANG_CXX11 |
5514 | inline void StrPerson::add_location(::std::string&& value) { |
5515 | location_.Add(std::move(value)); |
5516 | // @@protoc_insertion_point(field_add:StrPerson.location) |
5517 | } |
5518 | #endif |
5519 | inline void StrPerson::add_location(const char* value) { |
5520 | GOOGLE_DCHECK(value != NULL); |
5521 | location_.Add()->assign(value); |
5522 | // @@protoc_insertion_point(field_add_char:StrPerson.location) |
5523 | } |
5524 | inline void StrPerson::add_location(const char* value, size_t size) { |
5525 | location_.Add()->assign(reinterpret_cast<const char*>(value), size); |
5526 | // @@protoc_insertion_point(field_add_pointer:StrPerson.location) |
5527 | } |
5528 | inline const ::google::protobuf::RepeatedPtrField< ::std::string>& |
5529 | StrPerson::location() const { |
5530 | // @@protoc_insertion_point(field_list:StrPerson.location) |
5531 | return location_; |
5532 | } |
5533 | inline ::google::protobuf::RepeatedPtrField< ::std::string>* |
5534 | StrPerson::mutable_location() { |
5535 | // @@protoc_insertion_point(field_mutable_list:StrPerson.location) |
5536 | return &location_; |
5537 | } |
5538 | |
5539 | // string pi = 16; |
5540 | inline void StrPerson::clear_pi() { |
5541 | pi_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5542 | } |
5543 | inline const ::std::string& StrPerson::pi() const { |
5544 | // @@protoc_insertion_point(field_get:StrPerson.pi) |
5545 | return pi_.GetNoArena(); |
5546 | } |
5547 | inline void StrPerson::set_pi(const ::std::string& value) { |
5548 | |
5549 | pi_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5550 | // @@protoc_insertion_point(field_set:StrPerson.pi) |
5551 | } |
5552 | #if LANG_CXX11 |
5553 | inline void StrPerson::set_pi(::std::string&& value) { |
5554 | |
5555 | pi_.SetNoArena( |
5556 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5557 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.pi) |
5558 | } |
5559 | #endif |
5560 | inline void StrPerson::set_pi(const char* value) { |
5561 | GOOGLE_DCHECK(value != NULL); |
5562 | |
5563 | pi_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5564 | // @@protoc_insertion_point(field_set_char:StrPerson.pi) |
5565 | } |
5566 | inline void StrPerson::set_pi(const char* value, size_t size) { |
5567 | |
5568 | pi_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5569 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5570 | // @@protoc_insertion_point(field_set_pointer:StrPerson.pi) |
5571 | } |
5572 | inline ::std::string* StrPerson::mutable_pi() { |
5573 | |
5574 | // @@protoc_insertion_point(field_mutable:StrPerson.pi) |
5575 | return pi_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5576 | } |
5577 | inline ::std::string* StrPerson::release_pi() { |
5578 | // @@protoc_insertion_point(field_release:StrPerson.pi) |
5579 | |
5580 | return pi_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5581 | } |
5582 | inline void StrPerson::set_allocated_pi(::std::string* pi) { |
5583 | if (pi != NULL) { |
5584 | |
5585 | } else { |
5586 | |
5587 | } |
5588 | pi_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), pi); |
5589 | // @@protoc_insertion_point(field_set_allocated:StrPerson.pi) |
5590 | } |
5591 | |
5592 | // string lotteryWin = 17; |
5593 | inline void StrPerson::clear_lotterywin() { |
5594 | lotterywin_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5595 | } |
5596 | inline const ::std::string& StrPerson::lotterywin() const { |
5597 | // @@protoc_insertion_point(field_get:StrPerson.lotteryWin) |
5598 | return lotterywin_.GetNoArena(); |
5599 | } |
5600 | inline void StrPerson::set_lotterywin(const ::std::string& value) { |
5601 | |
5602 | lotterywin_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5603 | // @@protoc_insertion_point(field_set:StrPerson.lotteryWin) |
5604 | } |
5605 | #if LANG_CXX11 |
5606 | inline void StrPerson::set_lotterywin(::std::string&& value) { |
5607 | |
5608 | lotterywin_.SetNoArena( |
5609 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5610 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.lotteryWin) |
5611 | } |
5612 | #endif |
5613 | inline void StrPerson::set_lotterywin(const char* value) { |
5614 | GOOGLE_DCHECK(value != NULL); |
5615 | |
5616 | lotterywin_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5617 | // @@protoc_insertion_point(field_set_char:StrPerson.lotteryWin) |
5618 | } |
5619 | inline void StrPerson::set_lotterywin(const char* value, size_t size) { |
5620 | |
5621 | lotterywin_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5622 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5623 | // @@protoc_insertion_point(field_set_pointer:StrPerson.lotteryWin) |
5624 | } |
5625 | inline ::std::string* StrPerson::mutable_lotterywin() { |
5626 | |
5627 | // @@protoc_insertion_point(field_mutable:StrPerson.lotteryWin) |
5628 | return lotterywin_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5629 | } |
5630 | inline ::std::string* StrPerson::release_lotterywin() { |
5631 | // @@protoc_insertion_point(field_release:StrPerson.lotteryWin) |
5632 | |
5633 | return lotterywin_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5634 | } |
5635 | inline void StrPerson::set_allocated_lotterywin(::std::string* lotterywin) { |
5636 | if (lotterywin != NULL) { |
5637 | |
5638 | } else { |
5639 | |
5640 | } |
5641 | lotterywin_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), lotterywin); |
5642 | // @@protoc_insertion_point(field_set_allocated:StrPerson.lotteryWin) |
5643 | } |
5644 | |
5645 | // string someRatio = 18; |
5646 | inline void StrPerson::clear_someratio() { |
5647 | someratio_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5648 | } |
5649 | inline const ::std::string& StrPerson::someratio() const { |
5650 | // @@protoc_insertion_point(field_get:StrPerson.someRatio) |
5651 | return someratio_.GetNoArena(); |
5652 | } |
5653 | inline void StrPerson::set_someratio(const ::std::string& value) { |
5654 | |
5655 | someratio_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5656 | // @@protoc_insertion_point(field_set:StrPerson.someRatio) |
5657 | } |
5658 | #if LANG_CXX11 |
5659 | inline void StrPerson::set_someratio(::std::string&& value) { |
5660 | |
5661 | someratio_.SetNoArena( |
5662 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5663 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.someRatio) |
5664 | } |
5665 | #endif |
5666 | inline void StrPerson::set_someratio(const char* value) { |
5667 | GOOGLE_DCHECK(value != NULL); |
5668 | |
5669 | someratio_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5670 | // @@protoc_insertion_point(field_set_char:StrPerson.someRatio) |
5671 | } |
5672 | inline void StrPerson::set_someratio(const char* value, size_t size) { |
5673 | |
5674 | someratio_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5675 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5676 | // @@protoc_insertion_point(field_set_pointer:StrPerson.someRatio) |
5677 | } |
5678 | inline ::std::string* StrPerson::mutable_someratio() { |
5679 | |
5680 | // @@protoc_insertion_point(field_mutable:StrPerson.someRatio) |
5681 | return someratio_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5682 | } |
5683 | inline ::std::string* StrPerson::release_someratio() { |
5684 | // @@protoc_insertion_point(field_release:StrPerson.someRatio) |
5685 | |
5686 | return someratio_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5687 | } |
5688 | inline void StrPerson::set_allocated_someratio(::std::string* someratio) { |
5689 | if (someratio != NULL) { |
5690 | |
5691 | } else { |
5692 | |
5693 | } |
5694 | someratio_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), someratio); |
5695 | // @@protoc_insertion_point(field_set_allocated:StrPerson.someRatio) |
5696 | } |
5697 | |
5698 | // string temperature = 19; |
5699 | inline void StrPerson::clear_temperature() { |
5700 | temperature_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5701 | } |
5702 | inline const ::std::string& StrPerson::temperature() const { |
5703 | // @@protoc_insertion_point(field_get:StrPerson.temperature) |
5704 | return temperature_.GetNoArena(); |
5705 | } |
5706 | inline void StrPerson::set_temperature(const ::std::string& value) { |
5707 | |
5708 | temperature_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5709 | // @@protoc_insertion_point(field_set:StrPerson.temperature) |
5710 | } |
5711 | #if LANG_CXX11 |
5712 | inline void StrPerson::set_temperature(::std::string&& value) { |
5713 | |
5714 | temperature_.SetNoArena( |
5715 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5716 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.temperature) |
5717 | } |
5718 | #endif |
5719 | inline void StrPerson::set_temperature(const char* value) { |
5720 | GOOGLE_DCHECK(value != NULL); |
5721 | |
5722 | temperature_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5723 | // @@protoc_insertion_point(field_set_char:StrPerson.temperature) |
5724 | } |
5725 | inline void StrPerson::set_temperature(const char* value, size_t size) { |
5726 | |
5727 | temperature_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5728 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5729 | // @@protoc_insertion_point(field_set_pointer:StrPerson.temperature) |
5730 | } |
5731 | inline ::std::string* StrPerson::mutable_temperature() { |
5732 | |
5733 | // @@protoc_insertion_point(field_mutable:StrPerson.temperature) |
5734 | return temperature_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5735 | } |
5736 | inline ::std::string* StrPerson::release_temperature() { |
5737 | // @@protoc_insertion_point(field_release:StrPerson.temperature) |
5738 | |
5739 | return temperature_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5740 | } |
5741 | inline void StrPerson::set_allocated_temperature(::std::string* temperature) { |
5742 | if (temperature != NULL) { |
5743 | |
5744 | } else { |
5745 | |
5746 | } |
5747 | temperature_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), temperature); |
5748 | // @@protoc_insertion_point(field_set_allocated:StrPerson.temperature) |
5749 | } |
5750 | |
5751 | // string randomBigNumber = 20; |
5752 | inline void StrPerson::clear_randombignumber() { |
5753 | randombignumber_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5754 | } |
5755 | inline const ::std::string& StrPerson::randombignumber() const { |
5756 | // @@protoc_insertion_point(field_get:StrPerson.randomBigNumber) |
5757 | return randombignumber_.GetNoArena(); |
5758 | } |
5759 | inline void StrPerson::set_randombignumber(const ::std::string& value) { |
5760 | |
5761 | randombignumber_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); |
5762 | // @@protoc_insertion_point(field_set:StrPerson.randomBigNumber) |
5763 | } |
5764 | #if LANG_CXX11 |
5765 | inline void StrPerson::set_randombignumber(::std::string&& value) { |
5766 | |
5767 | randombignumber_.SetNoArena( |
5768 | &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
5769 | // @@protoc_insertion_point(field_set_rvalue:StrPerson.randomBigNumber) |
5770 | } |
5771 | #endif |
5772 | inline void StrPerson::set_randombignumber(const char* value) { |
5773 | GOOGLE_DCHECK(value != NULL); |
5774 | |
5775 | randombignumber_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
5776 | // @@protoc_insertion_point(field_set_char:StrPerson.randomBigNumber) |
5777 | } |
5778 | inline void StrPerson::set_randombignumber(const char* value, size_t size) { |
5779 | |
5780 | randombignumber_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), |
5781 | ::std::string(reinterpret_cast<const char*>(value), size)); |
5782 | // @@protoc_insertion_point(field_set_pointer:StrPerson.randomBigNumber) |
5783 | } |
5784 | inline ::std::string* StrPerson::mutable_randombignumber() { |
5785 | |
5786 | // @@protoc_insertion_point(field_mutable:StrPerson.randomBigNumber) |
5787 | return randombignumber_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5788 | } |
5789 | inline ::std::string* StrPerson::release_randombignumber() { |
5790 | // @@protoc_insertion_point(field_release:StrPerson.randomBigNumber) |
5791 | |
5792 | return randombignumber_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); |
5793 | } |
5794 | inline void StrPerson::set_allocated_randombignumber(::std::string* randombignumber) { |
5795 | if (randombignumber != NULL) { |
5796 | |
5797 | } else { |
5798 | |
5799 | } |
5800 | randombignumber_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), randombignumber); |
5801 | // @@protoc_insertion_point(field_set_allocated:StrPerson.randomBigNumber) |
5802 | } |
5803 | |
5804 | // .StrPerson.MeasureUnits measureUnits = 21; |
5805 | inline bool StrPerson::has_measureunits() const { |
5806 | return this != internal_default_instance() && measureunits_ != NULL; |
5807 | } |
5808 | inline void StrPerson::clear_measureunits() { |
5809 | if (GetArenaNoVirtual() == NULL && measureunits_ != NULL) { |
5810 | delete measureunits_; |
5811 | } |
5812 | measureunits_ = NULL; |
5813 | } |
5814 | inline const ::StrPerson_MeasureUnits& StrPerson::_internal_measureunits() const { |
5815 | return *measureunits_; |
5816 | } |
5817 | inline const ::StrPerson_MeasureUnits& StrPerson::measureunits() const { |
5818 | const ::StrPerson_MeasureUnits* p = measureunits_; |
5819 | // @@protoc_insertion_point(field_get:StrPerson.measureUnits) |
5820 | return p != NULL ? *p : *reinterpret_cast<const ::StrPerson_MeasureUnits*>( |
5821 | &::_StrPerson_MeasureUnits_default_instance_); |
5822 | } |
5823 | inline ::StrPerson_MeasureUnits* StrPerson::release_measureunits() { |
5824 | // @@protoc_insertion_point(field_release:StrPerson.measureUnits) |
5825 | |
5826 | ::StrPerson_MeasureUnits* temp = measureunits_; |
5827 | measureunits_ = NULL; |
5828 | return temp; |
5829 | } |
5830 | inline ::StrPerson_MeasureUnits* StrPerson::mutable_measureunits() { |
5831 | |
5832 | if (measureunits_ == NULL) { |
5833 | auto* p = CreateMaybeMessage<::StrPerson_MeasureUnits>(GetArenaNoVirtual()); |
5834 | measureunits_ = p; |
5835 | } |
5836 | // @@protoc_insertion_point(field_mutable:StrPerson.measureUnits) |
5837 | return measureunits_; |
5838 | } |
5839 | inline void StrPerson::set_allocated_measureunits(::StrPerson_MeasureUnits* measureunits) { |
5840 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5841 | if (message_arena == NULL) { |
5842 | delete measureunits_; |
5843 | } |
5844 | if (measureunits) { |
5845 | ::google::protobuf::Arena* submessage_arena = NULL; |
5846 | if (message_arena != submessage_arena) { |
5847 | measureunits = ::google::protobuf::internal::GetOwnedMessage( |
5848 | message_arena, measureunits, submessage_arena); |
5849 | } |
5850 | |
5851 | } else { |
5852 | |
5853 | } |
5854 | measureunits_ = measureunits; |
5855 | // @@protoc_insertion_point(field_set_allocated:StrPerson.measureUnits) |
5856 | } |
5857 | |
5858 | // .StrPerson.NestinessA nestiness_a = 22; |
5859 | inline bool StrPerson::has_nestiness_a() const { |
5860 | return this != internal_default_instance() && nestiness_a_ != NULL; |
5861 | } |
5862 | inline void StrPerson::clear_nestiness_a() { |
5863 | if (GetArenaNoVirtual() == NULL && nestiness_a_ != NULL) { |
5864 | delete nestiness_a_; |
5865 | } |
5866 | nestiness_a_ = NULL; |
5867 | } |
5868 | inline const ::StrPerson_NestinessA& StrPerson::_internal_nestiness_a() const { |
5869 | return *nestiness_a_; |
5870 | } |
5871 | inline const ::StrPerson_NestinessA& StrPerson::nestiness_a() const { |
5872 | const ::StrPerson_NestinessA* p = nestiness_a_; |
5873 | // @@protoc_insertion_point(field_get:StrPerson.nestiness_a) |
5874 | return p != NULL ? *p : *reinterpret_cast<const ::StrPerson_NestinessA*>( |
5875 | &::_StrPerson_NestinessA_default_instance_); |
5876 | } |
5877 | inline ::StrPerson_NestinessA* StrPerson::release_nestiness_a() { |
5878 | // @@protoc_insertion_point(field_release:StrPerson.nestiness_a) |
5879 | |
5880 | ::StrPerson_NestinessA* temp = nestiness_a_; |
5881 | nestiness_a_ = NULL; |
5882 | return temp; |
5883 | } |
5884 | inline ::StrPerson_NestinessA* StrPerson::mutable_nestiness_a() { |
5885 | |
5886 | if (nestiness_a_ == NULL) { |
5887 | auto* p = CreateMaybeMessage<::StrPerson_NestinessA>(GetArenaNoVirtual()); |
5888 | nestiness_a_ = p; |
5889 | } |
5890 | // @@protoc_insertion_point(field_mutable:StrPerson.nestiness_a) |
5891 | return nestiness_a_; |
5892 | } |
5893 | inline void StrPerson::set_allocated_nestiness_a(::StrPerson_NestinessA* nestiness_a) { |
5894 | ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); |
5895 | if (message_arena == NULL) { |
5896 | delete nestiness_a_; |
5897 | } |
5898 | if (nestiness_a) { |
5899 | ::google::protobuf::Arena* submessage_arena = NULL; |
5900 | if (message_arena != submessage_arena) { |
5901 | nestiness_a = ::google::protobuf::internal::GetOwnedMessage( |
5902 | message_arena, nestiness_a, submessage_arena); |
5903 | } |
5904 | |
5905 | } else { |
5906 | |
5907 | } |
5908 | nestiness_a_ = nestiness_a; |
5909 | // @@protoc_insertion_point(field_set_allocated:StrPerson.nestiness_a) |
5910 | } |
5911 | |
5912 | // ------------------------------------------------------------------- |
5913 | |
5914 | // NumberAndSquare |
5915 | |
5916 | // uint32 number = 1; |
5917 | inline void NumberAndSquare::clear_number() { |
5918 | number_ = 0u; |
5919 | } |
5920 | inline ::google::protobuf::uint32 NumberAndSquare::number() const { |
5921 | // @@protoc_insertion_point(field_get:NumberAndSquare.number) |
5922 | return number_; |
5923 | } |
5924 | inline void NumberAndSquare::set_number(::google::protobuf::uint32 value) { |
5925 | |
5926 | number_ = value; |
5927 | // @@protoc_insertion_point(field_set:NumberAndSquare.number) |
5928 | } |
5929 | |
5930 | // uint64 square = 2; |
5931 | inline void NumberAndSquare::clear_square() { |
5932 | square_ = GOOGLE_ULONGLONG(0); |
5933 | } |
5934 | inline ::google::protobuf::uint64 NumberAndSquare::square() const { |
5935 | // @@protoc_insertion_point(field_get:NumberAndSquare.square) |
5936 | return square_; |
5937 | } |
5938 | inline void NumberAndSquare::set_square(::google::protobuf::uint64 value) { |
5939 | |
5940 | square_ = value; |
5941 | // @@protoc_insertion_point(field_set:NumberAndSquare.square) |
5942 | } |
5943 | |
5944 | #ifdef __GNUC__ |
5945 | #pragma GCC diagnostic pop |
5946 | #endif // __GNUC__ |
5947 | // ------------------------------------------------------------------- |
5948 | |
5949 | // ------------------------------------------------------------------- |
5950 | |
5951 | // ------------------------------------------------------------------- |
5952 | |
5953 | // ------------------------------------------------------------------- |
5954 | |
5955 | // ------------------------------------------------------------------- |
5956 | |
5957 | // ------------------------------------------------------------------- |
5958 | |
5959 | // ------------------------------------------------------------------- |
5960 | |
5961 | // ------------------------------------------------------------------- |
5962 | |
5963 | // ------------------------------------------------------------------- |
5964 | |
5965 | // ------------------------------------------------------------------- |
5966 | |
5967 | // ------------------------------------------------------------------- |
5968 | |
5969 | // ------------------------------------------------------------------- |
5970 | |
5971 | // ------------------------------------------------------------------- |
5972 | |
5973 | |
5974 | // @@protoc_insertion_point(namespace_scope) |
5975 | |
5976 | |
5977 | namespace google { |
5978 | namespace protobuf { |
5979 | |
5980 | template <> struct is_proto_enum< ::AltPerson_Gender> : ::std::true_type {}; |
5981 | template <> |
5982 | inline const EnumDescriptor* GetEnumDescriptor< ::AltPerson_Gender>() { |
5983 | return ::AltPerson_Gender_descriptor(); |
5984 | } |
5985 | template <> struct is_proto_enum< ::Gender> : ::std::true_type {}; |
5986 | template <> |
5987 | inline const EnumDescriptor* GetEnumDescriptor< ::Gender>() { |
5988 | return ::Gender_descriptor(); |
5989 | } |
5990 | template <> struct is_proto_enum< ::ZodiacSign> : ::std::true_type {}; |
5991 | template <> |
5992 | inline const EnumDescriptor* GetEnumDescriptor< ::ZodiacSign>() { |
5993 | return ::ZodiacSign_descriptor(); |
5994 | } |
5995 | template <> struct is_proto_enum< ::OnlineStatus> : ::std::true_type {}; |
5996 | template <> |
5997 | inline const EnumDescriptor* GetEnumDescriptor< ::OnlineStatus>() { |
5998 | return ::OnlineStatus_descriptor(); |
5999 | } |
6000 | |
6001 | } // namespace protobuf |
6002 | } // namespace google |
6003 | |
6004 | // @@protoc_insertion_point(global_scope) |
6005 | |
6006 | #endif // PROTOBUF_INCLUDED_00825_5fprotobuf_5fformat_2eproto |
6007 | |